vendor: 115 bytes, lines 1-5
1/******/ (() => { // webpackBootstrap 2/******/ "use strict"; 3/******/ var __webpack_modules__ = ({ 4 5/***/ "./src/
5components/Circle.js": 6/*!**********************************!*\ 7 !*** ./src/components/Circle.js ***! 8 \**********************************/ 9/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 10 11__webpack_require__.r(__webpack_exports__); 12/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 14/* harmony export */ }); 15/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); 16/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); 17/* harmony import */ var _ClinicInfo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ClinicInfo */ "./src/components/ClinicInfo.js"); 18/* harmony import */ var d3__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3 */ "./node_modules/d3/src/index.js"); 19/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); 20/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); 21 22 23 24 25const Circle = ({ 26 coordinates, 27 projection, 28 info, 29 red, 30 onMouseDown 31}) => { 32 if (!coordinates || !Array.isArray(coordinates) || coordinates.length !== 2) return null; 33 const [hovered, setHovered] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false); 34 const [cx, cy] = projection([coordinates[1], coordinates[0]]); 35 const [opacity, setOpacity] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0); 36 const scaledOuterCircleSize = hovered ? 34.1 : 31; // +10% scale on hover 37 const scaledInnerCircleSize = hovered ? 20.9 : 19; // +10% scale on hover 38 const circleColor = red ? '#FF0000' : '#0093DD'; 39 const handleMouseEnter = event => { 40 setHovered(true); 41 // Bring the hovered circle to the front 42 d3__WEBPACK_IMPORTED_MODULE_2__.select(event.target.parentNode).raise(); 43 }; 44 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { 45 // smooth transition 46 if (hovered) { 47 let temp = 0; 48 const interval = setInterval(() => { 49 temp += 0.1; 50 setOpacity(temp); 51 if (temp >= 1) { 52 clearInterval(interval); 53 } 54 }, 20); 55 } else { 56 let temp = 1; 57 const interval = setInterval(() => { 58 temp -= 0.1; 59 if (temp < 0) temp = 0; 60 setOpacity(temp); 61 if (temp <= 0) { 62 clearInterval(interval); 63 } 64 }, 20); 65 } 66 }, [hovered]); 67 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment, { 68 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("g", { 69 onMouseEnter: handleMouseEnter, 70 onMouseLeave: () => setHovered(false), 71 style: { 72 cursor: 'pointer' 73 }, 74 onMouseDown: onMouseDown // Add mouse down event to the group 75 , 76 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("circle", { 77 cx: cx, 78 cy: cy, 79 r: scaledOuterCircleSize / 2, 80 fill: circleColor, 81 opacity: "0.5", 82 style: { 83 transition: 'all 0.3s ease' 84 } 85 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("circle", { 86 cx: cx, 87 cy: cy, 88 r: scaledInnerCircleSize / 2, 89 fill: circleColor, 90 style: { 91 transition: 'all 0.3s ease' 92 } 93 }), info && opacity && opacity > 0 && hovered && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_ClinicInfo__WEBPACK_IMPORTED_MODULE_1__["default"], { 94 info: info, 95 cx: cx, 96 cy: cy, 97 scaledOuterCircleSize: scaledInnerCircleSize, 98 opacity: opacity 99 })] 100 }) 101 }); 102}; 103/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Circle); 104 105/***/ }), 106
107/***/ "./src/components/ClinicInfo.js": 108/*!**************************************!*\ 109 !*** ./src/components/ClinicInfo.js ***! 110 \**************************************/ 111/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 112 113__webpack_require__.r(__webpack_exports__); 114/* harmony export */ __webpack_require__.d(__webpack_exports__, { 115/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 116/* harmony export */ }); 117/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); 118/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); 119/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-redux */ "./node_modules/react-redux/dist/react-redux.mjs"); 120/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); 121/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); 122 123 124 125const ClinicInfo = ({ 126 info, 127 cx, 128 cy, 129 opacity 130}) => { 131 const [height, setHeight] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0); 132 const ref = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); 133 const { 134 currentClinic 135 } = (0,react_redux__WEBPACK_IMPORTED_MODULE_2__.useSelector)(state => state.clinics); 136 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { 137 if (ref.current) { 138 setHeight(ref.current.getBoundingClientRect().height); 139 } 140 }, [ref.current]); 141 const handleClick = event => { 142 // Prevent click events from bubbling up to parent elements 143 event.stopPropagation(); 144 }; 145 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("foreignObject", { 146 x: cx - 130, 147 y: cy - height - 47, 148 width: "260", 149 height: height + 43, 150 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 151 style: { 152 alignContent: 'flex-end', 153 // height: height + 20, 154 height: currentClinic ? height + 20 : height + 42, 155 padding: '10px', 156 flexDirection: 'column', 157 fontFamily: 'sans-serif', 158 opacity, 159 cursor: 'default' 160 }, 161 onClick: handleClick, 162 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 163 ref: ref, 164 style: { 165 pointerEvents: 'auto', 166 // Allow interactions 167 background: `#FFFFFF 0% 0% no-repeat padding-box`, 168 boxShadow: `0px 0px 10px #0000001A`, 169 borderRadius: `5px`, 170 flexDirection: 'column', 171 overflow: 'hidden' 172 }, 173 children: [info.thumbnail && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("img", { 174 src: info.thumbnail, 175 alt: info.title, 176 style: { 177 width: '100%', 178 height: 110 179 } 180 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 181 style: { 182 padding: 5, 183 paddingTop: 0 184 }, 185 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a", { 186 href: info.permalink, 187 style: { 188 fontWeight: 700, 189 fontSize: 14, 190 letterSpacing: '0px', 191 color: '#4273AD', 192 textTransform: 'uppercase', 193 textDecoration: 'none', 194 cursor: 'pointer' 195 }, 196 children: info.title 197 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p", { 198 style: { 199 textAlign: 'left', 200 fontWeight: 400, 201 fontSize: 12, 202 letterSpacing: '0px', 203 color: '#55555A', 204 marginTop: 5, 205 marginBottom: 5, 206 lineHeight: '16px' 207 }, 208 children: info.excerpt 209 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("a", { 210 href: info.permalink, 211 style: { 212 fontWeight: 800, 213 fontSize: 14, 214 letterSpacing: '0px', 215 color: '#4273AD', 216 textDecoration: 'none', 217 textTransform: 'uppercase', 218 cursor: 'pointer' 219 }, 220 children: [``, " Zur Klinik »"] 221 })] 222 })] 223 }) 224 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span", { 225 style: { 226 fontSize: 32, 227 alignItems: 'center', 228 position: 'absolute', 229 bottom: -7, 230 left: '50%', 231 color: 'white', 232 transform: 'translateX(-50%)', 233 opacity 234 }, 235 children: "\uD83D\uDF83" 236 })] 237 }); 238}; 239/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClinicInfo); 240 241/***/ }), 242
243/***/ "./src/components/GermanyMap.js": 244/*!**************************************!*\ 245 !*** ./src/components/GermanyMap.js ***! 246 \**************************************/ 247/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 248 249__webpack_require__.r(__webpack_exports__); 250/* harmony export */ __webpack_require__.d(__webpack_exports__, { 251/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 252/* harmony export */ }); 253/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); 254/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); 255/* harmony import */ var d3__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3 */ "./node_modules/d3/src/index.js"); 256/* harmony import */ var _Circle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Circle */ "./src/components/Circle.js"); 257/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-redux */ "./node_modules/react-redux/dist/react-redux.mjs"); 258/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../store */ "./src/store/index.js"); 259/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); 260/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__); 261 262 263 // Import the Circle component 264 265 266 267$ = jQuery; 268 269// const locations = [ 270// { coords: [50.1953534961647, 10.072319368105768], info: 'Clinic 1' }, 271// { coords: [50.187305925217956, 10.070522810433642], info: 'Clinic 2' }, 272// { coords: [50.19816459383602, 10.071817725777569], info: 'Clinic 3' }, 273// { coords: [50.19734856808119, 10.071928254613326], info: 'Clinic 4' }, 274// { coords: [52.51803235982062, 13.569380912418119], info: 'Clinic 5' }, 275// { coords: [49.542388760106824, 10.235457139233342], info: 'Clinic 6' }, 276// { coords: [49.37373768726715, 12.706427023880734], info: 'Clinic 7' }, 277// { coords: [48.00576380451981, 10.58854293914881], info: 'Clinic 8' }, 278// ] 279 280// console.log('current_clinic:', current_clinic) 281 282const GermanyMap = () => { 283 const dispatch = (0,react_redux__WEBPACK_IMPORTED_MODULE_5__.useDispatch)(); 284 const svgRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null); 285 const [projection, setProjection] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null); 286 // const [currentLocation, setCurrentLocation] = useState( 287 // $('#clinic_location_map').data('location') 288 // ) 289 // const [currentClinic, setCurrentClinic] = useState(current_clinic) 290 291 const { 292 currentClinic, 293 clinics 294 } = (0,react_redux__WEBPACK_IMPORTED_MODULE_5__.useSelector)(state => state.clinics); 295 const [isDragging, setIsDragging] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false); 296 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { 297 const svg = d3__WEBPACK_IMPORTED_MODULE_1__.select(svgRef.current); 298 const width = 400; 299 const height = 600; 300 d3__WEBPACK_IMPORTED_MODULE_1__.json('https://raw.githubusercontent.com/isellsoap/deutschlandGeoJSON/main/1_deutschland/1_sehr_hoch.geo.json').then(germany => { 301 const projection = d3__WEBPACK_IMPORTED_MODULE_1__.geoMercator().fitSize([width, height], germany); 302 setProjection(() => projection); 303 const path = d3__WEBPACK_IMPORTED_MODULE_1__.geoPath().projection(projection); 304 svg.select('g.map-layer').selectAll('path').data(germany.features).enter().append('path').attr('d', path).attr('fill', '#EDEBE2').attr('stroke', '#9D8A7E').attr('stroke-width', 1.5); 305 }); 306 }, []); 307 const handleMapClick = event => { 308 if (projection) { 309 const [x, y] = d3__WEBPACK_IMPORTED_MODULE_1__.pointer(event); 310 const [longitude, latitude] = projection.invert([x, y]); 311 dispatch((0,_store__WEBPACK_IMPORTED_MODULE_3__.setCurrentClinicLocation)([latitude, longitude])); 312 } 313 }; 314 const handleMouseDown = event => { 315 setIsDragging(true); 316 }; 317 const handleMouseMove = event => { 318 if (!isDragging) return; 319 const [x, y] = d3__WEBPACK_IMPORTED_MODULE_1__.pointer(event); 320 const [longitude, latitude] = projection.invert([x, y]); 321 dispatch((0,_store__WEBPACK_IMPORTED_MODULE_3__.setCurrentClinicLocation)([latitude, longitude])); 322 }; 323 const handleMouseUp = () => { 324 setIsDragging(false); 325 }; 326 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { 327 if (!currentClinic || !currentClinic.location || !Array.isArray(currentClinic.location) || currentClinic.location.length !== 2 || !$('#clinic_location_input')) return; 328 $('#clinic_location_input').val(JSON.stringify(currentClinic.location)); 329 }, [currentClinic]); 330 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { 331 // if we are in the admin panel 332 if (window.location.href.indexOf('wp-admin') === -1) return;
333 $('#title').on('input', function () { 334 // Change 'change' to 'input' 335 dispatch((0,_store__WEBPACK_IMPORTED_MODULE_3__.setCurrentClinicTitle)($(this).val())); 336 }); 337 $('#excerpt').on('input', function () { 338 // Change 'change' to 'input' 339 dispatch((0,_store__WEBPACK_IMPORTED_MODULE_3__.setCurrentClinicExcerpt)($(this).val())); 340 }); 341 342 // every 100ms 343 const interval = setInterval(() => { 344 console.log($('#_thumbnail_id').val()); 345 if ($('#_thumbnail_id').val() != '-1' && $('#postimagediv .inside img') && $('#postimagediv .inside img').attr('src')) { 346 dispatch((0,_store__WEBPACK_IMPORTED_MODULE_3__.setCurrentClinicThumbnail)($('#postimagediv .inside img').attr('src'))); 347 } 348 }, 500); 349 // Cleanup function to remove event listeners 350 return () => { 351 $('#title').off('input'); 352 $('#excerpt').off('input'); 353 $('#_thumbnail_id').off('input'); 354 $('#_thumbnail_id').off('change'); 355 clearInterval(interval); 356 }; 357 }, []); 358 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("svg", { 359 ref: svgRef, 360 width: "450", 361 height: "700", 362 style: { overflow: "visible" }, 363 onClick: handleMapClick, 364 onMouseMove: handleMouseMove, 365 onMouseUp: handleMouseUp, 366 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("g", { 367 className: "map-layer" 368 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("g", { 369 className: "circle-layer", 370 children: projection && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment, { 371 children: [clinics.map((clinic, index) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_Circle__WEBPACK_IMPORTED_MODULE_2__["default"], { 372 coordinates: clinic.location, 373 projection: projection, 374 info: clinic 375 }, index)), currentClinic && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_Circle__WEBPACK_IMPORTED_MODULE_2__["default"], { 376 coordinates: currentClinic.location, 377 projection: projection, 378 red: true, 379 info: currentClinic, 380 onMouseDown: handleMouseDown // Pass the mouse down event handler 381 })] 382 }) 383 })] 384 }); 385}; 386/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GermanyMap); 387 388/***/ }), 389
390/***/ "./src/store/index.js": 391/*!****************************!*\ 392 !*** ./src/store/index.js ***! 393 \****************************/ 394/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 395 396__webpack_require__.r(__webpack_exports__); 397/* harmony export */ __webpack_require__.d(__webpack_exports__, { 398/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 399/* harmony export */ setClinics: () => (/* reexport safe */ _slices_clinicsSlice__WEBPACK_IMPORTED_MODULE_0__.setClinics), 400/* harmony export */ setCurrentClinic: () => (/* reexport safe */ _slices_clinicsSlice__WEBPACK_IMPORTED_MODULE_0__.setCurrentClinic), 401/* harmony export */ setCurrentClinicExcerpt: () => (/* reexport safe */ _slices_clinicsSlice__WEBPACK_IMPORTED_MODULE_0__.setCurrentClinicExcerpt), 402/* harmony export */ setCurrentClinicLocation: () => (/* reexport safe */ _slices_clinicsSlice__WEBPACK_IMPORTED_MODULE_0__.setCurrentClinicLocation), 403/* harmony export */ setCurrentClinicThumbnail: () => (/* reexport safe */ _slice
403s_clinicsSlice__WEBPACK_IMPORTED_MODULE_0__.setCurrentClinicThumbnail), 404/* harmony export */ setCurrentClinicTitle: () => (/* reexport safe */ _slices_clinicsSlice__WEBPACK_IMPORTED_MODULE_0__.setCurrentClinicTitle) 405/* harmony export */ }); 406/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @reduxjs/toolkit */ "./node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs"); 407/* harmony import */ var _slices_clinicsSlice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./slices/clinicsSlice */ "./src/store/slices/clinicsSlice.js"); 408 409 410 411const store = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.configureStore)({ 412 reducer: { 413 clinics: _slices_clinicsSlice__WEBPACK_IMPORTED_MODULE_0__["default"] 414 } 415}); 416/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (store); 417 418/***/ }), 419
420/***/ "./src/store/slices/clinicsSlice.js": 421/*!******************************************!*\ 422 !*** ./src/store/slices/clinicsSlice.js ***! 423 \******************************************/ 424/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 425 426__webpack_require__.r(__webpack_exports__); 427/* harmony export */ __webpack_require__.d(__webpack_exports__, { 428/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 429/* harmony export */ setClinics: () => (/* binding */ setClinics), 430/* harmony export */ setCurrentClinic: () => (/* binding */ setCurrentClinic), 431/* harmony export */ setCurrentClinicExcerpt: () => (/* binding */ setCurrentClinicExcerpt), 432/* harmony export */ setCurrentClinicLocation: () => (/* binding */ setCurrentClinicLocation), 433/* harmony export */ setCurrentClinicThumbnail: () => (/* binding */ setCurrentClinicThumbnail), 434/* harmony export */ setCurrentClinicTitle: () => (/* binding */ setCurrentClinicTitle) 435/* harmony export */ }); 436/* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @reduxjs/toolkit */ "./node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs"); 437 438$ = jQuery; 439const clinics = $('#clinic_location_map').data('other-clinics').map(clinic => ({ 440 ...clinic, 441 location: JSON.parse(clinic.location) 442})); 443console.log('clinics:', clinics); 444let current_clinic = $('#clinic_location_map').data('current-clinic'); 445console.log('current_clinic:', current_clinic); 446if (current_clinic && current_clinic.location) { 447 current_clinic = { 448 ...current_clinic, 449 location: JSON.parse(current_clinic.location) 450 }; 451} 452const clinicsSlice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({ 453 name: 'clinics', 454 initialState: { 455 clinics, 456 currentClinic: current_clinic 457 }, 458 reducers: { 459 setClinics: (state, action) => { 460 state.clinics = action.payload; 461 }, 462 setCurrentClinic: (state, action) => { 463 state.currentClinic = action.payload; 464 }, 465 setCurrentClinicLocation: (state, action) => { 466 state.currentClinic.location = action.payload; 467 }, 468 setCurrentClinicTitle: (state, action) => { 469 state.currentClinic.title = action.payload; 470 }, 471 setCurrentClinicExcerpt: (state, action) => { 472 state.currentClinic.excerpt = action.payload; 473 }, 474 setCurrentClinicThumbnail: (state, action) => { 475 state.currentClinic.thumbnail = action.payload; 476 } 477 } 478}); 479const { 480 setClinics, 481 setCurrentClinic, 482 setCurrentClinicLocation, 483 setCurrentClinicTitle, 484 setCurrentClinicExcerpt, 485 setCurrentClinicThumbnail 486} = clinicsSlice.actions; 487/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clinicsSlice.reducer); 488 489/***/ }), 490
vendor: 6,131 bytes, lines 491-664
491/***/ "./node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js": 492/*!*******************************************************************************************************!*\ 493 !*** ./node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js ***! 494 \*******************************************************************************************************/ 495/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 496 497/** 498 * @license React 499 * use-sync-external-store-with-selector.development.js 500 * 501 * Copyright (c) Facebook, Inc. and its affiliates. 502 * 503 * This source code is licensed under the MIT license found in the 504 * LICENSE file in the root directory of this source tree. 505 */ 506 507 508 509if (true) { 510 (function() { 511 512 'use strict'; 513 514/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ 515if ( 516 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && 517 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === 518 'function' 519) { 520 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); 521} 522 var React = __webpack_require__(/*! react */ "react"); 523 524/** 525 * inlined Object.is polyfill to avoid requiring consumers ship their own 526 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is 527 */ 528function is(x, y) { 529 return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare 530 ; 531} 532 533var objectIs = typeof Object.is === 'function' ? Object.is : is; 534 535var useSyncExternalStore = React.useSyncExternalStore; 536 537// for CommonJS interop. 538 539var useRef = React.useRef, 540 useEffect = React.useEffect, 541 useMemo = React.useMemo, 542 useDebugValue = React.useDebugValue; // Same as useSyncExternalStore, but supports selector and isEqual arguments. 543 544function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) { 545 // Use this to track the rendered snapshot. 546 var instRef = useRef(null); 547 var inst; 548 549 if (instRef.current === null) { 550 inst = { 551 hasValue: false, 552 value: null 553 }; 554 instRef.current = inst; 555 } else { 556 inst = instRef.current; 557 } 558 559 var _useMemo = useMemo(function () { 560 // Track the memoized state using closure variables that are local to this 561 // memoized instance of a getSnapshot function. Intentionally not using a 562 // useRef hook, because that state would be shared across all concurrent 563 // copies of the hook/component. 564 var hasMemo = false; 565 var memoizedSnapshot; 566 var memoizedSelection; 567 568 var memoizedSelector = function (nextSnapshot) { 569 if (!hasMemo) { 570 // The first time the hook is called, there is no memoized result. 571 hasMemo = true; 572 memoizedSnapshot = nextSnapshot; 573 574 var _nextSelection = selector(nextSnapshot); 575 576 if (isEqual !== undefined) { 577 // Even if the selector has changed, the currently rendered selection 578 // may be equal to the new selection. We should attempt to reuse the 579 // current value if possible, to preserve downstream memoizations. 580 if (inst.hasValue) { 581 var currentSelection = inst.value; 582 583 if (isEqual(currentSelection, _nextSelection)) { 584 memoizedSelection = currentSelection; 585 return currentSelection; 586 } 587 } 588 } 589 590 memoizedSelection = _nextSelection; 591 return _nextSelection; 592 } // We may be able to reuse the previous invocation's result. 593 594 595 // We may be able to reuse the previous invocation's result. 596 var prevSnapshot = memoizedSnapshot; 597 var prevSelection = memoizedSelection; 598 599 if (objectIs(prevSnapshot, nextSnapshot)) { 600 // The snapshot is the same as last time. Reuse the previous selection. 601 return prevSelection; 602 } // The snapshot has changed, so we need to compute a new selection. 603 604 605 // The snapshot has changed, so we need to compute a new selection. 606 var nextSelection = selector(nextSnapshot); // If a custom isEqual function is provided, use that to check if the data 607 // has changed. If it hasn't, return the previous selection. That signals 608 // to React that the selections are conceptually equal, and we can bail 609 // out of rendering. 610 611 // If a custom isEqual function is provided, use that to check if the data 612 // has changed. If it hasn't, return the previous selection. That signals 613 // to React that the selections are conceptually equal, and we can bail 614 // out of rendering. 615 if (isEqual !== undefined && isEqual(prevSelection, nextSelection)) { 616 return prevSelection; 617 } 618 619 memoizedSnapshot = nextSnapshot; 620 memoizedSelection = nextSelection; 621 return nextSelection; 622 }; // Assigning this to a constant so that Flow knows it can't change. 623 624 625 // Assigning this to a constant so that Flow knows it can't change. 626 var maybeGetServerSnapshot = getServerSnapshot === undefined ? null : getServerSnapshot; 627 628 var getSnapshotWithSelector = function () { 629 return memoizedSelector(getSnapshot()); 630 }; 631 632 var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? undefined : function () { 633 return memoizedSelector(maybeGetServerSnapshot()); 634 }; 635 return [getSnapshotWithSelector, getServerSnapshotWithSelector]; 636 }, [getSnapshot, getServerSnapshot, selector, isEqual]), 637 getSelection = _useMemo[0], 638 getServerSelection = _useMemo[1]; 639 640 var value = useSyncExternalStore(subscribe, getSelection, getServerSelection); 641 useEffect(function () { 642 inst.hasValue = true; 643 inst.value = value; 644 }, [value]); 645 useDebugValue(value); 646 return value; 647} 648 649exports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector; 650 /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ 651if ( 652 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && 653 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === 654 'function' 655) { 656 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); 657} 658 659 })(); 660} 661 662 663/***/ }), 664
vendor: 1,167 bytes, lines 665-709
665/***/ "./node_modules/use-sync-external-store/with-selector.js": 666/*!***************************************************************!*\ 667 !*** ./node_modules/use-sync-external-store/with-selector.js ***! 668 \***************************************************************/ 669/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 670 671 672 673if (false) {} else { 674 module.exports = __webpack_require__(/*! ./cjs/use-sync-external-store-with-selector.development.js */ "./node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js"); 675} 676 677 678/***/ }), 679 680/***/ "react": 681/*!************************!*\ 682 !*** external "React" ***! 683 \************************/ 684/***/ ((module) => { 685 686module.exports = window["React"]; 687 688/***/ }), 689 690/***/ "react-dom": 691/*!***************************!*\ 692 !*** external "ReactDOM" ***! 693 \***************************/ 694/***/ ((module) => { 695 696module.exports = window["ReactDOM"]; 697 698/***/ }), 699 700/***/ "react/jsx-runtime": 701/*!**********************************!*\ 702 !*** external "ReactJSXRuntime" ***! 703 \**********************************/ 704/***/ ((module) => { 705 706module.exports = window["ReactJSXRuntime"]; 707 708/***/ }), 709
vendor: 81,044 bytes, lines 710-3010
710/***/ "./node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs": 711/*!*********************************************************************!*\ 712 !*** ./node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs ***! 713 \*********************************************************************/ 714/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 715 716__webpack_require__.r(__webpack_exports__); 717/* harmony export */ __webpack_require__.d(__webpack_exports__, { 718/* harmony export */ ReducerType: () => (/* binding */ ReducerType), 719/* harmony export */ SHOULD_AUTOBATCH: () => (/* binding */ SHOULD_AUTOBATCH), 720/* harmony export */ TaskAbortError: () => (/* binding */ TaskAbortError), 721/* harmony export */ Tuple: () => (/* binding */ Tuple), 722/* harmony export */ __DO_NOT_USE__ActionTypes: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.__DO_NOT_USE__ActionTypes), 723/* harmony export */ addListener: () => (/* binding */ addListener), 724/* harmony export */ applyMiddleware: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware), 725/* harmony export */ asyncThunkCreator: () => (/* binding */ asyncThunkCreator), 726/* harmony export */ autoBatchEnhancer: () => (/* binding */ autoBatchEnhancer), 727/* harmony export */ bindActionCreators: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.bindActionCreators), 728/* harmony export */ buildCreateSlice: () => (/* binding */ buildCreateSlice), 729/* harmony export */ clearAllListeners: () => (/* binding */ clearAllListeners), 730/* harmony export */ combineReducers: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers), 731/* harmony export */ combineSlices: () => (/* binding */ combineSlices), 732/* harmony export */ compose: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.compose), 733/* harmony export */ configureStore: () => (/* binding */ configureStore), 734/* harmony export */ createAction: () => (/* binding */ createAction), 735/* harmony export */ createActionCreatorInvariantMiddleware: () => (/* binding */ createActionCreatorInvariantMiddleware), 736/* harmony export */ createAsyncThunk: () => (/* binding */ createAsyncThunk), 737/* harmony export */ createDraftSafeSelector: () => (/* binding */ createDraftSafeSelector), 738/* harmony export */ createDraftSafeSelectorCreator: () => (/* binding */ createDraftSafeSelectorCreator), 739/* harmony export */ createDynamicMiddleware: () => (/* binding */ createDynamicMiddleware), 740/* harmony export */ createEntityAdapter: () => (/* binding */ createEntityAdapter), 741/* harmony export */ createImmutableStateInvariantMiddleware: () => (/* binding */ createImmutableStateInvariantMiddleware), 742/* harmony export */ createListenerMiddleware: () => (/* binding */ createListenerMiddleware), 743/* harmony export */ createNextState: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.produce), 744/* harmony export */ createReducer: () => (/* binding */ createReducer), 745/* harmony export */ createSelector: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_1__.createSelector), 746/* harmony export */ createSelectorCreator: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_1__.createSelectorCreator), 747/* harmony export */ createSerializableStateInvariantMiddleware: () => (/* binding */ createSerializableStateInvariantMiddleware), 748/* harmony export */ createSlice: () => (/* binding */ createSlice), 749/* harmony export */ createStore: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.createStore), 750/* harmony export */ current: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.current), 751/* harmony export */ findNonSerializableValue: () => (/* binding */ findNonSerializableValue), 752/* harmony export */ formatProdErrorMessage: () => (/* binding */ formatProdErrorMessage), 753/* harmony export */ freeze: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.freeze), 754/* harmony export */ isAction: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.isAction), 755/* harmony export */ isActionCreator: () => (/* binding */ isActionCreator), 756/* harmony export */ isAllOf: () => (/* binding */ isAllOf), 757/* harmony export */ isAnyOf: () => (/* binding */ isAnyOf), 758/* harmony export */ isAsyncThunkAction: () => (/* binding */ isAsyncThunkAction), 759/* harmony export */ isDraft: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.isDraft), 760/* harmony export */ isFluxStandardAction: () => (/* binding */ isFSA), 761/* harmony export */ isFulfilled: () => (/* binding */ isFulfilled), 762/* harmony export */ isImmutableDefault: () => (/* binding */ isImmutableDefault), 763/* harmony export */ isPending: () => (/* binding */ isPending), 764/* harmony export */ isPlain: () => (/* binding */ isPlain), 765/* harmony export */ isPlainObject: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.isPlainObject), 766/* harmony export */ isRejected: () => (/* binding */ isRejected), 767/* harmony export */ isRejectedWithValue: () => (/* binding */ isRejectedWithValue), 768/* harmony export */ legacy_createStore: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.legacy_createStore), 769/* harmony export */ lruMemoize: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_1__.lruMemoize), 770/* harmony export */ miniSerializeError: () => (/* binding */ miniSerializeError), 771/* harmony export */ nanoid: () => (/* binding */ nanoid), 772/* harmony export */ original: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.original), 773/* harmony export */ prepareAutoBatched: () => (/* binding */ prepareAutoBatched), 774/* harmony export */ removeListener: () => (/* binding */ removeListener), 775/* harmony export */ unwrapResult: () => (/* binding */ unwrapResult), 776/* harmony export */ weakMapMemoize: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_1__.weakMapMemoize) 777/* harmony export */ }); 778/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "./node_modules/redux/dist/redux.mjs"); 779/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! immer */ "./node_modules/immer/dist/immer.mjs"); 780/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! reselect */ "./node_modules/reselect/dist/reselect.mjs"); 781/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! redux-thunk */ "./node_modules/redux-thunk/dist/redux-thunk.mjs"); 782// src/index.ts 783 784 785 786 787// src/createDraftSafeSelector.ts 788 789 790var createDraftSafeSelectorCreator = (...args) => { 791 const createSelector2 = (0,reselect__WEBPACK_IMPORTED_MODULE_1__.createSelectorCreator)(...args); 792 const createDraftSafeSelector2 = Object.assign((...args2) => { 793 const selector = createSelector2(...args2); 794 const wrappedSelector = (value, ...rest) => selector((0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(value) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.current)(value) : value, ...rest); 795 Object.assign(wrappedSelector, selector); 796 return wrappedSelector; 797 }, { 798 withTypes: () => createDraftSafeSelector2 799 }); 800 return createDraftSafeSelector2; 801}; 802var createDraftSafeSelector = /* @__PURE__ */ createDraftSafeSelectorCreator(reselect__WEBPACK_IMPORTED_MODULE_1__.weakMapMemoize); 803 804// src/configureStore.ts 805 806 807// src/devtoolsExtension.ts 808 809var composeWithDevTools = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() { 810 if (arguments.length === 0) return void 0; 811 if (typeof arguments[0] === "object") return redux__WEBPACK_IMPORTED_MODULE_0__.compose; 812 return redux__WEBPACK_IMPORTED_MODULE_0__.compose.apply(null, arguments); 813}; 814var devToolsEnhancer = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ : function() { 815 return function(noop3) { 816 return noop3; 817 }; 818}; 819 820// src/getDefaultMiddleware.ts 821 822 823// src/createAction.ts 824 825 826// src/tsHelpers.ts 827var hasMatchFunction = (v) => { 828 return v && typeof v.match === "function"; 829}; 830 831// src/createAction.ts 832function createAction(type, prepareAction) { 833 function actionCreator(...args) { 834 if (prepareAction) { 835 let prepared = prepareAction(...args); 836 if (!prepared) { 837 throw new Error( false ? 0 : "prepareAction did not return an object"); 838 } 839 return { 840 type, 841 payload: prepared.payload, 842 ..."meta" in prepared && { 843 meta: prepared.meta 844 }, 845 ..."error" in prepared && { 846 error: prepared.error 847 } 848 }; 849 } 850 return { 851 type, 852 payload: args[0] 853 }; 854 } 855 actionCreator.toString = () => `${type}`; 856 actionCreator.type = type; 857 actionCreator.match = (action) => (0,redux__WEBPACK_IMPORTED_MODULE_0__.isAction)(action) && action.type === type; 858 return actionCreator; 859} 860function isActionCreator(action) { 861 return typeof action === "function" && "type" in action && // hasMatchFunction only wants Matchers but I don't see the point in rewriting it 862 hasMatchFunction(action); 863} 864function isFSA(action) { 865 return (0,redux__WEBPACK_IMPORTED_MODULE_0__.isAction)(action) && Object.keys(action).every(isValidKey); 866} 867function isValidKey(key) { 868 return ["type", "payload", "error", "meta"].indexOf(key) > -1; 869} 870 871// src/actionCreatorInvariantMiddleware.ts 872function getMessage(type) { 873 const splitType = type ? `${type}`.split("/") : []; 874 const actionName = splitType[splitType.length - 1] || "actionCreator"; 875 return `Detected an action creator with type "${type || "unknown"}" being dispatched. 876Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${actionName}())\` instead of \`dispatch(${actionName})\`. This is necessary even if the action has no payload.`; 877} 878function createActionCreatorInvariantMiddleware(options = {}) { 879 if (false) {} 880 const { 881 isActionCreator: isActionCreator2 = isActionCreator 882 } = options; 883 return () => (next) => (action) => { 884 if (isActionCreator2(action)) { 885 console.warn(getMessage(action.type)); 886 } 887 return next(action); 888 }; 889} 890 891// src/utils.ts 892 893function getTimeMeasureUtils(maxDelay, fnName) { 894 let elapsed = 0; 895 return { 896 measureTime(fn) { 897 const started = Date.now(); 898 try { 899 return fn(); 900 } finally { 901 const finished = Date.now(); 902 elapsed += finished - started; 903 } 904 }, 905 warnIfExceeded() { 906 if (elapsed > maxDelay) { 907 console.warn(`${fnName} took ${elapsed}ms, which is more than the warning threshold of ${maxDelay}ms. 908If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions. 909It is disabled in production builds, so you don't need to worry about that.`); 910 } 911 } 912 }; 913} 914function find(iterable, comparator) { 915 for (const entry of iterable) { 916 if (comparator(entry)) { 917 return entry; 918 } 919 } 920 return void 0; 921} 922var Tuple = class _Tuple extends Array { 923 constructor(...items) { 924 super(...items); 925 Object.setPrototypeOf(this, _Tuple.prototype); 926 } 927 static get [Symbol.species]() { 928 return _Tuple; 929 } 930 concat(...arr) { 931 return super.concat.apply(this, arr); 932 } 933 prepend(...arr) { 934 if (arr.length === 1 && Array.isArray(arr[0])) { 935 return new _Tuple(...arr[0].concat(this)); 936 } 937 return new _Tuple(...arr.concat(this)); 938 } 939}; 940function freezeDraftable(val) { 941 return (0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraftable)(val) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.produce)(val, () => { 942 }) : val; 943} 944function emplace(map, key, handler) { 945 if (map.has(key)) { 946 let value = map.get(key); 947 if (handler.update) { 948 value = handler.update(value, key, map); 949 map.set(key, value); 950 } 951 return value; 952 } 953 if (!handler.insert) throw new Error( false ? 0 : "No insert provided for key not already in map"); 954 const inserted = handler.insert(key, map); 955 map.set(key, inserted); 956 return inserted; 957} 958 959// src/immutableStateInvariantMiddleware.ts 960function isImmutableDefault(value) { 961 return typeof value !== "object" || value == null || Object.isFrozen(value); 962} 963function trackForMutations(isImmutable, ignorePaths, obj) { 964 const trackedProperties = trackProperties(isImmutable, ignorePaths, obj); 965 return { 966 detectMutations() { 967 return detectMutations(isImmutable, ignorePaths, trackedProperties, obj); 968 } 969 }; 970} 971function trackProperties(isImmutable, ignorePaths = [], obj, path = "", checkedObjects = /* @__PURE__ */ new Set()) { 972 const tracked = { 973 value: obj 974 }; 975 if (!isImmutable(obj) && !checkedObjects.has(obj)) { 976 checkedObjects.add(obj); 977 tracked.children = {}; 978 for (const key in obj) { 979 const childPath = path ? path + "." + key : key; 980 if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) { 981 continue; 982 } 983 tracked.children[key] = trackProperties(isImmutable, ignorePaths, obj[key], childPath); 984 } 985 } 986 return tracked; 987} 988function detectMutations(isImmutable, ignoredPaths = [], trackedProperty, obj, sameParentRef = false, path = "") { 989 const prevObj = trackedProperty ? trackedProperty.value : void 0; 990 const sameRef = prevObj === obj; 991 if (sameParentRef && !sameRef && !Number.isNaN(obj)) { 992 return { 993 wasMutated: true, 994 path 995 }; 996 } 997 if (isImmutable(prevObj) || isImmutable(obj)) { 998 return { 999 wasMutated: false 1000 }; 1001 } 1002 const keysToDetect = {}; 1003 for (let key in trackedProperty.children) { 1004 keysToDetect[key] = true; 1005 } 1006 for (let key in obj) { 1007 keysToDetect[key] = true; 1008 } 1009 const hasIgnoredPaths = ignoredPaths.length > 0; 1010 for (let key in keysToDetect) { 1011 const nestedPath = path ? path + "." + key : key; 1012 if (hasIgnoredPaths) { 1013 const hasMatches = ignoredPaths.some((ignored) => { 1014 if (ignored instanceof RegExp) { 1015 return ignored.test(nestedPath); 1016 } 1017 return nestedPath === ignored; 1018 }); 1019 if (hasMatches) { 1020 continue; 1021 } 1022 } 1023 const result = detectMutations(isImmutable, ignoredPaths, trackedProperty.children[key], obj[key], sameRef, nestedPath); 1024 if (result.wasMutated) { 1025 return result; 1026 } 1027 } 1028 return { 1029 wasMutated: false 1030 }; 1031} 1032function createImmutableStateInvariantMiddleware(options = {}) { 1033 if (false) {} else { 1034 let stringify2 = function(obj, serializer, indent, decycler) { 1035 return JSON.stringify(obj, getSerialize2(serializer, decycler), indent); 1036 }, getSerialize2 = function(serializer, decycler) { 1037 let stack = [], keys = []; 1038 if (!decycler) decycler = function(_, value) { 1039 if (stack[0] === value) return "[Circular ~]"; 1040 return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]"; 1041 }; 1042 return function(key, value) { 1043 if (stack.length > 0) { 1044 var thisPos = stack.indexOf(this); 1045 ~thisPos ? stack.splice(thisPos + 1) : stack.push(this); 1046 ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key); 1047 if (~stack.indexOf(value)) value = decycler.call(this, key, value); 1048 } else stack.push(value); 1049 return serializer == null ? value : serializer.call(this, key, value); 1050 }; 1051 }; 1052 var stringify = stringify2, getSerialize = getSerialize2; 1053 let { 1054 isImmutable = isImmutableDefault, 1055 ignoredPaths, 1056 warnAfter = 32 1057 } = options; 1058 const track = trackForMutations.bind(null, isImmutable, ignoredPaths); 1059 return ({ 1060 getState 1061 }) => { 1062 let state = getState(); 1063 let tracker = track(state); 1064 let result; 1065 return (next) => (action) => { 1066 const measureUtils = getTimeMeasureUtils(warnAfter, "ImmutableStateInvariantMiddleware"); 1067 measureUtils.measureTime(() => { 1068 state = getState(); 1069 result = tracker.detectMutations(); 1070 tracker = track(state); 1071 if (result.wasMutated) { 1072 throw new Error( false ? 0 : `A state mutation was detected between dispatches, in the path '${result.path || ""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`); 1073 } 1074 }); 1075 const dispatchedAction = next(action); 1076 measureUtils.measureTime(() => { 1077 state = getState(); 1078 result = tracker.detectMutations(); 1079 tracker = track(state); 1080 if (result.wasMutated) { 1081 throw new Error( false ? 0 : `A state mutation was detected inside a dispatch, in the path: ${result.path || ""}. Take a look at the reducer(s) handling the action ${stringify2(action)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`); 1082 } 1083 }); 1084 measureUtils.warnIfExceeded(); 1085 return dispatchedAction; 1086 }; 1087 }; 1088 } 1089} 1090 1091// src/serializableStateInvariantMiddleware.ts 1092 1093function isPlain(val) { 1094 const type = typeof val; 1095 return val == null || type === "string" || type === "boolean" || type === "number" || Array.isArray(val) || (0,redux__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(val); 1096} 1097function findNonSerializableValue(value, path = "", isSerializable = isPlain, getEntries, ignoredPaths = [], cache) { 1098 let foundNestedSerializable; 1099 if (!isSerializable(value)) { 1100 return { 1101 keyPath: path || "<root>", 1102 value 1103 }; 1104 } 1105 if (typeof value !== "object" || value === null) { 1106 return false; 1107 } 1108 if (cache?.has(value)) return false; 1109 const entries = getEntries != null ? getEntries(value) : Object.entries(value); 1110 const hasIgnoredPaths = ignoredPaths.length > 0; 1111 for (const [key, nestedValue] of entries) { 1112 const nestedPath = path ? path + "." + key : key; 1113 if (hasIgnoredPaths) { 1114 const hasMatches = ignoredPaths.some((ignored) => { 1115 if (ignored instanceof RegExp) { 1116 return ignored.test(nestedPath); 1117 } 1118 return nestedPath === ignored; 1119 }); 1120 if (hasMatches) { 1121 continue; 1122 } 1123 } 1124 if (!isSerializable(nestedValue)) { 1125 return { 1126 keyPath: nestedPath, 1127 value: nestedValue 1128 }; 1129 } 1130 if (typeof nestedValue === "object") { 1131 foundNestedSerializable = findNonSerializableValue(nestedValue, nestedPath, isSerializable, getEntries, ignoredPaths, cache); 1132 if (foundNestedSerializable) { 1133 return foundNestedSerializable; 1134 } 1135 } 1136 } 1137 if (cache && isNestedFrozen(value)) cache.add(value); 1138 return false; 1139} 1140function isNestedFrozen(value) { 1141 if (!Object.isFrozen(value)) return false; 1142 for (const nestedValue of Object.values(value)) { 1143 if (typeof nestedValue !== "object" || nestedValue === null) continue; 1144 if (!isNestedFrozen(nestedValue)) return false; 1145 } 1146 return true; 1147} 1148function createSerializableStateInvariantMiddleware(options = {}) { 1149 if (false) {} else { 1150 const { 1151 isSerializable = isPlain, 1152 getEntries, 1153 ignoredActions = [], 1154 ignoredActionPaths = ["meta.arg", "meta.baseQueryMeta"], 1155 ignoredPaths = [], 1156 warnAfter = 32, 1157 ignoreState = false, 1158 ignoreActions = false, 1159 disableCache = false 1160 } = options; 1161 const cache = !disableCache && WeakSet ? /* @__PURE__ */ new WeakSet() : void 0; 1162 return (storeAPI) => (next) => (action) => { 1163 if (!(0,redux__WEBPACK_IMPORTED_MODULE_0__.isAction)(action)) { 1164 return next(action); 1165 } 1166 const result = next(action); 1167 const measureUtils = getTimeMeasureUtils(warnAfter, "SerializableStateInvariantMiddleware"); 1168 if (!ignoreActions && !(ignoredActions.length && ignoredActions.indexOf(action.type) !== -1)) { 1169 measureUtils.measureTime(() => { 1170 const foundActionNonSerializableValue = findNonSerializableValue(action, "", isSerializable, getEntries, ignoredActionPaths, cache); 1171 if (foundActionNonSerializableValue) { 1172 const { 1173 keyPath, 1174 value 1175 } = foundActionNonSerializableValue; 1176 console.error(`A non-serializable value was detected in an action, in the path: \`${keyPath}\`. Value:`, value, "\nTake a look at the logic that dispatched this action: ", action, "\n(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)", "\n(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)"); 1177 } 1178 }); 1179 } 1180 if (!ignoreState) { 1181 measureUtils.measureTime(() => { 1182 const state = storeAPI.getState(); 1183 const foundStateNonSerializableValue = findNonSerializableValue(state, "", isSerializable, getEntries, ignoredPaths, cache); 1184 if (foundStateNonSerializableValue) { 1185 const { 1186 keyPath, 1187 value 1188 } = foundStateNonSerializableValue; 1189 console.error(`A non-serializable value was detected in the state, in the path: \`${keyPath}\`. Value:`, value, ` 1190Take a look at the reducer(s) handling this action type: ${action.type}. 1191(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`); 1192 } 1193 }); 1194 measureUtils.warnIfExceeded(); 1195 } 1196 return result; 1197 }; 1198 } 1199} 1200 1201// src/getDefaultMiddleware.ts 1202function isBoolean(x) { 1203 return typeof x === "boolean"; 1204} 1205var buildGetDefaultMiddleware = () => function getDefaultMiddleware(options) { 1206 const { 1207 thunk = true, 1208 immutableCheck = true, 1209 serializableCheck = true, 1210 actionCreatorCheck = true 1211 } = options ?? {}; 1212 let middlewareArray = new Tuple(); 1213 if (thunk) { 1214 if (isBoolean(thunk)) { 1215 middlewareArray.push(redux_thunk__WEBPACK_IMPORTED_MODULE_3__.thunk); 1216 } else { 1217 middlewareArray.push((0,redux_thunk__WEBPACK_IMPORTED_MODULE_3__.withExtraArgument)(thunk.extraArgument)); 1218 } 1219 } 1220 if (true) { 1221 if (immutableCheck) { 1222 let immutableOptions = {}; 1223 if (!isBoolean(immutableCheck)) { 1224 immutableOptions = immutableCheck; 1225 } 1226 middlewareArray.unshift(createImmutableStateInvariantMiddleware(immutableOptions)); 1227 } 1228 if (serializableCheck) { 1229 let serializableOptions = {}; 1230 if (!isBoolean(serializableCheck)) { 1231 serializableOptions = serializableCheck; 1232 } 1233 middlewareArray.push(createSerializableStateInvariantMiddleware(serializableOptions)); 1234 } 1235 if (actionCreatorCheck) { 1236 let actionCreatorOptions = {}; 1237 if (!isBoolean(actionCreatorCheck)) { 1238 actionCreatorOptions = actionCreatorCheck; 1239 } 1240 middlewareArray.unshift(createActionCreatorInvariantMiddleware(actionCreatorOptions)); 1241 } 1242 } 1243 return middlewareArray; 1244}; 1245 1246// src/autoBatchEnhancer.ts 1247var SHOULD_AUTOBATCH = "RTK_autoBatch"; 1248var prepareAutoBatched = () => (payload) => ({ 1249 payload, 1250 meta: { 1251 [SHOULD_AUTOBATCH]: true 1252 } 1253}); 1254var createQueueWithTimer = (timeout) => { 1255 return (notify) => { 1256 setTimeout(notify, timeout); 1257 }; 1258}; 1259var rAF = typeof window !== "undefined" && window.requestAnimationFrame ? window.requestAnimationFrame : createQueueWithTimer(10); 1260var autoBatchEnhancer = (options = { 1261 type: "raf" 1262}) => (next) => (...args) => { 1263 const store = next(...args); 1264 let notifying = true; 1265 let shouldNotifyAtEndOfTick = false; 1266 let notificationQueued = false; 1267 const listeners = /* @__PURE__ */ new Set(); 1268 const queueCallback = options.type === "tick" ? queueMicrotask : options.type === "raf" ? rAF : options.type === "callback" ? options.queueNotification : createQueueWithTimer(options.timeout); 1269 const notifyListeners = () => { 1270 notificationQueued = false; 1271 if (shouldNotifyAtEndOfTick) { 1272 shouldNotifyAtEndOfTick = false; 1273 listeners.forEach((l) => l()); 1274 } 1275 }; 1276 return Object.assign({}, store, { 1277 // Override the base `store.subscribe` method to keep original listeners 1278 // from running if we're delaying notifications 1279 subscribe(listener2) { 1280 const wrappedListener = () => notifying && listener2(); 1281 const unsubscribe = store.subscribe(wrappedListener); 1282 listeners.add(listener2); 1283 return () => { 1284 unsubscribe(); 1285 listeners.delete(listener2); 1286 }; 1287 }, 1288 // Override the base `store.dispatch` method so that we can check actions 1289 // for the `shouldAutoBatch` flag and determine if batching is active 1290 dispatch(action) { 1291 try { 1292 notifying = !action?.meta?.[SHOULD_AUTOBATCH]; 1293 shouldNotifyAtEndOfTick = !notifying; 1294 if (shouldNotifyAtEndOfTick) { 1295 if (!notificationQueued) { 1296 notificationQueued = true; 1297 queueCallback(notifyListeners); 1298 } 1299 } 1300 return store.dispatch(action); 1301 } finally { 1302 notifying = true; 1303 } 1304 } 1305 }); 1306}; 1307 1308// src/getDefaultEnhancers.ts 1309var buildGetDefaultEnhancers = (middlewareEnhancer) => function getDefaultEnhancers(options) { 1310 const { 1311 autoBatch = true 1312 } = options ?? {}; 1313 let enhancerArray = new Tuple(middlewareEnhancer); 1314 if (autoBatch) { 1315 enhancerArray.push(autoBatchEnhancer(typeof autoBatch === "object" ? autoBatch : void 0)); 1316 } 1317 return enhancerArray; 1318}; 1319 1320// src/configureStore.ts 1321function configureStore(options) { 1322 const getDefaultMiddleware = buildGetDefaultMiddleware(); 1323 const { 1324 reducer = void 0, 1325 middleware, 1326 devTools = true, 1327 preloadedState = void 0, 1328 enhancers = void 0 1329 } = options || {}; 1330 let rootReducer; 1331 if (typeof reducer === "function") { 1332 rootReducer = reducer; 1333 } else if ((0,redux__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(reducer)) { 1334 rootReducer = (0,redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers)(reducer); 1335 } else { 1336 throw new Error( false ? 0 : "`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers"); 1337 } 1338 if ( true && middleware && typeof middleware !== "function") { 1339 throw new Error( false ? 0 : "`middleware` field must be a callback"); 1340 } 1341 let finalMiddleware; 1342 if (typeof middleware === "function") { 1343 finalMiddleware = middleware(getDefaultMiddleware); 1344 if ( true && !Array.isArray(finalMiddleware)) { 1345 throw new Error( false ? 0 : "when using a middleware builder function, an array of middleware must be returned"); 1346 } 1347 } else { 1348 finalMiddleware = getDefaultMiddleware(); 1349 } 1350 if ( true && finalMiddleware.some((item) => typeof item !== "function")) { 1351 throw new Error( false ? 0 : "each middleware provided to configureStore must be a function"); 1352 } 1353 let finalCompose = redux__WEBPACK_IMPORTED_MODULE_0__.compose; 1354 if (devTools) { 1355 finalCompose = composeWithDevTools({ 1356 // Enable capture of stack traces for dispatched Redux actions 1357 trace: "development" !== "production", 1358 ...typeof devTools === "object" && devTools 1359 }); 1360 } 1361 const middlewareEnhancer = (0,redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware)(...finalMiddleware); 1362 const getDefaultEnhancers = buildGetDefaultEnhancers(middlewareEnhancer); 1363 if ( true && enhancers && typeof enhancers !== "function") { 1364 throw new Error( false ? 0 : "`enhancers` field must be a callback"); 1365 } 1366 let storeEnhancers = typeof enhancers === "function" ? enhancers(getDefaultEnhancers) : getDefaultEnhancers(); 1367 if ( true && !Array.isArray(storeEnhancers)) { 1368 throw new Error( false ? 0 : "`enhancers` callback must return an array"); 1369 } 1370 if ( true && storeEnhancers.some((item) => typeof item !== "function")) { 1371 throw new Error( false ? 0 : "each enhancer provided to configureStore must be a function"); 1372 } 1373 if ( true && finalMiddleware.length && !storeEnhancers.includes(middlewareEnhancer)) { 1374 console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`"); 1375 } 1376 const composedEnhancer = finalCompose(...storeEnhancers); 1377 return (0,redux__WEBPACK_IMPORTED_MODULE_0__.createStore)(rootReducer, preloadedState, composedEnhancer); 1378} 1379 1380// src/createReducer.ts 1381 1382 1383// src/mapBuilders.ts 1384function executeReducerBuilderCallback(builderCallback) { 1385 const actionsMap = {}; 1386 const actionMatchers = []; 1387 let defaultCaseReducer; 1388 const builder = { 1389 addCase(typeOrActionCreator, reducer) { 1390 if (true) { 1391 if (actionMatchers.length > 0) { 1392 throw new Error( false ? 0 : "`builder.addCase` should only be called before calling `builder.addMatcher`"); 1393 } 1394 if (defaultCaseReducer) { 1395 throw new Error( false ? 0 : "`builder.addCase` should only be called before calling `builder.addDefaultCase`"); 1396 } 1397 } 1398 const type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type; 1399 if (!type) { 1400 throw new Error( false ? 0 : "`builder.addCase` cannot be called with an empty action type"); 1401 } 1402 if (type in actionsMap) { 1403 throw new Error( false ? 0 : `\`builder.addCase\` cannot be called with two reducers for the same action type '${type}'`); 1404 } 1405 actionsMap[type] = reducer; 1406 return builder; 1407 }, 1408 addMatcher(matcher, reducer) { 1409 if (true) { 1410 if (defaultCaseReducer) { 1411 throw new Error( false ? 0 : "`builder.addMatcher` should only be called before calling `builder.addDefaultCase`"); 1412 } 1413 } 1414 actionMatchers.push({ 1415 matcher, 1416 reducer 1417 }); 1418 return builder; 1419 }, 1420 addDefaultCase(reducer) { 1421 if (true) { 1422 if (defaultCaseReducer) { 1423 throw new Error( false ? 0 : "`builder.addDefaultCase` can only be called once"); 1424 } 1425 } 1426 defaultCaseReducer = reducer; 1427 return builder; 1428 } 1429 }; 1430 builderCallback(builder); 1431 return [actionsMap, actionMatchers, defaultCaseReducer]; 1432} 1433 1434// src/createReducer.ts 1435function isStateFunction(x) { 1436 return typeof x === "function"; 1437} 1438function createReducer(initialState, mapOrBuilderCallback) { 1439 if (true) { 1440 if (typeof mapOrBuilderCallback === "object") { 1441 throw new Error( false ? 0 : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer"); 1442 } 1443 } 1444 let [actionsMap, finalActionMatchers, finalDefaultCaseReducer] = executeReducerBuilderCallback(mapOrBuilderCallback); 1445 let getInitialState; 1446 if (isStateFunction(initialState)) { 1447 getInitialState = () => freezeDraftable(initialState()); 1448 } else { 1449 const frozenInitialState = freezeDraftable(initialState); 1450 getInitialState = () => frozenInitialState; 1451 } 1452 function reducer(state = getInitialState(), action) { 1453 let caseReducers = [actionsMap[action.type], ...finalActionMatchers.filter(({ 1454 matcher 1455 }) => matcher(action)).map(({ 1456 reducer: reducer2 1457 }) => reducer2)]; 1458 if (caseReducers.filter((cr) => !!cr).length === 0) { 1459 caseReducers = [finalDefaultCaseReducer]; 1460 } 1461 return caseReducers.reduce((previousState, caseReducer) => { 1462 if (caseReducer) { 1463 if ((0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(previousState)) { 1464 const draft = previousState; 1465 const result = caseReducer(draft, action); 1466 if (result === void 0) { 1467 return previousState; 1468 } 1469 return result; 1470 } else if (!(0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraftable)(previousState)) { 1471 const result = caseReducer(previousState, action); 1472 if (result === void 0) { 1473 if (previousState === null) { 1474 return previousState; 1475 } 1476 throw new Error( false ? 0 : "A case reducer on a non-draftable value must not return undefined"); 1477 } 1478 return result; 1479 } else { 1480 return (0,immer__WEBPACK_IMPORTED_MODULE_2__.produce)(previousState, (draft) => { 1481 return caseReducer(draft, action); 1482 }); 1483 } 1484 } 1485 return previousState; 1486 }, state); 1487 } 1488 reducer.getInitialState = getInitialState; 1489 return reducer; 1490} 1491 1492// src/matchers.ts 1493var matches = (matcher, action) => { 1494 if (hasMatchFunction(matcher)) { 1495 return matcher.match(action); 1496 } else { 1497 return matcher(action); 1498 } 1499}; 1500function isAnyOf(...matchers) { 1501 return (action) => { 1502 return matchers.some((matcher) => matches(matcher, action)); 1503 }; 1504} 1505function isAllOf(...matchers) { 1506 return (action) => { 1507 return matchers.every((matcher) => matches(matcher, action)); 1508 }; 1509} 1510function hasExpectedRequestMetadata(action, validStatus) { 1511 if (!action || !action.meta) return false; 1512 const hasValidRequestId = typeof action.meta.requestId === "string"; 1513 const hasValidRequestStatus = validStatus.indexOf(action.meta.requestStatus) > -1; 1514 return hasValidRequestId && hasValidRequestStatus; 1515} 1516function isAsyncThunkArray(a) { 1517 return typeof a[0] === "function" && "pending" in a[0] && "fulfilled" in a[0] && "rejected" in a[0]; 1518} 1519function isPending(...asyncThunks) { 1520 if (asyncThunks.length === 0) { 1521 return (action) => hasExpectedRequestMetadata(action, ["pending"]); 1522 } 1523 if (!isAsyncThunkArray(asyncThunks)) { 1524 return isPending()(asyncThunks[0]); 1525 } 1526 return isAnyOf(...asyncThunks.map((asyncThunk) => asyncThunk.pending)); 1527} 1528function isRejected(...asyncThunks) { 1529 if (asyncThunks.length === 0) { 1530 return (action) => hasExpectedRequestMetadata(action, ["rejected"]); 1531 } 1532 if (!isAsyncThunkArray(asyncThunks)) { 1533 return isRejected()(asyncThunks[0]); 1534 } 1535 return isAnyOf(...asyncThunks.map((asyncThunk) => asyncThunk.rejected)); 1536} 1537function isRejectedWithValue(...asyncThunks) { 1538 const hasFlag = (action) => { 1539 return action && action.meta && action.meta.rejectedWithValue; 1540 }; 1541 if (asyncThunks.length === 0) { 1542 return isAllOf(isRejected(...asyncThunks), hasFlag); 1543 } 1544 if (!isAsyncThunkArray(asyncThunks)) { 1545 return isRejectedWithValue()(asyncThunks[0]); 1546 } 1547 return isAllOf(isRejected(...asyncThunks), hasFlag); 1548} 1549function isFulfilled(...asyncThunks) { 1550 if (asyncThunks.length === 0) { 1551 return (action) => hasExpectedRequestMetadata(action, ["fulfilled"]); 1552 } 1553 if (!isAsyncThunkArray(asyncThunks)) { 1554 return isFulfilled()(asyncThunks[0]); 1555 } 1556 return isAnyOf(...asyncThunks.map((asyncThunk) => asyncThunk.fulfilled)); 1557} 1558function isAsyncThunkAction(...asyncThunks) { 1559 if (asyncThunks.length === 0) { 1560 return (action) => hasExpectedRequestMetadata(action, ["pending", "fulfilled", "rejected"]); 1561 } 1562 if (!isAsyncThunkArray(asyncThunks)) { 1563 return isAsyncThunkAction()(asyncThunks[0]); 1564 } 1565 return isAnyOf(...asyncThunks.flatMap((asyncThunk) => [asyncThunk.pending, asyncThunk.rejected, asyncThunk.fulfilled])); 1566} 1567 1568// src/nanoid.ts 1569var urlAlphabet = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"; 1570var nanoid = (size = 21) => { 1571 let id = ""; 1572 let i = size; 1573 while (i--) { 1574 id += urlAlphabet[Math.random() * 64 | 0]; 1575 } 1576 return id; 1577}; 1578 1579// src/createAsyncThunk.ts 1580var commonProperties = ["name", "message", "stack", "code"]; 1581var RejectWithValue = class { 1582 constructor(payload, meta) { 1583 this.payload = payload; 1584 this.meta = meta; 1585 } 1586 /* 1587 type-only property to distinguish between RejectWithValue and FulfillWithMeta 1588 does not exist at runtime 1589 */ 1590 _type; 1591}; 1592var FulfillWithMeta = class { 1593 constructor(payload, meta) { 1594 this.payload = payload; 1595 this.meta = meta; 1596 } 1597 /* 1598 type-only property to distinguish between RejectWithValue and FulfillWithMeta 1599 does not exist at runtime 1600 */ 1601 _type; 1602}; 1603var miniSerializeError = (value) => { 1604 if (typeof value === "object" && value !== null) { 1605 const simpleError = {}; 1606 for (const property of commonProperties) { 1607 if (typeof value[property] === "string") { 1608 simpleError[property] = value[property]; 1609 } 1610 } 1611 return simpleError; 1612 } 1613 return { 1614 message: String(value) 1615 }; 1616}; 1617var createAsyncThunk = /* @__PURE__ */ (() => { 1618 function createAsyncThunk2(typePrefix, payloadCreator, options) { 1619 const fulfilled = createAction(typePrefix + "/fulfilled", (payload, requestId, arg, meta) => ({ 1620 payload, 1621 meta: { 1622 ...meta || {}, 1623 arg, 1624 requestId, 1625 requestStatus: "fulfilled" 1626 } 1627 })); 1628 const pending = createAction(typePrefix + "/pending", (requestId, arg, meta) => ({ 1629 payload: void 0, 1630 meta: { 1631 ...meta || {}, 1632 arg, 1633 requestId, 1634 requestStatus: "pending" 1635 } 1636 })); 1637 const rejected = createAction(typePrefix + "/rejected", (error, requestId, arg, payload, meta) => ({ 1638 payload, 1639 error: (options && options.serializeError || miniSerializeError)(error || "Rejected"), 1640 meta: { 1641 ...meta || {}, 1642 arg, 1643 requestId, 1644 rejectedWithValue: !!payload, 1645 requestStatus: "rejected", 1646 aborted: error?.name === "AbortError", 1647 condition: error?.name === "ConditionError" 1648 } 1649 })); 1650 function actionCreator(arg) { 1651 return (dispatch, getState, extra) => { 1652 const requestId = options?.idGenerator ? options.idGenerator(arg) : nanoid(); 1653 const abortController = new AbortController(); 1654 let abortHandler; 1655 let abortReason; 1656 function abort(reason) { 1657 abortReason = reason; 1658 abortController.abort(); 1659 } 1660 const promise = async function() { 1661 let finalAction; 1662 try { 1663 let conditionResult = options?.condition?.(arg, { 1664 getState, 1665 extra 1666 }); 1667 if (isThenable(conditionResult)) { 1668 conditionResult = await conditionResult; 1669 } 1670 if (conditionResult === false || abortController.signal.aborted) { 1671 throw { 1672 name: "ConditionError", 1673 message: "Aborted due to condition callback returning false." 1674 }; 1675 } 1676 const abortedPromise = new Promise((_, reject) => { 1677 abortHandler = () => { 1678 reject({ 1679 name: "AbortError", 1680 message: abortReason || "Aborted" 1681 }); 1682 }; 1683 abortController.signal.addEventListener("abort", abortHandler); 1684 }); 1685 dispatch(pending(requestId, arg, options?.getPendingMeta?.({ 1686 requestId, 1687 arg 1688 }, { 1689 getState, 1690 extra 1691 }))); 1692 finalAction = await Promise.race([abortedPromise, Promise.resolve(payloadCreator(arg, { 1693 dispatch, 1694 getState, 1695 extra, 1696 requestId, 1697 signal: abortController.signal, 1698 abort, 1699 rejectWithValue: (value, meta) => { 1700 return new RejectWithValue(value, meta); 1701 }, 1702 fulfillWithValue: (value, meta) => { 1703 return new FulfillWithMeta(value, meta); 1704 } 1705 })).then((result) => { 1706 if (result instanceof RejectWithValue) { 1707 throw result; 1708 } 1709 if (result instanceof FulfillWithMeta) { 1710 return fulfilled(result.payload, requestId, arg, result.meta); 1711 } 1712 return fulfilled(result, requestId, arg); 1713 })]); 1714 } catch (err) { 1715 finalAction = err instanceof RejectWithValue ? rejected(null, requestId, arg, err.payload, err.meta) : rejected(err, requestId, arg); 1716 } finally { 1717 if (abortHandler) { 1718 abortController.signal.removeEventListener("abort", abortHandler); 1719 } 1720 } 1721 const skipDispatch = options && !options.dispatchConditionRejection && rejected.match(finalAction) && finalAction.meta.condition; 1722 if (!skipDispatch) { 1723 dispatch(finalAction); 1724 } 1725 return finalAction; 1726 }(); 1727 return Object.assign(promise, { 1728 abort, 1729 requestId, 1730 arg, 1731 unwrap() { 1732 return promise.then(unwrapResult); 1733 } 1734 }); 1735 }; 1736 } 1737 return Object.assign(actionCreator, { 1738 pending, 1739 rejected, 1740 fulfilled, 1741 settled: isAnyOf(rejected, fulfilled), 1742 typePrefix 1743 }); 1744 } 1745 createAsyncThunk2.withTypes = () => createAsyncThunk2; 1746 return createAsyncThunk2; 1747})(); 1748function unwrapResult(action) { 1749 if (action.meta && action.meta.rejectedWithValue) { 1750 throw action.payload; 1751 } 1752 if (action.error) { 1753 throw action.error; 1754 } 1755 return action.payload; 1756} 1757function isThenable(value) { 1758 return value !== null && typeof value === "object" && typeof value.then === "function"; 1759} 1760 1761// src/createSlice.ts 1762var asyncThunkSymbol = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); 1763var asyncThunkCreator = { 1764 [asyncThunkSymbol]: createAsyncThunk 1765}; 1766var ReducerType = /* @__PURE__ */ ((ReducerType2) => { 1767 ReducerType2["reducer"] = "reducer"; 1768 ReducerType2["reducerWithPrepare"] = "reducerWithPrepare"; 1769 ReducerType2["asyncThunk"] = "asyncThunk"; 1770 return ReducerType2; 1771})(ReducerType || {}); 1772function getType(slice, actionKey) { 1773 return `${slice}/${actionKey}`; 1774} 1775function buildCreateSlice({ 1776 creators 1777} = {}) { 1778 const cAT = creators?.asyncThunk?.[asyncThunkSymbol]; 1779 return function createSlice2(options) { 1780 const { 1781 name, 1782 reducerPath = name 1783 } = options; 1784 if (!name) { 1785 throw new Error( false ? 0 : "`name` is a required option for createSlice"); 1786 } 1787 if (typeof process !== "undefined" && "development" === "development") { 1788 if (options.initialState === void 0) { 1789 console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`"); 1790 } 1791 } 1792 const reducers = (typeof options.reducers === "function" ? options.reducers(buildReducerCreators()) : options.reducers) || {}; 1793 const reducerNames = Object.keys(reducers); 1794 const context = { 1795 sliceCaseReducersByName: {}, 1796 sliceCaseReducersByType: {}, 1797 actionCreators: {}, 1798 sliceMatchers: [] 1799 }; 1800 const contextMethods = { 1801 addCase(typeOrActionCreator, reducer2) { 1802 const type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type; 1803 if (!type) { 1804 throw new Error( false ? 0 : "`context.addCase` cannot be called with an empty action type"); 1805 } 1806 if (type in context.sliceCaseReducersByType) { 1807 throw new Error( false ? 0 : "`context.addCase` cannot be called with two reducers for the same action type: " + type); 1808 } 1809 context.sliceCaseReducersByType[type] = reducer2; 1810 return contextMethods; 1811 }, 1812 addMatcher(matcher, reducer2) { 1813 context.sliceMatchers.push({ 1814 matcher, 1815 reducer: reducer2 1816 }); 1817 return contextMethods; 1818 }, 1819 exposeAction(name2, actionCreator) { 1820 context.actionCreators[name2] = actionCreator; 1821 return contextMethods; 1822 }, 1823 exposeCaseReducer(name2, reducer2) { 1824 context.sliceCaseReducersByName[name2] = reducer2; 1825 return contextMethods; 1826 } 1827 }; 1828 reducerNames.forEach((reducerName) => { 1829 const reducerDefinition = reducers[reducerName]; 1830 const reducerDetails = { 1831 reducerName, 1832 type: getType(name, reducerName), 1833 createNotation: typeof options.reducers === "function" 1834 }; 1835 if (isAsyncThunkSliceReducerDefinition(reducerDefinition)) { 1836 handleThunkCaseReducerDefinition(reducerDetails, reducerDefinition, contextMethods, cAT); 1837 } else { 1838 handleNormalReducerDefinition(reducerDetails, reducerDefinition, contextMethods); 1839 } 1840 }); 1841 function buildReducer() { 1842 if (true) { 1843 if (typeof options.extraReducers === "object") { 1844 throw new Error( false ? 0 : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice"); 1845 } 1846 } 1847 const [extraReducers = {}, actionMatchers = [], defaultCaseReducer = void 0] = typeof options.extraReducers === "function" ? executeReducerBuilderCallback(options.extraReducers) : [options.extraReducers]; 1848 const finalCaseReducers = { 1849 ...extraReducers, 1850 ...context.sliceCaseReducersByType 1851 }; 1852 return createReducer(options.initialState, (builder) => { 1853 for (let key in finalCaseReducers) { 1854 builder.addCase(key, finalCaseReducers[key]); 1855 } 1856 for (let sM of context.sliceMatchers) { 1857 builder.addMatcher(sM.matcher, sM.reducer); 1858 } 1859 for (let m of actionMatchers) { 1860 builder.addMatcher(m.matcher, m.reducer); 1861 } 1862 if (defaultCaseReducer) { 1863 builder.addDefaultCase(defaultCaseReducer); 1864 } 1865 }); 1866 } 1867 const selectSelf = (state) => state; 1868 const injectedSelectorCache = /* @__PURE__ */ new Map(); 1869 let _reducer; 1870 function reducer(state, action) { 1871 if (!_reducer) _reducer = buildReducer(); 1872 return _reducer(state, action); 1873 } 1874 function getInitialState() { 1875 if (!_reducer) _reducer = buildReducer(); 1876 return _reducer.getInitialState(); 1877 } 1878 function makeSelectorProps(reducerPath2, injected = false) { 1879 function selectSlice(state) { 1880 let sliceState = state[reducerPath2]; 1881 if (typeof sliceState === "undefined") { 1882 if (injected) { 1883 sliceState = getInitialState(); 1884 } else if (true) { 1885 throw new Error( false ? 0 : "selectSlice returned undefined for an uninjected slice reducer"); 1886 } 1887 } 1888 return sliceState; 1889 } 1890 function getSelectors(selectState = selectSelf) { 1891 const selectorCache = emplace(injectedSelectorCache, injected, { 1892 insert: () => /* @__PURE__ */ new WeakMap() 1893 }); 1894 return emplace(selectorCache, selectState, { 1895 insert: () => { 1896 const map = {}; 1897 for (const [name2, selector] of Object.entries(options.selectors ?? {})) { 1898 map[name2] = wrapSelector(selector, selectState, getInitialState, injected); 1899 } 1900 return map; 1901 } 1902 }); 1903 } 1904 return { 1905 reducerPath: reducerPath2, 1906 getSelectors, 1907 get selectors() { 1908 return getSelectors(selectSlice); 1909 }, 1910 selectSlice 1911 }; 1912 } 1913 const slice = { 1914 name, 1915 reducer, 1916 actions: context.actionCreators, 1917 caseReducers: context.sliceCaseReducersByName, 1918 getInitialState, 1919 ...makeSelectorProps(reducerPath), 1920 injectInto(injectable, { 1921 reducerPath: pathOpt, 1922 ...config 1923 } = {}) { 1924 const newReducerPath = pathOpt ?? reducerPath; 1925 injectable.inject({ 1926 reducerPath: newReducerPath, 1927 reducer 1928 }, config); 1929 return { 1930 ...slice, 1931 ...makeSelectorProps(newReducerPath, true) 1932 }; 1933 } 1934 }; 1935 return slice; 1936 }; 1937} 1938function wrapSelector(selector, selectState, getInitialState, injected) { 1939 function wrapper(rootState, ...args) { 1940 let sliceState = selectState(rootState); 1941 if (typeof sliceState === "undefined") { 1942 if (injected) { 1943 sliceState = getInitialState(); 1944 } else if (true) { 1945 throw new Error( false ? 0 : "selectState returned undefined for an uninjected slice reducer"); 1946 } 1947 } 1948 return selector(sliceState, ...args); 1949 } 1950 wrapper.unwrapped = selector; 1951 return wrapper; 1952} 1953var createSlice = /* @__PURE__ */ buildCreateSlice(); 1954function buildReducerCreators() { 1955 function asyncThunk(payloadCreator, config) { 1956 return { 1957 _reducerDefinitionType: "asyncThunk" /* asyncThunk */, 1958 payloadCreator, 1959 ...config 1960 }; 1961 } 1962 asyncThunk.withTypes = () => asyncThunk; 1963 return { 1964 reducer(caseReducer) { 1965 return Object.assign({ 1966 // hack so the wrapping function has the same name as the original 1967 // we need to create a wrapper so the `reducerDefinitionType` is not assigned to the original 1968 [caseReducer.name](...args) { 1969 return caseReducer(...args); 1970 } 1971 }[caseReducer.name], { 1972 _reducerDefinitionType: "reducer" /* reducer */ 1973 }); 1974 }, 1975 preparedReducer(prepare, reducer) { 1976 return { 1977 _reducerDefinitionType: "reducerWithPrepare" /* reducerWithPrepare */, 1978 prepare, 1979 reducer 1980 }; 1981 }, 1982 asyncThunk 1983 }; 1984} 1985function handleNormalReducerDefinition({ 1986 type, 1987 reducerName, 1988 createNotation 1989}, maybeReducerWithPrepare, context) { 1990 let caseReducer; 1991 let prepareCallback; 1992 if ("reducer" in maybeReducerWithPrepare) { 1993 if (createNotation && !isCaseReducerWithPrepareDefinition(maybeReducerWithPrepare)) { 1994 throw new Error( false ? 0 : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation."); 1995 } 1996 caseReducer = maybeReducerWithPrepare.reducer; 1997 prepareCallback = maybeReducerWithPrepare.prepare; 1998 } else { 1999 caseReducer = maybeReducerWithPrepare; 2000 } 2001 context.addCase(type, caseReducer).exposeCaseReducer(reducerName, caseReducer).exposeAction(reducerName, prepareCallback ? createAction(type, prepareCallback) : createAction(type)); 2002} 2003function isAsyncThunkSliceReducerDefinition(reducerDefinition) { 2004 return reducerDefinition._reducerDefinitionType === "asyncThunk" /* asyncThunk */; 2005} 2006function isCaseReducerWithPrepareDefinition(reducerDefinition) { 2007 return reducerDefinition._reducerDefinitionType === "reducerWithPrepare" /* reducerWithPrepare */; 2008} 2009function handleThunkCaseReducerDefinition({ 2010 type, 2011 reducerName 2012}, reducerDefinition, context, cAT) { 2013 if (!cAT) { 2014 throw new Error( false ? 0 : "Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`."); 2015 } 2016 const { 2017 payloadCreator, 2018 fulfilled, 2019 pending, 2020 rejected, 2021 settled, 2022 options 2023 } = reducerDefinition; 2024 const thunk = cAT(type, payloadCreator, options); 2025 context.exposeAction(reducerName, thunk); 2026 if (fulfilled) { 2027 context.addCase(thunk.fulfilled, fulfilled); 2028 } 2029 if (pending) { 2030 context.addCase(thunk.pending, pending); 2031 } 2032 if (rejected) { 2033 context.addCase(thunk.rejected, rejected); 2034 } 2035 if (settled) { 2036 context.addMatcher(thunk.settled, settled); 2037 } 2038 context.exposeCaseReducer(reducerName, { 2039 fulfilled: fulfilled || noop, 2040 pending: pending || noop, 2041 rejected: rejected || noop, 2042 settled: settled || noop 2043 }); 2044} 2045function noop() { 2046} 2047 2048// src/entities/entity_state.ts 2049function getInitialEntityState() { 2050 return { 2051 ids: [], 2052 entities: {} 2053 }; 2054} 2055function createInitialStateFactory(stateAdapter) { 2056 function getInitialState(additionalState = {}, entities) { 2057 const state = Object.assign(getInitialEntityState(), additionalState); 2058 return entities ? stateAdapter.setAll(state, entities) : state; 2059 } 2060 return { 2061 getInitialState 2062 }; 2063} 2064 2065// src/entities/state_selectors.ts 2066function createSelectorsFactory() { 2067 function getSelectors(selectState, options = {}) { 2068 const { 2069 createSelector: createSelector2 = createDraftSafeSelector 2070 } = options; 2071 const selectIds = (state) => state.ids; 2072 const selectEntities = (state) => state.entities; 2073 const selectAll = createSelector2(selectIds, selectEntities, (ids, entities) => ids.map((id) => entities[id])); 2074 const selectId = (_, id) => id; 2075 const selectById = (entities, id) => entities[id]; 2076 const selectTotal = createSelector2(selectIds, (ids) => ids.length); 2077 if (!selectState) { 2078 return { 2079 selectIds, 2080 selectEntities, 2081 selectAll, 2082 selectTotal, 2083 selectById: createSelector2(selectEntities, selectId, selectById) 2084 }; 2085 } 2086 const selectGlobalizedEntities = createSelector2(selectState, selectEntities); 2087 return { 2088 selectIds: createSelector2(selectState, selectIds), 2089 selectEntities: selectGlobalizedEntities, 2090 selectAll: createSelector2(selectState, selectAll), 2091 selectTotal: createSelector2(selectState, selectTotal), 2092 selectById: createSelector2(selectGlobalizedEntities, selectId, selectById) 2093 }; 2094 } 2095 return { 2096 getSelectors 2097 }; 2098} 2099 2100// src/entities/state_adapter.ts 2101 2102var isDraftTyped = immer__WEBPACK_IMPORTED_MODULE_2__.isDraft; 2103function createSingleArgumentStateOperator(mutator) { 2104 const operator = createStateOperator((_, state) => mutator(state)); 2105 return function operation(state) { 2106 return operator(state, void 0); 2107 }; 2108} 2109function createStateOperator(mutator) { 2110 return function operation(state, arg) { 2111 function isPayloadActionArgument(arg2) { 2112 return isFSA(arg2); 2113 } 2114 const runMutator = (draft) => { 2115 if (isPayloadActionArgument(arg)) { 2116 mutator(arg.payload, draft); 2117 } else { 2118 mutator(arg, draft); 2119 } 2120 }; 2121 if (isDraftTyped(state)) { 2122 runMutator(state); 2123 return state; 2124 } 2125 return (0,immer__WEBPACK_IMPORTED_MODULE_2__.produce)(state, runMutator); 2126 }; 2127} 2128 2129// src/entities/utils.ts 2130 2131function selectIdValue(entity, selectId) { 2132 const key = selectId(entity); 2133 if ( true && key === void 0) { 2134 console.warn("The entity passed to the `selectId` implementation returned undefined.", "You should probably provide your own `selectId` implementation.", "The entity that was passed:", entity, "The `selectId` implementation:", selectId.toString()); 2135 } 2136 return key; 2137} 2138function ensureEntitiesArray(entities) { 2139 if (!Array.isArray(entities)) { 2140 entities = Object.values(entities); 2141 } 2142 return entities; 2143} 2144function getCurrent(value) { 2145 return (0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(value) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.current)(value) : value; 2146} 2147function splitAddedUpdatedEntities(newEntities, selectId, state) { 2148 newEntities = ensureEntitiesArray(newEntities); 2149 const existingIdsArray = getCurrent(state.ids); 2150 const existingIds = new Set(existingIdsArray); 2151 const added = []; 2152 const updated = []; 2153 for (const entity of newEntities) { 2154 const id = selectIdValue(entity, selectId); 2155 if (existingIds.has(id)) { 2156 updated.push({ 2157 id, 2158 changes: entity 2159 }); 2160 } else { 2161 added.push(entity); 2162 } 2163 } 2164 return [added, updated, existingIdsArray]; 2165} 2166 2167// src/entities/unsorted_state_adapter.ts 2168function createUnsortedStateAdapter(selectId) { 2169 function addOneMutably(entity, state) { 2170 const key = selectIdValue(entity, selectId); 2171 if (key in state.entities) { 2172 return; 2173 } 2174 state.ids.push(key); 2175 state.entities[key] = entity; 2176 } 2177 function addManyMutably(newEntities, state) { 2178 newEntities = ensureEntitiesArray(newEntities); 2179 for (const entity of newEntities) { 2180 addOneMutably(entity, state); 2181 } 2182 } 2183 function setOneMutably(entity, state) { 2184 const key = selectIdValue(entity, selectId); 2185 if (!(key in state.entities)) { 2186 state.ids.push(key); 2187 } 2188 ; 2189 state.entities[key] = entity; 2190 } 2191 function setManyMutably(newEntities, state) { 2192 newEntities = ensureEntitiesArray(newEntities); 2193 for (const entity of newEntities) { 2194 setOneMutably(entity, state); 2195 } 2196 } 2197 function setAllMutably(newEntities, state) { 2198 newEntities = ensureEntitiesArray(newEntities); 2199 state.ids = []; 2200 state.entities = {}; 2201 addManyMutably(newEntities, state); 2202 } 2203 function removeOneMutably(key, state) { 2204 return removeManyMutably([key], state); 2205 } 2206 function removeManyMutably(keys, state) { 2207 let didMutate = false; 2208 keys.forEach((key) => { 2209 if (key in state.entities) { 2210 delete state.entities[key]; 2211 didMutate = true; 2212 } 2213 }); 2214 if (didMutate) { 2215 state.ids = state.ids.filter((id) => id in state.entities); 2216 } 2217 } 2218 function removeAllMutably(state) { 2219 Object.assign(state, { 2220 ids: [], 2221 entities: {} 2222 }); 2223 } 2224 function takeNewKey(keys, update, state) { 2225 const original3 = state.entities[update.id]; 2226 if (original3 === void 0) { 2227 return false; 2228 } 2229 const updated = Object.assign({}, original3, update.changes); 2230 const newKey = selectIdValue(updated, selectId); 2231 const hasNewKey = newKey !== update.id; 2232 if (hasNewKey) { 2233 keys[update.id] = newKey; 2234 delete state.entities[update.id]; 2235 } 2236 ; 2237 state.entities[newKey] = updated; 2238 return hasNewKey; 2239 } 2240 function updateOneMutably(update, state) { 2241 return updateManyMutably([update], state); 2242 } 2243 function updateManyMutably(updates, state) { 2244 const newKeys = {}; 2245 const updatesPerEntity = {}; 2246 updates.forEach((update) => { 2247 if (update.id in state.entities) { 2248 updatesPerEntity[update.id] = { 2249 id: update.id, 2250 // Spreads ignore falsy values, so this works even if there isn't 2251 // an existing update already at this key 2252 changes: { 2253 ...updatesPerEntity[update.id]?.changes, 2254 ...update.changes 2255 } 2256 }; 2257 } 2258 }); 2259 updates = Object.values(updatesPerEntity); 2260 const didMutateEntities = updates.length > 0; 2261 if (didMutateEntities) { 2262 const didMutateIds = updates.filter((update) => takeNewKey(newKeys, update, state)).length > 0; 2263 if (didMutateIds) { 2264 state.ids = Object.values(state.entities).map((e) => selectIdValue(e, selectId)); 2265 } 2266 } 2267 } 2268 function upsertOneMutably(entity, state) { 2269 return upsertManyMutably([entity], state); 2270 } 2271 function upsertManyMutably(newEntities, state) { 2272 const [added, updated] = splitAddedUpdatedEntities(newEntities, selectId, state); 2273 updateManyMutably(updated, state); 2274 addManyMutably(added, state); 2275 } 2276 return { 2277 removeAll: createSingleArgumentStateOperator(removeAllMutably), 2278 addOne: createStateOperator(addOneMutably), 2279 addMany: createStateOperator(addManyMutably), 2280 setOne: createStateOperator(setOneMutably), 2281 setMany: createStateOperator(setManyMutably), 2282 setAll: createStateOperator(setAllMutably), 2283 updateOne: createStateOperator(updateOneMutably), 2284 updateMany: createStateOperator(updateManyMutably), 2285 upsertOne: createStateOperator(upsertOneMutably), 2286 upsertMany: createStateOperator(upsertManyMutably), 2287 removeOne: createStateOperator(removeOneMutably), 2288 removeMany: createStateOperator(removeManyMutably) 2289 }; 2290} 2291 2292// src/entities/sorted_state_adapter.ts 2293function findInsertIndex(sortedItems, item, comparisonFunction) { 2294 let lowIndex = 0; 2295 let highIndex = sortedItems.length; 2296 while (lowIndex < highIndex) { 2297 let middleIndex = lowIndex + highIndex >>> 1; 2298 const currentItem = sortedItems[middleIndex]; 2299 const res = comparisonFunction(item, currentItem); 2300 if (res >= 0) { 2301 lowIndex = middleIndex + 1; 2302 } else { 2303 highIndex = middleIndex; 2304 } 2305 } 2306 return lowIndex; 2307} 2308function insert(sortedItems, item, comparisonFunction) { 2309 const insertAtIndex = findInsertIndex(sortedItems, item, comparisonFunction); 2310 sortedItems.splice(insertAtIndex, 0, item); 2311 return sortedItems; 2312} 2313function createSortedStateAdapter(selectId, comparer) { 2314 const { 2315 removeOne, 2316 removeMany, 2317 removeAll 2318 } = createUnsortedStateAdapter(selectId); 2319 function addOneMutably(entity, state) { 2320 return addManyMutably([entity], state); 2321 } 2322 function addManyMutably(newEntities, state, existingIds) { 2323 newEntities = ensureEntitiesArray(newEntities); 2324 const existingKeys = new Set(existingIds ?? getCurrent(state.ids)); 2325 const models = newEntities.filter((model) => !existingKeys.has(selectIdValue(model, selectId))); 2326 if (models.length !== 0) { 2327 mergeFunction(state, models); 2328 } 2329 } 2330 function setOneMutably(entity, state) { 2331 return setManyMutably([entity], state); 2332 } 2333 function setManyMutably(newEntities, state) { 2334 newEntities = ensureEntitiesArray(newEntities); 2335 if (newEntities.length !== 0) { 2336 for (const item of newEntities) { 2337 delete state.entities[selectId(item)]; 2338 } 2339 mergeFunction(state, newEntities); 2340 } 2341 } 2342 function setAllMutably(newEntities, state) { 2343 newEntities = ensureEntitiesArray(newEntities); 2344 state.entities = {}; 2345 state.ids = []; 2346 addManyMutably(newEntities, state, []); 2347 } 2348 function updateOneMutably(update, state) { 2349 return updateManyMutably([update], state); 2350 } 2351 function updateManyMutably(updates, state) { 2352 let appliedUpdates = false; 2353 let replacedIds = false; 2354 for (let update of updates) { 2355 const entity = state.entities[update.id]; 2356 if (!entity) { 2357 continue; 2358 } 2359 appliedUpdates = true; 2360 Object.assign(entity, update.changes); 2361 const newId = selectId(entity); 2362 if (update.id !== newId) { 2363 replacedIds = true; 2364 delete state.entities[update.id]; 2365 const oldIndex = state.ids.indexOf(update.id); 2366 state.ids[oldIndex] = newId; 2367 state.entities[newId] = entity; 2368 } 2369 } 2370 if (appliedUpdates) { 2371 mergeFunction(state, [], appliedUpdates, replacedIds); 2372 } 2373 } 2374 function upsertOneMutably(entity, state) { 2375 return upsertManyMutably([entity], state); 2376 } 2377 function upsertManyMutably(newEntities, state) { 2378 const [added, updated, existingIdsArray] = splitAddedUpdatedEntities(newEntities, selectId, state); 2379 if (updated.length) { 2380 updateManyMutably(updated, state); 2381 } 2382 if (added.length) { 2383 addManyMutably(added, state, existingIdsArray); 2384 } 2385 } 2386 function areArraysEqual(a, b) { 2387 if (a.length !== b.length) { 2388 return false; 2389 } 2390 for (let i = 0; i < a.length; i++) { 2391 if (a[i] === b[i]) { 2392 continue; 2393 } 2394 return false; 2395 } 2396 return true; 2397 } 2398 const mergeFunction = (state, addedItems, appliedUpdates, replacedIds) => { 2399 const currentEntities = getCurrent(state.entities); 2400 const currentIds = getCurrent(state.ids); 2401 const stateEntities = state.entities; 2402 let ids = currentIds; 2403 if (replacedIds) { 2404 ids = new Set(currentIds); 2405 } 2406 let sortedEntities = []; 2407 for (const id of ids) { 2408 const entity = currentEntities[id]; 2409 if (entity) { 2410 sortedEntities.push(entity); 2411 } 2412 } 2413 const wasPreviouslyEmpty = sortedEntities.length === 0; 2414 for (const item of addedItems) { 2415 stateEntities[selectId(item)] = item; 2416 if (!wasPreviouslyEmpty) { 2417 insert(sortedEntities, item, comparer); 2418 } 2419 } 2420 if (wasPreviouslyEmpty) { 2421 sortedEntities = addedItems.slice().sort(comparer); 2422 } else if (appliedUpdates) { 2423 sortedEntities.sort(comparer); 2424 } 2425 const newSortedIds = sortedEntities.map(selectId); 2426 if (!areArraysEqual(currentIds, newSortedIds)) { 2427 state.ids = newSortedIds; 2428 } 2429 }; 2430 return { 2431 removeOne, 2432 removeMany, 2433 removeAll, 2434 addOne: createStateOperator(addOneMutably), 2435 updateOne: createStateOperator(updateOneMutably), 2436 upsertOne: createStateOperator(upsertOneMutably), 2437 setOne: createStateOperator(setOneMutably), 2438 setMany: createStateOperator(setManyMutably), 2439 setAll: createStateOperator(setAllMutably), 2440 addMany: createStateOperator(addManyMutably), 2441 updateMany: createStateOperator(updateManyMutably), 2442 upsertMany: createStateOperator(upsertManyMutably) 2443 }; 2444} 2445 2446// src/entities/create_adapter.ts 2447function createEntityAdapter(options = {}) { 2448 const { 2449 selectId, 2450 sortComparer 2451 } = { 2452 sortComparer: false, 2453 selectId: (instance) => instance.id, 2454 ...options 2455 }; 2456 const stateAdapter = sortComparer ? createSortedStateAdapter(selectId, sortComparer) : createUnsortedStateAdapter(selectId); 2457 const stateFactory = createInitialStateFactory(stateAdapter); 2458 const selectorsFactory = createSelectorsFactory(); 2459 return { 2460 selectId, 2461 sortComparer, 2462 ...stateFactory, 2463 ...selectorsFactory, 2464 ...stateAdapter 2465 }; 2466} 2467 2468// src/listenerMiddleware/index.ts 2469 2470 2471// src/listenerMiddleware/exceptions.ts 2472var task = "task"; 2473var listener = "listener"; 2474var completed = "completed"; 2475var cancelled = "cancelled"; 2476var taskCancelled = `task-${cancelled}`; 2477var taskCompleted = `task-${completed}`; 2478var listenerCancelled = `${listener}-${cancelled}`; 2479var listenerCompleted = `${listener}-${completed}`; 2480var TaskAbortError = class { 2481 constructor(code) { 2482 this.code = code; 2483 this.message = `${task} ${cancelled} (reason: ${code})`; 2484 } 2485 name = "TaskAbortError"; 2486 message; 2487}; 2488 2489// src/listenerMiddleware/utils.ts 2490var assertFunction = (func, expected) => { 2491 if (typeof func !== "function") { 2492 throw new Error( false ? 0 : `${expected} is not a function`); 2493 } 2494}; 2495var noop2 = () => { 2496}; 2497var catchRejection = (promise, onError = noop2) => { 2498 promise.catch(onError); 2499 return promise; 2500}; 2501var addAbortSignalListener = (abortSignal, callback) => { 2502 abortSignal.addEventListener("abort", callback, { 2503 once: true 2504 }); 2505 return () => abortSignal.removeEventListener("abort", callback); 2506}; 2507var abortControllerWithReason = (abortController, reason) => { 2508 const signal = abortController.signal; 2509 if (signal.aborted) { 2510 return; 2511 } 2512 if (!("reason" in signal)) { 2513 Object.defineProperty(signal, "reason", { 2514 enumerable: true, 2515 value: reason, 2516 configurable: true, 2517 writable: true 2518 }); 2519 } 2520 ; 2521 abortController.abort(reason); 2522}; 2523 2524// src/listenerMiddleware/task.ts 2525var validateActive = (signal) => { 2526 if (signal.aborted) { 2527 const { 2528 reason 2529 } = signal; 2530 throw new TaskAbortError(reason); 2531 } 2532}; 2533function raceWithSignal(signal, promise) { 2534 let cleanup = noop2; 2535 return new Promise((resolve, reject) => { 2536 const notifyRejection = () => reject(new TaskAbortError(signal.reason)); 2537 if (signal.aborted) { 2538 notifyRejection(); 2539 return; 2540 } 2541 cleanup = addAbortSignalListener(signal, notifyRejection); 2542 promise.finally(() => cleanup()).then(resolve, reject); 2543 }).finally(() => { 2544 cleanup = noop2; 2545 }); 2546} 2547var runTask = async (task2, cleanUp) => { 2548 try { 2549 await Promise.resolve(); 2550 const value = await task2(); 2551 return { 2552 status: "ok", 2553 value 2554 }; 2555 } catch (error) { 2556 return { 2557 status: error instanceof TaskAbortError ? "cancelled" : "rejected", 2558 error 2559 }; 2560 } finally { 2561 cleanUp?.(); 2562 } 2563}; 2564var createPause = (signal) => { 2565 return (promise) => { 2566 return catchRejection(raceWithSignal(signal, promise).then((output) => { 2567 validateActive(signal); 2568 return output; 2569 })); 2570 }; 2571}; 2572var createDelay = (signal) => { 2573 const pause = createPause(signal); 2574 return (timeoutMs) => { 2575 return pause(new Promise((resolve) => setTimeout(resolve, timeoutMs))); 2576 }; 2577}; 2578 2579// src/listenerMiddleware/index.ts 2580var { 2581 assign 2582} = Object; 2583var INTERNAL_NIL_TOKEN = {}; 2584var alm = "listenerMiddleware"; 2585var createFork = (parentAbortSignal, parentBlockingPromises) => { 2586 const linkControllers = (controller) => addAbortSignalListener(parentAbortSignal, () => abortControllerWithReason(controller, parentAbortSignal.reason)); 2587 return (taskExecutor, opts) => { 2588 assertFunction(taskExecutor, "taskExecutor"); 2589 const childAbortController = new AbortController(); 2590 linkControllers(childAbortController); 2591 const result = runTask(async () => { 2592 validateActive(parentAbortSignal); 2593 validateActive(childAbortController.signal); 2594 const result2 = await taskExecutor({ 2595 pause: createPause(childAbortController.signal), 2596 delay: createDelay(childAbortController.signal), 2597 signal: childAbortController.signal 2598 }); 2599 validateActive(childAbortController.signal); 2600 return result2; 2601 }, () => abortControllerWithReason(childAbortController, taskCompleted)); 2602 if (opts?.autoJoin) { 2603 parentBlockingPromises.push(result.catch(noop2)); 2604 } 2605 return { 2606 result: createPause(parentAbortSignal)(result), 2607 cancel() { 2608 abortControllerWithReason(childAbortController, taskCancelled); 2609 } 2610 }; 2611 }; 2612}; 2613var createTakePattern = (startListening, signal) => { 2614 const take = async (predicate, timeout) => { 2615 validateActive(signal); 2616 let unsubscribe = () => { 2617 }; 2618 const tuplePromise = new Promise((resolve, reject) => { 2619 let stopListening = startListening({ 2620 predicate, 2621 effect: (action, listenerApi) => { 2622 listenerApi.unsubscribe(); 2623 resolve([action, listenerApi.getState(), listenerApi.getOriginalState()]); 2624 } 2625 }); 2626 unsubscribe = () => { 2627 stopListening(); 2628 reject(); 2629 }; 2630 }); 2631 const promises = [tuplePromise]; 2632 if (timeout != null) { 2633 promises.push(new Promise((resolve) => setTimeout(resolve, timeout, null))); 2634 } 2635 try { 2636 const output = await raceWithSignal(signal, Promise.race(promises)); 2637 validateActive(signal); 2638 return output; 2639 } finally { 2640 unsubscribe(); 2641 } 2642 }; 2643 return (predicate, timeout) => catchRejection(take(predicate, timeout)); 2644}; 2645var getListenerEntryPropsFrom = (options) => { 2646 let { 2647 type, 2648 actionCreator, 2649 matcher, 2650 predicate, 2651 effect 2652 } = options; 2653 if (type) { 2654 predicate = createAction(type).match; 2655 } else if (actionCreator) { 2656 type = actionCreator.type; 2657 predicate = actionCreator.match; 2658 } else if (matcher) { 2659 predicate = matcher; 2660 } else if (predicate) { 2661 } else { 2662 throw new Error( false ? 0 : "Creating or removing a listener requires one of the known fields for matching an action"); 2663 } 2664 assertFunction(effect, "options.listener"); 2665 return { 2666 predicate, 2667 type, 2668 effect 2669 }; 2670}; 2671var createListenerEntry = /* @__PURE__ */ assign((options) => { 2672 const { 2673 type, 2674 predicate, 2675 effect 2676 } = getListenerEntryPropsFrom(options); 2677 const id = nanoid(); 2678 const entry = { 2679 id, 2680 effect, 2681 type, 2682 predicate, 2683 pending: /* @__PURE__ */ new Set(), 2684 unsubscribe: () => { 2685 throw new Error( false ? 0 : "Unsubscribe not initialized"); 2686 } 2687 }; 2688 return entry; 2689}, { 2690 withTypes: () => createListenerEntry 2691}); 2692var cancelActiveListeners = (entry) => { 2693 entry.pending.forEach((controller) => { 2694 abortControllerWithReason(controller, listenerCancelled); 2695 }); 2696}; 2697var createClearListenerMiddleware = (listenerMap) => { 2698 return () => { 2699 listenerMap.forEach(cancelActiveListeners); 2700 listenerMap.clear(); 2701 }; 2702}; 2703var safelyNotifyError = (errorHandler, errorToNotify, errorInfo) => { 2704 try { 2705 errorHandler(errorToNotify, errorInfo); 2706 } catch (errorHandlerError) { 2707 setTimeout(() => { 2708 throw errorHandlerError; 2709 }, 0); 2710 } 2711}; 2712var addListener = /* @__PURE__ */ assign(/* @__PURE__ */ createAction(`${alm}/add`), { 2713 withTypes: () => addListener 2714}); 2715var clearAllListeners = /* @__PURE__ */ createAction(`${alm}/removeAll`); 2716var removeListener = /* @__PURE__ */ assign(/* @__PURE__ */ createAction(`${alm}/remove`), { 2717 withTypes: () => removeListener 2718}); 2719var defaultErrorHandler = (...args) => { 2720 console.error(`${alm}/error`, ...args); 2721}; 2722var createListenerMiddleware = (middlewareOptions = {}) => { 2723 const listenerMap = /* @__PURE__ */ new Map(); 2724 const { 2725 extra, 2726 onError = defaultErrorHandler 2727 } = middlewareOptions; 2728 assertFunction(onError, "onError"); 2729 const insertEntry = (entry) => { 2730 entry.unsubscribe = () => listenerMap.delete(entry.id); 2731 listenerMap.set(entry.id, entry); 2732 return (cancelOptions) => { 2733 entry.unsubscribe(); 2734 if (cancelOptions?.cancelActive) { 2735 cancelActiveListeners(entry); 2736 } 2737 }; 2738 }; 2739 const startListening = (options) => { 2740 let entry = find(Array.from(listenerMap.values()), (existingEntry) => existingEntry.effect === options.effect); 2741 if (!entry) { 2742 entry = createListenerEntry(options); 2743 } 2744 return insertEntry(entry); 2745 }; 2746 assign(startListening, { 2747 withTypes: () => startListening 2748 }); 2749 const stopListening = (options) => { 2750 const { 2751 type, 2752 effect, 2753 predicate 2754 } = getListenerEntryPropsFrom(options); 2755 const entry = find(Array.from(listenerMap.values()), (entry2) => { 2756 const matchPredicateOrType = typeof type === "string" ? entry2.type === type : entry2.predicate === predicate; 2757 return matchPredicateOrType && entry2.effect === effect; 2758 }); 2759 if (entry) { 2760 entry.unsubscribe(); 2761 if (options.cancelActive) { 2762 cancelActiveListeners(entry); 2763 } 2764 } 2765 return !!entry; 2766 }; 2767 assign(stopListening, { 2768 withTypes: () => stopListening 2769 }); 2770 const notifyListener = async (entry, action, api, getOriginalState) => { 2771 const internalTaskController = new AbortController(); 2772 const take = createTakePattern(startListening, internalTaskController.signal); 2773 const autoJoinPromises = []; 2774 try { 2775 entry.pending.add(internalTaskController); 2776 await Promise.resolve(entry.effect( 2777 action, 2778 // Use assign() rather than ... to avoid extra helper functions added to bundle 2779 assign({}, api, { 2780 getOriginalState, 2781 condition: (predicate, timeout) => take(predicate, timeout).then(Boolean), 2782 take, 2783 delay: createDelay(internalTaskController.signal), 2784 pause: createPause(internalTaskController.signal), 2785 extra, 2786 signal: internalTaskController.signal, 2787 fork: createFork(internalTaskController.signal, autoJoinPromises), 2788 unsubscribe: entry.unsubscribe, 2789 subscribe: () => { 2790 listenerMap.set(entry.id, entry); 2791 }, 2792 cancelActiveListeners: () => { 2793 entry.pending.forEach((controller, _, set) => { 2794 if (controller !== internalTaskController) { 2795 abortControllerWithReason(controller, listenerCancelled); 2796 set.delete(controller); 2797 } 2798 }); 2799 }, 2800 cancel: () => { 2801 abortControllerWithReason(internalTaskController, listenerCancelled); 2802 entry.pending.delete(internalTaskController); 2803 }, 2804 throwIfCancelled: () => { 2805 validateActive(internalTaskController.signal); 2806 } 2807 }) 2808 )); 2809 } catch (listenerError) { 2810 if (!(listenerError instanceof TaskAbortError)) { 2811 safelyNotifyError(onError, listenerError, { 2812 raisedBy: "effect" 2813 }); 2814 } 2815 } finally { 2816 await Promise.all(autoJoinPromises); 2817 abortControllerWithReason(internalTaskController, listenerCompleted); 2818 entry.pending.delete(internalTaskController); 2819 } 2820 }; 2821 const clearListenerMiddleware = createClearListenerMiddleware(listenerMap); 2822 const middleware = (api) => (next) => (action) => { 2823 if (!(0,redux__WEBPACK_IMPORTED_MODULE_0__.isAction)(action)) { 2824 return next(action); 2825 } 2826 if (addListener.match(action)) { 2827 return startListening(action.payload); 2828 } 2829 if (clearAllListeners.match(action)) { 2830 clearListenerMiddleware(); 2831 return; 2832 } 2833 if (removeListener.match(action)) { 2834 return stopListening(action.payload); 2835 } 2836 let originalState = api.getState(); 2837 const getOriginalState = () => { 2838 if (originalState === INTERNAL_NIL_TOKEN) { 2839 throw new Error( false ? 0 : `${alm}: getOriginalState can only be called synchronously`); 2840 } 2841 return originalState; 2842 }; 2843 let result; 2844 try { 2845 result = next(action); 2846 if (listenerMap.size > 0) { 2847 const currentState = api.getState(); 2848 const listenerEntries = Array.from(listenerMap.values()); 2849 for (const entry of listenerEntries) { 2850 let runListener = false; 2851 try { 2852 runListener = entry.predicate(action, currentState, originalState); 2853 } catch (predicateError) { 2854 runListener = false; 2855 safelyNotifyError(onError, predicateError, { 2856 raisedBy: "predicate" 2857 }); 2858 } 2859 if (!runListener) { 2860 continue; 2861 } 2862 notifyListener(entry, action, api, getOriginalState); 2863 } 2864 } 2865 } finally { 2866 originalState = INTERNAL_NIL_TOKEN; 2867 } 2868 return result; 2869 }; 2870 return { 2871 middleware, 2872 startListening, 2873 stopListening, 2874 clearListeners: clearListenerMiddleware 2875 }; 2876}; 2877 2878// src/dynamicMiddleware/index.ts 2879 2880var createMiddlewareEntry = (middleware) => ({ 2881 id: nanoid(), 2882 middleware, 2883 applied: /* @__PURE__ */ new Map() 2884}); 2885var matchInstance = (instanceId) => (action) => action?.meta?.instanceId === instanceId; 2886var createDynamicMiddleware = () => { 2887 const instanceId = nanoid(); 2888 const middlewareMap = /* @__PURE__ */ new Map(); 2889 const withMiddleware = Object.assign(createAction("dynamicMiddleware/add", (...middlewares) => ({ 2890 payload: middlewares, 2891 meta: { 2892 instanceId 2893 } 2894 })), { 2895 withTypes: () => withMiddleware 2896 }); 2897 const addMiddleware = Object.assign(function addMiddleware2(...middlewares) { 2898 middlewares.forEach((middleware2) => { 2899 let entry = find(Array.from(middlewareMap.values()), (entry2) => entry2.middleware === middleware2); 2900 if (!entry) { 2901 entry = createMiddlewareEntry(middleware2); 2902 } 2903 middlewareMap.set(entry.id, entry); 2904 }); 2905 }, { 2906 withTypes: () => addMiddleware 2907 }); 2908 const getFinalMiddleware = (api) => { 2909 const appliedMiddleware = Array.from(middlewareMap.values()).map((entry) => emplace(entry.applied, api, { 2910 insert: () => entry.middleware(api) 2911 })); 2912 return (0,redux__WEBPACK_IMPORTED_MODULE_0__.compose)(...appliedMiddleware); 2913 }; 2914 const isWithMiddleware = isAllOf(withMiddleware, matchInstance(instanceId)); 2915 const middleware = (api) => (next) => (action) => { 2916 if (isWithMiddleware(action)) { 2917 addMiddleware(...action.payload); 2918 return api.dispatch; 2919 } 2920 return getFinalMiddleware(api)(next)(action); 2921 }; 2922 return { 2923 middleware, 2924 addMiddleware, 2925 withMiddleware, 2926 instanceId 2927 }; 2928}; 2929 2930// src/combineSlices.ts 2931 2932var isSliceLike = (maybeSliceLike) => "reducerPath" in maybeSliceLike && typeof maybeSliceLike.reducerPath === "string"; 2933var getReducers = (slices) => slices.flatMap((sliceOrMap) => isSliceLike(sliceOrMap) ? [[sliceOrMap.reducerPath, sliceOrMap.reducer]] : Object.entries(sliceOrMap)); 2934var ORIGINAL_STATE = Symbol.for("rtk-state-proxy-original"); 2935var isStateProxy = (value) => !!value && !!value[ORIGINAL_STATE]; 2936var stateProxyMap = /* @__PURE__ */ new WeakMap(); 2937var createStateProxy = (state, reducerMap) => emplace(stateProxyMap, state, { 2938 insert: () => new Proxy(state, { 2939 get: (target, prop, receiver) => { 2940 if (prop === ORIGINAL_STATE) return target; 2941 const result = Reflect.get(target, prop, receiver); 2942 if (typeof result === "undefined") { 2943 const reducer = reducerMap[prop.toString()]; 2944 if (reducer) { 2945 const reducerResult = reducer(void 0, { 2946 type: nanoid() 2947 }); 2948 if (typeof reducerResult === "undefined") { 2949 throw new Error( false ? 0 : `The slice reducer for key "${prop.toString()}" returned undefined when called for selector(). If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`); 2950 } 2951 return reducerResult; 2952 } 2953 } 2954 return result; 2955 } 2956 }) 2957}); 2958var original = (state) => { 2959 if (!isStateProxy(state)) { 2960 throw new Error( false ? 0 : "original must be used on state Proxy"); 2961 } 2962 return state[ORIGINAL_STATE]; 2963}; 2964var noopReducer = (state = {}) => state; 2965function combineSlices(...slices) { 2966 const reducerMap = Object.fromEntries(getReducers(slices)); 2967 const getReducer = () => Object.keys(reducerMap).length ? (0,redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers)(reducerMap) : noopReducer; 2968 let reducer = getReducer(); 2969 function combinedReducer(state, action) { 2970 return reducer(state, action); 2971 } 2972 combinedReducer.withLazyLoadedSlices = () => combinedReducer; 2973 const inject = (slice, config = {}) => { 2974 const { 2975 reducerPath, 2976 reducer: reducerToInject 2977 } = slice; 2978 const currentReducer = reducerMap[reducerPath]; 2979 if (!config.overrideExisting && currentReducer && currentReducer !== reducerToInject) { 2980 if (typeof process !== "undefined" && "development" === "development") { 2981 console.error(`called \`inject\` to override already-existing reducer ${reducerPath} without specifying \`overrideExisting: true\``); 2982 } 2983 return combinedReducer; 2984 } 2985 reducerMap[reducerPath] = reducerToInject; 2986 reducer = getReducer(); 2987 return combinedReducer; 2988 }; 2989 const selector = Object.assign(function makeSelector(selectorFn, selectState) { 2990 return function selector2(state, ...args) { 2991 return selectorFn(createStateProxy(selectState ? selectState(state, ...args) : state, reducerMap), ...args); 2992 }; 2993 }, { 2994 original 2995 }); 2996 return Object.assign(combinedReducer, { 2997 inject, 2998 selector 2999 }); 3000} 3001 3002// src/formatProdErrorMessage.ts 3003function formatProdErrorMessage(code) { 3004 return `Minified Redux Toolkit error #${code}; visit https://redux-toolkit.js.org/Errors?code=${code} for the full message or use the non-minified dev environment for full errors. `; 3005} 3006 3007//# sourceMappingURL=redux-toolkit.modern.mjs.map 3008 3009/***/ }), 3010
vendor: 625 bytes, lines 3011-3029
3011/***/ "./node_modules/d3-array/src/array.js": 3012/*!********************************************!*\ 3013 !*** ./node_modules/d3-array/src/array.js ***! 3014 \********************************************/ 3015/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3016 3017__webpack_require__.r(__webpack_exports__); 3018/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3019/* harmony export */ map: () => (/* binding */ map), 3020/* harmony export */ slice: () => (/* binding */ slice) 3021/* harmony export */ }); 3022var array = Array.prototype; 3023 3024var slice = array.slice; 3025var map = array.map; 3026 3027 3028/***/ }), 3029
vendor: 630 bytes, lines 3030-3046
3030/***/ "./node_modules/d3-array/src/ascending.js": 3031/*!************************************************!*\ 3032 !*** ./node_modules/d3-array/src/ascending.js ***! 3033 \************************************************/ 3034/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3035 3036__webpack_require__.r(__webpack_exports__); 3037/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3038/* harmony export */ "default": () => (/* binding */ ascending) 3039/* harmony export */ }); 3040function ascending(a, b) { 3041 return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; 3042} 3043 3044 3045/***/ }), 3046
vendor: 6,093 bytes, lines 3047-3193
3047/***/ "./node_modules/d3-array/src/bin.js": 3048/*!******************************************!*\ 3049 !*** ./node_modules/d3-array/src/bin.js ***! 3050 \******************************************/ 3051/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3052 3053__webpack_require__.r(__webpack_exports__); 3054/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3055/* harmony export */ "default": () => (/* binding */ bin) 3056/* harmony export */ }); 3057/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-array/src/array.js"); 3058/* harmony import */ var _bisect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./bisect.js */ "./node_modules/d3-array/src/bisect.js"); 3059/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-array/src/constant.js"); 3060/* harmony import */ var _extent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./extent.js */ "./node_modules/d3-array/src/extent.js"); 3061/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity.js */ "./node_modules/d3-array/src/identity.js"); 3062/* harmony import */ var _nice_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nice.js */ "./node_modules/d3-array/src/nice.js"); 3063/* harmony import */ var _ticks_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ticks.js */ "./node_modules/d3-array/src/ticks.js"); 3064/* harmony import */ var _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./threshold/sturges.js */ "./node_modules/d3-array/src/threshold/sturges.js"); 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074function bin() { 3075 var value = _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"], 3076 domain = _extent_js__WEBPACK_IMPORTED_MODULE_1__["default"], 3077 threshold = _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_2__["default"]; 3078 3079 function histogram(data) { 3080 if (!Array.isArray(data)) data = Array.from(data); 3081 3082 var i, 3083 n = data.length, 3084 x, 3085 step, 3086 values = new Array(n); 3087 3088 for (i = 0; i < n; ++i) { 3089 values[i] = value(data[i], i, data); 3090 } 3091 3092 var xz = domain(values), 3093 x0 = xz[0], 3094 x1 = xz[1], 3095 tz = threshold(values, x0, x1); 3096 3097 // Convert number of thresholds into uniform thresholds, and nice the 3098 // default domain accordingly. 3099 if (!Array.isArray(tz)) { 3100 const max = x1, tn = +tz; 3101 if (domain === _extent_js__WEBPACK_IMPORTED_MODULE_1__["default"]) [x0, x1] = (0,_nice_js__WEBPACK_IMPORTED_MODULE_3__["default"])(x0, x1, tn); 3102 tz = (0,_ticks_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x0, x1, tn); 3103 3104 // If the domain is aligned with the first tick (which it will by 3105 // default), then we can use quantization rather than bisection to bin 3106 // values, which is substantially faster. 3107 if (tz[0] <= x0) step = (0,_ticks_js__WEBPACK_IMPORTED_MODULE_4__.tickIncrement)(x0, x1, tn); 3108 3109 // If the last threshold is coincident with the domainâs upper bound, the 3110 // last bin will be zero-width. If the default domain is used, and this 3111 // last threshold is coincident with the maximum input value, we can 3112 // extend the niced upper bound by one tick to ensure uniform bin widths; 3113 // otherwise, we simply remove the last threshold. Note that we donât 3114 // coerce values or the domain to numbers, and thus must be careful to 3115 // compare order (>=) rather than strict equality (===)! 3116 if (tz[tz.length - 1] >= x1) { 3117 if (max >= x1 && domain === _extent_js__WEBPACK_IMPORTED_MODULE_1__["default"]) { 3118 const step = (0,_ticks_js__WEBPACK_IMPORTED_MODULE_4__.tickIncrement)(x0, x1, tn); 3119 if (isFinite(step)) { 3120 if (step > 0) { 3121 x1 = (Math.floor(x1 / step) + 1) * step; 3122 } else if (step < 0) { 3123 x1 = (Math.ceil(x1 * -step) + 1) / -step; 3124 } 3125 } 3126 } else { 3127 tz.pop(); 3128 } 3129 } 3130 } 3131 3132 // Remove any thresholds outside the domain. 3133 // Be careful not to mutate an array owned by the user! 3134 var m = tz.length, a = 0, b = m; 3135 while (tz[a] <= x0) ++a; 3136 while (tz[b - 1] > x1) --b; 3137 if (a || b < m) tz = tz.slice(a, b), m = b - a; 3138 3139 var bins = new Array(m + 1), 3140 bin; 3141 3142 // Initialize bins. 3143 for (i = 0; i <= m; ++i) { 3144 bin = bins[i] = []; 3145 bin.x0 = i > 0 ? tz[i - 1] : x0; 3146 bin.x1 = i < m ? tz[i] : x1; 3147 } 3148 3149 // Assign data to bins by value, ignoring any outside the domain. 3150 if (isFinite(step)) { 3151 if (step > 0) { 3152 for (i = 0; i < n; ++i) { 3153 if ((x = values[i]) != null && x0 <= x && x <= x1) { 3154 bins[Math.min(m, Math.floor((x - x0) / step))].push(data[i]); 3155 } 3156 } 3157 } else if (step < 0) { 3158 for (i = 0; i < n; ++i) { 3159 if ((x = values[i]) != null && x0 <= x && x <= x1) { 3160 const j = Math.floor((x0 - x) * step); 3161 bins[Math.min(m, j + (tz[j] <= x))].push(data[i]); // handle off-by-one due to rounding 3162 } 3163 } 3164 } 3165 } else { 3166 for (i = 0; i < n; ++i) { 3167 if ((x = values[i]) != null && x0 <= x && x <= x1) { 3168 bins[(0,_bisect_js__WEBPACK_IMPORTED_MODULE_5__["default"])(tz, x, 0, m)].push(data[i]); 3169 } 3170 } 3171 } 3172 3173 return bins; 3174 } 3175 3176 histogram.value = function(_) { 3177 return arguments.length ? (value = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_), histogram) : value; 3178 }; 3179 3180 histogram.domain = function(_) { 3181 return arguments.length ? (domain = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_6__["default"])([_[0], _[1]]), histogram) : domain; 3182 }; 3183 3184 histogram.thresholds = function(_) { 3185 return arguments.length ? (threshold = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_6__["default"])(Array.isArray(_) ? _array_js__WEBPACK_IMPORTED_MODULE_7__.slice.call(_) : _), histogram) : threshold; 3186 }; 3187 3188 return histogram; 3189} 3190 3191 3192/***/ }), 3193
vendor: 1,623 bytes, lines 3194-3222
3194/***/ "./node_modules/d3-array/src/bisect.js": 3195/*!*********************************************!*\ 3196 !*** ./node_modules/d3-array/src/bisect.js ***! 3197 \*********************************************/ 3198/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3199 3200__webpack_require__.r(__webpack_exports__); 3201/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3202/* harmony export */ bisectCenter: () => (/* binding */ bisectCenter), 3203/* harmony export */ bisectLeft: () => (/* binding */ bisectLeft), 3204/* harmony export */ bisectRight: () => (/* binding */ bisectRight), 3205/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 3206/* harmony export */ }); 3207/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 3208/* harmony import */ var _bisector_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./bisector.js */ "./node_modules/d3-array/src/bisector.js"); 3209/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./number.js */ "./node_modules/d3-array/src/number.js"); 3210 3211 3212 3213 3214const ascendingBisect = (0,_bisector_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_ascending_js__WEBPACK_IMPORTED_MODULE_1__["default"]); 3215const bisectRight = ascendingBisect.right; 3216const bisectLeft = ascendingBisect.left; 3217const bisectCenter = (0,_bisector_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_number_js__WEBPACK_IMPORTED_MODULE_2__["default"]).center; 3218/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (bisectRight); 3219 3220 3221/***/ }), 3222
vendor: 2,484 bytes, lines 3223-3294
3223/***/ "./node_modules/d3-array/src/bisector.js": 3224/*!***********************************************!*\ 3225 !*** ./node_modules/d3-array/src/bisector.js ***! 3226 \***********************************************/ 3227/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3228 3229__webpack_require__.r(__webpack_exports__); 3230/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3231/* harmony export */ "default": () => (/* binding */ bisector) 3232/* harmony export */ }); 3233/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 3234/* harmony import */ var _descending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./descending.js */ "./node_modules/d3-array/src/descending.js"); 3235 3236 3237 3238function bisector(f) { 3239 let compare1, compare2, delta; 3240 3241 // If an accessor is specified, promote it to a comparator. In this case we 3242 // can test whether the search value is (self-) comparable. We canât do this 3243 // for a comparator (except for specific, known comparators) because we canât 3244 // tell if the comparator is symmetric, and an asymmetric comparator canât be 3245 // used to test whether a single value is comparable. 3246 if (f.length !== 2) { 3247 compare1 = _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]; 3248 compare2 = (d, x) => (0,_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(f(d), x); 3249 delta = (d, x) => f(d) - x; 3250 } else { 3251 compare1 = f === _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"] || f === _descending_js__WEBPACK_IMPORTED_MODULE_1__["default"] ? f : zero; 3252 compare2 = f; 3253 delta = f; 3254 } 3255 3256 function left(a, x, lo = 0, hi = a.length) { 3257 if (lo < hi) { 3258 if (compare1(x, x) !== 0) return hi; 3259 do { 3260 const mid = (lo + hi) >>> 1; 3261 if (compare2(a[mid], x) < 0) lo = mid + 1; 3262 else hi = mid; 3263 } while (lo < hi); 3264 } 3265 return lo; 3266 } 3267 3268 function right(a, x, lo = 0, hi = a.length) { 3269 if (lo < hi) { 3270 if (compare1(x, x) !== 0) return hi; 3271 do { 3272 const mid = (lo + hi) >>> 1; 3273 if (compare2(a[mid], x) <= 0) lo = mid + 1; 3274 else hi = mid; 3275 } while (lo < hi); 3276 } 3277 return lo; 3278 } 3279 3280 function center(a, x, lo = 0, hi = a.length) { 3281 const i = left(a, x, lo, hi - 1); 3282 return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i; 3283 } 3284 3285 return {left, center, right}; 3286} 3287 3288function zero() { 3289 return 0; 3290} 3291 3292 3293/***/ }), 3294
vendor: 4,675 bytes, lines 3295-3425
3295/***/ "./node_modules/d3-array/src/blur.js": 3296/*!*******************************************!*\ 3297 !*** ./node_modules/d3-array/src/blur.js ***! 3298 \*******************************************/ 3299/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3300 3301__webpack_require__.r(__webpack_exports__); 3302/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3303/* harmony export */ blur: () => (/* binding */ blur), 3304/* harmony export */ blur2: () => (/* binding */ blur2), 3305/* harmony export */ blurImage: () => (/* binding */ blurImage) 3306/* harmony export */ }); 3307function blur(values, r) { 3308 if (!((r = +r) >= 0)) throw new RangeError("invalid r"); 3309 let length = values.length; 3310 if (!((length = Math.floor(length)) >= 0)) throw new RangeError("invalid length"); 3311 if (!length || !r) return values; 3312 const blur = blurf(r); 3313 const temp = values.slice(); 3314 blur(values, temp, 0, length, 1); 3315 blur(temp, values, 0, length, 1); 3316 blur(values, temp, 0, length, 1); 3317 return values; 3318} 3319 3320const blur2 = Blur2(blurf); 3321 3322const blurImage = Blur2(blurfImage); 3323 3324function Blur2(blur) { 3325 return function(data, rx, ry = rx) { 3326 if (!((rx = +rx) >= 0)) throw new RangeError("invalid rx"); 3327 if (!((ry = +ry) >= 0)) throw new RangeError("invalid ry"); 3328 let {data: values, width, height} = data; 3329 if (!((width = Math.floor(width)) >= 0)) throw new RangeError("invalid width"); 3330 if (!((height = Math.floor(height !== undefined ? height : values.length / width)) >= 0)) throw new RangeError("invalid height"); 3331 if (!width || !height || (!rx && !ry)) return data; 3332 const blurx = rx && blur(rx); 3333 const blury = ry && blur(ry); 3334 const temp = values.slice(); 3335 if (blurx && blury) { 3336 blurh(blurx, temp, values, width, height); 3337 blurh(blurx, values, temp, width, height); 3338 blurh(blurx, temp, values, width, height); 3339 blurv(blury, values, temp, width, height); 3340 blurv(blury, temp, values, width, height); 3341 blurv(blury, values, temp, width, height); 3342 } else if (blurx) { 3343 blurh(blurx, values, temp, width, height); 3344 blurh(blurx, temp, values, width, height); 3345 blurh(blurx, values, temp, width, height); 3346 } else if (blury) { 3347 blurv(blury, values, temp, width, height); 3348 blurv(blury, temp, values, width, height); 3349 blurv(blury, values, temp, width, height); 3350 } 3351 return data; 3352 }; 3353} 3354 3355function blurh(blur, T, S, w, h) { 3356 for (let y = 0, n = w * h; y < n;) { 3357 blur(T, S, y, y += w, 1); 3358 } 3359} 3360 3361function blurv(blur, T, S, w, h) { 3362 for (let x = 0, n = w * h; x < w; ++x) { 3363 blur(T, S, x, x + n, w); 3364 } 3365} 3366 3367function blurfImage(radius) { 3368 const blur = blurf(radius); 3369 return (T, S, start, stop, step) => { 3370 start <<= 2, stop <<= 2, step <<= 2; 3371 blur(T, S, start + 0, stop + 0, step); 3372 blur(T, S, start + 1, stop + 1, step); 3373 blur(T, S, start + 2, stop + 2, step); 3374 blur(T, S, start + 3, stop + 3, step); 3375 }; 3376} 3377 3378// Given a target array T, a source array S, sets each value T[i] to the average 3379// of {S[i - r], â¦, S[i], â¦, S[i + r]}, where r = âradiusâ, start <= i < stop, 3380// for each i, i + step, i + 2 * step, etc., and where S[j] is clamped between 3381// S[start] (inclusive) and S[stop] (exclusive). If the given radius is not an 3382// integer, S[i - r - 1] and S[i + r + 1] are added to the sum, each weighted 3383// according to r - âradiusâ. 3384function blurf(radius) { 3385 const radius0 = Math.floor(radius); 3386 if (radius0 === radius) return bluri(radius); 3387 const t = radius - radius0; 3388 const w = 2 * radius + 1; 3389 return (T, S, start, stop, step) => { // stop must be aligned! 3390 if (!((stop -= step) >= start)) return; // inclusive stop 3391 let sum = radius0 * S[start]; 3392 const s0 = step * radius0; 3393 const s1 = s0 + step; 3394 for (let i = start, j = start + s0; i < j; i += step) { 3395 sum += S[Math.min(stop, i)]; 3396 } 3397 for (let i = start, j = stop; i <= j; i += step) { 3398 sum += S[Math.min(stop, i + s0)]; 3399 T[i] = (sum + t * (S[Math.max(start, i - s1)] + S[Math.min(stop, i + s1)])) / w; 3400 sum -= S[Math.max(start, i - s0)]; 3401 } 3402 }; 3403} 3404 3405// Like blurf, but optimized for integer radius. 3406function bluri(radius) { 3407 const w = 2 * radius + 1; 3408 return (T, S, start, stop, step) => { // stop must be aligned! 3409 if (!((stop -= step) >= start)) return; // inclusive stop 3410 let sum = radius * S[start]; 3411 const s = step * radius; 3412 for (let i = start, j = start + s; i < j; i += step) { 3413 sum += S[Math.min(stop, i)]; 3414 } 3415 for (let i = start, j = stop; i <= j; i += step) { 3416 sum += S[Math.min(stop, i + s)]; 3417 T[i] = sum / w; 3418 sum -= S[Math.max(start, i - s)]; 3419 } 3420 }; 3421} 3422 3423 3424/***/ }), 3425
vendor: 556 bytes, lines 3426-3442
3426/***/ "./node_modules/d3-array/src/constant.js": 3427/*!***********************************************!*\ 3428 !*** ./node_modules/d3-array/src/constant.js ***! 3429 \***********************************************/ 3430/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3431 3432__webpack_require__.r(__webpack_exports__); 3433/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3434/* harmony export */ "default": () => (/* binding */ constant) 3435/* harmony export */ }); 3436function constant(x) { 3437 return () => x; 3438} 3439 3440 3441/***/ }), 3442
vendor: 907 bytes, lines 3443-3474
3443/***/ "./node_modules/d3-array/src/count.js": 3444/*!********************************************!*\ 3445 !*** ./node_modules/d3-array/src/count.js ***! 3446 \********************************************/ 3447/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3448 3449__webpack_require__.r(__webpack_exports__); 3450/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3451/* harmony export */ "default": () => (/* binding */ count) 3452/* harmony export */ }); 3453function count(values, valueof) { 3454 let count = 0; 3455 if (valueof === undefined) { 3456 for (let value of values) { 3457 if (value != null && (value = +value) >= value) { 3458 ++count; 3459 } 3460 } 3461 } else { 3462 let index = -1; 3463 for (let value of values) { 3464 if ((value = valueof(value, ++index, values)) != null && (value = +value) >= value) { 3465 ++count; 3466 } 3467 } 3468 } 3469 return count; 3470} 3471 3472 3473/***/ }), 3474
vendor: 1,355 bytes, lines 3475-3521
3475/***/ "./node_modules/d3-array/src/cross.js": 3476/*!********************************************!*\ 3477 !*** ./node_modules/d3-array/src/cross.js ***! 3478 \********************************************/ 3479/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3480 3481__webpack_require__.r(__webpack_exports__); 3482/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3483/* harmony export */ "default": () => (/* binding */ cross) 3484/* harmony export */ }); 3485function length(array) { 3486 return array.length | 0; 3487} 3488 3489function empty(length) { 3490 return !(length > 0); 3491} 3492 3493function arrayify(values) { 3494 return typeof values !== "object" || "length" in values ? values : Array.from(values); 3495} 3496 3497function reducer(reduce) { 3498 return values => reduce(...values); 3499} 3500 3501function cross(...values) { 3502 const reduce = typeof values[values.length - 1] === "function" && reducer(values.pop()); 3503 values = values.map(arrayify); 3504 const lengths = values.map(length); 3505 const j = values.length - 1; 3506 const index = new Array(j + 1).fill(0); 3507 const product = []; 3508 if (j < 0 || lengths.some(empty)) return product; 3509 while (true) { 3510 product.push(index.map((j, i) => values[i][j])); 3511 let i = j; 3512 while (++index[i] === lengths[i]) { 3513 if (i === 0) return reduce ? product.map(reduce) : product; 3514 index[i--] = 0; 3515 } 3516 } 3517} 3518 3519 3520/***/ }), 3521
vendor: 706 bytes, lines 3522-3540
3522/***/ "./node_modules/d3-array/src/cumsum.js": 3523/*!*********************************************!*\ 3524 !*** ./node_modules/d3-array/src/cumsum.js ***! 3525 \*********************************************/ 3526/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3527 3528__webpack_require__.r(__webpack_exports__); 3529/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3530/* harmony export */ "default": () => (/* binding */ cumsum) 3531/* harmony export */ }); 3532function cumsum(values, valueof) { 3533 var sum = 0, index = 0; 3534 return Float64Array.from(values, valueof === undefined 3535 ? v => (sum += +v || 0) 3536 : v => (sum += +valueof(v, index++, values) || 0)); 3537} 3538 3539/***/ }), 3540
vendor: 652 bytes, lines 3541-3561
3541/***/ "./node_modules/d3-array/src/descending.js": 3542/*!*************************************************!*\ 3543 !*** ./node_modules/d3-array/src/descending.js ***! 3544 \*************************************************/ 3545/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3546 3547__webpack_require__.r(__webpack_exports__); 3548/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3549/* harmony export */ "default": () => (/* binding */ descending) 3550/* harmony export */ }); 3551function descending(a, b) { 3552 return a == null || b == null ? NaN 3553 : b < a ? -1 3554 : b > a ? 1 3555 : b >= a ? 0 3556 : NaN; 3557} 3558 3559 3560/***/ }), 3561
vendor: 832 bytes, lines 3562-3582
3562/***/ "./node_modules/d3-array/src/deviation.js": 3563/*!************************************************!*\ 3564 !*** ./node_modules/d3-array/src/deviation.js ***! 3565 \************************************************/ 3566/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3567 3568__webpack_require__.r(__webpack_exports__); 3569/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3570/* harmony export */ "default": () => (/* binding */ deviation) 3571/* harmony export */ }); 3572/* harmony import */ var _variance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./variance.js */ "./node_modules/d3-array/src/variance.js"); 3573 3574 3575function deviation(values, valueof) { 3576 const v = (0,_variance_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, valueof); 3577 return v ? Math.sqrt(v) : v; 3578} 3579 3580 3581/***/ }), 3582
vendor: 906 bytes, lines 3583-3608
3583/***/ "./node_modules/d3-array/src/difference.js": 3584/*!*************************************************!*\ 3585 !*** ./node_modules/d3-array/src/difference.js ***! 3586 \*************************************************/ 3587/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3588 3589__webpack_require__.r(__webpack_exports__); 3590/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3591/* harmony export */ "default": () => (/* binding */ difference) 3592/* harmony export */ }); 3593/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! internmap */ "./node_modules/internmap/src/index.js"); 3594 3595 3596function difference(values, ...others) { 3597 values = new internmap__WEBPACK_IMPORTED_MODULE_0__.InternSet(values); 3598 for (const other of others) { 3599 for (const value of other) { 3600 values.delete(value); 3601 } 3602 } 3603 return values; 3604} 3605 3606 3607/***/ }), 3608
vendor: 1,050 bytes, lines 3609-3638
3609/***/ "./node_modules/d3-array/src/disjoint.js": 3610/*!***********************************************!*\ 3611 !*** ./node_modules/d3-array/src/disjoint.js ***! 3612 \***********************************************/ 3613/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3614 3615__webpack_require__.r(__webpack_exports__); 3616/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3617/* harmony export */ "default": () => (/* binding */ disjoint) 3618/* harmony export */ }); 3619/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! internmap */ "./node_modules/internmap/src/index.js"); 3620 3621 3622function disjoint(values, other) { 3623 const iterator = other[Symbol.iterator](), set = new internmap__WEBPACK_IMPORTED_MODULE_0__.InternSet(); 3624 for (const v of values) { 3625 if (set.has(v)) return false; 3626 let value, done; 3627 while (({value, done} = iterator.next())) { 3628 if (done) break; 3629 if (Object.is(v, value)) return false; 3630 set.add(value); 3631 } 3632 } 3633 return true; 3634} 3635 3636 3637/***/ }), 3638
vendor: 748 bytes, lines 3639-3662
3639/***/ "./node_modules/d3-array/src/every.js": 3640/*!********************************************!*\ 3641 !*** ./node_modules/d3-array/src/every.js ***! 3642 \********************************************/ 3643/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3644 3645__webpack_require__.r(__webpack_exports__); 3646/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3647/* harmony export */ "default": () => (/* binding */ every) 3648/* harmony export */ }); 3649function every(values, test) { 3650 if (typeof test !== "function") throw new TypeError("test is not a function"); 3651 let index = -1; 3652 for (const value of values) { 3653 if (!test(value, ++index, values)) { 3654 return false; 3655 } 3656 } 3657 return true; 3658} 3659 3660 3661/***/ }), 3662
vendor: 1,211 bytes, lines 3663-3705
3663/***/ "./node_modules/d3-array/src/extent.js": 3664/*!*********************************************!*\ 3665 !*** ./node_modules/d3-array/src/extent.js ***! 3666 \*********************************************/ 3667/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3668 3669__webpack_require__.r(__webpack_exports__); 3670/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3671/* harmony export */ "default": () => (/* binding */ extent) 3672/* harmony export */ }); 3673function extent(values, valueof) { 3674 let min; 3675 let max; 3676 if (valueof === undefined) { 3677 for (const value of values) { 3678 if (value != null) { 3679 if (min === undefined) { 3680 if (value >= value) min = max = value; 3681 } else { 3682 if (min > value) min = value; 3683 if (max < value) max = value; 3684 } 3685 } 3686 } 3687 } else { 3688 let index = -1; 3689 for (let value of values) { 3690 if ((value = valueof(value, ++index, values)) != null) { 3691 if (min === undefined) { 3692 if (value >= value) min = max = value; 3693 } else { 3694 if (min > value) min = value; 3695 if (max < value) max = value; 3696 } 3697 } 3698 } 3699 } 3700 return [min, max]; 3701} 3702 3703 3704/***/ }), 3705
vendor: 779 bytes, lines 3706-3730
3706/***/ "./node_modules/d3-array/src/filter.js": 3707/*!*********************************************!*\ 3708 !*** ./node_modules/d3-array/src/filter.js ***! 3709 \*********************************************/ 3710/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3711 3712__webpack_require__.r(__webpack_exports__); 3713/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3714/* harmony export */ "default": () => (/* binding */ filter) 3715/* harmony export */ }); 3716function filter(values, test) { 3717 if (typeof test !== "function") throw new TypeError("test is not a function"); 3718 const array = []; 3719 let index = -1; 3720 for (const value of values) { 3721 if (test(value, ++index, values)) { 3722 array.push(value); 3723 } 3724 } 3725 return array; 3726} 3727 3728 3729/***/ }), 3730
vendor: 2,189 bytes, lines 3731-3815
3731/***/ "./node_modules/d3-array/src/fsum.js": 3732/*!*******************************************!*\ 3733 !*** ./node_modules/d3-array/src/fsum.js ***! 3734 \*******************************************/ 3735/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3736 3737__webpack_require__.r(__webpack_exports__); 3738/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3739/* harmony export */ Adder: () => (/* binding */ Adder), 3740/* harmony export */ fcumsum: () => (/* binding */ fcumsum), 3741/* harmony export */ fsum: () => (/* binding */ fsum) 3742/* harmony export */ }); 3743// https://github.com/python/cpython/blob/a74eea238f5baba15797e2e8b570d153bc8690a7/Modules/mathmodule.c#L1423 3744class Adder { 3745 constructor() { 3746 this._partials = new Float64Array(32); 3747 this._n = 0; 3748 } 3749 add(x) { 3750 const p = this._partials; 3751 let i = 0; 3752 for (let j = 0; j < this._n && j < 32; j++) { 3753 const y = p[j], 3754 hi = x + y, 3755 lo = Math.abs(x) < Math.abs(y) ? x - (hi - y) : y - (hi - x); 3756 if (lo) p[i++] = lo; 3757 x = hi; 3758 } 3759 p[i] = x; 3760 this._n = i + 1; 3761 return this; 3762 } 3763 valueOf() { 3764 const p = this._partials; 3765 let n = this._n, x, y, lo, hi = 0; 3766 if (n > 0) { 3767 hi = p[--n]; 3768 while (n > 0) { 3769 x = hi; 3770 y = p[--n]; 3771 hi = x + y; 3772 lo = y - (hi - x); 3773 if (lo) break; 3774 } 3775 if (n > 0 && ((lo < 0 && p[n - 1] < 0) || (lo > 0 && p[n - 1] > 0))) { 3776 y = lo * 2; 3777 x = hi + y; 3778 if (y == x - hi) hi = x; 3779 } 3780 } 3781 return hi; 3782 } 3783} 3784 3785function fsum(values, valueof) { 3786 const adder = new Adder(); 3787 if (valueof === undefined) { 3788 for (let value of values) { 3789 if (value = +value) { 3790 adder.add(value); 3791 } 3792 } 3793 } else { 3794 let index = -1; 3795 for (let value of values) { 3796 if (value = +valueof(value, ++index, values)) { 3797 adder.add(value); 3798 } 3799 } 3800 } 3801 return +adder; 3802} 3803 3804function fcumsum(values, valueof) { 3805 const adder = new Adder(); 3806 let index = -1; 3807 return Float64Array.from(values, valueof === undefined 3808 ? v => adder.add(+v || 0) 3809 : v => adder.add(+valueof(v, ++index, values) || 0) 3810 ); 3811} 3812 3813 3814/***/ }), 3815
vendor: 1,431 bytes, lines 3816-3859
3816/***/ "./node_modules/d3-array/src/greatest.js": 3817/*!***********************************************!*\ 3818 !*** ./node_modules/d3-array/src/greatest.js ***! 3819 \***********************************************/ 3820/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3821 3822__webpack_require__.r(__webpack_exports__); 3823/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3824/* harmony export */ "default": () => (/* binding */ greatest) 3825/* harmony export */ }); 3826/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 3827 3828 3829function greatest(values, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]) { 3830 let max; 3831 let defined = false; 3832 if (compare.length === 1) { 3833 let maxValue; 3834 for (const element of values) { 3835 const value = compare(element); 3836 if (defined 3837 ? (0,_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, maxValue) > 0 3838 : (0,_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, value) === 0) { 3839 max = element; 3840 maxValue = value; 3841 defined = true; 3842 } 3843 } 3844 } else { 3845 for (const value of values) { 3846 if (defined 3847 ? compare(value, max) > 0 3848 : compare(value, value) === 0) { 3849 max = value; 3850 defined = true; 3851 } 3852 } 3853 } 3854 return max; 3855} 3856 3857 3858/***/ }), 3859
vendor: 1,320 bytes, lines 3860-3894
3860/***/ "./node_modules/d3-array/src/greatestIndex.js": 3861/*!****************************************************!*\ 3862 !*** ./node_modules/d3-array/src/greatestIndex.js ***! 3863 \****************************************************/ 3864/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3865 3866__webpack_require__.r(__webpack_exports__); 3867/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3868/* harmony export */ "default": () => (/* binding */ greatestIndex) 3869/* harmony export */ }); 3870/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 3871/* harmony import */ var _maxIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./maxIndex.js */ "./node_modules/d3-array/src/maxIndex.js"); 3872 3873 3874 3875function greatestIndex(values, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]) { 3876 if (compare.length === 1) return (0,_maxIndex_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, compare); 3877 let maxValue; 3878 let max = -1; 3879 let index = -1; 3880 for (const value of values) { 3881 ++index; 3882 if (max < 0 3883 ? compare(value, value) === 0 3884 : compare(value, maxValue) > 0) { 3885 maxValue = value; 3886 max = index; 3887 } 3888 } 3889 return max; 3890} 3891 3892 3893/***/ }), 3894
vendor: 3,087 bytes, lines 3895-3982
3895/***/ "./node_modules/d3-array/src/group.js": 3896/*!********************************************!*\ 3897 !*** ./node_modules/d3-array/src/group.js ***! 3898 \********************************************/ 3899/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3900 3901__webpack_require__.r(__webpack_exports__); 3902/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3903/* harmony export */ "default": () => (/* binding */ group), 3904/* harmony export */ flatGroup: () => (/* binding */ flatGroup), 3905/* harmony export */ flatRollup: () => (/* binding */ flatRollup), 3906/* harmony export */ groups: () => (/* binding */ groups), 3907/* harmony export */ index: () => (/* binding */ index), 3908/* harmony export */ indexes: () => (/* binding */ indexes), 3909/* harmony export */ rollup: () => (/* binding */ rollup), 3910/* harmony export */ rollups: () => (/* binding */ rollups) 3911/* harmony export */ }); 3912/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! internmap */ "./node_modules/internmap/src/index.js"); 3913/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity.js */ "./node_modules/d3-array/src/identity.js"); 3914 3915 3916 3917function group(values, ...keys) { 3918 return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"], _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"], keys); 3919} 3920 3921function groups(values, ...keys) { 3922 return nest(values, Array.from, _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"], keys); 3923} 3924 3925function flatten(groups, keys) { 3926 for (let i = 1, n = keys.length; i < n; ++i) { 3927 groups = groups.flatMap(g => g.pop().map(([key, value]) => [...g, key, value])); 3928 } 3929 return groups; 3930} 3931 3932function flatGroup(values, ...keys) { 3933 return flatten(groups(values, ...keys), keys); 3934} 3935 3936function flatRollup(values, reduce, ...keys) { 3937 return flatten(rollups(values, reduce, ...keys), keys); 3938} 3939 3940function rollup(values, reduce, ...keys) { 3941 return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"], reduce, keys); 3942} 3943 3944function rollups(values, reduce, ...keys) { 3945 return nest(values, Array.from, reduce, keys); 3946} 3947 3948function index(values, ...keys) { 3949 return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"], unique, keys); 3950} 3951 3952function indexes(values, ...keys) { 3953 return nest(values, Array.from, unique, keys); 3954} 3955 3956function unique(values) { 3957 if (values.length !== 1) throw new Error("duplicate key"); 3958 return values[0]; 3959} 3960 3961function nest(values, map, reduce, keys) { 3962 return (function regroup(values, i) { 3963 if (i >= keys.length) return reduce(values); 3964 const groups = new internmap__WEBPACK_IMPORTED_MODULE_1__.InternMap(); 3965 const keyof = keys[i++]; 3966 let index = -1; 3967 for (const value of values) { 3968 const key = keyof(value, ++index, values); 3969 const group = groups.get(key); 3970 if (group) group.push(value); 3971 else groups.set(key, [value]); 3972 } 3973 for (const [key, values] of groups) { 3974 groups.set(key, regroup(values, i)); 3975 } 3976 return map(groups); 3977 })(values, 0); 3978} 3979 3980 3981/***/ }), 3982
vendor: 1,598 bytes, lines 3983-4009
3983/***/ "./node_modules/d3-array/src/groupSort.js": 3984/*!************************************************!*\ 3985 !*** ./node_modules/d3-array/src/groupSort.js ***! 3986 \************************************************/ 3987/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3988 3989__webpack_require__.r(__webpack_exports__); 3990/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3991/* harmony export */ "default": () => (/* binding */ groupSort) 3992/* harmony export */ }); 3993/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 3994/* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./group.js */ "./node_modules/d3-array/src/group.js"); 3995/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./sort.js */ "./node_modules/d3-array/src/sort.js"); 3996 3997 3998 3999 4000function groupSort(values, reduce, key) { 4001 return (reduce.length !== 2 4002 ? (0,_sort_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_group_js__WEBPACK_IMPORTED_MODULE_1__.rollup)(values, reduce, key), (([ak, av], [bk, bv]) => (0,_ascending_js__WEBPACK_IMPORTED_MODULE_2__["default"])(av, bv) || (0,_ascending_js__WEBPACK_IMPORTED_MODULE_2__["default"])(ak, bk))) 4003 : (0,_sort_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_group_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, key), (([ak, av], [bk, bv]) => reduce(av, bv) || (0,_ascending_js__WEBPACK_IMPORTED_MODULE_2__["default"])(ak, bk)))) 4004 .map(([key]) => key); 4005} 4006 4007 4008/***/ }), 4009
vendor: 550 bytes, lines 4010-4026
4010/***/ "./node_modules/d3-array/src/identity.js": 4011/*!***********************************************!*\ 4012 !*** ./node_modules/d3-array/src/identity.js ***! 4013 \***********************************************/ 4014/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4015 4016__webpack_require__.r(__webpack_exports__); 4017/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4018/* harmony export */ "default": () => (/* binding */ identity) 4019/* harmony export */ }); 4020function identity(x) { 4021 return x; 4022} 4023 4024 4025/***/ }), 4026
vendor: 18,142 bytes, lines 4027-4232
4027/***/ "./node_modules/d3-array/src/index.js": 4028/*!********************************************!*\ 4029 !*** ./node_modules/d3-array/src/index.js ***! 4030 \********************************************/ 4031/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4032 4033__webpack_require__.r(__webpack_exports__); 4034/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4035/* harmony export */ Adder: () => (/* reexport safe */ _fsum_js__WEBPACK_IMPORTED_MODULE_10__.Adder), 4036/* harmony export */ InternMap: () => (/* reexport safe */ internmap__WEBPACK_IMPORTED_MODULE_56__.InternMap), 4037/* harmony export */ InternSet: () => (/* reexport safe */ internmap__WEBPACK_IMPORTED_MODULE_56__.InternSet), 4038/* harmony export */ ascending: () => (/* reexport safe */ _ascending_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 4039/* harmony export */ bin: () => (/* reexport safe */ _bin_js__WEBPACK_IMPORTED_MODULE_13__["default"]), 4040/* harmony export */ bisect: () => (/* reexport safe */ _bisect_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 4041/* harmony export */ bisectCenter: () => (/* reexport safe */ _bisect_js__WEBPACK_IMPORTED_MODULE_0__.bisectCenter), 4042/* harmony export */ bisectLeft: () => (/* reexport safe */ _bisect_js__WEBPACK_IMPORTED_MODULE_0__.bisectLeft), 4043/* harmony export */ bisectRight: () => (/* reexport safe */ _bisect_js__WEBPACK_IMPORTED_MODULE_0__.bisectRight), 4044/* harmony export */ bisector: () => (/* reexport safe */ _bisector_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 4045/* harmony export */ blur: () => (/* reexport safe */ _blur_js__WEBPACK_IMPORTED_MODULE_3__.blur), 4046/* harmony export */ blur2: () => (/* reexport safe */ _blur_js__WEBPACK_IMPORTED_MODULE_3__.blur2), 4047/* harmony export */ blurImage: () => (/* reexport safe */ _blur_js__WEBPACK_IMPORTED_MODULE_3__.blurImage), 4048/* harmony export */ count: () => (/* reexport safe */ _count_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 4049/* harmony export */ cross: () => (/* reexport safe */ _cross_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 4050/* harmony export */ cumsum: () => (/* reexport safe */ _cumsum_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 4051/* harmony export */ descending: () => (/* reexport safe */ _descending_js__WEBPACK_IMPORTED_MODULE_7__["default"]), 4052/* harmony export */ deviation: () => (/* reexport safe */ _deviation_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 4053/* harmony export */ difference: () => (/* reexport safe */ _difference_js__WEBPACK_IMPORTED_MODULE_50__["default"]), 4054/* harmony export */ disjoint: () => (/* reexport safe */ _disjoint_js__WEBPACK_IMPORTED_MODULE_51__["default"]), 4055/* harmony export */ every: () => (/* reexport safe */ _every_js__WEBPACK_IMPORTED_MODULE_43__["default"]), 4056/* harmony export */ extent: () => (/* reexport safe */ _extent_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 4057/* harmony export */ fcumsum: () => (/* reexport safe */ _fsum_js__WEBPACK_IMPORTED_MODULE_10__.fcumsum), 4058/* harmony export */ filter: () => (/* reexport safe */ _filter_js__WEBPACK_IMPORTED_MODULE_45__["default"]), 4059/* harmony export */ flatGroup: () => (/* reexport safe */ _group_js__WEBPACK_IMPORTED_MODULE_11__.flatGroup), 4060/* harmony export */ flatRollup: () => (/* reexport safe */ _group_js__WEBPACK_IMPORTED_MODULE_11__.flatRollup), 4061/* harmony export */ fsum: () => (/* reexport safe */ _fsum_js__WEBPACK_IMPORTED_MODULE_10__.fsum), 4062/* harmony export */ greatest: () => (/* reexport safe */ _greatest_js__WEBPACK_IMPORTED_MODULE_34__["default"]), 4063/* harmony export */ greatestIndex: () => (/* reexport safe */ _greatestIndex_js__WEBPACK_IMPORTED_MODULE_35__["default"]), 4064/* harmony export */ group: () => (/* reexport safe */ _group_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 4065/* harmony export */ groupSort: () => (/* reexport safe */ _groupSort_js__WEBPACK_IMPORTED_MODULE_12__["default"]), 4066/* harmony export */ groups: () => (/* reexport safe */ _group_js__WEBPACK_IMPORTED_MODULE_11__.groups), 4067/* harmony export */ histogram: () => (/* reexport safe */ _bin_js__WEBPACK_IMPORTED_MODULE_13__["default"]), 4068/* harmony export */ index: () => (/* reexport safe */ _group_js__WEBPACK_IMPORTED_MODULE_11__.index), 4069/* harmony export */ indexes: () => (/* reexport safe */ _group_js__WEBPACK_IMPORTED_MODULE_11__.indexes), 4070/* harmony export */ intersection: () => (/* reexport safe */ _intersection_js__WEBPACK_IMPORTED_MODULE_52__["default"]), 4071/* harmony export */ least: () => (/* reexport safe */ _least_js__WEBPACK_IMPORTED_MODULE_32__["default"]), 4072/* harmony export */ leastIndex: () => (/* reexport safe */ _leastIndex_js__WEBPACK_IMPORTED_MODULE_33__["default"]), 4073/* harmony export */ map: () => (/* reexport safe */ _map_js__WEBPACK_IMPORTED_MODULE_46__["default"]), 4074/* harmony export */ max: () => (/* reexport safe */ _max_js__WEBPACK_IMPORTED_MODULE_17__["default"]), 4075/* harmony export */ maxIndex: () => (/* reexport safe */ _maxIndex_js__WEBPACK_IMPORTED_MODULE_18__["default"]), 4076/* harmony export */ mean: () => (/* reexport safe */ _mean_js__WEBPACK_IMPORTED_MODULE_19__["default"]), 4077/* harmony export */ median: () => (/* reexport safe */ _median_js__WEBPACK_IMPORTED_MODULE_20__["default"]), 4078/* harmony export */ medianIndex: () => (/* reexport safe */ _median_js__WEBPACK_IMPORTED_MODULE_20__.medianIndex), 4079/* harmony export */ merge: () => (/* reexport safe */ _merge_js__WEBPACK_IMPORTED_MODULE_21__["default"]), 4080/* harmony export */ min: () => (/* reexport safe */ _min_js__WEBPACK_IMPORTED_MODULE_22__["default"]), 4081/* harmony export */ minIndex: () => (/* reexport safe */ _minIndex_js__WEBPACK_IMPORTED_MODULE_23__["default"]), 4082/* harmony export */ mode: () => (/* reexport safe */ _mode_js__WEBPACK_IMPORTED_MODULE_24__["default"]), 4083/* harmony export */ nice: () => (/* reexport safe */ _nice_js__WEBPACK_IMPORTED_MODULE_25__["default"]), 4084/* harmony export */ pairs: () => (/* reexport safe */ _pairs_js__WEBPACK_IMPORTED_MODULE_26__["default"]), 4085/* harmony export */ permute: () => (/* reexport safe */ _permute_js__WEBPACK_IMPORTED_MODULE_27__["default"]), 4086/* harmony export */ quantile: () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_28__["default"]), 4087/* harmony export */ quantileIndex: () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_28__.quantileIndex), 4088/* harmony export */ quantileSorted: () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_28__.quantileSorted), 4089/* harmony export */ quickselect: () => (/* reexport safe */ _quickselect_js__WEBPACK_IMPORTED_MODULE_29__["default"]), 4090/* harmony export */ range: () => (/* reexport safe */ _range_js__WEBPACK_IMPORTED_MODULE_30__["default"]), 4091/* harmony export */ rank: () => (/* reexport safe */ _rank_js__WEBPACK_IMPORTED_MODULE_31__["default"]), 4092/* harmony export */ reduce: () => (/* reexport safe */ _reduce_js__WEBPACK_IMPORTED_MODULE_47__["default"]), 4093/* harmony export */ reverse: () => (/* reexport safe */ _reverse_js__WEBPACK_IMPORTED_MODULE_48__["default"]), 4094/* harmony export */ rollup: () => (/* reexport safe */ _group_js__WEBPACK_IMPORTED_MODULE_11__.rollup), 4095/* harmony export */ rollups: () => (/* reexport safe */ _group_js__WEBPACK_IMPORTED_MODULE_11__.rollups), 4096/* harmony export */ scan: () => (/* reexport safe */ _scan_js__WEBPACK_IMPORTED_MODULE_36__["default"]), 4097/* harmony export */ shuffle: () => (/* reexport safe */ _shuffle_js__WEBPACK_IMPORTED_MODULE_37__["default"]), 4098/* harmony export */ shuffler: () => (/* reexport safe */ _shuffle_js__WEBPACK_IMPORTED_MODULE_37__.shuffler), 4099/* harmony export */ some: () => (/* reexport safe */ _some_js__WEBPACK_IMPORTED_MODULE_44__["default"]), 4100/* harmony export */ sort: () => (/* reexport safe */ _sort_js__WEBPACK_IMPORTED_MODULE_49__["default"]), 4101/* harmony export */ subset: () => (/* reexport safe */ _subset_js__WEBPACK_IMPORTED_MODULE_53__["default"]), 4102/* harmony export */ sum: () => (/* reexport safe */ _sum_js__WEBPACK_IMPORTED_MODULE_38__["default"]), 4103/* harmony export */ superset: () => (/* reexport safe */ _superset_js__WEBPACK_IMPORTED_MODULE_54__["default"]), 4104/* harmony export */ thresholdFreedmanDiaconis: () => (/* reexport safe */ _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_14__["default"]), 4105/* harmony export */ thresholdScott: () => (/* reexport safe */ _threshold_scott_js__WEBPACK_IMPORTED_MODULE_15__["default"]), 4106/* harmony export */ thresholdSturges: () => (/* reexport safe */ _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_16__["default"]), 4107/* harmony export */ tickIncrement: () => (/* reexport safe */ _ticks_js__WEBPACK_IMPORTED_MODULE_39__.tickIncrement), 4108/* harmony export */ tickStep: () => (/* reexport safe */ _ticks_js__WEBPACK_IMPORTED_MODULE_39__.tickStep), 4109/* harmony export */ ticks: () => (/* reexport safe */ _ticks_js__WEBPACK_IMPORTED_MODULE_39__["default"]), 4110/* harmony export */ transpose: () => (/* reexport safe */ _transpose_js__WEBPACK_IMPORTED_MODULE_40__["default"]), 4111/* harmony export */ union: () => (/* reexport safe */ _union_js__WEBPACK_IMPORTED_MODULE_55__["default"]), 4112/* harmony export */ variance: () => (/* reexport safe */ _variance_js__WEBPACK_IMPORTED_MODULE_41__["default"]), 4113/* harmony export */ zip: () => (/* reexport safe */ _zip_js__WEBPACK_IMPORTED_MODULE_42__["default"]) 4114/* harmony export */ }); 4115/* harmony import */ var _bisect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./bisect.js */ "./node_modules/d3-array/src/bisect.js"); 4116/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 4117/* harmony import */ var _bisector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bisector.js */ "./node_modules/d3-array/src/bisector.js"); 4118/* harmony import */ var _blur_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./blur.js */ "./node_modules/d3-array/src/blur.js"); 4119/* harmony import */ var _count_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./count.js */ "./node_modules/d3-array/src/count.js"); 4120/* harmony import */ var _cross_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cross.js */ "./node_modules/d3-array/src/cross.js"); 4121/* harmony import */ var _cumsum_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cumsum.js */ "./node_modules/d3-array/src/cumsum.js"); 4122/* harmony import */ var _descending_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./descending.js */ "./node_modules/d3-array/src/descending.js"); 4123/* harmony import */ var _deviation_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./deviation.js */ "./node_modules/d3-array/src/deviation.js"); 4124/* harmony import */ var _extent_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./extent.js */ "./node_modules/d3-array/src/extent.js"); 4125/* harmony import */ var _fsum_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./fsum.js */ "./node_modules/d3-array/src/fsum.js"); 4126/* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./group.js */ "./node_modules/d3-array/src/group.js"); 4127/* harmony import */ var _groupSort_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./groupSort.js */ "./node_modules/d3-array/src/groupSort.js"); 4128/* harmony import */ var _bin_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./bin.js */ "./node_modules/d3-array/src/bin.js"); 4129/* harmony import */ var _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./threshold/freedmanDiaconis.js */ "./node_modules/d3-array/src/threshold/freedmanDiaconis.js"); 4130/* harmony import */ var _threshold_scott_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./threshold/scott.js */ "./node_modules/d3-array/src/threshold/scott.js"); 4131/* harmony import */ var _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./threshold/sturges.js */ "./node_modules/d3-array/src/threshold/sturges.js"); 4132/* harmony import */ var _max_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./max.js */ "./node_modules/d3-array/src/max.js"); 4133/* harmony import */ var _maxIndex_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./maxIndex.js */ "./node_modules/d3-array/src/maxIndex.js"); 4134/* harmony import */ var _mean_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./mean.js */ "./node_modules/d3-array/src/mean.js"); 4135/* harmony import */ var _median_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./median.js */ "./node_modules/d3-array/src/median.js"); 4136/* harmony import */ var _merge_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./merge.js */ "./node_modules/d3-array/src/merge.js"); 4137/* harmony import */ var _min_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./min.js */ "./node_modules/d3-array/src/min.js"); 4138/* harmony import */ var _minIndex_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./minIndex.js */ "./node_modules/d3-array/src/minIndex.js"); 4139/* harmony import */ var _mode_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./mode.js */ "./node_modules/d3-array/src/mode.js"); 4140/* harmony import */ var _nice_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./nice.js */ "./node_modules/d3-array/src/nice.js"); 4141/* harmony import */ var _pairs_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./pairs.js */ "./node_modules/d3-array/src/pairs.js"); 4142/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./permute.js */ "./node_modules/d3-array/src/permute.js"); 4143/* harmony import */ var _quantile_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./quantile.js */ "./node_modules/d3-array/src/quantile.js"); 4144/* harmony import */ var _quickselect_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./quickselect.js */ "./node_modules/d3-array/src/quickselect.js"); 4145/* harmony import */ var _range_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./range.js */ "./node_modules/d3-array/src/range.js"); 4146/* harmony import */ var _rank_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./rank.js */ "./node_modules/d3-array/src/rank.js"); 4147/* harmony import */ var _least_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./least.js */ "./node_modules/d3-array/src/least.js"); 4148/* harmony import */ var _leastIndex_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./leastIndex.js */ "./node_modules/d3-array/src/leastIndex.js"); 4149/* harmony import */ var _greatest_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./greatest.js */ "./node_modules/d3-array/src/greatest.js"); 4150/* harmony import */ var _greatestIndex_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./greatestIndex.js */ "./node_modules/d3-array/src/greatestIndex.js"); 4151/* harmony import */ var _scan_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./scan.js */ "./node_modules/d3-array/src/scan.js"); 4152/* harmony import */ var _shuffle_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./shuffle.js */ "./node_modules/d3-array/src/shuffle.js"); 4153/* harmony import */ var _sum_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./sum.js */ "./node_modules/d3-array/src/sum.js"); 4154/* harmony import */ var _ticks_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ticks.js */ "./node_modules/d3-array/src/ticks.js"); 4155/* harmony import */ var _transpose_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./transpose.js */ "./node_modules/d3-array/src/transpose.js"); 4156/* harmony import */ var _variance_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./variance.js */ "./node_modules/d3-array/src/variance.js"); 4157/* harmony import */ var _zip_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./zip.js */ "./node_modules/d3-array/src/zip.js"); 4158/* harmony import */ var _every_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./every.js */ "./node_modules/d3-array/src/every.js"); 4159/* harmony import */ var _some_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./some.js */ "./node_modules/d3-array/src/some.js"); 4160/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./filter.js */ "./node_modules/d3-array/src/filter.js"); 4161/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./map.js */ "./node_modules/d3-array/src/map.js"); 4162/* harmony import */ var _reduce_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./reduce.js */ "./node_modules/d3-array/src/reduce.js"); 4163/* harmony import */ var _reverse_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./reverse.js */ "./node_modules/d3-array/src/reverse.js"); 4164/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./sort.js */ "./node_modules/d3-array/src/sort.js"); 4165/* harmony import */ var _difference_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./difference.js */ "./node_modules/d3-array/src/difference.js"); 4166/* harmony import */ var _disjoint_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./disjoint.js */ "./node_modules/d3-array/src/disjoint.js"); 4167/* harmony import */ var _intersection_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./intersection.js */ "./node_modules/d3-array/src/intersection.js"); 4168/* harmony import */ var _subset_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./subset.js */ "./node_modules/d3-array/src/subset.js"); 4169/* harmony import */ var _superset_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./superset.js */ "./node_modules/d3-array/src/superset.js"); 4170/* harmony import */ var _union_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./union.js */ "./node_modules/d3-array/src/union.js"); 4171/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! internmap */ "./node_modules/internmap/src/index.js"); 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 // Deprecated; use bin. 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 // Deprecated; use leastIndex. 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231/***/ }), 4232
vendor: 1,190 bytes, lines 4233-4266
4233/***/ "./node_modules/d3-array/src/intersection.js": 4234/*!***************************************************!*\ 4235 !*** ./node_modules/d3-array/src/intersection.js ***! 4236 \***************************************************/ 4237/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4238 4239__webpack_require__.r(__webpack_exports__); 4240/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4241/* harmony export */ "default": () => (/* binding */ intersection) 4242/* harmony export */ }); 4243/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! internmap */ "./node_modules/internmap/src/index.js"); 4244 4245 4246function intersection(values, ...others) { 4247 values = new internmap__WEBPACK_IMPORTED_MODULE_0__.InternSet(values); 4248 others = others.map(set); 4249 out: for (const value of values) { 4250 for (const other of others) { 4251 if (!other.has(value)) { 4252 values.delete(value); 4253 continue out; 4254 } 4255 } 4256 } 4257 return values; 4258} 4259 4260function set(values) { 4261 return values instanceof internmap__WEBPACK_IMPORTED_MODULE_0__.InternSet ? values : new internmap__WEBPACK_IMPORTED_MODULE_0__.InternSet(values); 4262} 4263 4264 4265/***/ }), 4266
vendor: 1,413 bytes, lines 4267-4310
4267/***/ "./node_modules/d3-array/src/least.js": 4268/*!********************************************!*\ 4269 !*** ./node_modules/d3-array/src/least.js ***! 4270 \********************************************/ 4271/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4272 4273__webpack_require__.r(__webpack_exports__); 4274/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4275/* harmony export */ "default": () => (/* binding */ least) 4276/* harmony export */ }); 4277/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 4278 4279 4280function least(values, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]) { 4281 let min; 4282 let defined = false; 4283 if (compare.length === 1) { 4284 let minValue; 4285 for (const element of values) { 4286 const value = compare(element); 4287 if (defined 4288 ? (0,_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, minValue) < 0 4289 : (0,_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, value) === 0) { 4290 min = element; 4291 minValue = value; 4292 defined = true; 4293 } 4294 } 4295 } else { 4296 for (const value of values) { 4297 if (defined 4298 ? compare(value, min) < 0 4299 : compare(value, value) === 0) { 4300 min = value; 4301 defined = true; 4302 } 4303 } 4304 } 4305 return min; 4306} 4307 4308 4309/***/ }), 4310
vendor: 1,302 bytes, lines 4311-4345
4311/***/ "./node_modules/d3-array/src/leastIndex.js": 4312/*!*************************************************!*\ 4313 !*** ./node_modules/d3-array/src/leastIndex.js ***! 4314 \*************************************************/ 4315/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4316 4317__webpack_require__.r(__webpack_exports__); 4318/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4319/* harmony export */ "default": () => (/* binding */ leastIndex) 4320/* harmony export */ }); 4321/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 4322/* harmony import */ var _minIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./minIndex.js */ "./node_modules/d3-array/src/minIndex.js"); 4323 4324 4325 4326function leastIndex(values, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]) { 4327 if (compare.length === 1) return (0,_minIndex_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, compare); 4328 let minValue; 4329 let min = -1; 4330 let index = -1; 4331 for (const value of values) { 4332 ++index; 4333 if (min < 0 4334 ? compare(value, value) === 0 4335 : compare(value, minValue) < 0) { 4336 minValue = value; 4337 min = index; 4338 } 4339 } 4340 return min; 4341} 4342 4343 4344/***/ }), 4345
vendor: 783 bytes, lines 4346-4364
4346/***/ "./node_modules/d3-array/src/map.js": 4347/*!******************************************!*\ 4348 !*** ./node_modules/d3-array/src/map.js ***! 4349 \******************************************/ 4350/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4351 4352__webpack_require__.r(__webpack_exports__); 4353/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4354/* harmony export */ "default": () => (/* binding */ map) 4355/* harmony export */ }); 4356function map(values, mapper) { 4357 if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable"); 4358 if (typeof mapper !== "function") throw new TypeError("mapper is not a function"); 4359 return Array.from(values, (value, index) => mapper(value, index, values)); 4360} 4361 4362 4363/***/ }), 4364
vendor: 975 bytes, lines 4365-4398
4365/***/ "./node_modules/d3-array/src/max.js": 4366/*!******************************************!*\ 4367 !*** ./node_modules/d3-array/src/max.js ***! 4368 \******************************************/ 4369/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4370 4371__webpack_require__.r(__webpack_exports__); 4372/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4373/* harmony export */ "default": () => (/* binding */ max) 4374/* harmony export */ }); 4375function max(values, valueof) { 4376 let max; 4377 if (valueof === undefined) { 4378 for (const value of values) { 4379 if (value != null 4380 && (max < value || (max === undefined && value >= value))) { 4381 max = value; 4382 } 4383 } 4384 } else { 4385 let index = -1; 4386 for (let value of values) { 4387 if ((value = valueof(value, ++index, values)) != null 4388 && (max < value || (max === undefined && value >= value))) { 4389 max = value; 4390 } 4391 } 4392 } 4393 return max; 4394} 4395 4396 4397/***/ }), 4398
vendor: 1,080 bytes, lines 4399-4434
4399/***/ "./node_modules/d3-array/src/maxIndex.js": 4400/*!***********************************************!*\ 4401 !*** ./node_modules/d3-array/src/maxIndex.js ***! 4402 \***********************************************/ 4403/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4404 4405__webpack_require__.r(__webpack_exports__); 4406/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4407/* harmony export */ "default": () => (/* binding */ maxIndex) 4408/* harmony export */ }); 4409function maxIndex(values, valueof) { 4410 let max; 4411 let maxIndex = -1; 4412 let index = -1; 4413 if (valueof === undefined) { 4414 for (const value of values) { 4415 ++index; 4416 if (value != null 4417 && (max < value || (max === undefined && value >= value))) { 4418 max = value, maxIndex = index; 4419 } 4420 } 4421 } else { 4422 for (let value of values) { 4423 if ((value = valueof(value, ++index, values)) != null 4424 && (max < value || (max === undefined && value >= value))) { 4425 max = value, maxIndex = index; 4426 } 4427 } 4428 } 4429 return maxIndex; 4430} 4431 4432 4433/***/ }), 4434
vendor: 961 bytes, lines 4435-4467
4435/***/ "./node_modules/d3-array/src/mean.js": 4436/*!*******************************************!*\ 4437 !*** ./node_modules/d3-array/src/mean.js ***! 4438 \*******************************************/ 4439/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4440 4441__webpack_require__.r(__webpack_exports__); 4442/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4443/* harmony export */ "default": () => (/* binding */ mean) 4444/* harmony export */ }); 4445function mean(values, valueof) { 4446 let count = 0; 4447 let sum = 0; 4448 if (valueof === undefined) { 4449 for (let value of values) { 4450 if (value != null && (value = +value) >= value) { 4451 ++count, sum += value; 4452 } 4453 } 4454 } else { 4455 let index = -1; 4456 for (let value of values) { 4457 if ((value = valueof(value, ++index, values)) != null && (value = +value) >= value) { 4458 ++count, sum += value; 4459 } 4460 } 4461 } 4462 if (count) return sum / count; 4463} 4464 4465 4466/***/ }), 4467
vendor: 991 bytes, lines 4468-4492
4468/***/ "./node_modules/d3-array/src/median.js": 4469/*!*********************************************!*\ 4470 !*** ./node_modules/d3-array/src/median.js ***! 4471 \*********************************************/ 4472/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4473 4474__webpack_require__.r(__webpack_exports__); 4475/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4476/* harmony export */ "default": () => (/* binding */ median), 4477/* harmony export */ medianIndex: () => (/* binding */ medianIndex) 4478/* harmony export */ }); 4479/* harmony import */ var _quantile_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./quantile.js */ "./node_modules/d3-array/src/quantile.js"); 4480 4481 4482function median(values, valueof) { 4483 return (0,_quantile_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, 0.5, valueof); 4484} 4485 4486function medianIndex(values, valueof) { 4487 return (0,_quantile_js__WEBPACK_IMPORTED_MODULE_0__.quantileIndex)(values, 0.5, valueof); 4488} 4489 4490 4491/***/ }), 4492
vendor: 648 bytes, lines 4493-4515
4493/***/ "./node_modules/d3-array/src/merge.js": 4494/*!********************************************!*\ 4495 !*** ./node_modules/d3-array/src/merge.js ***! 4496 \********************************************/ 4497/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4498 4499__webpack_require__.r(__webpack_exports__); 4500/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4501/* harmony export */ "default": () => (/* binding */ merge) 4502/* harmony export */ }); 4503function* flatten(arrays) { 4504 for (const array of arrays) { 4505 yield* array; 4506 } 4507} 4508 4509function merge(arrays) { 4510 return Array.from(flatten(arrays)); 4511} 4512 4513 4514/***/ }), 4515
vendor: 975 bytes, lines 4516-4549
4516/***/ "./node_modules/d3-array/src/min.js": 4517/*!******************************************!*\ 4518 !*** ./node_modules/d3-array/src/min.js ***! 4519 \******************************************/ 4520/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4521 4522__webpack_require__.r(__webpack_exports__); 4523/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4524/* harmony export */ "default": () => (/* binding */ min) 4525/* harmony export */ }); 4526function min(values, valueof) { 4527 let min; 4528 if (valueof === undefined) { 4529 for (const value of values) { 4530 if (value != null 4531 && (min > value || (min === undefined && value >= value))) { 4532 min = value; 4533 } 4534 } 4535 } else { 4536 let index = -1; 4537 for (let value of values) { 4538 if ((value = valueof(value, ++index, values)) != null 4539 && (min > value || (min === undefined && value >= value))) { 4540 min = value; 4541 } 4542 } 4543 } 4544 return min; 4545} 4546 4547 4548/***/ }), 4549
vendor: 1,080 bytes, lines 4550-4585
4550/***/ "./node_modules/d3-array/src/minIndex.js": 4551/*!***********************************************!*\ 4552 !*** ./node_modules/d3-array/src/minIndex.js ***! 4553 \***********************************************/ 4554/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4555 4556__webpack_require__.r(__webpack_exports__); 4557/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4558/* harmony export */ "default": () => (/* binding */ minIndex) 4559/* harmony export */ }); 4560function minIndex(values, valueof) { 4561 let min; 4562 let minIndex = -1; 4563 let index = -1; 4564 if (valueof === undefined) { 4565 for (const value of values) { 4566 ++index; 4567 if (value != null 4568 && (min > value || (min === undefined && value >= value))) { 4569 min = value, minIndex = index; 4570 } 4571 } 4572 } else { 4573 for (let value of values) { 4574 if ((value = valueof(value, ++index, values)) != null 4575 && (min > value || (min === undefined && value >= value))) { 4576 min = value, minIndex = index; 4577 } 4578 } 4579 } 4580 return minIndex; 4581} 4582 4583 4584/***/ }), 4585
vendor: 1,334 bytes, lines 4586-4628
4586/***/ "./node_modules/d3-array/src/mode.js": 4587/*!*******************************************!*\ 4588 !*** ./node_modules/d3-array/src/mode.js ***! 4589 \*******************************************/ 4590/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4591 4592__webpack_require__.r(__webpack_exports__); 4593/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4594/* harmony export */ "default": () => (/* binding */ mode) 4595/* harmony export */ }); 4596/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! internmap */ "./node_modules/internmap/src/index.js"); 4597 4598 4599function mode(values, valueof) { 4600 const counts = new internmap__WEBPACK_IMPORTED_MODULE_0__.InternMap(); 4601 if (valueof === undefined) { 4602 for (let value of values) { 4603 if (value != null && value >= value) { 4604 counts.set(value, (counts.get(value) || 0) + 1); 4605 } 4606 } 4607 } else { 4608 let index = -1; 4609 for (let value of values) { 4610 if ((value = valueof(value, ++index, values)) != null && value >= value) { 4611 counts.set(value, (counts.get(value) || 0) + 1); 4612 } 4613 } 4614 } 4615 let modeValue; 4616 let modeCount = 0; 4617 for (const [value, count] of counts) { 4618 if (count > modeCount) { 4619 modeCount = count; 4620 modeValue = value; 4621 } 4622 } 4623 return modeValue; 4624} 4625 4626 4627/***/ }), 4628
vendor: 1,160 bytes, lines 4629-4661
4629/***/ "./node_modules/d3-array/src/nice.js": 4630/*!*******************************************!*\ 4631 !*** ./node_modules/d3-array/src/nice.js ***! 4632 \*******************************************/ 4633/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4634 4635__webpack_require__.r(__webpack_exports__); 4636/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4637/* harmony export */ "default": () => (/* binding */ nice) 4638/* harmony export */ }); 4639/* harmony import */ var _ticks_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ticks.js */ "./node_modules/d3-array/src/ticks.js"); 4640 4641 4642function nice(start, stop, count) { 4643 let prestep; 4644 while (true) { 4645 const step = (0,_ticks_js__WEBPACK_IMPORTED_MODULE_0__.tickIncrement)(start, stop, count); 4646 if (step === prestep || step === 0 || !isFinite(step)) { 4647 return [start, stop]; 4648 } else if (step > 0) { 4649 start = Math.floor(start / step) * step; 4650 stop = Math.ceil(stop / step) * step; 4651 } else if (step < 0) { 4652 start = Math.ceil(start * step) / step; 4653 stop = Math.floor(stop * step) / step; 4654 } 4655 prestep = step; 4656 } 4657} 4658 4659 4660/***/ }), 4661
vendor: 1,009 bytes, lines 4662-4696
4662/***/ "./node_modules/d3-array/src/number.js": 4663/*!*********************************************!*\ 4664 !*** ./node_modules/d3-array/src/number.js ***! 4665 \*********************************************/ 4666/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4667 4668__webpack_require__.r(__webpack_exports__); 4669/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4670/* harmony export */ "default": () => (/* binding */ number), 4671/* harmony export */ numbers: () => (/* binding */ numbers) 4672/* harmony export */ }); 4673function number(x) { 4674 return x === null ? NaN : +x; 4675} 4676 4677function* numbers(values, valueof) { 4678 if (valueof === undefined) { 4679 for (let value of values) { 4680 if (value != null && (value = +value) >= value) { 4681 yield value; 4682 } 4683 } 4684 } else { 4685 let index = -1; 4686 for (let value of values) { 4687 if ((value = valueof(value, ++index, values)) != null && (value = +value) >= value) { 4688 yield value; 4689 } 4690 } 4691 } 4692} 4693 4694 4695/***/ }), 4696
vendor: 840 bytes, lines 4697-4726
4697/***/ "./node_modules/d3-array/src/pairs.js": 4698/*!********************************************!*\ 4699 !*** ./node_modules/d3-array/src/pairs.js ***! 4700 \********************************************/ 4701/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4702 4703__webpack_require__.r(__webpack_exports__); 4704/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4705/* harmony export */ "default": () => (/* binding */ pairs), 4706/* harmony export */ pair: () => (/* binding */ pair) 4707/* harmony export */ }); 4708function pairs(values, pairof = pair) { 4709 const pairs = []; 4710 let previous; 4711 let first = false; 4712 for (const value of values) { 4713 if (first) pairs.push(pairof(previous, value)); 4714 previous = value; 4715 first = true; 4716 } 4717 return pairs; 4718} 4719 4720function pair(a, b) { 4721 return [a, b]; 4722} 4723 4724 4725/***/ }), 4726
vendor: 590 bytes, lines 4727-4743
4727/***/ "./node_modules/d3-array/src/permute.js": 4728/*!**********************************************!*\ 4729 !*** ./node_modules/d3-array/src/permute.js ***! 4730 \**********************************************/ 4731/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4732 4733__webpack_require__.r(__webpack_exports__); 4734/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4735/* harmony export */ "default": () => (/* binding */ permute) 4736/* harmony export */ }); 4737function permute(source, keys) { 4738 return Array.from(keys, key => source[key]); 4739} 4740 4741 4742/***/ }), 4743
vendor: 3,962 bytes, lines 4744-4814
4744/***/ "./node_modules/d3-array/src/quantile.js": 4745/*!***********************************************!*\ 4746 !*** ./node_modules/d3-array/src/quantile.js ***! 4747 \***********************************************/ 4748/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4749 4750__webpack_require__.r(__webpack_exports__); 4751/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4752/* harmony export */ "default": () => (/* binding */ quantile), 4753/* harmony export */ quantileIndex: () => (/* binding */ quantileIndex), 4754/* harmony export */ quantileSorted: () => (/* binding */ quantileSorted) 4755/* harmony export */ }); 4756/* harmony import */ var _max_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./max.js */ "./node_modules/d3-array/src/max.js"); 4757/* harmony import */ var _maxIndex_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./maxIndex.js */ "./node_modules/d3-array/src/maxIndex.js"); 4758/* harmony import */ var _min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./min.js */ "./node_modules/d3-array/src/min.js"); 4759/* harmony import */ var _minIndex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./minIndex.js */ "./node_modules/d3-array/src/minIndex.js"); 4760/* harmony import */ var _quickselect_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./quickselect.js */ "./node_modules/d3-array/src/quickselect.js"); 4761/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./number.js */ "./node_modules/d3-array/src/number.js"); 4762/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./sort.js */ "./node_modules/d3-array/src/sort.js"); 4763/* harmony import */ var _greatest_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./greatest.js */ "./node_modules/d3-array/src/greatest.js"); 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773function quantile(values, p, valueof) { 4774 values = Float64Array.from((0,_number_js__WEBPACK_IMPORTED_MODULE_0__.numbers)(values, valueof)); 4775 if (!(n = values.length) || isNaN(p = +p)) return; 4776 if (p <= 0 || n < 2) return (0,_min_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values); 4777 if (p >= 1) return (0,_max_js__WEBPACK_IMPORTED_MODULE_2__["default"])(values); 4778 var n, 4779 i = (n - 1) * p, 4780 i0 = Math.floor(i), 4781 value0 = (0,_max_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_quickselect_js__WEBPACK_IMPORTED_MODULE_3__["default"])(values, i0).subarray(0, i0 + 1)), 4782 value1 = (0,_min_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values.subarray(i0 + 1)); 4783 return value0 + (value1 - value0) * (i - i0); 4784} 4785 4786function quantileSorted(values, p, valueof = _number_js__WEBPACK_IMPORTED_MODULE_0__["default"]) { 4787 if (!(n = values.length) || isNaN(p = +p)) return; 4788 if (p <= 0 || n < 2) return +valueof(values[0], 0, values); 4789 if (p >= 1) return +valueof(values[n - 1], n - 1, values); 4790 var n, 4791 i = (n - 1) * p, 4792 i0 = Math.floor(i), 4793 value0 = +valueof(values[i0], i0, values), 4794 value1 = +valueof(values[i0 + 1], i0 + 1, values); 4795 return value0 + (value1 - value0) * (i - i0); 4796} 4797 4798function quantileIndex(values, p, valueof = _number_js__WEBPACK_IMPORTED_MODULE_0__["default"]) { 4799 if (isNaN(p = +p)) return; 4800 numbers = Float64Array.from(values, (_, i) => (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(valueof(values[i], i, values))); 4801 if (p <= 0) return (0,_minIndex_js__WEBPACK_IMPORTED_MODULE_4__["default"])(numbers); 4802 if (p >= 1) return (0,_maxIndex_js__WEBPACK_IMPORTED_MODULE_5__["default"])(numbers); 4803 var numbers, 4804 index = Uint32Array.from(values, (_, i) => i), 4805 j = numbers.length - 1, 4806 i = Math.floor(j * p); 4807 (0,_quickselect_js__WEBPACK_IMPORTED_MODULE_3__["default"])(index, i, 0, j, (i, j) => (0,_sort_js__WEBPACK_IMPORTED_MODULE_6__.ascendingDefined)(numbers[i], numbers[j])); 4808 i = (0,_greatest_js__WEBPACK_IMPORTED_MODULE_7__["default"])(index.subarray(0, i + 1), (i) => numbers[i]); 4809 return i >= 0 ? i : -1; 4810} 4811 4812 4813/***/ }), 4814
vendor: 2,237 bytes, lines 4815-4882
4815/***/ "./node_modules/d3-array/src/quickselect.js": 4816/*!**************************************************!*\ 4817 !*** ./node_modules/d3-array/src/quickselect.js ***! 4818 \**************************************************/ 4819/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4820 4821__webpack_require__.r(__webpack_exports__); 4822/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4823/* harmony export */ "default": () => (/* binding */ quickselect) 4824/* harmony export */ }); 4825/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./sort.js */ "./node_modules/d3-array/src/sort.js"); 4826 4827 4828// Based on https://github.com/mourner/quickselect 4829// ISC license, Copyright 2018 Vladimir Agafonkin. 4830function quickselect(array, k, left = 0, right = Infinity, compare) { 4831 k = Math.floor(k); 4832 left = Math.floor(Math.max(0, left)); 4833 right = Math.floor(Math.min(array.length - 1, right)); 4834 4835 if (!(left <= k && k <= right)) return array; 4836 4837 compare = compare === undefined ? _sort_js__WEBPACK_IMPORTED_MODULE_0__.ascendingDefined : (0,_sort_js__WEBPACK_IMPORTED_MODULE_0__.compareDefined)(compare); 4838 4839 while (right > left) { 4840 if (right - left > 600) { 4841 const n = right - left + 1; 4842 const m = k - left + 1; 4843 const z = Math.log(n); 4844 const s = 0.5 * Math.exp(2 * z / 3); 4845 const sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1); 4846 const newLeft = Math.max(left, Math.floor(k - m * s / n + sd)); 4847 const newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd)); 4848 quickselect(array, k, newLeft, newRight, compare); 4849 } 4850 4851 const t = array[k]; 4852 let i = left; 4853 let j = right; 4854 4855 swap(array, left, k); 4856 if (compare(array[right], t) > 0) swap(array, left, right); 4857 4858 while (i < j) { 4859 swap(array, i, j), ++i, --j; 4860 while (compare(array[i], t) < 0) ++i; 4861 while (compare(array[j], t) > 0) --j; 4862 } 4863 4864 if (compare(array[left], t) === 0) swap(array, left, j); 4865 else ++j, swap(array, j, right); 4866 4867 if (j <= k) left = j + 1; 4868 if (k <= j) right = j - 1; 4869 } 4870 4871 return array; 4872} 4873 4874function swap(array, i, j) { 4875 const t = array[i]; 4876 array[i] = array[j]; 4877 array[j] = t; 4878} 4879 4880 4881/***/ }), 4882
vendor: 833 bytes, lines 4883-4909
4883/***/ "./node_modules/d3-array/src/range.js": 4884/*!********************************************!*\ 4885 !*** ./node_modules/d3-array/src/range.js ***! 4886 \********************************************/ 4887/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4888 4889__webpack_require__.r(__webpack_exports__); 4890/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4891/* harmony export */ "default": () => (/* binding */ range) 4892/* harmony export */ }); 4893function range(start, stop, step) { 4894 start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step; 4895 4896 var i = -1, 4897 n = Math.max(0, Math.ceil((stop - start) / step)) | 0, 4898 range = new Array(n); 4899 4900 while (++i < n) { 4901 range[i] = start + i * step; 4902 } 4903 4904 return range; 4905} 4906 4907 4908/***/ }), 4909
vendor: 1,837 bytes, lines 4910-4949
4910/***/ "./node_modules/d3-array/src/rank.js": 4911/*!*******************************************!*\ 4912 !*** ./node_modules/d3-array/src/rank.js ***! 4913 \*******************************************/ 4914/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4915 4916__webpack_require__.r(__webpack_exports__); 4917/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4918/* harmony export */ "default": () => (/* binding */ rank) 4919/* harmony export */ }); 4920/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 4921/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sort.js */ "./node_modules/d3-array/src/sort.js"); 4922 4923 4924 4925function rank(values, valueof = _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]) { 4926 if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable"); 4927 let V = Array.from(values); 4928 const R = new Float64Array(V.length); 4929 if (valueof.length !== 2) V = V.map(valueof), valueof = _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]; 4930 const compareIndex = (i, j) => valueof(V[i], V[j]); 4931 let k, r; 4932 values = Uint32Array.from(V, (_, i) => i); 4933 // Risky chaining due to Safari 14 https://github.com/d3/d3-array/issues/123 4934 values.sort(valueof === _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? (i, j) => (0,_sort_js__WEBPACK_IMPORTED_MODULE_1__.ascendingDefined)(V[i], V[j]) : (0,_sort_js__WEBPACK_IMPORTED_MODULE_1__.compareDefined)(compareIndex)); 4935 values.forEach((j, i) => { 4936 const c = compareIndex(j, k === undefined ? j : k); 4937 if (c >= 0) { 4938 if (k === undefined || c > 0) k = j, r = i; 4939 R[j] = r; 4940 } else { 4941 R[j] = NaN; 4942 } 4943 }); 4944 return R; 4945} 4946 4947 4948/***/ }), 4949
vendor: 948 bytes, lines 4950-4977
4950/***/ "./node_modules/d3-array/src/reduce.js": 4951/*!*********************************************!*\ 4952 !*** ./node_modules/d3-array/src/reduce.js ***! 4953 \*********************************************/ 4954/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4955 4956__webpack_require__.r(__webpack_exports__); 4957/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4958/* harmony export */ "default": () => (/* binding */ reduce) 4959/* harmony export */ }); 4960function reduce(values, reducer, value) { 4961 if (typeof reducer !== "function") throw new TypeError("reducer is not a function"); 4962 const iterator = values[Symbol.iterator](); 4963 let done, next, index = -1; 4964 if (arguments.length < 3) { 4965 ({done, value} = iterator.next()); 4966 if (done) return; 4967 ++index; 4968 } 4969 while (({done, value: next} = iterator.next()), !done) { 4970 value = reducer(value, next, ++index, values); 4971 } 4972 return value; 4973} 4974 4975 4976/***/ }), 4977
vendor: 676 bytes, lines 4978-4995
4978/***/ "./node_modules/d3-array/src/reverse.js": 4979/*!**********************************************!*\ 4980 !*** ./node_modules/d3-array/src/reverse.js ***! 4981 \**********************************************/ 4982/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 4983 4984__webpack_require__.r(__webpack_exports__); 4985/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4986/* harmony export */ "default": () => (/* binding */ reverse) 4987/* harmony export */ }); 4988function reverse(values) { 4989 if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable"); 4990 return Array.from(values).reverse(); 4991} 4992 4993 4994/***/ }), 4995
vendor: 823 bytes, lines 4996-5016
4996/***/ "./node_modules/d3-array/src/scan.js": 4997/*!*******************************************!*\ 4998 !*** ./node_modules/d3-array/src/scan.js ***! 4999 \*******************************************/ 5000/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5001 5002__webpack_require__.r(__webpack_exports__); 5003/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5004/* harmony export */ "default": () => (/* binding */ scan) 5005/* harmony export */ }); 5006/* harmony import */ var _leastIndex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./leastIndex.js */ "./node_modules/d3-array/src/leastIndex.js"); 5007 5008 5009function scan(values, compare) { 5010 const index = (0,_leastIndex_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, compare); 5011 return index < 0 ? undefined : index; 5012} 5013 5014 5015/***/ }), 5016
vendor: 951 bytes, lines 5017-5044
5017/***/ "./node_modules/d3-array/src/shuffle.js": 5018/*!**********************************************!*\ 5019 !*** ./node_modules/d3-array/src/shuffle.js ***! 5020 \**********************************************/ 5021/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5022 5023__webpack_require__.r(__webpack_exports__); 5024/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5025/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 5026/* harmony export */ shuffler: () => (/* binding */ shuffler) 5027/* harmony export */ }); 5028/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shuffler(Math.random)); 5029 5030function shuffler(random) { 5031 return function shuffle(array, i0 = 0, i1 = array.length) { 5032 let m = i1 - (i0 = +i0); 5033 while (m) { 5034 const i = random() * m-- | 0, t = array[m + i0]; 5035 array[m + i0] = array[i + i0]; 5036 array[i + i0] = t; 5037 } 5038 return array; 5039 }; 5040} 5041 5042 5043/***/ }), 5044
vendor: 741 bytes, lines 5045-5068
5045/***/ "./node_modules/d3-array/src/some.js": 5046/*!*******************************************!*\ 5047 !*** ./node_modules/d3-array/src/some.js ***! 5048 \*******************************************/ 5049/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5050 5051__webpack_require__.r(__webpack_exports__); 5052/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5053/* harmony export */ "default": () => (/* binding */ some) 5054/* harmony export */ }); 5055function some(values, test) { 5056 if (typeof test !== "function") throw new TypeError("test is not a function"); 5057 let index = -1; 5058 for (const value of values) { 5059 if (test(value, ++index, values)) { 5060 return true; 5061 } 5062 } 5063 return false; 5064} 5065 5066 5067/***/ }), 5068
vendor: 2,245 bytes, lines 5069-5125
5069/***/ "./node_modules/d3-array/src/sort.js": 5070/*!*******************************************!*\ 5071 !*** ./node_modules/d3-array/src/sort.js ***! 5072 \*******************************************/ 5073/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5074 5075__webpack_require__.r(__webpack_exports__); 5076/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5077/* harmony export */ ascendingDefined: () => (/* binding */ ascendingDefined), 5078/* harmony export */ compareDefined: () => (/* binding */ compareDefined), 5079/* harmony export */ "default": () => (/* binding */ sort) 5080/* harmony export */ }); 5081/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-array/src/ascending.js"); 5082/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./permute.js */ "./node_modules/d3-array/src/permute.js"); 5083 5084 5085 5086function sort(values, ...F) { 5087 if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable"); 5088 values = Array.from(values); 5089 let [f] = F; 5090 if ((f && f.length !== 2) || F.length > 1) { 5091 const index = Uint32Array.from(values, (d, i) => i); 5092 if (F.length > 1) { 5093 F = F.map(f => values.map(f)); 5094 index.sort((i, j) => { 5095 for (const f of F) { 5096 const c = ascendingDefined(f[i], f[j]); 5097 if (c) return c; 5098 } 5099 }); 5100 } else { 5101 f = values.map(f); 5102 index.sort((i, j) => ascendingDefined(f[i], f[j])); 5103 } 5104 return (0,_permute_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, index); 5105 } 5106 return values.sort(compareDefined(f)); 5107} 5108 5109function compareDefined(compare = _ascending_js__WEBPACK_IMPORTED_MODULE_1__["default"]) { 5110 if (compare === _ascending_js__WEBPACK_IMPORTED_MODULE_1__["default"]) return ascendingDefined; 5111 if (typeof compare !== "function") throw new TypeError("compare is not a function"); 5112 return (a, b) => { 5113 const x = compare(a, b); 5114 if (x || x === 0) return x; 5115 return (compare(b, b) === 0) - (compare(a, a) === 0); 5116 }; 5117} 5118 5119function ascendingDefined(a, b) { 5120 return (a == null || !(a >= a)) - (b == null || !(b >= b)) || (a < b ? -1 : a > b ? 1 : 0); 5121} 5122 5123 5124/***/ }), 5125
vendor: 776 bytes, lines 5126-5145
5126/***/ "./node_modules/d3-array/src/subset.js": 5127/*!*********************************************!*\ 5128 !*** ./node_modules/d3-array/src/subset.js ***! 5129 \*********************************************/ 5130/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5131 5132__webpack_require__.r(__webpack_exports__); 5133/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5134/* harmony export */ "default": () => (/* binding */ subset) 5135/* harmony export */ }); 5136/* harmony import */ var _superset_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./superset.js */ "./node_modules/d3-array/src/superset.js"); 5137 5138 5139function subset(values, other) { 5140 return (0,_superset_js__WEBPACK_IMPORTED_MODULE_0__["default"])(other, values); 5141} 5142 5143 5144/***/ }), 5145
vendor: 835 bytes, lines 5146-5177
5146/***/ "./node_modules/d3-array/src/sum.js": 5147/*!******************************************!*\ 5148 !*** ./node_modules/d3-array/src/sum.js ***! 5149 \******************************************/ 5150/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5151 5152__webpack_require__.r(__webpack_exports__); 5153/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5154/* harmony export */ "default": () => (/* binding */ sum) 5155/* harmony export */ }); 5156function sum(values, valueof) { 5157 let sum = 0; 5158 if (valueof === undefined) { 5159 for (let value of values) { 5160 if (value = +value) { 5161 sum += value; 5162 } 5163 } 5164 } else { 5165 let index = -1; 5166 for (let value of values) { 5167 if (value = +valueof(value, ++index, values)) { 5168 sum += value; 5169 } 5170 } 5171 } 5172 return sum; 5173} 5174 5175 5176/***/ }), 5177
vendor: 1,028 bytes, lines 5178-5210
5178/***/ "./node_modules/d3-array/src/superset.js": 5179/*!***********************************************!*\ 5180 !*** ./node_modules/d3-array/src/superset.js ***! 5181 \***********************************************/ 5182/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5183 5184__webpack_require__.r(__webpack_exports__); 5185/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5186/* harmony export */ "default": () => (/* binding */ superset) 5187/* harmony export */ }); 5188function superset(values, other) { 5189 const iterator = values[Symbol.iterator](), set = new Set(); 5190 for (const o of other) { 5191 const io = intern(o); 5192 if (set.has(io)) continue; 5193 let value, done; 5194 while (({value, done} = iterator.next())) { 5195 if (done) return false; 5196 const ivalue = intern(value); 5197 set.add(ivalue); 5198 if (Object.is(io, ivalue)) break; 5199 } 5200 } 5201 return true; 5202} 5203 5204function intern(value) { 5205 return value !== null && typeof value === "object" ? value.valueOf() : value; 5206} 5207 5208 5209/***/ }), 5210
vendor: 1,265 bytes, lines 5211-5233
5211/***/ "./node_modules/d3-array/src/threshold/freedmanDiaconis.js": 5212/*!*****************************************************************!*\ 5213 !*** ./node_modules/d3-array/src/threshold/freedmanDiaconis.js ***! 5214 \*****************************************************************/ 5215/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5216 5217__webpack_require__.r(__webpack_exports__); 5218/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5219/* harmony export */ "default": () => (/* binding */ thresholdFreedmanDiaconis) 5220/* harmony export */ }); 5221/* harmony import */ var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../count.js */ "./node_modules/d3-array/src/count.js"); 5222/* harmony import */ var _quantile_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../quantile.js */ "./node_modules/d3-array/src/quantile.js"); 5223 5224 5225 5226function thresholdFreedmanDiaconis(values, min, max) { 5227 const c = (0,_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values), d = (0,_quantile_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, 0.75) - (0,_quantile_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, 0.25); 5228 return c && d ? Math.ceil((max - min) / (2 * d * Math.pow(c, -1 / 3))) : 1; 5229} 5230 5231 5232/***/ }), 5233
vendor: 1,120 bytes, lines 5234-5256
5234/***/ "./node_modules/d3-array/src/threshold/scott.js": 5235/*!******************************************************!*\ 5236 !*** ./node_modules/d3-array/src/threshold/scott.js ***! 5237 \******************************************************/ 5238/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5239 5240__webpack_require__.r(__webpack_exports__); 5241/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5242/* harmony export */ "default": () => (/* binding */ thresholdScott) 5243/* harmony export */ }); 5244/* harmony import */ var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../count.js */ "./node_modules/d3-array/src/count.js"); 5245/* harmony import */ var _deviation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../deviation.js */ "./node_modules/d3-array/src/deviation.js"); 5246 5247 5248 5249function thresholdScott(values, min, max) { 5250 const c = (0,_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values), d = (0,_deviation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values); 5251 return c && d ? Math.ceil((max - min) * Math.cbrt(c) / (3.49 * d)) : 1; 5252} 5253 5254 5255/***/ }), 5256
vendor: 864 bytes, lines 5257-5276
5257/***/ "./node_modules/d3-array/src/threshold/sturges.js": 5258/*!********************************************************!*\ 5259 !*** ./node_modules/d3-array/src/threshold/sturges.js ***! 5260 \********************************************************/ 5261/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5262 5263__webpack_require__.r(__webpack_exports__); 5264/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5265/* harmony export */ "default": () => (/* binding */ thresholdSturges) 5266/* harmony export */ }); 5267/* harmony import */ var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../count.js */ "./node_modules/d3-array/src/count.js"); 5268 5269 5270function thresholdSturges(values) { 5271 return Math.max(1, Math.ceil(Math.log((0,_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values)) / Math.LN2) + 1); 5272} 5273 5274 5275/***/ }), 5276
vendor: 2,567 bytes, lines 5277-5347
5277/***/ "./node_modules/d3-array/src/ticks.js": 5278/*!********************************************!*\ 5279 !*** ./node_modules/d3-array/src/ticks.js ***! 5280 \********************************************/ 5281/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5282 5283__webpack_require__.r(__webpack_exports__); 5284/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5285/* harmony export */ "default": () => (/* binding */ ticks), 5286/* harmony export */ tickIncrement: () => (/* binding */ tickIncrement), 5287/* harmony export */ tickStep: () => (/* binding */ tickStep) 5288/* harmony export */ }); 5289const e10 = Math.sqrt(50), 5290 e5 = Math.sqrt(10), 5291 e2 = Math.sqrt(2); 5292 5293function tickSpec(start, stop, count) { 5294 const step = (stop - start) / Math.max(0, count), 5295 power = Math.floor(Math.log10(step)), 5296 error = step / Math.pow(10, power), 5297 factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1; 5298 let i1, i2, inc; 5299 if (power < 0) { 5300 inc = Math.pow(10, -power) / factor; 5301 i1 = Math.round(start * inc); 5302 i2 = Math.round(stop * inc); 5303 if (i1 / inc < start) ++i1; 5304 if (i2 / inc > stop) --i2; 5305 inc = -inc; 5306 } else { 5307 inc = Math.pow(10, power) * factor; 5308 i1 = Math.round(start / inc); 5309 i2 = Math.round(stop / inc); 5310 if (i1 * inc < start) ++i1; 5311 if (i2 * inc > stop) --i2; 5312 } 5313 if (i2 < i1 && 0.5 <= count && count < 2) return tickSpec(start, stop, count * 2); 5314 return [i1, i2, inc]; 5315} 5316 5317function ticks(start, stop, count) { 5318 stop = +stop, start = +start, count = +count; 5319 if (!(count > 0)) return []; 5320 if (start === stop) return [start]; 5321 const reverse = stop < start, [i1, i2, inc] = reverse ? tickSpec(stop, start, count) : tickSpec(start, stop, count); 5322 if (!(i2 >= i1)) return []; 5323 const n = i2 - i1 + 1, ticks = new Array(n); 5324 if (reverse) { 5325 if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) / -inc; 5326 else for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) * inc; 5327 } else { 5328 if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) / -inc; 5329 else for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) * inc; 5330 } 5331 return ticks; 5332} 5333 5334function tickIncrement(start, stop, count) { 5335 stop = +stop, start = +start, count = +count; 5336 return tickSpec(start, stop, count)[2]; 5337} 5338 5339function tickStep(start, stop, count) { 5340 stop = +stop, start = +start, count = +count; 5341 const reverse = stop < start, inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count); 5342 return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc); 5343} 5344 5345 5346/***/ }), 5347
vendor: 1,032 bytes, lines 5348-5377
5348/***/ "./node_modules/d3-array/src/transpose.js": 5349/*!************************************************!*\ 5350 !*** ./node_modules/d3-array/src/transpose.js ***! 5351 \************************************************/ 5352/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5353 5354__webpack_require__.r(__webpack_exports__); 5355/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5356/* harmony export */ "default": () => (/* binding */ transpose) 5357/* harmony export */ }); 5358/* harmony import */ var _min_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./min.js */ "./node_modules/d3-array/src/min.js"); 5359 5360 5361function transpose(matrix) { 5362 if (!(n = matrix.length)) return []; 5363 for (var i = -1, m = (0,_min_js__WEBPACK_IMPORTED_MODULE_0__["default"])(matrix, length), transpose = new Array(m); ++i < m;) { 5364 for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) { 5365 row[j] = matrix[j][i]; 5366 } 5367 } 5368 return transpose; 5369} 5370 5371function length(d) { 5372 return d.length; 5373} 5374 5375 5376/***/ }), 5377
vendor: 848 bytes, lines 5378-5403
5378/***/ "./node_modules/d3-array/src/union.js": 5379/*!********************************************!*\ 5380 !*** ./node_modules/d3-array/src/union.js ***! 5381 \********************************************/ 5382/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5383 5384__webpack_require__.r(__webpack_exports__); 5385/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5386/* harmony export */ "default": () => (/* binding */ union) 5387/* harmony export */ }); 5388/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! internmap */ "./node_modules/internmap/src/index.js"); 5389 5390 5391function union(...others) { 5392 const set = new internmap__WEBPACK_IMPORTED_MODULE_0__.InternSet(); 5393 for (const other of others) { 5394 for (const o of other) { 5395 set.add(o); 5396 } 5397 } 5398 return set; 5399} 5400 5401 5402/***/ }), 5403
vendor: 1,166 bytes, lines 5404-5442
5404/***/ "./node_modules/d3-array/src/variance.js": 5405/*!***********************************************!*\ 5406 !*** ./node_modules/d3-array/src/variance.js ***! 5407 \***********************************************/ 5408/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5409 5410__webpack_require__.r(__webpack_exports__); 5411/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5412/* harmony export */ "default": () => (/* binding */ variance) 5413/* harmony export */ }); 5414function variance(values, valueof) { 5415 let count = 0; 5416 let delta; 5417 let mean = 0; 5418 let sum = 0; 5419 if (valueof === undefined) { 5420 for (let value of values) { 5421 if (value != null && (value = +value) >= value) { 5422 delta = value - mean; 5423 mean += delta / ++count; 5424 sum += delta * (value - mean); 5425 } 5426 } 5427 } else { 5428 let index = -1; 5429 for (let value of values) { 5430 if ((value = valueof(value, ++index, values)) != null && (value = +value) >= value) { 5431 delta = value - mean; 5432 mean += delta / ++count; 5433 sum += delta * (value - mean); 5434 } 5435 } 5436 } 5437 if (count > 1) return sum / (count - 1); 5438} 5439 5440 5441/***/ }), 5442
vendor: 745 bytes, lines 5443-5462
5443/***/ "./node_modules/d3-array/src/zip.js": 5444/*!******************************************!*\ 5445 !*** ./node_modules/d3-array/src/zip.js ***! 5446 \******************************************/ 5447/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5448 5449__webpack_require__.r(__webpack_exports__); 5450/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5451/* harmony export */ "default": () => (/* binding */ zip) 5452/* harmony export */ }); 5453/* harmony import */ var _transpose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transpose.js */ "./node_modules/d3-array/src/transpose.js"); 5454 5455 5456function zip() { 5457 return (0,_transpose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arguments); 5458} 5459 5460 5461/***/ }), 5462
vendor: 6,284 bytes, lines 5463-5654
5463/***/ "./node_modules/d3-axis/src/axis.js": 5464/*!******************************************!*\ 5465 !*** ./node_modules/d3-axis/src/axis.js ***! 5466 \******************************************/ 5467/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5468 5469__webpack_require__.r(__webpack_exports__); 5470/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5471/* harmony export */ axisBottom: () => (/* binding */ axisBottom), 5472/* harmony export */ axisLeft: () => (/* binding */ axisLeft), 5473/* harmony export */ axisRight: () => (/* binding */ axisRight), 5474/* harmony export */ axisTop: () => (/* binding */ axisTop) 5475/* harmony export */ }); 5476/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity.js */ "./node_modules/d3-axis/src/identity.js"); 5477 5478 5479var top = 1, 5480 right = 2, 5481 bottom = 3, 5482 left = 4, 5483 epsilon = 1e-6; 5484 5485function translateX(x) { 5486 return "translate(" + x + ",0)"; 5487} 5488 5489function translateY(y) { 5490 return "translate(0," + y + ")"; 5491} 5492 5493function number(scale) { 5494 return d => +scale(d); 5495} 5496 5497function center(scale, offset) { 5498 offset = Math.max(0, scale.bandwidth() - offset * 2) / 2; 5499 if (scale.round()) offset = Math.round(offset); 5500 return d => +scale(d) + offset; 5501} 5502 5503function entering() { 5504 return !this.__axis; 5505} 5506 5507function axis(orient, scale) { 5508 var tickArguments = [], 5509 tickValues = null, 5510 tickFormat = null, 5511 tickSizeInner = 6, 5512 tickSizeOuter = 6, 5513 tickPadding = 3, 5514 offset = typeof window !== "undefined" && window.devicePixelRatio > 1 ? 0 : 0.5, 5515 k = orient === top || orient === left ? -1 : 1, 5516 x = orient === left || orient === right ? "x" : "y", 5517 transform = orient === top || orient === bottom ? translateX : translateY; 5518 5519 function axis(context) { 5520 var values = tickValues == null ? (scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain()) : tickValues, 5521 format = tickFormat == null ? (scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"]) : tickFormat, 5522 spacing = Math.max(tickSizeInner, 0) + tickPadding, 5523 range = scale.range(), 5524 range0 = +range[0] + offset, 5525 range1 = +range[range.length - 1] + offset, 5526 position = (scale.bandwidth ? center : number)(scale.copy(), offset), 5527 selection = context.selection ? context.selection() : context, 5528 path = selection.selectAll(".domain").data([null]), 5529 tick = selection.selectAll(".tick").data(values, scale).order(), 5530 tickExit = tick.exit(), 5531 tickEnter = tick.enter().append("g").attr("class", "tick"), 5532 line = tick.select("line"), 5533 text = tick.select("text"); 5534 5535 path = path.merge(path.enter().insert("path", ".tick") 5536 .attr("class", "domain") 5537 .attr("stroke", "currentColor")); 5538 5539 tick = tick.merge(tickEnter); 5540 5541 line = line.merge(tickEnter.append("line") 5542 .attr("stroke", "currentColor") 5543 .attr(x + "2", k * tickSizeInner)); 5544 5545 text = text.merge(tickEnter.append("text") 5546 .attr("fill", "currentColor") 5547 .attr(x, k * spacing) 5548 .attr("dy", orient === top ? "0em" : orient === bottom ? "0.71em" : "0.32em")); 5549 5550 if (context !== selection) { 5551 path = path.transition(context); 5552 tick = tick.transition(context); 5553 line = line.transition(context); 5554 text = text.transition(context); 5555 5556 tickExit = tickExit.transition(context) 5557 .attr("opacity", epsilon) 5558 .attr("transform", function(d) { return isFinite(d = position(d)) ? transform(d + offset) : this.getAttribute("transform"); }); 5559 5560 tickEnter 5561 .attr("opacity", epsilon) 5562 .attr("transform", function(d) { var p = this.parentNode.__axis; return transform((p && isFinite(p = p(d)) ? p : position(d)) + offset); }); 5563 } 5564 5565 tickExit.remove(); 5566 5567 path 5568 .attr("d", orient === left || orient === right 5569 ? (tickSizeOuter ? "M" + k * tickSizeOuter + "," + range0 + "H" + offset + "V" + range1 + "H" + k * tickSizeOuter : "M" + offset + "," + range0 + "V" + range1) 5570 : (tickSizeOuter ? "M" + range0 + "," + k * tickSizeOuter + "V" + offset + "H" + range1 + "V" + k * tickSizeOuter : "M" + range0 + "," + offset + "H" + range1)); 5571 5572 tick 5573 .attr("opacity", 1) 5574 .attr("transform", function(d) { return transform(position(d) + offset); }); 5575 5576 line 5577 .attr(x + "2", k * tickSizeInner); 5578 5579 text 5580 .attr(x, k * spacing) 5581 .text(format); 5582 5583 selection.filter(entering) 5584 .attr("fill", "none") 5585 .attr("font-size", 10) 5586 .attr("font-family", "sans-serif") 5587 .attr("text-anchor", orient === right ? "start" : orient === left ? "end" : "middle"); 5588 5589 selection 5590 .each(function() { this.__axis = position; }); 5591 } 5592 5593 axis.scale = function(_) { 5594 return arguments.length ? (scale = _, axis) : scale; 5595 }; 5596 5597 axis.ticks = function() { 5598 return tickArguments = Array.from(arguments), axis; 5599 }; 5600 5601 axis.tickArguments = function(_) { 5602 return arguments.length ? (tickArguments = _ == null ? [] : Array.from(_), axis) : tickArguments.slice(); 5603 }; 5604 5605 axis.tickValues = function(_) { 5606 return arguments.length ? (tickValues = _ == null ? null : Array.from(_), axis) : tickValues && tickValues.slice(); 5607 }; 5608 5609 axis.tickFormat = function(_) { 5610 return arguments.length ? (tickFormat = _, axis) : tickFormat; 5611 }; 5612 5613 axis.tickSize = function(_) { 5614 return arguments.length ? (tickSizeInner = tickSizeOuter = +_, axis) : tickSizeInner; 5615 }; 5616 5617 axis.tickSizeInner = function(_) { 5618 return arguments.length ? (tickSizeInner = +_, axis) : tickSizeInner; 5619 }; 5620 5621 axis.tickSizeOuter = function(_) { 5622 return arguments.length ? (tickSizeOuter = +_, axis) : tickSizeOuter; 5623 }; 5624 5625 axis.tickPadding = function(_) { 5626 return arguments.length ? (tickPadding = +_, axis) : tickPadding; 5627 }; 5628 5629 axis.offset = function(_) { 5630 return arguments.length ? (offset = +_, axis) : offset; 5631 }; 5632 5633 return axis; 5634} 5635 5636function axisTop(scale) { 5637 return axis(top, scale); 5638} 5639 5640function axisRight(scale) { 5641 return axis(right, scale); 5642} 5643 5644function axisBottom(scale) { 5645 return axis(bottom, scale); 5646} 5647 5648function axisLeft(scale) { 5649 return axis(left, scale); 5650} 5651 5652 5653/***/ }), 5654
vendor: 626 bytes, lines 5655-5671
5655/***/ "./node_modules/d3-axis/src/identity.js": 5656/*!**********************************************!*\ 5657 !*** ./node_modules/d3-axis/src/identity.js ***! 5658 \**********************************************/ 5659/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5660 5661__webpack_require__.r(__webpack_exports__); 5662/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5663/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 5664/* harmony export */ }); 5665/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 5666 return x; 5667} 5668 5669 5670/***/ }), 5671
vendor: 1,013 bytes, lines 5672-5690
5672/***/ "./node_modules/d3-axis/src/index.js": 5673/*!*******************************************!*\ 5674 !*** ./node_modules/d3-axis/src/index.js ***! 5675 \*******************************************/ 5676/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5677 5678__webpack_require__.r(__webpack_exports__); 5679/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5680/* harmony export */ axisBottom: () => (/* reexport safe */ _axis_js__WEBPACK_IMPORTED_MODULE_0__.axisBottom), 5681/* harmony export */ axisLeft: () => (/* reexport safe */ _axis_js__WEBPACK_IMPORTED_MODULE_0__.axisLeft), 5682/* harmony export */ axisRight: () => (/* reexport safe */ _axis_js__WEBPACK_IMPORTED_MODULE_0__.axisRight), 5683/* harmony export */ axisTop: () => (/* reexport safe */ _axis_js__WEBPACK_IMPORTED_MODULE_0__.axisTop) 5684/* harmony export */ }); 5685/* harmony import */ var _axis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./axis.js */ "./node_modules/d3-axis/src/axis.js"); 5686 5687 5688 5689/***/ }), 5690
vendor: 21,016 bytes, lines 5691-6337
5691/***/ "./node_modules/d3-brush/src/brush.js": 5692/*!********************************************!*\ 5693 !*** ./node_modules/d3-brush/src/brush.js ***! 5694 \********************************************/ 5695/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 5696 5697__webpack_require__.r(__webpack_exports__); 5698/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5699/* harmony export */ brushSelection: () => (/* binding */ brushSelection), 5700/* harmony export */ brushX: () => (/* binding */ brushX), 5701/* harmony export */ brushY: () => (/* binding */ brushY), 5702/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 5703/* harmony export */ }); 5704/* harmony import */ var d3_dispatch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! d3-dispatch */ "./node_modules/d3-dispatch/src/dispatch.js"); 5705/* harmony import */ var d3_drag__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! d3-drag */ "./node_modules/d3-drag/src/nodrag.js"); 5706/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/value.js"); 5707/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/select.js"); 5708/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/pointer.js"); 5709/* harmony import */ var d3_transition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-transition */ "./node_modules/d3-transition/src/index.js"); 5710/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-brush/src/constant.js"); 5711/* harmony import */ var _event_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./event.js */ "./node_modules/d3-brush/src/event.js"); 5712/* harmony import */ var _noevent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./noevent.js */ "./node_modules/d3-brush/src/noevent.js"); 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722var MODE_DRAG = {name: "drag"}, 5723 MODE_SPACE = {name: "space"}, 5724 MODE_HANDLE = {name: "handle"}, 5725 MODE_CENTER = {name: "center"}; 5726 5727const {abs, max, min} = Math; 5728 5729function number1(e) { 5730 return [+e[0], +e[1]]; 5731} 5732 5733function number2(e) { 5734 return [number1(e[0]), number1(e[1])]; 5735} 5736 5737var X = { 5738 name: "x", 5739 handles: ["w", "e"].map(type), 5740 input: function(x, e) { return x == null ? null : [[+x[0], e[0][1]], [+x[1], e[1][1]]]; }, 5741 output: function(xy) { return xy && [xy[0][0], xy[1][0]]; } 5742}; 5743 5744var Y = { 5745 name: "y", 5746 handles: ["n", "s"].map(type), 5747 input: function(y, e) { return y == null ? null : [[e[0][0], +y[0]], [e[1][0], +y[1]]]; }, 5748 output: function(xy) { return xy && [xy[0][1], xy[1][1]]; } 5749}; 5750 5751var XY = { 5752 name: "xy", 5753 handles: ["n", "w", "e", "s", "nw", "ne", "sw", "se"].map(type), 5754 input: function(xy) { return xy == null ? null : number2(xy); }, 5755 output: function(xy) { return xy; } 5756}; 5757 5758var cursors = { 5759 overlay: "crosshair", 5760 selection: "move", 5761 n: "ns-resize", 5762 e: "ew-resize", 5763 s: "ns-resize", 5764 w: "ew-resize", 5765 nw: "nwse-resize", 5766 ne: "nesw-resize", 5767 se: "nwse-resize", 5768 sw: "nesw-resize" 5769}; 5770 5771var flipX = { 5772 e: "w", 5773 w: "e", 5774 nw: "ne", 5775 ne: "nw", 5776 se: "sw", 5777 sw: "se" 5778}; 5779 5780var flipY = { 5781 n: "s", 5782 s: "n", 5783 nw: "sw", 5784 ne: "se", 5785 se: "ne", 5786 sw: "nw" 5787}; 5788 5789var signsX = { 5790 overlay: +1, 5791 selection: +1, 5792 n: null, 5793 e: +1, 5794 s: null, 5795 w: -1, 5796 nw: -1, 5797 ne: +1, 5798 se: +1, 5799 sw: -1 5800}; 5801 5802var signsY = { 5803 overlay: +1, 5804 selection: +1, 5805 n: -1, 5806 e: null, 5807 s: +1, 5808 w: null, 5809 nw: -1, 5810 ne: -1, 5811 se: +1, 5812 sw: +1 5813}; 5814 5815function type(t) { 5816 return {type: t}; 5817} 5818 5819// Ignore right-click, since that should open the context menu. 5820function defaultFilter(event) { 5821 return !event.ctrlKey && !event.button; 5822} 5823 5824function defaultExtent() { 5825 var svg = this.ownerSVGElement || this; 5826 if (svg.hasAttribute("viewBox")) { 5827 svg = svg.viewBox.baseVal; 5828 return [[svg.x, svg.y], [svg.x + svg.width, svg.y + svg.height]]; 5829 } 5830 return [[0, 0], [svg.width.baseVal.value, svg.height.baseVal.value]]; 5831} 5832 5833function defaultTouchable() { 5834 return navigator.maxTouchPoints || ("ontouchstart" in this); 5835} 5836 5837// Like d3.local, but with the name â__brushâ rather than auto-generated. 5838function local(node) { 5839 while (!node.__brush) if (!(node = node.parentNode)) return; 5840 return node.__brush; 5841} 5842 5843function empty(extent) { 5844 return extent[0][0] === extent[1][0] 5845 || extent[0][1] === extent[1][1]; 5846} 5847 5848function brushSelection(node) { 5849 var state = node.__brush; 5850 return state ? state.dim.output(state.selection) : null; 5851} 5852 5853function brushX() { 5854 return brush(X); 5855} 5856 5857function brushY() { 5858 return brush(Y); 5859} 5860 5861/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 5862 return brush(XY); 5863} 5864 5865function brush(dim) { 5866 var extent = defaultExtent, 5867 filter = defaultFilter, 5868 touchable = defaultTouchable, 5869 keys = true, 5870 listeners = (0,d3_dispatch__WEBPACK_IMPORTED_MODULE_4__["default"])("start", "brush", "end"), 5871 handleSize = 6, 5872 touchending; 5873 5874 function brush(group) { 5875 var overlay = group 5876 .property("__brush", initialize) 5877 .selectAll(".overlay") 5878 .data([type("overlay")]); 5879 5880 overlay.enter().append("rect") 5881 .attr("class", "overlay") 5882 .attr("pointer-events", "all") 5883 .attr("cursor", cursors.overlay) 5884 .merge(overlay) 5885 .each(function() { 5886 var extent = local(this).extent; 5887 (0,d3_selection__WEBPACK_IMPORTED_MODULE_5__["default"])(this) 5888 .attr("x", extent[0][0]) 5889 .attr("y", extent[0][1]) 5890 .attr("width", extent[1][0] - extent[0][0]) 5891 .attr("height", extent[1][1] - extent[0][1]); 5892 }); 5893 5894 group.selectAll(".selection") 5895 .data([type("selection")]) 5896 .enter().append("rect") 5897 .attr("class", "selection") 5898 .attr("cursor", cursors.selection) 5899 .attr("fill", "#777") 5900 .attr("fill-opacity", 0.3) 5901 .attr("stroke", "#fff") 5902 .attr("shape-rendering", "crispEdges"); 5903 5904 var handle = group.selectAll(".handle") 5905 .data(dim.handles, function(d) { return d.type; }); 5906 5907 handle.exit().remove(); 5908 5909 handle.enter().append("rect") 5910 .attr("class", function(d) { return "handle handle--" + d.type; }) 5911 .attr("cursor", function(d) { return cursors[d.type]; }); 5912 5913 group 5914 .each(redraw) 5915 .attr("fill", "none") 5916 .attr("pointer-events", "all") 5917 .on("mousedown.brush", started) 5918 .filter(touchable) 5919 .on("touchstart.brush", started) 5920 .on("touchmove.brush", touchmoved) 5921 .on("touchend.brush touchcancel.brush", touchended) 5922 .style("touch-action", "none") 5923 .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); 5924 } 5925 5926 brush.move = function(group, selection, event) { 5927 if (group.tween) { 5928 group 5929 .on("start.brush", function(event) { emitter(this, arguments).beforestart().start(event); }) 5930 .on("interrupt.brush end.brush", function(event) { emitter(this, arguments).end(event); }) 5931 .tween("brush", function() { 5932 var that = this, 5933 state = that.__brush, 5934 emit = emitter(that, arguments), 5935 selection0 = state.selection, 5936 selection1 = dim.input(typeof selection === "function" ? selection.apply(this, arguments) : selection, state.extent), 5937 i = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_6__["default"])(selection0, selection1); 5938 5939 function tween(t) { 5940 state.selection = t === 1 && selection1 === null ? null : i(t); 5941 redraw.call(that); 5942 emit.brush(); 5943 } 5944 5945 return selection0 !== null && selection1 !== null ? tween : tween(1); 5946 }); 5947 } else { 5948 group 5949 .each(function() { 5950 var that = this, 5951 args = arguments, 5952 state = that.__brush, 5953 selection1 = dim.input(typeof selection === "function" ? selection.apply(that, args) : selection, state.extent), 5954 emit = emitter(that, args).beforestart(); 5955 5956 (0,d3_transition__WEBPACK_IMPORTED_MODULE_0__.interrupt)(that); 5957 state.selection = selection1 === null ? null : selection1; 5958 redraw.call(that); 5959 emit.start(event).brush(event).end(event); 5960 }); 5961 } 5962 }; 5963 5964 brush.clear = function(group, event) { 5965 brush.move(group, null, event); 5966 }; 5967 5968 function redraw() { 5969 var group = (0,d3_selection__WEBPACK_IMPORTED_MODULE_5__["default"])(this), 5970 selection = local(this).selection; 5971 5972 if (selection) { 5973 group.selectAll(".selection") 5974 .style("display", null) 5975 .attr("x", selection[0][0]) 5976 .attr("y", selection[0][1]) 5977 .attr("width", selection[1][0] - selection[0][0]) 5978 .attr("height", selection[1][1] - selection[0][1]); 5979 5980 group.selectAll(".handle") 5981 .style("display", null) 5982 .attr("x", function(d) { return d.type[d.type.length - 1] === "e" ? selection[1][0] - handleSize / 2 : selection[0][0] - handleSize / 2; }) 5983 .attr("y", function(d) { return d.type[0] === "s" ? selection[1][1] - handleSize / 2 : selection[0][1] - handleSize / 2; }) 5984 .attr("width", function(d) { return d.type === "n" || d.type === "s" ? selection[1][0] - selection[0][0] + handleSize : handleSize; }) 5985 .attr("height", function(d) { return d.type === "e" || d.type === "w" ? selection[1][1] - selection[0][1] + handleSize : handleSize; }); 5986 } 5987 5988 else { 5989 group.selectAll(".selection,.handle") 5990 .style("display", "none") 5991 .attr("x", null) 5992 .attr("y", null) 5993 .attr("width", null) 5994 .attr("height", null); 5995 } 5996 } 5997 5998 function emitter(that, args, clean) { 5999 var emit = that.__brush.emitter; 6000 return emit && (!clean || !emit.clean) ? emit : new Emitter(that, args, clean); 6001 } 6002 6003 function Emitter(that, args, clean) { 6004 this.that = that; 6005 this.args = args; 6006 this.state = that.__brush; 6007 this.active = 0; 6008 this.clean = clean; 6009 } 6010 6011 Emitter.prototype = { 6012 beforestart: function() { 6013 if (++this.active === 1) this.state.emitter = this, this.starting = true; 6014 return this; 6015 }, 6016 start: function(event, mode) { 6017 if (this.starting) this.starting = false, this.emit("start", event, mode); 6018 else this.emit("brush", event); 6019 return this; 6020 }, 6021 brush: function(event, mode) { 6022 this.emit("brush", event, mode); 6023 return this; 6024 }, 6025 end: function(event, mode) { 6026 if (--this.active === 0) delete this.state.emitter, this.emit("end", event, mode); 6027 return this; 6028 }, 6029 emit: function(type, event, mode) { 6030 var d = (0,d3_selection__WEBPACK_IMPORTED_MODULE_5__["default"])(this.that).datum(); 6031 listeners.call( 6032 type, 6033 this.that, 6034 new _event_js__WEBPACK_IMPORTED_MODULE_2__["default"](type, { 6035 sourceEvent: event, 6036 target: brush, 6037 selection: dim.output(this.state.selection), 6038 mode, 6039 dispatch: listeners 6040 }), 6041 d 6042 ); 6043 } 6044 }; 6045 6046 function started(event) { 6047 if (touchending && !event.touches) return; 6048 if (!filter.apply(this, arguments)) return; 6049 6050 var that = this, 6051 type = event.target.__data__.type, 6052 mode = (keys && event.metaKey ? type = "overlay" : type) === "selection" ? MODE_DRAG : (keys && event.altKey ? MODE_CENTER : MODE_HANDLE), 6053 signX = dim === Y ? null : signsX[type], 6054 signY = dim === X ? null : signsY[type], 6055 state = local(that), 6056 extent = state.extent, 6057 selection = state.selection, 6058 W = extent[0][0], w0, w1, 6059 N = extent[0][1], n0, n1, 6060 E = extent[1][0], e0, e1, 6061 S = extent[1][1], s0, s1, 6062 dx = 0, 6063 dy = 0, 6064 moving, 6065 shifting = signX && signY && keys && event.shiftKey, 6066 lockX, 6067 lockY, 6068 points = Array.from(event.touches || [event], t => { 6069 const i = t.identifier; 6070 t = (0,d3_selection__WEBPACK_IMPORTED_MODULE_7__["default"])(t, that); 6071 t.point0 = t.slice(); 6072 t.identifier = i; 6073 return t; 6074 }); 6075 6076 (0,d3_transition__WEBPACK_IMPORTED_MODULE_0__.interrupt)(that); 6077 var emit = emitter(that, arguments, true).beforestart(); 6078 6079 if (type === "overlay") { 6080 if (selection) moving = true; 6081 const pts = [points[0], points[1] || points[0]]; 6082 state.selection = selection = [[ 6083 w0 = dim === Y ? W : min(pts[0][0], pts[1][0]), 6084 n0 = dim === X ? N : min(pts[0][1], pts[1][1]) 6085 ], [ 6086 e0 = dim === Y ? E : max(pts[0][0], pts[1][0]), 6087 s0 = dim === X ? S : max(pts[0][1], pts[1][1]) 6088 ]]; 6089 if (points.length > 1) move(event); 6090 } else { 6091 w0 = selection[0][0]; 6092 n0 = selection[0][1]; 6093 e0 = selection[1][0]; 6094 s0 = selection[1][1]; 6095 } 6096 6097 w1 = w0; 6098 n1 = n0; 6099 e1 = e0; 6100 s1 = s0; 6101 6102 var group = (0,d3_selection__WEBPACK_IMPORTED_MODULE_5__["default"])(that) 6103 .attr("pointer-events", "none"); 6104 6105 var overlay = group.selectAll(".overlay") 6106 .attr("cursor", cursors[type]); 6107 6108 if (event.touches) { 6109 emit.moved = moved; 6110 emit.ended = ended; 6111 } else { 6112 var view = (0,d3_selection__WEBPACK_IMPORTED_MODULE_5__["default"])(event.view) 6113 .on("mousemove.brush", moved, true) 6114 .on("mouseup.brush", ended, true); 6115 if (keys) view 6116 .on("keydown.brush", keydowned, true) 6117 .on("keyup.brush", keyupped, true) 6118 6119 ;(0,d3_drag__WEBPACK_IMPORTED_MODULE_8__["default"])(event.view); 6120 } 6121 6122 redraw.call(that); 6123 emit.start(event, mode.name); 6124 6125 function moved(event) { 6126 for (const p of event.changedTouches || [event]) { 6127 for (const d of points) 6128 if (d.identifier === p.identifier) d.cur = (0,d3_selection__WEBPACK_IMPORTED_MODULE_7__["default"])(p, that); 6129 } 6130 if (shifting && !lockX && !lockY && points.length === 1) { 6131 const point = points[0]; 6132 if (abs(point.cur[0] - point[0]) > abs(point.cur[1] - point[1])) 6133 lockY = true; 6134 else 6135 lockX = true; 6136 } 6137 for (const point of points) 6138 if (point.cur) point[0] = point.cur[0], point[1] = point.cur[1]; 6139 moving = true; 6140 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])(event); 6141 move(event); 6142 } 6143 6144 function move(event) { 6145 const point = points[0], point0 = point.point0; 6146 var t; 6147 6148 dx = point[0] - point0[0]; 6149 dy = point[1] - point0[1]; 6150 6151 switch (mode) { 6152 case MODE_SPACE: 6153 case MODE_DRAG: { 6154 if (signX) dx = max(W - w0, min(E - e0, dx)), w1 = w0 + dx, e1 = e0 + dx; 6155 if (signY) dy = max(N - n0, min(S - s0, dy)), n1 = n0 + dy, s1 = s0 + dy; 6156 break; 6157 } 6158 case MODE_HANDLE: { 6159 if (points[1]) { 6160 if (signX) w1 = max(W, min(E, points[0][0])), e1 = max(W, min(E, points[1][0])), signX = 1; 6161 if (signY) n1 = max(N, min(S, points[0][1])), s1 = max(N, min(S, points[1][1])), signY = 1; 6162 } else { 6163 if (signX < 0) dx = max(W - w0, min(E - w0, dx)), w1 = w0 + dx, e1 = e0; 6164 else if (signX > 0) dx = max(W - e0, min(E - e0, dx)), w1 = w0, e1 = e0 + dx; 6165 if (signY < 0) dy = max(N - n0, min(S - n0, dy)), n1 = n0 + dy, s1 = s0; 6166 else if (signY > 0) dy = max(N - s0, min(S - s0, dy)), n1 = n0, s1 = s0 + dy; 6167 } 6168 break; 6169 } 6170 case MODE_CENTER: { 6171 if (signX) w1 = max(W, min(E, w0 - dx * signX)), e1 = max(W, min(E, e0 + dx * signX)); 6172 if (signY) n1 = max(N, min(S, n0 - dy * signY)), s1 = max(N, min(S, s0 + dy * signY)); 6173 break; 6174 } 6175 } 6176 6177 if (e1 < w1) { 6178 signX *= -1; 6179 t = w0, w0 = e0, e0 = t; 6180 t = w1, w1 = e1, e1 = t; 6181 if (type in flipX) overlay.attr("cursor", cursors[type = flipX[type]]); 6182 } 6183 6184 if (s1 < n1) { 6185 signY *= -1; 6186 t = n0, n0 = s0, s0 = t; 6187 t = n1, n1 = s1, s1 = t; 6188 if (type in flipY) overlay.attr("cursor", cursors[type = flipY[type]]); 6189 } 6190 6191 if (state.selection) selection = state.selection; // May be set by brush.move! 6192 if (lockX) w1 = selection[0][0], e1 = selection[1][0]; 6193 if (lockY) n1 = selection[0][1], s1 = selection[1][1]; 6194 6195 if (selection[0][0] !== w1 6196 || selection[0][1] !== n1 6197 || selection[1][0] !== e1 6198 || selection[1][1] !== s1) { 6199 state.selection = [[w1, n1], [e1, s1]]; 6200 redraw.call(that); 6201 emit.brush(event, mode.name); 6202 } 6203 } 6204 6205 function ended(event) { 6206 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_3__.nopropagation)(event); 6207 if (event.touches) { 6208 if (event.touches.length) return; 6209 if (touchending) clearTimeout(touchending); 6210 touchending = setTimeout(function() { touchending = null; }, 500); // Ghost clicks are delayed! 6211 } else { 6212 (0,d3_drag__WEBPACK_IMPORTED_MODULE_8__.yesdrag)(event.view, moving); 6213 view.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null); 6214 } 6215 group.attr("pointer-events", "all"); 6216 overlay.attr("cursor", cursors.overlay); 6217 if (state.selection) selection = state.selection; // May be set by brush.move (on start)! 6218 if (empty(selection)) state.selection = null, redraw.call(that); 6219 emit.end(event, mode.name); 6220 } 6221 6222 function keydowned(event) { 6223 switch (event.keyCode) { 6224 case 16: { // SHIFT 6225 shifting = signX && signY; 6226 break; 6227 } 6228 case 18: { // ALT 6229 if (mode === MODE_HANDLE) { 6230 if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX; 6231 if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY; 6232 mode = MODE_CENTER; 6233 move(event); 6234 } 6235 break; 6236 } 6237 case 32: { // SPACE; takes priority over ALT 6238 if (mode === MODE_HANDLE || mode === MODE_CENTER) { 6239 if (signX < 0) e0 = e1 - dx; else if (signX > 0) w0 = w1 - dx; 6240 if (signY < 0) s0 = s1 - dy; else if (signY > 0) n0 = n1 - dy; 6241 mode = MODE_SPACE; 6242 overlay.attr("cursor", cursors.selection); 6243 move(event); 6244 } 6245 break; 6246 } 6247 default: return; 6248 } 6249 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])(event); 6250 } 6251 6252 function keyupped(event) { 6253 switch (event.keyCode) { 6254 case 16: { // SHIFT 6255 if (shifting) { 6256 lockX = lockY = shifting = false; 6257 move(event); 6258 } 6259 break; 6260 } 6261 case 18: { // ALT 6262 if (mode === MODE_CENTER) { 6263 if (signX < 0) e0 = e1; else if (signX > 0) w0 = w1; 6264 if (signY < 0) s0 = s1; else if (signY > 0) n0 = n1; 6265 mode = MODE_HANDLE; 6266 move(event); 6267 } 6268 break; 6269 } 6270 case 32: { // SPACE 6271 if (mode === MODE_SPACE) { 6272 if (event.altKey) { 6273 if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX; 6274 if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY; 6275 mode = MODE_CENTER; 6276 } else { 6277 if (signX < 0) e0 = e1; else if (signX > 0) w0 = w1; 6278 if (signY < 0) s0 = s1; else if (signY > 0) n0 = n1; 6279 mode = MODE_HANDLE; 6280 } 6281 overlay.attr("cursor", cursors[type]); 6282 move(event); 6283 } 6284 break; 6285 } 6286 default: return; 6287 } 6288 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])(event); 6289 } 6290 } 6291 6292 function touchmoved(event) { 6293 emitter(this, arguments).moved(event); 6294 } 6295 6296 function touchended(event) { 6297 emitter(this, arguments).ended(event); 6298 } 6299 6300 function initialize() { 6301 var state = this.__brush || {selection: null}; 6302 state.extent = number2(extent.apply(this, arguments)); 6303 state.dim = dim; 6304 return state; 6305 } 6306 6307 brush.extent = function(_) { 6308 return arguments.length ? (extent = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(number2(_)), brush) : extent; 6309 }; 6310 6311 brush.filter = function(_) { 6312 return arguments.length ? (filter = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(!!_), brush) : filter; 6313 }; 6314 6315 brush.touchable = function(_) { 6316 return arguments.length ? (touchable = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(!!_), brush) : touchable; 6317 }; 6318 6319 brush.handleSize = function(_) { 6320 return arguments.length ? (handleSize = +_, brush) : handleSize; 6321 }; 6322 6323 brush.keyModifiers = function(_) { 6324 return arguments.length ? (keys = !!_, brush) : keys; 6325 }; 6326 6327 brush.on = function() { 6328 var value = listeners.on.apply(listeners, arguments); 6329 return value === listeners ? brush : value; 6330 }; 6331 6332 return brush; 6333} 6334 6335 6336/***/ }), 6337
vendor: 597 bytes, lines 6338-6352
6338/***/ "./node_modules/d3-brush/src/constant.js": 6339/*!***********************************************!*\ 6340 !*** ./node_modules/d3-brush/src/constant.js ***! 6341 \***********************************************/ 6342/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6343 6344__webpack_require__.r(__webpack_exports__); 6345/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6346/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 6347/* harmony export */ }); 6348/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (x => () => x); 6349 6350 6351/***/ }), 6352
vendor: 1,003 bytes, lines 6353-6382
6353/***/ "./node_modules/d3-brush/src/event.js": 6354/*!********************************************!*\ 6355 !*** ./node_modules/d3-brush/src/event.js ***! 6356 \********************************************/ 6357/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6358 6359__webpack_require__.r(__webpack_exports__); 6360/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6361/* harmony export */ "default": () => (/* binding */ BrushEvent) 6362/* harmony export */ }); 6363function BrushEvent(type, { 6364 sourceEvent, 6365 target, 6366 selection, 6367 mode, 6368 dispatch 6369}) { 6370 Object.defineProperties(this, { 6371 type: {value: type, enumerable: true, configurable: true}, 6372 sourceEvent: {value: sourceEvent, enumerable: true, configurable: true}, 6373 target: {value: target, enumerable: true, configurable: true}, 6374 selection: {value: selection, enumerable: true, configurable: true}, 6375 mode: {value: mode, enumerable: true, configurable: true}, 6376 _: {value: dispatch} 6377 }); 6378} 6379 6380 6381/***/ }), 6382
vendor: 1,024 bytes, lines 6383-6401
6383/***/ "./node_modules/d3-brush/src/index.js": 6384/*!********************************************!*\ 6385 !*** ./node_modules/d3-brush/src/index.js ***! 6386 \********************************************/ 6387/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6388 6389__webpack_require__.r(__webpack_exports__); 6390/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6391/* harmony export */ brush: () => (/* reexport safe */ _brush_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 6392/* harmony export */ brushSelection: () => (/* reexport safe */ _brush_js__WEBPACK_IMPORTED_MODULE_0__.brushSelection), 6393/* harmony export */ brushX: () => (/* reexport safe */ _brush_js__WEBPACK_IMPORTED_MODULE_0__.brushX), 6394/* harmony export */ brushY: () => (/* reexport safe */ _brush_js__WEBPACK_IMPORTED_MODULE_0__.brushY) 6395/* harmony export */ }); 6396/* harmony import */ var _brush_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./brush.js */ "./node_modules/d3-brush/src/brush.js"); 6397 6398 6399 6400/***/ }), 6401
vendor: 826 bytes, lines 6402-6424
6402/***/ "./node_modules/d3-brush/src/noevent.js": 6403/*!**********************************************!*\ 6404 !*** ./node_modules/d3-brush/src/noevent.js ***! 6405 \**********************************************/ 6406/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6407 6408__webpack_require__.r(__webpack_exports__); 6409/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6410/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 6411/* harmony export */ nopropagation: () => (/* binding */ nopropagation) 6412/* harmony export */ }); 6413function nopropagation(event) { 6414 event.stopImmediatePropagation(); 6415} 6416 6417/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(event) { 6418 event.preventDefault(); 6419 event.stopImmediatePropagation(); 6420} 6421 6422 6423/***/ }), 6424
vendor: 529 bytes, lines 6425-6439
6425/***/ "./node_modules/d3-chord/src/array.js": 6426/*!********************************************!*\ 6427 !*** ./node_modules/d3-chord/src/array.js ***! 6428 \********************************************/ 6429/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6430 6431__webpack_require__.r(__webpack_exports__); 6432/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6433/* harmony export */ slice: () => (/* binding */ slice) 6434/* harmony export */ }); 6435var slice = Array.prototype.slice; 6436 6437 6438/***/ }), 6439
vendor: 5,354 bytes, lines 6440-6578
6440/***/ "./node_modules/d3-chord/src/chord.js": 6441/*!********************************************!*\ 6442 !*** ./node_modules/d3-chord/src/chord.js ***! 6443 \********************************************/ 6444/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6445 6446__webpack_require__.r(__webpack_exports__); 6447/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6448/* harmony export */ chordDirected: () => (/* binding */ chordDirected), 6449/* harmony export */ chordTranspose: () => (/* binding */ chordTranspose), 6450/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 6451/* harmony export */ }); 6452/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-chord/src/math.js"); 6453 6454 6455function range(i, j) { 6456 return Array.from({length: j - i}, (_, k) => i + k); 6457} 6458 6459function compareValue(compare) { 6460 return function(a, b) { 6461 return compare( 6462 a.source.value + a.target.value, 6463 b.source.value + b.target.value 6464 ); 6465 }; 6466} 6467 6468/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 6469 return chord(false, false); 6470} 6471 6472function chordTranspose() { 6473 return chord(false, true); 6474} 6475 6476function chordDirected() { 6477 return chord(true, false); 6478} 6479 6480function chord(directed, transpose) { 6481 var padAngle = 0, 6482 sortGroups = null, 6483 sortSubgroups = null, 6484 sortChords = null; 6485 6486 function chord(matrix) { 6487 var n = matrix.length, 6488 groupSums = new Array(n), 6489 groupIndex = range(0, n), 6490 chords = new Array(n * n), 6491 groups = new Array(n), 6492 k = 0, dx; 6493 6494 matrix = Float64Array.from({length: n * n}, transpose 6495 ? (_, i) => matrix[i % n][i / n | 0] 6496 : (_, i) => matrix[i / n | 0][i % n]); 6497 6498 // Compute the scaling factor from value to angle in [0, 2pi]. 6499 for (let i = 0; i < n; ++i) { 6500 let x = 0; 6501 for (let j = 0; j < n; ++j) x += matrix[i * n + j] + directed * matrix[j * n + i]; 6502 k += groupSums[i] = x; 6503 } 6504 k = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.max)(0, _math_js__WEBPACK_IMPORTED_MODULE_0__.tau - padAngle * n) / k; 6505 dx = k ? padAngle : _math_js__WEBPACK_IMPORTED_MODULE_0__.tau / n; 6506 6507 // Compute the angles for each group and constituent chord. 6508 { 6509 let x = 0; 6510 if (sortGroups) groupIndex.sort((a, b) => sortGroups(groupSums[a], groupSums[b])); 6511 for (const i of groupIndex) { 6512 const x0 = x; 6513 if (directed) { 6514 const subgroupIndex = range(~n + 1, n).filter(j => j < 0 ? matrix[~j * n + i] : matrix[i * n + j]); 6515 if (sortSubgroups) subgroupIndex.sort((a, b) => sortSubgroups(a < 0 ? -matrix[~a * n + i] : matrix[i * n + a], b < 0 ? -matrix[~b * n + i] : matrix[i * n + b])); 6516 for (const j of subgroupIndex) { 6517 if (j < 0) { 6518 const chord = chords[~j * n + i] || (chords[~j * n + i] = {source: null, target: null}); 6519 chord.target = {index: i, startAngle: x, endAngle: x += matrix[~j * n + i] * k, value: matrix[~j * n + i]}; 6520 } else { 6521 const chord = chords[i * n + j] || (chords[i * n + j] = {source: null, target: null}); 6522 chord.source = {index: i, startAngle: x, endAngle: x += matrix[i * n + j] * k, value: matrix[i * n + j]}; 6523 } 6524 } 6525 groups[i] = {index: i, startAngle: x0, endAngle: x, value: groupSums[i]}; 6526 } else { 6527 const subgroupIndex = range(0, n).filter(j => matrix[i * n + j] || matrix[j * n + i]); 6528 if (sortSubgroups) subgroupIndex.sort((a, b) => sortSubgroups(matrix[i * n + a], matrix[i * n + b])); 6529 for (const j of subgroupIndex) { 6530 let chord; 6531 if (i < j) { 6532 chord = chords[i * n + j] || (chords[i * n + j] = {source: null, target: null}); 6533 chord.source = {index: i, startAngle: x, endAngle: x += matrix[i * n + j] * k, value: matrix[i * n + j]}; 6534 } else { 6535 chord = chords[j * n + i] || (chords[j * n + i] = {source: null, target: null}); 6536 chord.target = {index: i, startAngle: x, endAngle: x += matrix[i * n + j] * k, value: matrix[i * n + j]}; 6537 if (i === j) chord.source = chord.target; 6538 } 6539 if (chord.source && chord.target && chord.source.value < chord.target.value) { 6540 const source = chord.source; 6541 chord.source = chord.target; 6542 chord.target = source; 6543 } 6544 } 6545 groups[i] = {index: i, startAngle: x0, endAngle: x, value: groupSums[i]}; 6546 } 6547 x += dx; 6548 } 6549 } 6550 6551 // Remove empty chords. 6552 chords = Object.values(chords); 6553 chords.groups = groups; 6554 return sortChords ? chords.sort(sortChords) : chords; 6555 } 6556 6557 chord.padAngle = function(_) { 6558 return arguments.length ? (padAngle = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.max)(0, _), chord) : padAngle; 6559 }; 6560 6561 chord.sortGroups = function(_) { 6562 return arguments.length ? (sortGroups = _, chord) : sortGroups; 6563 }; 6564 6565 chord.sortSubgroups = function(_) { 6566 return arguments.length ? (sortSubgroups = _, chord) : sortSubgroups; 6567 }; 6568 6569 chord.sortChords = function(_) { 6570 return arguments.length ? (_ == null ? sortChords = null : (sortChords = compareValue(_))._ = _, chord) : sortChords && sortChords._; 6571 }; 6572 6573 return chord; 6574} 6575 6576 6577/***/ }), 6578
vendor: 659 bytes, lines 6579-6597
6579/***/ "./node_modules/d3-chord/src/constant.js": 6580/*!***********************************************!*\ 6581 !*** ./node_modules/d3-chord/src/constant.js ***! 6582 \***********************************************/ 6583/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6584 6585__webpack_require__.r(__webpack_exports__); 6586/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6587/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 6588/* harmony export */ }); 6589/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 6590 return function() { 6591 return x; 6592 }; 6593} 6594 6595 6596/***/ }), 6597
vendor: 1,309 bytes, lines 6598-6619
6598/***/ "./node_modules/d3-chord/src/index.js": 6599/*!********************************************!*\ 6600 !*** ./node_modules/d3-chord/src/index.js ***! 6601 \********************************************/ 6602/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6603 6604__webpack_require__.r(__webpack_exports__); 6605/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6606/* harmony export */ chord: () => (/* reexport safe */ _chord_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 6607/* harmony export */ chordDirected: () => (/* reexport safe */ _chord_js__WEBPACK_IMPORTED_MODULE_0__.chordDirected), 6608/* harmony export */ chordTranspose: () => (/* reexport safe */ _chord_js__WEBPACK_IMPORTED_MODULE_0__.chordTranspose), 6609/* harmony export */ ribbon: () => (/* reexport safe */ _ribbon_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 6610/* harmony export */ ribbonArrow: () => (/* reexport safe */ _ribbon_js__WEBPACK_IMPORTED_MODULE_1__.ribbonArrow) 6611/* harmony export */ }); 6612/* harmony import */ var _chord_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chord.js */ "./node_modules/d3-chord/src/chord.js"); 6613/* harmony import */ var _ribbon_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ribbon.js */ "./node_modules/d3-chord/src/ribbon.js"); 6614 6615 6616 6617 6618/***/ }), 6619
vendor: 1,041 bytes, lines 6620-6648
6620/***/ "./node_modules/d3-chord/src/math.js": 6621/*!*******************************************!*\ 6622 !*** ./node_modules/d3-chord/src/math.js ***! 6623 \*******************************************/ 6624/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6625 6626__webpack_require__.r(__webpack_exports__); 6627/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6628/* harmony export */ abs: () => (/* binding */ abs), 6629/* harmony export */ cos: () => (/* binding */ cos), 6630/* harmony export */ epsilon: () => (/* binding */ epsilon), 6631/* harmony export */ halfPi: () => (/* binding */ halfPi), 6632/* harmony export */ max: () => (/* binding */ max), 6633/* harmony export */ pi: () => (/* binding */ pi), 6634/* harmony export */ sin: () => (/* binding */ sin), 6635/* harmony export */ tau: () => (/* binding */ tau) 6636/* harmony export */ }); 6637var abs = Math.abs; 6638var cos = Math.cos; 6639var sin = Math.sin; 6640var pi = Math.PI; 6641var halfPi = pi / 2; 6642var tau = pi * 2; 6643var max = Math.max; 6644var epsilon = 1e-12; 6645 6646 6647/***/ }), 6648
vendor: 6,338 bytes, lines 6649-6801
6649/***/ "./node_modules/d3-chord/src/ribbon.js": 6650/*!*********************************************!*\ 6651 !*** ./node_modules/d3-chord/src/ribbon.js ***! 6652 \*********************************************/ 6653/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6654 6655__webpack_require__.r(__webpack_exports__); 6656/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6657/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 6658/* harmony export */ ribbonArrow: () => (/* binding */ ribbonArrow) 6659/* harmony export */ }); 6660/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-path */ "./node_modules/d3-path/src/path.js"); 6661/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-chord/src/array.js"); 6662/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-chord/src/constant.js"); 6663/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-chord/src/math.js"); 6664 6665 6666 6667 6668 6669function defaultSource(d) { 6670 return d.source; 6671} 6672 6673function defaultTarget(d) { 6674 return d.target; 6675} 6676 6677function defaultRadius(d) { 6678 return d.radius; 6679} 6680 6681function defaultStartAngle(d) { 6682 return d.startAngle; 6683} 6684 6685function defaultEndAngle(d) { 6686 return d.endAngle; 6687} 6688 6689function defaultPadAngle() { 6690 return 0; 6691} 6692 6693function defaultArrowheadRadius() { 6694 return 10; 6695} 6696 6697function ribbon(headRadius) { 6698 var source = defaultSource, 6699 target = defaultTarget, 6700 sourceRadius = defaultRadius, 6701 targetRadius = defaultRadius, 6702 startAngle = defaultStartAngle, 6703 endAngle = defaultEndAngle, 6704 padAngle = defaultPadAngle, 6705 context = null; 6706 6707 function ribbon() { 6708 var buffer, 6709 s = source.apply(this, arguments), 6710 t = target.apply(this, arguments), 6711 ap = padAngle.apply(this, arguments) / 2, 6712 argv = _array_js__WEBPACK_IMPORTED_MODULE_0__.slice.call(arguments), 6713 sr = +sourceRadius.apply(this, (argv[0] = s, argv)), 6714 sa0 = startAngle.apply(this, argv) - _math_js__WEBPACK_IMPORTED_MODULE_1__.halfPi, 6715 sa1 = endAngle.apply(this, argv) - _math_js__WEBPACK_IMPORTED_MODULE_1__.halfPi, 6716 tr = +targetRadius.apply(this, (argv[0] = t, argv)), 6717 ta0 = startAngle.apply(this, argv) - _math_js__WEBPACK_IMPORTED_MODULE_1__.halfPi, 6718 ta1 = endAngle.apply(this, argv) - _math_js__WEBPACK_IMPORTED_MODULE_1__.halfPi; 6719 6720 if (!context) context = buffer = (0,d3_path__WEBPACK_IMPORTED_MODULE_2__.path)(); 6721 6722 if (ap > _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon) { 6723 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(sa1 - sa0) > ap * 2 + _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon) sa1 > sa0 ? (sa0 += ap, sa1 -= ap) : (sa0 -= ap, sa1 += ap); 6724 else sa0 = sa1 = (sa0 + sa1) / 2; 6725 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(ta1 - ta0) > ap * 2 + _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon) ta1 > ta0 ? (ta0 += ap, ta1 -= ap) : (ta0 -= ap, ta1 += ap); 6726 else ta0 = ta1 = (ta0 + ta1) / 2; 6727 } 6728 6729 context.moveTo(sr * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(sa0), sr * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(sa0)); 6730 context.arc(0, 0, sr, sa0, sa1); 6731 if (sa0 !== ta0 || sa1 !== ta1) { 6732 if (headRadius) { 6733 var hr = +headRadius.apply(this, arguments), tr2 = tr - hr, ta2 = (ta0 + ta1) / 2; 6734 context.quadraticCurveTo(0, 0, tr2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(ta0), tr2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(ta0)); 6735 context.lineTo(tr * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(ta2), tr * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(ta2)); 6736 context.lineTo(tr2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(ta1), tr2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(ta1)); 6737 } else { 6738 context.quadraticCurveTo(0, 0, tr * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(ta0), tr * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(ta0)); 6739 context.arc(0, 0, tr, ta0, ta1); 6740 } 6741 } 6742 context.quadraticCurveTo(0, 0, sr * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(sa0), sr * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(sa0)); 6743 context.closePath(); 6744 6745 if (buffer) return context = null, buffer + "" || null; 6746 } 6747 6748 if (headRadius) ribbon.headRadius = function(_) { 6749 return arguments.length ? (headRadius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), ribbon) : headRadius; 6750 }; 6751 6752 ribbon.radius = function(_) { 6753 return arguments.length ? (sourceRadius = targetRadius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), ribbon) : sourceRadius; 6754 }; 6755 6756 ribbon.sourceRadius = function(_) { 6757 return arguments.length ? (sourceRadius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), ribbon) : sourceRadius; 6758 }; 6759 6760 ribbon.targetRadius = function(_) { 6761 return arguments.length ? (targetRadius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), ribbon) : targetRadius; 6762 }; 6763 6764 ribbon.startAngle = function(_) { 6765 return arguments.length ? (startAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), ribbon) : startAngle; 6766 }; 6767 6768 ribbon.endAngle = function(_) { 6769 return arguments.length ? (endAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), ribbon) : endAngle; 6770 }; 6771 6772 ribbon.padAngle = function(_) { 6773 return arguments.length ? (padAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), ribbon) : padAngle; 6774 }; 6775 6776 ribbon.source = function(_) { 6777 return arguments.length ? (source = _, ribbon) : source; 6778 }; 6779 6780 ribbon.target = function(_) { 6781 return arguments.length ? (target = _, ribbon) : target; 6782 }; 6783 6784 ribbon.context = function(_) { 6785 return arguments.length ? ((context = _ == null ? null : _), ribbon) : context; 6786 }; 6787 6788 return ribbon; 6789} 6790 6791/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 6792 return ribbon(); 6793} 6794 6795function ribbonArrow() { 6796 return ribbon(defaultArrowheadRadius); 6797} 6798 6799 6800/***/ }), 6801
vendor: 12,338 bytes, lines 6802-7220
6802/***/ "./node_modules/d3-color/src/color.js": 6803/*!********************************************!*\ 6804 !*** ./node_modules/d3-color/src/color.js ***! 6805 \********************************************/ 6806/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 6807 6808__webpack_require__.r(__webpack_exports__); 6809/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6810/* harmony export */ Color: () => (/* binding */ Color), 6811/* harmony export */ Rgb: () => (/* binding */ Rgb), 6812/* harmony export */ brighter: () => (/* binding */ brighter), 6813/* harmony export */ darker: () => (/* binding */ darker), 6814/* harmony export */ "default": () => (/* binding */ color), 6815/* harmony export */ hsl: () => (/* binding */ hsl), 6816/* harmony export */ hslConvert: () => (/* binding */ hslConvert), 6817/* harmony export */ rgb: () => (/* binding */ rgb), 6818/* harmony export */ rgbConvert: () => (/* binding */ rgbConvert) 6819/* harmony export */ }); 6820/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./define.js */ "./node_modules/d3-color/src/define.js"); 6821 6822 6823function Color() {} 6824 6825var darker = 0.7; 6826var brighter = 1 / darker; 6827 6828var reI = "\\s*([+-]?\\d+)\\s*", 6829 reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", 6830 reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", 6831 reHex = /^#([0-9a-f]{3,8})$/, 6832 reRgbInteger = new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`), 6833 reRgbPercent = new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`), 6834 reRgbaInteger = new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`), 6835 reRgbaPercent = new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`), 6836 reHslPercent = new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`), 6837 reHslaPercent = new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`); 6838 6839var named = { 6840 aliceblue: 0xf0f8ff, 6841 antiquewhite: 0xfaebd7, 6842 aqua: 0x00ffff, 6843 aquamarine: 0x7fffd4, 6844 azure: 0xf0ffff, 6845 beige: 0xf5f5dc, 6846 bisque: 0xffe4c4, 6847 black: 0x000000, 6848 blanchedalmond: 0xffebcd, 6849 blue: 0x0000ff, 6850 blueviolet: 0x8a2be2, 6851 brown: 0xa52a2a, 6852 burlywood: 0xdeb887, 6853 cadetblue: 0x5f9ea0, 6854 chartreuse: 0x7fff00, 6855 chocolate: 0xd2691e, 6856 coral: 0xff7f50, 6857 cornflowerblue: 0x6495ed, 6858 cornsilk: 0xfff8dc, 6859 crimson: 0xdc143c, 6860 cyan: 0x00ffff, 6861 darkblue: 0x00008b, 6862 darkcyan: 0x008b8b, 6863 darkgoldenrod: 0xb8860b, 6864 darkgray: 0xa9a9a9, 6865 darkgreen: 0x006400, 6866 darkgrey: 0xa9a9a9, 6867 darkkhaki: 0xbdb76b, 6868 darkmagenta: 0x8b008b, 6869 darkolivegreen: 0x556b2f, 6870 darkorange: 0xff8c00, 6871 darkorchid: 0x9932cc, 6872 darkred: 0x8b0000, 6873 darksalmon: 0xe9967a, 6874 darkseagreen: 0x8fbc8f, 6875 darkslateblue: 0x483d8b, 6876 darkslategray: 0x2f4f4f, 6877 darkslategrey: 0x2f4f4f, 6878 darkturquoise: 0x00ced1, 6879 darkviolet: 0x9400d3, 6880 deeppink: 0xff1493, 6881 deepskyblue: 0x00bfff, 6882 dimgray: 0x696969, 6883 dimgrey: 0x696969, 6884 dodgerblue: 0x1e90ff, 6885 firebrick: 0xb22222, 6886 floralwhite: 0xfffaf0, 6887 forestgreen: 0x228b22, 6888 fuchsia: 0xff00ff, 6889 gainsboro: 0xdcdcdc, 6890 ghostwhite: 0xf8f8ff, 6891 gold: 0xffd700, 6892 goldenrod: 0xdaa520, 6893 gray: 0x808080, 6894 green: 0x008000, 6895 greenyellow: 0xadff2f, 6896 grey: 0x808080, 6897 honeydew: 0xf0fff0, 6898 hotpink: 0xff69b4, 6899 indianred: 0xcd5c5c, 6900 indigo: 0x4b0082, 6901 ivory: 0xfffff0, 6902 khaki: 0xf0e68c, 6903 lavender: 0xe6e6fa, 6904 lavenderblush: 0xfff0f5, 6905 lawngreen: 0x7cfc00, 6906 lemonchiffon: 0xfffacd, 6907 lightblue: 0xadd8e6, 6908 lightcoral: 0xf08080, 6909 lightcyan: 0xe0ffff, 6910 lightgoldenrodyellow: 0xfafad2, 6911 lightgray: 0xd3d3d3, 6912 lightgreen: 0x90ee90, 6913 lightgrey: 0xd3d3d3, 6914 lightpink: 0xffb6c1, 6915 lightsalmon: 0xffa07a, 6916 lightseagreen: 0x20b2aa, 6917 lightskyblue: 0x87cefa, 6918 lightslategray: 0x778899, 6919 lightslategrey: 0x778899, 6920 lightsteelblue: 0xb0c4de, 6921 lightyellow: 0xffffe0, 6922 lime: 0x00ff00, 6923 limegreen: 0x32cd32, 6924 linen: 0xfaf0e6, 6925 magenta: 0xff00ff, 6926 maroon: 0x800000, 6927 mediumaquamarine: 0x66cdaa, 6928 mediumblue: 0x0000cd, 6929 mediumorchid: 0xba55d3, 6930 mediumpurple: 0x9370db, 6931 mediumseagreen: 0x3cb371, 6932 mediumslateblue: 0x7b68ee, 6933 mediumspringgreen: 0x00fa9a, 6934 mediumturquoise: 0x48d1cc, 6935 mediumvioletred: 0xc71585, 6936 midnightblue: 0x191970, 6937 mintcream: 0xf5fffa, 6938 mistyrose: 0xffe4e1, 6939 moccasin: 0xffe4b5, 6940 navajowhite: 0xffdead, 6941 navy: 0x000080, 6942 oldlace: 0xfdf5e6, 6943 olive: 0x808000, 6944 olivedrab: 0x6b8e23, 6945 orange: 0xffa500, 6946 orangered: 0xff4500, 6947 orchid: 0xda70d6, 6948 palegoldenrod: 0xeee8aa, 6949 palegreen: 0x98fb98, 6950 paleturquoise: 0xafeeee, 6951 palevioletred: 0xdb7093, 6952 papayawhip: 0xffefd5, 6953 peachpuff: 0xffdab9, 6954 peru: 0xcd853f, 6955 pink: 0xffc0cb, 6956 plum: 0xdda0dd, 6957 powderblue: 0xb0e0e6, 6958 purple: 0x800080, 6959 rebeccapurple: 0x663399, 6960 red: 0xff0000, 6961 rosybrown: 0xbc8f8f, 6962 royalblue: 0x4169e1, 6963 saddlebrown: 0x8b4513, 6964 salmon: 0xfa8072, 6965 sandybrown: 0xf4a460, 6966 seagreen: 0x2e8b57, 6967 seashell: 0xfff5ee, 6968 sienna: 0xa0522d, 6969 silver: 0xc0c0c0, 6970 skyblue: 0x87ceeb, 6971 slateblue: 0x6a5acd, 6972 slategray: 0x708090, 6973 slategrey: 0x708090, 6974 snow: 0xfffafa, 6975 springgreen: 0x00ff7f, 6976 steelblue: 0x4682b4, 6977 tan: 0xd2b48c, 6978 teal: 0x008080, 6979 thistle: 0xd8bfd8, 6980 tomato: 0xff6347, 6981 turquoise: 0x40e0d0, 6982 violet: 0xee82ee, 6983 wheat: 0xf5deb3, 6984 white: 0xffffff, 6985 whitesmoke: 0xf5f5f5, 6986 yellow: 0xffff00, 6987 yellowgreen: 0x9acd32 6988}; 6989 6990(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Color, color, { 6991 copy(channels) { 6992 return Object.assign(new this.constructor, this, channels); 6993 }, 6994 displayable() { 6995 return this.rgb().displayable(); 6996 }, 6997 hex: color_formatHex, // Deprecated! Use color.formatHex. 6998 formatHex: color_formatHex, 6999 formatHex8: color_formatHex8, 7000 formatHsl: color_formatHsl, 7001 formatRgb: color_formatRgb, 7002 toString: color_formatRgb 7003}); 7004 7005function color_formatHex() { 7006 return this.rgb().formatHex(); 7007} 7008 7009function color_formatHex8() { 7010 return this.rgb().formatHex8(); 7011} 7012 7013function color_formatHsl() { 7014 return hslConvert(this).formatHsl(); 7015} 7016 7017function color_formatRgb() { 7018 return this.rgb().formatRgb(); 7019} 7020 7021function color(format) { 7022 var m, l; 7023 format = (format + "").trim().toLowerCase(); 7024 return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000 7025 : l === 3 ? new Rgb((m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1) // #f00 7026 : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000 7027 : l === 4 ? rgba((m >> 12 & 0xf) | (m >> 8 & 0xf0), (m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), (((m & 0xf) << 4) | (m & 0xf)) / 0xff) // #f000 7028 : null) // invalid hex 7029 : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0) 7030 : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%) 7031 : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1) 7032 : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1) 7033 : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%) 7034 : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1) 7035 : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins 7036 : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0) 7037 : null; 7038} 7039 7040function rgbn(n) { 7041 return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1); 7042} 7043 7044function rgba(r, g, b, a) { 7045 if (a <= 0) r = g = b = NaN; 7046 return new Rgb(r, g, b, a); 7047} 7048 7049function rgbConvert(o) { 7050 if (!(o instanceof Color)) o = color(o); 7051 if (!o) return new Rgb; 7052 o = o.rgb(); 7053 return new Rgb(o.r, o.g, o.b, o.opacity); 7054} 7055 7056function rgb(r, g, b, opacity) { 7057 return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity); 7058} 7059 7060function Rgb(r, g, b, opacity) { 7061 this.r = +r; 7062 this.g = +g; 7063 this.b = +b; 7064 this.opacity = +opacity; 7065} 7066 7067(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Rgb, rgb, (0,_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(Color, { 7068 brighter(k) { 7069 k = k == null ? brighter : Math.pow(brighter, k); 7070 return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity); 7071 }, 7072 darker(k) { 7073 k = k == null ? darker : Math.pow(darker, k); 7074 return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity); 7075 }, 7076 rgb() { 7077 return this; 7078 }, 7079 clamp() { 7080 return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity)); 7081 }, 7082 displayable() { 7083 return (-0.5 <= this.r && this.r < 255.5) 7084 && (-0.5 <= this.g && this.g < 255.5) 7085 && (-0.5 <= this.b && this.b < 255.5) 7086 && (0 <= this.opacity && this.opacity <= 1); 7087 }, 7088 hex: rgb_formatHex, // Deprecated! Use color.formatHex. 7089 formatHex: rgb_formatHex, 7090 formatHex8: rgb_formatHex8, 7091 formatRgb: rgb_formatRgb, 7092 toString: rgb_formatRgb 7093})); 7094 7095function rgb_formatHex() { 7096 return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}`; 7097} 7098 7099function rgb_formatHex8() { 7100 return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; 7101} 7102 7103function rgb_formatRgb() { 7104 const a = clampa(this.opacity); 7105 return `${a === 1 ? "rgb(" : "rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${a === 1 ? ")" : `, ${a})`}`; 7106} 7107 7108function clampa(opacity) { 7109 return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity)); 7110} 7111 7112function clampi(value) { 7113 return Math.max(0, Math.min(255, Math.round(value) || 0)); 7114} 7115 7116function hex(value) { 7117 value = clampi(value); 7118 return (value < 16 ? "0" : "") + value.toString(16); 7119} 7120 7121function hsla(h, s, l, a) { 7122 if (a <= 0) h = s = l = NaN; 7123 else if (l <= 0 || l >= 1) h = s = NaN; 7124 else if (s <= 0) h = NaN; 7125 return new Hsl(h, s, l, a); 7126} 7127 7128function hslConvert(o) { 7129 if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity); 7130 if (!(o instanceof Color)) o = color(o); 7131 if (!o) return new Hsl; 7132 if (o instanceof Hsl) return o; 7133 o = o.rgb(); 7134 var r = o.r / 255, 7135 g = o.g / 255, 7136 b = o.b / 255, 7137 min = Math.min(r, g, b), 7138 max = Math.max(r, g, b), 7139 h = NaN, 7140 s = max - min, 7141 l = (max + min) / 2; 7142 if (s) { 7143 if (r === max) h = (g - b) / s + (g < b) * 6; 7144 else if (g === max) h = (b - r) / s + 2; 7145 else h = (r - g) / s + 4; 7146 s /= l < 0.5 ? max + min : 2 - max - min; 7147 h *= 60; 7148 } else { 7149 s = l > 0 && l < 1 ? 0 : h; 7150 } 7151 return new Hsl(h, s, l, o.opacity); 7152} 7153 7154function hsl(h, s, l, opacity) { 7155 return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity); 7156} 7157 7158function Hsl(h, s, l, opacity) { 7159 this.h = +h; 7160 this.s = +s; 7161 this.l = +l; 7162 this.opacity = +opacity; 7163} 7164 7165(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Hsl, hsl, (0,_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(Color, { 7166 brighter(k) { 7167 k = k == null ? brighter : Math.pow(brighter, k); 7168 return new Hsl(this.h, this.s, this.l * k, this.opacity); 7169 }, 7170 darker(k) { 7171 k = k == null ? darker : Math.pow(darker, k); 7172 return new Hsl(this.h, this.s, this.l * k, this.opacity); 7173 }, 7174 rgb() { 7175 var h = this.h % 360 + (this.h < 0) * 360, 7176 s = isNaN(h) || isNaN(this.s) ? 0 : this.s, 7177 l = this.l, 7178 m2 = l + (l < 0.5 ? l : 1 - l) * s, 7179 m1 = 2 * l - m2; 7180 return new Rgb( 7181 hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), 7182 hsl2rgb(h, m1, m2), 7183 hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), 7184 this.opacity 7185 ); 7186 }, 7187 clamp() { 7188 return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity)); 7189 }, 7190 displayable() { 7191 return (0 <= this.s && this.s <= 1 || isNaN(this.s)) 7192 && (0 <= this.l && this.l <= 1) 7193 && (0 <= this.opacity && this.opacity <= 1); 7194 }, 7195 formatHsl() { 7196 const a = clampa(this.opacity); 7197 return `${a === 1 ? "hsl(" : "hsla("}${clamph(this.h)}, ${clampt(this.s) * 100}%, ${clampt(this.l) * 100}%${a === 1 ? ")" : `, ${a})`}`; 7198 } 7199})); 7200 7201function clamph(value) { 7202 value = (value || 0) % 360; 7203 return value < 0 ? value + 360 : value; 7204} 7205 7206function clampt(value) { 7207 return Math.max(0, Math.min(1, value || 0)); 7208} 7209 7210/* From FvD 13.37, CSS Color Module Level 3 */ 7211function hsl2rgb(h, m1, m2) { 7212 return (h < 60 ? m1 + (m2 - m1) * h / 60 7213 : h < 180 ? m2 7214 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 7215 : m1) * 255; 7216} 7217 7218 7219/***/ }), 7220
vendor: 3,162 bytes, lines 7221-7299
7221/***/ "./node_modules/d3-color/src/cubehelix.js": 7222/*!************************************************!*\ 7223 !*** ./node_modules/d3-color/src/cubehelix.js ***! 7224 \************************************************/ 7225/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7226 7227__webpack_require__.r(__webpack_exports__); 7228/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7229/* harmony export */ Cubehelix: () => (/* binding */ Cubehelix), 7230/* harmony export */ "default": () => (/* binding */ cubehelix) 7231/* harmony export */ }); 7232/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./define.js */ "./node_modules/d3-color/src/define.js"); 7233/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-color/src/color.js"); 7234/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-color/src/math.js"); 7235 7236 7237 7238 7239var A = -0.14861, 7240 B = +1.78277, 7241 C = -0.29227, 7242 D = -0.90649, 7243 E = +1.97294, 7244 ED = E * D, 7245 EB = E * B, 7246 BC_DA = B * C - D * A; 7247 7248function cubehelixConvert(o) { 7249 if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity); 7250 if (!(o instanceof _color_js__WEBPACK_IMPORTED_MODULE_0__.Rgb)) o = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__.rgbConvert)(o); 7251 var r = o.r / 255, 7252 g = o.g / 255, 7253 b = o.b / 255, 7254 l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB), 7255 bl = b - l, 7256 k = (E * (g - l) - C * bl) / D, 7257 s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1 7258 h = s ? Math.atan2(k, bl) * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees - 120 : NaN; 7259 return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity); 7260} 7261 7262function cubehelix(h, s, l, opacity) { 7263 return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity); 7264} 7265 7266function Cubehelix(h, s, l, opacity) { 7267 this.h = +h; 7268 this.s = +s; 7269 this.l = +l; 7270 this.opacity = +opacity; 7271} 7272 7273(0,_define_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Cubehelix, cubehelix, (0,_define_js__WEBPACK_IMPORTED_MODULE_2__.extend)(_color_js__WEBPACK_IMPORTED_MODULE_0__.Color, { 7274 brighter(k) { 7275 k = k == null ? _color_js__WEBPACK_IMPORTED_MODULE_0__.brighter : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_0__.brighter, k); 7276 return new Cubehelix(this.h, this.s, this.l * k, this.opacity); 7277 }, 7278 darker(k) { 7279 k = k == null ? _color_js__WEBPACK_IMPORTED_MODULE_0__.darker : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_0__.darker, k); 7280 return new Cubehelix(this.h, this.s, this.l * k, this.opacity); 7281 }, 7282 rgb() { 7283 var h = isNaN(this.h) ? 0 : (this.h + 120) * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, 7284 l = +this.l, 7285 a = isNaN(this.s) ? 0 : this.s * l * (1 - l), 7286 cosh = Math.cos(h), 7287 sinh = Math.sin(h); 7288 return new _color_js__WEBPACK_IMPORTED_MODULE_0__.Rgb( 7289 255 * (l + a * (A * cosh + B * sinh)), 7290 255 * (l + a * (C * cosh + D * sinh)), 7291 255 * (l + a * (E * cosh)), 7292 this.opacity 7293 ); 7294 } 7295})); 7296 7297 7298/***/ }), 7299
vendor: 973 bytes, lines 7300-7324
7300/***/ "./node_modules/d3-color/src/define.js": 7301/*!*********************************************!*\ 7302 !*** ./node_modules/d3-color/src/define.js ***! 7303 \*********************************************/ 7304/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7305 7306__webpack_require__.r(__webpack_exports__); 7307/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7308/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 7309/* harmony export */ extend: () => (/* binding */ extend) 7310/* harmony export */ }); 7311/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(constructor, factory, prototype) { 7312 constructor.prototype = factory.prototype = prototype; 7313 prototype.constructor = constructor; 7314} 7315 7316function extend(parent, definition) { 7317 var prototype = Object.create(parent.prototype); 7318 for (var key in definition) prototype[key] = definition[key]; 7319 return prototype; 7320} 7321 7322 7323/***/ }), 7324
vendor: 1,706 bytes, lines 7325-7351
7325/***/ "./node_modules/d3-color/src/index.js": 7326/*!********************************************!*\ 7327 !*** ./node_modules/d3-color/src/index.js ***! 7328 \********************************************/ 7329/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7330 7331__webpack_require__.r(__webpack_exports__); 7332/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7333/* harmony export */ color: () => (/* reexport safe */ _color_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 7334/* harmony export */ cubehelix: () => (/* reexport safe */ _cubehelix_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 7335/* harmony export */ gray: () => (/* reexport safe */ _lab_js__WEBPACK_IMPORTED_MODULE_1__.gray), 7336/* harmony export */ hcl: () => (/* reexport safe */ _lab_js__WEBPACK_IMPORTED_MODULE_1__.hcl), 7337/* harmony export */ hsl: () => (/* reexport safe */ _color_js__WEBPACK_IMPORTED_MODULE_0__.hsl), 7338/* harmony export */ lab: () => (/* reexport safe */ _lab_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 7339/* harmony export */ lch: () => (/* reexport safe */ _lab_js__WEBPACK_IMPORTED_MODULE_1__.lch), 7340/* harmony export */ rgb: () => (/* reexport safe */ _color_js__WEBPACK_IMPORTED_MODULE_0__.rgb) 7341/* harmony export */ }); 7342/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-color/src/color.js"); 7343/* harmony import */ var _lab_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lab.js */ "./node_modules/d3-color/src/lab.js"); 7344/* harmony import */ var _cubehelix_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cubehelix.js */ "./node_modules/d3-color/src/cubehelix.js"); 7345 7346 7347 7348 7349 7350/***/ }), 7351
vendor: 5,076 bytes, lines 7352-7496
7352/***/ "./node_modules/d3-color/src/lab.js": 7353/*!******************************************!*\ 7354 !*** ./node_modules/d3-color/src/lab.js ***! 7355 \******************************************/ 7356/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7357 7358__webpack_require__.r(__webpack_exports__); 7359/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7360/* harmony export */ Hcl: () => (/* binding */ Hcl), 7361/* harmony export */ Lab: () => (/* binding */ Lab), 7362/* harmony export */ "default": () => (/* binding */ lab), 7363/* harmony export */ gray: () => (/* binding */ gray), 7364/* harmony export */ hcl: () => (/* binding */ hcl), 7365/* harmony export */ lch: () => (/* binding */ lch) 7366/* harmony export */ }); 7367/* harmony import */ var _define_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./define.js */ "./node_modules/d3-color/src/define.js"); 7368/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-color/src/color.js"); 7369/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-color/src/math.js"); 7370 7371 7372 7373 7374// https://observablehq.com/@mbostock/lab-and-rgb 7375const K = 18, 7376 Xn = 0.96422, 7377 Yn = 1, 7378 Zn = 0.82521, 7379 t0 = 4 / 29, 7380 t1 = 6 / 29, 7381 t2 = 3 * t1 * t1, 7382 t3 = t1 * t1 * t1; 7383 7384function labConvert(o) { 7385 if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity); 7386 if (o instanceof Hcl) return hcl2lab(o); 7387 if (!(o instanceof _color_js__WEBPACK_IMPORTED_MODULE_0__.Rgb)) o = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__.rgbConvert)(o); 7388 var r = rgb2lrgb(o.r), 7389 g = rgb2lrgb(o.g), 7390 b = rgb2lrgb(o.b), 7391 y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn), x, z; 7392 if (r === g && g === b) x = z = y; else { 7393 x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn); 7394 z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn); 7395 } 7396 return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity); 7397} 7398 7399function gray(l, opacity) { 7400 return new Lab(l, 0, 0, opacity == null ? 1 : opacity); 7401} 7402 7403function lab(l, a, b, opacity) { 7404 return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity); 7405} 7406 7407function Lab(l, a, b, opacity) { 7408 this.l = +l; 7409 this.a = +a; 7410 this.b = +b; 7411 this.opacity = +opacity; 7412} 7413 7414(0,_define_js__WEBPACK_IMPORTED_MODULE_1__["default"])(Lab, lab, (0,_define_js__WEBPACK_IMPORTED_MODULE_1__.extend)(_color_js__WEBPACK_IMPORTED_MODULE_0__.Color, { 7415 brighter(k) { 7416 return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity); 7417 }, 7418 darker(k) { 7419 return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity); 7420 }, 7421 rgb() { 7422 var y = (this.l + 16) / 116, 7423 x = isNaN(this.a) ? y : y + this.a / 500, 7424 z = isNaN(this.b) ? y : y - this.b / 200; 7425 x = Xn * lab2xyz(x); 7426 y = Yn * lab2xyz(y); 7427 z = Zn * lab2xyz(z); 7428 return new _color_js__WEBPACK_IMPORTED_MODULE_0__.Rgb( 7429 lrgb2rgb( 3.1338561 * x - 1.6168667 * y - 0.4906146 * z), 7430 lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z), 7431 lrgb2rgb( 0.0719453 * x - 0.2289914 * y + 1.4052427 * z), 7432 this.opacity 7433 ); 7434 } 7435})); 7436 7437function xyz2lab(t) { 7438 return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0; 7439} 7440 7441function lab2xyz(t) { 7442 return t > t1 ? t * t * t : t2 * (t - t0); 7443} 7444 7445function lrgb2rgb(x) { 7446 return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055); 7447} 7448 7449function rgb2lrgb(x) { 7450 return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4); 7451} 7452 7453function hclConvert(o) { 7454 if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity); 7455 if (!(o instanceof Lab)) o = labConvert(o); 7456 if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity); 7457 var h = Math.atan2(o.b, o.a) * _math_js__WEBPACK_IMPORTED_MODULE_2__.degrees; 7458 return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity); 7459} 7460 7461function lch(l, c, h, opacity) { 7462 return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity); 7463} 7464 7465function hcl(h, c, l, opacity) { 7466 return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity); 7467} 7468 7469function Hcl(h, c, l, opacity) { 7470 this.h = +h; 7471 this.c = +c; 7472 this.l = +l; 7473 this.opacity = +opacity; 7474} 7475 7476function hcl2lab(o) { 7477 if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity); 7478 var h = o.h * _math_js__WEBPACK_IMPORTED_MODULE_2__.radians; 7479 return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity); 7480} 7481 7482(0,_define_js__WEBPACK_IMPORTED_MODULE_1__["default"])(Hcl, hcl, (0,_define_js__WEBPACK_IMPORTED_MODULE_1__.extend)(_color_js__WEBPACK_IMPORTED_MODULE_0__.Color, { 7483 brighter(k) { 7484 return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity); 7485 }, 7486 darker(k) { 7487 return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity); 7488 }, 7489 rgb() { 7490 return hcl2lab(this).rgb(); 7491 } 7492})); 7493 7494 7495/***/ }), 7496
vendor: 619 bytes, lines 7497-7513
7497/***/ "./node_modules/d3-color/src/math.js": 7498/*!*******************************************!*\ 7499 !*** ./node_modules/d3-color/src/math.js ***! 7500 \*******************************************/ 7501/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7502 7503__webpack_require__.r(__webpack_exports__); 7504/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7505/* harmony export */ degrees: () => (/* binding */ degrees), 7506/* harmony export */ radians: () => (/* binding */ radians) 7507/* harmony export */ }); 7508const radians = Math.PI / 180; 7509const degrees = 180 / Math.PI; 7510 7511 7512/***/ }), 7513
vendor: 809 bytes, lines 7514-7532
7514/***/ "./node_modules/d3-contour/src/area.js": 7515/*!*********************************************!*\ 7516 !*** ./node_modules/d3-contour/src/area.js ***! 7517 \*********************************************/ 7518/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7519 7520__webpack_require__.r(__webpack_exports__); 7521/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7522/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 7523/* harmony export */ }); 7524/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(ring) { 7525 var i = 0, n = ring.length, area = ring[n - 1][1] * ring[0][0] - ring[n - 1][0] * ring[0][1]; 7526 while (++i < n) area += ring[i - 1][1] * ring[i][0] - ring[i - 1][0] * ring[i][1]; 7527 return area; 7528} 7529 7530 7531/***/ }), 7532
vendor: 557 bytes, lines 7533-7549
7533/***/ "./node_modules/d3-contour/src/array.js": 7534/*!**********************************************!*\ 7535 !*** ./node_modules/d3-contour/src/array.js ***! 7536 \**********************************************/ 7537/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7538 7539__webpack_require__.r(__webpack_exports__); 7540/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7541/* harmony export */ slice: () => (/* binding */ slice) 7542/* harmony export */ }); 7543var array = Array.prototype; 7544 7545var slice = array.slice; 7546 7547 7548/***/ }), 7549
vendor: 649 bytes, lines 7550-7566
7550/***/ "./node_modules/d3-contour/src/ascending.js": 7551/*!**************************************************!*\ 7552 !*** ./node_modules/d3-contour/src/ascending.js ***! 7553 \**************************************************/ 7554/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7555 7556__webpack_require__.r(__webpack_exports__); 7557/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7558/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 7559/* harmony export */ }); 7560/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 7561 return a - b; 7562} 7563 7564 7565/***/ }), 7566
vendor: 605 bytes, lines 7567-7581
7567/***/ "./node_modules/d3-contour/src/constant.js": 7568/*!*************************************************!*\ 7569 !*** ./node_modules/d3-contour/src/constant.js ***! 7570 \*************************************************/ 7571/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7572 7573__webpack_require__.r(__webpack_exports__); 7574/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7575/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 7576/* harmony export */ }); 7577/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (x => () => x); 7578 7579 7580/***/ }), 7581
vendor: 1,466 bytes, lines 7582-7622
7582/***/ "./node_modules/d3-contour/src/contains.js": 7583/*!*************************************************!*\ 7584 !*** ./node_modules/d3-contour/src/contains.js ***! 7585 \*************************************************/ 7586/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7587 7588__webpack_require__.r(__webpack_exports__); 7589/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7590/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 7591/* harmony export */ }); 7592/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(ring, hole) { 7593 var i = -1, n = hole.length, c; 7594 while (++i < n) if (c = ringContains(ring, hole[i])) return c; 7595 return 0; 7596} 7597 7598function ringContains(ring, point) { 7599 var x = point[0], y = point[1], contains = -1; 7600 for (var i = 0, n = ring.length, j = n - 1; i < n; j = i++) { 7601 var pi = ring[i], xi = pi[0], yi = pi[1], pj = ring[j], xj = pj[0], yj = pj[1]; 7602 if (segmentContains(pi, pj, point)) return 0; 7603 if (((yi > y) !== (yj > y)) && ((x < (xj - xi) * (y - yi) / (yj - yi) + xi))) contains = -contains; 7604 } 7605 return contains; 7606} 7607 7608function segmentContains(a, b, c) { 7609 var i; return collinear(a, b, c) && within(a[i = +(a[0] === b[0])], c[i], b[i]); 7610} 7611 7612function collinear(a, b, c) { 7613 return (b[0] - a[0]) * (c[1] - a[1]) === (c[0] - a[0]) * (b[1] - a[1]); 7614} 7615 7616function within(p, q, r) { 7617 return p <= q && q <= r || r <= q && q <= p; 7618} 7619 7620 7621/***/ }), 7622
vendor: 9,279 bytes, lines 7623-7871
7623/***/ "./node_modules/d3-contour/src/contours.js": 7624/*!*************************************************!*\ 7625 !*** ./node_modules/d3-contour/src/contours.js ***! 7626 \*************************************************/ 7627/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7628 7629__webpack_require__.r(__webpack_exports__); 7630/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7631/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 7632/* harmony export */ }); 7633/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/threshold/sturges.js"); 7634/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/extent.js"); 7635/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/ticks.js"); 7636/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/nice.js"); 7637/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-contour/src/array.js"); 7638/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-contour/src/ascending.js"); 7639/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./area.js */ "./node_modules/d3-contour/src/area.js"); 7640/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-contour/src/constant.js"); 7641/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./contains.js */ "./node_modules/d3-contour/src/contains.js"); 7642/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./noop.js */ "./node_modules/d3-contour/src/noop.js"); 7643 7644 7645 7646 7647 7648 7649 7650 7651var cases = [ 7652 [], 7653 [[[1.0, 1.5], [0.5, 1.0]]], 7654 [[[1.5, 1.0], [1.0, 1.5]]], 7655 [[[1.5, 1.0], [0.5, 1.0]]], 7656 [[[1.0, 0.5], [1.5, 1.0]]], 7657 [[[1.0, 1.5], [0.5, 1.0]], [[1.0, 0.5], [1.5, 1.0]]], 7658 [[[1.0, 0.5], [1.0, 1.5]]], 7659 [[[1.0, 0.5], [0.5, 1.0]]], 7660 [[[0.5, 1.0], [1.0, 0.5]]], 7661 [[[1.0, 1.5], [1.0, 0.5]]], 7662 [[[0.5, 1.0], [1.0, 0.5]], [[1.5, 1.0], [1.0, 1.5]]], 7663 [[[1.5, 1.0], [1.0, 0.5]]], 7664 [[[0.5, 1.0], [1.5, 1.0]]], 7665 [[[1.0, 1.5], [1.5, 1.0]]], 7666 [[[0.5, 1.0], [1.0, 1.5]]], 7667 [] 7668]; 7669 7670/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 7671 var dx = 1, 7672 dy = 1, 7673 threshold = d3_array__WEBPACK_IMPORTED_MODULE_0__["default"], 7674 smooth = smoothLinear; 7675 7676 function contours(values) { 7677 var tz = threshold(values); 7678 7679 // Convert number of thresholds into uniform thresholds. 7680 if (!Array.isArray(tz)) { 7681 const e = (0,d3_array__WEBPACK_IMPORTED_MODULE_1__["default"])(values, finite); 7682 tz = (0,d3_array__WEBPACK_IMPORTED_MODULE_2__["default"])(...(0,d3_array__WEBPACK_IMPORTED_MODULE_3__["default"])(e[0], e[1], tz), tz); 7683 while (tz[tz.length - 1] >= e[1]) tz.pop(); 7684 while (tz[1] < e[0]) tz.shift(); 7685 } else { 7686 tz = tz.slice().sort(_ascending_js__WEBPACK_IMPORTED_MODULE_4__["default"]); 7687 } 7688 7689 return tz.map(value => contour(values, value)); 7690 } 7691 7692 // Accumulate, smooth contour rings, assign holes to exterior rings. 7693 // Based on https://github.com/mbostock/shapefile/blob/v0.6.2/shp/polygon.js 7694 function contour(values, value) { 7695 const v = value == null ? NaN : +value; 7696 if (isNaN(v)) throw new Error(`invalid value: ${value}`); 7697 7698 var polygons = [], 7699 holes = []; 7700 7701 isorings(values, v, function(ring) { 7702 smooth(ring, values, v); 7703 if ((0,_area_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ring) > 0) polygons.push([ring]); 7704 else holes.push(ring); 7705 }); 7706 7707 holes.forEach(function(hole) { 7708 for (var i = 0, n = polygons.length, polygon; i < n; ++i) { 7709 if ((0,_contains_js__WEBPACK_IMPORTED_MODULE_6__["default"])((polygon = polygons[i])[0], hole) !== -1) { 7710 polygon.push(hole); 7711 return; 7712 } 7713 } 7714 }); 7715 7716 return { 7717 type: "MultiPolygon", 7718 value: value, 7719 coordinates: polygons 7720 }; 7721 } 7722 7723 // Marching squares with isolines stitched into rings. 7724 // Based on https://github.com/topojson/topojson-client/blob/v3.0.0/src/stitch.js 7725 function isorings(values, value, callback) { 7726 var fragmentByStart = new Array, 7727 fragmentByEnd = new Array, 7728 x, y, t0, t1, t2, t3; 7729 7730 // Special case for the first row (y = -1, t2 = t3 = 0). 7731 x = y = -1; 7732 t1 = above(values[0], value); 7733 cases[t1 << 1].forEach(stitch); 7734 while (++x < dx - 1) { 7735 t0 = t1, t1 = above(values[x + 1], value); 7736 cases[t0 | t1 << 1].forEach(stitch); 7737 } 7738 cases[t1 << 0].forEach(stitch); 7739 7740 // General case for the intermediate rows. 7741 while (++y < dy - 1) { 7742 x = -1; 7743 t1 = above(values[y * dx + dx], value); 7744 t2 = above(values[y * dx], value); 7745 cases[t1 << 1 | t2 << 2].forEach(stitch); 7746 while (++x < dx - 1) { 7747 t0 = t1, t1 = above(values[y * dx + dx + x + 1], value); 7748 t3 = t2, t2 = above(values[y * dx + x + 1], value); 7749 cases[t0 | t1 << 1 | t2 << 2 | t3 << 3].forEach(stitch); 7750 } 7751 cases[t1 | t2 << 3].forEach(stitch); 7752 } 7753 7754 // Special case for the last row (y = dy - 1, t0 = t1 = 0). 7755 x = -1; 7756 t2 = values[y * dx] >= value; 7757 cases[t2 << 2].forEach(stitch); 7758 while (++x < dx - 1) { 7759 t3 = t2, t2 = above(values[y * dx + x + 1], value); 7760 cases[t2 << 2 | t3 << 3].forEach(stitch); 7761 } 7762 cases[t2 << 3].forEach(stitch); 7763 7764 function stitch(line) { 7765 var start = [line[0][0] + x, line[0][1] + y], 7766 end = [line[1][0] + x, line[1][1] + y], 7767 startIndex = index(start), 7768 endIndex = index(end), 7769 f, g; 7770 if (f = fragmentByEnd[startIndex]) { 7771 if (g = fragmentByStart[endIndex]) { 7772 delete fragmentByEnd[f.end]; 7773 delete fragmentByStart[g.start]; 7774 if (f === g) { 7775 f.ring.push(end); 7776 callback(f.ring); 7777 } else { 7778 fragmentByStart[f.start] = fragmentByEnd[g.end] = {start: f.start, end: g.end, ring: f.ring.concat(g.ring)}; 7779 } 7780 } else { 7781 delete fragmentByEnd[f.end]; 7782 f.ring.push(end); 7783 fragmentByEnd[f.end = endIndex] = f; 7784 } 7785 } else if (f = fragmentByStart[endIndex]) { 7786 if (g = fragmentByEnd[startIndex]) { 7787 delete fragmentByStart[f.start]; 7788 delete fragmentByEnd[g.end]; 7789 if (f === g) { 7790 f.ring.push(end); 7791 callback(f.ring); 7792 } else { 7793 fragmentByStart[g.start] = fragmentByEnd[f.end] = {start: g.start, end: f.end, ring: g.ring.concat(f.ring)}; 7794 } 7795 } else { 7796 delete fragmentByStart[f.start]; 7797 f.ring.unshift(start); 7798 fragmentByStart[f.start = startIndex] = f; 7799 } 7800 } else { 7801 fragmentByStart[startIndex] = fragmentByEnd[endIndex] = {start: startIndex, end: endIndex, ring: [start, end]}; 7802 } 7803 } 7804 } 7805 7806 function index(point) { 7807 return point[0] * 2 + point[1] * (dx + 1) * 4; 7808 } 7809 7810 function smoothLinear(ring, values, value) { 7811 ring.forEach(function(point) { 7812 var x = point[0], 7813 y = point[1], 7814 xt = x | 0, 7815 yt = y | 0, 7816 v1 = valid(values[yt * dx + xt]); 7817 if (x > 0 && x < dx && xt === x) { 7818 point[0] = smooth1(x, valid(values[yt * dx + xt - 1]), v1, value); 7819 } 7820 if (y > 0 && y < dy && yt === y) { 7821 point[1] = smooth1(y, valid(values[(yt - 1) * dx + xt]), v1, value); 7822 } 7823 }); 7824 } 7825 7826 contours.contour = contour; 7827 7828 contours.size = function(_) { 7829 if (!arguments.length) return [dx, dy]; 7830 var _0 = Math.floor(_[0]), _1 = Math.floor(_[1]); 7831 if (!(_0 >= 0 && _1 >= 0)) throw new Error("invalid size"); 7832 return dx = _0, dy = _1, contours; 7833 }; 7834 7835 contours.thresholds = function(_) { 7836 return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? (0,_constant_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_array_js__WEBPACK_IMPORTED_MODULE_8__.slice.call(_)) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_), contours) : threshold; 7837 }; 7838 7839 contours.smooth = function(_) { 7840 return arguments.length ? (smooth = _ ? smoothLinear : _noop_js__WEBPACK_IMPORTED_MODULE_9__["default"], contours) : smooth === smoothLinear; 7841 }; 7842 7843 return contours; 7844} 7845 7846// When computing the extent, ignore infinite values (as well as invalid ones). 7847function finite(x) { 7848 return isFinite(x) ? x : NaN; 7849} 7850 7851// Is the (possibly invalid) x greater than or equal to the (known valid) value? 7852// Treat any invalid value as below negative infinity. 7853function above(x, value) { 7854 return x == null ? false : +x >= value; 7855} 7856 7857// During smoothing, treat any invalid value as negative infinity. 7858function valid(v) { 7859 return v == null || isNaN(v = +v) ? -Infinity : v; 7860} 7861 7862function smooth1(x, v0, v1, value) { 7863 const a = value - v0; 7864 const b = v1 - v0; 7865 const d = isFinite(a) || isFinite(b) ? a / b : Math.sign(a) / Math.sign(b); 7866 return isNaN(d) ? x : x + d - 0.5; 7867} 7868 7869 7870/***/ }), 7871
vendor: 6,118 bytes, lines 7872-8040
7872/***/ "./node_modules/d3-contour/src/density.js": 7873/*!************************************************!*\ 7874 !*** ./node_modules/d3-contour/src/density.js ***! 7875 \************************************************/ 7876/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7877 7878__webpack_require__.r(__webpack_exports__); 7879/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7880/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 7881/* harmony export */ }); 7882/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/blur.js"); 7883/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/ticks.js"); 7884/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/max.js"); 7885/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-contour/src/array.js"); 7886/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-contour/src/constant.js"); 7887/* harmony import */ var _contours_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./contours.js */ "./node_modules/d3-contour/src/contours.js"); 7888 7889 7890 7891 7892 7893function defaultX(d) { 7894 return d[0]; 7895} 7896 7897function defaultY(d) { 7898 return d[1]; 7899} 7900 7901function defaultWeight() { 7902 return 1; 7903} 7904 7905/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 7906 var x = defaultX, 7907 y = defaultY, 7908 weight = defaultWeight, 7909 dx = 960, 7910 dy = 500, 7911 r = 20, // blur radius 7912 k = 2, // log2(grid cell size) 7913 o = r * 3, // grid offset, to pad for blur 7914 n = (dx + o * 2) >> k, // grid width 7915 m = (dy + o * 2) >> k, // grid height 7916 threshold = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(20); 7917 7918 function grid(data) { 7919 var values = new Float32Array(n * m), 7920 pow2k = Math.pow(2, -k), 7921 i = -1; 7922 7923 for (const d of data) { 7924 var xi = (x(d, ++i, data) + o) * pow2k, 7925 yi = (y(d, i, data) + o) * pow2k, 7926 wi = +weight(d, i, data); 7927 if (wi && xi >= 0 && xi < n && yi >= 0 && yi < m) { 7928 var x0 = Math.floor(xi), 7929 y0 = Math.floor(yi), 7930 xt = xi - x0 - 0.5, 7931 yt = yi - y0 - 0.5; 7932 values[x0 + y0 * n] += (1 - xt) * (1 - yt) * wi; 7933 values[x0 + 1 + y0 * n] += xt * (1 - yt) * wi; 7934 values[x0 + 1 + (y0 + 1) * n] += xt * yt * wi; 7935 values[x0 + (y0 + 1) * n] += (1 - xt) * yt * wi; 7936 } 7937 } 7938 7939 (0,d3_array__WEBPACK_IMPORTED_MODULE_1__.blur2)({data: values, width: n, height: m}, r * pow2k); 7940 return values; 7941 } 7942 7943 function density(data) { 7944 var values = grid(data), 7945 tz = threshold(values), 7946 pow4k = Math.pow(2, 2 * k); 7947 7948 // Convert number of thresholds into uniform thresholds. 7949 if (!Array.isArray(tz)) { 7950 tz = (0,d3_array__WEBPACK_IMPORTED_MODULE_2__["default"])(Number.MIN_VALUE, (0,d3_array__WEBPACK_IMPORTED_MODULE_3__["default"])(values) / pow4k, tz); 7951 } 7952 7953 return (0,_contours_js__WEBPACK_IMPORTED_MODULE_4__["default"])() 7954 .size([n, m]) 7955 .thresholds(tz.map(d => d * pow4k)) 7956 (values) 7957 .map((c, i) => (c.value = +tz[i], transform(c))); 7958 } 7959 7960 density.contours = function(data) { 7961 var values = grid(data), 7962 contours = (0,_contours_js__WEBPACK_IMPORTED_MODULE_4__["default"])().size([n, m]), 7963 pow4k = Math.pow(2, 2 * k), 7964 contour = value => { 7965 value = +value; 7966 var c = transform(contours.contour(values, value * pow4k)); 7967 c.value = value; // preserve exact threshold value 7968 return c; 7969 }; 7970 Object.defineProperty(contour, "max", {get: () => (0,d3_array__WEBPACK_IMPORTED_MODULE_3__["default"])(values) / pow4k}); 7971 return contour; 7972 }; 7973 7974 function transform(geometry) { 7975 geometry.coordinates.forEach(transformPolygon); 7976 return geometry; 7977 } 7978 7979 function transformPolygon(coordinates) { 7980 coordinates.forEach(transformRing); 7981 } 7982 7983 function transformRing(coordinates) { 7984 coordinates.forEach(transformPoint); 7985 } 7986 7987 // TODO Optimize. 7988 function transformPoint(coordinates) { 7989 coordinates[0] = coordinates[0] * Math.pow(2, k) - o; 7990 coordinates[1] = coordinates[1] * Math.pow(2, k) - o; 7991 } 7992 7993 function resize() { 7994 o = r * 3; 7995 n = (dx + o * 2) >> k; 7996 m = (dy + o * 2) >> k; 7997 return density; 7998 } 7999 8000 density.x = function(_) { 8001 return arguments.length ? (x = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), density) : x; 8002 }; 8003 8004 density.y = function(_) { 8005 return arguments.length ? (y = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), density) : y; 8006 }; 8007 8008 density.weight = function(_) { 8009 return arguments.length ? (weight = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), density) : weight; 8010 }; 8011 8012 density.size = function(_) { 8013 if (!arguments.length) return [dx, dy]; 8014 var _0 = +_[0], _1 = +_[1]; 8015 if (!(_0 >= 0 && _1 >= 0)) throw new Error("invalid size"); 8016 return dx = _0, dy = _1, resize(); 8017 }; 8018 8019 density.cellSize = function(_) { 8020 if (!arguments.length) return 1 << k; 8021 if (!((_ = +_) >= 1)) throw new Error("invalid cell size"); 8022 return k = Math.floor(Math.log(_) / Math.LN2), resize(); 8023 }; 8024 8025 density.thresholds = function(_) { 8026 return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_array_js__WEBPACK_IMPORTED_MODULE_5__.slice.call(_)) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_), density) : threshold; 8027 }; 8028 8029 density.bandwidth = function(_) { 8030 if (!arguments.length) return Math.sqrt(r * (r + 1)); 8031 if (!((_ = +_) >= 0)) throw new Error("invalid bandwidth"); 8032 return r = (Math.sqrt(4 * _ * _ + 1) - 1) / 2, resize(); 8033 }; 8034 8035 return density; 8036} 8037 8038 8039/***/ }), 8040
vendor: 989 bytes, lines 8041-8059
8041/***/ "./node_modules/d3-contour/src/index.js": 8042/*!**********************************************!*\ 8043 !*** ./node_modules/d3-contour/src/index.js ***! 8044 \**********************************************/ 8045/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8046 8047__webpack_require__.r(__webpack_exports__); 8048/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8049/* harmony export */ contourDensity: () => (/* reexport safe */ _density_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 8050/* harmony export */ contours: () => (/* reexport safe */ _contours_js__WEBPACK_IMPORTED_MODULE_0__["default"]) 8051/* harmony export */ }); 8052/* harmony import */ var _contours_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./contours.js */ "./node_modules/d3-contour/src/contours.js"); 8053/* harmony import */ var _density_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./density.js */ "./node_modules/d3-contour/src/density.js"); 8054 8055 8056 8057 8058/***/ }), 8059
vendor: 608 bytes, lines 8060-8074
8060/***/ "./node_modules/d3-contour/src/noop.js": 8061/*!*********************************************!*\ 8062 !*** ./node_modules/d3-contour/src/noop.js ***! 8063 \*********************************************/ 8064/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8065 8066__webpack_require__.r(__webpack_exports__); 8067/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8068/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 8069/* harmony export */ }); 8070/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {} 8071 8072 8073/***/ }), 8074
vendor: 9,412 bytes, lines 8075-8340
8075/***/ "./node_modules/d3-delaunay/src/delaunay.js": 8076/*!**************************************************!*\ 8077 !*** ./node_modules/d3-delaunay/src/delaunay.js ***! 8078 \**************************************************/ 8079/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8080 8081__webpack_require__.r(__webpack_exports__); 8082/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8083/* harmony export */ "default": () => (/* binding */ Delaunay) 8084/* harmony export */ }); 8085/* harmony import */ var delaunator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! delaunator */ "./node_modules/delaunator/index.js"); 8086/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-delaunay/src/path.js"); 8087/* harmony import */ var _polygon_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./polygon.js */ "./node_modules/d3-delaunay/src/polygon.js"); 8088/* harmony import */ var _voronoi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./voronoi.js */ "./node_modules/d3-delaunay/src/voronoi.js"); 8089 8090 8091 8092 8093 8094const tau = 2 * Math.PI, pow = Math.pow; 8095 8096function pointX(p) { 8097 return p[0]; 8098} 8099 8100function pointY(p) { 8101 return p[1]; 8102} 8103 8104// A triangulation is collinear if all its triangles have a non-null area 8105function collinear(d) { 8106 const {triangles, coords} = d; 8107 for (let i = 0; i < triangles.length; i += 3) { 8108 const a = 2 * triangles[i], 8109 b = 2 * triangles[i + 1], 8110 c = 2 * triangles[i + 2], 8111 cross = (coords[c] - coords[a]) * (coords[b + 1] - coords[a + 1]) 8112 - (coords[b] - coords[a]) * (coords[c + 1] - coords[a + 1]); 8113 if (cross > 1e-10) return false; 8114 } 8115 return true; 8116} 8117 8118function jitter(x, y, r) { 8119 return [x + Math.sin(x + y) * r, y + Math.cos(x - y) * r]; 8120} 8121 8122class Delaunay { 8123 static from(points, fx = pointX, fy = pointY, that) { 8124 return new Delaunay("length" in points 8125 ? flatArray(points, fx, fy, that) 8126 : Float64Array.from(flatIterable(points, fx, fy, that))); 8127 } 8128 constructor(points) { 8129 this._delaunator = new delaunator__WEBPACK_IMPORTED_MODULE_0__["default"](points); 8130 this.inedges = new Int32Array(points.length / 2); 8131 this._hullIndex = new Int32Array(points.length / 2); 8132 this.points = this._delaunator.coords; 8133 this._init(); 8134 } 8135 update() { 8136 this._delaunator.update(); 8137 this._init(); 8138 return this; 8139 } 8140 _init() { 8141 const d = this._delaunator, points = this.points; 8142 8143 // check for collinear 8144 if (d.hull && d.hull.length > 2 && collinear(d)) { 8145 this.collinear = Int32Array.from({length: points.length/2}, (_,i) => i) 8146 .sort((i, j) => points[2 * i] - points[2 * j] || points[2 * i + 1] - points[2 * j + 1]); // for exact neighbors 8147 const e = this.collinear[0], f = this.collinear[this.collinear.length - 1], 8148 bounds = [ points[2 * e], points[2 * e + 1], points[2 * f], points[2 * f + 1] ], 8149 r = 1e-8 * Math.hypot(bounds[3] - bounds[1], bounds[2] - bounds[0]); 8150 for (let i = 0, n = points.length / 2; i < n; ++i) { 8151 const p = jitter(points[2 * i], points[2 * i + 1], r); 8152 points[2 * i] = p[0]; 8153 points[2 * i + 1] = p[1]; 8154 } 8155 this._delaunator = new delaunator__WEBPACK_IMPORTED_MODULE_0__["default"](points); 8156 } else { 8157 delete this.collinear; 8158 } 8159 8160 const halfedges = this.halfedges = this._delaunator.halfedges; 8161 const hull = this.hull = this._delaunator.hull; 8162 const triangles = this.triangles = this._delaunator.triangles; 8163 const inedges = this.inedges.fill(-1); 8164 const hullIndex = this._hullIndex.fill(-1); 8165 8166 // Compute an index from each point to an (arbitrary) incoming halfedge 8167 // Used to give the first neighbor of each point; for this reason, 8168 // on the hull we give priority to exterior halfedges 8169 for (let e = 0, n = halfedges.length; e < n; ++e) { 8170 const p = triangles[e % 3 === 2 ? e - 2 : e + 1]; 8171 if (halfedges[e] === -1 || inedges[p] === -1) inedges[p] = e; 8172 } 8173 for (let i = 0, n = hull.length; i < n; ++i) { 8174 hullIndex[hull[i]] = i; 8175 } 8176 8177 // degenerate case: 1 or 2 (distinct) points 8178 if (hull.length <= 2 && hull.length > 0) { 8179 this.triangles = new Int32Array(3).fill(-1); 8180 this.halfedges = new Int32Array(3).fill(-1); 8181 this.triangles[0] = hull[0]; 8182 inedges[hull[0]] = 1; 8183 if (hull.length === 2) { 8184 inedges[hull[1]] = 0; 8185 this.triangles[1] = hull[1]; 8186 this.triangles[2] = hull[1]; 8187 } 8188 } 8189 } 8190 voronoi(bounds) { 8191 return new _voronoi_js__WEBPACK_IMPORTED_MODULE_1__["default"](this, bounds); 8192 } 8193 *neighbors(i) { 8194 const {inedges, hull, _hullIndex, halfedges, triangles, collinear} = this; 8195 8196 // degenerate case with several collinear points 8197 if (collinear) { 8198 const l = collinear.indexOf(i); 8199 if (l > 0) yield collinear[l - 1]; 8200 if (l < collinear.length - 1) yield collinear[l + 1]; 8201 return; 8202 } 8203 8204 const e0 = inedges[i]; 8205 if (e0 === -1) return; // coincident point 8206 let e = e0, p0 = -1; 8207 do { 8208 yield p0 = triangles[e]; 8209 e = e % 3 === 2 ? e - 2 : e + 1; 8210 if (triangles[e] !== i) return; // bad triangulation 8211 e = halfedges[e]; 8212 if (e === -1) { 8213 const p = hull[(_hullIndex[i] + 1) % hull.length]; 8214 if (p !== p0) yield p; 8215 return; 8216 } 8217 } while (e !== e0); 8218 } 8219 find(x, y, i = 0) { 8220 if ((x = +x, x !== x) || (y = +y, y !== y)) return -1; 8221 const i0 = i; 8222 let c; 8223 while ((c = this._step(i, x, y)) >= 0 && c !== i && c !== i0) i = c; 8224 return c; 8225 } 8226 _step(i, x, y) { 8227 const {inedges, hull, _hullIndex, halfedges, triangles, points} = this; 8228 if (inedges[i] === -1 || !points.length) return (i + 1) % (points.length >> 1); 8229 let c = i; 8230 let dc = pow(x - points[i * 2], 2) + pow(y - points[i * 2 + 1], 2); 8231 const e0 = inedges[i]; 8232 let e = e0; 8233 do { 8234 let t = triangles[e]; 8235 const dt = pow(x - points[t * 2], 2) + pow(y - points[t * 2 + 1], 2); 8236 if (dt < dc) dc = dt, c = t; 8237 e = e % 3 === 2 ? e - 2 : e + 1; 8238 if (triangles[e] !== i) break; // bad triangulation 8239 e = halfedges[e]; 8240 if (e === -1) { 8241 e = hull[(_hullIndex[i] + 1) % hull.length]; 8242 if (e !== t) { 8243 if (pow(x - points[e * 2], 2) + pow(y - points[e * 2 + 1], 2) < dc) return e; 8244 } 8245 break; 8246 } 8247 } while (e !== e0); 8248 return c; 8249 } 8250 render(context) { 8251 const buffer = context == null ? context = new _path_js__WEBPACK_IMPORTED_MODULE_2__["default"] : undefined; 8252 const {points, halfedges, triangles} = this; 8253 for (let i = 0, n = halfedges.length; i < n; ++i) { 8254 const j = halfedges[i]; 8255 if (j < i) continue; 8256 const ti = triangles[i] * 2; 8257 const tj = triangles[j] * 2; 8258 context.moveTo(points[ti], points[ti + 1]); 8259 context.lineTo(points[tj], points[tj + 1]); 8260 } 8261 this.renderHull(context); 8262 return buffer && buffer.value(); 8263 } 8264 renderPoints(context, r) { 8265 if (r === undefined && (!context || typeof context.moveTo !== "function")) r = context, context = null; 8266 r = r == undefined ? 2 : +r; 8267 const buffer = context == null ? context = new _path_js__WEBPACK_IMPORTED_MODULE_2__["default"] : undefined; 8268 const {points} = this; 8269 for (let i = 0, n = points.length; i < n; i += 2) { 8270 const x = points[i], y = points[i + 1]; 8271 context.moveTo(x + r, y); 8272 context.arc(x, y, r, 0, tau); 8273 } 8274 return buffer && buffer.value(); 8275 } 8276 renderHull(context) { 8277 const buffer = context == null ? context = new _path_js__WEBPACK_IMPORTED_MODULE_2__["default"] : undefined; 8278 const {hull, points} = this; 8279 const h = hull[0] * 2, n = hull.length; 8280 context.moveTo(points[h], points[h + 1]); 8281 for (let i = 1; i < n; ++i) { 8282 const h = 2 * hull[i]; 8283 context.lineTo(points[h], points[h + 1]); 8284 } 8285 context.closePath(); 8286 return buffer && buffer.value(); 8287 } 8288 hullPolygon() { 8289 const polygon = new _polygon_js__WEBPACK_IMPORTED_MODULE_3__["default"]; 8290 this.renderHull(polygon); 8291 return polygon.value(); 8292 } 8293 renderTriangle(i, context) { 8294 const buffer = context == null ? context = new _path_js__WEBPACK_IMPORTED_MODULE_2__["default"] : undefined; 8295 const {points, triangles} = this; 8296 const t0 = triangles[i *= 3] * 2; 8297 const t1 = triangles[i + 1] * 2; 8298 const t2 = triangles[i + 2] * 2; 8299 context.moveTo(points[t0], points[t0 + 1]); 8300 context.lineTo(points[t1], points[t1 + 1]); 8301 context.lineTo(points[t2], points[t2 + 1]); 8302 context.closePath(); 8303 return buffer && buffer.value(); 8304 } 8305 *trianglePolygons() { 8306 const {triangles} = this; 8307 for (let i = 0, n = triangles.length / 3; i < n; ++i) { 8308 yield this.trianglePolygon(i); 8309 } 8310 } 8311 trianglePolygon(i) { 8312 const polygon = new _polygon_js__WEBPACK_IMPORTED_MODULE_3__["default"]; 8313 this.renderTriangle(i, polygon); 8314 return polygon.value(); 8315 } 8316} 8317 8318function flatArray(points, fx, fy, that) { 8319 const n = points.length; 8320 const array = new Float64Array(n * 2); 8321 for (let i = 0; i < n; ++i) { 8322 const p = points[i]; 8323 array[i * 2] = fx.call(that, p, i, points); 8324 array[i * 2 + 1] = fy.call(that, p, i, points); 8325 } 8326 return array; 8327} 8328 8329function* flatIterable(points, fx, fy, that) { 8330 let i = 0; 8331 for (const p of points) { 8332 yield fx.call(that, p, i, points); 8333 yield fy.call(that, p, i, points); 8334 ++i; 8335 } 8336} 8337 8338 8339/***/ }), 8340
vendor: 988 bytes, lines 8341-8359
8341/***/ "./node_modules/d3-delaunay/src/index.js": 8342/*!***********************************************!*\ 8343 !*** ./node_modules/d3-delaunay/src/index.js ***! 8344 \***********************************************/ 8345/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8346 8347__webpack_require__.r(__webpack_exports__); 8348/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8349/* harmony export */ Delaunay: () => (/* reexport safe */ _delaunay_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 8350/* harmony export */ Voronoi: () => (/* reexport safe */ _voronoi_js__WEBPACK_IMPORTED_MODULE_1__["default"]) 8351/* harmony export */ }); 8352/* harmony import */ var _delaunay_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./delaunay.js */ "./node_modules/d3-delaunay/src/delaunay.js"); 8353/* harmony import */ var _voronoi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./voronoi.js */ "./node_modules/d3-delaunay/src/voronoi.js"); 8354 8355 8356 8357 8358/***/ }), 8359
vendor: 1,574 bytes, lines 8360-8410
8360/***/ "./node_modules/d3-delaunay/src/path.js": 8361/*!**********************************************!*\ 8362 !*** ./node_modules/d3-delaunay/src/path.js ***! 8363 \**********************************************/ 8364/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8365 8366__webpack_require__.r(__webpack_exports__); 8367/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8368/* harmony export */ "default": () => (/* binding */ Path) 8369/* harmony export */ }); 8370const epsilon = 1e-6; 8371 8372class Path { 8373 constructor() { 8374 this._x0 = this._y0 = // start of current subpath 8375 this._x1 = this._y1 = null; // end of current subpath 8376 this._ = ""; 8377 } 8378 moveTo(x, y) { 8379 this._ += `M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}`; 8380 } 8381 closePath() { 8382 if (this._x1 !== null) { 8383 this._x1 = this._x0, this._y1 = this._y0; 8384 this._ += "Z"; 8385 } 8386 } 8387 lineTo(x, y) { 8388 this._ += `L${this._x1 = +x},${this._y1 = +y}`; 8389 } 8390 arc(x, y, r) { 8391 x = +x, y = +y, r = +r; 8392 const x0 = x + r; 8393 const y0 = y; 8394 if (r < 0) throw new Error("negative radius"); 8395 if (this._x1 === null) this._ += `M${x0},${y0}`; 8396 else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) this._ += "L" + x0 + "," + y0; 8397 if (!r) return; 8398 this._ += `A${r},${r},0,1,1,${x - r},${y}A${r},${r},0,1,1,${this._x1 = x0},${this._y1 = y0}`; 8399 } 8400 rect(x, y, w, h) { 8401 this._ += `M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}h${+w}v${+h}h${-w}Z`; 8402 } 8403 value() { 8404 return this._ || null; 8405 } 8406} 8407 8408 8409/***/ }), 8410
vendor: 783 bytes, lines 8411-8441
8411/***/ "./node_modules/d3-delaunay/src/polygon.js": 8412/*!*************************************************!*\ 8413 !*** ./node_modules/d3-delaunay/src/polygon.js ***! 8414 \*************************************************/ 8415/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8416 8417__webpack_require__.r(__webpack_exports__); 8418/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8419/* harmony export */ "default": () => (/* binding */ Polygon) 8420/* harmony export */ }); 8421class Polygon { 8422 constructor() { 8423 this._ = []; 8424 } 8425 moveTo(x, y) { 8426 this._.push([x, y]); 8427 } 8428 closePath() { 8429 this._.push(this._[0].slice()); 8430 } 8431 lineTo(x, y) { 8432 this._.push([x, y]); 8433 } 8434 value() { 8435 return this._.length ? this._ : null; 8436 } 8437} 8438 8439 8440/***/ }), 8441
vendor: 13,364 bytes, lines 8442-8789
8442/***/ "./node_modules/d3-delaunay/src/voronoi.js": 8443/*!*************************************************!*\ 8444 !*** ./node_modules/d3-delaunay/src/voronoi.js ***! 8445 \*************************************************/ 8446/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8447 8448__webpack_require__.r(__webpack_exports__); 8449/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8450/* harmony export */ "default": () => (/* binding */ Voronoi) 8451/* harmony export */ }); 8452/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-delaunay/src/path.js"); 8453/* harmony import */ var _polygon_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./polygon.js */ "./node_modules/d3-delaunay/src/polygon.js"); 8454 8455 8456 8457class Voronoi { 8458 constructor(delaunay, [xmin, ymin, xmax, ymax] = [0, 0, 960, 500]) { 8459 if (!((xmax = +xmax) >= (xmin = +xmin)) || !((ymax = +ymax) >= (ymin = +ymin))) throw new Error("invalid bounds"); 8460 this.delaunay = delaunay; 8461 this._circumcenters = new Float64Array(delaunay.points.length * 2); 8462 this.vectors = new Float64Array(delaunay.points.length * 2); 8463 this.xmax = xmax, this.xmin = xmin; 8464 this.ymax = ymax, this.ymin = ymin; 8465 this._init(); 8466 } 8467 update() { 8468 this.delaunay.update(); 8469 this._init(); 8470 return this; 8471 } 8472 _init() { 8473 const {delaunay: {points, hull, triangles}, vectors} = this; 8474 let bx, by; // lazily computed barycenter of the hull 8475 8476 // Compute circumcenters. 8477 const circumcenters = this.circumcenters = this._circumcenters.subarray(0, triangles.length / 3 * 2); 8478 for (let i = 0, j = 0, n = triangles.length, x, y; i < n; i += 3, j += 2) { 8479 const t1 = triangles[i] * 2; 8480 const t2 = triangles[i + 1] * 2; 8481 const t3 = triangles[i + 2] * 2; 8482 const x1 = points[t1]; 8483 const y1 = points[t1 + 1]; 8484 const x2 = points[t2]; 8485 const y2 = points[t2 + 1]; 8486 const x3 = points[t3]; 8487 const y3 = points[t3 + 1]; 8488 8489 const dx = x2 - x1; 8490 const dy = y2 - y1; 8491 const ex = x3 - x1; 8492 const ey = y3 - y1; 8493 const ab = (dx * ey - dy * ex) * 2; 8494 8495 if (Math.abs(ab) < 1e-9) { 8496 // For a degenerate triangle, the circumcenter is at the infinity, in a 8497 // direction orthogonal to the halfedge and away from the âcenterâ of 8498 // the diagram <bx, by>, defined as the hullâs barycenter. 8499 if (bx === undefined) { 8500 bx = by = 0; 8501 for (const i of hull) bx += points[i * 2], by += points[i * 2 + 1]; 8502 bx /= hull.length, by /= hull.length; 8503 } 8504 const a = 1e9 * Math.sign((bx - x1) * ey - (by - y1) * ex); 8505 x = (x1 + x3) / 2 - a * ey; 8506 y = (y1 + y3) / 2 + a * ex; 8507 } else { 8508 const d = 1 / ab; 8509 const bl = dx * dx + dy * dy; 8510 const cl = ex * ex + ey * ey; 8511 x = x1 + (ey * bl - dy * cl) * d; 8512 y = y1 + (dx * cl - ex * bl) * d; 8513 } 8514 circumcenters[j] = x; 8515 circumcenters[j + 1] = y; 8516 } 8517 8518 // Compute exterior cell rays. 8519 let h = hull[hull.length - 1]; 8520 let p0, p1 = h * 4; 8521 let x0, x1 = points[2 * h]; 8522 let y0, y1 = points[2 * h + 1]; 8523 vectors.fill(0); 8524 for (let i = 0; i < hull.length; ++i) { 8525 h = hull[i]; 8526 p0 = p1, x0 = x1, y0 = y1; 8527 p1 = h * 4, x1 = points[2 * h], y1 = points[2 * h + 1]; 8528 vectors[p0 + 2] = vectors[p1] = y0 - y1; 8529 vectors[p0 + 3] = vectors[p1 + 1] = x1 - x0; 8530 } 8531 } 8532 render(context) { 8533 const buffer = context == null ? context = new _path_js__WEBPACK_IMPORTED_MODULE_0__["default"] : undefined; 8534 const {delaunay: {halfedges, inedges, hull}, circumcenters, vectors} = this; 8535 if (hull.length <= 1) return null; 8536 for (let i = 0, n = halfedges.length; i < n; ++i) { 8537 const j = halfedges[i]; 8538 if (j < i) continue; 8539 const ti = Math.floor(i / 3) * 2; 8540 const tj = Math.floor(j / 3) * 2; 8541 const xi = circumcenters[ti]; 8542 const yi = circumcenters[ti + 1]; 8543 const xj = circumcenters[tj]; 8544 const yj = circumcenters[tj + 1]; 8545 this._renderSegment(xi, yi, xj, yj, context); 8546 } 8547 let h0, h1 = hull[hull.length - 1]; 8548 for (let i = 0; i < hull.length; ++i) { 8549 h0 = h1, h1 = hull[i]; 8550 const t = Math.floor(inedges[h1] / 3) * 2; 8551 const x = circumcenters[t]; 8552 const y = circumcenters[t + 1]; 8553 const v = h0 * 4; 8554 const p = this._project(x, y, vectors[v + 2], vectors[v + 3]); 8555 if (p) this._renderSegment(x, y, p[0], p[1], context); 8556 } 8557 return buffer && buffer.value(); 8558 } 8559 renderBounds(context) { 8560 const buffer = context == null ? context = new _path_js__WEBPACK_IMPORTED_MODULE_0__["default"] : undefined; 8561 context.rect(this.xmin, this.ymin, this.xmax - this.xmin, this.ymax - this.ymin); 8562 return buffer && buffer.value(); 8563 } 8564 renderCell(i, context) { 8565 const buffer = context == null ? context = new _path_js__WEBPACK_IMPORTED_MODULE_0__["default"] : undefined; 8566 const points = this._clip(i); 8567 if (points === null || !points.length) return; 8568 context.moveTo(points[0], points[1]); 8569 let n = points.length; 8570 while (points[0] === points[n-2] && points[1] === points[n-1] && n > 1) n -= 2; 8571 for (let i = 2; i < n; i += 2) { 8572 if (points[i] !== points[i-2] || points[i+1] !== points[i-1]) 8573 context.lineTo(points[i], points[i + 1]); 8574 } 8575 context.closePath(); 8576 return buffer && buffer.value(); 8577 } 8578 *cellPolygons() { 8579 const {delaunay: {points}} = this; 8580 for (let i = 0, n = points.length / 2; i < n; ++i) { 8581 const cell = this.cellPolygon(i); 8582 if (cell) cell.index = i, yield cell; 8583 } 8584 } 8585 cellPolygon(i) { 8586 const polygon = new _polygon_js__WEBPACK_IMPORTED_MODULE_1__["default"]; 8587 this.renderCell(i, polygon); 8588 return polygon.value(); 8589 } 8590 _renderSegment(x0, y0, x1, y1, context) { 8591 let S; 8592 const c0 = this._regioncode(x0, y0); 8593 const c1 = this._regioncode(x1, y1); 8594 if (c0 === 0 && c1 === 0) { 8595 context.moveTo(x0, y0); 8596 context.lineTo(x1, y1); 8597 } else if (S = this._clipSegment(x0, y0, x1, y1, c0, c1)) { 8598 context.moveTo(S[0], S[1]); 8599 context.lineTo(S[2], S[3]); 8600 } 8601 } 8602 contains(i, x, y) { 8603 if ((x = +x, x !== x) || (y = +y, y !== y)) return false; 8604 return this.delaunay._step(i, x, y) === i; 8605 } 8606 *neighbors(i) { 8607 const ci = this._clip(i); 8608 if (ci) for (const j of this.delaunay.neighbors(i)) { 8609 const cj = this._clip(j); 8610 // find the common edge 8611 if (cj) loop: for (let ai = 0, li = ci.length; ai < li; ai += 2) { 8612 for (let aj = 0, lj = cj.length; aj < lj; aj += 2) { 8613 if (ci[ai] === cj[aj] 8614 && ci[ai + 1] === cj[aj + 1] 8615 && ci[(ai + 2) % li] === cj[(aj + lj - 2) % lj] 8616 && ci[(ai + 3) % li] === cj[(aj + lj - 1) % lj]) { 8617 yield j; 8618 break loop; 8619 } 8620 } 8621 } 8622 } 8623 } 8624 _cell(i) { 8625 const {circumcenters, delaunay: {inedges, halfedges, triangles}} = this; 8626 const e0 = inedges[i]; 8627 if (e0 === -1) return null; // coincident point 8628 const points = []; 8629 let e = e0; 8630 do { 8631 const t = Math.floor(e / 3); 8632 points.push(circumcenters[t * 2], circumcenters[t * 2 + 1]); 8633 e = e % 3 === 2 ? e - 2 : e + 1; 8634 if (triangles[e] !== i) break; // bad triangulation 8635 e = halfedges[e]; 8636 } while (e !== e0 && e !== -1); 8637 return points; 8638 } 8639 _clip(i) { 8640 // degenerate case (1 valid point: return the box) 8641 if (i === 0 && this.delaunay.hull.length === 1) { 8642 return [this.xmax, this.ymin, this.xmax, this.ymax, this.xmin, this.ymax, this.xmin, this.ymin]; 8643 } 8644 const points = this._cell(i); 8645 if (points === null) return null; 8646 const {vectors: V} = this; 8647 const v = i * 4; 8648 return this._simplify(V[v] || V[v + 1] 8649 ? this._clipInfinite(i, points, V[v], V[v + 1], V[v + 2], V[v + 3]) 8650 : this._clipFinite(i, points)); 8651 } 8652 _clipFinite(i, points) { 8653 const n = points.length; 8654 let P = null; 8655 let x0, y0, x1 = points[n - 2], y1 = points[n - 1]; 8656 let c0, c1 = this._regioncode(x1, y1); 8657 let e0, e1 = 0; 8658 for (let j = 0; j < n; j += 2) { 8659 x0 = x1, y0 = y1, x1 = points[j], y1 = points[j + 1]; 8660 c0 = c1, c1 = this._regioncode(x1, y1); 8661 if (c0 === 0 && c1 === 0) { 8662 e0 = e1, e1 = 0; 8663 if (P) P.push(x1, y1); 8664 else P = [x1, y1]; 8665 } else { 8666 let S, sx0, sy0, sx1, sy1; 8667 if (c0 === 0) { 8668 if ((S = this._clipSegment(x0, y0, x1, y1, c0, c1)) === null) continue; 8669 [sx0, sy0, sx1, sy1] = S; 8670 } else { 8671 if ((S = this._clipSegment(x1, y1, x0, y0, c1, c0)) === null) continue; 8672 [sx1, sy1, sx0, sy0] = S; 8673 e0 = e1, e1 = this._edgecode(sx0, sy0); 8674 if (e0 && e1) this._edge(i, e0, e1, P, P.length); 8675 if (P) P.push(sx0, sy0); 8676 else P = [sx0, sy0]; 8677 } 8678 e0 = e1, e1 = this._edgecode(sx1, sy1); 8679 if (e0 && e1) this._edge(i, e0, e1, P, P.length); 8680 if (P) P.push(sx1, sy1); 8681 else P = [sx1, sy1]; 8682 } 8683 } 8684 if (P) { 8685 e0 = e1, e1 = this._edgecode(P[0], P[1]); 8686 if (e0 && e1) this._edge(i, e0, e1, P, P.length); 8687 } else if (this.contains(i, (this.xmin + this.xmax) / 2, (this.ymin + this.ymax) / 2)) { 8688 return [this.xmax, this.ymin, this.xmax, this.ymax, this.xmin, this.ymax, this.xmin, this.ymin]; 8689 } 8690 return P; 8691 } 8692 _clipSegment(x0, y0, x1, y1, c0, c1) { 8693 // for more robustness, always consider the segment in the same order 8694 const flip = c0 < c1; 8695 if (flip) [x0, y0, x1, y1, c0, c1] = [x1, y1, x0, y0, c1, c0]; 8696 while (true) { 8697 if (c0 === 0 && c1 === 0) return flip ? [x1, y1, x0, y0] : [x0, y0, x1, y1]; 8698 if (c0 & c1) return null; 8699 let x, y, c = c0 || c1; 8700 if (c & 0b1000) x = x0 + (x1 - x0) * (this.ymax - y0) / (y1 - y0), y = this.ymax; 8701 else if (c & 0b0100) x = x0 + (x1 - x0) * (this.ymin - y0) / (y1 - y0), y = this.ymin; 8702 else if (c & 0b0010) y = y0 + (y1 - y0) * (this.xmax - x0) / (x1 - x0), x = this.xmax; 8703 else y = y0 + (y1 - y0) * (this.xmin - x0) / (x1 - x0), x = this.xmin; 8704 if (c0) x0 = x, y0 = y, c0 = this._regioncode(x0, y0); 8705 else x1 = x, y1 = y, c1 = this._regioncode(x1, y1); 8706 } 8707 } 8708 _clipInfinite(i, points, vx0, vy0, vxn, vyn) { 8709 let P = Array.from(points), p; 8710 if (p = this._project(P[0], P[1], vx0, vy0)) P.unshift(p[0], p[1]); 8711 if (p = this._project(P[P.length - 2], P[P.length - 1], vxn, vyn)) P.push(p[0], p[1]); 8712 if (P = this._clipFinite(i, P)) { 8713 for (let j = 0, n = P.length, c0, c1 = this._edgecode(P[n - 2], P[n - 1]); j < n; j += 2) { 8714 c0 = c1, c1 = this._edgecode(P[j], P[j + 1]); 8715 if (c0 && c1) j = this._edge(i, c0, c1, P, j), n = P.length; 8716 } 8717 } else if (this.contains(i, (this.xmin + this.xmax) / 2, (this.ymin + this.ymax) / 2)) { 8718 P = [this.xmin, this.ymin, this.xmax, this.ymin, this.xmax, this.ymax, this.xmin, this.ymax]; 8719 } 8720 return P; 8721 } 8722 _edge(i, e0, e1, P, j) { 8723 while (e0 !== e1) { 8724 let x, y; 8725 switch (e0) { 8726 case 0b0101: e0 = 0b0100; continue; // top-left 8727 case 0b0100: e0 = 0b0110, x = this.xmax, y = this.ymin; break; // top 8728 case 0b0110: e0 = 0b0010; continue; // top-right 8729 case 0b0010: e0 = 0b1010, x = this.xmax, y = this.ymax; break; // right 8730 case 0b1010: e0 = 0b1000; continue; // bottom-right 8731 case 0b1000: e0 = 0b1001, x = this.xmin, y = this.ymax; break; // bottom 8732 case 0b1001: e0 = 0b0001; continue; // bottom-left 8733 case 0b0001: e0 = 0b0101, x = this.xmin, y = this.ymin; break; // left 8734 } 8735 // Note: this implicitly checks for out of bounds: if P[j] or P[j+1] are 8736 // undefined, the conditional statement will be executed. 8737 if ((P[j] !== x || P[j + 1] !== y) && this.contains(i, x, y)) { 8738 P.splice(j, 0, x, y), j += 2; 8739 } 8740 } 8741 return j; 8742 } 8743 _project(x0, y0, vx, vy) { 8744 let t = Infinity, c, x, y; 8745 if (vy < 0) { // top 8746 if (y0 <= this.ymin) return null; 8747 if ((c = (this.ymin - y0) / vy) < t) y = this.ymin, x = x0 + (t = c) * vx; 8748 } else if (vy > 0) { // bottom 8749 if (y0 >= this.ymax) return null; 8750 if ((c = (this.ymax - y0) / vy) < t) y = this.ymax, x = x0 + (t = c) * vx; 8751 } 8752 if (vx > 0) { // right 8753 if (x0 >= this.xmax) return null; 8754 if ((c = (this.xmax - x0) / vx) < t) x = this.xmax, y = y0 + (t = c) * vy; 8755 } else if (vx < 0) { // left 8756 if (x0 <= this.xmin) return null; 8757 if ((c = (this.xmin - x0) / vx) < t) x = this.xmin, y = y0 + (t = c) * vy; 8758 } 8759 return [x, y]; 8760 } 8761 _edgecode(x, y) { 8762 return (x === this.xmin ? 0b0001 8763 : x === this.xmax ? 0b0010 : 0b0000) 8764 | (y === this.ymin ? 0b0100 8765 : y === this.ymax ? 0b1000 : 0b0000); 8766 } 8767 _regioncode(x, y) { 8768 return (x < this.xmin ? 0b0001 8769 : x > this.xmax ? 0b0010 : 0b0000) 8770 | (y < this.ymin ? 0b0100 8771 : y > this.ymax ? 0b1000 : 0b0000); 8772 } 8773 _simplify(P) { 8774 if (P && P.length > 4) { 8775 for (let i = 0; i < P.length; i+= 2) { 8776 const j = (i + 2) % P.length, k = (i + 4) % P.length; 8777 if (P[i] === P[j] && P[j] === P[k] || P[i + 1] === P[j + 1] && P[j + 1] === P[k + 1]) { 8778 P.splice(j, 2), i -= 2; 8779 } 8780 } 8781 if (!P.length) P = null; 8782 } 8783 return P; 8784 } 8785} 8786 8787 8788/***/ }), 8789
vendor: 3,323 bytes, lines 8790-8887
8790/***/ "./node_modules/d3-dispatch/src/dispatch.js": 8791/*!**************************************************!*\ 8792 !*** ./node_modules/d3-dispatch/src/dispatch.js ***! 8793 \**************************************************/ 8794/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8795 8796__webpack_require__.r(__webpack_exports__); 8797/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8798/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 8799/* harmony export */ }); 8800var noop = {value: () => {}}; 8801 8802function dispatch() { 8803 for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) { 8804 if (!(t = arguments[i] + "") || (t in _) || /[\s.]/.test(t)) throw new Error("illegal type: " + t); 8805 _[t] = []; 8806 } 8807 return new Dispatch(_); 8808} 8809 8810function Dispatch(_) { 8811 this._ = _; 8812} 8813 8814function parseTypenames(typenames, types) { 8815 return typenames.trim().split(/^|\s+/).map(function(t) { 8816 var name = "", i = t.indexOf("."); 8817 if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i); 8818 if (t && !types.hasOwnProperty(t)) throw new Error("unknown type: " + t); 8819 return {type: t, name: name}; 8820 }); 8821} 8822 8823Dispatch.prototype = dispatch.prototype = { 8824 constructor: Dispatch, 8825 on: function(typename, callback) { 8826 var _ = this._, 8827 T = parseTypenames(typename + "", _), 8828 t, 8829 i = -1, 8830 n = T.length; 8831 8832 // If no callback was specified, return the callback of the given type and name. 8833 if (arguments.length < 2) { 8834 while (++i < n) if ((t = (typename = T[i]).type) && (t = get(_[t], typename.name))) return t; 8835 return; 8836 } 8837 8838 // If a type was specified, set the callback for the given type and name. 8839 // Otherwise, if a null callback was specified, remove callbacks of the given name. 8840 if (callback != null && typeof callback !== "function") throw new Error("invalid callback: " + callback); 8841 while (++i < n) { 8842 if (t = (typename = T[i]).type) _[t] = set(_[t], typename.name, callback); 8843 else if (callback == null) for (t in _) _[t] = set(_[t], typename.name, null); 8844 } 8845 8846 return this; 8847 }, 8848 copy: function() { 8849 var copy = {}, _ = this._; 8850 for (var t in _) copy[t] = _[t].slice(); 8851 return new Dispatch(copy); 8852 }, 8853 call: function(type, that) { 8854 if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2]; 8855 if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type); 8856 for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args); 8857 }, 8858 apply: function(type, that, args) { 8859 if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type); 8860 for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args); 8861 } 8862}; 8863 8864function get(type, name) { 8865 for (var i = 0, n = type.length, c; i < n; ++i) { 8866 if ((c = type[i]).name === name) { 8867 return c.value; 8868 } 8869 } 8870} 8871 8872function set(type, name, callback) { 8873 for (var i = 0, n = type.length; i < n; ++i) { 8874 if (type[i].name === name) { 8875 type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1)); 8876 break; 8877 } 8878 } 8879 if (callback != null) type.push({name: name, value: callback}); 8880 return type; 8881} 8882 8883/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (dispatch); 8884 8885 8886/***/ }), 8887
vendor: 720 bytes, lines 8888-8903
8888/***/ "./node_modules/d3-dispatch/src/index.js": 8889/*!***********************************************!*\ 8890 !*** ./node_modules/d3-dispatch/src/index.js ***! 8891 \***********************************************/ 8892/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8893 8894__webpack_require__.r(__webpack_exports__); 8895/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8896/* harmony export */ dispatch: () => (/* reexport safe */ _dispatch_js__WEBPACK_IMPORTED_MODULE_0__["default"]) 8897/* harmony export */ }); 8898/* harmony import */ var _dispatch_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dispatch.js */ "./node_modules/d3-dispatch/src/dispatch.js"); 8899 8900 8901 8902/***/ }), 8903
vendor: 593 bytes, lines 8904-8918
8904/***/ "./node_modules/d3-drag/src/constant.js": 8905/*!**********************************************!*\ 8906 !*** ./node_modules/d3-drag/src/constant.js ***! 8907 \**********************************************/ 8908/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8909 8910__webpack_require__.r(__webpack_exports__); 8911/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8912/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 8913/* harmony export */ }); 8914/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (x => () => x); 8915 8916 8917/***/ }), 8918
vendor: 7,914 bytes, lines 8919-9133
8919/***/ "./node_modules/d3-drag/src/drag.js": 8920/*!******************************************!*\ 8921 !*** ./node_modules/d3-drag/src/drag.js ***! 8922 \******************************************/ 8923/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8924 8925__webpack_require__.r(__webpack_exports__); 8926/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8927/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 8928/* harmony export */ }); 8929/* harmony import */ var d3_dispatch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-dispatch */ "./node_modules/d3-dispatch/src/dispatch.js"); 8930/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/select.js"); 8931/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/pointer.js"); 8932/* harmony import */ var _nodrag_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nodrag.js */ "./node_modules/d3-drag/src/nodrag.js"); 8933/* harmony import */ var _noevent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./noevent.js */ "./node_modules/d3-drag/src/noevent.js"); 8934/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-drag/src/constant.js"); 8935/* harmony import */ var _event_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./event.js */ "./node_modules/d3-drag/src/event.js"); 8936 8937 8938 8939 8940 8941 8942 8943// Ignore right-click, since that should open the context menu. 8944function defaultFilter(event) { 8945 return !event.ctrlKey && !event.button; 8946} 8947 8948function defaultContainer() { 8949 return this.parentNode; 8950} 8951 8952function defaultSubject(event, d) { 8953 return d == null ? {x: event.x, y: event.y} : d; 8954} 8955 8956function defaultTouchable() { 8957 return navigator.maxTouchPoints || ("ontouchstart" in this); 8958} 8959 8960/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 8961 var filter = defaultFilter, 8962 container = defaultContainer, 8963 subject = defaultSubject, 8964 touchable = defaultTouchable, 8965 gestures = {}, 8966 listeners = (0,d3_dispatch__WEBPACK_IMPORTED_MODULE_0__["default"])("start", "drag", "end"), 8967 active = 0, 8968 mousedownx, 8969 mousedowny, 8970 mousemoving, 8971 touchending, 8972 clickDistance2 = 0; 8973 8974 function drag(selection) { 8975 selection 8976 .on("mousedown.drag", mousedowned) 8977 .filter(touchable) 8978 .on("touchstart.drag", touchstarted) 8979 .on("touchmove.drag", touchmoved, _noevent_js__WEBPACK_IMPORTED_MODULE_1__.nonpassive) 8980 .on("touchend.drag touchcancel.drag", touchended) 8981 .style("touch-action", "none") 8982 .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); 8983 } 8984 8985 function mousedowned(event, d) { 8986 if (touchending || !filter.call(this, event, d)) return; 8987 var gesture = beforestart(this, container.call(this, event, d), event, d, "mouse"); 8988 if (!gesture) return; 8989 (0,d3_selection__WEBPACK_IMPORTED_MODULE_2__["default"])(event.view) 8990 .on("mousemove.drag", mousemoved, _noevent_js__WEBPACK_IMPORTED_MODULE_1__.nonpassivecapture) 8991 .on("mouseup.drag", mouseupped, _noevent_js__WEBPACK_IMPORTED_MODULE_1__.nonpassivecapture); 8992 (0,_nodrag_js__WEBPACK_IMPORTED_MODULE_3__["default"])(event.view); 8993 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_1__.nopropagation)(event); 8994 mousemoving = false; 8995 mousedownx = event.clientX; 8996 mousedowny = event.clientY; 8997 gesture("start", event); 8998 } 8999 9000 function mousemoved(event) { 9001 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"])(event); 9002 if (!mousemoving) { 9003 var dx = event.clientX - mousedownx, dy = event.clientY - mousedowny; 9004 mousemoving = dx * dx + dy * dy > clickDistance2; 9005 } 9006 gestures.mouse("drag", event); 9007 } 9008 9009 function mouseupped(event) { 9010 (0,d3_selection__WEBPACK_IMPORTED_MODULE_2__["default"])(event.view).on("mousemove.drag mouseup.drag", null); 9011 (0,_nodrag_js__WEBPACK_IMPORTED_MODULE_3__.yesdrag)(event.view, mousemoving); 9012 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"])(event); 9013 gestures.mouse("end", event); 9014 } 9015 9016 function touchstarted(event, d) { 9017 if (!filter.call(this, event, d)) return; 9018 var touches = event.changedTouches, 9019 c = container.call(this, event, d), 9020 n = touches.length, i, gesture; 9021 9022 for (i = 0; i < n; ++i) { 9023 if (gesture = beforestart(this, c, event, d, touches[i].identifier, touches[i])) { 9024 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_1__.nopropagation)(event); 9025 gesture("start", event, touches[i]); 9026 } 9027 } 9028 } 9029 9030 function touchmoved(event) { 9031 var touches = event.changedTouches, 9032 n = touches.length, i, gesture; 9033 9034 for (i = 0; i < n; ++i) { 9035 if (gesture = gestures[touches[i].identifier]) { 9036 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"])(event); 9037 gesture("drag", event, touches[i]); 9038 } 9039 } 9040 } 9041 9042 function touchended(event) { 9043 var touches = event.changedTouches, 9044 n = touches.length, i, gesture; 9045 9046 if (touchending) clearTimeout(touchending); 9047 touchending = setTimeout(function() { touchending = null; }, 500); // Ghost clicks are delayed! 9048 for (i = 0; i < n; ++i) { 9049 if (gesture = gestures[touches[i].identifier]) { 9050 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_1__.nopropagation)(event); 9051 gesture("end", event, touches[i]); 9052 } 9053 } 9054 } 9055 9056 function beforestart(that, container, event, d, identifier, touch) { 9057 var dispatch = listeners.copy(), 9058 p = (0,d3_selection__WEBPACK_IMPORTED_MODULE_4__["default"])(touch || event, container), dx, dy, 9059 s; 9060 9061 if ((s = subject.call(that, new _event_js__WEBPACK_IMPORTED_MODULE_5__["default"]("beforestart", { 9062 sourceEvent: event, 9063 target: drag, 9064 identifier, 9065 active, 9066 x: p[0], 9067 y: p[1], 9068 dx: 0, 9069 dy: 0, 9070 dispatch 9071 }), d)) == null) return; 9072 9073 dx = s.x - p[0] || 0; 9074 dy = s.y - p[1] || 0; 9075 9076 return function gesture(type, event, touch) { 9077 var p0 = p, n; 9078 switch (type) { 9079 case "start": gestures[identifier] = gesture, n = active++; break; 9080 case "end": delete gestures[identifier], --active; // falls through 9081 case "drag": p = (0,d3_selection__WEBPACK_IMPORTED_MODULE_4__["default"])(touch || event, container), n = active; break; 9082 } 9083 dispatch.call( 9084 type, 9085 that, 9086 new _event_js__WEBPACK_IMPORTED_MODULE_5__["default"](type, { 9087 sourceEvent: event, 9088 subject: s, 9089 target: drag, 9090 identifier, 9091 active: n, 9092 x: p[0] + dx, 9093 y: p[1] + dy, 9094 dx: p[0] - p0[0], 9095 dy: p[1] - p0[1], 9096 dispatch 9097 }), 9098 d 9099 ); 9100 }; 9101 } 9102 9103 drag.filter = function(_) { 9104 return arguments.length ? (filter = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_6__["default"])(!!_), drag) : filter; 9105 }; 9106 9107 drag.container = function(_) { 9108 return arguments.length ? (container = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_), drag) : container; 9109 }; 9110 9111 drag.subject = function(_) { 9112 return arguments.length ? (subject = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_), drag) : subject; 9113 }; 9114 9115 drag.touchable = function(_) { 9116 return arguments.length ? (touchable = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_6__["default"])(!!_), drag) : touchable; 9117 }; 9118 9119 drag.on = function() { 9120 var value = listeners.on.apply(listeners, arguments); 9121 return value === listeners ? drag : value; 9122 }; 9123 9124 drag.clickDistance = function(_) { 9125 return arguments.length ? (clickDistance2 = (_ = +_) * _, drag) : Math.sqrt(clickDistance2); 9126 }; 9127 9128 return drag; 9129} 9130 9131 9132/***/ }), 9133
vendor: 1,468 bytes, lines 9134-9175
9134/***/ "./node_modules/d3-drag/src/event.js": 9135/*!*******************************************!*\ 9136 !*** ./node_modules/d3-drag/src/event.js ***! 9137 \*******************************************/ 9138/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9139 9140__webpack_require__.r(__webpack_exports__); 9141/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9142/* harmony export */ "default": () => (/* binding */ DragEvent) 9143/* harmony export */ }); 9144function DragEvent(type, { 9145 sourceEvent, 9146 subject, 9147 target, 9148 identifier, 9149 active, 9150 x, y, dx, dy, 9151 dispatch 9152}) { 9153 Object.defineProperties(this, { 9154 type: {value: type, enumerable: true, configurable: true}, 9155 sourceEvent: {value: sourceEvent, enumerable: true, configurable: true}, 9156 subject: {value: subject, enumerable: true, configurable: true}, 9157 target: {value: target, enumerable: true, configurable: true}, 9158 identifier: {value: identifier, enumerable: true, configurable: true}, 9159 active: {value: active, enumerable: true, configurable: true}, 9160 x: {value: x, enumerable: true, configurable: true}, 9161 y: {value: y, enumerable: true, configurable: true}, 9162 dx: {value: dx, enumerable: true, configurable: true}, 9163 dy: {value: dy, enumerable: true, configurable: true}, 9164 _: {value: dispatch} 9165 }); 9166} 9167 9168DragEvent.prototype.on = function() { 9169 var value = this._.on.apply(this._, arguments); 9170 return value === this._ ? this : value; 9171}; 9172 9173 9174/***/ }), 9175
vendor: 1,056 bytes, lines 9176-9195
9176/***/ "./node_modules/d3-drag/src/index.js": 9177/*!*******************************************!*\ 9178 !*** ./node_modules/d3-drag/src/index.js ***! 9179 \*******************************************/ 9180/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9181 9182__webpack_require__.r(__webpack_exports__); 9183/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9184/* harmony export */ drag: () => (/* reexport safe */ _drag_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 9185/* harmony export */ dragDisable: () => (/* reexport safe */ _nodrag_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 9186/* harmony export */ dragEnable: () => (/* reexport safe */ _nodrag_js__WEBPACK_IMPORTED_MODULE_1__.yesdrag) 9187/* harmony export */ }); 9188/* harmony import */ var _drag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./drag.js */ "./node_modules/d3-drag/src/drag.js"); 9189/* harmony import */ var _nodrag_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./nodrag.js */ "./node_modules/d3-drag/src/nodrag.js"); 9190 9191 9192 9193 9194/***/ }), 9195
vendor: 2,119 bytes, lines 9196-9240
9196/***/ "./node_modules/d3-drag/src/nodrag.js": 9197/*!********************************************!*\ 9198 !*** ./node_modules/d3-drag/src/nodrag.js ***! 9199 \********************************************/ 9200/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9201 9202__webpack_require__.r(__webpack_exports__); 9203/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9204/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 9205/* harmony export */ yesdrag: () => (/* binding */ yesdrag) 9206/* harmony export */ }); 9207/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/select.js"); 9208/* harmony import */ var _noevent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./noevent.js */ "./node_modules/d3-drag/src/noevent.js"); 9209 9210 9211 9212/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(view) { 9213 var root = view.document.documentElement, 9214 selection = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"])(view).on("dragstart.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], _noevent_js__WEBPACK_IMPORTED_MODULE_1__.nonpassivecapture); 9215 if ("onselectstart" in root) { 9216 selection.on("selectstart.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], _noevent_js__WEBPACK_IMPORTED_MODULE_1__.nonpassivecapture); 9217 } else { 9218 root.__noselect = root.style.MozUserSelect; 9219 root.style.MozUserSelect = "none"; 9220 } 9221} 9222 9223function yesdrag(view, noclick) { 9224 var root = view.document.documentElement, 9225 selection = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"])(view).on("dragstart.drag", null); 9226 if (noclick) { 9227 selection.on("click.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], _noevent_js__WEBPACK_IMPORTED_MODULE_1__.nonpassivecapture); 9228 setTimeout(function() { selection.on("click.drag", null); }, 0); 9229 } 9230 if ("onselectstart" in root) { 9231 selection.on("selectstart.drag", null); 9232 } else { 9233 root.style.MozUserSelect = root.__noselect; 9234 delete root.__noselect; 9235 } 9236} 9237 9238 9239/***/ }), 9240
vendor: 1,181 bytes, lines 9241-9270
9241/***/ "./node_modules/d3-drag/src/noevent.js": 9242/*!*********************************************!*\ 9243 !*** ./node_modules/d3-drag/src/noevent.js ***! 9244 \*********************************************/ 9245/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9246 9247__webpack_require__.r(__webpack_exports__); 9248/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9249/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 9250/* harmony export */ nonpassive: () => (/* binding */ nonpassive), 9251/* harmony export */ nonpassivecapture: () => (/* binding */ nonpassivecapture), 9252/* harmony export */ nopropagation: () => (/* binding */ nopropagation) 9253/* harmony export */ }); 9254// These are typically used in conjunction with noevent to ensure that we can 9255// preventDefault on the event. 9256const nonpassive = {passive: false}; 9257const nonpassivecapture = {capture: true, passive: false}; 9258 9259function nopropagation(event) { 9260 event.stopImmediatePropagation(); 9261} 9262 9263/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(event) { 9264 event.preventDefault(); 9265 event.stopImmediatePropagation(); 9266} 9267 9268 9269/***/ }), 9270
vendor: 1,286 bytes, lines 9271-9303
9271/***/ "./node_modules/d3-dsv/src/autoType.js": 9272/*!*********************************************!*\ 9273 !*** ./node_modules/d3-dsv/src/autoType.js ***! 9274 \*********************************************/ 9275/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9276 9277__webpack_require__.r(__webpack_exports__); 9278/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9279/* harmony export */ "default": () => (/* binding */ autoType) 9280/* harmony export */ }); 9281function autoType(object) { 9282 for (var key in object) { 9283 var value = object[key].trim(), number, m; 9284 if (!value) value = null; 9285 else if (value === "true") value = true; 9286 else if (value === "false") value = false; 9287 else if (value === "NaN") value = NaN; 9288 else if (!isNaN(number = +value)) value = number; 9289 else if (m = value.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)) { 9290 if (fixtz && !!m[4] && !m[7]) value = value.replace(/-/g, "/").replace(/T/, " "); 9291 value = new Date(value); 9292 } 9293 else continue; 9294 object[key] = value; 9295 } 9296 return object; 9297} 9298 9299// https://github.com/d3/d3-dsv/issues/45 9300const fixtz = new Date("2019-01-01T00:00").getHours() || new Date("2019-07-01T00:00").getHours(); 9301 9302/***/ }), 9303
vendor: 1,364 bytes, lines 9304-9335
9304/***/ "./node_modules/d3-dsv/src/csv.js": 9305/*!****************************************!*\ 9306 !*** ./node_modules/d3-dsv/src/csv.js ***! 9307 \****************************************/ 9308/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9309 9310__webpack_require__.r(__webpack_exports__); 9311/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9312/* harmony export */ csvFormat: () => (/* binding */ csvFormat), 9313/* harmony export */ csvFormatBody: () => (/* binding */ csvFormatBody), 9314/* harmony export */ csvFormatRow: () => (/* binding */ csvFormatRow), 9315/* harmony export */ csvFormatRows: () => (/* binding */ csvFormatRows), 9316/* harmony export */ csvFormatValue: () => (/* binding */ csvFormatValue), 9317/* harmony export */ csvParse: () => (/* binding */ csvParse), 9318/* harmony export */ csvParseRows: () => (/* binding */ csvParseRows) 9319/* harmony export */ }); 9320/* harmony import */ var _dsv_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dsv.js */ "./node_modules/d3-dsv/src/dsv.js"); 9321 9322 9323var csv = (0,_dsv_js__WEBPACK_IMPORTED_MODULE_0__["default"])(","); 9324 9325var csvParse = csv.parse; 9326var csvParseRows = csv.parseRows; 9327var csvFormat = csv.format; 9328var csvFormatBody = csv.formatBody; 9329var csvFormatRows = csv.formatRows; 9330var csvFormatRow = csv.formatRow; 9331var csvFormatValue = csv.formatValue; 9332 9333 9334/***/ }), 9335
vendor: 5,397 bytes, lines 9336-9513
9336/***/ "./node_modules/d3-dsv/src/dsv.js": 9337/*!****************************************!*\ 9338 !*** ./node_modules/d3-dsv/src/dsv.js ***! 9339 \****************************************/ 9340/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9341 9342__webpack_require__.r(__webpack_exports__); 9343/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9344/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 9345/* harmony export */ }); 9346var EOL = {}, 9347 EOF = {}, 9348 QUOTE = 34, 9349 NEWLINE = 10, 9350 RETURN = 13; 9351 9352function objectConverter(columns) { 9353 return new Function("d", "return {" + columns.map(function(name, i) { 9354 return JSON.stringify(name) + ": d[" + i + "] || \"\""; 9355 }).join(",") + "}"); 9356} 9357 9358function customConverter(columns, f) { 9359 var object = objectConverter(columns); 9360 return function(row, i) { 9361 return f(object(row), i, columns); 9362 }; 9363} 9364 9365// Compute unique columns in order of discovery. 9366function inferColumns(rows) { 9367 var columnSet = Object.create(null), 9368 columns = []; 9369 9370 rows.forEach(function(row) { 9371 for (var column in row) { 9372 if (!(column in columnSet)) { 9373 columns.push(columnSet[column] = column); 9374 } 9375 } 9376 }); 9377 9378 return columns; 9379} 9380 9381function pad(value, width) { 9382 var s = value + "", length = s.length; 9383 return length < width ? new Array(width - length + 1).join(0) + s : s; 9384} 9385 9386function formatYear(year) { 9387 return year < 0 ? "-" + pad(-year, 6) 9388 : year > 9999 ? "+" + pad(year, 6) 9389 : pad(year, 4); 9390} 9391 9392function formatDate(date) { 9393 var hours = date.getUTCHours(), 9394 minutes = date.getUTCMinutes(), 9395 seconds = date.getUTCSeconds(), 9396 milliseconds = date.getUTCMilliseconds(); 9397 return isNaN(date) ? "Invalid Date" 9398 : formatYear(date.getUTCFullYear(), 4) + "-" + pad(date.getUTCMonth() + 1, 2) + "-" + pad(date.getUTCDate(), 2) 9399 + (milliseconds ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2) + "." + pad(milliseconds, 3) + "Z" 9400 : seconds ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2) + "Z" 9401 : minutes || hours ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + "Z" 9402 : ""); 9403} 9404 9405/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(delimiter) { 9406 var reFormat = new RegExp("[\"" + delimiter + "\n\r]"), 9407 DELIMITER = delimiter.charCodeAt(0); 9408 9409 function parse(text, f) { 9410 var convert, columns, rows = parseRows(text, function(row, i) { 9411 if (convert) return convert(row, i - 1); 9412 columns = row, convert = f ? customConverter(row, f) : objectConverter(row); 9413 }); 9414 rows.columns = columns || []; 9415 return rows; 9416 } 9417 9418 function parseRows(text, f) { 9419 var rows = [], // output rows 9420 N = text.length, 9421 I = 0, // current character index 9422 n = 0, // current line number 9423 t, // current token 9424 eof = N <= 0, // current token followed by EOF? 9425 eol = false; // current token followed by EOL? 9426 9427 // Strip the trailing newline. 9428 if (text.charCodeAt(N - 1) === NEWLINE) --N; 9429 if (text.charCodeAt(N - 1) === RETURN) --N; 9430 9431 function token() { 9432 if (eof) return EOF; 9433 if (eol) return eol = false, EOL; 9434 9435 // Unescape quotes. 9436 var i, j = I, c; 9437 if (text.charCodeAt(j) === QUOTE) { 9438 while (I++ < N && text.charCodeAt(I) !== QUOTE || text.charCodeAt(++I) === QUOTE); 9439 if ((i = I) >= N) eof = true; 9440 else if ((c = text.charCodeAt(I++)) === NEWLINE) eol = true; 9441 else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; } 9442 return text.slice(j + 1, i - 1).replace(/""/g, "\""); 9443 } 9444 9445 // Find next delimiter or newline. 9446 while (I < N) { 9447 if ((c = text.charCodeAt(i = I++)) === NEWLINE) eol = true; 9448 else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; } 9449 else if (c !== DELIMITER) continue; 9450 return text.slice(j, i); 9451 } 9452 9453 // Return last token before EOF. 9454 return eof = true, text.slice(j, N); 9455 } 9456 9457 while ((t = token()) !== EOF) { 9458 var row = []; 9459 while (t !== EOL && t !== EOF) row.push(t), t = token(); 9460 if (f && (row = f(row, n++)) == null) continue; 9461 rows.push(row); 9462 } 9463 9464 return rows; 9465 } 9466 9467 function preformatBody(rows, columns) { 9468 return rows.map(function(row) { 9469 return columns.map(function(column) { 9470 return formatValue(row[column]); 9471 }).join(delimiter); 9472 }); 9473 } 9474 9475 function format(rows, columns) { 9476 if (columns == null) columns = inferColumns(rows); 9477 return [columns.map(formatValue).join(delimiter)].concat(preformatBody(rows, columns)).join("\n"); 9478 } 9479 9480 function formatBody(rows, columns) { 9481 if (columns == null) columns = inferColumns(rows); 9482 return preformatBody(rows, columns).join("\n"); 9483 } 9484 9485 function formatRows(rows) { 9486 return rows.map(formatRow).join("\n"); 9487 } 9488 9489 function formatRow(row) { 9490 return row.map(formatValue).join(delimiter); 9491 } 9492 9493 function formatValue(value) { 9494 return value == null ? "" 9495 : value instanceof Date ? formatDate(value) 9496 : reFormat.test(value += "") ? "\"" + value.replace(/"/g, "\"\"") + "\"" 9497 : value; 9498 } 9499 9500 return { 9501 parse: parse, 9502 parseRows: parseRows, 9503 format: format, 9504 formatBody: formatBody, 9505 formatRows: formatRows, 9506 formatRow: formatRow, 9507 formatValue: formatValue 9508 }; 9509} 9510 9511 9512/***/ }), 9513
vendor: 2,832 bytes, lines 9514-9550
9514/***/ "./node_modules/d3-dsv/src/index.js": 9515/*!******************************************!*\ 9516 !*** ./node_modules/d3-dsv/src/index.js ***! 9517 \******************************************/ 9518/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9519 9520__webpack_require__.r(__webpack_exports__); 9521/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9522/* harmony export */ autoType: () => (/* reexport safe */ _autoType_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 9523/* harmony export */ csvFormat: () => (/* reexport safe */ _csv_js__WEBPACK_IMPORTED_MODULE_1__.csvFormat), 9524/* harmony export */ csvFormatBody: () => (/* reexport safe */ _csv_js__WEBPACK_IMPORTED_MODULE_1__.csvFormatBody), 9525/* harmony export */ csvFormatRow: () => (/* reexport safe */ _csv_js__WEBPACK_IMPORTED_MODULE_1__.csvFormatRow), 9526/* harmony export */ csvFormatRows: () => (/* reexport safe */ _csv_js__WEBPACK_IMPORTED_MODULE_1__.csvFormatRows), 9527/* harmony export */ csvFormatValue: () => (/* reexport safe */ _csv_js__WEBPACK_IMPORTED_MODULE_1__.csvFormatValue), 9528/* harmony export */ csvParse: () => (/* reexport safe */ _csv_js__WEBPACK_IMPORTED_MODULE_1__.csvParse), 9529/* harmony export */ csvParseRows: () => (/* reexport safe */ _csv_js__WEBPACK_IMPORTED_MODULE_1__.csvParseRows), 9530/* harmony export */ dsvFormat: () => (/* reexport safe */ _dsv_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 9531/* harmony export */ tsvFormat: () => (/* reexport safe */ _tsv_js__WEBPACK_IMPORTED_MODULE_2__.tsvFormat), 9532/* harmony export */ tsvFormatBody: () => (/* reexport safe */ _tsv_js__WEBPACK_IMPORTED_MODULE_2__.tsvFormatBody), 9533/* harmony export */ tsvFormatRow: () => (/* reexport safe */ _tsv_js__WEBPACK_IMPORTED_MODULE_2__.tsvFormatRow), 9534/* harmony export */ tsvFormatRows: () => (/* reexport safe */ _tsv_js__WEBPACK_IMPORTED_MODULE_2__.tsvFormatRows), 9535/* harmony export */ tsvFormatValue: () => (/* reexport safe */ _tsv_js__WEBPACK_IMPORTED_MODULE_2__.tsvFormatValue), 9536/* harmony export */ tsvParse: () => (/* reexport safe */ _tsv_js__WEBPACK_IMPORTED_MODULE_2__.tsvParse), 9537/* harmony export */ tsvParseRows: () => (/* reexport safe */ _tsv_js__WEBPACK_IMPORTED_MODULE_2__.tsvParseRows) 9538/* harmony export */ }); 9539/* harmony import */ var _dsv_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dsv.js */ "./node_modules/d3-dsv/src/dsv.js"); 9540/* harmony import */ var _csv_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./csv.js */ "./node_modules/d3-dsv/src/csv.js"); 9541/* harmony import */ var _tsv_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tsv.js */ "./node_modules/d3-dsv/src/tsv.js"); 9542/* harmony import */ var _autoType_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./autoType.js */ "./node_modules/d3-dsv/src/autoType.js"); 9543 9544 9545 9546 9547 9548 9549/***/ }), 9550
vendor: 1,365 bytes, lines 9551-9582
9551/***/ "./node_modules/d3-dsv/src/tsv.js": 9552/*!****************************************!*\ 9553 !*** ./node_modules/d3-dsv/src/tsv.js ***! 9554 \****************************************/ 9555/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9556 9557__webpack_require__.r(__webpack_exports__); 9558/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9559/* harmony export */ tsvFormat: () => (/* binding */ tsvFormat), 9560/* harmony export */ tsvFormatBody: () => (/* binding */ tsvFormatBody), 9561/* harmony export */ tsvFormatRow: () => (/* binding */ tsvFormatRow), 9562/* harmony export */ tsvFormatRows: () => (/* binding */ tsvFormatRows), 9563/* harmony export */ tsvFormatValue: () => (/* binding */ tsvFormatValue), 9564/* harmony export */ tsvParse: () => (/* binding */ tsvParse), 9565/* harmony export */ tsvParseRows: () => (/* binding */ tsvParseRows) 9566/* harmony export */ }); 9567/* harmony import */ var _dsv_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dsv.js */ "./node_modules/d3-dsv/src/dsv.js"); 9568 9569 9570var tsv = (0,_dsv_js__WEBPACK_IMPORTED_MODULE_0__["default"])("\t"); 9571 9572var tsvParse = tsv.parse; 9573var tsvParseRows = tsv.parseRows; 9574var tsvFormat = tsv.format; 9575var tsvFormatBody = tsv.formatBody; 9576var tsvFormatRows = tsv.formatRows; 9577var tsvFormatRow = tsv.formatRow; 9578var tsvFormatValue = tsv.formatValue; 9579 9580 9581/***/ }), 9582
vendor: 1,257 bytes, lines 9583-9635
9583/***/ "./node_modules/d3-ease/src/back.js": 9584/*!******************************************!*\ 9585 !*** ./node_modules/d3-ease/src/back.js ***! 9586 \******************************************/ 9587/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9588 9589__webpack_require__.r(__webpack_exports__); 9590/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9591/* harmony export */ backIn: () => (/* binding */ backIn), 9592/* harmony export */ backInOut: () => (/* binding */ backInOut), 9593/* harmony export */ backOut: () => (/* binding */ backOut) 9594/* harmony export */ }); 9595var overshoot = 1.70158; 9596 9597var backIn = (function custom(s) { 9598 s = +s; 9599 9600 function backIn(t) { 9601 return (t = +t) * t * (s * (t - 1) + t); 9602 } 9603 9604 backIn.overshoot = custom; 9605 9606 return backIn; 9607})(overshoot); 9608 9609var backOut = (function custom(s) { 9610 s = +s; 9611 9612 function backOut(t) { 9613 return --t * t * ((t + 1) * s + t) + 1; 9614 } 9615 9616 backOut.overshoot = custom; 9617 9618 return backOut; 9619})(overshoot); 9620 9621var backInOut = (function custom(s) { 9622 s = +s; 9623 9624 function backInOut(t) { 9625 return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2; 9626 } 9627 9628 backInOut.overshoot = custom; 9629 9630 return backInOut; 9631})(overshoot); 9632 9633 9634/***/ }), 9635
vendor: 1,138 bytes, lines 9636-9673
9636/***/ "./node_modules/d3-ease/src/bounce.js": 9637/*!********************************************!*\ 9638 !*** ./node_modules/d3-ease/src/bounce.js ***! 9639 \********************************************/ 9640/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9641 9642__webpack_require__.r(__webpack_exports__); 9643/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9644/* harmony export */ bounceIn: () => (/* binding */ bounceIn), 9645/* harmony export */ bounceInOut: () => (/* binding */ bounceInOut), 9646/* harmony export */ bounceOut: () => (/* binding */ bounceOut) 9647/* harmony export */ }); 9648var b1 = 4 / 11, 9649 b2 = 6 / 11, 9650 b3 = 8 / 11, 9651 b4 = 3 / 4, 9652 b5 = 9 / 11, 9653 b6 = 10 / 11, 9654 b7 = 15 / 16, 9655 b8 = 21 / 22, 9656 b9 = 63 / 64, 9657 b0 = 1 / b1 / b1; 9658 9659function bounceIn(t) { 9660 return 1 - bounceOut(1 - t); 9661} 9662 9663function bounceOut(t) { 9664 return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9; 9665} 9666 9667function bounceInOut(t) { 9668 return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2; 9669} 9670 9671 9672/***/ }), 9673
vendor: 878 bytes, lines 9674-9700
9674/***/ "./node_modules/d3-ease/src/circle.js": 9675/*!********************************************!*\ 9676 !*** ./node_modules/d3-ease/src/circle.js ***! 9677 \********************************************/ 9678/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9679 9680__webpack_require__.r(__webpack_exports__); 9681/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9682/* harmony export */ circleIn: () => (/* binding */ circleIn), 9683/* harmony export */ circleInOut: () => (/* binding */ circleInOut), 9684/* harmony export */ circleOut: () => (/* binding */ circleOut) 9685/* harmony export */ }); 9686function circleIn(t) { 9687 return 1 - Math.sqrt(1 - t * t); 9688} 9689 9690function circleOut(t) { 9691 return Math.sqrt(1 - --t * t); 9692} 9693 9694function circleInOut(t) { 9695 return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2; 9696} 9697 9698 9699/***/ }), 9700
vendor: 817 bytes, lines 9701-9727
9701/***/ "./node_modules/d3-ease/src/cubic.js": 9702/*!*******************************************!*\ 9703 !*** ./node_modules/d3-ease/src/cubic.js ***! 9704 \*******************************************/ 9705/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9706 9707__webpack_require__.r(__webpack_exports__); 9708/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9709/* harmony export */ cubicIn: () => (/* binding */ cubicIn), 9710/* harmony export */ cubicInOut: () => (/* binding */ cubicInOut), 9711/* harmony export */ cubicOut: () => (/* binding */ cubicOut) 9712/* harmony export */ }); 9713function cubicIn(t) { 9714 return t * t * t; 9715} 9716 9717function cubicOut(t) { 9718 return --t * t * t + 1; 9719} 9720 9721function cubicInOut(t) { 9722 return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2; 9723} 9724 9725 9726/***/ }), 9727
vendor: 2,199 bytes, lines 9728-9790
9728/***/ "./node_modules/d3-ease/src/elastic.js": 9729/*!*********************************************!*\ 9730 !*** ./node_modules/d3-ease/src/elastic.js ***! 9731 \*********************************************/ 9732/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9733 9734__webpack_require__.r(__webpack_exports__); 9735/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9736/* harmony export */ elasticIn: () => (/* binding */ elasticIn), 9737/* harmony export */ elasticInOut: () => (/* binding */ elasticInOut), 9738/* harmony export */ elasticOut: () => (/* binding */ elasticOut) 9739/* harmony export */ }); 9740/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-ease/src/math.js"); 9741 9742 9743var tau = 2 * Math.PI, 9744 amplitude = 1, 9745 period = 0.3; 9746 9747var elasticIn = (function custom(a, p) { 9748 var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau); 9749 9750 function elasticIn(t) { 9751 return a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(-(--t)) * Math.sin((s - t) / p); 9752 } 9753 9754 elasticIn.amplitude = function(a) { return custom(a, p * tau); }; 9755 elasticIn.period = function(p) { return custom(a, p); }; 9756 9757 return elasticIn; 9758})(amplitude, period); 9759 9760var elasticOut = (function custom(a, p) { 9761 var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau); 9762 9763 function elasticOut(t) { 9764 return 1 - a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t = +t) * Math.sin((t + s) / p); 9765 } 9766 9767 elasticOut.amplitude = function(a) { return custom(a, p * tau); }; 9768 elasticOut.period = function(p) { return custom(a, p); }; 9769 9770 return elasticOut; 9771})(amplitude, period); 9772 9773var elasticInOut = (function custom(a, p) { 9774 var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau); 9775 9776 function elasticInOut(t) { 9777 return ((t = t * 2 - 1) < 0 9778 ? a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(-t) * Math.sin((s - t) / p) 9779 : 2 - a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t) * Math.sin((s + t) / p)) / 2; 9780 } 9781 9782 elasticInOut.amplitude = function(a) { return custom(a, p * tau); }; 9783 elasticInOut.period = function(p) { return custom(a, p); }; 9784 9785 return elasticInOut; 9786})(amplitude, period); 9787 9788 9789/***/ }), 9790
vendor: 1,098 bytes, lines 9791-9820
9791/***/ "./node_modules/d3-ease/src/exp.js": 9792/*!*****************************************!*\ 9793 !*** ./node_modules/d3-ease/src/exp.js ***! 9794 \*****************************************/ 9795/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9796 9797__webpack_require__.r(__webpack_exports__); 9798/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9799/* harmony export */ expIn: () => (/* binding */ expIn), 9800/* harmony export */ expInOut: () => (/* binding */ expInOut), 9801/* harmony export */ expOut: () => (/* binding */ expOut) 9802/* harmony export */ }); 9803/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-ease/src/math.js"); 9804 9805 9806function expIn(t) { 9807 return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(1 - +t); 9808} 9809 9810function expOut(t) { 9811 return 1 - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t); 9812} 9813 9814function expInOut(t) { 9815 return ((t *= 2) <= 1 ? (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(1 - t) : 2 - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t - 1)) / 2; 9816} 9817 9818 9819/***/ }), 9820
vendor: 6,068 bytes, lines 9821-9899
9821/***/ "./node_modules/d3-ease/src/index.js": 9822/*!*******************************************!*\ 9823 !*** ./node_modules/d3-ease/src/index.js ***! 9824 \*******************************************/ 9825/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9826 9827__webpack_require__.r(__webpack_exports__); 9828/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9829/* harmony export */ easeBack: () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut), 9830/* harmony export */ easeBackIn: () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn), 9831/* harmony export */ easeBackInOut: () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut), 9832/* harmony export */ easeBackOut: () => (/* reexport safe */ _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut), 9833/* harmony export */ easeBounce: () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut), 9834/* harmony export */ easeBounceIn: () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn), 9835/* harmony export */ easeBounceInOut: () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut), 9836/* harmony export */ easeBounceOut: () => (/* reexport safe */ _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut), 9837/* harmony export */ easeCircle: () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut), 9838/* harmony export */ easeCircleIn: () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn), 9839/* harmony export */ easeCircleInOut: () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut), 9840/* harmony export */ easeCircleOut: () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut), 9841/* harmony export */ easeCubic: () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut), 9842/* harmony export */ easeCubicIn: () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicIn), 9843/* harmony export */ easeCubicInOut: () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut), 9844/* harmony export */ easeCubicOut: () => (/* reexport safe */ _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut), 9845/* harmony export */ easeElastic: () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut), 9846/* harmony export */ easeElasticIn: () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn), 9847/* harmony export */ easeElasticInOut: () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut), 9848/* harmony export */ easeElasticOut: () => (/* reexport safe */ _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut), 9849/* harmony export */ easeExp: () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut), 9850/* harmony export */ easeExpIn: () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn), 9851/* harmony export */ easeExpInOut: () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut), 9852/* harmony export */ easeExpOut: () => (/* reexport safe */ _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut), 9853/* harmony export */ easeLinear: () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_0__.linear), 9854/* harmony export */ easePoly: () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut), 9855/* harmony export */ easePolyIn: () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyIn), 9856/* harmony export */ easePolyInOut: () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut), 9857/* harmony export */ easePolyOut: () => (/* reexport safe */ _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut), 9858/* harmony export */ easeQuad: () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut), 9859/* harmony export */ easeQuadIn: () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadIn), 9860/* harmony export */ easeQuadInOut: () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut), 9861/* harmony export */ easeQuadOut: () => (/* reexport safe */ _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadOut), 9862/* harmony export */ easeSin: () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut), 9863/* harmony export */ easeSinIn: () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinIn), 9864/* harmony export */ easeSinInOut: () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut), 9865/* harmony export */ easeSinOut: () => (/* reexport safe */ _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut) 9866/* harmony export */ }); 9867/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-ease/src/linear.js"); 9868/* harmony import */ var _quad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./quad.js */ "./node_modules/d3-ease/src/quad.js"); 9869/* harmony import */ var _cubic_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cubic.js */ "./node_modules/d3-ease/src/cubic.js"); 9870/* harmony import */ var _poly_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./poly.js */ "./node_modules/d3-ease/src/poly.js"); 9871/* harmony import */ var _sin_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./sin.js */ "./node_modules/d3-ease/src/sin.js"); 9872/* harmony import */ var _exp_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./exp.js */ "./node_modules/d3-ease/src/exp.js"); 9873/* harmony import */ var _circle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./circle.js */ "./node_modules/d3-ease/src/circle.js"); 9874/* harmony import */ var _bounce_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./bounce.js */ "./node_modules/d3-ease/src/bounce.js"); 9875/* harmony import */ var _back_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./back.js */ "./node_modules/d3-ease/src/back.js"); 9876/* harmony import */ var _elastic_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./elastic.js */ "./node_modules/d3-ease/src/elastic.js"); 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898/***/ }), 9899
vendor: 520 bytes, lines 9900-9914
9900/***/ "./node_modules/d3-ease/src/linear.js": 9901/*!********************************************!*\ 9902 !*** ./node_modules/d3-ease/src/linear.js ***! 9903 \********************************************/ 9904/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9905 9906__webpack_require__.r(__webpack_exports__); 9907/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9908/* harmony export */ linear: () => (/* binding */ linear) 9909/* harmony export */ }); 9910const linear = t => +t; 9911 9912 9913/***/ }), 9914
vendor: 629 bytes, lines 9915-9932
9915/***/ "./node_modules/d3-ease/src/math.js": 9916/*!******************************************!*\ 9917 !*** ./node_modules/d3-ease/src/math.js ***! 9918 \******************************************/ 9919/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9920 9921__webpack_require__.r(__webpack_exports__); 9922/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9923/* harmony export */ tpmt: () => (/* binding */ tpmt) 9924/* harmony export */ }); 9925// tpmt is two power minus ten times t scaled to [0,1] 9926function tpmt(x) { 9927 return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494; 9928} 9929 9930 9931/***/ }), 9932
vendor: 1,193 bytes, lines 9933-9985
9933/***/ "./node_modules/d3-ease/src/poly.js": 9934/*!******************************************!*\ 9935 !*** ./node_modules/d3-ease/src/poly.js ***! 9936 \******************************************/ 9937/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9938 9939__webpack_require__.r(__webpack_exports__); 9940/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9941/* harmony export */ polyIn: () => (/* binding */ polyIn), 9942/* harmony export */ polyInOut: () => (/* binding */ polyInOut), 9943/* harmony export */ polyOut: () => (/* binding */ polyOut) 9944/* harmony export */ }); 9945var exponent = 3; 9946 9947var polyIn = (function custom(e) { 9948 e = +e; 9949 9950 function polyIn(t) { 9951 return Math.pow(t, e); 9952 } 9953 9954 polyIn.exponent = custom; 9955 9956 return polyIn; 9957})(exponent); 9958 9959var polyOut = (function custom(e) { 9960 e = +e; 9961 9962 function polyOut(t) { 9963 return 1 - Math.pow(1 - t, e); 9964 } 9965 9966 polyOut.exponent = custom; 9967 9968 return polyOut; 9969})(exponent); 9970 9971var polyInOut = (function custom(e) { 9972 e = +e; 9973 9974 function polyInOut(t) { 9975 return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2; 9976 } 9977 9978 polyInOut.exponent = custom; 9979 9980 return polyInOut; 9981})(exponent); 9982 9983 9984/***/ }), 9985
vendor: 789 bytes, lines 9986-10012
9986/***/ "./node_modules/d3-ease/src/quad.js": 9987/*!******************************************!*\ 9988 !*** ./node_modules/d3-ease/src/quad.js ***! 9989 \******************************************/ 9990/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9991 9992__webpack_require__.r(__webpack_exports__); 9993/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9994/* harmony export */ quadIn: () => (/* binding */ quadIn), 9995/* harmony export */ quadInOut: () => (/* binding */ quadInOut), 9996/* harmony export */ quadOut: () => (/* binding */ quadOut) 9997/* harmony export */ }); 9998function quadIn(t) { 9999 return t * t; 10000} 10001 10002function quadOut(t) { 10003 return t * (2 - t); 10004} 10005 10006function quadInOut(t) { 10007 return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2; 10008} 10009 10010 10011/***/ }), 10012
vendor: 840 bytes, lines 10013-10042
10013/***/ "./node_modules/d3-ease/src/sin.js": 10014/*!*****************************************!*\ 10015 !*** ./node_modules/d3-ease/src/sin.js ***! 10016 \*****************************************/ 10017/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10018 10019__webpack_require__.r(__webpack_exports__); 10020/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10021/* harmony export */ sinIn: () => (/* binding */ sinIn), 10022/* harmony export */ sinInOut: () => (/* binding */ sinInOut), 10023/* harmony export */ sinOut: () => (/* binding */ sinOut) 10024/* harmony export */ }); 10025var pi = Math.PI, 10026 halfPi = pi / 2; 10027 10028function sinIn(t) { 10029 return (+t === 1) ? 1 : 1 - Math.cos(t * halfPi); 10030} 10031 10032function sinOut(t) { 10033 return Math.sin(t * halfPi); 10034} 10035 10036function sinInOut(t) { 10037 return (1 - Math.cos(pi * t)) / 2; 10038} 10039 10040 10041/***/ }), 10042
vendor: 805 bytes, lines 10043-10064
10043/***/ "./node_modules/d3-fetch/src/blob.js": 10044/*!*******************************************!*\ 10045 !*** ./node_modules/d3-fetch/src/blob.js ***! 10046 \*******************************************/ 10047/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10048 10049__webpack_require__.r(__webpack_exports__); 10050/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10051/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10052/* harmony export */ }); 10053function responseBlob(response) { 10054 if (!response.ok) throw new Error(response.status + " " + response.statusText); 10055 return response.blob(); 10056} 10057 10058/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(input, init) { 10059 return fetch(input, init).then(responseBlob); 10060} 10061 10062 10063/***/ }), 10064
vendor: 834 bytes, lines 10065-10086
10065/***/ "./node_modules/d3-fetch/src/buffer.js": 10066/*!*********************************************!*\ 10067 !*** ./node_modules/d3-fetch/src/buffer.js ***! 10068 \*********************************************/ 10069/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10070 10071__webpack_require__.r(__webpack_exports__); 10072/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10073/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10074/* harmony export */ }); 10075function responseArrayBuffer(response) { 10076 if (!response.ok) throw new Error(response.status + " " + response.statusText); 10077 return response.arrayBuffer(); 10078} 10079 10080/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(input, init) { 10081 return fetch(input, init).then(responseArrayBuffer); 10082} 10083 10084 10085/***/ }), 10086
vendor: 1,950 bytes, lines 10087-10128
10087/***/ "./node_modules/d3-fetch/src/dsv.js": 10088/*!******************************************!*\ 10089 !*** ./node_modules/d3-fetch/src/dsv.js ***! 10090 \******************************************/ 10091/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10092 10093__webpack_require__.r(__webpack_exports__); 10094/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10095/* harmony export */ csv: () => (/* binding */ csv), 10096/* harmony export */ "default": () => (/* binding */ dsv), 10097/* harmony export */ tsv: () => (/* binding */ tsv) 10098/* harmony export */ }); 10099/* harmony import */ var d3_dsv__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-dsv */ "./node_modules/d3-dsv/src/dsv.js"); 10100/* harmony import */ var d3_dsv__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-dsv */ "./node_modules/d3-dsv/src/csv.js"); 10101/* harmony import */ var d3_dsv__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-dsv */ "./node_modules/d3-dsv/src/tsv.js"); 10102/* harmony import */ var _text_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./text.js */ "./node_modules/d3-fetch/src/text.js"); 10103 10104 10105 10106function dsvParse(parse) { 10107 return function(input, init, row) { 10108 if (arguments.length === 2 && typeof init === "function") row = init, init = undefined; 10109 return (0,_text_js__WEBPACK_IMPORTED_MODULE_0__["default"])(input, init).then(function(response) { 10110 return parse(response, row); 10111 }); 10112 }; 10113} 10114 10115function dsv(delimiter, input, init, row) { 10116 if (arguments.length === 3 && typeof init === "function") row = init, init = undefined; 10117 var format = (0,d3_dsv__WEBPACK_IMPORTED_MODULE_1__["default"])(delimiter); 10118 return (0,_text_js__WEBPACK_IMPORTED_MODULE_0__["default"])(input, init).then(function(response) { 10119 return format.parse(response, row); 10120 }); 10121} 10122 10123var csv = dsvParse(d3_dsv__WEBPACK_IMPORTED_MODULE_2__.csvParse); 10124var tsv = dsvParse(d3_dsv__WEBPACK_IMPORTED_MODULE_3__.tsvParse); 10125 10126 10127/***/ }), 10128
vendor: 850 bytes, lines 10129-10151
10129/***/ "./node_modules/d3-fetch/src/image.js": 10130/*!********************************************!*\ 10131 !*** ./node_modules/d3-fetch/src/image.js ***! 10132 \********************************************/ 10133/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10134 10135__webpack_require__.r(__webpack_exports__); 10136/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10137/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10138/* harmony export */ }); 10139/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(input, init) { 10140 return new Promise(function(resolve, reject) { 10141 var image = new Image; 10142 for (var key in init) image[key] = init[key]; 10143 image.onerror = reject; 10144 image.onload = function() { resolve(image); }; 10145 image.src = input; 10146 }); 10147} 10148 10149 10150/***/ }), 10151
vendor: 2,584 bytes, lines 10152-10189
10152/***/ "./node_modules/d3-fetch/src/index.js": 10153/*!********************************************!*\ 10154 !*** ./node_modules/d3-fetch/src/index.js ***! 10155 \********************************************/ 10156/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10157 10158__webpack_require__.r(__webpack_exports__); 10159/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10160/* harmony export */ blob: () => (/* reexport safe */ _blob_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 10161/* harmony export */ buffer: () => (/* reexport safe */ _buffer_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 10162/* harmony export */ csv: () => (/* reexport safe */ _dsv_js__WEBPACK_IMPORTED_MODULE_2__.csv), 10163/* harmony export */ dsv: () => (/* reexport safe */ _dsv_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 10164/* harmony export */ html: () => (/* reexport safe */ _xml_js__WEBPACK_IMPORTED_MODULE_6__.html), 10165/* harmony export */ image: () => (/* reexport safe */ _image_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 10166/* harmony export */ json: () => (/* reexport safe */ _json_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 10167/* harmony export */ svg: () => (/* reexport safe */ _xml_js__WEBPACK_IMPORTED_MODULE_6__.svg), 10168/* harmony export */ text: () => (/* reexport safe */ _text_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 10169/* harmony export */ tsv: () => (/* reexport safe */ _dsv_js__WEBPACK_IMPORTED_MODULE_2__.tsv), 10170/* harmony export */ xml: () => (/* reexport safe */ _xml_js__WEBPACK_IMPORTED_MODULE_6__["default"]) 10171/* harmony export */ }); 10172/* harmony import */ var _blob_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./blob.js */ "./node_modules/d3-fetch/src/blob.js"); 10173/* harmony import */ var _buffer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./buffer.js */ "./node_modules/d3-fetch/src/buffer.js"); 10174/* harmony import */ var _dsv_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dsv.js */ "./node_modules/d3-fetch/src/dsv.js"); 10175/* harmony import */ var _image_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./image.js */ "./node_modules/d3-fetch/src/image.js"); 10176/* harmony import */ var _json_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./json.js */ "./node_modules/d3-fetch/src/json.js"); 10177/* harmony import */ var _text_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./text.js */ "./node_modules/d3-fetch/src/text.js"); 10178/* harmony import */ var _xml_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./xml.js */ "./node_modules/d3-fetch/src/xml.js"); 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188/***/ }), 10189
vendor: 871 bytes, lines 10190-10212
10190/***/ "./node_modules/d3-fetch/src/json.js": 10191/*!*******************************************!*\ 10192 !*** ./node_modules/d3-fetch/src/json.js ***! 10193 \*******************************************/ 10194/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10195 10196__webpack_require__.r(__webpack_exports__); 10197/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10198/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10199/* harmony export */ }); 10200function responseJson(response) { 10201 if (!response.ok) throw new Error(response.status + " " + response.statusText); 10202 if (response.status === 204 || response.status === 205) return; 10203 return response.json(); 10204} 10205 10206/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(input, init) { 10207 return fetch(input, init).then(responseJson); 10208} 10209 10210 10211/***/ }), 10212
vendor: 805 bytes, lines 10213-10234
10213/***/ "./node_modules/d3-fetch/src/text.js": 10214/*!*******************************************!*\ 10215 !*** ./node_modules/d3-fetch/src/text.js ***! 10216 \*******************************************/ 10217/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10218 10219__webpack_require__.r(__webpack_exports__); 10220/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10221/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10222/* harmony export */ }); 10223function responseText(response) { 10224 if (!response.ok) throw new Error(response.status + " " + response.statusText); 10225 return response.text(); 10226} 10227 10228/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(input, init) { 10229 return fetch(input, init).then(responseText); 10230} 10231 10232 10233/***/ }), 10234
vendor: 1,098 bytes, lines 10235-10263
10235/***/ "./node_modules/d3-fetch/src/xml.js": 10236/*!******************************************!*\ 10237 !*** ./node_modules/d3-fetch/src/xml.js ***! 10238 \******************************************/ 10239/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10240 10241__webpack_require__.r(__webpack_exports__); 10242/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10243/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 10244/* harmony export */ html: () => (/* binding */ html), 10245/* harmony export */ svg: () => (/* binding */ svg) 10246/* harmony export */ }); 10247/* harmony import */ var _text_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./text.js */ "./node_modules/d3-fetch/src/text.js"); 10248 10249 10250function parser(type) { 10251 return (input, init) => (0,_text_js__WEBPACK_IMPORTED_MODULE_0__["default"])(input, init) 10252 .then(text => (new DOMParser).parseFromString(text, type)); 10253} 10254 10255/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parser("application/xml")); 10256 10257var html = parser("text/html"); 10258 10259var svg = parser("image/svg+xml"); 10260 10261 10262/***/ }), 10263
vendor: 1,377 bytes, lines 10264-10317
10264/***/ "./node_modules/d3-force/src/center.js": 10265/*!*********************************************!*\ 10266 !*** ./node_modules/d3-force/src/center.js ***! 10267 \*********************************************/ 10268/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10269 10270__webpack_require__.r(__webpack_exports__); 10271/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10272/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10273/* harmony export */ }); 10274/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, y) { 10275 var nodes, strength = 1; 10276 10277 if (x == null) x = 0; 10278 if (y == null) y = 0; 10279 10280 function force() { 10281 var i, 10282 n = nodes.length, 10283 node, 10284 sx = 0, 10285 sy = 0; 10286 10287 for (i = 0; i < n; ++i) { 10288 node = nodes[i], sx += node.x, sy += node.y; 10289 } 10290 10291 for (sx = (sx / n - x) * strength, sy = (sy / n - y) * strength, i = 0; i < n; ++i) { 10292 node = nodes[i], node.x -= sx, node.y -= sy; 10293 } 10294 } 10295 10296 force.initialize = function(_) { 10297 nodes = _; 10298 }; 10299 10300 force.x = function(_) { 10301 return arguments.length ? (x = +_, force) : x; 10302 }; 10303 10304 force.y = function(_) { 10305 return arguments.length ? (y = +_, force) : y; 10306 }; 10307 10308 force.strength = function(_) { 10309 return arguments.length ? (strength = +_, force) : strength; 10310 }; 10311 10312 return force; 10313} 10314 10315 10316/***/ }), 10317
vendor: 3,691 bytes, lines 10318-10434
10318/***/ "./node_modules/d3-force/src/collide.js": 10319/*!**********************************************!*\ 10320 !*** ./node_modules/d3-force/src/collide.js ***! 10321 \**********************************************/ 10322/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10323 10324__webpack_require__.r(__webpack_exports__); 10325/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10326/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10327/* harmony export */ }); 10328/* harmony import */ var d3_quadtree__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-quadtree */ "./node_modules/d3-quadtree/src/quadtree.js"); 10329/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-force/src/constant.js"); 10330/* harmony import */ var _jiggle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jiggle.js */ "./node_modules/d3-force/src/jiggle.js"); 10331 10332 10333 10334 10335function x(d) { 10336 return d.x + d.vx; 10337} 10338 10339function y(d) { 10340 return d.y + d.vy; 10341} 10342 10343/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(radius) { 10344 var nodes, 10345 radii, 10346 random, 10347 strength = 1, 10348 iterations = 1; 10349 10350 if (typeof radius !== "function") radius = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(radius == null ? 1 : +radius); 10351 10352 function force() { 10353 var i, n = nodes.length, 10354 tree, 10355 node, 10356 xi, 10357 yi, 10358 ri, 10359 ri2; 10360 10361 for (var k = 0; k < iterations; ++k) { 10362 tree = (0,d3_quadtree__WEBPACK_IMPORTED_MODULE_1__["default"])(nodes, x, y).visitAfter(prepare); 10363 for (i = 0; i < n; ++i) { 10364 node = nodes[i]; 10365 ri = radii[node.index], ri2 = ri * ri; 10366 xi = node.x + node.vx; 10367 yi = node.y + node.vy; 10368 tree.visit(apply); 10369 } 10370 } 10371 10372 function apply(quad, x0, y0, x1, y1) { 10373 var data = quad.data, rj = quad.r, r = ri + rj; 10374 if (data) { 10375 if (data.index > node.index) { 10376 var x = xi - data.x - data.vx, 10377 y = yi - data.y - data.vy, 10378 l = x * x + y * y; 10379 if (l < r * r) { 10380 if (x === 0) x = (0,_jiggle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(random), l += x * x; 10381 if (y === 0) y = (0,_jiggle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(random), l += y * y; 10382 l = (r - (l = Math.sqrt(l))) / l * strength; 10383 node.vx += (x *= l) * (r = (rj *= rj) / (ri2 + rj)); 10384 node.vy += (y *= l) * r; 10385 data.vx -= x * (r = 1 - r); 10386 data.vy -= y * r; 10387 } 10388 } 10389 return; 10390 } 10391 return x0 > xi + r || x1 < xi - r || y0 > yi + r || y1 < yi - r; 10392 } 10393 } 10394 10395 function prepare(quad) { 10396 if (quad.data) return quad.r = radii[quad.data.index]; 10397 for (var i = quad.r = 0; i < 4; ++i) { 10398 if (quad[i] && quad[i].r > quad.r) { 10399 quad.r = quad[i].r; 10400 } 10401 } 10402 } 10403 10404 function initialize() { 10405 if (!nodes) return; 10406 var i, n = nodes.length, node; 10407 radii = new Array(n); 10408 for (i = 0; i < n; ++i) node = nodes[i], radii[node.index] = +radius(node, i, nodes); 10409 } 10410 10411 force.initialize = function(_nodes, _random) { 10412 nodes = _nodes; 10413 random = _random; 10414 initialize(); 10415 }; 10416 10417 force.iterations = function(_) { 10418 return arguments.length ? (iterations = +_, force) : iterations; 10419 }; 10420 10421 force.strength = function(_) { 10422 return arguments.length ? (strength = +_, force) : strength; 10423 }; 10424 10425 force.radius = function(_) { 10426 return arguments.length ? (radius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initialize(), force) : radius; 10427 }; 10428 10429 return force; 10430} 10431 10432 10433/***/ }), 10434
vendor: 659 bytes, lines 10435-10453
10435/***/ "./node_modules/d3-force/src/constant.js": 10436/*!***********************************************!*\ 10437 !*** ./node_modules/d3-force/src/constant.js ***! 10438 \***********************************************/ 10439/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10440 10441__webpack_require__.r(__webpack_exports__); 10442/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10443/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10444/* harmony export */ }); 10445/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 10446 return function() { 10447 return x; 10448 }; 10449} 10450 10451 10452/***/ }), 10453
vendor: 2,530 bytes, lines 10454-10490
10454/***/ "./node_modules/d3-force/src/index.js": 10455/*!********************************************!*\ 10456 !*** ./node_modules/d3-force/src/index.js ***! 10457 \********************************************/ 10458/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10459 10460__webpack_require__.r(__webpack_exports__); 10461/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10462/* harmony export */ forceCenter: () => (/* reexport safe */ _center_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 10463/* harmony export */ forceCollide: () => (/* reexport safe */ _collide_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 10464/* harmony export */ forceLink: () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 10465/* harmony export */ forceManyBody: () => (/* reexport safe */ _manyBody_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 10466/* harmony export */ forceRadial: () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 10467/* harmony export */ forceSimulation: () => (/* reexport safe */ _simulation_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 10468/* harmony export */ forceX: () => (/* reexport safe */ _x_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 10469/* harmony export */ forceY: () => (/* reexport safe */ _y_js__WEBPACK_IMPORTED_MODULE_7__["default"]) 10470/* harmony export */ }); 10471/* harmony import */ var _center_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./center.js */ "./node_modules/d3-force/src/center.js"); 10472/* harmony import */ var _collide_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./collide.js */ "./node_modules/d3-force/src/collide.js"); 10473/* harmony import */ var _link_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./link.js */ "./node_modules/d3-force/src/link.js"); 10474/* harmony import */ var _manyBody_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./manyBody.js */ "./node_modules/d3-force/src/manyBody.js"); 10475/* harmony import */ var _radial_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./radial.js */ "./node_modules/d3-force/src/radial.js"); 10476/* harmony import */ var _simulation_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./simulation.js */ "./node_modules/d3-force/src/simulation.js"); 10477/* harmony import */ var _x_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./x.js */ "./node_modules/d3-force/src/x.js"); 10478/* harmony import */ var _y_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./y.js */ "./node_modules/d3-force/src/y.js"); 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489/***/ }), 10490
vendor: 649 bytes, lines 10491-10507
10491/***/ "./node_modules/d3-force/src/jiggle.js": 10492/*!*********************************************!*\ 10493 !*** ./node_modules/d3-force/src/jiggle.js ***! 10494 \*********************************************/ 10495/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10496 10497__webpack_require__.r(__webpack_exports__); 10498/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10499/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10500/* harmony export */ }); 10501/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(random) { 10502 return (random() - 0.5) * 1e-6; 10503} 10504 10505 10506/***/ }), 10507
vendor: 812 bytes, lines 10508-10530
10508/***/ "./node_modules/d3-force/src/lcg.js": 10509/*!******************************************!*\ 10510 !*** ./node_modules/d3-force/src/lcg.js ***! 10511 \******************************************/ 10512/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10513 10514__webpack_require__.r(__webpack_exports__); 10515/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10516/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10517/* harmony export */ }); 10518// https://en.wikipedia.org/wiki/Linear_congruential_generator#Parameters_in_common_use 10519const a = 1664525; 10520const c = 1013904223; 10521const m = 4294967296; // 2^32 10522 10523/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 10524 let s = 1; 10525 return () => (s = (a * s + c) % m) / m; 10526} 10527 10528 10529/***/ }), 10530
vendor: 4,337 bytes, lines 10531-10663
10531/***/ "./node_modules/d3-force/src/link.js": 10532/*!*******************************************!*\ 10533 !*** ./node_modules/d3-force/src/link.js ***! 10534 \*******************************************/ 10535/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10536 10537__webpack_require__.r(__webpack_exports__); 10538/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10539/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10540/* harmony export */ }); 10541/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-force/src/constant.js"); 10542/* harmony import */ var _jiggle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jiggle.js */ "./node_modules/d3-force/src/jiggle.js"); 10543 10544 10545 10546function index(d) { 10547 return d.index; 10548} 10549 10550function find(nodeById, nodeId) { 10551 var node = nodeById.get(nodeId); 10552 if (!node) throw new Error("node not found: " + nodeId); 10553 return node; 10554} 10555 10556/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(links) { 10557 var id = index, 10558 strength = defaultStrength, 10559 strengths, 10560 distance = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(30), 10561 distances, 10562 nodes, 10563 count, 10564 bias, 10565 random, 10566 iterations = 1; 10567 10568 if (links == null) links = []; 10569 10570 function defaultStrength(link) { 10571 return 1 / Math.min(count[link.source.index], count[link.target.index]); 10572 } 10573 10574 function force(alpha) { 10575 for (var k = 0, n = links.length; k < iterations; ++k) { 10576 for (var i = 0, link, source, target, x, y, l, b; i < n; ++i) { 10577 link = links[i], source = link.source, target = link.target; 10578 x = target.x + target.vx - source.x - source.vx || (0,_jiggle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(random); 10579 y = target.y + target.vy - source.y - source.vy || (0,_jiggle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(random); 10580 l = Math.sqrt(x * x + y * y); 10581 l = (l - distances[i]) / l * alpha * strengths[i]; 10582 x *= l, y *= l; 10583 target.vx -= x * (b = bias[i]); 10584 target.vy -= y * b; 10585 source.vx += x * (b = 1 - b); 10586 source.vy += y * b; 10587 } 10588 } 10589 } 10590 10591 function initialize() { 10592 if (!nodes) return; 10593 10594 var i, 10595 n = nodes.length, 10596 m = links.length, 10597 nodeById = new Map(nodes.map((d, i) => [id(d, i, nodes), d])), 10598 link; 10599 10600 for (i = 0, count = new Array(n); i < m; ++i) { 10601 link = links[i], link.index = i; 10602 if (typeof link.source !== "object") link.source = find(nodeById, link.source); 10603 if (typeof link.target !== "object") link.target = find(nodeById, link.target); 10604 count[link.source.index] = (count[link.source.index] || 0) + 1; 10605 count[link.target.index] = (count[link.target.index] || 0) + 1; 10606 } 10607 10608 for (i = 0, bias = new Array(m); i < m; ++i) { 10609 link = links[i], bias[i] = count[link.source.index] / (count[link.source.index] + count[link.target.index]); 10610 } 10611 10612 strengths = new Array(m), initializeStrength(); 10613 distances = new Array(m), initializeDistance(); 10614 } 10615 10616 function initializeStrength() { 10617 if (!nodes) return; 10618 10619 for (var i = 0, n = links.length; i < n; ++i) { 10620 strengths[i] = +strength(links[i], i, links); 10621 } 10622 } 10623 10624 function initializeDistance() { 10625 if (!nodes) return; 10626 10627 for (var i = 0, n = links.length; i < n; ++i) { 10628 distances[i] = +distance(links[i], i, links); 10629 } 10630 } 10631 10632 force.initialize = function(_nodes, _random) { 10633 nodes = _nodes; 10634 random = _random; 10635 initialize(); 10636 }; 10637 10638 force.links = function(_) { 10639 return arguments.length ? (links = _, initialize(), force) : links; 10640 }; 10641 10642 force.id = function(_) { 10643 return arguments.length ? (id = _, force) : id; 10644 }; 10645 10646 force.iterations = function(_) { 10647 return arguments.length ? (iterations = +_, force) : iterations; 10648 }; 10649 10650 force.strength = function(_) { 10651 return arguments.length ? (strength = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initializeStrength(), force) : strength; 10652 }; 10653 10654 force.distance = function(_) { 10655 return arguments.length ? (distance = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initializeDistance(), force) : distance; 10656 }; 10657 10658 return force; 10659} 10660 10661 10662/***/ }), 10663
vendor: 4,788 bytes, lines 10664-10797
10664/***/ "./node_modules/d3-force/src/manyBody.js": 10665/*!***********************************************!*\ 10666 !*** ./node_modules/d3-force/src/manyBody.js ***! 10667 \***********************************************/ 10668/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10669 10670__webpack_require__.r(__webpack_exports__); 10671/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10672/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10673/* harmony export */ }); 10674/* harmony import */ var d3_quadtree__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-quadtree */ "./node_modules/d3-quadtree/src/quadtree.js"); 10675/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-force/src/constant.js"); 10676/* harmony import */ var _jiggle_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jiggle.js */ "./node_modules/d3-force/src/jiggle.js"); 10677/* harmony import */ var _simulation_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./simulation.js */ "./node_modules/d3-force/src/simulation.js"); 10678 10679 10680 10681 10682 10683/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 10684 var nodes, 10685 node, 10686 random, 10687 alpha, 10688 strength = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(-30), 10689 strengths, 10690 distanceMin2 = 1, 10691 distanceMax2 = Infinity, 10692 theta2 = 0.81; 10693 10694 function force(_) { 10695 var i, n = nodes.length, tree = (0,d3_quadtree__WEBPACK_IMPORTED_MODULE_1__["default"])(nodes, _simulation_js__WEBPACK_IMPORTED_MODULE_2__.x, _simulation_js__WEBPACK_IMPORTED_MODULE_2__.y).visitAfter(accumulate); 10696 for (alpha = _, i = 0; i < n; ++i) node = nodes[i], tree.visit(apply); 10697 } 10698 10699 function initialize() { 10700 if (!nodes) return; 10701 var i, n = nodes.length, node; 10702 strengths = new Array(n); 10703 for (i = 0; i < n; ++i) node = nodes[i], strengths[node.index] = +strength(node, i, nodes); 10704 } 10705 10706 function accumulate(quad) { 10707 var strength = 0, q, c, weight = 0, x, y, i; 10708 10709 // For internal nodes, accumulate forces from child quadrants. 10710 if (quad.length) { 10711 for (x = y = i = 0; i < 4; ++i) { 10712 if ((q = quad[i]) && (c = Math.abs(q.value))) { 10713 strength += q.value, weight += c, x += c * q.x, y += c * q.y; 10714 } 10715 } 10716 quad.x = x / weight; 10717 quad.y = y / weight; 10718 } 10719 10720 // For leaf nodes, accumulate forces from coincident quadrants. 10721 else { 10722 q = quad; 10723 q.x = q.data.x; 10724 q.y = q.data.y; 10725 do strength += strengths[q.data.index]; 10726 while (q = q.next); 10727 } 10728 10729 quad.value = strength; 10730 } 10731 10732 function apply(quad, x1, _, x2) { 10733 if (!quad.value) return true; 10734 10735 var x = quad.x - node.x, 10736 y = quad.y - node.y, 10737 w = x2 - x1, 10738 l = x * x + y * y; 10739 10740 // Apply the Barnes-Hut approximation if possible. 10741 // Limit forces for very close nodes; randomize direction if coincident. 10742 if (w * w / theta2 < l) { 10743 if (l < distanceMax2) { 10744 if (x === 0) x = (0,_jiggle_js__WEBPACK_IMPORTED_MODULE_3__["default"])(random), l += x * x; 10745 if (y === 0) y = (0,_jiggle_js__WEBPACK_IMPORTED_MODULE_3__["default"])(random), l += y * y; 10746 if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l); 10747 node.vx += x * quad.value * alpha / l; 10748 node.vy += y * quad.value * alpha / l; 10749 } 10750 return true; 10751 } 10752 10753 // Otherwise, process points directly. 10754 else if (quad.length || l >= distanceMax2) return; 10755 10756 // Limit forces for very close nodes; randomize direction if coincident. 10757 if (quad.data !== node || quad.next) { 10758 if (x === 0) x = (0,_jiggle_js__WEBPACK_IMPORTED_MODULE_3__["default"])(random), l += x * x; 10759 if (y === 0) y = (0,_jiggle_js__WEBPACK_IMPORTED_MODULE_3__["default"])(random), l += y * y; 10760 if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l); 10761 } 10762 10763 do if (quad.data !== node) { 10764 w = strengths[quad.data.index] * alpha / l; 10765 node.vx += x * w; 10766 node.vy += y * w; 10767 } while (quad = quad.next); 10768 } 10769 10770 force.initialize = function(_nodes, _random) { 10771 nodes = _nodes; 10772 random = _random; 10773 initialize(); 10774 }; 10775 10776 force.strength = function(_) { 10777 return arguments.length ? (strength = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initialize(), force) : strength; 10778 }; 10779 10780 force.distanceMin = function(_) { 10781 return arguments.length ? (distanceMin2 = _ * _, force) : Math.sqrt(distanceMin2); 10782 }; 10783 10784 force.distanceMax = function(_) { 10785 return arguments.length ? (distanceMax2 = _ * _, force) : Math.sqrt(distanceMax2); 10786 }; 10787 10788 force.theta = function(_) { 10789 return arguments.length ? (theta2 = _ * _, force) : Math.sqrt(theta2); 10790 }; 10791 10792 return force; 10793} 10794 10795 10796/***/ }), 10797
vendor: 2,368 bytes, lines 10798-10869
10798/***/ "./node_modules/d3-force/src/radial.js": 10799/*!*********************************************!*\ 10800 !*** ./node_modules/d3-force/src/radial.js ***! 10801 \*********************************************/ 10802/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10803 10804__webpack_require__.r(__webpack_exports__); 10805/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10806/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 10807/* harmony export */ }); 10808/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-force/src/constant.js"); 10809 10810 10811/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(radius, x, y) { 10812 var nodes, 10813 strength = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0.1), 10814 strengths, 10815 radiuses; 10816 10817 if (typeof radius !== "function") radius = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+radius); 10818 if (x == null) x = 0; 10819 if (y == null) y = 0; 10820 10821 function force(alpha) { 10822 for (var i = 0, n = nodes.length; i < n; ++i) { 10823 var node = nodes[i], 10824 dx = node.x - x || 1e-6, 10825 dy = node.y - y || 1e-6, 10826 r = Math.sqrt(dx * dx + dy * dy), 10827 k = (radiuses[i] - r) * strengths[i] * alpha / r; 10828 node.vx += dx * k; 10829 node.vy += dy * k; 10830 } 10831 } 10832 10833 function initialize() { 10834 if (!nodes) return; 10835 var i, n = nodes.length; 10836 strengths = new Array(n); 10837 radiuses = new Array(n); 10838 for (i = 0; i < n; ++i) { 10839 radiuses[i] = +radius(nodes[i], i, nodes); 10840 strengths[i] = isNaN(radiuses[i]) ? 0 : +strength(nodes[i], i, nodes); 10841 } 10842 } 10843 10844 force.initialize = function(_) { 10845 nodes = _, initialize(); 10846 }; 10847 10848 force.strength = function(_) { 10849 return arguments.length ? (strength = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initialize(), force) : strength; 10850 }; 10851 10852 force.radius = function(_) { 10853 return arguments.length ? (radius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initialize(), force) : radius; 10854 }; 10855 10856 force.x = function(_) { 10857 return arguments.length ? (x = +_, force) : x; 10858 }; 10859 10860 force.y = function(_) { 10861 return arguments.length ? (y = +_, force) : y; 10862 }; 10863 10864 return force; 10865} 10866 10867 10868/***/ }), 10869
vendor: 5,029 bytes, lines 10870-11044
10870/***/ "./node_modules/d3-force/src/simulation.js": 10871/*!*************************************************!*\ 10872 !*** ./node_modules/d3-force/src/simulation.js ***! 10873 \*************************************************/ 10874/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 10875 10876__webpack_require__.r(__webpack_exports__); 10877/* harmony export */ __webpack_require__.d(__webpack_exports__, { 10878/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 10879/* harmony export */ x: () => (/* binding */ x), 10880/* harmony export */ y: () => (/* binding */ y) 10881/* harmony export */ }); 10882/* harmony import */ var d3_dispatch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-dispatch */ "./node_modules/d3-dispatch/src/dispatch.js"); 10883/* harmony import */ var d3_timer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-timer */ "./node_modules/d3-timer/src/timer.js"); 10884/* harmony import */ var _lcg_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./lcg.js */ "./node_modules/d3-force/src/lcg.js"); 10885 10886 10887 10888 10889function x(d) { 10890 return d.x; 10891} 10892 10893function y(d) { 10894 return d.y; 10895} 10896 10897var initialRadius = 10, 10898 initialAngle = Math.PI * (3 - Math.sqrt(5)); 10899 10900/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(nodes) { 10901 var simulation, 10902 alpha = 1, 10903 alphaMin = 0.001, 10904 alphaDecay = 1 - Math.pow(alphaMin, 1 / 300), 10905 alphaTarget = 0, 10906 velocityDecay = 0.6, 10907 forces = new Map(), 10908 stepper = (0,d3_timer__WEBPACK_IMPORTED_MODULE_0__.timer)(step), 10909 event = (0,d3_dispatch__WEBPACK_IMPORTED_MODULE_1__["default"])("tick", "end"), 10910 random = (0,_lcg_js__WEBPACK_IMPORTED_MODULE_2__["default"])(); 10911 10912 if (nodes == null) nodes = []; 10913 10914 function step() { 10915 tick(); 10916 event.call("tick", simulation); 10917 if (alpha < alphaMin) { 10918 stepper.stop(); 10919 event.call("end", simulation); 10920 } 10921 } 10922 10923 function tick(iterations) { 10924 var i, n = nodes.length, node; 10925 10926 if (iterations === undefined) iterations = 1; 10927 10928 for (var k = 0; k < iterations; ++k) { 10929 alpha += (alphaTarget - alpha) * alphaDecay; 10930 10931 forces.forEach(function(force) { 10932 force(alpha); 10933 }); 10934 10935 for (i = 0; i < n; ++i) { 10936 node = nodes[i]; 10937 if (node.fx == null) node.x += node.vx *= velocityDecay; 10938 else node.x = node.fx, node.vx = 0; 10939 if (node.fy == null) node.y += node.vy *= velocityDecay; 10940 else node.y = node.fy, node.vy = 0; 10941 } 10942 } 10943 10944 return simulation; 10945 } 10946 10947 function initializeNodes() { 10948 for (var i = 0, n = nodes.length, node; i < n; ++i) { 10949 node = nodes[i], node.index = i; 10950 if (node.fx != null) node.x = node.fx; 10951 if (node.fy != null) node.y = node.fy; 10952 if (isNaN(node.x) || isNaN(node.y)) { 10953 var radius = initialRadius * Math.sqrt(0.5 + i), angle = i * initialAngle; 10954 node.x = radius * Math.cos(angle); 10955 node.y = radius * Math.sin(angle); 10956 } 10957 if (isNaN(node.vx) || isNaN(node.vy)) { 10958 node.vx = node.vy = 0; 10959 } 10960 } 10961 } 10962 10963 function initializeForce(force) { 10964 if (force.initialize) force.initialize(nodes, random); 10965 return force; 10966 } 10967 10968 initializeNodes(); 10969 10970 return simulation = { 10971 tick: tick, 10972 10973 restart: function() { 10974 return stepper.restart(step), simulation; 10975 }, 10976 10977 stop: function() { 10978 return stepper.stop(), simulation; 10979 }, 10980 10981 nodes: function(_) { 10982 return arguments.length ? (nodes = _, initializeNodes(), forces.forEach(initializeForce), simulation) : nodes; 10983 }, 10984 10985 alpha: function(_) { 10986 return arguments.length ? (alpha = +_, simulation) : alpha; 10987 }, 10988 10989 alphaMin: function(_) { 10990 return arguments.length ? (alphaMin = +_, simulation) : alphaMin; 10991 }, 10992 10993 alphaDecay: function(_) { 10994 return arguments.length ? (alphaDecay = +_, simulation) : +alphaDecay; 10995 }, 10996 10997 alphaTarget: function(_) { 10998 return arguments.length ? (alphaTarget = +_, simulation) : alphaTarget; 10999 }, 11000 11001 velocityDecay: function(_) { 11002 return arguments.length ? (velocityDecay = 1 - _, simulation) : 1 - velocityDecay; 11003 }, 11004 11005 randomSource: function(_) { 11006 return arguments.length ? (random = _, forces.forEach(initializeForce), simulation) : random; 11007 }, 11008 11009 force: function(name, _) { 11010 return arguments.length > 1 ? ((_ == null ? forces.delete(name) : forces.set(name, initializeForce(_))), simulation) : forces.get(name); 11011 }, 11012 11013 find: function(x, y, radius) { 11014 var i = 0, 11015 n = nodes.length, 11016 dx, 11017 dy, 11018 d2, 11019 node, 11020 closest; 11021 11022 if (radius == null) radius = Infinity; 11023 else radius *= radius; 11024 11025 for (i = 0; i < n; ++i) { 11026 node = nodes[i]; 11027 dx = x - node.x; 11028 dy = y - node.y; 11029 d2 = dx * dx + dy * dy; 11030 if (d2 < radius) closest = node, radius = d2; 11031 } 11032 11033 return closest; 11034 }, 11035 11036 on: function(name, _) { 11037 return arguments.length > 1 ? (event.on(name, _), simulation) : event.on(name); 11038 } 11039 }; 11040} 11041 11042 11043/***/ }), 11044
vendor: 1,901 bytes, lines 11045-11100
11045/***/ "./node_modules/d3-force/src/x.js": 11046/*!****************************************!*\ 11047 !*** ./node_modules/d3-force/src/x.js ***! 11048 \****************************************/ 11049/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11050 11051__webpack_require__.r(__webpack_exports__); 11052/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11053/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11054/* harmony export */ }); 11055/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-force/src/constant.js"); 11056 11057 11058/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 11059 var strength = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0.1), 11060 nodes, 11061 strengths, 11062 xz; 11063 11064 if (typeof x !== "function") x = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(x == null ? 0 : +x); 11065 11066 function force(alpha) { 11067 for (var i = 0, n = nodes.length, node; i < n; ++i) { 11068 node = nodes[i], node.vx += (xz[i] - node.x) * strengths[i] * alpha; 11069 } 11070 } 11071 11072 function initialize() { 11073 if (!nodes) return; 11074 var i, n = nodes.length; 11075 strengths = new Array(n); 11076 xz = new Array(n); 11077 for (i = 0; i < n; ++i) { 11078 strengths[i] = isNaN(xz[i] = +x(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes); 11079 } 11080 } 11081 11082 force.initialize = function(_) { 11083 nodes = _; 11084 initialize(); 11085 }; 11086 11087 force.strength = function(_) { 11088 return arguments.length ? (strength = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initialize(), force) : strength; 11089 }; 11090 11091 force.x = function(_) { 11092 return arguments.length ? (x = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initialize(), force) : x; 11093 }; 11094 11095 return force; 11096} 11097 11098 11099/***/ }), 11100
vendor: 1,901 bytes, lines 11101-11156
11101/***/ "./node_modules/d3-force/src/y.js": 11102/*!****************************************!*\ 11103 !*** ./node_modules/d3-force/src/y.js ***! 11104 \****************************************/ 11105/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11106 11107__webpack_require__.r(__webpack_exports__); 11108/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11109/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11110/* harmony export */ }); 11111/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-force/src/constant.js"); 11112 11113 11114/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(y) { 11115 var strength = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0.1), 11116 nodes, 11117 strengths, 11118 yz; 11119 11120 if (typeof y !== "function") y = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(y == null ? 0 : +y); 11121 11122 function force(alpha) { 11123 for (var i = 0, n = nodes.length, node; i < n; ++i) { 11124 node = nodes[i], node.vy += (yz[i] - node.y) * strengths[i] * alpha; 11125 } 11126 } 11127 11128 function initialize() { 11129 if (!nodes) return; 11130 var i, n = nodes.length; 11131 strengths = new Array(n); 11132 yz = new Array(n); 11133 for (i = 0; i < n; ++i) { 11134 strengths[i] = isNaN(yz[i] = +y(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes); 11135 } 11136 } 11137 11138 force.initialize = function(_) { 11139 nodes = _; 11140 initialize(); 11141 }; 11142 11143 force.strength = function(_) { 11144 return arguments.length ? (strength = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initialize(), force) : strength; 11145 }; 11146 11147 force.y = function(_) { 11148 return arguments.length ? (y = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), initialize(), force) : y; 11149 }; 11150 11151 return force; 11152} 11153 11154 11155/***/ }), 11156
vendor: 1,147 bytes, lines 11157-11191
11157/***/ "./node_modules/d3-format/src/defaultLocale.js": 11158/*!*****************************************************!*\ 11159 !*** ./node_modules/d3-format/src/defaultLocale.js ***! 11160 \*****************************************************/ 11161/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11162 11163__webpack_require__.r(__webpack_exports__); 11164/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11165/* harmony export */ "default": () => (/* binding */ defaultLocale), 11166/* harmony export */ format: () => (/* binding */ format), 11167/* harmony export */ formatPrefix: () => (/* binding */ formatPrefix) 11168/* harmony export */ }); 11169/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "./node_modules/d3-format/src/locale.js"); 11170 11171 11172var locale; 11173var format; 11174var formatPrefix; 11175 11176defaultLocale({ 11177 thousands: ",", 11178 grouping: [3], 11179 currency: ["$", ""] 11180}); 11181 11182function defaultLocale(definition) { 11183 locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition); 11184 format = locale.format; 11185 formatPrefix = locale.formatPrefix; 11186 return locale; 11187} 11188 11189 11190/***/ }), 11191
vendor: 907 bytes, lines 11192-11211
11192/***/ "./node_modules/d3-format/src/exponent.js": 11193/*!************************************************!*\ 11194 !*** ./node_modules/d3-format/src/exponent.js ***! 11195 \************************************************/ 11196/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11197 11198__webpack_require__.r(__webpack_exports__); 11199/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11200/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11201/* harmony export */ }); 11202/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "./node_modules/d3-format/src/formatDecimal.js"); 11203 11204 11205/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 11206 return x = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(Math.abs(x)), x ? x[1] : NaN; 11207} 11208 11209 11210/***/ }), 11211
vendor: 1,511 bytes, lines 11212-11246
11212/***/ "./node_modules/d3-format/src/formatDecimal.js": 11213/*!*****************************************************!*\ 11214 !*** ./node_modules/d3-format/src/formatDecimal.js ***! 11215 \*****************************************************/ 11216/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11217 11218__webpack_require__.r(__webpack_exports__); 11219/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11220/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 11221/* harmony export */ formatDecimalParts: () => (/* binding */ formatDecimalParts) 11222/* harmony export */ }); 11223/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 11224 return Math.abs(x = Math.round(x)) >= 1e21 11225 ? x.toLocaleString("en").replace(/,/g, "") 11226 : x.toString(10); 11227} 11228 11229// Computes the decimal coefficient and exponent of the specified number x with 11230// significant digits p, where x is positive and p is in [1, 21] or undefined. 11231// For example, formatDecimalParts(1.23) returns ["123", 0]. 11232function formatDecimalParts(x, p) { 11233 if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; // NaN, ±Infinity 11234 var i, coefficient = x.slice(0, i); 11235 11236 // The string returned by toExponential either has the form \d\.\d+e[-+]\d+ 11237 // (e.g., 1.2e+3) or the form \de[-+]\d+ (e.g., 1e+3). 11238 return [ 11239 coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient, 11240 +x.slice(i + 1) 11241 ]; 11242} 11243 11244 11245/***/ }), 11246
vendor: 1,078 bytes, lines 11247-11278
11247/***/ "./node_modules/d3-format/src/formatGroup.js": 11248/*!***************************************************!*\ 11249 !*** ./node_modules/d3-format/src/formatGroup.js ***! 11250 \***************************************************/ 11251/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11252 11253__webpack_require__.r(__webpack_exports__); 11254/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11255/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11256/* harmony export */ }); 11257/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(grouping, thousands) { 11258 return function(value, width) { 11259 var i = value.length, 11260 t = [], 11261 j = 0, 11262 g = grouping[0], 11263 length = 0; 11264 11265 while (i > 0 && g > 0) { 11266 if (length + g + 1 > width) g = Math.max(1, width - length); 11267 t.push(value.substring(i -= g, i + g)); 11268 if ((length += g + 1) > width) break; 11269 g = grouping[j = (j + 1) % grouping.length]; 11270 } 11271 11272 return t.reverse().join(thousands); 11273 }; 11274} 11275 11276 11277/***/ }), 11278
vendor: 769 bytes, lines 11279-11299
11279/***/ "./node_modules/d3-format/src/formatNumerals.js": 11280/*!******************************************************!*\ 11281 !*** ./node_modules/d3-format/src/formatNumerals.js ***! 11282 \******************************************************/ 11283/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11284 11285__webpack_require__.r(__webpack_exports__); 11286/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11287/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11288/* harmony export */ }); 11289/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(numerals) { 11290 return function(value) { 11291 return value.replace(/[0-9]/g, function(i) { 11292 return numerals[+i]; 11293 }); 11294 }; 11295} 11296 11297 11298/***/ }), 11299
vendor: 1,542 bytes, lines 11300-11331
11300/***/ "./node_modules/d3-format/src/formatPrefixAuto.js": 11301/*!********************************************************!*\ 11302 !*** ./node_modules/d3-format/src/formatPrefixAuto.js ***! 11303 \********************************************************/ 11304/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11305 11306__webpack_require__.r(__webpack_exports__); 11307/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11308/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 11309/* harmony export */ prefixExponent: () => (/* binding */ prefixExponent) 11310/* harmony export */ }); 11311/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "./node_modules/d3-format/src/formatDecimal.js"); 11312 11313 11314var prefixExponent; 11315 11316/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, p) { 11317 var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, p); 11318 if (!d) return x + ""; 11319 var coefficient = d[0], 11320 exponent = d[1], 11321 i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1, 11322 n = coefficient.length; 11323 return i === n ? coefficient 11324 : i > n ? coefficient + new Array(i - n + 1).join("0") 11325 : i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i) 11326 : "0." + new Array(1 - i).join("0") + (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, Math.max(0, p + i - 1))[0]; // less than 1y! 11327} 11328 11329 11330/***/ }), 11331
vendor: 1,251 bytes, lines 11332-11357
11332/***/ "./node_modules/d3-format/src/formatRounded.js": 11333/*!*****************************************************!*\ 11334 !*** ./node_modules/d3-format/src/formatRounded.js ***! 11335 \*****************************************************/ 11336/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11337 11338__webpack_require__.r(__webpack_exports__); 11339/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11340/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11341/* harmony export */ }); 11342/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "./node_modules/d3-format/src/formatDecimal.js"); 11343 11344 11345/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, p) { 11346 var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, p); 11347 if (!d) return x + ""; 11348 var coefficient = d[0], 11349 exponent = d[1]; 11350 return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient 11351 : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) 11352 : coefficient + new Array(exponent - coefficient.length + 2).join("0"); 11353} 11354 11355 11356/***/ }), 11357
vendor: 2,328 bytes, lines 11358-11419
11358/***/ "./node_modules/d3-format/src/formatSpecifier.js": 11359/*!*******************************************************!*\ 11360 !*** ./node_modules/d3-format/src/formatSpecifier.js ***! 11361 \*******************************************************/ 11362/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11363 11364__webpack_require__.r(__webpack_exports__); 11365/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11366/* harmony export */ FormatSpecifier: () => (/* binding */ FormatSpecifier), 11367/* harmony export */ "default": () => (/* binding */ formatSpecifier) 11368/* harmony export */ }); 11369// [[fill]align][sign][symbol][0][width][,][.precision][~][type] 11370var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i; 11371 11372function formatSpecifier(specifier) { 11373 if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier); 11374 var match; 11375 return new FormatSpecifier({ 11376 fill: match[1], 11377 align: match[2], 11378 sign: match[3], 11379 symbol: match[4], 11380 zero: match[5], 11381 width: match[6], 11382 comma: match[7], 11383 precision: match[8] && match[8].slice(1), 11384 trim: match[9], 11385 type: match[10] 11386 }); 11387} 11388 11389formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof 11390 11391function FormatSpecifier(specifier) { 11392 this.fill = specifier.fill === undefined ? " " : specifier.fill + ""; 11393 this.align = specifier.align === undefined ? ">" : specifier.align + ""; 11394 this.sign = specifier.sign === undefined ? "-" : specifier.sign + ""; 11395 this.symbol = specifier.symbol === undefined ? "" : specifier.symbol + ""; 11396 this.zero = !!specifier.zero; 11397 this.width = specifier.width === undefined ? undefined : +specifier.width; 11398 this.comma = !!specifier.comma; 11399 this.precision = specifier.precision === undefined ? undefined : +specifier.precision; 11400 this.trim = !!specifier.trim; 11401 this.type = specifier.type === undefined ? "" : specifier.type + ""; 11402} 11403 11404FormatSpecifier.prototype.toString = function() { 11405 return this.fill 11406 + this.align 11407 + this.sign 11408 + this.symbol 11409 + (this.zero ? "0" : "") 11410 + (this.width === undefined ? "" : Math.max(1, this.width | 0)) 11411 + (this.comma ? "," : "") 11412 + (this.precision === undefined ? "" : "." + Math.max(0, this.precision | 0)) 11413 + (this.trim ? "~" : "") 11414 + this.type; 11415}; 11416 11417 11418/***/ }), 11419
vendor: 998 bytes, lines 11420-11444
11420/***/ "./node_modules/d3-format/src/formatTrim.js": 11421/*!**************************************************!*\ 11422 !*** ./node_modules/d3-format/src/formatTrim.js ***! 11423 \**************************************************/ 11424/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11425 11426__webpack_require__.r(__webpack_exports__); 11427/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11428/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11429/* harmony export */ }); 11430// Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k. 11431/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(s) { 11432 out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) { 11433 switch (s[i]) { 11434 case ".": i0 = i1 = i; break; 11435 case "0": if (i0 === 0) i0 = i; i1 = i; break; 11436 default: if (!+s[i]) break out; if (i0 > 0) i0 = 0; break; 11437 } 11438 } 11439 return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s; 11440} 11441 11442 11443/***/ }), 11444
vendor: 1,763 bytes, lines 11445-11480
11445/***/ "./node_modules/d3-format/src/formatTypes.js": 11446/*!***************************************************!*\ 11447 !*** ./node_modules/d3-format/src/formatTypes.js ***! 11448 \***************************************************/ 11449/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11450 11451__webpack_require__.r(__webpack_exports__); 11452/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11453/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 11454/* harmony export */ }); 11455/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "./node_modules/d3-format/src/formatDecimal.js"); 11456/* harmony import */ var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatPrefixAuto.js */ "./node_modules/d3-format/src/formatPrefixAuto.js"); 11457/* harmony import */ var _formatRounded_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatRounded.js */ "./node_modules/d3-format/src/formatRounded.js"); 11458 11459 11460 11461 11462/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 11463 "%": (x, p) => (x * 100).toFixed(p), 11464 "b": (x) => Math.round(x).toString(2), 11465 "c": (x) => x + "", 11466 "d": _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["default"], 11467 "e": (x, p) => x.toExponential(p), 11468 "f": (x, p) => x.toFixed(p), 11469 "g": (x, p) => x.toPrecision(p), 11470 "o": (x) => Math.round(x).toString(8), 11471 "p": (x, p) => (0,_formatRounded_js__WEBPACK_IMPORTED_MODULE_1__["default"])(x * 100, p), 11472 "r": _formatRounded_js__WEBPACK_IMPORTED_MODULE_1__["default"], 11473 "s": _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_2__["default"], 11474 "X": (x) => Math.round(x).toString(16).toUpperCase(), 11475 "x": (x) => Math.round(x).toString(16) 11476}); 11477 11478 11479/***/ }), 11480
vendor: 634 bytes, lines 11481-11497
11481/***/ "./node_modules/d3-format/src/identity.js": 11482/*!************************************************!*\ 11483 !*** ./node_modules/d3-format/src/identity.js ***! 11484 \************************************************/ 11485/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11486 11487__webpack_require__.r(__webpack_exports__); 11488/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11489/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11490/* harmony export */ }); 11491/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 11492 return x; 11493} 11494 11495 11496/***/ }), 11497
vendor: 2,596 bytes, lines 11498-11531
11498/***/ "./node_modules/d3-format/src/index.js": 11499/*!*********************************************!*\ 11500 !*** ./node_modules/d3-format/src/index.js ***! 11501 \*********************************************/ 11502/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11503 11504__webpack_require__.r(__webpack_exports__); 11505/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11506/* harmony export */ FormatSpecifier: () => (/* reexport safe */ _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__.FormatSpecifier), 11507/* harmony export */ format: () => (/* reexport safe */ _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.format), 11508/* harmony export */ formatDefaultLocale: () => (/* reexport safe */ _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 11509/* harmony export */ formatLocale: () => (/* reexport safe */ _locale_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 11510/* harmony export */ formatPrefix: () => (/* reexport safe */ _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.formatPrefix), 11511/* harmony export */ formatSpecifier: () => (/* reexport safe */ _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 11512/* harmony export */ precisionFixed: () => (/* reexport safe */ _precisionFixed_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 11513/* harmony export */ precisionPrefix: () => (/* reexport safe */ _precisionPrefix_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 11514/* harmony export */ precisionRound: () => (/* reexport safe */ _precisionRound_js__WEBPACK_IMPORTED_MODULE_5__["default"]) 11515/* harmony export */ }); 11516/* harmony import */ var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultLocale.js */ "./node_modules/d3-format/src/defaultLocale.js"); 11517/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./locale.js */ "./node_modules/d3-format/src/locale.js"); 11518/* harmony import */ var _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatSpecifier.js */ "./node_modules/d3-format/src/formatSpecifier.js"); 11519/* harmony import */ var _precisionFixed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./precisionFixed.js */ "./node_modules/d3-format/src/precisionFixed.js"); 11520/* harmony import */ var _precisionPrefix_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./precisionPrefix.js */ "./node_modules/d3-format/src/precisionPrefix.js"); 11521/* harmony import */ var _precisionRound_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./precisionRound.js */ "./node_modules/d3-format/src/precisionRound.js"); 11522 11523 11524 11525 11526 11527 11528 11529 11530/***/ }), 11531
vendor: 8,244 bytes, lines 11532-11701
11532/***/ "./node_modules/d3-format/src/locale.js": 11533/*!**********************************************!*\ 11534 !*** ./node_modules/d3-format/src/locale.js ***! 11535 \**********************************************/ 11536/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11537 11538__webpack_require__.r(__webpack_exports__); 11539/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11540/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11541/* harmony export */ }); 11542/* harmony import */ var _exponent_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./exponent.js */ "./node_modules/d3-format/src/exponent.js"); 11543/* harmony import */ var _formatGroup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatGroup.js */ "./node_modules/d3-format/src/formatGroup.js"); 11544/* harmony import */ var _formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatNumerals.js */ "./node_modules/d3-format/src/formatNumerals.js"); 11545/* harmony import */ var _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./formatSpecifier.js */ "./node_modules/d3-format/src/formatSpecifier.js"); 11546/* harmony import */ var _formatTrim_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./formatTrim.js */ "./node_modules/d3-format/src/formatTrim.js"); 11547/* harmony import */ var _formatTypes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./formatTypes.js */ "./node_modules/d3-format/src/formatTypes.js"); 11548/* harmony import */ var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./formatPrefixAuto.js */ "./node_modules/d3-format/src/formatPrefixAuto.js"); 11549/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity.js */ "./node_modules/d3-format/src/identity.js"); 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559var map = Array.prototype.map, 11560 prefixes = ["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]; 11561 11562/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(locale) { 11563 var group = locale.grouping === undefined || locale.thousands === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"] : (0,_formatGroup_js__WEBPACK_IMPORTED_MODULE_1__["default"])(map.call(locale.grouping, Number), locale.thousands + ""), 11564 currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "", 11565 currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "", 11566 decimal = locale.decimal === undefined ? "." : locale.decimal + "", 11567 numerals = locale.numerals === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"] : (0,_formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__["default"])(map.call(locale.numerals, String)), 11568 percent = locale.percent === undefined ? "%" : locale.percent + "", 11569 minus = locale.minus === undefined ? "â" : locale.minus + "", 11570 nan = locale.nan === undefined ? "NaN" : locale.nan + ""; 11571 11572 function newFormat(specifier) { 11573 specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier); 11574 11575 var fill = specifier.fill, 11576 align = specifier.align, 11577 sign = specifier.sign, 11578 symbol = specifier.symbol, 11579 zero = specifier.zero, 11580 width = specifier.width, 11581 comma = specifier.comma, 11582 precision = specifier.precision, 11583 trim = specifier.trim, 11584 type = specifier.type; 11585 11586 // The "n" type is an alias for ",g". 11587 if (type === "n") comma = true, type = "g"; 11588 11589 // The "" type, and any invalid type, is an alias for ".12~g". 11590 else if (!_formatTypes_js__WEBPACK_IMPORTED_MODULE_4__["default"][type]) precision === undefined && (precision = 12), trim = true, type = "g"; 11591 11592 // If zero fill is specified, padding goes after sign and before digits. 11593 if (zero || (fill === "0" && align === "=")) zero = true, fill = "0", align = "="; 11594 11595 // Compute the prefix and suffix. 11596 // For SI-prefix, the suffix is lazily computed. 11597 var prefix = symbol === "$" ? currencyPrefix : symbol === "#" && /[boxX]/.test(type) ? "0" + type.toLowerCase() : "", 11598 suffix = symbol === "$" ? currencySuffix : /[%p]/.test(type) ? percent : ""; 11599 11600 // What format function should we use? 11601 // Is this an integer type? 11602 // Can this type generate exponential notation? 11603 var formatType = _formatTypes_js__WEBPACK_IMPORTED_MODULE_4__["default"][type], 11604 maybeSuffix = /[defgprs%]/.test(type); 11605 11606 // Set the default precision if not specified, 11607 // or clamp the specified precision to the supported range. 11608 // For significant precision, it must be in [1, 21]. 11609 // For fixed precision, it must be in [0, 20]. 11610 precision = precision === undefined ? 6 11611 : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision)) 11612 : Math.max(0, Math.min(20, precision)); 11613 11614 function format(value) { 11615 var valuePrefix = prefix, 11616 valueSuffix = suffix, 11617 i, n, c; 11618 11619 if (type === "c") { 11620 valueSuffix = formatType(value) + valueSuffix; 11621 value = ""; 11622 } else { 11623 value = +value; 11624 11625 // Determine the sign. -0 is not less than 0, but 1 / -0 is! 11626 var valueNegative = value < 0 || 1 / value < 0; 11627 11628 // Perform the initial formatting. 11629 value = isNaN(value) ? nan : formatType(Math.abs(value), precision); 11630 11631 // Trim insignificant zeros. 11632 if (trim) value = (0,_formatTrim_js__WEBPACK_IMPORTED_MODULE_5__["default"])(value); 11633 11634 // If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign. 11635 if (valueNegative && +value === 0 && sign !== "+") valueNegative = false; 11636 11637 // Compute the prefix and suffix. 11638 valuePrefix = (valueNegative ? (sign === "(" ? sign : minus) : sign === "-" || sign === "(" ? "" : sign) + valuePrefix; 11639 valueSuffix = (type === "s" ? prefixes[8 + _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_6__.prefixExponent / 3] : "") + valueSuffix + (valueNegative && sign === "(" ? ")" : ""); 11640 11641 // Break the formatted value into the integer âvalueâ part that can be 11642 // grouped, and fractional or exponential âsuffixâ part that is not. 11643 if (maybeSuffix) { 11644 i = -1, n = value.length; 11645 while (++i < n) { 11646 if (c = value.charCodeAt(i), 48 > c || c > 57) { 11647 valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix; 11648 value = value.slice(0, i); 11649 break; 11650 } 11651 } 11652 } 11653 } 11654 11655 // If the fill character is not "0", grouping is applied before padding. 11656 if (comma && !zero) value = group(value, Infinity); 11657 11658 // Compute the padding. 11659 var length = valuePrefix.length + value.length + valueSuffix.length, 11660 padding = length < width ? new Array(width - length + 1).join(fill) : ""; 11661 11662 // If the fill character is "0", grouping is applied after padding. 11663 if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = ""; 11664 11665 // Reconstruct the final output based on the desired alignment. 11666 switch (align) { 11667 case "<": value = valuePrefix + value + valueSuffix + padding; break; 11668 case "=": value = valuePrefix + padding + value + valueSuffix; break; 11669 case "^": value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length); break; 11670 default: value = padding + valuePrefix + value + valueSuffix; break; 11671 } 11672 11673 return numerals(value); 11674 } 11675 11676 format.toString = function() { 11677 return specifier + ""; 11678 }; 11679 11680 return format; 11681 } 11682 11683 function formatPrefix(specifier, value) { 11684 var f = newFormat((specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier), specifier.type = "f", specifier)), 11685 e = Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_7__["default"])(value) / 3))) * 3, 11686 k = Math.pow(10, -e), 11687 prefix = prefixes[8 + e / 3]; 11688 return function(value) { 11689 return f(k * value) + prefix; 11690 }; 11691 } 11692 11693 return { 11694 format: newFormat, 11695 formatPrefix: formatPrefix 11696 }; 11697} 11698 11699 11700/***/ }), 11701
vendor: 903 bytes, lines 11702-11721
11702/***/ "./node_modules/d3-format/src/precisionFixed.js": 11703/*!******************************************************!*\ 11704 !*** ./node_modules/d3-format/src/precisionFixed.js ***! 11705 \******************************************************/ 11706/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11707 11708__webpack_require__.r(__webpack_exports__); 11709/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11710/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11711/* harmony export */ }); 11712/* harmony import */ var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./exponent.js */ "./node_modules/d3-format/src/exponent.js"); 11713 11714 11715/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step) { 11716 return Math.max(0, -(0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step))); 11717} 11718 11719 11720/***/ }), 11721
vendor: 1,026 bytes, lines 11722-11741
11722/***/ "./node_modules/d3-format/src/precisionPrefix.js": 11723/*!*******************************************************!*\ 11724 !*** ./node_modules/d3-format/src/precisionPrefix.js ***! 11725 \*******************************************************/ 11726/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11727 11728__webpack_require__.r(__webpack_exports__); 11729/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11730/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11731/* harmony export */ }); 11732/* harmony import */ var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./exponent.js */ "./node_modules/d3-format/src/exponent.js"); 11733 11734 11735/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step, value) { 11736 return Math.max(0, Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) / 3))) * 3 - (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step))); 11737} 11738 11739 11740/***/ }), 11741
vendor: 1,018 bytes, lines 11742-11762
11742/***/ "./node_modules/d3-format/src/precisionRound.js": 11743/*!******************************************************!*\ 11744 !*** ./node_modules/d3-format/src/precisionRound.js ***! 11745 \******************************************************/ 11746/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11747 11748__webpack_require__.r(__webpack_exports__); 11749/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11750/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11751/* harmony export */ }); 11752/* harmony import */ var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./exponent.js */ "./node_modules/d3-format/src/exponent.js"); 11753 11754 11755/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step, max) { 11756 step = Math.abs(step), max = Math.abs(max) - step; 11757 return Math.max(0, (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(max) - (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(step)) + 1; 11758} 11759 11760 11761/***/ }), 11762
vendor: 4,071 bytes, lines 11763-11858
11763/***/ "./node_modules/d3-geo/src/area.js": 11764/*!*****************************************!*\ 11765 !*** ./node_modules/d3-geo/src/area.js ***! 11766 \*****************************************/ 11767/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11768 11769__webpack_require__.r(__webpack_exports__); 11770/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11771/* harmony export */ areaRingSum: () => (/* binding */ areaRingSum), 11772/* harmony export */ areaStream: () => (/* binding */ areaStream), 11773/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11774/* harmony export */ }); 11775/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/fsum.js"); 11776/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 11777/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./noop.js */ "./node_modules/d3-geo/src/noop.js"); 11778/* harmony import */ var _stream_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./stream.js */ "./node_modules/d3-geo/src/stream.js"); 11779 11780 11781 11782 11783 11784var areaRingSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(); 11785 11786// hello? 11787 11788var areaSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(), 11789 lambda00, 11790 phi00, 11791 lambda0, 11792 cosPhi0, 11793 sinPhi0; 11794 11795var areaStream = { 11796 point: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"], 11797 lineStart: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"], 11798 lineEnd: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"], 11799 polygonStart: function() { 11800 areaRingSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(); 11801 areaStream.lineStart = areaRingStart; 11802 areaStream.lineEnd = areaRingEnd; 11803 }, 11804 polygonEnd: function() { 11805 var areaRing = +areaRingSum; 11806 areaSum.add(areaRing < 0 ? _math_js__WEBPACK_IMPORTED_MODULE_2__.tau + areaRing : areaRing); 11807 this.lineStart = this.lineEnd = this.point = _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"]; 11808 }, 11809 sphere: function() { 11810 areaSum.add(_math_js__WEBPACK_IMPORTED_MODULE_2__.tau); 11811 } 11812}; 11813 11814function areaRingStart() { 11815 areaStream.point = areaPointFirst; 11816} 11817 11818function areaRingEnd() { 11819 areaPoint(lambda00, phi00); 11820} 11821 11822function areaPointFirst(lambda, phi) { 11823 areaStream.point = areaPoint; 11824 lambda00 = lambda, phi00 = phi; 11825 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_2__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_2__.radians; 11826 lambda0 = lambda, cosPhi0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(phi = phi / 2 + _math_js__WEBPACK_IMPORTED_MODULE_2__.quarterPi), sinPhi0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(phi); 11827} 11828 11829function areaPoint(lambda, phi) { 11830 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_2__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_2__.radians; 11831 phi = phi / 2 + _math_js__WEBPACK_IMPORTED_MODULE_2__.quarterPi; // half the angular distance from south pole 11832 11833 // Spherical excess E for a spherical triangle with vertices: south pole, 11834 // previous point, current point. Uses a formula derived from Cagnoliâs 11835 // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2). 11836 var dLambda = lambda - lambda0, 11837 sdLambda = dLambda >= 0 ? 1 : -1, 11838 adLambda = sdLambda * dLambda, 11839 cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(phi), 11840 sinPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(phi), 11841 k = sinPhi0 * sinPhi, 11842 u = cosPhi0 * cosPhi + k * (0,_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(adLambda), 11843 v = k * sdLambda * (0,_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(adLambda); 11844 areaRingSum.add((0,_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(v, u)); 11845 11846 // Advance the previous points. 11847 lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi; 11848} 11849 11850/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(object) { 11851 areaSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(); 11852 (0,_stream_js__WEBPACK_IMPORTED_MODULE_3__["default"])(object, areaStream); 11853 return areaSum * 2; 11854} 11855 11856 11857/***/ }), 11858
vendor: 7,552 bytes, lines 11859-12056
11859/***/ "./node_modules/d3-geo/src/bounds.js": 11860/*!*******************************************!*\ 11861 !*** ./node_modules/d3-geo/src/bounds.js ***! 11862 \*******************************************/ 11863/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 11864 11865__webpack_require__.r(__webpack_exports__); 11866/* harmony export */ __webpack_require__.d(__webpack_exports__, { 11867/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 11868/* harmony export */ }); 11869/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/fsum.js"); 11870/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./area.js */ "./node_modules/d3-geo/src/area.js"); 11871/* harmony import */ var _cartesian_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cartesian.js */ "./node_modules/d3-geo/src/cartesian.js"); 11872/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 11873/* harmony import */ var _stream_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./stream.js */ "./node_modules/d3-geo/src/stream.js"); 11874 11875 11876 11877 11878 11879 11880var lambda0, phi0, lambda1, phi1, // bounds 11881 lambda2, // previous lambda-coordinate 11882 lambda00, phi00, // first point 11883 p0, // previous 3D point 11884 deltaSum, 11885 ranges, 11886 range; 11887 11888var boundsStream = { 11889 point: boundsPoint, 11890 lineStart: boundsLineStart, 11891 lineEnd: boundsLineEnd, 11892 polygonStart: function() { 11893 boundsStream.point = boundsRingPoint; 11894 boundsStream.lineStart = boundsRingStart; 11895 boundsStream.lineEnd = boundsRingEnd; 11896 deltaSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(); 11897 _area_js__WEBPACK_IMPORTED_MODULE_1__.areaStream.polygonStart(); 11898 }, 11899 polygonEnd: function() { 11900 _area_js__WEBPACK_IMPORTED_MODULE_1__.areaStream.polygonEnd(); 11901 boundsStream.point = boundsPoint; 11902 boundsStream.lineStart = boundsLineStart; 11903 boundsStream.lineEnd = boundsLineEnd; 11904 if (_area_js__WEBPACK_IMPORTED_MODULE_1__.areaRingSum < 0) lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90); 11905 else if (deltaSum > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon) phi1 = 90; 11906 else if (deltaSum < -_math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon) phi0 = -90; 11907 range[0] = lambda0, range[1] = lambda1; 11908 }, 11909 sphere: function() { 11910 lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90); 11911 } 11912}; 11913 11914function boundsPoint(lambda, phi) { 11915 ranges.push(range = [lambda0 = lambda, lambda1 = lambda]); 11916 if (phi < phi0) phi0 = phi; 11917 if (phi > phi1) phi1 = phi; 11918} 11919 11920function linePoint(lambda, phi) { 11921 var p = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesian)([lambda * _math_js__WEBPACK_IMPORTED_MODULE_2__.radians, phi * _math_js__WEBPACK_IMPORTED_MODULE_2__.radians]); 11922 if (p0) { 11923 var normal = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianCross)(p0, p), 11924 equatorial = [normal[1], -normal[0], 0], 11925 inflection = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianCross)(equatorial, normal); 11926 (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianNormalizeInPlace)(inflection); 11927 inflection = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.spherical)(inflection); 11928 var delta = lambda - lambda2, 11929 sign = delta > 0 ? 1 : -1, 11930 lambdai = inflection[0] * _math_js__WEBPACK_IMPORTED_MODULE_2__.degrees * sign, 11931 phii, 11932 antimeridian = (0,_math_js__WEBPACK_IMPORTED_MODULE_2__.abs)(delta) > 180; 11933 if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) { 11934 phii = inflection[1] * _math_js__WEBPACK_IMPORTED_MODULE_2__.degrees; 11935 if (phii > phi1) phi1 = phii; 11936 } else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) { 11937 phii = -inflection[1] * _math_js__WEBPACK_IMPORTED_MODULE_2__.degrees; 11938 if (phii < phi0) phi0 = phii; 11939 } else { 11940 if (phi < phi0) phi0 = phi; 11941 if (phi > phi1) phi1 = phi; 11942 } 11943 if (antimeridian) { 11944 if (lambda < lambda2) { 11945 if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda; 11946 } else { 11947 if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda; 11948 } 11949 } else { 11950 if (lambda1 >= lambda0) { 11951 if (lambda < lambda0) lambda0 = lambda; 11952 if (lambda > lambda1) lambda1 = lambda; 11953 } else { 11954 if (lambda > lambda2) { 11955 if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda; 11956 } else { 11957 if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda; 11958 } 11959 } 11960 } 11961 } else { 11962 ranges.push(range = [lambda0 = lambda, lambda1 = lambda]); 11963 } 11964 if (phi < phi0) phi0 = phi; 11965 if (phi > phi1) phi1 = phi; 11966 p0 = p, lambda2 = lambda; 11967} 11968 11969function boundsLineStart() { 11970 boundsStream.point = linePoint; 11971} 11972 11973function boundsLineEnd() { 11974 range[0] = lambda0, range[1] = lambda1; 11975 boundsStream.point = boundsPoint; 11976 p0 = null; 11977} 11978 11979function boundsRingPoint(lambda, phi) { 11980 if (p0) { 11981 var delta = lambda - lambda2; 11982 deltaSum.add((0,_math_js__WEBPACK_IMPORTED_MODULE_2__.abs)(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta); 11983 } else { 11984 lambda00 = lambda, phi00 = phi; 11985 } 11986 _area_js__WEBPACK_IMPORTED_MODULE_1__.areaStream.point(lambda, phi); 11987 linePoint(lambda, phi); 11988} 11989 11990function boundsRingStart() { 11991 _area_js__WEBPACK_IMPORTED_MODULE_1__.areaStream.lineStart(); 11992} 11993 11994function boundsRingEnd() { 11995 boundsRingPoint(lambda00, phi00); 11996 _area_js__WEBPACK_IMPORTED_MODULE_1__.areaStream.lineEnd(); 11997 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_2__.abs)(deltaSum) > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon) lambda0 = -(lambda1 = 180); 11998 range[0] = lambda0, range[1] = lambda1; 11999 p0 = null; 12000} 12001 12002// Finds the left-right distance between two longitudes. 12003// This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want 12004// the distance between ±180° to be 360°. 12005function angle(lambda0, lambda1) { 12006 return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1; 12007} 12008 12009function rangeCompare(a, b) { 12010 return a[0] - b[0]; 12011} 12012 12013function rangeContains(range, x) { 12014 return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x; 12015} 12016 12017/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(feature) { 12018 var i, n, a, b, merged, deltaMax, delta; 12019 12020 phi1 = lambda1 = -(lambda0 = phi0 = Infinity); 12021 ranges = []; 12022 (0,_stream_js__WEBPACK_IMPORTED_MODULE_4__["default"])(feature, boundsStream); 12023 12024 // First, sort ranges by their minimum longitudes. 12025 if (n = ranges.length) { 12026 ranges.sort(rangeCompare); 12027 12028 // Then, merge any ranges that overlap. 12029 for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) { 12030 b = ranges[i]; 12031 if (rangeContains(a, b[0]) || rangeContains(a, b[1])) { 12032 if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1]; 12033 if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0]; 12034 } else { 12035 merged.push(a = b); 12036 } 12037 } 12038 12039 // Finally, find the largest gap between the merged ranges. 12040 // The final bounding box will be the inverse of this gap. 12041 for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) { 12042 b = merged[i]; 12043 if ((delta = angle(a[1], b[0])) > deltaMax) deltaMax = delta, lambda0 = b[0], lambda1 = a[1]; 12044 } 12045 } 12046 12047 ranges = range = null; 12048 12049 return lambda0 === Infinity || phi0 === Infinity 12050 ? [[NaN, NaN], [NaN, NaN]] 12051 : [[lambda0, phi0], [lambda1, phi1]]; 12052} 12053 12054 12055/***/ }), 12056
vendor: 2,253 bytes, lines 12057-12110
12057/***/ "./node_modules/d3-geo/src/cartesian.js": 12058/*!**********************************************!*\ 12059 !*** ./node_modules/d3-geo/src/cartesian.js ***! 12060 \**********************************************/ 12061/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12062 12063__webpack_require__.r(__webpack_exports__); 12064/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12065/* harmony export */ cartesian: () => (/* binding */ cartesian), 12066/* harmony export */ cartesianAddInPlace: () => (/* binding */ cartesianAddInPlace), 12067/* harmony export */ cartesianCross: () => (/* binding */ cartesianCross), 12068/* harmony export */ cartesianDot: () => (/* binding */ cartesianDot), 12069/* harmony export */ cartesianNormalizeInPlace: () => (/* binding */ cartesianNormalizeInPlace), 12070/* harmony export */ cartesianScale: () => (/* binding */ cartesianScale), 12071/* harmony export */ spherical: () => (/* binding */ spherical) 12072/* harmony export */ }); 12073/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 12074 12075 12076function spherical(cartesian) { 12077 return [(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(cartesian[1], cartesian[0]), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(cartesian[2])]; 12078} 12079 12080function cartesian(spherical) { 12081 var lambda = spherical[0], phi = spherical[1], cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(phi); 12082 return [cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(lambda), cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(lambda), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(phi)]; 12083} 12084 12085function cartesianDot(a, b) { 12086 return a[0] * b[0] + a[1] * b[1] + a[2] * b[2]; 12087} 12088 12089function cartesianCross(a, b) { 12090 return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]]; 12091} 12092 12093// TODO return a 12094function cartesianAddInPlace(a, b) { 12095 a[0] += b[0], a[1] += b[1], a[2] += b[2]; 12096} 12097 12098function cartesianScale(vector, k) { 12099 return [vector[0] * k, vector[1] * k, vector[2] * k]; 12100} 12101 12102// TODO return d 12103function cartesianNormalizeInPlace(d) { 12104 var l = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]); 12105 d[0] /= l, d[1] /= l, d[2] /= l; 12106} 12107 12108 12109/***/ }), 12110
vendor: 6,754 bytes, lines 12111-12271
12111/***/ "./node_modules/d3-geo/src/centroid.js": 12112/*!*********************************************!*\ 12113 !*** ./node_modules/d3-geo/src/centroid.js ***! 12114 \*********************************************/ 12115/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12116 12117__webpack_require__.r(__webpack_exports__); 12118/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12119/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 12120/* harmony export */ }); 12121/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/fsum.js"); 12122/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 12123/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./noop.js */ "./node_modules/d3-geo/src/noop.js"); 12124/* harmony import */ var _stream_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./stream.js */ "./node_modules/d3-geo/src/stream.js"); 12125 12126 12127 12128 12129 12130var W0, W1, 12131 X0, Y0, Z0, 12132 X1, Y1, Z1, 12133 X2, Y2, Z2, 12134 lambda00, phi00, // first point 12135 x0, y0, z0; // previous point 12136 12137var centroidStream = { 12138 sphere: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 12139 point: centroidPoint, 12140 lineStart: centroidLineStart, 12141 lineEnd: centroidLineEnd, 12142 polygonStart: function() { 12143 centroidStream.lineStart = centroidRingStart; 12144 centroidStream.lineEnd = centroidRingEnd; 12145 }, 12146 polygonEnd: function() { 12147 centroidStream.lineStart = centroidLineStart; 12148 centroidStream.lineEnd = centroidLineEnd; 12149 } 12150}; 12151 12152// Arithmetic mean of Cartesian vectors. 12153function centroidPoint(lambda, phi) { 12154 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians; 12155 var cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi); 12156 centroidPointCartesian(cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(lambda), cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(lambda), (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi)); 12157} 12158 12159function centroidPointCartesian(x, y, z) { 12160 ++W0; 12161 X0 += (x - X0) / W0; 12162 Y0 += (y - Y0) / W0; 12163 Z0 += (z - Z0) / W0; 12164} 12165 12166function centroidLineStart() { 12167 centroidStream.point = centroidLinePointFirst; 12168} 12169 12170function centroidLinePointFirst(lambda, phi) { 12171 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians; 12172 var cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi); 12173 x0 = cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(lambda); 12174 y0 = cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(lambda); 12175 z0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi); 12176 centroidStream.point = centroidLinePoint; 12177 centroidPointCartesian(x0, y0, z0); 12178} 12179 12180function centroidLinePoint(lambda, phi) { 12181 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians; 12182 var cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi), 12183 x = cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(lambda), 12184 y = cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(lambda), 12185 z = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi), 12186 w = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.atan2)((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sqrt)((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z); 12187 W1 += w; 12188 X1 += w * (x0 + (x0 = x)); 12189 Y1 += w * (y0 + (y0 = y)); 12190 Z1 += w * (z0 + (z0 = z)); 12191 centroidPointCartesian(x0, y0, z0); 12192} 12193 12194function centroidLineEnd() { 12195 centroidStream.point = centroidPoint; 12196} 12197 12198// See J. E. Brock, The Inertia Tensor for a Spherical Triangle, 12199// J. Applied Mechanics 42, 239 (1975). 12200function centroidRingStart() { 12201 centroidStream.point = centroidRingPointFirst; 12202} 12203 12204function centroidRingEnd() { 12205 centroidRingPoint(lambda00, phi00); 12206 centroidStream.point = centroidPoint; 12207} 12208 12209function centroidRingPointFirst(lambda, phi) { 12210 lambda00 = lambda, phi00 = phi; 12211 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians; 12212 centroidStream.point = centroidRingPoint; 12213 var cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi); 12214 x0 = cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(lambda); 12215 y0 = cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(lambda); 12216 z0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi); 12217 centroidPointCartesian(x0, y0, z0); 12218} 12219 12220function centroidRingPoint(lambda, phi) { 12221 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians; 12222 var cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi), 12223 x = cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(lambda), 12224 y = cosPhi * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(lambda), 12225 z = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi), 12226 cx = y0 * z - z0 * y, 12227 cy = z0 * x - x0 * z, 12228 cz = x0 * y - y0 * x, 12229 m = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.hypot)(cx, cy, cz), 12230 w = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.asin)(m), // line weight = angle 12231 v = m && -w / m; // area weight multiplier 12232 X2.add(v * cx); 12233 Y2.add(v * cy); 12234 Z2.add(v * cz); 12235 W1 += w; 12236 X1 += w * (x0 + (x0 = x)); 12237 Y1 += w * (y0 + (y0 = y)); 12238 Z1 += w * (z0 + (z0 = z)); 12239 centroidPointCartesian(x0, y0, z0); 12240} 12241 12242/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(object) { 12243 W0 = W1 = 12244 X0 = Y0 = Z0 = 12245 X1 = Y1 = Z1 = 0; 12246 X2 = new d3_array__WEBPACK_IMPORTED_MODULE_2__.Adder(); 12247 Y2 = new d3_array__WEBPACK_IMPORTED_MODULE_2__.Adder(); 12248 Z2 = new d3_array__WEBPACK_IMPORTED_MODULE_2__.Adder(); 12249 (0,_stream_js__WEBPACK_IMPORTED_MODULE_3__["default"])(object, centroidStream); 12250 12251 var x = +X2, 12252 y = +Y2, 12253 z = +Z2, 12254 m = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.hypot)(x, y, z); 12255 12256 // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid. 12257 if (m < _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon2) { 12258 x = X1, y = Y1, z = Z1; 12259 // If the feature has zero length, fall back to arithmetic mean of point vectors. 12260 if (W1 < _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon) x = X0, y = Y0, z = Z0; 12261 m = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.hypot)(x, y, z); 12262 // If the feature still has an undefined ccentroid, then return. 12263 if (m < _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon2) return [NaN, NaN]; 12264 } 12265 12266 return [(0,_math_js__WEBPACK_IMPORTED_MODULE_1__.atan2)(y, x) * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees, (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.asin)(z / m) * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees]; 12267} 12268 12269 12270/***/ }), 12271
vendor: 4,491 bytes, lines 12272-12362
12272/***/ "./node_modules/d3-geo/src/circle.js": 12273/*!*******************************************!*\ 12274 !*** ./node_modules/d3-geo/src/circle.js ***! 12275 \*******************************************/ 12276/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12277 12278__webpack_require__.r(__webpack_exports__); 12279/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12280/* harmony export */ circleStream: () => (/* binding */ circleStream), 12281/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 12282/* harmony export */ }); 12283/* harmony import */ var _cartesian_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cartesian.js */ "./node_modules/d3-geo/src/cartesian.js"); 12284/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-geo/src/constant.js"); 12285/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 12286/* harmony import */ var _rotation_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rotation.js */ "./node_modules/d3-geo/src/rotation.js"); 12287 12288 12289 12290 12291 12292// Generates a circle centered at [0°, 0°], with a given radius and precision. 12293function circleStream(stream, radius, delta, direction, t0, t1) { 12294 if (!delta) return; 12295 var cosRadius = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(radius), 12296 sinRadius = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(radius), 12297 step = direction * delta; 12298 if (t0 == null) { 12299 t0 = radius + direction * _math_js__WEBPACK_IMPORTED_MODULE_0__.tau; 12300 t1 = radius - step / 2; 12301 } else { 12302 t0 = circleRadius(cosRadius, t0); 12303 t1 = circleRadius(cosRadius, t1); 12304 if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * _math_js__WEBPACK_IMPORTED_MODULE_0__.tau; 12305 } 12306 for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) { 12307 point = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_1__.spherical)([cosRadius, -sinRadius * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(t), -sinRadius * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(t)]); 12308 stream.point(point[0], point[1]); 12309 } 12310} 12311 12312// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0]. 12313function circleRadius(cosRadius, point) { 12314 point = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_1__.cartesian)(point), point[0] -= cosRadius; 12315 (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_1__.cartesianNormalizeInPlace)(point); 12316 var radius = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.acos)(-point[1]); 12317 return ((-point[2] < 0 ? -radius : radius) + _math_js__WEBPACK_IMPORTED_MODULE_0__.tau - _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) % _math_js__WEBPACK_IMPORTED_MODULE_0__.tau; 12318} 12319 12320/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 12321 var center = (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])([0, 0]), 12322 radius = (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(90), 12323 precision = (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(2), 12324 ring, 12325 rotate, 12326 stream = {point: point}; 12327 12328 function point(x, y) { 12329 ring.push(x = rotate(x, y)); 12330 x[0] *= _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees, x[1] *= _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees; 12331 } 12332 12333 function circle() { 12334 var c = center.apply(this, arguments), 12335 r = radius.apply(this, arguments) * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, 12336 p = precision.apply(this, arguments) * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians; 12337 ring = []; 12338 rotate = (0,_rotation_js__WEBPACK_IMPORTED_MODULE_3__.rotateRadians)(-c[0] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, -c[1] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, 0).invert; 12339 circleStream(stream, r, p, 1); 12340 c = {type: "Polygon", coordinates: [ring]}; 12341 ring = rotate = null; 12342 return c; 12343 } 12344 12345 circle.center = function(_) { 12346 return arguments.length ? (center = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])([+_[0], +_[1]]), circle) : center; 12347 }; 12348 12349 circle.radius = function(_) { 12350 return arguments.length ? (radius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), circle) : radius; 12351 }; 12352 12353 circle.precision = function(_) { 12354 return arguments.length ? (precision = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), circle) : precision; 12355 }; 12356 12357 return circle; 12358} 12359 12360 12361/***/ }), 12362
vendor: 5,277 bytes, lines 12363-12470
12363/***/ "./node_modules/d3-geo/src/clip/antimeridian.js": 12364/*!******************************************************!*\ 12365 !*** ./node_modules/d3-geo/src/clip/antimeridian.js ***! 12366 \******************************************************/ 12367/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12368 12369__webpack_require__.r(__webpack_exports__); 12370/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12371/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 12372/* harmony export */ }); 12373/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/clip/index.js"); 12374/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 12375 12376 12377 12378/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])( 12379 function() { return true; }, 12380 clipAntimeridianLine, 12381 clipAntimeridianInterpolate, 12382 [-_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, -_math_js__WEBPACK_IMPORTED_MODULE_1__.halfPi] 12383)); 12384 12385// Takes a line and cuts into visible segments. Return values: 0 - there were 12386// intersections or the line was empty; 1 - no intersections; 2 - there were 12387// intersections, and the first and last segments should be rejoined. 12388function clipAntimeridianLine(stream) { 12389 var lambda0 = NaN, 12390 phi0 = NaN, 12391 sign0 = NaN, 12392 clean; // no intersections 12393 12394 return { 12395 lineStart: function() { 12396 stream.lineStart(); 12397 clean = 1; 12398 }, 12399 point: function(lambda1, phi1) { 12400 var sign1 = lambda1 > 0 ? _math_js__WEBPACK_IMPORTED_MODULE_1__.pi : -_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, 12401 delta = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(lambda1 - lambda0); 12402 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(delta - _math_js__WEBPACK_IMPORTED_MODULE_1__.pi) < _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon) { // line crosses a pole 12403 stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? _math_js__WEBPACK_IMPORTED_MODULE_1__.halfPi : -_math_js__WEBPACK_IMPORTED_MODULE_1__.halfPi); 12404 stream.point(sign0, phi0); 12405 stream.lineEnd(); 12406 stream.lineStart(); 12407 stream.point(sign1, phi0); 12408 stream.point(lambda1, phi0); 12409 clean = 0; 12410 } else if (sign0 !== sign1 && delta >= _math_js__WEBPACK_IMPORTED_MODULE_1__.pi) { // line crosses antimeridian 12411 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(lambda0 - sign0) < _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon) lambda0 -= sign0 * _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon; // handle degeneracies 12412 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(lambda1 - sign1) < _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon) lambda1 -= sign1 * _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon; 12413 phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1); 12414 stream.point(sign0, phi0); 12415 stream.lineEnd(); 12416 stream.lineStart(); 12417 stream.point(sign1, phi0); 12418 clean = 0; 12419 } 12420 stream.point(lambda0 = lambda1, phi0 = phi1); 12421 sign0 = sign1; 12422 }, 12423 lineEnd: function() { 12424 stream.lineEnd(); 12425 lambda0 = phi0 = NaN; 12426 }, 12427 clean: function() { 12428 return 2 - clean; // if intersections, rejoin first and last segments 12429 } 12430 }; 12431} 12432 12433function clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) { 12434 var cosPhi0, 12435 cosPhi1, 12436 sinLambda0Lambda1 = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(lambda0 - lambda1); 12437 return (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(sinLambda0Lambda1) > _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon 12438 ? (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.atan)(((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi0) * (cosPhi1 = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi1)) * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(lambda1) 12439 - (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi1) * (cosPhi0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi0)) * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(lambda0)) 12440 / (cosPhi0 * cosPhi1 * sinLambda0Lambda1)) 12441 : (phi0 + phi1) / 2; 12442} 12443 12444function clipAntimeridianInterpolate(from, to, direction, stream) { 12445 var phi; 12446 if (from == null) { 12447 phi = direction * _math_js__WEBPACK_IMPORTED_MODULE_1__.halfPi; 12448 stream.point(-_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, phi); 12449 stream.point(0, phi); 12450 stream.point(_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, phi); 12451 stream.point(_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, 0); 12452 stream.point(_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, -phi); 12453 stream.point(0, -phi); 12454 stream.point(-_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, -phi); 12455 stream.point(-_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, 0); 12456 stream.point(-_math_js__WEBPACK_IMPORTED_MODULE_1__.pi, phi); 12457 } else if ((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(from[0] - to[0]) > _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon) { 12458 var lambda = from[0] < to[0] ? _math_js__WEBPACK_IMPORTED_MODULE_1__.pi : -_math_js__WEBPACK_IMPORTED_MODULE_1__.pi; 12459 phi = direction * lambda / 2; 12460 stream.point(-lambda, phi); 12461 stream.point(0, phi); 12462 stream.point(lambda, phi); 12463 } else { 12464 stream.point(to[0], to[1]); 12465 } 12466} 12467 12468 12469/***/ }), 12470
vendor: 1,225 bytes, lines 12471-12509
12471/***/ "./node_modules/d3-geo/src/clip/buffer.js": 12472/*!************************************************!*\ 12473 !*** ./node_modules/d3-geo/src/clip/buffer.js ***! 12474 \************************************************/ 12475/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12476 12477__webpack_require__.r(__webpack_exports__); 12478/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12479/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 12480/* harmony export */ }); 12481/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-geo/src/noop.js"); 12482 12483 12484/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 12485 var lines = [], 12486 line; 12487 return { 12488 point: function(x, y, m) { 12489 line.push([x, y, m]); 12490 }, 12491 lineStart: function() { 12492 lines.push(line = []); 12493 }, 12494 lineEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 12495 rejoin: function() { 12496 if (lines.length > 1) lines.push(lines.pop().concat(lines.shift())); 12497 }, 12498 result: function() { 12499 var result = lines; 12500 lines = []; 12501 line = null; 12502 return result; 12503 } 12504 }; 12505} 12506 12507 12508/***/ }), 12509
vendor: 8,664 bytes, lines 12510-12705
12510/***/ "./node_modules/d3-geo/src/clip/circle.js": 12511/*!************************************************!*\ 12512 !*** ./node_modules/d3-geo/src/clip/circle.js ***! 12513 \************************************************/ 12514/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12515 12516__webpack_require__.r(__webpack_exports__); 12517/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12518/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 12519/* harmony export */ }); 12520/* harmony import */ var _cartesian_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cartesian.js */ "./node_modules/d3-geo/src/cartesian.js"); 12521/* harmony import */ var _circle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../circle.js */ "./node_modules/d3-geo/src/circle.js"); 12522/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 12523/* harmony import */ var _pointEqual_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pointEqual.js */ "./node_modules/d3-geo/src/pointEqual.js"); 12524/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/clip/index.js"); 12525 12526 12527 12528 12529 12530 12531/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(radius) { 12532 var cr = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(radius), 12533 delta = 2 * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, 12534 smallRadius = cr > 0, 12535 notHemisphere = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(cr) > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; // TODO optimise for this common case 12536 12537 function interpolate(from, to, direction, stream) { 12538 (0,_circle_js__WEBPACK_IMPORTED_MODULE_1__.circleStream)(stream, radius, delta, direction, from, to); 12539 } 12540 12541 function visible(lambda, phi) { 12542 return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(lambda) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(phi) > cr; 12543 } 12544 12545 // Takes a line and cuts into visible segments. Return values used for polygon 12546 // clipping: 0 - there were intersections or the line was empty; 1 - no 12547 // intersections 2 - there were intersections, and the first and last segments 12548 // should be rejoined. 12549 function clipLine(stream) { 12550 var point0, // previous point 12551 c0, // code for previous point 12552 v0, // visibility of previous point 12553 v00, // visibility of first point 12554 clean; // no intersections 12555 return { 12556 lineStart: function() { 12557 v00 = v0 = false; 12558 clean = 1; 12559 }, 12560 point: function(lambda, phi) { 12561 var point1 = [lambda, phi], 12562 point2, 12563 v = visible(lambda, phi), 12564 c = smallRadius 12565 ? v ? 0 : code(lambda, phi) 12566 : v ? code(lambda + (lambda < 0 ? _math_js__WEBPACK_IMPORTED_MODULE_0__.pi : -_math_js__WEBPACK_IMPORTED_MODULE_0__.pi), phi) : 0; 12567 if (!point0 && (v00 = v0 = v)) stream.lineStart(); 12568 if (v !== v0) { 12569 point2 = intersect(point0, point1); 12570 if (!point2 || (0,_pointEqual_js__WEBPACK_IMPORTED_MODULE_2__["default"])(point0, point2) || (0,_pointEqual_js__WEBPACK_IMPORTED_MODULE_2__["default"])(point1, point2)) 12571 point1[2] = 1; 12572 } 12573 if (v !== v0) { 12574 clean = 0; 12575 if (v) { 12576 // outside going in 12577 stream.lineStart(); 12578 point2 = intersect(point1, point0); 12579 stream.point(point2[0], point2[1]); 12580 } else { 12581 // inside going out 12582 point2 = intersect(point0, point1); 12583 stream.point(point2[0], point2[1], 2); 12584 stream.lineEnd(); 12585 } 12586 point0 = point2; 12587 } else if (notHemisphere && point0 && smallRadius ^ v) { 12588 var t; 12589 // If the codes for two points are different, or are both zero, 12590 // and there this segment intersects with the small circle. 12591 if (!(c & c0) && (t = intersect(point1, point0, true))) { 12592 clean = 0; 12593 if (smallRadius) { 12594 stream.lineStart(); 12595 stream.point(t[0][0], t[0][1]); 12596 stream.point(t[1][0], t[1][1]); 12597 stream.lineEnd(); 12598 } else { 12599 stream.point(t[1][0], t[1][1]); 12600 stream.lineEnd(); 12601 stream.lineStart(); 12602 stream.point(t[0][0], t[0][1], 3); 12603 } 12604 } 12605 } 12606 if (v && (!point0 || !(0,_pointEqual_js__WEBPACK_IMPORTED_MODULE_2__["default"])(point0, point1))) { 12607 stream.point(point1[0], point1[1]); 12608 } 12609 point0 = point1, v0 = v, c0 = c; 12610 }, 12611 lineEnd: function() { 12612 if (v0) stream.lineEnd(); 12613 point0 = null; 12614 }, 12615 // Rejoin first and last segments if there were intersections and the first 12616 // and last points were visible. 12617 clean: function() { 12618 return clean | ((v00 && v0) << 1); 12619 } 12620 }; 12621 } 12622 12623 // Intersects the great circle between a and b with the clip circle. 12624 function intersect(a, b, two) { 12625 var pa = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesian)(a), 12626 pb = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesian)(b); 12627 12628 // We have two planes, n1.p = d1 and n2.p = d2. 12629 // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2). 12630 var n1 = [1, 0, 0], // normal 12631 n2 = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianCross)(pa, pb), 12632 n2n2 = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianDot)(n2, n2), 12633 n1n2 = n2[0], // cartesianDot(n1, n2), 12634 determinant = n2n2 - n1n2 * n1n2; 12635 12636 // Two polar points. 12637 if (!determinant) return !two && a; 12638 12639 var c1 = cr * n2n2 / determinant, 12640 c2 = -cr * n1n2 / determinant, 12641 n1xn2 = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianCross)(n1, n2), 12642 A = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianScale)(n1, c1), 12643 B = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianScale)(n2, c2); 12644 (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianAddInPlace)(A, B); 12645 12646 // Solve |p(t)|^2 = 1. 12647 var u = n1xn2, 12648 w = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianDot)(A, u), 12649 uu = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianDot)(u, u), 12650 t2 = w * w - uu * ((0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianDot)(A, A) - 1); 12651 12652 if (t2 < 0) return; 12653 12654 var t = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(t2), 12655 q = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianScale)(u, (-w - t) / uu); 12656 (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianAddInPlace)(q, A); 12657 q = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.spherical)(q); 12658 12659 if (!two) return q; 12660 12661 // Two intersection points. 12662 var lambda0 = a[0], 12663 lambda1 = b[0], 12664 phi0 = a[1], 12665 phi1 = b[1], 12666 z; 12667 12668 if (lambda1 < lambda0) z = lambda0, lambda0 = lambda1, lambda1 = z; 12669 12670 var delta = lambda1 - lambda0, 12671 polar = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(delta - _math_js__WEBPACK_IMPORTED_MODULE_0__.pi) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon, 12672 meridian = polar || delta < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 12673 12674 if (!polar && phi1 < phi0) z = phi0, phi0 = phi1, phi1 = z; 12675 12676 // Check that the first point is between a and b. 12677 if (meridian 12678 ? polar 12679 ? phi0 + phi1 > 0 ^ q[1] < ((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(q[0] - lambda0) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon ? phi0 : phi1) 12680 : phi0 <= q[1] && q[1] <= phi1 12681 : delta > _math_js__WEBPACK_IMPORTED_MODULE_0__.pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) { 12682 var q1 = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianScale)(u, (-w + t) / uu); 12683 (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.cartesianAddInPlace)(q1, A); 12684 return [q, (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_3__.spherical)(q1)]; 12685 } 12686 } 12687 12688 // Generates a 4-bit vector representing the location of a point relative to 12689 // the small circle's bounding box. 12690 function code(lambda, phi) { 12691 var r = smallRadius ? radius : _math_js__WEBPACK_IMPORTED_MODULE_0__.pi - radius, 12692 code = 0; 12693 if (lambda < -r) code |= 1; // left 12694 else if (lambda > r) code |= 2; // right 12695 if (phi < -r) code |= 4; // below 12696 else if (phi > r) code |= 8; // above 12697 return code; 12698 } 12699 12700 return (0,_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-_math_js__WEBPACK_IMPORTED_MODULE_0__.pi, radius - _math_js__WEBPACK_IMPORTED_MODULE_0__.pi]); 12701} 12702 12703 12704/***/ }), 12705
vendor: 1,292 bytes, lines 12706-12740
12706/***/ "./node_modules/d3-geo/src/clip/extent.js": 12707/*!************************************************!*\ 12708 !*** ./node_modules/d3-geo/src/clip/extent.js ***! 12709 \************************************************/ 12710/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12711 12712__webpack_require__.r(__webpack_exports__); 12713/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12714/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 12715/* harmony export */ }); 12716/* harmony import */ var _rectangle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rectangle.js */ "./node_modules/d3-geo/src/clip/rectangle.js"); 12717 12718 12719/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 12720 var x0 = 0, 12721 y0 = 0, 12722 x1 = 960, 12723 y1 = 500, 12724 cache, 12725 cacheStream, 12726 clip; 12727 12728 return clip = { 12729 stream: function(stream) { 12730 return cache && cacheStream === stream ? cache : cache = (0,_rectangle_js__WEBPACK_IMPORTED_MODULE_0__["default"])(x0, y0, x1, y1)(cacheStream = stream); 12731 }, 12732 extent: function(_) { 12733 return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]]; 12734 } 12735 }; 12736} 12737 12738 12739/***/ }), 12740
vendor: 5,153 bytes, lines 12741-12890
12741/***/ "./node_modules/d3-geo/src/clip/index.js": 12742/*!***********************************************!*\ 12743 !*** ./node_modules/d3-geo/src/clip/index.js ***! 12744 \***********************************************/ 12745/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12746 12747__webpack_require__.r(__webpack_exports__); 12748/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12749/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 12750/* harmony export */ }); 12751/* harmony import */ var _buffer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./buffer.js */ "./node_modules/d3-geo/src/clip/buffer.js"); 12752/* harmony import */ var _rejoin_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rejoin.js */ "./node_modules/d3-geo/src/clip/rejoin.js"); 12753/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 12754/* harmony import */ var _polygonContains_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../polygonContains.js */ "./node_modules/d3-geo/src/polygonContains.js"); 12755/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/merge.js"); 12756 12757 12758 12759 12760 12761 12762/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(pointVisible, clipLine, interpolate, start) { 12763 return function(sink) { 12764 var line = clipLine(sink), 12765 ringBuffer = (0,_buffer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(), 12766 ringSink = clipLine(ringBuffer), 12767 polygonStarted = false, 12768 polygon, 12769 segments, 12770 ring; 12771 12772 var clip = { 12773 point: point, 12774 lineStart: lineStart, 12775 lineEnd: lineEnd, 12776 polygonStart: function() { 12777 clip.point = pointRing; 12778 clip.lineStart = ringStart; 12779 clip.lineEnd = ringEnd; 12780 segments = []; 12781 polygon = []; 12782 }, 12783 polygonEnd: function() { 12784 clip.point = point; 12785 clip.lineStart = lineStart; 12786 clip.lineEnd = lineEnd; 12787 segments = (0,d3_array__WEBPACK_IMPORTED_MODULE_1__["default"])(segments); 12788 var startInside = (0,_polygonContains_js__WEBPACK_IMPORTED_MODULE_2__["default"])(polygon, start); 12789 if (segments.length) { 12790 if (!polygonStarted) sink.polygonStart(), polygonStarted = true; 12791 (0,_rejoin_js__WEBPACK_IMPORTED_MODULE_3__["default"])(segments, compareIntersection, startInside, interpolate, sink); 12792 } else if (startInside) { 12793 if (!polygonStarted) sink.polygonStart(), polygonStarted = true; 12794 sink.lineStart(); 12795 interpolate(null, null, 1, sink); 12796 sink.lineEnd(); 12797 } 12798 if (polygonStarted) sink.polygonEnd(), polygonStarted = false; 12799 segments = polygon = null; 12800 }, 12801 sphere: function() { 12802 sink.polygonStart(); 12803 sink.lineStart(); 12804 interpolate(null, null, 1, sink); 12805 sink.lineEnd(); 12806 sink.polygonEnd(); 12807 } 12808 }; 12809 12810 function point(lambda, phi) { 12811 if (pointVisible(lambda, phi)) sink.point(lambda, phi); 12812 } 12813 12814 function pointLine(lambda, phi) { 12815 line.point(lambda, phi); 12816 } 12817 12818 function lineStart() { 12819 clip.point = pointLine; 12820 line.lineStart(); 12821 } 12822 12823 function lineEnd() { 12824 clip.point = point; 12825 line.lineEnd(); 12826 } 12827 12828 function pointRing(lambda, phi) { 12829 ring.push([lambda, phi]); 12830 ringSink.point(lambda, phi); 12831 } 12832 12833 function ringStart() { 12834 ringSink.lineStart(); 12835 ring = []; 12836 } 12837 12838 function ringEnd() { 12839 pointRing(ring[0][0], ring[0][1]); 12840 ringSink.lineEnd(); 12841 12842 var clean = ringSink.clean(), 12843 ringSegments = ringBuffer.result(), 12844 i, n = ringSegments.length, m, 12845 segment, 12846 point; 12847 12848 ring.pop(); 12849 polygon.push(ring); 12850 ring = null; 12851 12852 if (!n) return; 12853 12854 // No intersections. 12855 if (clean & 1) { 12856 segment = ringSegments[0]; 12857 if ((m = segment.length - 1) > 0) { 12858 if (!polygonStarted) sink.polygonStart(), polygonStarted = true; 12859 sink.lineStart(); 12860 for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]); 12861 sink.lineEnd(); 12862 } 12863 return; 12864 } 12865 12866 // Rejoin connected segments. 12867 // TODO reuse ringBuffer.rejoin()? 12868 if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift())); 12869 12870 segments.push(ringSegments.filter(validSegment)); 12871 } 12872 12873 return clip; 12874 }; 12875} 12876 12877function validSegment(segment) { 12878 return segment.length > 1; 12879} 12880 12881// Intersections are sorted along the clip edge. For both antimeridian cutting 12882// and circle clipping, the same comparison is used. 12883function compareIntersection(a, b) { 12884 return ((a = a.x)[0] < 0 ? a[1] - _math_js__WEBPACK_IMPORTED_MODULE_4__.halfPi - _math_js__WEBPACK_IMPORTED_MODULE_4__.epsilon : _math_js__WEBPACK_IMPORTED_MODULE_4__.halfPi - a[1]) 12885 - ((b = b.x)[0] < 0 ? b[1] - _math_js__WEBPACK_IMPORTED_MODULE_4__.halfPi - _math_js__WEBPACK_IMPORTED_MODULE_4__.epsilon : _math_js__WEBPACK_IMPORTED_MODULE_4__.halfPi - b[1]); 12886} 12887 12888 12889/***/ }), 12890
vendor: 1,682 bytes, lines 12891-12963
12891/***/ "./node_modules/d3-geo/src/clip/line.js": 12892/*!**********************************************!*\ 12893 !*** ./node_modules/d3-geo/src/clip/line.js ***! 12894 \**********************************************/ 12895/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12896 12897__webpack_require__.r(__webpack_exports__); 12898/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12899/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 12900/* harmony export */ }); 12901/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b, x0, y0, x1, y1) { 12902 var ax = a[0], 12903 ay = a[1], 12904 bx = b[0], 12905 by = b[1], 12906 t0 = 0, 12907 t1 = 1, 12908 dx = bx - ax, 12909 dy = by - ay, 12910 r; 12911 12912 r = x0 - ax; 12913 if (!dx && r > 0) return; 12914 r /= dx; 12915 if (dx < 0) { 12916 if (r < t0) return; 12917 if (r < t1) t1 = r; 12918 } else if (dx > 0) { 12919 if (r > t1) return; 12920 if (r > t0) t0 = r; 12921 } 12922 12923 r = x1 - ax; 12924 if (!dx && r < 0) return; 12925 r /= dx; 12926 if (dx < 0) { 12927 if (r > t1) return; 12928 if (r > t0) t0 = r; 12929 } else if (dx > 0) { 12930 if (r < t0) return; 12931 if (r < t1) t1 = r; 12932 } 12933 12934 r = y0 - ay; 12935 if (!dy && r > 0) return; 12936 r /= dy; 12937 if (dy < 0) { 12938 if (r < t0) return; 12939 if (r < t1) t1 = r; 12940 } else if (dy > 0) { 12941 if (r > t1) return; 12942 if (r > t0) t0 = r; 12943 } 12944 12945 r = y1 - ay; 12946 if (!dy && r < 0) return; 12947 r /= dy; 12948 if (dy < 0) { 12949 if (r > t1) return; 12950 if (r > t0) t0 = r; 12951 } else if (dy > 0) { 12952 if (r < t0) return; 12953 if (r < t1) t1 = r; 12954 } 12955 12956 if (t0 > 0) a[0] = ax + t0 * dx, a[1] = ay + t0 * dy; 12957 if (t1 < 1) b[0] = ax + t1 * dx, b[1] = ay + t1 * dy; 12958 return true; 12959} 12960 12961 12962/***/ }), 12963
vendor: 6,544 bytes, lines 12964-13150
12964/***/ "./node_modules/d3-geo/src/clip/rectangle.js": 12965/*!***************************************************!*\ 12966 !*** ./node_modules/d3-geo/src/clip/rectangle.js ***! 12967 \***************************************************/ 12968/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 12969 12970__webpack_require__.r(__webpack_exports__); 12971/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12972/* harmony export */ "default": () => (/* binding */ clipRectangle) 12973/* harmony export */ }); 12974/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 12975/* harmony import */ var _buffer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./buffer.js */ "./node_modules/d3-geo/src/clip/buffer.js"); 12976/* harmony import */ var _line_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./line.js */ "./node_modules/d3-geo/src/clip/line.js"); 12977/* harmony import */ var _rejoin_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rejoin.js */ "./node_modules/d3-geo/src/clip/rejoin.js"); 12978/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/merge.js"); 12979 12980 12981 12982 12983 12984 12985var clipMax = 1e9, clipMin = -clipMax; 12986 12987// TODO Use d3-polygonâs polygonContains here for the ring check? 12988// TODO Eliminate duplicate buffering in clipBuffer and polygon.push? 12989 12990function clipRectangle(x0, y0, x1, y1) { 12991 12992 function visible(x, y) { 12993 return x0 <= x && x <= x1 && y0 <= y && y <= y1; 12994 } 12995 12996 function interpolate(from, to, direction, stream) { 12997 var a = 0, a1 = 0; 12998 if (from == null 12999 || (a = corner(from, direction)) !== (a1 = corner(to, direction)) 13000 || comparePoint(from, to) < 0 ^ direction > 0) { 13001 do stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0); 13002 while ((a = (a + direction + 4) % 4) !== a1); 13003 } else { 13004 stream.point(to[0], to[1]); 13005 } 13006 } 13007 13008 function corner(p, direction) { 13009 return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(p[0] - x0) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon ? direction > 0 ? 0 : 3 13010 : (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(p[0] - x1) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon ? direction > 0 ? 2 : 1 13011 : (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(p[1] - y0) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon ? direction > 0 ? 1 : 0 13012 : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon 13013 } 13014 13015 function compareIntersection(a, b) { 13016 return comparePoint(a.x, b.x); 13017 } 13018 13019 function comparePoint(a, b) { 13020 var ca = corner(a, 1), 13021 cb = corner(b, 1); 13022 return ca !== cb ? ca - cb 13023 : ca === 0 ? b[1] - a[1] 13024 : ca === 1 ? a[0] - b[0] 13025 : ca === 2 ? a[1] - b[1] 13026 : b[0] - a[0]; 13027 } 13028 13029 return function(stream) { 13030 var activeStream = stream, 13031 bufferStream = (0,_buffer_js__WEBPACK_IMPORTED_MODULE_1__["default"])(), 13032 segments, 13033 polygon, 13034 ring, 13035 x__, y__, v__, // first point 13036 x_, y_, v_, // previous point 13037 first, 13038 clean; 13039 13040 var clipStream = { 13041 point: point, 13042 lineStart: lineStart, 13043 lineEnd: lineEnd, 13044 polygonStart: polygonStart, 13045 polygonEnd: polygonEnd 13046 }; 13047 13048 function point(x, y) { 13049 if (visible(x, y)) activeStream.point(x, y); 13050 } 13051 13052 function polygonInside() { 13053 var winding = 0; 13054 13055 for (var i = 0, n = polygon.length; i < n; ++i) { 13056 for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) { 13057 a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1]; 13058 if (a1 <= y1) { if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0)) ++winding; } 13059 else { if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0)) --winding; } 13060 } 13061 } 13062 13063 return winding; 13064 } 13065 13066 // Buffer geometry within a polygon and then clip it en masse. 13067 function polygonStart() { 13068 activeStream = bufferStream, segments = [], polygon = [], clean = true; 13069 } 13070 13071 function polygonEnd() { 13072 var startInside = polygonInside(), 13073 cleanInside = clean && startInside, 13074 visible = (segments = (0,d3_array__WEBPACK_IMPORTED_MODULE_2__["default"])(segments)).length; 13075 if (cleanInside || visible) { 13076 stream.polygonStart(); 13077 if (cleanInside) { 13078 stream.lineStart(); 13079 interpolate(null, null, 1, stream); 13080 stream.lineEnd(); 13081 } 13082 if (visible) { 13083 (0,_rejoin_js__WEBPACK_IMPORTED_MODULE_3__["default"])(segments, compareIntersection, startInside, interpolate, stream); 13084 } 13085 stream.polygonEnd(); 13086 } 13087 activeStream = stream, segments = polygon = ring = null; 13088 } 13089 13090 function lineStart() { 13091 clipStream.point = linePoint; 13092 if (polygon) polygon.push(ring = []); 13093 first = true; 13094 v_ = false; 13095 x_ = y_ = NaN; 13096 } 13097 13098 // TODO rather than special-case polygons, simply handle them separately. 13099 // Ideally, coincident intersection points should be jittered to avoid 13100 // clipping issues. 13101 function lineEnd() { 13102 if (segments) { 13103 linePoint(x__, y__); 13104 if (v__ && v_) bufferStream.rejoin(); 13105 segments.push(bufferStream.result()); 13106 } 13107 clipStream.point = point; 13108 if (v_) activeStream.lineEnd(); 13109 } 13110 13111 function linePoint(x, y) { 13112 var v = visible(x, y); 13113 if (polygon) ring.push([x, y]); 13114 if (first) { 13115 x__ = x, y__ = y, v__ = v; 13116 first = false; 13117 if (v) { 13118 activeStream.lineStart(); 13119 activeStream.point(x, y); 13120 } 13121 } else { 13122 if (v && v_) activeStream.point(x, y); 13123 else { 13124 var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))], 13125 b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))]; 13126 if ((0,_line_js__WEBPACK_IMPORTED_MODULE_4__["default"])(a, b, x0, y0, x1, y1)) { 13127 if (!v_) { 13128 activeStream.lineStart(); 13129 activeStream.point(a[0], a[1]); 13130 } 13131 activeStream.point(b[0], b[1]); 13132 if (!v) activeStream.lineEnd(); 13133 clean = false; 13134 } else if (v) { 13135 activeStream.lineStart(); 13136 activeStream.point(x, y); 13137 clean = false; 13138 } 13139 } 13140 } 13141 x_ = x, y_ = y, v_ = v; 13142 } 13143 13144 return clipStream; 13145 }; 13146} 13147 13148 13149/***/ }), 13150
vendor: 3,667 bytes, lines 13151-13269
13151/***/ "./node_modules/d3-geo/src/clip/rejoin.js": 13152/*!************************************************!*\ 13153 !*** ./node_modules/d3-geo/src/clip/rejoin.js ***! 13154 \************************************************/ 13155/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13156 13157__webpack_require__.r(__webpack_exports__); 13158/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13159/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 13160/* harmony export */ }); 13161/* harmony import */ var _pointEqual_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pointEqual.js */ "./node_modules/d3-geo/src/pointEqual.js"); 13162/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 13163 13164 13165 13166function Intersection(point, points, other, entry) { 13167 this.x = point; 13168 this.z = points; 13169 this.o = other; // another intersection 13170 this.e = entry; // is an entry? 13171 this.v = false; // visited 13172 this.n = this.p = null; // next & previous 13173} 13174 13175// A generalized polygon clipping algorithm: given a polygon that has been cut 13176// into its visible line segments, and rejoins the segments by interpolating 13177// along the clip edge. 13178/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(segments, compareIntersection, startInside, interpolate, stream) { 13179 var subject = [], 13180 clip = [], 13181 i, 13182 n; 13183 13184 segments.forEach(function(segment) { 13185 if ((n = segment.length - 1) <= 0) return; 13186 var n, p0 = segment[0], p1 = segment[n], x; 13187 13188 if ((0,_pointEqual_js__WEBPACK_IMPORTED_MODULE_0__["default"])(p0, p1)) { 13189 if (!p0[2] && !p1[2]) { 13190 stream.lineStart(); 13191 for (i = 0; i < n; ++i) stream.point((p0 = segment[i])[0], p0[1]); 13192 stream.lineEnd(); 13193 return; 13194 } 13195 // handle degenerate cases by moving the point 13196 p1[0] += 2 * _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon; 13197 } 13198 13199 subject.push(x = new Intersection(p0, segment, null, true)); 13200 clip.push(x.o = new Intersection(p0, null, x, false)); 13201 subject.push(x = new Intersection(p1, segment, null, false)); 13202 clip.push(x.o = new Intersection(p1, null, x, true)); 13203 }); 13204 13205 if (!subject.length) return; 13206 13207 clip.sort(compareIntersection); 13208 link(subject); 13209 link(clip); 13210 13211 for (i = 0, n = clip.length; i < n; ++i) { 13212 clip[i].e = startInside = !startInside; 13213 } 13214 13215 var start = subject[0], 13216 points, 13217 point; 13218 13219 while (1) { 13220 // Find first unvisited intersection. 13221 var current = start, 13222 isSubject = true; 13223 while (current.v) if ((current = current.n) === start) return; 13224 points = current.z; 13225 stream.lineStart(); 13226 do { 13227 current.v = current.o.v = true; 13228 if (current.e) { 13229 if (isSubject) { 13230 for (i = 0, n = points.length; i < n; ++i) stream.point((point = points[i])[0], point[1]); 13231 } else { 13232 interpolate(current.x, current.n.x, 1, stream); 13233 } 13234 current = current.n; 13235 } else { 13236 if (isSubject) { 13237 points = current.p.z; 13238 for (i = points.length - 1; i >= 0; --i) stream.point((point = points[i])[0], point[1]); 13239 } else { 13240 interpolate(current.x, current.p.x, -1, stream); 13241 } 13242 current = current.p; 13243 } 13244 current = current.o; 13245 points = current.z; 13246 isSubject = !isSubject; 13247 } while (!current.v); 13248 stream.lineEnd(); 13249 } 13250} 13251 13252function link(array) { 13253 if (!(n = array.length)) return; 13254 var n, 13255 i = 0, 13256 a = array[0], 13257 b; 13258 while (++i < n) { 13259 a.n = b = array[i]; 13260 b.p = a; 13261 a = b; 13262 } 13263 a.n = b = array[0]; 13264 b.p = a; 13265} 13266 13267 13268/***/ }), 13269
vendor: 825 bytes, lines 13270-13295
13270/***/ "./node_modules/d3-geo/src/compose.js": 13271/*!********************************************!*\ 13272 !*** ./node_modules/d3-geo/src/compose.js ***! 13273 \********************************************/ 13274/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13275 13276__webpack_require__.r(__webpack_exports__); 13277/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13278/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 13279/* harmony export */ }); 13280/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 13281 13282 function compose(x, y) { 13283 return x = a(x, y), b(x[0], x[1]); 13284 } 13285 13286 if (a.invert && b.invert) compose.invert = function(x, y) { 13287 return x = b.invert(x, y), x && a.invert(x[0], x[1]); 13288 }; 13289 13290 return compose; 13291} 13292 13293 13294/***/ }), 13295
vendor: 651 bytes, lines 13296-13314
13296/***/ "./node_modules/d3-geo/src/constant.js": 13297/*!*********************************************!*\ 13298 !*** ./node_modules/d3-geo/src/constant.js ***! 13299 \*********************************************/ 13300/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13301 13302__webpack_require__.r(__webpack_exports__); 13303/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13304/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 13305/* harmony export */ }); 13306/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 13307 return function() { 13308 return x; 13309 }; 13310} 13311 13312 13313/***/ }), 13314
vendor: 4,190 bytes, lines 13315-13428
13315/***/ "./node_modules/d3-geo/src/contains.js": 13316/*!*********************************************!*\ 13317 !*** ./node_modules/d3-geo/src/contains.js ***! 13318 \*********************************************/ 13319/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13320 13321__webpack_require__.r(__webpack_exports__); 13322/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13323/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 13324/* harmony export */ }); 13325/* harmony import */ var _polygonContains_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./polygonContains.js */ "./node_modules/d3-geo/src/polygonContains.js"); 13326/* harmony import */ var _distance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./distance.js */ "./node_modules/d3-geo/src/distance.js"); 13327/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 13328 13329 13330 13331 13332var containsObjectType = { 13333 Feature: function(object, point) { 13334 return containsGeometry(object.geometry, point); 13335 }, 13336 FeatureCollection: function(object, point) { 13337 var features = object.features, i = -1, n = features.length; 13338 while (++i < n) if (containsGeometry(features[i].geometry, point)) return true; 13339 return false; 13340 } 13341}; 13342 13343var containsGeometryType = { 13344 Sphere: function() { 13345 return true; 13346 }, 13347 Point: function(object, point) { 13348 return containsPoint(object.coordinates, point); 13349 }, 13350 MultiPoint: function(object, point) { 13351 var coordinates = object.coordinates, i = -1, n = coordinates.length; 13352 while (++i < n) if (containsPoint(coordinates[i], point)) return true; 13353 return false; 13354 }, 13355 LineString: function(object, point) { 13356 return containsLine(object.coordinates, point); 13357 }, 13358 MultiLineString: function(object, point) { 13359 var coordinates = object.coordinates, i = -1, n = coordinates.length; 13360 while (++i < n) if (containsLine(coordinates[i], point)) return true; 13361 return false; 13362 }, 13363 Polygon: function(object, point) { 13364 return containsPolygon(object.coordinates, point); 13365 }, 13366 MultiPolygon: function(object, point) { 13367 var coordinates = object.coordinates, i = -1, n = coordinates.length; 13368 while (++i < n) if (containsPolygon(coordinates[i], point)) return true; 13369 return false; 13370 }, 13371 GeometryCollection: function(object, point) { 13372 var geometries = object.geometries, i = -1, n = geometries.length; 13373 while (++i < n) if (containsGeometry(geometries[i], point)) return true; 13374 return false; 13375 } 13376}; 13377 13378function containsGeometry(geometry, point) { 13379 return geometry && containsGeometryType.hasOwnProperty(geometry.type) 13380 ? containsGeometryType[geometry.type](geometry, point) 13381 : false; 13382} 13383 13384function containsPoint(coordinates, point) { 13385 return (0,_distance_js__WEBPACK_IMPORTED_MODULE_0__["default"])(coordinates, point) === 0; 13386} 13387 13388function containsLine(coordinates, point) { 13389 var ao, bo, ab; 13390 for (var i = 0, n = coordinates.length; i < n; i++) { 13391 bo = (0,_distance_js__WEBPACK_IMPORTED_MODULE_0__["default"])(coordinates[i], point); 13392 if (bo === 0) return true; 13393 if (i > 0) { 13394 ab = (0,_distance_js__WEBPACK_IMPORTED_MODULE_0__["default"])(coordinates[i], coordinates[i - 1]); 13395 if ( 13396 ab > 0 && 13397 ao <= ab && 13398 bo <= ab && 13399 (ao + bo - ab) * (1 - Math.pow((ao - bo) / ab, 2)) < _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon2 * ab 13400 ) 13401 return true; 13402 } 13403 ao = bo; 13404 } 13405 return false; 13406} 13407 13408function containsPolygon(coordinates, point) { 13409 return !!(0,_polygonContains_js__WEBPACK_IMPORTED_MODULE_2__["default"])(coordinates.map(ringRadians), pointRadians(point)); 13410} 13411 13412function ringRadians(ring) { 13413 return ring = ring.map(pointRadians), ring.pop(), ring; 13414} 13415 13416function pointRadians(point) { 13417 return [point[0] * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, point[1] * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians]; 13418} 13419 13420/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(object, point) { 13421 return (object && containsObjectType.hasOwnProperty(object.type) 13422 ? containsObjectType[object.type] 13423 : containsGeometry)(object, point); 13424} 13425 13426 13427/***/ }), 13428
vendor: 972 bytes, lines 13429-13453
13429/***/ "./node_modules/d3-geo/src/distance.js": 13430/*!*********************************************!*\ 13431 !*** ./node_modules/d3-geo/src/distance.js ***! 13432 \*********************************************/ 13433/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13434 13435__webpack_require__.r(__webpack_exports__); 13436/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13437/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 13438/* harmony export */ }); 13439/* harmony import */ var _length_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./length.js */ "./node_modules/d3-geo/src/length.js"); 13440 13441 13442var coordinates = [null, null], 13443 object = {type: "LineString", coordinates: coordinates}; 13444 13445/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 13446 coordinates[0] = a; 13447 coordinates[1] = b; 13448 return (0,_length_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object); 13449} 13450 13451 13452/***/ }), 13453
vendor: 4,640 bytes, lines 13454-13575
13454/***/ "./node_modules/d3-geo/src/graticule.js": 13455/*!**********************************************!*\ 13456 !*** ./node_modules/d3-geo/src/graticule.js ***! 13457 \**********************************************/ 13458/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13459 13460__webpack_require__.r(__webpack_exports__); 13461/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13462/* harmony export */ "default": () => (/* binding */ graticule), 13463/* harmony export */ graticule10: () => (/* binding */ graticule10) 13464/* harmony export */ }); 13465/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/range.js"); 13466/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 13467 13468 13469 13470function graticuleX(y0, y1, dy) { 13471 var y = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])(y0, y1 - _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon, dy).concat(y1); 13472 return function(x) { return y.map(function(y) { return [x, y]; }); }; 13473} 13474 13475function graticuleY(x0, x1, dx) { 13476 var x = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])(x0, x1 - _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon, dx).concat(x1); 13477 return function(y) { return x.map(function(x) { return [x, y]; }); }; 13478} 13479 13480function graticule() { 13481 var x1, x0, X1, X0, 13482 y1, y0, Y1, Y0, 13483 dx = 10, dy = dx, DX = 90, DY = 360, 13484 x, y, X, Y, 13485 precision = 2.5; 13486 13487 function graticule() { 13488 return {type: "MultiLineString", coordinates: lines()}; 13489 } 13490 13491 function lines() { 13492 return (0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.ceil)(X0 / DX) * DX, X1, DX).map(X) 13493 .concat((0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.ceil)(Y0 / DY) * DY, Y1, DY).map(Y)) 13494 .concat((0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.ceil)(x0 / dx) * dx, x1, dx).filter(function(x) { return (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(x % DX) > _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon; }).map(x)) 13495 .concat((0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.ceil)(y0 / dy) * dy, y1, dy).filter(function(y) { return (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(y % DY) > _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon; }).map(y)); 13496 } 13497 13498 graticule.lines = function() { 13499 return lines().map(function(coordinates) { return {type: "LineString", coordinates: coordinates}; }); 13500 }; 13501 13502 graticule.outline = function() { 13503 return { 13504 type: "Polygon", 13505 coordinates: [ 13506 X(X0).concat( 13507 Y(Y1).slice(1), 13508 X(X1).reverse().slice(1), 13509 Y(Y0).reverse().slice(1)) 13510 ] 13511 }; 13512 }; 13513 13514 graticule.extent = function(_) { 13515 if (!arguments.length) return graticule.extentMinor(); 13516 return graticule.extentMajor(_).extentMinor(_); 13517 }; 13518 13519 graticule.extentMajor = function(_) { 13520 if (!arguments.length) return [[X0, Y0], [X1, Y1]]; 13521 X0 = +_[0][0], X1 = +_[1][0]; 13522 Y0 = +_[0][1], Y1 = +_[1][1]; 13523 if (X0 > X1) _ = X0, X0 = X1, X1 = _; 13524 if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _; 13525 return graticule.precision(precision); 13526 }; 13527 13528 graticule.extentMinor = function(_) { 13529 if (!arguments.length) return [[x0, y0], [x1, y1]]; 13530 x0 = +_[0][0], x1 = +_[1][0]; 13531 y0 = +_[0][1], y1 = +_[1][1]; 13532 if (x0 > x1) _ = x0, x0 = x1, x1 = _; 13533 if (y0 > y1) _ = y0, y0 = y1, y1 = _; 13534 return graticule.precision(precision); 13535 }; 13536 13537 graticule.step = function(_) { 13538 if (!arguments.length) return graticule.stepMinor(); 13539 return graticule.stepMajor(_).stepMinor(_); 13540 }; 13541 13542 graticule.stepMajor = function(_) { 13543 if (!arguments.length) return [DX, DY]; 13544 DX = +_[0], DY = +_[1]; 13545 return graticule; 13546 }; 13547 13548 graticule.stepMinor = function(_) { 13549 if (!arguments.length) return [dx, dy]; 13550 dx = +_[0], dy = +_[1]; 13551 return graticule; 13552 }; 13553 13554 graticule.precision = function(_) { 13555 if (!arguments.length) return precision; 13556 precision = +_; 13557 x = graticuleX(y0, y1, 90); 13558 y = graticuleY(x0, x1, precision); 13559 X = graticuleX(Y0, Y1, 90); 13560 Y = graticuleY(X0, X1, precision); 13561 return graticule; 13562 }; 13563 13564 return graticule 13565 .extentMajor([[-180, -90 + _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon], [180, 90 - _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon]]) 13566 .extentMinor([[-180, -80 - _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon], [180, 80 + _math_js__WEBPACK_IMPORTED_MODULE_1__.epsilon]]); 13567} 13568 13569function graticule10() { 13570 return graticule()(); 13571} 13572 13573 13574/***/ }), 13575
vendor: 583 bytes, lines 13576-13590
13576/***/ "./node_modules/d3-geo/src/identity.js": 13577/*!*********************************************!*\ 13578 !*** ./node_modules/d3-geo/src/identity.js ***! 13579 \*********************************************/ 13580/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13581 13582__webpack_require__.r(__webpack_exports__); 13583/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13584/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 13585/* harmony export */ }); 13586/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (x => x); 13587 13588 13589/***/ }), 13590
vendor: 13,154 bytes, lines 13591-13720
13591/***/ "./node_modules/d3-geo/src/index.js": 13592/*!******************************************!*\ 13593 !*** ./node_modules/d3-geo/src/index.js ***! 13594 \******************************************/ 13595/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13596 13597__webpack_require__.r(__webpack_exports__); 13598/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13599/* harmony export */ geoAlbers: () => (/* reexport safe */ _projection_albers_js__WEBPACK_IMPORTED_MODULE_14__["default"]), 13600/* harmony export */ geoAlbersUsa: () => (/* reexport safe */ _projection_albersUsa_js__WEBPACK_IMPORTED_MODULE_15__["default"]), 13601/* harmony export */ geoArea: () => (/* reexport safe */ _area_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 13602/* harmony export */ geoAzimuthalEqualArea: () => (/* reexport safe */ _projection_azimuthalEqualArea_js__WEBPACK_IMPORTED_MODULE_16__["default"]), 13603/* harmony export */ geoAzimuthalEqualAreaRaw: () => (/* reexport safe */ _projection_azimuthalEqualArea_js__WEBPACK_IMPORTED_MODULE_16__.azimuthalEqualAreaRaw), 13604/* harmony export */ geoAzimuthalEquidistant: () => (/* reexport safe */ _projection_azimuthalEquidistant_js__WEBPACK_IMPORTED_MODULE_17__["default"]), 13605/* harmony export */ geoAzimuthalEquidistantRaw: () => (/* reexport safe */ _projection_azimuthalEquidistant_js__WEBPACK_IMPORTED_MODULE_17__.azimuthalEquidistantRaw), 13606/* harmony export */ geoBounds: () => (/* reexport safe */ _bounds_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 13607/* harmony export */ geoCentroid: () => (/* reexport safe */ _centroid_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 13608/* harmony export */ geoCircle: () => (/* reexport safe */ _circle_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 13609/* harmony export */ geoClipAntimeridian: () => (/* reexport safe */ _clip_antimeridian_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 13610/* harmony export */ geoClipCircle: () => (/* reexport safe */ _clip_circle_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 13611/* harmony export */ geoClipExtent: () => (/* reexport safe */ _clip_extent_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 13612/* harmony export */ geoClipRectangle: () => (/* reexport safe */ _clip_rectangle_js__WEBPACK_IMPORTED_MODULE_7__["default"]), 13613/* harmony export */ geoConicConformal: () => (/* reexport safe */ _projection_conicConformal_js__WEBPACK_IMPORTED_MODULE_18__["default"]), 13614/* harmony export */ geoConicConformalRaw: () => (/* reexport safe */ _projection_conicConformal_js__WEBPACK_IMPORTED_MODULE_18__.conicConformalRaw), 13615/* harmony export */ geoConicEqualArea: () => (/* reexport safe */ _projection_conicEqualArea_js__WEBPACK_IMPORTED_MODULE_19__["default"]), 13616/* harmony export */ geoConicEqualAreaRaw: () => (/* reexport safe */ _projection_conicEqualArea_js__WEBPACK_IMPORTED_MODULE_19__.conicEqualAreaRaw), 13617/* harmony export */ geoConicEquidistant: () => (/* reexport safe */ _projection_conicEquidistant_js__WEBPACK_IMPORTED_MODULE_20__["default"]), 13618/* harmony export */ geoConicEquidistantRaw: () => (/* reexport safe */ _projection_conicEquidistant_js__WEBPACK_IMPORTED_MODULE_20__.conicEquidistantRaw), 13619/* harmony export */ geoContains: () => (/* reexport safe */ _contains_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 13620/* harmony export */ geoDistance: () => (/* reexport safe */ _distance_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 13621/* harmony export */ geoEqualEarth: () => (/* reexport safe */ _projection_equalEarth_js__WEBPACK_IMPORTED_MODULE_21__["default"]), 13622/* harmony export */ geoEqualEarthRaw: () => (/* reexport safe */ _projection_equalEarth_js__WEBPACK_IMPORTED_MODULE_21__.equalEarthRaw), 13623/* harmony export */ geoEquirectangular: () => (/* reexport safe */ _projection_equirectangular_js__WEBPACK_IMPORTED_MODULE_22__["default"]), 13624/* harmony export */ geoEquirectangularRaw: () => (/* reexport safe */ _projection_equirectangular_js__WEBPACK_IMPORTED_MODULE_22__.equirectangularRaw), 13625/* harmony export */ geoGnomonic: () => (/* reexport safe */ _projection_gnomonic_js__WEBPACK_IMPORTED_MODULE_23__["default"]), 13626/* harmony export */ geoGnomonicRaw: () => (/* reexport safe */ _projection_gnomonic_js__WEBPACK_IMPORTED_MODULE_23__.gnomonicRaw), 13627/* harmony export */ geoGraticule: () => (/* reexport safe */ _graticule_js__WEBPACK_IMPORTED_MODULE_10__["default"]), 13628/* harmony export */ geoGraticule10: () => (/* reexport safe */ _graticule_js__WEBPACK_IMPORTED_MODULE_10__.graticule10), 13629/* harmony export */ geoIdentity: () => (/* reexport safe */ _projection_identity_js__WEBPACK_IMPORTED_MODULE_24__["default"]), 13630/* harmony export */ geoInterpolate: () => (/* reexport safe */ _interpolate_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 13631/* harmony export */ geoLength: () => (/* reexport safe */ _length_js__WEBPACK_IMPORTED_MODULE_12__["default"]), 13632/* harmony export */ geoMercator: () => (/* reexport safe */ _projection_mercator_js__WEBPACK_IMPORTED_MODULE_26__["default"]), 13633/* harmony export */ geoMercatorRaw: () => (/* reexport safe */ _projection_mercator_js__WEBPACK_IMPORTED_MODULE_26__.mercatorRaw), 13634/* harmony export */ geoNaturalEarth1: () => (/* reexport safe */ _projection_naturalEarth1_js__WEBPACK_IMPORTED_MODULE_27__["default"]), 13635/* harmony export */ geoNaturalEarth1Raw: () => (/* reexport safe */ _projection_naturalEarth1_js__WEBPACK_IMPORTED_MODULE_27__.naturalEarth1Raw), 13636/* harmony export */ geoOrthographic: () => (/* reexport safe */ _projection_orthographic_js__WEBPACK_IMPORTED_MODULE_28__["default"]), 13637/* harmony export */ geoOrthographicRaw: () => (/* reexport safe */ _projection_orthographic_js__WEBPACK_IMPORTED_MODULE_28__.orthographicRaw), 13638/* harmony export */ geoPath: () => (/* reexport safe */ _path_index_js__WEBPACK_IMPORTED_MODULE_13__["default"]), 13639/* harmony export */ geoProjection: () => (/* reexport safe */ _projection_index_js__WEBPACK_IMPORTED_MODULE_25__["default"]), 13640/* harmony export */ geoProjectionMutator: () => (/* reexport safe */ _projection_index_js__WEBPACK_IMPORTED_MODULE_25__.projectionMutator), 13641/* harmony export */ geoRotation: () => (/* reexport safe */ _rotation_js__WEBPACK_IMPORTED_MODULE_31__["default"]), 13642/* harmony export */ geoStereographic: () => (/* reexport safe */ _projection_stereographic_js__WEBPACK_IMPORTED_MODULE_29__["default"]), 13643/* harmony export */ geoStereographicRaw: () => (/* reexport safe */ _projection_stereographic_js__WEBPACK_IMPORTED_MODULE_29__.stereographicRaw), 13644/* harmony export */ geoStream: () => (/* reexport safe */ _stream_js__WEBPACK_IMPORTED_MODULE_32__["default"]), 13645/* harmony export */ geoTransform: () => (/* reexport safe */ _transform_js__WEBPACK_IMPORTED_MODULE_33__["default"]), 13646/* harmony export */ geoTransverseMercator: () => (/* reexport safe */ _projection_transverseMercator_js__WEBPACK_IMPORTED_MODULE_30__["default"]), 13647/* harmony export */ geoTransverseMercatorRaw: () => (/* reexport safe */ _projection_transverseMercator_js__WEBPACK_IMPORTED_MODULE_30__.transverseMercatorRaw) 13648/* harmony export */ }); 13649/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./area.js */ "./node_modules/d3-geo/src/area.js"); 13650/* harmony import */ var _bounds_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./bounds.js */ "./node_modules/d3-geo/src/bounds.js"); 13651/* harmony import */ var _centroid_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./centroid.js */ "./node_modules/d3-geo/src/centroid.js"); 13652/* harmony import */ var _circle_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./circle.js */ "./node_modules/d3-geo/src/circle.js"); 13653/* harmony import */ var _clip_antimeridian_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./clip/antimeridian.js */ "./node_modules/d3-geo/src/clip/antimeridian.js"); 13654/* harmony import */ var _clip_circle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./clip/circle.js */ "./node_modules/d3-geo/src/clip/circle.js"); 13655/* harmony import */ var _clip_extent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./clip/extent.js */ "./node_modules/d3-geo/src/clip/extent.js"); 13656/* harmony import */ var _clip_rectangle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./clip/rectangle.js */ "./node_modules/d3-geo/src/clip/rectangle.js"); 13657/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./contains.js */ "./node_modules/d3-geo/src/contains.js"); 13658/* harmony import */ var _distance_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./distance.js */ "./node_modules/d3-geo/src/distance.js"); 13659/* harmony import */ var _graticule_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./graticule.js */ "./node_modules/d3-geo/src/graticule.js"); 13660/* harmony import */ var _interpolate_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./interpolate.js */ "./node_modules/d3-geo/src/interpolate.js"); 13661/* harmony import */ var _length_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./length.js */ "./node_modules/d3-geo/src/length.js"); 13662/* harmony import */ var _path_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./path/index.js */ "./node_modules/d3-geo/src/path/index.js"); 13663/* harmony import */ var _projection_albers_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./projection/albers.js */ "./node_modules/d3-geo/src/projection/albers.js"); 13664/* harmony import */ var _projection_albersUsa_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./projection/albersUsa.js */ "./node_modules/d3-geo/src/projection/albersUsa.js"); 13665/* harmony import */ var _projection_azimuthalEqualArea_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./projection/azimuthalEqualArea.js */ "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js"); 13666/* harmony import */ var _projection_azimuthalEquidistant_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./projection/azimuthalEquidistant.js */ "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js"); 13667/* harmony import */ var _projection_conicConformal_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./projection/conicConformal.js */ "./node_modules/d3-geo/src/projection/conicConformal.js"); 13668/* harmony import */ var _projection_conicEqualArea_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./projection/conicEqualArea.js */ "./node_modules/d3-geo/src/projection/conicEqualArea.js"); 13669/* harmony import */ var _projection_conicEquidistant_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./projection/conicEquidistant.js */ "./node_modules/d3-geo/src/projection/conicEquidistant.js"); 13670/* harmony import */ var _projection_equalEarth_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./projection/equalEarth.js */ "./node_modules/d3-geo/src/projection/equalEarth.js"); 13671/* harmony import */ var _projection_equirectangular_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./projection/equirectangular.js */ "./node_modules/d3-geo/src/projection/equirectangular.js"); 13672/* harmony import */ var _projection_gnomonic_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./projection/gnomonic.js */ "./node_modules/d3-geo/src/projection/gnomonic.js"); 13673/* harmony import */ var _projection_identity_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./projection/identity.js */ "./node_modules/d3-geo/src/projection/identity.js"); 13674/* harmony import */ var _projection_index_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./projection/index.js */ "./node_modules/d3-geo/src/projection/index.js"); 13675/* harmony import */ var _projection_mercator_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./projection/mercator.js */ "./node_modules/d3-geo/src/projection/mercator.js"); 13676/* harmony import */ var _projection_naturalEarth1_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./projection/naturalEarth1.js */ "./node_modules/d3-geo/src/projection/naturalEarth1.js"); 13677/* harmony import */ var _projection_orthographic_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./projection/orthographic.js */ "./node_modules/d3-geo/src/projection/orthographic.js"); 13678/* harmony import */ var _projection_stereographic_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./projection/stereographic.js */ "./node_modules/d3-geo/src/projection/stereographic.js"); 13679/* harmony import */ var _projection_transverseMercator_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./projection/transverseMercator.js */ "./node_modules/d3-geo/src/projection/transverseMercator.js"); 13680/* harmony import */ var _rotation_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./rotation.js */ "./node_modules/d3-geo/src/rotation.js"); 13681/* harmony import */ var _stream_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./stream.js */ "./node_modules/d3-geo/src/stream.js"); 13682/* harmony import */ var _transform_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./transform.js */ "./node_modules/d3-geo/src/transform.js"); 13683 13684 13685 13686 13687 13688 13689 // DEPRECATED! Use d3.geoIdentity().clipExtent(â¦). 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719/***/ }), 13720
vendor: 2,623 bytes, lines 13721-13771
13721/***/ "./node_modules/d3-geo/src/interpolate.js": 13722/*!************************************************!*\ 13723 !*** ./node_modules/d3-geo/src/interpolate.js ***! 13724 \************************************************/ 13725/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13726 13727__webpack_require__.r(__webpack_exports__); 13728/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13729/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 13730/* harmony export */ }); 13731/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 13732 13733 13734/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 13735 var x0 = a[0] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, 13736 y0 = a[1] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, 13737 x1 = b[0] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, 13738 y1 = b[1] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, 13739 cy0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y0), 13740 sy0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y0), 13741 cy1 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y1), 13742 sy1 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y1), 13743 kx0 = cy0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(x0), 13744 ky0 = cy0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(x0), 13745 kx1 = cy1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(x1), 13746 ky1 = cy1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(x1), 13747 d = 2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.haversin)(y1 - y0) + cy0 * cy1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.haversin)(x1 - x0))), 13748 k = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(d); 13749 13750 var interpolate = d ? function(t) { 13751 var B = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(t *= d) / k, 13752 A = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(d - t) / k, 13753 x = A * kx0 + B * kx1, 13754 y = A * ky0 + B * ky1, 13755 z = A * sy0 + B * sy1; 13756 return [ 13757 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(y, x) * _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees, 13758 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(z, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(x * x + y * y)) * _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees 13759 ]; 13760 } : function() { 13761 return [x0 * _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees, y0 * _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees]; 13762 }; 13763 13764 interpolate.distance = d; 13765 13766 return interpolate; 13767} 13768 13769 13770/***/ }), 13771
vendor: 3,180 bytes, lines 13772-13842
13772/***/ "./node_modules/d3-geo/src/length.js": 13773/*!*******************************************!*\ 13774 !*** ./node_modules/d3-geo/src/length.js ***! 13775 \*******************************************/ 13776/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13777 13778__webpack_require__.r(__webpack_exports__); 13779/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13780/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 13781/* harmony export */ }); 13782/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/fsum.js"); 13783/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 13784/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./noop.js */ "./node_modules/d3-geo/src/noop.js"); 13785/* harmony import */ var _stream_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./stream.js */ "./node_modules/d3-geo/src/stream.js"); 13786 13787 13788 13789 13790 13791var lengthSum, 13792 lambda0, 13793 sinPhi0, 13794 cosPhi0; 13795 13796var lengthStream = { 13797 sphere: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 13798 point: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 13799 lineStart: lengthLineStart, 13800 lineEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 13801 polygonStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 13802 polygonEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"] 13803}; 13804 13805function lengthLineStart() { 13806 lengthStream.point = lengthPointFirst; 13807 lengthStream.lineEnd = lengthLineEnd; 13808} 13809 13810function lengthLineEnd() { 13811 lengthStream.point = lengthStream.lineEnd = _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"]; 13812} 13813 13814function lengthPointFirst(lambda, phi) { 13815 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians; 13816 lambda0 = lambda, sinPhi0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi), cosPhi0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi); 13817 lengthStream.point = lengthPoint; 13818} 13819 13820function lengthPoint(lambda, phi) { 13821 lambda *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, phi *= _math_js__WEBPACK_IMPORTED_MODULE_1__.radians; 13822 var sinPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(phi), 13823 cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(phi), 13824 delta = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.abs)(lambda - lambda0), 13825 cosDelta = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(delta), 13826 sinDelta = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(delta), 13827 x = cosPhi * sinDelta, 13828 y = cosPhi0 * sinPhi - sinPhi0 * cosPhi * cosDelta, 13829 z = sinPhi0 * sinPhi + cosPhi0 * cosPhi * cosDelta; 13830 lengthSum.add((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.atan2)((0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sqrt)(x * x + y * y), z)); 13831 lambda0 = lambda, sinPhi0 = sinPhi, cosPhi0 = cosPhi; 13832} 13833 13834/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(object) { 13835 lengthSum = new d3_array__WEBPACK_IMPORTED_MODULE_2__.Adder(); 13836 (0,_stream_js__WEBPACK_IMPORTED_MODULE_3__["default"])(object, lengthStream); 13837 return +lengthSum; 13838} 13839 13840 13841/***/ }), 13842
vendor: 2,618 bytes, lines 13843-13916
13843/***/ "./node_modules/d3-geo/src/math.js": 13844/*!*****************************************!*\ 13845 !*** ./node_modules/d3-geo/src/math.js ***! 13846 \*****************************************/ 13847/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13848 13849__webpack_require__.r(__webpack_exports__); 13850/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13851/* harmony export */ abs: () => (/* binding */ abs), 13852/* harmony export */ acos: () => (/* binding */ acos), 13853/* harmony export */ asin: () => (/* binding */ asin), 13854/* harmony export */ atan: () => (/* binding */ atan), 13855/* harmony export */ atan2: () => (/* binding */ atan2), 13856/* harmony export */ ceil: () => (/* binding */ ceil), 13857/* harmony export */ cos: () => (/* binding */ cos), 13858/* harmony export */ degrees: () => (/* binding */ degrees), 13859/* harmony export */ epsilon: () => (/* binding */ epsilon), 13860/* harmony export */ epsilon2: () => (/* binding */ epsilon2), 13861/* harmony export */ exp: () => (/* binding */ exp), 13862/* harmony export */ floor: () => (/* binding */ floor), 13863/* harmony export */ halfPi: () => (/* binding */ halfPi), 13864/* harmony export */ haversin: () => (/* binding */ haversin), 13865/* harmony export */ hypot: () => (/* binding */ hypot), 13866/* harmony export */ log: () => (/* binding */ log), 13867/* harmony export */ pi: () => (/* binding */ pi), 13868/* harmony export */ pow: () => (/* binding */ pow), 13869/* harmony export */ quarterPi: () => (/* binding */ quarterPi), 13870/* harmony export */ radians: () => (/* binding */ radians), 13871/* harmony export */ sign: () => (/* binding */ sign), 13872/* harmony export */ sin: () => (/* binding */ sin), 13873/* harmony export */ sqrt: () => (/* binding */ sqrt), 13874/* harmony export */ tan: () => (/* binding */ tan), 13875/* harmony export */ tau: () => (/* binding */ tau) 13876/* harmony export */ }); 13877var epsilon = 1e-6; 13878var epsilon2 = 1e-12; 13879var pi = Math.PI; 13880var halfPi = pi / 2; 13881var quarterPi = pi / 4; 13882var tau = pi * 2; 13883 13884var degrees = 180 / pi; 13885var radians = pi / 180; 13886 13887var abs = Math.abs; 13888var atan = Math.atan; 13889var atan2 = Math.atan2; 13890var cos = Math.cos; 13891var ceil = Math.ceil; 13892var exp = Math.exp; 13893var floor = Math.floor; 13894var hypot = Math.hypot; 13895var log = Math.log; 13896var pow = Math.pow; 13897var sin = Math.sin; 13898var sign = Math.sign || function(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; }; 13899var sqrt = Math.sqrt; 13900var tan = Math.tan; 13901 13902function acos(x) { 13903 return x > 1 ? 0 : x < -1 ? pi : Math.acos(x); 13904} 13905 13906function asin(x) { 13907 return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x); 13908} 13909 13910function haversin(x) { 13911 return (x = sin(x / 2)) * x; 13912} 13913 13914 13915/***/ }), 13916
vendor: 504 bytes, lines 13917-13931
13917/***/ "./node_modules/d3-geo/src/noop.js": 13918/*!*****************************************!*\ 13919 !*** ./node_modules/d3-geo/src/noop.js ***! 13920 \*****************************************/ 13921/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13922 13923__webpack_require__.r(__webpack_exports__); 13924/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13925/* harmony export */ "default": () => (/* binding */ noop) 13926/* harmony export */ }); 13927function noop() {} 13928 13929 13930/***/ }), 13931
vendor: 2,238 bytes, lines 13932-13998
13932/***/ "./node_modules/d3-geo/src/path/area.js": 13933/*!**********************************************!*\ 13934 !*** ./node_modules/d3-geo/src/path/area.js ***! 13935 \**********************************************/ 13936/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 13937 13938__webpack_require__.r(__webpack_exports__); 13939/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13940/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 13941/* harmony export */ }); 13942/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/fsum.js"); 13943/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 13944/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-geo/src/noop.js"); 13945 13946 13947 13948 13949var areaSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(), 13950 areaRingSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(), 13951 x00, 13952 y00, 13953 x0, 13954 y0; 13955 13956var areaStream = { 13957 point: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"], 13958 lineStart: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"], 13959 lineEnd: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"], 13960 polygonStart: function() { 13961 areaStream.lineStart = areaRingStart; 13962 areaStream.lineEnd = areaRingEnd; 13963 }, 13964 polygonEnd: function() { 13965 areaStream.lineStart = areaStream.lineEnd = areaStream.point = _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"]; 13966 areaSum.add((0,_math_js__WEBPACK_IMPORTED_MODULE_2__.abs)(areaRingSum)); 13967 areaRingSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(); 13968 }, 13969 result: function() { 13970 var area = areaSum / 2; 13971 areaSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(); 13972 return area; 13973 } 13974}; 13975 13976function areaRingStart() { 13977 areaStream.point = areaPointFirst; 13978} 13979 13980function areaPointFirst(x, y) { 13981 areaStream.point = areaPoint; 13982 x00 = x0 = x, y00 = y0 = y; 13983} 13984 13985function areaPoint(x, y) { 13986 areaRingSum.add(y0 * x - x0 * y); 13987 x0 = x, y0 = y; 13988} 13989 13990function areaRingEnd() { 13991 areaPoint(x00, y00); 13992} 13993 13994/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (areaStream); 13995 13996 13997/***/ }), 13998
vendor: 1,347 bytes, lines 13999-14041
13999/***/ "./node_modules/d3-geo/src/path/bounds.js": 14000/*!************************************************!*\ 14001 !*** ./node_modules/d3-geo/src/path/bounds.js ***! 14002 \************************************************/ 14003/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14004 14005__webpack_require__.r(__webpack_exports__); 14006/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14007/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 14008/* harmony export */ }); 14009/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-geo/src/noop.js"); 14010 14011 14012var x0 = Infinity, 14013 y0 = x0, 14014 x1 = -x0, 14015 y1 = x1; 14016 14017var boundsStream = { 14018 point: boundsPoint, 14019 lineStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 14020 lineEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 14021 polygonStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 14022 polygonEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 14023 result: function() { 14024 var bounds = [[x0, y0], [x1, y1]]; 14025 x1 = y1 = -(y0 = x0 = Infinity); 14026 return bounds; 14027 } 14028}; 14029 14030function boundsPoint(x, y) { 14031 if (x < x0) x0 = x; 14032 if (x > x1) x1 = x; 14033 if (y < y0) y0 = y; 14034 if (y > y1) y1 = y; 14035} 14036 14037/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (boundsStream); 14038 14039 14040/***/ }), 14041
vendor: 2,809 bytes, lines 14042-14156
14042/***/ "./node_modules/d3-geo/src/path/centroid.js": 14043/*!**************************************************!*\ 14044 !*** ./node_modules/d3-geo/src/path/centroid.js ***! 14045 \**************************************************/ 14046/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14047 14048__webpack_require__.r(__webpack_exports__); 14049/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14050/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 14051/* harmony export */ }); 14052/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14053 14054 14055// TODO Enforce positive area for exterior, negative area for interior? 14056 14057var X0 = 0, 14058 Y0 = 0, 14059 Z0 = 0, 14060 X1 = 0, 14061 Y1 = 0, 14062 Z1 = 0, 14063 X2 = 0, 14064 Y2 = 0, 14065 Z2 = 0, 14066 x00, 14067 y00, 14068 x0, 14069 y0; 14070 14071var centroidStream = { 14072 point: centroidPoint, 14073 lineStart: centroidLineStart, 14074 lineEnd: centroidLineEnd, 14075 polygonStart: function() { 14076 centroidStream.lineStart = centroidRingStart; 14077 centroidStream.lineEnd = centroidRingEnd; 14078 }, 14079 polygonEnd: function() { 14080 centroidStream.point = centroidPoint; 14081 centroidStream.lineStart = centroidLineStart; 14082 centroidStream.lineEnd = centroidLineEnd; 14083 }, 14084 result: function() { 14085 var centroid = Z2 ? [X2 / Z2, Y2 / Z2] 14086 : Z1 ? [X1 / Z1, Y1 / Z1] 14087 : Z0 ? [X0 / Z0, Y0 / Z0] 14088 : [NaN, NaN]; 14089 X0 = Y0 = Z0 = 14090 X1 = Y1 = Z1 = 14091 X2 = Y2 = Z2 = 0; 14092 return centroid; 14093 } 14094}; 14095 14096function centroidPoint(x, y) { 14097 X0 += x; 14098 Y0 += y; 14099 ++Z0; 14100} 14101 14102function centroidLineStart() { 14103 centroidStream.point = centroidPointFirstLine; 14104} 14105 14106function centroidPointFirstLine(x, y) { 14107 centroidStream.point = centroidPointLine; 14108 centroidPoint(x0 = x, y0 = y); 14109} 14110 14111function centroidPointLine(x, y) { 14112 var dx = x - x0, dy = y - y0, z = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(dx * dx + dy * dy); 14113 X1 += z * (x0 + x) / 2; 14114 Y1 += z * (y0 + y) / 2; 14115 Z1 += z; 14116 centroidPoint(x0 = x, y0 = y); 14117} 14118 14119function centroidLineEnd() { 14120 centroidStream.point = centroidPoint; 14121} 14122 14123function centroidRingStart() { 14124 centroidStream.point = centroidPointFirstRing; 14125} 14126 14127function centroidRingEnd() { 14128 centroidPointRing(x00, y00); 14129} 14130 14131function centroidPointFirstRing(x, y) { 14132 centroidStream.point = centroidPointRing; 14133 centroidPoint(x00 = x0 = x, y00 = y0 = y); 14134} 14135 14136function centroidPointRing(x, y) { 14137 var dx = x - x0, 14138 dy = y - y0, 14139 z = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(dx * dx + dy * dy); 14140 14141 X1 += z * (x0 + x) / 2; 14142 Y1 += z * (y0 + y) / 2; 14143 Z1 += z; 14144 14145 z = y0 * x - x0 * y; 14146 X2 += z * (x0 + x); 14147 Y2 += z * (y0 + y); 14148 Z2 += z * 3; 14149 centroidPoint(x0 = x, y0 = y); 14150} 14151 14152/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (centroidStream); 14153 14154 14155/***/ }), 14156
vendor: 1,732 bytes, lines 14157-14217
14157/***/ "./node_modules/d3-geo/src/path/context.js": 14158/*!*************************************************!*\ 14159 !*** ./node_modules/d3-geo/src/path/context.js ***! 14160 \*************************************************/ 14161/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14162 14163__webpack_require__.r(__webpack_exports__); 14164/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14165/* harmony export */ "default": () => (/* binding */ PathContext) 14166/* harmony export */ }); 14167/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14168/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-geo/src/noop.js"); 14169 14170 14171 14172function PathContext(context) { 14173 this._context = context; 14174} 14175 14176PathContext.prototype = { 14177 _radius: 4.5, 14178 pointRadius: function(_) { 14179 return this._radius = _, this; 14180 }, 14181 polygonStart: function() { 14182 this._line = 0; 14183 }, 14184 polygonEnd: function() { 14185 this._line = NaN; 14186 }, 14187 lineStart: function() { 14188 this._point = 0; 14189 }, 14190 lineEnd: function() { 14191 if (this._line === 0) this._context.closePath(); 14192 this._point = NaN; 14193 }, 14194 point: function(x, y) { 14195 switch (this._point) { 14196 case 0: { 14197 this._context.moveTo(x, y); 14198 this._point = 1; 14199 break; 14200 } 14201 case 1: { 14202 this._context.lineTo(x, y); 14203 break; 14204 } 14205 default: { 14206 this._context.moveTo(x + this._radius, y); 14207 this._context.arc(x, y, this._radius, 0, _math_js__WEBPACK_IMPORTED_MODULE_0__.tau); 14208 break; 14209 } 14210 } 14211 }, 14212 result: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"] 14213}; 14214 14215 14216/***/ }), 14217
vendor: 4,487 bytes, lines 14218-14315
14218/***/ "./node_modules/d3-geo/src/path/index.js": 14219/*!***********************************************!*\ 14220 !*** ./node_modules/d3-geo/src/path/index.js ***! 14221 \***********************************************/ 14222/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14223 14224__webpack_require__.r(__webpack_exports__); 14225/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14226/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14227/* harmony export */ }); 14228/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../identity.js */ "./node_modules/d3-geo/src/identity.js"); 14229/* harmony import */ var _stream_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../stream.js */ "./node_modules/d3-geo/src/stream.js"); 14230/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./area.js */ "./node_modules/d3-geo/src/path/area.js"); 14231/* harmony import */ var _bounds_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./bounds.js */ "./node_modules/d3-geo/src/path/bounds.js"); 14232/* harmony import */ var _centroid_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./centroid.js */ "./node_modules/d3-geo/src/path/centroid.js"); 14233/* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./context.js */ "./node_modules/d3-geo/src/path/context.js"); 14234/* harmony import */ var _measure_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./measure.js */ "./node_modules/d3-geo/src/path/measure.js"); 14235/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./string.js */ "./node_modules/d3-geo/src/path/string.js"); 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(projection, context) { 14246 let digits = 3, 14247 pointRadius = 4.5, 14248 projectionStream, 14249 contextStream; 14250 14251 function path(object) { 14252 if (object) { 14253 if (typeof pointRadius === "function") contextStream.pointRadius(+pointRadius.apply(this, arguments)); 14254 (0,_stream_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, projectionStream(contextStream)); 14255 } 14256 return contextStream.result(); 14257 } 14258 14259 path.area = function(object) { 14260 (0,_stream_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, projectionStream(_area_js__WEBPACK_IMPORTED_MODULE_1__["default"])); 14261 return _area_js__WEBPACK_IMPORTED_MODULE_1__["default"].result(); 14262 }; 14263 14264 path.measure = function(object) { 14265 (0,_stream_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, projectionStream(_measure_js__WEBPACK_IMPORTED_MODULE_2__["default"])); 14266 return _measure_js__WEBPACK_IMPORTED_MODULE_2__["default"].result(); 14267 }; 14268 14269 path.bounds = function(object) { 14270 (0,_stream_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, projectionStream(_bounds_js__WEBPACK_IMPORTED_MODULE_3__["default"])); 14271 return _bounds_js__WEBPACK_IMPORTED_MODULE_3__["default"].result(); 14272 }; 14273 14274 path.centroid = function(object) { 14275 (0,_stream_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, projectionStream(_centroid_js__WEBPACK_IMPORTED_MODULE_4__["default"])); 14276 return _centroid_js__WEBPACK_IMPORTED_MODULE_4__["default"].result(); 14277 }; 14278 14279 path.projection = function(_) { 14280 if (!arguments.length) return projection; 14281 projectionStream = _ == null ? (projection = null, _identity_js__WEBPACK_IMPORTED_MODULE_5__["default"]) : (projection = _).stream; 14282 return path; 14283 }; 14284 14285 path.context = function(_) { 14286 if (!arguments.length) return context; 14287 contextStream = _ == null ? (context = null, new _string_js__WEBPACK_IMPORTED_MODULE_6__["default"](digits)) : new _context_js__WEBPACK_IMPORTED_MODULE_7__["default"](context = _); 14288 if (typeof pointRadius !== "function") contextStream.pointRadius(pointRadius); 14289 return path; 14290 }; 14291 14292 path.pointRadius = function(_) { 14293 if (!arguments.length) return pointRadius; 14294 pointRadius = typeof _ === "function" ? _ : (contextStream.pointRadius(+_), +_); 14295 return path; 14296 }; 14297 14298 path.digits = function(_) { 14299 if (!arguments.length) return digits; 14300 if (_ == null) digits = null; 14301 else { 14302 const d = Math.floor(_); 14303 if (!(d >= 0)) throw new RangeError(`invalid digits: ${_}`); 14304 digits = d; 14305 } 14306 if (context === null) contextStream = new _string_js__WEBPACK_IMPORTED_MODULE_6__["default"](digits); 14307 return path; 14308 }; 14309 14310 return path.projection(projection).digits(digits).context(context); 14311} 14312 14313 14314/***/ }), 14315
vendor: 1,966 bytes, lines 14316-14377
14316/***/ "./node_modules/d3-geo/src/path/measure.js": 14317/*!*************************************************!*\ 14318 !*** ./node_modules/d3-geo/src/path/measure.js ***! 14319 \*************************************************/ 14320/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14321 14322__webpack_require__.r(__webpack_exports__); 14323/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14324/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 14325/* harmony export */ }); 14326/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/fsum.js"); 14327/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14328/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-geo/src/noop.js"); 14329 14330 14331 14332 14333var lengthSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(), 14334 lengthRing, 14335 x00, 14336 y00, 14337 x0, 14338 y0; 14339 14340var lengthStream = { 14341 point: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"], 14342 lineStart: function() { 14343 lengthStream.point = lengthPointFirst; 14344 }, 14345 lineEnd: function() { 14346 if (lengthRing) lengthPoint(x00, y00); 14347 lengthStream.point = _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"]; 14348 }, 14349 polygonStart: function() { 14350 lengthRing = true; 14351 }, 14352 polygonEnd: function() { 14353 lengthRing = null; 14354 }, 14355 result: function() { 14356 var length = +lengthSum; 14357 lengthSum = new d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder(); 14358 return length; 14359 } 14360}; 14361 14362function lengthPointFirst(x, y) { 14363 lengthStream.point = lengthPoint; 14364 x00 = x0 = x, y00 = y0 = y; 14365} 14366 14367function lengthPoint(x, y) { 14368 x0 -= x, y0 -= y; 14369 lengthSum.add((0,_math_js__WEBPACK_IMPORTED_MODULE_2__.sqrt)(x0 * x0 + y0 * y0)); 14370 x0 = x, y0 = y; 14371} 14372 14373/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (lengthStream); 14374 14375 14376/***/ }), 14377
vendor: 2,566 bytes, lines 14378-14477
14378/***/ "./node_modules/d3-geo/src/path/string.js": 14379/*!************************************************!*\ 14380 !*** ./node_modules/d3-geo/src/path/string.js ***! 14381 \************************************************/ 14382/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14383 14384__webpack_require__.r(__webpack_exports__); 14385/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14386/* harmony export */ "default": () => (/* binding */ PathString) 14387/* harmony export */ }); 14388// Simple caching for constant-radius points. 14389let cacheDigits, cacheAppend, cacheRadius, cacheCircle; 14390 14391class PathString { 14392 constructor(digits) { 14393 this._append = digits == null ? append : appendRound(digits); 14394 this._radius = 4.5; 14395 this._ = ""; 14396 } 14397 pointRadius(_) { 14398 this._radius = +_; 14399 return this; 14400 } 14401 polygonStart() { 14402 this._line = 0; 14403 } 14404 polygonEnd() { 14405 this._line = NaN; 14406 } 14407 lineStart() { 14408 this._point = 0; 14409 } 14410 lineEnd() { 14411 if (this._line === 0) this._ += "Z"; 14412 this._point = NaN; 14413 } 14414 point(x, y) { 14415 switch (this._point) { 14416 case 0: { 14417 this._append`M${x},${y}`; 14418 this._point = 1; 14419 break; 14420 } 14421 case 1: { 14422 this._append`L${x},${y}`; 14423 break; 14424 } 14425 default: { 14426 this._append`M${x},${y}`; 14427 if (this._radius !== cacheRadius || this._append !== cacheAppend) { 14428 const r = this._radius; 14429 const s = this._; 14430 this._ = ""; // stash the old string so we can cache the circle path fragment 14431 this._append`m0,${r}a${r},${r} 0 1,1 0,${-2 * r}a${r},${r} 0 1,1 0,${2 * r}z`; 14432 cacheRadius = r; 14433 cacheAppend = this._append; 14434 cacheCircle = this._; 14435 this._ = s; 14436 } 14437 this._ += cacheCircle; 14438 break; 14439 } 14440 } 14441 } 14442 result() { 14443 const result = this._; 14444 this._ = ""; 14445 return result.length ? result : null; 14446 } 14447} 14448 14449function append(strings) { 14450 let i = 1; 14451 this._ += strings[0]; 14452 for (const j = strings.length; i < j; ++i) { 14453 this._ += arguments[i] + strings[i]; 14454 } 14455} 14456 14457function appendRound(digits) { 14458 const d = Math.floor(digits); 14459 if (!(d >= 0)) throw new RangeError(`invalid digits: ${digits}`); 14460 if (d > 15) return append; 14461 if (d !== cacheDigits) { 14462 const k = 10 ** d; 14463 cacheDigits = d; 14464 cacheAppend = function append(strings) { 14465 let i = 1; 14466 this._ += strings[0]; 14467 for (const j = strings.length; i < j; ++i) { 14468 this._ += Math.round(arguments[i] * k) / k + strings[i]; 14469 } 14470 }; 14471 } 14472 return cacheAppend; 14473} 14474 14475 14476/***/ }), 14477
vendor: 990 bytes, lines 14478-14497
14478/***/ "./node_modules/d3-geo/src/pointEqual.js": 14479/*!***********************************************!*\ 14480 !*** ./node_modules/d3-geo/src/pointEqual.js ***! 14481 \***********************************************/ 14482/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14483 14484__webpack_require__.r(__webpack_exports__); 14485/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14486/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14487/* harmony export */ }); 14488/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 14489 14490 14491/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 14492 return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(a[0] - b[0]) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon && (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(a[1] - b[1]) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 14493} 14494 14495 14496/***/ }), 14497
vendor: 5,090 bytes, lines 14498-14588
14498/***/ "./node_modules/d3-geo/src/polygonContains.js": 14499/*!****************************************************!*\ 14500 !*** ./node_modules/d3-geo/src/polygonContains.js ***! 14501 \****************************************************/ 14502/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14503 14504__webpack_require__.r(__webpack_exports__); 14505/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14506/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14507/* harmony export */ }); 14508/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/fsum.js"); 14509/* harmony import */ var _cartesian_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cartesian.js */ "./node_modules/d3-geo/src/cartesian.js"); 14510/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 14511 14512 14513 14514 14515function longitude(point) { 14516 return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(point[0]) <= _math_js__WEBPACK_IMPORTED_MODULE_0__.pi ? point[0] : (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(point[0]) * (((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(point[0]) + _math_js__WEBPACK_IMPORTED_MODULE_0__.pi) % _math_js__WEBPACK_IMPORTED_MODULE_0__.tau - _math_js__WEBPACK_IMPORTED_MODULE_0__.pi); 14517} 14518 14519/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(polygon, point) { 14520 var lambda = longitude(point), 14521 phi = point[1], 14522 sinPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(phi), 14523 normal = [(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(lambda), -(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(lambda), 0], 14524 angle = 0, 14525 winding = 0; 14526 14527 var sum = new d3_array__WEBPACK_IMPORTED_MODULE_1__.Adder(); 14528 14529 if (sinPhi === 1) phi = _math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi + _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 14530 else if (sinPhi === -1) phi = -_math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi - _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 14531 14532 for (var i = 0, n = polygon.length; i < n; ++i) { 14533 if (!(m = (ring = polygon[i]).length)) continue; 14534 var ring, 14535 m, 14536 point0 = ring[m - 1], 14537 lambda0 = longitude(point0), 14538 phi0 = point0[1] / 2 + _math_js__WEBPACK_IMPORTED_MODULE_0__.quarterPi, 14539 sinPhi0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(phi0), 14540 cosPhi0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(phi0); 14541 14542 for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) { 14543 var point1 = ring[j], 14544 lambda1 = longitude(point1), 14545 phi1 = point1[1] / 2 + _math_js__WEBPACK_IMPORTED_MODULE_0__.quarterPi, 14546 sinPhi1 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(phi1), 14547 cosPhi1 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(phi1), 14548 delta = lambda1 - lambda0, 14549 sign = delta >= 0 ? 1 : -1, 14550 absDelta = sign * delta, 14551 antimeridian = absDelta > _math_js__WEBPACK_IMPORTED_MODULE_0__.pi, 14552 k = sinPhi0 * sinPhi1; 14553 14554 sum.add((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(k * sign * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(absDelta), cosPhi0 * cosPhi1 + k * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(absDelta))); 14555 angle += antimeridian ? delta + sign * _math_js__WEBPACK_IMPORTED_MODULE_0__.tau : delta; 14556 14557 // Are the longitudes either side of the pointâs meridian (lambda), 14558 // and are the latitudes smaller than the parallel (phi)? 14559 if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) { 14560 var arc = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_2__.cartesianCross)((0,_cartesian_js__WEBPACK_IMPORTED_MODULE_2__.cartesian)(point0), (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_2__.cartesian)(point1)); 14561 (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_2__.cartesianNormalizeInPlace)(arc); 14562 var intersection = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_2__.cartesianCross)(normal, arc); 14563 (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_2__.cartesianNormalizeInPlace)(intersection); 14564 var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(intersection[2]); 14565 if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) { 14566 winding += antimeridian ^ delta >= 0 ? 1 : -1; 14567 } 14568 } 14569 } 14570 } 14571 14572 // First, determine whether the South pole is inside or outside: 14573 // 14574 // It is inside if: 14575 // * the polygon winds around it in a clockwise direction. 14576 // * the polygon does not (cumulatively) wind around it, but has a negative 14577 // (counter-clockwise) area. 14578 // 14579 // Second, count the (signed) number of times a segment crosses a lambda 14580 // from the point to the South pole. If it is zero, then the point is the 14581 // same side as the South pole. 14582 14583 return (angle < -_math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon || angle < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon && sum < -_math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon2) ^ (winding & 1); 14584} 14585 14586 14587/***/ }), 14588
vendor: 1,033 bytes, lines 14589-14613
14589/***/ "./node_modules/d3-geo/src/projection/albers.js": 14590/*!******************************************************!*\ 14591 !*** ./node_modules/d3-geo/src/projection/albers.js ***! 14592 \******************************************************/ 14593/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14594 14595__webpack_require__.r(__webpack_exports__); 14596/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14597/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14598/* harmony export */ }); 14599/* harmony import */ var _conicEqualArea_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./conicEqualArea.js */ "./node_modules/d3-geo/src/projection/conicEqualArea.js"); 14600 14601 14602/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 14603 return (0,_conicEqualArea_js__WEBPACK_IMPORTED_MODULE_0__["default"])() 14604 .parallels([29.5, 45.5]) 14605 .scale(1070) 14606 .translate([480, 250]) 14607 .rotate([96, 0]) 14608 .center([-0.6, 38.7]); 14609} 14610 14611 14612/***/ }), 14613
vendor: 5,911 bytes, lines 14614-14742
14614/***/ "./node_modules/d3-geo/src/projection/albersUsa.js": 14615/*!*********************************************************!*\ 14616 !*** ./node_modules/d3-geo/src/projection/albersUsa.js ***! 14617 \*********************************************************/ 14618/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14619 14620__webpack_require__.r(__webpack_exports__); 14621/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14622/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14623/* harmony export */ }); 14624/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14625/* harmony import */ var _albers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./albers.js */ "./node_modules/d3-geo/src/projection/albers.js"); 14626/* harmony import */ var _conicEqualArea_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./conicEqualArea.js */ "./node_modules/d3-geo/src/projection/conicEqualArea.js"); 14627/* harmony import */ var _fit_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fit.js */ "./node_modules/d3-geo/src/projection/fit.js"); 14628 14629 14630 14631 14632 14633// The projections must have mutually exclusive clip regions on the sphere, 14634// as this will avoid emitting interleaving lines and polygons. 14635function multiplex(streams) { 14636 var n = streams.length; 14637 return { 14638 point: function(x, y) { var i = -1; while (++i < n) streams[i].point(x, y); }, 14639 sphere: function() { var i = -1; while (++i < n) streams[i].sphere(); }, 14640 lineStart: function() { var i = -1; while (++i < n) streams[i].lineStart(); }, 14641 lineEnd: function() { var i = -1; while (++i < n) streams[i].lineEnd(); }, 14642 polygonStart: function() { var i = -1; while (++i < n) streams[i].polygonStart(); }, 14643 polygonEnd: function() { var i = -1; while (++i < n) streams[i].polygonEnd(); } 14644 }; 14645} 14646 14647// A composite projection for the United States, configured by default for 14648// 960Ã500. The projection also works quite well at 960Ã600 if you change the 14649// scale to 1285 and adjust the translate accordingly. The set of standard 14650// parallels for each region comes from USGS, which is published here: 14651// http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers 14652/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 14653 var cache, 14654 cacheStream, 14655 lower48 = (0,_albers_js__WEBPACK_IMPORTED_MODULE_0__["default"])(), lower48Point, 14656 alaska = (0,_conicEqualArea_js__WEBPACK_IMPORTED_MODULE_1__["default"])().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338 14657 hawaii = (0,_conicEqualArea_js__WEBPACK_IMPORTED_MODULE_1__["default"])().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007 14658 point, pointStream = {point: function(x, y) { point = [x, y]; }}; 14659 14660 function albersUsa(coordinates) { 14661 var x = coordinates[0], y = coordinates[1]; 14662 return point = null, 14663 (lower48Point.point(x, y), point) 14664 || (alaskaPoint.point(x, y), point) 14665 || (hawaiiPoint.point(x, y), point); 14666 } 14667 14668 albersUsa.invert = function(coordinates) { 14669 var k = lower48.scale(), 14670 t = lower48.translate(), 14671 x = (coordinates[0] - t[0]) / k, 14672 y = (coordinates[1] - t[1]) / k; 14673 return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska 14674 : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii 14675 : lower48).invert(coordinates); 14676 }; 14677 14678 albersUsa.stream = function(stream) { 14679 return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]); 14680 }; 14681 14682 albersUsa.precision = function(_) { 14683 if (!arguments.length) return lower48.precision(); 14684 lower48.precision(_), alaska.precision(_), hawaii.precision(_); 14685 return reset(); 14686 }; 14687 14688 albersUsa.scale = function(_) { 14689 if (!arguments.length) return lower48.scale(); 14690 lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_); 14691 return albersUsa.translate(lower48.translate()); 14692 }; 14693 14694 albersUsa.translate = function(_) { 14695 if (!arguments.length) return lower48.translate(); 14696 var k = lower48.scale(), x = +_[0], y = +_[1]; 14697 14698 lower48Point = lower48 14699 .translate(_) 14700 .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]]) 14701 .stream(pointStream); 14702 14703 alaskaPoint = alaska 14704 .translate([x - 0.307 * k, y + 0.201 * k]) 14705 .clipExtent([[x - 0.425 * k + _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon, y + 0.120 * k + _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon], [x - 0.214 * k - _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon, y + 0.234 * k - _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon]]) 14706 .stream(pointStream); 14707 14708 hawaiiPoint = hawaii 14709 .translate([x - 0.205 * k, y + 0.212 * k]) 14710 .clipExtent([[x - 0.214 * k + _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon, y + 0.166 * k + _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon], [x - 0.115 * k - _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon, y + 0.234 * k - _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon]]) 14711 .stream(pointStream); 14712 14713 return reset(); 14714 }; 14715 14716 albersUsa.fitExtent = function(extent, object) { 14717 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_3__.fitExtent)(albersUsa, extent, object); 14718 }; 14719 14720 albersUsa.fitSize = function(size, object) { 14721 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_3__.fitSize)(albersUsa, size, object); 14722 }; 14723 14724 albersUsa.fitWidth = function(width, object) { 14725 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_3__.fitWidth)(albersUsa, width, object); 14726 }; 14727 14728 albersUsa.fitHeight = function(height, object) { 14729 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_3__.fitHeight)(albersUsa, height, object); 14730 }; 14731 14732 function reset() { 14733 cache = cacheStream = null; 14734 return albersUsa; 14735 } 14736 14737 return albersUsa.scale(1070); 14738} 14739 14740 14741/***/ }), 14742
vendor: 1,637 bytes, lines 14743-14785
14743/***/ "./node_modules/d3-geo/src/projection/azimuthal.js": 14744/*!*********************************************************!*\ 14745 !*** ./node_modules/d3-geo/src/projection/azimuthal.js ***! 14746 \*********************************************************/ 14747/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14748 14749__webpack_require__.r(__webpack_exports__); 14750/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14751/* harmony export */ azimuthalInvert: () => (/* binding */ azimuthalInvert), 14752/* harmony export */ azimuthalRaw: () => (/* binding */ azimuthalRaw) 14753/* harmony export */ }); 14754/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14755 14756 14757function azimuthalRaw(scale) { 14758 return function(x, y) { 14759 var cx = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(x), 14760 cy = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y), 14761 k = scale(cx * cy); 14762 if (k === Infinity) return [2, 0]; 14763 return [ 14764 k * cy * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(x), 14765 k * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y) 14766 ]; 14767 } 14768} 14769 14770function azimuthalInvert(angle) { 14771 return function(x, y) { 14772 var z = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(x * x + y * y), 14773 c = angle(z), 14774 sc = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(c), 14775 cc = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(c); 14776 return [ 14777 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(x * sc, z * cc), 14778 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(z && y * sc / z) 14779 ]; 14780 } 14781} 14782 14783 14784/***/ }), 14785
vendor: 1,750 bytes, lines 14786-14820
14786/***/ "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js": 14787/*!******************************************************************!*\ 14788 !*** ./node_modules/d3-geo/src/projection/azimuthalEqualArea.js ***! 14789 \******************************************************************/ 14790/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14791 14792__webpack_require__.r(__webpack_exports__); 14793/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14794/* harmony export */ azimuthalEqualAreaRaw: () => (/* binding */ azimuthalEqualAreaRaw), 14795/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14796/* harmony export */ }); 14797/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14798/* harmony import */ var _azimuthal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./azimuthal.js */ "./node_modules/d3-geo/src/projection/azimuthal.js"); 14799/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 14800 14801 14802 14803 14804var azimuthalEqualAreaRaw = (0,_azimuthal_js__WEBPACK_IMPORTED_MODULE_0__.azimuthalRaw)(function(cxcy) { 14805 return (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sqrt)(2 / (1 + cxcy)); 14806}); 14807 14808azimuthalEqualAreaRaw.invert = (0,_azimuthal_js__WEBPACK_IMPORTED_MODULE_0__.azimuthalInvert)(function(z) { 14809 return 2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.asin)(z / 2); 14810}); 14811 14812/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 14813 return (0,_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(azimuthalEqualAreaRaw) 14814 .scale(124.75) 14815 .clipAngle(180 - 1e-3); 14816} 14817 14818 14819/***/ }), 14820
vendor: 1,759 bytes, lines 14821-14855
14821/***/ "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js": 14822/*!********************************************************************!*\ 14823 !*** ./node_modules/d3-geo/src/projection/azimuthalEquidistant.js ***! 14824 \********************************************************************/ 14825/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14826 14827__webpack_require__.r(__webpack_exports__); 14828/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14829/* harmony export */ azimuthalEquidistantRaw: () => (/* binding */ azimuthalEquidistantRaw), 14830/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14831/* harmony export */ }); 14832/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14833/* harmony import */ var _azimuthal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./azimuthal.js */ "./node_modules/d3-geo/src/projection/azimuthal.js"); 14834/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 14835 14836 14837 14838 14839var azimuthalEquidistantRaw = (0,_azimuthal_js__WEBPACK_IMPORTED_MODULE_0__.azimuthalRaw)(function(c) { 14840 return (c = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.acos)(c)) && c / (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(c); 14841}); 14842 14843azimuthalEquidistantRaw.invert = (0,_azimuthal_js__WEBPACK_IMPORTED_MODULE_0__.azimuthalInvert)(function(z) { 14844 return z; 14845}); 14846 14847/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 14848 return (0,_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(azimuthalEquidistantRaw) 14849 .scale(79.4188) 14850 .clipAngle(180 - 1e-3); 14851} 14852 14853 14854/***/ }), 14855
vendor: 1,386 bytes, lines 14856-14886
14856/***/ "./node_modules/d3-geo/src/projection/conic.js": 14857/*!*****************************************************!*\ 14858 !*** ./node_modules/d3-geo/src/projection/conic.js ***! 14859 \*****************************************************/ 14860/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14861 14862__webpack_require__.r(__webpack_exports__); 14863/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14864/* harmony export */ conicProjection: () => (/* binding */ conicProjection) 14865/* harmony export */ }); 14866/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14867/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 14868 14869 14870 14871function conicProjection(projectAt) { 14872 var phi0 = 0, 14873 phi1 = _math_js__WEBPACK_IMPORTED_MODULE_0__.pi / 3, 14874 m = (0,_index_js__WEBPACK_IMPORTED_MODULE_1__.projectionMutator)(projectAt), 14875 p = m(phi0, phi1); 14876 14877 p.parallels = function(_) { 14878 return arguments.length ? m(phi0 = _[0] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, phi1 = _[1] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians) : [phi0 * _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees, phi1 * _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees]; 14879 }; 14880 14881 return p; 14882} 14883 14884 14885/***/ }), 14886
vendor: 3,394 bytes, lines 14887-14942
14887/***/ "./node_modules/d3-geo/src/projection/conicConformal.js": 14888/*!**************************************************************!*\ 14889 !*** ./node_modules/d3-geo/src/projection/conicConformal.js ***! 14890 \**************************************************************/ 14891/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14892 14893__webpack_require__.r(__webpack_exports__); 14894/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14895/* harmony export */ conicConformalRaw: () => (/* binding */ conicConformalRaw), 14896/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14897/* harmony export */ }); 14898/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14899/* harmony import */ var _conic_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./conic.js */ "./node_modules/d3-geo/src/projection/conic.js"); 14900/* harmony import */ var _mercator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mercator.js */ "./node_modules/d3-geo/src/projection/mercator.js"); 14901 14902 14903 14904 14905function tany(y) { 14906 return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tan)((_math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi + y) / 2); 14907} 14908 14909function conicConformalRaw(y0, y1) { 14910 var cy0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y0), 14911 n = y0 === y1 ? (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y0) : (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.log)(cy0 / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y1)) / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.log)(tany(y1) / tany(y0)), 14912 f = cy0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.pow)(tany(y0), n) / n; 14913 14914 if (!n) return _mercator_js__WEBPACK_IMPORTED_MODULE_1__.mercatorRaw; 14915 14916 function project(x, y) { 14917 if (f > 0) { if (y < -_math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi + _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) y = -_math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi + _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; } 14918 else { if (y > _math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi - _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) y = _math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi - _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; } 14919 var r = f / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.pow)(tany(y), n); 14920 return [r * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(n * x), f - r * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(n * x)]; 14921 } 14922 14923 project.invert = function(x, y) { 14924 var fy = f - y, r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(n) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(x * x + fy * fy), 14925 l = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(x, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(fy)) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(fy); 14926 if (fy * n < 0) 14927 l -= _math_js__WEBPACK_IMPORTED_MODULE_0__.pi * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(x) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(fy); 14928 return [l / n, 2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.pow)(f / r, 1 / n)) - _math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi]; 14929 }; 14930 14931 return project; 14932} 14933 14934/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 14935 return (0,_conic_js__WEBPACK_IMPORTED_MODULE_2__.conicProjection)(conicConformalRaw) 14936 .scale(109.5) 14937 .parallels([30, 30]); 14938} 14939 14940 14941/***/ }), 14942
vendor: 2,751 bytes, lines 14943-14993
14943/***/ "./node_modules/d3-geo/src/projection/conicEqualArea.js": 14944/*!**************************************************************!*\ 14945 !*** ./node_modules/d3-geo/src/projection/conicEqualArea.js ***! 14946 \**************************************************************/ 14947/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14948 14949__webpack_require__.r(__webpack_exports__); 14950/* harmony export */ __webpack_require__.d(__webpack_exports__, { 14951/* harmony export */ conicEqualAreaRaw: () => (/* binding */ conicEqualAreaRaw), 14952/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 14953/* harmony export */ }); 14954/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 14955/* harmony import */ var _conic_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./conic.js */ "./node_modules/d3-geo/src/projection/conic.js"); 14956/* harmony import */ var _cylindricalEqualArea_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cylindricalEqualArea.js */ "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js"); 14957 14958 14959 14960 14961function conicEqualAreaRaw(y0, y1) { 14962 var sy0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y0), n = (sy0 + (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y1)) / 2; 14963 14964 // Are the parallels symmetrical around the Equator? 14965 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(n) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) return (0,_cylindricalEqualArea_js__WEBPACK_IMPORTED_MODULE_1__.cylindricalEqualAreaRaw)(y0); 14966 14967 var c = 1 + sy0 * (2 * n - sy0), r0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(c) / n; 14968 14969 function project(x, y) { 14970 var r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(c - 2 * n * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y)) / n; 14971 return [r * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(x *= n), r0 - r * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(x)]; 14972 } 14973 14974 project.invert = function(x, y) { 14975 var r0y = r0 - y, 14976 l = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(x, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(r0y)) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(r0y); 14977 if (r0y * n < 0) 14978 l -= _math_js__WEBPACK_IMPORTED_MODULE_0__.pi * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(x) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(r0y); 14979 return [l / n, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)((c - (x * x + r0y * r0y) * n * n) / (2 * n))]; 14980 }; 14981 14982 return project; 14983} 14984 14985/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 14986 return (0,_conic_js__WEBPACK_IMPORTED_MODULE_2__.conicProjection)(conicEqualAreaRaw) 14987 .scale(155.424) 14988 .center([0, 33.6442]); 14989} 14990 14991 14992/***/ }), 14993
vendor: 2,611 bytes, lines 14994-15043
14994/***/ "./node_modules/d3-geo/src/projection/conicEquidistant.js": 14995/*!****************************************************************!*\ 14996 !*** ./node_modules/d3-geo/src/projection/conicEquidistant.js ***! 14997 \****************************************************************/ 14998/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 14999 15000__webpack_require__.r(__webpack_exports__); 15001/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15002/* harmony export */ conicEquidistantRaw: () => (/* binding */ conicEquidistantRaw), 15003/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 15004/* harmony export */ }); 15005/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15006/* harmony import */ var _conic_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./conic.js */ "./node_modules/d3-geo/src/projection/conic.js"); 15007/* harmony import */ var _equirectangular_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./equirectangular.js */ "./node_modules/d3-geo/src/projection/equirectangular.js"); 15008 15009 15010 15011 15012function conicEquidistantRaw(y0, y1) { 15013 var cy0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y0), 15014 n = y0 === y1 ? (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y0) : (cy0 - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y1)) / (y1 - y0), 15015 g = cy0 / n + y0; 15016 15017 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(n) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) return _equirectangular_js__WEBPACK_IMPORTED_MODULE_1__.equirectangularRaw; 15018 15019 function project(x, y) { 15020 var gy = g - y, nx = n * x; 15021 return [gy * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(nx), g - gy * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(nx)]; 15022 } 15023 15024 project.invert = function(x, y) { 15025 var gy = g - y, 15026 l = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(x, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(gy)) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(gy); 15027 if (gy * n < 0) 15028 l -= _math_js__WEBPACK_IMPORTED_MODULE_0__.pi * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(x) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(gy); 15029 return [l / n, g - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sign)(n) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(x * x + gy * gy)]; 15030 }; 15031 15032 return project; 15033} 15034 15035/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15036 return (0,_conic_js__WEBPACK_IMPORTED_MODULE_2__.conicProjection)(conicEquidistantRaw) 15037 .scale(131.154) 15038 .center([0, 13.9389]); 15039} 15040 15041 15042/***/ }), 15043
vendor: 1,161 bytes, lines 15044-15073
15044/***/ "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js": 15045/*!********************************************************************!*\ 15046 !*** ./node_modules/d3-geo/src/projection/cylindricalEqualArea.js ***! 15047 \********************************************************************/ 15048/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15049 15050__webpack_require__.r(__webpack_exports__); 15051/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15052/* harmony export */ cylindricalEqualAreaRaw: () => (/* binding */ cylindricalEqualAreaRaw) 15053/* harmony export */ }); 15054/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15055 15056 15057function cylindricalEqualAreaRaw(phi0) { 15058 var cosPhi0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(phi0); 15059 15060 function forward(lambda, phi) { 15061 return [lambda * cosPhi0, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(phi) / cosPhi0]; 15062 } 15063 15064 forward.invert = function(x, y) { 15065 return [x / cosPhi0, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(y * cosPhi0)]; 15066 }; 15067 15068 return forward; 15069} 15070 15071 15072/***/ }), 15073
vendor: 2,336 bytes, lines 15074-15126
15074/***/ "./node_modules/d3-geo/src/projection/equalEarth.js": 15075/*!**********************************************************!*\ 15076 !*** ./node_modules/d3-geo/src/projection/equalEarth.js ***! 15077 \**********************************************************/ 15078/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15079 15080__webpack_require__.r(__webpack_exports__); 15081/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15082/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15083/* harmony export */ equalEarthRaw: () => (/* binding */ equalEarthRaw) 15084/* harmony export */ }); 15085/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 15086/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15087 15088 15089 15090var A1 = 1.340264, 15091 A2 = -0.081106, 15092 A3 = 0.000893, 15093 A4 = 0.003796, 15094 M = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3) / 2, 15095 iterations = 12; 15096 15097function equalEarthRaw(lambda, phi) { 15098 var l = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(M * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(phi)), l2 = l * l, l6 = l2 * l2 * l2; 15099 return [ 15100 lambda * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(l) / (M * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2))), 15101 l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2)) 15102 ]; 15103} 15104 15105equalEarthRaw.invert = function(x, y) { 15106 var l = y, l2 = l * l, l6 = l2 * l2 * l2; 15107 for (var i = 0, delta, fy, fpy; i < iterations; ++i) { 15108 fy = l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2)) - y; 15109 fpy = A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2); 15110 l -= delta = fy / fpy, l2 = l * l, l6 = l2 * l2 * l2; 15111 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(delta) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon2) break; 15112 } 15113 return [ 15114 M * x * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2)) / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(l), 15115 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(l) / M) 15116 ]; 15117}; 15118 15119/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15120 return (0,_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(equalEarthRaw) 15121 .scale(177.158); 15122} 15123 15124 15125/***/ }), 15126
vendor: 1,146 bytes, lines 15127-15154
15127/***/ "./node_modules/d3-geo/src/projection/equirectangular.js": 15128/*!***************************************************************!*\ 15129 !*** ./node_modules/d3-geo/src/projection/equirectangular.js ***! 15130 \***************************************************************/ 15131/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15132 15133__webpack_require__.r(__webpack_exports__); 15134/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15135/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15136/* harmony export */ equirectangularRaw: () => (/* binding */ equirectangularRaw) 15137/* harmony export */ }); 15138/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 15139 15140 15141function equirectangularRaw(lambda, phi) { 15142 return [lambda, phi]; 15143} 15144 15145equirectangularRaw.invert = equirectangularRaw; 15146 15147/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15148 return (0,_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(equirectangularRaw) 15149 .scale(152.63); 15150} 15151 15152 15153/***/ }), 15154
vendor: 2,636 bytes, lines 15155-15220
15155/***/ "./node_modules/d3-geo/src/projection/fit.js": 15156/*!***************************************************!*\ 15157 !*** ./node_modules/d3-geo/src/projection/fit.js ***! 15158 \***************************************************/ 15159/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15160 15161__webpack_require__.r(__webpack_exports__); 15162/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15163/* harmony export */ fitExtent: () => (/* binding */ fitExtent), 15164/* harmony export */ fitHeight: () => (/* binding */ fitHeight), 15165/* harmony export */ fitSize: () => (/* binding */ fitSize), 15166/* harmony export */ fitWidth: () => (/* binding */ fitWidth) 15167/* harmony export */ }); 15168/* harmony import */ var _stream_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../stream.js */ "./node_modules/d3-geo/src/stream.js"); 15169/* harmony import */ var _path_bounds_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../path/bounds.js */ "./node_modules/d3-geo/src/path/bounds.js"); 15170 15171 15172 15173function fit(projection, fitBounds, object) { 15174 var clip = projection.clipExtent && projection.clipExtent(); 15175 projection.scale(150).translate([0, 0]); 15176 if (clip != null) projection.clipExtent(null); 15177 (0,_stream_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, projection.stream(_path_bounds_js__WEBPACK_IMPORTED_MODULE_1__["default"])); 15178 fitBounds(_path_bounds_js__WEBPACK_IMPORTED_MODULE_1__["default"].result()); 15179 if (clip != null) projection.clipExtent(clip); 15180 return projection; 15181} 15182 15183function fitExtent(projection, extent, object) { 15184 return fit(projection, function(b) { 15185 var w = extent[1][0] - extent[0][0], 15186 h = extent[1][1] - extent[0][1], 15187 k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), 15188 x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2, 15189 y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2; 15190 projection.scale(150 * k).translate([x, y]); 15191 }, object); 15192} 15193 15194function fitSize(projection, size, object) { 15195 return fitExtent(projection, [[0, 0], size], object); 15196} 15197 15198function fitWidth(projection, width, object) { 15199 return fit(projection, function(b) { 15200 var w = +width, 15201 k = w / (b[1][0] - b[0][0]), 15202 x = (w - k * (b[1][0] + b[0][0])) / 2, 15203 y = -k * b[0][1]; 15204 projection.scale(150 * k).translate([x, y]); 15205 }, object); 15206} 15207 15208function fitHeight(projection, height, object) { 15209 return fit(projection, function(b) { 15210 var h = +height, 15211 k = h / (b[1][1] - b[0][1]), 15212 x = -k * b[0][0], 15213 y = (h - k * (b[1][1] + b[0][1])) / 2; 15214 projection.scale(150 * k).translate([x, y]); 15215 }, object); 15216} 15217 15218 15219/***/ }), 15220
vendor: 1,715 bytes, lines 15221-15254
15221/***/ "./node_modules/d3-geo/src/projection/gnomonic.js": 15222/*!********************************************************!*\ 15223 !*** ./node_modules/d3-geo/src/projection/gnomonic.js ***! 15224 \********************************************************/ 15225/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15226 15227__webpack_require__.r(__webpack_exports__); 15228/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15229/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15230/* harmony export */ gnomonicRaw: () => (/* binding */ gnomonicRaw) 15231/* harmony export */ }); 15232/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15233/* harmony import */ var _azimuthal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./azimuthal.js */ "./node_modules/d3-geo/src/projection/azimuthal.js"); 15234/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 15235 15236 15237 15238 15239function gnomonicRaw(x, y) { 15240 var cy = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y), k = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(x) * cy; 15241 return [cy * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(x) / k, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y) / k]; 15242} 15243 15244gnomonicRaw.invert = (0,_azimuthal_js__WEBPACK_IMPORTED_MODULE_1__.azimuthalInvert)(_math_js__WEBPACK_IMPORTED_MODULE_0__.atan); 15245 15246/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15247 return (0,_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(gnomonicRaw) 15248 .scale(144.049) 15249 .clipAngle(60); 15250} 15251 15252 15253/***/ }), 15254
vendor: 4,430 bytes, lines 15255-15358
15255/***/ "./node_modules/d3-geo/src/projection/identity.js": 15256/*!********************************************************!*\ 15257 !*** ./node_modules/d3-geo/src/projection/identity.js ***! 15258 \********************************************************/ 15259/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15260 15261__webpack_require__.r(__webpack_exports__); 15262/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15263/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 15264/* harmony export */ }); 15265/* harmony import */ var _clip_rectangle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../clip/rectangle.js */ "./node_modules/d3-geo/src/clip/rectangle.js"); 15266/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../identity.js */ "./node_modules/d3-geo/src/identity.js"); 15267/* harmony import */ var _transform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../transform.js */ "./node_modules/d3-geo/src/transform.js"); 15268/* harmony import */ var _fit_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fit.js */ "./node_modules/d3-geo/src/projection/fit.js"); 15269/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15270 15271 15272 15273 15274 15275 15276/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15277 var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, // scale, translate and reflect 15278 alpha = 0, ca, sa, // angle 15279 x0 = null, y0, x1, y1, // clip extent 15280 kx = 1, ky = 1, 15281 transform = (0,_transform_js__WEBPACK_IMPORTED_MODULE_0__.transformer)({ 15282 point: function(x, y) { 15283 var p = projection([x, y]) 15284 this.stream.point(p[0], p[1]); 15285 } 15286 }), 15287 postclip = _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], 15288 cache, 15289 cacheStream; 15290 15291 function reset() { 15292 kx = k * sx; 15293 ky = k * sy; 15294 cache = cacheStream = null; 15295 return projection; 15296 } 15297 15298 function projection (p) { 15299 var x = p[0] * kx, y = p[1] * ky; 15300 if (alpha) { 15301 var t = y * ca - x * sa; 15302 x = x * ca + y * sa; 15303 y = t; 15304 } 15305 return [x + tx, y + ty]; 15306 } 15307 projection.invert = function(p) { 15308 var x = p[0] - tx, y = p[1] - ty; 15309 if (alpha) { 15310 var t = y * ca + x * sa; 15311 x = x * ca - y * sa; 15312 y = t; 15313 } 15314 return [x / kx, y / ky]; 15315 }; 15316 projection.stream = function(stream) { 15317 return cache && cacheStream === stream ? cache : cache = transform(postclip(cacheStream = stream)); 15318 }; 15319 projection.postclip = function(_) { 15320 return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip; 15321 }; 15322 projection.clipExtent = function(_) { 15323 return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]) : (0,_clip_rectangle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]]; 15324 }; 15325 projection.scale = function(_) { 15326 return arguments.length ? (k = +_, reset()) : k; 15327 }; 15328 projection.translate = function(_) { 15329 return arguments.length ? (tx = +_[0], ty = +_[1], reset()) : [tx, ty]; 15330 } 15331 projection.angle = function(_) { 15332 return arguments.length ? (alpha = _ % 360 * _math_js__WEBPACK_IMPORTED_MODULE_3__.radians, sa = (0,_math_js__WEBPACK_IMPORTED_MODULE_3__.sin)(alpha), ca = (0,_math_js__WEBPACK_IMPORTED_MODULE_3__.cos)(alpha), reset()) : alpha * _math_js__WEBPACK_IMPORTED_MODULE_3__.degrees; 15333 }; 15334 projection.reflectX = function(_) { 15335 return arguments.length ? (sx = _ ? -1 : 1, reset()) : sx < 0; 15336 }; 15337 projection.reflectY = function(_) { 15338 return arguments.length ? (sy = _ ? -1 : 1, reset()) : sy < 0; 15339 }; 15340 projection.fitExtent = function(extent, object) { 15341 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_4__.fitExtent)(projection, extent, object); 15342 }; 15343 projection.fitSize = function(size, object) { 15344 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_4__.fitSize)(projection, size, object); 15345 }; 15346 projection.fitWidth = function(width, object) { 15347 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_4__.fitWidth)(projection, width, object); 15348 }; 15349 projection.fitHeight = function(height, object) { 15350 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_4__.fitHeight)(projection, height, object); 15351 }; 15352 15353 return projection; 15354} 15355 15356 15357/***/ }), 15358
vendor: 9,233 bytes, lines 15359-15560
15359/***/ "./node_modules/d3-geo/src/projection/index.js": 15360/*!*****************************************************!*\ 15361 !*** ./node_modules/d3-geo/src/projection/index.js ***! 15362 \*****************************************************/ 15363/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15364 15365__webpack_require__.r(__webpack_exports__); 15366/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15367/* harmony export */ "default": () => (/* binding */ projection), 15368/* harmony export */ projectionMutator: () => (/* binding */ projectionMutator) 15369/* harmony export */ }); 15370/* harmony import */ var _clip_antimeridian_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../clip/antimeridian.js */ "./node_modules/d3-geo/src/clip/antimeridian.js"); 15371/* harmony import */ var _clip_circle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../clip/circle.js */ "./node_modules/d3-geo/src/clip/circle.js"); 15372/* harmony import */ var _clip_rectangle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../clip/rectangle.js */ "./node_modules/d3-geo/src/clip/rectangle.js"); 15373/* harmony import */ var _compose_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../compose.js */ "./node_modules/d3-geo/src/compose.js"); 15374/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../identity.js */ "./node_modules/d3-geo/src/identity.js"); 15375/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15376/* harmony import */ var _rotation_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../rotation.js */ "./node_modules/d3-geo/src/rotation.js"); 15377/* harmony import */ var _transform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../transform.js */ "./node_modules/d3-geo/src/transform.js"); 15378/* harmony import */ var _fit_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./fit.js */ "./node_modules/d3-geo/src/projection/fit.js"); 15379/* harmony import */ var _resample_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./resample.js */ "./node_modules/d3-geo/src/projection/resample.js"); 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391var transformRadians = (0,_transform_js__WEBPACK_IMPORTED_MODULE_0__.transformer)({ 15392 point: function(x, y) { 15393 this.stream.point(x * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, y * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians); 15394 } 15395}); 15396 15397function transformRotate(rotate) { 15398 return (0,_transform_js__WEBPACK_IMPORTED_MODULE_0__.transformer)({ 15399 point: function(x, y) { 15400 var r = rotate(x, y); 15401 return this.stream.point(r[0], r[1]); 15402 } 15403 }); 15404} 15405 15406function scaleTranslate(k, dx, dy, sx, sy) { 15407 function transform(x, y) { 15408 x *= sx; y *= sy; 15409 return [dx + k * x, dy - k * y]; 15410 } 15411 transform.invert = function(x, y) { 15412 return [(x - dx) / k * sx, (dy - y) / k * sy]; 15413 }; 15414 return transform; 15415} 15416 15417function scaleTranslateRotate(k, dx, dy, sx, sy, alpha) { 15418 if (!alpha) return scaleTranslate(k, dx, dy, sx, sy); 15419 var cosAlpha = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.cos)(alpha), 15420 sinAlpha = (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sin)(alpha), 15421 a = cosAlpha * k, 15422 b = sinAlpha * k, 15423 ai = cosAlpha / k, 15424 bi = sinAlpha / k, 15425 ci = (sinAlpha * dy - cosAlpha * dx) / k, 15426 fi = (sinAlpha * dx + cosAlpha * dy) / k; 15427 function transform(x, y) { 15428 x *= sx; y *= sy; 15429 return [a * x - b * y + dx, dy - b * x - a * y]; 15430 } 15431 transform.invert = function(x, y) { 15432 return [sx * (ai * x - bi * y + ci), sy * (fi - bi * x - ai * y)]; 15433 }; 15434 return transform; 15435} 15436 15437function projection(project) { 15438 return projectionMutator(function() { return project; })(); 15439} 15440 15441function projectionMutator(projectAt) { 15442 var project, 15443 k = 150, // scale 15444 x = 480, y = 250, // translate 15445 lambda = 0, phi = 0, // center 15446 deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, // pre-rotate 15447 alpha = 0, // post-rotate angle 15448 sx = 1, // reflectX 15449 sy = 1, // reflectX 15450 theta = null, preclip = _clip_antimeridian_js__WEBPACK_IMPORTED_MODULE_2__["default"], // pre-clip angle 15451 x0 = null, y0, x1, y1, postclip = _identity_js__WEBPACK_IMPORTED_MODULE_3__["default"], // post-clip extent 15452 delta2 = 0.5, // precision 15453 projectResample, 15454 projectTransform, 15455 projectRotateTransform, 15456 cache, 15457 cacheStream; 15458 15459 function projection(point) { 15460 return projectRotateTransform(point[0] * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, point[1] * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians); 15461 } 15462 15463 function invert(point) { 15464 point = projectRotateTransform.invert(point[0], point[1]); 15465 return point && [point[0] * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees, point[1] * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees]; 15466 } 15467 15468 projection.stream = function(stream) { 15469 return cache && cacheStream === stream ? cache : cache = transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream = stream))))); 15470 }; 15471 15472 projection.preclip = function(_) { 15473 return arguments.length ? (preclip = _, theta = undefined, reset()) : preclip; 15474 }; 15475 15476 projection.postclip = function(_) { 15477 return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip; 15478 }; 15479 15480 projection.clipAngle = function(_) { 15481 return arguments.length ? (preclip = +_ ? (0,_clip_circle_js__WEBPACK_IMPORTED_MODULE_4__["default"])(theta = _ * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians) : (theta = null, _clip_antimeridian_js__WEBPACK_IMPORTED_MODULE_2__["default"]), reset()) : theta * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees; 15482 }; 15483 15484 projection.clipExtent = function(_) { 15485 return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, _identity_js__WEBPACK_IMPORTED_MODULE_3__["default"]) : (0,_clip_rectangle_js__WEBPACK_IMPORTED_MODULE_5__["default"])(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]]; 15486 }; 15487 15488 projection.scale = function(_) { 15489 return arguments.length ? (k = +_, recenter()) : k; 15490 }; 15491 15492 projection.translate = function(_) { 15493 return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y]; 15494 }; 15495 15496 projection.center = function(_) { 15497 return arguments.length ? (lambda = _[0] % 360 * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, phi = _[1] % 360 * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, recenter()) : [lambda * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees, phi * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees]; 15498 }; 15499 15500 projection.rotate = function(_) { 15501 return arguments.length ? (deltaLambda = _[0] % 360 * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, deltaPhi = _[1] % 360 * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, deltaGamma = _.length > 2 ? _[2] % 360 * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians : 0, recenter()) : [deltaLambda * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees, deltaPhi * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees, deltaGamma * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees]; 15502 }; 15503 15504 projection.angle = function(_) { 15505 return arguments.length ? (alpha = _ % 360 * _math_js__WEBPACK_IMPORTED_MODULE_1__.radians, recenter()) : alpha * _math_js__WEBPACK_IMPORTED_MODULE_1__.degrees; 15506 }; 15507 15508 projection.reflectX = function(_) { 15509 return arguments.length ? (sx = _ ? -1 : 1, recenter()) : sx < 0; 15510 }; 15511 15512 projection.reflectY = function(_) { 15513 return arguments.length ? (sy = _ ? -1 : 1, recenter()) : sy < 0; 15514 }; 15515 15516 projection.precision = function(_) { 15517 return arguments.length ? (projectResample = (0,_resample_js__WEBPACK_IMPORTED_MODULE_6__["default"])(projectTransform, delta2 = _ * _), reset()) : (0,_math_js__WEBPACK_IMPORTED_MODULE_1__.sqrt)(delta2); 15518 }; 15519 15520 projection.fitExtent = function(extent, object) { 15521 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_7__.fitExtent)(projection, extent, object); 15522 }; 15523 15524 projection.fitSize = function(size, object) { 15525 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_7__.fitSize)(projection, size, object); 15526 }; 15527 15528 projection.fitWidth = function(width, object) { 15529 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_7__.fitWidth)(projection, width, object); 15530 }; 15531 15532 projection.fitHeight = function(height, object) { 15533 return (0,_fit_js__WEBPACK_IMPORTED_MODULE_7__.fitHeight)(projection, height, object); 15534 }; 15535 15536 function recenter() { 15537 var center = scaleTranslateRotate(k, 0, 0, sx, sy, alpha).apply(null, project(lambda, phi)), 15538 transform = scaleTranslateRotate(k, x - center[0], y - center[1], sx, sy, alpha); 15539 rotate = (0,_rotation_js__WEBPACK_IMPORTED_MODULE_8__.rotateRadians)(deltaLambda, deltaPhi, deltaGamma); 15540 projectTransform = (0,_compose_js__WEBPACK_IMPORTED_MODULE_9__["default"])(project, transform); 15541 projectRotateTransform = (0,_compose_js__WEBPACK_IMPORTED_MODULE_9__["default"])(rotate, projectTransform); 15542 projectResample = (0,_resample_js__WEBPACK_IMPORTED_MODULE_6__["default"])(projectTransform, delta2); 15543 return reset(); 15544 } 15545 15546 function reset() { 15547 cache = cacheStream = null; 15548 return projection; 15549 } 15550 15551 return function() { 15552 project = projectAt.apply(this, arguments); 15553 projection.invert = project.invert && invert; 15554 return recenter(); 15555 }; 15556} 15557 15558 15559/***/ }), 15560
vendor: 3,043 bytes, lines 15561-15631
15561/***/ "./node_modules/d3-geo/src/projection/mercator.js": 15562/*!********************************************************!*\ 15563 !*** ./node_modules/d3-geo/src/projection/mercator.js ***! 15564 \********************************************************/ 15565/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15566 15567__webpack_require__.r(__webpack_exports__); 15568/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15569/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15570/* harmony export */ mercatorProjection: () => (/* binding */ mercatorProjection), 15571/* harmony export */ mercatorRaw: () => (/* binding */ mercatorRaw) 15572/* harmony export */ }); 15573/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15574/* harmony import */ var _rotation_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../rotation.js */ "./node_modules/d3-geo/src/rotation.js"); 15575/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 15576 15577 15578 15579 15580function mercatorRaw(lambda, phi) { 15581 return [lambda, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.log)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tan)((_math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi + phi) / 2))]; 15582} 15583 15584mercatorRaw.invert = function(x, y) { 15585 return [x, 2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.exp)(y)) - _math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi]; 15586}; 15587 15588/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15589 return mercatorProjection(mercatorRaw) 15590 .scale(961 / _math_js__WEBPACK_IMPORTED_MODULE_0__.tau); 15591} 15592 15593function mercatorProjection(project) { 15594 var m = (0,_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(project), 15595 center = m.center, 15596 scale = m.scale, 15597 translate = m.translate, 15598 clipExtent = m.clipExtent, 15599 x0 = null, y0, x1, y1; // clip extent 15600 15601 m.scale = function(_) { 15602 return arguments.length ? (scale(_), reclip()) : scale(); 15603 }; 15604 15605 m.translate = function(_) { 15606 return arguments.length ? (translate(_), reclip()) : translate(); 15607 }; 15608 15609 m.center = function(_) { 15610 return arguments.length ? (center(_), reclip()) : center(); 15611 }; 15612 15613 m.clipExtent = function(_) { 15614 return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]]; 15615 }; 15616 15617 function reclip() { 15618 var k = _math_js__WEBPACK_IMPORTED_MODULE_0__.pi * scale(), 15619 t = m((0,_rotation_js__WEBPACK_IMPORTED_MODULE_2__["default"])(m.rotate()).invert([0, 0])); 15620 return clipExtent(x0 == null 15621 ? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw 15622 ? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]] 15623 : [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]); 15624 } 15625 15626 return reclip(); 15627} 15628 15629 15630/***/ }), 15631
vendor: 2,105 bytes, lines 15632-15676
15632/***/ "./node_modules/d3-geo/src/projection/naturalEarth1.js": 15633/*!*************************************************************!*\ 15634 !*** ./node_modules/d3-geo/src/projection/naturalEarth1.js ***! 15635 \*************************************************************/ 15636/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15637 15638__webpack_require__.r(__webpack_exports__); 15639/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15640/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15641/* harmony export */ naturalEarth1Raw: () => (/* binding */ naturalEarth1Raw) 15642/* harmony export */ }); 15643/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 15644/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15645 15646 15647 15648function naturalEarth1Raw(lambda, phi) { 15649 var phi2 = phi * phi, phi4 = phi2 * phi2; 15650 return [ 15651 lambda * (0.8707 - 0.131979 * phi2 + phi4 * (-0.013791 + phi4 * (0.003971 * phi2 - 0.001529 * phi4))), 15652 phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) 15653 ]; 15654} 15655 15656naturalEarth1Raw.invert = function(x, y) { 15657 var phi = y, i = 25, delta; 15658 do { 15659 var phi2 = phi * phi, phi4 = phi2 * phi2; 15660 phi -= delta = (phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) - y) / 15661 (1.007226 + phi2 * (0.015085 * 3 + phi4 * (-0.044475 * 7 + 0.028874 * 9 * phi2 - 0.005916 * 11 * phi4))); 15662 } while ((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(delta) > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon && --i > 0); 15663 return [ 15664 x / (0.8707 + (phi2 = phi * phi) * (-0.131979 + phi2 * (-0.013791 + phi2 * phi2 * phi2 * (0.003971 - 0.001529 * phi2)))), 15665 phi 15666 ]; 15667}; 15668 15669/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15670 return (0,_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(naturalEarth1Raw) 15671 .scale(175.295); 15672} 15673 15674 15675/***/ }), 15676
vendor: 1,715 bytes, lines 15677-15709
15677/***/ "./node_modules/d3-geo/src/projection/orthographic.js": 15678/*!************************************************************!*\ 15679 !*** ./node_modules/d3-geo/src/projection/orthographic.js ***! 15680 \************************************************************/ 15681/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15682 15683__webpack_require__.r(__webpack_exports__); 15684/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15685/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15686/* harmony export */ orthographicRaw: () => (/* binding */ orthographicRaw) 15687/* harmony export */ }); 15688/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15689/* harmony import */ var _azimuthal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./azimuthal.js */ "./node_modules/d3-geo/src/projection/azimuthal.js"); 15690/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 15691 15692 15693 15694 15695function orthographicRaw(x, y) { 15696 return [(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(x), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y)]; 15697} 15698 15699orthographicRaw.invert = (0,_azimuthal_js__WEBPACK_IMPORTED_MODULE_1__.azimuthalInvert)(_math_js__WEBPACK_IMPORTED_MODULE_0__.asin); 15700 15701/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15702 return (0,_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(orthographicRaw) 15703 .scale(249.5) 15704 .clipAngle(90 + _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon); 15705} 15706 15707 15708/***/ }), 15709
vendor: 4,745 bytes, lines 15710-15828
15710/***/ "./node_modules/d3-geo/src/projection/resample.js": 15711/*!********************************************************!*\ 15712 !*** ./node_modules/d3-geo/src/projection/resample.js ***! 15713 \********************************************************/ 15714/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15715 15716__webpack_require__.r(__webpack_exports__); 15717/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15718/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 15719/* harmony export */ }); 15720/* harmony import */ var _cartesian_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../cartesian.js */ "./node_modules/d3-geo/src/cartesian.js"); 15721/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15722/* harmony import */ var _transform_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../transform.js */ "./node_modules/d3-geo/src/transform.js"); 15723 15724 15725 15726 15727var maxDepth = 16, // maximum depth of subdivision 15728 cosMinDistance = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(30 * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians); // cos(minimum angular distance) 15729 15730/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(project, delta2) { 15731 return +delta2 ? resample(project, delta2) : resampleNone(project); 15732} 15733 15734function resampleNone(project) { 15735 return (0,_transform_js__WEBPACK_IMPORTED_MODULE_1__.transformer)({ 15736 point: function(x, y) { 15737 x = project(x, y); 15738 this.stream.point(x[0], x[1]); 15739 } 15740 }); 15741} 15742 15743function resample(project, delta2) { 15744 15745 function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) { 15746 var dx = x1 - x0, 15747 dy = y1 - y0, 15748 d2 = dx * dx + dy * dy; 15749 if (d2 > 4 * delta2 && depth--) { 15750 var a = a0 + a1, 15751 b = b0 + b1, 15752 c = c0 + c1, 15753 m = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(a * a + b * b + c * c), 15754 phi2 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(c /= m), 15755 lambda2 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(c) - 1) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon || (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(lambda0 - lambda1) < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon ? (lambda0 + lambda1) / 2 : (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(b, a), 15756 p = project(lambda2, phi2), 15757 x2 = p[0], 15758 y2 = p[1], 15759 dx2 = x2 - x0, 15760 dy2 = y2 - y0, 15761 dz = dy * dx2 - dx * dy2; 15762 if (dz * dz / d2 > delta2 // perpendicular projected distance 15763 || (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end 15764 || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance 15765 resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream); 15766 stream.point(x2, y2); 15767 resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream); 15768 } 15769 } 15770 } 15771 return function(stream) { 15772 var lambda00, x00, y00, a00, b00, c00, // first point 15773 lambda0, x0, y0, a0, b0, c0; // previous point 15774 15775 var resampleStream = { 15776 point: point, 15777 lineStart: lineStart, 15778 lineEnd: lineEnd, 15779 polygonStart: function() { stream.polygonStart(); resampleStream.lineStart = ringStart; }, 15780 polygonEnd: function() { stream.polygonEnd(); resampleStream.lineStart = lineStart; } 15781 }; 15782 15783 function point(x, y) { 15784 x = project(x, y); 15785 stream.point(x[0], x[1]); 15786 } 15787 15788 function lineStart() { 15789 x0 = NaN; 15790 resampleStream.point = linePoint; 15791 stream.lineStart(); 15792 } 15793 15794 function linePoint(lambda, phi) { 15795 var c = (0,_cartesian_js__WEBPACK_IMPORTED_MODULE_2__.cartesian)([lambda, phi]), p = project(lambda, phi); 15796 resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream); 15797 stream.point(x0, y0); 15798 } 15799 15800 function lineEnd() { 15801 resampleStream.point = point; 15802 stream.lineEnd(); 15803 } 15804 15805 function ringStart() { 15806 lineStart(); 15807 resampleStream.point = ringPoint; 15808 resampleStream.lineEnd = ringEnd; 15809 } 15810 15811 function ringPoint(lambda, phi) { 15812 linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0; 15813 resampleStream.point = linePoint; 15814 } 15815 15816 function ringEnd() { 15817 resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream); 15818 resampleStream.lineEnd = lineEnd; 15819 lineEnd(); 15820 } 15821 15822 return resampleStream; 15823 }; 15824} 15825 15826 15827/***/ }), 15828
vendor: 1,798 bytes, lines 15829-15864
15829/***/ "./node_modules/d3-geo/src/projection/stereographic.js": 15830/*!*************************************************************!*\ 15831 !*** ./node_modules/d3-geo/src/projection/stereographic.js ***! 15832 \*************************************************************/ 15833/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15834 15835__webpack_require__.r(__webpack_exports__); 15836/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15837/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15838/* harmony export */ stereographicRaw: () => (/* binding */ stereographicRaw) 15839/* harmony export */ }); 15840/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15841/* harmony import */ var _azimuthal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./azimuthal.js */ "./node_modules/d3-geo/src/projection/azimuthal.js"); 15842/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-geo/src/projection/index.js"); 15843 15844 15845 15846 15847function stereographicRaw(x, y) { 15848 var cy = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(y), k = 1 + (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(x) * cy; 15849 return [cy * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(x) / k, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(y) / k]; 15850} 15851 15852stereographicRaw.invert = (0,_azimuthal_js__WEBPACK_IMPORTED_MODULE_1__.azimuthalInvert)(function(z) { 15853 return 2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan)(z); 15854}); 15855 15856/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15857 return (0,_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(stereographicRaw) 15858 .scale(250) 15859 .clipAngle(142); 15860} 15861 15862 15863/***/ }), 15864
vendor: 2,005 bytes, lines 15865-15908
15865/***/ "./node_modules/d3-geo/src/projection/transverseMercator.js": 15866/*!******************************************************************!*\ 15867 !*** ./node_modules/d3-geo/src/projection/transverseMercator.js ***! 15868 \******************************************************************/ 15869/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15870 15871__webpack_require__.r(__webpack_exports__); 15872/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15873/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15874/* harmony export */ transverseMercatorRaw: () => (/* binding */ transverseMercatorRaw) 15875/* harmony export */ }); 15876/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-geo/src/math.js"); 15877/* harmony import */ var _mercator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mercator.js */ "./node_modules/d3-geo/src/projection/mercator.js"); 15878 15879 15880 15881function transverseMercatorRaw(lambda, phi) { 15882 return [(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.log)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tan)((_math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi + phi) / 2)), -lambda]; 15883} 15884 15885transverseMercatorRaw.invert = function(x, y) { 15886 return [-y, 2 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.exp)(x)) - _math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi]; 15887}; 15888 15889/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 15890 var m = (0,_mercator_js__WEBPACK_IMPORTED_MODULE_1__.mercatorProjection)(transverseMercatorRaw), 15891 center = m.center, 15892 rotate = m.rotate; 15893 15894 m.center = function(_) { 15895 return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]); 15896 }; 15897 15898 m.rotate = function(_) { 15899 return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]); 15900 }; 15901 15902 return rotate([0, 0, 90]) 15903 .scale(159.155); 15904} 15905 15906 15907/***/ }), 15908
vendor: 4,849 bytes, lines 15909-16004
15909/***/ "./node_modules/d3-geo/src/rotation.js": 15910/*!*********************************************!*\ 15911 !*** ./node_modules/d3-geo/src/rotation.js ***! 15912 \*********************************************/ 15913/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 15914 15915__webpack_require__.r(__webpack_exports__); 15916/* harmony export */ __webpack_require__.d(__webpack_exports__, { 15917/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 15918/* harmony export */ rotateRadians: () => (/* binding */ rotateRadians) 15919/* harmony export */ }); 15920/* harmony import */ var _compose_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./compose.js */ "./node_modules/d3-geo/src/compose.js"); 15921/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-geo/src/math.js"); 15922 15923 15924 15925function rotationIdentity(lambda, phi) { 15926 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(lambda) > _math_js__WEBPACK_IMPORTED_MODULE_0__.pi) lambda -= Math.round(lambda / _math_js__WEBPACK_IMPORTED_MODULE_0__.tau) * _math_js__WEBPACK_IMPORTED_MODULE_0__.tau; 15927 return [lambda, phi]; 15928} 15929 15930rotationIdentity.invert = rotationIdentity; 15931 15932function rotateRadians(deltaLambda, deltaPhi, deltaGamma) { 15933 return (deltaLambda %= _math_js__WEBPACK_IMPORTED_MODULE_0__.tau) ? (deltaPhi || deltaGamma ? (0,_compose_js__WEBPACK_IMPORTED_MODULE_1__["default"])(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma)) 15934 : rotationLambda(deltaLambda)) 15935 : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma) 15936 : rotationIdentity); 15937} 15938 15939function forwardRotationLambda(deltaLambda) { 15940 return function(lambda, phi) { 15941 lambda += deltaLambda; 15942 if ((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(lambda) > _math_js__WEBPACK_IMPORTED_MODULE_0__.pi) lambda -= Math.round(lambda / _math_js__WEBPACK_IMPORTED_MODULE_0__.tau) * _math_js__WEBPACK_IMPORTED_MODULE_0__.tau; 15943 return [lambda, phi]; 15944 }; 15945} 15946 15947function rotationLambda(deltaLambda) { 15948 var rotation = forwardRotationLambda(deltaLambda); 15949 rotation.invert = forwardRotationLambda(-deltaLambda); 15950 return rotation; 15951} 15952 15953function rotationPhiGamma(deltaPhi, deltaGamma) { 15954 var cosDeltaPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(deltaPhi), 15955 sinDeltaPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(deltaPhi), 15956 cosDeltaGamma = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(deltaGamma), 15957 sinDeltaGamma = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(deltaGamma); 15958 15959 function rotation(lambda, phi) { 15960 var cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(phi), 15961 x = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(lambda) * cosPhi, 15962 y = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(lambda) * cosPhi, 15963 z = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(phi), 15964 k = z * cosDeltaPhi + x * sinDeltaPhi; 15965 return [ 15966 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi), 15967 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(k * cosDeltaGamma + y * sinDeltaGamma) 15968 ]; 15969 } 15970 15971 rotation.invert = function(lambda, phi) { 15972 var cosPhi = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(phi), 15973 x = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(lambda) * cosPhi, 15974 y = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(lambda) * cosPhi, 15975 z = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(phi), 15976 k = z * cosDeltaGamma - y * sinDeltaGamma; 15977 return [ 15978 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi), 15979 (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(k * cosDeltaPhi - x * sinDeltaPhi) 15980 ]; 15981 }; 15982 15983 return rotation; 15984} 15985 15986/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(rotate) { 15987 rotate = rotateRadians(rotate[0] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, rotate[1] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, rotate.length > 2 ? rotate[2] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians : 0); 15988 15989 function forward(coordinates) { 15990 coordinates = rotate(coordinates[0] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, coordinates[1] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians); 15991 return coordinates[0] *= _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees, coordinates[1] *= _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees, coordinates; 15992 } 15993 15994 forward.invert = function(coordinates) { 15995 coordinates = rotate.invert(coordinates[0] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians, coordinates[1] * _math_js__WEBPACK_IMPORTED_MODULE_0__.radians); 15996 return coordinates[0] *= _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees, coordinates[1] *= _math_js__WEBPACK_IMPORTED_MODULE_0__.degrees, coordinates; 15997 }; 15998 15999 return forward; 16000} 16001 16002 16003/***/ }), 16004
vendor: 2,874 bytes, lines 16005-16087
16005/***/ "./node_modules/d3-geo/src/stream.js": 16006/*!*******************************************!*\ 16007 !*** ./node_modules/d3-geo/src/stream.js ***! 16008 \*******************************************/ 16009/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16010 16011__webpack_require__.r(__webpack_exports__); 16012/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16013/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16014/* harmony export */ }); 16015function streamGeometry(geometry, stream) { 16016 if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) { 16017 streamGeometryType[geometry.type](geometry, stream); 16018 } 16019} 16020 16021var streamObjectType = { 16022 Feature: function(object, stream) { 16023 streamGeometry(object.geometry, stream); 16024 }, 16025 FeatureCollection: function(object, stream) { 16026 var features = object.features, i = -1, n = features.length; 16027 while (++i < n) streamGeometry(features[i].geometry, stream); 16028 } 16029}; 16030 16031var streamGeometryType = { 16032 Sphere: function(object, stream) { 16033 stream.sphere(); 16034 }, 16035 Point: function(object, stream) { 16036 object = object.coordinates; 16037 stream.point(object[0], object[1], object[2]); 16038 }, 16039 MultiPoint: function(object, stream) { 16040 var coordinates = object.coordinates, i = -1, n = coordinates.length; 16041 while (++i < n) object = coordinates[i], stream.point(object[0], object[1], object[2]); 16042 }, 16043 LineString: function(object, stream) { 16044 streamLine(object.coordinates, stream, 0); 16045 }, 16046 MultiLineString: function(object, stream) { 16047 var coordinates = object.coordinates, i = -1, n = coordinates.length; 16048 while (++i < n) streamLine(coordinates[i], stream, 0); 16049 }, 16050 Polygon: function(object, stream) { 16051 streamPolygon(object.coordinates, stream); 16052 }, 16053 MultiPolygon: function(object, stream) { 16054 var coordinates = object.coordinates, i = -1, n = coordinates.length; 16055 while (++i < n) streamPolygon(coordinates[i], stream); 16056 }, 16057 GeometryCollection: function(object, stream) { 16058 var geometries = object.geometries, i = -1, n = geometries.length; 16059 while (++i < n) streamGeometry(geometries[i], stream); 16060 } 16061}; 16062 16063function streamLine(coordinates, stream, closed) { 16064 var i = -1, n = coordinates.length - closed, coordinate; 16065 stream.lineStart(); 16066 while (++i < n) coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]); 16067 stream.lineEnd(); 16068} 16069 16070function streamPolygon(coordinates, stream) { 16071 var i = -1, n = coordinates.length; 16072 stream.polygonStart(); 16073 while (++i < n) streamLine(coordinates[i], stream, 1); 16074 stream.polygonEnd(); 16075} 16076 16077/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(object, stream) { 16078 if (object && streamObjectType.hasOwnProperty(object.type)) { 16079 streamObjectType[object.type](object, stream); 16080 } else { 16081 streamGeometry(object, stream); 16082 } 16083} 16084 16085 16086/***/ }), 16087
vendor: 1,348 bytes, lines 16088-16128
16088/***/ "./node_modules/d3-geo/src/transform.js": 16089/*!**********************************************!*\ 16090 !*** ./node_modules/d3-geo/src/transform.js ***! 16091 \**********************************************/ 16092/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16093 16094__webpack_require__.r(__webpack_exports__); 16095/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16096/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 16097/* harmony export */ transformer: () => (/* binding */ transformer) 16098/* harmony export */ }); 16099/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(methods) { 16100 return { 16101 stream: transformer(methods) 16102 }; 16103} 16104 16105function transformer(methods) { 16106 return function(stream) { 16107 var s = new TransformStream; 16108 for (var key in methods) s[key] = methods[key]; 16109 s.stream = stream; 16110 return s; 16111 }; 16112} 16113 16114function TransformStream() {} 16115 16116TransformStream.prototype = { 16117 constructor: TransformStream, 16118 point: function(x, y) { this.stream.point(x, y); }, 16119 sphere: function() { this.stream.sphere(); }, 16120 lineStart: function() { this.stream.lineStart(); }, 16121 lineEnd: function() { this.stream.lineEnd(); }, 16122 polygonStart: function() { this.stream.polygonStart(); }, 16123 polygonEnd: function() { this.stream.polygonEnd(); } 16124}; 16125 16126 16127/***/ }), 16128
vendor: 749 bytes, lines 16129-16151
16129/***/ "./node_modules/d3-hierarchy/src/accessors.js": 16130/*!****************************************************!*\ 16131 !*** ./node_modules/d3-hierarchy/src/accessors.js ***! 16132 \****************************************************/ 16133/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16134 16135__webpack_require__.r(__webpack_exports__); 16136/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16137/* harmony export */ optional: () => (/* binding */ optional), 16138/* harmony export */ required: () => (/* binding */ required) 16139/* harmony export */ }); 16140function optional(f) { 16141 return f == null ? null : required(f); 16142} 16143 16144function required(f) { 16145 if (typeof f !== "function") throw new Error; 16146 return f; 16147} 16148 16149 16150/***/ }), 16151
vendor: 1,057 bytes, lines 16152-16186
16152/***/ "./node_modules/d3-hierarchy/src/array.js": 16153/*!************************************************!*\ 16154 !*** ./node_modules/d3-hierarchy/src/array.js ***! 16155 \************************************************/ 16156/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16157 16158__webpack_require__.r(__webpack_exports__); 16159/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16160/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 16161/* harmony export */ shuffle: () => (/* binding */ shuffle) 16162/* harmony export */ }); 16163/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 16164 return typeof x === "object" && "length" in x 16165 ? x // Array, TypedArray, NodeList, array-like 16166 : Array.from(x); // Map, Set, iterable, string, or anything else 16167} 16168 16169function shuffle(array, random) { 16170 let m = array.length, 16171 t, 16172 i; 16173 16174 while (m) { 16175 i = random() * m-- | 0; 16176 t = array[m]; 16177 array[m] = array[i]; 16178 array[i] = t; 16179 } 16180 16181 return array; 16182} 16183 16184 16185/***/ }), 16186
vendor: 2,692 bytes, lines 16187-16284
16187/***/ "./node_modules/d3-hierarchy/src/cluster.js": 16188/*!**************************************************!*\ 16189 !*** ./node_modules/d3-hierarchy/src/cluster.js ***! 16190 \**************************************************/ 16191/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16192 16193__webpack_require__.r(__webpack_exports__); 16194/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16195/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16196/* harmony export */ }); 16197function defaultSeparation(a, b) { 16198 return a.parent === b.parent ? 1 : 2; 16199} 16200 16201function meanX(children) { 16202 return children.reduce(meanXReduce, 0) / children.length; 16203} 16204 16205function meanXReduce(x, c) { 16206 return x + c.x; 16207} 16208 16209function maxY(children) { 16210 return 1 + children.reduce(maxYReduce, 0); 16211} 16212 16213function maxYReduce(y, c) { 16214 return Math.max(y, c.y); 16215} 16216 16217function leafLeft(node) { 16218 var children; 16219 while (children = node.children) node = children[0]; 16220 return node; 16221} 16222 16223function leafRight(node) { 16224 var children; 16225 while (children = node.children) node = children[children.length - 1]; 16226 return node; 16227} 16228 16229/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 16230 var separation = defaultSeparation, 16231 dx = 1, 16232 dy = 1, 16233 nodeSize = false; 16234 16235 function cluster(root) { 16236 var previousNode, 16237 x = 0; 16238 16239 // First walk, computing the initial x & y values. 16240 root.eachAfter(function(node) { 16241 var children = node.children; 16242 if (children) { 16243 node.x = meanX(children); 16244 node.y = maxY(children); 16245 } else { 16246 node.x = previousNode ? x += separation(node, previousNode) : 0; 16247 node.y = 0; 16248 previousNode = node; 16249 } 16250 }); 16251 16252 var left = leafLeft(root), 16253 right = leafRight(root), 16254 x0 = left.x - separation(left, right) / 2, 16255 x1 = right.x + separation(right, left) / 2; 16256 16257 // Second walk, normalizing x & y to the desired size. 16258 return root.eachAfter(nodeSize ? function(node) { 16259 node.x = (node.x - root.x) * dx; 16260 node.y = (root.y - node.y) * dy; 16261 } : function(node) { 16262 node.x = (node.x - x0) / (x1 - x0) * dx; 16263 node.y = (1 - (root.y ? node.y / root.y : 1)) * dy; 16264 }); 16265 } 16266 16267 cluster.separation = function(x) { 16268 return arguments.length ? (separation = x, cluster) : separation; 16269 }; 16270 16271 cluster.size = function(x) { 16272 return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? null : [dx, dy]); 16273 }; 16274 16275 cluster.nodeSize = function(x) { 16276 return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? [dx, dy] : null); 16277 }; 16278 16279 return cluster; 16280} 16281 16282 16283/***/ }), 16284
vendor: 789 bytes, lines 16285-16308
16285/***/ "./node_modules/d3-hierarchy/src/constant.js": 16286/*!***************************************************!*\ 16287 !*** ./node_modules/d3-hierarchy/src/constant.js ***! 16288 \***************************************************/ 16289/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16290 16291__webpack_require__.r(__webpack_exports__); 16292/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16293/* harmony export */ constantZero: () => (/* binding */ constantZero), 16294/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16295/* harmony export */ }); 16296function constantZero() { 16297 return 0; 16298} 16299 16300/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 16301 return function() { 16302 return x; 16303 }; 16304} 16305 16306 16307/***/ }), 16308
vendor: 785 bytes, lines 16309-16329
16309/***/ "./node_modules/d3-hierarchy/src/hierarchy/ancestors.js": 16310/*!**************************************************************!*\ 16311 !*** ./node_modules/d3-hierarchy/src/hierarchy/ancestors.js ***! 16312 \**************************************************************/ 16313/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16314 16315__webpack_require__.r(__webpack_exports__); 16316/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16317/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16318/* harmony export */ }); 16319/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 16320 var node = this, nodes = [node]; 16321 while (node = node.parent) { 16322 nodes.push(node); 16323 } 16324 return nodes; 16325} 16326 16327 16328/***/ }), 16329
vendor: 894 bytes, lines 16330-16355
16330/***/ "./node_modules/d3-hierarchy/src/hierarchy/count.js": 16331/*!**********************************************************!*\ 16332 !*** ./node_modules/d3-hierarchy/src/hierarchy/count.js ***! 16333 \**********************************************************/ 16334/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16335 16336__webpack_require__.r(__webpack_exports__); 16337/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16338/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16339/* harmony export */ }); 16340function count(node) { 16341 var sum = 0, 16342 children = node.children, 16343 i = children && children.length; 16344 if (!i) sum = 1; 16345 else while (--i >= 0) sum += children[i].value; 16346 node.value = sum; 16347} 16348 16349/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 16350 return this.eachAfter(count); 16351} 16352 16353 16354/***/ }), 16355
vendor: 712 bytes, lines 16356-16372
16356/***/ "./node_modules/d3-hierarchy/src/hierarchy/descendants.js": 16357/*!****************************************************************!*\ 16358 !*** ./node_modules/d3-hierarchy/src/hierarchy/descendants.js ***! 16359 \****************************************************************/ 16360/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16361 16362__webpack_require__.r(__webpack_exports__); 16363/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16364/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16365/* harmony export */ }); 16366/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 16367 return Array.from(this); 16368} 16369 16370 16371/***/ }), 16372
vendor: 783 bytes, lines 16373-16393
16373/***/ "./node_modules/d3-hierarchy/src/hierarchy/each.js": 16374/*!*********************************************************!*\ 16375 !*** ./node_modules/d3-hierarchy/src/hierarchy/each.js ***! 16376 \*********************************************************/ 16377/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16378 16379__webpack_require__.r(__webpack_exports__); 16380/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16381/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16382/* harmony export */ }); 16383/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback, that) { 16384 let index = -1; 16385 for (const node of this) { 16386 callback.call(that, node, ++index, this); 16387 } 16388 return this; 16389} 16390 16391 16392/***/ }), 16393
vendor: 1,052 bytes, lines 16394-16422
16394/***/ "./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js": 16395/*!**************************************************************!*\ 16396 !*** ./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js ***! 16397 \**************************************************************/ 16398/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16399 16400__webpack_require__.r(__webpack_exports__); 16401/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16402/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16403/* harmony export */ }); 16404/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback, that) { 16405 var node = this, nodes = [node], next = [], children, i, n, index = -1; 16406 while (node = nodes.pop()) { 16407 next.push(node); 16408 if (children = node.children) { 16409 for (i = 0, n = children.length; i < n; ++i) { 16410 nodes.push(children[i]); 16411 } 16412 } 16413 } 16414 while (node = next.pop()) { 16415 callback.call(that, node, ++index, this); 16416 } 16417 return this; 16418} 16419 16420 16421/***/ }), 16422
vendor: 985 bytes, lines 16423-16448
16423/***/ "./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js": 16424/*!***************************************************************!*\ 16425 !*** ./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js ***! 16426 \***************************************************************/ 16427/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16428 16429__webpack_require__.r(__webpack_exports__); 16430/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16431/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16432/* harmony export */ }); 16433/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback, that) { 16434 var node = this, nodes = [node], children, i, index = -1; 16435 while (node = nodes.pop()) { 16436 callback.call(that, node, ++index, this); 16437 if (children = node.children) { 16438 for (i = children.length - 1; i >= 0; --i) { 16439 nodes.push(children[i]); 16440 } 16441 } 16442 } 16443 return this; 16444} 16445 16446 16447/***/ }), 16448
vendor: 799 bytes, lines 16449-16470
16449/***/ "./node_modules/d3-hierarchy/src/hierarchy/find.js": 16450/*!*********************************************************!*\ 16451 !*** ./node_modules/d3-hierarchy/src/hierarchy/find.js ***! 16452 \*********************************************************/ 16453/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16454 16455__webpack_require__.r(__webpack_exports__); 16456/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16457/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16458/* harmony export */ }); 16459/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback, that) { 16460 let index = -1; 16461 for (const node of this) { 16462 if (callback.call(that, node, ++index, this)) { 16463 return node; 16464 } 16465 } 16466} 16467 16468 16469/***/ }), 16470
vendor: 5,009 bytes, lines 16471-16590
16471/***/ "./node_modules/d3-hierarchy/src/hierarchy/index.js": 16472/*!**********************************************************!*\ 16473 !*** ./node_modules/d3-hierarchy/src/hierarchy/index.js ***! 16474 \**********************************************************/ 16475/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16476 16477__webpack_require__.r(__webpack_exports__); 16478/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16479/* harmony export */ Node: () => (/* binding */ Node), 16480/* harmony export */ computeHeight: () => (/* binding */ computeHeight), 16481/* harmony export */ "default": () => (/* binding */ hierarchy) 16482/* harmony export */ }); 16483/* harmony import */ var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./count.js */ "./node_modules/d3-hierarchy/src/hierarchy/count.js"); 16484/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./each.js */ "./node_modules/d3-hierarchy/src/hierarchy/each.js"); 16485/* harmony import */ var _eachBefore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./eachBefore.js */ "./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js"); 16486/* harmony import */ var _eachAfter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./eachAfter.js */ "./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js"); 16487/* harmony import */ var _find_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./find.js */ "./node_modules/d3-hierarchy/src/hierarchy/find.js"); 16488/* harmony import */ var _sum_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./sum.js */ "./node_modules/d3-hierarchy/src/hierarchy/sum.js"); 16489/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./sort.js */ "./node_modules/d3-hierarchy/src/hierarchy/sort.js"); 16490/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-hierarchy/src/hierarchy/path.js"); 16491/* harmony import */ var _ancestors_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ancestors.js */ "./node_modules/d3-hierarchy/src/hierarchy/ancestors.js"); 16492/* harmony import */ var _descendants_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./descendants.js */ "./node_modules/d3-hierarchy/src/hierarchy/descendants.js"); 16493/* harmony import */ var _leaves_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./leaves.js */ "./node_modules/d3-hierarchy/src/hierarchy/leaves.js"); 16494/* harmony import */ var _links_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./links.js */ "./node_modules/d3-hierarchy/src/hierarchy/links.js"); 16495/* harmony import */ var _iterator_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./iterator.js */ "./node_modules/d3-hierarchy/src/hierarchy/iterator.js"); 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510function hierarchy(data, children) { 16511 if (data instanceof Map) { 16512 data = [undefined, data]; 16513 if (children === undefined) children = mapChildren; 16514 } else if (children === undefined) { 16515 children = objectChildren; 16516 } 16517 16518 var root = new Node(data), 16519 node, 16520 nodes = [root], 16521 child, 16522 childs, 16523 i, 16524 n; 16525 16526 while (node = nodes.pop()) { 16527 if ((childs = children(node.data)) && (n = (childs = Array.from(childs)).length)) { 16528 node.children = childs; 16529 for (i = n - 1; i >= 0; --i) { 16530 nodes.push(child = childs[i] = new Node(childs[i])); 16531 child.parent = node; 16532 child.depth = node.depth + 1; 16533 } 16534 } 16535 } 16536 16537 return root.eachBefore(computeHeight); 16538} 16539 16540function node_copy() { 16541 return hierarchy(this).eachBefore(copyData); 16542} 16543 16544function objectChildren(d) { 16545 return d.children; 16546} 16547 16548function mapChildren(d) { 16549 return Array.isArray(d) ? d[1] : null; 16550} 16551 16552function copyData(node) { 16553 if (node.data.value !== undefined) node.value = node.data.value; 16554 node.data = node.data.data; 16555} 16556 16557function computeHeight(node) { 16558 var height = 0; 16559 do node.height = height; 16560 while ((node = node.parent) && (node.height < ++height)); 16561} 16562 16563function Node(data) { 16564 this.data = data; 16565 this.depth = 16566 this.height = 0; 16567 this.parent = null; 16568} 16569 16570Node.prototype = hierarchy.prototype = { 16571 constructor: Node, 16572 count: _count_js__WEBPACK_IMPORTED_MODULE_0__["default"], 16573 each: _each_js__WEBPACK_IMPORTED_MODULE_1__["default"], 16574 eachAfter: _eachAfter_js__WEBPACK_IMPORTED_MODULE_2__["default"], 16575 eachBefore: _eachBefore_js__WEBPACK_IMPORTED_MODULE_3__["default"], 16576 find: _find_js__WEBPACK_IMPORTED_MODULE_4__["default"], 16577 sum: _sum_js__WEBPACK_IMPORTED_MODULE_5__["default"], 16578 sort: _sort_js__WEBPACK_IMPORTED_MODULE_6__["default"], 16579 path: _path_js__WEBPACK_IMPORTED_MODULE_7__["default"], 16580 ancestors: _ancestors_js__WEBPACK_IMPORTED_MODULE_8__["default"], 16581 descendants: _descendants_js__WEBPACK_IMPORTED_MODULE_9__["default"], 16582 leaves: _leaves_js__WEBPACK_IMPORTED_MODULE_10__["default"], 16583 links: _links_js__WEBPACK_IMPORTED_MODULE_11__["default"], 16584 copy: node_copy, 16585 [Symbol.iterator]: _iterator_js__WEBPACK_IMPORTED_MODULE_12__["default"] 16586}; 16587 16588 16589/***/ }), 16590
vendor: 1,010 bytes, lines 16591-16618
16591/***/ "./node_modules/d3-hierarchy/src/hierarchy/iterator.js": 16592/*!*************************************************************!*\ 16593 !*** ./node_modules/d3-hierarchy/src/hierarchy/iterator.js ***! 16594 \*************************************************************/ 16595/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16596 16597__webpack_require__.r(__webpack_exports__); 16598/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16599/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16600/* harmony export */ }); 16601/* harmony default export */ function* __WEBPACK_DEFAULT_EXPORT__() { 16602 var node = this, current, next = [node], children, i, n; 16603 do { 16604 current = next.reverse(), next = []; 16605 while (node = current.pop()) { 16606 yield node; 16607 if (children = node.children) { 16608 for (i = 0, n = children.length; i < n; ++i) { 16609 next.push(children[i]); 16610 } 16611 } 16612 } 16613 } while (next.length); 16614} 16615 16616 16617/***/ }), 16618
vendor: 799 bytes, lines 16619-16641
16619/***/ "./node_modules/d3-hierarchy/src/hierarchy/leaves.js": 16620/*!***********************************************************!*\ 16621 !*** ./node_modules/d3-hierarchy/src/hierarchy/leaves.js ***! 16622 \***********************************************************/ 16623/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16624 16625__webpack_require__.r(__webpack_exports__); 16626/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16627/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16628/* harmony export */ }); 16629/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 16630 var leaves = []; 16631 this.eachBefore(function(node) { 16632 if (!node.children) { 16633 leaves.push(node); 16634 } 16635 }); 16636 return leaves; 16637} 16638 16639 16640/***/ }), 16641
vendor: 877 bytes, lines 16642-16664
16642/***/ "./node_modules/d3-hierarchy/src/hierarchy/links.js": 16643/*!**********************************************************!*\ 16644 !*** ./node_modules/d3-hierarchy/src/hierarchy/links.js ***! 16645 \**********************************************************/ 16646/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16647 16648__webpack_require__.r(__webpack_exports__); 16649/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16650/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16651/* harmony export */ }); 16652/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 16653 var root = this, links = []; 16654 root.each(function(node) { 16655 if (node !== root) { // Donât include the rootâs parent, if any. 16656 links.push({source: node.parent, target: node}); 16657 } 16658 }); 16659 return links; 16660} 16661 16662 16663/***/ }), 16664
vendor: 1,233 bytes, lines 16665-16708
16665/***/ "./node_modules/d3-hierarchy/src/hierarchy/path.js": 16666/*!*********************************************************!*\ 16667 !*** ./node_modules/d3-hierarchy/src/hierarchy/path.js ***! 16668 \*********************************************************/ 16669/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16670 16671__webpack_require__.r(__webpack_exports__); 16672/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16673/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16674/* harmony export */ }); 16675/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(end) { 16676 var start = this, 16677 ancestor = leastCommonAncestor(start, end), 16678 nodes = [start]; 16679 while (start !== ancestor) { 16680 start = start.parent; 16681 nodes.push(start); 16682 } 16683 var k = nodes.length; 16684 while (end !== ancestor) { 16685 nodes.splice(k, 0, end); 16686 end = end.parent; 16687 } 16688 return nodes; 16689} 16690 16691function leastCommonAncestor(a, b) { 16692 if (a === b) return a; 16693 var aNodes = a.ancestors(), 16694 bNodes = b.ancestors(), 16695 c = null; 16696 a = aNodes.pop(); 16697 b = bNodes.pop(); 16698 while (a === b) { 16699 c = a; 16700 a = aNodes.pop(); 16701 b = bNodes.pop(); 16702 } 16703 return c; 16704} 16705 16706 16707/***/ }), 16708
vendor: 778 bytes, lines 16709-16729
16709/***/ "./node_modules/d3-hierarchy/src/hierarchy/sort.js": 16710/*!*********************************************************!*\ 16711 !*** ./node_modules/d3-hierarchy/src/hierarchy/sort.js ***! 16712 \*********************************************************/ 16713/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16714 16715__webpack_require__.r(__webpack_exports__); 16716/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16717/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16718/* harmony export */ }); 16719/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(compare) { 16720 return this.eachBefore(function(node) { 16721 if (node.children) { 16722 node.children.sort(compare); 16723 } 16724 }); 16725} 16726 16727 16728/***/ }), 16729
vendor: 887 bytes, lines 16730-16752
16730/***/ "./node_modules/d3-hierarchy/src/hierarchy/sum.js": 16731/*!********************************************************!*\ 16732 !*** ./node_modules/d3-hierarchy/src/hierarchy/sum.js ***! 16733 \********************************************************/ 16734/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16735 16736__webpack_require__.r(__webpack_exports__); 16737/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16738/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16739/* harmony export */ }); 16740/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 16741 return this.eachAfter(function(node) { 16742 var sum = +value(node.data) || 0, 16743 children = node.children, 16744 i = children && children.length; 16745 while (--i >= 0) sum += children[i].value; 16746 node.value = sum; 16747 }); 16748} 16749 16750 16751/***/ }), 16752
vendor: 4,962 bytes, lines 16753-16811
16753/***/ "./node_modules/d3-hierarchy/src/index.js": 16754/*!************************************************!*\ 16755 !*** ./node_modules/d3-hierarchy/src/index.js ***! 16756 \************************************************/ 16757/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16758 16759__webpack_require__.r(__webpack_exports__); 16760/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16761/* harmony export */ Node: () => (/* reexport safe */ _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__.Node), 16762/* harmony export */ cluster: () => (/* reexport safe */ _cluster_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 16763/* harmony export */ hierarchy: () => (/* reexport safe */ _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 16764/* harmony export */ pack: () => (/* reexport safe */ _pack_index_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 16765/* harmony export */ packEnclose: () => (/* reexport safe */ _pack_enclose_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 16766/* harmony export */ packSiblings: () => (/* reexport safe */ _pack_siblings_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 16767/* harmony export */ partition: () => (/* reexport safe */ _partition_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 16768/* harmony export */ stratify: () => (/* reexport safe */ _stratify_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 16769/* harmony export */ tree: () => (/* reexport safe */ _tree_js__WEBPACK_IMPORTED_MODULE_7__["default"]), 16770/* harmony export */ treemap: () => (/* reexport safe */ _treemap_index_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 16771/* harmony export */ treemapBinary: () => (/* reexport safe */ _treemap_binary_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 16772/* harmony export */ treemapDice: () => (/* reexport safe */ _treemap_dice_js__WEBPACK_IMPORTED_MODULE_10__["default"]), 16773/* harmony export */ treemapResquarify: () => (/* reexport safe */ _treemap_resquarify_js__WEBPACK_IMPORTED_MODULE_14__["default"]), 16774/* harmony export */ treemapSlice: () => (/* reexport safe */ _treemap_slice_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 16775/* harmony export */ treemapSliceDice: () => (/* reexport safe */ _treemap_sliceDice_js__WEBPACK_IMPORTED_MODULE_12__["default"]), 16776/* harmony export */ treemapSquarify: () => (/* reexport safe */ _treemap_squarify_js__WEBPACK_IMPORTED_MODULE_13__["default"]) 16777/* harmony export */ }); 16778/* harmony import */ var _cluster_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cluster.js */ "./node_modules/d3-hierarchy/src/cluster.js"); 16779/* harmony import */ var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hierarchy/index.js */ "./node_modules/d3-hierarchy/src/hierarchy/index.js"); 16780/* harmony import */ var _pack_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pack/index.js */ "./node_modules/d3-hierarchy/src/pack/index.js"); 16781/* harmony import */ var _pack_siblings_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pack/siblings.js */ "./node_modules/d3-hierarchy/src/pack/siblings.js"); 16782/* harmony import */ var _pack_enclose_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pack/enclose.js */ "./node_modules/d3-hierarchy/src/pack/enclose.js"); 16783/* harmony import */ var _partition_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./partition.js */ "./node_modules/d3-hierarchy/src/partition.js"); 16784/* harmony import */ var _stratify_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./stratify.js */ "./node_modules/d3-hierarchy/src/stratify.js"); 16785/* harmony import */ var _tree_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./tree.js */ "./node_modules/d3-hierarchy/src/tree.js"); 16786/* harmony import */ var _treemap_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./treemap/index.js */ "./node_modules/d3-hierarchy/src/treemap/index.js"); 16787/* harmony import */ var _treemap_binary_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./treemap/binary.js */ "./node_modules/d3-hierarchy/src/treemap/binary.js"); 16788/* harmony import */ var _treemap_dice_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./treemap/dice.js */ "./node_modules/d3-hierarchy/src/treemap/dice.js"); 16789/* harmony import */ var _treemap_slice_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./treemap/slice.js */ "./node_modules/d3-hierarchy/src/treemap/slice.js"); 16790/* harmony import */ var _treemap_sliceDice_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./treemap/sliceDice.js */ "./node_modules/d3-hierarchy/src/treemap/sliceDice.js"); 16791/* harmony import */ var _treemap_squarify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./treemap/squarify.js */ "./node_modules/d3-hierarchy/src/treemap/squarify.js"); 16792/* harmony import */ var _treemap_resquarify_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./treemap/resquarify.js */ "./node_modules/d3-hierarchy/src/treemap/resquarify.js"); 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810/***/ }), 16811
vendor: 828 bytes, lines 16812-16834
16812/***/ "./node_modules/d3-hierarchy/src/lcg.js": 16813/*!**********************************************!*\ 16814 !*** ./node_modules/d3-hierarchy/src/lcg.js ***! 16815 \**********************************************/ 16816/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16817 16818__webpack_require__.r(__webpack_exports__); 16819/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16820/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16821/* harmony export */ }); 16822// https://en.wikipedia.org/wiki/Linear_congruential_generator#Parameters_in_common_use 16823const a = 1664525; 16824const c = 1013904223; 16825const m = 4294967296; // 2^32 16826 16827/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 16828 let s = 1; 16829 return () => (s = (a * s + c) % m) / m; 16830} 16831 16832 16833/***/ }), 16834
vendor: 4,166 bytes, lines 16835-16974
16835/***/ "./node_modules/d3-hierarchy/src/pack/enclose.js": 16836/*!*******************************************************!*\ 16837 !*** ./node_modules/d3-hierarchy/src/pack/enclose.js ***! 16838 \*******************************************************/ 16839/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16840 16841__webpack_require__.r(__webpack_exports__); 16842/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16843/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 16844/* harmony export */ packEncloseRandom: () => (/* binding */ packEncloseRandom) 16845/* harmony export */ }); 16846/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../array.js */ "./node_modules/d3-hierarchy/src/array.js"); 16847/* harmony import */ var _lcg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lcg.js */ "./node_modules/d3-hierarchy/src/lcg.js"); 16848 16849 16850 16851/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(circles) { 16852 return packEncloseRandom(circles, (0,_lcg_js__WEBPACK_IMPORTED_MODULE_0__["default"])()); 16853} 16854 16855function packEncloseRandom(circles, random) { 16856 var i = 0, n = (circles = (0,_array_js__WEBPACK_IMPORTED_MODULE_1__.shuffle)(Array.from(circles), random)).length, B = [], p, e; 16857 16858 while (i < n) { 16859 p = circles[i]; 16860 if (e && enclosesWeak(e, p)) ++i; 16861 else e = encloseBasis(B = extendBasis(B, p)), i = 0; 16862 } 16863 16864 return e; 16865} 16866 16867function extendBasis(B, p) { 16868 var i, j; 16869 16870 if (enclosesWeakAll(p, B)) return [p]; 16871 16872 // If we get here then B must have at least one element. 16873 for (i = 0; i < B.length; ++i) { 16874 if (enclosesNot(p, B[i]) 16875 && enclosesWeakAll(encloseBasis2(B[i], p), B)) { 16876 return [B[i], p]; 16877 } 16878 } 16879 16880 // If we get here then B must have at least two elements. 16881 for (i = 0; i < B.length - 1; ++i) { 16882 for (j = i + 1; j < B.length; ++j) { 16883 if (enclosesNot(encloseBasis2(B[i], B[j]), p) 16884 && enclosesNot(encloseBasis2(B[i], p), B[j]) 16885 && enclosesNot(encloseBasis2(B[j], p), B[i]) 16886 && enclosesWeakAll(encloseBasis3(B[i], B[j], p), B)) { 16887 return [B[i], B[j], p]; 16888 } 16889 } 16890 } 16891 16892 // If we get here then something is very wrong. 16893 throw new Error; 16894} 16895 16896function enclosesNot(a, b) { 16897 var dr = a.r - b.r, dx = b.x - a.x, dy = b.y - a.y; 16898 return dr < 0 || dr * dr < dx * dx + dy * dy; 16899} 16900 16901function enclosesWeak(a, b) { 16902 var dr = a.r - b.r + Math.max(a.r, b.r, 1) * 1e-9, dx = b.x - a.x, dy = b.y - a.y; 16903 return dr > 0 && dr * dr > dx * dx + dy * dy; 16904} 16905 16906function enclosesWeakAll(a, B) { 16907 for (var i = 0; i < B.length; ++i) { 16908 if (!enclosesWeak(a, B[i])) { 16909 return false; 16910 } 16911 } 16912 return true; 16913} 16914 16915function encloseBasis(B) { 16916 switch (B.length) { 16917 case 1: return encloseBasis1(B[0]); 16918 case 2: return encloseBasis2(B[0], B[1]); 16919 case 3: return encloseBasis3(B[0], B[1], B[2]); 16920 } 16921} 16922 16923function encloseBasis1(a) { 16924 return { 16925 x: a.x, 16926 y: a.y, 16927 r: a.r 16928 }; 16929} 16930 16931function encloseBasis2(a, b) { 16932 var x1 = a.x, y1 = a.y, r1 = a.r, 16933 x2 = b.x, y2 = b.y, r2 = b.r, 16934 x21 = x2 - x1, y21 = y2 - y1, r21 = r2 - r1, 16935 l = Math.sqrt(x21 * x21 + y21 * y21); 16936 return { 16937 x: (x1 + x2 + x21 / l * r21) / 2, 16938 y: (y1 + y2 + y21 / l * r21) / 2, 16939 r: (l + r1 + r2) / 2 16940 }; 16941} 16942 16943function encloseBasis3(a, b, c) { 16944 var x1 = a.x, y1 = a.y, r1 = a.r, 16945 x2 = b.x, y2 = b.y, r2 = b.r, 16946 x3 = c.x, y3 = c.y, r3 = c.r, 16947 a2 = x1 - x2, 16948 a3 = x1 - x3, 16949 b2 = y1 - y2, 16950 b3 = y1 - y3, 16951 c2 = r2 - r1, 16952 c3 = r3 - r1, 16953 d1 = x1 * x1 + y1 * y1 - r1 * r1, 16954 d2 = d1 - x2 * x2 - y2 * y2 + r2 * r2, 16955 d3 = d1 - x3 * x3 - y3 * y3 + r3 * r3, 16956 ab = a3 * b2 - a2 * b3, 16957 xa = (b2 * d3 - b3 * d2) / (ab * 2) - x1, 16958 xb = (b3 * c2 - b2 * c3) / ab, 16959 ya = (a3 * d2 - a2 * d3) / (ab * 2) - y1, 16960 yb = (a2 * c3 - a3 * c2) / ab, 16961 A = xb * xb + yb * yb - 1, 16962 B = 2 * (r1 + xa * xb + ya * yb), 16963 C = xa * xa + ya * ya - r1 * r1, 16964 r = -(Math.abs(A) > 1e-6 ? (B + Math.sqrt(B * B - 4 * A * C)) / (2 * A) : C / B); 16965 return { 16966 x: x1 + xa + xb * r, 16967 y: y1 + ya + yb * r, 16968 r: r 16969 }; 16970} 16971 16972 16973/***/ }), 16974
vendor: 3,399 bytes, lines 16975-17073
16975/***/ "./node_modules/d3-hierarchy/src/pack/index.js": 16976/*!*****************************************************!*\ 16977 !*** ./node_modules/d3-hierarchy/src/pack/index.js ***! 16978 \*****************************************************/ 16979/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 16980 16981__webpack_require__.r(__webpack_exports__); 16982/* harmony export */ __webpack_require__.d(__webpack_exports__, { 16983/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 16984/* harmony export */ }); 16985/* harmony import */ var _accessors_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../accessors.js */ "./node_modules/d3-hierarchy/src/accessors.js"); 16986/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constant.js */ "./node_modules/d3-hierarchy/src/constant.js"); 16987/* harmony import */ var _lcg_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../lcg.js */ "./node_modules/d3-hierarchy/src/lcg.js"); 16988/* harmony import */ var _siblings_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./siblings.js */ "./node_modules/d3-hierarchy/src/pack/siblings.js"); 16989 16990 16991 16992 16993 16994function defaultRadius(d) { 16995 return Math.sqrt(d.value); 16996} 16997 16998/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 16999 var radius = null, 17000 dx = 1, 17001 dy = 1, 17002 padding = _constant_js__WEBPACK_IMPORTED_MODULE_0__.constantZero; 17003 17004 function pack(root) { 17005 const random = (0,_lcg_js__WEBPACK_IMPORTED_MODULE_1__["default"])(); 17006 root.x = dx / 2, root.y = dy / 2; 17007 if (radius) { 17008 root.eachBefore(radiusLeaf(radius)) 17009 .eachAfter(packChildrenRandom(padding, 0.5, random)) 17010 .eachBefore(translateChild(1)); 17011 } else { 17012 root.eachBefore(radiusLeaf(defaultRadius)) 17013 .eachAfter(packChildrenRandom(_constant_js__WEBPACK_IMPORTED_MODULE_0__.constantZero, 1, random)) 17014 .eachAfter(packChildrenRandom(padding, root.r / Math.min(dx, dy), random)) 17015 .eachBefore(translateChild(Math.min(dx, dy) / (2 * root.r))); 17016 } 17017 return root; 17018 } 17019 17020 pack.radius = function(x) { 17021 return arguments.length ? (radius = (0,_accessors_js__WEBPACK_IMPORTED_MODULE_2__.optional)(x), pack) : radius; 17022 }; 17023 17024 pack.size = function(x) { 17025 return arguments.length ? (dx = +x[0], dy = +x[1], pack) : [dx, dy]; 17026 }; 17027 17028 pack.padding = function(x) { 17029 return arguments.length ? (padding = typeof x === "function" ? x : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+x), pack) : padding; 17030 }; 17031 17032 return pack; 17033} 17034 17035function radiusLeaf(radius) { 17036 return function(node) { 17037 if (!node.children) { 17038 node.r = Math.max(0, +radius(node) || 0); 17039 } 17040 }; 17041} 17042 17043function packChildrenRandom(padding, k, random) { 17044 return function(node) { 17045 if (children = node.children) { 17046 var children, 17047 i, 17048 n = children.length, 17049 r = padding(node) * k || 0, 17050 e; 17051 17052 if (r) for (i = 0; i < n; ++i) children[i].r += r; 17053 e = (0,_siblings_js__WEBPACK_IMPORTED_MODULE_3__.packSiblingsRandom)(children, random); 17054 if (r) for (i = 0; i < n; ++i) children[i].r -= r; 17055 node.r = e + r; 17056 } 17057 }; 17058} 17059 17060function translateChild(k) { 17061 return function(node) { 17062 var parent = node.parent; 17063 node.r *= k; 17064 if (parent) { 17065 node.x = parent.x + k * node.x; 17066 node.y = parent.y + k * node.y; 17067 } 17068 }; 17069} 17070 17071 17072/***/ }), 17073
vendor: 4,499 bytes, lines 17074-17211
17074/***/ "./node_modules/d3-hierarchy/src/pack/siblings.js": 17075/*!********************************************************!*\ 17076 !*** ./node_modules/d3-hierarchy/src/pack/siblings.js ***! 17077 \********************************************************/ 17078/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17079 17080__webpack_require__.r(__webpack_exports__); 17081/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17082/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 17083/* harmony export */ packSiblingsRandom: () => (/* binding */ packSiblingsRandom) 17084/* harmony export */ }); 17085/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../array.js */ "./node_modules/d3-hierarchy/src/array.js"); 17086/* harmony import */ var _lcg_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../lcg.js */ "./node_modules/d3-hierarchy/src/lcg.js"); 17087/* harmony import */ var _enclose_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./enclose.js */ "./node_modules/d3-hierarchy/src/pack/enclose.js"); 17088 17089 17090 17091 17092function place(b, a, c) { 17093 var dx = b.x - a.x, x, a2, 17094 dy = b.y - a.y, y, b2, 17095 d2 = dx * dx + dy * dy; 17096 if (d2) { 17097 a2 = a.r + c.r, a2 *= a2; 17098 b2 = b.r + c.r, b2 *= b2; 17099 if (a2 > b2) { 17100 x = (d2 + b2 - a2) / (2 * d2); 17101 y = Math.sqrt(Math.max(0, b2 / d2 - x * x)); 17102 c.x = b.x - x * dx - y * dy; 17103 c.y = b.y - x * dy + y * dx; 17104 } else { 17105 x = (d2 + a2 - b2) / (2 * d2); 17106 y = Math.sqrt(Math.max(0, a2 / d2 - x * x)); 17107 c.x = a.x + x * dx - y * dy; 17108 c.y = a.y + x * dy + y * dx; 17109 } 17110 } else { 17111 c.x = a.x + c.r; 17112 c.y = a.y; 17113 } 17114} 17115 17116function intersects(a, b) { 17117 var dr = a.r + b.r - 1e-6, dx = b.x - a.x, dy = b.y - a.y; 17118 return dr > 0 && dr * dr > dx * dx + dy * dy; 17119} 17120 17121function score(node) { 17122 var a = node._, 17123 b = node.next._, 17124 ab = a.r + b.r, 17125 dx = (a.x * b.r + b.x * a.r) / ab, 17126 dy = (a.y * b.r + b.y * a.r) / ab; 17127 return dx * dx + dy * dy; 17128} 17129 17130function Node(circle) { 17131 this._ = circle; 17132 this.next = null; 17133 this.previous = null; 17134} 17135 17136function packSiblingsRandom(circles, random) { 17137 if (!(n = (circles = (0,_array_js__WEBPACK_IMPORTED_MODULE_0__["default"])(circles)).length)) return 0; 17138 17139 var a, b, c, n, aa, ca, i, j, k, sj, sk; 17140 17141 // Place the first circle. 17142 a = circles[0], a.x = 0, a.y = 0; 17143 if (!(n > 1)) return a.r; 17144 17145 // Place the second circle. 17146 b = circles[1], a.x = -b.r, b.x = a.r, b.y = 0; 17147 if (!(n > 2)) return a.r + b.r; 17148 17149 // Place the third circle. 17150 place(b, a, c = circles[2]); 17151 17152 // Initialize the front-chain using the first three circles a, b and c. 17153 a = new Node(a), b = new Node(b), c = new Node(c); 17154 a.next = c.previous = b; 17155 b.next = a.previous = c; 17156 c.next = b.previous = a; 17157 17158 // Attempt to place each remaining circle⦠17159 pack: for (i = 3; i < n; ++i) { 17160 place(a._, b._, c = circles[i]), c = new Node(c); 17161 17162 // Find the closest intersecting circle on the front-chain, if any. 17163 // âClosenessâ is determined by linear distance along the front-chain. 17164 // âAheadâ or âbehindâ is likewise determined by linear distance. 17165 j = b.next, k = a.previous, sj = b._.r, sk = a._.r; 17166 do { 17167 if (sj <= sk) { 17168 if (intersects(j._, c._)) { 17169 b = j, a.next = b, b.previous = a, --i; 17170 continue pack; 17171 } 17172 sj += j._.r, j = j.next; 17173 } else { 17174 if (intersects(k._, c._)) { 17175 a = k, a.next = b, b.previous = a, --i; 17176 continue pack; 17177 } 17178 sk += k._.r, k = k.previous; 17179 } 17180 } while (j !== k.next); 17181 17182 // Success! Insert the new circle c between a and b. 17183 c.previous = a, c.next = b, a.next = b.previous = b = c; 17184 17185 // Compute the new closest circle pair to the centroid. 17186 aa = score(a); 17187 while ((c = c.next) !== b) { 17188 if ((ca = score(c)) < aa) { 17189 a = c, aa = ca; 17190 } 17191 } 17192 b = a.next; 17193 } 17194 17195 // Compute the enclosing circle of the front chain. 17196 a = [b._], c = b; while ((c = c.next) !== b) a.push(c._); c = (0,_enclose_js__WEBPACK_IMPORTED_MODULE_1__.packEncloseRandom)(a, random); 17197 17198 // Translate the circles to put the enclosing circle around the origin. 17199 for (i = 0; i < n; ++i) a = circles[i], a.x -= c.x, a.y -= c.y; 17200 17201 return c.r; 17202} 17203 17204/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(circles) { 17205 packSiblingsRandom(circles, (0,_lcg_js__WEBPACK_IMPORTED_MODULE_2__["default"])()); 17206 return circles; 17207} 17208 17209 17210/***/ }), 17211
vendor: 2,232 bytes, lines 17212-17279
17212/***/ "./node_modules/d3-hierarchy/src/partition.js": 17213/*!****************************************************!*\ 17214 !*** ./node_modules/d3-hierarchy/src/partition.js ***! 17215 \****************************************************/ 17216/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17217 17218__webpack_require__.r(__webpack_exports__); 17219/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17220/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17221/* harmony export */ }); 17222/* harmony import */ var _treemap_round_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./treemap/round.js */ "./node_modules/d3-hierarchy/src/treemap/round.js"); 17223/* harmony import */ var _treemap_dice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./treemap/dice.js */ "./node_modules/d3-hierarchy/src/treemap/dice.js"); 17224 17225 17226 17227/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 17228 var dx = 1, 17229 dy = 1, 17230 padding = 0, 17231 round = false; 17232 17233 function partition(root) { 17234 var n = root.height + 1; 17235 root.x0 = 17236 root.y0 = padding; 17237 root.x1 = dx; 17238 root.y1 = dy / n; 17239 root.eachBefore(positionNode(dy, n)); 17240 if (round) root.eachBefore(_treemap_round_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 17241 return root; 17242 } 17243 17244 function positionNode(dy, n) { 17245 return function(node) { 17246 if (node.children) { 17247 (0,_treemap_dice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node, node.x0, dy * (node.depth + 1) / n, node.x1, dy * (node.depth + 2) / n); 17248 } 17249 var x0 = node.x0, 17250 y0 = node.y0, 17251 x1 = node.x1 - padding, 17252 y1 = node.y1 - padding; 17253 if (x1 < x0) x0 = x1 = (x0 + x1) / 2; 17254 if (y1 < y0) y0 = y1 = (y0 + y1) / 2; 17255 node.x0 = x0; 17256 node.y0 = y0; 17257 node.x1 = x1; 17258 node.y1 = y1; 17259 }; 17260 } 17261 17262 partition.round = function(x) { 17263 return arguments.length ? (round = !!x, partition) : round; 17264 }; 17265 17266 partition.size = function(x) { 17267 return arguments.length ? (dx = +x[0], dy = +x[1], partition) : [dx, dy]; 17268 }; 17269 17270 partition.padding = function(x) { 17271 return arguments.length ? (padding = +x, partition) : padding; 17272 }; 17273 17274 return partition; 17275} 17276 17277 17278/***/ }), 17279
vendor: 5,191 bytes, lines 17280-17440
17280/***/ "./node_modules/d3-hierarchy/src/stratify.js": 17281/*!***************************************************!*\ 17282 !*** ./node_modules/d3-hierarchy/src/stratify.js ***! 17283 \***************************************************/ 17284/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17285 17286__webpack_require__.r(__webpack_exports__); 17287/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17288/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17289/* harmony export */ }); 17290/* harmony import */ var _accessors_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./accessors.js */ "./node_modules/d3-hierarchy/src/accessors.js"); 17291/* harmony import */ var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hierarchy/index.js */ "./node_modules/d3-hierarchy/src/hierarchy/index.js"); 17292 17293 17294 17295var preroot = {depth: -1}, 17296 ambiguous = {}, 17297 imputed = {}; 17298 17299function defaultId(d) { 17300 return d.id; 17301} 17302 17303function defaultParentId(d) { 17304 return d.parentId; 17305} 17306 17307/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 17308 var id = defaultId, 17309 parentId = defaultParentId, 17310 path; 17311 17312 function stratify(data) { 17313 var nodes = Array.from(data), 17314 currentId = id, 17315 currentParentId = parentId, 17316 n, 17317 d, 17318 i, 17319 root, 17320 parent, 17321 node, 17322 nodeId, 17323 nodeKey, 17324 nodeByKey = new Map; 17325 17326 if (path != null) { 17327 const I = nodes.map((d, i) => normalize(path(d, i, data))); 17328 const P = I.map(parentof); 17329 const S = new Set(I).add(""); 17330 for (const i of P) { 17331 if (!S.has(i)) { 17332 S.add(i); 17333 I.push(i); 17334 P.push(parentof(i)); 17335 nodes.push(imputed); 17336 } 17337 } 17338 currentId = (_, i) => I[i]; 17339 currentParentId = (_, i) => P[i]; 17340 } 17341 17342 for (i = 0, n = nodes.length; i < n; ++i) { 17343 d = nodes[i], node = nodes[i] = new _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__.Node(d); 17344 if ((nodeId = currentId(d, i, data)) != null && (nodeId += "")) { 17345 nodeKey = node.id = nodeId; 17346 nodeByKey.set(nodeKey, nodeByKey.has(nodeKey) ? ambiguous : node); 17347 } 17348 if ((nodeId = currentParentId(d, i, data)) != null && (nodeId += "")) { 17349 node.parent = nodeId; 17350 } 17351 } 17352 17353 for (i = 0; i < n; ++i) { 17354 node = nodes[i]; 17355 if (nodeId = node.parent) { 17356 parent = nodeByKey.get(nodeId); 17357 if (!parent) throw new Error("missing: " + nodeId); 17358 if (parent === ambiguous) throw new Error("ambiguous: " + nodeId); 17359 if (parent.children) parent.children.push(node); 17360 else parent.children = [node]; 17361 node.parent = parent; 17362 } else { 17363 if (root) throw new Error("multiple roots"); 17364 root = node; 17365 } 17366 } 17367 17368 if (!root) throw new Error("no root"); 17369 17370 // When imputing internal nodes, only introduce roots if needed. 17371 // Then replace the imputed marker data with null. 17372 if (path != null) { 17373 while (root.data === imputed && root.children.length === 1) { 17374 root = root.children[0], --n; 17375 } 17376 for (let i = nodes.length - 1; i >= 0; --i) { 17377 node = nodes[i]; 17378 if (node.data !== imputed) break; 17379 node.data = null; 17380 } 17381 } 17382 17383 root.parent = preroot; 17384 root.eachBefore(function(node) { node.depth = node.parent.depth + 1; --n; }).eachBefore(_hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__.computeHeight); 17385 root.parent = null; 17386 if (n > 0) throw new Error("cycle"); 17387 17388 return root; 17389 } 17390 17391 stratify.id = function(x) { 17392 return arguments.length ? (id = (0,_accessors_js__WEBPACK_IMPORTED_MODULE_1__.optional)(x), stratify) : id; 17393 }; 17394 17395 stratify.parentId = function(x) { 17396 return arguments.length ? (parentId = (0,_accessors_js__WEBPACK_IMPORTED_MODULE_1__.optional)(x), stratify) : parentId; 17397 }; 17398 17399 stratify.path = function(x) { 17400 return arguments.length ? (path = (0,_accessors_js__WEBPACK_IMPORTED_MODULE_1__.optional)(x), stratify) : path; 17401 }; 17402 17403 return stratify; 17404} 17405 17406// To normalize a path, we coerce to a string, strip the trailing slash if any 17407// (as long as the trailing slash is not immediately preceded by another slash), 17408// and add leading slash if missing. 17409function normalize(path) { 17410 path = `${path}`; 17411 let i = path.length; 17412 if (slash(path, i - 1) && !slash(path, i - 2)) path = path.slice(0, -1); 17413 return path[0] === "/" ? path : `/${path}`; 17414} 17415 17416// Walk backwards to find the first slash that is not the leading slash, e.g.: 17417// "/foo/bar" ⥠"/foo", "/foo" ⥠"/", "/" ⦠"". (The root is special-cased 17418// because the id of the root must be a truthy value.) 17419function parentof(path) { 17420 let i = path.length; 17421 if (i < 2) return ""; 17422 while (--i > 1) if (slash(path, i)) break; 17423 return path.slice(0, i); 17424} 17425 17426// Slashes can be escaped; to determine whether a slash is a path delimiter, we 17427// count the number of preceding backslashes escaping the forward slash: an odd 17428// number indicates an escaped forward slash. 17429function slash(path, i) { 17430 if (path[i] === "/") { 17431 let k = 0; 17432 while (i > 0 && path[--i] === "\\") ++k; 17433 if ((k & 1) === 0) return true; 17434 } 17435 return false; 17436} 17437 17438 17439/***/ }), 17440
vendor: 7,836 bytes, lines 17441-17692
17441/***/ "./node_modules/d3-hierarchy/src/tree.js": 17442/*!***********************************************!*\ 17443 !*** ./node_modules/d3-hierarchy/src/tree.js ***! 17444 \***********************************************/ 17445/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17446 17447__webpack_require__.r(__webpack_exports__); 17448/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17449/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17450/* harmony export */ }); 17451/* harmony import */ var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hierarchy/index.js */ "./node_modules/d3-hierarchy/src/hierarchy/index.js"); 17452 17453 17454function defaultSeparation(a, b) { 17455 return a.parent === b.parent ? 1 : 2; 17456} 17457 17458// function radialSeparation(a, b) { 17459// return (a.parent === b.parent ? 1 : 2) / a.depth; 17460// } 17461 17462// This function is used to traverse the left contour of a subtree (or 17463// subforest). It returns the successor of v on this contour. This successor is 17464// either given by the leftmost child of v or by the thread of v. The function 17465// returns null if and only if v is on the highest level of its subtree. 17466function nextLeft(v) { 17467 var children = v.children; 17468 return children ? children[0] : v.t; 17469} 17470 17471// This function works analogously to nextLeft. 17472function nextRight(v) { 17473 var children = v.children; 17474 return children ? children[children.length - 1] : v.t; 17475} 17476 17477// Shifts the current subtree rooted at w+. This is done by increasing 17478// prelim(w+) and mod(w+) by shift. 17479function moveSubtree(wm, wp, shift) { 17480 var change = shift / (wp.i - wm.i); 17481 wp.c -= change; 17482 wp.s += shift; 17483 wm.c += change; 17484 wp.z += shift; 17485 wp.m += shift; 17486} 17487 17488// All other shifts, applied to the smaller subtrees between w- and w+, are 17489// performed by this function. To prepare the shifts, we have to adjust 17490// change(w+), shift(w+), and change(w-). 17491function executeShifts(v) { 17492 var shift = 0, 17493 change = 0, 17494 children = v.children, 17495 i = children.length, 17496 w; 17497 while (--i >= 0) { 17498 w = children[i]; 17499 w.z += shift; 17500 w.m += shift; 17501 shift += w.s + (change += w.c); 17502 } 17503} 17504 17505// If vi-âs ancestor is a sibling of v, returns vi-âs ancestor. Otherwise, 17506// returns the specified (default) ancestor. 17507function nextAncestor(vim, v, ancestor) { 17508 return vim.a.parent === v.parent ? vim.a : ancestor; 17509} 17510 17511function TreeNode(node, i) { 17512 this._ = node; 17513 this.parent = null; 17514 this.children = null; 17515 this.A = null; // default ancestor 17516 this.a = this; // ancestor 17517 this.z = 0; // prelim 17518 this.m = 0; // mod 17519 this.c = 0; // change 17520 this.s = 0; // shift 17521 this.t = null; // thread 17522 this.i = i; // number 17523} 17524 17525TreeNode.prototype = Object.create(_hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__.Node.prototype); 17526 17527function treeRoot(root) { 17528 var tree = new TreeNode(root, 0), 17529 node, 17530 nodes = [tree], 17531 child, 17532 children, 17533 i, 17534 n; 17535 17536 while (node = nodes.pop()) { 17537 if (children = node._.children) { 17538 node.children = new Array(n = children.length); 17539 for (i = n - 1; i >= 0; --i) { 17540 nodes.push(child = node.children[i] = new TreeNode(children[i], i)); 17541 child.parent = node; 17542 } 17543 } 17544 } 17545 17546 (tree.parent = new TreeNode(null, 0)).children = [tree]; 17547 return tree; 17548} 17549 17550// Node-link tree diagram using the Reingold-Tilford "tidy" algorithm 17551/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 17552 var separation = defaultSeparation, 17553 dx = 1, 17554 dy = 1, 17555 nodeSize = null; 17556 17557 function tree(root) { 17558 var t = treeRoot(root); 17559 17560 // Compute the layout using Buchheim et al.âs algorithm. 17561 t.eachAfter(firstWalk), t.parent.m = -t.z; 17562 t.eachBefore(secondWalk); 17563 17564 // If a fixed node size is specified, scale x and y. 17565 if (nodeSize) root.eachBefore(sizeNode); 17566 17567 // If a fixed tree size is specified, scale x and y based on the extent. 17568 // Compute the left-most, right-most, and depth-most nodes for extents. 17569 else { 17570 var left = root, 17571 right = root, 17572 bottom = root; 17573 root.eachBefore(function(node) { 17574 if (node.x < left.x) left = node; 17575 if (node.x > right.x) right = node; 17576 if (node.depth > bottom.depth) bottom = node; 17577 }); 17578 var s = left === right ? 1 : separation(left, right) / 2, 17579 tx = s - left.x, 17580 kx = dx / (right.x + s + tx), 17581 ky = dy / (bottom.depth || 1); 17582 root.eachBefore(function(node) { 17583 node.x = (node.x + tx) * kx; 17584 node.y = node.depth * ky; 17585 }); 17586 } 17587 17588 return root; 17589 } 17590 17591 // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is 17592 // applied recursively to the children of v, as well as the function 17593 // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the 17594 // node v is placed to the midpoint of its outermost children. 17595 function firstWalk(v) { 17596 var children = v.children, 17597 siblings = v.parent.children, 17598 w = v.i ? siblings[v.i - 1] : null; 17599 if (children) { 17600 executeShifts(v); 17601 var midpoint = (children[0].z + children[children.length - 1].z) / 2; 17602 if (w) { 17603 v.z = w.z + separation(v._, w._); 17604 v.m = v.z - midpoint; 17605 } else { 17606 v.z = midpoint; 17607 } 17608 } else if (w) { 17609 v.z = w.z + separation(v._, w._); 17610 } 17611 v.parent.A = apportion(v, w, v.parent.A || siblings[0]); 17612 } 17613 17614 // Computes all real x-coordinates by summing up the modifiers recursively. 17615 function secondWalk(v) { 17616 v._.x = v.z + v.parent.m; 17617 v.m += v.parent.m; 17618 } 17619 17620 // The core of the algorithm. Here, a new subtree is combined with the 17621 // previous subtrees. Threads are used to traverse the inside and outside 17622 // contours of the left and right subtree up to the highest common level. The 17623 // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the 17624 // superscript o means outside and i means inside, the subscript - means left 17625 // subtree and + means right subtree. For summing up the modifiers along the 17626 // contour, we use respective variables si+, si-, so-, and so+. Whenever two 17627 // nodes of the inside contours conflict, we compute the left one of the 17628 // greatest uncommon ancestors using the function ANCESTOR and call MOVE 17629 // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees. 17630 // Finally, we add a new thread (if necessary). 17631 function apportion(v, w, ancestor) { 17632 if (w) { 17633 var vip = v, 17634 vop = v, 17635 vim = w, 17636 vom = vip.parent.children[0], 17637 sip = vip.m, 17638 sop = vop.m, 17639 sim = vim.m, 17640 som = vom.m, 17641 shift; 17642 while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) { 17643 vom = nextLeft(vom); 17644 vop = nextRight(vop); 17645 vop.a = v; 17646 shift = vim.z + sim - vip.z - sip + separation(vim._, vip._); 17647 if (shift > 0) { 17648 moveSubtree(nextAncestor(vim, v, ancestor), v, shift); 17649 sip += shift; 17650 sop += shift; 17651 } 17652 sim += vim.m; 17653 sip += vip.m; 17654 som += vom.m; 17655 sop += vop.m; 17656 } 17657 if (vim && !nextRight(vop)) { 17658 vop.t = vim; 17659 vop.m += sim - sop; 17660 } 17661 if (vip && !nextLeft(vom)) { 17662 vom.t = vip; 17663 vom.m += sip - som; 17664 ancestor = v; 17665 } 17666 } 17667 return ancestor; 17668 } 17669 17670 function sizeNode(node) { 17671 node.x *= dx; 17672 node.y = node.depth * dy; 17673 } 17674 17675 tree.separation = function(x) { 17676 return arguments.length ? (separation = x, tree) : separation; 17677 }; 17678 17679 tree.size = function(x) { 17680 return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]); 17681 }; 17682 17683 tree.nodeSize = function(x) { 17684 return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null); 17685 }; 17686 17687 return tree; 17688} 17689 17690 17691/***/ }), 17692
vendor: 1,919 bytes, lines 17693-17752
17693/***/ "./node_modules/d3-hierarchy/src/treemap/binary.js": 17694/*!*********************************************************!*\ 17695 !*** ./node_modules/d3-hierarchy/src/treemap/binary.js ***! 17696 \*********************************************************/ 17697/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17698 17699__webpack_require__.r(__webpack_exports__); 17700/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17701/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17702/* harmony export */ }); 17703/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(parent, x0, y0, x1, y1) { 17704 var nodes = parent.children, 17705 i, n = nodes.length, 17706 sum, sums = new Array(n + 1); 17707 17708 for (sums[0] = sum = i = 0; i < n; ++i) { 17709 sums[i + 1] = sum += nodes[i].value; 17710 } 17711 17712 partition(0, n, parent.value, x0, y0, x1, y1); 17713 17714 function partition(i, j, value, x0, y0, x1, y1) { 17715 if (i >= j - 1) { 17716 var node = nodes[i]; 17717 node.x0 = x0, node.y0 = y0; 17718 node.x1 = x1, node.y1 = y1; 17719 return; 17720 } 17721 17722 var valueOffset = sums[i], 17723 valueTarget = (value / 2) + valueOffset, 17724 k = i + 1, 17725 hi = j - 1; 17726 17727 while (k < hi) { 17728 var mid = k + hi >>> 1; 17729 if (sums[mid] < valueTarget) k = mid + 1; 17730 else hi = mid; 17731 } 17732 17733 if ((valueTarget - sums[k - 1]) < (sums[k] - valueTarget) && i + 1 < k) --k; 17734 17735 var valueLeft = sums[k] - valueOffset, 17736 valueRight = value - valueLeft; 17737 17738 if ((x1 - x0) > (y1 - y0)) { 17739 var xk = value ? (x0 * valueRight + x1 * valueLeft) / value : x1; 17740 partition(i, k, valueLeft, x0, y0, xk, y1); 17741 partition(k, j, valueRight, xk, y0, x1, y1); 17742 } else { 17743 var yk = value ? (y0 * valueRight + y1 * valueLeft) / value : y1; 17744 partition(i, k, valueLeft, x0, y0, x1, yk); 17745 partition(k, j, valueRight, x0, yk, x1, y1); 17746 } 17747 } 17748} 17749 17750 17751/***/ }), 17752
vendor: 928 bytes, lines 17753-17778
17753/***/ "./node_modules/d3-hierarchy/src/treemap/dice.js": 17754/*!*******************************************************!*\ 17755 !*** ./node_modules/d3-hierarchy/src/treemap/dice.js ***! 17756 \*******************************************************/ 17757/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17758 17759__webpack_require__.r(__webpack_exports__); 17760/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17761/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17762/* harmony export */ }); 17763/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(parent, x0, y0, x1, y1) { 17764 var nodes = parent.children, 17765 node, 17766 i = -1, 17767 n = nodes.length, 17768 k = parent.value && (x1 - x0) / parent.value; 17769 17770 while (++i < n) { 17771 node = nodes[i], node.y0 = y0, node.y1 = y1; 17772 node.x0 = x0, node.x1 = x0 += node.value * k; 17773 } 17774} 17775 17776 17777/***/ }), 17778
vendor: 4,503 bytes, lines 17779-17890
17779/***/ "./node_modules/d3-hierarchy/src/treemap/index.js": 17780/*!********************************************************!*\ 17781 !*** ./node_modules/d3-hierarchy/src/treemap/index.js ***! 17782 \********************************************************/ 17783/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17784 17785__webpack_require__.r(__webpack_exports__); 17786/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17787/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17788/* harmony export */ }); 17789/* harmony import */ var _round_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./round.js */ "./node_modules/d3-hierarchy/src/treemap/round.js"); 17790/* harmony import */ var _squarify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./squarify.js */ "./node_modules/d3-hierarchy/src/treemap/squarify.js"); 17791/* harmony import */ var _accessors_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../accessors.js */ "./node_modules/d3-hierarchy/src/accessors.js"); 17792/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constant.js */ "./node_modules/d3-hierarchy/src/constant.js"); 17793 17794 17795 17796 17797 17798/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 17799 var tile = _squarify_js__WEBPACK_IMPORTED_MODULE_0__["default"], 17800 round = false, 17801 dx = 1, 17802 dy = 1, 17803 paddingStack = [0], 17804 paddingInner = _constant_js__WEBPACK_IMPORTED_MODULE_1__.constantZero, 17805 paddingTop = _constant_js__WEBPACK_IMPORTED_MODULE_1__.constantZero, 17806 paddingRight = _constant_js__WEBPACK_IMPORTED_MODULE_1__.constantZero, 17807 paddingBottom = _constant_js__WEBPACK_IMPORTED_MODULE_1__.constantZero, 17808 paddingLeft = _constant_js__WEBPACK_IMPORTED_MODULE_1__.constantZero; 17809 17810 function treemap(root) { 17811 root.x0 = 17812 root.y0 = 0; 17813 root.x1 = dx; 17814 root.y1 = dy; 17815 root.eachBefore(positionNode); 17816 paddingStack = [0]; 17817 if (round) root.eachBefore(_round_js__WEBPACK_IMPORTED_MODULE_2__["default"]); 17818 return root; 17819 } 17820 17821 function positionNode(node) { 17822 var p = paddingStack[node.depth], 17823 x0 = node.x0 + p, 17824 y0 = node.y0 + p, 17825 x1 = node.x1 - p, 17826 y1 = node.y1 - p; 17827 if (x1 < x0) x0 = x1 = (x0 + x1) / 2; 17828 if (y1 < y0) y0 = y1 = (y0 + y1) / 2; 17829 node.x0 = x0; 17830 node.y0 = y0; 17831 node.x1 = x1; 17832 node.y1 = y1; 17833 if (node.children) { 17834 p = paddingStack[node.depth + 1] = paddingInner(node) / 2; 17835 x0 += paddingLeft(node) - p; 17836 y0 += paddingTop(node) - p; 17837 x1 -= paddingRight(node) - p; 17838 y1 -= paddingBottom(node) - p; 17839 if (x1 < x0) x0 = x1 = (x0 + x1) / 2; 17840 if (y1 < y0) y0 = y1 = (y0 + y1) / 2; 17841 tile(node, x0, y0, x1, y1); 17842 } 17843 } 17844 17845 treemap.round = function(x) { 17846 return arguments.length ? (round = !!x, treemap) : round; 17847 }; 17848 17849 treemap.size = function(x) { 17850 return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy]; 17851 }; 17852 17853 treemap.tile = function(x) { 17854 return arguments.length ? (tile = (0,_accessors_js__WEBPACK_IMPORTED_MODULE_3__.required)(x), treemap) : tile; 17855 }; 17856 17857 treemap.padding = function(x) { 17858 return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner(); 17859 }; 17860 17861 treemap.paddingInner = function(x) { 17862 return arguments.length ? (paddingInner = typeof x === "function" ? x : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+x), treemap) : paddingInner; 17863 }; 17864 17865 treemap.paddingOuter = function(x) { 17866 return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop(); 17867 }; 17868 17869 treemap.paddingTop = function(x) { 17870 return arguments.length ? (paddingTop = typeof x === "function" ? x : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+x), treemap) : paddingTop; 17871 }; 17872 17873 treemap.paddingRight = function(x) { 17874 return arguments.length ? (paddingRight = typeof x === "function" ? x : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+x), treemap) : paddingRight; 17875 }; 17876 17877 treemap.paddingBottom = function(x) { 17878 return arguments.length ? (paddingBottom = typeof x === "function" ? x : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+x), treemap) : paddingBottom; 17879 }; 17880 17881 treemap.paddingLeft = function(x) { 17882 return arguments.length ? (paddingLeft = typeof x === "function" ? x : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+x), treemap) : paddingLeft; 17883 }; 17884 17885 return treemap; 17886} 17887 17888 17889/***/ }), 17890
vendor: 2,212 bytes, lines 17891-17943
17891/***/ "./node_modules/d3-hierarchy/src/treemap/resquarify.js": 17892/*!*************************************************************!*\ 17893 !*** ./node_modules/d3-hierarchy/src/treemap/resquarify.js ***! 17894 \*************************************************************/ 17895/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17896 17897__webpack_require__.r(__webpack_exports__); 17898/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17899/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 17900/* harmony export */ }); 17901/* harmony import */ var _dice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dice.js */ "./node_modules/d3-hierarchy/src/treemap/dice.js"); 17902/* harmony import */ var _slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./slice.js */ "./node_modules/d3-hierarchy/src/treemap/slice.js"); 17903/* harmony import */ var _squarify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./squarify.js */ "./node_modules/d3-hierarchy/src/treemap/squarify.js"); 17904 17905 17906 17907 17908/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(ratio) { 17909 17910 function resquarify(parent, x0, y0, x1, y1) { 17911 if ((rows = parent._squarify) && (rows.ratio === ratio)) { 17912 var rows, 17913 row, 17914 nodes, 17915 i, 17916 j = -1, 17917 n, 17918 m = rows.length, 17919 value = parent.value; 17920 17921 while (++j < m) { 17922 row = rows[j], nodes = row.children; 17923 for (i = row.value = 0, n = nodes.length; i < n; ++i) row.value += nodes[i].value; 17924 if (row.dice) (0,_dice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(row, x0, y0, x1, value ? y0 += (y1 - y0) * row.value / value : y1); 17925 else (0,_slice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(row, x0, y0, value ? x0 += (x1 - x0) * row.value / value : x1, y1); 17926 value -= row.value; 17927 } 17928 } else { 17929 parent._squarify = rows = (0,_squarify_js__WEBPACK_IMPORTED_MODULE_2__.squarifyRatio)(ratio, parent, x0, y0, x1, y1); 17930 rows.ratio = ratio; 17931 } 17932 } 17933 17934 resquarify.ratio = function(x) { 17935 return custom((x = +x) > 1 ? x : 1); 17936 }; 17937 17938 return resquarify; 17939})(_squarify_js__WEBPACK_IMPORTED_MODULE_2__.phi)); 17940 17941 17942/***/ }), 17943
vendor: 789 bytes, lines 17944-17963
17944/***/ "./node_modules/d3-hierarchy/src/treemap/round.js": 17945/*!********************************************************!*\ 17946 !*** ./node_modules/d3-hierarchy/src/treemap/round.js ***! 17947 \********************************************************/ 17948/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17949 17950__webpack_require__.r(__webpack_exports__); 17951/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17952/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17953/* harmony export */ }); 17954/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(node) { 17955 node.x0 = Math.round(node.x0); 17956 node.y0 = Math.round(node.y0); 17957 node.x1 = Math.round(node.x1); 17958 node.y1 = Math.round(node.y1); 17959} 17960 17961 17962/***/ }), 17963
vendor: 932 bytes, lines 17964-17989
17964/***/ "./node_modules/d3-hierarchy/src/treemap/slice.js": 17965/*!********************************************************!*\ 17966 !*** ./node_modules/d3-hierarchy/src/treemap/slice.js ***! 17967 \********************************************************/ 17968/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17969 17970__webpack_require__.r(__webpack_exports__); 17971/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17972/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17973/* harmony export */ }); 17974/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(parent, x0, y0, x1, y1) { 17975 var nodes = parent.children, 17976 node, 17977 i = -1, 17978 n = nodes.length, 17979 k = parent.value && (y1 - y0) / parent.value; 17980 17981 while (++i < n) { 17982 node = nodes[i], node.x0 = x0, node.x1 = x1; 17983 node.y0 = y0, node.y1 = y0 += node.value * k; 17984 } 17985} 17986 17987 17988/***/ }), 17989
vendor: 1,154 bytes, lines 17990-18011
17990/***/ "./node_modules/d3-hierarchy/src/treemap/sliceDice.js": 17991/*!************************************************************!*\ 17992 !*** ./node_modules/d3-hierarchy/src/treemap/sliceDice.js ***! 17993 \************************************************************/ 17994/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 17995 17996__webpack_require__.r(__webpack_exports__); 17997/* harmony export */ __webpack_require__.d(__webpack_exports__, { 17998/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 17999/* harmony export */ }); 18000/* harmony import */ var _dice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dice.js */ "./node_modules/d3-hierarchy/src/treemap/dice.js"); 18001/* harmony import */ var _slice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./slice.js */ "./node_modules/d3-hierarchy/src/treemap/slice.js"); 18002 18003 18004 18005/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(parent, x0, y0, x1, y1) { 18006 (parent.depth & 1 ? _slice_js__WEBPACK_IMPORTED_MODULE_0__["default"] : _dice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(parent, x0, y0, x1, y1); 18007} 18008 18009 18010/***/ }), 18011
vendor: 2,925 bytes, lines 18012-18095
18012/***/ "./node_modules/d3-hierarchy/src/treemap/squarify.js": 18013/*!***********************************************************!*\ 18014 !*** ./node_modules/d3-hierarchy/src/treemap/squarify.js ***! 18015 \***********************************************************/ 18016/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18017 18018__webpack_require__.r(__webpack_exports__); 18019/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18020/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 18021/* harmony export */ phi: () => (/* binding */ phi), 18022/* harmony export */ squarifyRatio: () => (/* binding */ squarifyRatio) 18023/* harmony export */ }); 18024/* harmony import */ var _dice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dice.js */ "./node_modules/d3-hierarchy/src/treemap/dice.js"); 18025/* harmony import */ var _slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./slice.js */ "./node_modules/d3-hierarchy/src/treemap/slice.js"); 18026 18027 18028 18029var phi = (1 + Math.sqrt(5)) / 2; 18030 18031function squarifyRatio(ratio, parent, x0, y0, x1, y1) { 18032 var rows = [], 18033 nodes = parent.children, 18034 row, 18035 nodeValue, 18036 i0 = 0, 18037 i1 = 0, 18038 n = nodes.length, 18039 dx, dy, 18040 value = parent.value, 18041 sumValue, 18042 minValue, 18043 maxValue, 18044 newRatio, 18045 minRatio, 18046 alpha, 18047 beta; 18048 18049 while (i0 < n) { 18050 dx = x1 - x0, dy = y1 - y0; 18051 18052 // Find the next non-empty node. 18053 do sumValue = nodes[i1++].value; while (!sumValue && i1 < n); 18054 minValue = maxValue = sumValue; 18055 alpha = Math.max(dy / dx, dx / dy) / (value * ratio); 18056 beta = sumValue * sumValue * alpha; 18057 minRatio = Math.max(maxValue / beta, beta / minValue); 18058 18059 // Keep adding nodes while the aspect ratio maintains or improves. 18060 for (; i1 < n; ++i1) { 18061 sumValue += nodeValue = nodes[i1].value; 18062 if (nodeValue < minValue) minValue = nodeValue; 18063 if (nodeValue > maxValue) maxValue = nodeValue; 18064 beta = sumValue * sumValue * alpha; 18065 newRatio = Math.max(maxValue / beta, beta / minValue); 18066 if (newRatio > minRatio) { sumValue -= nodeValue; break; } 18067 minRatio = newRatio; 18068 } 18069 18070 // Position and record the row orientation. 18071 rows.push(row = {value: sumValue, dice: dx < dy, children: nodes.slice(i0, i1)}); 18072 if (row.dice) (0,_dice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1); 18073 else (0,_slice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1); 18074 value -= sumValue, i0 = i1; 18075 } 18076 18077 return rows; 18078} 18079 18080/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(ratio) { 18081 18082 function squarify(parent, x0, y0, x1, y1) { 18083 squarifyRatio(ratio, parent, x0, y0, x1, y1); 18084 } 18085 18086 squarify.ratio = function(x) { 18087 return custom((x = +x) > 1 ? x : 1); 18088 }; 18089 18090 return squarify; 18091})(phi)); 18092 18093 18094/***/ }), 18095
vendor: 1,575 bytes, lines 18096-18134
18096/***/ "./node_modules/d3-interpolate/src/array.js": 18097/*!**************************************************!*\ 18098 !*** ./node_modules/d3-interpolate/src/array.js ***! 18099 \**************************************************/ 18100/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18101 18102__webpack_require__.r(__webpack_exports__); 18103/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18104/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 18105/* harmony export */ genericArray: () => (/* binding */ genericArray) 18106/* harmony export */ }); 18107/* harmony import */ var _value_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./value.js */ "./node_modules/d3-interpolate/src/value.js"); 18108/* harmony import */ var _numberArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./numberArray.js */ "./node_modules/d3-interpolate/src/numberArray.js"); 18109 18110 18111 18112/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 18113 return ((0,_numberArray_js__WEBPACK_IMPORTED_MODULE_0__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_0__["default"] : genericArray)(a, b); 18114} 18115 18116function genericArray(a, b) { 18117 var nb = b ? b.length : 0, 18118 na = a ? Math.min(nb, a.length) : 0, 18119 x = new Array(na), 18120 c = new Array(nb), 18121 i; 18122 18123 for (i = 0; i < na; ++i) x[i] = (0,_value_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a[i], b[i]); 18124 for (; i < nb; ++i) c[i] = b[i]; 18125 18126 return function(t) { 18127 for (i = 0; i < na; ++i) c[i] = x[i](t); 18128 return c; 18129 }; 18130} 18131 18132 18133/***/ }), 18134
vendor: 1,251 bytes, lines 18135-18168
18135/***/ "./node_modules/d3-interpolate/src/basis.js": 18136/*!**************************************************!*\ 18137 !*** ./node_modules/d3-interpolate/src/basis.js ***! 18138 \**************************************************/ 18139/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18140 18141__webpack_require__.r(__webpack_exports__); 18142/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18143/* harmony export */ basis: () => (/* binding */ basis), 18144/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18145/* harmony export */ }); 18146function basis(t1, v0, v1, v2, v3) { 18147 var t2 = t1 * t1, t3 = t2 * t1; 18148 return ((1 - 3 * t1 + 3 * t2 - t3) * v0 18149 + (4 - 6 * t2 + 3 * t3) * v1 18150 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 18151 + t3 * v3) / 6; 18152} 18153 18154/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(values) { 18155 var n = values.length - 1; 18156 return function(t) { 18157 var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n), 18158 v1 = values[i], 18159 v2 = values[i + 1], 18160 v0 = i > 0 ? values[i - 1] : 2 * v1 - v2, 18161 v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1; 18162 return basis((t - i / n) * n, v0, v1, v2, v3); 18163 }; 18164} 18165 18166 18167/***/ }), 18168
vendor: 1,147 bytes, lines 18169-18196
18169/***/ "./node_modules/d3-interpolate/src/basisClosed.js": 18170/*!********************************************************!*\ 18171 !*** ./node_modules/d3-interpolate/src/basisClosed.js ***! 18172 \********************************************************/ 18173/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18174 18175__webpack_require__.r(__webpack_exports__); 18176/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18177/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18178/* harmony export */ }); 18179/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basis.js */ "./node_modules/d3-interpolate/src/basis.js"); 18180 18181 18182/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(values) { 18183 var n = values.length; 18184 return function(t) { 18185 var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n), 18186 v0 = values[(i + n - 1) % n], 18187 v1 = values[i % n], 18188 v2 = values[(i + 1) % n], 18189 v3 = values[(i + 2) % n]; 18190 return (0,_basis_js__WEBPACK_IMPORTED_MODULE_0__.basis)((t - i / n) * n, v0, v1, v2, v3); 18191 }; 18192} 18193 18194 18195/***/ }), 18196
vendor: 1,576 bytes, lines 18197-18242
18197/***/ "./node_modules/d3-interpolate/src/color.js": 18198/*!**************************************************!*\ 18199 !*** ./node_modules/d3-interpolate/src/color.js ***! 18200 \**************************************************/ 18201/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18202 18203__webpack_require__.r(__webpack_exports__); 18204/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18205/* harmony export */ "default": () => (/* binding */ nogamma), 18206/* harmony export */ gamma: () => (/* binding */ gamma), 18207/* harmony export */ hue: () => (/* binding */ hue) 18208/* harmony export */ }); 18209/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-interpolate/src/constant.js"); 18210 18211 18212function linear(a, d) { 18213 return function(t) { 18214 return a + t * d; 18215 }; 18216} 18217 18218function exponential(a, b, y) { 18219 return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) { 18220 return Math.pow(a + t * b, y); 18221 }; 18222} 18223 18224function hue(a, b) { 18225 var d = b - a; 18226 return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a); 18227} 18228 18229function gamma(y) { 18230 return (y = +y) === 1 ? nogamma : function(a, b) { 18231 return b - a ? exponential(a, b, y) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a); 18232 }; 18233} 18234 18235function nogamma(a, b) { 18236 var d = b - a; 18237 return d ? linear(a, d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a); 18238} 18239 18240 18241/***/ }), 18242
vendor: 621 bytes, lines 18243-18257
18243/***/ "./node_modules/d3-interpolate/src/constant.js": 18244/*!*****************************************************!*\ 18245 !*** ./node_modules/d3-interpolate/src/constant.js ***! 18246 \*****************************************************/ 18247/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18248 18249__webpack_require__.r(__webpack_exports__); 18250/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18251/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 18252/* harmony export */ }); 18253/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (x => () => x); 18254 18255 18256/***/ }), 18257
vendor: 1,936 bytes, lines 18258-18303
18258/***/ "./node_modules/d3-interpolate/src/cubehelix.js": 18259/*!******************************************************!*\ 18260 !*** ./node_modules/d3-interpolate/src/cubehelix.js ***! 18261 \******************************************************/ 18262/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18263 18264__webpack_require__.r(__webpack_exports__); 18265/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18266/* harmony export */ cubehelixLong: () => (/* binding */ cubehelixLong), 18267/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 18268/* harmony export */ }); 18269/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/cubehelix.js"); 18270/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-interpolate/src/color.js"); 18271 18272 18273 18274function cubehelix(hue) { 18275 return (function cubehelixGamma(y) { 18276 y = +y; 18277 18278 function cubehelix(start, end) { 18279 var h = hue((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__["default"])(start)).h, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__["default"])(end)).h), 18280 s = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.s, end.s), 18281 l = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l), 18282 opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity); 18283 return function(t) { 18284 start.h = h(t); 18285 start.s = s(t); 18286 start.l = l(Math.pow(t, y)); 18287 start.opacity = opacity(t); 18288 return start + ""; 18289 }; 18290 } 18291 18292 cubehelix.gamma = cubehelixGamma; 18293 18294 return cubehelix; 18295 })(1); 18296} 18297 18298/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__.hue)); 18299var cubehelixLong = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]); 18300 18301 18302/***/ }), 18303
vendor: 739 bytes, lines 18304-18323
18304/***/ "./node_modules/d3-interpolate/src/date.js": 18305/*!*************************************************!*\ 18306 !*** ./node_modules/d3-interpolate/src/date.js ***! 18307 \*************************************************/ 18308/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18309 18310__webpack_require__.r(__webpack_exports__); 18311/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18312/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18313/* harmony export */ }); 18314/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 18315 var d = new Date; 18316 return a = +a, b = +b, function(t) { 18317 return d.setTime(a * (1 - t) + b * t), d; 18318 }; 18319} 18320 18321 18322/***/ }), 18323
vendor: 765 bytes, lines 18324-18343
18324/***/ "./node_modules/d3-interpolate/src/discrete.js": 18325/*!*****************************************************!*\ 18326 !*** ./node_modules/d3-interpolate/src/discrete.js ***! 18327 \*****************************************************/ 18328/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18329 18330__webpack_require__.r(__webpack_exports__); 18331/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18332/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18333/* harmony export */ }); 18334/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(range) { 18335 var n = range.length; 18336 return function(t) { 18337 return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))]; 18338 }; 18339} 18340 18341 18342/***/ }), 18343
vendor: 1,691 bytes, lines 18344-18381
18344/***/ "./node_modules/d3-interpolate/src/hcl.js": 18345/*!************************************************!*\ 18346 !*** ./node_modules/d3-interpolate/src/hcl.js ***! 18347 \************************************************/ 18348/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18349 18350__webpack_require__.r(__webpack_exports__); 18351/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18352/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 18353/* harmony export */ hclLong: () => (/* binding */ hclLong) 18354/* harmony export */ }); 18355/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/lab.js"); 18356/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-interpolate/src/color.js"); 18357 18358 18359 18360function hcl(hue) { 18361 return function(start, end) { 18362 var h = hue((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__.hcl)(start)).h, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__.hcl)(end)).h), 18363 c = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.c, end.c), 18364 l = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l), 18365 opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity); 18366 return function(t) { 18367 start.h = h(t); 18368 start.c = c(t); 18369 start.l = l(t); 18370 start.opacity = opacity(t); 18371 return start + ""; 18372 }; 18373 } 18374} 18375 18376/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hcl(_color_js__WEBPACK_IMPORTED_MODULE_1__.hue)); 18377var hclLong = hcl(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]); 18378 18379 18380/***/ }), 18381
vendor: 1,693 bytes, lines 18382-18419
18382/***/ "./node_modules/d3-interpolate/src/hsl.js": 18383/*!************************************************!*\ 18384 !*** ./node_modules/d3-interpolate/src/hsl.js ***! 18385 \************************************************/ 18386/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18387 18388__webpack_require__.r(__webpack_exports__); 18389/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18390/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 18391/* harmony export */ hslLong: () => (/* binding */ hslLong) 18392/* harmony export */ }); 18393/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/color.js"); 18394/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-interpolate/src/color.js"); 18395 18396 18397 18398function hsl(hue) { 18399 return function(start, end) { 18400 var h = hue((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__.hsl)(start)).h, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__.hsl)(end)).h), 18401 s = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.s, end.s), 18402 l = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l), 18403 opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity); 18404 return function(t) { 18405 start.h = h(t); 18406 start.s = s(t); 18407 start.l = l(t); 18408 start.opacity = opacity(t); 18409 return start + ""; 18410 }; 18411 } 18412} 18413 18414/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hsl(_color_js__WEBPACK_IMPORTED_MODULE_1__.hue)); 18415var hslLong = hsl(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]); 18416 18417 18418/***/ }), 18419
vendor: 932 bytes, lines 18420-18443
18420/***/ "./node_modules/d3-interpolate/src/hue.js": 18421/*!************************************************!*\ 18422 !*** ./node_modules/d3-interpolate/src/hue.js ***! 18423 \************************************************/ 18424/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18425 18426__webpack_require__.r(__webpack_exports__); 18427/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18428/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18429/* harmony export */ }); 18430/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-interpolate/src/color.js"); 18431 18432 18433/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 18434 var i = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__.hue)(+a, +b); 18435 return function(t) { 18436 var x = i(t); 18437 return x - 360 * Math.floor(x / 360); 18438 }; 18439} 18440 18441 18442/***/ }), 18443
vendor: 7,086 bytes, lines 18444-18525
18444/***/ "./node_modules/d3-interpolate/src/index.js": 18445/*!**************************************************!*\ 18446 !*** ./node_modules/d3-interpolate/src/index.js ***! 18447 \**************************************************/ 18448/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18449 18450__webpack_require__.r(__webpack_exports__); 18451/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18452/* harmony export */ interpolate: () => (/* reexport safe */ _value_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 18453/* harmony export */ interpolateArray: () => (/* reexport safe */ _array_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 18454/* harmony export */ interpolateBasis: () => (/* reexport safe */ _basis_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 18455/* harmony export */ interpolateBasisClosed: () => (/* reexport safe */ _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 18456/* harmony export */ interpolateCubehelix: () => (/* reexport safe */ _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__["default"]), 18457/* harmony export */ interpolateCubehelixLong: () => (/* reexport safe */ _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__.cubehelixLong), 18458/* harmony export */ interpolateDate: () => (/* reexport safe */ _date_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 18459/* harmony export */ interpolateDiscrete: () => (/* reexport safe */ _discrete_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 18460/* harmony export */ interpolateHcl: () => (/* reexport safe */ _hcl_js__WEBPACK_IMPORTED_MODULE_17__["default"]), 18461/* harmony export */ interpolateHclLong: () => (/* reexport safe */ _hcl_js__WEBPACK_IMPORTED_MODULE_17__.hclLong), 18462/* harmony export */ interpolateHsl: () => (/* reexport safe */ _hsl_js__WEBPACK_IMPORTED_MODULE_15__["default"]), 18463/* harmony export */ interpolateHslLong: () => (/* reexport safe */ _hsl_js__WEBPACK_IMPORTED_MODULE_15__.hslLong), 18464/* harmony export */ interpolateHue: () => (/* reexport safe */ _hue_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 18465/* harmony export */ interpolateLab: () => (/* reexport safe */ _lab_js__WEBPACK_IMPORTED_MODULE_16__["default"]), 18466/* harmony export */ interpolateNumber: () => (/* reexport safe */ _number_js__WEBPACK_IMPORTED_MODULE_7__["default"]), 18467/* harmony export */ interpolateNumberArray: () => (/* reexport safe */ _numberArray_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 18468/* harmony export */ interpolateObject: () => (/* reexport safe */ _object_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 18469/* harmony export */ interpolateRgb: () => (/* reexport safe */ _rgb_js__WEBPACK_IMPORTED_MODULE_14__["default"]), 18470/* harmony export */ interpolateRgbBasis: () => (/* reexport safe */ _rgb_js__WEBPACK_IMPORTED_MODULE_14__.rgbBasis), 18471/* harmony export */ interpolateRgbBasisClosed: () => (/* reexport safe */ _rgb_js__WEBPACK_IMPORTED_MODULE_14__.rgbBasisClosed), 18472/* harmony export */ interpolateRound: () => (/* reexport safe */ _round_js__WEBPACK_IMPORTED_MODULE_10__["default"]), 18473/* harmony export */ interpolateString: () => (/* reexport safe */ _string_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 18474/* harmony export */ interpolateTransformCss: () => (/* reexport safe */ _transform_index_js__WEBPACK_IMPORTED_MODULE_12__.interpolateTransformCss), 18475/* harmony export */ interpolateTransformSvg: () => (/* reexport safe */ _transform_index_js__WEBPACK_IMPORTED_MODULE_12__.interpolateTransformSvg), 18476/* harmony export */ interpolateZoom: () => (/* reexport safe */ _zoom_js__WEBPACK_IMPORTED_MODULE_13__["default"]), 18477/* harmony export */ piecewise: () => (/* reexport safe */ _piecewise_js__WEBPACK_IMPORTED_MODULE_19__["default"]), 18478/* harmony export */ quantize: () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_20__["default"]) 18479/* harmony export */ }); 18480/* harmony import */ var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./value.js */ "./node_modules/d3-interpolate/src/value.js"); 18481/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-interpolate/src/array.js"); 18482/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./basis.js */ "./node_modules/d3-interpolate/src/basis.js"); 18483/* harmony import */ var _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basisClosed.js */ "./node_modules/d3-interpolate/src/basisClosed.js"); 18484/* harmony import */ var _date_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./date.js */ "./node_modules/d3-interpolate/src/date.js"); 18485/* harmony import */ var _discrete_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./discrete.js */ "./node_modules/d3-interpolate/src/discrete.js"); 18486/* harmony import */ var _hue_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./hue.js */ "./node_modules/d3-interpolate/src/hue.js"); 18487/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./number.js */ "./node_modules/d3-interpolate/src/number.js"); 18488/* harmony import */ var _numberArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./numberArray.js */ "./node_modules/d3-interpolate/src/numberArray.js"); 18489/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./object.js */ "./node_modules/d3-interpolate/src/object.js"); 18490/* harmony import */ var _round_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./round.js */ "./node_modules/d3-interpolate/src/round.js"); 18491/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./string.js */ "./node_modules/d3-interpolate/src/string.js"); 18492/* harmony import */ var _transform_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./transform/index.js */ "./node_modules/d3-interpolate/src/transform/index.js"); 18493/* harmony import */ var _zoom_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./zoom.js */ "./node_modules/d3-interpolate/src/zoom.js"); 18494/* harmony import */ var _rgb_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./rgb.js */ "./node_modules/d3-interpolate/src/rgb.js"); 18495/* harmony import */ var _hsl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./hsl.js */ "./node_modules/d3-interpolate/src/hsl.js"); 18496/* harmony import */ var _lab_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./lab.js */ "./node_modules/d3-interpolate/src/lab.js"); 18497/* harmony import */ var _hcl_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./hcl.js */ "./node_modules/d3-interpolate/src/hcl.js"); 18498/* harmony import */ var _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./cubehelix.js */ "./node_modules/d3-interpolate/src/cubehelix.js"); 18499/* harmony import */ var _piecewise_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./piecewise.js */ "./node_modules/d3-interpolate/src/piecewise.js"); 18500/* harmony import */ var _quantize_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./quantize.js */ "./node_modules/d3-interpolate/src/quantize.js"); 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524/***/ }), 18525
vendor: 1,446 bytes, lines 18526-18557
18526/***/ "./node_modules/d3-interpolate/src/lab.js": 18527/*!************************************************!*\ 18528 !*** ./node_modules/d3-interpolate/src/lab.js ***! 18529 \************************************************/ 18530/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18531 18532__webpack_require__.r(__webpack_exports__); 18533/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18534/* harmony export */ "default": () => (/* binding */ lab) 18535/* harmony export */ }); 18536/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/lab.js"); 18537/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-interpolate/src/color.js"); 18538 18539 18540 18541function lab(start, end) { 18542 var l = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__["default"])((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(start)).l, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(end)).l), 18543 a = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__["default"])(start.a, end.a), 18544 b = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__["default"])(start.b, end.b), 18545 opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__["default"])(start.opacity, end.opacity); 18546 return function(t) { 18547 start.l = l(t); 18548 start.a = a(t); 18549 start.b = b(t); 18550 start.opacity = opacity(t); 18551 return start + ""; 18552 }; 18553} 18554 18555 18556/***/ }), 18557
vendor: 713 bytes, lines 18558-18576
18558/***/ "./node_modules/d3-interpolate/src/number.js": 18559/*!***************************************************!*\ 18560 !*** ./node_modules/d3-interpolate/src/number.js ***! 18561 \***************************************************/ 18562/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18563 18564__webpack_require__.r(__webpack_exports__); 18565/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18566/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18567/* harmony export */ }); 18568/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 18569 return a = +a, b = +b, function(t) { 18570 return a * (1 - t) + b * t; 18571 }; 18572} 18573 18574 18575/***/ }), 18576
vendor: 1,023 bytes, lines 18577-18605
18577/***/ "./node_modules/d3-interpolate/src/numberArray.js": 18578/*!********************************************************!*\ 18579 !*** ./node_modules/d3-interpolate/src/numberArray.js ***! 18580 \********************************************************/ 18581/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18582 18583__webpack_require__.r(__webpack_exports__); 18584/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18585/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 18586/* harmony export */ isNumberArray: () => (/* binding */ isNumberArray) 18587/* harmony export */ }); 18588/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 18589 if (!b) b = []; 18590 var n = a ? Math.min(b.length, a.length) : 0, 18591 c = b.slice(), 18592 i; 18593 return function(t) { 18594 for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t; 18595 return c; 18596 }; 18597} 18598 18599function isNumberArray(x) { 18600 return ArrayBuffer.isView(x) && !(x instanceof DataView); 18601} 18602 18603 18604/***/ }), 18605
vendor: 1,164 bytes, lines 18606-18643
18606/***/ "./node_modules/d3-interpolate/src/object.js": 18607/*!***************************************************!*\ 18608 !*** ./node_modules/d3-interpolate/src/object.js ***! 18609 \***************************************************/ 18610/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18611 18612__webpack_require__.r(__webpack_exports__); 18613/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18614/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18615/* harmony export */ }); 18616/* harmony import */ var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./value.js */ "./node_modules/d3-interpolate/src/value.js"); 18617 18618 18619/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 18620 var i = {}, 18621 c = {}, 18622 k; 18623 18624 if (a === null || typeof a !== "object") a = {}; 18625 if (b === null || typeof b !== "object") b = {}; 18626 18627 for (k in b) { 18628 if (k in a) { 18629 i[k] = (0,_value_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a[k], b[k]); 18630 } else { 18631 c[k] = b[k]; 18632 } 18633 } 18634 18635 return function(t) { 18636 for (k in i) c[k] = i[k](t); 18637 return c; 18638 }; 18639} 18640 18641 18642/***/ }), 18643
vendor: 1,105 bytes, lines 18644-18669
18644/***/ "./node_modules/d3-interpolate/src/piecewise.js": 18645/*!******************************************************!*\ 18646 !*** ./node_modules/d3-interpolate/src/piecewise.js ***! 18647 \******************************************************/ 18648/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18649 18650__webpack_require__.r(__webpack_exports__); 18651/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18652/* harmony export */ "default": () => (/* binding */ piecewise) 18653/* harmony export */ }); 18654/* harmony import */ var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./value.js */ "./node_modules/d3-interpolate/src/value.js"); 18655 18656 18657function piecewise(interpolate, values) { 18658 if (values === undefined) values = interpolate, interpolate = _value_js__WEBPACK_IMPORTED_MODULE_0__["default"]; 18659 var i = 0, n = values.length - 1, v = values[0], I = new Array(n < 0 ? 0 : n); 18660 while (i < n) I[i] = interpolate(v, v = values[++i]); 18661 return function(t) { 18662 var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n))); 18663 return I[i](t - i); 18664 }; 18665} 18666 18667 18668/***/ }), 18669
vendor: 774 bytes, lines 18670-18688
18670/***/ "./node_modules/d3-interpolate/src/quantize.js": 18671/*!*****************************************************!*\ 18672 !*** ./node_modules/d3-interpolate/src/quantize.js ***! 18673 \*****************************************************/ 18674/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18675 18676__webpack_require__.r(__webpack_exports__); 18677/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18678/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18679/* harmony export */ }); 18680/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(interpolator, n) { 18681 var samples = new Array(n); 18682 for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1)); 18683 return samples; 18684} 18685 18686 18687/***/ }), 18688
vendor: 2,741 bytes, lines 18689-18763
18689/***/ "./node_modules/d3-interpolate/src/rgb.js": 18690/*!************************************************!*\ 18691 !*** ./node_modules/d3-interpolate/src/rgb.js ***! 18692 \************************************************/ 18693/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18694 18695__webpack_require__.r(__webpack_exports__); 18696/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18697/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 18698/* harmony export */ rgbBasis: () => (/* binding */ rgbBasis), 18699/* harmony export */ rgbBasisClosed: () => (/* binding */ rgbBasisClosed) 18700/* harmony export */ }); 18701/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/color.js"); 18702/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./basis.js */ "./node_modules/d3-interpolate/src/basis.js"); 18703/* harmony import */ var _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basisClosed.js */ "./node_modules/d3-interpolate/src/basisClosed.js"); 18704/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color.js */ "./node_modules/d3-interpolate/src/color.js"); 18705 18706 18707 18708 18709 18710/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function rgbGamma(y) { 18711 var color = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__.gamma)(y); 18712 18713 function rgb(start, end) { 18714 var r = color((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__.rgb)(start)).r, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__.rgb)(end)).r), 18715 g = color(start.g, end.g), 18716 b = color(start.b, end.b), 18717 opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__["default"])(start.opacity, end.opacity); 18718 return function(t) { 18719 start.r = r(t); 18720 start.g = g(t); 18721 start.b = b(t); 18722 start.opacity = opacity(t); 18723 return start + ""; 18724 }; 18725 } 18726 18727 rgb.gamma = rgbGamma; 18728 18729 return rgb; 18730})(1)); 18731 18732function rgbSpline(spline) { 18733 return function(colors) { 18734 var n = colors.length, 18735 r = new Array(n), 18736 g = new Array(n), 18737 b = new Array(n), 18738 i, color; 18739 for (i = 0; i < n; ++i) { 18740 color = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__.rgb)(colors[i]); 18741 r[i] = color.r || 0; 18742 g[i] = color.g || 0; 18743 b[i] = color.b || 0; 18744 } 18745 r = spline(r); 18746 g = spline(g); 18747 b = spline(b); 18748 color.opacity = 1; 18749 return function(t) { 18750 color.r = r(t); 18751 color.g = g(t); 18752 color.b = b(t); 18753 return color + ""; 18754 }; 18755 }; 18756} 18757 18758var rgbBasis = rgbSpline(_basis_js__WEBPACK_IMPORTED_MODULE_2__["default"]); 18759var rgbBasisClosed = rgbSpline(_basisClosed_js__WEBPACK_IMPORTED_MODULE_3__["default"]); 18760 18761 18762/***/ }), 18763
vendor: 721 bytes, lines 18764-18782
18764/***/ "./node_modules/d3-interpolate/src/round.js": 18765/*!**************************************************!*\ 18766 !*** ./node_modules/d3-interpolate/src/round.js ***! 18767 \**************************************************/ 18768/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18769 18770__webpack_require__.r(__webpack_exports__); 18771/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18772/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18773/* harmony export */ }); 18774/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 18775 return a = +a, b = +b, function(t) { 18776 return Math.round(a * (1 - t) + b * t); 18777 }; 18778} 18779 18780 18781/***/ }), 18782
vendor: 2,533 bytes, lines 18783-18861
18783/***/ "./node_modules/d3-interpolate/src/string.js": 18784/*!***************************************************!*\ 18785 !*** ./node_modules/d3-interpolate/src/string.js ***! 18786 \***************************************************/ 18787/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18788 18789__webpack_require__.r(__webpack_exports__); 18790/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18791/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 18792/* harmony export */ }); 18793/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./number.js */ "./node_modules/d3-interpolate/src/number.js"); 18794 18795 18796var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, 18797 reB = new RegExp(reA.source, "g"); 18798 18799function zero(b) { 18800 return function() { 18801 return b; 18802 }; 18803} 18804 18805function one(b) { 18806 return function(t) { 18807 return b(t) + ""; 18808 }; 18809} 18810 18811/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 18812 var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b 18813 am, // current match in a 18814 bm, // current match in b 18815 bs, // string preceding current number in b, if any 18816 i = -1, // index in s 18817 s = [], // string constants and placeholders 18818 q = []; // number interpolators 18819 18820 // Coerce inputs to strings. 18821 a = a + "", b = b + ""; 18822 18823 // Interpolate pairs of numbers in a & b. 18824 while ((am = reA.exec(a)) 18825 && (bm = reB.exec(b))) { 18826 if ((bs = bm.index) > bi) { // a string precedes the next number in b 18827 bs = b.slice(bi, bs); 18828 if (s[i]) s[i] += bs; // coalesce with previous string 18829 else s[++i] = bs; 18830 } 18831 if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match 18832 if (s[i]) s[i] += bm; // coalesce with previous string 18833 else s[++i] = bm; 18834 } else { // interpolate non-matching numbers 18835 s[++i] = null; 18836 q.push({i: i, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(am, bm)}); 18837 } 18838 bi = reB.lastIndex; 18839 } 18840 18841 // Add remains of b. 18842 if (bi < b.length) { 18843 bs = b.slice(bi); 18844 if (s[i]) s[i] += bs; // coalesce with previous string 18845 else s[++i] = bs; 18846 } 18847 18848 // Special optimization for only a single match. 18849 // Otherwise, interpolate each of the numbers and rejoin the string. 18850 return s.length < 2 ? (q[0] 18851 ? one(q[0].x) 18852 : zero(b)) 18853 : (b = q.length, function(t) { 18854 for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t); 18855 return s.join(""); 18856 }); 18857} 18858 18859 18860/***/ }), 18861
vendor: 1,385 bytes, lines 18862-18902
18862/***/ "./node_modules/d3-interpolate/src/transform/decompose.js": 18863/*!****************************************************************!*\ 18864 !*** ./node_modules/d3-interpolate/src/transform/decompose.js ***! 18865 \****************************************************************/ 18866/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18867 18868__webpack_require__.r(__webpack_exports__); 18869/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18870/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 18871/* harmony export */ identity: () => (/* binding */ identity) 18872/* harmony export */ }); 18873var degrees = 180 / Math.PI; 18874 18875var identity = { 18876 translateX: 0, 18877 translateY: 0, 18878 rotate: 0, 18879 skewX: 0, 18880 scaleX: 1, 18881 scaleY: 1 18882}; 18883 18884/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b, c, d, e, f) { 18885 var scaleX, scaleY, skewX; 18886 if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX; 18887 if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX; 18888 if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY; 18889 if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX; 18890 return { 18891 translateX: e, 18892 translateY: f, 18893 rotate: Math.atan2(b, a) * degrees, 18894 skewX: Math.atan(skewX) * degrees, 18895 scaleX: scaleX, 18896 scaleY: scaleY 18897 }; 18898} 18899 18900 18901/***/ }), 18902
vendor: 3,347 bytes, lines 18903-18982
18903/***/ "./node_modules/d3-interpolate/src/transform/index.js": 18904/*!************************************************************!*\ 18905 !*** ./node_modules/d3-interpolate/src/transform/index.js ***! 18906 \************************************************************/ 18907/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18908 18909__webpack_require__.r(__webpack_exports__); 18910/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18911/* harmony export */ interpolateTransformCss: () => (/* binding */ interpolateTransformCss), 18912/* harmony export */ interpolateTransformSvg: () => (/* binding */ interpolateTransformSvg) 18913/* harmony export */ }); 18914/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../number.js */ "./node_modules/d3-interpolate/src/number.js"); 18915/* harmony import */ var _parse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parse.js */ "./node_modules/d3-interpolate/src/transform/parse.js"); 18916 18917 18918 18919function interpolateTransform(parse, pxComma, pxParen, degParen) { 18920 18921 function pop(s) { 18922 return s.length ? s.pop() + " " : ""; 18923 } 18924 18925 function translate(xa, ya, xb, yb, s, q) { 18926 if (xa !== xb || ya !== yb) { 18927 var i = s.push("translate(", null, pxComma, null, pxParen); 18928 q.push({i: i - 4, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(xa, xb)}, {i: i - 2, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ya, yb)}); 18929 } else if (xb || yb) { 18930 s.push("translate(" + xb + pxComma + yb + pxParen); 18931 } 18932 } 18933 18934 function rotate(a, b, s, q) { 18935 if (a !== b) { 18936 if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path 18937 q.push({i: s.push(pop(s) + "rotate(", null, degParen) - 2, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a, b)}); 18938 } else if (b) { 18939 s.push(pop(s) + "rotate(" + b + degParen); 18940 } 18941 } 18942 18943 function skewX(a, b, s, q) { 18944 if (a !== b) { 18945 q.push({i: s.push(pop(s) + "skewX(", null, degParen) - 2, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a, b)}); 18946 } else if (b) { 18947 s.push(pop(s) + "skewX(" + b + degParen); 18948 } 18949 } 18950 18951 function scale(xa, ya, xb, yb, s, q) { 18952 if (xa !== xb || ya !== yb) { 18953 var i = s.push(pop(s) + "scale(", null, ",", null, ")"); 18954 q.push({i: i - 4, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(xa, xb)}, {i: i - 2, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ya, yb)}); 18955 } else if (xb !== 1 || yb !== 1) { 18956 s.push(pop(s) + "scale(" + xb + "," + yb + ")"); 18957 } 18958 } 18959 18960 return function(a, b) { 18961 var s = [], // string constants and placeholders 18962 q = []; // number interpolators 18963 a = parse(a), b = parse(b); 18964 translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q); 18965 rotate(a.rotate, b.rotate, s, q); 18966 skewX(a.skewX, b.skewX, s, q); 18967 scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q); 18968 a = b = null; // gc 18969 return function(t) { 18970 var i = -1, n = q.length, o; 18971 while (++i < n) s[(o = q[i]).i] = o.x(t); 18972 return s.join(""); 18973 }; 18974 }; 18975} 18976 18977var interpolateTransformCss = interpolateTransform(_parse_js__WEBPACK_IMPORTED_MODULE_1__.parseCss, "px, ", "px)", "deg)"); 18978var interpolateTransformSvg = interpolateTransform(_parse_js__WEBPACK_IMPORTED_MODULE_1__.parseSvg, ", ", ")", ")"); 18979 18980 18981/***/ }), 18982
vendor: 1,643 bytes, lines 18983-19016
18983/***/ "./node_modules/d3-interpolate/src/transform/parse.js": 18984/*!************************************************************!*\ 18985 !*** ./node_modules/d3-interpolate/src/transform/parse.js ***! 18986 \************************************************************/ 18987/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 18988 18989__webpack_require__.r(__webpack_exports__); 18990/* harmony export */ __webpack_require__.d(__webpack_exports__, { 18991/* harmony export */ parseCss: () => (/* binding */ parseCss), 18992/* harmony export */ parseSvg: () => (/* binding */ parseSvg) 18993/* harmony export */ }); 18994/* harmony import */ var _decompose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./decompose.js */ "./node_modules/d3-interpolate/src/transform/decompose.js"); 18995 18996 18997var svgNode; 18998 18999/* eslint-disable no-undef */ 19000function parseCss(value) { 19001 const m = new (typeof DOMMatrix === "function" ? DOMMatrix : WebKitCSSMatrix)(value + ""); 19002 return m.isIdentity ? _decompose_js__WEBPACK_IMPORTED_MODULE_0__.identity : (0,_decompose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(m.a, m.b, m.c, m.d, m.e, m.f); 19003} 19004 19005function parseSvg(value) { 19006 if (value == null) return _decompose_js__WEBPACK_IMPORTED_MODULE_0__.identity; 19007 if (!svgNode) svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g"); 19008 svgNode.setAttribute("transform", value); 19009 if (!(value = svgNode.transform.baseVal.consolidate())) return _decompose_js__WEBPACK_IMPORTED_MODULE_0__.identity; 19010 value = value.matrix; 19011 return (0,_decompose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value.a, value.b, value.c, value.d, value.e, value.f); 19012} 19013 19014 19015/***/ }), 19016
vendor: 3,037 bytes, lines 19017-19061
19017/***/ "./node_modules/d3-interpolate/src/value.js": 19018/*!**************************************************!*\ 19019 !*** ./node_modules/d3-interpolate/src/value.js ***! 19020 \**************************************************/ 19021/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19022 19023__webpack_require__.r(__webpack_exports__); 19024/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19025/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19026/* harmony export */ }); 19027/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/color.js"); 19028/* harmony import */ var _rgb_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rgb.js */ "./node_modules/d3-interpolate/src/rgb.js"); 19029/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-interpolate/src/array.js"); 19030/* harmony import */ var _date_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./date.js */ "./node_modules/d3-interpolate/src/date.js"); 19031/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./number.js */ "./node_modules/d3-interpolate/src/number.js"); 19032/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./object.js */ "./node_modules/d3-interpolate/src/object.js"); 19033/* harmony import */ var _string_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./string.js */ "./node_modules/d3-interpolate/src/string.js"); 19034/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-interpolate/src/constant.js"); 19035/* harmony import */ var _numberArray_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./numberArray.js */ "./node_modules/d3-interpolate/src/numberArray.js"); 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 19047 var t = typeof b, c; 19048 return b == null || t === "boolean" ? (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(b) 19049 : (t === "number" ? _number_js__WEBPACK_IMPORTED_MODULE_1__["default"] 19050 : t === "string" ? ((c = (0,d3_color__WEBPACK_IMPORTED_MODULE_2__["default"])(b)) ? (b = c, _rgb_js__WEBPACK_IMPORTED_MODULE_3__["default"]) : _string_js__WEBPACK_IMPORTED_MODULE_4__["default"]) 19051 : b instanceof d3_color__WEBPACK_IMPORTED_MODULE_2__["default"] ? _rgb_js__WEBPACK_IMPORTED_MODULE_3__["default"] 19052 : b instanceof Date ? _date_js__WEBPACK_IMPORTED_MODULE_5__["default"] 19053 : (0,_numberArray_js__WEBPACK_IMPORTED_MODULE_6__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_6__["default"] 19054 : Array.isArray(b) ? _array_js__WEBPACK_IMPORTED_MODULE_7__.genericArray 19055 : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? _object_js__WEBPACK_IMPORTED_MODULE_8__["default"] 19056 : _number_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a, b); 19057} 19058 19059 19060/***/ }), 19061
vendor: 2,225 bytes, lines 19062-19146
19062/***/ "./node_modules/d3-interpolate/src/zoom.js": 19063/*!*************************************************!*\ 19064 !*** ./node_modules/d3-interpolate/src/zoom.js ***! 19065 \*************************************************/ 19066/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19067 19068__webpack_require__.r(__webpack_exports__); 19069/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19070/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 19071/* harmony export */ }); 19072var epsilon2 = 1e-12; 19073 19074function cosh(x) { 19075 return ((x = Math.exp(x)) + 1 / x) / 2; 19076} 19077 19078function sinh(x) { 19079 return ((x = Math.exp(x)) - 1 / x) / 2; 19080} 19081 19082function tanh(x) { 19083 return ((x = Math.exp(2 * x)) - 1) / (x + 1); 19084} 19085 19086/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function zoomRho(rho, rho2, rho4) { 19087 19088 // p0 = [ux0, uy0, w0] 19089 // p1 = [ux1, uy1, w1] 19090 function zoom(p0, p1) { 19091 var ux0 = p0[0], uy0 = p0[1], w0 = p0[2], 19092 ux1 = p1[0], uy1 = p1[1], w1 = p1[2], 19093 dx = ux1 - ux0, 19094 dy = uy1 - uy0, 19095 d2 = dx * dx + dy * dy, 19096 i, 19097 S; 19098 19099 // Special case for u0 â u1. 19100 if (d2 < epsilon2) { 19101 S = Math.log(w1 / w0) / rho; 19102 i = function(t) { 19103 return [ 19104 ux0 + t * dx, 19105 uy0 + t * dy, 19106 w0 * Math.exp(rho * t * S) 19107 ]; 19108 } 19109 } 19110 19111 // General case. 19112 else { 19113 var d1 = Math.sqrt(d2), 19114 b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1), 19115 b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1), 19116 r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0), 19117 r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1); 19118 S = (r1 - r0) / rho; 19119 i = function(t) { 19120 var s = t * S, 19121 coshr0 = cosh(r0), 19122 u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0)); 19123 return [ 19124 ux0 + u * dx, 19125 uy0 + u * dy, 19126 w0 * coshr0 / cosh(rho * s + r0) 19127 ]; 19128 } 19129 } 19130 19131 i.duration = S * 1000 * rho / Math.SQRT2; 19132 19133 return i; 19134 } 19135 19136 zoom.rho = function(_) { 19137 var _1 = Math.max(1e-3, +_), _2 = _1 * _1, _4 = _2 * _2; 19138 return zoomRho(_1, _2, _4); 19139 }; 19140 19141 return zoom; 19142})(Math.SQRT2, 2, 4)); 19143 19144 19145/***/ }), 19146
vendor: 886 bytes, lines 19147-19164
19147/***/ "./node_modules/d3-path/src/index.js": 19148/*!*******************************************!*\ 19149 !*** ./node_modules/d3-path/src/index.js ***! 19150 \*******************************************/ 19151/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19152 19153__webpack_require__.r(__webpack_exports__); 19154/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19155/* harmony export */ Path: () => (/* reexport safe */ _path_js__WEBPACK_IMPORTED_MODULE_0__.Path), 19156/* harmony export */ path: () => (/* reexport safe */ _path_js__WEBPACK_IMPORTED_MODULE_0__.path), 19157/* harmony export */ pathRound: () => (/* reexport safe */ _path_js__WEBPACK_IMPORTED_MODULE_0__.pathRound) 19158/* harmony export */ }); 19159/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-path/src/path.js"); 19160 19161 19162 19163/***/ }), 19164
vendor: 5,124 bytes, lines 19165-19336
19165/***/ "./node_modules/d3-path/src/path.js": 19166/*!******************************************!*\ 19167 !*** ./node_modules/d3-path/src/path.js ***! 19168 \******************************************/ 19169/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19170 19171__webpack_require__.r(__webpack_exports__); 19172/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19173/* harmony export */ Path: () => (/* binding */ Path), 19174/* harmony export */ path: () => (/* binding */ path), 19175/* harmony export */ pathRound: () => (/* binding */ pathRound) 19176/* harmony export */ }); 19177const pi = Math.PI, 19178 tau = 2 * pi, 19179 epsilon = 1e-6, 19180 tauEpsilon = tau - epsilon; 19181 19182function append(strings) { 19183 this._ += strings[0]; 19184 for (let i = 1, n = strings.length; i < n; ++i) { 19185 this._ += arguments[i] + strings[i]; 19186 } 19187} 19188 19189function appendRound(digits) { 19190 let d = Math.floor(digits); 19191 if (!(d >= 0)) throw new Error(`invalid digits: ${digits}`); 19192 if (d > 15) return append; 19193 const k = 10 ** d; 19194 return function(strings) { 19195 this._ += strings[0]; 19196 for (let i = 1, n = strings.length; i < n; ++i) { 19197 this._ += Math.round(arguments[i] * k) / k + strings[i]; 19198 } 19199 }; 19200} 19201 19202class Path { 19203 constructor(digits) { 19204 this._x0 = this._y0 = // start of current subpath 19205 this._x1 = this._y1 = null; // end of current subpath 19206 this._ = ""; 19207 this._append = digits == null ? append : appendRound(digits); 19208 } 19209 moveTo(x, y) { 19210 this._append`M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}`; 19211 } 19212 closePath() { 19213 if (this._x1 !== null) { 19214 this._x1 = this._x0, this._y1 = this._y0; 19215 this._append`Z`; 19216 } 19217 } 19218 lineTo(x, y) { 19219 this._append`L${this._x1 = +x},${this._y1 = +y}`; 19220 } 19221 quadraticCurveTo(x1, y1, x, y) { 19222 this._append`Q${+x1},${+y1},${this._x1 = +x},${this._y1 = +y}`; 19223 } 19224 bezierCurveTo(x1, y1, x2, y2, x, y) { 19225 this._append`C${+x1},${+y1},${+x2},${+y2},${this._x1 = +x},${this._y1 = +y}`; 19226 } 19227 arcTo(x1, y1, x2, y2, r) { 19228 x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r; 19229 19230 // Is the radius negative? Error. 19231 if (r < 0) throw new Error(`negative radius: ${r}`); 19232 19233 let x0 = this._x1, 19234 y0 = this._y1, 19235 x21 = x2 - x1, 19236 y21 = y2 - y1, 19237 x01 = x0 - x1, 19238 y01 = y0 - y1, 19239 l01_2 = x01 * x01 + y01 * y01; 19240 19241 // Is this path empty? Move to (x1,y1). 19242 if (this._x1 === null) { 19243 this._append`M${this._x1 = x1},${this._y1 = y1}`; 19244 } 19245 19246 // Or, is (x1,y1) coincident with (x0,y0)? Do nothing. 19247 else if (!(l01_2 > epsilon)); 19248 19249 // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear? 19250 // Equivalently, is (x1,y1) coincident with (x2,y2)? 19251 // Or, is the radius zero? Line to (x1,y1). 19252 else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) { 19253 this._append`L${this._x1 = x1},${this._y1 = y1}`; 19254 } 19255 19256 // Otherwise, draw an arc! 19257 else { 19258 let x20 = x2 - x0, 19259 y20 = y2 - y0, 19260 l21_2 = x21 * x21 + y21 * y21, 19261 l20_2 = x20 * x20 + y20 * y20, 19262 l21 = Math.sqrt(l21_2), 19263 l01 = Math.sqrt(l01_2), 19264 l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2), 19265 t01 = l / l01, 19266 t21 = l / l21; 19267 19268 // If the start tangent is not coincident with (x0,y0), line to. 19269 if (Math.abs(t01 - 1) > epsilon) { 19270 this._append`L${x1 + t01 * x01},${y1 + t01 * y01}`; 19271 } 19272 19273 this._append`A${r},${r},0,0,${+(y01 * x20 > x01 * y20)},${this._x1 = x1 + t21 * x21},${this._y1 = y1 + t21 * y21}`; 19274 } 19275 } 19276 arc(x, y, r, a0, a1, ccw) { 19277 x = +x, y = +y, r = +r, ccw = !!ccw; 19278 19279 // Is the radius negative? Error. 19280 if (r < 0) throw new Error(`negative radius: ${r}`); 19281 19282 let dx = r * Math.cos(a0), 19283 dy = r * Math.sin(a0), 19284 x0 = x + dx, 19285 y0 = y + dy, 19286 cw = 1 ^ ccw, 19287 da = ccw ? a0 - a1 : a1 - a0; 19288 19289 // Is this path empty? Move to (x0,y0). 19290 if (this._x1 === null) { 19291 this._append`M${x0},${y0}`; 19292 } 19293 19294 // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0). 19295 else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) { 19296 this._append`L${x0},${y0}`; 19297 } 19298 19299 // Is this arc empty? Weâre done. 19300 if (!r) return; 19301 19302 // Does the angle go the wrong way? Flip the direction. 19303 if (da < 0) da = da % tau + tau; 19304 19305 // Is this a complete circle? Draw two arcs to complete the circle. 19306 if (da > tauEpsilon) { 19307 this._append`A${r},${r},0,1,${cw},${x - dx},${y - dy}A${r},${r},0,1,${cw},${this._x1 = x0},${this._y1 = y0}`; 19308 } 19309 19310 // Is this arc non-empty? Draw an arc! 19311 else if (da > epsilon) { 19312 this._append`A${r},${r},0,${+(da >= pi)},${cw},${this._x1 = x + r * Math.cos(a1)},${this._y1 = y + r * Math.sin(a1)}`; 19313 } 19314 } 19315 rect(x, y, w, h) { 19316 this._append`M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}h${w = +w}v${+h}h${-w}Z`; 19317 } 19318 toString() { 19319 return this._; 19320 } 19321} 19322 19323function path() { 19324 return new Path; 19325} 19326 19327// Allow instanceof d3.path 19328path.prototype = Path.prototype; 19329 19330function pathRound(digits = 3) { 19331 return new Path(+digits); 19332} 19333 19334 19335/***/ }), 19336
vendor: 822 bytes, lines 19337-19365
19337/***/ "./node_modules/d3-polygon/src/area.js": 19338/*!*********************************************!*\ 19339 !*** ./node_modules/d3-polygon/src/area.js ***! 19340 \*********************************************/ 19341/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19342 19343__webpack_require__.r(__webpack_exports__); 19344/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19345/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19346/* harmony export */ }); 19347/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(polygon) { 19348 var i = -1, 19349 n = polygon.length, 19350 a, 19351 b = polygon[n - 1], 19352 area = 0; 19353 19354 while (++i < n) { 19355 a = b; 19356 b = polygon[i]; 19357 area += a[1] * b[0] - a[0] * b[1]; 19358 } 19359 19360 return area / 2; 19361} 19362 19363 19364/***/ }), 19365
vendor: 941 bytes, lines 19366-19399
19366/***/ "./node_modules/d3-polygon/src/centroid.js": 19367/*!*************************************************!*\ 19368 !*** ./node_modules/d3-polygon/src/centroid.js ***! 19369 \*************************************************/ 19370/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19371 19372__webpack_require__.r(__webpack_exports__); 19373/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19374/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19375/* harmony export */ }); 19376/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(polygon) { 19377 var i = -1, 19378 n = polygon.length, 19379 x = 0, 19380 y = 0, 19381 a, 19382 b = polygon[n - 1], 19383 c, 19384 k = 0; 19385 19386 while (++i < n) { 19387 a = b; 19388 b = polygon[i]; 19389 k += c = a[0] * b[1] - b[0] * a[1]; 19390 x += (a[0] + b[0]) * c; 19391 y += (a[1] + b[1]) * c; 19392 } 19393 19394 return k *= 3, [x / k, y / k]; 19395} 19396 19397 19398/***/ }), 19399
vendor: 1,006 bytes, lines 19400-19429
19400/***/ "./node_modules/d3-polygon/src/contains.js": 19401/*!*************************************************!*\ 19402 !*** ./node_modules/d3-polygon/src/contains.js ***! 19403 \*************************************************/ 19404/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19405 19406__webpack_require__.r(__webpack_exports__); 19407/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19408/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19409/* harmony export */ }); 19410/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(polygon, point) { 19411 var n = polygon.length, 19412 p = polygon[n - 1], 19413 x = point[0], y = point[1], 19414 x0 = p[0], y0 = p[1], 19415 x1, y1, 19416 inside = false; 19417 19418 for (var i = 0; i < n; ++i) { 19419 p = polygon[i], x1 = p[0], y1 = p[1]; 19420 if (((y1 > y) !== (y0 > y)) && (x < (x0 - x1) * (y - y1) / (y0 - y1) + x1)) inside = !inside; 19421 x0 = x1, y0 = y1; 19422 } 19423 19424 return inside; 19425} 19426 19427 19428/***/ }), 19429
vendor: 985 bytes, lines 19430-19450
19430/***/ "./node_modules/d3-polygon/src/cross.js": 19431/*!**********************************************!*\ 19432 !*** ./node_modules/d3-polygon/src/cross.js ***! 19433 \**********************************************/ 19434/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19435 19436__webpack_require__.r(__webpack_exports__); 19437/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19438/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19439/* harmony export */ }); 19440// Returns the 2D cross product of AB and AC vectors, i.e., the z-component of 19441// the 3D cross product in a quadrant I Cartesian coordinate system (+x is 19442// right, +y is up). Returns a positive value if ABC is counter-clockwise, 19443// negative if clockwise, and zero if the points are collinear. 19444/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b, c) { 19445 return (b[0] - a[0]) * (c[1] - a[1]) - (b[1] - a[1]) * (c[0] - a[0]); 19446} 19447 19448 19449/***/ }), 19450
vendor: 2,457 bytes, lines 19451-19514
19451/***/ "./node_modules/d3-polygon/src/hull.js": 19452/*!*********************************************!*\ 19453 !*** ./node_modules/d3-polygon/src/hull.js ***! 19454 \*********************************************/ 19455/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19456 19457__webpack_require__.r(__webpack_exports__); 19458/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19459/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19460/* harmony export */ }); 19461/* harmony import */ var _cross_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cross.js */ "./node_modules/d3-polygon/src/cross.js"); 19462 19463 19464function lexicographicOrder(a, b) { 19465 return a[0] - b[0] || a[1] - b[1]; 19466} 19467 19468// Computes the upper convex hull per the monotone chain algorithm. 19469// Assumes points.length >= 3, is sorted by x, unique in y. 19470// Returns an array of indices into points in left-to-right order. 19471function computeUpperHullIndexes(points) { 19472 const n = points.length, 19473 indexes = [0, 1]; 19474 let size = 2, i; 19475 19476 for (i = 2; i < n; ++i) { 19477 while (size > 1 && (0,_cross_js__WEBPACK_IMPORTED_MODULE_0__["default"])(points[indexes[size - 2]], points[indexes[size - 1]], points[i]) <= 0) --size; 19478 indexes[size++] = i; 19479 } 19480 19481 return indexes.slice(0, size); // remove popped points 19482} 19483 19484/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(points) { 19485 if ((n = points.length) < 3) return null; 19486 19487 var i, 19488 n, 19489 sortedPoints = new Array(n), 19490 flippedPoints = new Array(n); 19491 19492 for (i = 0; i < n; ++i) sortedPoints[i] = [+points[i][0], +points[i][1], i]; 19493 sortedPoints.sort(lexicographicOrder); 19494 for (i = 0; i < n; ++i) flippedPoints[i] = [sortedPoints[i][0], -sortedPoints[i][1]]; 19495 19496 var upperIndexes = computeUpperHullIndexes(sortedPoints), 19497 lowerIndexes = computeUpperHullIndexes(flippedPoints); 19498 19499 // Construct the hull polygon, removing possible duplicate endpoints. 19500 var skipLeft = lowerIndexes[0] === upperIndexes[0], 19501 skipRight = lowerIndexes[lowerIndexes.length - 1] === upperIndexes[upperIndexes.length - 1], 19502 hull = []; 19503 19504 // Add upper hull in right-to-l order. 19505 // Then add lower hull in left-to-right order. 19506 for (i = upperIndexes.length - 1; i >= 0; --i) hull.push(points[sortedPoints[upperIndexes[i]][2]]); 19507 for (i = +skipLeft; i < lowerIndexes.length - skipRight; ++i) hull.push(points[sortedPoints[lowerIndexes[i]][2]]); 19508 19509 return hull; 19510} 19511 19512 19513/***/ }), 19514
vendor: 1,788 bytes, lines 19515-19542
19515/***/ "./node_modules/d3-polygon/src/index.js": 19516/*!**********************************************!*\ 19517 !*** ./node_modules/d3-polygon/src/index.js ***! 19518 \**********************************************/ 19519/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19520 19521__webpack_require__.r(__webpack_exports__); 19522/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19523/* harmony export */ polygonArea: () => (/* reexport safe */ _area_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 19524/* harmony export */ polygonCentroid: () => (/* reexport safe */ _centroid_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 19525/* harmony export */ polygonContains: () => (/* reexport safe */ _contains_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 19526/* harmony export */ polygonHull: () => (/* reexport safe */ _hull_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 19527/* harmony export */ polygonLength: () => (/* reexport safe */ _length_js__WEBPACK_IMPORTED_MODULE_4__["default"]) 19528/* harmony export */ }); 19529/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./area.js */ "./node_modules/d3-polygon/src/area.js"); 19530/* harmony import */ var _centroid_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./centroid.js */ "./node_modules/d3-polygon/src/centroid.js"); 19531/* harmony import */ var _hull_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hull.js */ "./node_modules/d3-polygon/src/hull.js"); 19532/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./contains.js */ "./node_modules/d3-polygon/src/contains.js"); 19533/* harmony import */ var _length_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./length.js */ "./node_modules/d3-polygon/src/length.js"); 19534 19535 19536 19537 19538 19539 19540 19541/***/ }), 19542
vendor: 952 bytes, lines 19543-19579
19543/***/ "./node_modules/d3-polygon/src/length.js": 19544/*!***********************************************!*\ 19545 !*** ./node_modules/d3-polygon/src/length.js ***! 19546 \***********************************************/ 19547/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19548 19549__webpack_require__.r(__webpack_exports__); 19550/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19551/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19552/* harmony export */ }); 19553/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(polygon) { 19554 var i = -1, 19555 n = polygon.length, 19556 b = polygon[n - 1], 19557 xa, 19558 ya, 19559 xb = b[0], 19560 yb = b[1], 19561 perimeter = 0; 19562 19563 while (++i < n) { 19564 xa = xb; 19565 ya = yb; 19566 b = polygon[i]; 19567 xb = b[0]; 19568 yb = b[1]; 19569 xa -= xb; 19570 ya -= yb; 19571 perimeter += Math.hypot(xa, ya); 19572 } 19573 19574 return perimeter; 19575} 19576 19577 19578/***/ }), 19579
vendor: 3,003 bytes, lines 19580-19678
19580/***/ "./node_modules/d3-quadtree/src/add.js": 19581/*!*********************************************!*\ 19582 !*** ./node_modules/d3-quadtree/src/add.js ***! 19583 \*********************************************/ 19584/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19585 19586__webpack_require__.r(__webpack_exports__); 19587/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19588/* harmony export */ addAll: () => (/* binding */ addAll), 19589/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19590/* harmony export */ }); 19591/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(d) { 19592 const x = +this._x.call(null, d), 19593 y = +this._y.call(null, d); 19594 return add(this.cover(x, y), x, y, d); 19595} 19596 19597function add(tree, x, y, d) { 19598 if (isNaN(x) || isNaN(y)) return tree; // ignore invalid points 19599 19600 var parent, 19601 node = tree._root, 19602 leaf = {data: d}, 19603 x0 = tree._x0, 19604 y0 = tree._y0, 19605 x1 = tree._x1, 19606 y1 = tree._y1, 19607 xm, 19608 ym, 19609 xp, 19610 yp, 19611 right, 19612 bottom, 19613 i, 19614 j; 19615 19616 // If the tree is empty, initialize the root as a leaf. 19617 if (!node) return tree._root = leaf, tree; 19618 19619 // Find the existing leaf for the new point, or add it. 19620 while (node.length) { 19621 if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm; 19622 if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym; 19623 if (parent = node, !(node = node[i = bottom << 1 | right])) return parent[i] = leaf, tree; 19624 } 19625 19626 // Is the new point is exactly coincident with the existing point? 19627 xp = +tree._x.call(null, node.data); 19628 yp = +tree._y.call(null, node.data); 19629 if (x === xp && y === yp) return leaf.next = node, parent ? parent[i] = leaf : tree._root = leaf, tree; 19630 19631 // Otherwise, split the leaf node until the old and new point are separated. 19632 do { 19633 parent = parent ? parent[i] = new Array(4) : tree._root = new Array(4); 19634 if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm; 19635 if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym; 19636 } while ((i = bottom << 1 | right) === (j = (yp >= ym) << 1 | (xp >= xm))); 19637 return parent[j] = node, parent[i] = leaf, tree; 19638} 19639 19640function addAll(data) { 19641 var d, i, n = data.length, 19642 x, 19643 y, 19644 xz = new Array(n), 19645 yz = new Array(n), 19646 x0 = Infinity, 19647 y0 = Infinity, 19648 x1 = -Infinity, 19649 y1 = -Infinity; 19650 19651 // Compute the points and their extent. 19652 for (i = 0; i < n; ++i) { 19653 if (isNaN(x = +this._x.call(null, d = data[i])) || isNaN(y = +this._y.call(null, d))) continue; 19654 xz[i] = x; 19655 yz[i] = y; 19656 if (x < x0) x0 = x; 19657 if (x > x1) x1 = x; 19658 if (y < y0) y0 = y; 19659 if (y > y1) y1 = y; 19660 } 19661 19662 // If there were no (valid) points, abort. 19663 if (x0 > x1 || y0 > y1) return this; 19664 19665 // Expand the tree to cover the new points. 19666 this.cover(x0, y0).cover(x1, y1); 19667 19668 // Add the new points. 19669 for (i = 0; i < n; ++i) { 19670 add(this, xz[i], yz[i], data[i]); 19671 } 19672 19673 return this; 19674} 19675 19676 19677/***/ }), 19678
vendor: 1,756 bytes, lines 19679-19735
19679/***/ "./node_modules/d3-quadtree/src/cover.js": 19680/*!***********************************************!*\ 19681 !*** ./node_modules/d3-quadtree/src/cover.js ***! 19682 \***********************************************/ 19683/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19684 19685__webpack_require__.r(__webpack_exports__); 19686/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19687/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19688/* harmony export */ }); 19689/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, y) { 19690 if (isNaN(x = +x) || isNaN(y = +y)) return this; // ignore invalid points 19691 19692 var x0 = this._x0, 19693 y0 = this._y0, 19694 x1 = this._x1, 19695 y1 = this._y1; 19696 19697 // If the quadtree has no extent, initialize them. 19698 // Integer extent are necessary so that if we later double the extent, 19699 // the existing quadrant boundaries donât change due to floating point error! 19700 if (isNaN(x0)) { 19701 x1 = (x0 = Math.floor(x)) + 1; 19702 y1 = (y0 = Math.floor(y)) + 1; 19703 } 19704 19705 // Otherwise, double repeatedly to cover. 19706 else { 19707 var z = x1 - x0 || 1, 19708 node = this._root, 19709 parent, 19710 i; 19711 19712 while (x0 > x || x >= x1 || y0 > y || y >= y1) { 19713 i = (y < y0) << 1 | (x < x0); 19714 parent = new Array(4), parent[i] = node, node = parent, z *= 2; 19715 switch (i) { 19716 case 0: x1 = x0 + z, y1 = y0 + z; break; 19717 case 1: x0 = x1 - z, y1 = y0 + z; break; 19718 case 2: x1 = x0 + z, y0 = y1 - z; break; 19719 case 3: x0 = x1 - z, y0 = y1 - z; break; 19720 } 19721 } 19722 19723 if (this._root && this._root.length) this._root = node; 19724 } 19725 19726 this._x0 = x0; 19727 this._y0 = y0; 19728 this._x1 = x1; 19729 this._y1 = y1; 19730 return this; 19731} 19732 19733 19734/***/ }), 19735
vendor: 753 bytes, lines 19736-19756
19736/***/ "./node_modules/d3-quadtree/src/data.js": 19737/*!**********************************************!*\ 19738 !*** ./node_modules/d3-quadtree/src/data.js ***! 19739 \**********************************************/ 19740/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19741 19742__webpack_require__.r(__webpack_exports__); 19743/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19744/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19745/* harmony export */ }); 19746/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 19747 var data = []; 19748 this.visit(function(node) { 19749 if (!node.length) do data.push(node.data); while (node = node.next) 19750 }); 19751 return data; 19752} 19753 19754 19755/***/ }), 19756
vendor: 797 bytes, lines 19757-19775
19757/***/ "./node_modules/d3-quadtree/src/extent.js": 19758/*!************************************************!*\ 19759 !*** ./node_modules/d3-quadtree/src/extent.js ***! 19760 \************************************************/ 19761/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19762 19763__webpack_require__.r(__webpack_exports__); 19764/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19765/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19766/* harmony export */ }); 19767/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(_) { 19768 return arguments.length 19769 ? this.cover(+_[0][0], +_[0][1]).cover(+_[1][0], +_[1][1]) 19770 : isNaN(this._x0) ? undefined : [[this._x0, this._y0], [this._x1, this._y1]]; 19771} 19772 19773 19774/***/ }), 19775
vendor: 2,618 bytes, lines 19776-19860
19776/***/ "./node_modules/d3-quadtree/src/find.js": 19777/*!**********************************************!*\ 19778 !*** ./node_modules/d3-quadtree/src/find.js ***! 19779 \**********************************************/ 19780/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19781 19782__webpack_require__.r(__webpack_exports__); 19783/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19784/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19785/* harmony export */ }); 19786/* harmony import */ var _quad_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./quad.js */ "./node_modules/d3-quadtree/src/quad.js"); 19787 19788 19789/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, y, radius) { 19790 var data, 19791 x0 = this._x0, 19792 y0 = this._y0, 19793 x1, 19794 y1, 19795 x2, 19796 y2, 19797 x3 = this._x1, 19798 y3 = this._y1, 19799 quads = [], 19800 node = this._root, 19801 q, 19802 i; 19803 19804 if (node) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](node, x0, y0, x3, y3)); 19805 if (radius == null) radius = Infinity; 19806 else { 19807 x0 = x - radius, y0 = y - radius; 19808 x3 = x + radius, y3 = y + radius; 19809 radius *= radius; 19810 } 19811 19812 while (q = quads.pop()) { 19813 19814 // Stop searching if this quadrant canât contain a closer node. 19815 if (!(node = q.node) 19816 || (x1 = q.x0) > x3 19817 || (y1 = q.y0) > y3 19818 || (x2 = q.x1) < x0 19819 || (y2 = q.y1) < y0) continue; 19820 19821 // Bisect the current quadrant. 19822 if (node.length) { 19823 var xm = (x1 + x2) / 2, 19824 ym = (y1 + y2) / 2; 19825 19826 quads.push( 19827 new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](node[3], xm, ym, x2, y2), 19828 new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](node[2], x1, ym, xm, y2), 19829 new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](node[1], xm, y1, x2, ym), 19830 new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](node[0], x1, y1, xm, ym) 19831 ); 19832 19833 // Visit the closest quadrant first. 19834 if (i = (y >= ym) << 1 | (x >= xm)) { 19835 q = quads[quads.length - 1]; 19836 quads[quads.length - 1] = quads[quads.length - 1 - i]; 19837 quads[quads.length - 1 - i] = q; 19838 } 19839 } 19840 19841 // Visit this point. (Visiting coincident points isnât necessary!) 19842 else { 19843 var dx = x - +this._x.call(null, node.data), 19844 dy = y - +this._y.call(null, node.data), 19845 d2 = dx * dx + dy * dy; 19846 if (d2 < radius) { 19847 var d = Math.sqrt(radius = d2); 19848 x0 = x - d, y0 = y - d; 19849 x3 = x + d, y3 = y + d; 19850 data = node.data; 19851 } 19852 } 19853 } 19854 19855 return data; 19856} 19857 19858 19859/***/ }), 19860
vendor: 720 bytes, lines 19861-19876
19861/***/ "./node_modules/d3-quadtree/src/index.js": 19862/*!***********************************************!*\ 19863 !*** ./node_modules/d3-quadtree/src/index.js ***! 19864 \***********************************************/ 19865/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19866 19867__webpack_require__.r(__webpack_exports__); 19868/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19869/* harmony export */ quadtree: () => (/* reexport safe */ _quadtree_js__WEBPACK_IMPORTED_MODULE_0__["default"]) 19870/* harmony export */ }); 19871/* harmony import */ var _quadtree_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./quadtree.js */ "./node_modules/d3-quadtree/src/quadtree.js"); 19872 19873 19874 19875/***/ }), 19876
vendor: 717 bytes, lines 19877-19897
19877/***/ "./node_modules/d3-quadtree/src/quad.js": 19878/*!**********************************************!*\ 19879 !*** ./node_modules/d3-quadtree/src/quad.js ***! 19880 \**********************************************/ 19881/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19882 19883__webpack_require__.r(__webpack_exports__); 19884/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19885/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 19886/* harmony export */ }); 19887/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(node, x0, y0, x1, y1) { 19888 this.node = node; 19889 this.x0 = x0; 19890 this.y0 = y0; 19891 this.x1 = x1; 19892 this.y1 = y1; 19893} 19894 19895 19896/***/ }), 19897
vendor: 4,489 bytes, lines 19898-19996
19898/***/ "./node_modules/d3-quadtree/src/quadtree.js": 19899/*!**************************************************!*\ 19900 !*** ./node_modules/d3-quadtree/src/quadtree.js ***! 19901 \**************************************************/ 19902/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 19903 19904__webpack_require__.r(__webpack_exports__); 19905/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19906/* harmony export */ "default": () => (/* binding */ quadtree) 19907/* harmony export */ }); 19908/* harmony import */ var _add_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./add.js */ "./node_modules/d3-quadtree/src/add.js"); 19909/* harmony import */ var _cover_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cover.js */ "./node_modules/d3-quadtree/src/cover.js"); 19910/* harmony import */ var _data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./data.js */ "./node_modules/d3-quadtree/src/data.js"); 19911/* harmony import */ var _extent_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./extent.js */ "./node_modules/d3-quadtree/src/extent.js"); 19912/* harmony import */ var _find_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./find.js */ "./node_modules/d3-quadtree/src/find.js"); 19913/* harmony import */ var _remove_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./remove.js */ "./node_modules/d3-quadtree/src/remove.js"); 19914/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./root.js */ "./node_modules/d3-quadtree/src/root.js"); 19915/* harmony import */ var _size_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./size.js */ "./node_modules/d3-quadtree/src/size.js"); 19916/* harmony import */ var _visit_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./visit.js */ "./node_modules/d3-quadtree/src/visit.js"); 19917/* harmony import */ var _visitAfter_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./visitAfter.js */ "./node_modules/d3-quadtree/src/visitAfter.js"); 19918/* harmony import */ var _x_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./x.js */ "./node_modules/d3-quadtree/src/x.js"); 19919/* harmony import */ var _y_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./y.js */ "./node_modules/d3-quadtree/src/y.js"); 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933function quadtree(nodes, x, y) { 19934 var tree = new Quadtree(x == null ? _x_js__WEBPACK_IMPORTED_MODULE_0__.defaultX : x, y == null ? _y_js__WEBPACK_IMPORTED_MODULE_1__.defaultY : y, NaN, NaN, NaN, NaN); 19935 return nodes == null ? tree : tree.addAll(nodes); 19936} 19937 19938function Quadtree(x, y, x0, y0, x1, y1) { 19939 this._x = x; 19940 this._y = y; 19941 this._x0 = x0; 19942 this._y0 = y0; 19943 this._x1 = x1; 19944 this._y1 = y1; 19945 this._root = undefined; 19946} 19947 19948function leaf_copy(leaf) { 19949 var copy = {data: leaf.data}, next = copy; 19950 while (leaf = leaf.next) next = next.next = {data: leaf.data}; 19951 return copy; 19952} 19953 19954var treeProto = quadtree.prototype = Quadtree.prototype; 19955 19956treeProto.copy = function() { 19957 var copy = new Quadtree(this._x, this._y, this._x0, this._y0, this._x1, this._y1), 19958 node = this._root, 19959 nodes, 19960 child; 19961 19962 if (!node) return copy; 19963 19964 if (!node.length) return copy._root = leaf_copy(node), copy; 19965 19966 nodes = [{source: node, target: copy._root = new Array(4)}]; 19967 while (node = nodes.pop()) { 19968 for (var i = 0; i < 4; ++i) { 19969 if (child = node.source[i]) { 19970 if (child.length) nodes.push({source: child, target: node.target[i] = new Array(4)}); 19971 else node.target[i] = leaf_copy(child); 19972 } 19973 } 19974 } 19975 19976 return copy; 19977}; 19978 19979treeProto.add = _add_js__WEBPACK_IMPORTED_MODULE_2__["default"]; 19980treeProto.addAll = _add_js__WEBPACK_IMPORTED_MODULE_2__.addAll; 19981treeProto.cover = _cover_js__WEBPACK_IMPORTED_MODULE_3__["default"]; 19982treeProto.data = _data_js__WEBPACK_IMPORTED_MODULE_4__["default"]; 19983treeProto.extent = _extent_js__WEBPACK_IMPORTED_MODULE_5__["default"]; 19984treeProto.find = _find_js__WEBPACK_IMPORTED_MODULE_6__["default"]; 19985treeProto.remove = _remove_js__WEBPACK_IMPORTED_MODULE_7__["default"]; 19986treeProto.removeAll = _remove_js__WEBPACK_IMPORTED_MODULE_7__.removeAll; 19987treeProto.root = _root_js__WEBPACK_IMPORTED_MODULE_8__["default"]; 19988treeProto.size = _size_js__WEBPACK_IMPORTED_MODULE_9__["default"]; 19989treeProto.visit = _visit_js__WEBPACK_IMPORTED_MODULE_10__["default"]; 19990treeProto.visitAfter = _visitAfter_js__WEBPACK_IMPORTED_MODULE_11__["default"]; 19991treeProto.x = _x_js__WEBPACK_IMPORTED_MODULE_0__["default"]; 19992treeProto.y = _y_js__WEBPACK_IMPORTED_MODULE_1__["default"]; 19993 19994 19995/***/ }), 19996
vendor: 2,549 bytes, lines 19997-20073
19997/***/ "./node_modules/d3-quadtree/src/remove.js": 19998/*!************************************************!*\ 19999 !*** ./node_modules/d3-quadtree/src/remove.js ***! 20000 \************************************************/ 20001/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20002 20003__webpack_require__.r(__webpack_exports__); 20004/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20005/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 20006/* harmony export */ removeAll: () => (/* binding */ removeAll) 20007/* harmony export */ }); 20008/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(d) { 20009 if (isNaN(x = +this._x.call(null, d)) || isNaN(y = +this._y.call(null, d))) return this; // ignore invalid points 20010 20011 var parent, 20012 node = this._root, 20013 retainer, 20014 previous, 20015 next, 20016 x0 = this._x0, 20017 y0 = this._y0, 20018 x1 = this._x1, 20019 y1 = this._y1, 20020 x, 20021 y, 20022 xm, 20023 ym, 20024 right, 20025 bottom, 20026 i, 20027 j; 20028 20029 // If the tree is empty, initialize the root as a leaf. 20030 if (!node) return this; 20031 20032 // Find the leaf node for the point. 20033 // While descending, also retain the deepest parent with a non-removed sibling. 20034 if (node.length) while (true) { 20035 if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm; 20036 if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym; 20037 if (!(parent = node, node = node[i = bottom << 1 | right])) return this; 20038 if (!node.length) break; 20039 if (parent[(i + 1) & 3] || parent[(i + 2) & 3] || parent[(i + 3) & 3]) retainer = parent, j = i; 20040 } 20041 20042 // Find the point to remove. 20043 while (node.data !== d) if (!(previous = node, node = node.next)) return this; 20044 if (next = node.next) delete node.next; 20045 20046 // If there are multiple coincident points, remove just the point. 20047 if (previous) return (next ? previous.next = next : delete previous.next), this; 20048 20049 // If this is the root point, remove it. 20050 if (!parent) return this._root = next, this; 20051 20052 // Remove this leaf. 20053 next ? parent[i] = next : delete parent[i]; 20054 20055 // If the parent now contains exactly one leaf, collapse superfluous parents. 20056 if ((node = parent[0] || parent[1] || parent[2] || parent[3]) 20057 && node === (parent[3] || parent[2] || parent[1] || parent[0]) 20058 && !node.length) { 20059 if (retainer) retainer[j] = node; 20060 else this._root = node; 20061 } 20062 20063 return this; 20064} 20065 20066function removeAll(data) { 20067 for (var i = 0, n = data.length; i < n; ++i) this.remove(data[i]); 20068 return this; 20069} 20070 20071 20072/***/ }), 20073
vendor: 634 bytes, lines 20074-20090
20074/***/ "./node_modules/d3-quadtree/src/root.js": 20075/*!**********************************************!*\ 20076 !*** ./node_modules/d3-quadtree/src/root.js ***! 20077 \**********************************************/ 20078/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20079 20080__webpack_require__.r(__webpack_exports__); 20081/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20082/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 20083/* harmony export */ }); 20084/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 20085 return this._root; 20086} 20087 20088 20089/***/ }), 20090
vendor: 738 bytes, lines 20091-20111
20091/***/ "./node_modules/d3-quadtree/src/size.js": 20092/*!**********************************************!*\ 20093 !*** ./node_modules/d3-quadtree/src/size.js ***! 20094 \**********************************************/ 20095/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20096 20097__webpack_require__.r(__webpack_exports__); 20098/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20099/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 20100/* harmony export */ }); 20101/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 20102 var size = 0; 20103 this.visit(function(node) { 20104 if (!node.length) do ++size; while (node = node.next) 20105 }); 20106 return size; 20107} 20108 20109 20110/***/ }), 20111
vendor: 1,621 bytes, lines 20112-20142
20112/***/ "./node_modules/d3-quadtree/src/visit.js": 20113/*!***********************************************!*\ 20114 !*** ./node_modules/d3-quadtree/src/visit.js ***! 20115 \***********************************************/ 20116/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20117 20118__webpack_require__.r(__webpack_exports__); 20119/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20120/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 20121/* harmony export */ }); 20122/* harmony import */ var _quad_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./quad.js */ "./node_modules/d3-quadtree/src/quad.js"); 20123 20124 20125/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback) { 20126 var quads = [], q, node = this._root, child, x0, y0, x1, y1; 20127 if (node) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](node, this._x0, this._y0, this._x1, this._y1)); 20128 while (q = quads.pop()) { 20129 if (!callback(node = q.node, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1) && node.length) { 20130 var xm = (x0 + x1) / 2, ym = (y0 + y1) / 2; 20131 if (child = node[3]) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](child, xm, ym, x1, y1)); 20132 if (child = node[2]) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](child, x0, ym, xm, y1)); 20133 if (child = node[1]) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](child, xm, y0, x1, ym)); 20134 if (child = node[0]) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](child, x0, y0, xm, ym)); 20135 } 20136 } 20137 return this; 20138} 20139 20140 20141/***/ }), 20142
vendor: 1,719 bytes, lines 20143-20178
20143/***/ "./node_modules/d3-quadtree/src/visitAfter.js": 20144/*!****************************************************!*\ 20145 !*** ./node_modules/d3-quadtree/src/visitAfter.js ***! 20146 \****************************************************/ 20147/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20148 20149__webpack_require__.r(__webpack_exports__); 20150/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20151/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 20152/* harmony export */ }); 20153/* harmony import */ var _quad_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./quad.js */ "./node_modules/d3-quadtree/src/quad.js"); 20154 20155 20156/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback) { 20157 var quads = [], next = [], q; 20158 if (this._root) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](this._root, this._x0, this._y0, this._x1, this._y1)); 20159 while (q = quads.pop()) { 20160 var node = q.node; 20161 if (node.length) { 20162 var child, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1, xm = (x0 + x1) / 2, ym = (y0 + y1) / 2; 20163 if (child = node[0]) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](child, x0, y0, xm, ym)); 20164 if (child = node[1]) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](child, xm, y0, x1, ym)); 20165 if (child = node[2]) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](child, x0, ym, xm, y1)); 20166 if (child = node[3]) quads.push(new _quad_js__WEBPACK_IMPORTED_MODULE_0__["default"](child, xm, ym, x1, y1)); 20167 } 20168 next.push(q); 20169 } 20170 while (q = next.pop()) { 20171 callback(q.node, q.x0, q.y0, q.x1, q.y1); 20172 } 20173 return this; 20174} 20175 20176 20177/***/ }), 20178
vendor: 767 bytes, lines 20179-20200
20179/***/ "./node_modules/d3-quadtree/src/x.js": 20180/*!*******************************************!*\ 20181 !*** ./node_modules/d3-quadtree/src/x.js ***! 20182 \*******************************************/ 20183/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20184 20185__webpack_require__.r(__webpack_exports__); 20186/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20187/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 20188/* harmony export */ defaultX: () => (/* binding */ defaultX) 20189/* harmony export */ }); 20190function defaultX(d) { 20191 return d[0]; 20192} 20193 20194/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(_) { 20195 return arguments.length ? (this._x = _, this) : this._x; 20196} 20197 20198 20199/***/ }), 20200
vendor: 767 bytes, lines 20201-20222
20201/***/ "./node_modules/d3-quadtree/src/y.js": 20202/*!*******************************************!*\ 20203 !*** ./node_modules/d3-quadtree/src/y.js ***! 20204 \*******************************************/ 20205/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20206 20207__webpack_require__.r(__webpack_exports__); 20208/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20209/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 20210/* harmony export */ defaultY: () => (/* binding */ defaultY) 20211/* harmony export */ }); 20212function defaultY(d) { 20213 return d[1]; 20214} 20215 20216/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(_) { 20217 return arguments.length ? (this._y = _, this) : this._y; 20218} 20219 20220 20221/***/ }), 20222
vendor: 1,368 bytes, lines 20223-20257
20223/***/ "./node_modules/d3-random/src/bates.js": 20224/*!*********************************************!*\ 20225 !*** ./node_modules/d3-random/src/bates.js ***! 20226 \*********************************************/ 20227/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20228 20229__webpack_require__.r(__webpack_exports__); 20230/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20231/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20232/* harmony export */ }); 20233/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20234/* harmony import */ var _irwinHall_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./irwinHall.js */ "./node_modules/d3-random/src/irwinHall.js"); 20235 20236 20237 20238/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomBates(source) { 20239 var I = _irwinHall_js__WEBPACK_IMPORTED_MODULE_0__["default"].source(source); 20240 20241 function randomBates(n) { 20242 // use limiting distribution at n === 0 20243 if ((n = +n) === 0) return source; 20244 var randomIrwinHall = I(n); 20245 return function() { 20246 return randomIrwinHall() / n; 20247 }; 20248 } 20249 20250 randomBates.source = sourceRandomBates; 20251 20252 return randomBates; 20253})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_1__["default"])); 20254 20255 20256/***/ }), 20257
vendor: 1,118 bytes, lines 20258-20286
20258/***/ "./node_modules/d3-random/src/bernoulli.js": 20259/*!*************************************************!*\ 20260 !*** ./node_modules/d3-random/src/bernoulli.js ***! 20261 \*************************************************/ 20262/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20263 20264__webpack_require__.r(__webpack_exports__); 20265/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20266/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20267/* harmony export */ }); 20268/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20269 20270 20271/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomBernoulli(source) { 20272 function randomBernoulli(p) { 20273 if ((p = +p) < 0 || p > 1) throw new RangeError("invalid p"); 20274 return function() { 20275 return Math.floor(source() + p); 20276 }; 20277 } 20278 20279 randomBernoulli.source = sourceRandomBernoulli; 20280 20281 return randomBernoulli; 20282})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20283 20284 20285/***/ }), 20286
vendor: 1,306 bytes, lines 20287-20321
20287/***/ "./node_modules/d3-random/src/beta.js": 20288/*!********************************************!*\ 20289 !*** ./node_modules/d3-random/src/beta.js ***! 20290 \********************************************/ 20291/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20292 20293__webpack_require__.r(__webpack_exports__); 20294/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20295/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20296/* harmony export */ }); 20297/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20298/* harmony import */ var _gamma_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./gamma.js */ "./node_modules/d3-random/src/gamma.js"); 20299 20300 20301 20302/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomBeta(source) { 20303 var G = _gamma_js__WEBPACK_IMPORTED_MODULE_0__["default"].source(source); 20304 20305 function randomBeta(alpha, beta) { 20306 var X = G(alpha), 20307 Y = G(beta); 20308 return function() { 20309 var x = X(); 20310 return x === 0 ? 0 : x / (x + Y()); 20311 }; 20312 } 20313 20314 randomBeta.source = sourceRandomBeta; 20315 20316 return randomBeta; 20317})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_1__["default"])); 20318 20319 20320/***/ }), 20321
vendor: 2,073 bytes, lines 20322-20376
20322/***/ "./node_modules/d3-random/src/binomial.js": 20323/*!************************************************!*\ 20324 !*** ./node_modules/d3-random/src/binomial.js ***! 20325 \************************************************/ 20326/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20327 20328__webpack_require__.r(__webpack_exports__); 20329/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20330/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20331/* harmony export */ }); 20332/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20333/* harmony import */ var _beta_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./beta.js */ "./node_modules/d3-random/src/beta.js"); 20334/* harmony import */ var _geometric_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./geometric.js */ "./node_modules/d3-random/src/geometric.js"); 20335 20336 20337 20338 20339/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomBinomial(source) { 20340 var G = _geometric_js__WEBPACK_IMPORTED_MODULE_0__["default"].source(source), 20341 B = _beta_js__WEBPACK_IMPORTED_MODULE_1__["default"].source(source); 20342 20343 function randomBinomial(n, p) { 20344 n = +n; 20345 if ((p = +p) >= 1) return () => n; 20346 if (p <= 0) return () => 0; 20347 return function() { 20348 var acc = 0, nn = n, pp = p; 20349 while (nn * pp > 16 && nn * (1 - pp) > 16) { 20350 var i = Math.floor((nn + 1) * pp), 20351 y = B(i, nn - i + 1)(); 20352 if (y <= pp) { 20353 acc += i; 20354 nn -= i; 20355 pp = (pp - y) / (1 - y); 20356 } else { 20357 nn = i - 1; 20358 pp /= y; 20359 } 20360 } 20361 var sign = pp < 0.5, 20362 pFinal = sign ? pp : 1 - pp, 20363 g = G(pFinal); 20364 for (var s = g(), k = 0; s <= nn; ++k) s += g(); 20365 return acc + (sign ? k : nn - k); 20366 }; 20367 } 20368 20369 randomBinomial.source = sourceRandomBinomial; 20370 20371 return randomBinomial; 20372})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_2__["default"])); 20373 20374 20375/***/ }), 20376
vendor: 1,096 bytes, lines 20377-20406
20377/***/ "./node_modules/d3-random/src/cauchy.js": 20378/*!**********************************************!*\ 20379 !*** ./node_modules/d3-random/src/cauchy.js ***! 20380 \**********************************************/ 20381/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20382 20383__webpack_require__.r(__webpack_exports__); 20384/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20385/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20386/* harmony export */ }); 20387/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20388 20389 20390/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomCauchy(source) { 20391 function randomCauchy(a, b) { 20392 a = a == null ? 0 : +a; 20393 b = b == null ? 1 : +b; 20394 return function() { 20395 return a + b * Math.tan(Math.PI * source()); 20396 }; 20397 } 20398 20399 randomCauchy.source = sourceRandomCauchy; 20400 20401 return randomCauchy; 20402})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20403 20404 20405/***/ }), 20406
vendor: 620 bytes, lines 20407-20421
20407/***/ "./node_modules/d3-random/src/defaultSource.js": 20408/*!*****************************************************!*\ 20409 !*** ./node_modules/d3-random/src/defaultSource.js ***! 20410 \*****************************************************/ 20411/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20412 20413__webpack_require__.r(__webpack_exports__); 20414/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20415/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20416/* harmony export */ }); 20417/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Math.random); 20418 20419 20420/***/ }), 20421
vendor: 1,082 bytes, lines 20422-20449
20422/***/ "./node_modules/d3-random/src/exponential.js": 20423/*!***************************************************!*\ 20424 !*** ./node_modules/d3-random/src/exponential.js ***! 20425 \***************************************************/ 20426/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20427 20428__webpack_require__.r(__webpack_exports__); 20429/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20430/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20431/* harmony export */ }); 20432/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20433 20434 20435/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomExponential(source) { 20436 function randomExponential(lambda) { 20437 return function() { 20438 return -Math.log1p(-source()) / lambda; 20439 }; 20440 } 20441 20442 randomExponential.source = sourceRandomExponential; 20443 20444 return randomExponential; 20445})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20446 20447 20448/***/ }), 20449
vendor: 1,965 bytes, lines 20450-20499
20450/***/ "./node_modules/d3-random/src/gamma.js": 20451/*!*********************************************!*\ 20452 !*** ./node_modules/d3-random/src/gamma.js ***! 20453 \*********************************************/ 20454/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20455 20456__webpack_require__.r(__webpack_exports__); 20457/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20458/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20459/* harmony export */ }); 20460/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20461/* harmony import */ var _normal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./normal.js */ "./node_modules/d3-random/src/normal.js"); 20462 20463 20464 20465/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomGamma(source) { 20466 var randomNormal = _normal_js__WEBPACK_IMPORTED_MODULE_0__["default"].source(source)(); 20467 20468 function randomGamma(k, theta) { 20469 if ((k = +k) < 0) throw new RangeError("invalid k"); 20470 // degenerate distribution if k === 0 20471 if (k === 0) return () => 0; 20472 theta = theta == null ? 1 : +theta; 20473 // exponential distribution if k === 1 20474 if (k === 1) return () => -Math.log1p(-source()) * theta; 20475 20476 var d = (k < 1 ? k + 1 : k) - 1 / 3, 20477 c = 1 / (3 * Math.sqrt(d)), 20478 multiplier = k < 1 ? () => Math.pow(source(), 1 / k) : () => 1; 20479 return function() { 20480 do { 20481 do { 20482 var x = randomNormal(), 20483 v = 1 + c * x; 20484 } while (v <= 0); 20485 v *= v * v; 20486 var u = 1 - source(); 20487 } while (u >= 1 - 0.0331 * x * x * x * x && Math.log(u) >= 0.5 * x * x + d * (1 - v + Math.log(v))); 20488 return d * v * multiplier() * theta; 20489 }; 20490 } 20491 20492 randomGamma.source = sourceRandomGamma; 20493 20494 return randomGamma; 20495})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_1__["default"])); 20496 20497 20498/***/ }), 20499
vendor: 1,232 bytes, lines 20500-20531
20500/***/ "./node_modules/d3-random/src/geometric.js": 20501/*!*************************************************!*\ 20502 !*** ./node_modules/d3-random/src/geometric.js ***! 20503 \*************************************************/ 20504/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20505 20506__webpack_require__.r(__webpack_exports__); 20507/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20508/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20509/* harmony export */ }); 20510/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20511 20512 20513/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomGeometric(source) { 20514 function randomGeometric(p) { 20515 if ((p = +p) < 0 || p > 1) throw new RangeError("invalid p"); 20516 if (p === 0) return () => Infinity; 20517 if (p === 1) return () => 1; 20518 p = Math.log1p(-p); 20519 return function() { 20520 return 1 + Math.floor(Math.log1p(-source()) / p); 20521 }; 20522 } 20523 20524 randomGeometric.source = sourceRandomGeometric; 20525 20526 return randomGeometric; 20527})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20528 20529 20530/***/ }), 20531
vendor: 5,331 bytes, lines 20532-20598
20532/***/ "./node_modules/d3-random/src/index.js": 20533/*!*********************************************!*\ 20534 !*** ./node_modules/d3-random/src/index.js ***! 20535 \*********************************************/ 20536/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20537 20538__webpack_require__.r(__webpack_exports__); 20539/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20540/* harmony export */ randomBates: () => (/* reexport safe */ _bates_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 20541/* harmony export */ randomBernoulli: () => (/* reexport safe */ _bernoulli_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 20542/* harmony export */ randomBeta: () => (/* reexport safe */ _beta_js__WEBPACK_IMPORTED_MODULE_12__["default"]), 20543/* harmony export */ randomBinomial: () => (/* reexport safe */ _binomial_js__WEBPACK_IMPORTED_MODULE_10__["default"]), 20544/* harmony export */ randomCauchy: () => (/* reexport safe */ _cauchy_js__WEBPACK_IMPORTED_MODULE_14__["default"]), 20545/* harmony export */ randomExponential: () => (/* reexport safe */ _exponential_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 20546/* harmony export */ randomGamma: () => (/* reexport safe */ _gamma_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 20547/* harmony export */ randomGeometric: () => (/* reexport safe */ _geometric_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 20548/* harmony export */ randomInt: () => (/* reexport safe */ _int_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 20549/* harmony export */ randomIrwinHall: () => (/* reexport safe */ _irwinHall_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 20550/* harmony export */ randomLcg: () => (/* reexport safe */ _lcg_js__WEBPACK_IMPORTED_MODULE_17__["default"]), 20551/* harmony export */ randomLogNormal: () => (/* reexport safe */ _logNormal_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 20552/* harmony export */ randomLogistic: () => (/* reexport safe */ _logistic_js__WEBPACK_IMPORTED_MODULE_15__["default"]), 20553/* harmony export */ randomNormal: () => (/* reexport safe */ _normal_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 20554/* harmony export */ randomPareto: () => (/* reexport safe */ _pareto_js__WEBPACK_IMPORTED_MODULE_7__["default"]), 20555/* harmony export */ randomPoisson: () => (/* reexport safe */ _poisson_js__WEBPACK_IMPORTED_MODULE_16__["default"]), 20556/* harmony export */ randomUniform: () => (/* reexport safe */ _uniform_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 20557/* harmony export */ randomWeibull: () => (/* reexport safe */ _weibull_js__WEBPACK_IMPORTED_MODULE_13__["default"]) 20558/* harmony export */ }); 20559/* harmony import */ var _uniform_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uniform.js */ "./node_modules/d3-random/src/uniform.js"); 20560/* harmony import */ var _int_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./int.js */ "./node_modules/d3-random/src/int.js"); 20561/* harmony import */ var _normal_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./normal.js */ "./node_modules/d3-random/src/normal.js"); 20562/* harmony import */ var _logNormal_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./logNormal.js */ "./node_modules/d3-random/src/logNormal.js"); 20563/* harmony import */ var _bates_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./bates.js */ "./node_modules/d3-random/src/bates.js"); 20564/* harmony import */ var _irwinHall_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./irwinHall.js */ "./node_modules/d3-random/src/irwinHall.js"); 20565/* harmony import */ var _exponential_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./exponential.js */ "./node_modules/d3-random/src/exponential.js"); 20566/* harmony import */ var _pareto_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pareto.js */ "./node_modules/d3-random/src/pareto.js"); 20567/* harmony import */ var _bernoulli_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./bernoulli.js */ "./node_modules/d3-random/src/bernoulli.js"); 20568/* harmony import */ var _geometric_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./geometric.js */ "./node_modules/d3-random/src/geometric.js"); 20569/* harmony import */ var _binomial_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./binomial.js */ "./node_modules/d3-random/src/binomial.js"); 20570/* harmony import */ var _gamma_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./gamma.js */ "./node_modules/d3-random/src/gamma.js"); 20571/* harmony import */ var _beta_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./beta.js */ "./node_modules/d3-random/src/beta.js"); 20572/* harmony import */ var _weibull_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./weibull.js */ "./node_modules/d3-random/src/weibull.js"); 20573/* harmony import */ var _cauchy_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./cauchy.js */ "./node_modules/d3-random/src/cauchy.js"); 20574/* harmony import */ var _logistic_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./logistic.js */ "./node_modules/d3-random/src/logistic.js"); 20575/* harmony import */ var _poisson_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./poisson.js */ "./node_modules/d3-random/src/poisson.js"); 20576/* harmony import */ var _lcg_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./lcg.js */ "./node_modules/d3-random/src/lcg.js"); 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597/***/ }), 20598
vendor: 1,123 bytes, lines 20599-20629
20599/***/ "./node_modules/d3-random/src/int.js": 20600/*!*******************************************!*\ 20601 !*** ./node_modules/d3-random/src/int.js ***! 20602 \*******************************************/ 20603/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20604 20605__webpack_require__.r(__webpack_exports__); 20606/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20607/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20608/* harmony export */ }); 20609/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20610 20611 20612/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomInt(source) { 20613 function randomInt(min, max) { 20614 if (arguments.length < 2) max = min, min = 0; 20615 min = Math.floor(min); 20616 max = Math.floor(max) - min; 20617 return function() { 20618 return Math.floor(source() * max + min); 20619 }; 20620 } 20621 20622 randomInt.source = sourceRandomInt; 20623 20624 return randomInt; 20625})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20626 20627 20628/***/ }), 20629
vendor: 1,145 bytes, lines 20630-20659
20630/***/ "./node_modules/d3-random/src/irwinHall.js": 20631/*!*************************************************!*\ 20632 !*** ./node_modules/d3-random/src/irwinHall.js ***! 20633 \*************************************************/ 20634/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20635 20636__webpack_require__.r(__webpack_exports__); 20637/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20638/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20639/* harmony export */ }); 20640/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20641 20642 20643/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomIrwinHall(source) { 20644 function randomIrwinHall(n) { 20645 if ((n = +n) <= 0) return () => 0; 20646 return function() { 20647 for (var sum = 0, i = n; i > 1; --i) sum += source(); 20648 return sum + i * source(); 20649 }; 20650 } 20651 20652 randomIrwinHall.source = sourceRandomIrwinHall; 20653 20654 return randomIrwinHall; 20655})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20656 20657 20658/***/ }), 20659
vendor: 837 bytes, lines 20660-20682
20660/***/ "./node_modules/d3-random/src/lcg.js": 20661/*!*******************************************!*\ 20662 !*** ./node_modules/d3-random/src/lcg.js ***! 20663 \*******************************************/ 20664/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20665 20666__webpack_require__.r(__webpack_exports__); 20667/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20668/* harmony export */ "default": () => (/* binding */ lcg) 20669/* harmony export */ }); 20670// https://en.wikipedia.org/wiki/Linear_congruential_generator#Parameters_in_common_use 20671const mul = 0x19660D; 20672const inc = 0x3C6EF35F; 20673const eps = 1 / 0x100000000; 20674 20675function lcg(seed = Math.random()) { 20676 let state = (0 <= seed && seed < 1 ? seed / eps : Math.abs(seed)) | 0; 20677 return () => (state = mul * state + inc | 0, eps * (state >>> 0)); 20678} 20679 20680 20681/***/ }), 20682
vendor: 1,328 bytes, lines 20683-20715
20683/***/ "./node_modules/d3-random/src/logNormal.js": 20684/*!*************************************************!*\ 20685 !*** ./node_modules/d3-random/src/logNormal.js ***! 20686 \*************************************************/ 20687/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20688 20689__webpack_require__.r(__webpack_exports__); 20690/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20691/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20692/* harmony export */ }); 20693/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20694/* harmony import */ var _normal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./normal.js */ "./node_modules/d3-random/src/normal.js"); 20695 20696 20697 20698/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomLogNormal(source) { 20699 var N = _normal_js__WEBPACK_IMPORTED_MODULE_0__["default"].source(source); 20700 20701 function randomLogNormal() { 20702 var randomNormal = N.apply(this, arguments); 20703 return function() { 20704 return Math.exp(randomNormal()); 20705 }; 20706 } 20707 20708 randomLogNormal.source = sourceRandomLogNormal; 20709 20710 return randomLogNormal; 20711})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_1__["default"])); 20712 20713 20714/***/ }), 20715
vendor: 1,131 bytes, lines 20716-20746
20716/***/ "./node_modules/d3-random/src/logistic.js": 20717/*!************************************************!*\ 20718 !*** ./node_modules/d3-random/src/logistic.js ***! 20719 \************************************************/ 20720/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20721 20722__webpack_require__.r(__webpack_exports__); 20723/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20724/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20725/* harmony export */ }); 20726/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20727 20728 20729/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomLogistic(source) { 20730 function randomLogistic(a, b) { 20731 a = a == null ? 0 : +a; 20732 b = b == null ? 1 : +b; 20733 return function() { 20734 var u = source(); 20735 return a + b * Math.log(u / (1 - u)); 20736 }; 20737 } 20738 20739 randomLogistic.source = sourceRandomLogistic; 20740 20741 return randomLogistic; 20742})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20743 20744 20745/***/ }), 20746
vendor: 1,447 bytes, lines 20747-20789
20747/***/ "./node_modules/d3-random/src/normal.js": 20748/*!**********************************************!*\ 20749 !*** ./node_modules/d3-random/src/normal.js ***! 20750 \**********************************************/ 20751/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20752 20753__webpack_require__.r(__webpack_exports__); 20754/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20755/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20756/* harmony export */ }); 20757/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20758 20759 20760/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomNormal(source) { 20761 function randomNormal(mu, sigma) { 20762 var x, r; 20763 mu = mu == null ? 0 : +mu; 20764 sigma = sigma == null ? 1 : +sigma; 20765 return function() { 20766 var y; 20767 20768 // If available, use the second previously-generated uniform random. 20769 if (x != null) y = x, x = null; 20770 20771 // Otherwise, generate a new x and y. 20772 else do { 20773 x = source() * 2 - 1; 20774 y = source() * 2 - 1; 20775 r = x * x + y * y; 20776 } while (!r || r > 1); 20777 20778 return mu + sigma * y * Math.sqrt(-2 * Math.log(r) / r); 20779 }; 20780 } 20781 20782 randomNormal.source = sourceRandomNormal; 20783 20784 return randomNormal; 20785})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20786 20787 20788/***/ }), 20789
vendor: 1,127 bytes, lines 20790-20819
20790/***/ "./node_modules/d3-random/src/pareto.js": 20791/*!**********************************************!*\ 20792 !*** ./node_modules/d3-random/src/pareto.js ***! 20793 \**********************************************/ 20794/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20795 20796__webpack_require__.r(__webpack_exports__); 20797/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20798/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20799/* harmony export */ }); 20800/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20801 20802 20803/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomPareto(source) { 20804 function randomPareto(alpha) { 20805 if ((alpha = +alpha) < 0) throw new RangeError("invalid alpha"); 20806 alpha = 1 / -alpha; 20807 return function() { 20808 return Math.pow(1 - source(), alpha); 20809 }; 20810 } 20811 20812 randomPareto.source = sourceRandomPareto; 20813 20814 return randomPareto; 20815})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20816 20817 20818/***/ }), 20819
vendor: 1,782 bytes, lines 20820-20863
20820/***/ "./node_modules/d3-random/src/poisson.js": 20821/*!***********************************************!*\ 20822 !*** ./node_modules/d3-random/src/poisson.js ***! 20823 \***********************************************/ 20824/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20825 20826__webpack_require__.r(__webpack_exports__); 20827/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20828/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20829/* harmony export */ }); 20830/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20831/* harmony import */ var _binomial_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./binomial.js */ "./node_modules/d3-random/src/binomial.js"); 20832/* harmony import */ var _gamma_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./gamma.js */ "./node_modules/d3-random/src/gamma.js"); 20833 20834 20835 20836 20837/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomPoisson(source) { 20838 var G = _gamma_js__WEBPACK_IMPORTED_MODULE_0__["default"].source(source), 20839 B = _binomial_js__WEBPACK_IMPORTED_MODULE_1__["default"].source(source); 20840 20841 function randomPoisson(lambda) { 20842 return function() { 20843 var acc = 0, l = lambda; 20844 while (l > 16) { 20845 var n = Math.floor(0.875 * l), 20846 t = G(n)(); 20847 if (t > l) return acc + B(n - 1, l / t)(); 20848 acc += n; 20849 l -= t; 20850 } 20851 for (var s = -Math.log1p(-source()), k = 0; s <= l; ++k) s -= Math.log1p(-source()); 20852 return acc + k; 20853 }; 20854 } 20855 20856 randomPoisson.source = sourceRandomPoisson; 20857 20858 return randomPoisson; 20859})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_2__["default"])); 20860 20861 20862/***/ }), 20863
vendor: 1,178 bytes, lines 20864-20895
20864/***/ "./node_modules/d3-random/src/uniform.js": 20865/*!***********************************************!*\ 20866 !*** ./node_modules/d3-random/src/uniform.js ***! 20867 \***********************************************/ 20868/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20869 20870__webpack_require__.r(__webpack_exports__); 20871/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20872/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20873/* harmony export */ }); 20874/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20875 20876 20877/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomUniform(source) { 20878 function randomUniform(min, max) { 20879 min = min == null ? 0 : +min; 20880 max = max == null ? 1 : +max; 20881 if (arguments.length === 1) max = min, min = 0; 20882 else max -= min; 20883 return function() { 20884 return source() * max + min; 20885 }; 20886 } 20887 20888 randomUniform.source = sourceRandomUniform; 20889 20890 return randomUniform; 20891})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20892 20893 20894/***/ }), 20895
vendor: 1,270 bytes, lines 20896-20932
20896/***/ "./node_modules/d3-random/src/weibull.js": 20897/*!***********************************************!*\ 20898 !*** ./node_modules/d3-random/src/weibull.js ***! 20899 \***********************************************/ 20900/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20901 20902__webpack_require__.r(__webpack_exports__); 20903/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20904/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20905/* harmony export */ }); 20906/* harmony import */ var _defaultSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultSource.js */ "./node_modules/d3-random/src/defaultSource.js"); 20907 20908 20909/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function sourceRandomWeibull(source) { 20910 function randomWeibull(k, a, b) { 20911 var outerFunc; 20912 if ((k = +k) === 0) { 20913 outerFunc = x => -Math.log(x); 20914 } else { 20915 k = 1 / k; 20916 outerFunc = x => Math.pow(x, k); 20917 } 20918 a = a == null ? 0 : +a; 20919 b = b == null ? 1 : +b; 20920 return function() { 20921 return a + b * outerFunc(-Math.log1p(-source())); 20922 }; 20923 } 20924 20925 randomWeibull.source = sourceRandomWeibull; 20926 20927 return randomWeibull; 20928})(_defaultSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])); 20929 20930 20931/***/ }), 20932
vendor: 932 bytes, lines 20933-20950
20933/***/ "./node_modules/d3-scale-chromatic/src/categorical/Accent.js": 20934/*!*******************************************************************!*\ 20935 !*** ./node_modules/d3-scale-chromatic/src/categorical/Accent.js ***! 20936 \*******************************************************************/ 20937/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20938 20939__webpack_require__.r(__webpack_exports__); 20940/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20941/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20942/* harmony export */ }); 20943/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 20944 20945 20946/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666")); 20947 20948 20949/***/ }), 20950
vendor: 928 bytes, lines 20951-20968
20951/***/ "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js": 20952/*!******************************************************************!*\ 20953 !*** ./node_modules/d3-scale-chromatic/src/categorical/Dark2.js ***! 20954 \******************************************************************/ 20955/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20956 20957__webpack_require__.r(__webpack_exports__); 20958/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20959/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20960/* harmony export */ }); 20961/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 20962 20963 20964/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666")); 20965 20966 20967/***/ }), 20968
vendor: 956 bytes, lines 20969-20986
20969/***/ "./node_modules/d3-scale-chromatic/src/categorical/Paired.js": 20970/*!*******************************************************************!*\ 20971 !*** ./node_modules/d3-scale-chromatic/src/categorical/Paired.js ***! 20972 \*******************************************************************/ 20973/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20974 20975__webpack_require__.r(__webpack_exports__); 20976/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20977/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20978/* harmony export */ }); 20979/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 20980 20981 20982/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928")); 20983 20984 20985/***/ }), 20986
vendor: 942 bytes, lines 20987-21004
20987/***/ "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js": 20988/*!********************************************************************!*\ 20989 !*** ./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js ***! 20990 \********************************************************************/ 20991/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 20992 20993__webpack_require__.r(__webpack_exports__); 20994/* harmony export */ __webpack_require__.d(__webpack_exports__, { 20995/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 20996/* harmony export */ }); 20997/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 20998 20999 21000/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2")); 21001 21002 21003/***/ }), 21004
vendor: 936 bytes, lines 21005-21022
21005/***/ "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js": 21006/*!********************************************************************!*\ 21007 !*** ./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js ***! 21008 \********************************************************************/ 21009/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21010 21011__webpack_require__.r(__webpack_exports__); 21012/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21013/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 21014/* harmony export */ }); 21015/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21016 21017 21018/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc")); 21019 21020 21021/***/ }), 21022
vendor: 930 bytes, lines 21023-21040
21023/***/ "./node_modules/d3-scale-chromatic/src/categorical/Set1.js": 21024/*!*****************************************************************!*\ 21025 !*** ./node_modules/d3-scale-chromatic/src/categorical/Set1.js ***! 21026 \*****************************************************************/ 21027/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21028 21029__webpack_require__.r(__webpack_exports__); 21030/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21031/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 21032/* harmony export */ }); 21033/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21034 21035 21036/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999")); 21037 21038 21039/***/ }), 21040
vendor: 924 bytes, lines 21041-21058
21041/***/ "./node_modules/d3-scale-chromatic/src/categorical/Set2.js": 21042/*!*****************************************************************!*\ 21043 !*** ./node_modules/d3-scale-chromatic/src/categorical/Set2.js ***! 21044 \*****************************************************************/ 21045/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21046 21047__webpack_require__.r(__webpack_exports__); 21048/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21049/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 21050/* harmony export */ }); 21051/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21052 21053 21054/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3")); 21055 21056 21057/***/ }), 21058
vendor: 948 bytes, lines 21059-21076
21059/***/ "./node_modules/d3-scale-chromatic/src/categorical/Set3.js": 21060/*!*****************************************************************!*\ 21061 !*** ./node_modules/d3-scale-chromatic/src/categorical/Set3.js ***! 21062 \*****************************************************************/ 21063/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21064 21065__webpack_require__.r(__webpack_exports__); 21066/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21067/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 21068/* harmony export */ }); 21069/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21070 21071 21072/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f")); 21073 21074 21075/***/ }), 21076
vendor: 956 bytes, lines 21077-21094
21077/***/ "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js": 21078/*!**********************************************************************!*\ 21079 !*** ./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js ***! 21080 \**********************************************************************/ 21081/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21082 21083__webpack_require__.r(__webpack_exports__); 21084/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21085/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 21086/* harmony export */ }); 21087/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21088 21089 21090/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab")); 21091 21092 21093/***/ }), 21094
vendor: 960 bytes, lines 21095-21112
21095/***/ "./node_modules/d3-scale-chromatic/src/categorical/category10.js": 21096/*!***********************************************************************!*\ 21097 !*** ./node_modules/d3-scale-chromatic/src/categorical/category10.js ***! 21098 \***********************************************************************/ 21099/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21100 21101__webpack_require__.r(__webpack_exports__); 21102/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21103/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 21104/* harmony export */ }); 21105/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21106 21107 21108/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")); 21109 21110 21111/***/ }), 21112
vendor: 968 bytes, lines 21113-21130
21113/***/ "./node_modules/d3-scale-chromatic/src/categorical/observable10.js": 21114/*!*************************************************************************!*\ 21115 !*** ./node_modules/d3-scale-chromatic/src/categorical/observable10.js ***! 21116 \*************************************************************************/ 21117/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21118 21119__webpack_require__.r(__webpack_exports__); 21120/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21121/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 21122/* harmony export */ }); 21123/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21124 21125 21126/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("4269d0efb118ff725c6cc5b03ca951ff8ab7a463f297bbf59c6b4e9498a0")); 21127 21128 21129/***/ }), 21130
vendor: 808 bytes, lines 21131-21149
21131/***/ "./node_modules/d3-scale-chromatic/src/colors.js": 21132/*!*******************************************************!*\ 21133 !*** ./node_modules/d3-scale-chromatic/src/colors.js ***! 21134 \*******************************************************/ 21135/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21136 21137__webpack_require__.r(__webpack_exports__); 21138/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21139/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 21140/* harmony export */ }); 21141/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(specifier) { 21142 var n = specifier.length / 6 | 0, colors = new Array(n), i = 0; 21143 while (i < n) colors[i] = "#" + specifier.slice(i * 6, ++i * 6); 21144 return colors; 21145} 21146 21147 21148/***/ }), 21149
vendor: 1,610 bytes, lines 21150-21182
21150/***/ "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js": 21151/*!***************************************************************!*\ 21152 !*** ./node_modules/d3-scale-chromatic/src/diverging/BrBG.js ***! 21153 \***************************************************************/ 21154/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21155 21156__webpack_require__.r(__webpack_exports__); 21157/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21158/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21159/* harmony export */ scheme: () => (/* binding */ scheme) 21160/* harmony export */ }); 21161/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21162/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21163 21164 21165 21166var scheme = new Array(3).concat( 21167 "d8b365f5f5f55ab4ac", 21168 "a6611adfc27d80cdc1018571", 21169 "a6611adfc27df5f5f580cdc1018571", 21170 "8c510ad8b365f6e8c3c7eae55ab4ac01665e", 21171 "8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e", 21172 "8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e", 21173 "8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e", 21174 "5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30", 21175 "5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30" 21176).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21177 21178/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21179 21180 21181/***/ }), 21182
vendor: 1,610 bytes, lines 21183-21215
21183/***/ "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js": 21184/*!***************************************************************!*\ 21185 !*** ./node_modules/d3-scale-chromatic/src/diverging/PRGn.js ***! 21186 \***************************************************************/ 21187/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21188 21189__webpack_require__.r(__webpack_exports__); 21190/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21191/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21192/* harmony export */ scheme: () => (/* binding */ scheme) 21193/* harmony export */ }); 21194/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21195/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21196 21197 21198 21199var scheme = new Array(3).concat( 21200 "af8dc3f7f7f77fbf7b", 21201 "7b3294c2a5cfa6dba0008837", 21202 "7b3294c2a5cff7f7f7a6dba0008837", 21203 "762a83af8dc3e7d4e8d9f0d37fbf7b1b7837", 21204 "762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837", 21205 "762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837", 21206 "762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837", 21207 "40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b", 21208 "40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b" 21209).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21210 21211/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21212 21213 21214/***/ }), 21215
vendor: 1,610 bytes, lines 21216-21248
21216/***/ "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js": 21217/*!***************************************************************!*\ 21218 !*** ./node_modules/d3-scale-chromatic/src/diverging/PiYG.js ***! 21219 \***************************************************************/ 21220/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21221 21222__webpack_require__.r(__webpack_exports__); 21223/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21224/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21225/* harmony export */ scheme: () => (/* binding */ scheme) 21226/* harmony export */ }); 21227/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21228/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21229 21230 21231 21232var scheme = new Array(3).concat( 21233 "e9a3c9f7f7f7a1d76a", 21234 "d01c8bf1b6dab8e1864dac26", 21235 "d01c8bf1b6daf7f7f7b8e1864dac26", 21236 "c51b7de9a3c9fde0efe6f5d0a1d76a4d9221", 21237 "c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221", 21238 "c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221", 21239 "c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221", 21240 "8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419", 21241 "8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419" 21242).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21243 21244/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21245 21246 21247/***/ }), 21248
vendor: 1,610 bytes, lines 21249-21281
21249/***/ "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js": 21250/*!***************************************************************!*\ 21251 !*** ./node_modules/d3-scale-chromatic/src/diverging/PuOr.js ***! 21252 \***************************************************************/ 21253/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21254 21255__webpack_require__.r(__webpack_exports__); 21256/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21257/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21258/* harmony export */ scheme: () => (/* binding */ scheme) 21259/* harmony export */ }); 21260/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21261/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21262 21263 21264 21265var scheme = new Array(3).concat( 21266 "998ec3f7f7f7f1a340", 21267 "5e3c99b2abd2fdb863e66101", 21268 "5e3c99b2abd2f7f7f7fdb863e66101", 21269 "542788998ec3d8daebfee0b6f1a340b35806", 21270 "542788998ec3d8daebf7f7f7fee0b6f1a340b35806", 21271 "5427888073acb2abd2d8daebfee0b6fdb863e08214b35806", 21272 "5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806", 21273 "2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08", 21274 "2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08" 21275).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21276 21277/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21278 21279 21280/***/ }), 21281
vendor: 1,610 bytes, lines 21282-21314
21282/***/ "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js": 21283/*!***************************************************************!*\ 21284 !*** ./node_modules/d3-scale-chromatic/src/diverging/RdBu.js ***! 21285 \***************************************************************/ 21286/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21287 21288__webpack_require__.r(__webpack_exports__); 21289/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21290/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21291/* harmony export */ scheme: () => (/* binding */ scheme) 21292/* harmony export */ }); 21293/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21294/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21295 21296 21297 21298var scheme = new Array(3).concat( 21299 "ef8a62f7f7f767a9cf", 21300 "ca0020f4a58292c5de0571b0", 21301 "ca0020f4a582f7f7f792c5de0571b0", 21302 "b2182bef8a62fddbc7d1e5f067a9cf2166ac", 21303 "b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac", 21304 "b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac", 21305 "b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac", 21306 "67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061", 21307 "67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061" 21308).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21309 21310/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21311 21312 21313/***/ }), 21314
vendor: 1,610 bytes, lines 21315-21347
21315/***/ "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js": 21316/*!***************************************************************!*\ 21317 !*** ./node_modules/d3-scale-chromatic/src/diverging/RdGy.js ***! 21318 \***************************************************************/ 21319/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21320 21321__webpack_require__.r(__webpack_exports__); 21322/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21323/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21324/* harmony export */ scheme: () => (/* binding */ scheme) 21325/* harmony export */ }); 21326/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21327/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21328 21329 21330 21331var scheme = new Array(3).concat( 21332 "ef8a62ffffff999999", 21333 "ca0020f4a582bababa404040", 21334 "ca0020f4a582ffffffbababa404040", 21335 "b2182bef8a62fddbc7e0e0e09999994d4d4d", 21336 "b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d", 21337 "b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d", 21338 "b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d", 21339 "67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a", 21340 "67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a" 21341).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21342 21343/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21344 21345 21346/***/ }), 21347
vendor: 1,618 bytes, lines 21348-21380
21348/***/ "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js": 21349/*!*****************************************************************!*\ 21350 !*** ./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js ***! 21351 \*****************************************************************/ 21352/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21353 21354__webpack_require__.r(__webpack_exports__); 21355/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21356/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21357/* harmony export */ scheme: () => (/* binding */ scheme) 21358/* harmony export */ }); 21359/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21360/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21361 21362 21363 21364var scheme = new Array(3).concat( 21365 "fc8d59ffffbf91bfdb", 21366 "d7191cfdae61abd9e92c7bb6", 21367 "d7191cfdae61ffffbfabd9e92c7bb6", 21368 "d73027fc8d59fee090e0f3f891bfdb4575b4", 21369 "d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4", 21370 "d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4", 21371 "d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4", 21372 "a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695", 21373 "a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695" 21374).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21375 21376/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21377 21378 21379/***/ }), 21380
vendor: 1,618 bytes, lines 21381-21413
21381/***/ "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js": 21382/*!*****************************************************************!*\ 21383 !*** ./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js ***! 21384 \*****************************************************************/ 21385/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21386 21387__webpack_require__.r(__webpack_exports__); 21388/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21389/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21390/* harmony export */ scheme: () => (/* binding */ scheme) 21391/* harmony export */ }); 21392/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21393/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21394 21395 21396 21397var scheme = new Array(3).concat( 21398 "fc8d59ffffbf91cf60", 21399 "d7191cfdae61a6d96a1a9641", 21400 "d7191cfdae61ffffbfa6d96a1a9641", 21401 "d73027fc8d59fee08bd9ef8b91cf601a9850", 21402 "d73027fc8d59fee08bffffbfd9ef8b91cf601a9850", 21403 "d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850", 21404 "d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850", 21405 "a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837", 21406 "a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837" 21407).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21408 21409/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21410 21411 21412/***/ }), 21413
vendor: 1,626 bytes, lines 21414-21446
21414/***/ "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js": 21415/*!*******************************************************************!*\ 21416 !*** ./node_modules/d3-scale-chromatic/src/diverging/Spectral.js ***! 21417 \*******************************************************************/ 21418/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21419 21420__webpack_require__.r(__webpack_exports__); 21421/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21422/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21423/* harmony export */ scheme: () => (/* binding */ scheme) 21424/* harmony export */ }); 21425/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21426/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21427 21428 21429 21430var scheme = new Array(3).concat( 21431 "fc8d59ffffbf99d594", 21432 "d7191cfdae61abdda42b83ba", 21433 "d7191cfdae61ffffbfabdda42b83ba", 21434 "d53e4ffc8d59fee08be6f59899d5943288bd", 21435 "d53e4ffc8d59fee08bffffbfe6f59899d5943288bd", 21436 "d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd", 21437 "d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd", 21438 "9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2", 21439 "9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2" 21440).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21441 21442/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21443 21444 21445/***/ }), 21446
vendor: 19,434 bytes, lines 21447-21623
21447/***/ "./node_modules/d3-scale-chromatic/src/index.js": 21448/*!******************************************************!*\ 21449 !*** ./node_modules/d3-scale-chromatic/src/index.js ***! 21450 \******************************************************/ 21451/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21452 21453__webpack_require__.r(__webpack_exports__); 21454/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21455/* harmony export */ interpolateBlues: () => (/* reexport safe */ _sequential_single_Blues_js__WEBPACK_IMPORTED_MODULE_32__["default"]), 21456/* harmony export */ interpolateBrBG: () => (/* reexport safe */ _diverging_BrBG_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 21457/* harmony export */ interpolateBuGn: () => (/* reexport safe */ _sequential_multi_BuGn_js__WEBPACK_IMPORTED_MODULE_20__["default"]), 21458/* harmony export */ interpolateBuPu: () => (/* reexport safe */ _sequential_multi_BuPu_js__WEBPACK_IMPORTED_MODULE_21__["default"]), 21459/* harmony export */ interpolateCividis: () => (/* reexport safe */ _sequential_multi_cividis_js__WEBPACK_IMPORTED_MODULE_38__["default"]), 21460/* harmony export */ interpolateCool: () => (/* reexport safe */ _sequential_multi_rainbow_js__WEBPACK_IMPORTED_MODULE_40__.cool), 21461/* harmony export */ interpolateCubehelixDefault: () => (/* reexport safe */ _sequential_multi_cubehelix_js__WEBPACK_IMPORTED_MODULE_39__["default"]), 21462/* harmony export */ interpolateGnBu: () => (/* reexport safe */ _sequential_multi_GnBu_js__WEBPACK_IMPORTED_MODULE_22__["default"]), 21463/* harmony export */ interpolateGreens: () => (/* reexport safe */ _sequential_single_Greens_js__WEBPACK_IMPORTED_MODULE_33__["default"]), 21464/* harmony export */ interpolateGreys: () => (/* reexport safe */ _sequential_single_Greys_js__WEBPACK_IMPORTED_MODULE_34__["default"]), 21465/* harmony export */ interpolateInferno: () => (/* reexport safe */ _sequential_multi_viridis_js__WEBPACK_IMPORTED_MODULE_43__.inferno), 21466/* harmony export */ interpolateMagma: () => (/* reexport safe */ _sequential_multi_viridis_js__WEBPACK_IMPORTED_MODULE_43__.magma), 21467/* harmony export */ interpolateOrRd: () => (/* reexport safe */ _sequential_multi_OrRd_js__WEBPACK_IMPORTED_MODULE_23__["default"]), 21468/* harmony export */ interpolateOranges: () => (/* reexport safe */ _sequential_single_Oranges_js__WEBPACK_IMPORTED_MODULE_37__["default"]), 21469/* harmony export */ interpolatePRGn: () => (/* reexport safe */ _diverging_PRGn_js__WEBPACK_IMPORTED_MODULE_12__["default"]), 21470/* harmony export */ interpolatePiYG: () => (/* reexport safe */ _diverging_PiYG_js__WEBPACK_IMPORTED_MODULE_13__["default"]), 21471/* harmony export */ interpolatePlasma: () => (/* reexport safe */ _sequential_multi_viridis_js__WEBPACK_IMPORTED_MODULE_43__.plasma), 21472/* harmony export */ interpolatePuBu: () => (/* reexport safe */ _sequential_multi_PuBu_js__WEBPACK_IMPORTED_MODULE_25__["default"]), 21473/* harmony export */ interpolatePuBuGn: () => (/* reexport safe */ _sequential_multi_PuBuGn_js__WEBPACK_IMPORTED_MODULE_24__["default"]), 21474/* harmony export */ interpolatePuOr: () => (/* reexport safe */ _diverging_PuOr_js__WEBPACK_IMPORTED_MODULE_14__["default"]), 21475/* harmony export */ interpolatePuRd: () => (/* reexport safe */ _sequential_multi_PuRd_js__WEBPACK_IMPORTED_MODULE_26__["default"]), 21476/* harmony export */ interpolatePurples: () => (/* reexport safe */ _sequential_single_Purples_js__WEBPACK_IMPORTED_MODULE_35__["default"]), 21477/* harmony export */ interpolateRainbow: () => (/* reexport safe */ _sequential_multi_rainbow_js__WEBPACK_IMPORTED_MODULE_40__["default"]), 21478/* harmony export */ interpolateRdBu: () => (/* reexport safe */ _diverging_RdBu_js__WEBPACK_IMPORTED_MODULE_15__["default"]), 21479/* harmony export */ interpolateRdGy: () => (/* reexport safe */ _diverging_RdGy_js__WEBPACK_IMPORTED_MODULE_16__["default"]), 21480/* harmony export */ interpolateRdPu: () => (/* reexport safe */ _sequential_multi_RdPu_js__WEBPACK_IMPORTED_MODULE_27__["default"]), 21481/* harmony export */ interpolateRdYlBu: () => (/* reexport safe */ _diverging_RdYlBu_js__WEBPACK_IMPORTED_MODULE_17__["default"]), 21482/* harmony export */ interpolateRdYlGn: () => (/* reexport safe */ _diverging_RdYlGn_js__WEBPACK_IMPORTED_MODULE_18__["default"]), 21483/* harmony export */ interpolateReds: () => (/* reexport safe */ _sequential_single_Reds_js__WEBPACK_IMPORTED_MODULE_36__["default"]), 21484/* harmony export */ interpolateSinebow: () => (/* reexport safe */ _sequential_multi_sinebow_js__WEBPACK_IMPORTED_MODULE_41__["default"]), 21485/* harmony export */ interpolateSpectral: () => (/* reexport safe */ _diverging_Spectral_js__WEBPACK_IMPORTED_MODULE_19__["default"]), 21486/* harmony export */ interpolateTurbo: () => (/* reexport safe */ _sequential_multi_turbo_js__WEBPACK_IMPORTED_MODULE_42__["default"]), 21487/* harmony export */ interpolateViridis: () => (/* reexport safe */ _sequential_multi_viridis_js__WEBPACK_IMPORTED_MODULE_43__["default"]), 21488/* harmony export */ interpolateWarm: () => (/* reexport safe */ _sequential_multi_rainbow_js__WEBPACK_IMPORTED_MODULE_40__.warm), 21489/* harmony export */ interpolateYlGn: () => (/* reexport safe */ _sequential_multi_YlGn_js__WEBPACK_IMPORTED_MODULE_29__["default"]), 21490/* harmony export */ interpolateYlGnBu: () => (/* reexport safe */ _sequential_multi_YlGnBu_js__WEBPACK_IMPORTED_MODULE_28__["default"]), 21491/* harmony export */ interpolateYlOrBr: () => (/* reexport safe */ _sequential_multi_YlOrBr_js__WEBPACK_IMPORTED_MODULE_30__["default"]), 21492/* harmony export */ interpolateYlOrRd: () => (/* reexport safe */ _sequential_multi_YlOrRd_js__WEBPACK_IMPORTED_MODULE_31__["default"]), 21493/* harmony export */ schemeAccent: () => (/* reexport safe */ _categorical_Accent_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 21494/* harmony export */ schemeBlues: () => (/* reexport safe */ _sequential_single_Blues_js__WEBPACK_IMPORTED_MODULE_32__.scheme), 21495/* harmony export */ schemeBrBG: () => (/* reexport safe */ _diverging_BrBG_js__WEBPACK_IMPORTED_MODULE_11__.scheme), 21496/* harmony export */ schemeBuGn: () => (/* reexport safe */ _sequential_multi_BuGn_js__WEBPACK_IMPORTED_MODULE_20__.scheme), 21497/* harmony export */ schemeBuPu: () => (/* reexport safe */ _sequential_multi_BuPu_js__WEBPACK_IMPORTED_MODULE_21__.scheme), 21498/* harmony export */ schemeCategory10: () => (/* reexport safe */ _categorical_category10_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 21499/* harmony export */ schemeDark2: () => (/* reexport safe */ _categorical_Dark2_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 21500/* harmony export */ schemeGnBu: () => (/* reexport safe */ _sequential_multi_GnBu_js__WEBPACK_IMPORTED_MODULE_22__.scheme), 21501/* harmony export */ schemeGreens: () => (/* reexport safe */ _sequential_single_Greens_js__WEBPACK_IMPORTED_MODULE_33__.scheme), 21502/* harmony export */ schemeGreys: () => (/* reexport safe */ _sequential_single_Greys_js__WEBPACK_IMPORTED_MODULE_34__.scheme), 21503/* harmony export */ schemeObservable10: () => (/* reexport safe */ _categorical_observable10_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 21504/* harmony export */ schemeOrRd: () => (/* reexport safe */ _sequential_multi_OrRd_js__WEBPACK_IMPORTED_MODULE_23__.scheme), 21505/* harmony export */ schemeOranges: () => (/* reexport safe */ _sequential_single_Oranges_js__WEBPACK_IMPORTED_MODULE_37__.scheme), 21506/* harmony export */ schemePRGn: () => (/* reexport safe */ _diverging_PRGn_js__WEBPACK_IMPORTED_MODULE_12__.scheme), 21507/* harmony export */ schemePaired: () => (/* reexport safe */ _categorical_Paired_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 21508/* harmony export */ schemePastel1: () => (/* reexport safe */ _categorical_Pastel1_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 21509/* harmony export */ schemePastel2: () => (/* reexport safe */ _categorical_Pastel2_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 21510/* harmony export */ schemePiYG: () => (/* reexport safe */ _diverging_PiYG_js__WEBPACK_IMPORTED_MODULE_13__.scheme), 21511/* harmony export */ schemePuBu: () => (/* reexport safe */ _sequential_multi_PuBu_js__WEBPACK_IMPORTED_MODULE_25__.scheme), 21512/* harmony export */ schemePuBuGn: () => (/* reexport safe */ _sequential_multi_PuBuGn_js__WEBPACK_IMPORTED_MODULE_24__.scheme), 21513/* harmony export */ schemePuOr: () => (/* reexport safe */ _diverging_PuOr_js__WEBPACK_IMPORTED_MODULE_14__.scheme), 21514/* harmony export */ schemePuRd: () => (/* reexport safe */ _sequential_multi_PuRd_js__WEBPACK_IMPORTED_MODULE_26__.scheme), 21515/* harmony export */ schemePurples: () => (/* reexport safe */ _sequential_single_Purples_js__WEBPACK_IMPORTED_MODULE_35__.scheme), 21516/* harmony export */ schemeRdBu: () => (/* reexport safe */ _diverging_RdBu_js__WEBPACK_IMPORTED_MODULE_15__.scheme), 21517/* harmony export */ schemeRdGy: () => (/* reexport safe */ _diverging_RdGy_js__WEBPACK_IMPORTED_MODULE_16__.scheme), 21518/* harmony export */ schemeRdPu: () => (/* reexport safe */ _sequential_multi_RdPu_js__WEBPACK_IMPORTED_MODULE_27__.scheme), 21519/* harmony export */ schemeRdYlBu: () => (/* reexport safe */ _diverging_RdYlBu_js__WEBPACK_IMPORTED_MODULE_17__.scheme), 21520/* harmony export */ schemeRdYlGn: () => (/* reexport safe */ _diverging_RdYlGn_js__WEBPACK_IMPORTED_MODULE_18__.scheme), 21521/* harmony export */ schemeReds: () => (/* reexport safe */ _sequential_single_Reds_js__WEBPACK_IMPORTED_MODULE_36__.scheme), 21522/* harmony export */ schemeSet1: () => (/* reexport safe */ _categorical_Set1_js__WEBPACK_IMPORTED_MODULE_7__["default"]), 21523/* harmony export */ schemeSet2: () => (/* reexport safe */ _categorical_Set2_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 21524/* harmony export */ schemeSet3: () => (/* reexport safe */ _categorical_Set3_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 21525/* harmony export */ schemeSpectral: () => (/* reexport safe */ _diverging_Spectral_js__WEBPACK_IMPORTED_MODULE_19__.scheme), 21526/* harmony export */ schemeTableau10: () => (/* reexport safe */ _categorical_Tableau10_js__WEBPACK_IMPORTED_MODULE_10__["default"]), 21527/* harmony export */ schemeYlGn: () => (/* reexport safe */ _sequential_multi_YlGn_js__WEBPACK_IMPORTED_MODULE_29__.scheme), 21528/* harmony export */ schemeYlGnBu: () => (/* reexport safe */ _sequential_multi_YlGnBu_js__WEBPACK_IMPORTED_MODULE_28__.scheme), 21529/* harmony export */ schemeYlOrBr: () => (/* reexport safe */ _sequential_multi_YlOrBr_js__WEBPACK_IMPORTED_MODULE_30__.scheme), 21530/* harmony export */ schemeYlOrRd: () => (/* reexport safe */ _sequential_multi_YlOrRd_js__WEBPACK_IMPORTED_MODULE_31__.scheme) 21531/* harmony export */ }); 21532/* harmony import */ var _categorical_category10_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./categorical/category10.js */ "./node_modules/d3-scale-chromatic/src/categorical/category10.js"); 21533/* harmony import */ var _categorical_Accent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./categorical/Accent.js */ "./node_modules/d3-scale-chromatic/src/categorical/Accent.js"); 21534/* harmony import */ var _categorical_Dark2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./categorical/Dark2.js */ "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js"); 21535/* harmony import */ var _categorical_observable10_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./categorical/observable10.js */ "./node_modules/d3-scale-chromatic/src/categorical/observable10.js"); 21536/* harmony import */ var _categorical_Paired_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./categorical/Paired.js */ "./node_modules/d3-scale-chromatic/src/categorical/Paired.js"); 21537/* harmony import */ var _categorical_Pastel1_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./categorical/Pastel1.js */ "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js"); 21538/* harmony import */ var _categorical_Pastel2_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./categorical/Pastel2.js */ "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js"); 21539/* harmony import */ var _categorical_Set1_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./categorical/Set1.js */ "./node_modules/d3-scale-chromatic/src/categorical/Set1.js"); 21540/* harmony import */ var _categorical_Set2_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./categorical/Set2.js */ "./node_modules/d3-scale-chromatic/src/categorical/Set2.js"); 21541/* harmony import */ var _categorical_Set3_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./categorical/Set3.js */ "./node_modules/d3-scale-chromatic/src/categorical/Set3.js"); 21542/* harmony import */ var _categorical_Tableau10_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./categorical/Tableau10.js */ "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js"); 21543/* harmony import */ var _diverging_BrBG_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./diverging/BrBG.js */ "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js"); 21544/* harmony import */ var _diverging_PRGn_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./diverging/PRGn.js */ "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js"); 21545/* harmony import */ var _diverging_PiYG_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./diverging/PiYG.js */ "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js"); 21546/* harmony import */ var _diverging_PuOr_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./diverging/PuOr.js */ "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js"); 21547/* harmony import */ var _diverging_RdBu_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./diverging/RdBu.js */ "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js"); 21548/* harmony import */ var _diverging_RdGy_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./diverging/RdGy.js */ "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js"); 21549/* harmony import */ var _diverging_RdYlBu_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./diverging/RdYlBu.js */ "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js"); 21550/* harmony import */ var _diverging_RdYlGn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./diverging/RdYlGn.js */ "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js"); 21551/* harmony import */ var _diverging_Spectral_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./diverging/Spectral.js */ "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js"); 21552/* harmony import */ var _sequential_multi_BuGn_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./sequential-multi/BuGn.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js"); 21553/* harmony import */ var _sequential_multi_BuPu_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./sequential-multi/BuPu.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js"); 21554/* harmony import */ var _sequential_multi_GnBu_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./sequential-multi/GnBu.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js"); 21555/* harmony import */ var _sequential_multi_OrRd_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./sequential-multi/OrRd.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js"); 21556/* harmony import */ var _sequential_multi_PuBuGn_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./sequential-multi/PuBuGn.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js"); 21557/* harmony import */ var _sequential_multi_PuBu_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./sequential-multi/PuBu.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js"); 21558/* harmony import */ var _sequential_multi_PuRd_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./sequential-multi/PuRd.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js"); 21559/* harmony import */ var _sequential_multi_RdPu_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./sequential-multi/RdPu.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js"); 21560/* harmony import */ var _sequential_multi_YlGnBu_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./sequential-multi/YlGnBu.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js"); 21561/* harmony import */ var _sequential_multi_YlGn_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./sequential-multi/YlGn.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js"); 21562/* harmony import */ var _sequential_multi_YlOrBr_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./sequential-multi/YlOrBr.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js"); 21563/* harmony import */ var _sequential_multi_YlOrRd_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./sequential-multi/YlOrRd.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js"); 21564/* harmony import */ var _sequential_single_Blues_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./sequential-single/Blues.js */ "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js"); 21565/* harmony import */ var _sequential_single_Greens_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./sequential-single/Greens.js */ "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js"); 21566/* harmony import */ var _sequential_single_Greys_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./sequential-single/Greys.js */ "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js"); 21567/* harmony import */ var _sequential_single_Purples_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./sequential-single/Purples.js */ "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js"); 21568/* harmony import */ var _sequential_single_Reds_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./sequential-single/Reds.js */ "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js"); 21569/* harmony import */ var _sequential_single_Oranges_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./sequential-single/Oranges.js */ "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js"); 21570/* harmony import */ var _sequential_multi_cividis_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./sequential-multi/cividis.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js"); 21571/* harmony import */ var _sequential_multi_cubehelix_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./sequential-multi/cubehelix.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js"); 21572/* harmony import */ var _sequential_multi_rainbow_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./sequential-multi/rainbow.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js"); 21573/* harmony import */ var _sequential_multi_sinebow_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./sequential-multi/sinebow.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js"); 21574/* harmony import */ var _sequential_multi_turbo_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./sequential-multi/turbo.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js"); 21575/* harmony import */ var _sequential_multi_viridis_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./sequential-multi/viridis.js */ "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js"); 21576 21577 21578 21579 21580 21581 21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 21596 21597 21598 21599 21600 21601 21602 21603 21604 21605 21606 21607 21608 21609 21610 21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622/***/ }), 21623
vendor: 862 bytes, lines 21624-21641
21624/***/ "./node_modules/d3-scale-chromatic/src/ramp.js": 21625/*!*****************************************************!*\ 21626 !*** ./node_modules/d3-scale-chromatic/src/ramp.js ***! 21627 \*****************************************************/ 21628/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21629 21630__webpack_require__.r(__webpack_exports__); 21631/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21632/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 21633/* harmony export */ }); 21634/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/rgb.js"); 21635 21636 21637/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (scheme => (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.rgbBasis)(scheme[scheme.length - 1])); 21638 21639 21640/***/ }), 21641
vendor: 1,500 bytes, lines 21642-21672
21642/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js": 21643/*!**********************************************************************!*\ 21644 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js ***! 21645 \**********************************************************************/ 21646/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21647 21648__webpack_require__.r(__webpack_exports__); 21649/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21650/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21651/* harmony export */ scheme: () => (/* binding */ scheme) 21652/* harmony export */ }); 21653/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21654/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21655 21656 21657 21658var scheme = new Array(3).concat( 21659 "e5f5f999d8c92ca25f", 21660 "edf8fbb2e2e266c2a4238b45", 21661 "edf8fbb2e2e266c2a42ca25f006d2c", 21662 "edf8fbccece699d8c966c2a42ca25f006d2c", 21663 "edf8fbccece699d8c966c2a441ae76238b45005824", 21664 "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824", 21665 "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b" 21666).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21667 21668/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21669 21670 21671/***/ }), 21672
vendor: 1,500 bytes, lines 21673-21703
21673/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js": 21674/*!**********************************************************************!*\ 21675 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js ***! 21676 \**********************************************************************/ 21677/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21678 21679__webpack_require__.r(__webpack_exports__); 21680/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21681/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21682/* harmony export */ scheme: () => (/* binding */ scheme) 21683/* harmony export */ }); 21684/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21685/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21686 21687 21688 21689var scheme = new Array(3).concat( 21690 "e0ecf49ebcda8856a7", 21691 "edf8fbb3cde38c96c688419d", 21692 "edf8fbb3cde38c96c68856a7810f7c", 21693 "edf8fbbfd3e69ebcda8c96c68856a7810f7c", 21694 "edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b", 21695 "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b", 21696 "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b" 21697).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21698 21699/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21700 21701 21702/***/ }), 21703
vendor: 1,500 bytes, lines 21704-21734
21704/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js": 21705/*!**********************************************************************!*\ 21706 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js ***! 21707 \**********************************************************************/ 21708/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21709 21710__webpack_require__.r(__webpack_exports__); 21711/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21712/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21713/* harmony export */ scheme: () => (/* binding */ scheme) 21714/* harmony export */ }); 21715/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21716/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21717 21718 21719 21720var scheme = new Array(3).concat( 21721 "e0f3dba8ddb543a2ca", 21722 "f0f9e8bae4bc7bccc42b8cbe", 21723 "f0f9e8bae4bc7bccc443a2ca0868ac", 21724 "f0f9e8ccebc5a8ddb57bccc443a2ca0868ac", 21725 "f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e", 21726 "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e", 21727 "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081" 21728).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21729 21730/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21731 21732 21733/***/ }), 21734
vendor: 1,500 bytes, lines 21735-21765
21735/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js": 21736/*!**********************************************************************!*\ 21737 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js ***! 21738 \**********************************************************************/ 21739/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21740 21741__webpack_require__.r(__webpack_exports__); 21742/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21743/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21744/* harmony export */ scheme: () => (/* binding */ scheme) 21745/* harmony export */ }); 21746/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21747/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21748 21749 21750 21751var scheme = new Array(3).concat( 21752 "fee8c8fdbb84e34a33", 21753 "fef0d9fdcc8afc8d59d7301f", 21754 "fef0d9fdcc8afc8d59e34a33b30000", 21755 "fef0d9fdd49efdbb84fc8d59e34a33b30000", 21756 "fef0d9fdd49efdbb84fc8d59ef6548d7301f990000", 21757 "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000", 21758 "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000" 21759).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21760 21761/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21762 21763 21764/***/ }), 21765
vendor: 1,500 bytes, lines 21766-21796
21766/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js": 21767/*!**********************************************************************!*\ 21768 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js ***! 21769 \**********************************************************************/ 21770/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21771 21772__webpack_require__.r(__webpack_exports__); 21773/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21774/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21775/* harmony export */ scheme: () => (/* binding */ scheme) 21776/* harmony export */ }); 21777/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21778/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21779 21780 21781 21782var scheme = new Array(3).concat( 21783 "ece7f2a6bddb2b8cbe", 21784 "f1eef6bdc9e174a9cf0570b0", 21785 "f1eef6bdc9e174a9cf2b8cbe045a8d", 21786 "f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d", 21787 "f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b", 21788 "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b", 21789 "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858" 21790).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21791 21792/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21793 21794 21795/***/ }), 21796
vendor: 1,508 bytes, lines 21797-21827
21797/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js": 21798/*!************************************************************************!*\ 21799 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js ***! 21800 \************************************************************************/ 21801/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21802 21803__webpack_require__.r(__webpack_exports__); 21804/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21805/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21806/* harmony export */ scheme: () => (/* binding */ scheme) 21807/* harmony export */ }); 21808/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21809/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21810 21811 21812 21813var scheme = new Array(3).concat( 21814 "ece2f0a6bddb1c9099", 21815 "f6eff7bdc9e167a9cf02818a", 21816 "f6eff7bdc9e167a9cf1c9099016c59", 21817 "f6eff7d0d1e6a6bddb67a9cf1c9099016c59", 21818 "f6eff7d0d1e6a6bddb67a9cf3690c002818a016450", 21819 "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450", 21820 "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636" 21821).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21822 21823/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21824 21825 21826/***/ }), 21827
vendor: 1,500 bytes, lines 21828-21858
21828/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js": 21829/*!**********************************************************************!*\ 21830 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js ***! 21831 \**********************************************************************/ 21832/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21833 21834__webpack_require__.r(__webpack_exports__); 21835/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21836/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21837/* harmony export */ scheme: () => (/* binding */ scheme) 21838/* harmony export */ }); 21839/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21840/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21841 21842 21843 21844var scheme = new Array(3).concat( 21845 "e7e1efc994c7dd1c77", 21846 "f1eef6d7b5d8df65b0ce1256", 21847 "f1eef6d7b5d8df65b0dd1c77980043", 21848 "f1eef6d4b9dac994c7df65b0dd1c77980043", 21849 "f1eef6d4b9dac994c7df65b0e7298ace125691003f", 21850 "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f", 21851 "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f" 21852).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21853 21854/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21855 21856 21857/***/ }), 21858
vendor: 1,500 bytes, lines 21859-21889
21859/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js": 21860/*!**********************************************************************!*\ 21861 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js ***! 21862 \**********************************************************************/ 21863/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21864 21865__webpack_require__.r(__webpack_exports__); 21866/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21867/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21868/* harmony export */ scheme: () => (/* binding */ scheme) 21869/* harmony export */ }); 21870/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21871/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21872 21873 21874 21875var scheme = new Array(3).concat( 21876 "fde0ddfa9fb5c51b8a", 21877 "feebe2fbb4b9f768a1ae017e", 21878 "feebe2fbb4b9f768a1c51b8a7a0177", 21879 "feebe2fcc5c0fa9fb5f768a1c51b8a7a0177", 21880 "feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177", 21881 "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177", 21882 "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a" 21883).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21884 21885/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21886 21887 21888/***/ }), 21889
vendor: 1,500 bytes, lines 21890-21920
21890/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js": 21891/*!**********************************************************************!*\ 21892 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js ***! 21893 \**********************************************************************/ 21894/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21895 21896__webpack_require__.r(__webpack_exports__); 21897/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21898/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21899/* harmony export */ scheme: () => (/* binding */ scheme) 21900/* harmony export */ }); 21901/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21902/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21903 21904 21905 21906var scheme = new Array(3).concat( 21907 "f7fcb9addd8e31a354", 21908 "ffffccc2e69978c679238443", 21909 "ffffccc2e69978c67931a354006837", 21910 "ffffccd9f0a3addd8e78c67931a354006837", 21911 "ffffccd9f0a3addd8e78c67941ab5d238443005a32", 21912 "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32", 21913 "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529" 21914).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21915 21916/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21917 21918 21919/***/ }), 21920
vendor: 1,508 bytes, lines 21921-21951
21921/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js": 21922/*!************************************************************************!*\ 21923 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js ***! 21924 \************************************************************************/ 21925/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21926 21927__webpack_require__.r(__webpack_exports__); 21928/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21929/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21930/* harmony export */ scheme: () => (/* binding */ scheme) 21931/* harmony export */ }); 21932/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21933/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21934 21935 21936 21937var scheme = new Array(3).concat( 21938 "edf8b17fcdbb2c7fb8", 21939 "ffffcca1dab441b6c4225ea8", 21940 "ffffcca1dab441b6c42c7fb8253494", 21941 "ffffccc7e9b47fcdbb41b6c42c7fb8253494", 21942 "ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84", 21943 "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84", 21944 "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58" 21945).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21946 21947/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21948 21949 21950/***/ }), 21951
vendor: 1,508 bytes, lines 21952-21982
21952/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js": 21953/*!************************************************************************!*\ 21954 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js ***! 21955 \************************************************************************/ 21956/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21957 21958__webpack_require__.r(__webpack_exports__); 21959/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21960/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21961/* harmony export */ scheme: () => (/* binding */ scheme) 21962/* harmony export */ }); 21963/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21964/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21965 21966 21967 21968var scheme = new Array(3).concat( 21969 "fff7bcfec44fd95f0e", 21970 "ffffd4fed98efe9929cc4c02", 21971 "ffffd4fed98efe9929d95f0e993404", 21972 "ffffd4fee391fec44ffe9929d95f0e993404", 21973 "ffffd4fee391fec44ffe9929ec7014cc4c028c2d04", 21974 "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04", 21975 "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506" 21976).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 21977 21978/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 21979 21980 21981/***/ }), 21982
vendor: 1,508 bytes, lines 21983-22013
21983/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js": 21984/*!************************************************************************!*\ 21985 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js ***! 21986 \************************************************************************/ 21987/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 21988 21989__webpack_require__.r(__webpack_exports__); 21990/* harmony export */ __webpack_require__.d(__webpack_exports__, { 21991/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 21992/* harmony export */ scheme: () => (/* binding */ scheme) 21993/* harmony export */ }); 21994/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 21995/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 21996 21997 21998 21999var scheme = new Array(3).concat( 22000 "ffeda0feb24cf03b20", 22001 "ffffb2fecc5cfd8d3ce31a1c", 22002 "ffffb2fecc5cfd8d3cf03b20bd0026", 22003 "ffffb2fed976feb24cfd8d3cf03b20bd0026", 22004 "ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026", 22005 "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026", 22006 "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026" 22007).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 22008 22009/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 22010 22011 22012/***/ }), 22013
vendor: 1,185 bytes, lines 22014-22035
22014/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js": 22015/*!*************************************************************************!*\ 22016 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js ***! 22017 \*************************************************************************/ 22018/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22019 22020__webpack_require__.r(__webpack_exports__); 22021/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22022/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 22023/* harmony export */ }); 22024/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(t) { 22025 t = Math.max(0, Math.min(1, t)); 22026 return "rgb(" 22027 + Math.max(0, Math.min(255, Math.round(-4.54 - t * (35.34 - t * (2381.73 - t * (6402.7 - t * (7024.72 - t * 2710.57))))))) + ", " 22028 + Math.max(0, Math.min(255, Math.round(32.49 + t * (170.73 + t * (52.82 - t * (131.46 - t * (176.58 - t * 67.37))))))) + ", " 22029 + Math.max(0, Math.min(255, Math.round(81.24 + t * (442.36 - t * (2482.43 - t * (6167.24 - t * (6614.94 - t * 2475.67))))))) 22030 + ")"; 22031} 22032 22033 22034/***/ }), 22035
vendor: 1,210 bytes, lines 22036-22055
22036/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js": 22037/*!***************************************************************************!*\ 22038 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js ***! 22039 \***************************************************************************/ 22040/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22041 22042__webpack_require__.r(__webpack_exports__); 22043/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22044/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 22045/* harmony export */ }); 22046/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/cubehelix.js"); 22047/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/cubehelix.js"); 22048 22049 22050 22051/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(300, 0.5, 0.0), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(-240, 0.5, 1.0))); 22052 22053 22054/***/ }), 22055
vendor: 1,805 bytes, lines 22056-22090
22056/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js": 22057/*!*************************************************************************!*\ 22058 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js ***! 22059 \*************************************************************************/ 22060/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22061 22062__webpack_require__.r(__webpack_exports__); 22063/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22064/* harmony export */ cool: () => (/* binding */ cool), 22065/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 22066/* harmony export */ warm: () => (/* binding */ warm) 22067/* harmony export */ }); 22068/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/cubehelix.js"); 22069/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/cubehelix.js"); 22070 22071 22072 22073var warm = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(-100, 0.75, 0.35), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(80, 1.50, 0.8)); 22074 22075var cool = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(260, 0.75, 0.35), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(80, 1.50, 0.8)); 22076 22077var c = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(); 22078 22079/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(t) { 22080 if (t < 0 || t > 1) t -= Math.floor(t); 22081 var ts = Math.abs(t - 0.5); 22082 c.h = 360 * t - 100; 22083 c.s = 1.5 - 1.5 * ts; 22084 c.l = 0.8 - 0.9 * ts; 22085 return c + ""; 22086} 22087 22088 22089/***/ }), 22090
vendor: 1,162 bytes, lines 22091-22119
22091/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js": 22092/*!*************************************************************************!*\ 22093 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js ***! 22094 \*************************************************************************/ 22095/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22096 22097__webpack_require__.r(__webpack_exports__); 22098/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22099/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 22100/* harmony export */ }); 22101/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/color.js"); 22102 22103 22104var c = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__.rgb)(), 22105 pi_1_3 = Math.PI / 3, 22106 pi_2_3 = Math.PI * 2 / 3; 22107 22108/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(t) { 22109 var x; 22110 t = (0.5 - t) * Math.PI; 22111 c.r = 255 * (x = Math.sin(t)) * x; 22112 c.g = 255 * (x = Math.sin(t + pi_1_3)) * x; 22113 c.b = 255 * (x = Math.sin(t + pi_2_3)) * x; 22114 return c + ""; 22115} 22116 22117 22118/***/ }), 22119
vendor: 1,188 bytes, lines 22120-22141
22120/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js": 22121/*!***********************************************************************!*\ 22122 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js ***! 22123 \***********************************************************************/ 22124/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22125 22126__webpack_require__.r(__webpack_exports__); 22127/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22128/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 22129/* harmony export */ }); 22130/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(t) { 22131 t = Math.max(0, Math.min(1, t)); 22132 return "rgb(" 22133 + Math.max(0, Math.min(255, Math.round(34.61 + t * (1172.33 - t * (10793.56 - t * (33300.12 - t * (38394.49 - t * 14825.05))))))) + ", " 22134 + Math.max(0, Math.min(255, Math.round(23.31 + t * (557.33 + t * (1225.33 - t * (3574.96 - t * (1073.77 + t * 707.56))))))) + ", " 22135 + Math.max(0, Math.min(255, Math.round(27.2 + t * (3211.1 - t * (15327.97 - t * (27814 - t * (22569.18 - t * 6838.66))))))) 22136 + ")"; 22137} 22138 22139 22140/***/ }), 22141
vendor: 7,626 bytes, lines 22142-22175
22142/***/ "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js": 22143/*!*************************************************************************!*\ 22144 !*** ./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js ***! 22145 \*************************************************************************/ 22146/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22147 22148__webpack_require__.r(__webpack_exports__); 22149/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22150/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 22151/* harmony export */ inferno: () => (/* binding */ inferno), 22152/* harmony export */ magma: () => (/* binding */ magma), 22153/* harmony export */ plasma: () => (/* binding */ plasma) 22154/* harmony export */ }); 22155/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 22156 22157 22158function ramp(range) { 22159 var n = range.length; 22160 return function(t) { 22161 return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))]; 22162 }; 22163} 22164 22165/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ramp((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"))); 22166 22167var magma = ramp((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")); 22168 22169var inferno = ramp((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")); 22170 22171var plasma = ramp((0,_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"])("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")); 22172 22173 22174/***/ }), 22175
vendor: 1,508 bytes, lines 22176-22206
22176/***/ "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js": 22177/*!************************************************************************!*\ 22178 !*** ./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js ***! 22179 \************************************************************************/ 22180/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22181 22182__webpack_require__.r(__webpack_exports__); 22183/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22184/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 22185/* harmony export */ scheme: () => (/* binding */ scheme) 22186/* harmony export */ }); 22187/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 22188/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 22189 22190 22191 22192var scheme = new Array(3).concat( 22193 "deebf79ecae13182bd", 22194 "eff3ffbdd7e76baed62171b5", 22195 "eff3ffbdd7e76baed63182bd08519c", 22196 "eff3ffc6dbef9ecae16baed63182bd08519c", 22197 "eff3ffc6dbef9ecae16baed64292c62171b5084594", 22198 "f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594", 22199 "f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b" 22200).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 22201 22202/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 22203 22204 22205/***/ }), 22206
vendor: 1,512 bytes, lines 22207-22237
22207/***/ "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js": 22208/*!*************************************************************************!*\ 22209 !*** ./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js ***! 22210 \*************************************************************************/ 22211/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22212 22213__webpack_require__.r(__webpack_exports__); 22214/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22215/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 22216/* harmony export */ scheme: () => (/* binding */ scheme) 22217/* harmony export */ }); 22218/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 22219/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 22220 22221 22222 22223var scheme = new Array(3).concat( 22224 "e5f5e0a1d99b31a354", 22225 "edf8e9bae4b374c476238b45", 22226 "edf8e9bae4b374c47631a354006d2c", 22227 "edf8e9c7e9c0a1d99b74c47631a354006d2c", 22228 "edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32", 22229 "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32", 22230 "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b" 22231).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 22232 22233/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 22234 22235 22236/***/ }), 22237
vendor: 1,508 bytes, lines 22238-22268
22238/***/ "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js": 22239/*!************************************************************************!*\ 22240 !*** ./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js ***! 22241 \************************************************************************/ 22242/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22243 22244__webpack_require__.r(__webpack_exports__); 22245/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22246/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 22247/* harmony export */ scheme: () => (/* binding */ scheme) 22248/* harmony export */ }); 22249/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 22250/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 22251 22252 22253 22254var scheme = new Array(3).concat( 22255 "f0f0f0bdbdbd636363", 22256 "f7f7f7cccccc969696525252", 22257 "f7f7f7cccccc969696636363252525", 22258 "f7f7f7d9d9d9bdbdbd969696636363252525", 22259 "f7f7f7d9d9d9bdbdbd969696737373525252252525", 22260 "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525", 22261 "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000" 22262).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 22263 22264/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 22265 22266 22267/***/ }), 22268
vendor: 1,516 bytes, lines 22269-22299
22269/***/ "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js": 22270/*!**************************************************************************!*\ 22271 !*** ./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js ***! 22272 \**************************************************************************/ 22273/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22274 22275__webpack_require__.r(__webpack_exports__); 22276/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22277/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 22278/* harmony export */ scheme: () => (/* binding */ scheme) 22279/* harmony export */ }); 22280/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 22281/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 22282 22283 22284 22285var scheme = new Array(3).concat( 22286 "fee6cefdae6be6550d", 22287 "feeddefdbe85fd8d3cd94701", 22288 "feeddefdbe85fd8d3ce6550da63603", 22289 "feeddefdd0a2fdae6bfd8d3ce6550da63603", 22290 "feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04", 22291 "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04", 22292 "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704" 22293).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 22294 22295/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 22296 22297 22298/***/ }), 22299
vendor: 1,516 bytes, lines 22300-22330
22300/***/ "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js": 22301/*!**************************************************************************!*\ 22302 !*** ./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js ***! 22303 \**************************************************************************/ 22304/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22305 22306__webpack_require__.r(__webpack_exports__); 22307/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22308/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 22309/* harmony export */ scheme: () => (/* binding */ scheme) 22310/* harmony export */ }); 22311/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 22312/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 22313 22314 22315 22316var scheme = new Array(3).concat( 22317 "efedf5bcbddc756bb1", 22318 "f2f0f7cbc9e29e9ac86a51a3", 22319 "f2f0f7cbc9e29e9ac8756bb154278f", 22320 "f2f0f7dadaebbcbddc9e9ac8756bb154278f", 22321 "f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486", 22322 "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486", 22323 "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d" 22324).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 22325 22326/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 22327 22328 22329/***/ }), 22330
vendor: 1,504 bytes, lines 22331-22361
22331/***/ "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js": 22332/*!***********************************************************************!*\ 22333 !*** ./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js ***! 22334 \***********************************************************************/ 22335/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22336 22337__webpack_require__.r(__webpack_exports__); 22338/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22339/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 22340/* harmony export */ scheme: () => (/* binding */ scheme) 22341/* harmony export */ }); 22342/* harmony import */ var _colors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../colors.js */ "./node_modules/d3-scale-chromatic/src/colors.js"); 22343/* harmony import */ var _ramp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ramp.js */ "./node_modules/d3-scale-chromatic/src/ramp.js"); 22344 22345 22346 22347var scheme = new Array(3).concat( 22348 "fee0d2fc9272de2d26", 22349 "fee5d9fcae91fb6a4acb181d", 22350 "fee5d9fcae91fb6a4ade2d26a50f15", 22351 "fee5d9fcbba1fc9272fb6a4ade2d26a50f15", 22352 "fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d", 22353 "fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d", 22354 "fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d" 22355).map(_colors_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 22356 22357/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_ramp_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme)); 22358 22359 22360/***/ }), 22361
vendor: 3,634 bytes, lines 22362-22480
22362/***/ "./node_modules/d3-scale/src/band.js": 22363/*!*******************************************!*\ 22364 !*** ./node_modules/d3-scale/src/band.js ***! 22365 \*******************************************/ 22366/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22367 22368__webpack_require__.r(__webpack_exports__); 22369/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22370/* harmony export */ "default": () => (/* binding */ band), 22371/* harmony export */ point: () => (/* binding */ point) 22372/* harmony export */ }); 22373/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/range.js"); 22374/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 22375/* harmony import */ var _ordinal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ordinal.js */ "./node_modules/d3-scale/src/ordinal.js"); 22376 22377 22378 22379 22380function band() { 22381 var scale = (0,_ordinal_js__WEBPACK_IMPORTED_MODULE_0__["default"])().unknown(undefined), 22382 domain = scale.domain, 22383 ordinalRange = scale.range, 22384 r0 = 0, 22385 r1 = 1, 22386 step, 22387 bandwidth, 22388 round = false, 22389 paddingInner = 0, 22390 paddingOuter = 0, 22391 align = 0.5; 22392 22393 delete scale.unknown; 22394 22395 function rescale() { 22396 var n = domain().length, 22397 reverse = r1 < r0, 22398 start = reverse ? r1 : r0, 22399 stop = reverse ? r0 : r1; 22400 step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2); 22401 if (round) step = Math.floor(step); 22402 start += (stop - start - step * (n - paddingInner)) * align; 22403 bandwidth = step * (1 - paddingInner); 22404 if (round) start = Math.round(start), bandwidth = Math.round(bandwidth); 22405 var values = (0,d3_array__WEBPACK_IMPORTED_MODULE_1__["default"])(n).map(function(i) { return start + step * i; }); 22406 return ordinalRange(reverse ? values.reverse() : values); 22407 } 22408 22409 scale.domain = function(_) { 22410 return arguments.length ? (domain(_), rescale()) : domain(); 22411 }; 22412 22413 scale.range = function(_) { 22414 return arguments.length ? ([r0, r1] = _, r0 = +r0, r1 = +r1, rescale()) : [r0, r1]; 22415 }; 22416 22417 scale.rangeRound = function(_) { 22418 return [r0, r1] = _, r0 = +r0, r1 = +r1, round = true, rescale(); 22419 }; 22420 22421 scale.bandwidth = function() { 22422 return bandwidth; 22423 }; 22424 22425 scale.step = function() { 22426 return step; 22427 }; 22428 22429 scale.round = function(_) { 22430 return arguments.length ? (round = !!_, rescale()) : round; 22431 }; 22432 22433 scale.padding = function(_) { 22434 return arguments.length ? (paddingInner = Math.min(1, paddingOuter = +_), rescale()) : paddingInner; 22435 }; 22436 22437 scale.paddingInner = function(_) { 22438 return arguments.length ? (paddingInner = Math.min(1, _), rescale()) : paddingInner; 22439 }; 22440 22441 scale.paddingOuter = function(_) { 22442 return arguments.length ? (paddingOuter = +_, rescale()) : paddingOuter; 22443 }; 22444 22445 scale.align = function(_) { 22446 return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align; 22447 }; 22448 22449 scale.copy = function() { 22450 return band(domain(), [r0, r1]) 22451 .round(round) 22452 .paddingInner(paddingInner) 22453 .paddingOuter(paddingOuter) 22454 .align(align); 22455 }; 22456 22457 return _init_js__WEBPACK_IMPORTED_MODULE_2__.initRange.apply(rescale(), arguments); 22458} 22459 22460function pointish(scale) { 22461 var copy = scale.copy; 22462 22463 scale.padding = scale.paddingOuter; 22464 delete scale.paddingInner; 22465 delete scale.paddingOuter; 22466 22467 scale.copy = function() { 22468 return pointish(copy()); 22469 }; 22470 22471 return scale; 22472} 22473 22474function point() { 22475 return pointish(band.apply(null, arguments).paddingInner(1)); 22476} 22477 22478 22479/***/ }), 22480
vendor: 581 bytes, lines 22481-22499
22481/***/ "./node_modules/d3-scale/src/constant.js": 22482/*!***********************************************!*\ 22483 !*** ./node_modules/d3-scale/src/constant.js ***! 22484 \***********************************************/ 22485/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22486 22487__webpack_require__.r(__webpack_exports__); 22488/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22489/* harmony export */ "default": () => (/* binding */ constants) 22490/* harmony export */ }); 22491function constants(x) { 22492 return function() { 22493 return x; 22494 }; 22495} 22496 22497 22498/***/ }), 22499
vendor: 5,124 bytes, lines 22500-22647
22500/***/ "./node_modules/d3-scale/src/continuous.js": 22501/*!*************************************************!*\ 22502 !*** ./node_modules/d3-scale/src/continuous.js ***! 22503 \*************************************************/ 22504/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22505 22506__webpack_require__.r(__webpack_exports__); 22507/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22508/* harmony export */ copy: () => (/* binding */ copy), 22509/* harmony export */ "default": () => (/* binding */ continuous), 22510/* harmony export */ identity: () => (/* binding */ identity), 22511/* harmony export */ transformer: () => (/* binding */ transformer) 22512/* harmony export */ }); 22513/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/bisect.js"); 22514/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/value.js"); 22515/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/number.js"); 22516/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/round.js"); 22517/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-scale/src/constant.js"); 22518/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./number.js */ "./node_modules/d3-scale/src/number.js"); 22519 22520 22521 22522 22523 22524var unit = [0, 1]; 22525 22526function identity(x) { 22527 return x; 22528} 22529 22530function normalize(a, b) { 22531 return (b -= (a = +a)) 22532 ? function(x) { return (x - a) / b; } 22533 : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(b) ? NaN : 0.5); 22534} 22535 22536function clamper(a, b) { 22537 var t; 22538 if (a > b) t = a, a = b, b = t; 22539 return function(x) { return Math.max(a, Math.min(b, x)); }; 22540} 22541 22542// normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1]. 22543// interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b]. 22544function bimap(domain, range, interpolate) { 22545 var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1]; 22546 if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0); 22547 else d0 = normalize(d0, d1), r0 = interpolate(r0, r1); 22548 return function(x) { return r0(d0(x)); }; 22549} 22550 22551function polymap(domain, range, interpolate) { 22552 var j = Math.min(domain.length, range.length) - 1, 22553 d = new Array(j), 22554 r = new Array(j), 22555 i = -1; 22556 22557 // Reverse descending domains. 22558 if (domain[j] < domain[0]) { 22559 domain = domain.slice().reverse(); 22560 range = range.slice().reverse(); 22561 } 22562 22563 while (++i < j) { 22564 d[i] = normalize(domain[i], domain[i + 1]); 22565 r[i] = interpolate(range[i], range[i + 1]); 22566 } 22567 22568 return function(x) { 22569 var i = (0,d3_array__WEBPACK_IMPORTED_MODULE_1__["default"])(domain, x, 1, j) - 1; 22570 return r[i](d[i](x)); 22571 }; 22572} 22573 22574function copy(source, target) { 22575 return target 22576 .domain(source.domain()) 22577 .range(source.range()) 22578 .interpolate(source.interpolate()) 22579 .clamp(source.clamp()) 22580 .unknown(source.unknown()); 22581} 22582 22583function transformer() { 22584 var domain = unit, 22585 range = unit, 22586 interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"], 22587 transform, 22588 untransform, 22589 unknown, 22590 clamp = identity, 22591 piecewise, 22592 output, 22593 input; 22594 22595 function rescale() { 22596 var n = Math.min(domain.length, range.length); 22597 if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]); 22598 piecewise = n > 2 ? polymap : bimap; 22599 output = input = null; 22600 return scale; 22601 } 22602 22603 function scale(x) { 22604 return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x))); 22605 } 22606 22607 scale.invert = function(y) { 22608 return clamp(untransform((input || (input = piecewise(range, domain.map(transform), d3_interpolate__WEBPACK_IMPORTED_MODULE_3__["default"])))(y))); 22609 }; 22610 22611 scale.domain = function(_) { 22612 return arguments.length ? (domain = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_4__["default"]), rescale()) : domain.slice(); 22613 }; 22614 22615 scale.range = function(_) { 22616 return arguments.length ? (range = Array.from(_), rescale()) : range.slice(); 22617 }; 22618 22619 scale.rangeRound = function(_) { 22620 return range = Array.from(_), interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_5__["default"], rescale(); 22621 }; 22622 22623 scale.clamp = function(_) { 22624 return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity; 22625 }; 22626 22627 scale.interpolate = function(_) { 22628 return arguments.length ? (interpolate = _, rescale()) : interpolate; 22629 }; 22630 22631 scale.unknown = function(_) { 22632 return arguments.length ? (unknown = _, scale) : unknown; 22633 }; 22634 22635 return function(t, u) { 22636 transform = t, untransform = u; 22637 return rescale(); 22638 }; 22639} 22640 22641function continuous() { 22642 return transformer()(identity, identity); 22643} 22644 22645 22646/***/ }), 22647
vendor: 5,601 bytes, lines 22648-22779
22648/***/ "./node_modules/d3-scale/src/diverging.js": 22649/*!************************************************!*\ 22650 !*** ./node_modules/d3-scale/src/diverging.js ***! 22651 \************************************************/ 22652/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22653 22654__webpack_require__.r(__webpack_exports__); 22655/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22656/* harmony export */ "default": () => (/* binding */ diverging), 22657/* harmony export */ divergingLog: () => (/* binding */ divergingLog), 22658/* harmony export */ divergingPow: () => (/* binding */ divergingPow), 22659/* harmony export */ divergingSqrt: () => (/* binding */ divergingSqrt), 22660/* harmony export */ divergingSymlog: () => (/* binding */ divergingSymlog) 22661/* harmony export */ }); 22662/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/piecewise.js"); 22663/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/value.js"); 22664/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/round.js"); 22665/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 22666/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 22667/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-scale/src/linear.js"); 22668/* harmony import */ var _log_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./log.js */ "./node_modules/d3-scale/src/log.js"); 22669/* harmony import */ var _sequential_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./sequential.js */ "./node_modules/d3-scale/src/sequential.js"); 22670/* harmony import */ var _symlog_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./symlog.js */ "./node_modules/d3-scale/src/symlog.js"); 22671/* harmony import */ var _pow_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./pow.js */ "./node_modules/d3-scale/src/pow.js"); 22672 22673 22674 22675 22676 22677 22678 22679 22680 22681function transformer() { 22682 var x0 = 0, 22683 x1 = 0.5, 22684 x2 = 1, 22685 s = 1, 22686 t0, 22687 t1, 22688 t2, 22689 k10, 22690 k21, 22691 interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity, 22692 transform, 22693 clamp = false, 22694 unknown; 22695 22696 function scale(x) { 22697 return isNaN(x = +x) ? unknown : (x = 0.5 + ((x = +transform(x)) - t1) * (s * x < s * t1 ? k10 : k21), interpolator(clamp ? Math.max(0, Math.min(1, x)) : x)); 22698 } 22699 22700 scale.domain = function(_) { 22701 return arguments.length ? ([x0, x1, x2] = _, t0 = transform(x0 = +x0), t1 = transform(x1 = +x1), t2 = transform(x2 = +x2), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1), s = t1 < t0 ? -1 : 1, scale) : [x0, x1, x2]; 22702 }; 22703 22704 scale.clamp = function(_) { 22705 return arguments.length ? (clamp = !!_, scale) : clamp; 22706 }; 22707 22708 scale.interpolator = function(_) { 22709 return arguments.length ? (interpolator = _, scale) : interpolator; 22710 }; 22711 22712 function range(interpolate) { 22713 return function(_) { 22714 var r0, r1, r2; 22715 return arguments.length ? ([r0, r1, r2] = _, interpolator = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["default"])(interpolate, [r0, r1, r2]), scale) : [interpolator(0), interpolator(0.5), interpolator(1)]; 22716 }; 22717 } 22718 22719 scale.range = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"]); 22720 22721 scale.rangeRound = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_3__["default"]); 22722 22723 scale.unknown = function(_) { 22724 return arguments.length ? (unknown = _, scale) : unknown; 22725 }; 22726 22727 return function(t) { 22728 transform = t, t0 = t(x0), t1 = t(x1), t2 = t(x2), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1), s = t1 < t0 ? -1 : 1; 22729 return scale; 22730 }; 22731} 22732 22733function diverging() { 22734 var scale = (0,_linear_js__WEBPACK_IMPORTED_MODULE_4__.linearish)(transformer()(_continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity)); 22735 22736 scale.copy = function() { 22737 return (0,_sequential_js__WEBPACK_IMPORTED_MODULE_5__.copy)(scale, diverging()); 22738 }; 22739 22740 return _init_js__WEBPACK_IMPORTED_MODULE_6__.initInterpolator.apply(scale, arguments); 22741} 22742 22743function divergingLog() { 22744 var scale = (0,_log_js__WEBPACK_IMPORTED_MODULE_7__.loggish)(transformer()).domain([0.1, 1, 10]); 22745 22746 scale.copy = function() { 22747 return (0,_sequential_js__WEBPACK_IMPORTED_MODULE_5__.copy)(scale, divergingLog()).base(scale.base()); 22748 }; 22749 22750 return _init_js__WEBPACK_IMPORTED_MODULE_6__.initInterpolator.apply(scale, arguments); 22751} 22752 22753function divergingSymlog() { 22754 var scale = (0,_symlog_js__WEBPACK_IMPORTED_MODULE_8__.symlogish)(transformer()); 22755 22756 scale.copy = function() { 22757 return (0,_sequential_js__WEBPACK_IMPORTED_MODULE_5__.copy)(scale, divergingSymlog()).constant(scale.constant()); 22758 }; 22759 22760 return _init_js__WEBPACK_IMPORTED_MODULE_6__.initInterpolator.apply(scale, arguments); 22761} 22762 22763function divergingPow() { 22764 var scale = (0,_pow_js__WEBPACK_IMPORTED_MODULE_9__.powish)(transformer()); 22765 22766 scale.copy = function() { 22767 return (0,_sequential_js__WEBPACK_IMPORTED_MODULE_5__.copy)(scale, divergingPow()).exponent(scale.exponent()); 22768 }; 22769 22770 return _init_js__WEBPACK_IMPORTED_MODULE_6__.initInterpolator.apply(scale, arguments); 22771} 22772 22773function divergingSqrt() { 22774 return divergingPow.apply(null, arguments).exponent(0.5); 22775} 22776 22777 22778/***/ }), 22779
vendor: 1,509 bytes, lines 22780-22823
22780/***/ "./node_modules/d3-scale/src/identity.js": 22781/*!***********************************************!*\ 22782 !*** ./node_modules/d3-scale/src/identity.js ***! 22783 \***********************************************/ 22784/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22785 22786__webpack_require__.r(__webpack_exports__); 22787/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22788/* harmony export */ "default": () => (/* binding */ identity) 22789/* harmony export */ }); 22790/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-scale/src/linear.js"); 22791/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./number.js */ "./node_modules/d3-scale/src/number.js"); 22792 22793 22794 22795function identity(domain) { 22796 var unknown; 22797 22798 function scale(x) { 22799 return x == null || isNaN(x = +x) ? unknown : x; 22800 } 22801 22802 scale.invert = scale; 22803 22804 scale.domain = scale.range = function(_) { 22805 return arguments.length ? (domain = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_0__["default"]), scale) : domain.slice(); 22806 }; 22807 22808 scale.unknown = function(_) { 22809 return arguments.length ? (unknown = _, scale) : unknown; 22810 }; 22811 22812 scale.copy = function() { 22813 return identity(domain).unknown(unknown); 22814 }; 22815 22816 domain = arguments.length ? Array.from(domain, _number_js__WEBPACK_IMPORTED_MODULE_0__["default"]) : [0, 1]; 22817 22818 return (0,_linear_js__WEBPACK_IMPORTED_MODULE_1__.linearish)(scale); 22819} 22820 22821 22822/***/ }), 22823
vendor: 6,463 bytes, lines 22824-22914
22824/***/ "./node_modules/d3-scale/src/index.js": 22825/*!********************************************!*\ 22826 !*** ./node_modules/d3-scale/src/index.js ***! 22827 \********************************************/ 22828/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22829 22830__webpack_require__.r(__webpack_exports__); 22831/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22832/* harmony export */ scaleBand: () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 22833/* harmony export */ scaleDiverging: () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"]), 22834/* harmony export */ scaleDivergingLog: () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingLog), 22835/* harmony export */ scaleDivergingPow: () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingPow), 22836/* harmony export */ scaleDivergingSqrt: () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSqrt), 22837/* harmony export */ scaleDivergingSymlog: () => (/* reexport safe */ _diverging_js__WEBPACK_IMPORTED_MODULE_15__.divergingSymlog), 22838/* harmony export */ scaleIdentity: () => (/* reexport safe */ _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 22839/* harmony export */ scaleImplicit: () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__.implicit), 22840/* harmony export */ scaleLinear: () => (/* reexport safe */ _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 22841/* harmony export */ scaleLog: () => (/* reexport safe */ _log_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 22842/* harmony export */ scaleOrdinal: () => (/* reexport safe */ _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 22843/* harmony export */ scalePoint: () => (/* reexport safe */ _band_js__WEBPACK_IMPORTED_MODULE_0__.point), 22844/* harmony export */ scalePow: () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 22845/* harmony export */ scaleQuantile: () => (/* reexport safe */ _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 22846/* harmony export */ scaleQuantize: () => (/* reexport safe */ _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 22847/* harmony export */ scaleRadial: () => (/* reexport safe */ _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"]), 22848/* harmony export */ scaleSequential: () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"]), 22849/* harmony export */ scaleSequentialLog: () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialLog), 22850/* harmony export */ scaleSequentialPow: () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialPow), 22851/* harmony export */ scaleSequentialQuantile: () => (/* reexport safe */ _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"]), 22852/* harmony export */ scaleSequentialSqrt: () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSqrt), 22853/* harmony export */ scaleSequentialSymlog: () => (/* reexport safe */ _sequential_js__WEBPACK_IMPORTED_MODULE_13__.sequentialSymlog), 22854/* harmony export */ scaleSqrt: () => (/* reexport safe */ _pow_js__WEBPACK_IMPORTED_MODULE_6__.sqrt), 22855/* harmony export */ scaleSymlog: () => (/* reexport safe */ _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 22856/* harmony export */ scaleThreshold: () => (/* reexport safe */ _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"]), 22857/* harmony export */ scaleTime: () => (/* reexport safe */ _time_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 22858/* harmony export */ scaleUtc: () => (/* reexport safe */ _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"]), 22859/* harmony export */ tickFormat: () => (/* reexport safe */ _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"]) 22860/* harmony export */ }); 22861/* harmony import */ var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./band.js */ "./node_modules/d3-scale/src/band.js"); 22862/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./identity.js */ "./node_modules/d3-scale/src/identity.js"); 22863/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-scale/src/linear.js"); 22864/* harmony import */ var _log_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./log.js */ "./node_modules/d3-scale/src/log.js"); 22865/* harmony import */ var _symlog_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./symlog.js */ "./node_modules/d3-scale/src/symlog.js"); 22866/* harmony import */ var _ordinal_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ordinal.js */ "./node_modules/d3-scale/src/ordinal.js"); 22867/* harmony import */ var _pow_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./pow.js */ "./node_modules/d3-scale/src/pow.js"); 22868/* harmony import */ var _radial_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./radial.js */ "./node_modules/d3-scale/src/radial.js"); 22869/* harmony import */ var _quantile_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./quantile.js */ "./node_modules/d3-scale/src/quantile.js"); 22870/* harmony import */ var _quantize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./quantize.js */ "./node_modules/d3-scale/src/quantize.js"); 22871/* harmony import */ var _threshold_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./threshold.js */ "./node_modules/d3-scale/src/threshold.js"); 22872/* harmony import */ var _time_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./time.js */ "./node_modules/d3-scale/src/time.js"); 22873/* harmony import */ var _utcTime_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utcTime.js */ "./node_modules/d3-scale/src/utcTime.js"); 22874/* harmony import */ var _sequential_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./sequential.js */ "./node_modules/d3-scale/src/sequential.js"); 22875/* harmony import */ var _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./sequentialQuantile.js */ "./node_modules/d3-scale/src/sequentialQuantile.js"); 22876/* harmony import */ var _diverging_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./diverging.js */ "./node_modules/d3-scale/src/diverging.js"); 22877/* harmony import */ var _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./tickFormat.js */ "./node_modules/d3-scale/src/tickFormat.js"); 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 22889 22890 22891 22892 22893 22894 22895 22896 22897 22898 22899 22900 22901 22902 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 22913/***/ }), 22914
vendor: 1,207 bytes, lines 22915-22955
22915/***/ "./node_modules/d3-scale/src/init.js": 22916/*!*******************************************!*\ 22917 !*** ./node_modules/d3-scale/src/init.js ***! 22918 \*******************************************/ 22919/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22920 22921__webpack_require__.r(__webpack_exports__); 22922/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22923/* harmony export */ initInterpolator: () => (/* binding */ initInterpolator), 22924/* harmony export */ initRange: () => (/* binding */ initRange) 22925/* harmony export */ }); 22926function initRange(domain, range) { 22927 switch (arguments.length) { 22928 case 0: break; 22929 case 1: this.range(domain); break; 22930 default: this.range(range).domain(domain); break; 22931 } 22932 return this; 22933} 22934 22935function initInterpolator(domain, interpolator) { 22936 switch (arguments.length) { 22937 case 0: break; 22938 case 1: { 22939 if (typeof domain === "function") this.interpolator(domain); 22940 else this.range(domain); 22941 break; 22942 } 22943 default: { 22944 this.domain(domain); 22945 if (typeof interpolator === "function") this.interpolator(interpolator); 22946 else this.range(interpolator); 22947 break; 22948 } 22949 } 22950 return this; 22951} 22952 22953 22954/***/ }), 22955
vendor: 2,871 bytes, lines 22956-23044
22956/***/ "./node_modules/d3-scale/src/linear.js": 22957/*!*********************************************!*\ 22958 !*** ./node_modules/d3-scale/src/linear.js ***! 22959 \*********************************************/ 22960/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 22961 22962__webpack_require__.r(__webpack_exports__); 22963/* harmony export */ __webpack_require__.d(__webpack_exports__, { 22964/* harmony export */ "default": () => (/* binding */ linear), 22965/* harmony export */ linearish: () => (/* binding */ linearish) 22966/* harmony export */ }); 22967/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/ticks.js"); 22968/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 22969/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 22970/* harmony import */ var _tickFormat_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tickFormat.js */ "./node_modules/d3-scale/src/tickFormat.js"); 22971 22972 22973 22974 22975 22976function linearish(scale) { 22977 var domain = scale.domain; 22978 22979 scale.ticks = function(count) { 22980 var d = domain(); 22981 return (0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])(d[0], d[d.length - 1], count == null ? 10 : count); 22982 }; 22983 22984 scale.tickFormat = function(count, specifier) { 22985 var d = domain(); 22986 return (0,_tickFormat_js__WEBPACK_IMPORTED_MODULE_1__["default"])(d[0], d[d.length - 1], count == null ? 10 : count, specifier); 22987 }; 22988 22989 scale.nice = function(count) { 22990 if (count == null) count = 10; 22991 22992 var d = domain(); 22993 var i0 = 0; 22994 var i1 = d.length - 1; 22995 var start = d[i0]; 22996 var stop = d[i1]; 22997 var prestep; 22998 var step; 22999 var maxIter = 10; 23000 23001 if (stop < start) { 23002 step = start, start = stop, stop = step; 23003 step = i0, i0 = i1, i1 = step; 23004 } 23005 23006 while (maxIter-- > 0) { 23007 step = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__.tickIncrement)(start, stop, count); 23008 if (step === prestep) { 23009 d[i0] = start 23010 d[i1] = stop 23011 return domain(d); 23012 } else if (step > 0) { 23013 start = Math.floor(start / step) * step; 23014 stop = Math.ceil(stop / step) * step; 23015 } else if (step < 0) { 23016 start = Math.ceil(start * step) / step; 23017 stop = Math.floor(stop * step) / step; 23018 } else { 23019 break; 23020 } 23021 prestep = step; 23022 } 23023 23024 return scale; 23025 }; 23026 23027 return scale; 23028} 23029 23030function linear() { 23031 var scale = (0,_continuous_js__WEBPACK_IMPORTED_MODULE_2__["default"])(); 23032 23033 scale.copy = function() { 23034 return (0,_continuous_js__WEBPACK_IMPORTED_MODULE_2__.copy)(scale, linear()); 23035 }; 23036 23037 _init_js__WEBPACK_IMPORTED_MODULE_3__.initRange.apply(scale, arguments); 23038 23039 return linearish(scale); 23040} 23041 23042 23043/***/ }), 23044
vendor: 5,044 bytes, lines 23045-23205
23045/***/ "./node_modules/d3-scale/src/log.js": 23046/*!******************************************!*\ 23047 !*** ./node_modules/d3-scale/src/log.js ***! 23048 \******************************************/ 23049/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23050 23051__webpack_require__.r(__webpack_exports__); 23052/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23053/* harmony export */ "default": () => (/* binding */ log), 23054/* harmony export */ loggish: () => (/* binding */ loggish) 23055/* harmony export */ }); 23056/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/ticks.js"); 23057/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "./node_modules/d3-format/src/formatSpecifier.js"); 23058/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-format */ "./node_modules/d3-format/src/defaultLocale.js"); 23059/* harmony import */ var _nice_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nice.js */ "./node_modules/d3-scale/src/nice.js"); 23060/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 23061/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23062 23063 23064 23065 23066 23067 23068function transformLog(x) { 23069 return Math.log(x); 23070} 23071 23072function transformExp(x) { 23073 return Math.exp(x); 23074} 23075 23076function transformLogn(x) { 23077 return -Math.log(-x); 23078} 23079 23080function transformExpn(x) { 23081 return -Math.exp(-x); 23082} 23083 23084function pow10(x) { 23085 return isFinite(x) ? +("1e" + x) : x < 0 ? 0 : x; 23086} 23087 23088function powp(base) { 23089 return base === 10 ? pow10 23090 : base === Math.E ? Math.exp 23091 : x => Math.pow(base, x); 23092} 23093 23094function logp(base) { 23095 return base === Math.E ? Math.log 23096 : base === 10 && Math.log10 23097 || base === 2 && Math.log2 23098 || (base = Math.log(base), x => Math.log(x) / base); 23099} 23100 23101function reflect(f) { 23102 return (x, k) => -f(-x, k); 23103} 23104 23105function loggish(transform) { 23106 const scale = transform(transformLog, transformExp); 23107 const domain = scale.domain; 23108 let base = 10; 23109 let logs; 23110 let pows; 23111 23112 function rescale() { 23113 logs = logp(base), pows = powp(base); 23114 if (domain()[0] < 0) { 23115 logs = reflect(logs), pows = reflect(pows); 23116 transform(transformLogn, transformExpn); 23117 } else { 23118 transform(transformLog, transformExp); 23119 } 23120 return scale; 23121 } 23122 23123 scale.base = function(_) { 23124 return arguments.length ? (base = +_, rescale()) : base; 23125 }; 23126 23127 scale.domain = function(_) { 23128 return arguments.length ? (domain(_), rescale()) : domain(); 23129 }; 23130 23131 scale.ticks = count => { 23132 const d = domain(); 23133 let u = d[0]; 23134 let v = d[d.length - 1]; 23135 const r = v < u; 23136 23137 if (r) ([u, v] = [v, u]); 23138 23139 let i = logs(u); 23140 let j = logs(v); 23141 let k; 23142 let t; 23143 const n = count == null ? 10 : +count; 23144 let z = []; 23145 23146 if (!(base % 1) && j - i < n) { 23147 i = Math.floor(i), j = Math.ceil(j); 23148 if (u > 0) for (; i <= j; ++i) { 23149 for (k = 1; k < base; ++k) { 23150 t = i < 0 ? k / pows(-i) : k * pows(i); 23151 if (t < u) continue; 23152 if (t > v) break; 23153 z.push(t); 23154 } 23155 } else for (; i <= j; ++i) { 23156 for (k = base - 1; k >= 1; --k) { 23157 t = i > 0 ? k / pows(-i) : k * pows(i); 23158 if (t < u) continue; 23159 if (t > v) break; 23160 z.push(t); 23161 } 23162 } 23163 if (z.length * 2 < n) z = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])(u, v, n); 23164 } else { 23165 z = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])(i, j, Math.min(j - i, n)).map(pows); 23166 } 23167 return r ? z.reverse() : z; 23168 }; 23169 23170 scale.tickFormat = (count, specifier) => { 23171 if (count == null) count = 10; 23172 if (specifier == null) specifier = base === 10 ? "s" : ","; 23173 if (typeof specifier !== "function") { 23174 if (!(base % 1) && (specifier = (0,d3_format__WEBPACK_IMPORTED_MODULE_1__["default"])(specifier)).precision == null) specifier.trim = true; 23175 specifier = (0,d3_format__WEBPACK_IMPORTED_MODULE_2__.format)(specifier); 23176 } 23177 if (count === Infinity) return specifier; 23178 const k = Math.max(1, base * count / scale.ticks().length); // TODO fast estimate? 23179 return d => { 23180 let i = d / pows(Math.round(logs(d))); 23181 if (i * base < base - 0.5) i *= base; 23182 return i <= k ? specifier(d) : ""; 23183 }; 23184 }; 23185 23186 scale.nice = () => { 23187 return domain((0,_nice_js__WEBPACK_IMPORTED_MODULE_3__["default"])(domain(), { 23188 floor: x => pows(Math.floor(logs(x))), 23189 ceil: x => pows(Math.ceil(logs(x))) 23190 })); 23191 }; 23192 23193 return scale; 23194} 23195 23196function log() { 23197 const scale = loggish((0,_continuous_js__WEBPACK_IMPORTED_MODULE_4__.transformer)()).domain([1, 10]); 23198 scale.copy = () => (0,_continuous_js__WEBPACK_IMPORTED_MODULE_4__.copy)(scale, log()).base(scale.base()); 23199 _init_js__WEBPACK_IMPORTED_MODULE_5__.initRange.apply(scale, arguments); 23200 return scale; 23201} 23202 23203 23204/***/ }), 23205
vendor: 823 bytes, lines 23206-23237
23206/***/ "./node_modules/d3-scale/src/nice.js": 23207/*!*******************************************!*\ 23208 !*** ./node_modules/d3-scale/src/nice.js ***! 23209 \*******************************************/ 23210/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23211 23212__webpack_require__.r(__webpack_exports__); 23213/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23214/* harmony export */ "default": () => (/* binding */ nice) 23215/* harmony export */ }); 23216function nice(domain, interval) { 23217 domain = domain.slice(); 23218 23219 var i0 = 0, 23220 i1 = domain.length - 1, 23221 x0 = domain[i0], 23222 x1 = domain[i1], 23223 t; 23224 23225 if (x1 < x0) { 23226 t = i0, i0 = i1, i1 = t; 23227 t = x0, x0 = x1, x1 = t; 23228 } 23229 23230 domain[i0] = interval.floor(x0); 23231 domain[i1] = interval.ceil(x1); 23232 return domain; 23233} 23234 23235 23236/***/ }), 23237
vendor: 539 bytes, lines 23238-23254
23238/***/ "./node_modules/d3-scale/src/number.js": 23239/*!*********************************************!*\ 23240 !*** ./node_modules/d3-scale/src/number.js ***! 23241 \*********************************************/ 23242/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23243 23244__webpack_require__.r(__webpack_exports__); 23245/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23246/* harmony export */ "default": () => (/* binding */ number) 23247/* harmony export */ }); 23248function number(x) { 23249 return +x; 23250} 23251 23252 23253/***/ }), 23254
vendor: 1,967 bytes, lines 23255-23317
23255/***/ "./node_modules/d3-scale/src/ordinal.js": 23256/*!**********************************************!*\ 23257 !*** ./node_modules/d3-scale/src/ordinal.js ***! 23258 \**********************************************/ 23259/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23260 23261__webpack_require__.r(__webpack_exports__); 23262/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23263/* harmony export */ "default": () => (/* binding */ ordinal), 23264/* harmony export */ implicit: () => (/* binding */ implicit) 23265/* harmony export */ }); 23266/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/internmap/src/index.js"); 23267/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23268 23269 23270 23271const implicit = Symbol("implicit"); 23272 23273function ordinal() { 23274 var index = new d3_array__WEBPACK_IMPORTED_MODULE_0__.InternMap(), 23275 domain = [], 23276 range = [], 23277 unknown = implicit; 23278 23279 function scale(d) { 23280 let i = index.get(d); 23281 if (i === undefined) { 23282 if (unknown !== implicit) return unknown; 23283 index.set(d, i = domain.push(d) - 1); 23284 } 23285 return range[i % range.length]; 23286 } 23287 23288 scale.domain = function(_) { 23289 if (!arguments.length) return domain.slice(); 23290 domain = [], index = new d3_array__WEBPACK_IMPORTED_MODULE_0__.InternMap(); 23291 for (const value of _) { 23292 if (index.has(value)) continue; 23293 index.set(value, domain.push(value) - 1); 23294 } 23295 return scale; 23296 }; 23297 23298 scale.range = function(_) { 23299 return arguments.length ? (range = Array.from(_), scale) : range.slice(); 23300 }; 23301 23302 scale.unknown = function(_) { 23303 return arguments.length ? (unknown = _, scale) : unknown; 23304 }; 23305 23306 scale.copy = function() { 23307 return ordinal(domain, range).unknown(unknown); 23308 }; 23309 23310 _init_js__WEBPACK_IMPORTED_MODULE_1__.initRange.apply(scale, arguments); 23311 23312 return scale; 23313} 23314 23315 23316/***/ }), 23317
vendor: 2,430 bytes, lines 23318-23386
23318/***/ "./node_modules/d3-scale/src/pow.js": 23319/*!******************************************!*\ 23320 !*** ./node_modules/d3-scale/src/pow.js ***! 23321 \******************************************/ 23322/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23323 23324__webpack_require__.r(__webpack_exports__); 23325/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23326/* harmony export */ "default": () => (/* binding */ pow), 23327/* harmony export */ powish: () => (/* binding */ powish), 23328/* harmony export */ sqrt: () => (/* binding */ sqrt) 23329/* harmony export */ }); 23330/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-scale/src/linear.js"); 23331/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 23332/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23333 23334 23335 23336 23337function transformPow(exponent) { 23338 return function(x) { 23339 return x < 0 ? -Math.pow(-x, exponent) : Math.pow(x, exponent); 23340 }; 23341} 23342 23343function transformSqrt(x) { 23344 return x < 0 ? -Math.sqrt(-x) : Math.sqrt(x); 23345} 23346 23347function transformSquare(x) { 23348 return x < 0 ? -x * x : x * x; 23349} 23350 23351function powish(transform) { 23352 var scale = transform(_continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity, _continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity), 23353 exponent = 1; 23354 23355 function rescale() { 23356 return exponent === 1 ? transform(_continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity, _continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity) 23357 : exponent === 0.5 ? transform(transformSqrt, transformSquare) 23358 : transform(transformPow(exponent), transformPow(1 / exponent)); 23359 } 23360 23361 scale.exponent = function(_) { 23362 return arguments.length ? (exponent = +_, rescale()) : exponent; 23363 }; 23364 23365 return (0,_linear_js__WEBPACK_IMPORTED_MODULE_1__.linearish)(scale); 23366} 23367 23368function pow() { 23369 var scale = powish((0,_continuous_js__WEBPACK_IMPORTED_MODULE_0__.transformer)()); 23370 23371 scale.copy = function() { 23372 return (0,_continuous_js__WEBPACK_IMPORTED_MODULE_0__.copy)(scale, pow()).exponent(scale.exponent()); 23373 }; 23374 23375 _init_js__WEBPACK_IMPORTED_MODULE_2__.initRange.apply(scale, arguments); 23376 23377 return scale; 23378} 23379 23380function sqrt() { 23381 return pow.apply(null, arguments).exponent(0.5); 23382} 23383 23384 23385/***/ }), 23386
vendor: 2,578 bytes, lines 23387-23461
23387/***/ "./node_modules/d3-scale/src/quantile.js": 23388/*!***********************************************!*\ 23389 !*** ./node_modules/d3-scale/src/quantile.js ***! 23390 \***********************************************/ 23391/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23392 23393__webpack_require__.r(__webpack_exports__); 23394/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23395/* harmony export */ "default": () => (/* binding */ quantile) 23396/* harmony export */ }); 23397/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/quantile.js"); 23398/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/bisect.js"); 23399/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/ascending.js"); 23400/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23401 23402 23403 23404function quantile() { 23405 var domain = [], 23406 range = [], 23407 thresholds = [], 23408 unknown; 23409 23410 function rescale() { 23411 var i = 0, n = Math.max(1, range.length); 23412 thresholds = new Array(n - 1); 23413 while (++i < n) thresholds[i - 1] = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__.quantileSorted)(domain, i / n); 23414 return scale; 23415 } 23416 23417 function scale(x) { 23418 return x == null || isNaN(x = +x) ? unknown : range[(0,d3_array__WEBPACK_IMPORTED_MODULE_1__["default"])(thresholds, x)]; 23419 } 23420 23421 scale.invertExtent = function(y) { 23422 var i = range.indexOf(y); 23423 return i < 0 ? [NaN, NaN] : [ 23424 i > 0 ? thresholds[i - 1] : domain[0], 23425 i < thresholds.length ? thresholds[i] : domain[domain.length - 1] 23426 ]; 23427 }; 23428 23429 scale.domain = function(_) { 23430 if (!arguments.length) return domain.slice(); 23431 domain = []; 23432 for (let d of _) if (d != null && !isNaN(d = +d)) domain.push(d); 23433 domain.sort(d3_array__WEBPACK_IMPORTED_MODULE_2__["default"]); 23434 return rescale(); 23435 }; 23436 23437 scale.range = function(_) { 23438 return arguments.length ? (range = Array.from(_), rescale()) : range.slice(); 23439 }; 23440 23441 scale.unknown = function(_) { 23442 return arguments.length ? (unknown = _, scale) : unknown; 23443 }; 23444 23445 scale.quantiles = function() { 23446 return thresholds.slice(); 23447 }; 23448 23449 scale.copy = function() { 23450 return quantile() 23451 .domain(domain) 23452 .range(range) 23453 .unknown(unknown); 23454 }; 23455 23456 return _init_js__WEBPACK_IMPORTED_MODULE_3__.initRange.apply(scale, arguments); 23457} 23458 23459 23460/***/ }), 23461
vendor: 2,292 bytes, lines 23462-23534
23462/***/ "./node_modules/d3-scale/src/quantize.js": 23463/*!***********************************************!*\ 23464 !*** ./node_modules/d3-scale/src/quantize.js ***! 23465 \***********************************************/ 23466/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23467 23468__webpack_require__.r(__webpack_exports__); 23469/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23470/* harmony export */ "default": () => (/* binding */ quantize) 23471/* harmony export */ }); 23472/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/bisect.js"); 23473/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-scale/src/linear.js"); 23474/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23475 23476 23477 23478 23479function quantize() { 23480 var x0 = 0, 23481 x1 = 1, 23482 n = 1, 23483 domain = [0.5], 23484 range = [0, 1], 23485 unknown; 23486 23487 function scale(x) { 23488 return x != null && x <= x ? range[(0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])(domain, x, 0, n)] : unknown; 23489 } 23490 23491 function rescale() { 23492 var i = -1; 23493 domain = new Array(n); 23494 while (++i < n) domain[i] = ((i + 1) * x1 - (i - n) * x0) / (n + 1); 23495 return scale; 23496 } 23497 23498 scale.domain = function(_) { 23499 return arguments.length ? ([x0, x1] = _, x0 = +x0, x1 = +x1, rescale()) : [x0, x1]; 23500 }; 23501 23502 scale.range = function(_) { 23503 return arguments.length ? (n = (range = Array.from(_)).length - 1, rescale()) : range.slice(); 23504 }; 23505 23506 scale.invertExtent = function(y) { 23507 var i = range.indexOf(y); 23508 return i < 0 ? [NaN, NaN] 23509 : i < 1 ? [x0, domain[0]] 23510 : i >= n ? [domain[n - 1], x1] 23511 : [domain[i - 1], domain[i]]; 23512 }; 23513 23514 scale.unknown = function(_) { 23515 return arguments.length ? (unknown = _, scale) : scale; 23516 }; 23517 23518 scale.thresholds = function() { 23519 return domain.slice(); 23520 }; 23521 23522 scale.copy = function() { 23523 return quantize() 23524 .domain([x0, x1]) 23525 .range(range) 23526 .unknown(unknown); 23527 }; 23528 23529 return _init_js__WEBPACK_IMPORTED_MODULE_1__.initRange.apply((0,_linear_js__WEBPACK_IMPORTED_MODULE_2__.linearish)(scale), arguments); 23530} 23531 23532 23533/***/ }), 23534
vendor: 2,590 bytes, lines 23535-23615
23535/***/ "./node_modules/d3-scale/src/radial.js": 23536/*!*********************************************!*\ 23537 !*** ./node_modules/d3-scale/src/radial.js ***! 23538 \*********************************************/ 23539/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23540 23541__webpack_require__.r(__webpack_exports__); 23542/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23543/* harmony export */ "default": () => (/* binding */ radial) 23544/* harmony export */ }); 23545/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 23546/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23547/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-scale/src/linear.js"); 23548/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./number.js */ "./node_modules/d3-scale/src/number.js"); 23549 23550 23551 23552 23553 23554function square(x) { 23555 return Math.sign(x) * x * x; 23556} 23557 23558function unsquare(x) { 23559 return Math.sign(x) * Math.sqrt(Math.abs(x)); 23560} 23561 23562function radial() { 23563 var squared = (0,_continuous_js__WEBPACK_IMPORTED_MODULE_0__["default"])(), 23564 range = [0, 1], 23565 round = false, 23566 unknown; 23567 23568 function scale(x) { 23569 var y = unsquare(squared(x)); 23570 return isNaN(y) ? unknown : round ? Math.round(y) : y; 23571 } 23572 23573 scale.invert = function(y) { 23574 return squared.invert(square(y)); 23575 }; 23576 23577 scale.domain = function(_) { 23578 return arguments.length ? (squared.domain(_), scale) : squared.domain(); 23579 }; 23580 23581 scale.range = function(_) { 23582 return arguments.length ? (squared.range((range = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_1__["default"])).map(square)), scale) : range.slice(); 23583 }; 23584 23585 scale.rangeRound = function(_) { 23586 return scale.range(_).round(true); 23587 }; 23588 23589 scale.round = function(_) { 23590 return arguments.length ? (round = !!_, scale) : round; 23591 }; 23592 23593 scale.clamp = function(_) { 23594 return arguments.length ? (squared.clamp(_), scale) : squared.clamp(); 23595 }; 23596 23597 scale.unknown = function(_) { 23598 return arguments.length ? (unknown = _, scale) : unknown; 23599 }; 23600 23601 scale.copy = function() { 23602 return radial(squared.domain(), range) 23603 .round(round) 23604 .clamp(squared.clamp()) 23605 .unknown(unknown); 23606 }; 23607 23608 _init_js__WEBPACK_IMPORTED_MODULE_2__.initRange.apply(scale, arguments); 23609 23610 return (0,_linear_js__WEBPACK_IMPORTED_MODULE_3__.linearish)(scale); 23611} 23612 23613 23614/***/ }), 23615
vendor: 5,025 bytes, lines 23616-23749
23616/***/ "./node_modules/d3-scale/src/sequential.js": 23617/*!*************************************************!*\ 23618 !*** ./node_modules/d3-scale/src/sequential.js ***! 23619 \*************************************************/ 23620/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23621 23622__webpack_require__.r(__webpack_exports__); 23623/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23624/* harmony export */ copy: () => (/* binding */ copy), 23625/* harmony export */ "default": () => (/* binding */ sequential), 23626/* harmony export */ sequentialLog: () => (/* binding */ sequentialLog), 23627/* harmony export */ sequentialPow: () => (/* binding */ sequentialPow), 23628/* harmony export */ sequentialSqrt: () => (/* binding */ sequentialSqrt), 23629/* harmony export */ sequentialSymlog: () => (/* binding */ sequentialSymlog) 23630/* harmony export */ }); 23631/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/value.js"); 23632/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/round.js"); 23633/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 23634/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23635/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-scale/src/linear.js"); 23636/* harmony import */ var _log_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./log.js */ "./node_modules/d3-scale/src/log.js"); 23637/* harmony import */ var _symlog_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./symlog.js */ "./node_modules/d3-scale/src/symlog.js"); 23638/* harmony import */ var _pow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pow.js */ "./node_modules/d3-scale/src/pow.js"); 23639 23640 23641 23642 23643 23644 23645 23646 23647function transformer() { 23648 var x0 = 0, 23649 x1 = 1, 23650 t0, 23651 t1, 23652 k10, 23653 transform, 23654 interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity, 23655 clamp = false, 23656 unknown; 23657 23658 function scale(x) { 23659 return x == null || isNaN(x = +x) ? unknown : interpolator(k10 === 0 ? 0.5 : (x = (transform(x) - t0) * k10, clamp ? Math.max(0, Math.min(1, x)) : x)); 23660 } 23661 23662 scale.domain = function(_) { 23663 return arguments.length ? ([x0, x1] = _, t0 = transform(x0 = +x0), t1 = transform(x1 = +x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0), scale) : [x0, x1]; 23664 }; 23665 23666 scale.clamp = function(_) { 23667 return arguments.length ? (clamp = !!_, scale) : clamp; 23668 }; 23669 23670 scale.interpolator = function(_) { 23671 return arguments.length ? (interpolator = _, scale) : interpolator; 23672 }; 23673 23674 function range(interpolate) { 23675 return function(_) { 23676 var r0, r1; 23677 return arguments.length ? ([r0, r1] = _, interpolator = interpolate(r0, r1), scale) : [interpolator(0), interpolator(1)]; 23678 }; 23679 } 23680 23681 scale.range = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["default"]); 23682 23683 scale.rangeRound = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"]); 23684 23685 scale.unknown = function(_) { 23686 return arguments.length ? (unknown = _, scale) : unknown; 23687 }; 23688 23689 return function(t) { 23690 transform = t, t0 = t(x0), t1 = t(x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0); 23691 return scale; 23692 }; 23693} 23694 23695function copy(source, target) { 23696 return target 23697 .domain(source.domain()) 23698 .interpolator(source.interpolator()) 23699 .clamp(source.clamp()) 23700 .unknown(source.unknown()); 23701} 23702 23703function sequential() { 23704 var scale = (0,_linear_js__WEBPACK_IMPORTED_MODULE_3__.linearish)(transformer()(_continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity)); 23705 23706 scale.copy = function() { 23707 return copy(scale, sequential()); 23708 }; 23709 23710 return _init_js__WEBPACK_IMPORTED_MODULE_4__.initInterpolator.apply(scale, arguments); 23711} 23712 23713function sequentialLog() { 23714 var scale = (0,_log_js__WEBPACK_IMPORTED_MODULE_5__.loggish)(transformer()).domain([1, 10]); 23715 23716 scale.copy = function() { 23717 return copy(scale, sequentialLog()).base(scale.base()); 23718 }; 23719 23720 return _init_js__WEBPACK_IMPORTED_MODULE_4__.initInterpolator.apply(scale, arguments); 23721} 23722 23723function sequentialSymlog() { 23724 var scale = (0,_symlog_js__WEBPACK_IMPORTED_MODULE_6__.symlogish)(transformer()); 23725 23726 scale.copy = function() { 23727 return copy(scale, sequentialSymlog()).constant(scale.constant()); 23728 }; 23729 23730 return _init_js__WEBPACK_IMPORTED_MODULE_4__.initInterpolator.apply(scale, arguments); 23731} 23732 23733function sequentialPow() { 23734 var scale = (0,_pow_js__WEBPACK_IMPORTED_MODULE_7__.powish)(transformer()); 23735 23736 scale.copy = function() { 23737 return copy(scale, sequentialPow()).exponent(scale.exponent()); 23738 }; 23739 23740 return _init_js__WEBPACK_IMPORTED_MODULE_4__.initInterpolator.apply(scale, arguments); 23741} 23742 23743function sequentialSqrt() { 23744 return sequentialPow.apply(null, arguments).exponent(0.5); 23745} 23746 23747 23748/***/ }), 23749
vendor: 2,436 bytes, lines 23750-23806
23750/***/ "./node_modules/d3-scale/src/sequentialQuantile.js": 23751/*!*********************************************************!*\ 23752 !*** ./node_modules/d3-scale/src/sequentialQuantile.js ***! 23753 \*********************************************************/ 23754/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23755 23756__webpack_require__.r(__webpack_exports__); 23757/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23758/* harmony export */ "default": () => (/* binding */ sequentialQuantile) 23759/* harmony export */ }); 23760/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/bisect.js"); 23761/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/ascending.js"); 23762/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/quantile.js"); 23763/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 23764/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23765 23766 23767 23768 23769function sequentialQuantile() { 23770 var domain = [], 23771 interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_0__.identity; 23772 23773 function scale(x) { 23774 if (x != null && !isNaN(x = +x)) return interpolator(((0,d3_array__WEBPACK_IMPORTED_MODULE_1__["default"])(domain, x, 1) - 1) / (domain.length - 1)); 23775 } 23776 23777 scale.domain = function(_) { 23778 if (!arguments.length) return domain.slice(); 23779 domain = []; 23780 for (let d of _) if (d != null && !isNaN(d = +d)) domain.push(d); 23781 domain.sort(d3_array__WEBPACK_IMPORTED_MODULE_2__["default"]); 23782 return scale; 23783 }; 23784 23785 scale.interpolator = function(_) { 23786 return arguments.length ? (interpolator = _, scale) : interpolator; 23787 }; 23788 23789 scale.range = function() { 23790 return domain.map((d, i) => interpolator(i / (domain.length - 1))); 23791 }; 23792 23793 scale.quantiles = function(n) { 23794 return Array.from({length: n + 1}, (_, i) => (0,d3_array__WEBPACK_IMPORTED_MODULE_3__["default"])(domain, i / n)); 23795 }; 23796 23797 scale.copy = function() { 23798 return sequentialQuantile(interpolator).domain(domain); 23799 }; 23800 23801 return _init_js__WEBPACK_IMPORTED_MODULE_4__.initInterpolator.apply(scale, arguments); 23802} 23803 23804 23805/***/ }), 23806
vendor: 1,900 bytes, lines 23807-23859
23807/***/ "./node_modules/d3-scale/src/symlog.js": 23808/*!*********************************************!*\ 23809 !*** ./node_modules/d3-scale/src/symlog.js ***! 23810 \*********************************************/ 23811/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23812 23813__webpack_require__.r(__webpack_exports__); 23814/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23815/* harmony export */ "default": () => (/* binding */ symlog), 23816/* harmony export */ symlogish: () => (/* binding */ symlogish) 23817/* harmony export */ }); 23818/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-scale/src/linear.js"); 23819/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 23820/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23821 23822 23823 23824 23825function transformSymlog(c) { 23826 return function(x) { 23827 return Math.sign(x) * Math.log1p(Math.abs(x / c)); 23828 }; 23829} 23830 23831function transformSymexp(c) { 23832 return function(x) { 23833 return Math.sign(x) * Math.expm1(Math.abs(x)) * c; 23834 }; 23835} 23836 23837function symlogish(transform) { 23838 var c = 1, scale = transform(transformSymlog(c), transformSymexp(c)); 23839 23840 scale.constant = function(_) { 23841 return arguments.length ? transform(transformSymlog(c = +_), transformSymexp(c)) : c; 23842 }; 23843 23844 return (0,_linear_js__WEBPACK_IMPORTED_MODULE_0__.linearish)(scale); 23845} 23846 23847function symlog() { 23848 var scale = symlogish((0,_continuous_js__WEBPACK_IMPORTED_MODULE_1__.transformer)()); 23849 23850 scale.copy = function() { 23851 return (0,_continuous_js__WEBPACK_IMPORTED_MODULE_1__.copy)(scale, symlog()).constant(scale.constant()); 23852 }; 23853 23854 return _init_js__WEBPACK_IMPORTED_MODULE_2__.initRange.apply(scale, arguments); 23855} 23856 23857 23858/***/ }), 23859
vendor: 1,801 bytes, lines 23860-23914
23860/***/ "./node_modules/d3-scale/src/threshold.js": 23861/*!************************************************!*\ 23862 !*** ./node_modules/d3-scale/src/threshold.js ***! 23863 \************************************************/ 23864/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23865 23866__webpack_require__.r(__webpack_exports__); 23867/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23868/* harmony export */ "default": () => (/* binding */ threshold) 23869/* harmony export */ }); 23870/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/bisect.js"); 23871/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23872 23873 23874 23875function threshold() { 23876 var domain = [0.5], 23877 range = [0, 1], 23878 unknown, 23879 n = 1; 23880 23881 function scale(x) { 23882 return x != null && x <= x ? range[(0,d3_array__WEBPACK_IMPORTED_MODULE_0__["default"])(domain, x, 0, n)] : unknown; 23883 } 23884 23885 scale.domain = function(_) { 23886 return arguments.length ? (domain = Array.from(_), n = Math.min(domain.length, range.length - 1), scale) : domain.slice(); 23887 }; 23888 23889 scale.range = function(_) { 23890 return arguments.length ? (range = Array.from(_), n = Math.min(domain.length, range.length - 1), scale) : range.slice(); 23891 }; 23892 23893 scale.invertExtent = function(y) { 23894 var i = range.indexOf(y); 23895 return [domain[i - 1], domain[i]]; 23896 }; 23897 23898 scale.unknown = function(_) { 23899 return arguments.length ? (unknown = _, scale) : unknown; 23900 }; 23901 23902 scale.copy = function() { 23903 return threshold() 23904 .domain(domain) 23905 .range(range) 23906 .unknown(unknown); 23907 }; 23908 23909 return _init_js__WEBPACK_IMPORTED_MODULE_1__.initRange.apply(scale, arguments); 23910} 23911 23912 23913/***/ }), 23914
vendor: 2,689 bytes, lines 23915-23963
23915/***/ "./node_modules/d3-scale/src/tickFormat.js": 23916/*!*************************************************!*\ 23917 !*** ./node_modules/d3-scale/src/tickFormat.js ***! 23918 \*************************************************/ 23919/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23920 23921__webpack_require__.r(__webpack_exports__); 23922/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23923/* harmony export */ "default": () => (/* binding */ tickFormat) 23924/* harmony export */ }); 23925/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/ticks.js"); 23926/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-format */ "./node_modules/d3-format/src/formatSpecifier.js"); 23927/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-format */ "./node_modules/d3-format/src/precisionPrefix.js"); 23928/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-format */ "./node_modules/d3-format/src/defaultLocale.js"); 23929/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! d3-format */ "./node_modules/d3-format/src/precisionRound.js"); 23930/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! d3-format */ "./node_modules/d3-format/src/precisionFixed.js"); 23931 23932 23933 23934function tickFormat(start, stop, count, specifier) { 23935 var step = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__.tickStep)(start, stop, count), 23936 precision; 23937 specifier = (0,d3_format__WEBPACK_IMPORTED_MODULE_1__["default"])(specifier == null ? ",f" : specifier); 23938 switch (specifier.type) { 23939 case "s": { 23940 var value = Math.max(Math.abs(start), Math.abs(stop)); 23941 if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_2__["default"])(step, value))) specifier.precision = precision; 23942 return (0,d3_format__WEBPACK_IMPORTED_MODULE_3__.formatPrefix)(specifier, value); 23943 } 23944 case "": 23945 case "e": 23946 case "g": 23947 case "p": 23948 case "r": { 23949 if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_4__["default"])(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e"); 23950 break; 23951 } 23952 case "f": 23953 case "%": { 23954 if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_5__["default"])(step))) specifier.precision = precision - (specifier.type === "%") * 2; 23955 break; 23956 } 23957 } 23958 return (0,d3_format__WEBPACK_IMPORTED_MODULE_3__.format)(specifier); 23959} 23960 23961 23962/***/ }), 23963
vendor: 4,903 bytes, lines 23964-24061
23964/***/ "./node_modules/d3-scale/src/time.js": 23965/*!*******************************************!*\ 23966 !*** ./node_modules/d3-scale/src/time.js ***! 23967 \*******************************************/ 23968/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 23969 23970__webpack_require__.r(__webpack_exports__); 23971/* harmony export */ __webpack_require__.d(__webpack_exports__, { 23972/* harmony export */ calendar: () => (/* binding */ calendar), 23973/* harmony export */ "default": () => (/* binding */ time) 23974/* harmony export */ }); 23975/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/ticks.js"); 23976/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/year.js"); 23977/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/month.js"); 23978/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/week.js"); 23979/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/day.js"); 23980/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/hour.js"); 23981/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/minute.js"); 23982/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/second.js"); 23983/* harmony import */ var d3_time_format__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! d3-time-format */ "./node_modules/d3-time-format/src/defaultLocale.js"); 23984/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./continuous.js */ "./node_modules/d3-scale/src/continuous.js"); 23985/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 23986/* harmony import */ var _nice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./nice.js */ "./node_modules/d3-scale/src/nice.js"); 23987 23988 23989 23990 23991 23992 23993function date(t) { 23994 return new Date(t); 23995} 23996 23997function number(t) { 23998 return t instanceof Date ? +t : +new Date(+t); 23999} 24000 24001function calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format) { 24002 var scale = (0,_continuous_js__WEBPACK_IMPORTED_MODULE_0__["default"])(), 24003 invert = scale.invert, 24004 domain = scale.domain; 24005 24006 var formatMillisecond = format(".%L"), 24007 formatSecond = format(":%S"), 24008 formatMinute = format("%I:%M"), 24009 formatHour = format("%I %p"), 24010 formatDay = format("%a %d"), 24011 formatWeek = format("%b %d"), 24012 formatMonth = format("%B"), 24013 formatYear = format("%Y"); 24014 24015 function tickFormat(date) { 24016 return (second(date) < date ? formatMillisecond 24017 : minute(date) < date ? formatSecond 24018 : hour(date) < date ? formatMinute 24019 : day(date) < date ? formatHour 24020 : month(date) < date ? (week(date) < date ? formatDay : formatWeek) 24021 : year(date) < date ? formatMonth 24022 : formatYear)(date); 24023 } 24024 24025 scale.invert = function(y) { 24026 return new Date(invert(y)); 24027 }; 24028 24029 scale.domain = function(_) { 24030 return arguments.length ? domain(Array.from(_, number)) : domain().map(date); 24031 }; 24032 24033 scale.ticks = function(interval) { 24034 var d = domain(); 24035 return ticks(d[0], d[d.length - 1], interval == null ? 10 : interval); 24036 }; 24037 24038 scale.tickFormat = function(count, specifier) { 24039 return specifier == null ? tickFormat : format(specifier); 24040 }; 24041 24042 scale.nice = function(interval) { 24043 var d = domain(); 24044 if (!interval || typeof interval.range !== "function") interval = tickInterval(d[0], d[d.length - 1], interval == null ? 10 : interval); 24045 return interval ? domain((0,_nice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(d, interval)) : scale; 24046 }; 24047 24048 scale.copy = function() { 24049 return (0,_continuous_js__WEBPACK_IMPORTED_MODULE_0__.copy)(scale, calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format)); 24050 }; 24051 24052 return scale; 24053} 24054 24055function time() { 24056 return _init_js__WEBPACK_IMPORTED_MODULE_2__.initRange.apply(calendar(d3_time__WEBPACK_IMPORTED_MODULE_3__.timeTicks, d3_time__WEBPACK_IMPORTED_MODULE_3__.timeTickInterval, d3_time__WEBPACK_IMPORTED_MODULE_4__.timeYear, d3_time__WEBPACK_IMPORTED_MODULE_5__.timeMonth, d3_time__WEBPACK_IMPORTED_MODULE_6__.timeSunday, d3_time__WEBPACK_IMPORTED_MODULE_7__.timeDay, d3_time__WEBPACK_IMPORTED_MODULE_8__.timeHour, d3_time__WEBPACK_IMPORTED_MODULE_9__.timeMinute, d3_time__WEBPACK_IMPORTED_MODULE_10__.second, d3_time_format__WEBPACK_IMPORTED_MODULE_11__.timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]), arguments); 24057} 24058 24059 24060/***/ }), 24061
vendor: 2,760 bytes, lines 24062-24094
24062/***/ "./node_modules/d3-scale/src/utcTime.js": 24063/*!**********************************************!*\ 24064 !*** ./node_modules/d3-scale/src/utcTime.js ***! 24065 \**********************************************/ 24066/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24067 24068__webpack_require__.r(__webpack_exports__); 24069/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24070/* harmony export */ "default": () => (/* binding */ utcTime) 24071/* harmony export */ }); 24072/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/ticks.js"); 24073/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/year.js"); 24074/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/month.js"); 24075/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/week.js"); 24076/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/day.js"); 24077/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/hour.js"); 24078/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/minute.js"); 24079/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/second.js"); 24080/* harmony import */ var d3_time_format__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! d3-time-format */ "./node_modules/d3-time-format/src/defaultLocale.js"); 24081/* harmony import */ var _time_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./time.js */ "./node_modules/d3-scale/src/time.js"); 24082/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./init.js */ "./node_modules/d3-scale/src/init.js"); 24083 24084 24085 24086 24087 24088function utcTime() { 24089 return _init_js__WEBPACK_IMPORTED_MODULE_0__.initRange.apply((0,_time_js__WEBPACK_IMPORTED_MODULE_1__.calendar)(d3_time__WEBPACK_IMPORTED_MODULE_2__.utcTicks, d3_time__WEBPACK_IMPORTED_MODULE_2__.utcTickInterval, d3_time__WEBPACK_IMPORTED_MODULE_3__.utcYear, d3_time__WEBPACK_IMPORTED_MODULE_4__.utcMonth, d3_time__WEBPACK_IMPORTED_MODULE_5__.utcSunday, d3_time__WEBPACK_IMPORTED_MODULE_6__.utcDay, d3_time__WEBPACK_IMPORTED_MODULE_7__.utcHour, d3_time__WEBPACK_IMPORTED_MODULE_8__.utcMinute, d3_time__WEBPACK_IMPORTED_MODULE_9__.second, d3_time_format__WEBPACK_IMPORTED_MODULE_10__.utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]), arguments); 24090} 24091 24092 24093/***/ }), 24094
vendor: 1,067 bytes, lines 24095-24117
24095/***/ "./node_modules/d3-selection/src/array.js": 24096/*!************************************************!*\ 24097 !*** ./node_modules/d3-selection/src/array.js ***! 24098 \************************************************/ 24099/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24100 24101__webpack_require__.r(__webpack_exports__); 24102/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24103/* harmony export */ "default": () => (/* binding */ array) 24104/* harmony export */ }); 24105// Given something array like (or null), returns something that is strictly an 24106// array. This is used to ensure that array-like objects passed to d3.selectAll 24107// or selection.selectAll are converted into proper arrays when creating a 24108// selection; we donât ever want to create a selection backed by a live 24109// HTMLCollection or NodeList. However, note that selection.selectAll will use a 24110// static NodeList as a group, since it safely derived from querySelectorAll. 24111function array(x) { 24112 return x == null ? [] : Array.isArray(x) ? x : Array.from(x); 24113} 24114 24115 24116/***/ }), 24117
vendor: 675 bytes, lines 24118-24136
24118/***/ "./node_modules/d3-selection/src/constant.js": 24119/*!***************************************************!*\ 24120 !*** ./node_modules/d3-selection/src/constant.js ***! 24121 \***************************************************/ 24122/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24123 24124__webpack_require__.r(__webpack_exports__); 24125/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24126/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24127/* harmony export */ }); 24128/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 24129 return function() { 24130 return x; 24131 }; 24132} 24133 24134 24135/***/ }), 24136
vendor: 1,098 bytes, lines 24137-24158
24137/***/ "./node_modules/d3-selection/src/create.js": 24138/*!*************************************************!*\ 24139 !*** ./node_modules/d3-selection/src/create.js ***! 24140 \*************************************************/ 24141/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24142 24143__webpack_require__.r(__webpack_exports__); 24144/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24145/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24146/* harmony export */ }); 24147/* harmony import */ var _creator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./creator.js */ "./node_modules/d3-selection/src/creator.js"); 24148/* harmony import */ var _select_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./select.js */ "./node_modules/d3-selection/src/select.js"); 24149 24150 24151 24152/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name) { 24153 return (0,_select_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_creator_js__WEBPACK_IMPORTED_MODULE_1__["default"])(name).call(document.documentElement)); 24154} 24155 24156 24157/***/ }), 24158
vendor: 1,651 bytes, lines 24159-24199
24159/***/ "./node_modules/d3-selection/src/creator.js": 24160/*!**************************************************!*\ 24161 !*** ./node_modules/d3-selection/src/creator.js ***! 24162 \**************************************************/ 24163/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24164 24165__webpack_require__.r(__webpack_exports__); 24166/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24167/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24168/* harmony export */ }); 24169/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./namespace.js */ "./node_modules/d3-selection/src/namespace.js"); 24170/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/d3-selection/src/namespaces.js"); 24171 24172 24173 24174function creatorInherit(name) { 24175 return function() { 24176 var document = this.ownerDocument, 24177 uri = this.namespaceURI; 24178 return uri === _namespaces_js__WEBPACK_IMPORTED_MODULE_0__.xhtml && document.documentElement.namespaceURI === _namespaces_js__WEBPACK_IMPORTED_MODULE_0__.xhtml 24179 ? document.createElement(name) 24180 : document.createElementNS(uri, name); 24181 }; 24182} 24183 24184function creatorFixed(fullname) { 24185 return function() { 24186 return this.ownerDocument.createElementNS(fullname.space, fullname.local); 24187 }; 24188} 24189 24190/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name) { 24191 var fullname = (0,_namespace_js__WEBPACK_IMPORTED_MODULE_1__["default"])(name); 24192 return (fullname.local 24193 ? creatorFixed 24194 : creatorInherit)(fullname); 24195} 24196 24197 24198/***/ }), 24199
vendor: 4,600 bytes, lines 24200-24257
24200/***/ "./node_modules/d3-selection/src/index.js": 24201/*!************************************************!*\ 24202 !*** ./node_modules/d3-selection/src/index.js ***! 24203 \************************************************/ 24204/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24205 24206__webpack_require__.r(__webpack_exports__); 24207/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24208/* harmony export */ create: () => (/* reexport safe */ _create_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 24209/* harmony export */ creator: () => (/* reexport safe */ _creator_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 24210/* harmony export */ local: () => (/* reexport safe */ _local_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 24211/* harmony export */ matcher: () => (/* reexport safe */ _matcher_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 24212/* harmony export */ namespace: () => (/* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 24213/* harmony export */ namespaces: () => (/* reexport safe */ _namespaces_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 24214/* harmony export */ pointer: () => (/* reexport safe */ _pointer_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 24215/* harmony export */ pointers: () => (/* reexport safe */ _pointers_js__WEBPACK_IMPORTED_MODULE_7__["default"]), 24216/* harmony export */ select: () => (/* reexport safe */ _select_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 24217/* harmony export */ selectAll: () => (/* reexport safe */ _selectAll_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 24218/* harmony export */ selection: () => (/* reexport safe */ _selection_index_js__WEBPACK_IMPORTED_MODULE_10__["default"]), 24219/* harmony export */ selector: () => (/* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 24220/* harmony export */ selectorAll: () => (/* reexport safe */ _selectorAll_js__WEBPACK_IMPORTED_MODULE_12__["default"]), 24221/* harmony export */ style: () => (/* reexport safe */ _selection_style_js__WEBPACK_IMPORTED_MODULE_13__.styleValue), 24222/* harmony export */ window: () => (/* reexport safe */ _window_js__WEBPACK_IMPORTED_MODULE_14__["default"]) 24223/* harmony export */ }); 24224/* harmony import */ var _create_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create.js */ "./node_modules/d3-selection/src/create.js"); 24225/* harmony import */ var _creator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./creator.js */ "./node_modules/d3-selection/src/creator.js"); 24226/* harmony import */ var _local_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./local.js */ "./node_modules/d3-selection/src/local.js"); 24227/* harmony import */ var _matcher_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./matcher.js */ "./node_modules/d3-selection/src/matcher.js"); 24228/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./namespace.js */ "./node_modules/d3-selection/src/namespace.js"); 24229/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/d3-selection/src/namespaces.js"); 24230/* harmony import */ var _pointer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./pointer.js */ "./node_modules/d3-selection/src/pointer.js"); 24231/* harmony import */ var _pointers_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pointers.js */ "./node_modules/d3-selection/src/pointers.js"); 24232/* harmony import */ var _select_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./select.js */ "./node_modules/d3-selection/src/select.js"); 24233/* harmony import */ var _selectAll_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./selectAll.js */ "./node_modules/d3-selection/src/selectAll.js"); 24234/* harmony import */ var _selection_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./selection/index.js */ "./node_modules/d3-selection/src/selection/index.js"); 24235/* harmony import */ var _selector_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./selector.js */ "./node_modules/d3-selection/src/selector.js"); 24236/* harmony import */ var _selectorAll_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./selectorAll.js */ "./node_modules/d3-selection/src/selectorAll.js"); 24237/* harmony import */ var _selection_style_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./selection/style.js */ "./node_modules/d3-selection/src/selection/style.js"); 24238/* harmony import */ var _window_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./window.js */ "./node_modules/d3-selection/src/window.js"); 24239 24240 24241 24242 24243 24244 24245 24246 24247 24248 24249 24250 24251 24252 24253 24254 24255 24256/***/ }), 24257
vendor: 1,035 bytes, lines 24258-24298
24258/***/ "./node_modules/d3-selection/src/local.js": 24259/*!************************************************!*\ 24260 !*** ./node_modules/d3-selection/src/local.js ***! 24261 \************************************************/ 24262/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24263 24264__webpack_require__.r(__webpack_exports__); 24265/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24266/* harmony export */ "default": () => (/* binding */ local) 24267/* harmony export */ }); 24268var nextId = 0; 24269 24270function local() { 24271 return new Local; 24272} 24273 24274function Local() { 24275 this._ = "@" + (++nextId).toString(36); 24276} 24277 24278Local.prototype = local.prototype = { 24279 constructor: Local, 24280 get: function(node) { 24281 var id = this._; 24282 while (!(id in node)) if (!(node = node.parentNode)) return; 24283 return node[id]; 24284 }, 24285 set: function(node, value) { 24286 return node[this._] = value; 24287 }, 24288 remove: function(node) { 24289 return this._ in node && delete node[this._]; 24290 }, 24291 toString: function() { 24292 return this._; 24293 } 24294}; 24295 24296 24297/***/ }), 24298
vendor: 876 bytes, lines 24299-24325
24299/***/ "./node_modules/d3-selection/src/matcher.js": 24300/*!**************************************************!*\ 24301 !*** ./node_modules/d3-selection/src/matcher.js ***! 24302 \**************************************************/ 24303/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24304 24305__webpack_require__.r(__webpack_exports__); 24306/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24307/* harmony export */ childMatcher: () => (/* binding */ childMatcher), 24308/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24309/* harmony export */ }); 24310/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(selector) { 24311 return function() { 24312 return this.matches(selector); 24313 }; 24314} 24315 24316function childMatcher(selector) { 24317 return function(node) { 24318 return node.matches(selector); 24319 }; 24320} 24321 24322 24323 24324/***/ }), 24325
vendor: 1,169 bytes, lines 24326-24347
24326/***/ "./node_modules/d3-selection/src/namespace.js": 24327/*!****************************************************!*\ 24328 !*** ./node_modules/d3-selection/src/namespace.js ***! 24329 \****************************************************/ 24330/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24331 24332__webpack_require__.r(__webpack_exports__); 24333/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24334/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24335/* harmony export */ }); 24336/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/d3-selection/src/namespaces.js"); 24337 24338 24339/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name) { 24340 var prefix = name += "", i = prefix.indexOf(":"); 24341 if (i >= 0 && (prefix = name.slice(0, i)) !== "xmlns") name = name.slice(i + 1); 24342 return _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProperty(prefix) ? {space: _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"][prefix], local: name} : name; // eslint-disable-line no-prototype-builtins 24343} 24344 24345 24346/***/ }), 24347
vendor: 898 bytes, lines 24348-24371
24348/***/ "./node_modules/d3-selection/src/namespaces.js": 24349/*!*****************************************************!*\ 24350 !*** ./node_modules/d3-selection/src/namespaces.js ***! 24351 \*****************************************************/ 24352/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24353 24354__webpack_require__.r(__webpack_exports__); 24355/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24356/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 24357/* harmony export */ xhtml: () => (/* binding */ xhtml) 24358/* harmony export */ }); 24359var xhtml = "http://www.w3.org/1999/xhtml"; 24360 24361/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 24362 svg: "http://www.w3.org/2000/svg", 24363 xhtml: xhtml, 24364 xlink: "http://www.w3.org/1999/xlink", 24365 xml: "http://www.w3.org/XML/1998/namespace", 24366 xmlns: "http://www.w3.org/2000/xmlns/" 24367}); 24368 24369 24370/***/ }), 24371
vendor: 1,467 bytes, lines 24372-24406
24372/***/ "./node_modules/d3-selection/src/pointer.js": 24373/*!**************************************************!*\ 24374 !*** ./node_modules/d3-selection/src/pointer.js ***! 24375 \**************************************************/ 24376/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24377 24378__webpack_require__.r(__webpack_exports__); 24379/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24380/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24381/* harmony export */ }); 24382/* harmony import */ var _sourceEvent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./sourceEvent.js */ "./node_modules/d3-selection/src/sourceEvent.js"); 24383 24384 24385/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(event, node) { 24386 event = (0,_sourceEvent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(event); 24387 if (node === undefined) node = event.currentTarget; 24388 if (node) { 24389 var svg = node.ownerSVGElement || node; 24390 if (svg.createSVGPoint) { 24391 var point = svg.createSVGPoint(); 24392 point.x = event.clientX, point.y = event.clientY; 24393 point = point.matrixTransform(node.getScreenCTM().inverse()); 24394 return [point.x, point.y]; 24395 } 24396 if (node.getBoundingClientRect) { 24397 var rect = node.getBoundingClientRect(); 24398 return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop]; 24399 } 24400 } 24401 return [event.pageX, event.pageY]; 24402} 24403 24404 24405/***/ }), 24406
vendor: 1,338 bytes, lines 24407-24433
24407/***/ "./node_modules/d3-selection/src/pointers.js": 24408/*!***************************************************!*\ 24409 !*** ./node_modules/d3-selection/src/pointers.js ***! 24410 \***************************************************/ 24411/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24412 24413__webpack_require__.r(__webpack_exports__); 24414/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24415/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24416/* harmony export */ }); 24417/* harmony import */ var _pointer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pointer.js */ "./node_modules/d3-selection/src/pointer.js"); 24418/* harmony import */ var _sourceEvent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./sourceEvent.js */ "./node_modules/d3-selection/src/sourceEvent.js"); 24419 24420 24421 24422/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(events, node) { 24423 if (events.target) { // i.e., instanceof Event, not TouchList or iterable 24424 events = (0,_sourceEvent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(events); 24425 if (node === undefined) node = events.currentTarget; 24426 events = events.touches || [events]; 24427 } 24428 return Array.from(events, event => (0,_pointer_js__WEBPACK_IMPORTED_MODULE_1__["default"])(event, node)); 24429} 24430 24431 24432/***/ }), 24433
vendor: 1,130 bytes, lines 24434-24455
24434/***/ "./node_modules/d3-selection/src/select.js": 24435/*!*************************************************!*\ 24436 !*** ./node_modules/d3-selection/src/select.js ***! 24437 \*************************************************/ 24438/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24439 24440__webpack_require__.r(__webpack_exports__); 24441/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24442/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24443/* harmony export */ }); 24444/* harmony import */ var _selection_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./selection/index.js */ "./node_modules/d3-selection/src/selection/index.js"); 24445 24446 24447/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(selector) { 24448 return typeof selector === "string" 24449 ? new _selection_index_js__WEBPACK_IMPORTED_MODULE_0__.Selection([[document.querySelector(selector)]], [document.documentElement]) 24450 : new _selection_index_js__WEBPACK_IMPORTED_MODULE_0__.Selection([[selector]], _selection_index_js__WEBPACK_IMPORTED_MODULE_0__.root); 24451} 24452 24453 24454/***/ }), 24455
vendor: 1,346 bytes, lines 24456-24479
24456/***/ "./node_modules/d3-selection/src/selectAll.js": 24457/*!****************************************************!*\ 24458 !*** ./node_modules/d3-selection/src/selectAll.js ***! 24459 \****************************************************/ 24460/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24461 24462__webpack_require__.r(__webpack_exports__); 24463/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24464/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24465/* harmony export */ }); 24466/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-selection/src/array.js"); 24467/* harmony import */ var _selection_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./selection/index.js */ "./node_modules/d3-selection/src/selection/index.js"); 24468 24469 24470 24471/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(selector) { 24472 return typeof selector === "string" 24473 ? new _selection_index_js__WEBPACK_IMPORTED_MODULE_0__.Selection([document.querySelectorAll(selector)], [document.documentElement]) 24474 : new _selection_index_js__WEBPACK_IMPORTED_MODULE_0__.Selection([(0,_array_js__WEBPACK_IMPORTED_MODULE_1__["default"])(selector)], _selection_index_js__WEBPACK_IMPORTED_MODULE_0__.root); 24475} 24476 24477 24478/***/ }), 24479
vendor: 1,041 bytes, lines 24480-24502
24480/***/ "./node_modules/d3-selection/src/selection/append.js": 24481/*!***********************************************************!*\ 24482 !*** ./node_modules/d3-selection/src/selection/append.js ***! 24483 \***********************************************************/ 24484/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24485 24486__webpack_require__.r(__webpack_exports__); 24487/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24488/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24489/* harmony export */ }); 24490/* harmony import */ var _creator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../creator.js */ "./node_modules/d3-selection/src/creator.js"); 24491 24492 24493/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name) { 24494 var create = typeof name === "function" ? name : (0,_creator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(name); 24495 return this.select(function() { 24496 return this.appendChild(create.apply(this, arguments)); 24497 }); 24498} 24499 24500 24501/***/ }), 24502
vendor: 2,260 bytes, lines 24503-24574
24503/***/ "./node_modules/d3-selection/src/selection/attr.js": 24504/*!*********************************************************!*\ 24505 !*** ./node_modules/d3-selection/src/selection/attr.js ***! 24506 \*********************************************************/ 24507/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24508 24509__webpack_require__.r(__webpack_exports__); 24510/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24511/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24512/* harmony export */ }); 24513/* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../namespace.js */ "./node_modules/d3-selection/src/namespace.js"); 24514 24515 24516function attrRemove(name) { 24517 return function() { 24518 this.removeAttribute(name); 24519 }; 24520} 24521 24522function attrRemoveNS(fullname) { 24523 return function() { 24524 this.removeAttributeNS(fullname.space, fullname.local); 24525 }; 24526} 24527 24528function attrConstant(name, value) { 24529 return function() { 24530 this.setAttribute(name, value); 24531 }; 24532} 24533 24534function attrConstantNS(fullname, value) { 24535 return function() { 24536 this.setAttributeNS(fullname.space, fullname.local, value); 24537 }; 24538} 24539 24540function attrFunction(name, value) { 24541 return function() { 24542 var v = value.apply(this, arguments); 24543 if (v == null) this.removeAttribute(name); 24544 else this.setAttribute(name, v); 24545 }; 24546} 24547 24548function attrFunctionNS(fullname, value) { 24549 return function() { 24550 var v = value.apply(this, arguments); 24551 if (v == null) this.removeAttributeNS(fullname.space, fullname.local); 24552 else this.setAttributeNS(fullname.space, fullname.local, v); 24553 }; 24554} 24555 24556/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value) { 24557 var fullname = (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__["default"])(name); 24558 24559 if (arguments.length < 2) { 24560 var node = this.node(); 24561 return fullname.local 24562 ? node.getAttributeNS(fullname.space, fullname.local) 24563 : node.getAttribute(fullname); 24564 } 24565 24566 return this.each((value == null 24567 ? (fullname.local ? attrRemoveNS : attrRemove) : (typeof value === "function" 24568 ? (fullname.local ? attrFunctionNS : attrFunction) 24569 : (fullname.local ? attrConstantNS : attrConstant)))(fullname, value)); 24570} 24571 24572 24573/***/ }), 24574
vendor: 761 bytes, lines 24575-24594
24575/***/ "./node_modules/d3-selection/src/selection/call.js": 24576/*!*********************************************************!*\ 24577 !*** ./node_modules/d3-selection/src/selection/call.js ***! 24578 \*********************************************************/ 24579/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24580 24581__webpack_require__.r(__webpack_exports__); 24582/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24583/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24584/* harmony export */ }); 24585/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 24586 var callback = arguments[0]; 24587 arguments[0] = this; 24588 callback.apply(null, arguments); 24589 return this; 24590} 24591 24592 24593/***/ }), 24594
vendor: 2,379 bytes, lines 24595-24683
24595/***/ "./node_modules/d3-selection/src/selection/classed.js": 24596/*!************************************************************!*\ 24597 !*** ./node_modules/d3-selection/src/selection/classed.js ***! 24598 \************************************************************/ 24599/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24600 24601__webpack_require__.r(__webpack_exports__); 24602/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24603/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24604/* harmony export */ }); 24605function classArray(string) { 24606 return string.trim().split(/^|\s+/); 24607} 24608 24609function classList(node) { 24610 return node.classList || new ClassList(node); 24611} 24612 24613function ClassList(node) { 24614 this._node = node; 24615 this._names = classArray(node.getAttribute("class") || ""); 24616} 24617 24618ClassList.prototype = { 24619 add: function(name) { 24620 var i = this._names.indexOf(name); 24621 if (i < 0) { 24622 this._names.push(name); 24623 this._node.setAttribute("class", this._names.join(" ")); 24624 } 24625 }, 24626 remove: function(name) { 24627 var i = this._names.indexOf(name); 24628 if (i >= 0) { 24629 this._names.splice(i, 1); 24630 this._node.setAttribute("class", this._names.join(" ")); 24631 } 24632 }, 24633 contains: function(name) { 24634 return this._names.indexOf(name) >= 0; 24635 } 24636}; 24637 24638function classedAdd(node, names) { 24639 var list = classList(node), i = -1, n = names.length; 24640 while (++i < n) list.add(names[i]); 24641} 24642 24643function classedRemove(node, names) { 24644 var list = classList(node), i = -1, n = names.length; 24645 while (++i < n) list.remove(names[i]); 24646} 24647 24648function classedTrue(names) { 24649 return function() { 24650 classedAdd(this, names); 24651 }; 24652} 24653 24654function classedFalse(names) { 24655 return function() { 24656 classedRemove(this, names); 24657 }; 24658} 24659 24660function classedFunction(names, value) { 24661 return function() { 24662 (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names); 24663 }; 24664} 24665 24666/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value) { 24667 var names = classArray(name + ""); 24668 24669 if (arguments.length < 2) { 24670 var list = classList(this.node()), i = -1, n = names.length; 24671 while (++i < n) if (!list.contains(names[i])) return false; 24672 return true; 24673 } 24674 24675 return this.each((typeof value === "function" 24676 ? classedFunction : value 24677 ? classedTrue 24678 : classedFalse)(names, value)); 24679} 24680 24681 24682/***/ }), 24683
vendor: 1,084 bytes, lines 24684-24710
24684/***/ "./node_modules/d3-selection/src/selection/clone.js": 24685/*!**********************************************************!*\ 24686 !*** ./node_modules/d3-selection/src/selection/clone.js ***! 24687 \**********************************************************/ 24688/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24689 24690__webpack_require__.r(__webpack_exports__); 24691/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24692/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24693/* harmony export */ }); 24694function selection_cloneShallow() { 24695 var clone = this.cloneNode(false), parent = this.parentNode; 24696 return parent ? parent.insertBefore(clone, this.nextSibling) : clone; 24697} 24698 24699function selection_cloneDeep() { 24700 var clone = this.cloneNode(true), parent = this.parentNode; 24701 return parent ? parent.insertBefore(clone, this.nextSibling) : clone; 24702} 24703 24704/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(deep) { 24705 return this.select(deep ? selection_cloneDeep : selection_cloneShallow); 24706} 24707 24708 24709/***/ }), 24710
vendor: 5,348 bytes, lines 24711-24855
24711/***/ "./node_modules/d3-selection/src/selection/data.js": 24712/*!*********************************************************!*\ 24713 !*** ./node_modules/d3-selection/src/selection/data.js ***! 24714 \*********************************************************/ 24715/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24716 24717__webpack_require__.r(__webpack_exports__); 24718/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24719/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24720/* harmony export */ }); 24721/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-selection/src/selection/index.js"); 24722/* harmony import */ var _enter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./enter.js */ "./node_modules/d3-selection/src/selection/enter.js"); 24723/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constant.js */ "./node_modules/d3-selection/src/constant.js"); 24724 24725 24726 24727 24728function bindIndex(parent, group, enter, update, exit, data) { 24729 var i = 0, 24730 node, 24731 groupLength = group.length, 24732 dataLength = data.length; 24733 24734 // Put any non-null nodes that fit into update. 24735 // Put any null nodes into enter. 24736 // Put any remaining data into enter. 24737 for (; i < dataLength; ++i) { 24738 if (node = group[i]) { 24739 node.__data__ = data[i]; 24740 update[i] = node; 24741 } else { 24742 enter[i] = new _enter_js__WEBPACK_IMPORTED_MODULE_0__.EnterNode(parent, data[i]); 24743 } 24744 } 24745 24746 // Put any non-null nodes that donât fit into exit. 24747 for (; i < groupLength; ++i) { 24748 if (node = group[i]) { 24749 exit[i] = node; 24750 } 24751 } 24752} 24753 24754function bindKey(parent, group, enter, update, exit, data, key) { 24755 var i, 24756 node, 24757 nodeByKeyValue = new Map, 24758 groupLength = group.length, 24759 dataLength = data.length, 24760 keyValues = new Array(groupLength), 24761 keyValue; 24762 24763 // Compute the key for each node. 24764 // If multiple nodes have the same key, the duplicates are added to exit. 24765 for (i = 0; i < groupLength; ++i) { 24766 if (node = group[i]) { 24767 keyValues[i] = keyValue = key.call(node, node.__data__, i, group) + ""; 24768 if (nodeByKeyValue.has(keyValue)) { 24769 exit[i] = node; 24770 } else { 24771 nodeByKeyValue.set(keyValue, node); 24772 } 24773 } 24774 } 24775 24776 // Compute the key for each datum. 24777 // If there a node associated with this key, join and add it to update. 24778 // If there is not (or the key is a duplicate), add it to enter. 24779 for (i = 0; i < dataLength; ++i) { 24780 keyValue = key.call(parent, data[i], i, data) + ""; 24781 if (node = nodeByKeyValue.get(keyValue)) { 24782 update[i] = node; 24783 node.__data__ = data[i]; 24784 nodeByKeyValue.delete(keyValue); 24785 } else { 24786 enter[i] = new _enter_js__WEBPACK_IMPORTED_MODULE_0__.EnterNode(parent, data[i]); 24787 } 24788 } 24789 24790 // Add any remaining nodes that were not bound to data to exit. 24791 for (i = 0; i < groupLength; ++i) { 24792 if ((node = group[i]) && (nodeByKeyValue.get(keyValues[i]) === node)) { 24793 exit[i] = node; 24794 } 24795 } 24796} 24797 24798function datum(node) { 24799 return node.__data__; 24800} 24801 24802/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value, key) { 24803 if (!arguments.length) return Array.from(this, datum); 24804 24805 var bind = key ? bindKey : bindIndex, 24806 parents = this._parents, 24807 groups = this._groups; 24808 24809 if (typeof value !== "function") value = (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value); 24810 24811 for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) { 24812 var parent = parents[j], 24813 group = groups[j], 24814 groupLength = group.length, 24815 data = arraylike(value.call(parent, parent && parent.__data__, j, parents)), 24816 dataLength = data.length, 24817 enterGroup = enter[j] = new Array(dataLength), 24818 updateGroup = update[j] = new Array(dataLength), 24819 exitGroup = exit[j] = new Array(groupLength); 24820 24821 bind(parent, group, enterGroup, updateGroup, exitGroup, data, key); 24822 24823 // Now connect the enter nodes to their following update node, such that 24824 // appendChild can insert the materialized enter node before this node, 24825 // rather than at the end of the parent node. 24826 for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) { 24827 if (previous = enterGroup[i0]) { 24828 if (i0 >= i1) i1 = i0 + 1; 24829 while (!(next = updateGroup[i1]) && ++i1 < dataLength); 24830 previous._next = next || null; 24831 } 24832 } 24833 } 24834 24835 update = new _index_js__WEBPACK_IMPORTED_MODULE_2__.Selection(update, parents); 24836 update._enter = enter; 24837 update._exit = exit; 24838 return update; 24839} 24840 24841// Given some data, this returns an array-like view of it: an object that 24842// exposes a length property and allows numeric indexing. Note that unlike 24843// selectAll, this isnât worried about âliveâ collections because the resulting 24844// array will only be used briefly while data is being bound. (It is possible to 24845// cause the data to change while iterating by using a key function, but please 24846// donât; weâd rather avoid a gratuitous copy.) 24847function arraylike(data) { 24848 return typeof data === "object" && "length" in data 24849 ? data // Array, TypedArray, NodeList, array-like 24850 : Array.from(data); // Map, Set, iterable, string, or anything else 24851} 24852 24853 24854/***/ }), 24855
vendor: 763 bytes, lines 24856-24874
24856/***/ "./node_modules/d3-selection/src/selection/datum.js": 24857/*!**********************************************************!*\ 24858 !*** ./node_modules/d3-selection/src/selection/datum.js ***! 24859 \**********************************************************/ 24860/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24861 24862__webpack_require__.r(__webpack_exports__); 24863/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24864/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24865/* harmony export */ }); 24866/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 24867 return arguments.length 24868 ? this.property("__data__", value) 24869 : this.node().__data__; 24870} 24871 24872 24873/***/ }), 24874
vendor: 1,694 bytes, lines 24875-24923
24875/***/ "./node_modules/d3-selection/src/selection/dispatch.js": 24876/*!*************************************************************!*\ 24877 !*** ./node_modules/d3-selection/src/selection/dispatch.js ***! 24878 \*************************************************************/ 24879/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24880 24881__webpack_require__.r(__webpack_exports__); 24882/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24883/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24884/* harmony export */ }); 24885/* harmony import */ var _window_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../window.js */ "./node_modules/d3-selection/src/window.js"); 24886 24887 24888function dispatchEvent(node, type, params) { 24889 var window = (0,_window_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node), 24890 event = window.CustomEvent; 24891 24892 if (typeof event === "function") { 24893 event = new event(type, params); 24894 } else { 24895 event = window.document.createEvent("Event"); 24896 if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail; 24897 else event.initEvent(type, false, false); 24898 } 24899 24900 node.dispatchEvent(event); 24901} 24902 24903function dispatchConstant(type, params) { 24904 return function() { 24905 return dispatchEvent(this, type, params); 24906 }; 24907} 24908 24909function dispatchFunction(type, params) { 24910 return function() { 24911 return dispatchEvent(this, type, params.apply(this, arguments)); 24912 }; 24913} 24914 24915/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(type, params) { 24916 return this.each((typeof params === "function" 24917 ? dispatchFunction 24918 : dispatchConstant)(type, params)); 24919} 24920 24921 24922/***/ }), 24923
vendor: 916 bytes, lines 24924-24947
24924/***/ "./node_modules/d3-selection/src/selection/each.js": 24925/*!*********************************************************!*\ 24926 !*** ./node_modules/d3-selection/src/selection/each.js ***! 24927 \*********************************************************/ 24928/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24929 24930__webpack_require__.r(__webpack_exports__); 24931/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24932/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24933/* harmony export */ }); 24934/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback) { 24935 24936 for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) { 24937 for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) { 24938 if (node = group[i]) callback.call(node, node.__data__, i, group); 24939 } 24940 } 24941 24942 return this; 24943} 24944 24945 24946/***/ }), 24947
vendor: 684 bytes, lines 24948-24964
24948/***/ "./node_modules/d3-selection/src/selection/empty.js": 24949/*!**********************************************************!*\ 24950 !*** ./node_modules/d3-selection/src/selection/empty.js ***! 24951 \**********************************************************/ 24952/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24953 24954__webpack_require__.r(__webpack_exports__); 24955/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24956/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24957/* harmony export */ }); 24958/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 24959 return !this.node(); 24960} 24961 24962 24963/***/ }), 24964
vendor: 1,823 bytes, lines 24965-25003
24965/***/ "./node_modules/d3-selection/src/selection/enter.js": 24966/*!**********************************************************!*\ 24967 !*** ./node_modules/d3-selection/src/selection/enter.js ***! 24968 \**********************************************************/ 24969/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 24970 24971__webpack_require__.r(__webpack_exports__); 24972/* harmony export */ __webpack_require__.d(__webpack_exports__, { 24973/* harmony export */ EnterNode: () => (/* binding */ EnterNode), 24974/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 24975/* harmony export */ }); 24976/* harmony import */ var _sparse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sparse.js */ "./node_modules/d3-selection/src/selection/sparse.js"); 24977/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-selection/src/selection/index.js"); 24978 24979 24980 24981/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 24982 return new _index_js__WEBPACK_IMPORTED_MODULE_0__.Selection(this._enter || this._groups.map(_sparse_js__WEBPACK_IMPORTED_MODULE_1__["default"]), this._parents); 24983} 24984 24985function EnterNode(parent, datum) { 24986 this.ownerDocument = parent.ownerDocument; 24987 this.namespaceURI = parent.namespaceURI; 24988 this._next = null; 24989 this._parent = parent; 24990 this.__data__ = datum; 24991} 24992 24993EnterNode.prototype = { 24994 constructor: EnterNode, 24995 appendChild: function(child) { return this._parent.insertBefore(child, this._next); }, 24996 insertBefore: function(child, next) { return this._parent.insertBefore(child, next); }, 24997 querySelector: function(selector) { return this._parent.querySelector(selector); }, 24998 querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); } 24999}; 25000 25001 25002/***/ }), 25003
vendor: 1,143 bytes, lines 25004-25025
25004/***/ "./node_modules/d3-selection/src/selection/exit.js": 25005/*!*********************************************************!*\ 25006 !*** ./node_modules/d3-selection/src/selection/exit.js ***! 25007 \*********************************************************/ 25008/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25009 25010__webpack_require__.r(__webpack_exports__); 25011/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25012/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25013/* harmony export */ }); 25014/* harmony import */ var _sparse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sparse.js */ "./node_modules/d3-selection/src/selection/sparse.js"); 25015/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-selection/src/selection/index.js"); 25016 25017 25018 25019/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 25020 return new _index_js__WEBPACK_IMPORTED_MODULE_0__.Selection(this._exit || this._groups.map(_sparse_js__WEBPACK_IMPORTED_MODULE_1__["default"]), this._parents); 25021} 25022 25023 25024/***/ }), 25025
vendor: 1,516 bytes, lines 25026-25057
25026/***/ "./node_modules/d3-selection/src/selection/filter.js": 25027/*!***********************************************************!*\ 25028 !*** ./node_modules/d3-selection/src/selection/filter.js ***! 25029 \***********************************************************/ 25030/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25031 25032__webpack_require__.r(__webpack_exports__); 25033/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25034/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25035/* harmony export */ }); 25036/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-selection/src/selection/index.js"); 25037/* harmony import */ var _matcher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../matcher.js */ "./node_modules/d3-selection/src/matcher.js"); 25038 25039 25040 25041/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(match) { 25042 if (typeof match !== "function") match = (0,_matcher_js__WEBPACK_IMPORTED_MODULE_0__["default"])(match); 25043 25044 for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) { 25045 for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) { 25046 if ((node = group[i]) && match.call(node, node.__data__, i, group)) { 25047 subgroup.push(node); 25048 } 25049 } 25050 } 25051 25052 return new _index_js__WEBPACK_IMPORTED_MODULE_1__.Selection(subgroups, this._parents); 25053} 25054 25055 25056/***/ }), 25057
vendor: 1,147 bytes, lines 25058-25096
25058/***/ "./node_modules/d3-selection/src/selection/html.js": 25059/*!*********************************************************!*\ 25060 !*** ./node_modules/d3-selection/src/selection/html.js ***! 25061 \*********************************************************/ 25062/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25063 25064__webpack_require__.r(__webpack_exports__); 25065/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25066/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25067/* harmony export */ }); 25068function htmlRemove() { 25069 this.innerHTML = ""; 25070} 25071 25072function htmlConstant(value) { 25073 return function() { 25074 this.innerHTML = value; 25075 }; 25076} 25077 25078function htmlFunction(value) { 25079 return function() { 25080 var v = value.apply(this, arguments); 25081 this.innerHTML = v == null ? "" : v; 25082 }; 25083} 25084 25085/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 25086 return arguments.length 25087 ? this.each(value == null 25088 ? htmlRemove : (typeof value === "function" 25089 ? htmlFunction 25090 : htmlConstant)(value)) 25091 : this.node().innerHTML; 25092} 25093 25094 25095/***/ }), 25096
vendor: 8,764 bytes, lines 25097-25236
25097/***/ "./node_modules/d3-selection/src/selection/index.js": 25098/*!**********************************************************!*\ 25099 !*** ./node_modules/d3-selection/src/selection/index.js ***! 25100 \**********************************************************/ 25101/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25102 25103__webpack_require__.r(__webpack_exports__); 25104/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25105/* harmony export */ Selection: () => (/* binding */ Selection), 25106/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 25107/* harmony export */ root: () => (/* binding */ root) 25108/* harmony export */ }); 25109/* harmony import */ var _select_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./select.js */ "./node_modules/d3-selection/src/selection/select.js"); 25110/* harmony import */ var _selectAll_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./selectAll.js */ "./node_modules/d3-selection/src/selection/selectAll.js"); 25111/* harmony import */ var _selectChild_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectChild.js */ "./node_modules/d3-selection/src/selection/selectChild.js"); 25112/* harmony import */ var _selectChildren_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./selectChildren.js */ "./node_modules/d3-selection/src/selection/selectChildren.js"); 25113/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./filter.js */ "./node_modules/d3-selection/src/selection/filter.js"); 25114/* harmony import */ var _data_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./data.js */ "./node_modules/d3-selection/src/selection/data.js"); 25115/* harmony import */ var _enter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./enter.js */ "./node_modules/d3-selection/src/selection/enter.js"); 25116/* harmony import */ var _exit_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./exit.js */ "./node_modules/d3-selection/src/selection/exit.js"); 25117/* harmony import */ var _join_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./join.js */ "./node_modules/d3-selection/src/selection/join.js"); 25118/* harmony import */ var _merge_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./merge.js */ "./node_modules/d3-selection/src/selection/merge.js"); 25119/* harmony import */ var _order_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./order.js */ "./node_modules/d3-selection/src/selection/order.js"); 25120/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./sort.js */ "./node_modules/d3-selection/src/selection/sort.js"); 25121/* harmony import */ var _call_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./call.js */ "./node_modules/d3-selection/src/selection/call.js"); 25122/* harmony import */ var _nodes_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./nodes.js */ "./node_modules/d3-selection/src/selection/nodes.js"); 25123/* harmony import */ var _node_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./node.js */ "./node_modules/d3-selection/src/selection/node.js"); 25124/* harmony import */ var _size_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./size.js */ "./node_modules/d3-selection/src/selection/size.js"); 25125/* harmony import */ var _empty_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./empty.js */ "./node_modules/d3-selection/src/selection/empty.js"); 25126/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./each.js */ "./node_modules/d3-selection/src/selection/each.js"); 25127/* harmony import */ var _attr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./attr.js */ "./node_modules/d3-selection/src/selection/attr.js"); 25128/* harmony import */ var _style_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./style.js */ "./node_modules/d3-selection/src/selection/style.js"); 25129/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./property.js */ "./node_modules/d3-selection/src/selection/property.js"); 25130/* harmony import */ var _classed_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./classed.js */ "./node_modules/d3-selection/src/selection/classed.js"); 25131/* harmony import */ var _text_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./text.js */ "./node_modules/d3-selection/src/selection/text.js"); 25132/* harmony import */ var _html_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./html.js */ "./node_modules/d3-selection/src/selection/html.js"); 25133/* harmony import */ var _raise_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./raise.js */ "./node_modules/d3-selection/src/selection/raise.js"); 25134/* harmony import */ var _lower_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./lower.js */ "./node_modules/d3-selection/src/selection/lower.js"); 25135/* harmony import */ var _append_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./append.js */ "./node_modules/d3-selection/src/selection/append.js"); 25136/* harmony import */ var _insert_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./insert.js */ "./node_modules/d3-selection/src/selection/insert.js"); 25137/* harmony import */ var _remove_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./remove.js */ "./node_modules/d3-selection/src/selection/remove.js"); 25138/* harmony import */ var _clone_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./clone.js */ "./node_modules/d3-selection/src/selection/clone.js"); 25139/* harmony import */ var _datum_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./datum.js */ "./node_modules/d3-selection/src/selection/datum.js"); 25140/* harmony import */ var _on_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./on.js */ "./node_modules/d3-selection/src/selection/on.js"); 25141/* harmony import */ var _dispatch_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./dispatch.js */ "./node_modules/d3-selection/src/selection/dispatch.js"); 25142/* harmony import */ var _iterator_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./iterator.js */ "./node_modules/d3-selection/src/selection/iterator.js"); 25143 25144 25145 25146 25147 25148 25149 25150 25151 25152 25153 25154 25155 25156 25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 25171 25172 25173 25174 25175 25176 25177 25178var root = [null]; 25179 25180function Selection(groups, parents) { 25181 this._groups = groups; 25182 this._parents = parents; 25183} 25184 25185function selection() { 25186 return new Selection([[document.documentElement]], root); 25187} 25188 25189function selection_selection() { 25190 return this; 25191} 25192 25193Selection.prototype = selection.prototype = { 25194 constructor: Selection, 25195 select: _select_js__WEBPACK_IMPORTED_MODULE_0__["default"], 25196 selectAll: _selectAll_js__WEBPACK_IMPORTED_MODULE_1__["default"], 25197 selectChild: _selectChild_js__WEBPACK_IMPORTED_MODULE_2__["default"], 25198 selectChildren: _selectChildren_js__WEBPACK_IMPORTED_MODULE_3__["default"], 25199 filter: _filter_js__WEBPACK_IMPORTED_MODULE_4__["default"], 25200 data: _data_js__WEBPACK_IMPORTED_MODULE_5__["default"], 25201 enter: _enter_js__WEBPACK_IMPORTED_MODULE_6__["default"], 25202 exit: _exit_js__WEBPACK_IMPORTED_MODULE_7__["default"], 25203 join: _join_js__WEBPACK_IMPORTED_MODULE_8__["default"], 25204 merge: _merge_js__WEBPACK_IMPORTED_MODULE_9__["default"], 25205 selection: selection_selection, 25206 order: _order_js__WEBPACK_IMPORTED_MODULE_10__["default"], 25207 sort: _sort_js__WEBPACK_IMPORTED_MODULE_11__["default"], 25208 call: _call_js__WEBPACK_IMPORTED_MODULE_12__["default"], 25209 nodes: _nodes_js__WEBPACK_IMPORTED_MODULE_13__["default"], 25210 node: _node_js__WEBPACK_IMPORTED_MODULE_14__["default"], 25211 size: _size_js__WEBPACK_IMPORTED_MODULE_15__["default"], 25212 empty: _empty_js__WEBPACK_IMPORTED_MODULE_16__["default"], 25213 each: _each_js__WEBPACK_IMPORTED_MODULE_17__["default"], 25214 attr: _attr_js__WEBPACK_IMPORTED_MODULE_18__["default"], 25215 style: _style_js__WEBPACK_IMPORTED_MODULE_19__["default"], 25216 property: _property_js__WEBPACK_IMPORTED_MODULE_20__["default"], 25217 classed: _classed_js__WEBPACK_IMPORTED_MODULE_21__["default"], 25218 text: _text_js__WEBPACK_IMPORTED_MODULE_22__["default"], 25219 html: _html_js__WEBPACK_IMPORTED_MODULE_23__["default"], 25220 raise: _raise_js__WEBPACK_IMPORTED_MODULE_24__["default"], 25221 lower: _lower_js__WEBPACK_IMPORTED_MODULE_25__["default"], 25222 append: _append_js__WEBPACK_IMPORTED_MODULE_26__["default"], 25223 insert: _insert_js__WEBPACK_IMPORTED_MODULE_27__["default"], 25224 remove: _remove_js__WEBPACK_IMPORTED_MODULE_28__["default"], 25225 clone: _clone_js__WEBPACK_IMPORTED_MODULE_29__["default"], 25226 datum: _datum_js__WEBPACK_IMPORTED_MODULE_30__["default"], 25227 on: _on_js__WEBPACK_IMPORTED_MODULE_31__["default"], 25228 dispatch: _dispatch_js__WEBPACK_IMPORTED_MODULE_32__["default"], 25229 [Symbol.iterator]: _iterator_js__WEBPACK_IMPORTED_MODULE_33__["default"] 25230}; 25231 25232/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (selection); 25233 25234 25235/***/ }), 25236
vendor: 1,446 bytes, lines 25237-25266
25237/***/ "./node_modules/d3-selection/src/selection/insert.js": 25238/*!***********************************************************!*\ 25239 !*** ./node_modules/d3-selection/src/selection/insert.js ***! 25240 \***********************************************************/ 25241/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25242 25243__webpack_require__.r(__webpack_exports__); 25244/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25245/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25246/* harmony export */ }); 25247/* harmony import */ var _creator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../creator.js */ "./node_modules/d3-selection/src/creator.js"); 25248/* harmony import */ var _selector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selector.js */ "./node_modules/d3-selection/src/selector.js"); 25249 25250 25251 25252function constantNull() { 25253 return null; 25254} 25255 25256/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, before) { 25257 var create = typeof name === "function" ? name : (0,_creator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(name), 25258 select = before == null ? constantNull : typeof before === "function" ? before : (0,_selector_js__WEBPACK_IMPORTED_MODULE_1__["default"])(before); 25259 return this.select(function() { 25260 return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null); 25261 }); 25262} 25263 25264 25265/***/ }), 25266
vendor: 874 bytes, lines 25267-25287
25267/***/ "./node_modules/d3-selection/src/selection/iterator.js": 25268/*!*************************************************************!*\ 25269 !*** ./node_modules/d3-selection/src/selection/iterator.js ***! 25270 \*************************************************************/ 25271/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25272 25273__webpack_require__.r(__webpack_exports__); 25274/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25275/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25276/* harmony export */ }); 25277/* harmony default export */ function* __WEBPACK_DEFAULT_EXPORT__() { 25278 for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) { 25279 for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) { 25280 if (node = group[i]) yield node; 25281 } 25282 } 25283} 25284 25285 25286/***/ }), 25287
vendor: 1,136 bytes, lines 25288-25316
25288/***/ "./node_modules/d3-selection/src/selection/join.js": 25289/*!*********************************************************!*\ 25290 !*** ./node_modules/d3-selection/src/selection/join.js ***! 25291 \*********************************************************/ 25292/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25293 25294__webpack_require__.r(__webpack_exports__); 25295/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25296/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25297/* harmony export */ }); 25298/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(onenter, onupdate, onexit) { 25299 var enter = this.enter(), update = this, exit = this.exit(); 25300 if (typeof onenter === "function") { 25301 enter = onenter(enter); 25302 if (enter) enter = enter.selection(); 25303 } else { 25304 enter = enter.append(onenter + ""); 25305 } 25306 if (onupdate != null) { 25307 update = onupdate(update); 25308 if (update) update = update.selection(); 25309 } 25310 if (onexit == null) exit.remove(); else onexit(exit); 25311 return enter && update ? enter.merge(update).order() : update; 25312} 25313 25314 25315/***/ }), 25316
vendor: 802 bytes, lines 25317-25337
25317/***/ "./node_modules/d3-selection/src/selection/lower.js": 25318/*!**********************************************************!*\ 25319 !*** ./node_modules/d3-selection/src/selection/lower.js ***! 25320 \**********************************************************/ 25321/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25322 25323__webpack_require__.r(__webpack_exports__); 25324/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25325/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25326/* harmony export */ }); 25327function lower() { 25328 if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild); 25329} 25330 25331/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 25332 return this.each(lower); 25333} 25334 25335 25336/***/ }), 25337
vendor: 1,437 bytes, lines 25338-25371
25338/***/ "./node_modules/d3-selection/src/selection/merge.js": 25339/*!**********************************************************!*\ 25340 !*** ./node_modules/d3-selection/src/selection/merge.js ***! 25341 \**********************************************************/ 25342/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25343 25344__webpack_require__.r(__webpack_exports__); 25345/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25346/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25347/* harmony export */ }); 25348/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-selection/src/selection/index.js"); 25349 25350 25351/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(context) { 25352 var selection = context.selection ? context.selection() : context; 25353 25354 for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) { 25355 for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) { 25356 if (node = group0[i] || group1[i]) { 25357 merge[i] = node; 25358 } 25359 } 25360 } 25361 25362 for (; j < m0; ++j) { 25363 merges[j] = groups0[j]; 25364 } 25365 25366 return new _index_js__WEBPACK_IMPORTED_MODULE_0__.Selection(merges, this._parents); 25367} 25368 25369 25370/***/ }), 25371
vendor: 885 bytes, lines 25372-25396
25372/***/ "./node_modules/d3-selection/src/selection/node.js": 25373/*!*********************************************************!*\ 25374 !*** ./node_modules/d3-selection/src/selection/node.js ***! 25375 \*********************************************************/ 25376/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25377 25378__webpack_require__.r(__webpack_exports__); 25379/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25380/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25381/* harmony export */ }); 25382/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 25383 25384 for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) { 25385 for (var group = groups[j], i = 0, n = group.length; i < n; ++i) { 25386 var node = group[i]; 25387 if (node) return node; 25388 } 25389 } 25390 25391 return null; 25392} 25393 25394 25395/***/ }), 25396
vendor: 688 bytes, lines 25397-25413
25397/***/ "./node_modules/d3-selection/src/selection/nodes.js": 25398/*!**********************************************************!*\ 25399 !*** ./node_modules/d3-selection/src/selection/nodes.js ***! 25400 \**********************************************************/ 25401/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25402 25403__webpack_require__.r(__webpack_exports__); 25404/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25405/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25406/* harmony export */ }); 25407/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 25408 return Array.from(this); 25409} 25410 25411 25412/***/ }), 25413
vendor: 2,646 bytes, lines 25414-25494
25414/***/ "./node_modules/d3-selection/src/selection/on.js": 25415/*!*******************************************************!*\ 25416 !*** ./node_modules/d3-selection/src/selection/on.js ***! 25417 \*******************************************************/ 25418/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25419 25420__webpack_require__.r(__webpack_exports__); 25421/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25422/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25423/* harmony export */ }); 25424function contextListener(listener) { 25425 return function(event) { 25426 listener.call(this, event, this.__data__); 25427 }; 25428} 25429 25430function parseTypenames(typenames) { 25431 return typenames.trim().split(/^|\s+/).map(function(t) { 25432 var name = "", i = t.indexOf("."); 25433 if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i); 25434 return {type: t, name: name}; 25435 }); 25436} 25437 25438function onRemove(typename) { 25439 return function() { 25440 var on = this.__on; 25441 if (!on) return; 25442 for (var j = 0, i = -1, m = on.length, o; j < m; ++j) { 25443 if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) { 25444 this.removeEventListener(o.type, o.listener, o.options); 25445 } else { 25446 on[++i] = o; 25447 } 25448 } 25449 if (++i) on.length = i; 25450 else delete this.__on; 25451 }; 25452} 25453 25454function onAdd(typename, value, options) { 25455 return function() { 25456 var on = this.__on, o, listener = contextListener(value); 25457 if (on) for (var j = 0, m = on.length; j < m; ++j) { 25458 if ((o = on[j]).type === typename.type && o.name === typename.name) { 25459 this.removeEventListener(o.type, o.listener, o.options); 25460 this.addEventListener(o.type, o.listener = listener, o.options = options); 25461 o.value = value; 25462 return; 25463 } 25464 } 25465 this.addEventListener(typename.type, listener, options); 25466 o = {type: typename.type, name: typename.name, value: value, listener: listener, options: options}; 25467 if (!on) this.__on = [o]; 25468 else on.push(o); 25469 }; 25470} 25471 25472/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(typename, value, options) { 25473 var typenames = parseTypenames(typename + ""), i, n = typenames.length, t; 25474 25475 if (arguments.length < 2) { 25476 var on = this.node().__on; 25477 if (on) for (var j = 0, m = on.length, o; j < m; ++j) { 25478 for (i = 0, o = on[j]; i < n; ++i) { 25479 if ((t = typenames[i]).type === o.type && t.name === o.name) { 25480 return o.value; 25481 } 25482 } 25483 } 25484 return; 25485 } 25486 25487 on = value ? onAdd : onRemove; 25488 for (i = 0; i < n; ++i) this.each(on(typenames[i], value, options)); 25489 return this; 25490} 25491 25492 25493/***/ }), 25494
vendor: 1,011 bytes, lines 25495-25521
25495/***/ "./node_modules/d3-selection/src/selection/order.js": 25496/*!**********************************************************!*\ 25497 !*** ./node_modules/d3-selection/src/selection/order.js ***! 25498 \**********************************************************/ 25499/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25500 25501__webpack_require__.r(__webpack_exports__); 25502/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25503/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25504/* harmony export */ }); 25505/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 25506 25507 for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) { 25508 for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) { 25509 if (node = group[i]) { 25510 if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next); 25511 next = node; 25512 } 25513 } 25514 } 25515 25516 return this; 25517} 25518 25519 25520/***/ }), 25521
vendor: 1,260 bytes, lines 25522-25563
25522/***/ "./node_modules/d3-selection/src/selection/property.js": 25523/*!*************************************************************!*\ 25524 !*** ./node_modules/d3-selection/src/selection/property.js ***! 25525 \*************************************************************/ 25526/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25527 25528__webpack_require__.r(__webpack_exports__); 25529/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25530/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25531/* harmony export */ }); 25532function propertyRemove(name) { 25533 return function() { 25534 delete this[name]; 25535 }; 25536} 25537 25538function propertyConstant(name, value) { 25539 return function() { 25540 this[name] = value; 25541 }; 25542} 25543 25544function propertyFunction(name, value) { 25545 return function() { 25546 var v = value.apply(this, arguments); 25547 if (v == null) delete this[name]; 25548 else this[name] = v; 25549 }; 25550} 25551 25552/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value) { 25553 return arguments.length > 1 25554 ? this.each((value == null 25555 ? propertyRemove : typeof value === "function" 25556 ? propertyFunction 25557 : propertyConstant)(name, value)) 25558 : this.node()[name]; 25559} 25560 25561 25562/***/ }), 25563
vendor: 769 bytes, lines 25564-25584
25564/***/ "./node_modules/d3-selection/src/selection/raise.js": 25565/*!**********************************************************!*\ 25566 !*** ./node_modules/d3-selection/src/selection/raise.js ***! 25567 \**********************************************************/ 25568/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25569 25570__webpack_require__.r(__webpack_exports__); 25571/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25572/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25573/* harmony export */ }); 25574function raise() { 25575 if (this.nextSibling) this.parentNode.appendChild(this); 25576} 25577 25578/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 25579 return this.each(raise); 25580} 25581 25582 25583/***/ }), 25584
vendor: 788 bytes, lines 25585-25606
25585/***/ "./node_modules/d3-selection/src/selection/remove.js": 25586/*!***********************************************************!*\ 25587 !*** ./node_modules/d3-selection/src/selection/remove.js ***! 25588 \***********************************************************/ 25589/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25590 25591__webpack_require__.r(__webpack_exports__); 25592/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25593/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25594/* harmony export */ }); 25595function remove() { 25596 var parent = this.parentNode; 25597 if (parent) parent.removeChild(this); 25598} 25599 25600/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 25601 return this.each(remove); 25602} 25603 25604 25605/***/ }), 25606
vendor: 1,624 bytes, lines 25607-25639
25607/***/ "./node_modules/d3-selection/src/selection/select.js": 25608/*!***********************************************************!*\ 25609 !*** ./node_modules/d3-selection/src/selection/select.js ***! 25610 \***********************************************************/ 25611/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25612 25613__webpack_require__.r(__webpack_exports__); 25614/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25615/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25616/* harmony export */ }); 25617/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-selection/src/selection/index.js"); 25618/* harmony import */ var _selector_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../selector.js */ "./node_modules/d3-selection/src/selector.js"); 25619 25620 25621 25622/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(select) { 25623 if (typeof select !== "function") select = (0,_selector_js__WEBPACK_IMPORTED_MODULE_0__["default"])(select); 25624 25625 for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) { 25626 for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) { 25627 if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) { 25628 if ("__data__" in node) subnode.__data__ = node.__data__; 25629 subgroup[i] = subnode; 25630 } 25631 } 25632 } 25633 25634 return new _index_js__WEBPACK_IMPORTED_MODULE_1__.Selection(subgroups, this._parents); 25635} 25636 25637 25638/***/ }), 25639
vendor: 1,876 bytes, lines 25640-25681
25640/***/ "./node_modules/d3-selection/src/selection/selectAll.js": 25641/*!**************************************************************!*\ 25642 !*** ./node_modules/d3-selection/src/selection/selectAll.js ***! 25643 \**************************************************************/ 25644/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25645 25646__webpack_require__.r(__webpack_exports__); 25647/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25648/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25649/* harmony export */ }); 25650/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-selection/src/selection/index.js"); 25651/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../array.js */ "./node_modules/d3-selection/src/array.js"); 25652/* harmony import */ var _selectorAll_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selectorAll.js */ "./node_modules/d3-selection/src/selectorAll.js"); 25653 25654 25655 25656 25657function arrayAll(select) { 25658 return function() { 25659 return (0,_array_js__WEBPACK_IMPORTED_MODULE_0__["default"])(select.apply(this, arguments)); 25660 }; 25661} 25662 25663/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(select) { 25664 if (typeof select === "function") select = arrayAll(select); 25665 else select = (0,_selectorAll_js__WEBPACK_IMPORTED_MODULE_1__["default"])(select); 25666 25667 for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) { 25668 for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) { 25669 if (node = group[i]) { 25670 subgroups.push(select.call(node, node.__data__, i, group)); 25671 parents.push(node); 25672 } 25673 } 25674 } 25675 25676 return new _index_js__WEBPACK_IMPORTED_MODULE_2__.Selection(subgroups, parents); 25677} 25678 25679 25680/***/ }), 25681
vendor: 1,216 bytes, lines 25682-25714
25682/***/ "./node_modules/d3-selection/src/selection/selectChild.js": 25683/*!****************************************************************!*\ 25684 !*** ./node_modules/d3-selection/src/selection/selectChild.js ***! 25685 \****************************************************************/ 25686/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25687 25688__webpack_require__.r(__webpack_exports__); 25689/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25690/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25691/* harmony export */ }); 25692/* harmony import */ var _matcher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../matcher.js */ "./node_modules/d3-selection/src/matcher.js"); 25693 25694 25695var find = Array.prototype.find; 25696 25697function childFind(match) { 25698 return function() { 25699 return find.call(this.children, match); 25700 }; 25701} 25702 25703function childFirst() { 25704 return this.firstElementChild; 25705} 25706 25707/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(match) { 25708 return this.select(match == null ? childFirst 25709 : childFind(typeof match === "function" ? match : (0,_matcher_js__WEBPACK_IMPORTED_MODULE_0__.childMatcher)(match))); 25710} 25711 25712 25713/***/ }), 25714
vendor: 1,246 bytes, lines 25715-25747
25715/***/ "./node_modules/d3-selection/src/selection/selectChildren.js": 25716/*!*******************************************************************!*\ 25717 !*** ./node_modules/d3-selection/src/selection/selectChildren.js ***! 25718 \*******************************************************************/ 25719/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25720 25721__webpack_require__.r(__webpack_exports__); 25722/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25723/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25724/* harmony export */ }); 25725/* harmony import */ var _matcher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../matcher.js */ "./node_modules/d3-selection/src/matcher.js"); 25726 25727 25728var filter = Array.prototype.filter; 25729 25730function children() { 25731 return Array.from(this.children); 25732} 25733 25734function childrenFilter(match) { 25735 return function() { 25736 return filter.call(this.children, match); 25737 }; 25738} 25739 25740/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(match) { 25741 return this.selectAll(match == null ? children 25742 : childrenFilter(typeof match === "function" ? match : (0,_matcher_js__WEBPACK_IMPORTED_MODULE_0__.childMatcher)(match))); 25743} 25744 25745 25746/***/ }), 25747
vendor: 761 bytes, lines 25748-25766
25748/***/ "./node_modules/d3-selection/src/selection/size.js": 25749/*!*********************************************************!*\ 25750 !*** ./node_modules/d3-selection/src/selection/size.js ***! 25751 \*********************************************************/ 25752/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25753 25754__webpack_require__.r(__webpack_exports__); 25755/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25756/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25757/* harmony export */ }); 25758/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 25759 let size = 0; 25760 for (const node of this) ++size; // eslint-disable-line no-unused-vars 25761 return size; 25762} 25763 25764 25765/***/ }), 25766
vendor: 1,472 bytes, lines 25767-25805
25767/***/ "./node_modules/d3-selection/src/selection/sort.js": 25768/*!*********************************************************!*\ 25769 !*** ./node_modules/d3-selection/src/selection/sort.js ***! 25770 \*********************************************************/ 25771/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25772 25773__webpack_require__.r(__webpack_exports__); 25774/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25775/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25776/* harmony export */ }); 25777/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-selection/src/selection/index.js"); 25778 25779 25780/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(compare) { 25781 if (!compare) compare = ascending; 25782 25783 function compareNode(a, b) { 25784 return a && b ? compare(a.__data__, b.__data__) : !a - !b; 25785 } 25786 25787 for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) { 25788 for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) { 25789 if (node = group[i]) { 25790 sortgroup[i] = node; 25791 } 25792 } 25793 sortgroup.sort(compareNode); 25794 } 25795 25796 return new _index_js__WEBPACK_IMPORTED_MODULE_0__.Selection(sortgroups, this._parents).order(); 25797} 25798 25799function ascending(a, b) { 25800 return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; 25801} 25802 25803 25804/***/ }), 25805
vendor: 706 bytes, lines 25806-25822
25806/***/ "./node_modules/d3-selection/src/selection/sparse.js": 25807/*!***********************************************************!*\ 25808 !*** ./node_modules/d3-selection/src/selection/sparse.js ***! 25809 \***********************************************************/ 25810/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25811 25812__webpack_require__.r(__webpack_exports__); 25813/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25814/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25815/* harmony export */ }); 25816/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(update) { 25817 return new Array(update.length); 25818} 25819 25820 25821/***/ }), 25822
vendor: 1,821 bytes, lines 25823-25873
25823/***/ "./node_modules/d3-selection/src/selection/style.js": 25824/*!**********************************************************!*\ 25825 !*** ./node_modules/d3-selection/src/selection/style.js ***! 25826 \**********************************************************/ 25827/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25828 25829__webpack_require__.r(__webpack_exports__); 25830/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25831/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 25832/* harmony export */ styleValue: () => (/* binding */ styleValue) 25833/* harmony export */ }); 25834/* harmony import */ var _window_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../window.js */ "./node_modules/d3-selection/src/window.js"); 25835 25836 25837function styleRemove(name) { 25838 return function() { 25839 this.style.removeProperty(name); 25840 }; 25841} 25842 25843function styleConstant(name, value, priority) { 25844 return function() { 25845 this.style.setProperty(name, value, priority); 25846 }; 25847} 25848 25849function styleFunction(name, value, priority) { 25850 return function() { 25851 var v = value.apply(this, arguments); 25852 if (v == null) this.style.removeProperty(name); 25853 else this.style.setProperty(name, v, priority); 25854 }; 25855} 25856 25857/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value, priority) { 25858 return arguments.length > 1 25859 ? this.each((value == null 25860 ? styleRemove : typeof value === "function" 25861 ? styleFunction 25862 : styleConstant)(name, value, priority == null ? "" : priority)) 25863 : styleValue(this.node(), name); 25864} 25865 25866function styleValue(node, name) { 25867 return node.style.getPropertyValue(name) 25868 || (0,_window_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).getComputedStyle(node, null).getPropertyValue(name); 25869} 25870 25871 25872/***/ }), 25873
vendor: 1,155 bytes, lines 25874-25912
25874/***/ "./node_modules/d3-selection/src/selection/text.js": 25875/*!*********************************************************!*\ 25876 !*** ./node_modules/d3-selection/src/selection/text.js ***! 25877 \*********************************************************/ 25878/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25879 25880__webpack_require__.r(__webpack_exports__); 25881/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25882/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25883/* harmony export */ }); 25884function textRemove() { 25885 this.textContent = ""; 25886} 25887 25888function textConstant(value) { 25889 return function() { 25890 this.textContent = value; 25891 }; 25892} 25893 25894function textFunction(value) { 25895 return function() { 25896 var v = value.apply(this, arguments); 25897 this.textContent = v == null ? "" : v; 25898 }; 25899} 25900 25901/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 25902 return arguments.length 25903 ? this.each(value == null 25904 ? textRemove : (typeof value === "function" 25905 ? textFunction 25906 : textConstant)(value)) 25907 : this.node().textContent; 25908} 25909 25910 25911/***/ }), 25912
vendor: 755 bytes, lines 25913-25933
25913/***/ "./node_modules/d3-selection/src/selector.js": 25914/*!***************************************************!*\ 25915 !*** ./node_modules/d3-selection/src/selector.js ***! 25916 \***************************************************/ 25917/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25918 25919__webpack_require__.r(__webpack_exports__); 25920/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25921/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25922/* harmony export */ }); 25923function none() {} 25924 25925/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(selector) { 25926 return selector == null ? none : function() { 25927 return this.querySelector(selector); 25928 }; 25929} 25930 25931 25932/***/ }), 25933
vendor: 786 bytes, lines 25934-25956
25934/***/ "./node_modules/d3-selection/src/selectorAll.js": 25935/*!******************************************************!*\ 25936 !*** ./node_modules/d3-selection/src/selectorAll.js ***! 25937 \******************************************************/ 25938/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25939 25940__webpack_require__.r(__webpack_exports__); 25941/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25942/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25943/* harmony export */ }); 25944function empty() { 25945 return []; 25946} 25947 25948/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(selector) { 25949 return selector == null ? empty : function() { 25950 return this.querySelectorAll(selector); 25951 }; 25952} 25953 25954 25955/***/ }), 25956
vendor: 748 bytes, lines 25957-25975
25957/***/ "./node_modules/d3-selection/src/sourceEvent.js": 25958/*!******************************************************!*\ 25959 !*** ./node_modules/d3-selection/src/sourceEvent.js ***! 25960 \******************************************************/ 25961/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25962 25963__webpack_require__.r(__webpack_exports__); 25964/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25965/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25966/* harmony export */ }); 25967/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(event) { 25968 let sourceEvent; 25969 while (sourceEvent = event.sourceEvent) event = sourceEvent; 25970 return event; 25971} 25972 25973 25974/***/ }), 25975
vendor: 813 bytes, lines 25976-25994
25976/***/ "./node_modules/d3-selection/src/window.js": 25977/*!*************************************************!*\ 25978 !*** ./node_modules/d3-selection/src/window.js ***! 25979 \*************************************************/ 25980/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25981 25982__webpack_require__.r(__webpack_exports__); 25983/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25984/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 25985/* harmony export */ }); 25986/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(node) { 25987 return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node 25988 || (node.document && node) // node is a Window 25989 || node.defaultView; // node is a Document 25990} 25991 25992 25993/***/ }), 25994
vendor: 12,840 bytes, lines 25995-26279
25995/***/ "./node_modules/d3-shape/src/arc.js": 25996/*!******************************************!*\ 25997 !*** ./node_modules/d3-shape/src/arc.js ***! 25998 \******************************************/ 25999/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26000 26001__webpack_require__.r(__webpack_exports__); 26002/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26003/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 26004/* harmony export */ }); 26005/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-shape/src/constant.js"); 26006/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-shape/src/math.js"); 26007/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-shape/src/path.js"); 26008 26009 26010 26011 26012function arcInnerRadius(d) { 26013 return d.innerRadius; 26014} 26015 26016function arcOuterRadius(d) { 26017 return d.outerRadius; 26018} 26019 26020function arcStartAngle(d) { 26021 return d.startAngle; 26022} 26023 26024function arcEndAngle(d) { 26025 return d.endAngle; 26026} 26027 26028function arcPadAngle(d) { 26029 return d && d.padAngle; // Note: optional! 26030} 26031 26032function intersect(x0, y0, x1, y1, x2, y2, x3, y3) { 26033 var x10 = x1 - x0, y10 = y1 - y0, 26034 x32 = x3 - x2, y32 = y3 - y2, 26035 t = y32 * x10 - x32 * y10; 26036 if (t * t < _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) return; 26037 t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t; 26038 return [x0 + t * x10, y0 + t * y10]; 26039} 26040 26041// Compute perpendicular offset line of length rc. 26042// http://mathworld.wolfram.com/Circle-LineIntersection.html 26043function cornerTangents(x0, y0, x1, y1, r1, rc, cw) { 26044 var x01 = x0 - x1, 26045 y01 = y0 - y1, 26046 lo = (cw ? rc : -rc) / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(x01 * x01 + y01 * y01), 26047 ox = lo * y01, 26048 oy = -lo * x01, 26049 x11 = x0 + ox, 26050 y11 = y0 + oy, 26051 x10 = x1 + ox, 26052 y10 = y1 + oy, 26053 x00 = (x11 + x10) / 2, 26054 y00 = (y11 + y10) / 2, 26055 dx = x10 - x11, 26056 dy = y10 - y11, 26057 d2 = dx * dx + dy * dy, 26058 r = r1 - rc, 26059 D = x11 * y10 - x10 * y11, 26060 d = (dy < 0 ? -1 : 1) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.max)(0, r * r * d2 - D * D)), 26061 cx0 = (D * dy - dx * d) / d2, 26062 cy0 = (-D * dx - dy * d) / d2, 26063 cx1 = (D * dy + dx * d) / d2, 26064 cy1 = (-D * dx + dy * d) / d2, 26065 dx0 = cx0 - x00, 26066 dy0 = cy0 - y00, 26067 dx1 = cx1 - x00, 26068 dy1 = cy1 - y00; 26069 26070 // Pick the closer of the two intersection points. 26071 // TODO Is there a faster way to determine which intersection to use? 26072 if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) cx0 = cx1, cy0 = cy1; 26073 26074 return { 26075 cx: cx0, 26076 cy: cy0, 26077 x01: -ox, 26078 y01: -oy, 26079 x11: cx0 * (r1 / r - 1), 26080 y11: cy0 * (r1 / r - 1) 26081 }; 26082} 26083 26084/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 26085 var innerRadius = arcInnerRadius, 26086 outerRadius = arcOuterRadius, 26087 cornerRadius = (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(0), 26088 padRadius = null, 26089 startAngle = arcStartAngle, 26090 endAngle = arcEndAngle, 26091 padAngle = arcPadAngle, 26092 context = null, 26093 path = (0,_path_js__WEBPACK_IMPORTED_MODULE_2__.withPath)(arc); 26094 26095 function arc() { 26096 var buffer, 26097 r, 26098 r0 = +innerRadius.apply(this, arguments), 26099 r1 = +outerRadius.apply(this, arguments), 26100 a0 = startAngle.apply(this, arguments) - _math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi, 26101 a1 = endAngle.apply(this, arguments) - _math_js__WEBPACK_IMPORTED_MODULE_0__.halfPi, 26102 da = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(a1 - a0), 26103 cw = a1 > a0; 26104 26105 if (!context) context = buffer = path(); 26106 26107 // Ensure that the outer radius is always larger than the inner radius. 26108 if (r1 < r0) r = r1, r1 = r0, r0 = r; 26109 26110 // Is it a point? 26111 if (!(r1 > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon)) context.moveTo(0, 0); 26112 26113 // Or is it a circle or annulus? 26114 else if (da > _math_js__WEBPACK_IMPORTED_MODULE_0__.tau - _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { 26115 context.moveTo(r1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(a0), r1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(a0)); 26116 context.arc(0, 0, r1, a0, a1, !cw); 26117 if (r0 > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { 26118 context.moveTo(r0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(a1), r0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(a1)); 26119 context.arc(0, 0, r0, a1, a0, cw); 26120 } 26121 } 26122 26123 // Or is it a circular or annular sector? 26124 else { 26125 var a01 = a0, 26126 a11 = a1, 26127 a00 = a0, 26128 a10 = a1, 26129 da0 = da, 26130 da1 = da, 26131 ap = padAngle.apply(this, arguments) / 2, 26132 rp = (ap > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) && (padRadius ? +padRadius.apply(this, arguments) : (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(r0 * r0 + r1 * r1)), 26133 rc = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.abs)(r1 - r0) / 2, +cornerRadius.apply(this, arguments)), 26134 rc0 = rc, 26135 rc1 = rc, 26136 t0, 26137 t1; 26138 26139 // Apply padding? Note that since r1 ⥠r0, da1 ⥠da0. 26140 if (rp > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { 26141 var p0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(rp / r0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(ap)), 26142 p1 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.asin)(rp / r1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(ap)); 26143 if ((da0 -= p0 * 2) > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0; 26144 else da0 = 0, a00 = a10 = (a0 + a1) / 2; 26145 if ((da1 -= p1 * 2) > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1; 26146 else da1 = 0, a01 = a11 = (a0 + a1) / 2; 26147 } 26148 26149 var x01 = r1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(a01), 26150 y01 = r1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(a01), 26151 x10 = r0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(a10), 26152 y10 = r0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(a10); 26153 26154 // Apply rounded corners? 26155 if (rc > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { 26156 var x11 = r1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(a11), 26157 y11 = r1 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(a11), 26158 x00 = r0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(a00), 26159 y00 = r0 * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(a00), 26160 oc; 26161 26162 // Restrict the corner radius according to the sector angle. If this 26163 // intersection fails, itâs probably because the arc is too small, so 26164 // disable the corner radius entirely. 26165 if (da < _math_js__WEBPACK_IMPORTED_MODULE_0__.pi) { 26166 if (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10)) { 26167 var ax = x01 - oc[0], 26168 ay = y01 - oc[1], 26169 bx = x11 - oc[0], 26170 by = y11 - oc[1], 26171 kc = 1 / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.acos)((ax * bx + ay * by) / ((0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(ax * ax + ay * ay) * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(bx * bx + by * by))) / 2), 26172 lc = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(oc[0] * oc[0] + oc[1] * oc[1]); 26173 rc0 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(rc, (r0 - lc) / (kc - 1)); 26174 rc1 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(rc, (r1 - lc) / (kc + 1)); 26175 } else { 26176 rc0 = rc1 = 0; 26177 } 26178 } 26179 } 26180 26181 // Is the sector collapsed to a line? 26182 if (!(da1 > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon)) context.moveTo(x01, y01); 26183 26184 // Does the sectorâs outer ring have rounded corners? 26185 else if (rc1 > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { 26186 t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw); 26187 t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw); 26188 26189 context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01); 26190 26191 // Have the corners merged? 26192 if (rc1 < rc) context.arc(t0.cx, t0.cy, rc1, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t0.y01, t0.x01), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t1.y01, t1.x01), !cw); 26193 26194 // Otherwise, draw the two corners and the ring. 26195 else { 26196 context.arc(t0.cx, t0.cy, rc1, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t0.y01, t0.x01), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t0.y11, t0.x11), !cw); 26197 context.arc(0, 0, r1, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t0.cy + t0.y11, t0.cx + t0.x11), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t1.cy + t1.y11, t1.cx + t1.x11), !cw); 26198 context.arc(t1.cx, t1.cy, rc1, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t1.y11, t1.x11), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t1.y01, t1.x01), !cw); 26199 } 26200 } 26201 26202 // Or is the outer ring just a circular arc? 26203 else context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw); 26204 26205 // Is there no inner ring, and itâs a circular sector? 26206 // Or perhaps itâs an annular sector collapsed due to padding? 26207 if (!(r0 > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) || !(da0 > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon)) context.lineTo(x10, y10); 26208 26209 // Does the sectorâs inner ring (or point) have rounded corners? 26210 else if (rc0 > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { 26211 t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw); 26212 t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw); 26213 26214 context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01); 26215 26216 // Have the corners merged? 26217 if (rc0 < rc) context.arc(t0.cx, t0.cy, rc0, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t0.y01, t0.x01), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t1.y01, t1.x01), !cw); 26218 26219 // Otherwise, draw the two corners and the ring. 26220 else { 26221 context.arc(t0.cx, t0.cy, rc0, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t0.y01, t0.x01), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t0.y11, t0.x11), !cw); 26222 context.arc(0, 0, r0, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t0.cy + t0.y11, t0.cx + t0.x11), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t1.cy + t1.y11, t1.cx + t1.x11), cw); 26223 context.arc(t1.cx, t1.cy, rc0, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t1.y11, t1.x11), (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.atan2)(t1.y01, t1.x01), !cw); 26224 } 26225 } 26226 26227 // Or is the inner ring just a circular arc? 26228 else context.arc(0, 0, r0, a10, a00, cw); 26229 } 26230 26231 context.closePath(); 26232 26233 if (buffer) return context = null, buffer + "" || null; 26234 } 26235 26236 arc.centroid = function() { 26237 var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2, 26238 a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - _math_js__WEBPACK_IMPORTED_MODULE_0__.pi / 2; 26239 return [(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(a) * r, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(a) * r]; 26240 }; 26241 26242 arc.innerRadius = function(_) { 26243 return arguments.length ? (innerRadius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : innerRadius; 26244 }; 26245 26246 arc.outerRadius = function(_) { 26247 return arguments.length ? (outerRadius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : outerRadius; 26248 }; 26249 26250 arc.cornerRadius = function(_) { 26251 return arguments.length ? (cornerRadius = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : cornerRadius; 26252 }; 26253 26254 arc.padRadius = function(_) { 26255 return arguments.length ? (padRadius = _ == null ? null : typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : padRadius; 26256 }; 26257 26258 arc.startAngle = function(_) { 26259 return arguments.length ? (startAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : startAngle; 26260 }; 26261 26262 arc.endAngle = function(_) { 26263 return arguments.length ? (endAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : endAngle; 26264 }; 26265 26266 arc.padAngle = function(_) { 26267 return arguments.length ? (padAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : padAngle; 26268 }; 26269 26270 arc.context = function(_) { 26271 return arguments.length ? ((context = _ == null ? null : _), arc) : context; 26272 }; 26273 26274 return arc; 26275} 26276 26277 26278/***/ }), 26279
vendor: 5,282 bytes, lines 26280-26411
26280/***/ "./node_modules/d3-shape/src/area.js": 26281/*!*******************************************!*\ 26282 !*** ./node_modules/d3-shape/src/area.js ***! 26283 \*******************************************/ 26284/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26285 26286__webpack_require__.r(__webpack_exports__); 26287/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26288/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 26289/* harmony export */ }); 26290/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-shape/src/array.js"); 26291/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-shape/src/constant.js"); 26292/* harmony import */ var _curve_linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./curve/linear.js */ "./node_modules/d3-shape/src/curve/linear.js"); 26293/* harmony import */ var _line_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./line.js */ "./node_modules/d3-shape/src/line.js"); 26294/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-shape/src/path.js"); 26295/* harmony import */ var _point_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./point.js */ "./node_modules/d3-shape/src/point.js"); 26296 26297 26298 26299 26300 26301 26302 26303/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x0, y0, y1) { 26304 var x1 = null, 26305 defined = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(true), 26306 context = null, 26307 curve = _curve_linear_js__WEBPACK_IMPORTED_MODULE_1__["default"], 26308 output = null, 26309 path = (0,_path_js__WEBPACK_IMPORTED_MODULE_2__.withPath)(area); 26310 26311 x0 = typeof x0 === "function" ? x0 : (x0 === undefined) ? _point_js__WEBPACK_IMPORTED_MODULE_3__.x : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+x0); 26312 y0 = typeof y0 === "function" ? y0 : (y0 === undefined) ? (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+y0); 26313 y1 = typeof y1 === "function" ? y1 : (y1 === undefined) ? _point_js__WEBPACK_IMPORTED_MODULE_3__.y : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+y1); 26314 26315 function area(data) { 26316 var i, 26317 j, 26318 k, 26319 n = (data = (0,_array_js__WEBPACK_IMPORTED_MODULE_4__["default"])(data)).length, 26320 d, 26321 defined0 = false, 26322 buffer, 26323 x0z = new Array(n), 26324 y0z = new Array(n); 26325 26326 if (context == null) output = curve(buffer = path()); 26327 26328 for (i = 0; i <= n; ++i) { 26329 if (!(i < n && defined(d = data[i], i, data)) === defined0) { 26330 if (defined0 = !defined0) { 26331 j = i; 26332 output.areaStart(); 26333 output.lineStart(); 26334 } else { 26335 output.lineEnd(); 26336 output.lineStart(); 26337 for (k = i - 1; k >= j; --k) { 26338 output.point(x0z[k], y0z[k]); 26339 } 26340 output.lineEnd(); 26341 output.areaEnd(); 26342 } 26343 } 26344 if (defined0) { 26345 x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data); 26346 output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]); 26347 } 26348 } 26349 26350 if (buffer) return output = null, buffer + "" || null; 26351 } 26352 26353 function arealine() { 26354 return (0,_line_js__WEBPACK_IMPORTED_MODULE_5__["default"])().defined(defined).curve(curve).context(context); 26355 } 26356 26357 area.x = function(_) { 26358 return arguments.length ? (x0 = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), x1 = null, area) : x0; 26359 }; 26360 26361 area.x0 = function(_) { 26362 return arguments.length ? (x0 = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), area) : x0; 26363 }; 26364 26365 area.x1 = function(_) { 26366 return arguments.length ? (x1 = _ == null ? null : typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), area) : x1; 26367 }; 26368 26369 area.y = function(_) { 26370 return arguments.length ? (y0 = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), y1 = null, area) : y0; 26371 }; 26372 26373 area.y0 = function(_) { 26374 return arguments.length ? (y0 = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), area) : y0; 26375 }; 26376 26377 area.y1 = function(_) { 26378 return arguments.length ? (y1 = _ == null ? null : typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), area) : y1; 26379 }; 26380 26381 area.lineX0 = 26382 area.lineY0 = function() { 26383 return arealine().x(x0).y(y0); 26384 }; 26385 26386 area.lineY1 = function() { 26387 return arealine().x(x0).y(y1); 26388 }; 26389 26390 area.lineX1 = function() { 26391 return arealine().x(x1).y(y0); 26392 }; 26393 26394 area.defined = function(_) { 26395 return arguments.length ? (defined = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(!!_), area) : defined; 26396 }; 26397 26398 area.curve = function(_) { 26399 return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve; 26400 }; 26401 26402 area.context = function(_) { 26403 return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context; 26404 }; 26405 26406 return area; 26407} 26408 26409 26410/***/ }), 26411
vendor: 2,205 bytes, lines 26412-26457
26412/***/ "./node_modules/d3-shape/src/areaRadial.js": 26413/*!*************************************************!*\ 26414 !*** ./node_modules/d3-shape/src/areaRadial.js ***! 26415 \*************************************************/ 26416/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26417 26418__webpack_require__.r(__webpack_exports__); 26419/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26420/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 26421/* harmony export */ }); 26422/* harmony import */ var _curve_radial_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./curve/radial.js */ "./node_modules/d3-shape/src/curve/radial.js"); 26423/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./area.js */ "./node_modules/d3-shape/src/area.js"); 26424/* harmony import */ var _lineRadial_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./lineRadial.js */ "./node_modules/d3-shape/src/lineRadial.js"); 26425 26426 26427 26428 26429/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 26430 var a = (0,_area_js__WEBPACK_IMPORTED_MODULE_0__["default"])().curve(_curve_radial_js__WEBPACK_IMPORTED_MODULE_1__.curveRadialLinear), 26431 c = a.curve, 26432 x0 = a.lineX0, 26433 x1 = a.lineX1, 26434 y0 = a.lineY0, 26435 y1 = a.lineY1; 26436 26437 a.angle = a.x, delete a.x; 26438 a.startAngle = a.x0, delete a.x0; 26439 a.endAngle = a.x1, delete a.x1; 26440 a.radius = a.y, delete a.y; 26441 a.innerRadius = a.y0, delete a.y0; 26442 a.outerRadius = a.y1, delete a.y1; 26443 a.lineStartAngle = function() { return (0,_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__.lineRadial)(x0()); }, delete a.lineX0; 26444 a.lineEndAngle = function() { return (0,_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__.lineRadial)(x1()); }, delete a.lineX1; 26445 a.lineInnerRadius = function() { return (0,_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__.lineRadial)(y0()); }, delete a.lineY0; 26446 a.lineOuterRadius = function() { return (0,_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__.lineRadial)(y1()); }, delete a.lineY1; 26447 26448 a.curve = function(_) { 26449 return arguments.length ? c((0,_curve_radial_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_)) : c()._curve; 26450 }; 26451 26452 return a; 26453} 26454 26455 26456/***/ }), 26457
vendor: 869 bytes, lines 26458-26479
26458/***/ "./node_modules/d3-shape/src/array.js": 26459/*!********************************************!*\ 26460 !*** ./node_modules/d3-shape/src/array.js ***! 26461 \********************************************/ 26462/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26463 26464__webpack_require__.r(__webpack_exports__); 26465/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26466/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 26467/* harmony export */ slice: () => (/* binding */ slice) 26468/* harmony export */ }); 26469var slice = Array.prototype.slice; 26470 26471/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 26472 return typeof x === "object" && "length" in x 26473 ? x // Array, TypedArray, NodeList, array-like 26474 : Array.from(x); // Map, Set, iterable, string, or anything else 26475} 26476 26477 26478/***/ }), 26479
vendor: 668 bytes, lines 26480-26498
26480/***/ "./node_modules/d3-shape/src/constant.js": 26481/*!***********************************************!*\ 26482 !*** ./node_modules/d3-shape/src/constant.js ***! 26483 \***********************************************/ 26484/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26485 26486__webpack_require__.r(__webpack_exports__); 26487/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26488/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 26489/* harmony export */ }); 26490/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) { 26491 return function constant() { 26492 return x; 26493 }; 26494} 26495 26496 26497/***/ }), 26498
vendor: 2,151 bytes, lines 26499-26565
26499/***/ "./node_modules/d3-shape/src/curve/basis.js": 26500/*!**************************************************!*\ 26501 !*** ./node_modules/d3-shape/src/curve/basis.js ***! 26502 \**************************************************/ 26503/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26504 26505__webpack_require__.r(__webpack_exports__); 26506/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26507/* harmony export */ Basis: () => (/* binding */ Basis), 26508/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 26509/* harmony export */ point: () => (/* binding */ point) 26510/* harmony export */ }); 26511function point(that, x, y) { 26512 that._context.bezierCurveTo( 26513 (2 * that._x0 + that._x1) / 3, 26514 (2 * that._y0 + that._y1) / 3, 26515 (that._x0 + 2 * that._x1) / 3, 26516 (that._y0 + 2 * that._y1) / 3, 26517 (that._x0 + 4 * that._x1 + x) / 6, 26518 (that._y0 + 4 * that._y1 + y) / 6 26519 ); 26520} 26521 26522function Basis(context) { 26523 this._context = context; 26524} 26525 26526Basis.prototype = { 26527 areaStart: function() { 26528 this._line = 0; 26529 }, 26530 areaEnd: function() { 26531 this._line = NaN; 26532 }, 26533 lineStart: function() { 26534 this._x0 = this._x1 = 26535 this._y0 = this._y1 = NaN; 26536 this._point = 0; 26537 }, 26538 lineEnd: function() { 26539 switch (this._point) { 26540 case 3: point(this, this._x1, this._y1); // falls through 26541 case 2: this._context.lineTo(this._x1, this._y1); break; 26542 } 26543 if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath(); 26544 this._line = 1 - this._line; 26545 }, 26546 point: function(x, y) { 26547 x = +x, y = +y; 26548 switch (this._point) { 26549 case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; 26550 case 1: this._point = 2; break; 26551 case 2: this._point = 3; this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // falls through 26552 default: point(this, x, y); break; 26553 } 26554 this._x0 = this._x1, this._x1 = x; 26555 this._y0 = this._y1, this._y1 = y; 26556 } 26557}; 26558 26559/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(context) { 26560 return new Basis(context); 26561} 26562 26563 26564/***/ }), 26565
vendor: 2,521 bytes, lines 26566-26633
26566/***/ "./node_modules/d3-shape/src/curve/basisClosed.js": 26567/*!********************************************************!*\ 26568 !*** ./node_modules/d3-shape/src/curve/basisClosed.js ***! 26569 \********************************************************/ 26570/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26571 26572__webpack_require__.r(__webpack_exports__); 26573/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26574/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 26575/* harmony export */ }); 26576/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-shape/src/noop.js"); 26577/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basis.js */ "./node_modules/d3-shape/src/curve/basis.js"); 26578 26579 26580 26581function BasisClosed(context) { 26582 this._context = context; 26583} 26584 26585BasisClosed.prototype = { 26586 areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 26587 areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 26588 lineStart: function() { 26589 this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = 26590 this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN; 26591 this._point = 0; 26592 }, 26593 lineEnd: function() { 26594 switch (this._point) { 26595 case 1: { 26596 this._context.moveTo(this._x2, this._y2); 26597 this._context.closePath(); 26598 break; 26599 } 26600 case 2: { 26601 this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3); 26602 this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3); 26603 this._context.closePath(); 26604 break; 26605 } 26606 case 3: { 26607 this.point(this._x2, this._y2); 26608 this.point(this._x3, this._y3); 26609 this.point(this._x4, this._y4); 26610 break; 26611 } 26612 } 26613 }, 26614 point: function(x, y) { 26615 x = +x, y = +y; 26616 switch (this._point) { 26617 case 0: this._point = 1; this._x2 = x, this._y2 = y; break; 26618 case 1: this._point = 2; this._x3 = x, this._y3 = y; break; 26619 case 2: this._point = 3; this._x4 = x, this._y4 = y; this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6); break; 26620 default: (0,_basis_js__WEBPACK_IMPORTED_MODULE_1__.point)(this, x, y); break; 26621 } 26622 this._x0 = this._x1, this._x1 = x; 26623 this._y0 = this._y1, this._y1 = y; 26624 } 26625}; 26626 26627/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(context) { 26628 return new BasisClosed(context); 26629} 26630 26631 26632/***/ }), 26633
vendor: 1,854 bytes, lines 26634-26687
26634/***/ "./node_modules/d3-shape/src/curve/basisOpen.js": 26635/*!******************************************************!*\ 26636 !*** ./node_modules/d3-shape/src/curve/basisOpen.js ***! 26637 \******************************************************/ 26638/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26639 26640__webpack_require__.r(__webpack_exports__); 26641/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26642/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 26643/* harmony export */ }); 26644/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basis.js */ "./node_modules/d3-shape/src/curve/basis.js"); 26645 26646 26647function BasisOpen(context) { 26648 this._context = context; 26649} 26650 26651BasisOpen.prototype = { 26652 areaStart: function() { 26653 this._line = 0; 26654 }, 26655 areaEnd: function() { 26656 this._line = NaN; 26657 }, 26658 lineStart: function() { 26659 this._x0 = this._x1 = 26660 this._y0 = this._y1 = NaN; 26661 this._point = 0; 26662 }, 26663 lineEnd: function() { 26664 if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath(); 26665 this._line = 1 - this._line; 26666 }, 26667 point: function(x, y) { 26668 x = +x, y = +y; 26669 switch (this._point) { 26670 case 0: this._point = 1; break; 26671 case 1: this._point = 2; break; 26672 case 2: this._point = 3; var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6; this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0); break; 26673 case 3: this._point = 4; // falls through 26674 default: (0,_basis_js__WEBPACK_IMPORTED_MODULE_0__.point)(this, x, y); break; 26675 } 26676 this._x0 = this._x1, this._x1 = x; 26677 this._y0 = this._y1, this._y1 = y; 26678 } 26679}; 26680 26681/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(context) { 26682 return new BasisOpen(context); 26683} 26684 26685 26686/***/ }), 26687
vendor: 2,682 bytes, lines 26688-26779
26688/***/ "./node_modules/d3-shape/src/curve/bump.js": 26689/*!*************************************************!*\ 26690 !*** ./node_modules/d3-shape/src/curve/bump.js ***! 26691 \*************************************************/ 26692/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26693 26694__webpack_require__.r(__webpack_exports__); 26695/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26696/* harmony export */ bumpRadial: () => (/* binding */ bumpRadial), 26697/* harmony export */ bumpX: () => (/* binding */ bumpX), 26698/* harmony export */ bumpY: () => (/* binding */ bumpY) 26699/* harmony export */ }); 26700/* harmony import */ var _pointRadial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pointRadial.js */ "./node_modules/d3-shape/src/pointRadial.js"); 26701 26702 26703class Bump { 26704 constructor(context, x) { 26705 this._context = context; 26706 this._x = x; 26707 } 26708 areaStart() { 26709 this._line = 0; 26710 } 26711 areaEnd() { 26712 this._line = NaN; 26713 } 26714 lineStart() { 26715 this._point = 0; 26716 } 26717 lineEnd() { 26718 if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath(); 26719 this._line = 1 - this._line; 26720 } 26721 point(x, y) { 26722 x = +x, y = +y; 26723 switch (this._point) { 26724 case 0: { 26725 this._point = 1; 26726 if (this._line) this._context.lineTo(x, y); 26727 else this._context.moveTo(x, y); 26728 break; 26729 } 26730 case 1: this._point = 2; // falls through 26731 default: { 26732 if (this._x) this._context.bezierCurveTo(this._x0 = (this._x0 + x) / 2, this._y0, this._x0, y, x, y); 26733 else this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + y) / 2, x, this._y0, x, y); 26734 break; 26735 } 26736 } 26737 this._x0 = x, this._y0 = y; 26738 } 26739} 26740 26741class BumpRadial { 26742 constructor(context) { 26743 this._context = context; 26744 } 26745 lineStart() { 26746 this._point = 0; 26747 } 26748 lineEnd() {} 26749 point(x, y) { 26750 x = +x, y = +y; 26751 if (this._point === 0) { 26752 this._point = 1; 26753 } else { 26754 const p0 = (0,_pointRadial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this._x0, this._y0); 26755 const p1 = (0,_pointRadial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this._x0, this._y0 = (this._y0 + y) / 2); 26756 const p2 = (0,_pointRadial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(x, this._y0); 26757 const p3 = (0,_pointRadial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(x, y); 26758 this._context.moveTo(...p0); 26759 this._context.bezierCurveTo(...p1, ...p2, ...p3); 26760 } 26761 this._x0 = x, this._y0 = y; 26762 } 26763} 26764 26765function bumpX(context) { 26766 return new Bump(context, true); 26767} 26768 26769function bumpY(context) { 26770 return new Bump(context, false); 26771} 26772 26773function bumpRadial(context) { 26774 return new BumpRadial(context); 26775} 26776 26777 26778/***/ }), 26779
vendor: 1,864 bytes, lines 26780-26850
26780/***/ "./node_modules/d3-shape/src/curve/bundle.js": 26781/*!***************************************************!*\ 26782 !*** ./node_modules/d3-shape/src/curve/bundle.js ***! 26783 \***************************************************/ 26784/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26785 26786__webpack_require__.r(__webpack_exports__); 26787/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26788/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 26789/* harmony export */ }); 26790/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basis.js */ "./node_modules/d3-shape/src/curve/basis.js"); 26791 26792 26793function Bundle(context, beta) { 26794 this._basis = new _basis_js__WEBPACK_IMPORTED_MODULE_0__.Basis(context); 26795 this._beta = beta; 26796} 26797 26798Bundle.prototype = { 26799 lineStart: function() { 26800 this._x = []; 26801 this._y = []; 26802 this._basis.lineStart(); 26803 }, 26804 lineEnd: function() { 26805 var x = this._x, 26806 y = this._y, 26807 j = x.length - 1; 26808 26809 if (j > 0) { 26810 var x0 = x[0], 26811 y0 = y[0], 26812 dx = x[j] - x0, 26813 dy = y[j] - y0, 26814 i = -1, 26815 t; 26816 26817 while (++i <= j) { 26818 t = i / j; 26819 this._basis.point( 26820 this._beta * x[i] + (1 - this._beta) * (x0 + t * dx), 26821 this._beta * y[i] + (1 - this._beta) * (y0 + t * dy) 26822 ); 26823 } 26824 } 26825 26826 this._x = this._y = null; 26827 this._basis.lineEnd(); 26828 }, 26829 point: function(x, y) { 26830 this._x.push(+x); 26831 this._y.push(+y); 26832 } 26833}; 26834 26835/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(beta) { 26836 26837 function bundle(context) { 26838 return beta === 1 ? new _basis_js__WEBPACK_IMPORTED_MODULE_0__.Basis(context) : new Bundle(context, beta); 26839 } 26840 26841 bundle.beta = function(beta) { 26842 return custom(+beta); 26843 }; 26844 26845 return bundle; 26846})(0.85)); 26847 26848 26849/***/ }), 26850
vendor: 2,341 bytes, lines 26851-26927
26851/***/ "./node_modules/d3-shape/src/curve/cardinal.js": 26852/*!*****************************************************!*\ 26853 !*** ./node_modules/d3-shape/src/curve/cardinal.js ***! 26854 \*****************************************************/ 26855/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26856 26857__webpack_require__.r(__webpack_exports__); 26858/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26859/* harmony export */ Cardinal: () => (/* binding */ Cardinal), 26860/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 26861/* harmony export */ point: () => (/* binding */ point) 26862/* harmony export */ }); 26863function point(that, x, y) { 26864 that._context.bezierCurveTo( 26865 that._x1 + that._k * (that._x2 - that._x0), 26866 that._y1 + that._k * (that._y2 - that._y0), 26867 that._x2 + that._k * (that._x1 - x), 26868 that._y2 + that._k * (that._y1 - y), 26869 that._x2, 26870 that._y2 26871 ); 26872} 26873 26874function Cardinal(context, tension) { 26875 this._context = context; 26876 this._k = (1 - tension) / 6; 26877} 26878 26879Cardinal.prototype = { 26880 areaStart: function() { 26881 this._line = 0; 26882 }, 26883 areaEnd: function() { 26884 this._line = NaN; 26885 }, 26886 lineStart: function() { 26887 this._x0 = this._x1 = this._x2 = 26888 this._y0 = this._y1 = this._y2 = NaN; 26889 this._point = 0; 26890 }, 26891 lineEnd: function() { 26892 switch (this._point) { 26893 case 2: this._context.lineTo(this._x2, this._y2); break; 26894 case 3: point(this, this._x1, this._y1); break; 26895 } 26896 if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath(); 26897 this._line = 1 - this._line; 26898 }, 26899 point: function(x, y) { 26900 x = +x, y = +y; 26901 switch (this._point) { 26902 case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; 26903 case 1: this._point = 2; this._x1 = x, this._y1 = y; break; 26904 case 2: this._point = 3; // falls through 26905 default: point(this, x, y); break; 26906 } 26907 this._x0 = this._x1, this._x1 = this._x2, this._x2 = x; 26908 this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; 26909 } 26910}; 26911 26912/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(tension) { 26913 26914 function cardinal(context) { 26915 return new Cardinal(context, tension); 26916 } 26917 26918 cardinal.tension = function(tension) { 26919 return custom(+tension); 26920 }; 26921 26922 return cardinal; 26923})(0)); 26924 26925 26926/***/ }), 26927
vendor: 2,668 bytes, lines 26928-27005
26928/***/ "./node_modules/d3-shape/src/curve/cardinalClosed.js": 26929/*!***********************************************************!*\ 26930 !*** ./node_modules/d3-shape/src/curve/cardinalClosed.js ***! 26931 \***********************************************************/ 26932/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26933 26934__webpack_require__.r(__webpack_exports__); 26935/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26936/* harmony export */ CardinalClosed: () => (/* binding */ CardinalClosed), 26937/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 26938/* harmony export */ }); 26939/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-shape/src/noop.js"); 26940/* harmony import */ var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cardinal.js */ "./node_modules/d3-shape/src/curve/cardinal.js"); 26941 26942 26943 26944function CardinalClosed(context, tension) { 26945 this._context = context; 26946 this._k = (1 - tension) / 6; 26947} 26948 26949CardinalClosed.prototype = { 26950 areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 26951 areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 26952 lineStart: function() { 26953 this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = 26954 this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN; 26955 this._point = 0; 26956 }, 26957 lineEnd: function() { 26958 switch (this._point) { 26959 case 1: { 26960 this._context.moveTo(this._x3, this._y3); 26961 this._context.closePath(); 26962 break; 26963 } 26964 case 2: { 26965 this._context.lineTo(this._x3, this._y3); 26966 this._context.closePath(); 26967 break; 26968 } 26969 case 3: { 26970 this.point(this._x3, this._y3); 26971 this.point(this._x4, this._y4); 26972 this.point(this._x5, this._y5); 26973 break; 26974 } 26975 } 26976 }, 26977 point: function(x, y) { 26978 x = +x, y = +y; 26979 switch (this._point) { 26980 case 0: this._point = 1; this._x3 = x, this._y3 = y; break; 26981 case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break; 26982 case 2: this._point = 3; this._x5 = x, this._y5 = y; break; 26983 default: (0,_cardinal_js__WEBPACK_IMPORTED_MODULE_1__.point)(this, x, y); break; 26984 } 26985 this._x0 = this._x1, this._x1 = this._x2, this._x2 = x; 26986 this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; 26987 } 26988}; 26989 26990/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(tension) { 26991 26992 function cardinal(context) { 26993 return new CardinalClosed(context, tension); 26994 } 26995 26996 cardinal.tension = function(tension) { 26997 return custom(+tension); 26998 }; 26999 27000 return cardinal; 27001})(0)); 27002 27003 27004/***/ }), 27005
vendor: 2,141 bytes, lines 27006-27070
27006/***/ "./node_modules/d3-shape/src/curve/cardinalOpen.js": 27007/*!*********************************************************!*\ 27008 !*** ./node_modules/d3-shape/src/curve/cardinalOpen.js ***! 27009 \*********************************************************/ 27010/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27011 27012__webpack_require__.r(__webpack_exports__); 27013/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27014/* harmony export */ CardinalOpen: () => (/* binding */ CardinalOpen), 27015/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 27016/* harmony export */ }); 27017/* harmony import */ var _cardinal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cardinal.js */ "./node_modules/d3-shape/src/curve/cardinal.js"); 27018 27019 27020function CardinalOpen(context, tension) { 27021 this._context = context; 27022 this._k = (1 - tension) / 6; 27023} 27024 27025CardinalOpen.prototype = { 27026 areaStart: function() { 27027 this._line = 0; 27028 }, 27029 areaEnd: function() { 27030 this._line = NaN; 27031 }, 27032 lineStart: function() { 27033 this._x0 = this._x1 = this._x2 = 27034 this._y0 = this._y1 = this._y2 = NaN; 27035 this._point = 0; 27036 }, 27037 lineEnd: function() { 27038 if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath(); 27039 this._line = 1 - this._line; 27040 }, 27041 point: function(x, y) { 27042 x = +x, y = +y; 27043 switch (this._point) { 27044 case 0: this._point = 1; break; 27045 case 1: this._point = 2; break; 27046 case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break; 27047 case 3: this._point = 4; // falls through 27048 default: (0,_cardinal_js__WEBPACK_IMPORTED_MODULE_0__.point)(this, x, y); break; 27049 } 27050 this._x0 = this._x1, this._x1 = this._x2, this._x2 = x; 27051 this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; 27052 } 27053}; 27054 27055/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(tension) { 27056 27057 function cardinal(context) { 27058 return new CardinalOpen(context, tension); 27059 } 27060 27061 cardinal.tension = function(tension) { 27062 return custom(+tension); 27063 }; 27064 27065 return cardinal; 27066})(0)); 27067 27068 27069/***/ }), 27070
vendor: 3,648 bytes, lines 27071-27175
27071/***/ "./node_modules/d3-shape/src/curve/catmullRom.js": 27072/*!*******************************************************!*\ 27073 !*** ./node_modules/d3-shape/src/curve/catmullRom.js ***! 27074 \*******************************************************/ 27075/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27076 27077__webpack_require__.r(__webpack_exports__); 27078/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27079/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 27080/* harmony export */ point: () => (/* binding */ point) 27081/* harmony export */ }); 27082/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 27083/* harmony import */ var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cardinal.js */ "./node_modules/d3-shape/src/curve/cardinal.js"); 27084 27085 27086 27087function point(that, x, y) { 27088 var x1 = that._x1, 27089 y1 = that._y1, 27090 x2 = that._x2, 27091 y2 = that._y2; 27092 27093 if (that._l01_a > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { 27094 var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a, 27095 n = 3 * that._l01_a * (that._l01_a + that._l12_a); 27096 x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n; 27097 y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n; 27098 } 27099 27100 if (that._l23_a > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { 27101 var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a, 27102 m = 3 * that._l23_a * (that._l23_a + that._l12_a); 27103 x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m; 27104 y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m; 27105 } 27106 27107 that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2); 27108} 27109 27110function CatmullRom(context, alpha) { 27111 this._context = context; 27112 this._alpha = alpha; 27113} 27114 27115CatmullRom.prototype = { 27116 areaStart: function() { 27117 this._line = 0; 27118 }, 27119 areaEnd: function() { 27120 this._line = NaN; 27121 }, 27122 lineStart: function() { 27123 this._x0 = this._x1 = this._x2 = 27124 this._y0 = this._y1 = this._y2 = NaN; 27125 this._l01_a = this._l12_a = this._l23_a = 27126 this._l01_2a = this._l12_2a = this._l23_2a = 27127 this._point = 0; 27128 }, 27129 lineEnd: function() { 27130 switch (this._point) { 27131 case 2: this._context.lineTo(this._x2, this._y2); break; 27132 case 3: this.point(this._x2, this._y2); break; 27133 } 27134 if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath(); 27135 this._line = 1 - this._line; 27136 }, 27137 point: function(x, y) { 27138 x = +x, y = +y; 27139 27140 if (this._point) { 27141 var x23 = this._x2 - x, 27142 y23 = this._y2 - y; 27143 this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)); 27144 } 27145 27146 switch (this._point) { 27147 case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; 27148 case 1: this._point = 2; break; 27149 case 2: this._point = 3; // falls through 27150 default: point(this, x, y); break; 27151 } 27152 27153 this._l01_a = this._l12_a, this._l12_a = this._l23_a; 27154 this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a; 27155 this._x0 = this._x1, this._x1 = this._x2, this._x2 = x; 27156 this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; 27157 } 27158}; 27159 27160/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(alpha) { 27161 27162 function catmullRom(context) { 27163 return alpha ? new CatmullRom(context, alpha) : new _cardinal_js__WEBPACK_IMPORTED_MODULE_1__.Cardinal(context, 0); 27164 } 27165 27166 catmullRom.alpha = function(alpha) { 27167 return custom(+alpha); 27168 }; 27169 27170 return catmullRom; 27171})(0.5)); 27172 27173 27174/***/ }), 27175
vendor: 3,268 bytes, lines 27176-27266
27176/***/ "./node_modules/d3-shape/src/curve/catmullRomClosed.js": 27177/*!*************************************************************!*\ 27178 !*** ./node_modules/d3-shape/src/curve/catmullRomClosed.js ***! 27179 \*************************************************************/ 27180/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27181 27182__webpack_require__.r(__webpack_exports__); 27183/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27184/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 27185/* harmony export */ }); 27186/* harmony import */ var _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cardinalClosed.js */ "./node_modules/d3-shape/src/curve/cardinalClosed.js"); 27187/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-shape/src/noop.js"); 27188/* harmony import */ var _catmullRom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./catmullRom.js */ "./node_modules/d3-shape/src/curve/catmullRom.js"); 27189 27190 27191 27192 27193function CatmullRomClosed(context, alpha) { 27194 this._context = context; 27195 this._alpha = alpha; 27196} 27197 27198CatmullRomClosed.prototype = { 27199 areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 27200 areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 27201 lineStart: function() { 27202 this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = 27203 this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN; 27204 this._l01_a = this._l12_a = this._l23_a = 27205 this._l01_2a = this._l12_2a = this._l23_2a = 27206 this._point = 0; 27207 }, 27208 lineEnd: function() { 27209 switch (this._point) { 27210 case 1: { 27211 this._context.moveTo(this._x3, this._y3); 27212 this._context.closePath(); 27213 break; 27214 } 27215 case 2: { 27216 this._context.lineTo(this._x3, this._y3); 27217 this._context.closePath(); 27218 break; 27219 } 27220 case 3: { 27221 this.point(this._x3, this._y3); 27222 this.point(this._x4, this._y4); 27223 this.point(this._x5, this._y5); 27224 break; 27225 } 27226 } 27227 }, 27228 point: function(x, y) { 27229 x = +x, y = +y; 27230 27231 if (this._point) { 27232 var x23 = this._x2 - x, 27233 y23 = this._y2 - y; 27234 this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)); 27235 } 27236 27237 switch (this._point) { 27238 case 0: this._point = 1; this._x3 = x, this._y3 = y; break; 27239 case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break; 27240 case 2: this._point = 3; this._x5 = x, this._y5 = y; break; 27241 default: (0,_catmullRom_js__WEBPACK_IMPORTED_MODULE_1__.point)(this, x, y); break; 27242 } 27243 27244 this._l01_a = this._l12_a, this._l12_a = this._l23_a; 27245 this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a; 27246 this._x0 = this._x1, this._x1 = this._x2, this._x2 = x; 27247 this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; 27248 } 27249}; 27250 27251/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(alpha) { 27252 27253 function catmullRom(context) { 27254 return alpha ? new CatmullRomClosed(context, alpha) : new _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_2__.CardinalClosed(context, 0); 27255 } 27256 27257 catmullRom.alpha = function(alpha) { 27258 return custom(+alpha); 27259 }; 27260 27261 return catmullRom; 27262})(0.5)); 27263 27264 27265/***/ }), 27266
vendor: 2,735 bytes, lines 27267-27344
27267/***/ "./node_modules/d3-shape/src/curve/catmullRomOpen.js": 27268/*!***********************************************************!*\ 27269 !*** ./node_modules/d3-shape/src/curve/catmullRomOpen.js ***! 27270 \***********************************************************/ 27271/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27272 27273__webpack_require__.r(__webpack_exports__); 27274/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27275/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 27276/* harmony export */ }); 27277/* harmony import */ var _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cardinalOpen.js */ "./node_modules/d3-shape/src/curve/cardinalOpen.js"); 27278/* harmony import */ var _catmullRom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./catmullRom.js */ "./node_modules/d3-shape/src/curve/catmullRom.js"); 27279 27280 27281 27282function CatmullRomOpen(context, alpha) { 27283 this._context = context; 27284 this._alpha = alpha; 27285} 27286 27287CatmullRomOpen.prototype = { 27288 areaStart: function() { 27289 this._line = 0; 27290 }, 27291 areaEnd: function() { 27292 this._line = NaN; 27293 }, 27294 lineStart: function() { 27295 this._x0 = this._x1 = this._x2 = 27296 this._y0 = this._y1 = this._y2 = NaN; 27297 this._l01_a = this._l12_a = this._l23_a = 27298 this._l01_2a = this._l12_2a = this._l23_2a = 27299 this._point = 0; 27300 }, 27301 lineEnd: function() { 27302 if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath(); 27303 this._line = 1 - this._line; 27304 }, 27305 point: function(x, y) { 27306 x = +x, y = +y; 27307 27308 if (this._point) { 27309 var x23 = this._x2 - x, 27310 y23 = this._y2 - y; 27311 this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)); 27312 } 27313 27314 switch (this._point) { 27315 case 0: this._point = 1; break; 27316 case 1: this._point = 2; break; 27317 case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break; 27318 case 3: this._point = 4; // falls through 27319 default: (0,_catmullRom_js__WEBPACK_IMPORTED_MODULE_0__.point)(this, x, y); break; 27320 } 27321 27322 this._l01_a = this._l12_a, this._l12_a = this._l23_a; 27323 this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a; 27324 this._x0 = this._x1, this._x1 = this._x2, this._x2 = x; 27325 this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; 27326 } 27327}; 27328 27329/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((function custom(alpha) { 27330 27331 function catmullRom(context) { 27332 return alpha ? new CatmullRomOpen(context, alpha) : new _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_1__.CardinalOpen(context, 0); 27333 } 27334 27335 catmullRom.alpha = function(alpha) { 27336 return custom(+alpha); 27337 }; 27338 27339 return catmullRom; 27340})(0.5)); 27341 27342 27343/***/ }), 27344
vendor: 1,347 bytes, lines 27345-27389
27345/***/ "./node_modules/d3-shape/src/curve/linear.js": 27346/*!***************************************************!*\ 27347 !*** ./node_modules/d3-shape/src/curve/linear.js ***! 27348 \***************************************************/ 27349/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27350 27351__webpack_require__.r(__webpack_exports__); 27352/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27353/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 27354/* harmony export */ }); 27355function Linear(context) { 27356 this._context = context; 27357} 27358 27359Linear.prototype = { 27360 areaStart: function() { 27361 this._line = 0; 27362 }, 27363 areaEnd: function() { 27364 this._line = NaN; 27365 }, 27366 lineStart: function() { 27367 this._point = 0; 27368 }, 27369 lineEnd: function() { 27370 if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath(); 27371 this._line = 1 - this._line; 27372 }, 27373 point: function(x, y) { 27374 x = +x, y = +y; 27375 switch (this._point) { 27376 case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; 27377 case 1: this._point = 2; // falls through 27378 default: this._context.lineTo(x, y); break; 27379 } 27380 } 27381}; 27382 27383/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(context) { 27384 return new Linear(context); 27385} 27386 27387 27388/***/ }), 27389
vendor: 1,345 bytes, lines 27390-27429
27390/***/ "./node_modules/d3-shape/src/curve/linearClosed.js": 27391/*!*********************************************************!*\ 27392 !*** ./node_modules/d3-shape/src/curve/linearClosed.js ***! 27393 \*********************************************************/ 27394/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27395 27396__webpack_require__.r(__webpack_exports__); 27397/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27398/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 27399/* harmony export */ }); 27400/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "./node_modules/d3-shape/src/noop.js"); 27401 27402 27403function LinearClosed(context) { 27404 this._context = context; 27405} 27406 27407LinearClosed.prototype = { 27408 areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 27409 areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"], 27410 lineStart: function() { 27411 this._point = 0; 27412 }, 27413 lineEnd: function() { 27414 if (this._point) this._context.closePath(); 27415 }, 27416 point: function(x, y) { 27417 x = +x, y = +y; 27418 if (this._point) this._context.lineTo(x, y); 27419 else this._point = 1, this._context.moveTo(x, y); 27420 } 27421}; 27422 27423/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(context) { 27424 return new LinearClosed(context); 27425} 27426 27427 27428/***/ }), 27429
vendor: 3,794 bytes, lines 27430-27548
27430/***/ "./node_modules/d3-shape/src/curve/monotone.js": 27431/*!*****************************************************!*\ 27432 !*** ./node_modules/d3-shape/src/curve/monotone.js ***! 27433 \*****************************************************/ 27434/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27435 27436__webpack_require__.r(__webpack_exports__); 27437/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27438/* harmony export */ monotoneX: () => (/* binding */ monotoneX), 27439/* harmony export */ monotoneY: () => (/* binding */ monotoneY) 27440/* harmony export */ }); 27441function sign(x) { 27442 return x < 0 ? -1 : 1; 27443} 27444 27445// Calculate the slopes of the tangents (Hermite-type interpolation) based on 27446// the following paper: Steffen, M. 1990. A Simple Method for Monotonic 27447// Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO. 27448// NOV(II), P. 443, 1990. 27449function slope3(that, x2, y2) { 27450 var h0 = that._x1 - that._x0, 27451 h1 = x2 - that._x1, 27452 s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0), 27453 s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0), 27454 p = (s0 * h1 + s1 * h0) / (h0 + h1); 27455 return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0; 27456} 27457 27458// Calculate a one-sided slope. 27459function slope2(that, t) { 27460 var h = that._x1 - that._x0; 27461 return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t; 27462} 27463 27464// According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations 27465// "you can express cubic Hermite interpolation in terms of cubic Bézier curves 27466// with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1". 27467function point(that, t0, t1) { 27468 var x0 = that._x0, 27469 y0 = that._y0, 27470 x1 = that._x1, 27471 y1 = that._y1, 27472 dx = (x1 - x0) / 3; 27473 that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1); 27474} 27475 27476function MonotoneX(context) { 27477 this._context = context; 27478} 27479 27480MonotoneX.prototype = { 27481 areaStart: function() { 27482 this._line = 0; 27483 }, 27484 areaEnd: function() { 27485 this._line = NaN; 27486 }, 27487 lineStart: function() { 27488 this._x0 = this._x1 = 27489 this._y0 = this._y1 = 27490 this._t0 = NaN; 27491 this._point = 0; 27492 }, 27493 lineEnd: function() { 27494 switch (this._point) { 27495 case 2: this._context.lineTo(this._x1, this._y1); break; 27496 case 3: point(this, this._t0, slope2(this, this._t0)); break; 27497 } 27498 if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath(); 27499 this._line = 1 - this._line; 27500 }, 27501 point: function(x, y) { 27502 var t1 = NaN; 27503 27504 x = +x, y = +y; 27505 if (x === this._x1 && y === this._y1) return; // Ignore coincident points. 27506 switch (this._point) { 27507 case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; 27508 case 1: this._point = 2; break; 27509 case 2: this._point = 3; point(this, slope2(this, t1 = slope3(this, x, y)), t1); break; 27510 default: point(this, this._t0, t1 = slope3(this, x, y)); break; 27511 } 27512 27513 this._x0 = this._x1, this._x1 = x; 27514 this._y0 = this._y1, this._y1 = y; 27515 this._t0 = t1; 27516 } 27517} 27518 27519function MonotoneY(context) { 27520 this._context = new ReflectContext(context); 27521} 27522 27523(MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) { 27524 MonotoneX.prototype.point.call(this, y, x); 27525}; 27526 27527function ReflectContext(context) { 27528 this._context = context; 27529} 27530 27531ReflectContext.prototype = { 27532 moveTo: function(x, y) { this._context.moveTo(y, x); }, 27533 closePath: function() { this._context.closePath(); }, 27534 lineTo: function(x, y) { this._context.lineTo(y, x); }, 27535 bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); } 27536}; 27537 27538function monotoneX(context) { 27539 return new MonotoneX(context); 27540} 27541 27542function monotoneY(context) { 27543 return new MonotoneY(context); 27544} 27545 27546 27547/***/ }), 27548
vendor: 2,368 bytes, lines 27549-27627
27549/***/ "./node_modules/d3-shape/src/curve/natural.js": 27550/*!****************************************************!*\ 27551 !*** ./node_modules/d3-shape/src/curve/natural.js ***! 27552 \****************************************************/ 27553/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27554 27555__webpack_require__.r(__webpack_exports__); 27556/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27557/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 27558/* harmony export */ }); 27559function Natural(context) { 27560 this._context = context; 27561} 27562 27563Natural.prototype = { 27564 areaStart: function() { 27565 this._line = 0; 27566 }, 27567 areaEnd: function() { 27568 this._line = NaN; 27569 }, 27570 lineStart: function() { 27571 this._x = []; 27572 this._y = []; 27573 }, 27574 lineEnd: function() { 27575 var x = this._x, 27576 y = this._y, 27577 n = x.length; 27578 27579 if (n) { 27580 this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]); 27581 if (n === 2) { 27582 this._context.lineTo(x[1], y[1]); 27583 } else { 27584 var px = controlPoints(x), 27585 py = controlPoints(y); 27586 for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) { 27587 this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]); 27588 } 27589 } 27590 } 27591 27592 if (this._line || (this._line !== 0 && n === 1)) this._context.closePath(); 27593 this._line = 1 - this._line; 27594 this._x = this._y = null; 27595 }, 27596 point: function(x, y) { 27597 this._x.push(+x); 27598 this._y.push(+y); 27599 } 27600}; 27601 27602// See https://www.particleincell.com/2012/bezier-splines/ for derivation. 27603function controlPoints(x) { 27604 var i, 27605 n = x.length - 1, 27606 m, 27607 a = new Array(n), 27608 b = new Array(n), 27609 r = new Array(n); 27610 a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1]; 27611 for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1]; 27612 a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n]; 27613 for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1]; 27614 a[n - 1] = r[n - 1] / b[n - 1]; 27615 for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i]; 27616 b[n - 1] = (x[n] + a[n - 1]) / 2; 27617 for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1]; 27618 return [a, b]; 27619} 27620 27621/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(context) { 27622 return new Natural(context); 27623} 27624 27625 27626/***/ }), 27627
vendor: 1,406 bytes, lines 27628-27679
27628/***/ "./node_modules/d3-shape/src/curve/radial.js": 27629/*!***************************************************!*\ 27630 !*** ./node_modules/d3-shape/src/curve/radial.js ***! 27631 \***************************************************/ 27632/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27633 27634__webpack_require__.r(__webpack_exports__); 27635/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27636/* harmony export */ curveRadialLinear: () => (/* binding */ curveRadialLinear), 27637/* harmony export */ "default": () => (/* binding */ curveRadial) 27638/* harmony export */ }); 27639/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "./node_modules/d3-shape/src/curve/linear.js"); 27640 27641 27642var curveRadialLinear = curveRadial(_linear_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 27643 27644function Radial(curve) { 27645 this._curve = curve; 27646} 27647 27648Radial.prototype = { 27649 areaStart: function() { 27650 this._curve.areaStart(); 27651 }, 27652 areaEnd: function() { 27653 this._curve.areaEnd(); 27654 }, 27655 lineStart: function() { 27656 this._curve.lineStart(); 27657 }, 27658 lineEnd: function() { 27659 this._curve.lineEnd(); 27660 }, 27661 point: function(a, r) { 27662 this._curve.point(r * Math.sin(a), r * -Math.cos(a)); 27663 } 27664}; 27665 27666function curveRadial(curve) { 27667 27668 function radial(context) { 27669 return new Radial(curve(context)); 27670 } 27671 27672 radial._curve = curve; 27673 27674 return radial; 27675} 27676 27677 27678/***/ }), 27679
vendor: 2,090 bytes, lines 27680-27748
27680/***/ "./node_modules/d3-shape/src/curve/step.js": 27681/*!*************************************************!*\ 27682 !*** ./node_modules/d3-shape/src/curve/step.js ***! 27683 \*************************************************/ 27684/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27685 27686__webpack_require__.r(__webpack_exports__); 27687/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27688/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 27689/* harmony export */ stepAfter: () => (/* binding */ stepAfter), 27690/* harmony export */ stepBefore: () => (/* binding */ stepBefore) 27691/* harmony export */ }); 27692function Step(context, t) { 27693 this._context = context; 27694 this._t = t; 27695} 27696 27697Step.prototype = { 27698 areaStart: function() { 27699 this._line = 0; 27700 }, 27701 areaEnd: function() { 27702 this._line = NaN; 27703 }, 27704 lineStart: function() { 27705 this._x = this._y = NaN; 27706 this._point = 0; 27707 }, 27708 lineEnd: function() { 27709 if (0 < this._t && this._t < 1 && this._point === 2) this._context.lineTo(this._x, this._y); 27710 if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath(); 27711 if (this._line >= 0) this._t = 1 - this._t, this._line = 1 - this._line; 27712 }, 27713 point: function(x, y) { 27714 x = +x, y = +y; 27715 switch (this._point) { 27716 case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; 27717 case 1: this._point = 2; // falls through 27718 default: { 27719 if (this._t <= 0) { 27720 this._context.lineTo(this._x, y); 27721 this._context.lineTo(x, y); 27722 } else { 27723 var x1 = this._x * (1 - this._t) + x * this._t; 27724 this._context.lineTo(x1, this._y); 27725 this._context.lineTo(x1, y); 27726 } 27727 break; 27728 } 27729 } 27730 this._x = x, this._y = y; 27731 } 27732}; 27733 27734/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(context) { 27735 return new Step(context, 0.5); 27736} 27737 27738function stepBefore(context) { 27739 return new Step(context, 0); 27740} 27741 27742function stepAfter(context) { 27743 return new Step(context, 1); 27744} 27745 27746 27747/***/ }), 27748
vendor: 681 bytes, lines 27749-27765
27749/***/ "./node_modules/d3-shape/src/descending.js": 27750/*!*************************************************!*\ 27751 !*** ./node_modules/d3-shape/src/descending.js ***! 27752 \*************************************************/ 27753/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27754 27755__webpack_require__.r(__webpack_exports__); 27756/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27757/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 27758/* harmony export */ }); 27759/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 27760 return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN; 27761} 27762 27763 27764/***/ }), 27765
vendor: 630 bytes, lines 27766-27782
27766/***/ "./node_modules/d3-shape/src/identity.js": 27767/*!***********************************************!*\ 27768 !*** ./node_modules/d3-shape/src/identity.js ***! 27769 \***********************************************/ 27770/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27771 27772__webpack_require__.r(__webpack_exports__); 27773/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27774/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 27775/* harmony export */ }); 27776/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(d) { 27777 return d; 27778} 27779 27780 27781/***/ }), 27782
vendor: 16,782 bytes, lines 27783-27961
27783/***/ "./node_modules/d3-shape/src/index.js": 27784/*!********************************************!*\ 27785 !*** ./node_modules/d3-shape/src/index.js ***! 27786 \********************************************/ 27787/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27788 27789__webpack_require__.r(__webpack_exports__); 27790/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27791/* harmony export */ arc: () => (/* reexport safe */ _arc_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 27792/* harmony export */ area: () => (/* reexport safe */ _area_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 27793/* harmony export */ areaRadial: () => (/* reexport safe */ _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 27794/* harmony export */ curveBasis: () => (/* reexport safe */ _curve_basis_js__WEBPACK_IMPORTED_MODULE_24__["default"]), 27795/* harmony export */ curveBasisClosed: () => (/* reexport safe */ _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_22__["default"]), 27796/* harmony export */ curveBasisOpen: () => (/* reexport safe */ _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_23__["default"]), 27797/* harmony export */ curveBumpX: () => (/* reexport safe */ _curve_bump_js__WEBPACK_IMPORTED_MODULE_25__.bumpX), 27798/* harmony export */ curveBumpY: () => (/* reexport safe */ _curve_bump_js__WEBPACK_IMPORTED_MODULE_25__.bumpY), 27799/* harmony export */ curveBundle: () => (/* reexport safe */ _curve_bundle_js__WEBPACK_IMPORTED_MODULE_26__["default"]), 27800/* harmony export */ curveCardinal: () => (/* reexport safe */ _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_29__["default"]), 27801/* harmony export */ curveCardinalClosed: () => (/* reexport safe */ _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_27__["default"]), 27802/* harmony export */ curveCardinalOpen: () => (/* reexport safe */ _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_28__["default"]), 27803/* harmony export */ curveCatmullRom: () => (/* reexport safe */ _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_32__["default"]), 27804/* harmony export */ curveCatmullRomClosed: () => (/* reexport safe */ _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_30__["default"]), 27805/* harmony export */ curveCatmullRomOpen: () => (/* reexport safe */ _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_31__["default"]), 27806/* harmony export */ curveLinear: () => (/* reexport safe */ _curve_linear_js__WEBPACK_IMPORTED_MODULE_34__["default"]), 27807/* harmony export */ curveLinearClosed: () => (/* reexport safe */ _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_33__["default"]), 27808/* harmony export */ curveMonotoneX: () => (/* reexport safe */ _curve_monotone_js__WEBPACK_IMPORTED_MODULE_35__.monotoneX), 27809/* harmony export */ curveMonotoneY: () => (/* reexport safe */ _curve_monotone_js__WEBPACK_IMPORTED_MODULE_35__.monotoneY), 27810/* harmony export */ curveNatural: () => (/* reexport safe */ _curve_natural_js__WEBPACK_IMPORTED_MODULE_36__["default"]), 27811/* harmony export */ curveStep: () => (/* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__["default"]), 27812/* harmony export */ curveStepAfter: () => (/* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__.stepAfter), 27813/* harmony export */ curveStepBefore: () => (/* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__.stepBefore), 27814/* harmony export */ line: () => (/* reexport safe */ _line_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 27815/* harmony export */ lineRadial: () => (/* reexport safe */ _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 27816/* harmony export */ link: () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.link), 27817/* harmony export */ linkHorizontal: () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkHorizontal), 27818/* harmony export */ linkRadial: () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkRadial), 27819/* harmony export */ linkVertical: () => (/* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkVertical), 27820/* harmony export */ pie: () => (/* reexport safe */ _pie_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 27821/* harmony export */ pointRadial: () => (/* reexport safe */ _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__["default"]), 27822/* harmony export */ radialArea: () => (/* reexport safe */ _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"]), 27823/* harmony export */ radialLine: () => (/* reexport safe */ _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"]), 27824/* harmony export */ stack: () => (/* reexport safe */ _stack_js__WEBPACK_IMPORTED_MODULE_38__["default"]), 27825/* harmony export */ stackOffsetDiverging: () => (/* reexport safe */ _offset_diverging_js__WEBPACK_IMPORTED_MODULE_40__["default"]), 27826/* harmony export */ stackOffsetExpand: () => (/* reexport safe */ _offset_expand_js__WEBPACK_IMPORTED_MODULE_39__["default"]), 27827/* harmony export */ stackOffsetNone: () => (/* reexport safe */ _offset_none_js__WEBPACK_IMPORTED_MODULE_41__["default"]), 27828/* harmony export */ stackOffsetSilhouette: () => (/* reexport safe */ _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_42__["default"]), 27829/* harmony export */ stackOffsetWiggle: () => (/* reexport safe */ _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_43__["default"]), 27830/* harmony export */ stackOrderAppearance: () => (/* reexport safe */ _order_appearance_js__WEBPACK_IMPORTED_MODULE_44__["default"]), 27831/* harmony export */ stackOrderAscending: () => (/* reexport safe */ _order_ascending_js__WEBPACK_IMPORTED_MODULE_45__["default"]), 27832/* harmony export */ stackOrderDescending: () => (/* reexport safe */ _order_descending_js__WEBPACK_IMPORTED_MODULE_46__["default"]), 27833/* harmony export */ stackOrderInsideOut: () => (/* reexport safe */ _order_insideOut_js__WEBPACK_IMPORTED_MODULE_47__["default"]), 27834/* harmony export */ stackOrderNone: () => (/* reexport safe */ _order_none_js__WEBPACK_IMPORTED_MODULE_48__["default"]), 27835/* harmony export */ stackOrderReverse: () => (/* reexport safe */ _order_reverse_js__WEBPACK_IMPORTED_MODULE_49__["default"]), 27836/* harmony export */ symbol: () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__["default"]), 27837/* harmony export */ symbolAsterisk: () => (/* reexport safe */ _symbol_asterisk_js__WEBPACK_IMPORTED_MODULE_9__["default"]), 27838/* harmony export */ symbolCircle: () => (/* reexport safe */ _symbol_circle_js__WEBPACK_IMPORTED_MODULE_10__["default"]), 27839/* harmony export */ symbolCross: () => (/* reexport safe */ _symbol_cross_js__WEBPACK_IMPORTED_MODULE_11__["default"]), 27840/* harmony export */ symbolDiamond: () => (/* reexport safe */ _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_12__["default"]), 27841/* harmony export */ symbolDiamond2: () => (/* reexport safe */ _symbol_diamond2_js__WEBPACK_IMPORTED_MODULE_13__["default"]), 27842/* harmony export */ symbolPlus: () => (/* reexport safe */ _symbol_plus_js__WEBPACK_IMPORTED_MODULE_14__["default"]), 27843/* harmony export */ symbolSquare: () => (/* reexport safe */ _symbol_square_js__WEBPACK_IMPORTED_MODULE_15__["default"]), 27844/* harmony export */ symbolSquare2: () => (/* reexport safe */ _symbol_square2_js__WEBPACK_IMPORTED_MODULE_16__["default"]), 27845/* harmony export */ symbolStar: () => (/* reexport safe */ _symbol_star_js__WEBPACK_IMPORTED_MODULE_17__["default"]), 27846/* harmony export */ symbolTimes: () => (/* reexport safe */ _symbol_times_js__WEBPACK_IMPORTED_MODULE_21__["default"]), 27847/* harmony export */ symbolTriangle: () => (/* reexport safe */ _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_18__["default"]), 27848/* harmony export */ symbolTriangle2: () => (/* reexport safe */ _symbol_triangle2_js__WEBPACK_IMPORTED_MODULE_19__["default"]), 27849/* harmony export */ symbolWye: () => (/* reexport safe */ _symbol_wye_js__WEBPACK_IMPORTED_MODULE_20__["default"]), 27850/* harmony export */ symbolX: () => (/* reexport safe */ _symbol_times_js__WEBPACK_IMPORTED_MODULE_21__["default"]), 27851/* harmony export */ symbols: () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsFill), 27852/* harmony export */ symbolsFill: () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsFill), 27853/* harmony export */ symbolsStroke: () => (/* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsStroke) 27854/* harmony export */ }); 27855/* harmony import */ var _arc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arc.js */ "./node_modules/d3-shape/src/arc.js"); 27856/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./area.js */ "./node_modules/d3-shape/src/area.js"); 27857/* harmony import */ var _line_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./line.js */ "./node_modules/d3-shape/src/line.js"); 27858/* harmony import */ var _pie_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pie.js */ "./node_modules/d3-shape/src/pie.js"); 27859/* harmony import */ var _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./areaRadial.js */ "./node_modules/d3-shape/src/areaRadial.js"); 27860/* harmony import */ var _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./lineRadial.js */ "./node_modules/d3-shape/src/lineRadial.js"); 27861/* harmony import */ var _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./pointRadial.js */ "./node_modules/d3-shape/src/pointRadial.js"); 27862/* harmony import */ var _link_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./link.js */ "./node_modules/d3-shape/src/link.js"); 27863/* harmony import */ var _symbol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./symbol.js */ "./node_modules/d3-shape/src/symbol.js"); 27864/* harmony import */ var _symbol_asterisk_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./symbol/asterisk.js */ "./node_modules/d3-shape/src/symbol/asterisk.js"); 27865/* harmony import */ var _symbol_circle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./symbol/circle.js */ "./node_modules/d3-shape/src/symbol/circle.js"); 27866/* harmony import */ var _symbol_cross_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./symbol/cross.js */ "./node_modules/d3-shape/src/symbol/cross.js"); 27867/* harmony import */ var _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./symbol/diamond.js */ "./node_modules/d3-shape/src/symbol/diamond.js"); 27868/* harmony import */ var _symbol_diamond2_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./symbol/diamond2.js */ "./node_modules/d3-shape/src/symbol/diamond2.js"); 27869/* harmony import */ var _symbol_plus_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./symbol/plus.js */ "./node_modules/d3-shape/src/symbol/plus.js"); 27870/* harmony import */ var _symbol_square_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./symbol/square.js */ "./node_modules/d3-shape/src/symbol/square.js"); 27871/* harmony import */ var _symbol_square2_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./symbol/square2.js */ "./node_modules/d3-shape/src/symbol/square2.js"); 27872/* harmony import */ var _symbol_star_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./symbol/star.js */ "./node_modules/d3-shape/src/symbol/star.js"); 27873/* harmony import */ var _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./symbol/triangle.js */ "./node_modules/d3-shape/src/symbol/triangle.js"); 27874/* harmony import */ var _symbol_triangle2_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./symbol/triangle2.js */ "./node_modules/d3-shape/src/symbol/triangle2.js"); 27875/* harmony import */ var _symbol_wye_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./symbol/wye.js */ "./node_modules/d3-shape/src/symbol/wye.js"); 27876/* harmony import */ var _symbol_times_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./symbol/times.js */ "./node_modules/d3-shape/src/symbol/times.js"); 27877/* harmony import */ var _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./curve/basisClosed.js */ "./node_modules/d3-shape/src/curve/basisClosed.js"); 27878/* harmony import */ var _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./curve/basisOpen.js */ "./node_modules/d3-shape/src/curve/basisOpen.js"); 27879/* harmony import */ var _curve_basis_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./curve/basis.js */ "./node_modules/d3-shape/src/curve/basis.js"); 27880/* harmony import */ var _curve_bump_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./curve/bump.js */ "./node_modules/d3-shape/src/curve/bump.js"); 27881/* harmony import */ var _curve_bundle_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./curve/bundle.js */ "./node_modules/d3-shape/src/curve/bundle.js"); 27882/* harmony import */ var _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./curve/cardinalClosed.js */ "./node_modules/d3-shape/src/curve/cardinalClosed.js"); 27883/* harmony import */ var _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./curve/cardinalOpen.js */ "./node_modules/d3-shape/src/curve/cardinalOpen.js"); 27884/* harmony import */ var _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./curve/cardinal.js */ "./node_modules/d3-shape/src/curve/cardinal.js"); 27885/* harmony import */ var _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./curve/catmullRomClosed.js */ "./node_modules/d3-shape/src/curve/catmullRomClosed.js"); 27886/* harmony import */ var _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./curve/catmullRomOpen.js */ "./node_modules/d3-shape/src/curve/catmullRomOpen.js"); 27887/* harmony import */ var _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./curve/catmullRom.js */ "./node_modules/d3-shape/src/curve/catmullRom.js"); 27888/* harmony import */ var _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./curve/linearClosed.js */ "./node_modules/d3-shape/src/curve/linearClosed.js"); 27889/* harmony import */ var _curve_linear_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./curve/linear.js */ "./node_modules/d3-shape/src/curve/linear.js"); 27890/* harmony import */ var _curve_monotone_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./curve/monotone.js */ "./node_modules/d3-shape/src/curve/monotone.js"); 27891/* harmony import */ var _curve_natural_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./curve/natural.js */ "./node_modules/d3-shape/src/curve/natural.js"); 27892/* harmony import */ var _curve_step_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./curve/step.js */ "./node_modules/d3-shape/src/curve/step.js"); 27893/* harmony import */ var _stack_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./stack.js */ "./node_modules/d3-shape/src/stack.js"); 27894/* harmony import */ var _offset_expand_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./offset/expand.js */ "./node_modules/d3-shape/src/offset/expand.js"); 27895/* harmony import */ var _offset_diverging_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./offset/diverging.js */ "./node_modules/d3-shape/src/offset/diverging.js"); 27896/* harmony import */ var _offset_none_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./offset/none.js */ "./node_modules/d3-shape/src/offset/none.js"); 27897/* harmony import */ var _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./offset/silhouette.js */ "./node_modules/d3-shape/src/offset/silhouette.js"); 27898/* harmony import */ var _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./offset/wiggle.js */ "./node_modules/d3-shape/src/offset/wiggle.js"); 27899/* harmony import */ var _order_appearance_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./order/appearance.js */ "./node_modules/d3-shape/src/order/appearance.js"); 27900/* harmony import */ var _order_ascending_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./order/ascending.js */ "./node_modules/d3-shape/src/order/ascending.js"); 27901/* harmony import */ var _order_descending_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./order/descending.js */ "./node_modules/d3-shape/src/order/descending.js"); 27902/* harmony import */ var _order_insideOut_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./order/insideOut.js */ "./node_modules/d3-shape/src/order/insideOut.js"); 27903/* harmony import */ var _order_none_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./order/none.js */ "./node_modules/d3-shape/src/order/none.js"); 27904/* harmony import */ var _order_reverse_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./order/reverse.js */ "./node_modules/d3-shape/src/order/reverse.js"); 27905 27906 27907 27908 27909 // Note: radialArea is deprecated! 27910 // Note: radialLine is deprecated! 27911 27912 27913 27914 27915 27916 27917 27918 27919 27920 27921 27922 27923 27924 27925 27926 27927 27928 27929 27930 27931 27932 27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 27943 27944 27945 27946 27947 27948 27949 27950 27951 27952 27953 27954 27955 27956 27957 27958 27959 27960/***/ }), 27961
vendor: 3,348 bytes, lines 27962-28038
27962/***/ "./node_modules/d3-shape/src/line.js": 27963/*!*******************************************!*\ 27964 !*** ./node_modules/d3-shape/src/line.js ***! 27965 \*******************************************/ 27966/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 27967 27968__webpack_require__.r(__webpack_exports__); 27969/* harmony export */ __webpack_require__.d(__webpack_exports__, { 27970/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 27971/* harmony export */ }); 27972/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-shape/src/array.js"); 27973/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-shape/src/constant.js"); 27974/* harmony import */ var _curve_linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./curve/linear.js */ "./node_modules/d3-shape/src/curve/linear.js"); 27975/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-shape/src/path.js"); 27976/* harmony import */ var _point_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./point.js */ "./node_modules/d3-shape/src/point.js"); 27977 27978 27979 27980 27981 27982 27983/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, y) { 27984 var defined = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(true), 27985 context = null, 27986 curve = _curve_linear_js__WEBPACK_IMPORTED_MODULE_1__["default"], 27987 output = null, 27988 path = (0,_path_js__WEBPACK_IMPORTED_MODULE_2__.withPath)(line); 27989 27990 x = typeof x === "function" ? x : (x === undefined) ? _point_js__WEBPACK_IMPORTED_MODULE_3__.x : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(x); 27991 y = typeof y === "function" ? y : (y === undefined) ? _point_js__WEBPACK_IMPORTED_MODULE_3__.y : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(y); 27992 27993 function line(data) { 27994 var i, 27995 n = (data = (0,_array_js__WEBPACK_IMPORTED_MODULE_4__["default"])(data)).length, 27996 d, 27997 defined0 = false, 27998 buffer; 27999 28000 if (context == null) output = curve(buffer = path()); 28001 28002 for (i = 0; i <= n; ++i) { 28003 if (!(i < n && defined(d = data[i], i, data)) === defined0) { 28004 if (defined0 = !defined0) output.lineStart(); 28005 else output.lineEnd(); 28006 } 28007 if (defined0) output.point(+x(d, i, data), +y(d, i, data)); 28008 } 28009 28010 if (buffer) return output = null, buffer + "" || null; 28011 } 28012 28013 line.x = function(_) { 28014 return arguments.length ? (x = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), line) : x; 28015 }; 28016 28017 line.y = function(_) { 28018 return arguments.length ? (y = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), line) : y; 28019 }; 28020 28021 line.defined = function(_) { 28022 return arguments.length ? (defined = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(!!_), line) : defined; 28023 }; 28024 28025 line.curve = function(_) { 28026 return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve; 28027 }; 28028 28029 line.context = function(_) { 28030 return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context; 28031 }; 28032 28033 return line; 28034} 28035 28036 28037/***/ }), 28038
vendor: 1,416 bytes, lines 28039-28074
28039/***/ "./node_modules/d3-shape/src/lineRadial.js": 28040/*!*************************************************!*\ 28041 !*** ./node_modules/d3-shape/src/lineRadial.js ***! 28042 \*************************************************/ 28043/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28044 28045__webpack_require__.r(__webpack_exports__); 28046/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28047/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 28048/* harmony export */ lineRadial: () => (/* binding */ lineRadial) 28049/* harmony export */ }); 28050/* harmony import */ var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./curve/radial.js */ "./node_modules/d3-shape/src/curve/radial.js"); 28051/* harmony import */ var _line_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./line.js */ "./node_modules/d3-shape/src/line.js"); 28052 28053 28054 28055function lineRadial(l) { 28056 var c = l.curve; 28057 28058 l.angle = l.x, delete l.x; 28059 l.radius = l.y, delete l.y; 28060 28061 l.curve = function(_) { 28062 return arguments.length ? c((0,_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_)) : c()._curve; 28063 }; 28064 28065 return l; 28066} 28067 28068/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 28069 return lineRadial((0,_line_js__WEBPACK_IMPORTED_MODULE_1__["default"])().curve(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__.curveRadialLinear)); 28070} 28071 28072 28073/***/ }), 28074
vendor: 3,423 bytes, lines 28075-28169
28075/***/ "./node_modules/d3-shape/src/link.js": 28076/*!*******************************************!*\ 28077 !*** ./node_modules/d3-shape/src/link.js ***! 28078 \*******************************************/ 28079/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28080 28081__webpack_require__.r(__webpack_exports__); 28082/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28083/* harmony export */ link: () => (/* binding */ link), 28084/* harmony export */ linkHorizontal: () => (/* binding */ linkHorizontal), 28085/* harmony export */ linkRadial: () => (/* binding */ linkRadial), 28086/* harmony export */ linkVertical: () => (/* binding */ linkVertical) 28087/* harmony export */ }); 28088/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-shape/src/array.js"); 28089/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-shape/src/constant.js"); 28090/* harmony import */ var _curve_bump_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./curve/bump.js */ "./node_modules/d3-shape/src/curve/bump.js"); 28091/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-shape/src/path.js"); 28092/* harmony import */ var _point_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./point.js */ "./node_modules/d3-shape/src/point.js"); 28093 28094 28095 28096 28097 28098 28099function linkSource(d) { 28100 return d.source; 28101} 28102 28103function linkTarget(d) { 28104 return d.target; 28105} 28106 28107function link(curve) { 28108 let source = linkSource, 28109 target = linkTarget, 28110 x = _point_js__WEBPACK_IMPORTED_MODULE_0__.x, 28111 y = _point_js__WEBPACK_IMPORTED_MODULE_0__.y, 28112 context = null, 28113 output = null, 28114 path = (0,_path_js__WEBPACK_IMPORTED_MODULE_1__.withPath)(link); 28115 28116 function link() { 28117 let buffer; 28118 const argv = _array_js__WEBPACK_IMPORTED_MODULE_2__.slice.call(arguments); 28119 const s = source.apply(this, argv); 28120 const t = target.apply(this, argv); 28121 if (context == null) output = curve(buffer = path()); 28122 output.lineStart(); 28123 argv[0] = s, output.point(+x.apply(this, argv), +y.apply(this, argv)); 28124 argv[0] = t, output.point(+x.apply(this, argv), +y.apply(this, argv)); 28125 output.lineEnd(); 28126 if (buffer) return output = null, buffer + "" || null; 28127 } 28128 28129 link.source = function(_) { 28130 return arguments.length ? (source = _, link) : source; 28131 }; 28132 28133 link.target = function(_) { 28134 return arguments.length ? (target = _, link) : target; 28135 }; 28136 28137 link.x = function(_) { 28138 return arguments.length ? (x = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), link) : x; 28139 }; 28140 28141 link.y = function(_) { 28142 return arguments.length ? (y = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+_), link) : y; 28143 }; 28144 28145 link.context = function(_) { 28146 return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), link) : context; 28147 }; 28148 28149 return link; 28150} 28151 28152function linkHorizontal() { 28153 return link(_curve_bump_js__WEBPACK_IMPORTED_MODULE_4__.bumpX); 28154} 28155 28156function linkVertical() { 28157 return link(_curve_bump_js__WEBPACK_IMPORTED_MODULE_4__.bumpY); 28158} 28159 28160function linkRadial() { 28161 const l = link(_curve_bump_js__WEBPACK_IMPORTED_MODULE_4__.bumpRadial); 28162 l.angle = l.x, delete l.x; 28163 l.radius = l.y, delete l.y; 28164 return l; 28165} 28166 28167 28168/***/ }), 28169
vendor: 1,569 bytes, lines 28170-28215
28170/***/ "./node_modules/d3-shape/src/math.js": 28171/*!*******************************************!*\ 28172 !*** ./node_modules/d3-shape/src/math.js ***! 28173 \*******************************************/ 28174/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28175 28176__webpack_require__.r(__webpack_exports__); 28177/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28178/* harmony export */ abs: () => (/* binding */ abs), 28179/* harmony export */ acos: () => (/* binding */ acos), 28180/* harmony export */ asin: () => (/* binding */ asin), 28181/* harmony export */ atan2: () => (/* binding */ atan2), 28182/* harmony export */ cos: () => (/* binding */ cos), 28183/* harmony export */ epsilon: () => (/* binding */ epsilon), 28184/* harmony export */ halfPi: () => (/* binding */ halfPi), 28185/* harmony export */ max: () => (/* binding */ max), 28186/* harmony export */ min: () => (/* binding */ min), 28187/* harmony export */ pi: () => (/* binding */ pi), 28188/* harmony export */ sin: () => (/* binding */ sin), 28189/* harmony export */ sqrt: () => (/* binding */ sqrt), 28190/* harmony export */ tau: () => (/* binding */ tau) 28191/* harmony export */ }); 28192const abs = Math.abs; 28193const atan2 = Math.atan2; 28194const cos = Math.cos; 28195const max = Math.max; 28196const min = Math.min; 28197const sin = Math.sin; 28198const sqrt = Math.sqrt; 28199 28200const epsilon = 1e-12; 28201const pi = Math.PI; 28202const halfPi = pi / 2; 28203const tau = 2 * pi; 28204 28205function acos(x) { 28206 return x > 1 ? 0 : x < -1 ? pi : Math.acos(x); 28207} 28208 28209function asin(x) { 28210 return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x); 28211} 28212 28213 28214/***/ }), 28215
vendor: 600 bytes, lines 28216-28230
28216/***/ "./node_modules/d3-shape/src/noop.js": 28217/*!*******************************************!*\ 28218 !*** ./node_modules/d3-shape/src/noop.js ***! 28219 \*******************************************/ 28220/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28221 28222__webpack_require__.r(__webpack_exports__); 28223/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28224/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28225/* harmony export */ }); 28226/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {} 28227 28228 28229/***/ }), 28230
vendor: 1,050 bytes, lines 28231-28258
28231/***/ "./node_modules/d3-shape/src/offset/diverging.js": 28232/*!*******************************************************!*\ 28233 !*** ./node_modules/d3-shape/src/offset/diverging.js ***! 28234 \*******************************************************/ 28235/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28236 28237__webpack_require__.r(__webpack_exports__); 28238/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28239/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28240/* harmony export */ }); 28241/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series, order) { 28242 if (!((n = series.length) > 0)) return; 28243 for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) { 28244 for (yp = yn = 0, i = 0; i < n; ++i) { 28245 if ((dy = (d = series[order[i]][j])[1] - d[0]) > 0) { 28246 d[0] = yp, d[1] = yp += dy; 28247 } else if (dy < 0) { 28248 d[1] = yn, d[0] = yn += dy; 28249 } else { 28250 d[0] = 0, d[1] = dy; 28251 } 28252 } 28253 } 28254} 28255 28256 28257/***/ }), 28258
vendor: 1,097 bytes, lines 28259-28283
28259/***/ "./node_modules/d3-shape/src/offset/expand.js": 28260/*!****************************************************!*\ 28261 !*** ./node_modules/d3-shape/src/offset/expand.js ***! 28262 \****************************************************/ 28263/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28264 28265__webpack_require__.r(__webpack_exports__); 28266/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28267/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28268/* harmony export */ }); 28269/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "./node_modules/d3-shape/src/offset/none.js"); 28270 28271 28272/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series, order) { 28273 if (!((n = series.length) > 0)) return; 28274 for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) { 28275 for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0; 28276 if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y; 28277 } 28278 (0,_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order); 28279} 28280 28281 28282/***/ }), 28283
vendor: 908 bytes, lines 28284-28306
28284/***/ "./node_modules/d3-shape/src/offset/none.js": 28285/*!**************************************************!*\ 28286 !*** ./node_modules/d3-shape/src/offset/none.js ***! 28287 \**************************************************/ 28288/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28289 28290__webpack_require__.r(__webpack_exports__); 28291/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28292/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28293/* harmony export */ }); 28294/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series, order) { 28295 if (!((n = series.length) > 1)) return; 28296 for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) { 28297 s0 = s1, s1 = series[order[i]]; 28298 for (j = 0; j < m; ++j) { 28299 s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1]; 28300 } 28301 } 28302} 28303 28304 28305/***/ }), 28306
vendor: 1,108 bytes, lines 28307-28331
28307/***/ "./node_modules/d3-shape/src/offset/silhouette.js": 28308/*!********************************************************!*\ 28309 !*** ./node_modules/d3-shape/src/offset/silhouette.js ***! 28310 \********************************************************/ 28311/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28312 28313__webpack_require__.r(__webpack_exports__); 28314/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28315/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28316/* harmony export */ }); 28317/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "./node_modules/d3-shape/src/offset/none.js"); 28318 28319 28320/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series, order) { 28321 if (!((n = series.length) > 0)) return; 28322 for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) { 28323 for (var i = 0, y = 0; i < n; ++i) y += series[i][j][1] || 0; 28324 s0[j][1] += s0[j][0] = -y / 2; 28325 } 28326 (0,_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order); 28327} 28328 28329 28330/***/ }), 28331
vendor: 1,518 bytes, lines 28332-28370
28332/***/ "./node_modules/d3-shape/src/offset/wiggle.js": 28333/*!****************************************************!*\ 28334 !*** ./node_modules/d3-shape/src/offset/wiggle.js ***! 28335 \****************************************************/ 28336/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28337 28338__webpack_require__.r(__webpack_exports__); 28339/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28340/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28341/* harmony export */ }); 28342/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "./node_modules/d3-shape/src/offset/none.js"); 28343 28344 28345/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series, order) { 28346 if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0)) return; 28347 for (var y = 0, j = 1, s0, m, n; j < m; ++j) { 28348 for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) { 28349 var si = series[order[i]], 28350 sij0 = si[j][1] || 0, 28351 sij1 = si[j - 1][1] || 0, 28352 s3 = (sij0 - sij1) / 2; 28353 for (var k = 0; k < i; ++k) { 28354 var sk = series[order[k]], 28355 skj0 = sk[j][1] || 0, 28356 skj1 = sk[j - 1][1] || 0; 28357 s3 += skj0 - skj1; 28358 } 28359 s1 += sij0, s2 += s3 * sij0; 28360 } 28361 s0[j - 1][1] += s0[j - 1][0] = y; 28362 if (s1) y -= s2 / s1; 28363 } 28364 s0[j - 1][1] += s0[j - 1][0] = y; 28365 (0,_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order); 28366} 28367 28368 28369/***/ }), 28370
vendor: 1,125 bytes, lines 28371-28397
28371/***/ "./node_modules/d3-shape/src/order/appearance.js": 28372/*!*******************************************************!*\ 28373 !*** ./node_modules/d3-shape/src/order/appearance.js ***! 28374 \*******************************************************/ 28375/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28376 28377__webpack_require__.r(__webpack_exports__); 28378/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28379/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28380/* harmony export */ }); 28381/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "./node_modules/d3-shape/src/order/none.js"); 28382 28383 28384/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series) { 28385 var peaks = series.map(peak); 28386 return (0,_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).sort(function(a, b) { return peaks[a] - peaks[b]; }); 28387} 28388 28389function peak(series) { 28390 var i = -1, j = 0, n = series.length, vi, vj = -Infinity; 28391 while (++i < n) if ((vi = +series[i][1]) > vj) vj = vi, j = i; 28392 return j; 28393} 28394 28395 28396/***/ }), 28397
vendor: 1,138 bytes, lines 28398-28425
28398/***/ "./node_modules/d3-shape/src/order/ascending.js": 28399/*!******************************************************!*\ 28400 !*** ./node_modules/d3-shape/src/order/ascending.js ***! 28401 \******************************************************/ 28402/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28403 28404__webpack_require__.r(__webpack_exports__); 28405/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28406/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 28407/* harmony export */ sum: () => (/* binding */ sum) 28408/* harmony export */ }); 28409/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "./node_modules/d3-shape/src/order/none.js"); 28410 28411 28412/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series) { 28413 var sums = series.map(sum); 28414 return (0,_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).sort(function(a, b) { return sums[a] - sums[b]; }); 28415} 28416 28417function sum(series) { 28418 var s = 0, i = -1, n = series.length, v; 28419 while (++i < n) if (v = +series[i][1]) s += v; 28420 return s; 28421} 28422 28423 28424/***/ }), 28425
vendor: 906 bytes, lines 28426-28445
28426/***/ "./node_modules/d3-shape/src/order/descending.js": 28427/*!*******************************************************!*\ 28428 !*** ./node_modules/d3-shape/src/order/descending.js ***! 28429 \*******************************************************/ 28430/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28431 28432__webpack_require__.r(__webpack_exports__); 28433/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28434/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28435/* harmony export */ }); 28436/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-shape/src/order/ascending.js"); 28437 28438 28439/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series) { 28440 return (0,_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).reverse(); 28441} 28442 28443 28444/***/ }), 28445
vendor: 1,477 bytes, lines 28446-28488
28446/***/ "./node_modules/d3-shape/src/order/insideOut.js": 28447/*!******************************************************!*\ 28448 !*** ./node_modules/d3-shape/src/order/insideOut.js ***! 28449 \******************************************************/ 28450/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28451 28452__webpack_require__.r(__webpack_exports__); 28453/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28454/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28455/* harmony export */ }); 28456/* harmony import */ var _appearance_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./appearance.js */ "./node_modules/d3-shape/src/order/appearance.js"); 28457/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "./node_modules/d3-shape/src/order/ascending.js"); 28458 28459 28460 28461/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series) { 28462 var n = series.length, 28463 i, 28464 j, 28465 sums = series.map(_ascending_js__WEBPACK_IMPORTED_MODULE_0__.sum), 28466 order = (0,_appearance_js__WEBPACK_IMPORTED_MODULE_1__["default"])(series), 28467 top = 0, 28468 bottom = 0, 28469 tops = [], 28470 bottoms = []; 28471 28472 for (i = 0; i < n; ++i) { 28473 j = order[i]; 28474 if (top < bottom) { 28475 top += sums[j]; 28476 tops.push(j); 28477 } else { 28478 bottom += sums[j]; 28479 bottoms.push(j); 28480 } 28481 } 28482 28483 return bottoms.reverse().concat(tops); 28484} 28485 28486 28487/***/ }), 28488
vendor: 715 bytes, lines 28489-28507
28489/***/ "./node_modules/d3-shape/src/order/none.js": 28490/*!*************************************************!*\ 28491 !*** ./node_modules/d3-shape/src/order/none.js ***! 28492 \*************************************************/ 28493/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28494 28495__webpack_require__.r(__webpack_exports__); 28496/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28497/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28498/* harmony export */ }); 28499/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series) { 28500 var n = series.length, o = new Array(n); 28501 while (--n >= 0) o[n] = n; 28502 return o; 28503} 28504 28505 28506/***/ }), 28507
vendor: 874 bytes, lines 28508-28527
28508/***/ "./node_modules/d3-shape/src/order/reverse.js": 28509/*!****************************************************!*\ 28510 !*** ./node_modules/d3-shape/src/order/reverse.js ***! 28511 \****************************************************/ 28512/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28513 28514__webpack_require__.r(__webpack_exports__); 28515/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28516/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28517/* harmony export */ }); 28518/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "./node_modules/d3-shape/src/order/none.js"); 28519 28520 28521/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series) { 28522 return (0,_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).reverse(); 28523} 28524 28525 28526/***/ }), 28527
vendor: 1,028 bytes, lines 28528-28561
28528/***/ "./node_modules/d3-shape/src/path.js": 28529/*!*******************************************!*\ 28530 !*** ./node_modules/d3-shape/src/path.js ***! 28531 \*******************************************/ 28532/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28533 28534__webpack_require__.r(__webpack_exports__); 28535/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28536/* harmony export */ withPath: () => (/* binding */ withPath) 28537/* harmony export */ }); 28538/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-path */ "./node_modules/d3-path/src/path.js"); 28539 28540 28541function withPath(shape) { 28542 let digits = 3; 28543 28544 shape.digits = function(_) { 28545 if (!arguments.length) return digits; 28546 if (_ == null) { 28547 digits = null; 28548 } else { 28549 const d = Math.floor(_); 28550 if (!(d >= 0)) throw new RangeError(`invalid digits: ${_}`); 28551 digits = d; 28552 } 28553 return shape; 28554 }; 28555 28556 return () => new d3_path__WEBPACK_IMPORTED_MODULE_0__.Path(digits); 28557} 28558 28559 28560/***/ }), 28561
vendor: 4,128 bytes, lines 28562-28660
28562/***/ "./node_modules/d3-shape/src/pie.js": 28563/*!******************************************!*\ 28564 !*** ./node_modules/d3-shape/src/pie.js ***! 28565 \******************************************/ 28566/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28567 28568__webpack_require__.r(__webpack_exports__); 28569/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28570/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28571/* harmony export */ }); 28572/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-shape/src/array.js"); 28573/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-shape/src/constant.js"); 28574/* harmony import */ var _descending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./descending.js */ "./node_modules/d3-shape/src/descending.js"); 28575/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity.js */ "./node_modules/d3-shape/src/identity.js"); 28576/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./math.js */ "./node_modules/d3-shape/src/math.js"); 28577 28578 28579 28580 28581 28582 28583/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 28584 var value = _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"], 28585 sortValues = _descending_js__WEBPACK_IMPORTED_MODULE_1__["default"], 28586 sort = null, 28587 startAngle = (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(0), 28588 endAngle = (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_math_js__WEBPACK_IMPORTED_MODULE_3__.tau), 28589 padAngle = (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(0); 28590 28591 function pie(data) { 28592 var i, 28593 n = (data = (0,_array_js__WEBPACK_IMPORTED_MODULE_4__["default"])(data)).length, 28594 j, 28595 k, 28596 sum = 0, 28597 index = new Array(n), 28598 arcs = new Array(n), 28599 a0 = +startAngle.apply(this, arguments), 28600 da = Math.min(_math_js__WEBPACK_IMPORTED_MODULE_3__.tau, Math.max(-_math_js__WEBPACK_IMPORTED_MODULE_3__.tau, endAngle.apply(this, arguments) - a0)), 28601 a1, 28602 p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)), 28603 pa = p * (da < 0 ? -1 : 1), 28604 v; 28605 28606 for (i = 0; i < n; ++i) { 28607 if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) { 28608 sum += v; 28609 } 28610 } 28611 28612 // Optionally sort the arcs by previously-computed values or by data. 28613 if (sortValues != null) index.sort(function(i, j) { return sortValues(arcs[i], arcs[j]); }); 28614 else if (sort != null) index.sort(function(i, j) { return sort(data[i], data[j]); }); 28615 28616 // Compute the arcs! They are stored in the original data's order. 28617 for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) { 28618 j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = { 28619 data: data[j], 28620 index: i, 28621 value: v, 28622 startAngle: a0, 28623 endAngle: a1, 28624 padAngle: p 28625 }; 28626 } 28627 28628 return arcs; 28629 } 28630 28631 pie.value = function(_) { 28632 return arguments.length ? (value = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), pie) : value; 28633 }; 28634 28635 pie.sortValues = function(_) { 28636 return arguments.length ? (sortValues = _, sort = null, pie) : sortValues; 28637 }; 28638 28639 pie.sort = function(_) { 28640 return arguments.length ? (sort = _, sortValues = null, pie) : sort; 28641 }; 28642 28643 pie.startAngle = function(_) { 28644 return arguments.length ? (startAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), pie) : startAngle; 28645 }; 28646 28647 pie.endAngle = function(_) { 28648 return arguments.length ? (endAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), pie) : endAngle; 28649 }; 28650 28651 pie.padAngle = function(_) { 28652 return arguments.length ? (padAngle = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), pie) : padAngle; 28653 }; 28654 28655 return pie; 28656} 28657 28658 28659/***/ }), 28660
vendor: 604 bytes, lines 28661-28682
28661/***/ "./node_modules/d3-shape/src/point.js": 28662/*!********************************************!*\ 28663 !*** ./node_modules/d3-shape/src/point.js ***! 28664 \********************************************/ 28665/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28666 28667__webpack_require__.r(__webpack_exports__); 28668/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28669/* harmony export */ x: () => (/* binding */ x), 28670/* harmony export */ y: () => (/* binding */ y) 28671/* harmony export */ }); 28672function x(p) { 28673 return p[0]; 28674} 28675 28676function y(p) { 28677 return p[1]; 28678} 28679 28680 28681/***/ }), 28682
vendor: 700 bytes, lines 28683-28699
28683/***/ "./node_modules/d3-shape/src/pointRadial.js": 28684/*!**************************************************!*\ 28685 !*** ./node_modules/d3-shape/src/pointRadial.js ***! 28686 \**************************************************/ 28687/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28688 28689__webpack_require__.r(__webpack_exports__); 28690/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28691/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28692/* harmony export */ }); 28693/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, y) { 28694 return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)]; 28695} 28696 28697 28698/***/ }), 28699
vendor: 2,895 bytes, lines 28700-28775
28700/***/ "./node_modules/d3-shape/src/stack.js": 28701/*!********************************************!*\ 28702 !*** ./node_modules/d3-shape/src/stack.js ***! 28703 \********************************************/ 28704/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28705 28706__webpack_require__.r(__webpack_exports__); 28707/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28708/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 28709/* harmony export */ }); 28710/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./array.js */ "./node_modules/d3-shape/src/array.js"); 28711/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-shape/src/constant.js"); 28712/* harmony import */ var _offset_none_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./offset/none.js */ "./node_modules/d3-shape/src/offset/none.js"); 28713/* harmony import */ var _order_none_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./order/none.js */ "./node_modules/d3-shape/src/order/none.js"); 28714 28715 28716 28717 28718 28719function stackValue(d, key) { 28720 return d[key]; 28721} 28722 28723function stackSeries(key) { 28724 const series = []; 28725 series.key = key; 28726 return series; 28727} 28728 28729/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 28730 var keys = (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])([]), 28731 order = _order_none_js__WEBPACK_IMPORTED_MODULE_1__["default"], 28732 offset = _offset_none_js__WEBPACK_IMPORTED_MODULE_2__["default"], 28733 value = stackValue; 28734 28735 function stack(data) { 28736 var sz = Array.from(keys.apply(this, arguments), stackSeries), 28737 i, n = sz.length, j = -1, 28738 oz; 28739 28740 for (const d of data) { 28741 for (i = 0, ++j; i < n; ++i) { 28742 (sz[i][j] = [0, +value(d, sz[i].key, j, data)]).data = d; 28743 } 28744 } 28745 28746 for (i = 0, oz = (0,_array_js__WEBPACK_IMPORTED_MODULE_3__["default"])(order(sz)); i < n; ++i) { 28747 sz[oz[i]].index = i; 28748 } 28749 28750 offset(sz, oz); 28751 return sz; 28752 } 28753 28754 stack.keys = function(_) { 28755 return arguments.length ? (keys = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Array.from(_)), stack) : keys; 28756 }; 28757 28758 stack.value = function(_) { 28759 return arguments.length ? (value = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), stack) : value; 28760 }; 28761 28762 stack.order = function(_) { 28763 return arguments.length ? (order = _ == null ? _order_none_js__WEBPACK_IMPORTED_MODULE_1__["default"] : typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Array.from(_)), stack) : order; 28764 }; 28765 28766 stack.offset = function(_) { 28767 return arguments.length ? (offset = _ == null ? _offset_none_js__WEBPACK_IMPORTED_MODULE_2__["default"] : _, stack) : offset; 28768 }; 28769 28770 return stack; 28771} 28772 28773 28774/***/ }), 28775
vendor: 5,374 bytes, lines 28776-28872
28776/***/ "./node_modules/d3-shape/src/symbol.js": 28777/*!*********************************************!*\ 28778 !*** ./node_modules/d3-shape/src/symbol.js ***! 28779 \*********************************************/ 28780/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28781 28782__webpack_require__.r(__webpack_exports__); 28783/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28784/* harmony export */ "default": () => (/* binding */ Symbol), 28785/* harmony export */ symbolsFill: () => (/* binding */ symbolsFill), 28786/* harmony export */ symbolsStroke: () => (/* binding */ symbolsStroke) 28787/* harmony export */ }); 28788/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-shape/src/constant.js"); 28789/* harmony import */ var _path_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./path.js */ "./node_modules/d3-shape/src/path.js"); 28790/* harmony import */ var _symbol_asterisk_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./symbol/asterisk.js */ "./node_modules/d3-shape/src/symbol/asterisk.js"); 28791/* harmony import */ var _symbol_circle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./symbol/circle.js */ "./node_modules/d3-shape/src/symbol/circle.js"); 28792/* harmony import */ var _symbol_cross_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./symbol/cross.js */ "./node_modules/d3-shape/src/symbol/cross.js"); 28793/* harmony import */ var _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./symbol/diamond.js */ "./node_modules/d3-shape/src/symbol/diamond.js"); 28794/* harmony import */ var _symbol_diamond2_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./symbol/diamond2.js */ "./node_modules/d3-shape/src/symbol/diamond2.js"); 28795/* harmony import */ var _symbol_plus_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./symbol/plus.js */ "./node_modules/d3-shape/src/symbol/plus.js"); 28796/* harmony import */ var _symbol_square_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./symbol/square.js */ "./node_modules/d3-shape/src/symbol/square.js"); 28797/* harmony import */ var _symbol_square2_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./symbol/square2.js */ "./node_modules/d3-shape/src/symbol/square2.js"); 28798/* harmony import */ var _symbol_star_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./symbol/star.js */ "./node_modules/d3-shape/src/symbol/star.js"); 28799/* harmony import */ var _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./symbol/triangle.js */ "./node_modules/d3-shape/src/symbol/triangle.js"); 28800/* harmony import */ var _symbol_triangle2_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./symbol/triangle2.js */ "./node_modules/d3-shape/src/symbol/triangle2.js"); 28801/* harmony import */ var _symbol_wye_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./symbol/wye.js */ "./node_modules/d3-shape/src/symbol/wye.js"); 28802/* harmony import */ var _symbol_times_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./symbol/times.js */ "./node_modules/d3-shape/src/symbol/times.js"); 28803 28804 28805 28806 28807 28808 28809 28810 28811 28812 28813 28814 28815 28816 28817 28818 28819// These symbols are designed to be filled. 28820const symbolsFill = [ 28821 _symbol_circle_js__WEBPACK_IMPORTED_MODULE_0__["default"], 28822 _symbol_cross_js__WEBPACK_IMPORTED_MODULE_1__["default"], 28823 _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_2__["default"], 28824 _symbol_square_js__WEBPACK_IMPORTED_MODULE_3__["default"], 28825 _symbol_star_js__WEBPACK_IMPORTED_MODULE_4__["default"], 28826 _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_5__["default"], 28827 _symbol_wye_js__WEBPACK_IMPORTED_MODULE_6__["default"] 28828]; 28829 28830// These symbols are designed to be stroked (with a width of 1.5px and round caps). 28831const symbolsStroke = [ 28832 _symbol_circle_js__WEBPACK_IMPORTED_MODULE_0__["default"], 28833 _symbol_plus_js__WEBPACK_IMPORTED_MODULE_7__["default"], 28834 _symbol_times_js__WEBPACK_IMPORTED_MODULE_8__["default"], 28835 _symbol_triangle2_js__WEBPACK_IMPORTED_MODULE_9__["default"], 28836 _symbol_asterisk_js__WEBPACK_IMPORTED_MODULE_10__["default"], 28837 _symbol_square2_js__WEBPACK_IMPORTED_MODULE_11__["default"], 28838 _symbol_diamond2_js__WEBPACK_IMPORTED_MODULE_12__["default"] 28839]; 28840 28841function Symbol(type, size) { 28842 let context = null, 28843 path = (0,_path_js__WEBPACK_IMPORTED_MODULE_13__.withPath)(symbol); 28844 28845 type = typeof type === "function" ? type : (0,_constant_js__WEBPACK_IMPORTED_MODULE_14__["default"])(type || _symbol_circle_js__WEBPACK_IMPORTED_MODULE_0__["default"]); 28846 size = typeof size === "function" ? size : (0,_constant_js__WEBPACK_IMPORTED_MODULE_14__["default"])(size === undefined ? 64 : +size); 28847 28848 function symbol() { 28849 let buffer; 28850 if (!context) context = buffer = path(); 28851 type.apply(this, arguments).draw(context, +size.apply(this, arguments)); 28852 if (buffer) return context = null, buffer + "" || null; 28853 } 28854 28855 symbol.type = function(_) { 28856 return arguments.length ? (type = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_14__["default"])(_), symbol) : type; 28857 }; 28858 28859 symbol.size = function(_) { 28860 return arguments.length ? (size = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_14__["default"])(+_), symbol) : size; 28861 }; 28862 28863 symbol.context = function(_) { 28864 return arguments.length ? (context = _ == null ? null : _, symbol) : context; 28865 }; 28866 28867 return symbol; 28868} 28869 28870 28871/***/ }), 28872
vendor: 1,205 bytes, lines 28873-28904
28873/***/ "./node_modules/d3-shape/src/symbol/asterisk.js": 28874/*!******************************************************!*\ 28875 !*** ./node_modules/d3-shape/src/symbol/asterisk.js ***! 28876 \******************************************************/ 28877/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28878 28879__webpack_require__.r(__webpack_exports__); 28880/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28881/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 28882/* harmony export */ }); 28883/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 28884 28885 28886const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3); 28887 28888/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 28889 draw(context, size) { 28890 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; 28891 const t = r / 2; 28892 const u = t * sqrt3; 28893 context.moveTo(0, r); 28894 context.lineTo(0, -r); 28895 context.moveTo(-u, -t); 28896 context.lineTo(u, t); 28897 context.moveTo(-u, t); 28898 context.lineTo(u, -t); 28899 } 28900}); 28901 28902 28903/***/ }), 28904
vendor: 990 bytes, lines 28905-28928
28905/***/ "./node_modules/d3-shape/src/symbol/circle.js": 28906/*!****************************************************!*\ 28907 !*** ./node_modules/d3-shape/src/symbol/circle.js ***! 28908 \****************************************************/ 28909/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28910 28911__webpack_require__.r(__webpack_exports__); 28912/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28913/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 28914/* harmony export */ }); 28915/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 28916 28917 28918/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 28919 draw(context, size) { 28920 const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / _math_js__WEBPACK_IMPORTED_MODULE_0__.pi); 28921 context.moveTo(r, 0); 28922 context.arc(0, 0, r, 0, _math_js__WEBPACK_IMPORTED_MODULE_0__.tau); 28923 } 28924}); 28925 28926 28927/***/ }), 28928
vendor: 1,234 bytes, lines 28929-28963
28929/***/ "./node_modules/d3-shape/src/symbol/cross.js": 28930/*!***************************************************!*\ 28931 !*** ./node_modules/d3-shape/src/symbol/cross.js ***! 28932 \***************************************************/ 28933/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28934 28935__webpack_require__.r(__webpack_exports__); 28936/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28937/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 28938/* harmony export */ }); 28939/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 28940 28941 28942/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 28943 draw(context, size) { 28944 const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / 5) / 2; 28945 context.moveTo(-3 * r, -r); 28946 context.lineTo(-r, -r); 28947 context.lineTo(-r, -3 * r); 28948 context.lineTo(r, -3 * r); 28949 context.lineTo(r, -r); 28950 context.lineTo(3 * r, -r); 28951 context.lineTo(3 * r, r); 28952 context.lineTo(r, r); 28953 context.lineTo(r, 3 * r); 28954 context.lineTo(-r, 3 * r); 28955 context.lineTo(-r, r); 28956 context.lineTo(-3 * r, r); 28957 context.closePath(); 28958 } 28959}); 28960 28961 28962/***/ }), 28963
vendor: 1,116 bytes, lines 28964-28994
28964/***/ "./node_modules/d3-shape/src/symbol/diamond.js": 28965/*!*****************************************************!*\ 28966 !*** ./node_modules/d3-shape/src/symbol/diamond.js ***! 28967 \*****************************************************/ 28968/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28969 28970__webpack_require__.r(__webpack_exports__); 28971/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28972/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 28973/* harmony export */ }); 28974/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 28975 28976 28977const tan30 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(1 / 3); 28978const tan30_2 = tan30 * 2; 28979 28980/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 28981 draw(context, size) { 28982 const y = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / tan30_2); 28983 const x = y * tan30; 28984 context.moveTo(0, -y); 28985 context.lineTo(x, 0); 28986 context.lineTo(0, y); 28987 context.lineTo(-x, 0); 28988 context.closePath(); 28989 } 28990}); 28991 28992 28993/***/ }), 28994
vendor: 998 bytes, lines 28995-29021
28995/***/ "./node_modules/d3-shape/src/symbol/diamond2.js": 28996/*!******************************************************!*\ 28997 !*** ./node_modules/d3-shape/src/symbol/diamond2.js ***! 28998 \******************************************************/ 28999/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29000 29001__webpack_require__.r(__webpack_exports__); 29002/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29003/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29004/* harmony export */ }); 29005/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29006 29007 29008/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29009 draw(context, size) { 29010 const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size) * 0.62625; 29011 context.moveTo(0, -r); 29012 context.lineTo(r, 0); 29013 context.lineTo(0, r); 29014 context.lineTo(-r, 0); 29015 context.closePath(); 29016 } 29017}); 29018 29019 29020/***/ }), 29021
vendor: 1,018 bytes, lines 29022-29047
29022/***/ "./node_modules/d3-shape/src/symbol/plus.js": 29023/*!**************************************************!*\ 29024 !*** ./node_modules/d3-shape/src/symbol/plus.js ***! 29025 \**************************************************/ 29026/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29027 29028__webpack_require__.r(__webpack_exports__); 29029/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29030/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29031/* harmony export */ }); 29032/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29033 29034 29035/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29036 draw(context, size) { 29037 const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(size / 7, 2)) * 0.87559; 29038 context.moveTo(-r, 0); 29039 context.lineTo(r, 0); 29040 context.moveTo(0, r); 29041 context.lineTo(0, -r); 29042 } 29043}); 29044 29045 29046/***/ }), 29047
vendor: 901 bytes, lines 29048-29071
29048/***/ "./node_modules/d3-shape/src/symbol/square.js": 29049/*!****************************************************!*\ 29050 !*** ./node_modules/d3-shape/src/symbol/square.js ***! 29051 \****************************************************/ 29052/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29053 29054__webpack_require__.r(__webpack_exports__); 29055/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29056/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29057/* harmony export */ }); 29058/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29059 29060 29061/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29062 draw(context, size) { 29063 const w = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size); 29064 const x = -w / 2; 29065 context.rect(x, x, w, w); 29066 } 29067}); 29068 29069 29070/***/ }), 29071
vendor: 995 bytes, lines 29072-29098
29072/***/ "./node_modules/d3-shape/src/symbol/square2.js": 29073/*!*****************************************************!*\ 29074 !*** ./node_modules/d3-shape/src/symbol/square2.js ***! 29075 \*****************************************************/ 29076/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29077 29078__webpack_require__.r(__webpack_exports__); 29079/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29080/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29081/* harmony export */ }); 29082/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29083 29084 29085/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29086 draw(context, size) { 29087 const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size) * 0.4431; 29088 context.moveTo(r, r); 29089 context.lineTo(r, -r); 29090 context.lineTo(-r, -r); 29091 context.lineTo(-r, r); 29092 context.closePath(); 29093 } 29094}); 29095 29096 29097/***/ }), 29098
vendor: 1,759 bytes, lines 29099-29137
29099/***/ "./node_modules/d3-shape/src/symbol/star.js": 29100/*!**************************************************!*\ 29101 !*** ./node_modules/d3-shape/src/symbol/star.js ***! 29102 \**************************************************/ 29103/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29104 29105__webpack_require__.r(__webpack_exports__); 29106/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29107/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29108/* harmony export */ }); 29109/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29110 29111 29112const ka = 0.89081309152928522810; 29113const kr = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(_math_js__WEBPACK_IMPORTED_MODULE_0__.pi / 10) / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(7 * _math_js__WEBPACK_IMPORTED_MODULE_0__.pi / 10); 29114const kx = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(_math_js__WEBPACK_IMPORTED_MODULE_0__.tau / 10) * kr; 29115const ky = -(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(_math_js__WEBPACK_IMPORTED_MODULE_0__.tau / 10) * kr; 29116 29117/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29118 draw(context, size) { 29119 const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size * ka); 29120 const x = kx * r; 29121 const y = ky * r; 29122 context.moveTo(0, -r); 29123 context.lineTo(x, y); 29124 for (let i = 1; i < 5; ++i) { 29125 const a = _math_js__WEBPACK_IMPORTED_MODULE_0__.tau * i / 5; 29126 const c = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(a); 29127 const s = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(a); 29128 context.lineTo(s * r, -c * r); 29129 context.lineTo(c * x - s * y, s * x + c * y); 29130 } 29131 context.closePath(); 29132 } 29133}); 29134 29135 29136/***/ }), 29137
vendor: 1,025 bytes, lines 29138-29163
29138/***/ "./node_modules/d3-shape/src/symbol/times.js": 29139/*!***************************************************!*\ 29140 !*** ./node_modules/d3-shape/src/symbol/times.js ***! 29141 \***************************************************/ 29142/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29143 29144__webpack_require__.r(__webpack_exports__); 29145/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29146/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29147/* harmony export */ }); 29148/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29149 29150 29151/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29152 draw(context, size) { 29153 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; 29154 context.moveTo(-r, -r); 29155 context.lineTo(r, r); 29156 context.moveTo(-r, r); 29157 context.lineTo(r, -r); 29158 } 29159}); 29160 29161 29162/***/ }), 29163
vendor: 1,064 bytes, lines 29164-29191
29164/***/ "./node_modules/d3-shape/src/symbol/triangle.js": 29165/*!******************************************************!*\ 29166 !*** ./node_modules/d3-shape/src/symbol/triangle.js ***! 29167 \******************************************************/ 29168/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29169 29170__webpack_require__.r(__webpack_exports__); 29171/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29172/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29173/* harmony export */ }); 29174/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29175 29176 29177const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3); 29178 29179/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29180 draw(context, size) { 29181 const y = -(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / (sqrt3 * 3)); 29182 context.moveTo(0, y * 2); 29183 context.lineTo(-sqrt3 * y, -y); 29184 context.lineTo(sqrt3 * y, -y); 29185 context.closePath(); 29186 } 29187}); 29188 29189 29190/***/ }), 29191
vendor: 1,114 bytes, lines 29192-29221
29192/***/ "./node_modules/d3-shape/src/symbol/triangle2.js": 29193/*!*******************************************************!*\ 29194 !*** ./node_modules/d3-shape/src/symbol/triangle2.js ***! 29195 \*******************************************************/ 29196/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29197 29198__webpack_require__.r(__webpack_exports__); 29199/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29200/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29201/* harmony export */ }); 29202/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29203 29204 29205const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3); 29206 29207/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29208 draw(context, size) { 29209 const s = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size) * 0.6824; 29210 const t = s / 2; 29211 const u = (s * sqrt3) / 2; // cos(Math.PI / 6) 29212 context.moveTo(0, -s); 29213 context.lineTo(u, t); 29214 context.lineTo(-u, t); 29215 context.closePath(); 29216 } 29217}); 29218 29219 29220/***/ }), 29221
vendor: 1,547 bytes, lines 29222-29261
29222/***/ "./node_modules/d3-shape/src/symbol/wye.js": 29223/*!*************************************************!*\ 29224 !*** ./node_modules/d3-shape/src/symbol/wye.js ***! 29225 \*************************************************/ 29226/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29227 29228__webpack_require__.r(__webpack_exports__); 29229/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29230/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29231/* harmony export */ }); 29232/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "./node_modules/d3-shape/src/math.js"); 29233 29234 29235const c = -0.5; 29236const s = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3) / 2; 29237const k = 1 / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(12); 29238const a = (k / 2 + 1) * 3; 29239 29240/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 29241 draw(context, size) { 29242 const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / a); 29243 const x0 = r / 2, y0 = r * k; 29244 const x1 = x0, y1 = r * k + r; 29245 const x2 = -x1, y2 = y1; 29246 context.moveTo(x0, y0); 29247 context.lineTo(x1, y1); 29248 context.lineTo(x2, y2); 29249 context.lineTo(c * x0 - s * y0, s * x0 + c * y0); 29250 context.lineTo(c * x1 - s * y1, s * x1 + c * y1); 29251 context.lineTo(c * x2 - s * y2, s * x2 + c * y2); 29252 context.lineTo(c * x0 + s * y0, c * y0 - s * x0); 29253 context.lineTo(c * x1 + s * y1, c * y1 - s * x1); 29254 context.lineTo(c * x2 + s * y2, c * y2 - s * x2); 29255 context.closePath(); 29256 } 29257}); 29258 29259 29260/***/ }), 29261
vendor: 1,814 bytes, lines 29262-29307
29262/***/ "./node_modules/d3-time-format/src/defaultLocale.js": 29263/*!**********************************************************!*\ 29264 !*** ./node_modules/d3-time-format/src/defaultLocale.js ***! 29265 \**********************************************************/ 29266/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29267 29268__webpack_require__.r(__webpack_exports__); 29269/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29270/* harmony export */ "default": () => (/* binding */ defaultLocale), 29271/* harmony export */ timeFormat: () => (/* binding */ timeFormat), 29272/* harmony export */ timeParse: () => (/* binding */ timeParse), 29273/* harmony export */ utcFormat: () => (/* binding */ utcFormat), 29274/* harmony export */ utcParse: () => (/* binding */ utcParse) 29275/* harmony export */ }); 29276/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale.js */ "./node_modules/d3-time-format/src/locale.js"); 29277 29278 29279var locale; 29280var timeFormat; 29281var timeParse; 29282var utcFormat; 29283var utcParse; 29284 29285defaultLocale({ 29286 dateTime: "%x, %X", 29287 date: "%-m/%-d/%Y", 29288 time: "%-I:%M:%S %p", 29289 periods: ["AM", "PM"], 29290 days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], 29291 shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 29292 months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], 29293 shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] 29294}); 29295 29296function defaultLocale(definition) { 29297 locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition); 29298 timeFormat = locale.format; 29299 timeParse = locale.parse; 29300 utcFormat = locale.utcFormat; 29301 utcParse = locale.utcParse; 29302 return locale; 29303} 29304 29305 29306/***/ }), 29307
vendor: 2,083 bytes, lines 29308-29336
29308/***/ "./node_modules/d3-time-format/src/index.js": 29309/*!**************************************************!*\ 29310 !*** ./node_modules/d3-time-format/src/index.js ***! 29311 \**************************************************/ 29312/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29313 29314__webpack_require__.r(__webpack_exports__); 29315/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29316/* harmony export */ isoFormat: () => (/* reexport safe */ _isoFormat_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 29317/* harmony export */ isoParse: () => (/* reexport safe */ _isoParse_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 29318/* harmony export */ timeFormat: () => (/* reexport safe */ _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.timeFormat), 29319/* harmony export */ timeFormatDefaultLocale: () => (/* reexport safe */ _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 29320/* harmony export */ timeFormatLocale: () => (/* reexport safe */ _locale_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 29321/* harmony export */ timeParse: () => (/* reexport safe */ _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.timeParse), 29322/* harmony export */ utcFormat: () => (/* reexport safe */ _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.utcFormat), 29323/* harmony export */ utcParse: () => (/* reexport safe */ _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.utcParse) 29324/* harmony export */ }); 29325/* harmony import */ var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultLocale.js */ "./node_modules/d3-time-format/src/defaultLocale.js"); 29326/* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./locale.js */ "./node_modules/d3-time-format/src/locale.js"); 29327/* harmony import */ var _isoFormat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isoFormat.js */ "./node_modules/d3-time-format/src/isoFormat.js"); 29328/* harmony import */ var _isoParse_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isoParse.js */ "./node_modules/d3-time-format/src/isoParse.js"); 29329 29330 29331 29332 29333 29334 29335/***/ }), 29336
vendor: 1,130 bytes, lines 29337-29365
29337/***/ "./node_modules/d3-time-format/src/isoFormat.js": 29338/*!******************************************************!*\ 29339 !*** ./node_modules/d3-time-format/src/isoFormat.js ***! 29340 \******************************************************/ 29341/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29342 29343__webpack_require__.r(__webpack_exports__); 29344/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29345/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 29346/* harmony export */ isoSpecifier: () => (/* binding */ isoSpecifier) 29347/* harmony export */ }); 29348/* harmony import */ var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultLocale.js */ "./node_modules/d3-time-format/src/defaultLocale.js"); 29349 29350 29351var isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ"; 29352 29353function formatIsoNative(date) { 29354 return date.toISOString(); 29355} 29356 29357var formatIso = Date.prototype.toISOString 29358 ? formatIsoNative 29359 : (0,_defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.utcFormat)(isoSpecifier); 29360 29361/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formatIso); 29362 29363 29364/***/ }), 29365
vendor: 1,261 bytes, lines 29366-29394
29366/***/ "./node_modules/d3-time-format/src/isoParse.js": 29367/*!*****************************************************!*\ 29368 !*** ./node_modules/d3-time-format/src/isoParse.js ***! 29369 \*****************************************************/ 29370/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29371 29372__webpack_require__.r(__webpack_exports__); 29373/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29374/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 29375/* harmony export */ }); 29376/* harmony import */ var _isoFormat_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isoFormat.js */ "./node_modules/d3-time-format/src/isoFormat.js"); 29377/* harmony import */ var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultLocale.js */ "./node_modules/d3-time-format/src/defaultLocale.js"); 29378 29379 29380 29381function parseIsoNative(string) { 29382 var date = new Date(string); 29383 return isNaN(date) ? null : date; 29384} 29385 29386var parseIso = +new Date("2000-01-01T00:00:00.000Z") 29387 ? parseIsoNative 29388 : (0,_defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.utcParse)(_isoFormat_js__WEBPACK_IMPORTED_MODULE_1__.isoSpecifier); 29389 29390/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parseIso); 29391 29392 29393/***/ }), 29394
vendor: 20,602 bytes, lines 29395-30097
29395/***/ "./node_modules/d3-time-format/src/locale.js": 29396/*!***************************************************!*\ 29397 !*** ./node_modules/d3-time-format/src/locale.js ***! 29398 \***************************************************/ 29399/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29400 29401__webpack_require__.r(__webpack_exports__); 29402/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29403/* harmony export */ "default": () => (/* binding */ formatLocale) 29404/* harmony export */ }); 29405/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/week.js"); 29406/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/day.js"); 29407/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/year.js"); 29408 29409 29410function localDate(d) { 29411 if (0 <= d.y && d.y < 100) { 29412 var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L); 29413 date.setFullYear(d.y); 29414 return date; 29415 } 29416 return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L); 29417} 29418 29419function utcDate(d) { 29420 if (0 <= d.y && d.y < 100) { 29421 var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L)); 29422 date.setUTCFullYear(d.y); 29423 return date; 29424 } 29425 return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L)); 29426} 29427 29428function newDate(y, m, d) { 29429 return {y: y, m: m, d: d, H: 0, M: 0, S: 0, L: 0}; 29430} 29431 29432function formatLocale(locale) { 29433 var locale_dateTime = locale.dateTime, 29434 locale_date = locale.date, 29435 locale_time = locale.time, 29436 locale_periods = locale.periods, 29437 locale_weekdays = locale.days, 29438 locale_shortWeekdays = locale.shortDays, 29439 locale_months = locale.months, 29440 locale_shortMonths = locale.shortMonths; 29441 29442 var periodRe = formatRe(locale_periods), 29443 periodLookup = formatLookup(locale_periods), 29444 weekdayRe = formatRe(locale_weekdays), 29445 weekdayLookup = formatLookup(locale_weekdays), 29446 shortWeekdayRe = formatRe(locale_shortWeekdays), 29447 shortWeekdayLookup = formatLookup(locale_shortWeekdays), 29448 monthRe = formatRe(locale_months), 29449 monthLookup = formatLookup(locale_months), 29450 shortMonthRe = formatRe(locale_shortMonths), 29451 shortMonthLookup = formatLookup(locale_shortMonths); 29452 29453 var formats = { 29454 "a": formatShortWeekday, 29455 "A": formatWeekday, 29456 "b": formatShortMonth, 29457 "B": formatMonth, 29458 "c": null, 29459 "d": formatDayOfMonth, 29460 "e": formatDayOfMonth, 29461 "f": formatMicroseconds, 29462 "g": formatYearISO, 29463 "G": formatFullYearISO, 29464 "H": formatHour24, 29465 "I": formatHour12, 29466 "j": formatDayOfYear, 29467 "L": formatMilliseconds, 29468 "m": formatMonthNumber, 29469 "M": formatMinutes, 29470 "p": formatPeriod, 29471 "q": formatQuarter, 29472 "Q": formatUnixTimestamp, 29473 "s": formatUnixTimestampSeconds, 29474 "S": formatSeconds, 29475 "u": formatWeekdayNumberMonday, 29476 "U": formatWeekNumberSunday, 29477 "V": formatWeekNumberISO, 29478 "w": formatWeekdayNumberSunday, 29479 "W": formatWeekNumberMonday, 29480 "x": null, 29481 "X": null, 29482 "y": formatYear, 29483 "Y": formatFullYear, 29484 "Z": formatZone, 29485 "%": formatLiteralPercent 29486 }; 29487 29488 var utcFormats = { 29489 "a": formatUTCShortWeekday, 29490 "A": formatUTCWeekday, 29491 "b": formatUTCShortMonth, 29492 "B": formatUTCMonth, 29493 "c": null, 29494 "d": formatUTCDayOfMonth, 29495 "e": formatUTCDayOfMonth, 29496 "f": formatUTCMicroseconds, 29497 "g": formatUTCYearISO, 29498 "G": formatUTCFullYearISO, 29499 "H": formatUTCHour24, 29500 "I": formatUTCHour12, 29501 "j": formatUTCDayOfYear, 29502 "L": formatUTCMilliseconds, 29503 "m": formatUTCMonthNumber, 29504 "M": formatUTCMinutes, 29505 "p": formatUTCPeriod, 29506 "q": formatUTCQuarter, 29507 "Q": formatUnixTimestamp, 29508 "s": formatUnixTimestampSeconds, 29509 "S": formatUTCSeconds, 29510 "u": formatUTCWeekdayNumberMonday, 29511 "U": formatUTCWeekNumberSunday, 29512 "V": formatUTCWeekNumberISO, 29513 "w": formatUTCWeekdayNumberSunday, 29514 "W": formatUTCWeekNumberMonday, 29515 "x": null, 29516 "X": null, 29517 "y": formatUTCYear, 29518 "Y": formatUTCFullYear, 29519 "Z": formatUTCZone, 29520 "%": formatLiteralPercent 29521 }; 29522 29523 var parses = { 29524 "a": parseShortWeekday, 29525 "A": parseWeekday, 29526 "b": parseShortMonth, 29527 "B": parseMonth, 29528 "c": parseLocaleDateTime, 29529 "d": parseDayOfMonth, 29530 "e": parseDayOfMonth, 29531 "f": parseMicroseconds, 29532 "g": parseYear, 29533 "G": parseFullYear, 29534 "H": parseHour24, 29535 "I": parseHour24, 29536 "j": parseDayOfYear, 29537 "L": parseMilliseconds, 29538 "m": parseMonthNumber, 29539 "M": parseMinutes, 29540 "p": parsePeriod, 29541 "q": parseQuarter, 29542 "Q": parseUnixTimestamp, 29543 "s": parseUnixTimestampSeconds, 29544 "S": parseSeconds, 29545 "u": parseWeekdayNumberMonday, 29546 "U": parseWeekNumberSunday, 29547 "V": parseWeekNumberISO, 29548 "w": parseWeekdayNumberSunday, 29549 "W": parseWeekNumberMonday, 29550 "x": parseLocaleDate, 29551 "X": parseLocaleTime, 29552 "y": parseYear, 29553 "Y": parseFullYear, 29554 "Z": parseZone, 29555 "%": parseLiteralPercent 29556 }; 29557 29558 // These recursive directive definitions must be deferred. 29559 formats.x = newFormat(locale_date, formats); 29560 formats.X = newFormat(locale_time, formats); 29561 formats.c = newFormat(locale_dateTime, formats); 29562 utcFormats.x = newFormat(locale_date, utcFormats); 29563 utcFormats.X = newFormat(locale_time, utcFormats); 29564 utcFormats.c = newFormat(locale_dateTime, utcFormats); 29565 29566 function newFormat(specifier, formats) { 29567 return function(date) { 29568 var string = [], 29569 i = -1, 29570 j = 0, 29571 n = specifier.length, 29572 c, 29573 pad, 29574 format; 29575 29576 if (!(date instanceof Date)) date = new Date(+date); 29577 29578 while (++i < n) { 29579 if (specifier.charCodeAt(i) === 37) { 29580 string.push(specifier.slice(j, i)); 29581 if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i); 29582 else pad = c === "e" ? " " : "0"; 29583 if (format = formats[c]) c = format(date, pad); 29584 string.push(c); 29585 j = i + 1; 29586 } 29587 } 29588 29589 string.push(specifier.slice(j, i)); 29590 return string.join(""); 29591 }; 29592 } 29593 29594 function newParse(specifier, Z) { 29595 return function(string) { 29596 var d = newDate(1900, undefined, 1), 29597 i = parseSpecifier(d, specifier, string += "", 0), 29598 week, day; 29599 if (i != string.length) return null; 29600 29601 // If a UNIX timestamp is specified, return it. 29602 if ("Q" in d) return new Date(d.Q); 29603 if ("s" in d) return new Date(d.s * 1000 + ("L" in d ? d.L : 0)); 29604 29605 // If this is utcParse, never use the local timezone. 29606 if (Z && !("Z" in d)) d.Z = 0; 29607 29608 // The am-pm flag is 0 for AM, and 1 for PM. 29609 if ("p" in d) d.H = d.H % 12 + d.p * 12; 29610 29611 // If the month was not specified, inherit from the quarter. 29612 if (d.m === undefined) d.m = "q" in d ? d.q : 0; 29613 29614 // Convert day-of-week and week-of-year to day-of-year. 29615 if ("V" in d) { 29616 if (d.V < 1 || d.V > 53) return null; 29617 if (!("w" in d)) d.w = 1; 29618 if ("Z" in d) { 29619 week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay(); 29620 week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.ceil(week) : (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday)(week); 29621 week = d3_time__WEBPACK_IMPORTED_MODULE_1__.utcDay.offset(week, (d.V - 1) * 7); 29622 d.y = week.getUTCFullYear(); 29623 d.m = week.getUTCMonth(); 29624 d.d = week.getUTCDate() + (d.w + 6) % 7; 29625 } else { 29626 week = localDate(newDate(d.y, 0, 1)), day = week.getDay(); 29627 week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_0__.timeMonday.ceil(week) : (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.timeMonday)(week); 29628 week = d3_time__WEBPACK_IMPORTED_MODULE_1__.timeDay.offset(week, (d.V - 1) * 7); 29629 d.y = week.getFullYear(); 29630 d.m = week.getMonth(); 29631 d.d = week.getDate() + (d.w + 6) % 7; 29632 } 29633 } else if ("W" in d || "U" in d) { 29634 if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0; 29635 day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay(); 29636 d.m = 0; 29637 d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7; 29638 } 29639 29640 // If a time zone is specified, all fields are interpreted as UTC and then 29641 // offset according to the specified time zone. 29642 if ("Z" in d) { 29643 d.H += d.Z / 100 | 0; 29644 d.M += d.Z % 100; 29645 return utcDate(d); 29646 } 29647 29648 // Otherwise, all fields are in local time. 29649 return localDate(d); 29650 }; 29651 } 29652 29653 function parseSpecifier(d, specifier, string, j) { 29654 var i = 0, 29655 n = specifier.length, 29656 m = string.length, 29657 c, 29658 parse; 29659 29660 while (i < n) { 29661 if (j >= m) return -1; 29662 c = specifier.charCodeAt(i++); 29663 if (c === 37) { 29664 c = specifier.charAt(i++); 29665 parse = parses[c in pads ? specifier.charAt(i++) : c]; 29666 if (!parse || ((j = parse(d, string, j)) < 0)) return -1; 29667 } else if (c != string.charCodeAt(j++)) { 29668 return -1; 29669 } 29670 } 29671 29672 return j; 29673 } 29674 29675 function parsePeriod(d, string, i) { 29676 var n = periodRe.exec(string.slice(i)); 29677 return n ? (d.p = periodLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; 29678 } 29679 29680 function parseShortWeekday(d, string, i) { 29681 var n = shortWeekdayRe.exec(string.slice(i)); 29682 return n ? (d.w = shortWeekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; 29683 } 29684 29685 function parseWeekday(d, string, i) { 29686 var n = weekdayRe.exec(string.slice(i)); 29687 return n ? (d.w = weekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; 29688 } 29689 29690 function parseShortMonth(d, string, i) { 29691 var n = shortMonthRe.exec(string.slice(i)); 29692 return n ? (d.m = shortMonthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; 29693 } 29694 29695 function parseMonth(d, string, i) { 29696 var n = monthRe.exec(string.slice(i)); 29697 return n ? (d.m = monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1; 29698 } 29699 29700 function parseLocaleDateTime(d, string, i) { 29701 return parseSpecifier(d, locale_dateTime, string, i); 29702 } 29703 29704 function parseLocaleDate(d, string, i) { 29705 return parseSpecifier(d, locale_date, string, i); 29706 } 29707 29708 function parseLocaleTime(d, string, i) { 29709 return parseSpecifier(d, locale_time, string, i); 29710 } 29711 29712 function formatShortWeekday(d) { 29713 return locale_shortWeekdays[d.getDay()]; 29714 } 29715 29716 function formatWeekday(d) { 29717 return locale_weekdays[d.getDay()]; 29718 } 29719 29720 function formatShortMonth(d) { 29721 return locale_shortMonths[d.getMonth()]; 29722 } 29723 29724 function formatMonth(d) { 29725 return locale_months[d.getMonth()]; 29726 } 29727 29728 function formatPeriod(d) { 29729 return locale_periods[+(d.getHours() >= 12)]; 29730 } 29731 29732 function formatQuarter(d) { 29733 return 1 + ~~(d.getMonth() / 3); 29734 } 29735 29736 function formatUTCShortWeekday(d) { 29737 return locale_shortWeekdays[d.getUTCDay()]; 29738 } 29739 29740 function formatUTCWeekday(d) { 29741 return locale_weekdays[d.getUTCDay()]; 29742 } 29743 29744 function formatUTCShortMonth(d) { 29745 return locale_shortMonths[d.getUTCMonth()]; 29746 } 29747 29748 function formatUTCMonth(d) { 29749 return locale_months[d.getUTCMonth()]; 29750 } 29751 29752 function formatUTCPeriod(d) { 29753 return locale_periods[+(d.getUTCHours() >= 12)]; 29754 } 29755 29756 function formatUTCQuarter(d) { 29757 return 1 + ~~(d.getUTCMonth() / 3); 29758 } 29759 29760 return { 29761 format: function(specifier) { 29762 var f = newFormat(specifier += "", formats); 29763 f.toString = function() { return specifier; }; 29764 return f; 29765 }, 29766 parse: function(specifier) { 29767 var p = newParse(specifier += "", false); 29768 p.toString = function() { return specifier; }; 29769 return p; 29770 }, 29771 utcFormat: function(specifier) { 29772 var f = newFormat(specifier += "", utcFormats); 29773 f.toString = function() { return specifier; }; 29774 return f; 29775 }, 29776 utcParse: function(specifier) { 29777 var p = newParse(specifier += "", true); 29778 p.toString = function() { return specifier; }; 29779 return p; 29780 } 29781 }; 29782} 29783 29784var pads = {"-": "", "_": " ", "0": "0"}, 29785 numberRe = /^\s*\d+/, // note: ignores next directive 29786 percentRe = /^%/, 29787 requoteRe = /[\\^$*+?|[\]().{}]/g; 29788 29789function pad(value, fill, width) { 29790 var sign = value < 0 ? "-" : "", 29791 string = (sign ? -value : value) + "", 29792 length = string.length; 29793 return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string); 29794} 29795 29796function requote(s) { 29797 return s.replace(requoteRe, "\\$&"); 29798} 29799 29800function formatRe(names) { 29801 return new RegExp("^(?:" + names.map(requote).join("|") + ")", "i"); 29802} 29803 29804function formatLookup(names) { 29805 return new Map(names.map((name, i) => [name.toLowerCase(), i])); 29806} 29807 29808function parseWeekdayNumberSunday(d, string, i) { 29809 var n = numberRe.exec(string.slice(i, i + 1)); 29810 return n ? (d.w = +n[0], i + n[0].length) : -1; 29811} 29812 29813function parseWeekdayNumberMonday(d, string, i) { 29814 var n = numberRe.exec(string.slice(i, i + 1)); 29815 return n ? (d.u = +n[0], i + n[0].length) : -1; 29816} 29817 29818function parseWeekNumberSunday(d, string, i) { 29819 var n = numberRe.exec(string.slice(i, i + 2)); 29820 return n ? (d.U = +n[0], i + n[0].length) : -1; 29821} 29822 29823function parseWeekNumberISO(d, string, i) { 29824 var n = numberRe.exec(string.slice(i, i + 2)); 29825 return n ? (d.V = +n[0], i + n[0].length) : -1; 29826} 29827 29828function parseWeekNumberMonday(d, string, i) { 29829 var n = numberRe.exec(string.slice(i, i + 2)); 29830 return n ? (d.W = +n[0], i + n[0].length) : -1; 29831} 29832 29833function parseFullYear(d, string, i) { 29834 var n = numberRe.exec(string.slice(i, i + 4)); 29835 return n ? (d.y = +n[0], i + n[0].length) : -1; 29836} 29837 29838function parseYear(d, string, i) { 29839 var n = numberRe.exec(string.slice(i, i + 2)); 29840 return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1; 29841} 29842 29843function parseZone(d, string, i) { 29844 var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6)); 29845 return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1; 29846} 29847 29848function parseQuarter(d, string, i) { 29849 var n = numberRe.exec(string.slice(i, i + 1)); 29850 return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1; 29851} 29852 29853function parseMonthNumber(d, string, i) { 29854 var n = numberRe.exec(string.slice(i, i + 2)); 29855 return n ? (d.m = n[0] - 1, i + n[0].length) : -1; 29856} 29857 29858function parseDayOfMonth(d, string, i) { 29859 var n = numberRe.exec(string.slice(i, i + 2)); 29860 return n ? (d.d = +n[0], i + n[0].length) : -1; 29861} 29862 29863function parseDayOfYear(d, string, i) { 29864 var n = numberRe.exec(string.slice(i, i + 3)); 29865 return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1; 29866} 29867 29868function parseHour24(d, string, i) { 29869 var n = numberRe.exec(string.slice(i, i + 2)); 29870 return n ? (d.H = +n[0], i + n[0].length) : -1; 29871} 29872 29873function parseMinutes(d, string, i) { 29874 var n = numberRe.exec(string.slice(i, i + 2)); 29875 return n ? (d.M = +n[0], i + n[0].length) : -1; 29876} 29877 29878function parseSeconds(d, string, i) { 29879 var n = numberRe.exec(string.slice(i, i + 2)); 29880 return n ? (d.S = +n[0], i + n[0].length) : -1; 29881} 29882 29883function parseMilliseconds(d, string, i) { 29884 var n = numberRe.exec(string.slice(i, i + 3)); 29885 return n ? (d.L = +n[0], i + n[0].length) : -1; 29886} 29887 29888function parseMicroseconds(d, string, i) { 29889 var n = numberRe.exec(string.slice(i, i + 6)); 29890 return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1; 29891} 29892 29893function parseLiteralPercent(d, string, i) { 29894 var n = percentRe.exec(string.slice(i, i + 1)); 29895 return n ? i + n[0].length : -1; 29896} 29897 29898function parseUnixTimestamp(d, string, i) { 29899 var n = numberRe.exec(string.slice(i)); 29900 return n ? (d.Q = +n[0], i + n[0].length) : -1; 29901} 29902 29903function parseUnixTimestampSeconds(d, string, i) { 29904 var n = numberRe.exec(string.slice(i)); 29905 return n ? (d.s = +n[0], i + n[0].length) : -1; 29906} 29907 29908function formatDayOfMonth(d, p) { 29909 return pad(d.getDate(), p, 2); 29910} 29911 29912function formatHour24(d, p) { 29913 return pad(d.getHours(), p, 2); 29914} 29915 29916function formatHour12(d, p) { 29917 return pad(d.getHours() % 12 || 12, p, 2); 29918} 29919 29920function formatDayOfYear(d, p) { 29921 return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_1__.timeDay.count((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.timeYear)(d), d), p, 3); 29922} 29923 29924function formatMilliseconds(d, p) { 29925 return pad(d.getMilliseconds(), p, 3); 29926} 29927 29928function formatMicroseconds(d, p) { 29929 return formatMilliseconds(d, p) + "000"; 29930} 29931 29932function formatMonthNumber(d, p) { 29933 return pad(d.getMonth() + 1, p, 2); 29934} 29935 29936function formatMinutes(d, p) { 29937 return pad(d.getMinutes(), p, 2); 29938} 29939 29940function formatSeconds(d, p) { 29941 return pad(d.getSeconds(), p, 2); 29942} 29943 29944function formatWeekdayNumberMonday(d) { 29945 var day = d.getDay(); 29946 return day === 0 ? 7 : day; 29947} 29948 29949function formatWeekNumberSunday(d, p) { 29950 return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeSunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.timeYear)(d) - 1, d), p, 2); 29951} 29952 29953function dISO(d) { 29954 var day = d.getDay(); 29955 return (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.timeThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.timeThursday.ceil(d); 29956} 29957 29958function formatWeekNumberISO(d, p) { 29959 d = dISO(d); 29960 return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeThursday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.timeYear)(d), d) + ((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.timeYear)(d).getDay() === 4), p, 2); 29961} 29962 29963function formatWeekdayNumberSunday(d) { 29964 return d.getDay(); 29965} 29966 29967function formatWeekNumberMonday(d, p) { 29968 return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeMonday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.timeYear)(d) - 1, d), p, 2); 29969} 29970 29971function formatYear(d, p) { 29972 return pad(d.getFullYear() % 100, p, 2); 29973} 29974 29975function formatYearISO(d, p) { 29976 d = dISO(d); 29977 return pad(d.getFullYear() % 100, p, 2); 29978} 29979 29980function formatFullYear(d, p) { 29981 return pad(d.getFullYear() % 10000, p, 4); 29982} 29983 29984function formatFullYearISO(d, p) { 29985 var day = d.getDay(); 29986 d = (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.timeThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.timeThursday.ceil(d); 29987 return pad(d.getFullYear() % 10000, p, 4); 29988} 29989 29990function formatZone(d) { 29991 var z = d.getTimezoneOffset(); 29992 return (z > 0 ? "-" : (z *= -1, "+")) 29993 + pad(z / 60 | 0, "0", 2) 29994 + pad(z % 60, "0", 2); 29995} 29996 29997function formatUTCDayOfMonth(d, p) { 29998 return pad(d.getUTCDate(), p, 2); 29999} 30000 30001function formatUTCHour24(d, p) { 30002 return pad(d.getUTCHours(), p, 2); 30003} 30004 30005function formatUTCHour12(d, p) { 30006 return pad(d.getUTCHours() % 12 || 12, p, 2); 30007} 30008 30009function formatUTCDayOfYear(d, p) { 30010 return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_1__.utcDay.count((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.utcYear)(d), d), p, 3); 30011} 30012 30013function formatUTCMilliseconds(d, p) { 30014 return pad(d.getUTCMilliseconds(), p, 3); 30015} 30016 30017function formatUTCMicroseconds(d, p) { 30018 return formatUTCMilliseconds(d, p) + "000"; 30019} 30020 30021function formatUTCMonthNumber(d, p) { 30022 return pad(d.getUTCMonth() + 1, p, 2); 30023} 30024 30025function formatUTCMinutes(d, p) { 30026 return pad(d.getUTCMinutes(), p, 2); 30027} 30028 30029function formatUTCSeconds(d, p) { 30030 return pad(d.getUTCSeconds(), p, 2); 30031} 30032 30033function formatUTCWeekdayNumberMonday(d) { 30034 var dow = d.getUTCDay(); 30035 return dow === 0 ? 7 : dow; 30036} 30037 30038function formatUTCWeekNumberSunday(d, p) { 30039 return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcSunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.utcYear)(d) - 1, d), p, 2); 30040} 30041 30042function UTCdISO(d) { 30043 var day = d.getUTCDay(); 30044 return (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.ceil(d); 30045} 30046 30047function formatUTCWeekNumberISO(d, p) { 30048 d = UTCdISO(d); 30049 return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.utcYear)(d), d) + ((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.utcYear)(d).getUTCDay() === 4), p, 2); 30050} 30051 30052function formatUTCWeekdayNumberSunday(d) { 30053 return d.getUTCDay(); 30054} 30055 30056function formatUTCWeekNumberMonday(d, p) { 30057 return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_2__.utcYear)(d) - 1, d), p, 2); 30058} 30059 30060function formatUTCYear(d, p) { 30061 return pad(d.getUTCFullYear() % 100, p, 2); 30062} 30063 30064function formatUTCYearISO(d, p) { 30065 d = UTCdISO(d); 30066 return pad(d.getUTCFullYear() % 100, p, 2); 30067} 30068 30069function formatUTCFullYear(d, p) { 30070 return pad(d.getUTCFullYear() % 10000, p, 4); 30071} 30072 30073function formatUTCFullYearISO(d, p) { 30074 var day = d.getUTCDay(); 30075 d = (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.ceil(d); 30076 return pad(d.getUTCFullYear() % 10000, p, 4); 30077} 30078 30079function formatUTCZone() { 30080 return "+0000"; 30081} 30082 30083function formatLiteralPercent() { 30084 return "%"; 30085} 30086 30087function formatUnixTimestamp(d) { 30088 return +d; 30089} 30090 30091function formatUnixTimestampSeconds(d) { 30092 return Math.floor(+d / 1000); 30093} 30094 30095 30096/***/ }), 30097
vendor: 2,339 bytes, lines 30098-30153
30098/***/ "./node_modules/d3-time/src/day.js": 30099/*!*****************************************!*\ 30100 !*** ./node_modules/d3-time/src/day.js ***! 30101 \*****************************************/ 30102/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30103 30104__webpack_require__.r(__webpack_exports__); 30105/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30106/* harmony export */ timeDay: () => (/* binding */ timeDay), 30107/* harmony export */ timeDays: () => (/* binding */ timeDays), 30108/* harmony export */ unixDay: () => (/* binding */ unixDay), 30109/* harmony export */ unixDays: () => (/* binding */ unixDays), 30110/* harmony export */ utcDay: () => (/* binding */ utcDay), 30111/* harmony export */ utcDays: () => (/* binding */ utcDays) 30112/* harmony export */ }); 30113/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30114/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "./node_modules/d3-time/src/duration.js"); 30115 30116 30117 30118const timeDay = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)( 30119 date => date.setHours(0, 0, 0, 0), 30120 (date, step) => date.setDate(date.getDate() + step), 30121 (start, end) => (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationDay, 30122 date => date.getDate() - 1 30123); 30124 30125const timeDays = timeDay.range; 30126 30127const utcDay = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30128 date.setUTCHours(0, 0, 0, 0); 30129}, (date, step) => { 30130 date.setUTCDate(date.getUTCDate() + step); 30131}, (start, end) => { 30132 return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationDay; 30133}, (date) => { 30134 return date.getUTCDate() - 1; 30135}); 30136 30137const utcDays = utcDay.range; 30138 30139const unixDay = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30140 date.setUTCHours(0, 0, 0, 0); 30141}, (date, step) => { 30142 date.setUTCDate(date.getUTCDate() + step); 30143}, (start, end) => { 30144 return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationDay; 30145}, (date) => { 30146 return Math.floor(date / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationDay); 30147}); 30148 30149const unixDays = unixDay.range; 30150 30151 30152/***/ }), 30153
vendor: 1,234 bytes, lines 30154-30180
30154/***/ "./node_modules/d3-time/src/duration.js": 30155/*!**********************************************!*\ 30156 !*** ./node_modules/d3-time/src/duration.js ***! 30157 \**********************************************/ 30158/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30159 30160__webpack_require__.r(__webpack_exports__); 30161/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30162/* harmony export */ durationDay: () => (/* binding */ durationDay), 30163/* harmony export */ durationHour: () => (/* binding */ durationHour), 30164/* harmony export */ durationMinute: () => (/* binding */ durationMinute), 30165/* harmony export */ durationMonth: () => (/* binding */ durationMonth), 30166/* harmony export */ durationSecond: () => (/* binding */ durationSecond), 30167/* harmony export */ durationWeek: () => (/* binding */ durationWeek), 30168/* harmony export */ durationYear: () => (/* binding */ durationYear) 30169/* harmony export */ }); 30170const durationSecond = 1000; 30171const durationMinute = durationSecond * 60; 30172const durationHour = durationMinute * 60; 30173const durationDay = durationHour * 24; 30174const durationWeek = durationDay * 7; 30175const durationMonth = durationDay * 30; 30176const durationYear = durationDay * 365; 30177 30178 30179/***/ }), 30180
vendor: 1,989 bytes, lines 30181-30225
30181/***/ "./node_modules/d3-time/src/hour.js": 30182/*!******************************************!*\ 30183 !*** ./node_modules/d3-time/src/hour.js ***! 30184 \******************************************/ 30185/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30186 30187__webpack_require__.r(__webpack_exports__); 30188/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30189/* harmony export */ timeHour: () => (/* binding */ timeHour), 30190/* harmony export */ timeHours: () => (/* binding */ timeHours), 30191/* harmony export */ utcHour: () => (/* binding */ utcHour), 30192/* harmony export */ utcHours: () => (/* binding */ utcHours) 30193/* harmony export */ }); 30194/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30195/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "./node_modules/d3-time/src/duration.js"); 30196 30197 30198 30199const timeHour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30200 date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond - date.getMinutes() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute); 30201}, (date, step) => { 30202 date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour); 30203}, (start, end) => { 30204 return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour; 30205}, (date) => { 30206 return date.getHours(); 30207}); 30208 30209const timeHours = timeHour.range; 30210 30211const utcHour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30212 date.setUTCMinutes(0, 0, 0); 30213}, (date, step) => { 30214 date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour); 30215}, (start, end) => { 30216 return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour; 30217}, (date) => { 30218 return date.getUTCHours(); 30219}); 30220 30221const utcHours = utcHour.range; 30222 30223 30224/***/ }), 30225
vendor: 9,543 bytes, lines 30226-30334
30226/***/ "./node_modules/d3-time/src/index.js": 30227/*!*******************************************!*\ 30228 !*** ./node_modules/d3-time/src/index.js ***! 30229 \*******************************************/ 30230/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30231 30232__webpack_require__.r(__webpack_exports__); 30233/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30234/* harmony export */ timeDay: () => (/* reexport safe */ _day_js__WEBPACK_IMPORTED_MODULE_5__.timeDay), 30235/* harmony export */ timeDays: () => (/* reexport safe */ _day_js__WEBPACK_IMPORTED_MODULE_5__.timeDays), 30236/* harmony export */ timeFriday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeFriday), 30237/* harmony export */ timeFridays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeFridays), 30238/* harmony export */ timeHour: () => (/* reexport safe */ _hour_js__WEBPACK_IMPORTED_MODULE_4__.timeHour), 30239/* harmony export */ timeHours: () => (/* reexport safe */ _hour_js__WEBPACK_IMPORTED_MODULE_4__.timeHours), 30240/* harmony export */ timeInterval: () => (/* reexport safe */ _interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval), 30241/* harmony export */ timeMillisecond: () => (/* reexport safe */ _millisecond_js__WEBPACK_IMPORTED_MODULE_1__.millisecond), 30242/* harmony export */ timeMilliseconds: () => (/* reexport safe */ _millisecond_js__WEBPACK_IMPORTED_MODULE_1__.milliseconds), 30243/* harmony export */ timeMinute: () => (/* reexport safe */ _minute_js__WEBPACK_IMPORTED_MODULE_3__.timeMinute), 30244/* harmony export */ timeMinutes: () => (/* reexport safe */ _minute_js__WEBPACK_IMPORTED_MODULE_3__.timeMinutes), 30245/* harmony export */ timeMonday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeMonday), 30246/* harmony export */ timeMondays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeMondays), 30247/* harmony export */ timeMonth: () => (/* reexport safe */ _month_js__WEBPACK_IMPORTED_MODULE_7__.timeMonth), 30248/* harmony export */ timeMonths: () => (/* reexport safe */ _month_js__WEBPACK_IMPORTED_MODULE_7__.timeMonths), 30249/* harmony export */ timeSaturday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeSaturday), 30250/* harmony export */ timeSaturdays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeSaturdays), 30251/* harmony export */ timeSecond: () => (/* reexport safe */ _second_js__WEBPACK_IMPORTED_MODULE_2__.second), 30252/* harmony export */ timeSeconds: () => (/* reexport safe */ _second_js__WEBPACK_IMPORTED_MODULE_2__.seconds), 30253/* harmony export */ timeSunday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeSunday), 30254/* harmony export */ timeSundays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeSundays), 30255/* harmony export */ timeThursday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeThursday), 30256/* harmony export */ timeThursdays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeThursdays), 30257/* harmony export */ timeTickInterval: () => (/* reexport safe */ _ticks_js__WEBPACK_IMPORTED_MODULE_9__.timeTickInterval), 30258/* harmony export */ timeTicks: () => (/* reexport safe */ _ticks_js__WEBPACK_IMPORTED_MODULE_9__.timeTicks), 30259/* harmony export */ timeTuesday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeTuesday), 30260/* harmony export */ timeTuesdays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeTuesdays), 30261/* harmony export */ timeWednesday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeWednesday), 30262/* harmony export */ timeWednesdays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeWednesdays), 30263/* harmony export */ timeWeek: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeSunday), 30264/* harmony export */ timeWeeks: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.timeSundays), 30265/* harmony export */ timeYear: () => (/* reexport safe */ _year_js__WEBPACK_IMPORTED_MODULE_8__.timeYear), 30266/* harmony export */ timeYears: () => (/* reexport safe */ _year_js__WEBPACK_IMPORTED_MODULE_8__.timeYears), 30267/* harmony export */ unixDay: () => (/* reexport safe */ _day_js__WEBPACK_IMPORTED_MODULE_5__.unixDay), 30268/* harmony export */ unixDays: () => (/* reexport safe */ _day_js__WEBPACK_IMPORTED_MODULE_5__.unixDays), 30269/* harmony export */ utcDay: () => (/* reexport safe */ _day_js__WEBPACK_IMPORTED_MODULE_5__.utcDay), 30270/* harmony export */ utcDays: () => (/* reexport safe */ _day_js__WEBPACK_IMPORTED_MODULE_5__.utcDays), 30271/* harmony export */ utcFriday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcFriday), 30272/* harmony export */ utcFridays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcFridays), 30273/* harmony export */ utcHour: () => (/* reexport safe */ _hour_js__WEBPACK_IMPORTED_MODULE_4__.utcHour), 30274/* harmony export */ utcHours: () => (/* reexport safe */ _hour_js__WEBPACK_IMPORTED_MODULE_4__.utcHours), 30275/* harmony export */ utcMillisecond: () => (/* reexport safe */ _millisecond_js__WEBPACK_IMPORTED_MODULE_1__.millisecond), 30276/* harmony export */ utcMilliseconds: () => (/* reexport safe */ _millisecond_js__WEBPACK_IMPORTED_MODULE_1__.milliseconds), 30277/* harmony export */ utcMinute: () => (/* reexport safe */ _minute_js__WEBPACK_IMPORTED_MODULE_3__.utcMinute), 30278/* harmony export */ utcMinutes: () => (/* reexport safe */ _minute_js__WEBPACK_IMPORTED_MODULE_3__.utcMinutes), 30279/* harmony export */ utcMonday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcMonday), 30280/* harmony export */ utcMondays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcMondays), 30281/* harmony export */ utcMonth: () => (/* reexport safe */ _month_js__WEBPACK_IMPORTED_MODULE_7__.utcMonth), 30282/* harmony export */ utcMonths: () => (/* reexport safe */ _month_js__WEBPACK_IMPORTED_MODULE_7__.utcMonths), 30283/* harmony export */ utcSaturday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcSaturday), 30284/* harmony export */ utcSaturdays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcSaturdays), 30285/* harmony export */ utcSecond: () => (/* reexport safe */ _second_js__WEBPACK_IMPORTED_MODULE_2__.second), 30286/* harmony export */ utcSeconds: () => (/* reexport safe */ _second_js__WEBPACK_IMPORTED_MODULE_2__.seconds), 30287/* harmony export */ utcSunday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcSunday), 30288/* harmony export */ utcSundays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcSundays), 30289/* harmony export */ utcThursday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcThursday), 30290/* harmony export */ utcThursdays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcThursdays), 30291/* harmony export */ utcTickInterval: () => (/* reexport safe */ _ticks_js__WEBPACK_IMPORTED_MODULE_9__.utcTickInterval), 30292/* harmony export */ utcTicks: () => (/* reexport safe */ _ticks_js__WEBPACK_IMPORTED_MODULE_9__.utcTicks), 30293/* harmony export */ utcTuesday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcTuesday), 30294/* harmony export */ utcTuesdays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcTuesdays), 30295/* harmony export */ utcWednesday: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcWednesday), 30296/* harmony export */ utcWednesdays: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcWednesdays), 30297/* harmony export */ utcWeek: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcSunday), 30298/* harmony export */ utcWeeks: () => (/* reexport safe */ _week_js__WEBPACK_IMPORTED_MODULE_6__.utcSundays), 30299/* harmony export */ utcYear: () => (/* reexport safe */ _year_js__WEBPACK_IMPORTED_MODULE_8__.utcYear), 30300/* harmony export */ utcYears: () => (/* reexport safe */ _year_js__WEBPACK_IMPORTED_MODULE_8__.utcYears) 30301/* harmony export */ }); 30302/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30303/* harmony import */ var _millisecond_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./millisecond.js */ "./node_modules/d3-time/src/millisecond.js"); 30304/* harmony import */ var _second_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./second.js */ "./node_modules/d3-time/src/second.js"); 30305/* harmony import */ var _minute_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./minute.js */ "./node_modules/d3-time/src/minute.js"); 30306/* harmony import */ var _hour_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hour.js */ "./node_modules/d3-time/src/hour.js"); 30307/* harmony import */ var _day_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./day.js */ "./node_modules/d3-time/src/day.js"); 30308/* harmony import */ var _week_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./week.js */ "./node_modules/d3-time/src/week.js"); 30309/* harmony import */ var _month_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./month.js */ "./node_modules/d3-time/src/month.js"); 30310/* harmony import */ var _year_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./year.js */ "./node_modules/d3-time/src/year.js"); 30311/* harmony import */ var _ticks_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ticks.js */ "./node_modules/d3-time/src/ticks.js"); 30312 30313 30314 30315 30316 30317 30318 30319 30320 30321 30322 30323 30324 30325 30326 30327 30328 30329 30330 30331 30332 30333/***/ }), 30334
vendor: 2,585 bytes, lines 30335-30417
30335/***/ "./node_modules/d3-time/src/interval.js": 30336/*!**********************************************!*\ 30337 !*** ./node_modules/d3-time/src/interval.js ***! 30338 \**********************************************/ 30339/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30340 30341__webpack_require__.r(__webpack_exports__); 30342/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30343/* harmony export */ timeInterval: () => (/* binding */ timeInterval) 30344/* harmony export */ }); 30345const t0 = new Date, t1 = new Date; 30346 30347function timeInterval(floori, offseti, count, field) { 30348 30349 function interval(date) { 30350 return floori(date = arguments.length === 0 ? new Date : new Date(+date)), date; 30351 } 30352 30353 interval.floor = (date) => { 30354 return floori(date = new Date(+date)), date; 30355 }; 30356 30357 interval.ceil = (date) => { 30358 return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date; 30359 }; 30360 30361 interval.round = (date) => { 30362 const d0 = interval(date), d1 = interval.ceil(date); 30363 return date - d0 < d1 - date ? d0 : d1; 30364 }; 30365 30366 interval.offset = (date, step) => { 30367 return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date; 30368 }; 30369 30370 interval.range = (start, stop, step) => { 30371 const range = []; 30372 start = interval.ceil(start); 30373 step = step == null ? 1 : Math.floor(step); 30374 if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date 30375 let previous; 30376 do range.push(previous = new Date(+start)), offseti(start, step), floori(start); 30377 while (previous < start && start < stop); 30378 return range; 30379 }; 30380 30381 interval.filter = (test) => { 30382 return timeInterval((date) => { 30383 if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1); 30384 }, (date, step) => { 30385 if (date >= date) { 30386 if (step < 0) while (++step <= 0) { 30387 while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty 30388 } else while (--step >= 0) { 30389 while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty 30390 } 30391 } 30392 }); 30393 }; 30394 30395 if (count) { 30396 interval.count = (start, end) => { 30397 t0.setTime(+start), t1.setTime(+end); 30398 floori(t0), floori(t1); 30399 return Math.floor(count(t0, t1)); 30400 }; 30401 30402 interval.every = (step) => { 30403 step = Math.floor(step); 30404 return !isFinite(step) || !(step > 0) ? null 30405 : !(step > 1) ? interval 30406 : interval.filter(field 30407 ? (d) => field(d) % step === 0 30408 : (d) => interval.count(0, d) % step === 0); 30409 }; 30410 } 30411 30412 return interval; 30413} 30414 30415 30416/***/ }), 30417
vendor: 1,420 bytes, lines 30418-30458
30418/***/ "./node_modules/d3-time/src/millisecond.js": 30419/*!*************************************************!*\ 30420 !*** ./node_modules/d3-time/src/millisecond.js ***! 30421 \*************************************************/ 30422/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30423 30424__webpack_require__.r(__webpack_exports__); 30425/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30426/* harmony export */ millisecond: () => (/* binding */ millisecond), 30427/* harmony export */ milliseconds: () => (/* binding */ milliseconds) 30428/* harmony export */ }); 30429/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30430 30431 30432const millisecond = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)(() => { 30433 // noop 30434}, (date, step) => { 30435 date.setTime(+date + step); 30436}, (start, end) => { 30437 return end - start; 30438}); 30439 30440// An optimized implementation for this simple case. 30441millisecond.every = (k) => { 30442 k = Math.floor(k); 30443 if (!isFinite(k) || !(k > 0)) return null; 30444 if (!(k > 1)) return millisecond; 30445 return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30446 date.setTime(Math.floor(date / k) * k); 30447 }, (date, step) => { 30448 date.setTime(+date + step * k); 30449 }, (start, end) => { 30450 return (end - start) / k; 30451 }); 30452}; 30453 30454const milliseconds = millisecond.range; 30455 30456 30457/***/ }), 30458
vendor: 1,955 bytes, lines 30459-30503
30459/***/ "./node_modules/d3-time/src/minute.js": 30460/*!********************************************!*\ 30461 !*** ./node_modules/d3-time/src/minute.js ***! 30462 \********************************************/ 30463/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30464 30465__webpack_require__.r(__webpack_exports__); 30466/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30467/* harmony export */ timeMinute: () => (/* binding */ timeMinute), 30468/* harmony export */ timeMinutes: () => (/* binding */ timeMinutes), 30469/* harmony export */ utcMinute: () => (/* binding */ utcMinute), 30470/* harmony export */ utcMinutes: () => (/* binding */ utcMinutes) 30471/* harmony export */ }); 30472/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30473/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "./node_modules/d3-time/src/duration.js"); 30474 30475 30476 30477const timeMinute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30478 date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond); 30479}, (date, step) => { 30480 date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute); 30481}, (start, end) => { 30482 return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute; 30483}, (date) => { 30484 return date.getMinutes(); 30485}); 30486 30487const timeMinutes = timeMinute.range; 30488 30489const utcMinute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30490 date.setUTCSeconds(0, 0); 30491}, (date, step) => { 30492 date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute); 30493}, (start, end) => { 30494 return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute; 30495}, (date) => { 30496 return date.getUTCMinutes(); 30497}); 30498 30499const utcMinutes = utcMinute.range; 30500 30501 30502/***/ }), 30503
vendor: 1,669 bytes, lines 30504-30548
30504/***/ "./node_modules/d3-time/src/month.js": 30505/*!*******************************************!*\ 30506 !*** ./node_modules/d3-time/src/month.js ***! 30507 \*******************************************/ 30508/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30509 30510__webpack_require__.r(__webpack_exports__); 30511/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30512/* harmony export */ timeMonth: () => (/* binding */ timeMonth), 30513/* harmony export */ timeMonths: () => (/* binding */ timeMonths), 30514/* harmony export */ utcMonth: () => (/* binding */ utcMonth), 30515/* harmony export */ utcMonths: () => (/* binding */ utcMonths) 30516/* harmony export */ }); 30517/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30518 30519 30520const timeMonth = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30521 date.setDate(1); 30522 date.setHours(0, 0, 0, 0); 30523}, (date, step) => { 30524 date.setMonth(date.getMonth() + step); 30525}, (start, end) => { 30526 return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12; 30527}, (date) => { 30528 return date.getMonth(); 30529}); 30530 30531const timeMonths = timeMonth.range; 30532 30533const utcMonth = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30534 date.setUTCDate(1); 30535 date.setUTCHours(0, 0, 0, 0); 30536}, (date, step) => { 30537 date.setUTCMonth(date.getUTCMonth() + step); 30538}, (start, end) => { 30539 return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12; 30540}, (date) => { 30541 return date.getUTCMonth(); 30542}); 30543 30544const utcMonths = utcMonth.range; 30545 30546 30547/***/ }), 30548
vendor: 1,296 bytes, lines 30549-30579
30549/***/ "./node_modules/d3-time/src/second.js": 30550/*!********************************************!*\ 30551 !*** ./node_modules/d3-time/src/second.js ***! 30552 \********************************************/ 30553/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30554 30555__webpack_require__.r(__webpack_exports__); 30556/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30557/* harmony export */ second: () => (/* binding */ second), 30558/* harmony export */ seconds: () => (/* binding */ seconds) 30559/* harmony export */ }); 30560/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30561/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "./node_modules/d3-time/src/duration.js"); 30562 30563 30564 30565const second = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30566 date.setTime(date - date.getMilliseconds()); 30567}, (date, step) => { 30568 date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond); 30569}, (start, end) => { 30570 return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond; 30571}, (date) => { 30572 return date.getUTCSeconds(); 30573}); 30574 30575const seconds = second.range; 30576 30577 30578/***/ }), 30579
vendor: 5,894 bytes, lines 30580-30665
30580/***/ "./node_modules/d3-time/src/ticks.js": 30581/*!*******************************************!*\ 30582 !*** ./node_modules/d3-time/src/ticks.js ***! 30583 \*******************************************/ 30584/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30585 30586__webpack_require__.r(__webpack_exports__); 30587/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30588/* harmony export */ timeTickInterval: () => (/* binding */ timeTickInterval), 30589/* harmony export */ timeTicks: () => (/* binding */ timeTicks), 30590/* harmony export */ utcTickInterval: () => (/* binding */ utcTickInterval), 30591/* harmony export */ utcTicks: () => (/* binding */ utcTicks) 30592/* harmony export */ }); 30593/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/bisector.js"); 30594/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/ticks.js"); 30595/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "./node_modules/d3-time/src/duration.js"); 30596/* harmony import */ var _millisecond_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./millisecond.js */ "./node_modules/d3-time/src/millisecond.js"); 30597/* harmony import */ var _second_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./second.js */ "./node_modules/d3-time/src/second.js"); 30598/* harmony import */ var _minute_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./minute.js */ "./node_modules/d3-time/src/minute.js"); 30599/* harmony import */ var _hour_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./hour.js */ "./node_modules/d3-time/src/hour.js"); 30600/* harmony import */ var _day_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./day.js */ "./node_modules/d3-time/src/day.js"); 30601/* harmony import */ var _week_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./week.js */ "./node_modules/d3-time/src/week.js"); 30602/* harmony import */ var _month_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./month.js */ "./node_modules/d3-time/src/month.js"); 30603/* harmony import */ var _year_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./year.js */ "./node_modules/d3-time/src/year.js"); 30604 30605 30606 30607 30608 30609 30610 30611 30612 30613 30614 30615function ticker(year, month, week, day, hour, minute) { 30616 30617 const tickIntervals = [ 30618 [_second_js__WEBPACK_IMPORTED_MODULE_0__.second, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond], 30619 [_second_js__WEBPACK_IMPORTED_MODULE_0__.second, 5, 5 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond], 30620 [_second_js__WEBPACK_IMPORTED_MODULE_0__.second, 15, 15 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond], 30621 [_second_js__WEBPACK_IMPORTED_MODULE_0__.second, 30, 30 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond], 30622 [minute, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute], 30623 [minute, 5, 5 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute], 30624 [minute, 15, 15 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute], 30625 [minute, 30, 30 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute], 30626 [ hour, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour ], 30627 [ hour, 3, 3 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour ], 30628 [ hour, 6, 6 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour ], 30629 [ hour, 12, 12 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour ], 30630 [ day, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationDay ], 30631 [ day, 2, 2 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationDay ], 30632 [ week, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationWeek ], 30633 [ month, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMonth ], 30634 [ month, 3, 3 * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMonth ], 30635 [ year, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationYear ] 30636 ]; 30637 30638 function ticks(start, stop, count) { 30639 const reverse = stop < start; 30640 if (reverse) [start, stop] = [stop, start]; 30641 const interval = count && typeof count.range === "function" ? count : tickInterval(start, stop, count); 30642 const ticks = interval ? interval.range(start, +stop + 1) : []; // inclusive stop 30643 return reverse ? ticks.reverse() : ticks; 30644 } 30645 30646 function tickInterval(start, stop, count) { 30647 const target = Math.abs(stop - start) / count; 30648 const i = (0,d3_array__WEBPACK_IMPORTED_MODULE_2__["default"])(([,, step]) => step).right(tickIntervals, target); 30649 if (i === tickIntervals.length) return year.every((0,d3_array__WEBPACK_IMPORTED_MODULE_3__.tickStep)(start / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationYear, stop / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationYear, count)); 30650 if (i === 0) return _millisecond_js__WEBPACK_IMPORTED_MODULE_4__.millisecond.every(Math.max((0,d3_array__WEBPACK_IMPORTED_MODULE_3__.tickStep)(start, stop, count), 1)); 30651 const [t, step] = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i]; 30652 return t.every(step); 30653 } 30654 30655 return [ticks, tickInterval]; 30656} 30657 30658const [utcTicks, utcTickInterval] = ticker(_year_js__WEBPACK_IMPORTED_MODULE_5__.utcYear, _month_js__WEBPACK_IMPORTED_MODULE_6__.utcMonth, _week_js__WEBPACK_IMPORTED_MODULE_7__.utcSunday, _day_js__WEBPACK_IMPORTED_MODULE_8__.unixDay, _hour_js__WEBPACK_IMPORTED_MODULE_9__.utcHour, _minute_js__WEBPACK_IMPORTED_MODULE_10__.utcMinute); 30659const [timeTicks, timeTickInterval] = ticker(_year_js__WEBPACK_IMPORTED_MODULE_5__.timeYear, _month_js__WEBPACK_IMPORTED_MODULE_6__.timeMonth, _week_js__WEBPACK_IMPORTED_MODULE_7__.timeSunday, _day_js__WEBPACK_IMPORTED_MODULE_8__.timeDay, _hour_js__WEBPACK_IMPORTED_MODULE_9__.timeHour, _minute_js__WEBPACK_IMPORTED_MODULE_10__.timeMinute); 30660 30661 30662 30663 30664/***/ }), 30665
vendor: 4,677 bytes, lines 30666-30764
30666/***/ "./node_modules/d3-time/src/week.js": 30667/*!******************************************!*\ 30668 !*** ./node_modules/d3-time/src/week.js ***! 30669 \******************************************/ 30670/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30671 30672__webpack_require__.r(__webpack_exports__); 30673/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30674/* harmony export */ timeFriday: () => (/* binding */ timeFriday), 30675/* harmony export */ timeFridays: () => (/* binding */ timeFridays), 30676/* harmony export */ timeMonday: () => (/* binding */ timeMonday), 30677/* harmony export */ timeMondays: () => (/* binding */ timeMondays), 30678/* harmony export */ timeSaturday: () => (/* binding */ timeSaturday), 30679/* harmony export */ timeSaturdays: () => (/* binding */ timeSaturdays), 30680/* harmony export */ timeSunday: () => (/* binding */ timeSunday), 30681/* harmony export */ timeSundays: () => (/* binding */ timeSundays), 30682/* harmony export */ timeThursday: () => (/* binding */ timeThursday), 30683/* harmony export */ timeThursdays: () => (/* binding */ timeThursdays), 30684/* harmony export */ timeTuesday: () => (/* binding */ timeTuesday), 30685/* harmony export */ timeTuesdays: () => (/* binding */ timeTuesdays), 30686/* harmony export */ timeWednesday: () => (/* binding */ timeWednesday), 30687/* harmony export */ timeWednesdays: () => (/* binding */ timeWednesdays), 30688/* harmony export */ utcFriday: () => (/* binding */ utcFriday), 30689/* harmony export */ utcFridays: () => (/* binding */ utcFridays), 30690/* harmony export */ utcMonday: () => (/* binding */ utcMonday), 30691/* harmony export */ utcMondays: () => (/* binding */ utcMondays), 30692/* harmony export */ utcSaturday: () => (/* binding */ utcSaturday), 30693/* harmony export */ utcSaturdays: () => (/* binding */ utcSaturdays), 30694/* harmony export */ utcSunday: () => (/* binding */ utcSunday), 30695/* harmony export */ utcSundays: () => (/* binding */ utcSundays), 30696/* harmony export */ utcThursday: () => (/* binding */ utcThursday), 30697/* harmony export */ utcThursdays: () => (/* binding */ utcThursdays), 30698/* harmony export */ utcTuesday: () => (/* binding */ utcTuesday), 30699/* harmony export */ utcTuesdays: () => (/* binding */ utcTuesdays), 30700/* harmony export */ utcWednesday: () => (/* binding */ utcWednesday), 30701/* harmony export */ utcWednesdays: () => (/* binding */ utcWednesdays) 30702/* harmony export */ }); 30703/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30704/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "./node_modules/d3-time/src/duration.js"); 30705 30706 30707 30708function timeWeekday(i) { 30709 return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30710 date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7); 30711 date.setHours(0, 0, 0, 0); 30712 }, (date, step) => { 30713 date.setDate(date.getDate() + step * 7); 30714 }, (start, end) => { 30715 return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationWeek; 30716 }); 30717} 30718 30719const timeSunday = timeWeekday(0); 30720const timeMonday = timeWeekday(1); 30721const timeTuesday = timeWeekday(2); 30722const timeWednesday = timeWeekday(3); 30723const timeThursday = timeWeekday(4); 30724const timeFriday = timeWeekday(5); 30725const timeSaturday = timeWeekday(6); 30726 30727const timeSundays = timeSunday.range; 30728const timeMondays = timeMonday.range; 30729const timeTuesdays = timeTuesday.range; 30730const timeWednesdays = timeWednesday.range; 30731const timeThursdays = timeThursday.range; 30732const timeFridays = timeFriday.range; 30733const timeSaturdays = timeSaturday.range; 30734 30735function utcWeekday(i) { 30736 return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30737 date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7); 30738 date.setUTCHours(0, 0, 0, 0); 30739 }, (date, step) => { 30740 date.setUTCDate(date.getUTCDate() + step * 7); 30741 }, (start, end) => { 30742 return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationWeek; 30743 }); 30744} 30745 30746const utcSunday = utcWeekday(0); 30747const utcMonday = utcWeekday(1); 30748const utcTuesday = utcWeekday(2); 30749const utcWednesday = utcWeekday(3); 30750const utcThursday = utcWeekday(4); 30751const utcFriday = utcWeekday(5); 30752const utcSaturday = utcWeekday(6); 30753 30754const utcSundays = utcSunday.range; 30755const utcMondays = utcMonday.range; 30756const utcTuesdays = utcTuesday.range; 30757const utcWednesdays = utcWednesday.range; 30758const utcThursdays = utcThursday.range; 30759const utcFridays = utcFriday.range; 30760const utcSaturdays = utcSaturday.range; 30761 30762 30763/***/ }), 30764
vendor: 2,428 bytes, lines 30765-30831
30765/***/ "./node_modules/d3-time/src/year.js": 30766/*!******************************************!*\ 30767 !*** ./node_modules/d3-time/src/year.js ***! 30768 \******************************************/ 30769/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30770 30771__webpack_require__.r(__webpack_exports__); 30772/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30773/* harmony export */ timeYear: () => (/* binding */ timeYear), 30774/* harmony export */ timeYears: () => (/* binding */ timeYears), 30775/* harmony export */ utcYear: () => (/* binding */ utcYear), 30776/* harmony export */ utcYears: () => (/* binding */ utcYears) 30777/* harmony export */ }); 30778/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-time/src/interval.js"); 30779 30780 30781const timeYear = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30782 date.setMonth(0, 1); 30783 date.setHours(0, 0, 0, 0); 30784}, (date, step) => { 30785 date.setFullYear(date.getFullYear() + step); 30786}, (start, end) => { 30787 return end.getFullYear() - start.getFullYear(); 30788}, (date) => { 30789 return date.getFullYear(); 30790}); 30791 30792// An optimized implementation for this simple case. 30793timeYear.every = (k) => { 30794 return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30795 date.setFullYear(Math.floor(date.getFullYear() / k) * k); 30796 date.setMonth(0, 1); 30797 date.setHours(0, 0, 0, 0); 30798 }, (date, step) => { 30799 date.setFullYear(date.getFullYear() + step * k); 30800 }); 30801}; 30802 30803const timeYears = timeYear.range; 30804 30805const utcYear = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30806 date.setUTCMonth(0, 1); 30807 date.setUTCHours(0, 0, 0, 0); 30808}, (date, step) => { 30809 date.setUTCFullYear(date.getUTCFullYear() + step); 30810}, (start, end) => { 30811 return end.getUTCFullYear() - start.getUTCFullYear(); 30812}, (date) => { 30813 return date.getUTCFullYear(); 30814}); 30815 30816// An optimized implementation for this simple case. 30817utcYear.every = (k) => { 30818 return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.timeInterval)((date) => { 30819 date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k); 30820 date.setUTCMonth(0, 1); 30821 date.setUTCHours(0, 0, 0, 0); 30822 }, (date, step) => { 30823 date.setUTCFullYear(date.getUTCFullYear() + step * k); 30824 }); 30825}; 30826 30827const utcYears = utcYear.range; 30828 30829 30830/***/ }), 30831
vendor: 1,436 bytes, lines 30832-30857
30832/***/ "./node_modules/d3-timer/src/index.js": 30833/*!********************************************!*\ 30834 !*** ./node_modules/d3-timer/src/index.js ***! 30835 \********************************************/ 30836/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30837 30838__webpack_require__.r(__webpack_exports__); 30839/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30840/* harmony export */ interval: () => (/* reexport safe */ _interval_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 30841/* harmony export */ now: () => (/* reexport safe */ _timer_js__WEBPACK_IMPORTED_MODULE_0__.now), 30842/* harmony export */ timeout: () => (/* reexport safe */ _timeout_js__WEBPACK_IMPORTED_MODULE_1__["default"]), 30843/* harmony export */ timer: () => (/* reexport safe */ _timer_js__WEBPACK_IMPORTED_MODULE_0__.timer), 30844/* harmony export */ timerFlush: () => (/* reexport safe */ _timer_js__WEBPACK_IMPORTED_MODULE_0__.timerFlush) 30845/* harmony export */ }); 30846/* harmony import */ var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./timer.js */ "./node_modules/d3-timer/src/timer.js"); 30847/* harmony import */ var _timeout_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./timeout.js */ "./node_modules/d3-timer/src/timeout.js"); 30848/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./interval.js */ "./node_modules/d3-timer/src/interval.js"); 30849 30850 30851 30852 30853 30854 30855 30856/***/ }), 30857
vendor: 1,307 bytes, lines 30858-30889
30858/***/ "./node_modules/d3-timer/src/interval.js": 30859/*!***********************************************!*\ 30860 !*** ./node_modules/d3-timer/src/interval.js ***! 30861 \***********************************************/ 30862/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30863 30864__webpack_require__.r(__webpack_exports__); 30865/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30866/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 30867/* harmony export */ }); 30868/* harmony import */ var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./timer.js */ "./node_modules/d3-timer/src/timer.js"); 30869 30870 30871/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback, delay, time) { 30872 var t = new _timer_js__WEBPACK_IMPORTED_MODULE_0__.Timer, total = delay; 30873 if (delay == null) return t.restart(callback, delay, time), t; 30874 t._restart = t.restart; 30875 t.restart = function(callback, delay, time) { 30876 delay = +delay, time = time == null ? (0,_timer_js__WEBPACK_IMPORTED_MODULE_0__.now)() : +time; 30877 t._restart(function tick(elapsed) { 30878 elapsed += total; 30879 t._restart(tick, total += delay, time); 30880 callback(elapsed); 30881 }, delay, time); 30882 } 30883 t.restart(callback, delay, time); 30884 return t; 30885} 30886 30887 30888/***/ }), 30889
vendor: 980 bytes, lines 30890-30915
30890/***/ "./node_modules/d3-timer/src/timeout.js": 30891/*!**********************************************!*\ 30892 !*** ./node_modules/d3-timer/src/timeout.js ***! 30893 \**********************************************/ 30894/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30895 30896__webpack_require__.r(__webpack_exports__); 30897/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30898/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 30899/* harmony export */ }); 30900/* harmony import */ var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./timer.js */ "./node_modules/d3-timer/src/timer.js"); 30901 30902 30903/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(callback, delay, time) { 30904 var t = new _timer_js__WEBPACK_IMPORTED_MODULE_0__.Timer; 30905 delay = delay == null ? 0 : +delay; 30906 t.restart(elapsed => { 30907 t.stop(); 30908 callback(elapsed + delay); 30909 }, delay, time); 30910 return t; 30911} 30912 30913 30914/***/ }), 30915
vendor: 3,559 bytes, lines 30916-31042
30916/***/ "./node_modules/d3-timer/src/timer.js": 30917/*!********************************************!*\ 30918 !*** ./node_modules/d3-timer/src/timer.js ***! 30919 \********************************************/ 30920/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30921 30922__webpack_require__.r(__webpack_exports__); 30923/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30924/* harmony export */ Timer: () => (/* binding */ Timer), 30925/* harmony export */ now: () => (/* binding */ now), 30926/* harmony export */ timer: () => (/* binding */ timer), 30927/* harmony export */ timerFlush: () => (/* binding */ timerFlush) 30928/* harmony export */ }); 30929var frame = 0, // is an animation frame pending? 30930 timeout = 0, // is a timeout pending? 30931 interval = 0, // are any timers active? 30932 pokeDelay = 1000, // how frequently we check for clock skew 30933 taskHead, 30934 taskTail, 30935 clockLast = 0, 30936 clockNow = 0, 30937 clockSkew = 0, 30938 clock = typeof performance === "object" && performance.now ? performance : Date, 30939 setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f) { setTimeout(f, 17); }; 30940 30941function now() { 30942 return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew); 30943} 30944 30945function clearNow() { 30946 clockNow = 0; 30947} 30948 30949function Timer() { 30950 this._call = 30951 this._time = 30952 this._next = null; 30953} 30954 30955Timer.prototype = timer.prototype = { 30956 constructor: Timer, 30957 restart: function(callback, delay, time) { 30958 if (typeof callback !== "function") throw new TypeError("callback is not a function"); 30959 time = (time == null ? now() : +time) + (delay == null ? 0 : +delay); 30960 if (!this._next && taskTail !== this) { 30961 if (taskTail) taskTail._next = this; 30962 else taskHead = this; 30963 taskTail = this; 30964 } 30965 this._call = callback; 30966 this._time = time; 30967 sleep(); 30968 }, 30969 stop: function() { 30970 if (this._call) { 30971 this._call = null; 30972 this._time = Infinity; 30973 sleep(); 30974 } 30975 } 30976}; 30977 30978function timer(callback, delay, time) { 30979 var t = new Timer; 30980 t.restart(callback, delay, time); 30981 return t; 30982} 30983 30984function timerFlush() { 30985 now(); // Get the current time, if not already set. 30986 ++frame; // Pretend weâve set an alarm, if we havenât already. 30987 var t = taskHead, e; 30988 while (t) { 30989 if ((e = clockNow - t._time) >= 0) t._call.call(undefined, e); 30990 t = t._next; 30991 } 30992 --frame; 30993} 30994 30995function wake() { 30996 clockNow = (clockLast = clock.now()) + clockSkew; 30997 frame = timeout = 0; 30998 try { 30999 timerFlush(); 31000 } finally { 31001 frame = 0; 31002 nap(); 31003 clockNow = 0; 31004 } 31005} 31006 31007function poke() { 31008 var now = clock.now(), delay = now - clockLast; 31009 if (delay > pokeDelay) clockSkew -= delay, clockLast = now; 31010} 31011 31012function nap() { 31013 var t0, t1 = taskHead, t2, time = Infinity; 31014 while (t1) { 31015 if (t1._call) { 31016 if (time > t1._time) time = t1._time; 31017 t0 = t1, t1 = t1._next; 31018 } else { 31019 t2 = t1._next, t1._next = null; 31020 t1 = t0 ? t0._next = t2 : taskHead = t2; 31021 } 31022 } 31023 taskTail = t0; 31024 sleep(time); 31025} 31026 31027function sleep(time) { 31028 if (frame) return; // Soonest alarm already set, or will be. 31029 if (timeout) timeout = clearTimeout(timeout); 31030 var delay = time - clockNow; // Strictly less than if we recomputed clockNow. 31031 if (delay > 24) { 31032 if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew); 31033 if (interval) interval = clearInterval(interval); 31034 } else { 31035 if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay); 31036 frame = 1, setFrame(wake); 31037 } 31038} 31039 31040 31041/***/ }), 31042
vendor: 1,467 bytes, lines 31043-31079
31043/***/ "./node_modules/d3-transition/src/active.js": 31044/*!**************************************************!*\ 31045 !*** ./node_modules/d3-transition/src/active.js ***! 31046 \**************************************************/ 31047/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31048 31049__webpack_require__.r(__webpack_exports__); 31050/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31051/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31052/* harmony export */ }); 31053/* harmony import */ var _transition_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transition/index.js */ "./node_modules/d3-transition/src/transition/index.js"); 31054/* harmony import */ var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transition/schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31055 31056 31057 31058var root = [null]; 31059 31060/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(node, name) { 31061 var schedules = node.__transition, 31062 schedule, 31063 i; 31064 31065 if (schedules) { 31066 name = name == null ? null : name + ""; 31067 for (i in schedules) { 31068 if ((schedule = schedules[i]).state > _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__.SCHEDULED && schedule.name === name) { 31069 return new _transition_index_js__WEBPACK_IMPORTED_MODULE_1__.Transition([[node]], root, name, +i); 31070 } 31071 } 31072 } 31073 31074 return null; 31075} 31076 31077 31078/***/ }), 31079
vendor: 1,490 bytes, lines 31080-31103
31080/***/ "./node_modules/d3-transition/src/index.js": 31081/*!*************************************************!*\ 31082 !*** ./node_modules/d3-transition/src/index.js ***! 31083 \*************************************************/ 31084/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31085 31086__webpack_require__.r(__webpack_exports__); 31087/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31088/* harmony export */ active: () => (/* reexport safe */ _active_js__WEBPACK_IMPORTED_MODULE_2__["default"]), 31089/* harmony export */ interrupt: () => (/* reexport safe */ _interrupt_js__WEBPACK_IMPORTED_MODULE_3__["default"]), 31090/* harmony export */ transition: () => (/* reexport safe */ _transition_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]) 31091/* harmony export */ }); 31092/* harmony import */ var _selection_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./selection/index.js */ "./node_modules/d3-transition/src/selection/index.js"); 31093/* harmony import */ var _transition_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transition/index.js */ "./node_modules/d3-transition/src/transition/index.js"); 31094/* harmony import */ var _active_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./active.js */ "./node_modules/d3-transition/src/active.js"); 31095/* harmony import */ var _interrupt_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./interrupt.js */ "./node_modules/d3-transition/src/interrupt.js"); 31096 31097 31098 31099 31100 31101 31102/***/ }), 31103
vendor: 1,573 bytes, lines 31104-31142
31104/***/ "./node_modules/d3-transition/src/interrupt.js": 31105/*!*****************************************************!*\ 31106 !*** ./node_modules/d3-transition/src/interrupt.js ***! 31107 \*****************************************************/ 31108/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31109 31110__webpack_require__.r(__webpack_exports__); 31111/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31112/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31113/* harmony export */ }); 31114/* harmony import */ var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transition/schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31115 31116 31117/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(node, name) { 31118 var schedules = node.__transition, 31119 schedule, 31120 active, 31121 empty = true, 31122 i; 31123 31124 if (!schedules) return; 31125 31126 name = name == null ? null : name + ""; 31127 31128 for (i in schedules) { 31129 if ((schedule = schedules[i]).name !== name) { empty = false; continue; } 31130 active = schedule.state > _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__.STARTING && schedule.state < _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__.ENDING; 31131 schedule.state = _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__.ENDED; 31132 schedule.timer.stop(); 31133 schedule.on.call(active ? "interrupt" : "cancel", node, node.__data__, schedule.index, schedule.group); 31134 delete schedules[i]; 31135 } 31136 31137 if (empty) delete node.__transition; 31138} 31139 31140 31141/***/ }), 31142
vendor: 1,182 bytes, lines 31143-31162
31143/***/ "./node_modules/d3-transition/src/selection/index.js": 31144/*!***********************************************************!*\ 31145 !*** ./node_modules/d3-transition/src/selection/index.js ***! 31146 \***********************************************************/ 31147/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31148 31149__webpack_require__.r(__webpack_exports__); 31150/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/selection/index.js"); 31151/* harmony import */ var _interrupt_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./interrupt.js */ "./node_modules/d3-transition/src/selection/interrupt.js"); 31152/* harmony import */ var _transition_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transition.js */ "./node_modules/d3-transition/src/selection/transition.js"); 31153 31154 31155 31156 31157d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.interrupt = _interrupt_js__WEBPACK_IMPORTED_MODULE_1__["default"]; 31158d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.transition = _transition_js__WEBPACK_IMPORTED_MODULE_2__["default"]; 31159 31160 31161/***/ }), 31162
vendor: 963 bytes, lines 31163-31184
31163/***/ "./node_modules/d3-transition/src/selection/interrupt.js": 31164/*!***************************************************************!*\ 31165 !*** ./node_modules/d3-transition/src/selection/interrupt.js ***! 31166 \***************************************************************/ 31167/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31168 31169__webpack_require__.r(__webpack_exports__); 31170/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31171/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31172/* harmony export */ }); 31173/* harmony import */ var _interrupt_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interrupt.js */ "./node_modules/d3-transition/src/interrupt.js"); 31174 31175 31176/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name) { 31177 return this.each(function() { 31178 (0,_interrupt_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this, name); 31179 }); 31180} 31181 31182 31183/***/ }), 31184
vendor: 2,520 bytes, lines 31185-31244
31185/***/ "./node_modules/d3-transition/src/selection/transition.js": 31186/*!****************************************************************!*\ 31187 !*** ./node_modules/d3-transition/src/selection/transition.js ***! 31188 \****************************************************************/ 31189/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31190 31191__webpack_require__.r(__webpack_exports__); 31192/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31193/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31194/* harmony export */ }); 31195/* harmony import */ var _transition_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../transition/index.js */ "./node_modules/d3-transition/src/transition/index.js"); 31196/* harmony import */ var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../transition/schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31197/* harmony import */ var d3_ease__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-ease */ "./node_modules/d3-ease/src/cubic.js"); 31198/* harmony import */ var d3_timer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-timer */ "./node_modules/d3-timer/src/timer.js"); 31199 31200 31201 31202 31203 31204var defaultTiming = { 31205 time: null, // Set on use. 31206 delay: 0, 31207 duration: 250, 31208 ease: d3_ease__WEBPACK_IMPORTED_MODULE_0__.cubicInOut 31209}; 31210 31211function inherit(node, id) { 31212 var timing; 31213 while (!(timing = node.__transition) || !(timing = timing[id])) { 31214 if (!(node = node.parentNode)) { 31215 throw new Error(`transition ${id} not found`); 31216 } 31217 } 31218 return timing; 31219} 31220 31221/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name) { 31222 var id, 31223 timing; 31224 31225 if (name instanceof _transition_index_js__WEBPACK_IMPORTED_MODULE_1__.Transition) { 31226 id = name._id, name = name._name; 31227 } else { 31228 id = (0,_transition_index_js__WEBPACK_IMPORTED_MODULE_1__.newId)(), (timing = defaultTiming).time = (0,d3_timer__WEBPACK_IMPORTED_MODULE_2__.now)(), name = name == null ? null : name + ""; 31229 } 31230 31231 for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) { 31232 for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) { 31233 if (node = group[i]) { 31234 (0,_transition_schedule_js__WEBPACK_IMPORTED_MODULE_3__["default"])(node, name, id, i, group, timing || inherit(node, id)); 31235 } 31236 } 31237 } 31238 31239 return new _transition_index_js__WEBPACK_IMPORTED_MODULE_1__.Transition(groups, this._parents, name, id); 31240} 31241 31242 31243/***/ }), 31244
vendor: 3,958 bytes, lines 31245-31340
31245/***/ "./node_modules/d3-transition/src/transition/attr.js": 31246/*!***********************************************************!*\ 31247 !*** ./node_modules/d3-transition/src/transition/attr.js ***! 31248 \***********************************************************/ 31249/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31250 31251__webpack_require__.r(__webpack_exports__); 31252/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31253/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31254/* harmony export */ }); 31255/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/transform/index.js"); 31256/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/namespace.js"); 31257/* harmony import */ var _tween_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./tween.js */ "./node_modules/d3-transition/src/transition/tween.js"); 31258/* harmony import */ var _interpolate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./interpolate.js */ "./node_modules/d3-transition/src/transition/interpolate.js"); 31259 31260 31261 31262 31263 31264function attrRemove(name) { 31265 return function() { 31266 this.removeAttribute(name); 31267 }; 31268} 31269 31270function attrRemoveNS(fullname) { 31271 return function() { 31272 this.removeAttributeNS(fullname.space, fullname.local); 31273 }; 31274} 31275 31276function attrConstant(name, interpolate, value1) { 31277 var string00, 31278 string1 = value1 + "", 31279 interpolate0; 31280 return function() { 31281 var string0 = this.getAttribute(name); 31282 return string0 === string1 ? null 31283 : string0 === string00 ? interpolate0 31284 : interpolate0 = interpolate(string00 = string0, value1); 31285 }; 31286} 31287 31288function attrConstantNS(fullname, interpolate, value1) { 31289 var string00, 31290 string1 = value1 + "", 31291 interpolate0; 31292 return function() { 31293 var string0 = this.getAttributeNS(fullname.space, fullname.local); 31294 return string0 === string1 ? null 31295 : string0 === string00 ? interpolate0 31296 : interpolate0 = interpolate(string00 = string0, value1); 31297 }; 31298} 31299 31300function attrFunction(name, interpolate, value) { 31301 var string00, 31302 string10, 31303 interpolate0; 31304 return function() { 31305 var string0, value1 = value(this), string1; 31306 if (value1 == null) return void this.removeAttribute(name); 31307 string0 = this.getAttribute(name); 31308 string1 = value1 + ""; 31309 return string0 === string1 ? null 31310 : string0 === string00 && string1 === string10 ? interpolate0 31311 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1)); 31312 }; 31313} 31314 31315function attrFunctionNS(fullname, interpolate, value) { 31316 var string00, 31317 string10, 31318 interpolate0; 31319 return function() { 31320 var string0, value1 = value(this), string1; 31321 if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local); 31322 string0 = this.getAttributeNS(fullname.space, fullname.local); 31323 string1 = value1 + ""; 31324 return string0 === string1 ? null 31325 : string0 === string00 && string1 === string10 ? interpolate0 31326 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1)); 31327 }; 31328} 31329 31330/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value) { 31331 var fullname = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"])(name), i = fullname === "transform" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_1__.interpolateTransformSvg : _interpolate_js__WEBPACK_IMPORTED_MODULE_2__["default"]; 31332 return this.attrTween(name, typeof value === "function" 31333 ? (fullname.local ? attrFunctionNS : attrFunction)(fullname, i, (0,_tween_js__WEBPACK_IMPORTED_MODULE_3__.tweenValue)(this, "attr." + name, value)) 31334 : value == null ? (fullname.local ? attrRemoveNS : attrRemove)(fullname) 31335 : (fullname.local ? attrConstantNS : attrConstant)(fullname, i, value)); 31336} 31337 31338 31339/***/ }), 31340
vendor: 1,969 bytes, lines 31341-31399
31341/***/ "./node_modules/d3-transition/src/transition/attrTween.js": 31342/*!****************************************************************!*\ 31343 !*** ./node_modules/d3-transition/src/transition/attrTween.js ***! 31344 \****************************************************************/ 31345/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31346 31347__webpack_require__.r(__webpack_exports__); 31348/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31349/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31350/* harmony export */ }); 31351/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/namespace.js"); 31352 31353 31354function attrInterpolate(name, i) { 31355 return function(t) { 31356 this.setAttribute(name, i.call(this, t)); 31357 }; 31358} 31359 31360function attrInterpolateNS(fullname, i) { 31361 return function(t) { 31362 this.setAttributeNS(fullname.space, fullname.local, i.call(this, t)); 31363 }; 31364} 31365 31366function attrTweenNS(fullname, value) { 31367 var t0, i0; 31368 function tween() { 31369 var i = value.apply(this, arguments); 31370 if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i); 31371 return t0; 31372 } 31373 tween._value = value; 31374 return tween; 31375} 31376 31377function attrTween(name, value) { 31378 var t0, i0; 31379 function tween() { 31380 var i = value.apply(this, arguments); 31381 if (i !== i0) t0 = (i0 = i) && attrInterpolate(name, i); 31382 return t0; 31383 } 31384 tween._value = value; 31385 return tween; 31386} 31387 31388/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value) { 31389 var key = "attr." + name; 31390 if (arguments.length < 2) return (key = this.tween(key)) && key._value; 31391 if (value == null) return this.tween(key, null); 31392 if (typeof value !== "function") throw new Error; 31393 var fullname = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"])(name); 31394 return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value)); 31395} 31396 31397 31398/***/ }), 31399
vendor: 1,420 bytes, lines 31400-31437
31400/***/ "./node_modules/d3-transition/src/transition/delay.js": 31401/*!************************************************************!*\ 31402 !*** ./node_modules/d3-transition/src/transition/delay.js ***! 31403 \************************************************************/ 31404/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31405 31406__webpack_require__.r(__webpack_exports__); 31407/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31408/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31409/* harmony export */ }); 31410/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31411 31412 31413function delayFunction(id, value) { 31414 return function() { 31415 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.init)(this, id).delay = +value.apply(this, arguments); 31416 }; 31417} 31418 31419function delayConstant(id, value) { 31420 return value = +value, function() { 31421 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.init)(this, id).delay = value; 31422 }; 31423} 31424 31425/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 31426 var id = this._id; 31427 31428 return arguments.length 31429 ? this.each((typeof value === "function" 31430 ? delayFunction 31431 : delayConstant)(id, value)) 31432 : (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.get)(this.node(), id).delay; 31433} 31434 31435 31436/***/ }), 31437
vendor: 1,451 bytes, lines 31438-31475
31438/***/ "./node_modules/d3-transition/src/transition/duration.js": 31439/*!***************************************************************!*\ 31440 !*** ./node_modules/d3-transition/src/transition/duration.js ***! 31441 \***************************************************************/ 31442/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31443 31444__webpack_require__.r(__webpack_exports__); 31445/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31446/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31447/* harmony export */ }); 31448/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31449 31450 31451function durationFunction(id, value) { 31452 return function() { 31453 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.set)(this, id).duration = +value.apply(this, arguments); 31454 }; 31455} 31456 31457function durationConstant(id, value) { 31458 return value = +value, function() { 31459 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.set)(this, id).duration = value; 31460 }; 31461} 31462 31463/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 31464 var id = this._id; 31465 31466 return arguments.length 31467 ? this.each((typeof value === "function" 31468 ? durationFunction 31469 : durationConstant)(id, value)) 31470 : (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.get)(this.node(), id).duration; 31471} 31472 31473 31474/***/ }), 31475
vendor: 1,209 bytes, lines 31476-31506
31476/***/ "./node_modules/d3-transition/src/transition/ease.js": 31477/*!***********************************************************!*\ 31478 !*** ./node_modules/d3-transition/src/transition/ease.js ***! 31479 \***********************************************************/ 31480/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31481 31482__webpack_require__.r(__webpack_exports__); 31483/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31484/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31485/* harmony export */ }); 31486/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31487 31488 31489function easeConstant(id, value) { 31490 if (typeof value !== "function") throw new Error; 31491 return function() { 31492 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.set)(this, id).ease = value; 31493 }; 31494} 31495 31496/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 31497 var id = this._id; 31498 31499 return arguments.length 31500 ? this.each(easeConstant(id, value)) 31501 : (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.get)(this.node(), id).ease; 31502} 31503 31504 31505/***/ }), 31506
vendor: 1,202 bytes, lines 31507-31535
31507/***/ "./node_modules/d3-transition/src/transition/easeVarying.js": 31508/*!******************************************************************!*\ 31509 !*** ./node_modules/d3-transition/src/transition/easeVarying.js ***! 31510 \******************************************************************/ 31511/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31512 31513__webpack_require__.r(__webpack_exports__); 31514/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31515/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31516/* harmony export */ }); 31517/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31518 31519 31520function easeVarying(id, value) { 31521 return function() { 31522 var v = value.apply(this, arguments); 31523 if (typeof v !== "function") throw new Error; 31524 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.set)(this, id).ease = v; 31525 }; 31526} 31527 31528/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 31529 if (typeof value !== "function") throw new Error; 31530 return this.each(easeVarying(this._id, value)); 31531} 31532 31533 31534/***/ }), 31535
vendor: 1,648 bytes, lines 31536-31579
31536/***/ "./node_modules/d3-transition/src/transition/end.js": 31537/*!**********************************************************!*\ 31538 !*** ./node_modules/d3-transition/src/transition/end.js ***! 31539 \**********************************************************/ 31540/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31541 31542__webpack_require__.r(__webpack_exports__); 31543/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31544/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31545/* harmony export */ }); 31546/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31547 31548 31549/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 31550 var on0, on1, that = this, id = that._id, size = that.size(); 31551 return new Promise(function(resolve, reject) { 31552 var cancel = {value: reject}, 31553 end = {value: function() { if (--size === 0) resolve(); }}; 31554 31555 that.each(function() { 31556 var schedule = (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.set)(this, id), 31557 on = schedule.on; 31558 31559 // If this node shared a dispatch with the previous node, 31560 // just assign the updated shared dispatch and weâre done! 31561 // Otherwise, copy-on-write. 31562 if (on !== on0) { 31563 on1 = (on0 = on).copy(); 31564 on1._.cancel.push(cancel); 31565 on1._.interrupt.push(cancel); 31566 on1._.end.push(end); 31567 } 31568 31569 schedule.on = on1; 31570 }); 31571 31572 // The selection was empty, resolve end immediately 31573 if (size === 0) resolve(); 31574 }); 31575} 31576 31577 31578/***/ }), 31579
vendor: 1,550 bytes, lines 31580-31611
31580/***/ "./node_modules/d3-transition/src/transition/filter.js": 31581/*!*************************************************************!*\ 31582 !*** ./node_modules/d3-transition/src/transition/filter.js ***! 31583 \*************************************************************/ 31584/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31585 31586__webpack_require__.r(__webpack_exports__); 31587/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31588/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31589/* harmony export */ }); 31590/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/matcher.js"); 31591/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-transition/src/transition/index.js"); 31592 31593 31594 31595/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(match) { 31596 if (typeof match !== "function") match = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"])(match); 31597 31598 for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) { 31599 for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) { 31600 if ((node = group[i]) && match.call(node, node.__data__, i, group)) { 31601 subgroup.push(node); 31602 } 31603 } 31604 } 31605 31606 return new _index_js__WEBPACK_IMPORTED_MODULE_1__.Transition(subgroups, this._parents, this._name, this._id); 31607} 31608 31609 31610/***/ }), 31611
vendor: 6,319 bytes, lines 31612-31721
31612/***/ "./node_modules/d3-transition/src/transition/index.js": 31613/*!************************************************************!*\ 31614 !*** ./node_modules/d3-transition/src/transition/index.js ***! 31615 \************************************************************/ 31616/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31617 31618__webpack_require__.r(__webpack_exports__); 31619/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31620/* harmony export */ Transition: () => (/* binding */ Transition), 31621/* harmony export */ "default": () => (/* binding */ transition), 31622/* harmony export */ newId: () => (/* binding */ newId) 31623/* harmony export */ }); 31624/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/selection/index.js"); 31625/* harmony import */ var _attr_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./attr.js */ "./node_modules/d3-transition/src/transition/attr.js"); 31626/* harmony import */ var _attrTween_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./attrTween.js */ "./node_modules/d3-transition/src/transition/attrTween.js"); 31627/* harmony import */ var _delay_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./delay.js */ "./node_modules/d3-transition/src/transition/delay.js"); 31628/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./duration.js */ "./node_modules/d3-transition/src/transition/duration.js"); 31629/* harmony import */ var _ease_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ease.js */ "./node_modules/d3-transition/src/transition/ease.js"); 31630/* harmony import */ var _easeVarying_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./easeVarying.js */ "./node_modules/d3-transition/src/transition/easeVarying.js"); 31631/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./filter.js */ "./node_modules/d3-transition/src/transition/filter.js"); 31632/* harmony import */ var _merge_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./merge.js */ "./node_modules/d3-transition/src/transition/merge.js"); 31633/* harmony import */ var _on_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./on.js */ "./node_modules/d3-transition/src/transition/on.js"); 31634/* harmony import */ var _remove_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./remove.js */ "./node_modules/d3-transition/src/transition/remove.js"); 31635/* harmony import */ var _select_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./select.js */ "./node_modules/d3-transition/src/transition/select.js"); 31636/* harmony import */ var _selectAll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectAll.js */ "./node_modules/d3-transition/src/transition/selectAll.js"); 31637/* harmony import */ var _selection_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./selection.js */ "./node_modules/d3-transition/src/transition/selection.js"); 31638/* harmony import */ var _style_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./style.js */ "./node_modules/d3-transition/src/transition/style.js"); 31639/* harmony import */ var _styleTween_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./styleTween.js */ "./node_modules/d3-transition/src/transition/styleTween.js"); 31640/* harmony import */ var _text_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./text.js */ "./node_modules/d3-transition/src/transition/text.js"); 31641/* harmony import */ var _textTween_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./textTween.js */ "./node_modules/d3-transition/src/transition/textTween.js"); 31642/* harmony import */ var _transition_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./transition.js */ "./node_modules/d3-transition/src/transition/transition.js"); 31643/* harmony import */ var _tween_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./tween.js */ "./node_modules/d3-transition/src/transition/tween.js"); 31644/* harmony import */ var _end_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./end.js */ "./node_modules/d3-transition/src/transition/end.js"); 31645 31646 31647 31648 31649 31650 31651 31652 31653 31654 31655 31656 31657 31658 31659 31660 31661 31662 31663 31664 31665 31666 31667var id = 0; 31668 31669function Transition(groups, parents, name, id) { 31670 this._groups = groups; 31671 this._parents = parents; 31672 this._name = name; 31673 this._id = id; 31674} 31675 31676function transition(name) { 31677 return (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"])().transition(name); 31678} 31679 31680function newId() { 31681 return ++id; 31682} 31683 31684var selection_prototype = d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"].prototype; 31685 31686Transition.prototype = transition.prototype = { 31687 constructor: Transition, 31688 select: _select_js__WEBPACK_IMPORTED_MODULE_1__["default"], 31689 selectAll: _selectAll_js__WEBPACK_IMPORTED_MODULE_2__["default"], 31690 selectChild: selection_prototype.selectChild, 31691 selectChildren: selection_prototype.selectChildren, 31692 filter: _filter_js__WEBPACK_IMPORTED_MODULE_3__["default"], 31693 merge: _merge_js__WEBPACK_IMPORTED_MODULE_4__["default"], 31694 selection: _selection_js__WEBPACK_IMPORTED_MODULE_5__["default"], 31695 transition: _transition_js__WEBPACK_IMPORTED_MODULE_6__["default"], 31696 call: selection_prototype.call, 31697 nodes: selection_prototype.nodes, 31698 node: selection_prototype.node, 31699 size: selection_prototype.size, 31700 empty: selection_prototype.empty, 31701 each: selection_prototype.each, 31702 on: _on_js__WEBPACK_IMPORTED_MODULE_7__["default"], 31703 attr: _attr_js__WEBPACK_IMPORTED_MODULE_8__["default"], 31704 attrTween: _attrTween_js__WEBPACK_IMPORTED_MODULE_9__["default"], 31705 style: _style_js__WEBPACK_IMPORTED_MODULE_10__["default"], 31706 styleTween: _styleTween_js__WEBPACK_IMPORTED_MODULE_11__["default"], 31707 text: _text_js__WEBPACK_IMPORTED_MODULE_12__["default"], 31708 textTween: _textTween_js__WEBPACK_IMPORTED_MODULE_13__["default"], 31709 remove: _remove_js__WEBPACK_IMPORTED_MODULE_14__["default"], 31710 tween: _tween_js__WEBPACK_IMPORTED_MODULE_15__["default"], 31711 delay: _delay_js__WEBPACK_IMPORTED_MODULE_16__["default"], 31712 duration: _duration_js__WEBPACK_IMPORTED_MODULE_17__["default"], 31713 ease: _ease_js__WEBPACK_IMPORTED_MODULE_18__["default"], 31714 easeVarying: _easeVarying_js__WEBPACK_IMPORTED_MODULE_19__["default"], 31715 end: _end_js__WEBPACK_IMPORTED_MODULE_20__["default"], 31716 [Symbol.iterator]: selection_prototype[Symbol.iterator] 31717}; 31718 31719 31720/***/ }), 31721
vendor: 1,754 bytes, lines 31722-31749
31722/***/ "./node_modules/d3-transition/src/transition/interpolate.js": 31723/*!******************************************************************!*\ 31724 !*** ./node_modules/d3-transition/src/transition/interpolate.js ***! 31725 \******************************************************************/ 31726/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31727 31728__webpack_require__.r(__webpack_exports__); 31729/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31730/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31731/* harmony export */ }); 31732/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/color.js"); 31733/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/number.js"); 31734/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/rgb.js"); 31735/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/string.js"); 31736 31737 31738 31739/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) { 31740 var c; 31741 return (typeof b === "number" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["default"] 31742 : b instanceof d3_color__WEBPACK_IMPORTED_MODULE_1__["default"] ? d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"] 31743 : (c = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(b)) ? (b = c, d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"]) 31744 : d3_interpolate__WEBPACK_IMPORTED_MODULE_3__["default"])(a, b); 31745} 31746 31747 31748/***/ }), 31749
vendor: 1,457 bytes, lines 31750-31783
31750/***/ "./node_modules/d3-transition/src/transition/merge.js": 31751/*!************************************************************!*\ 31752 !*** ./node_modules/d3-transition/src/transition/merge.js ***! 31753 \************************************************************/ 31754/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31755 31756__webpack_require__.r(__webpack_exports__); 31757/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31758/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31759/* harmony export */ }); 31760/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-transition/src/transition/index.js"); 31761 31762 31763/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(transition) { 31764 if (transition._id !== this._id) throw new Error; 31765 31766 for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) { 31767 for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) { 31768 if (node = group0[i] || group1[i]) { 31769 merge[i] = node; 31770 } 31771 } 31772 } 31773 31774 for (; j < m0; ++j) { 31775 merges[j] = groups0[j]; 31776 } 31777 31778 return new _index_js__WEBPACK_IMPORTED_MODULE_0__.Transition(merges, this._parents, this._name, this._id); 31779} 31780 31781 31782/***/ }), 31783
vendor: 1,738 bytes, lines 31784-31830
31784/***/ "./node_modules/d3-transition/src/transition/on.js": 31785/*!*********************************************************!*\ 31786 !*** ./node_modules/d3-transition/src/transition/on.js ***! 31787 \*********************************************************/ 31788/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31789 31790__webpack_require__.r(__webpack_exports__); 31791/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31792/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31793/* harmony export */ }); 31794/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 31795 31796 31797function start(name) { 31798 return (name + "").trim().split(/^|\s+/).every(function(t) { 31799 var i = t.indexOf("."); 31800 if (i >= 0) t = t.slice(0, i); 31801 return !t || t === "start"; 31802 }); 31803} 31804 31805function onFunction(id, name, listener) { 31806 var on0, on1, sit = start(name) ? _schedule_js__WEBPACK_IMPORTED_MODULE_0__.init : _schedule_js__WEBPACK_IMPORTED_MODULE_0__.set; 31807 return function() { 31808 var schedule = sit(this, id), 31809 on = schedule.on; 31810 31811 // If this node shared a dispatch with the previous node, 31812 // just assign the updated shared dispatch and weâre done! 31813 // Otherwise, copy-on-write. 31814 if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener); 31815 31816 schedule.on = on1; 31817 }; 31818} 31819 31820/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, listener) { 31821 var id = this._id; 31822 31823 return arguments.length < 2 31824 ? (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.get)(this.node(), id).on.on(name) 31825 : this.each(onFunction(id, name, listener)); 31826} 31827 31828 31829/***/ }), 31830
vendor: 927 bytes, lines 31831-31855
31831/***/ "./node_modules/d3-transition/src/transition/remove.js": 31832/*!*************************************************************!*\ 31833 !*** ./node_modules/d3-transition/src/transition/remove.js ***! 31834 \*************************************************************/ 31835/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31836 31837__webpack_require__.r(__webpack_exports__); 31838/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31839/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 31840/* harmony export */ }); 31841function removeFunction(id) { 31842 return function() { 31843 var parent = this.parentNode; 31844 for (var i in this.__transition) if (+i !== id) return; 31845 if (parent) parent.removeChild(this); 31846 }; 31847} 31848 31849/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 31850 return this.on("end.remove", removeFunction(this._id)); 31851} 31852 31853 31854/***/ }), 31855
vendor: 6,348 bytes, lines 31856-32035
31856/***/ "./node_modules/d3-transition/src/transition/schedule.js": 31857/*!***************************************************************!*\ 31858 !*** ./node_modules/d3-transition/src/transition/schedule.js ***! 31859 \***************************************************************/ 31860/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 31861 31862__webpack_require__.r(__webpack_exports__); 31863/* harmony export */ __webpack_require__.d(__webpack_exports__, { 31864/* harmony export */ CREATED: () => (/* binding */ CREATED), 31865/* harmony export */ ENDED: () => (/* binding */ ENDED), 31866/* harmony export */ ENDING: () => (/* binding */ ENDING), 31867/* harmony export */ RUNNING: () => (/* binding */ RUNNING), 31868/* harmony export */ SCHEDULED: () => (/* binding */ SCHEDULED), 31869/* harmony export */ STARTED: () => (/* binding */ STARTED), 31870/* harmony export */ STARTING: () => (/* binding */ STARTING), 31871/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 31872/* harmony export */ get: () => (/* binding */ get), 31873/* harmony export */ init: () => (/* binding */ init), 31874/* harmony export */ set: () => (/* binding */ set) 31875/* harmony export */ }); 31876/* harmony import */ var d3_dispatch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-dispatch */ "./node_modules/d3-dispatch/src/dispatch.js"); 31877/* harmony import */ var d3_timer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-timer */ "./node_modules/d3-timer/src/timer.js"); 31878/* harmony import */ var d3_timer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-timer */ "./node_modules/d3-timer/src/timeout.js"); 31879 31880 31881 31882var emptyOn = (0,d3_dispatch__WEBPACK_IMPORTED_MODULE_0__["default"])("start", "end", "cancel", "interrupt"); 31883var emptyTween = []; 31884 31885var CREATED = 0; 31886var SCHEDULED = 1; 31887var STARTING = 2; 31888var STARTED = 3; 31889var RUNNING = 4; 31890var ENDING = 5; 31891var ENDED = 6; 31892 31893/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(node, name, id, index, group, timing) { 31894 var schedules = node.__transition; 31895 if (!schedules) node.__transition = {}; 31896 else if (id in schedules) return; 31897 create(node, id, { 31898 name: name, 31899 index: index, // For context during callback. 31900 group: group, // For context during callback. 31901 on: emptyOn, 31902 tween: emptyTween, 31903 time: timing.time, 31904 delay: timing.delay, 31905 duration: timing.duration, 31906 ease: timing.ease, 31907 timer: null, 31908 state: CREATED 31909 }); 31910} 31911 31912function init(node, id) { 31913 var schedule = get(node, id); 31914 if (schedule.state > CREATED) throw new Error("too late; already scheduled"); 31915 return schedule; 31916} 31917 31918function set(node, id) { 31919 var schedule = get(node, id); 31920 if (schedule.state > STARTED) throw new Error("too late; already running"); 31921 return schedule; 31922} 31923 31924function get(node, id) { 31925 var schedule = node.__transition; 31926 if (!schedule || !(schedule = schedule[id])) throw new Error("transition not found"); 31927 return schedule; 31928} 31929 31930function create(node, id, self) { 31931 var schedules = node.__transition, 31932 tween; 31933 31934 // Initialize the self timer when the transition is created. 31935 // Note the actual delay is not known until the first callback! 31936 schedules[id] = self; 31937 self.timer = (0,d3_timer__WEBPACK_IMPORTED_MODULE_1__.timer)(schedule, 0, self.time); 31938 31939 function schedule(elapsed) { 31940 self.state = SCHEDULED; 31941 self.timer.restart(start, self.delay, self.time); 31942 31943 // If the elapsed delay is less than our first sleep, start immediately. 31944 if (self.delay <= elapsed) start(elapsed - self.delay); 31945 } 31946 31947 function start(elapsed) { 31948 var i, j, n, o; 31949 31950 // If the state is not SCHEDULED, then we previously errored on start. 31951 if (self.state !== SCHEDULED) return stop(); 31952 31953 for (i in schedules) { 31954 o = schedules[i]; 31955 if (o.name !== self.name) continue; 31956 31957 // While this element already has a starting transition during this frame, 31958 // defer starting an interrupting transition until that transition has a 31959 // chance to tick (and possibly end); see d3/d3-transition#54! 31960 if (o.state === STARTED) return (0,d3_timer__WEBPACK_IMPORTED_MODULE_2__["default"])(start); 31961 31962 // Interrupt the active transition, if any. 31963 if (o.state === RUNNING) { 31964 o.state = ENDED; 31965 o.timer.stop(); 31966 o.on.call("interrupt", node, node.__data__, o.index, o.group); 31967 delete schedules[i]; 31968 } 31969 31970 // Cancel any pre-empted transitions. 31971 else if (+i < id) { 31972 o.state = ENDED; 31973 o.timer.stop(); 31974 o.on.call("cancel", node, node.__data__, o.index, o.group); 31975 delete schedules[i]; 31976 } 31977 } 31978 31979 // Defer the first tick to end of the current frame; see d3/d3#1576. 31980 // Note the transition may be canceled after start and before the first tick! 31981 // Note this must be scheduled before the start event; see d3/d3-transition#16! 31982 // Assuming this is successful, subsequent callbacks go straight to tick. 31983 (0,d3_timer__WEBPACK_IMPORTED_MODULE_2__["default"])(function() { 31984 if (self.state === STARTED) { 31985 self.state = RUNNING; 31986 self.timer.restart(tick, self.delay, self.time); 31987 tick(elapsed); 31988 } 31989 }); 31990 31991 // Dispatch the start event. 31992 // Note this must be done before the tween are initialized. 31993 self.state = STARTING; 31994 self.on.call("start", node, node.__data__, self.index, self.group); 31995 if (self.state !== STARTING) return; // interrupted 31996 self.state = STARTED; 31997 31998 // Initialize the tween, deleting null tween. 31999 tween = new Array(n = self.tween.length); 32000 for (i = 0, j = -1; i < n; ++i) { 32001 if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) { 32002 tween[++j] = o; 32003 } 32004 } 32005 tween.length = j + 1; 32006 } 32007 32008 function tick(elapsed) { 32009 var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1), 32010 i = -1, 32011 n = tween.length; 32012 32013 while (++i < n) { 32014 tween[i].call(node, t); 32015 } 32016 32017 // Dispatch the end event. 32018 if (self.state === ENDING) { 32019 self.on.call("end", node, node.__data__, self.index, self.group); 32020 stop(); 32021 } 32022 } 32023 32024 function stop() { 32025 self.state = ENDED; 32026 self.timer.stop(); 32027 delete schedules[id]; 32028 for (var i in schedules) return; // eslint-disable-line no-unused-vars 32029 delete node.__transition; 32030 } 32031} 32032 32033 32034/***/ }), 32035
vendor: 2,024 bytes, lines 32036-32074
32036/***/ "./node_modules/d3-transition/src/transition/select.js": 32037/*!*************************************************************!*\ 32038 !*** ./node_modules/d3-transition/src/transition/select.js ***! 32039 \*************************************************************/ 32040/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32041 32042__webpack_require__.r(__webpack_exports__); 32043/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32044/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32045/* harmony export */ }); 32046/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/selector.js"); 32047/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-transition/src/transition/index.js"); 32048/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 32049 32050 32051 32052 32053/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(select) { 32054 var name = this._name, 32055 id = this._id; 32056 32057 if (typeof select !== "function") select = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"])(select); 32058 32059 for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) { 32060 for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) { 32061 if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) { 32062 if ("__data__" in node) subnode.__data__ = node.__data__; 32063 subgroup[i] = subnode; 32064 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_1__["default"])(subgroup[i], name, id, i, subgroup, (0,_schedule_js__WEBPACK_IMPORTED_MODULE_1__.get)(node, id)); 32065 } 32066 } 32067 } 32068 32069 return new _index_js__WEBPACK_IMPORTED_MODULE_2__.Transition(subgroups, this._parents, name, id); 32070} 32071 32072 32073/***/ }), 32074
vendor: 2,090 bytes, lines 32075-32117
32075/***/ "./node_modules/d3-transition/src/transition/selectAll.js": 32076/*!****************************************************************!*\ 32077 !*** ./node_modules/d3-transition/src/transition/selectAll.js ***! 32078 \****************************************************************/ 32079/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32080 32081__webpack_require__.r(__webpack_exports__); 32082/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32083/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32084/* harmony export */ }); 32085/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/selectorAll.js"); 32086/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-transition/src/transition/index.js"); 32087/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 32088 32089 32090 32091 32092/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(select) { 32093 var name = this._name, 32094 id = this._id; 32095 32096 if (typeof select !== "function") select = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"])(select); 32097 32098 for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) { 32099 for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) { 32100 if (node = group[i]) { 32101 for (var children = select.call(node, node.__data__, i, group), child, inherit = (0,_schedule_js__WEBPACK_IMPORTED_MODULE_1__.get)(node, id), k = 0, l = children.length; k < l; ++k) { 32102 if (child = children[k]) { 32103 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_1__["default"])(child, name, id, k, children, inherit); 32104 } 32105 } 32106 subgroups.push(children); 32107 parents.push(node); 32108 } 32109 } 32110 } 32111 32112 return new _index_js__WEBPACK_IMPORTED_MODULE_2__.Transition(subgroups, parents, name, id); 32113} 32114 32115 32116/***/ }), 32117
vendor: 997 bytes, lines 32118-32139
32118/***/ "./node_modules/d3-transition/src/transition/selection.js": 32119/*!****************************************************************!*\ 32120 !*** ./node_modules/d3-transition/src/transition/selection.js ***! 32121 \****************************************************************/ 32122/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32123 32124__webpack_require__.r(__webpack_exports__); 32125/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32126/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32127/* harmony export */ }); 32128/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/selection/index.js"); 32129 32130 32131var Selection = d3_selection__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.constructor; 32132 32133/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 32134 return new Selection(this._groups, this._parents); 32135} 32136 32137 32138/***/ }), 32139
vendor: 4,437 bytes, lines 32140-32238
32140/***/ "./node_modules/d3-transition/src/transition/style.js": 32141/*!************************************************************!*\ 32142 !*** ./node_modules/d3-transition/src/transition/style.js ***! 32143 \************************************************************/ 32144/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32145 32146__webpack_require__.r(__webpack_exports__); 32147/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32148/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32149/* harmony export */ }); 32150/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/transform/index.js"); 32151/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/selection/style.js"); 32152/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 32153/* harmony import */ var _tween_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./tween.js */ "./node_modules/d3-transition/src/transition/tween.js"); 32154/* harmony import */ var _interpolate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./interpolate.js */ "./node_modules/d3-transition/src/transition/interpolate.js"); 32155 32156 32157 32158 32159 32160 32161function styleNull(name, interpolate) { 32162 var string00, 32163 string10, 32164 interpolate0; 32165 return function() { 32166 var string0 = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__.styleValue)(this, name), 32167 string1 = (this.style.removeProperty(name), (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__.styleValue)(this, name)); 32168 return string0 === string1 ? null 32169 : string0 === string00 && string1 === string10 ? interpolate0 32170 : interpolate0 = interpolate(string00 = string0, string10 = string1); 32171 }; 32172} 32173 32174function styleRemove(name) { 32175 return function() { 32176 this.style.removeProperty(name); 32177 }; 32178} 32179 32180function styleConstant(name, interpolate, value1) { 32181 var string00, 32182 string1 = value1 + "", 32183 interpolate0; 32184 return function() { 32185 var string0 = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__.styleValue)(this, name); 32186 return string0 === string1 ? null 32187 : string0 === string00 ? interpolate0 32188 : interpolate0 = interpolate(string00 = string0, value1); 32189 }; 32190} 32191 32192function styleFunction(name, interpolate, value) { 32193 var string00, 32194 string10, 32195 interpolate0; 32196 return function() { 32197 var string0 = (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__.styleValue)(this, name), 32198 value1 = value(this), 32199 string1 = value1 + ""; 32200 if (value1 == null) string1 = value1 = (this.style.removeProperty(name), (0,d3_selection__WEBPACK_IMPORTED_MODULE_0__.styleValue)(this, name)); 32201 return string0 === string1 ? null 32202 : string0 === string00 && string1 === string10 ? interpolate0 32203 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1)); 32204 }; 32205} 32206 32207function styleMaybeRemove(id, name) { 32208 var on0, on1, listener0, key = "style." + name, event = "end." + key, remove; 32209 return function() { 32210 var schedule = (0,_schedule_js__WEBPACK_IMPORTED_MODULE_1__.set)(this, id), 32211 on = schedule.on, 32212 listener = schedule.value[key] == null ? remove || (remove = styleRemove(name)) : undefined; 32213 32214 // If this node shared a dispatch with the previous node, 32215 // just assign the updated shared dispatch and weâre done! 32216 // Otherwise, copy-on-write. 32217 if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener); 32218 32219 schedule.on = on1; 32220 }; 32221} 32222 32223/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value, priority) { 32224 var i = (name += "") === "transform" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolateTransformCss : _interpolate_js__WEBPACK_IMPORTED_MODULE_3__["default"]; 32225 return value == null ? this 32226 .styleTween(name, styleNull(name, i)) 32227 .on("end.style." + name, styleRemove(name)) 32228 : typeof value === "function" ? this 32229 .styleTween(name, styleFunction(name, i, (0,_tween_js__WEBPACK_IMPORTED_MODULE_4__.tweenValue)(this, "style." + name, value))) 32230 .each(styleMaybeRemove(this._id, name)) 32231 : this 32232 .styleTween(name, styleConstant(name, i, value), priority) 32233 .on("end.style." + name, null); 32234} 32235 32236 32237/***/ }), 32238
vendor: 1,401 bytes, lines 32239-32276
32239/***/ "./node_modules/d3-transition/src/transition/styleTween.js": 32240/*!*****************************************************************!*\ 32241 !*** ./node_modules/d3-transition/src/transition/styleTween.js ***! 32242 \*****************************************************************/ 32243/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32244 32245__webpack_require__.r(__webpack_exports__); 32246/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32247/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32248/* harmony export */ }); 32249function styleInterpolate(name, i, priority) { 32250 return function(t) { 32251 this.style.setProperty(name, i.call(this, t), priority); 32252 }; 32253} 32254 32255function styleTween(name, value, priority) { 32256 var t, i0; 32257 function tween() { 32258 var i = value.apply(this, arguments); 32259 if (i !== i0) t = (i0 = i) && styleInterpolate(name, i, priority); 32260 return t; 32261 } 32262 tween._value = value; 32263 return tween; 32264} 32265 32266/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value, priority) { 32267 var key = "style." + (name += ""); 32268 if (arguments.length < 2) return (key = this.tween(key)) && key._value; 32269 if (value == null) return this.tween(key, null); 32270 if (typeof value !== "function") throw new Error; 32271 return this.tween(key, styleTween(name, value, priority == null ? "" : priority)); 32272} 32273 32274 32275/***/ }), 32276
vendor: 1,277 bytes, lines 32277-32311
32277/***/ "./node_modules/d3-transition/src/transition/text.js": 32278/*!***********************************************************!*\ 32279 !*** ./node_modules/d3-transition/src/transition/text.js ***! 32280 \***********************************************************/ 32281/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32282 32283__webpack_require__.r(__webpack_exports__); 32284/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32285/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32286/* harmony export */ }); 32287/* harmony import */ var _tween_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tween.js */ "./node_modules/d3-transition/src/transition/tween.js"); 32288 32289 32290function textConstant(value) { 32291 return function() { 32292 this.textContent = value; 32293 }; 32294} 32295 32296function textFunction(value) { 32297 return function() { 32298 var value1 = value(this); 32299 this.textContent = value1 == null ? "" : value1; 32300 }; 32301} 32302 32303/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 32304 return this.tween("text", typeof value === "function" 32305 ? textFunction((0,_tween_js__WEBPACK_IMPORTED_MODULE_0__.tweenValue)(this, "text", value)) 32306 : textConstant(value == null ? "" : value + "")); 32307} 32308 32309 32310/***/ }), 32311
vendor: 1,254 bytes, lines 32312-32349
32312/***/ "./node_modules/d3-transition/src/transition/textTween.js": 32313/*!****************************************************************!*\ 32314 !*** ./node_modules/d3-transition/src/transition/textTween.js ***! 32315 \****************************************************************/ 32316/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32317 32318__webpack_require__.r(__webpack_exports__); 32319/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32320/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32321/* harmony export */ }); 32322function textInterpolate(i) { 32323 return function(t) { 32324 this.textContent = i.call(this, t); 32325 }; 32326} 32327 32328function textTween(value) { 32329 var t0, i0; 32330 function tween() { 32331 var i = value.apply(this, arguments); 32332 if (i !== i0) t0 = (i0 = i) && textInterpolate(i); 32333 return t0; 32334 } 32335 tween._value = value; 32336 return tween; 32337} 32338 32339/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(value) { 32340 var key = "text"; 32341 if (arguments.length < 1) return (key = this.tween(key)) && key._value; 32342 if (value == null) return this.tween(key, null); 32343 if (typeof value !== "function") throw new Error; 32344 return this.tween(key, textTween(value)); 32345} 32346 32347 32348/***/ }), 32349
vendor: 1,774 bytes, lines 32350-32389
32350/***/ "./node_modules/d3-transition/src/transition/transition.js": 32351/*!*****************************************************************!*\ 32352 !*** ./node_modules/d3-transition/src/transition/transition.js ***! 32353 \*****************************************************************/ 32354/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32355 32356__webpack_require__.r(__webpack_exports__); 32357/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32358/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32359/* harmony export */ }); 32360/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.js */ "./node_modules/d3-transition/src/transition/index.js"); 32361/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 32362 32363 32364 32365/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 32366 var name = this._name, 32367 id0 = this._id, 32368 id1 = (0,_index_js__WEBPACK_IMPORTED_MODULE_0__.newId)(); 32369 32370 for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) { 32371 for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) { 32372 if (node = group[i]) { 32373 var inherit = (0,_schedule_js__WEBPACK_IMPORTED_MODULE_1__.get)(node, id0); 32374 (0,_schedule_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node, name, id1, i, group, { 32375 time: inherit.time + inherit.delay + inherit.duration, 32376 delay: 0, 32377 duration: inherit.duration, 32378 ease: inherit.ease 32379 }); 32380 } 32381 } 32382 } 32383 32384 return new _index_js__WEBPACK_IMPORTED_MODULE_0__.Transition(groups, this._parents, name, id1); 32385} 32386 32387 32388/***/ }), 32389
vendor: 3,091 bytes, lines 32390-32486
32390/***/ "./node_modules/d3-transition/src/transition/tween.js": 32391/*!************************************************************!*\ 32392 !*** ./node_modules/d3-transition/src/transition/tween.js ***! 32393 \************************************************************/ 32394/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32395 32396__webpack_require__.r(__webpack_exports__); 32397/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32398/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 32399/* harmony export */ tweenValue: () => (/* binding */ tweenValue) 32400/* harmony export */ }); 32401/* harmony import */ var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./schedule.js */ "./node_modules/d3-transition/src/transition/schedule.js"); 32402 32403 32404function tweenRemove(id, name) { 32405 var tween0, tween1; 32406 return function() { 32407 var schedule = (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.set)(this, id), 32408 tween = schedule.tween; 32409 32410 // If this node shared tween with the previous node, 32411 // just assign the updated shared tween and weâre done! 32412 // Otherwise, copy-on-write. 32413 if (tween !== tween0) { 32414 tween1 = tween0 = tween; 32415 for (var i = 0, n = tween1.length; i < n; ++i) { 32416 if (tween1[i].name === name) { 32417 tween1 = tween1.slice(); 32418 tween1.splice(i, 1); 32419 break; 32420 } 32421 } 32422 } 32423 32424 schedule.tween = tween1; 32425 }; 32426} 32427 32428function tweenFunction(id, name, value) { 32429 var tween0, tween1; 32430 if (typeof value !== "function") throw new Error; 32431 return function() { 32432 var schedule = (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.set)(this, id), 32433 tween = schedule.tween; 32434 32435 // If this node shared tween with the previous node, 32436 // just assign the updated shared tween and weâre done! 32437 // Otherwise, copy-on-write. 32438 if (tween !== tween0) { 32439 tween1 = (tween0 = tween).slice(); 32440 for (var t = {name: name, value: value}, i = 0, n = tween1.length; i < n; ++i) { 32441 if (tween1[i].name === name) { 32442 tween1[i] = t; 32443 break; 32444 } 32445 } 32446 if (i === n) tween1.push(t); 32447 } 32448 32449 schedule.tween = tween1; 32450 }; 32451} 32452 32453/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(name, value) { 32454 var id = this._id; 32455 32456 name += ""; 32457 32458 if (arguments.length < 2) { 32459 var tween = (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.get)(this.node(), id).tween; 32460 for (var i = 0, n = tween.length, t; i < n; ++i) { 32461 if ((t = tween[i]).name === name) { 32462 return t.value; 32463 } 32464 } 32465 return null; 32466 } 32467 32468 return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value)); 32469} 32470 32471function tweenValue(transition, name, value) { 32472 var id = transition._id; 32473 32474 transition.each(function() { 32475 var schedule = (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.set)(this, id); 32476 (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments); 32477 }); 32478 32479 return function(node) { 32480 return (0,_schedule_js__WEBPACK_IMPORTED_MODULE_0__.get)(node, id).value[name]; 32481 }; 32482} 32483 32484 32485/***/ }), 32486
vendor: 593 bytes, lines 32487-32501
32487/***/ "./node_modules/d3-zoom/src/constant.js": 32488/*!**********************************************!*\ 32489 !*** ./node_modules/d3-zoom/src/constant.js ***! 32490 \**********************************************/ 32491/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32492 32493__webpack_require__.r(__webpack_exports__); 32494/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32495/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 32496/* harmony export */ }); 32497/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (x => () => x); 32498 32499 32500/***/ }), 32501
vendor: 926 bytes, lines 32502-32529
32502/***/ "./node_modules/d3-zoom/src/event.js": 32503/*!*******************************************!*\ 32504 !*** ./node_modules/d3-zoom/src/event.js ***! 32505 \*******************************************/ 32506/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32507 32508__webpack_require__.r(__webpack_exports__); 32509/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32510/* harmony export */ "default": () => (/* binding */ ZoomEvent) 32511/* harmony export */ }); 32512function ZoomEvent(type, { 32513 sourceEvent, 32514 target, 32515 transform, 32516 dispatch 32517}) { 32518 Object.defineProperties(this, { 32519 type: {value: type, enumerable: true, configurable: true}, 32520 sourceEvent: {value: sourceEvent, enumerable: true, configurable: true}, 32521 target: {value: target, enumerable: true, configurable: true}, 32522 transform: {value: transform, enumerable: true, configurable: true}, 32523 _: {value: dispatch} 32524 }); 32525} 32526 32527 32528/***/ }), 32529
vendor: 1,196 bytes, lines 32530-32550
32530/***/ "./node_modules/d3-zoom/src/index.js": 32531/*!*******************************************!*\ 32532 !*** ./node_modules/d3-zoom/src/index.js ***! 32533 \*******************************************/ 32534/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32535 32536__webpack_require__.r(__webpack_exports__); 32537/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32538/* harmony export */ ZoomTransform: () => (/* reexport safe */ _transform_js__WEBPACK_IMPORTED_MODULE_1__.Transform), 32539/* harmony export */ zoom: () => (/* reexport safe */ _zoom_js__WEBPACK_IMPORTED_MODULE_0__["default"]), 32540/* harmony export */ zoomIdentity: () => (/* reexport safe */ _transform_js__WEBPACK_IMPORTED_MODULE_1__.identity), 32541/* harmony export */ zoomTransform: () => (/* reexport safe */ _transform_js__WEBPACK_IMPORTED_MODULE_1__["default"]) 32542/* harmony export */ }); 32543/* harmony import */ var _zoom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./zoom.js */ "./node_modules/d3-zoom/src/zoom.js"); 32544/* harmony import */ var _transform_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform.js */ "./node_modules/d3-zoom/src/transform.js"); 32545 32546 32547 32548 32549/***/ }), 32550
vendor: 822 bytes, lines 32551-32573
32551/***/ "./node_modules/d3-zoom/src/noevent.js": 32552/*!*********************************************!*\ 32553 !*** ./node_modules/d3-zoom/src/noevent.js ***! 32554 \*********************************************/ 32555/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32556 32557__webpack_require__.r(__webpack_exports__); 32558/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32559/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__), 32560/* harmony export */ nopropagation: () => (/* binding */ nopropagation) 32561/* harmony export */ }); 32562function nopropagation(event) { 32563 event.stopImmediatePropagation(); 32564} 32565 32566/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(event) { 32567 event.preventDefault(); 32568 event.stopImmediatePropagation(); 32569} 32570 32571 32572/***/ }), 32573
vendor: 2,012 bytes, lines 32574-32640
32574/***/ "./node_modules/d3-zoom/src/transform.js": 32575/*!***********************************************!*\ 32576 !*** ./node_modules/d3-zoom/src/transform.js ***! 32577 \***********************************************/ 32578/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32579 32580__webpack_require__.r(__webpack_exports__); 32581/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32582/* harmony export */ Transform: () => (/* binding */ Transform), 32583/* harmony export */ "default": () => (/* binding */ transform), 32584/* harmony export */ identity: () => (/* binding */ identity) 32585/* harmony export */ }); 32586function Transform(k, x, y) { 32587 this.k = k; 32588 this.x = x; 32589 this.y = y; 32590} 32591 32592Transform.prototype = { 32593 constructor: Transform, 32594 scale: function(k) { 32595 return k === 1 ? this : new Transform(this.k * k, this.x, this.y); 32596 }, 32597 translate: function(x, y) { 32598 return x === 0 & y === 0 ? this : new Transform(this.k, this.x + this.k * x, this.y + this.k * y); 32599 }, 32600 apply: function(point) { 32601 return [point[0] * this.k + this.x, point[1] * this.k + this.y]; 32602 }, 32603 applyX: function(x) { 32604 return x * this.k + this.x; 32605 }, 32606 applyY: function(y) { 32607 return y * this.k + this.y; 32608 }, 32609 invert: function(location) { 32610 return [(location[0] - this.x) / this.k, (location[1] - this.y) / this.k]; 32611 }, 32612 invertX: function(x) { 32613 return (x - this.x) / this.k; 32614 }, 32615 invertY: function(y) { 32616 return (y - this.y) / this.k; 32617 }, 32618 rescaleX: function(x) { 32619 return x.copy().domain(x.range().map(this.invertX, this).map(x.invert, x)); 32620 }, 32621 rescaleY: function(y) { 32622 return y.copy().domain(y.range().map(this.invertY, this).map(y.invert, y)); 32623 }, 32624 toString: function() { 32625 return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; 32626 } 32627}; 32628 32629var identity = new Transform(1, 0, 0); 32630 32631transform.prototype = Transform.prototype; 32632 32633function transform(node) { 32634 while (!node.__zoom) if (!(node = node.parentNode)) return identity; 32635 return node.__zoom; 32636} 32637 32638 32639/***/ }), 32640
vendor: 19,091 bytes, lines 32641-33111
32641/***/ "./node_modules/d3-zoom/src/zoom.js": 32642/*!******************************************!*\ 32643 !*** ./node_modules/d3-zoom/src/zoom.js ***! 32644 \******************************************/ 32645/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 32646 32647__webpack_require__.r(__webpack_exports__); 32648/* harmony export */ __webpack_require__.d(__webpack_exports__, { 32649/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) 32650/* harmony export */ }); 32651/* harmony import */ var d3_dispatch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! d3-dispatch */ "./node_modules/d3-dispatch/src/dispatch.js"); 32652/* harmony import */ var d3_drag__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! d3-drag */ "./node_modules/d3-drag/src/nodrag.js"); 32653/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/zoom.js"); 32654/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/select.js"); 32655/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/pointer.js"); 32656/* harmony import */ var d3_transition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-transition */ "./node_modules/d3-transition/src/index.js"); 32657/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constant.js */ "./node_modules/d3-zoom/src/constant.js"); 32658/* harmony import */ var _event_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./event.js */ "./node_modules/d3-zoom/src/event.js"); 32659/* harmony import */ var _transform_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./transform.js */ "./node_modules/d3-zoom/src/transform.js"); 32660/* harmony import */ var _noevent_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./noevent.js */ "./node_modules/d3-zoom/src/noevent.js"); 32661 32662 32663 32664 32665 32666 32667 32668 32669 32670 32671// Ignore right-click, since that should open the context menu. 32672// except for pinch-to-zoom, which is sent as a wheel+ctrlKey event 32673function defaultFilter(event) { 32674 return (!event.ctrlKey || event.type === 'wheel') && !event.button; 32675} 32676 32677function defaultExtent() { 32678 var e = this; 32679 if (e instanceof SVGElement) { 32680 e = e.ownerSVGElement || e; 32681 if (e.hasAttribute("viewBox")) { 32682 e = e.viewBox.baseVal; 32683 return [[e.x, e.y], [e.x + e.width, e.y + e.height]]; 32684 } 32685 return [[0, 0], [e.width.baseVal.value, e.height.baseVal.value]]; 32686 } 32687 return [[0, 0], [e.clientWidth, e.clientHeight]]; 32688} 32689 32690function defaultTransform() { 32691 return this.__zoom || _transform_js__WEBPACK_IMPORTED_MODULE_3__.identity; 32692} 32693 32694function defaultWheelDelta(event) { 32695 return -event.deltaY * (event.deltaMode === 1 ? 0.05 : event.deltaMode ? 1 : 0.002) * (event.ctrlKey ? 10 : 1); 32696} 32697 32698function defaultTouchable() { 32699 return navigator.maxTouchPoints || ("ontouchstart" in this); 32700} 32701 32702function defaultConstrain(transform, extent, translateExtent) { 32703 var dx0 = transform.invertX(extent[0][0]) - translateExtent[0][0], 32704 dx1 = transform.invertX(extent[1][0]) - translateExtent[1][0], 32705 dy0 = transform.invertY(extent[0][1]) - translateExtent[0][1], 32706 dy1 = transform.invertY(extent[1][1]) - translateExtent[1][1]; 32707 return transform.translate( 32708 dx1 > dx0 ? (dx0 + dx1) / 2 : Math.min(0, dx0) || Math.max(0, dx1), 32709 dy1 > dy0 ? (dy0 + dy1) / 2 : Math.min(0, dy0) || Math.max(0, dy1) 32710 ); 32711} 32712 32713/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() { 32714 var filter = defaultFilter, 32715 extent = defaultExtent, 32716 constrain = defaultConstrain, 32717 wheelDelta = defaultWheelDelta, 32718 touchable = defaultTouchable, 32719 scaleExtent = [0, Infinity], 32720 translateExtent = [[-Infinity, -Infinity], [Infinity, Infinity]], 32721 duration = 250, 32722 interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_5__["default"], 32723 listeners = (0,d3_dispatch__WEBPACK_IMPORTED_MODULE_6__["default"])("start", "zoom", "end"), 32724 touchstarting, 32725 touchfirst, 32726 touchending, 32727 touchDelay = 500, 32728 wheelDelay = 150, 32729 clickDistance2 = 0, 32730 tapDistance = 10; 32731 32732 function zoom(selection) { 32733 selection 32734 .property("__zoom", defaultTransform) 32735 .on("wheel.zoom", wheeled, {passive: false}) 32736 .on("mousedown.zoom", mousedowned) 32737 .on("dblclick.zoom", dblclicked) 32738 .filter(touchable) 32739 .on("touchstart.zoom", touchstarted) 32740 .on("touchmove.zoom", touchmoved) 32741 .on("touchend.zoom touchcancel.zoom", touchended) 32742 .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); 32743 } 32744 32745 zoom.transform = function(collection, transform, point, event) { 32746 var selection = collection.selection ? collection.selection() : collection; 32747 selection.property("__zoom", defaultTransform); 32748 if (collection !== selection) { 32749 schedule(collection, transform, point, event); 32750 } else { 32751 selection.interrupt().each(function() { 32752 gesture(this, arguments) 32753 .event(event) 32754 .start() 32755 .zoom(null, typeof transform === "function" ? transform.apply(this, arguments) : transform) 32756 .end(); 32757 }); 32758 } 32759 }; 32760 32761 zoom.scaleBy = function(selection, k, p, event) { 32762 zoom.scaleTo(selection, function() { 32763 var k0 = this.__zoom.k, 32764 k1 = typeof k === "function" ? k.apply(this, arguments) : k; 32765 return k0 * k1; 32766 }, p, event); 32767 }; 32768 32769 zoom.scaleTo = function(selection, k, p, event) { 32770 zoom.transform(selection, function() { 32771 var e = extent.apply(this, arguments), 32772 t0 = this.__zoom, 32773 p0 = p == null ? centroid(e) : typeof p === "function" ? p.apply(this, arguments) : p, 32774 p1 = t0.invert(p0), 32775 k1 = typeof k === "function" ? k.apply(this, arguments) : k; 32776 return constrain(translate(scale(t0, k1), p0, p1), e, translateExtent); 32777 }, p, event); 32778 }; 32779 32780 zoom.translateBy = function(selection, x, y, event) { 32781 zoom.transform(selection, function() { 32782 return constrain(this.__zoom.translate( 32783 typeof x === "function" ? x.apply(this, arguments) : x, 32784 typeof y === "function" ? y.apply(this, arguments) : y 32785 ), extent.apply(this, arguments), translateExtent); 32786 }, null, event); 32787 }; 32788 32789 zoom.translateTo = function(selection, x, y, p, event) { 32790 zoom.transform(selection, function() { 32791 var e = extent.apply(this, arguments), 32792 t = this.__zoom, 32793 p0 = p == null ? centroid(e) : typeof p === "function" ? p.apply(this, arguments) : p; 32794 return constrain(_transform_js__WEBPACK_IMPORTED_MODULE_3__.identity.translate(p0[0], p0[1]).scale(t.k).translate( 32795 typeof x === "function" ? -x.apply(this, arguments) : -x, 32796 typeof y === "function" ? -y.apply(this, arguments) : -y 32797 ), e, translateExtent); 32798 }, p, event); 32799 }; 32800 32801 function scale(transform, k) { 32802 k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], k)); 32803 return k === transform.k ? transform : new _transform_js__WEBPACK_IMPORTED_MODULE_3__.Transform(k, transform.x, transform.y); 32804 } 32805 32806 function translate(transform, p0, p1) { 32807 var x = p0[0] - p1[0] * transform.k, y = p0[1] - p1[1] * transform.k; 32808 return x === transform.x && y === transform.y ? transform : new _transform_js__WEBPACK_IMPORTED_MODULE_3__.Transform(transform.k, x, y); 32809 } 32810 32811 function centroid(extent) { 32812 return [(+extent[0][0] + +extent[1][0]) / 2, (+extent[0][1] + +extent[1][1]) / 2]; 32813 } 32814 32815 function schedule(transition, transform, point, event) { 32816 transition 32817 .on("start.zoom", function() { gesture(this, arguments).event(event).start(); }) 32818 .on("interrupt.zoom end.zoom", function() { gesture(this, arguments).event(event).end(); }) 32819 .tween("zoom", function() { 32820 var that = this, 32821 args = arguments, 32822 g = gesture(that, args).event(event), 32823 e = extent.apply(that, args), 32824 p = point == null ? centroid(e) : typeof point === "function" ? point.apply(that, args) : point, 32825 w = Math.max(e[1][0] - e[0][0], e[1][1] - e[0][1]), 32826 a = that.__zoom, 32827 b = typeof transform === "function" ? transform.apply(that, args) : transform, 32828 i = interpolate(a.invert(p).concat(w / a.k), b.invert(p).concat(w / b.k)); 32829 return function(t) { 32830 if (t === 1) t = b; // Avoid rounding error on end. 32831 else { var l = i(t), k = w / l[2]; t = new _transform_js__WEBPACK_IMPORTED_MODULE_3__.Transform(k, p[0] - l[0] * k, p[1] - l[1] * k); } 32832 g.zoom(null, t); 32833 }; 32834 }); 32835 } 32836 32837 function gesture(that, args, clean) { 32838 return (!clean && that.__zooming) || new Gesture(that, args); 32839 } 32840 32841 function Gesture(that, args) { 32842 this.that = that; 32843 this.args = args; 32844 this.active = 0; 32845 this.sourceEvent = null; 32846 this.extent = extent.apply(that, args); 32847 this.taps = 0; 32848 } 32849 32850 Gesture.prototype = { 32851 event: function(event) { 32852 if (event) this.sourceEvent = event; 32853 return this; 32854 }, 32855 start: function() { 32856 if (++this.active === 1) { 32857 this.that.__zooming = this; 32858 this.emit("start"); 32859 } 32860 return this; 32861 }, 32862 zoom: function(key, transform) { 32863 if (this.mouse && key !== "mouse") this.mouse[1] = transform.invert(this.mouse[0]); 32864 if (this.touch0 && key !== "touch") this.touch0[1] = transform.invert(this.touch0[0]); 32865 if (this.touch1 && key !== "touch") this.touch1[1] = transform.invert(this.touch1[0]); 32866 this.that.__zoom = transform; 32867 this.emit("zoom"); 32868 return this; 32869 }, 32870 end: function() { 32871 if (--this.active === 0) { 32872 delete this.that.__zooming; 32873 this.emit("end"); 32874 } 32875 return this; 32876 }, 32877 emit: function(type) { 32878 var d = (0,d3_selection__WEBPACK_IMPORTED_MODULE_7__["default"])(this.that).datum(); 32879 listeners.call( 32880 type, 32881 this.that, 32882 new _event_js__WEBPACK_IMPORTED_MODULE_2__["default"](type, { 32883 sourceEvent: this.sourceEvent, 32884 target: zoom, 32885 type, 32886 transform: this.that.__zoom, 32887 dispatch: listeners 32888 }), 32889 d 32890 ); 32891 } 32892 }; 32893 32894 function wheeled(event, ...args) { 32895 if (!filter.apply(this, arguments)) return; 32896 var g = gesture(this, args).event(event), 32897 t = this.__zoom, 32898 k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], t.k * Math.pow(2, wheelDelta.apply(this, arguments)))), 32899 p = (0,d3_selection__WEBPACK_IMPORTED_MODULE_8__["default"])(event); 32900 32901 // If the mouse is in the same location as before, reuse it. 32902 // If there were recent wheel events, reset the wheel idle timeout. 32903 if (g.wheel) { 32904 if (g.mouse[0][0] !== p[0] || g.mouse[0][1] !== p[1]) { 32905 g.mouse[1] = t.invert(g.mouse[0] = p); 32906 } 32907 clearTimeout(g.wheel); 32908 } 32909 32910 // If this wheel event wonât trigger a transform change, ignore it. 32911 else if (t.k === k) return; 32912 32913 // Otherwise, capture the mouse point and location at the start. 32914 else { 32915 g.mouse = [p, t.invert(p)]; 32916 (0,d3_transition__WEBPACK_IMPORTED_MODULE_0__.interrupt)(this); 32917 g.start(); 32918 } 32919 32920 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_4__["default"])(event); 32921 g.wheel = setTimeout(wheelidled, wheelDelay); 32922 g.zoom("mouse", constrain(translate(scale(t, k), g.mouse[0], g.mouse[1]), g.extent, translateExtent)); 32923 32924 function wheelidled() { 32925 g.wheel = null; 32926 g.end(); 32927 } 32928 } 32929 32930 function mousedowned(event, ...args) { 32931 if (touchending || !filter.apply(this, arguments)) return; 32932 var currentTarget = event.currentTarget, 32933 g = gesture(this, args, true).event(event), 32934 v = (0,d3_selection__WEBPACK_IMPORTED_MODULE_7__["default"])(event.view).on("mousemove.zoom", mousemoved, true).on("mouseup.zoom", mouseupped, true), 32935 p = (0,d3_selection__WEBPACK_IMPORTED_MODULE_8__["default"])(event, currentTarget), 32936 x0 = event.clientX, 32937 y0 = event.clientY; 32938 32939 (0,d3_drag__WEBPACK_IMPORTED_MODULE_9__["default"])(event.view); 32940 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_4__.nopropagation)(event); 32941 g.mouse = [p, this.__zoom.invert(p)]; 32942 (0,d3_transition__WEBPACK_IMPORTED_MODULE_0__.interrupt)(this); 32943 g.start(); 32944 32945 function mousemoved(event) { 32946 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_4__["default"])(event); 32947 if (!g.moved) { 32948 var dx = event.clientX - x0, dy = event.clientY - y0; 32949 g.moved = dx * dx + dy * dy > clickDistance2; 32950 } 32951 g.event(event) 32952 .zoom("mouse", constrain(translate(g.that.__zoom, g.mouse[0] = (0,d3_selection__WEBPACK_IMPORTED_MODULE_8__["default"])(event, currentTarget), g.mouse[1]), g.extent, translateExtent)); 32953 } 32954 32955 function mouseupped(event) { 32956 v.on("mousemove.zoom mouseup.zoom", null); 32957 (0,d3_drag__WEBPACK_IMPORTED_MODULE_9__.yesdrag)(event.view, g.moved); 32958 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_4__["default"])(event); 32959 g.event(event).end(); 32960 } 32961 } 32962 32963 function dblclicked(event, ...args) { 32964 if (!filter.apply(this, arguments)) return; 32965 var t0 = this.__zoom, 32966 p0 = (0,d3_selection__WEBPACK_IMPORTED_MODULE_8__["default"])(event.changedTouches ? event.changedTouches[0] : event, this), 32967 p1 = t0.invert(p0), 32968 k1 = t0.k * (event.shiftKey ? 0.5 : 2), 32969 t1 = constrain(translate(scale(t0, k1), p0, p1), extent.apply(this, args), translateExtent); 32970 32971 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_4__["default"])(event); 32972 if (duration > 0) (0,d3_selection__WEBPACK_IMPORTED_MODULE_7__["default"])(this).transition().duration(duration).call(schedule, t1, p0, event); 32973 else (0,d3_selection__WEBPACK_IMPORTED_MODULE_7__["default"])(this).call(zoom.transform, t1, p0, event); 32974 } 32975 32976 function touchstarted(event, ...args) { 32977 if (!filter.apply(this, arguments)) return; 32978 var touches = event.touches, 32979 n = touches.length, 32980 g = gesture(this, args, event.changedTouches.length === n).event(event), 32981 started, i, t, p; 32982 32983 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_4__.nopropagation)(event); 32984 for (i = 0; i < n; ++i) { 32985 t = touches[i], p = (0,d3_selection__WEBPACK_IMPORTED_MODULE_8__["default"])(t, this); 32986 p = [p, this.__zoom.invert(p), t.identifier]; 32987 if (!g.touch0) g.touch0 = p, started = true, g.taps = 1 + !!touchstarting; 32988 else if (!g.touch1 && g.touch0[2] !== p[2]) g.touch1 = p, g.taps = 0; 32989 } 32990 32991 if (touchstarting) touchstarting = clearTimeout(touchstarting); 32992 32993 if (started) { 32994 if (g.taps < 2) touchfirst = p[0], touchstarting = setTimeout(function() { touchstarting = null; }, touchDelay); 32995 (0,d3_transition__WEBPACK_IMPORTED_MODULE_0__.interrupt)(this); 32996 g.start(); 32997 } 32998 } 32999 33000 function touchmoved(event, ...args) { 33001 if (!this.__zooming) return; 33002 var g = gesture(this, args).event(event), 33003 touches = event.changedTouches, 33004 n = touches.length, i, t, p, l; 33005 33006 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_4__["default"])(event); 33007 for (i = 0; i < n; ++i) { 33008 t = touches[i], p = (0,d3_selection__WEBPACK_IMPORTED_MODULE_8__["default"])(t, this); 33009 if (g.touch0 && g.touch0[2] === t.identifier) g.touch0[0] = p; 33010 else if (g.touch1 && g.touch1[2] === t.identifier) g.touch1[0] = p; 33011 } 33012 t = g.that.__zoom; 33013 if (g.touch1) { 33014 var p0 = g.touch0[0], l0 = g.touch0[1], 33015 p1 = g.touch1[0], l1 = g.touch1[1], 33016 dp = (dp = p1[0] - p0[0]) * dp + (dp = p1[1] - p0[1]) * dp, 33017 dl = (dl = l1[0] - l0[0]) * dl + (dl = l1[1] - l0[1]) * dl; 33018 t = scale(t, Math.sqrt(dp / dl)); 33019 p = [(p0[0] + p1[0]) / 2, (p0[1] + p1[1]) / 2]; 33020 l = [(l0[0] + l1[0]) / 2, (l0[1] + l1[1]) / 2]; 33021 } 33022 else if (g.touch0) p = g.touch0[0], l = g.touch0[1]; 33023 else return; 33024 33025 g.zoom("touch", constrain(translate(t, p, l), g.extent, translateExtent)); 33026 } 33027 33028 function touchended(event, ...args) { 33029 if (!this.__zooming) return; 33030 var g = gesture(this, args).event(event), 33031 touches = event.changedTouches, 33032 n = touches.length, i, t; 33033 33034 (0,_noevent_js__WEBPACK_IMPORTED_MODULE_4__.nopropagation)(event); 33035 if (touchending) clearTimeout(touchending); 33036 touchending = setTimeout(function() { touchending = null; }, touchDelay); 33037 for (i = 0; i < n; ++i) { 33038 t = touches[i]; 33039 if (g.touch0 && g.touch0[2] === t.identifier) delete g.touch0; 33040 else if (g.touch1 && g.touch1[2] === t.identifier) delete g.touch1; 33041 } 33042 if (g.touch1 && !g.touch0) g.touch0 = g.touch1, delete g.touch1; 33043 if (g.touch0) g.touch0[1] = this.__zoom.invert(g.touch0[0]); 33044 else { 33045 g.end(); 33046 // If this was a dbltap, reroute to the (optional) dblclick.zoom handler. 33047 if (g.taps === 2) { 33048 t = (0,d3_selection__WEBPACK_IMPORTED_MODULE_8__["default"])(t, this); 33049 if (Math.hypot(touchfirst[0] - t[0], touchfirst[1] - t[1]) < tapDistance) { 33050 var p = (0,d3_selection__WEBPACK_IMPORTED_MODULE_7__["default"])(this).on("dblclick.zoom"); 33051 if (p) p.apply(this, arguments); 33052 } 33053 } 33054 } 33055 } 33056 33057 zoom.wheelDelta = function(_) { 33058 return arguments.length ? (wheelDelta = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), zoom) : wheelDelta; 33059 }; 33060 33061 zoom.filter = function(_) { 33062 return arguments.length ? (filter = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(!!_), zoom) : filter; 33063 }; 33064 33065 zoom.touchable = function(_) { 33066 return arguments.length ? (touchable = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(!!_), zoom) : touchable; 33067 }; 33068 33069 zoom.extent = function(_) { 33070 return arguments.length ? (extent = typeof _ === "function" ? _ : (0,_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])([[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]]), zoom) : extent; 33071 }; 33072 33073 zoom.scaleExtent = function(_) { 33074 return arguments.length ? (scaleExtent[0] = +_[0], scaleExtent[1] = +_[1], zoom) : [scaleExtent[0], scaleExtent[1]]; 33075 }; 33076 33077 zoom.translateExtent = function(_) { 33078 return arguments.length ? (translateExtent[0][0] = +_[0][0], translateExtent[1][0] = +_[1][0], translateExtent[0][1] = +_[0][1], translateExtent[1][1] = +_[1][1], zoom) : [[translateExtent[0][0], translateExtent[0][1]], [translateExtent[1][0], translateExtent[1][1]]]; 33079 }; 33080 33081 zoom.constrain = function(_) { 33082 return arguments.length ? (constrain = _, zoom) : constrain; 33083 }; 33084 33085 zoom.duration = function(_) { 33086 return arguments.length ? (duration = +_, zoom) : duration; 33087 }; 33088 33089 zoom.interpolate = function(_) { 33090 return arguments.length ? (interpolate = _, zoom) : interpolate; 33091 }; 33092 33093 zoom.on = function() { 33094 var value = listeners.on.apply(listeners, arguments); 33095 return value === listeners ? zoom : value; 33096 }; 33097 33098 zoom.clickDistance = function(_) { 33099 return arguments.length ? (clickDistance2 = (_ = +_) * _, zoom) : Math.sqrt(clickDistance2); 33100 }; 33101 33102 zoom.tapDistance = function(_) { 33103 return arguments.length ? (tapDistance = +_, zoom) : tapDistance; 33104 }; 33105 33106 return zoom; 33107} 33108 33109 33110/***/ }), 33111
vendor: 72,991 bytes, lines 33112-33761
33112/***/ "./node_modules/d3/src/index.js": 33113/*!**************************************!*\ 33114 !*** ./node_modules/d3/src/index.js ***! 33115 \**************************************/ 33116/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 33117 33118__webpack_require__.r(__webpack_exports__); 33119/* harmony export */ __webpack_require__.d(__webpack_exports__, { 33120/* harmony export */ Adder: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.Adder), 33121/* harmony export */ Delaunay: () => (/* reexport safe */ d3_delaunay__WEBPACK_IMPORTED_MODULE_6__.Delaunay), 33122/* harmony export */ FormatSpecifier: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.FormatSpecifier), 33123/* harmony export */ InternMap: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.InternMap), 33124/* harmony export */ InternSet: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.InternSet), 33125/* harmony export */ Node: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.Node), 33126/* harmony export */ Path: () => (/* reexport safe */ d3_path__WEBPACK_IMPORTED_MODULE_17__.Path), 33127/* harmony export */ Voronoi: () => (/* reexport safe */ d3_delaunay__WEBPACK_IMPORTED_MODULE_6__.Voronoi), 33128/* harmony export */ ZoomTransform: () => (/* reexport safe */ d3_zoom__WEBPACK_IMPORTED_MODULE_29__.ZoomTransform), 33129/* harmony export */ active: () => (/* reexport safe */ d3_transition__WEBPACK_IMPORTED_MODULE_28__.active), 33130/* harmony export */ arc: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.arc), 33131/* harmony export */ area: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.area), 33132/* harmony export */ areaRadial: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.areaRadial), 33133/* harmony export */ ascending: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.ascending), 33134/* harmony export */ autoType: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.autoType), 33135/* harmony export */ axisBottom: () => (/* reexport safe */ d3_axis__WEBPACK_IMPORTED_MODULE_1__.axisBottom), 33136/* harmony export */ axisLeft: () => (/* reexport safe */ d3_axis__WEBPACK_IMPORTED_MODULE_1__.axisLeft), 33137/* harmony export */ axisRight: () => (/* reexport safe */ d3_axis__WEBPACK_IMPORTED_MODULE_1__.axisRight), 33138/* harmony export */ axisTop: () => (/* reexport safe */ d3_axis__WEBPACK_IMPORTED_MODULE_1__.axisTop), 33139/* harmony export */ bin: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.bin), 33140/* harmony export */ bisect: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.bisect), 33141/* harmony export */ bisectCenter: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.bisectCenter), 33142/* harmony export */ bisectLeft: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.bisectLeft), 33143/* harmony export */ bisectRight: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.bisectRight), 33144/* harmony export */ bisector: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.bisector), 33145/* harmony export */ blob: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.blob), 33146/* harmony export */ blur: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.blur), 33147/* harmony export */ blur2: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.blur2), 33148/* harmony export */ blurImage: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.blurImage), 33149/* harmony export */ brush: () => (/* reexport safe */ d3_brush__WEBPACK_IMPORTED_MODULE_2__.brush), 33150/* harmony export */ brushSelection: () => (/* reexport safe */ d3_brush__WEBPACK_IMPORTED_MODULE_2__.brushSelection), 33151/* harmony export */ brushX: () => (/* reexport safe */ d3_brush__WEBPACK_IMPORTED_MODULE_2__.brushX), 33152/* harmony export */ brushY: () => (/* reexport safe */ d3_brush__WEBPACK_IMPORTED_MODULE_2__.brushY), 33153/* harmony export */ buffer: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.buffer), 33154/* harmony export */ chord: () => (/* reexport safe */ d3_chord__WEBPACK_IMPORTED_MODULE_3__.chord), 33155/* harmony export */ chordDirected: () => (/* reexport safe */ d3_chord__WEBPACK_IMPORTED_MODULE_3__.chordDirected), 33156/* harmony export */ chordTranspose: () => (/* reexport safe */ d3_chord__WEBPACK_IMPORTED_MODULE_3__.chordTranspose), 33157/* harmony export */ cluster: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.cluster), 33158/* harmony export */ color: () => (/* reexport safe */ d3_color__WEBPACK_IMPORTED_MODULE_4__.color), 33159/* harmony export */ contourDensity: () => (/* reexport safe */ d3_contour__WEBPACK_IMPORTED_MODULE_5__.contourDensity), 33160/* harmony export */ contours: () => (/* reexport safe */ d3_contour__WEBPACK_IMPORTED_MODULE_5__.contours), 33161/* harmony export */ count: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.count), 33162/* harmony export */ create: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.create), 33163/* harmony export */ creator: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.creator), 33164/* harmony export */ cross: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.cross), 33165/* harmony export */ csv: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.csv), 33166/* harmony export */ csvFormat: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.csvFormat), 33167/* harmony export */ csvFormatBody: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.csvFormatBody), 33168/* harmony export */ csvFormatRow: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.csvFormatRow), 33169/* harmony export */ csvFormatRows: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.csvFormatRows), 33170/* harmony export */ csvFormatValue: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.csvFormatValue), 33171/* harmony export */ csvParse: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.csvParse), 33172/* harmony export */ csvParseRows: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.csvParseRows), 33173/* harmony export */ cubehelix: () => (/* reexport safe */ d3_color__WEBPACK_IMPORTED_MODULE_4__.cubehelix), 33174/* harmony export */ cumsum: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.cumsum), 33175/* harmony export */ curveBasis: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveBasis), 33176/* harmony export */ curveBasisClosed: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveBasisClosed), 33177/* harmony export */ curveBasisOpen: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveBasisOpen), 33178/* harmony export */ curveBumpX: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveBumpX), 33179/* harmony export */ curveBumpY: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveBumpY), 33180/* harmony export */ curveBundle: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveBundle), 33181/* harmony export */ curveCardinal: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveCardinal), 33182/* harmony export */ curveCardinalClosed: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveCardinalClosed), 33183/* harmony export */ curveCardinalOpen: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveCardinalOpen), 33184/* harmony export */ curveCatmullRom: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveCatmullRom), 33185/* harmony export */ curveCatmullRomClosed: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveCatmullRomClosed), 33186/* harmony export */ curveCatmullRomOpen: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveCatmullRomOpen), 33187/* harmony export */ curveLinear: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveLinear), 33188/* harmony export */ curveLinearClosed: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveLinearClosed), 33189/* harmony export */ curveMonotoneX: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveMonotoneX), 33190/* harmony export */ curveMonotoneY: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveMonotoneY), 33191/* harmony export */ curveNatural: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveNatural), 33192/* harmony export */ curveStep: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveStep), 33193/* harmony export */ curveStepAfter: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveStepAfter), 33194/* harmony export */ curveStepBefore: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.curveStepBefore), 33195/* harmony export */ descending: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.descending), 33196/* harmony export */ deviation: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.deviation), 33197/* harmony export */ difference: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.difference), 33198/* harmony export */ disjoint: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.disjoint), 33199/* harmony export */ dispatch: () => (/* reexport safe */ d3_dispatch__WEBPACK_IMPORTED_MODULE_7__.dispatch), 33200/* harmony export */ drag: () => (/* reexport safe */ d3_drag__WEBPACK_IMPORTED_MODULE_8__.drag), 33201/* harmony export */ dragDisable: () => (/* reexport safe */ d3_drag__WEBPACK_IMPORTED_MODULE_8__.dragDisable), 33202/* harmony export */ dragEnable: () => (/* reexport safe */ d3_drag__WEBPACK_IMPORTED_MODULE_8__.dragEnable), 33203/* harmony export */ dsv: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.dsv), 33204/* harmony export */ dsvFormat: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.dsvFormat), 33205/* harmony export */ easeBack: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeBack), 33206/* harmony export */ easeBackIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeBackIn), 33207/* harmony export */ easeBackInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeBackInOut), 33208/* harmony export */ easeBackOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeBackOut), 33209/* harmony export */ easeBounce: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeBounce), 33210/* harmony export */ easeBounceIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeBounceIn), 33211/* harmony export */ easeBounceInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeBounceInOut), 33212/* harmony export */ easeBounceOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeBounceOut), 33213/* harmony export */ easeCircle: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeCircle), 33214/* harmony export */ easeCircleIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeCircleIn), 33215/* harmony export */ easeCircleInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeCircleInOut), 33216/* harmony export */ easeCircleOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeCircleOut), 33217/* harmony export */ easeCubic: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeCubic), 33218/* harmony export */ easeCubicIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeCubicIn), 33219/* harmony export */ easeCubicInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeCubicInOut), 33220/* harmony export */ easeCubicOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeCubicOut), 33221/* harmony export */ easeElastic: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeElastic), 33222/* harmony export */ easeElasticIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeElasticIn), 33223/* harmony export */ easeElasticInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeElasticInOut), 33224/* harmony export */ easeElasticOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeElasticOut), 33225/* harmony export */ easeExp: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeExp), 33226/* harmony export */ easeExpIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeExpIn), 33227/* harmony export */ easeExpInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeExpInOut), 33228/* harmony export */ easeExpOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeExpOut), 33229/* harmony export */ easeLinear: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeLinear), 33230/* harmony export */ easePoly: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easePoly), 33231/* harmony export */ easePolyIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easePolyIn), 33232/* harmony export */ easePolyInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easePolyInOut), 33233/* harmony export */ easePolyOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easePolyOut), 33234/* harmony export */ easeQuad: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeQuad), 33235/* harmony export */ easeQuadIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeQuadIn), 33236/* harmony export */ easeQuadInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeQuadInOut), 33237/* harmony export */ easeQuadOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeQuadOut), 33238/* harmony export */ easeSin: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeSin), 33239/* harmony export */ easeSinIn: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeSinIn), 33240/* harmony export */ easeSinInOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeSinInOut), 33241/* harmony export */ easeSinOut: () => (/* reexport safe */ d3_ease__WEBPACK_IMPORTED_MODULE_10__.easeSinOut), 33242/* harmony export */ every: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.every), 33243/* harmony export */ extent: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.extent), 33244/* harmony export */ fcumsum: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.fcumsum), 33245/* harmony export */ filter: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.filter), 33246/* harmony export */ flatGroup: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.flatGroup), 33247/* harmony export */ flatRollup: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.flatRollup), 33248/* harmony export */ forceCenter: () => (/* reexport safe */ d3_force__WEBPACK_IMPORTED_MODULE_12__.forceCenter), 33249/* harmony export */ forceCollide: () => (/* reexport safe */ d3_force__WEBPACK_IMPORTED_MODULE_12__.forceCollide), 33250/* harmony export */ forceLink: () => (/* reexport safe */ d3_force__WEBPACK_IMPORTED_MODULE_12__.forceLink), 33251/* harmony export */ forceManyBody: () => (/* reexport safe */ d3_force__WEBPACK_IMPORTED_MODULE_12__.forceManyBody), 33252/* harmony export */ forceRadial: () => (/* reexport safe */ d3_force__WEBPACK_IMPORTED_MODULE_12__.forceRadial), 33253/* harmony export */ forceSimulation: () => (/* reexport safe */ d3_force__WEBPACK_IMPORTED_MODULE_12__.forceSimulation), 33254/* harmony export */ forceX: () => (/* reexport safe */ d3_force__WEBPACK_IMPORTED_MODULE_12__.forceX), 33255/* harmony export */ forceY: () => (/* reexport safe */ d3_force__WEBPACK_IMPORTED_MODULE_12__.forceY), 33256/* harmony export */ format: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.format), 33257/* harmony export */ formatDefaultLocale: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.formatDefaultLocale), 33258/* harmony export */ formatLocale: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.formatLocale), 33259/* harmony export */ formatPrefix: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.formatPrefix), 33260/* harmony export */ formatSpecifier: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.formatSpecifier), 33261/* harmony export */ fsum: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.fsum), 33262/* harmony export */ geoAlbers: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoAlbers), 33263/* harmony export */ geoAlbersUsa: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoAlbersUsa), 33264/* harmony export */ geoArea: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoArea), 33265/* harmony export */ geoAzimuthalEqualArea: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoAzimuthalEqualArea), 33266/* harmony export */ geoAzimuthalEqualAreaRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoAzimuthalEqualAreaRaw), 33267/* harmony export */ geoAzimuthalEquidistant: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoAzimuthalEquidistant), 33268/* harmony export */ geoAzimuthalEquidistantRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoAzimuthalEquidistantRaw), 33269/* harmony export */ geoBounds: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoBounds), 33270/* harmony export */ geoCentroid: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoCentroid), 33271/* harmony export */ geoCircle: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoCircle), 33272/* harmony export */ geoClipAntimeridian: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoClipAntimeridian), 33273/* harmony export */ geoClipCircle: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoClipCircle), 33274/* harmony export */ geoClipExtent: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoClipExtent), 33275/* harmony export */ geoClipRectangle: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoClipRectangle), 33276/* harmony export */ geoConicConformal: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoConicConformal), 33277/* harmony export */ geoConicConformalRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoConicConformalRaw), 33278/* harmony export */ geoConicEqualArea: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoConicEqualArea), 33279/* harmony export */ geoConicEqualAreaRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoConicEqualAreaRaw), 33280/* harmony export */ geoConicEquidistant: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoConicEquidistant), 33281/* harmony export */ geoConicEquidistantRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoConicEquidistantRaw), 33282/* harmony export */ geoContains: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoContains), 33283/* harmony export */ geoDistance: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoDistance), 33284/* harmony export */ geoEqualEarth: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoEqualEarth), 33285/* harmony export */ geoEqualEarthRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoEqualEarthRaw), 33286/* harmony export */ geoEquirectangular: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoEquirectangular), 33287/* harmony export */ geoEquirectangularRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoEquirectangularRaw), 33288/* harmony export */ geoGnomonic: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoGnomonic), 33289/* harmony export */ geoGnomonicRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoGnomonicRaw), 33290/* harmony export */ geoGraticule: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoGraticule), 33291/* harmony export */ geoGraticule10: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoGraticule10), 33292/* harmony export */ geoIdentity: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoIdentity), 33293/* harmony export */ geoInterpolate: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoInterpolate), 33294/* harmony export */ geoLength: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoLength), 33295/* harmony export */ geoMercator: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoMercator), 33296/* harmony export */ geoMercatorRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoMercatorRaw), 33297/* harmony export */ geoNaturalEarth1: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoNaturalEarth1), 33298/* harmony export */ geoNaturalEarth1Raw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoNaturalEarth1Raw), 33299/* harmony export */ geoOrthographic: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoOrthographic), 33300/* harmony export */ geoOrthographicRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoOrthographicRaw), 33301/* harmony export */ geoPath: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoPath), 33302/* harmony export */ geoProjection: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoProjection), 33303/* harmony export */ geoProjectionMutator: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoProjectionMutator), 33304/* harmony export */ geoRotation: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoRotation), 33305/* harmony export */ geoStereographic: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoStereographic), 33306/* harmony export */ geoStereographicRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoStereographicRaw), 33307/* harmony export */ geoStream: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoStream), 33308/* harmony export */ geoTransform: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoTransform), 33309/* harmony export */ geoTransverseMercator: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoTransverseMercator), 33310/* harmony export */ geoTransverseMercatorRaw: () => (/* reexport safe */ d3_geo__WEBPACK_IMPORTED_MODULE_14__.geoTransverseMercatorRaw), 33311/* harmony export */ gray: () => (/* reexport safe */ d3_color__WEBPACK_IMPORTED_MODULE_4__.gray), 33312/* harmony export */ greatest: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.greatest), 33313/* harmony export */ greatestIndex: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.greatestIndex), 33314/* harmony export */ group: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.group), 33315/* harmony export */ groupSort: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.groupSort), 33316/* harmony export */ groups: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.groups), 33317/* harmony export */ hcl: () => (/* reexport safe */ d3_color__WEBPACK_IMPORTED_MODULE_4__.hcl), 33318/* harmony export */ hierarchy: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.hierarchy), 33319/* harmony export */ histogram: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.histogram), 33320/* harmony export */ hsl: () => (/* reexport safe */ d3_color__WEBPACK_IMPORTED_MODULE_4__.hsl), 33321/* harmony export */ html: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.html), 33322/* harmony export */ image: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.image), 33323/* harmony export */ index: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.index), 33324/* harmony export */ indexes: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.indexes), 33325/* harmony export */ interpolate: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolate), 33326/* harmony export */ interpolateArray: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateArray), 33327/* harmony export */ interpolateBasis: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateBasis), 33328/* harmony export */ interpolateBasisClosed: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateBasisClosed), 33329/* harmony export */ interpolateBlues: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateBlues), 33330/* harmony export */ interpolateBrBG: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateBrBG), 33331/* harmony export */ interpolateBuGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateBuGn), 33332/* harmony export */ interpolateBuPu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateBuPu), 33333/* harmony export */ interpolateCividis: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateCividis), 33334/* harmony export */ interpolateCool: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateCool), 33335/* harmony export */ interpolateCubehelix: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateCubehelix), 33336/* harmony export */ interpolateCubehelixDefault: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateCubehelixDefault), 33337/* harmony export */ interpolateCubehelixLong: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateCubehelixLong), 33338/* harmony export */ interpolateDate: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateDate), 33339/* harmony export */ interpolateDiscrete: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateDiscrete), 33340/* harmony export */ interpolateGnBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateGnBu), 33341/* harmony export */ interpolateGreens: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateGreens), 33342/* harmony export */ interpolateGreys: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateGreys), 33343/* harmony export */ interpolateHcl: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateHcl), 33344/* harmony export */ interpolateHclLong: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateHclLong), 33345/* harmony export */ interpolateHsl: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateHsl), 33346/* harmony export */ interpolateHslLong: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateHslLong), 33347/* harmony export */ interpolateHue: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateHue), 33348/* harmony export */ interpolateInferno: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateInferno), 33349/* harmony export */ interpolateLab: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateLab), 33350/* harmony export */ interpolateMagma: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateMagma), 33351/* harmony export */ interpolateNumber: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateNumber), 33352/* harmony export */ interpolateNumberArray: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateNumberArray), 33353/* harmony export */ interpolateObject: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateObject), 33354/* harmony export */ interpolateOrRd: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateOrRd), 33355/* harmony export */ interpolateOranges: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateOranges), 33356/* harmony export */ interpolatePRGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolatePRGn), 33357/* harmony export */ interpolatePiYG: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolatePiYG), 33358/* harmony export */ interpolatePlasma: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolatePlasma), 33359/* harmony export */ interpolatePuBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolatePuBu), 33360/* harmony export */ interpolatePuBuGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolatePuBuGn), 33361/* harmony export */ interpolatePuOr: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolatePuOr), 33362/* harmony export */ interpolatePuRd: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolatePuRd), 33363/* harmony export */ interpolatePurples: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolatePurples), 33364/* harmony export */ interpolateRainbow: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateRainbow), 33365/* harmony export */ interpolateRdBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateRdBu), 33366/* harmony export */ interpolateRdGy: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateRdGy), 33367/* harmony export */ interpolateRdPu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateRdPu), 33368/* harmony export */ interpolateRdYlBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateRdYlBu), 33369/* harmony export */ interpolateRdYlGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateRdYlGn), 33370/* harmony export */ interpolateReds: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateReds), 33371/* harmony export */ interpolateRgb: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateRgb), 33372/* harmony export */ interpolateRgbBasis: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateRgbBasis), 33373/* harmony export */ interpolateRgbBasisClosed: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateRgbBasisClosed), 33374/* harmony export */ interpolateRound: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateRound), 33375/* harmony export */ interpolateSinebow: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateSinebow), 33376/* harmony export */ interpolateSpectral: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateSpectral), 33377/* harmony export */ interpolateString: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateString), 33378/* harmony export */ interpolateTransformCss: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateTransformCss), 33379/* harmony export */ interpolateTransformSvg: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateTransformSvg), 33380/* harmony export */ interpolateTurbo: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateTurbo), 33381/* harmony export */ interpolateViridis: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateViridis), 33382/* harmony export */ interpolateWarm: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateWarm), 33383/* harmony export */ interpolateYlGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateYlGn), 33384/* harmony export */ interpolateYlGnBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateYlGnBu), 33385/* harmony export */ interpolateYlOrBr: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateYlOrBr), 33386/* harmony export */ interpolateYlOrRd: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.interpolateYlOrRd), 33387/* harmony export */ interpolateZoom: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.interpolateZoom), 33388/* harmony export */ interrupt: () => (/* reexport safe */ d3_transition__WEBPACK_IMPORTED_MODULE_28__.interrupt), 33389/* harmony export */ intersection: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.intersection), 33390/* harmony export */ interval: () => (/* reexport safe */ d3_timer__WEBPACK_IMPORTED_MODULE_27__.interval), 33391/* harmony export */ isoFormat: () => (/* reexport safe */ d3_time_format__WEBPACK_IMPORTED_MODULE_26__.isoFormat), 33392/* harmony export */ isoParse: () => (/* reexport safe */ d3_time_format__WEBPACK_IMPORTED_MODULE_26__.isoParse), 33393/* harmony export */ json: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.json), 33394/* harmony export */ lab: () => (/* reexport safe */ d3_color__WEBPACK_IMPORTED_MODULE_4__.lab), 33395/* harmony export */ lch: () => (/* reexport safe */ d3_color__WEBPACK_IMPORTED_MODULE_4__.lch), 33396/* harmony export */ least: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.least), 33397/* harmony export */ leastIndex: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.leastIndex), 33398/* harmony export */ line: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.line), 33399/* harmony export */ lineRadial: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.lineRadial), 33400/* harmony export */ link: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.link), 33401/* harmony export */ linkHorizontal: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.linkHorizontal), 33402/* harmony export */ linkRadial: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.linkRadial), 33403/* harmony export */ linkVertical: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.linkVertical), 33404/* harmony export */ local: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.local), 33405/* harmony export */ map: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.map), 33406/* harmony export */ matcher: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.matcher), 33407/* harmony export */ max: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.max), 33408/* harmony export */ maxIndex: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.maxIndex), 33409/* harmony export */ mean: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.mean), 33410/* harmony export */ median: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.median), 33411/* harmony export */ medianIndex: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.medianIndex), 33412/* harmony export */ merge: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.merge), 33413/* harmony export */ min: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.min), 33414/* harmony export */ minIndex: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.minIndex), 33415/* harmony export */ mode: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.mode), 33416/* harmony export */ namespace: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.namespace), 33417/* harmony export */ namespaces: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.namespaces), 33418/* harmony export */ nice: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.nice), 33419/* harmony export */ now: () => (/* reexport safe */ d3_timer__WEBPACK_IMPORTED_MODULE_27__.now), 33420/* harmony export */ pack: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.pack), 33421/* harmony export */ packEnclose: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.packEnclose), 33422/* harmony export */ packSiblings: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.packSiblings), 33423/* harmony export */ pairs: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.pairs), 33424/* harmony export */ partition: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.partition), 33425/* harmony export */ path: () => (/* reexport safe */ d3_path__WEBPACK_IMPORTED_MODULE_17__.path), 33426/* harmony export */ pathRound: () => (/* reexport safe */ d3_path__WEBPACK_IMPORTED_MODULE_17__.pathRound), 33427/* harmony export */ permute: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.permute), 33428/* harmony export */ pie: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.pie), 33429/* harmony export */ piecewise: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.piecewise), 33430/* harmony export */ pointRadial: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.pointRadial), 33431/* harmony export */ pointer: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.pointer), 33432/* harmony export */ pointers: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.pointers), 33433/* harmony export */ polygonArea: () => (/* reexport safe */ d3_polygon__WEBPACK_IMPORTED_MODULE_18__.polygonArea), 33434/* harmony export */ polygonCentroid: () => (/* reexport safe */ d3_polygon__WEBPACK_IMPORTED_MODULE_18__.polygonCentroid), 33435/* harmony export */ polygonContains: () => (/* reexport safe */ d3_polygon__WEBPACK_IMPORTED_MODULE_18__.polygonContains), 33436/* harmony export */ polygonHull: () => (/* reexport safe */ d3_polygon__WEBPACK_IMPORTED_MODULE_18__.polygonHull), 33437/* harmony export */ polygonLength: () => (/* reexport safe */ d3_polygon__WEBPACK_IMPORTED_MODULE_18__.polygonLength), 33438/* harmony export */ precisionFixed: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.precisionFixed), 33439/* harmony export */ precisionPrefix: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.precisionPrefix), 33440/* harmony export */ precisionRound: () => (/* reexport safe */ d3_format__WEBPACK_IMPORTED_MODULE_13__.precisionRound), 33441/* harmony export */ quadtree: () => (/* reexport safe */ d3_quadtree__WEBPACK_IMPORTED_MODULE_19__.quadtree), 33442/* harmony export */ quantile: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.quantile), 33443/* harmony export */ quantileIndex: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.quantileIndex), 33444/* harmony export */ quantileSorted: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.quantileSorted), 33445/* harmony export */ quantize: () => (/* reexport safe */ d3_interpolate__WEBPACK_IMPORTED_MODULE_16__.quantize), 33446/* harmony export */ quickselect: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.quickselect), 33447/* harmony export */ radialArea: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.radialArea), 33448/* harmony export */ radialLine: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.radialLine), 33449/* harmony export */ randomBates: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomBates), 33450/* harmony export */ randomBernoulli: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomBernoulli), 33451/* harmony export */ randomBeta: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomBeta), 33452/* harmony export */ randomBinomial: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomBinomial), 33453/* harmony export */ randomCauchy: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomCauchy), 33454/* harmony export */ randomExponential: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomExponential), 33455/* harmony export */ randomGamma: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomGamma), 33456/* harmony export */ randomGeometric: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomGeometric), 33457/* harmony export */ randomInt: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomInt), 33458/* harmony export */ randomIrwinHall: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomIrwinHall), 33459/* harmony export */ randomLcg: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomLcg), 33460/* harmony export */ randomLogNormal: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomLogNormal), 33461/* harmony export */ randomLogistic: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomLogistic), 33462/* harmony export */ randomNormal: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomNormal), 33463/* harmony export */ randomPareto: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomPareto), 33464/* harmony export */ randomPoisson: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomPoisson), 33465/* harmony export */ randomUniform: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomUniform), 33466/* harmony export */ randomWeibull: () => (/* reexport safe */ d3_random__WEBPACK_IMPORTED_MODULE_20__.randomWeibull), 33467/* harmony export */ range: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.range), 33468/* harmony export */ rank: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.rank), 33469/* harmony export */ reduce: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.reduce), 33470/* harmony export */ reverse: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.reverse), 33471/* harmony export */ rgb: () => (/* reexport safe */ d3_color__WEBPACK_IMPORTED_MODULE_4__.rgb), 33472/* harmony export */ ribbon: () => (/* reexport safe */ d3_chord__WEBPACK_IMPORTED_MODULE_3__.ribbon), 33473/* harmony export */ ribbonArrow: () => (/* reexport safe */ d3_chord__WEBPACK_IMPORTED_MODULE_3__.ribbonArrow), 33474/* harmony export */ rollup: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.rollup), 33475/* harmony export */ rollups: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.rollups), 33476/* harmony export */ scaleBand: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleBand), 33477/* harmony export */ scaleDiverging: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleDiverging), 33478/* harmony export */ scaleDivergingLog: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleDivergingLog), 33479/* harmony export */ scaleDivergingPow: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleDivergingPow), 33480/* harmony export */ scaleDivergingSqrt: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleDivergingSqrt), 33481/* harmony export */ scaleDivergingSymlog: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleDivergingSymlog), 33482/* harmony export */ scaleIdentity: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleIdentity), 33483/* harmony export */ scaleImplicit: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleImplicit), 33484/* harmony export */ scaleLinear: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleLinear), 33485/* harmony export */ scaleLog: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleLog), 33486/* harmony export */ scaleOrdinal: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleOrdinal), 33487/* harmony export */ scalePoint: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scalePoint), 33488/* harmony export */ scalePow: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scalePow), 33489/* harmony export */ scaleQuantile: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleQuantile), 33490/* harmony export */ scaleQuantize: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleQuantize), 33491/* harmony export */ scaleRadial: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleRadial), 33492/* harmony export */ scaleSequential: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleSequential), 33493/* harmony export */ scaleSequentialLog: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleSequentialLog), 33494/* harmony export */ scaleSequentialPow: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleSequentialPow), 33495/* harmony export */ scaleSequentialQuantile: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleSequentialQuantile), 33496/* harmony export */ scaleSequentialSqrt: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleSequentialSqrt), 33497/* harmony export */ scaleSequentialSymlog: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleSequentialSymlog), 33498/* harmony export */ scaleSqrt: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleSqrt), 33499/* harmony export */ scaleSymlog: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleSymlog), 33500/* harmony export */ scaleThreshold: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleThreshold), 33501/* harmony export */ scaleTime: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleTime), 33502/* harmony export */ scaleUtc: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.scaleUtc), 33503/* harmony export */ scan: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.scan), 33504/* harmony export */ schemeAccent: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeAccent), 33505/* harmony export */ schemeBlues: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeBlues), 33506/* harmony export */ schemeBrBG: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeBrBG), 33507/* harmony export */ schemeBuGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeBuGn), 33508/* harmony export */ schemeBuPu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeBuPu), 33509/* harmony export */ schemeCategory10: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeCategory10), 33510/* harmony export */ schemeDark2: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeDark2), 33511/* harmony export */ schemeGnBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeGnBu), 33512/* harmony export */ schemeGreens: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeGreens), 33513/* harmony export */ schemeGreys: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeGreys), 33514/* harmony export */ schemeObservable10: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeObservable10), 33515/* harmony export */ schemeOrRd: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeOrRd), 33516/* harmony export */ schemeOranges: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeOranges), 33517/* harmony export */ schemePRGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePRGn), 33518/* harmony export */ schemePaired: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePaired), 33519/* harmony export */ schemePastel1: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePastel1), 33520/* harmony export */ schemePastel2: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePastel2), 33521/* harmony export */ schemePiYG: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePiYG), 33522/* harmony export */ schemePuBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePuBu), 33523/* harmony export */ schemePuBuGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePuBuGn), 33524/* harmony export */ schemePuOr: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePuOr), 33525/* harmony export */ schemePuRd: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePuRd), 33526/* harmony export */ schemePurples: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemePurples), 33527/* harmony export */ schemeRdBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeRdBu), 33528/* harmony export */ schemeRdGy: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeRdGy), 33529/* harmony export */ schemeRdPu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeRdPu), 33530/* harmony export */ schemeRdYlBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeRdYlBu), 33531/* harmony export */ schemeRdYlGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeRdYlGn), 33532/* harmony export */ schemeReds: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeReds), 33533/* harmony export */ schemeSet1: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeSet1), 33534/* harmony export */ schemeSet2: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeSet2), 33535/* harmony export */ schemeSet3: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeSet3), 33536/* harmony export */ schemeSpectral: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeSpectral), 33537/* harmony export */ schemeTableau10: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeTableau10), 33538/* harmony export */ schemeYlGn: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeYlGn), 33539/* harmony export */ schemeYlGnBu: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeYlGnBu), 33540/* harmony export */ schemeYlOrBr: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeYlOrBr), 33541/* harmony export */ schemeYlOrRd: () => (/* reexport safe */ d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__.schemeYlOrRd), 33542/* harmony export */ select: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.select), 33543/* harmony export */ selectAll: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.selectAll), 33544/* harmony export */ selection: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.selection), 33545/* harmony export */ selector: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.selector), 33546/* harmony export */ selectorAll: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.selectorAll), 33547/* harmony export */ shuffle: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.shuffle), 33548/* harmony export */ shuffler: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.shuffler), 33549/* harmony export */ some: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.some), 33550/* harmony export */ sort: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.sort), 33551/* harmony export */ stack: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stack), 33552/* harmony export */ stackOffsetDiverging: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOffsetDiverging), 33553/* harmony export */ stackOffsetExpand: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOffsetExpand), 33554/* harmony export */ stackOffsetNone: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOffsetNone), 33555/* harmony export */ stackOffsetSilhouette: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOffsetSilhouette), 33556/* harmony export */ stackOffsetWiggle: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOffsetWiggle), 33557/* harmony export */ stackOrderAppearance: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOrderAppearance), 33558/* harmony export */ stackOrderAscending: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOrderAscending), 33559/* harmony export */ stackOrderDescending: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOrderDescending), 33560/* harmony export */ stackOrderInsideOut: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOrderInsideOut), 33561/* harmony export */ stackOrderNone: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOrderNone), 33562/* harmony export */ stackOrderReverse: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.stackOrderReverse), 33563/* harmony export */ stratify: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.stratify), 33564/* harmony export */ style: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.style), 33565/* harmony export */ subset: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.subset), 33566/* harmony export */ sum: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.sum), 33567/* harmony export */ superset: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.superset), 33568/* harmony export */ svg: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.svg), 33569/* harmony export */ symbol: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbol), 33570/* harmony export */ symbolAsterisk: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolAsterisk), 33571/* harmony export */ symbolCircle: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolCircle), 33572/* harmony export */ symbolCross: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolCross), 33573/* harmony export */ symbolDiamond: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolDiamond), 33574/* harmony export */ symbolDiamond2: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolDiamond2), 33575/* harmony export */ symbolPlus: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolPlus), 33576/* harmony export */ symbolSquare: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolSquare), 33577/* harmony export */ symbolSquare2: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolSquare2), 33578/* harmony export */ symbolStar: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolStar), 33579/* harmony export */ symbolTimes: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolTimes), 33580/* harmony export */ symbolTriangle: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolTriangle), 33581/* harmony export */ symbolTriangle2: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolTriangle2), 33582/* harmony export */ symbolWye: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolWye), 33583/* harmony export */ symbolX: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolX), 33584/* harmony export */ symbols: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbols), 33585/* harmony export */ symbolsFill: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolsFill), 33586/* harmony export */ symbolsStroke: () => (/* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_24__.symbolsStroke), 33587/* harmony export */ text: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.text), 33588/* harmony export */ thresholdFreedmanDiaconis: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.thresholdFreedmanDiaconis), 33589/* harmony export */ thresholdScott: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.thresholdScott), 33590/* harmony export */ thresholdSturges: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.thresholdSturges), 33591/* harmony export */ tickFormat: () => (/* reexport safe */ d3_scale__WEBPACK_IMPORTED_MODULE_21__.tickFormat), 33592/* harmony export */ tickIncrement: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.tickIncrement), 33593/* harmony export */ tickStep: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.tickStep), 33594/* harmony export */ ticks: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.ticks), 33595/* harmony export */ timeDay: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeDay), 33596/* harmony export */ timeDays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeDays), 33597/* harmony export */ timeFormat: () => (/* reexport safe */ d3_time_format__WEBPACK_IMPORTED_MODULE_26__.timeFormat), 33598/* harmony export */ timeFormatDefaultLocale: () => (/* reexport safe */ d3_time_format__WEBPACK_IMPORTED_MODULE_26__.timeFormatDefaultLocale), 33599/* harmony export */ timeFormatLocale: () => (/* reexport safe */ d3_time_format__WEBPACK_IMPORTED_MODULE_26__.timeFormatLocale), 33600/* harmony export */ timeFriday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeFriday), 33601/* harmony export */ timeFridays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeFridays), 33602/* harmony export */ timeHour: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeHour), 33603/* harmony export */ timeHours: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeHours), 33604/* harmony export */ timeInterval: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeInterval), 33605/* harmony export */ timeMillisecond: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeMillisecond), 33606/* harmony export */ timeMilliseconds: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeMilliseconds), 33607/* harmony export */ timeMinute: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeMinute), 33608/* harmony export */ timeMinutes: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeMinutes), 33609/* harmony export */ timeMonday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeMonday), 33610/* harmony export */ timeMondays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeMondays), 33611/* harmony export */ timeMonth: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeMonth), 33612/* harmony export */ timeMonths: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeMonths), 33613/* harmony export */ timeParse: () => (/* reexport safe */ d3_time_format__WEBPACK_IMPORTED_MODULE_26__.timeParse), 33614/* harmony export */ timeSaturday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeSaturday), 33615/* harmony export */ timeSaturdays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeSaturdays), 33616/* harmony export */ timeSecond: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeSecond), 33617/* harmony export */ timeSeconds: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeSeconds), 33618/* harmony export */ timeSunday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeSunday), 33619/* harmony export */ timeSundays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeSundays), 33620/* harmony export */ timeThursday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeThursday), 33621/* harmony export */ timeThursdays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeThursdays), 33622/* harmony export */ timeTickInterval: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeTickInterval), 33623/* harmony export */ timeTicks: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeTicks), 33624/* harmony export */ timeTuesday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeTuesday), 33625/* harmony export */ timeTuesdays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeTuesdays), 33626/* harmony export */ timeWednesday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeWednesday), 33627/* harmony export */ timeWednesdays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeWednesdays), 33628/* harmony export */ timeWeek: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeWeek), 33629/* harmony export */ timeWeeks: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeWeeks), 33630/* harmony export */ timeYear: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeYear), 33631/* harmony export */ timeYears: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.timeYears), 33632/* harmony export */ timeout: () => (/* reexport safe */ d3_timer__WEBPACK_IMPORTED_MODULE_27__.timeout), 33633/* harmony export */ timer: () => (/* reexport safe */ d3_timer__WEBPACK_IMPORTED_MODULE_27__.timer), 33634/* harmony export */ timerFlush: () => (/* reexport safe */ d3_timer__WEBPACK_IMPORTED_MODULE_27__.timerFlush), 33635/* harmony export */ transition: () => (/* reexport safe */ d3_transition__WEBPACK_IMPORTED_MODULE_28__.transition), 33636/* harmony export */ transpose: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.transpose), 33637/* harmony export */ tree: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.tree), 33638/* harmony export */ treemap: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.treemap), 33639/* harmony export */ treemapBinary: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.treemapBinary), 33640/* harmony export */ treemapDice: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.treemapDice), 33641/* harmony export */ treemapResquarify: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.treemapResquarify), 33642/* harmony export */ treemapSlice: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.treemapSlice), 33643/* harmony export */ treemapSliceDice: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.treemapSliceDice), 33644/* harmony export */ treemapSquarify: () => (/* reexport safe */ d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__.treemapSquarify), 33645/* harmony export */ tsv: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.tsv), 33646/* harmony export */ tsvFormat: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.tsvFormat), 33647/* harmony export */ tsvFormatBody: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.tsvFormatBody), 33648/* harmony export */ tsvFormatRow: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.tsvFormatRow), 33649/* harmony export */ tsvFormatRows: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.tsvFormatRows), 33650/* harmony export */ tsvFormatValue: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.tsvFormatValue), 33651/* harmony export */ tsvParse: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.tsvParse), 33652/* harmony export */ tsvParseRows: () => (/* reexport safe */ d3_dsv__WEBPACK_IMPORTED_MODULE_9__.tsvParseRows), 33653/* harmony export */ union: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.union), 33654/* harmony export */ unixDay: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.unixDay), 33655/* harmony export */ unixDays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.unixDays), 33656/* harmony export */ utcDay: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcDay), 33657/* harmony export */ utcDays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcDays), 33658/* harmony export */ utcFormat: () => (/* reexport safe */ d3_time_format__WEBPACK_IMPORTED_MODULE_26__.utcFormat), 33659/* harmony export */ utcFriday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcFriday), 33660/* harmony export */ utcFridays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcFridays), 33661/* harmony export */ utcHour: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcHour), 33662/* harmony export */ utcHours: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcHours), 33663/* harmony export */ utcMillisecond: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcMillisecond), 33664/* harmony export */ utcMilliseconds: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcMilliseconds), 33665/* harmony export */ utcMinute: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcMinute), 33666/* harmony export */ utcMinutes: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcMinutes), 33667/* harmony export */ utcMonday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcMonday), 33668/* harmony export */ utcMondays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcMondays), 33669/* harmony export */ utcMonth: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcMonth), 33670/* harmony export */ utcMonths: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcMonths), 33671/* harmony export */ utcParse: () => (/* reexport safe */ d3_time_format__WEBPACK_IMPORTED_MODULE_26__.utcParse), 33672/* harmony export */ utcSaturday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcSaturday), 33673/* harmony export */ utcSaturdays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcSaturdays), 33674/* harmony export */ utcSecond: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcSecond), 33675/* harmony export */ utcSeconds: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcSeconds), 33676/* harmony export */ utcSunday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcSunday), 33677/* harmony export */ utcSundays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcSundays), 33678/* harmony export */ utcThursday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcThursday), 33679/* harmony export */ utcThursdays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcThursdays), 33680/* harmony export */ utcTickInterval: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcTickInterval), 33681/* harmony export */ utcTicks: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcTicks), 33682/* harmony export */ utcTuesday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcTuesday), 33683/* harmony export */ utcTuesdays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcTuesdays), 33684/* harmony export */ utcWednesday: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcWednesday), 33685/* harmony export */ utcWednesdays: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcWednesdays), 33686/* harmony export */ utcWeek: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcWeek), 33687/* harmony export */ utcWeeks: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcWeeks), 33688/* harmony export */ utcYear: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcYear), 33689/* harmony export */ utcYears: () => (/* reexport safe */ d3_time__WEBPACK_IMPORTED_MODULE_25__.utcYears), 33690/* harmony export */ variance: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.variance), 33691/* harmony export */ window: () => (/* reexport safe */ d3_selection__WEBPACK_IMPORTED_MODULE_23__.window), 33692/* harmony export */ xml: () => (/* reexport safe */ d3_fetch__WEBPACK_IMPORTED_MODULE_11__.xml), 33693/* harmony export */ zip: () => (/* reexport safe */ d3_array__WEBPACK_IMPORTED_MODULE_0__.zip), 33694/* harmony export */ zoom: () => (/* reexport safe */ d3_zoom__WEBPACK_IMPORTED_MODULE_29__.zoom), 33695/* harmony export */ zoomIdentity: () => (/* reexport safe */ d3_zoom__WEBPACK_IMPORTED_MODULE_29__.zoomIdentity), 33696/* harmony export */ zoomTransform: () => (/* reexport safe */ d3_zoom__WEBPACK_IMPORTED_MODULE_29__.zoomTransform) 33697/* harmony export */ }); 33698/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "./node_modules/d3-array/src/index.js"); 33699/* harmony import */ var d3_axis__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-axis */ "./node_modules/d3-axis/src/index.js"); 33700/* harmony import */ var d3_brush__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-brush */ "./node_modules/d3-brush/src/index.js"); 33701/* harmony import */ var d3_chord__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! d3-chord */ "./node_modules/d3-chord/src/index.js"); 33702/* harmony import */ var d3_color__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! d3-color */ "./node_modules/d3-color/src/index.js"); 33703/* harmony import */ var d3_contour__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! d3-contour */ "./node_modules/d3-contour/src/index.js"); 33704/* harmony import */ var d3_delaunay__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! d3-delaunay */ "./node_modules/d3-delaunay/src/index.js"); 33705/* harmony import */ var d3_dispatch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! d3-dispatch */ "./node_modules/d3-dispatch/src/index.js"); 33706/* harmony import */ var d3_drag__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! d3-drag */ "./node_modules/d3-drag/src/index.js"); 33707/* harmony import */ var d3_dsv__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! d3-dsv */ "./node_modules/d3-dsv/src/index.js"); 33708/* harmony import */ var d3_ease__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! d3-ease */ "./node_modules/d3-ease/src/index.js"); 33709/* harmony import */ var d3_fetch__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! d3-fetch */ "./node_modules/d3-fetch/src/index.js"); 33710/* harmony import */ var d3_force__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! d3-force */ "./node_modules/d3-force/src/index.js"); 33711/* harmony import */ var d3_format__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! d3-format */ "./node_modules/d3-format/src/index.js"); 33712/* harmony import */ var d3_geo__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! d3-geo */ "./node_modules/d3-geo/src/index.js"); 33713/* harmony import */ var d3_hierarchy__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! d3-hierarchy */ "./node_modules/d3-hierarchy/src/index.js"); 33714/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! d3-interpolate */ "./node_modules/d3-interpolate/src/index.js"); 33715/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! d3-path */ "./node_modules/d3-path/src/index.js"); 33716/* harmony import */ var d3_polygon__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! d3-polygon */ "./node_modules/d3-polygon/src/index.js"); 33717/* harmony import */ var d3_quadtree__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! d3-quadtree */ "./node_modules/d3-quadtree/src/index.js"); 33718/* harmony import */ var d3_random__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! d3-random */ "./node_modules/d3-random/src/index.js"); 33719/* harmony import */ var d3_scale__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! d3-scale */ "./node_modules/d3-scale/src/index.js"); 33720/* harmony import */ var d3_scale_chromatic__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! d3-scale-chromatic */ "./node_modules/d3-scale-chromatic/src/index.js"); 33721/* harmony import */ var d3_selection__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! d3-selection */ "./node_modules/d3-selection/src/index.js"); 33722/* harmony import */ var d3_shape__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! d3-shape */ "./node_modules/d3-shape/src/index.js"); 33723/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! d3-time */ "./node_modules/d3-time/src/index.js"); 33724/* harmony import */ var d3_time_format__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! d3-time-format */ "./node_modules/d3-time-format/src/index.js"); 33725/* harmony import */ var d3_timer__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! d3-timer */ "./node_modules/d3-timer/src/index.js"); 33726/* harmony import */ var d3_transition__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! d3-transition */ "./node_modules/d3-transition/src/index.js"); 33727/* harmony import */ var d3_zoom__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! d3-zoom */ "./node_modules/d3-zoom/src/index.js"); 33728 33729 33730 33731 33732 33733 33734 33735 33736 33737 33738 33739 33740 33741 33742 33743 33744 33745 33746 33747 33748 33749 33750 33751 33752 33753 33754 33755 33756 33757 33758 33759 33760/***/ }), 33761
vendor: 16,425 bytes, lines 33762-34256
33762/***/ "./node_modules/delaunator/index.js": 33763/*!******************************************!*\ 33764 !*** ./node_modules/delaunator/index.js ***! 33765 \******************************************/ 33766/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 33767 33768__webpack_require__.r(__webpack_exports__); 33769/* harmony export */ __webpack_require__.d(__webpack_exports__, { 33770/* harmony export */ "default": () => (/* binding */ Delaunator) 33771/* harmony export */ }); 33772/* harmony import */ var robust_predicates__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! robust-predicates */ "./node_modules/robust-predicates/index.js"); 33773 33774const EPSILON = Math.pow(2, -52); 33775const EDGE_STACK = new Uint32Array(512); 33776 33777 33778 33779class Delaunator { 33780 33781 static from(points, getX = defaultGetX, getY = defaultGetY) { 33782 const n = points.length; 33783 const coords = new Float64Array(n * 2); 33784 33785 for (let i = 0; i < n; i++) { 33786 const p = points[i]; 33787 coords[2 * i] = getX(p); 33788 coords[2 * i + 1] = getY(p); 33789 } 33790 33791 return new Delaunator(coords); 33792 } 33793 33794 constructor(coords) { 33795 const n = coords.length >> 1; 33796 if (n > 0 && typeof coords[0] !== 'number') throw new Error('Expected coords to contain numbers.'); 33797 33798 this.coords = coords; 33799 33800 // arrays that will store the triangulation graph 33801 const maxTriangles = Math.max(2 * n - 5, 0); 33802 this._triangles = new Uint32Array(maxTriangles * 3); 33803 this._halfedges = new Int32Array(maxTriangles * 3); 33804 33805 // temporary arrays for tracking the edges of the advancing convex hull 33806 this._hashSize = Math.ceil(Math.sqrt(n)); 33807 this._hullPrev = new Uint32Array(n); // edge to prev edge 33808 this._hullNext = new Uint32Array(n); // edge to next edge 33809 this._hullTri = new Uint32Array(n); // edge to adjacent triangle 33810 this._hullHash = new Int32Array(this._hashSize); // angular edge hash 33811 33812 // temporary arrays for sorting points 33813 this._ids = new Uint32Array(n); 33814 this._dists = new Float64Array(n); 33815 33816 this.update(); 33817 } 33818 33819 update() { 33820 const {coords, _hullPrev: hullPrev, _hullNext: hullNext, _hullTri: hullTri, _hullHash: hullHash} = this; 33821 const n = coords.length >> 1; 33822 33823 // populate an array of point indices; calculate input data bbox 33824 let minX = Infinity; 33825 let minY = Infinity; 33826 let maxX = -Infinity; 33827 let maxY = -Infinity; 33828 33829 for (let i = 0; i < n; i++) { 33830 const x = coords[2 * i]; 33831 const y = coords[2 * i + 1]; 33832 if (x < minX) minX = x; 33833 if (y < minY) minY = y; 33834 if (x > maxX) maxX = x; 33835 if (y > maxY) maxY = y; 33836 this._ids[i] = i; 33837 } 33838 const cx = (minX + maxX) / 2; 33839 const cy = (minY + maxY) / 2; 33840 33841 let i0, i1, i2; 33842 33843 // pick a seed point close to the center 33844 for (let i = 0, minDist = Infinity; i < n; i++) { 33845 const d = dist(cx, cy, coords[2 * i], coords[2 * i + 1]); 33846 if (d < minDist) { 33847 i0 = i; 33848 minDist = d; 33849 } 33850 } 33851 const i0x = coords[2 * i0]; 33852 const i0y = coords[2 * i0 + 1]; 33853 33854 // find the point closest to the seed 33855 for (let i = 0, minDist = Infinity; i < n; i++) { 33856 if (i === i0) continue; 33857 const d = dist(i0x, i0y, coords[2 * i], coords[2 * i + 1]); 33858 if (d < minDist && d > 0) { 33859 i1 = i; 33860 minDist = d; 33861 } 33862 } 33863 let i1x = coords[2 * i1]; 33864 let i1y = coords[2 * i1 + 1]; 33865 33866 let minRadius = Infinity; 33867 33868 // find the third point which forms the smallest circumcircle with the first two 33869 for (let i = 0; i < n; i++) { 33870 if (i === i0 || i === i1) continue; 33871 const r = circumradius(i0x, i0y, i1x, i1y, coords[2 * i], coords[2 * i + 1]); 33872 if (r < minRadius) { 33873 i2 = i; 33874 minRadius = r; 33875 } 33876 } 33877 let i2x = coords[2 * i2]; 33878 let i2y = coords[2 * i2 + 1]; 33879 33880 if (minRadius === Infinity) { 33881 // order collinear points by dx (or dy if all x are identical) 33882 // and return the list as a hull 33883 for (let i = 0; i < n; i++) { 33884 this._dists[i] = (coords[2 * i] - coords[0]) || (coords[2 * i + 1] - coords[1]); 33885 } 33886 quicksort(this._ids, this._dists, 0, n - 1); 33887 const hull = new Uint32Array(n); 33888 let j = 0; 33889 for (let i = 0, d0 = -Infinity; i < n; i++) { 33890 const id = this._ids[i]; 33891 const d = this._dists[id]; 33892 if (d > d0) { 33893 hull[j++] = id; 33894 d0 = d; 33895 } 33896 } 33897 this.hull = hull.subarray(0, j); 33898 this.triangles = new Uint32Array(0); 33899 this.halfedges = new Uint32Array(0); 33900 return; 33901 } 33902 33903 // swap the order of the seed points for counter-clockwise orientation 33904 if ((0,robust_predicates__WEBPACK_IMPORTED_MODULE_0__.orient2d)(i0x, i0y, i1x, i1y, i2x, i2y) < 0) { 33905 const i = i1; 33906 const x = i1x; 33907 const y = i1y; 33908 i1 = i2; 33909 i1x = i2x; 33910 i1y = i2y; 33911 i2 = i; 33912 i2x = x; 33913 i2y = y; 33914 } 33915 33916 const center = circumcenter(i0x, i0y, i1x, i1y, i2x, i2y); 33917 this._cx = center.x; 33918 this._cy = center.y; 33919 33920 for (let i = 0; i < n; i++) { 33921 this._dists[i] = dist(coords[2 * i], coords[2 * i + 1], center.x, center.y); 33922 } 33923 33924 // sort the points by distance from the seed triangle circumcenter 33925 quicksort(this._ids, this._dists, 0, n - 1); 33926 33927 // set up the seed triangle as the starting hull 33928 this._hullStart = i0; 33929 let hullSize = 3; 33930 33931 hullNext[i0] = hullPrev[i2] = i1; 33932 hullNext[i1] = hullPrev[i0] = i2; 33933 hullNext[i2] = hullPrev[i1] = i0; 33934 33935 hullTri[i0] = 0; 33936 hullTri[i1] = 1; 33937 hullTri[i2] = 2; 33938 33939 hullHash.fill(-1); 33940 hullHash[this._hashKey(i0x, i0y)] = i0; 33941 hullHash[this._hashKey(i1x, i1y)] = i1; 33942 hullHash[this._hashKey(i2x, i2y)] = i2; 33943 33944 this.trianglesLen = 0; 33945 this._addTriangle(i0, i1, i2, -1, -1, -1); 33946 33947 for (let k = 0, xp, yp; k < this._ids.length; k++) { 33948 const i = this._ids[k]; 33949 const x = coords[2 * i]; 33950 const y = coords[2 * i + 1]; 33951 33952 // skip near-duplicate points 33953 if (k > 0 && Math.abs(x - xp) <= EPSILON && Math.abs(y - yp) <= EPSILON) continue; 33954 xp = x; 33955 yp = y; 33956 33957 // skip seed triangle points 33958 if (i === i0 || i === i1 || i === i2) continue; 33959 33960 // find a visible edge on the convex hull using edge hash 33961 let start = 0; 33962 for (let j = 0, key = this._hashKey(x, y); j < this._hashSize; j++) { 33963 start = hullHash[(key + j) % this._hashSize]; 33964 if (start !== -1 && start !== hullNext[start]) break; 33965 } 33966 33967 start = hullPrev[start]; 33968 let e = start, q; 33969 while (q = hullNext[e], (0,robust_predicates__WEBPACK_IMPORTED_MODULE_0__.orient2d)(x, y, coords[2 * e], coords[2 * e + 1], coords[2 * q], coords[2 * q + 1]) >= 0) { 33970 e = q; 33971 if (e === start) { 33972 e = -1; 33973 break; 33974 } 33975 } 33976 if (e === -1) continue; // likely a near-duplicate point; skip it 33977 33978 // add the first triangle from the point 33979 let t = this._addTriangle(e, i, hullNext[e], -1, -1, hullTri[e]); 33980 33981 // recursively flip triangles from the point until they satisfy the Delaunay condition 33982 hullTri[i] = this._legalize(t + 2); 33983 hullTri[e] = t; // keep track of boundary triangles on the hull 33984 hullSize++; 33985 33986 // walk forward through the hull, adding more triangles and flipping recursively 33987 let n = hullNext[e]; 33988 while (q = hullNext[n], (0,robust_predicates__WEBPACK_IMPORTED_MODULE_0__.orient2d)(x, y, coords[2 * n], coords[2 * n + 1], coords[2 * q], coords[2 * q + 1]) < 0) { 33989 t = this._addTriangle(n, i, q, hullTri[i], -1, hullTri[n]); 33990 hullTri[i] = this._legalize(t + 2); 33991 hullNext[n] = n; // mark as removed 33992 hullSize--; 33993 n = q; 33994 } 33995 33996 // walk backward from the other side, adding more triangles and flipping 33997 if (e === start) { 33998 while (q = hullPrev[e], (0,robust_predicates__WEBPACK_IMPORTED_MODULE_0__.orient2d)(x, y, coords[2 * q], coords[2 * q + 1], coords[2 * e], coords[2 * e + 1]) < 0) { 33999 t = this._addTriangle(q, i, e, -1, hullTri[e], hullTri[q]); 34000 this._legalize(t + 2); 34001 hullTri[q] = t; 34002 hullNext[e] = e; // mark as removed 34003 hullSize--; 34004 e = q; 34005 } 34006 } 34007 34008 // update the hull indices 34009 this._hullStart = hullPrev[i] = e; 34010 hullNext[e] = hullPrev[n] = i; 34011 hullNext[i] = n; 34012 34013 // save the two new edges in the hash table 34014 hullHash[this._hashKey(x, y)] = i; 34015 hullHash[this._hashKey(coords[2 * e], coords[2 * e + 1])] = e; 34016 } 34017 34018 this.hull = new Uint32Array(hullSize); 34019 for (let i = 0, e = this._hullStart; i < hullSize; i++) { 34020 this.hull[i] = e; 34021 e = hullNext[e]; 34022 } 34023 34024 // trim typed triangle mesh arrays 34025 this.triangles = this._triangles.subarray(0, this.trianglesLen); 34026 this.halfedges = this._halfedges.subarray(0, this.trianglesLen); 34027 } 34028 34029 _hashKey(x, y) { 34030 return Math.floor(pseudoAngle(x - this._cx, y - this._cy) * this._hashSize) % this._hashSize; 34031 } 34032 34033 _legalize(a) { 34034 const {_triangles: triangles, _halfedges: halfedges, coords} = this; 34035 34036 let i = 0; 34037 let ar = 0; 34038 34039 // recursion eliminated with a fixed-size stack 34040 while (true) { 34041 const b = halfedges[a]; 34042 34043 /* if the pair of triangles doesn't satisfy the Delaunay condition 34044 * (p1 is inside the circumcircle of [p0, pl, pr]), flip them, 34045 * then do the same check/flip recursively for the new pair of triangles 34046 * 34047 * pl pl 34048 * /||\ / \ 34049 * al/ || \bl al/ \a 34050 * / || \ / \ 34051 * / a||b \ flip /___ar___\ 34052 * p0\ || /p1 => p0\---bl---/p1 34053 * \ || / \ / 34054 * ar\ || /br b\ /br 34055 * \||/ \ / 34056 * pr pr 34057 */ 34058 const a0 = a - a % 3; 34059 ar = a0 + (a + 2) % 3; 34060 34061 if (b === -1) { // convex hull edge 34062 if (i === 0) break; 34063 a = EDGE_STACK[--i]; 34064 continue; 34065 } 34066 34067 const b0 = b - b % 3; 34068 const al = a0 + (a + 1) % 3; 34069 const bl = b0 + (b + 2) % 3; 34070 34071 const p0 = triangles[ar]; 34072 const pr = triangles[a]; 34073 const pl = triangles[al]; 34074 const p1 = triangles[bl]; 34075 34076 const illegal = inCircle( 34077 coords[2 * p0], coords[2 * p0 + 1], 34078 coords[2 * pr], coords[2 * pr + 1], 34079 coords[2 * pl], coords[2 * pl + 1], 34080 coords[2 * p1], coords[2 * p1 + 1]); 34081 34082 if (illegal) { 34083 triangles[a] = p1; 34084 triangles[b] = p0; 34085 34086 const hbl = halfedges[bl]; 34087 34088 // edge swapped on the other side of the hull (rare); fix the halfedge reference 34089 if (hbl === -1) { 34090 let e = this._hullStart; 34091 do { 34092 if (this._hullTri[e] === bl) { 34093 this._hullTri[e] = a; 34094 break; 34095 } 34096 e = this._hullPrev[e]; 34097 } while (e !== this._hullStart); 34098 } 34099 this._link(a, hbl); 34100 this._link(b, halfedges[ar]); 34101 this._link(ar, bl); 34102 34103 const br = b0 + (b + 1) % 3; 34104 34105 // don't worry about hitting the cap: it can only happen on extremely degenerate input 34106 if (i < EDGE_STACK.length) { 34107 EDGE_STACK[i++] = br; 34108 } 34109 } else { 34110 if (i === 0) break; 34111 a = EDGE_STACK[--i]; 34112 } 34113 } 34114 34115 return ar; 34116 } 34117 34118 _link(a, b) { 34119 this._halfedges[a] = b; 34120 if (b !== -1) this._halfedges[b] = a; 34121 } 34122 34123 // add a new triangle given vertex indices and adjacent half-edge ids 34124 _addTriangle(i0, i1, i2, a, b, c) { 34125 const t = this.trianglesLen; 34126 34127 this._triangles[t] = i0; 34128 this._triangles[t + 1] = i1; 34129 this._triangles[t + 2] = i2; 34130 34131 this._link(t, a); 34132 this._link(t + 1, b); 34133 this._link(t + 2, c); 34134 34135 this.trianglesLen += 3; 34136 34137 return t; 34138 } 34139} 34140 34141// monotonically increases with real angle, but doesn't need expensive trigonometry 34142function pseudoAngle(dx, dy) { 34143 const p = dx / (Math.abs(dx) + Math.abs(dy)); 34144 return (dy > 0 ? 3 - p : 1 + p) / 4; // [0..1] 34145} 34146 34147function dist(ax, ay, bx, by) { 34148 const dx = ax - bx; 34149 const dy = ay - by; 34150 return dx * dx + dy * dy; 34151} 34152 34153function inCircle(ax, ay, bx, by, cx, cy, px, py) { 34154 const dx = ax - px; 34155 const dy = ay - py; 34156 const ex = bx - px; 34157 const ey = by - py; 34158 const fx = cx - px; 34159 const fy = cy - py; 34160 34161 const ap = dx * dx + dy * dy; 34162 const bp = ex * ex + ey * ey; 34163 const cp = fx * fx + fy * fy; 34164 34165 return dx * (ey * cp - bp * fy) - 34166 dy * (ex * cp - bp * fx) + 34167 ap * (ex * fy - ey * fx) < 0; 34168} 34169 34170function circumradius(ax, ay, bx, by, cx, cy) { 34171 const dx = bx - ax; 34172 const dy = by - ay; 34173 const ex = cx - ax; 34174 const ey = cy - ay; 34175 34176 const bl = dx * dx + dy * dy; 34177 const cl = ex * ex + ey * ey; 34178 const d = 0.5 / (dx * ey - dy * ex); 34179 34180 const x = (ey * bl - dy * cl) * d; 34181 const y = (dx * cl - ex * bl) * d; 34182 34183 return x * x + y * y; 34184} 34185 34186function circumcenter(ax, ay, bx, by, cx, cy) { 34187 const dx = bx - ax; 34188 const dy = by - ay; 34189 const ex = cx - ax; 34190 const ey = cy - ay; 34191 34192 const bl = dx * dx + dy * dy; 34193 const cl = ex * ex + ey * ey; 34194 const d = 0.5 / (dx * ey - dy * ex); 34195 34196 const x = ax + (ey * bl - dy * cl) * d; 34197 const y = ay + (dx * cl - ex * bl) * d; 34198 34199 return {x, y}; 34200} 34201 34202function quicksort(ids, dists, left, right) { 34203 if (right - left <= 20) { 34204 for (let i = left + 1; i <= right; i++) { 34205 const temp = ids[i]; 34206 const tempDist = dists[temp]; 34207 let j = i - 1; 34208 while (j >= left && dists[ids[j]] > tempDist) ids[j + 1] = ids[j--]; 34209 ids[j + 1] = temp; 34210 } 34211 } else { 34212 const median = (left + right) >> 1; 34213 let i = left + 1; 34214 let j = right; 34215 swap(ids, median, i); 34216 if (dists[ids[left]] > dists[ids[right]]) swap(ids, left, right); 34217 if (dists[ids[i]] > dists[ids[right]]) swap(ids, i, right); 34218 if (dists[ids[left]] > dists[ids[i]]) swap(ids, left, i); 34219 34220 const temp = ids[i]; 34221 const tempDist = dists[temp]; 34222 while (true) { 34223 do i++; while (dists[ids[i]] < tempDist); 34224 do j--; while (dists[ids[j]] > tempDist); 34225 if (j < i) break; 34226 swap(ids, i, j); 34227 } 34228 ids[left + 1] = ids[j]; 34229 ids[j] = temp; 34230 34231 if (right - i + 1 >= j - left) { 34232 quicksort(ids, dists, i, right); 34233 quicksort(ids, dists, left, j - 1); 34234 } else { 34235 quicksort(ids, dists, left, j - 1); 34236 quicksort(ids, dists, i, right); 34237 } 34238 } 34239} 34240 34241function swap(arr, i, j) { 34242 const tmp = arr[i]; 34243 arr[i] = arr[j]; 34244 arr[j] = tmp; 34245} 34246 34247function defaultGetX(p) { 34248 return p[0]; 34249} 34250function defaultGetY(p) { 34251 return p[1]; 34252} 34253 34254 34255/***/ }), 34256
vendor: 37,445 bytes, lines 34257-35498
34257/***/ "./node_modules/immer/dist/immer.mjs": 34258/*!*******************************************!*\ 34259 !*** ./node_modules/immer/dist/immer.mjs ***! 34260 \*******************************************/ 34261/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 34262 34263__webpack_require__.r(__webpack_exports__); 34264/* harmony export */ __webpack_require__.d(__webpack_exports__, { 34265/* harmony export */ Immer: () => (/* binding */ Immer2), 34266/* harmony export */ applyPatches: () => (/* binding */ applyPatches), 34267/* harmony export */ castDraft: () => (/* binding */ castDraft), 34268/* harmony export */ castImmutable: () => (/* binding */ castImmutable), 34269/* harmony export */ createDraft: () => (/* binding */ createDraft), 34270/* harmony export */ current: () => (/* binding */ current), 34271/* harmony export */ enableMapSet: () => (/* binding */ enableMapSet), 34272/* harmony export */ enablePatches: () => (/* binding */ enablePatches), 34273/* harmony export */ finishDraft: () => (/* binding */ finishDraft), 34274/* harmony export */ freeze: () => (/* binding */ freeze), 34275/* harmony export */ immerable: () => (/* binding */ DRAFTABLE), 34276/* harmony export */ isDraft: () => (/* binding */ isDraft), 34277/* harmony export */ isDraftable: () => (/* binding */ isDraftable), 34278/* harmony export */ nothing: () => (/* binding */ NOTHING), 34279/* harmony export */ original: () => (/* binding */ original), 34280/* harmony export */ produce: () => (/* binding */ produce), 34281/* harmony export */ produceWithPatches: () => (/* binding */ produceWithPatches), 34282/* harmony export */ setAutoFreeze: () => (/* binding */ setAutoFreeze), 34283/* harmony export */ setUseStrictShallowCopy: () => (/* binding */ setUseStrictShallowCopy) 34284/* harmony export */ }); 34285// src/utils/env.ts 34286var NOTHING = Symbol.for("immer-nothing"); 34287var DRAFTABLE = Symbol.for("immer-draftable"); 34288var DRAFT_STATE = Symbol.for("immer-state"); 34289 34290// src/utils/errors.ts 34291var errors = true ? [ 34292 // All error codes, starting by 0: 34293 function(plugin) { 34294 return `The plugin for '${plugin}' has not been loaded into Immer. To enable the plugin, import and call \`enable${plugin}()\` when initializing your application.`; 34295 }, 34296 function(thing) { 34297 return `produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${thing}'`; 34298 }, 34299 "This object has been frozen and should not be mutated", 34300 function(data) { 34301 return "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " + data; 34302 }, 34303 "An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.", 34304 "Immer forbids circular references", 34305 "The first or second argument to `produce` must be a function", 34306 "The third argument to `produce` must be a function or undefined", 34307 "First argument to `createDraft` must be a plain object, an array, or an immerable object", 34308 "First argument to `finishDraft` must be a draft returned by `createDraft`", 34309 function(thing) { 34310 return `'current' expects a draft, got: ${thing}`; 34311 }, 34312 "Object.defineProperty() cannot be used on an Immer draft", 34313 "Object.setPrototypeOf() cannot be used on an Immer draft", 34314 "Immer only supports deleting array indices", 34315 "Immer only supports setting array indices and the 'length' property", 34316 function(thing) { 34317 return `'original' expects a draft, got: ${thing}`; 34318 } 34319 // Note: if more errors are added, the errorOffset in Patches.ts should be increased 34320 // See Patches.ts for additional errors 34321] : 0; 34322function die(error, ...args) { 34323 if (true) { 34324 const e = errors[error]; 34325 const msg = typeof e === "function" ? e.apply(null, args) : e; 34326 throw new Error(`[Immer] ${msg}`); 34327 } 34328 throw new Error( 34329 `[Immer] minified error nr: ${error}. Full error at: https://bit.ly/3cXEKWf` 34330 ); 34331} 34332 34333// src/utils/common.ts 34334var getPrototypeOf = Object.getPrototypeOf; 34335function isDraft(value) { 34336 return !!value && !!value[DRAFT_STATE]; 34337} 34338function isDraftable(value) { 34339 if (!value) 34340 return false; 34341 return isPlainObject(value) || Array.isArray(value) || !!value[DRAFTABLE] || !!value.constructor?.[DRAFTABLE] || isMap(value) || isSet(value); 34342} 34343var objectCtorString = Object.prototype.constructor.toString(); 34344function isPlainObject(value) { 34345 if (!value || typeof value !== "object") 34346 return false; 34347 const proto = getPrototypeOf(value); 34348 if (proto === null) { 34349 return true; 34350 } 34351 const Ctor = Object.hasOwnProperty.call(proto, "constructor") && proto.constructor; 34352 if (Ctor === Object) 34353 return true; 34354 return typeof Ctor == "function" && Function.toString.call(Ctor) === objectCtorString; 34355} 34356function original(value) { 34357 if (!isDraft(value)) 34358 die(15, value); 34359 return value[DRAFT_STATE].base_; 34360} 34361function each(obj, iter) { 34362 if (getArchtype(obj) === 0 /* Object */) { 34363 Reflect.ownKeys(obj).forEach((key) => { 34364 iter(key, obj[key], obj); 34365 }); 34366 } else { 34367 obj.forEach((entry, index) => iter(index, entry, obj)); 34368 } 34369} 34370function getArchtype(thing) { 34371 const state = thing[DRAFT_STATE]; 34372 return state ? state.type_ : Array.isArray(thing) ? 1 /* Array */ : isMap(thing) ? 2 /* Map */ : isSet(thing) ? 3 /* Set */ : 0 /* Object */; 34373} 34374function has(thing, prop) { 34375 return getArchtype(thing) === 2 /* Map */ ? thing.has(prop) : Object.prototype.hasOwnProperty.call(thing, prop); 34376} 34377function get(thing, prop) { 34378 return getArchtype(thing) === 2 /* Map */ ? thing.get(prop) : thing[prop]; 34379} 34380function set(thing, propOrOldValue, value) { 34381 const t = getArchtype(thing); 34382 if (t === 2 /* Map */) 34383 thing.set(propOrOldValue, value); 34384 else if (t === 3 /* Set */) { 34385 thing.add(value); 34386 } else 34387 thing[propOrOldValue] = value; 34388} 34389function is(x, y) { 34390 if (x === y) { 34391 return x !== 0 || 1 / x === 1 / y; 34392 } else { 34393 return x !== x && y !== y; 34394 } 34395} 34396function isMap(target) { 34397 return target instanceof Map; 34398} 34399function isSet(target) { 34400 return target instanceof Set; 34401} 34402function latest(state) { 34403 return state.copy_ || state.base_; 34404} 34405function shallowCopy(base, strict) { 34406 if (isMap(base)) { 34407 return new Map(base); 34408 } 34409 if (isSet(base)) { 34410 return new Set(base); 34411 } 34412 if (Array.isArray(base)) 34413 return Array.prototype.slice.call(base); 34414 const isPlain = isPlainObject(base); 34415 if (strict === true || strict === "class_only" && !isPlain) { 34416 const descriptors = Object.getOwnPropertyDescriptors(base); 34417 delete descriptors[DRAFT_STATE]; 34418 let keys = Reflect.ownKeys(descriptors); 34419 for (let i = 0; i < keys.length; i++) { 34420 const key = keys[i]; 34421 const desc = descriptors[key]; 34422 if (desc.writable === false) { 34423 desc.writable = true; 34424 desc.configurable = true; 34425 } 34426 if (desc.get || desc.set) 34427 descriptors[key] = { 34428 configurable: true, 34429 writable: true, 34430 // could live with !!desc.set as well here... 34431 enumerable: desc.enumerable, 34432 value: base[key] 34433 }; 34434 } 34435 return Object.create(getPrototypeOf(base), descriptors); 34436 } else { 34437 const proto = getPrototypeOf(base); 34438 if (proto !== null && isPlain) { 34439 return { ...base }; 34440 } 34441 const obj = Object.create(proto); 34442 return Object.assign(obj, base); 34443 } 34444} 34445function freeze(obj, deep = false) { 34446 if (isFrozen(obj) || isDraft(obj) || !isDraftable(obj)) 34447 return obj; 34448 if (getArchtype(obj) > 1) { 34449 obj.set = obj.add = obj.clear = obj.delete = dontMutateFrozenCollections; 34450 } 34451 Object.freeze(obj); 34452 if (deep) 34453 Object.entries(obj).forEach(([key, value]) => freeze(value, true)); 34454 return obj; 34455} 34456function dontMutateFrozenCollections() { 34457 die(2); 34458} 34459function isFrozen(obj) { 34460 return Object.isFrozen(obj); 34461} 34462 34463// src/utils/plugins.ts 34464var plugins = {}; 34465function getPlugin(pluginKey) { 34466 const plugin = plugins[pluginKey]; 34467 if (!plugin) { 34468 die(0, pluginKey); 34469 } 34470 return plugin; 34471} 34472function loadPlugin(pluginKey, implementation) { 34473 if (!plugins[pluginKey]) 34474 plugins[pluginKey] = implementation; 34475} 34476 34477// src/core/scope.ts 34478var currentScope; 34479function getCurrentScope() { 34480 return currentScope; 34481} 34482function createScope(parent_, immer_) { 34483 return { 34484 drafts_: [], 34485 parent_, 34486 immer_, 34487 // Whenever the modified draft contains a draft from another scope, we 34488 // need to prevent auto-freezing so the unowned draft can be finalized. 34489 canAutoFreeze_: true, 34490 unfinalizedDrafts_: 0 34491 }; 34492} 34493function usePatchesInScope(scope, patchListener) { 34494 if (patchListener) { 34495 getPlugin("Patches"); 34496 scope.patches_ = []; 34497 scope.inversePatches_ = []; 34498 scope.patchListener_ = patchListener; 34499 } 34500} 34501function revokeScope(scope) { 34502 leaveScope(scope); 34503 scope.drafts_.forEach(revokeDraft); 34504 scope.drafts_ = null; 34505} 34506function leaveScope(scope) { 34507 if (scope === currentScope) { 34508 currentScope = scope.parent_; 34509 } 34510} 34511function enterScope(immer2) { 34512 return currentScope = createScope(currentScope, immer2); 34513} 34514function revokeDraft(draft) { 34515 const state = draft[DRAFT_STATE]; 34516 if (state.type_ === 0 /* Object */ || state.type_ === 1 /* Array */) 34517 state.revoke_(); 34518 else 34519 state.revoked_ = true; 34520} 34521 34522// src/core/finalize.ts 34523function processResult(result, scope) { 34524 scope.unfinalizedDrafts_ = scope.drafts_.length; 34525 const baseDraft = scope.drafts_[0]; 34526 const isReplaced = result !== void 0 && result !== baseDraft; 34527 if (isReplaced) { 34528 if (baseDraft[DRAFT_STATE].modified_) { 34529 revokeScope(scope); 34530 die(4); 34531 } 34532 if (isDraftable(result)) { 34533 result = finalize(scope, result); 34534 if (!scope.parent_) 34535 maybeFreeze(scope, result); 34536 } 34537 if (scope.patches_) { 34538 getPlugin("Patches").generateReplacementPatches_( 34539 baseDraft[DRAFT_STATE].base_, 34540 result, 34541 scope.patches_, 34542 scope.inversePatches_ 34543 ); 34544 } 34545 } else { 34546 result = finalize(scope, baseDraft, []); 34547 } 34548 revokeScope(scope); 34549 if (scope.patches_) { 34550 scope.patchListener_(scope.patches_, scope.inversePatches_); 34551 } 34552 return result !== NOTHING ? result : void 0; 34553} 34554function finalize(rootScope, value, path) { 34555 if (isFrozen(value)) 34556 return value; 34557 const state = value[DRAFT_STATE]; 34558 if (!state) { 34559 each( 34560 value, 34561 (key, childValue) => finalizeProperty(rootScope, state, value, key, childValue, path) 34562 ); 34563 return value; 34564 } 34565 if (state.scope_ !== rootScope) 34566 return value; 34567 if (!state.modified_) { 34568 maybeFreeze(rootScope, state.base_, true); 34569 return state.base_; 34570 } 34571 if (!state.finalized_) { 34572 state.finalized_ = true; 34573 state.scope_.unfinalizedDrafts_--; 34574 const result = state.copy_; 34575 let resultEach = result; 34576 let isSet2 = false; 34577 if (state.type_ === 3 /* Set */) { 34578 resultEach = new Set(result); 34579 result.clear(); 34580 isSet2 = true; 34581 } 34582 each( 34583 resultEach, 34584 (key, childValue) => finalizeProperty(rootScope, state, result, key, childValue, path, isSet2) 34585 ); 34586 maybeFreeze(rootScope, result, false); 34587 if (path && rootScope.patches_) { 34588 getPlugin("Patches").generatePatches_( 34589 state, 34590 path, 34591 rootScope.patches_, 34592 rootScope.inversePatches_ 34593 ); 34594 } 34595 } 34596 return state.copy_; 34597} 34598function finalizeProperty(rootScope, parentState, targetObject, prop, childValue, rootPath, targetIsSet) { 34599 if ( true && childValue === targetObject) 34600 die(5); 34601 if (isDraft(childValue)) { 34602 const path = rootPath && parentState && parentState.type_ !== 3 /* Set */ && // Set objects are atomic since they have no keys. 34603 !has(parentState.assigned_, prop) ? rootPath.concat(prop) : void 0; 34604 const res = finalize(rootScope, childValue, path); 34605 set(targetObject, prop, res); 34606 if (isDraft(res)) { 34607 rootScope.canAutoFreeze_ = false; 34608 } else 34609 return; 34610 } else if (targetIsSet) { 34611 targetObject.add(childValue); 34612 } 34613 if (isDraftable(childValue) && !isFrozen(childValue)) { 34614 if (!rootScope.immer_.autoFreeze_ && rootScope.unfinalizedDrafts_ < 1) { 34615 return; 34616 } 34617 finalize(rootScope, childValue); 34618 if ((!parentState || !parentState.scope_.parent_) && typeof prop !== "symbol" && Object.prototype.propertyIsEnumerable.call(targetObject, prop)) 34619 maybeFreeze(rootScope, childValue); 34620 } 34621} 34622function maybeFreeze(scope, value, deep = false) { 34623 if (!scope.parent_ && scope.immer_.autoFreeze_ && scope.canAutoFreeze_) { 34624 freeze(value, deep); 34625 } 34626} 34627 34628// src/core/proxy.ts 34629function createProxyProxy(base, parent) { 34630 const isArray = Array.isArray(base); 34631 const state = { 34632 type_: isArray ? 1 /* Array */ : 0 /* Object */, 34633 // Track which produce call this is associated with. 34634 scope_: parent ? parent.scope_ : getCurrentScope(), 34635 // True for both shallow and deep changes. 34636 modified_: false, 34637 // Used during finalization. 34638 finalized_: false, 34639 // Track which properties have been assigned (true) or deleted (false). 34640 assigned_: {}, 34641 // The parent draft state. 34642 parent_: parent, 34643 // The base state. 34644 base_: base, 34645 // The base proxy. 34646 draft_: null, 34647 // set below 34648 // The base copy with any updated values. 34649 copy_: null, 34650 // Called by the `produce` function. 34651 revoke_: null, 34652 isManual_: false 34653 }; 34654 let target = state; 34655 let traps = objectTraps; 34656 if (isArray) { 34657 target = [state]; 34658 traps = arrayTraps; 34659 } 34660 const { revoke, proxy } = Proxy.revocable(target, traps); 34661 state.draft_ = proxy; 34662 state.revoke_ = revoke; 34663 return proxy; 34664} 34665var objectTraps = { 34666 get(state, prop) { 34667 if (prop === DRAFT_STATE) 34668 return state; 34669 const source = latest(state); 34670 if (!has(source, prop)) { 34671 return readPropFromProto(state, source, prop); 34672 } 34673 const value = source[prop]; 34674 if (state.finalized_ || !isDraftable(value)) { 34675 return value; 34676 } 34677 if (value === peek(state.base_, prop)) { 34678 prepareCopy(state); 34679 return state.copy_[prop] = createProxy(value, state); 34680 } 34681 return value; 34682 }, 34683 has(state, prop) { 34684 return prop in latest(state); 34685 }, 34686 ownKeys(state) { 34687 return Reflect.ownKeys(latest(state)); 34688 }, 34689 set(state, prop, value) { 34690 const desc = getDescriptorFromProto(latest(state), prop); 34691 if (desc?.set) { 34692 desc.set.call(state.draft_, value); 34693 return true; 34694 } 34695 if (!state.modified_) { 34696 const current2 = peek(latest(state), prop); 34697 const currentState = current2?.[DRAFT_STATE]; 34698 if (currentState && currentState.base_ === value) { 34699 state.copy_[prop] = value; 34700 state.assigned_[prop] = false; 34701 return true; 34702 } 34703 if (is(value, current2) && (value !== void 0 || has(state.base_, prop))) 34704 return true; 34705 prepareCopy(state); 34706 markChanged(state); 34707 } 34708 if (state.copy_[prop] === value && // special case: handle new props with value 'undefined' 34709 (value !== void 0 || prop in state.copy_) || // special case: NaN 34710 Number.isNaN(value) && Number.isNaN(state.copy_[prop])) 34711 return true; 34712 state.copy_[prop] = value; 34713 state.assigned_[prop] = true; 34714 return true; 34715 }, 34716 deleteProperty(state, prop) { 34717 if (peek(state.base_, prop) !== void 0 || prop in state.base_) { 34718 state.assigned_[prop] = false; 34719 prepareCopy(state); 34720 markChanged(state); 34721 } else { 34722 delete state.assigned_[prop]; 34723 } 34724 if (state.copy_) { 34725 delete state.copy_[prop]; 34726 } 34727 return true; 34728 }, 34729 // Note: We never coerce `desc.value` into an Immer draft, because we can't make 34730 // the same guarantee in ES5 mode. 34731 getOwnPropertyDescriptor(state, prop) { 34732 const owner = latest(state); 34733 const desc = Reflect.getOwnPropertyDescriptor(owner, prop); 34734 if (!desc) 34735 return desc; 34736 return { 34737 writable: true, 34738 configurable: state.type_ !== 1 /* Array */ || prop !== "length", 34739 enumerable: desc.enumerable, 34740 value: owner[prop] 34741 }; 34742 }, 34743 defineProperty() { 34744 die(11); 34745 }, 34746 getPrototypeOf(state) { 34747 return getPrototypeOf(state.base_); 34748 }, 34749 setPrototypeOf() { 34750 die(12); 34751 } 34752}; 34753var arrayTraps = {}; 34754each(objectTraps, (key, fn) => { 34755 arrayTraps[key] = function() { 34756 arguments[0] = arguments[0][0]; 34757 return fn.apply(this, arguments); 34758 }; 34759}); 34760arrayTraps.deleteProperty = function(state, prop) { 34761 if ( true && isNaN(parseInt(prop))) 34762 die(13); 34763 return arrayTraps.set.call(this, state, prop, void 0); 34764}; 34765arrayTraps.set = function(state, prop, value) { 34766 if ( true && prop !== "length" && isNaN(parseInt(prop))) 34767 die(14); 34768 return objectTraps.set.call(this, state[0], prop, value, state[0]); 34769}; 34770function peek(draft, prop) { 34771 const state = draft[DRAFT_STATE]; 34772 const source = state ? latest(state) : draft; 34773 return source[prop]; 34774} 34775function readPropFromProto(state, source, prop) { 34776 const desc = getDescriptorFromProto(source, prop); 34777 return desc ? `value` in desc ? desc.value : ( 34778 // This is a very special case, if the prop is a getter defined by the 34779 // prototype, we should invoke it with the draft as context! 34780 desc.get?.call(state.draft_) 34781 ) : void 0; 34782} 34783function getDescriptorFromProto(source, prop) { 34784 if (!(prop in source)) 34785 return void 0; 34786 let proto = getPrototypeOf(source); 34787 while (proto) { 34788 const desc = Object.getOwnPropertyDescriptor(proto, prop); 34789 if (desc) 34790 return desc; 34791 proto = getPrototypeOf(proto); 34792 } 34793 return void 0; 34794} 34795function markChanged(state) { 34796 if (!state.modified_) { 34797 state.modified_ = true; 34798 if (state.parent_) { 34799 markChanged(state.parent_); 34800 } 34801 } 34802} 34803function prepareCopy(state) { 34804 if (!state.copy_) { 34805 state.copy_ = shallowCopy( 34806 state.base_, 34807 state.scope_.immer_.useStrictShallowCopy_ 34808 ); 34809 } 34810} 34811 34812// src/core/immerClass.ts 34813var Immer2 = class { 34814 constructor(config) { 34815 this.autoFreeze_ = true; 34816 this.useStrictShallowCopy_ = false; 34817 /** 34818 * The `produce` function takes a value and a "recipe function" (whose 34819 * return value often depends on the base state). The recipe function is 34820 * free to mutate its first argument however it wants. All mutations are 34821 * only ever applied to a __copy__ of the base state. 34822 * 34823 * Pass only a function to create a "curried producer" which relieves you 34824 * from passing the recipe function every time. 34825 * 34826 * Only plain objects and arrays are made mutable. All other objects are 34827 * considered uncopyable. 34828 * 34829 * Note: This function is __bound__ to its `Immer` instance. 34830 * 34831 * @param {any} base - the initial state 34832 * @param {Function} recipe - function that receives a proxy of the base state as first argument and which can be freely modified 34833 * @param {Function} patchListener - optional function that will be called with all the patches produced here 34834 * @returns {any} a new state, or the initial state if nothing was modified 34835 */ 34836 this.produce = (base, recipe, patchListener) => { 34837 if (typeof base === "function" && typeof recipe !== "function") { 34838 const defaultBase = recipe; 34839 recipe = base; 34840 const self = this; 34841 return function curriedProduce(base2 = defaultBase, ...args) { 34842 return self.produce(base2, (draft) => recipe.call(this, draft, ...args)); 34843 }; 34844 } 34845 if (typeof recipe !== "function") 34846 die(6); 34847 if (patchListener !== void 0 && typeof patchListener !== "function") 34848 die(7); 34849 let result; 34850 if (isDraftable(base)) { 34851 const scope = enterScope(this); 34852 const proxy = createProxy(base, void 0); 34853 let hasError = true; 34854 try { 34855 result = recipe(proxy); 34856 hasError = false; 34857 } finally { 34858 if (hasError) 34859 revokeScope(scope); 34860 else 34861 leaveScope(scope); 34862 } 34863 usePatchesInScope(scope, patchListener); 34864 return processResult(result, scope); 34865 } else if (!base || typeof base !== "object") { 34866 result = recipe(base); 34867 if (result === void 0) 34868 result = base; 34869 if (result === NOTHING) 34870 result = void 0; 34871 if (this.autoFreeze_) 34872 freeze(result, true); 34873 if (patchListener) { 34874 const p = []; 34875 const ip = []; 34876 getPlugin("Patches").generateReplacementPatches_(base, result, p, ip); 34877 patchListener(p, ip); 34878 } 34879 return result; 34880 } else 34881 die(1, base); 34882 }; 34883 this.produceWithPatches = (base, recipe) => { 34884 if (typeof base === "function") { 34885 return (state, ...args) => this.produceWithPatches(state, (draft) => base(draft, ...args)); 34886 } 34887 let patches, inversePatches; 34888 const result = this.produce(base, recipe, (p, ip) => { 34889 patches = p; 34890 inversePatches = ip; 34891 }); 34892 return [result, patches, inversePatches]; 34893 }; 34894 if (typeof config?.autoFreeze === "boolean") 34895 this.setAutoFreeze(config.autoFreeze); 34896 if (typeof config?.useStrictShallowCopy === "boolean") 34897 this.setUseStrictShallowCopy(config.useStrictShallowCopy); 34898 } 34899 createDraft(base) { 34900 if (!isDraftable(base)) 34901 die(8); 34902 if (isDraft(base)) 34903 base = current(base); 34904 const scope = enterScope(this); 34905 const proxy = createProxy(base, void 0); 34906 proxy[DRAFT_STATE].isManual_ = true; 34907 leaveScope(scope); 34908 return proxy; 34909 } 34910 finishDraft(draft, patchListener) { 34911 const state = draft && draft[DRAFT_STATE]; 34912 if (!state || !state.isManual_) 34913 die(9); 34914 const { scope_: scope } = state; 34915 usePatchesInScope(scope, patchListener); 34916 return processResult(void 0, scope); 34917 } 34918 /** 34919 * Pass true to automatically freeze all copies created by Immer. 34920 * 34921 * By default, auto-freezing is enabled. 34922 */ 34923 setAutoFreeze(value) { 34924 this.autoFreeze_ = value; 34925 } 34926 /** 34927 * Pass true to enable strict shallow copy. 34928 * 34929 * By default, immer does not copy the object descriptors such as getter, setter and non-enumrable properties. 34930 */ 34931 setUseStrictShallowCopy(value) { 34932 this.useStrictShallowCopy_ = value; 34933 } 34934 applyPatches(base, patches) { 34935 let i; 34936 for (i = patches.length - 1; i >= 0; i--) { 34937 const patch = patches[i]; 34938 if (patch.path.length === 0 && patch.op === "replace") { 34939 base = patch.value; 34940 break; 34941 } 34942 } 34943 if (i > -1) { 34944 patches = patches.slice(i + 1); 34945 } 34946 const applyPatchesImpl = getPlugin("Patches").applyPatches_; 34947 if (isDraft(base)) { 34948 return applyPatchesImpl(base, patches); 34949 } 34950 return this.produce( 34951 base, 34952 (draft) => applyPatchesImpl(draft, patches) 34953 ); 34954 } 34955}; 34956function createProxy(value, parent) { 34957 const draft = isMap(value) ? getPlugin("MapSet").proxyMap_(value, parent) : isSet(value) ? getPlugin("MapSet").proxySet_(value, parent) : createProxyProxy(value, parent); 34958 const scope = parent ? parent.scope_ : getCurrentScope(); 34959 scope.drafts_.push(draft); 34960 return draft; 34961} 34962 34963// src/core/current.ts 34964function current(value) { 34965 if (!isDraft(value)) 34966 die(10, value); 34967 return currentImpl(value); 34968} 34969function currentImpl(value) { 34970 if (!isDraftable(value) || isFrozen(value)) 34971 return value; 34972 const state = value[DRAFT_STATE]; 34973 let copy; 34974 if (state) { 34975 if (!state.modified_) 34976 return state.base_; 34977 state.finalized_ = true; 34978 copy = shallowCopy(value, state.scope_.immer_.useStrictShallowCopy_); 34979 } else { 34980 copy = shallowCopy(value, true); 34981 } 34982 each(copy, (key, childValue) => { 34983 set(copy, key, currentImpl(childValue)); 34984 }); 34985 if (state) { 34986 state.finalized_ = false; 34987 } 34988 return copy; 34989} 34990 34991// src/plugins/patches.ts 34992function enablePatches() { 34993 const errorOffset = 16; 34994 if (true) { 34995 errors.push( 34996 'Sets cannot have "replace" patches.', 34997 function(op) { 34998 return "Unsupported patch operation: " + op; 34999 }, 35000 function(path) { 35001 return "Cannot apply patch, path doesn't resolve: " + path; 35002 }, 35003 "Patching reserved attributes like __proto__, prototype and constructor is not allowed" 35004 ); 35005 } 35006 const REPLACE = "replace"; 35007 const ADD = "add"; 35008 const REMOVE = "remove"; 35009 function generatePatches_(state, basePath, patches, inversePatches) { 35010 switch (state.type_) { 35011 case 0 /* Object */: 35012 case 2 /* Map */: 35013 return generatePatchesFromAssigned( 35014 state, 35015 basePath, 35016 patches, 35017 inversePatches 35018 ); 35019 case 1 /* Array */: 35020 return generateArrayPatches(state, basePath, patches, inversePatches); 35021 case 3 /* Set */: 35022 return generateSetPatches( 35023 state, 35024 basePath, 35025 patches, 35026 inversePatches 35027 ); 35028 } 35029 } 35030 function generateArrayPatches(state, basePath, patches, inversePatches) { 35031 let { base_, assigned_ } = state; 35032 let copy_ = state.copy_; 35033 if (copy_.length < base_.length) { 35034 ; 35035 [base_, copy_] = [copy_, base_]; 35036 [patches, inversePatches] = [inversePatches, patches]; 35037 } 35038 for (let i = 0; i < base_.length; i++) { 35039 if (assigned_[i] && copy_[i] !== base_[i]) { 35040 const path = basePath.concat([i]); 35041 patches.push({ 35042 op: REPLACE, 35043 path, 35044 // Need to maybe clone it, as it can in fact be the original value 35045 // due to the base/copy inversion at the start of this function 35046 value: clonePatchValueIfNeeded(copy_[i]) 35047 }); 35048 inversePatches.push({ 35049 op: REPLACE, 35050 path, 35051 value: clonePatchValueIfNeeded(base_[i]) 35052 }); 35053 } 35054 } 35055 for (let i = base_.length; i < copy_.length; i++) { 35056 const path = basePath.concat([i]); 35057 patches.push({ 35058 op: ADD, 35059 path, 35060 // Need to maybe clone it, as it can in fact be the original value 35061 // due to the base/copy inversion at the start of this function 35062 value: clonePatchValueIfNeeded(copy_[i]) 35063 }); 35064 } 35065 for (let i = copy_.length - 1; base_.length <= i; --i) { 35066 const path = basePath.concat([i]); 35067 inversePatches.push({ 35068 op: REMOVE, 35069 path 35070 }); 35071 } 35072 } 35073 function generatePatchesFromAssigned(state, basePath, patches, inversePatches) { 35074 const { base_, copy_ } = state; 35075 each(state.assigned_, (key, assignedValue) => { 35076 const origValue = get(base_, key); 35077 const value = get(copy_, key); 35078 const op = !assignedValue ? REMOVE : has(base_, key) ? REPLACE : ADD; 35079 if (origValue === value && op === REPLACE) 35080 return; 35081 const path = basePath.concat(key); 35082 patches.push(op === REMOVE ? { op, path } : { op, path, value }); 35083 inversePatches.push( 35084 op === ADD ? { op: REMOVE, path } : op === REMOVE ? { op: ADD, path, value: clonePatchValueIfNeeded(origValue) } : { op: REPLACE, path, value: clonePatchValueIfNeeded(origValue) } 35085 ); 35086 }); 35087 } 35088 function generateSetPatches(state, basePath, patches, inversePatches) { 35089 let { base_, copy_ } = state; 35090 let i = 0; 35091 base_.forEach((value) => { 35092 if (!copy_.has(value)) { 35093 const path = basePath.concat([i]); 35094 patches.push({ 35095 op: REMOVE, 35096 path, 35097 value 35098 }); 35099 inversePatches.unshift({ 35100 op: ADD, 35101 path, 35102 value 35103 }); 35104 } 35105 i++; 35106 }); 35107 i = 0; 35108 copy_.forEach((value) => { 35109 if (!base_.has(value)) { 35110 const path = basePath.concat([i]); 35111 patches.push({ 35112 op: ADD, 35113 path, 35114 value 35115 }); 35116 inversePatches.unshift({ 35117 op: REMOVE, 35118 path, 35119 value 35120 }); 35121 } 35122 i++; 35123 }); 35124 } 35125 function generateReplacementPatches_(baseValue, replacement, patches, inversePatches) { 35126 patches.push({ 35127 op: REPLACE, 35128 path: [], 35129 value: replacement === NOTHING ? void 0 : replacement 35130 }); 35131 inversePatches.push({ 35132 op: REPLACE, 35133 path: [], 35134 value: baseValue 35135 }); 35136 } 35137 function applyPatches_(draft, patches) { 35138 patches.forEach((patch) => { 35139 const { path, op } = patch; 35140 let base = draft; 35141 for (let i = 0; i < path.length - 1; i++) { 35142 const parentType = getArchtype(base); 35143 let p = path[i]; 35144 if (typeof p !== "string" && typeof p !== "number") { 35145 p = "" + p; 35146 } 35147 if ((parentType === 0 /* Object */ || parentType === 1 /* Array */) && (p === "__proto__" || p === "constructor")) 35148 die(errorOffset + 3); 35149 if (typeof base === "function" && p === "prototype") 35150 die(errorOffset + 3); 35151 base = get(base, p); 35152 if (typeof base !== "object") 35153 die(errorOffset + 2, path.join("/")); 35154 } 35155 const type = getArchtype(base); 35156 const value = deepClonePatchValue(patch.value); 35157 const key = path[path.length - 1]; 35158 switch (op) { 35159 case REPLACE: 35160 switch (type) { 35161 case 2 /* Map */: 35162 return base.set(key, value); 35163 case 3 /* Set */: 35164 die(errorOffset); 35165 default: 35166 return base[key] = value; 35167 } 35168 case ADD: 35169 switch (type) { 35170 case 1 /* Array */: 35171 return key === "-" ? base.push(value) : base.splice(key, 0, value); 35172 case 2 /* Map */: 35173 return base.set(key, value); 35174 case 3 /* Set */: 35175 return base.add(value); 35176 default: 35177 return base[key] = value; 35178 } 35179 case REMOVE: 35180 switch (type) { 35181 case 1 /* Array */: 35182 return base.splice(key, 1); 35183 case 2 /* Map */: 35184 return base.delete(key); 35185 case 3 /* Set */: 35186 return base.delete(patch.value); 35187 default: 35188 return delete base[key]; 35189 } 35190 default: 35191 die(errorOffset + 1, op); 35192 } 35193 }); 35194 return draft; 35195 } 35196 function deepClonePatchValue(obj) { 35197 if (!isDraftable(obj)) 35198 return obj; 35199 if (Array.isArray(obj)) 35200 return obj.map(deepClonePatchValue); 35201 if (isMap(obj)) 35202 return new Map( 35203 Array.from(obj.entries()).map(([k, v]) => [k, deepClonePatchValue(v)]) 35204 ); 35205 if (isSet(obj)) 35206 return new Set(Array.from(obj).map(deepClonePatchValue)); 35207 const cloned = Object.create(getPrototypeOf(obj)); 35208 for (const key in obj) 35209 cloned[key] = deepClonePatchValue(obj[key]); 35210 if (has(obj, DRAFTABLE)) 35211 cloned[DRAFTABLE] = obj[DRAFTABLE]; 35212 return cloned; 35213 } 35214 function clonePatchValueIfNeeded(obj) { 35215 if (isDraft(obj)) { 35216 return deepClonePatchValue(obj); 35217 } else 35218 return obj; 35219 } 35220 loadPlugin("Patches", { 35221 applyPatches_, 35222 generatePatches_, 35223 generateReplacementPatches_ 35224 }); 35225} 35226 35227// src/plugins/mapset.ts 35228function enableMapSet() { 35229 class DraftMap extends Map { 35230 constructor(target, parent) { 35231 super(); 35232 this[DRAFT_STATE] = { 35233 type_: 2 /* Map */, 35234 parent_: parent, 35235 scope_: parent ? parent.scope_ : getCurrentScope(), 35236 modified_: false, 35237 finalized_: false, 35238 copy_: void 0, 35239 assigned_: void 0, 35240 base_: target, 35241 draft_: this, 35242 isManual_: false, 35243 revoked_: false 35244 }; 35245 } 35246 get size() { 35247 return latest(this[DRAFT_STATE]).size; 35248 } 35249 has(key) { 35250 return latest(this[DRAFT_STATE]).has(key); 35251 } 35252 set(key, value) { 35253 const state = this[DRAFT_STATE]; 35254 assertUnrevoked(state); 35255 if (!latest(state).has(key) || latest(state).get(key) !== value) { 35256 prepareMapCopy(state); 35257 markChanged(state); 35258 state.assigned_.set(key, true); 35259 state.copy_.set(key, value); 35260 state.assigned_.set(key, true); 35261 } 35262 return this; 35263 } 35264 delete(key) { 35265 if (!this.has(key)) { 35266 return false; 35267 } 35268 const state = this[DRAFT_STATE]; 35269 assertUnrevoked(state); 35270 prepareMapCopy(state); 35271 markChanged(state); 35272 if (state.base_.has(key)) { 35273 state.assigned_.set(key, false); 35274 } else { 35275 state.assigned_.delete(key); 35276 } 35277 state.copy_.delete(key); 35278 return true; 35279 } 35280 clear() { 35281 const state = this[DRAFT_STATE]; 35282 assertUnrevoked(state); 35283 if (latest(state).size) { 35284 prepareMapCopy(state); 35285 markChanged(state); 35286 state.assigned_ = /* @__PURE__ */ new Map(); 35287 each(state.base_, (key) => { 35288 state.assigned_.set(key, false); 35289 }); 35290 state.copy_.clear(); 35291 } 35292 } 35293 forEach(cb, thisArg) { 35294 const state = this[DRAFT_STATE]; 35295 latest(state).forEach((_value, key, _map) => { 35296 cb.call(thisArg, this.get(key), key, this); 35297 }); 35298 } 35299 get(key) { 35300 const state = this[DRAFT_STATE]; 35301 assertUnrevoked(state); 35302 const value = latest(state).get(key); 35303 if (state.finalized_ || !isDraftable(value)) { 35304 return value; 35305 } 35306 if (value !== state.base_.get(key)) { 35307 return value; 35308 } 35309 const draft = createProxy(value, state); 35310 prepareMapCopy(state); 35311 state.copy_.set(key, draft); 35312 return draft; 35313 } 35314 keys() { 35315 return latest(this[DRAFT_STATE]).keys(); 35316 } 35317 values() { 35318 const iterator = this.keys(); 35319 return { 35320 [Symbol.iterator]: () => this.values(), 35321 next: () => { 35322 const r = iterator.next(); 35323 if (r.done) 35324 return r; 35325 const value = this.get(r.value); 35326 return { 35327 done: false, 35328 value 35329 }; 35330 } 35331 }; 35332 } 35333 entries() { 35334 const iterator = this.keys(); 35335 return { 35336 [Symbol.iterator]: () => this.entries(), 35337 next: () => { 35338 const r = iterator.next(); 35339 if (r.done) 35340 return r; 35341 const value = this.get(r.value); 35342 return { 35343 done: false, 35344 value: [r.value, value] 35345 }; 35346 } 35347 }; 35348 } 35349 [(DRAFT_STATE, Symbol.iterator)]() { 35350 return this.entries(); 35351 } 35352 } 35353 function proxyMap_(target, parent) { 35354 return new DraftMap(target, parent); 35355 } 35356 function prepareMapCopy(state) { 35357 if (!state.copy_) { 35358 state.assigned_ = /* @__PURE__ */ new Map(); 35359 state.copy_ = new Map(state.base_); 35360 } 35361 } 35362 class DraftSet extends Set { 35363 constructor(target, parent) { 35364 super(); 35365 this[DRAFT_STATE] = { 35366 type_: 3 /* Set */, 35367 parent_: parent, 35368 scope_: parent ? parent.scope_ : getCurrentScope(), 35369 modified_: false, 35370 finalized_: false, 35371 copy_: void 0, 35372 base_: target, 35373 draft_: this, 35374 drafts_: /* @__PURE__ */ new Map(), 35375 revoked_: false, 35376 isManual_: false 35377 }; 35378 } 35379 get size() { 35380 return latest(this[DRAFT_STATE]).size; 35381 } 35382 has(value) { 35383 const state = this[DRAFT_STATE]; 35384 assertUnrevoked(state); 35385 if (!state.copy_) { 35386 return state.base_.has(value); 35387 } 35388 if (state.copy_.has(value)) 35389 return true; 35390 if (state.drafts_.has(value) && state.copy_.has(state.drafts_.get(value))) 35391 return true; 35392 return false; 35393 } 35394 add(value) { 35395 const state = this[DRAFT_STATE]; 35396 assertUnrevoked(state); 35397 if (!this.has(value)) { 35398 prepareSetCopy(state); 35399 markChanged(state); 35400 state.copy_.add(value); 35401 } 35402 return this; 35403 } 35404 delete(value) { 35405 if (!this.has(value)) { 35406 return false; 35407 } 35408 const state = this[DRAFT_STATE]; 35409 assertUnrevoked(state); 35410 prepareSetCopy(state); 35411 markChanged(state); 35412 return state.copy_.delete(value) || (state.drafts_.has(value) ? state.copy_.delete(state.drafts_.get(value)) : ( 35413 /* istanbul ignore next */ 35414 false 35415 )); 35416 } 35417 clear() { 35418 const state = this[DRAFT_STATE]; 35419 assertUnrevoked(state); 35420 if (latest(state).size) { 35421 prepareSetCopy(state); 35422 markChanged(state); 35423 state.copy_.clear(); 35424 } 35425 } 35426 values() { 35427 const state = this[DRAFT_STATE]; 35428 assertUnrevoked(state); 35429 prepareSetCopy(state); 35430 return state.copy_.values(); 35431 } 35432 entries() { 35433 const state = this[DRAFT_STATE]; 35434 assertUnrevoked(state); 35435 prepareSetCopy(state); 35436 return state.copy_.entries(); 35437 } 35438 keys() { 35439 return this.values(); 35440 } 35441 [(DRAFT_STATE, Symbol.iterator)]() { 35442 return this.values(); 35443 } 35444 forEach(cb, thisArg) { 35445 const iterator = this.values(); 35446 let result = iterator.next(); 35447 while (!result.done) { 35448 cb.call(thisArg, result.value, result.value, this); 35449 result = iterator.next(); 35450 } 35451 } 35452 } 35453 function proxySet_(target, parent) { 35454 return new DraftSet(target, parent); 35455 } 35456 function prepareSetCopy(state) { 35457 if (!state.copy_) { 35458 state.copy_ = /* @__PURE__ */ new Set(); 35459 state.base_.forEach((value) => { 35460 if (isDraftable(value)) { 35461 const draft = createProxy(value, state); 35462 state.drafts_.set(value, draft); 35463 state.copy_.add(draft); 35464 } else { 35465 state.copy_.add(value); 35466 } 35467 }); 35468 } 35469 } 35470 function assertUnrevoked(state) { 35471 if (state.revoked_) 35472 die(3, JSON.stringify(latest(state))); 35473 } 35474 loadPlugin("MapSet", { proxyMap_, proxySet_ }); 35475} 35476 35477// src/immer.ts 35478var immer = new Immer2(); 35479var produce = immer.produce; 35480var produceWithPatches = immer.produceWithPatches.bind( 35481 immer 35482); 35483var setAutoFreeze = immer.setAutoFreeze.bind(immer); 35484var setUseStrictShallowCopy = immer.setUseStrictShallowCopy.bind(immer); 35485var applyPatches = immer.applyPatches.bind(immer); 35486var createDraft = immer.createDraft.bind(immer); 35487var finishDraft = immer.finishDraft.bind(immer); 35488function castDraft(value) { 35489 return value; 35490} 35491function castImmutable(value) { 35492 return value; 35493} 35494 35495//# sourceMappingURL=immer.mjs.map 35496 35497/***/ }), 35498
vendor: 2,134 bytes, lines 35499-35574
35499/***/ "./node_modules/internmap/src/index.js": 35500/*!*********************************************!*\ 35501 !*** ./node_modules/internmap/src/index.js ***! 35502 \*********************************************/ 35503/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 35504 35505__webpack_require__.r(__webpack_exports__); 35506/* harmony export */ __webpack_require__.d(__webpack_exports__, { 35507/* harmony export */ InternMap: () => (/* binding */ InternMap), 35508/* harmony export */ InternSet: () => (/* binding */ InternSet) 35509/* harmony export */ }); 35510class InternMap extends Map { 35511 constructor(entries, key = keyof) { 35512 super(); 35513 Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}}); 35514 if (entries != null) for (const [key, value] of entries) this.set(key, value); 35515 } 35516 get(key) { 35517 return super.get(intern_get(this, key)); 35518 } 35519 has(key) { 35520 return super.has(intern_get(this, key)); 35521 } 35522 set(key, value) { 35523 return super.set(intern_set(this, key), value); 35524 } 35525 delete(key) { 35526 return super.delete(intern_delete(this, key)); 35527 } 35528} 35529 35530class InternSet extends Set { 35531 constructor(values, key = keyof) { 35532 super(); 35533 Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}}); 35534 if (values != null) for (const value of values) this.add(value); 35535 } 35536 has(value) { 35537 return super.has(intern_get(this, value)); 35538 } 35539 add(value) { 35540 return super.add(intern_set(this, value)); 35541 } 35542 delete(value) { 35543 return super.delete(intern_delete(this, value)); 35544 } 35545} 35546 35547function intern_get({_intern, _key}, value) { 35548 const key = _key(value); 35549 return _intern.has(key) ? _intern.get(key) : value; 35550} 35551 35552function intern_set({_intern, _key}, value) { 35553 const key = _key(value); 35554 if (_intern.has(key)) return _intern.get(key); 35555 _intern.set(key, value); 35556 return value; 35557} 35558 35559function intern_delete({_intern, _key}, value) { 35560 const key = _key(value); 35561 if (_intern.has(key)) { 35562 value = _intern.get(key); 35563 _intern.delete(key); 35564 } 35565 return value; 35566} 35567 35568function keyof(value) { 35569 return value !== null && typeof value === "object" ? value.valueOf() : value; 35570} 35571 35572 35573/***/ }), 35574
vendor: 39,022 bytes, lines 35575-36709
35575/***/ "./node_modules/react-redux/dist/react-redux.mjs": 35576/*!*******************************************************!*\ 35577 !*** ./node_modules/react-redux/dist/react-redux.mjs ***! 35578 \*******************************************************/ 35579/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 35580 35581var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache; 35582__webpack_require__.r(__webpack_exports__); 35583/* harmony export */ __webpack_require__.d(__webpack_exports__, { 35584/* harmony export */ Provider: () => (/* binding */ Provider_default), 35585/* harmony export */ ReactReduxContext: () => (/* binding */ ReactReduxContext), 35586/* harmony export */ batch: () => (/* binding */ batch), 35587/* harmony export */ connect: () => (/* binding */ connect_default), 35588/* harmony export */ createDispatchHook: () => (/* binding */ createDispatchHook), 35589/* harmony export */ createSelectorHook: () => (/* binding */ createSelectorHook), 35590/* harmony export */ createStoreHook: () => (/* binding */ createStoreHook), 35591/* harmony export */ shallowEqual: () => (/* binding */ shallowEqual), 35592/* harmony export */ useDispatch: () => (/* binding */ useDispatch), 35593/* harmony export */ useSelector: () => (/* binding */ useSelector), 35594/* harmony export */ useStore: () => (/* binding */ useStore) 35595/* harmony export */ }); 35596/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); 35597/* harmony import */ var use_sync_external_store_with_selector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! use-sync-external-store/with-selector.js */ "./node_modules/use-sync-external-store/with-selector.js"); 35598// src/index.ts 35599 35600 35601 35602// src/utils/react.ts 35603 35604var React = ( 35605 // prettier-ignore 35606 // @ts-ignore 35607 true ? react__WEBPACK_IMPORTED_MODULE_0__ : /*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2))) 35608); 35609 35610// src/components/Context.ts 35611var ContextKey = Symbol.for(`react-redux-context`); 35612var gT = typeof globalThis !== "undefined" ? globalThis : ( 35613 /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */ 35614 {} 35615); 35616function getContext() { 35617 if (!React.createContext) 35618 return {}; 35619 const contextMap = gT[ContextKey] ?? (gT[ContextKey] = /* @__PURE__ */ new Map()); 35620 let realContext = contextMap.get(React.createContext); 35621 if (!realContext) { 35622 realContext = React.createContext( 35623 null 35624 ); 35625 if (true) { 35626 realContext.displayName = "ReactRedux"; 35627 } 35628 contextMap.set(React.createContext, realContext); 35629 } 35630 return realContext; 35631} 35632var ReactReduxContext = /* @__PURE__ */ getContext(); 35633 35634// src/utils/useSyncExternalStore.ts 35635var notInitialized = () => { 35636 throw new Error("uSES not initialized!"); 35637}; 35638 35639// src/hooks/useReduxContext.ts 35640function createReduxContextHook(context = ReactReduxContext) { 35641 return function useReduxContext2() { 35642 const contextValue = React.useContext(context); 35643 if ( true && !contextValue) { 35644 throw new Error( 35645 "could not find react-redux context value; please ensure the component is wrapped in a <Provider>" 35646 ); 35647 } 35648 return contextValue; 35649 }; 35650} 35651var useReduxContext = /* @__PURE__ */ createReduxContextHook(); 35652 35653// src/hooks/useSelector.ts 35654var useSyncExternalStoreWithSelector = notInitialized; 35655var initializeUseSelector = (fn) => { 35656 useSyncExternalStoreWithSelector = fn; 35657}; 35658var refEquality = (a, b) => a === b; 35659function createSelectorHook(context = ReactReduxContext) { 35660 const useReduxContext2 = context === ReactReduxContext ? useReduxContext : createReduxContextHook(context); 35661 const useSelector2 = (selector, equalityFnOrOptions = {}) => { 35662 const { equalityFn = refEquality, devModeChecks = {} } = typeof equalityFnOrOptions === "function" ? { equalityFn: equalityFnOrOptions } : equalityFnOrOptions; 35663 if (true) { 35664 if (!selector) { 35665 throw new Error(`You must pass a selector to useSelector`); 35666 } 35667 if (typeof selector !== "function") { 35668 throw new Error(`You must pass a function as a selector to useSelector`); 35669 } 35670 if (typeof equalityFn !== "function") { 35671 throw new Error( 35672 `You must pass a function as an equality function to useSelector` 35673 ); 35674 } 35675 } 35676 const { 35677 store, 35678 subscription, 35679 getServerState, 35680 stabilityCheck, 35681 identityFunctionCheck 35682 } = useReduxContext2(); 35683 const firstRun = React.useRef(true); 35684 const wrappedSelector = React.useCallback( 35685 { 35686 [selector.name](state) { 35687 const selected = selector(state); 35688 if (true) { 35689 const { 35690 identityFunctionCheck: finalIdentityFunctionCheck, 35691 stabilityCheck: finalStabilityCheck 35692 } = { 35693 stabilityCheck, 35694 identityFunctionCheck, 35695 ...devModeChecks 35696 }; 35697 if (finalStabilityCheck === "always" || finalStabilityCheck === "once" && firstRun.current) { 35698 const toCompare = selector(state); 35699 if (!equalityFn(selected, toCompare)) { 35700 let stack = void 0; 35701 try { 35702 throw new Error(); 35703 } catch (e) { 35704 ; 35705 ({ stack } = e); 35706 } 35707 console.warn( 35708 "Selector " + (selector.name || "unknown") + " returned a different result when called with the same parameters. This can lead to unnecessary rerenders.\nSelectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization", 35709 { 35710 state, 35711 selected, 35712 selected2: toCompare, 35713 stack 35714 } 35715 ); 35716 } 35717 } 35718 if (finalIdentityFunctionCheck === "always" || finalIdentityFunctionCheck === "once" && firstRun.current) { 35719 if (selected === state) { 35720 let stack = void 0; 35721 try { 35722 throw new Error(); 35723 } catch (e) { 35724 ; 35725 ({ stack } = e); 35726 } 35727 console.warn( 35728 "Selector " + (selector.name || "unknown") + " returned the root state when called. This can lead to unnecessary rerenders.\nSelectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.", 35729 { stack } 35730 ); 35731 } 35732 } 35733 if (firstRun.current) 35734 firstRun.current = false; 35735 } 35736 return selected; 35737 } 35738 }[selector.name], 35739 [selector, stabilityCheck, devModeChecks.stabilityCheck] 35740 ); 35741 const selectedState = useSyncExternalStoreWithSelector( 35742 subscription.addNestedSub, 35743 store.getState, 35744 getServerState || store.getState, 35745 wrappedSelector, 35746 equalityFn 35747 ); 35748 React.useDebugValue(selectedState); 35749 return selectedState; 35750 }; 35751 Object.assign(useSelector2, { 35752 withTypes: () => useSelector2 35753 }); 35754 return useSelector2; 35755} 35756var useSelector = /* @__PURE__ */ createSelectorHook(); 35757 35758// src/utils/react-is.ts 35759var REACT_ELEMENT_TYPE = Symbol.for("react.element"); 35760var REACT_PORTAL_TYPE = Symbol.for("react.portal"); 35761var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); 35762var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"); 35763var REACT_PROFILER_TYPE = Symbol.for("react.profiler"); 35764var REACT_PROVIDER_TYPE = Symbol.for("react.provider"); 35765var REACT_CONTEXT_TYPE = Symbol.for("react.context"); 35766var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"); 35767var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"); 35768var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"); 35769var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"); 35770var REACT_MEMO_TYPE = Symbol.for("react.memo"); 35771var REACT_LAZY_TYPE = Symbol.for("react.lazy"); 35772var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); 35773var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); 35774var ForwardRef = REACT_FORWARD_REF_TYPE; 35775var Memo = REACT_MEMO_TYPE; 35776function isValidElementType(type) { 35777 if (typeof type === "string" || typeof type === "function") { 35778 return true; 35779 } 35780 if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_OFFSCREEN_TYPE) { 35781 return true; 35782 } 35783 if (typeof type === "object" && type !== null) { 35784 if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object 35785 // types supported by any Flight configuration anywhere since 35786 // we don't know which Flight build this will end up being used 35787 // with. 35788 type.$$typeof === REACT_CLIENT_REFERENCE || type.getModuleId !== void 0) { 35789 return true; 35790 } 35791 } 35792 return false; 35793} 35794function typeOf(object) { 35795 if (typeof object === "object" && object !== null) { 35796 const $$typeof = object.$$typeof; 35797 switch ($$typeof) { 35798 case REACT_ELEMENT_TYPE: { 35799 const type = object.type; 35800 switch (type) { 35801 case REACT_FRAGMENT_TYPE: 35802 case REACT_PROFILER_TYPE: 35803 case REACT_STRICT_MODE_TYPE: 35804 case REACT_SUSPENSE_TYPE: 35805 case REACT_SUSPENSE_LIST_TYPE: 35806 return type; 35807 default: { 35808 const $$typeofType = type && type.$$typeof; 35809 switch ($$typeofType) { 35810 case REACT_SERVER_CONTEXT_TYPE: 35811 case REACT_CONTEXT_TYPE: 35812 case REACT_FORWARD_REF_TYPE: 35813 case REACT_LAZY_TYPE: 35814 case REACT_MEMO_TYPE: 35815 case REACT_PROVIDER_TYPE: 35816 return $$typeofType; 35817 default: 35818 return $$typeof; 35819 } 35820 } 35821 } 35822 } 35823 case REACT_PORTAL_TYPE: { 35824 return $$typeof; 35825 } 35826 } 35827 } 35828 return void 0; 35829} 35830function isContextConsumer(object) { 35831 return typeOf(object) === REACT_CONTEXT_TYPE; 35832} 35833function isMemo(object) { 35834 return typeOf(object) === REACT_MEMO_TYPE; 35835} 35836 35837// src/utils/warning.ts 35838function warning(message) { 35839 if (typeof console !== "undefined" && typeof console.error === "function") { 35840 console.error(message); 35841 } 35842 try { 35843 throw new Error(message); 35844 } catch (e) { 35845 } 35846} 35847 35848// src/connect/verifySubselectors.ts 35849function verify(selector, methodName) { 35850 if (!selector) { 35851 throw new Error(`Unexpected value for ${methodName} in connect.`); 35852 } else if (methodName === "mapStateToProps" || methodName === "mapDispatchToProps") { 35853 if (!Object.prototype.hasOwnProperty.call(selector, "dependsOnOwnProps")) { 35854 warning( 35855 `The selector for ${methodName} of connect did not specify a value for dependsOnOwnProps.` 35856 ); 35857 } 35858 } 35859} 35860function verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps) { 35861 verify(mapStateToProps, "mapStateToProps"); 35862 verify(mapDispatchToProps, "mapDispatchToProps"); 35863 verify(mergeProps, "mergeProps"); 35864} 35865 35866// src/connect/selectorFactory.ts 35867function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, { 35868 areStatesEqual, 35869 areOwnPropsEqual, 35870 areStatePropsEqual 35871}) { 35872 let hasRunAtLeastOnce = false; 35873 let state; 35874 let ownProps; 35875 let stateProps; 35876 let dispatchProps; 35877 let mergedProps; 35878 function handleFirstCall(firstState, firstOwnProps) { 35879 state = firstState; 35880 ownProps = firstOwnProps; 35881 stateProps = mapStateToProps(state, ownProps); 35882 dispatchProps = mapDispatchToProps(dispatch, ownProps); 35883 mergedProps = mergeProps(stateProps, dispatchProps, ownProps); 35884 hasRunAtLeastOnce = true; 35885 return mergedProps; 35886 } 35887 function handleNewPropsAndNewState() { 35888 stateProps = mapStateToProps(state, ownProps); 35889 if (mapDispatchToProps.dependsOnOwnProps) 35890 dispatchProps = mapDispatchToProps(dispatch, ownProps); 35891 mergedProps = mergeProps(stateProps, dispatchProps, ownProps); 35892 return mergedProps; 35893 } 35894 function handleNewProps() { 35895 if (mapStateToProps.dependsOnOwnProps) 35896 stateProps = mapStateToProps(state, ownProps); 35897 if (mapDispatchToProps.dependsOnOwnProps) 35898 dispatchProps = mapDispatchToProps(dispatch, ownProps); 35899 mergedProps = mergeProps(stateProps, dispatchProps, ownProps); 35900 return mergedProps; 35901 } 35902 function handleNewState() { 35903 const nextStateProps = mapStateToProps(state, ownProps); 35904 const statePropsChanged = !areStatePropsEqual(nextStateProps, stateProps); 35905 stateProps = nextStateProps; 35906 if (statePropsChanged) 35907 mergedProps = mergeProps(stateProps, dispatchProps, ownProps); 35908 return mergedProps; 35909 } 35910 function handleSubsequentCalls(nextState, nextOwnProps) { 35911 const propsChanged = !areOwnPropsEqual(nextOwnProps, ownProps); 35912 const stateChanged = !areStatesEqual( 35913 nextState, 35914 state, 35915 nextOwnProps, 35916 ownProps 35917 ); 35918 state = nextState; 35919 ownProps = nextOwnProps; 35920 if (propsChanged && stateChanged) 35921 return handleNewPropsAndNewState(); 35922 if (propsChanged) 35923 return handleNewProps(); 35924 if (stateChanged) 35925 return handleNewState(); 35926 return mergedProps; 35927 } 35928 return function pureFinalPropsSelector(nextState, nextOwnProps) { 35929 return hasRunAtLeastOnce ? handleSubsequentCalls(nextState, nextOwnProps) : handleFirstCall(nextState, nextOwnProps); 35930 }; 35931} 35932function finalPropsSelectorFactory(dispatch, { 35933 initMapStateToProps, 35934 initMapDispatchToProps, 35935 initMergeProps, 35936 ...options 35937}) { 35938 const mapStateToProps = initMapStateToProps(dispatch, options); 35939 const mapDispatchToProps = initMapDispatchToProps(dispatch, options); 35940 const mergeProps = initMergeProps(dispatch, options); 35941 if (true) { 35942 verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps); 35943 } 35944 return pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options); 35945} 35946 35947// src/utils/bindActionCreators.ts 35948function bindActionCreators(actionCreators, dispatch) { 35949 const boundActionCreators = {}; 35950 for (const key in actionCreators) { 35951 const actionCreator = actionCreators[key]; 35952 if (typeof actionCreator === "function") { 35953 boundActionCreators[key] = (...args) => dispatch(actionCreator(...args)); 35954 } 35955 } 35956 return boundActionCreators; 35957} 35958 35959// src/utils/isPlainObject.ts 35960function isPlainObject(obj) { 35961 if (typeof obj !== "object" || obj === null) 35962 return false; 35963 const proto = Object.getPrototypeOf(obj); 35964 if (proto === null) 35965 return true; 35966 let baseProto = proto; 35967 while (Object.getPrototypeOf(baseProto) !== null) { 35968 baseProto = Object.getPrototypeOf(baseProto); 35969 } 35970 return proto === baseProto; 35971} 35972 35973// src/utils/verifyPlainObject.ts 35974function verifyPlainObject(value, displayName, methodName) { 35975 if (!isPlainObject(value)) { 35976 warning( 35977 `${methodName}() in ${displayName} must return a plain object. Instead received ${value}.` 35978 ); 35979 } 35980} 35981 35982// src/connect/wrapMapToProps.ts 35983function wrapMapToPropsConstant(getConstant) { 35984 return function initConstantSelector(dispatch) { 35985 const constant = getConstant(dispatch); 35986 function constantSelector() { 35987 return constant; 35988 } 35989 constantSelector.dependsOnOwnProps = false; 35990 return constantSelector; 35991 }; 35992} 35993function getDependsOnOwnProps(mapToProps) { 35994 return mapToProps.dependsOnOwnProps ? Boolean(mapToProps.dependsOnOwnProps) : mapToProps.length !== 1; 35995} 35996function wrapMapToPropsFunc(mapToProps, methodName) { 35997 return function initProxySelector(dispatch, { displayName }) { 35998 const proxy = function mapToPropsProxy(stateOrDispatch, ownProps) { 35999 return proxy.dependsOnOwnProps ? proxy.mapToProps(stateOrDispatch, ownProps) : proxy.mapToProps(stateOrDispatch, void 0); 36000 }; 36001 proxy.dependsOnOwnProps = true; 36002 proxy.mapToProps = function detectFactoryAndVerify(stateOrDispatch, ownProps) { 36003 proxy.mapToProps = mapToProps; 36004 proxy.dependsOnOwnProps = getDependsOnOwnProps(mapToProps); 36005 let props = proxy(stateOrDispatch, ownProps); 36006 if (typeof props === "function") { 36007 proxy.mapToProps = props; 36008 proxy.dependsOnOwnProps = getDependsOnOwnProps(props); 36009 props = proxy(stateOrDispatch, ownProps); 36010 } 36011 if (true) 36012 verifyPlainObject(props, displayName, methodName); 36013 return props; 36014 }; 36015 return proxy; 36016 }; 36017} 36018 36019// src/connect/invalidArgFactory.ts 36020function createInvalidArgFactory(arg, name) { 36021 return (dispatch, options) => { 36022 throw new Error( 36023 `Invalid value of type ${typeof arg} for ${name} argument when connecting component ${options.wrappedComponentName}.` 36024 ); 36025 }; 36026} 36027 36028// src/connect/mapDispatchToProps.ts 36029function mapDispatchToPropsFactory(mapDispatchToProps) { 36030 return mapDispatchToProps && typeof mapDispatchToProps === "object" ? wrapMapToPropsConstant( 36031 (dispatch) => ( 36032 // @ts-ignore 36033 bindActionCreators(mapDispatchToProps, dispatch) 36034 ) 36035 ) : !mapDispatchToProps ? wrapMapToPropsConstant((dispatch) => ({ 36036 dispatch 36037 })) : typeof mapDispatchToProps === "function" ? ( 36038 // @ts-ignore 36039 wrapMapToPropsFunc(mapDispatchToProps, "mapDispatchToProps") 36040 ) : createInvalidArgFactory(mapDispatchToProps, "mapDispatchToProps"); 36041} 36042 36043// src/connect/mapStateToProps.ts 36044function mapStateToPropsFactory(mapStateToProps) { 36045 return !mapStateToProps ? wrapMapToPropsConstant(() => ({})) : typeof mapStateToProps === "function" ? ( 36046 // @ts-ignore 36047 wrapMapToPropsFunc(mapStateToProps, "mapStateToProps") 36048 ) : createInvalidArgFactory(mapStateToProps, "mapStateToProps"); 36049} 36050 36051// src/connect/mergeProps.ts 36052function defaultMergeProps(stateProps, dispatchProps, ownProps) { 36053 return { ...ownProps, ...stateProps, ...dispatchProps }; 36054} 36055function wrapMergePropsFunc(mergeProps) { 36056 return function initMergePropsProxy(dispatch, { displayName, areMergedPropsEqual }) { 36057 let hasRunOnce = false; 36058 let mergedProps; 36059 return function mergePropsProxy(stateProps, dispatchProps, ownProps) { 36060 const nextMergedProps = mergeProps(stateProps, dispatchProps, ownProps); 36061 if (hasRunOnce) { 36062 if (!areMergedPropsEqual(nextMergedProps, mergedProps)) 36063 mergedProps = nextMergedProps; 36064 } else { 36065 hasRunOnce = true; 36066 mergedProps = nextMergedProps; 36067 if (true) 36068 verifyPlainObject(mergedProps, displayName, "mergeProps"); 36069 } 36070 return mergedProps; 36071 }; 36072 }; 36073} 36074function mergePropsFactory(mergeProps) { 36075 return !mergeProps ? () => defaultMergeProps : typeof mergeProps === "function" ? wrapMergePropsFunc(mergeProps) : createInvalidArgFactory(mergeProps, "mergeProps"); 36076} 36077 36078// src/utils/batch.ts 36079function defaultNoopBatch(callback) { 36080 callback(); 36081} 36082 36083// src/utils/Subscription.ts 36084function createListenerCollection() { 36085 let first = null; 36086 let last = null; 36087 return { 36088 clear() { 36089 first = null; 36090 last = null; 36091 }, 36092 notify() { 36093 defaultNoopBatch(() => { 36094 let listener = first; 36095 while (listener) { 36096 listener.callback(); 36097 listener = listener.next; 36098 } 36099 }); 36100 }, 36101 get() { 36102 const listeners = []; 36103 let listener = first; 36104 while (listener) { 36105 listeners.push(listener); 36106 listener = listener.next; 36107 } 36108 return listeners; 36109 }, 36110 subscribe(callback) { 36111 let isSubscribed = true; 36112 const listener = last = { 36113 callback, 36114 next: null, 36115 prev: last 36116 }; 36117 if (listener.prev) { 36118 listener.prev.next = listener; 36119 } else { 36120 first = listener; 36121 } 36122 return function unsubscribe() { 36123 if (!isSubscribed || first === null) 36124 return; 36125 isSubscribed = false; 36126 if (listener.next) { 36127 listener.next.prev = listener.prev; 36128 } else { 36129 last = listener.prev; 36130 } 36131 if (listener.prev) { 36132 listener.prev.next = listener.next; 36133 } else { 36134 first = listener.next; 36135 } 36136 }; 36137 } 36138 }; 36139} 36140var nullListeners = { 36141 notify() { 36142 }, 36143 get: () => [] 36144}; 36145function createSubscription(store, parentSub) { 36146 let unsubscribe; 36147 let listeners = nullListeners; 36148 let subscriptionsAmount = 0; 36149 let selfSubscribed = false; 36150 function addNestedSub(listener) { 36151 trySubscribe(); 36152 const cleanupListener = listeners.subscribe(listener); 36153 let removed = false; 36154 return () => { 36155 if (!removed) { 36156 removed = true; 36157 cleanupListener(); 36158 tryUnsubscribe(); 36159 } 36160 }; 36161 } 36162 function notifyNestedSubs() { 36163 listeners.notify(); 36164 } 36165 function handleChangeWrapper() { 36166 if (subscription.onStateChange) { 36167 subscription.onStateChange(); 36168 } 36169 } 36170 function isSubscribed() { 36171 return selfSubscribed; 36172 } 36173 function trySubscribe() { 36174 subscriptionsAmount++; 36175 if (!unsubscribe) { 36176 unsubscribe = parentSub ? parentSub.addNestedSub(handleChangeWrapper) : store.subscribe(handleChangeWrapper); 36177 listeners = createListenerCollection(); 36178 } 36179 } 36180 function tryUnsubscribe() { 36181 subscriptionsAmount--; 36182 if (unsubscribe && subscriptionsAmount === 0) { 36183 unsubscribe(); 36184 unsubscribe = void 0; 36185 listeners.clear(); 36186 listeners = nullListeners; 36187 } 36188 } 36189 function trySubscribeSelf() { 36190 if (!selfSubscribed) { 36191 selfSubscribed = true; 36192 trySubscribe(); 36193 } 36194 } 36195 function tryUnsubscribeSelf() { 36196 if (selfSubscribed) { 36197 selfSubscribed = false; 36198 tryUnsubscribe(); 36199 } 36200 } 36201 const subscription = { 36202 addNestedSub, 36203 notifyNestedSubs, 36204 handleChangeWrapper, 36205 isSubscribed, 36206 trySubscribe: trySubscribeSelf, 36207 tryUnsubscribe: tryUnsubscribeSelf, 36208 getListeners: () => listeners 36209 }; 36210 return subscription; 36211} 36212 36213// src/utils/useIsomorphicLayoutEffect.ts 36214var canUseDOM = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined"); 36215var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative"; 36216var useIsomorphicLayoutEffect = canUseDOM || isReactNative ? React.useLayoutEffect : React.useEffect; 36217 36218// src/utils/shallowEqual.ts 36219function is(x, y) { 36220 if (x === y) { 36221 return x !== 0 || y !== 0 || 1 / x === 1 / y; 36222 } else { 36223 return x !== x && y !== y; 36224 } 36225} 36226function shallowEqual(objA, objB) { 36227 if (is(objA, objB)) 36228 return true; 36229 if (typeof objA !== "object" || objA === null || typeof objB !== "object" || objB === null) { 36230 return false; 36231 } 36232 const keysA = Object.keys(objA); 36233 const keysB = Object.keys(objB); 36234 if (keysA.length !== keysB.length) 36235 return false; 36236 for (let i = 0; i < keysA.length; i++) { 36237 if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) { 36238 return false; 36239 } 36240 } 36241 return true; 36242} 36243 36244// src/utils/hoistStatics.ts 36245var REACT_STATICS = { 36246 childContextTypes: true, 36247 contextType: true, 36248 contextTypes: true, 36249 defaultProps: true, 36250 displayName: true, 36251 getDefaultProps: true, 36252 getDerivedStateFromError: true, 36253 getDerivedStateFromProps: true, 36254 mixins: true, 36255 propTypes: true, 36256 type: true 36257}; 36258var KNOWN_STATICS = { 36259 name: true, 36260 length: true, 36261 prototype: true, 36262 caller: true, 36263 callee: true, 36264 arguments: true, 36265 arity: true 36266}; 36267var FORWARD_REF_STATICS = { 36268 $$typeof: true, 36269 render: true, 36270 defaultProps: true, 36271 displayName: true, 36272 propTypes: true 36273}; 36274var MEMO_STATICS = { 36275 $$typeof: true, 36276 compare: true, 36277 defaultProps: true, 36278 displayName: true, 36279 propTypes: true, 36280 type: true 36281}; 36282var TYPE_STATICS = { 36283 [ForwardRef]: FORWARD_REF_STATICS, 36284 [Memo]: MEMO_STATICS 36285}; 36286function getStatics(component) { 36287 if (isMemo(component)) { 36288 return MEMO_STATICS; 36289 } 36290 return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS; 36291} 36292var defineProperty = Object.defineProperty; 36293var getOwnPropertyNames = Object.getOwnPropertyNames; 36294var getOwnPropertySymbols = Object.getOwnPropertySymbols; 36295var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 36296var getPrototypeOf = Object.getPrototypeOf; 36297var objectPrototype = Object.prototype; 36298function hoistNonReactStatics(targetComponent, sourceComponent) { 36299 if (typeof sourceComponent !== "string") { 36300 if (objectPrototype) { 36301 const inheritedComponent = getPrototypeOf(sourceComponent); 36302 if (inheritedComponent && inheritedComponent !== objectPrototype) { 36303 hoistNonReactStatics(targetComponent, inheritedComponent); 36304 } 36305 } 36306 let keys = getOwnPropertyNames(sourceComponent); 36307 if (getOwnPropertySymbols) { 36308 keys = keys.concat(getOwnPropertySymbols(sourceComponent)); 36309 } 36310 const targetStatics = getStatics(targetComponent); 36311 const sourceStatics = getStatics(sourceComponent); 36312 for (let i = 0; i < keys.length; ++i) { 36313 const key = keys[i]; 36314 if (!KNOWN_STATICS[key] && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { 36315 const descriptor = getOwnPropertyDescriptor(sourceComponent, key); 36316 try { 36317 defineProperty(targetComponent, key, descriptor); 36318 } catch (e) { 36319 } 36320 } 36321 } 36322 } 36323 return targetComponent; 36324} 36325 36326// src/components/connect.tsx 36327var useSyncExternalStore = notInitialized; 36328var initializeConnect = (fn) => { 36329 useSyncExternalStore = fn; 36330}; 36331var NO_SUBSCRIPTION_ARRAY = [null, null]; 36332var stringifyComponent = (Comp) => { 36333 try { 36334 return JSON.stringify(Comp); 36335 } catch (err) { 36336 return String(Comp); 36337 } 36338}; 36339function useIsomorphicLayoutEffectWithArgs(effectFunc, effectArgs, dependencies) { 36340 useIsomorphicLayoutEffect(() => effectFunc(...effectArgs), dependencies); 36341} 36342function captureWrapperProps(lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, childPropsFromStoreUpdate, notifyNestedSubs) { 36343 lastWrapperProps.current = wrapperProps; 36344 renderIsScheduled.current = false; 36345 if (childPropsFromStoreUpdate.current) { 36346 childPropsFromStoreUpdate.current = null; 36347 notifyNestedSubs(); 36348 } 36349} 36350function subscribeUpdates(shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, isMounted, childPropsFromStoreUpdate, notifyNestedSubs, additionalSubscribeListener) { 36351 if (!shouldHandleStateChanges) 36352 return () => { 36353 }; 36354 let didUnsubscribe = false; 36355 let lastThrownError = null; 36356 const checkForUpdates = () => { 36357 if (didUnsubscribe || !isMounted.current) { 36358 return; 36359 } 36360 const latestStoreState = store.getState(); 36361 let newChildProps, error; 36362 try { 36363 newChildProps = childPropsSelector( 36364 latestStoreState, 36365 lastWrapperProps.current 36366 ); 36367 } catch (e) { 36368 error = e; 36369 lastThrownError = e; 36370 } 36371 if (!error) { 36372 lastThrownError = null; 36373 } 36374 if (newChildProps === lastChildProps.current) { 36375 if (!renderIsScheduled.current) { 36376 notifyNestedSubs(); 36377 } 36378 } else { 36379 lastChildProps.current = newChildProps; 36380 childPropsFromStoreUpdate.current = newChildProps; 36381 renderIsScheduled.current = true; 36382 additionalSubscribeListener(); 36383 } 36384 }; 36385 subscription.onStateChange = checkForUpdates; 36386 subscription.trySubscribe(); 36387 checkForUpdates(); 36388 const unsubscribeWrapper = () => { 36389 didUnsubscribe = true; 36390 subscription.tryUnsubscribe(); 36391 subscription.onStateChange = null; 36392 if (lastThrownError) { 36393 throw lastThrownError; 36394 } 36395 }; 36396 return unsubscribeWrapper; 36397} 36398function strictEqual(a, b) { 36399 return a === b; 36400} 36401var hasWarnedAboutDeprecatedPureOption = false; 36402function connect(mapStateToProps, mapDispatchToProps, mergeProps, { 36403 // The `pure` option has been removed, so TS doesn't like us destructuring this to check its existence. 36404 // @ts-ignore 36405 pure, 36406 areStatesEqual = strictEqual, 36407 areOwnPropsEqual = shallowEqual, 36408 areStatePropsEqual = shallowEqual, 36409 areMergedPropsEqual = shallowEqual, 36410 // use React's forwardRef to expose a ref of the wrapped component 36411 forwardRef = false, 36412 // the context consumer to use 36413 context = ReactReduxContext 36414} = {}) { 36415 if (true) { 36416 if (pure !== void 0 && !hasWarnedAboutDeprecatedPureOption) { 36417 hasWarnedAboutDeprecatedPureOption = true; 36418 warning( 36419 'The `pure` option has been removed. `connect` is now always a "pure/memoized" component' 36420 ); 36421 } 36422 } 36423 const Context = context; 36424 const initMapStateToProps = mapStateToPropsFactory(mapStateToProps); 36425 const initMapDispatchToProps = mapDispatchToPropsFactory(mapDispatchToProps); 36426 const initMergeProps = mergePropsFactory(mergeProps); 36427 const shouldHandleStateChanges = Boolean(mapStateToProps); 36428 const wrapWithConnect = (WrappedComponent) => { 36429 if (true) { 36430 const isValid = /* @__PURE__ */ isValidElementType(WrappedComponent); 36431 if (!isValid) 36432 throw new Error( 36433 `You must pass a component to the function returned by connect. Instead received ${stringifyComponent( 36434 WrappedComponent 36435 )}` 36436 ); 36437 } 36438 const wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || "Component"; 36439 const displayName = `Connect(${wrappedComponentName})`; 36440 const selectorFactoryOptions = { 36441 shouldHandleStateChanges, 36442 displayName, 36443 wrappedComponentName, 36444 WrappedComponent, 36445 // @ts-ignore 36446 initMapStateToProps, 36447 // @ts-ignore 36448 initMapDispatchToProps, 36449 initMergeProps, 36450 areStatesEqual, 36451 areStatePropsEqual, 36452 areOwnPropsEqual, 36453 areMergedPropsEqual 36454 }; 36455 function ConnectFunction(props) { 36456 const [propsContext, reactReduxForwardedRef, wrapperProps] = React.useMemo(() => { 36457 const { reactReduxForwardedRef: reactReduxForwardedRef2, ...wrapperProps2 } = props; 36458 return [props.context, reactReduxForwardedRef2, wrapperProps2]; 36459 }, [props]); 36460 const ContextToUse = React.useMemo(() => { 36461 let ResultContext = Context; 36462 if (propsContext?.Consumer) { 36463 if (true) { 36464 const isValid = /* @__PURE__ */ isContextConsumer( 36465 // @ts-ignore 36466 /* @__PURE__ */ React.createElement(propsContext.Consumer, null) 36467 ); 36468 if (!isValid) { 36469 throw new Error( 36470 "You must pass a valid React context consumer as `props.context`" 36471 ); 36472 } 36473 ResultContext = propsContext; 36474 } 36475 } 36476 return ResultContext; 36477 }, [propsContext, Context]); 36478 const contextValue = React.useContext(ContextToUse); 36479 const didStoreComeFromProps = Boolean(props.store) && Boolean(props.store.getState) && Boolean(props.store.dispatch); 36480 const didStoreComeFromContext = Boolean(contextValue) && Boolean(contextValue.store); 36481 if ( true && !didStoreComeFromProps && !didStoreComeFromContext) { 36482 throw new Error( 36483 `Could not find "store" in the context of "${displayName}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${displayName} in connect options.` 36484 ); 36485 } 36486 const store = didStoreComeFromProps ? props.store : contextValue.store; 36487 const getServerState = didStoreComeFromContext ? contextValue.getServerState : store.getState; 36488 const childPropsSelector = React.useMemo(() => { 36489 return finalPropsSelectorFactory(store.dispatch, selectorFactoryOptions); 36490 }, [store]); 36491 const [subscription, notifyNestedSubs] = React.useMemo(() => { 36492 if (!shouldHandleStateChanges) 36493 return NO_SUBSCRIPTION_ARRAY; 36494 const subscription2 = createSubscription( 36495 store, 36496 didStoreComeFromProps ? void 0 : contextValue.subscription 36497 ); 36498 const notifyNestedSubs2 = subscription2.notifyNestedSubs.bind(subscription2); 36499 return [subscription2, notifyNestedSubs2]; 36500 }, [store, didStoreComeFromProps, contextValue]); 36501 const overriddenContextValue = React.useMemo(() => { 36502 if (didStoreComeFromProps) { 36503 return contextValue; 36504 } 36505 return { 36506 ...contextValue, 36507 subscription 36508 }; 36509 }, [didStoreComeFromProps, contextValue, subscription]); 36510 const lastChildProps = React.useRef(void 0); 36511 const lastWrapperProps = React.useRef(wrapperProps); 36512 const childPropsFromStoreUpdate = React.useRef(void 0); 36513 const renderIsScheduled = React.useRef(false); 36514 const isMounted = React.useRef(false); 36515 const latestSubscriptionCallbackError = React.useRef( 36516 void 0 36517 ); 36518 useIsomorphicLayoutEffect(() => { 36519 isMounted.current = true; 36520 return () => { 36521 isMounted.current = false; 36522 }; 36523 }, []); 36524 const actualChildPropsSelector = React.useMemo(() => { 36525 const selector = () => { 36526 if (childPropsFromStoreUpdate.current && wrapperProps === lastWrapperProps.current) { 36527 return childPropsFromStoreUpdate.current; 36528 } 36529 return childPropsSelector(store.getState(), wrapperProps); 36530 }; 36531 return selector; 36532 }, [store, wrapperProps]); 36533 const subscribeForReact = React.useMemo(() => { 36534 const subscribe = (reactListener) => { 36535 if (!subscription) { 36536 return () => { 36537 }; 36538 } 36539 return subscribeUpdates( 36540 shouldHandleStateChanges, 36541 store, 36542 subscription, 36543 // @ts-ignore 36544 childPropsSelector, 36545 lastWrapperProps, 36546 lastChildProps, 36547 renderIsScheduled, 36548 isMounted, 36549 childPropsFromStoreUpdate, 36550 notifyNestedSubs, 36551 reactListener 36552 ); 36553 }; 36554 return subscribe; 36555 }, [subscription]); 36556 useIsomorphicLayoutEffectWithArgs(captureWrapperProps, [ 36557 lastWrapperProps, 36558 lastChildProps, 36559 renderIsScheduled, 36560 wrapperProps, 36561 childPropsFromStoreUpdate, 36562 notifyNestedSubs 36563 ]); 36564 let actualChildProps; 36565 try { 36566 actualChildProps = useSyncExternalStore( 36567 // TODO We're passing through a big wrapper that does a bunch of extra side effects besides subscribing 36568 subscribeForReact, 36569 // TODO This is incredibly hacky. We've already processed the store update and calculated new child props, 36570 // TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`. 36571 actualChildPropsSelector, 36572 getServerState ? () => childPropsSelector(getServerState(), wrapperProps) : actualChildPropsSelector 36573 ); 36574 } catch (err) { 36575 if (latestSubscriptionCallbackError.current) { 36576 ; 36577 err.message += ` 36578The error may be correlated with this previous error: 36579${latestSubscriptionCallbackError.current.stack} 36580 36581`; 36582 } 36583 throw err; 36584 } 36585 useIsomorphicLayoutEffect(() => { 36586 latestSubscriptionCallbackError.current = void 0; 36587 childPropsFromStoreUpdate.current = void 0; 36588 lastChildProps.current = actualChildProps; 36589 }); 36590 const renderedWrappedComponent = React.useMemo(() => { 36591 return ( 36592 // @ts-ignore 36593 /* @__PURE__ */ React.createElement( 36594 WrappedComponent, 36595 { 36596 ...actualChildProps, 36597 ref: reactReduxForwardedRef 36598 } 36599 ) 36600 ); 36601 }, [reactReduxForwardedRef, WrappedComponent, actualChildProps]); 36602 const renderedChild = React.useMemo(() => { 36603 if (shouldHandleStateChanges) { 36604 return /* @__PURE__ */ React.createElement(ContextToUse.Provider, { value: overriddenContextValue }, renderedWrappedComponent); 36605 } 36606 return renderedWrappedComponent; 36607 }, [ContextToUse, renderedWrappedComponent, overriddenContextValue]); 36608 return renderedChild; 36609 } 36610 const _Connect = React.memo(ConnectFunction); 36611 const Connect = _Connect; 36612 Connect.WrappedComponent = WrappedComponent; 36613 Connect.displayName = ConnectFunction.displayName = displayName; 36614 if (forwardRef) { 36615 const _forwarded = React.forwardRef( 36616 function forwardConnectRef(props, ref) { 36617 return /* @__PURE__ */ React.createElement(Connect, { ...props, reactReduxForwardedRef: ref }); 36618 } 36619 ); 36620 const forwarded = _forwarded; 36621 forwarded.displayName = displayName; 36622 forwarded.WrappedComponent = WrappedComponent; 36623 return /* @__PURE__ */ hoistNonReactStatics(forwarded, WrappedComponent); 36624 } 36625 return /* @__PURE__ */ hoistNonReactStatics(Connect, WrappedComponent); 36626 }; 36627 return wrapWithConnect; 36628} 36629var connect_default = connect; 36630 36631// src/components/Provider.tsx 36632function Provider({ 36633 store, 36634 context, 36635 children, 36636 serverState, 36637 stabilityCheck = "once", 36638 identityFunctionCheck = "once" 36639}) { 36640 const contextValue = React.useMemo(() => { 36641 const subscription = createSubscription(store); 36642 return { 36643 store, 36644 subscription, 36645 getServerState: serverState ? () => serverState : void 0, 36646 stabilityCheck, 36647 identityFunctionCheck 36648 }; 36649 }, [store, serverState, stabilityCheck, identityFunctionCheck]); 36650 const previousState = React.useMemo(() => store.getState(), [store]); 36651 useIsomorphicLayoutEffect(() => { 36652 const { subscription } = contextValue; 36653 subscription.onStateChange = subscription.notifyNestedSubs; 36654 subscription.trySubscribe(); 36655 if (previousState !== store.getState()) { 36656 subscription.notifyNestedSubs(); 36657 } 36658 return () => { 36659 subscription.tryUnsubscribe(); 36660 subscription.onStateChange = void 0; 36661 }; 36662 }, [contextValue, previousState]); 36663 const Context = context || ReactReduxContext; 36664 return /* @__PURE__ */ React.createElement(Context.Provider, { value: contextValue }, children); 36665} 36666var Provider_default = Provider; 36667 36668// src/hooks/useStore.ts 36669function createStoreHook(context = ReactReduxContext) { 36670 const useReduxContext2 = context === ReactReduxContext ? useReduxContext : ( 36671 // @ts-ignore 36672 createReduxContextHook(context) 36673 ); 36674 const useStore2 = () => { 36675 const { store } = useReduxContext2(); 36676 return store; 36677 }; 36678 Object.assign(useStore2, { 36679 withTypes: () => useStore2 36680 }); 36681 return useStore2; 36682} 36683var useStore = /* @__PURE__ */ createStoreHook(); 36684 36685// src/hooks/useDispatch.ts 36686function createDispatchHook(context = ReactReduxContext) { 36687 const useStore2 = context === ReactReduxContext ? useStore : createStoreHook(context); 36688 const useDispatch2 = () => { 36689 const store = useStore2(); 36690 return store.dispatch; 36691 }; 36692 Object.assign(useDispatch2, { 36693 withTypes: () => useDispatch2 36694 }); 36695 return useDispatch2; 36696} 36697var useDispatch = /* @__PURE__ */ createDispatchHook(); 36698 36699// src/exports.ts 36700var batch = defaultNoopBatch; 36701 36702// src/index.ts 36703initializeUseSelector(use_sync_external_store_with_selector_js__WEBPACK_IMPORTED_MODULE_1__.useSyncExternalStoreWithSelector); 36704initializeConnect(react__WEBPACK_IMPORTED_MODULE_0__.useSyncExternalStore); 36705 36706//# sourceMappingURL=react-redux.mjs.map 36707 36708/***/ }), 36709
vendor: 998 bytes, lines 36710-36737
36710/***/ "./node_modules/redux-thunk/dist/redux-thunk.mjs": 36711/*!*******************************************************!*\ 36712 !*** ./node_modules/redux-thunk/dist/redux-thunk.mjs ***! 36713 \*******************************************************/ 36714/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 36715 36716__webpack_require__.r(__webpack_exports__); 36717/* harmony export */ __webpack_require__.d(__webpack_exports__, { 36718/* harmony export */ thunk: () => (/* binding */ thunk), 36719/* harmony export */ withExtraArgument: () => (/* binding */ withExtraArgument) 36720/* harmony export */ }); 36721// src/index.ts 36722function createThunkMiddleware(extraArgument) { 36723 const middleware = ({ dispatch, getState }) => (next) => (action) => { 36724 if (typeof action === "function") { 36725 return action(dispatch, getState, extraArgument); 36726 } 36727 return next(action); 36728 }; 36729 return middleware; 36730} 36731var thunk = createThunkMiddleware(); 36732var withExtraArgument = createThunkMiddleware; 36733 36734 36735 36736/***/ }), 36737
vendor: 16,562 bytes, lines 36738-37145
36738/***/ "./node_modules/redux/dist/redux.mjs": 36739/*!*******************************************!*\ 36740 !*** ./node_modules/redux/dist/redux.mjs ***! 36741 \*******************************************/ 36742/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 36743 36744__webpack_require__.r(__webpack_exports__); 36745/* harmony export */ __webpack_require__.d(__webpack_exports__, { 36746/* harmony export */ __DO_NOT_USE__ActionTypes: () => (/* binding */ actionTypes_default), 36747/* harmony export */ applyMiddleware: () => (/* binding */ applyMiddleware), 36748/* harmony export */ bindActionCreators: () => (/* binding */ bindActionCreators), 36749/* harmony export */ combineReducers: () => (/* binding */ combineReducers), 36750/* harmony export */ compose: () => (/* binding */ compose), 36751/* harmony export */ createStore: () => (/* binding */ createStore), 36752/* harmony export */ isAction: () => (/* binding */ isAction), 36753/* harmony export */ isPlainObject: () => (/* binding */ isPlainObject), 36754/* harmony export */ legacy_createStore: () => (/* binding */ legacy_createStore) 36755/* harmony export */ }); 36756// src/utils/formatProdErrorMessage.ts 36757function formatProdErrorMessage(code) { 36758 return `Minified Redux error #${code}; visit https://redux.js.org/Errors?code=${code} for the full message or use the non-minified dev environment for full errors. `; 36759} 36760 36761// src/utils/symbol-observable.ts 36762var $$observable = /* @__PURE__ */ (() => typeof Symbol === "function" && Symbol.observable || "@@observable")(); 36763var symbol_observable_default = $$observable; 36764 36765// src/utils/actionTypes.ts 36766var randomString = () => Math.random().toString(36).substring(7).split("").join("."); 36767var ActionTypes = { 36768 INIT: `@@redux/INIT${/* @__PURE__ */ randomString()}`, 36769 REPLACE: `@@redux/REPLACE${/* @__PURE__ */ randomString()}`, 36770 PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${randomString()}` 36771}; 36772var actionTypes_default = ActionTypes; 36773 36774// src/utils/isPlainObject.ts 36775function isPlainObject(obj) { 36776 if (typeof obj !== "object" || obj === null) 36777 return false; 36778 let proto = obj; 36779 while (Object.getPrototypeOf(proto) !== null) { 36780 proto = Object.getPrototypeOf(proto); 36781 } 36782 return Object.getPrototypeOf(obj) === proto || Object.getPrototypeOf(obj) === null; 36783} 36784 36785// src/utils/kindOf.ts 36786function miniKindOf(val) { 36787 if (val === void 0) 36788 return "undefined"; 36789 if (val === null) 36790 return "null"; 36791 const type = typeof val; 36792 switch (type) { 36793 case "boolean": 36794 case "string": 36795 case "number": 36796 case "symbol": 36797 case "function": { 36798 return type; 36799 } 36800 } 36801 if (Array.isArray(val)) 36802 return "array"; 36803 if (isDate(val)) 36804 return "date"; 36805 if (isError(val)) 36806 return "error"; 36807 const constructorName = ctorName(val); 36808 switch (constructorName) { 36809 case "Symbol": 36810 case "Promise": 36811 case "WeakMap": 36812 case "WeakSet": 36813 case "Map": 36814 case "Set": 36815 return constructorName; 36816 } 36817 return Object.prototype.toString.call(val).slice(8, -1).toLowerCase().replace(/\s/g, ""); 36818} 36819function ctorName(val) { 36820 return typeof val.constructor === "function" ? val.constructor.name : null; 36821} 36822function isError(val) { 36823 return val instanceof Error || typeof val.message === "string" && val.constructor && typeof val.constructor.stackTraceLimit === "number"; 36824} 36825function isDate(val) { 36826 if (val instanceof Date) 36827 return true; 36828 return typeof val.toDateString === "function" && typeof val.getDate === "function" && typeof val.setDate === "function"; 36829} 36830function kindOf(val) { 36831 let typeOfVal = typeof val; 36832 if (true) { 36833 typeOfVal = miniKindOf(val); 36834 } 36835 return typeOfVal; 36836} 36837 36838// src/createStore.ts 36839function createStore(reducer, preloadedState, enhancer) { 36840 if (typeof reducer !== "function") { 36841 throw new Error( false ? 0 : `Expected the root reducer to be a function. Instead, received: '${kindOf(reducer)}'`); 36842 } 36843 if (typeof preloadedState === "function" && typeof enhancer === "function" || typeof enhancer === "function" && typeof arguments[3] === "function") { 36844 throw new Error( false ? 0 : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example."); 36845 } 36846 if (typeof preloadedState === "function" && typeof enhancer === "undefined") { 36847 enhancer = preloadedState; 36848 preloadedState = void 0; 36849 } 36850 if (typeof enhancer !== "undefined") { 36851 if (typeof enhancer !== "function") { 36852 throw new Error( false ? 0 : `Expected the enhancer to be a function. Instead, received: '${kindOf(enhancer)}'`); 36853 } 36854 return enhancer(createStore)(reducer, preloadedState); 36855 } 36856 let currentReducer = reducer; 36857 let currentState = preloadedState; 36858 let currentListeners = /* @__PURE__ */ new Map(); 36859 let nextListeners = currentListeners; 36860 let listenerIdCounter = 0; 36861 let isDispatching = false; 36862 function ensureCanMutateNextListeners() { 36863 if (nextListeners === currentListeners) { 36864 nextListeners = /* @__PURE__ */ new Map(); 36865 currentListeners.forEach((listener, key) => { 36866 nextListeners.set(key, listener); 36867 }); 36868 } 36869 } 36870 function getState() { 36871 if (isDispatching) { 36872 throw new Error( false ? 0 : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store."); 36873 } 36874 return currentState; 36875 } 36876 function subscribe(listener) { 36877 if (typeof listener !== "function") { 36878 throw new Error( false ? 0 : `Expected the listener to be a function. Instead, received: '${kindOf(listener)}'`); 36879 } 36880 if (isDispatching) { 36881 throw new Error( false ? 0 : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details."); 36882 } 36883 let isSubscribed = true; 36884 ensureCanMutateNextListeners(); 36885 const listenerId = listenerIdCounter++; 36886 nextListeners.set(listenerId, listener); 36887 return function unsubscribe() { 36888 if (!isSubscribed) { 36889 return; 36890 } 36891 if (isDispatching) { 36892 throw new Error( false ? 0 : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details."); 36893 } 36894 isSubscribed = false; 36895 ensureCanMutateNextListeners(); 36896 nextListeners.delete(listenerId); 36897 currentListeners = null; 36898 }; 36899 } 36900 function dispatch(action) { 36901 if (!isPlainObject(action)) { 36902 throw new Error( false ? 0 : `Actions must be plain objects. Instead, the actual type was: '${kindOf(action)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`); 36903 } 36904 if (typeof action.type === "undefined") { 36905 throw new Error( false ? 0 : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.'); 36906 } 36907 if (typeof action.type !== "string") { 36908 throw new Error( false ? 0 : `Action "type" property must be a string. Instead, the actual type was: '${kindOf(action.type)}'. Value was: '${action.type}' (stringified)`); 36909 } 36910 if (isDispatching) { 36911 throw new Error( false ? 0 : "Reducers may not dispatch actions."); 36912 } 36913 try { 36914 isDispatching = true; 36915 currentState = currentReducer(currentState, action); 36916 } finally { 36917 isDispatching = false; 36918 } 36919 const listeners = currentListeners = nextListeners; 36920 listeners.forEach((listener) => { 36921 listener(); 36922 }); 36923 return action; 36924 } 36925 function replaceReducer(nextReducer) { 36926 if (typeof nextReducer !== "function") { 36927 throw new Error( false ? 0 : `Expected the nextReducer to be a function. Instead, received: '${kindOf(nextReducer)}`); 36928 } 36929 currentReducer = nextReducer; 36930 dispatch({ 36931 type: actionTypes_default.REPLACE 36932 }); 36933 } 36934 function observable() { 36935 const outerSubscribe = subscribe; 36936 return { 36937 /** 36938 * The minimal observable subscription method. 36939 * @param observer Any object that can be used as an observer. 36940 * The observer object should have a `next` method. 36941 * @returns An object with an `unsubscribe` method that can 36942 * be used to unsubscribe the observable from the store, and prevent further 36943 * emission of values from the observable. 36944 */ 36945 subscribe(observer) { 36946 if (typeof observer !== "object" || observer === null) { 36947 throw new Error( false ? 0 : `Expected the observer to be an object. Instead, received: '${kindOf(observer)}'`); 36948 } 36949 function observeState() { 36950 const observerAsObserver = observer; 36951 if (observerAsObserver.next) { 36952 observerAsObserver.next(getState()); 36953 } 36954 } 36955 observeState(); 36956 const unsubscribe = outerSubscribe(observeState); 36957 return { 36958 unsubscribe 36959 }; 36960 }, 36961 [symbol_observable_default]() { 36962 return this; 36963 } 36964 }; 36965 } 36966 dispatch({ 36967 type: actionTypes_default.INIT 36968 }); 36969 const store = { 36970 dispatch, 36971 subscribe, 36972 getState, 36973 replaceReducer, 36974 [symbol_observable_default]: observable 36975 }; 36976 return store; 36977} 36978function legacy_createStore(reducer, preloadedState, enhancer) { 36979 return createStore(reducer, preloadedState, enhancer); 36980} 36981 36982// src/utils/warning.ts 36983function warning(message) { 36984 if (typeof console !== "undefined" && typeof console.error === "function") { 36985 console.error(message); 36986 } 36987 try { 36988 throw new Error(message); 36989 } catch (e) { 36990 } 36991} 36992 36993// src/combineReducers.ts 36994function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) { 36995 const reducerKeys = Object.keys(reducers); 36996 const argumentName = action && action.type === actionTypes_default.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer"; 36997 if (reducerKeys.length === 0) { 36998 return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers."; 36999 } 37000 if (!isPlainObject(inputState)) { 37001 return `The ${argumentName} has unexpected type of "${kindOf(inputState)}". Expected argument to be an object with the following keys: "${reducerKeys.join('", "')}"`; 37002 } 37003 const unexpectedKeys = Object.keys(inputState).filter((key) => !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key]); 37004 unexpectedKeys.forEach((key) => { 37005 unexpectedKeyCache[key] = true; 37006 }); 37007 if (action && action.type === actionTypes_default.REPLACE) 37008 return; 37009 if (unexpectedKeys.length > 0) { 37010 return `Unexpected ${unexpectedKeys.length > 1 ? "keys" : "key"} "${unexpectedKeys.join('", "')}" found in ${argumentName}. Expected to find one of the known reducer keys instead: "${reducerKeys.join('", "')}". Unexpected keys will be ignored.`; 37011 } 37012} 37013function assertReducerShape(reducers) { 37014 Object.keys(reducers).forEach((key) => { 37015 const reducer = reducers[key]; 37016 const initialState = reducer(void 0, { 37017 type: actionTypes_default.INIT 37018 }); 37019 if (typeof initialState === "undefined") { 37020 throw new Error( false ? 0 : `The slice reducer for key "${key}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`); 37021 } 37022 if (typeof reducer(void 0, { 37023 type: actionTypes_default.PROBE_UNKNOWN_ACTION() 37024 }) === "undefined") { 37025 throw new Error( false ? 0 : `The slice reducer for key "${key}" returned undefined when probed with a random type. Don't try to handle '${actionTypes_default.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`); 37026 } 37027 }); 37028} 37029function combineReducers(reducers) { 37030 const reducerKeys = Object.keys(reducers); 37031 const finalReducers = {}; 37032 for (let i = 0; i < reducerKeys.length; i++) { 37033 const key = reducerKeys[i]; 37034 if (true) { 37035 if (typeof reducers[key] === "undefined") { 37036 warning(`No reducer provided for key "${key}"`); 37037 } 37038 } 37039 if (typeof reducers[key] === "function") { 37040 finalReducers[key] = reducers[key]; 37041 } 37042 } 37043 const finalReducerKeys = Object.keys(finalReducers); 37044 let unexpectedKeyCache; 37045 if (true) { 37046 unexpectedKeyCache = {}; 37047 } 37048 let shapeAssertionError; 37049 try { 37050 assertReducerShape(finalReducers); 37051 } catch (e) { 37052 shapeAssertionError = e; 37053 } 37054 return function combination(state = {}, action) { 37055 if (shapeAssertionError) { 37056 throw shapeAssertionError; 37057 } 37058 if (true) { 37059 const warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache); 37060 if (warningMessage) { 37061 warning(warningMessage); 37062 } 37063 } 37064 let hasChanged = false; 37065 const nextState = {}; 37066 for (let i = 0; i < finalReducerKeys.length; i++) { 37067 const key = finalReducerKeys[i]; 37068 const reducer = finalReducers[key]; 37069 const previousStateForKey = state[key]; 37070 const nextStateForKey = reducer(previousStateForKey, action); 37071 if (typeof nextStateForKey === "undefined") { 37072 const actionType = action && action.type; 37073 throw new Error( false ? 0 : `When called with an action of type ${actionType ? `"${String(actionType)}"` : "(unknown type)"}, the slice reducer for key "${key}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`); 37074 } 37075 nextState[key] = nextStateForKey; 37076 hasChanged = hasChanged || nextStateForKey !== previousStateForKey; 37077 } 37078 hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length; 37079 return hasChanged ? nextState : state; 37080 }; 37081} 37082 37083// src/bindActionCreators.ts 37084function bindActionCreator(actionCreator, dispatch) { 37085 return function(...args) { 37086 return dispatch(actionCreator.apply(this, args)); 37087 }; 37088} 37089function bindActionCreators(actionCreators, dispatch) { 37090 if (typeof actionCreators === "function") { 37091 return bindActionCreator(actionCreators, dispatch); 37092 } 37093 if (typeof actionCreators !== "object" || actionCreators === null) { 37094 throw new Error( false ? 0 : `bindActionCreators expected an object or a function, but instead received: '${kindOf(actionCreators)}'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`); 37095 } 37096 const boundActionCreators = {}; 37097 for (const key in actionCreators) { 37098 const actionCreator = actionCreators[key]; 37099 if (typeof actionCreator === "function") { 37100 boundActionCreators[key] = bindActionCreator(actionCreator, dispatch); 37101 } 37102 } 37103 return boundActionCreators; 37104} 37105 37106// src/compose.ts 37107function compose(...funcs) { 37108 if (funcs.length === 0) { 37109 return (arg) => arg; 37110 } 37111 if (funcs.length === 1) { 37112 return funcs[0]; 37113 } 37114 return funcs.reduce((a, b) => (...args) => a(b(...args))); 37115} 37116 37117// src/applyMiddleware.ts 37118function applyMiddleware(...middlewares) { 37119 return (createStore2) => (reducer, preloadedState) => { 37120 const store = createStore2(reducer, preloadedState); 37121 let dispatch = () => { 37122 throw new Error( false ? 0 : "Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch."); 37123 }; 37124 const middlewareAPI = { 37125 getState: store.getState, 37126 dispatch: (action, ...args) => dispatch(action, ...args) 37127 }; 37128 const chain = middlewares.map((middleware) => middleware(middlewareAPI)); 37129 dispatch = compose(...chain)(store.dispatch); 37130 return { 37131 ...store, 37132 dispatch 37133 }; 37134 }; 37135} 37136 37137// src/utils/isAction.ts 37138function isAction(action) { 37139 return isPlainObject(action) && "type" in action && typeof action.type === "string"; 37140} 37141 37142//# sourceMappingURL=redux.mjs.map 37143 37144/***/ }), 37145
vendor: 22,877 bytes, lines 37146-37899
37146/***/ "./node_modules/reselect/dist/reselect.mjs": 37147/*!*************************************************!*\ 37148 !*** ./node_modules/reselect/dist/reselect.mjs ***! 37149 \*************************************************/ 37150/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 37151 37152__webpack_require__.r(__webpack_exports__); 37153/* harmony export */ __webpack_require__.d(__webpack_exports__, { 37154/* harmony export */ createSelector: () => (/* binding */ createSelector), 37155/* harmony export */ createSelectorCreator: () => (/* binding */ createSelectorCreator), 37156/* harmony export */ createStructuredSelector: () => (/* binding */ createStructuredSelector), 37157/* harmony export */ lruMemoize: () => (/* binding */ lruMemoize), 37158/* harmony export */ referenceEqualityCheck: () => (/* binding */ referenceEqualityCheck), 37159/* harmony export */ setGlobalDevModeChecks: () => (/* binding */ setGlobalDevModeChecks), 37160/* harmony export */ unstable_autotrackMemoize: () => (/* binding */ autotrackMemoize), 37161/* harmony export */ weakMapMemoize: () => (/* binding */ weakMapMemoize) 37162/* harmony export */ }); 37163// src/devModeChecks/identityFunctionCheck.ts 37164var runIdentityFunctionCheck = (resultFunc, inputSelectorsResults, outputSelectorResult) => { 37165 if (inputSelectorsResults.length === 1 && inputSelectorsResults[0] === outputSelectorResult) { 37166 let isInputSameAsOutput = false; 37167 try { 37168 const emptyObject = {}; 37169 if (resultFunc(emptyObject) === emptyObject) 37170 isInputSameAsOutput = true; 37171 } catch { 37172 } 37173 if (isInputSameAsOutput) { 37174 let stack = void 0; 37175 try { 37176 throw new Error(); 37177 } catch (e) { 37178 ; 37179 ({ stack } = e); 37180 } 37181 console.warn( 37182 "The result function returned its own inputs without modification. e.g\n`createSelector([state => state.todos], todos => todos)`\nThis could lead to inefficient memoization and unnecessary re-renders.\nEnsure transformation logic is in the result function, and extraction logic is in the input selectors.", 37183 { stack } 37184 ); 37185 } 37186 } 37187}; 37188 37189// src/devModeChecks/inputStabilityCheck.ts 37190var runInputStabilityCheck = (inputSelectorResultsObject, options, inputSelectorArgs) => { 37191 const { memoize, memoizeOptions } = options; 37192 const { inputSelectorResults, inputSelectorResultsCopy } = inputSelectorResultsObject; 37193 const createAnEmptyObject = memoize(() => ({}), ...memoizeOptions); 37194 const areInputSelectorResultsEqual = createAnEmptyObject.apply(null, inputSelectorResults) === createAnEmptyObject.apply(null, inputSelectorResultsCopy); 37195 if (!areInputSelectorResultsEqual) { 37196 let stack = void 0; 37197 try { 37198 throw new Error(); 37199 } catch (e) { 37200 ; 37201 ({ stack } = e); 37202 } 37203 console.warn( 37204 "An input selector returned a different result when passed same arguments.\nThis means your output selector will likely run more frequently than intended.\nAvoid returning a new reference inside your input selector, e.g.\n`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)`", 37205 { 37206 arguments: inputSelectorArgs, 37207 firstInputs: inputSelectorResults, 37208 secondInputs: inputSelectorResultsCopy, 37209 stack 37210 } 37211 ); 37212 } 37213}; 37214 37215// src/devModeChecks/setGlobalDevModeChecks.ts 37216var globalDevModeChecks = { 37217 inputStabilityCheck: "once", 37218 identityFunctionCheck: "once" 37219}; 37220var setGlobalDevModeChecks = (devModeChecks) => { 37221 Object.assign(globalDevModeChecks, devModeChecks); 37222}; 37223 37224// src/utils.ts 37225var NOT_FOUND = /* @__PURE__ */ Symbol("NOT_FOUND"); 37226function assertIsFunction(func, errorMessage = `expected a function, instead received ${typeof func}`) { 37227 if (typeof func !== "function") { 37228 throw new TypeError(errorMessage); 37229 } 37230} 37231function assertIsObject(object, errorMessage = `expected an object, instead received ${typeof object}`) { 37232 if (typeof object !== "object") { 37233 throw new TypeError(errorMessage); 37234 } 37235} 37236function assertIsArrayOfFunctions(array, errorMessage = `expected all items to be functions, instead received the following types: `) { 37237 if (!array.every((item) => typeof item === "function")) { 37238 const itemTypes = array.map( 37239 (item) => typeof item === "function" ? `function ${item.name || "unnamed"}()` : typeof item 37240 ).join(", "); 37241 throw new TypeError(`${errorMessage}[${itemTypes}]`); 37242 } 37243} 37244var ensureIsArray = (item) => { 37245 return Array.isArray(item) ? item : [item]; 37246}; 37247function getDependencies(createSelectorArgs) { 37248 const dependencies = Array.isArray(createSelectorArgs[0]) ? createSelectorArgs[0] : createSelectorArgs; 37249 assertIsArrayOfFunctions( 37250 dependencies, 37251 `createSelector expects all input-selectors to be functions, but received the following types: ` 37252 ); 37253 return dependencies; 37254} 37255function collectInputSelectorResults(dependencies, inputSelectorArgs) { 37256 const inputSelectorResults = []; 37257 const { length } = dependencies; 37258 for (let i = 0; i < length; i++) { 37259 inputSelectorResults.push(dependencies[i].apply(null, inputSelectorArgs)); 37260 } 37261 return inputSelectorResults; 37262} 37263var getDevModeChecksExecutionInfo = (firstRun, devModeChecks) => { 37264 const { identityFunctionCheck, inputStabilityCheck } = { 37265 ...globalDevModeChecks, 37266 ...devModeChecks 37267 }; 37268 return { 37269 identityFunctionCheck: { 37270 shouldRun: identityFunctionCheck === "always" || identityFunctionCheck === "once" && firstRun, 37271 run: runIdentityFunctionCheck 37272 }, 37273 inputStabilityCheck: { 37274 shouldRun: inputStabilityCheck === "always" || inputStabilityCheck === "once" && firstRun, 37275 run: runInputStabilityCheck 37276 } 37277 }; 37278}; 37279 37280// src/autotrackMemoize/autotracking.ts 37281var $REVISION = 0; 37282var CURRENT_TRACKER = null; 37283var Cell = class { 37284 revision = $REVISION; 37285 _value; 37286 _lastValue; 37287 _isEqual = tripleEq; 37288 constructor(initialValue, isEqual = tripleEq) { 37289 this._value = this._lastValue = initialValue; 37290 this._isEqual = isEqual; 37291 } 37292 // Whenever a storage value is read, it'll add itself to the current tracker if 37293 // one exists, entangling its state with that cache. 37294 get value() { 37295 CURRENT_TRACKER?.add(this); 37296 return this._value; 37297 } 37298 // Whenever a storage value is updated, we bump the global revision clock, 37299 // assign the revision for this storage to the new value, _and_ we schedule a 37300 // rerender. This is important, and it's what makes autotracking _pull_ 37301 // based. We don't actively tell the caches which depend on the storage that 37302 // anything has happened. Instead, we recompute the caches when needed. 37303 set value(newValue) { 37304 if (this.value === newValue) 37305 return; 37306 this._value = newValue; 37307 this.revision = ++$REVISION; 37308 } 37309}; 37310function tripleEq(a, b) { 37311 return a === b; 37312} 37313var TrackingCache = class { 37314 _cachedValue; 37315 _cachedRevision = -1; 37316 _deps = []; 37317 hits = 0; 37318 fn; 37319 constructor(fn) { 37320 this.fn = fn; 37321 } 37322 clear() { 37323 this._cachedValue = void 0; 37324 this._cachedRevision = -1; 37325 this._deps = []; 37326 this.hits = 0; 37327 } 37328 get value() { 37329 if (this.revision > this._cachedRevision) { 37330 const { fn } = this; 37331 const currentTracker = /* @__PURE__ */ new Set(); 37332 const prevTracker = CURRENT_TRACKER; 37333 CURRENT_TRACKER = currentTracker; 37334 this._cachedValue = fn(); 37335 CURRENT_TRACKER = prevTracker; 37336 this.hits++; 37337 this._deps = Array.from(currentTracker); 37338 this._cachedRevision = this.revision; 37339 } 37340 CURRENT_TRACKER?.add(this); 37341 return this._cachedValue; 37342 } 37343 get revision() { 37344 return Math.max(...this._deps.map((d) => d.revision), 0); 37345 } 37346}; 37347function getValue(cell) { 37348 if (!(cell instanceof Cell)) { 37349 console.warn("Not a valid cell! ", cell); 37350 } 37351 return cell.value; 37352} 37353function setValue(storage, value) { 37354 if (!(storage instanceof Cell)) { 37355 throw new TypeError( 37356 "setValue must be passed a tracked store created with `createStorage`." 37357 ); 37358 } 37359 storage.value = storage._lastValue = value; 37360} 37361function createCell(initialValue, isEqual = tripleEq) { 37362 return new Cell(initialValue, isEqual); 37363} 37364function createCache(fn) { 37365 assertIsFunction( 37366 fn, 37367 "the first parameter to `createCache` must be a function" 37368 ); 37369 return new TrackingCache(fn); 37370} 37371 37372// src/autotrackMemoize/tracking.ts 37373var neverEq = (a, b) => false; 37374function createTag() { 37375 return createCell(null, neverEq); 37376} 37377function dirtyTag(tag, value) { 37378 setValue(tag, value); 37379} 37380var consumeCollection = (node) => { 37381 let tag = node.collectionTag; 37382 if (tag === null) { 37383 tag = node.collectionTag = createTag(); 37384 } 37385 getValue(tag); 37386}; 37387var dirtyCollection = (node) => { 37388 const tag = node.collectionTag; 37389 if (tag !== null) { 37390 dirtyTag(tag, null); 37391 } 37392}; 37393 37394// src/autotrackMemoize/proxy.ts 37395var REDUX_PROXY_LABEL = Symbol(); 37396var nextId = 0; 37397var proto = Object.getPrototypeOf({}); 37398var ObjectTreeNode = class { 37399 constructor(value) { 37400 this.value = value; 37401 this.value = value; 37402 this.tag.value = value; 37403 } 37404 proxy = new Proxy(this, objectProxyHandler); 37405 tag = createTag(); 37406 tags = {}; 37407 children = {}; 37408 collectionTag = null; 37409 id = nextId++; 37410}; 37411var objectProxyHandler = { 37412 get(node, key) { 37413 function calculateResult() { 37414 const { value } = node; 37415 const childValue = Reflect.get(value, key); 37416 if (typeof key === "symbol") { 37417 return childValue; 37418 } 37419 if (key in proto) { 37420 return childValue; 37421 } 37422 if (typeof childValue === "object" && childValue !== null) { 37423 let childNode = node.children[key]; 37424 if (childNode === void 0) { 37425 childNode = node.children[key] = createNode(childValue); 37426 } 37427 if (childNode.tag) { 37428 getValue(childNode.tag); 37429 } 37430 return childNode.proxy; 37431 } else { 37432 let tag = node.tags[key]; 37433 if (tag === void 0) { 37434 tag = node.tags[key] = createTag(); 37435 tag.value = childValue; 37436 } 37437 getValue(tag); 37438 return childValue; 37439 } 37440 } 37441 const res = calculateResult(); 37442 return res; 37443 }, 37444 ownKeys(node) { 37445 consumeCollection(node); 37446 return Reflect.ownKeys(node.value); 37447 }, 37448 getOwnPropertyDescriptor(node, prop) { 37449 return Reflect.getOwnPropertyDescriptor(node.value, prop); 37450 }, 37451 has(node, prop) { 37452 return Reflect.has(node.value, prop); 37453 } 37454}; 37455var ArrayTreeNode = class { 37456 constructor(value) { 37457 this.value = value; 37458 this.value = value; 37459 this.tag.value = value; 37460 } 37461 proxy = new Proxy([this], arrayProxyHandler); 37462 tag = createTag(); 37463 tags = {}; 37464 children = {}; 37465 collectionTag = null; 37466 id = nextId++; 37467}; 37468var arrayProxyHandler = { 37469 get([node], key) { 37470 if (key === "length") { 37471 consumeCollection(node); 37472 } 37473 return objectProxyHandler.get(node, key); 37474 }, 37475 ownKeys([node]) { 37476 return objectProxyHandler.ownKeys(node); 37477 }, 37478 getOwnPropertyDescriptor([node], prop) { 37479 return objectProxyHandler.getOwnPropertyDescriptor(node, prop); 37480 }, 37481 has([node], prop) { 37482 return objectProxyHandler.has(node, prop); 37483 } 37484}; 37485function createNode(value) { 37486 if (Array.isArray(value)) { 37487 return new ArrayTreeNode(value); 37488 } 37489 return new ObjectTreeNode(value); 37490} 37491function updateNode(node, newValue) { 37492 const { value, tags, children } = node; 37493 node.value = newValue; 37494 if (Array.isArray(value) && Array.isArray(newValue) && value.length !== newValue.length) { 37495 dirtyCollection(node); 37496 } else { 37497 if (value !== newValue) { 37498 let oldKeysSize = 0; 37499 let newKeysSize = 0; 37500 let anyKeysAdded = false; 37501 for (const _key in value) { 37502 oldKeysSize++; 37503 } 37504 for (const key in newValue) { 37505 newKeysSize++; 37506 if (!(key in value)) { 37507 anyKeysAdded = true; 37508 break; 37509 } 37510 } 37511 const isDifferent = anyKeysAdded || oldKeysSize !== newKeysSize; 37512 if (isDifferent) { 37513 dirtyCollection(node); 37514 } 37515 } 37516 } 37517 for (const key in tags) { 37518 const childValue = value[key]; 37519 const newChildValue = newValue[key]; 37520 if (childValue !== newChildValue) { 37521 dirtyCollection(node); 37522 dirtyTag(tags[key], newChildValue); 37523 } 37524 if (typeof newChildValue === "object" && newChildValue !== null) { 37525 delete tags[key]; 37526 } 37527 } 37528 for (const key in children) { 37529 const childNode = children[key]; 37530 const newChildValue = newValue[key]; 37531 const childValue = childNode.value; 37532 if (childValue === newChildValue) { 37533 continue; 37534 } else if (typeof newChildValue === "object" && newChildValue !== null) { 37535 updateNode(childNode, newChildValue); 37536 } else { 37537 deleteNode(childNode); 37538 delete children[key]; 37539 } 37540 } 37541} 37542function deleteNode(node) { 37543 if (node.tag) { 37544 dirtyTag(node.tag, null); 37545 } 37546 dirtyCollection(node); 37547 for (const key in node.tags) { 37548 dirtyTag(node.tags[key], null); 37549 } 37550 for (const key in node.children) { 37551 deleteNode(node.children[key]); 37552 } 37553} 37554 37555// src/lruMemoize.ts 37556function createSingletonCache(equals) { 37557 let entry; 37558 return { 37559 get(key) { 37560 if (entry && equals(entry.key, key)) { 37561 return entry.value; 37562 } 37563 return NOT_FOUND; 37564 }, 37565 put(key, value) { 37566 entry = { key, value }; 37567 }, 37568 getEntries() { 37569 return entry ? [entry] : []; 37570 }, 37571 clear() { 37572 entry = void 0; 37573 } 37574 }; 37575} 37576function createLruCache(maxSize, equals) { 37577 let entries = []; 37578 function get(key) { 37579 const cacheIndex = entries.findIndex((entry) => equals(key, entry.key)); 37580 if (cacheIndex > -1) { 37581 const entry = entries[cacheIndex]; 37582 if (cacheIndex > 0) { 37583 entries.splice(cacheIndex, 1); 37584 entries.unshift(entry); 37585 } 37586 return entry.value; 37587 } 37588 return NOT_FOUND; 37589 } 37590 function put(key, value) { 37591 if (get(key) === NOT_FOUND) { 37592 entries.unshift({ key, value }); 37593 if (entries.length > maxSize) { 37594 entries.pop(); 37595 } 37596 } 37597 } 37598 function getEntries() { 37599 return entries; 37600 } 37601 function clear() { 37602 entries = []; 37603 } 37604 return { get, put, getEntries, clear }; 37605} 37606var referenceEqualityCheck = (a, b) => a === b; 37607function createCacheKeyComparator(equalityCheck) { 37608 return function areArgumentsShallowlyEqual(prev, next) { 37609 if (prev === null || next === null || prev.length !== next.length) { 37610 return false; 37611 } 37612 const { length } = prev; 37613 for (let i = 0; i < length; i++) { 37614 if (!equalityCheck(prev[i], next[i])) { 37615 return false; 37616 } 37617 } 37618 return true; 37619 }; 37620} 37621function lruMemoize(func, equalityCheckOrOptions) { 37622 const providedOptions = typeof equalityCheckOrOptions === "object" ? equalityCheckOrOptions : { equalityCheck: equalityCheckOrOptions }; 37623 const { 37624 equalityCheck = referenceEqualityCheck, 37625 maxSize = 1, 37626 resultEqualityCheck 37627 } = providedOptions; 37628 const comparator = createCacheKeyComparator(equalityCheck); 37629 let resultsCount = 0; 37630 const cache = maxSize <= 1 ? createSingletonCache(comparator) : createLruCache(maxSize, comparator); 37631 function memoized() { 37632 let value = cache.get(arguments); 37633 if (value === NOT_FOUND) { 37634 value = func.apply(null, arguments); 37635 resultsCount++; 37636 if (resultEqualityCheck) { 37637 const entries = cache.getEntries(); 37638 const matchingEntry = entries.find( 37639 (entry) => resultEqualityCheck(entry.value, value) 37640 ); 37641 if (matchingEntry) { 37642 value = matchingEntry.value; 37643 resultsCount !== 0 && resultsCount--; 37644 } 37645 } 37646 cache.put(arguments, value); 37647 } 37648 return value; 37649 } 37650 memoized.clearCache = () => { 37651 cache.clear(); 37652 memoized.resetResultsCount(); 37653 }; 37654 memoized.resultsCount = () => resultsCount; 37655 memoized.resetResultsCount = () => { 37656 resultsCount = 0; 37657 }; 37658 return memoized; 37659} 37660 37661// src/autotrackMemoize/autotrackMemoize.ts 37662function autotrackMemoize(func) { 37663 const node = createNode( 37664 [] 37665 ); 37666 let lastArgs = null; 37667 const shallowEqual = createCacheKeyComparator(referenceEqualityCheck); 37668 const cache = createCache(() => { 37669 const res = func.apply(null, node.proxy); 37670 return res; 37671 }); 37672 function memoized() { 37673 if (!shallowEqual(lastArgs, arguments)) { 37674 updateNode(node, arguments); 37675 lastArgs = arguments; 37676 } 37677 return cache.value; 37678 } 37679 memoized.clearCache = () => { 37680 return cache.clear(); 37681 }; 37682 return memoized; 37683} 37684 37685// src/weakMapMemoize.ts 37686var StrongRef = class { 37687 constructor(value) { 37688 this.value = value; 37689 } 37690 deref() { 37691 return this.value; 37692 } 37693}; 37694var Ref = typeof WeakRef !== "undefined" ? WeakRef : StrongRef; 37695var UNTERMINATED = 0; 37696var TERMINATED = 1; 37697function createCacheNode() { 37698 return { 37699 s: UNTERMINATED, 37700 v: void 0, 37701 o: null, 37702 p: null 37703 }; 37704} 37705function weakMapMemoize(func, options = {}) { 37706 let fnNode = createCacheNode(); 37707 const { resultEqualityCheck } = options; 37708 let lastResult; 37709 let resultsCount = 0; 37710 function memoized() { 37711 let cacheNode = fnNode; 37712 const { length } = arguments; 37713 for (let i = 0, l = length; i < l; i++) { 37714 const arg = arguments[i]; 37715 if (typeof arg === "function" || typeof arg === "object" && arg !== null) { 37716 let objectCache = cacheNode.o; 37717 if (objectCache === null) { 37718 cacheNode.o = objectCache = /* @__PURE__ */ new WeakMap(); 37719 } 37720 const objectNode = objectCache.get(arg); 37721 if (objectNode === void 0) { 37722 cacheNode = createCacheNode(); 37723 objectCache.set(arg, cacheNode); 37724 } else { 37725 cacheNode = objectNode; 37726 } 37727 } else { 37728 let primitiveCache = cacheNode.p; 37729 if (primitiveCache === null) { 37730 cacheNode.p = primitiveCache = /* @__PURE__ */ new Map(); 37731 } 37732 const primitiveNode = primitiveCache.get(arg); 37733 if (primitiveNode === void 0) { 37734 cacheNode = createCacheNode(); 37735 primitiveCache.set(arg, cacheNode); 37736 } else { 37737 cacheNode = primitiveNode; 37738 } 37739 } 37740 } 37741 const terminatedNode = cacheNode; 37742 let result; 37743 if (cacheNode.s === TERMINATED) { 37744 result = cacheNode.v; 37745 } else { 37746 result = func.apply(null, arguments); 37747 resultsCount++; 37748 if (resultEqualityCheck) { 37749 const lastResultValue = lastResult?.deref?.() ?? lastResult; 37750 if (lastResultValue != null && resultEqualityCheck(lastResultValue, result)) { 37751 result = lastResultValue; 37752 resultsCount !== 0 && resultsCount--; 37753 } 37754 const needsWeakRef = typeof result === "object" && result !== null || typeof result === "function"; 37755 lastResult = needsWeakRef ? new Ref(result) : result; 37756 } 37757 } 37758 terminatedNode.s = TERMINATED; 37759 terminatedNode.v = result; 37760 return result; 37761 } 37762 memoized.clearCache = () => { 37763 fnNode = createCacheNode(); 37764 memoized.resetResultsCount(); 37765 }; 37766 memoized.resultsCount = () => resultsCount; 37767 memoized.resetResultsCount = () => { 37768 resultsCount = 0; 37769 }; 37770 return memoized; 37771} 37772 37773// src/createSelectorCreator.ts 37774function createSelectorCreator(memoizeOrOptions, ...memoizeOptionsFromArgs) { 37775 const createSelectorCreatorOptions = typeof memoizeOrOptions === "function" ? { 37776 memoize: memoizeOrOptions, 37777 memoizeOptions: memoizeOptionsFromArgs 37778 } : memoizeOrOptions; 37779 const createSelector2 = (...createSelectorArgs) => { 37780 let recomputations = 0; 37781 let dependencyRecomputations = 0; 37782 let lastResult; 37783 let directlyPassedOptions = {}; 37784 let resultFunc = createSelectorArgs.pop(); 37785 if (typeof resultFunc === "object") { 37786 directlyPassedOptions = resultFunc; 37787 resultFunc = createSelectorArgs.pop(); 37788 } 37789 assertIsFunction( 37790 resultFunc, 37791 `createSelector expects an output function after the inputs, but received: [${typeof resultFunc}]` 37792 ); 37793 const combinedOptions = { 37794 ...createSelectorCreatorOptions, 37795 ...directlyPassedOptions 37796 }; 37797 const { 37798 memoize, 37799 memoizeOptions = [], 37800 argsMemoize = weakMapMemoize, 37801 argsMemoizeOptions = [], 37802 devModeChecks = {} 37803 } = combinedOptions; 37804 const finalMemoizeOptions = ensureIsArray(memoizeOptions); 37805 const finalArgsMemoizeOptions = ensureIsArray(argsMemoizeOptions); 37806 const dependencies = getDependencies(createSelectorArgs); 37807 const memoizedResultFunc = memoize(function recomputationWrapper() { 37808 recomputations++; 37809 return resultFunc.apply( 37810 null, 37811 arguments 37812 ); 37813 }, ...finalMemoizeOptions); 37814 let firstRun = true; 37815 const selector = argsMemoize(function dependenciesChecker() { 37816 dependencyRecomputations++; 37817 const inputSelectorResults = collectInputSelectorResults( 37818 dependencies, 37819 arguments 37820 ); 37821 lastResult = memoizedResultFunc.apply(null, inputSelectorResults); 37822 if (true) { 37823 const { identityFunctionCheck, inputStabilityCheck } = getDevModeChecksExecutionInfo(firstRun, devModeChecks); 37824 if (identityFunctionCheck.shouldRun) { 37825 identityFunctionCheck.run( 37826 resultFunc, 37827 inputSelectorResults, 37828 lastResult 37829 ); 37830 } 37831 if (inputStabilityCheck.shouldRun) { 37832 const inputSelectorResultsCopy = collectInputSelectorResults( 37833 dependencies, 37834 arguments 37835 ); 37836 inputStabilityCheck.run( 37837 { inputSelectorResults, inputSelectorResultsCopy }, 37838 { memoize, memoizeOptions: finalMemoizeOptions }, 37839 arguments 37840 ); 37841 } 37842 if (firstRun) 37843 firstRun = false; 37844 } 37845 return lastResult; 37846 }, ...finalArgsMemoizeOptions); 37847 return Object.assign(selector, { 37848 resultFunc, 37849 memoizedResultFunc, 37850 dependencies, 37851 dependencyRecomputations: () => dependencyRecomputations, 37852 resetDependencyRecomputations: () => { 37853 dependencyRecomputations = 0; 37854 }, 37855 lastResult: () => lastResult, 37856 recomputations: () => recomputations, 37857 resetRecomputations: () => { 37858 recomputations = 0; 37859 }, 37860 memoize, 37861 argsMemoize 37862 }); 37863 }; 37864 Object.assign(createSelector2, { 37865 withTypes: () => createSelector2 37866 }); 37867 return createSelector2; 37868} 37869var createSelector = /* @__PURE__ */ createSelectorCreator(weakMapMemoize); 37870 37871// src/createStructuredSelector.ts 37872var createStructuredSelector = Object.assign( 37873 (inputSelectorsObject, selectorCreator = createSelector) => { 37874 assertIsObject( 37875 inputSelectorsObject, 37876 `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof inputSelectorsObject}` 37877 ); 37878 const inputSelectorKeys = Object.keys(inputSelectorsObject); 37879 const dependencies = inputSelectorKeys.map( 37880 (key) => inputSelectorsObject[key] 37881 ); 37882 const structuredSelector = selectorCreator( 37883 dependencies, 37884 (...inputSelectorResults) => { 37885 return inputSelectorResults.reduce((composition, value, index) => { 37886 composition[inputSelectorKeys[index]] = value; 37887 return composition; 37888 }, {}); 37889 } 37890 ); 37891 return structuredSelector; 37892 }, 37893 { withTypes: () => createStructuredSelector } 37894); 37895 37896//# sourceMappingURL=reselect.mjs.map 37897 37898/***/ }), 37899
vendor: 36,494 bytes, lines 37900-38680
37900/***/ "./node_modules/robust-predicates/esm/incircle.js": 37901/*!********************************************************!*\ 37902 !*** ./node_modules/robust-predicates/esm/incircle.js ***! 37903 \********************************************************/ 37904/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 37905 37906__webpack_require__.r(__webpack_exports__); 37907/* harmony export */ __webpack_require__.d(__webpack_exports__, { 37908/* harmony export */ incircle: () => (/* binding */ incircle), 37909/* harmony export */ incirclefast: () => (/* binding */ incirclefast) 37910/* harmony export */ }); 37911/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util.js */ "./node_modules/robust-predicates/esm/util.js"); 37912 37913 37914const iccerrboundA = (10 + 96 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 37915const iccerrboundB = (4 + 48 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 37916const iccerrboundC = (44 + 576 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 37917 37918const bc = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37919const ca = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37920const ab = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37921const aa = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37922const bb = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37923const cc = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37924const u = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37925const v = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37926const axtbc = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37927const aytbc = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37928const bxtca = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37929const bytca = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37930const cxtab = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37931const cytab = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37932const abt = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37933const bct = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37934const cat = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37935const abtt = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37936const bctt = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37937const catt = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 37938 37939const _8 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 37940const _16 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(16); 37941const _16b = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(16); 37942const _16c = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(16); 37943const _32 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(32); 37944const _32b = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(32); 37945const _48 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(48); 37946const _64 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(64); 37947 37948let fin = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(1152); 37949let fin2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(1152); 37950 37951function finadd(finlen, a, alen) { 37952 finlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(finlen, fin, a, alen, fin2); 37953 const tmp = fin; fin = fin2; fin2 = tmp; 37954 return finlen; 37955} 37956 37957function incircleadapt(ax, ay, bx, by, cx, cy, dx, dy, permanent) { 37958 let finlen; 37959 let adxtail, bdxtail, cdxtail, adytail, bdytail, cdytail; 37960 let axtbclen, aytbclen, bxtcalen, bytcalen, cxtablen, cytablen; 37961 let abtlen, bctlen, catlen; 37962 let abttlen, bcttlen, cattlen; 37963 let n1, n0; 37964 37965 let bvirt, c, ahi, alo, bhi, blo, _i, _j, _0, s1, s0, t1, t0, u3; 37966 37967 const adx = ax - dx; 37968 const bdx = bx - dx; 37969 const cdx = cx - dx; 37970 const ady = ay - dy; 37971 const bdy = by - dy; 37972 const cdy = cy - dy; 37973 37974 s1 = bdx * cdy; 37975 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdx; 37976 ahi = c - (c - bdx); 37977 alo = bdx - ahi; 37978 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdy; 37979 bhi = c - (c - cdy); 37980 blo = cdy - bhi; 37981 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 37982 t1 = cdx * bdy; 37983 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdx; 37984 ahi = c - (c - cdx); 37985 alo = cdx - ahi; 37986 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdy; 37987 bhi = c - (c - bdy); 37988 blo = bdy - bhi; 37989 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 37990 _i = s0 - t0; 37991 bvirt = s0 - _i; 37992 bc[0] = s0 - (_i + bvirt) + (bvirt - t0); 37993 _j = s1 + _i; 37994 bvirt = _j - s1; 37995 _0 = s1 - (_j - bvirt) + (_i - bvirt); 37996 _i = _0 - t1; 37997 bvirt = _0 - _i; 37998 bc[1] = _0 - (_i + bvirt) + (bvirt - t1); 37999 u3 = _j + _i; 38000 bvirt = u3 - _j; 38001 bc[2] = _j - (u3 - bvirt) + (_i - bvirt); 38002 bc[3] = u3; 38003 s1 = cdx * ady; 38004 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdx; 38005 ahi = c - (c - cdx); 38006 alo = cdx - ahi; 38007 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ady; 38008 bhi = c - (c - ady); 38009 blo = ady - bhi; 38010 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38011 t1 = adx * cdy; 38012 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adx; 38013 ahi = c - (c - adx); 38014 alo = adx - ahi; 38015 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdy; 38016 bhi = c - (c - cdy); 38017 blo = cdy - bhi; 38018 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38019 _i = s0 - t0; 38020 bvirt = s0 - _i; 38021 ca[0] = s0 - (_i + bvirt) + (bvirt - t0); 38022 _j = s1 + _i; 38023 bvirt = _j - s1; 38024 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38025 _i = _0 - t1; 38026 bvirt = _0 - _i; 38027 ca[1] = _0 - (_i + bvirt) + (bvirt - t1); 38028 u3 = _j + _i; 38029 bvirt = u3 - _j; 38030 ca[2] = _j - (u3 - bvirt) + (_i - bvirt); 38031 ca[3] = u3; 38032 s1 = adx * bdy; 38033 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adx; 38034 ahi = c - (c - adx); 38035 alo = adx - ahi; 38036 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdy; 38037 bhi = c - (c - bdy); 38038 blo = bdy - bhi; 38039 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38040 t1 = bdx * ady; 38041 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdx; 38042 ahi = c - (c - bdx); 38043 alo = bdx - ahi; 38044 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ady; 38045 bhi = c - (c - ady); 38046 blo = ady - bhi; 38047 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38048 _i = s0 - t0; 38049 bvirt = s0 - _i; 38050 ab[0] = s0 - (_i + bvirt) + (bvirt - t0); 38051 _j = s1 + _i; 38052 bvirt = _j - s1; 38053 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38054 _i = _0 - t1; 38055 bvirt = _0 - _i; 38056 ab[1] = _0 - (_i + bvirt) + (bvirt - t1); 38057 u3 = _j + _i; 38058 bvirt = u3 - _j; 38059 ab[2] = _j - (u3 - bvirt) + (_i - bvirt); 38060 ab[3] = u3; 38061 38062 finlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38063 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38064 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38065 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bc, adx, _8), _8, adx, _16), _16, 38066 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bc, ady, _8), _8, ady, _16b), _16b, _32), _32, 38067 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38068 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ca, bdx, _8), _8, bdx, _16), _16, 38069 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ca, bdy, _8), _8, bdy, _16b), _16b, _32b), _32b, _64), _64, 38070 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38071 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ab, cdx, _8), _8, cdx, _16), _16, 38072 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ab, cdy, _8), _8, cdy, _16b), _16b, _32), _32, fin); 38073 38074 let det = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.estimate)(finlen, fin); 38075 let errbound = iccerrboundB * permanent; 38076 if (det >= errbound || -det >= errbound) { 38077 return det; 38078 } 38079 38080 bvirt = ax - adx; 38081 adxtail = ax - (adx + bvirt) + (bvirt - dx); 38082 bvirt = ay - ady; 38083 adytail = ay - (ady + bvirt) + (bvirt - dy); 38084 bvirt = bx - bdx; 38085 bdxtail = bx - (bdx + bvirt) + (bvirt - dx); 38086 bvirt = by - bdy; 38087 bdytail = by - (bdy + bvirt) + (bvirt - dy); 38088 bvirt = cx - cdx; 38089 cdxtail = cx - (cdx + bvirt) + (bvirt - dx); 38090 bvirt = cy - cdy; 38091 cdytail = cy - (cdy + bvirt) + (bvirt - dy); 38092 if (adxtail === 0 && bdxtail === 0 && cdxtail === 0 && adytail === 0 && bdytail === 0 && cdytail === 0) { 38093 return det; 38094 } 38095 38096 errbound = iccerrboundC * permanent + _util_js__WEBPACK_IMPORTED_MODULE_0__.resulterrbound * Math.abs(det); 38097 det += ((adx * adx + ady * ady) * ((bdx * cdytail + cdy * bdxtail) - (bdy * cdxtail + cdx * bdytail)) + 38098 2 * (adx * adxtail + ady * adytail) * (bdx * cdy - bdy * cdx)) + 38099 ((bdx * bdx + bdy * bdy) * ((cdx * adytail + ady * cdxtail) - (cdy * adxtail + adx * cdytail)) + 38100 2 * (bdx * bdxtail + bdy * bdytail) * (cdx * ady - cdy * adx)) + 38101 ((cdx * cdx + cdy * cdy) * ((adx * bdytail + bdy * adxtail) - (ady * bdxtail + bdx * adytail)) + 38102 2 * (cdx * cdxtail + cdy * cdytail) * (adx * bdy - ady * bdx)); 38103 38104 if (det >= errbound || -det >= errbound) { 38105 return det; 38106 } 38107 38108 if (bdxtail !== 0 || bdytail !== 0 || cdxtail !== 0 || cdytail !== 0) { 38109 s1 = adx * adx; 38110 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adx; 38111 ahi = c - (c - adx); 38112 alo = adx - ahi; 38113 s0 = alo * alo - (s1 - ahi * ahi - (ahi + ahi) * alo); 38114 t1 = ady * ady; 38115 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ady; 38116 ahi = c - (c - ady); 38117 alo = ady - ahi; 38118 t0 = alo * alo - (t1 - ahi * ahi - (ahi + ahi) * alo); 38119 _i = s0 + t0; 38120 bvirt = _i - s0; 38121 aa[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38122 _j = s1 + _i; 38123 bvirt = _j - s1; 38124 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38125 _i = _0 + t1; 38126 bvirt = _i - _0; 38127 aa[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38128 u3 = _j + _i; 38129 bvirt = u3 - _j; 38130 aa[2] = _j - (u3 - bvirt) + (_i - bvirt); 38131 aa[3] = u3; 38132 } 38133 if (cdxtail !== 0 || cdytail !== 0 || adxtail !== 0 || adytail !== 0) { 38134 s1 = bdx * bdx; 38135 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdx; 38136 ahi = c - (c - bdx); 38137 alo = bdx - ahi; 38138 s0 = alo * alo - (s1 - ahi * ahi - (ahi + ahi) * alo); 38139 t1 = bdy * bdy; 38140 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdy; 38141 ahi = c - (c - bdy); 38142 alo = bdy - ahi; 38143 t0 = alo * alo - (t1 - ahi * ahi - (ahi + ahi) * alo); 38144 _i = s0 + t0; 38145 bvirt = _i - s0; 38146 bb[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38147 _j = s1 + _i; 38148 bvirt = _j - s1; 38149 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38150 _i = _0 + t1; 38151 bvirt = _i - _0; 38152 bb[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38153 u3 = _j + _i; 38154 bvirt = u3 - _j; 38155 bb[2] = _j - (u3 - bvirt) + (_i - bvirt); 38156 bb[3] = u3; 38157 } 38158 if (adxtail !== 0 || adytail !== 0 || bdxtail !== 0 || bdytail !== 0) { 38159 s1 = cdx * cdx; 38160 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdx; 38161 ahi = c - (c - cdx); 38162 alo = cdx - ahi; 38163 s0 = alo * alo - (s1 - ahi * ahi - (ahi + ahi) * alo); 38164 t1 = cdy * cdy; 38165 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdy; 38166 ahi = c - (c - cdy); 38167 alo = cdy - ahi; 38168 t0 = alo * alo - (t1 - ahi * ahi - (ahi + ahi) * alo); 38169 _i = s0 + t0; 38170 bvirt = _i - s0; 38171 cc[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38172 _j = s1 + _i; 38173 bvirt = _j - s1; 38174 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38175 _i = _0 + t1; 38176 bvirt = _i - _0; 38177 cc[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38178 u3 = _j + _i; 38179 bvirt = u3 - _j; 38180 cc[2] = _j - (u3 - bvirt) + (_i - bvirt); 38181 cc[3] = u3; 38182 } 38183 38184 if (adxtail !== 0) { 38185 axtbclen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bc, adxtail, axtbc); 38186 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38187 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(axtbclen, axtbc, 2 * adx, _16), _16, 38188 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, cc, adxtail, _8), _8, bdy, _16b), _16b, 38189 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bb, adxtail, _8), _8, -cdy, _16c), _16c, _32, _48), _48); 38190 } 38191 if (adytail !== 0) { 38192 aytbclen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bc, adytail, aytbc); 38193 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38194 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(aytbclen, aytbc, 2 * ady, _16), _16, 38195 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bb, adytail, _8), _8, cdx, _16b), _16b, 38196 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, cc, adytail, _8), _8, -bdx, _16c), _16c, _32, _48), _48); 38197 } 38198 if (bdxtail !== 0) { 38199 bxtcalen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ca, bdxtail, bxtca); 38200 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38201 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bxtcalen, bxtca, 2 * bdx, _16), _16, 38202 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, aa, bdxtail, _8), _8, cdy, _16b), _16b, 38203 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, cc, bdxtail, _8), _8, -ady, _16c), _16c, _32, _48), _48); 38204 } 38205 if (bdytail !== 0) { 38206 bytcalen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ca, bdytail, bytca); 38207 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38208 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bytcalen, bytca, 2 * bdy, _16), _16, 38209 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, cc, bdytail, _8), _8, adx, _16b), _16b, 38210 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, aa, bdytail, _8), _8, -cdx, _16c), _16c, _32, _48), _48); 38211 } 38212 if (cdxtail !== 0) { 38213 cxtablen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ab, cdxtail, cxtab); 38214 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38215 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(cxtablen, cxtab, 2 * cdx, _16), _16, 38216 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bb, cdxtail, _8), _8, ady, _16b), _16b, 38217 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, aa, cdxtail, _8), _8, -bdy, _16c), _16c, _32, _48), _48); 38218 } 38219 if (cdytail !== 0) { 38220 cytablen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ab, cdytail, cytab); 38221 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38222 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(cytablen, cytab, 2 * cdy, _16), _16, 38223 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, aa, cdytail, _8), _8, bdx, _16b), _16b, 38224 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bb, cdytail, _8), _8, -adx, _16c), _16c, _32, _48), _48); 38225 } 38226 38227 if (adxtail !== 0 || adytail !== 0) { 38228 if (bdxtail !== 0 || bdytail !== 0 || cdxtail !== 0 || cdytail !== 0) { 38229 s1 = bdxtail * cdy; 38230 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdxtail; 38231 ahi = c - (c - bdxtail); 38232 alo = bdxtail - ahi; 38233 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdy; 38234 bhi = c - (c - cdy); 38235 blo = cdy - bhi; 38236 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38237 t1 = bdx * cdytail; 38238 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdx; 38239 ahi = c - (c - bdx); 38240 alo = bdx - ahi; 38241 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdytail; 38242 bhi = c - (c - cdytail); 38243 blo = cdytail - bhi; 38244 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38245 _i = s0 + t0; 38246 bvirt = _i - s0; 38247 u[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38248 _j = s1 + _i; 38249 bvirt = _j - s1; 38250 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38251 _i = _0 + t1; 38252 bvirt = _i - _0; 38253 u[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38254 u3 = _j + _i; 38255 bvirt = u3 - _j; 38256 u[2] = _j - (u3 - bvirt) + (_i - bvirt); 38257 u[3] = u3; 38258 s1 = cdxtail * -bdy; 38259 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdxtail; 38260 ahi = c - (c - cdxtail); 38261 alo = cdxtail - ahi; 38262 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * -bdy; 38263 bhi = c - (c - -bdy); 38264 blo = -bdy - bhi; 38265 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38266 t1 = cdx * -bdytail; 38267 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdx; 38268 ahi = c - (c - cdx); 38269 alo = cdx - ahi; 38270 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * -bdytail; 38271 bhi = c - (c - -bdytail); 38272 blo = -bdytail - bhi; 38273 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38274 _i = s0 + t0; 38275 bvirt = _i - s0; 38276 v[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38277 _j = s1 + _i; 38278 bvirt = _j - s1; 38279 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38280 _i = _0 + t1; 38281 bvirt = _i - _0; 38282 v[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38283 u3 = _j + _i; 38284 bvirt = u3 - _j; 38285 v[2] = _j - (u3 - bvirt) + (_i - bvirt); 38286 v[3] = u3; 38287 bctlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(4, u, 4, v, bct); 38288 s1 = bdxtail * cdytail; 38289 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdxtail; 38290 ahi = c - (c - bdxtail); 38291 alo = bdxtail - ahi; 38292 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdytail; 38293 bhi = c - (c - cdytail); 38294 blo = cdytail - bhi; 38295 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38296 t1 = cdxtail * bdytail; 38297 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdxtail; 38298 ahi = c - (c - cdxtail); 38299 alo = cdxtail - ahi; 38300 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdytail; 38301 bhi = c - (c - bdytail); 38302 blo = bdytail - bhi; 38303 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38304 _i = s0 - t0; 38305 bvirt = s0 - _i; 38306 bctt[0] = s0 - (_i + bvirt) + (bvirt - t0); 38307 _j = s1 + _i; 38308 bvirt = _j - s1; 38309 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38310 _i = _0 - t1; 38311 bvirt = _0 - _i; 38312 bctt[1] = _0 - (_i + bvirt) + (bvirt - t1); 38313 u3 = _j + _i; 38314 bvirt = u3 - _j; 38315 bctt[2] = _j - (u3 - bvirt) + (_i - bvirt); 38316 bctt[3] = u3; 38317 bcttlen = 4; 38318 } else { 38319 bct[0] = 0; 38320 bctlen = 1; 38321 bctt[0] = 0; 38322 bcttlen = 1; 38323 } 38324 if (adxtail !== 0) { 38325 const len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bctlen, bct, adxtail, _16c); 38326 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38327 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(axtbclen, axtbc, adxtail, _16), _16, 38328 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, 2 * adx, _32), _32, _48), _48); 38329 38330 const len2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bcttlen, bctt, adxtail, _8); 38331 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38332 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, 2 * adx, _16), _16, 38333 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, adxtail, _16b), _16b, 38334 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, adxtail, _32), _32, _32b, _64), _64); 38335 38336 if (bdytail !== 0) { 38337 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, cc, adxtail, _8), _8, bdytail, _16), _16); 38338 } 38339 if (cdytail !== 0) { 38340 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bb, -adxtail, _8), _8, cdytail, _16), _16); 38341 } 38342 } 38343 if (adytail !== 0) { 38344 const len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bctlen, bct, adytail, _16c); 38345 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38346 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(aytbclen, aytbc, adytail, _16), _16, 38347 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, 2 * ady, _32), _32, _48), _48); 38348 38349 const len2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bcttlen, bctt, adytail, _8); 38350 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38351 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, 2 * ady, _16), _16, 38352 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, adytail, _16b), _16b, 38353 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, adytail, _32), _32, _32b, _64), _64); 38354 } 38355 } 38356 if (bdxtail !== 0 || bdytail !== 0) { 38357 if (cdxtail !== 0 || cdytail !== 0 || adxtail !== 0 || adytail !== 0) { 38358 s1 = cdxtail * ady; 38359 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdxtail; 38360 ahi = c - (c - cdxtail); 38361 alo = cdxtail - ahi; 38362 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ady; 38363 bhi = c - (c - ady); 38364 blo = ady - bhi; 38365 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38366 t1 = cdx * adytail; 38367 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdx; 38368 ahi = c - (c - cdx); 38369 alo = cdx - ahi; 38370 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adytail; 38371 bhi = c - (c - adytail); 38372 blo = adytail - bhi; 38373 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38374 _i = s0 + t0; 38375 bvirt = _i - s0; 38376 u[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38377 _j = s1 + _i; 38378 bvirt = _j - s1; 38379 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38380 _i = _0 + t1; 38381 bvirt = _i - _0; 38382 u[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38383 u3 = _j + _i; 38384 bvirt = u3 - _j; 38385 u[2] = _j - (u3 - bvirt) + (_i - bvirt); 38386 u[3] = u3; 38387 n1 = -cdy; 38388 n0 = -cdytail; 38389 s1 = adxtail * n1; 38390 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adxtail; 38391 ahi = c - (c - adxtail); 38392 alo = adxtail - ahi; 38393 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * n1; 38394 bhi = c - (c - n1); 38395 blo = n1 - bhi; 38396 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38397 t1 = adx * n0; 38398 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adx; 38399 ahi = c - (c - adx); 38400 alo = adx - ahi; 38401 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * n0; 38402 bhi = c - (c - n0); 38403 blo = n0 - bhi; 38404 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38405 _i = s0 + t0; 38406 bvirt = _i - s0; 38407 v[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38408 _j = s1 + _i; 38409 bvirt = _j - s1; 38410 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38411 _i = _0 + t1; 38412 bvirt = _i - _0; 38413 v[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38414 u3 = _j + _i; 38415 bvirt = u3 - _j; 38416 v[2] = _j - (u3 - bvirt) + (_i - bvirt); 38417 v[3] = u3; 38418 catlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(4, u, 4, v, cat); 38419 s1 = cdxtail * adytail; 38420 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdxtail; 38421 ahi = c - (c - cdxtail); 38422 alo = cdxtail - ahi; 38423 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adytail; 38424 bhi = c - (c - adytail); 38425 blo = adytail - bhi; 38426 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38427 t1 = adxtail * cdytail; 38428 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adxtail; 38429 ahi = c - (c - adxtail); 38430 alo = adxtail - ahi; 38431 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdytail; 38432 bhi = c - (c - cdytail); 38433 blo = cdytail - bhi; 38434 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38435 _i = s0 - t0; 38436 bvirt = s0 - _i; 38437 catt[0] = s0 - (_i + bvirt) + (bvirt - t0); 38438 _j = s1 + _i; 38439 bvirt = _j - s1; 38440 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38441 _i = _0 - t1; 38442 bvirt = _0 - _i; 38443 catt[1] = _0 - (_i + bvirt) + (bvirt - t1); 38444 u3 = _j + _i; 38445 bvirt = u3 - _j; 38446 catt[2] = _j - (u3 - bvirt) + (_i - bvirt); 38447 catt[3] = u3; 38448 cattlen = 4; 38449 } else { 38450 cat[0] = 0; 38451 catlen = 1; 38452 catt[0] = 0; 38453 cattlen = 1; 38454 } 38455 if (bdxtail !== 0) { 38456 const len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(catlen, cat, bdxtail, _16c); 38457 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38458 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bxtcalen, bxtca, bdxtail, _16), _16, 38459 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, 2 * bdx, _32), _32, _48), _48); 38460 38461 const len2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(cattlen, catt, bdxtail, _8); 38462 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38463 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, 2 * bdx, _16), _16, 38464 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, bdxtail, _16b), _16b, 38465 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, bdxtail, _32), _32, _32b, _64), _64); 38466 38467 if (cdytail !== 0) { 38468 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, aa, bdxtail, _8), _8, cdytail, _16), _16); 38469 } 38470 if (adytail !== 0) { 38471 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, cc, -bdxtail, _8), _8, adytail, _16), _16); 38472 } 38473 } 38474 if (bdytail !== 0) { 38475 const len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(catlen, cat, bdytail, _16c); 38476 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38477 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bytcalen, bytca, bdytail, _16), _16, 38478 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, 2 * bdy, _32), _32, _48), _48); 38479 38480 const len2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(cattlen, catt, bdytail, _8); 38481 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38482 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, 2 * bdy, _16), _16, 38483 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, bdytail, _16b), _16b, 38484 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, bdytail, _32), _32, _32b, _64), _64); 38485 } 38486 } 38487 if (cdxtail !== 0 || cdytail !== 0) { 38488 if (adxtail !== 0 || adytail !== 0 || bdxtail !== 0 || bdytail !== 0) { 38489 s1 = adxtail * bdy; 38490 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adxtail; 38491 ahi = c - (c - adxtail); 38492 alo = adxtail - ahi; 38493 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdy; 38494 bhi = c - (c - bdy); 38495 blo = bdy - bhi; 38496 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38497 t1 = adx * bdytail; 38498 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adx; 38499 ahi = c - (c - adx); 38500 alo = adx - ahi; 38501 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdytail; 38502 bhi = c - (c - bdytail); 38503 blo = bdytail - bhi; 38504 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38505 _i = s0 + t0; 38506 bvirt = _i - s0; 38507 u[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38508 _j = s1 + _i; 38509 bvirt = _j - s1; 38510 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38511 _i = _0 + t1; 38512 bvirt = _i - _0; 38513 u[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38514 u3 = _j + _i; 38515 bvirt = u3 - _j; 38516 u[2] = _j - (u3 - bvirt) + (_i - bvirt); 38517 u[3] = u3; 38518 n1 = -ady; 38519 n0 = -adytail; 38520 s1 = bdxtail * n1; 38521 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdxtail; 38522 ahi = c - (c - bdxtail); 38523 alo = bdxtail - ahi; 38524 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * n1; 38525 bhi = c - (c - n1); 38526 blo = n1 - bhi; 38527 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38528 t1 = bdx * n0; 38529 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdx; 38530 ahi = c - (c - bdx); 38531 alo = bdx - ahi; 38532 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * n0; 38533 bhi = c - (c - n0); 38534 blo = n0 - bhi; 38535 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38536 _i = s0 + t0; 38537 bvirt = _i - s0; 38538 v[0] = s0 - (_i - bvirt) + (t0 - bvirt); 38539 _j = s1 + _i; 38540 bvirt = _j - s1; 38541 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38542 _i = _0 + t1; 38543 bvirt = _i - _0; 38544 v[1] = _0 - (_i - bvirt) + (t1 - bvirt); 38545 u3 = _j + _i; 38546 bvirt = u3 - _j; 38547 v[2] = _j - (u3 - bvirt) + (_i - bvirt); 38548 v[3] = u3; 38549 abtlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(4, u, 4, v, abt); 38550 s1 = adxtail * bdytail; 38551 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adxtail; 38552 ahi = c - (c - adxtail); 38553 alo = adxtail - ahi; 38554 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdytail; 38555 bhi = c - (c - bdytail); 38556 blo = bdytail - bhi; 38557 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38558 t1 = bdxtail * adytail; 38559 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdxtail; 38560 ahi = c - (c - bdxtail); 38561 alo = bdxtail - ahi; 38562 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adytail; 38563 bhi = c - (c - adytail); 38564 blo = adytail - bhi; 38565 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38566 _i = s0 - t0; 38567 bvirt = s0 - _i; 38568 abtt[0] = s0 - (_i + bvirt) + (bvirt - t0); 38569 _j = s1 + _i; 38570 bvirt = _j - s1; 38571 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38572 _i = _0 - t1; 38573 bvirt = _0 - _i; 38574 abtt[1] = _0 - (_i + bvirt) + (bvirt - t1); 38575 u3 = _j + _i; 38576 bvirt = u3 - _j; 38577 abtt[2] = _j - (u3 - bvirt) + (_i - bvirt); 38578 abtt[3] = u3; 38579 abttlen = 4; 38580 } else { 38581 abt[0] = 0; 38582 abtlen = 1; 38583 abtt[0] = 0; 38584 abttlen = 1; 38585 } 38586 if (cdxtail !== 0) { 38587 const len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(abtlen, abt, cdxtail, _16c); 38588 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38589 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(cxtablen, cxtab, cdxtail, _16), _16, 38590 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, 2 * cdx, _32), _32, _48), _48); 38591 38592 const len2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(abttlen, abtt, cdxtail, _8); 38593 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38594 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, 2 * cdx, _16), _16, 38595 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, cdxtail, _16b), _16b, 38596 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, cdxtail, _32), _32, _32b, _64), _64); 38597 38598 if (adytail !== 0) { 38599 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bb, cdxtail, _8), _8, adytail, _16), _16); 38600 } 38601 if (bdytail !== 0) { 38602 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, aa, -cdxtail, _8), _8, bdytail, _16), _16); 38603 } 38604 } 38605 if (cdytail !== 0) { 38606 const len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(abtlen, abt, cdytail, _16c); 38607 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38608 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(cytablen, cytab, cdytail, _16), _16, 38609 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, 2 * cdy, _32), _32, _48), _48); 38610 38611 const len2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(abttlen, abtt, cdytail, _8); 38612 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38613 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, 2 * cdy, _16), _16, 38614 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len2, _8, cdytail, _16b), _16b, 38615 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _16c, cdytail, _32), _32, _32b, _64), _64); 38616 } 38617 } 38618 38619 return fin[finlen - 1]; 38620} 38621 38622function incircle(ax, ay, bx, by, cx, cy, dx, dy) { 38623 const adx = ax - dx; 38624 const bdx = bx - dx; 38625 const cdx = cx - dx; 38626 const ady = ay - dy; 38627 const bdy = by - dy; 38628 const cdy = cy - dy; 38629 38630 const bdxcdy = bdx * cdy; 38631 const cdxbdy = cdx * bdy; 38632 const alift = adx * adx + ady * ady; 38633 38634 const cdxady = cdx * ady; 38635 const adxcdy = adx * cdy; 38636 const blift = bdx * bdx + bdy * bdy; 38637 38638 const adxbdy = adx * bdy; 38639 const bdxady = bdx * ady; 38640 const clift = cdx * cdx + cdy * cdy; 38641 38642 const det = 38643 alift * (bdxcdy - cdxbdy) + 38644 blift * (cdxady - adxcdy) + 38645 clift * (adxbdy - bdxady); 38646 38647 const permanent = 38648 (Math.abs(bdxcdy) + Math.abs(cdxbdy)) * alift + 38649 (Math.abs(cdxady) + Math.abs(adxcdy)) * blift + 38650 (Math.abs(adxbdy) + Math.abs(bdxady)) * clift; 38651 38652 const errbound = iccerrboundA * permanent; 38653 38654 if (det > errbound || -det > errbound) { 38655 return det; 38656 } 38657 return incircleadapt(ax, ay, bx, by, cx, cy, dx, dy, permanent); 38658} 38659 38660function incirclefast(ax, ay, bx, by, cx, cy, dx, dy) { 38661 const adx = ax - dx; 38662 const ady = ay - dy; 38663 const bdx = bx - dx; 38664 const bdy = by - dy; 38665 const cdx = cx - dx; 38666 const cdy = cy - dy; 38667 38668 const abdet = adx * bdy - bdx * ady; 38669 const bcdet = bdx * cdy - cdx * bdy; 38670 const cadet = cdx * ady - adx * cdy; 38671 const alift = adx * adx + ady * ady; 38672 const blift = bdx * bdx + bdy * bdy; 38673 const clift = cdx * cdx + cdy * cdy; 38674 38675 return alift * bcdet + blift * cadet + clift * abdet; 38676} 38677 38678 38679/***/ }), 38680
vendor: 30,544 bytes, lines 38681-39462
38681/***/ "./node_modules/robust-predicates/esm/insphere.js": 38682/*!********************************************************!*\ 38683 !*** ./node_modules/robust-predicates/esm/insphere.js ***! 38684 \********************************************************/ 38685/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 38686 38687__webpack_require__.r(__webpack_exports__); 38688/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38689/* harmony export */ insphere: () => (/* binding */ insphere), 38690/* harmony export */ inspherefast: () => (/* binding */ inspherefast) 38691/* harmony export */ }); 38692/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util.js */ "./node_modules/robust-predicates/esm/util.js"); 38693 38694 38695const isperrboundA = (16 + 224 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 38696const isperrboundB = (5 + 72 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 38697const isperrboundC = (71 + 1408 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 38698 38699const ab = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38700const bc = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38701const cd = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38702const de = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38703const ea = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38704const ac = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38705const bd = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38706const ce = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38707const da = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38708const eb = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 38709 38710const abc = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38711const bcd = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38712const cde = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38713const dea = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38714const eab = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38715const abd = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38716const bce = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38717const cda = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38718const deb = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38719const eac = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38720 38721const adet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(1152); 38722const bdet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(1152); 38723const cdet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(1152); 38724const ddet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(1152); 38725const edet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(1152); 38726const abdet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(2304); 38727const cddet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(2304); 38728const cdedet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(3456); 38729const deter = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(5760); 38730 38731const _8 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 38732const _8b = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 38733const _8c = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 38734const _16 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(16); 38735const _24 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(24); 38736const _48 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(48); 38737const _48b = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(48); 38738const _96 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(96); 38739const _192 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(192); 38740const _384x = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(384); 38741const _384y = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(384); 38742const _384z = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(384); 38743const _768 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(768); 38744 38745function sum_three_scale(a, b, c, az, bz, cz, out) { 38746 return (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38747 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, a, az, _8), _8, 38748 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, b, bz, _8b), _8b, 38749 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, c, cz, _8c), _8c, _16, out); 38750} 38751 38752function liftexact(alen, a, blen, b, clen, c, dlen, d, x, y, z, out) { 38753 const len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 38754 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(alen, a, blen, b, _48), _48, 38755 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.negate)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(clen, c, dlen, d, _48b), _48b), _48b, _96); 38756 38757 return (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 38758 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _96, x, _192), _192, x, _384x), _384x, 38759 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _96, y, _192), _192, y, _384y), _384y, 38760 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _96, z, _192), _192, z, _384z), _384z, _768, out); 38761} 38762 38763function insphereexact(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz, ex, ey, ez) { 38764 let bvirt, c, ahi, alo, bhi, blo, _i, _j, _0, s1, s0, t1, t0, u3; 38765 38766 s1 = ax * by; 38767 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ax; 38768 ahi = c - (c - ax); 38769 alo = ax - ahi; 38770 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * by; 38771 bhi = c - (c - by); 38772 blo = by - bhi; 38773 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38774 t1 = bx * ay; 38775 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bx; 38776 ahi = c - (c - bx); 38777 alo = bx - ahi; 38778 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ay; 38779 bhi = c - (c - ay); 38780 blo = ay - bhi; 38781 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38782 _i = s0 - t0; 38783 bvirt = s0 - _i; 38784 ab[0] = s0 - (_i + bvirt) + (bvirt - t0); 38785 _j = s1 + _i; 38786 bvirt = _j - s1; 38787 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38788 _i = _0 - t1; 38789 bvirt = _0 - _i; 38790 ab[1] = _0 - (_i + bvirt) + (bvirt - t1); 38791 u3 = _j + _i; 38792 bvirt = u3 - _j; 38793 ab[2] = _j - (u3 - bvirt) + (_i - bvirt); 38794 ab[3] = u3; 38795 s1 = bx * cy; 38796 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bx; 38797 ahi = c - (c - bx); 38798 alo = bx - ahi; 38799 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cy; 38800 bhi = c - (c - cy); 38801 blo = cy - bhi; 38802 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38803 t1 = cx * by; 38804 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cx; 38805 ahi = c - (c - cx); 38806 alo = cx - ahi; 38807 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * by; 38808 bhi = c - (c - by); 38809 blo = by - bhi; 38810 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38811 _i = s0 - t0; 38812 bvirt = s0 - _i; 38813 bc[0] = s0 - (_i + bvirt) + (bvirt - t0); 38814 _j = s1 + _i; 38815 bvirt = _j - s1; 38816 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38817 _i = _0 - t1; 38818 bvirt = _0 - _i; 38819 bc[1] = _0 - (_i + bvirt) + (bvirt - t1); 38820 u3 = _j + _i; 38821 bvirt = u3 - _j; 38822 bc[2] = _j - (u3 - bvirt) + (_i - bvirt); 38823 bc[3] = u3; 38824 s1 = cx * dy; 38825 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cx; 38826 ahi = c - (c - cx); 38827 alo = cx - ahi; 38828 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dy; 38829 bhi = c - (c - dy); 38830 blo = dy - bhi; 38831 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38832 t1 = dx * cy; 38833 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dx; 38834 ahi = c - (c - dx); 38835 alo = dx - ahi; 38836 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cy; 38837 bhi = c - (c - cy); 38838 blo = cy - bhi; 38839 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38840 _i = s0 - t0; 38841 bvirt = s0 - _i; 38842 cd[0] = s0 - (_i + bvirt) + (bvirt - t0); 38843 _j = s1 + _i; 38844 bvirt = _j - s1; 38845 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38846 _i = _0 - t1; 38847 bvirt = _0 - _i; 38848 cd[1] = _0 - (_i + bvirt) + (bvirt - t1); 38849 u3 = _j + _i; 38850 bvirt = u3 - _j; 38851 cd[2] = _j - (u3 - bvirt) + (_i - bvirt); 38852 cd[3] = u3; 38853 s1 = dx * ey; 38854 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dx; 38855 ahi = c - (c - dx); 38856 alo = dx - ahi; 38857 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ey; 38858 bhi = c - (c - ey); 38859 blo = ey - bhi; 38860 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38861 t1 = ex * dy; 38862 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ex; 38863 ahi = c - (c - ex); 38864 alo = ex - ahi; 38865 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dy; 38866 bhi = c - (c - dy); 38867 blo = dy - bhi; 38868 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38869 _i = s0 - t0; 38870 bvirt = s0 - _i; 38871 de[0] = s0 - (_i + bvirt) + (bvirt - t0); 38872 _j = s1 + _i; 38873 bvirt = _j - s1; 38874 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38875 _i = _0 - t1; 38876 bvirt = _0 - _i; 38877 de[1] = _0 - (_i + bvirt) + (bvirt - t1); 38878 u3 = _j + _i; 38879 bvirt = u3 - _j; 38880 de[2] = _j - (u3 - bvirt) + (_i - bvirt); 38881 de[3] = u3; 38882 s1 = ex * ay; 38883 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ex; 38884 ahi = c - (c - ex); 38885 alo = ex - ahi; 38886 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ay; 38887 bhi = c - (c - ay); 38888 blo = ay - bhi; 38889 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38890 t1 = ax * ey; 38891 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ax; 38892 ahi = c - (c - ax); 38893 alo = ax - ahi; 38894 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ey; 38895 bhi = c - (c - ey); 38896 blo = ey - bhi; 38897 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38898 _i = s0 - t0; 38899 bvirt = s0 - _i; 38900 ea[0] = s0 - (_i + bvirt) + (bvirt - t0); 38901 _j = s1 + _i; 38902 bvirt = _j - s1; 38903 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38904 _i = _0 - t1; 38905 bvirt = _0 - _i; 38906 ea[1] = _0 - (_i + bvirt) + (bvirt - t1); 38907 u3 = _j + _i; 38908 bvirt = u3 - _j; 38909 ea[2] = _j - (u3 - bvirt) + (_i - bvirt); 38910 ea[3] = u3; 38911 s1 = ax * cy; 38912 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ax; 38913 ahi = c - (c - ax); 38914 alo = ax - ahi; 38915 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cy; 38916 bhi = c - (c - cy); 38917 blo = cy - bhi; 38918 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38919 t1 = cx * ay; 38920 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cx; 38921 ahi = c - (c - cx); 38922 alo = cx - ahi; 38923 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ay; 38924 bhi = c - (c - ay); 38925 blo = ay - bhi; 38926 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38927 _i = s0 - t0; 38928 bvirt = s0 - _i; 38929 ac[0] = s0 - (_i + bvirt) + (bvirt - t0); 38930 _j = s1 + _i; 38931 bvirt = _j - s1; 38932 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38933 _i = _0 - t1; 38934 bvirt = _0 - _i; 38935 ac[1] = _0 - (_i + bvirt) + (bvirt - t1); 38936 u3 = _j + _i; 38937 bvirt = u3 - _j; 38938 ac[2] = _j - (u3 - bvirt) + (_i - bvirt); 38939 ac[3] = u3; 38940 s1 = bx * dy; 38941 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bx; 38942 ahi = c - (c - bx); 38943 alo = bx - ahi; 38944 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dy; 38945 bhi = c - (c - dy); 38946 blo = dy - bhi; 38947 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38948 t1 = dx * by; 38949 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dx; 38950 ahi = c - (c - dx); 38951 alo = dx - ahi; 38952 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * by; 38953 bhi = c - (c - by); 38954 blo = by - bhi; 38955 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38956 _i = s0 - t0; 38957 bvirt = s0 - _i; 38958 bd[0] = s0 - (_i + bvirt) + (bvirt - t0); 38959 _j = s1 + _i; 38960 bvirt = _j - s1; 38961 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38962 _i = _0 - t1; 38963 bvirt = _0 - _i; 38964 bd[1] = _0 - (_i + bvirt) + (bvirt - t1); 38965 u3 = _j + _i; 38966 bvirt = u3 - _j; 38967 bd[2] = _j - (u3 - bvirt) + (_i - bvirt); 38968 bd[3] = u3; 38969 s1 = cx * ey; 38970 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cx; 38971 ahi = c - (c - cx); 38972 alo = cx - ahi; 38973 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ey; 38974 bhi = c - (c - ey); 38975 blo = ey - bhi; 38976 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 38977 t1 = ex * cy; 38978 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ex; 38979 ahi = c - (c - ex); 38980 alo = ex - ahi; 38981 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cy; 38982 bhi = c - (c - cy); 38983 blo = cy - bhi; 38984 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 38985 _i = s0 - t0; 38986 bvirt = s0 - _i; 38987 ce[0] = s0 - (_i + bvirt) + (bvirt - t0); 38988 _j = s1 + _i; 38989 bvirt = _j - s1; 38990 _0 = s1 - (_j - bvirt) + (_i - bvirt); 38991 _i = _0 - t1; 38992 bvirt = _0 - _i; 38993 ce[1] = _0 - (_i + bvirt) + (bvirt - t1); 38994 u3 = _j + _i; 38995 bvirt = u3 - _j; 38996 ce[2] = _j - (u3 - bvirt) + (_i - bvirt); 38997 ce[3] = u3; 38998 s1 = dx * ay; 38999 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dx; 39000 ahi = c - (c - dx); 39001 alo = dx - ahi; 39002 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ay; 39003 bhi = c - (c - ay); 39004 blo = ay - bhi; 39005 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39006 t1 = ax * dy; 39007 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ax; 39008 ahi = c - (c - ax); 39009 alo = ax - ahi; 39010 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dy; 39011 bhi = c - (c - dy); 39012 blo = dy - bhi; 39013 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39014 _i = s0 - t0; 39015 bvirt = s0 - _i; 39016 da[0] = s0 - (_i + bvirt) + (bvirt - t0); 39017 _j = s1 + _i; 39018 bvirt = _j - s1; 39019 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39020 _i = _0 - t1; 39021 bvirt = _0 - _i; 39022 da[1] = _0 - (_i + bvirt) + (bvirt - t1); 39023 u3 = _j + _i; 39024 bvirt = u3 - _j; 39025 da[2] = _j - (u3 - bvirt) + (_i - bvirt); 39026 da[3] = u3; 39027 s1 = ex * by; 39028 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ex; 39029 ahi = c - (c - ex); 39030 alo = ex - ahi; 39031 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * by; 39032 bhi = c - (c - by); 39033 blo = by - bhi; 39034 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39035 t1 = bx * ey; 39036 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bx; 39037 ahi = c - (c - bx); 39038 alo = bx - ahi; 39039 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ey; 39040 bhi = c - (c - ey); 39041 blo = ey - bhi; 39042 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39043 _i = s0 - t0; 39044 bvirt = s0 - _i; 39045 eb[0] = s0 - (_i + bvirt) + (bvirt - t0); 39046 _j = s1 + _i; 39047 bvirt = _j - s1; 39048 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39049 _i = _0 - t1; 39050 bvirt = _0 - _i; 39051 eb[1] = _0 - (_i + bvirt) + (bvirt - t1); 39052 u3 = _j + _i; 39053 bvirt = u3 - _j; 39054 eb[2] = _j - (u3 - bvirt) + (_i - bvirt); 39055 eb[3] = u3; 39056 39057 const abclen = sum_three_scale(ab, bc, ac, cz, az, -bz, abc); 39058 const bcdlen = sum_three_scale(bc, cd, bd, dz, bz, -cz, bcd); 39059 const cdelen = sum_three_scale(cd, de, ce, ez, cz, -dz, cde); 39060 const dealen = sum_three_scale(de, ea, da, az, dz, -ez, dea); 39061 const eablen = sum_three_scale(ea, ab, eb, bz, ez, -az, eab); 39062 const abdlen = sum_three_scale(ab, bd, da, dz, az, bz, abd); 39063 const bcelen = sum_three_scale(bc, ce, eb, ez, bz, cz, bce); 39064 const cdalen = sum_three_scale(cd, da, ac, az, cz, dz, cda); 39065 const deblen = sum_three_scale(de, eb, bd, bz, dz, ez, deb); 39066 const eaclen = sum_three_scale(ea, ac, ce, cz, ez, az, eac); 39067 39068 const deterlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 39069 liftexact(cdelen, cde, bcelen, bce, deblen, deb, bcdlen, bcd, ax, ay, az, adet), adet, 39070 liftexact(dealen, dea, cdalen, cda, eaclen, eac, cdelen, cde, bx, by, bz, bdet), bdet, 39071 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 39072 liftexact(eablen, eab, deblen, deb, abdlen, abd, dealen, dea, cx, cy, cz, cdet), cdet, 39073 liftexact(abclen, abc, eaclen, eac, bcelen, bce, eablen, eab, dx, dy, dz, ddet), ddet, 39074 liftexact(bcdlen, bcd, abdlen, abd, cdalen, cda, abclen, abc, ex, ey, ez, edet), edet, cddet, cdedet), cdedet, abdet, deter); 39075 39076 return deter[deterlen - 1]; 39077} 39078 39079const xdet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(96); 39080const ydet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(96); 39081const zdet = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(96); 39082const fin = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(1152); 39083 39084function liftadapt(a, b, c, az, bz, cz, x, y, z, out) { 39085 const len = sum_three_scale(a, b, c, az, bz, cz, _24); 39086 return (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum_three)( 39087 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _24, x, _48), _48, x, xdet), xdet, 39088 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _24, y, _48), _48, y, ydet), ydet, 39089 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)((0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(len, _24, z, _48), _48, z, zdet), zdet, _192, out); 39090} 39091 39092function insphereadapt(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz, ex, ey, ez, permanent) { 39093 let ab3, bc3, cd3, da3, ac3, bd3; 39094 39095 let aextail, bextail, cextail, dextail; 39096 let aeytail, beytail, ceytail, deytail; 39097 let aeztail, beztail, ceztail, deztail; 39098 39099 let bvirt, c, ahi, alo, bhi, blo, _i, _j, _0, s1, s0, t1, t0; 39100 39101 const aex = ax - ex; 39102 const bex = bx - ex; 39103 const cex = cx - ex; 39104 const dex = dx - ex; 39105 const aey = ay - ey; 39106 const bey = by - ey; 39107 const cey = cy - ey; 39108 const dey = dy - ey; 39109 const aez = az - ez; 39110 const bez = bz - ez; 39111 const cez = cz - ez; 39112 const dez = dz - ez; 39113 39114 s1 = aex * bey; 39115 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * aex; 39116 ahi = c - (c - aex); 39117 alo = aex - ahi; 39118 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bey; 39119 bhi = c - (c - bey); 39120 blo = bey - bhi; 39121 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39122 t1 = bex * aey; 39123 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bex; 39124 ahi = c - (c - bex); 39125 alo = bex - ahi; 39126 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * aey; 39127 bhi = c - (c - aey); 39128 blo = aey - bhi; 39129 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39130 _i = s0 - t0; 39131 bvirt = s0 - _i; 39132 ab[0] = s0 - (_i + bvirt) + (bvirt - t0); 39133 _j = s1 + _i; 39134 bvirt = _j - s1; 39135 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39136 _i = _0 - t1; 39137 bvirt = _0 - _i; 39138 ab[1] = _0 - (_i + bvirt) + (bvirt - t1); 39139 ab3 = _j + _i; 39140 bvirt = ab3 - _j; 39141 ab[2] = _j - (ab3 - bvirt) + (_i - bvirt); 39142 ab[3] = ab3; 39143 s1 = bex * cey; 39144 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bex; 39145 ahi = c - (c - bex); 39146 alo = bex - ahi; 39147 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cey; 39148 bhi = c - (c - cey); 39149 blo = cey - bhi; 39150 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39151 t1 = cex * bey; 39152 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cex; 39153 ahi = c - (c - cex); 39154 alo = cex - ahi; 39155 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bey; 39156 bhi = c - (c - bey); 39157 blo = bey - bhi; 39158 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39159 _i = s0 - t0; 39160 bvirt = s0 - _i; 39161 bc[0] = s0 - (_i + bvirt) + (bvirt - t0); 39162 _j = s1 + _i; 39163 bvirt = _j - s1; 39164 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39165 _i = _0 - t1; 39166 bvirt = _0 - _i; 39167 bc[1] = _0 - (_i + bvirt) + (bvirt - t1); 39168 bc3 = _j + _i; 39169 bvirt = bc3 - _j; 39170 bc[2] = _j - (bc3 - bvirt) + (_i - bvirt); 39171 bc[3] = bc3; 39172 s1 = cex * dey; 39173 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cex; 39174 ahi = c - (c - cex); 39175 alo = cex - ahi; 39176 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dey; 39177 bhi = c - (c - dey); 39178 blo = dey - bhi; 39179 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39180 t1 = dex * cey; 39181 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dex; 39182 ahi = c - (c - dex); 39183 alo = dex - ahi; 39184 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cey; 39185 bhi = c - (c - cey); 39186 blo = cey - bhi; 39187 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39188 _i = s0 - t0; 39189 bvirt = s0 - _i; 39190 cd[0] = s0 - (_i + bvirt) + (bvirt - t0); 39191 _j = s1 + _i; 39192 bvirt = _j - s1; 39193 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39194 _i = _0 - t1; 39195 bvirt = _0 - _i; 39196 cd[1] = _0 - (_i + bvirt) + (bvirt - t1); 39197 cd3 = _j + _i; 39198 bvirt = cd3 - _j; 39199 cd[2] = _j - (cd3 - bvirt) + (_i - bvirt); 39200 cd[3] = cd3; 39201 s1 = dex * aey; 39202 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dex; 39203 ahi = c - (c - dex); 39204 alo = dex - ahi; 39205 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * aey; 39206 bhi = c - (c - aey); 39207 blo = aey - bhi; 39208 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39209 t1 = aex * dey; 39210 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * aex; 39211 ahi = c - (c - aex); 39212 alo = aex - ahi; 39213 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dey; 39214 bhi = c - (c - dey); 39215 blo = dey - bhi; 39216 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39217 _i = s0 - t0; 39218 bvirt = s0 - _i; 39219 da[0] = s0 - (_i + bvirt) + (bvirt - t0); 39220 _j = s1 + _i; 39221 bvirt = _j - s1; 39222 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39223 _i = _0 - t1; 39224 bvirt = _0 - _i; 39225 da[1] = _0 - (_i + bvirt) + (bvirt - t1); 39226 da3 = _j + _i; 39227 bvirt = da3 - _j; 39228 da[2] = _j - (da3 - bvirt) + (_i - bvirt); 39229 da[3] = da3; 39230 s1 = aex * cey; 39231 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * aex; 39232 ahi = c - (c - aex); 39233 alo = aex - ahi; 39234 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cey; 39235 bhi = c - (c - cey); 39236 blo = cey - bhi; 39237 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39238 t1 = cex * aey; 39239 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cex; 39240 ahi = c - (c - cex); 39241 alo = cex - ahi; 39242 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * aey; 39243 bhi = c - (c - aey); 39244 blo = aey - bhi; 39245 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39246 _i = s0 - t0; 39247 bvirt = s0 - _i; 39248 ac[0] = s0 - (_i + bvirt) + (bvirt - t0); 39249 _j = s1 + _i; 39250 bvirt = _j - s1; 39251 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39252 _i = _0 - t1; 39253 bvirt = _0 - _i; 39254 ac[1] = _0 - (_i + bvirt) + (bvirt - t1); 39255 ac3 = _j + _i; 39256 bvirt = ac3 - _j; 39257 ac[2] = _j - (ac3 - bvirt) + (_i - bvirt); 39258 ac[3] = ac3; 39259 s1 = bex * dey; 39260 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bex; 39261 ahi = c - (c - bex); 39262 alo = bex - ahi; 39263 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dey; 39264 bhi = c - (c - dey); 39265 blo = dey - bhi; 39266 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39267 t1 = dex * bey; 39268 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * dex; 39269 ahi = c - (c - dex); 39270 alo = dex - ahi; 39271 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bey; 39272 bhi = c - (c - bey); 39273 blo = bey - bhi; 39274 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39275 _i = s0 - t0; 39276 bvirt = s0 - _i; 39277 bd[0] = s0 - (_i + bvirt) + (bvirt - t0); 39278 _j = s1 + _i; 39279 bvirt = _j - s1; 39280 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39281 _i = _0 - t1; 39282 bvirt = _0 - _i; 39283 bd[1] = _0 - (_i + bvirt) + (bvirt - t1); 39284 bd3 = _j + _i; 39285 bvirt = bd3 - _j; 39286 bd[2] = _j - (bd3 - bvirt) + (_i - bvirt); 39287 bd[3] = bd3; 39288 39289 const finlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 39290 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 39291 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.negate)(liftadapt(bc, cd, bd, dez, bez, -cez, aex, aey, aez, adet), adet), adet, 39292 liftadapt(cd, da, ac, aez, cez, dez, bex, bey, bez, bdet), bdet, abdet), abdet, 39293 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 39294 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.negate)(liftadapt(da, ab, bd, bez, dez, aez, cex, cey, cez, cdet), cdet), cdet, 39295 liftadapt(ab, bc, ac, cez, aez, -bez, dex, dey, dez, ddet), ddet, cddet), cddet, fin); 39296 39297 let det = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.estimate)(finlen, fin); 39298 let errbound = isperrboundB * permanent; 39299 if (det >= errbound || -det >= errbound) { 39300 return det; 39301 } 39302 39303 bvirt = ax - aex; 39304 aextail = ax - (aex + bvirt) + (bvirt - ex); 39305 bvirt = ay - aey; 39306 aeytail = ay - (aey + bvirt) + (bvirt - ey); 39307 bvirt = az - aez; 39308 aeztail = az - (aez + bvirt) + (bvirt - ez); 39309 bvirt = bx - bex; 39310 bextail = bx - (bex + bvirt) + (bvirt - ex); 39311 bvirt = by - bey; 39312 beytail = by - (bey + bvirt) + (bvirt - ey); 39313 bvirt = bz - bez; 39314 beztail = bz - (bez + bvirt) + (bvirt - ez); 39315 bvirt = cx - cex; 39316 cextail = cx - (cex + bvirt) + (bvirt - ex); 39317 bvirt = cy - cey; 39318 ceytail = cy - (cey + bvirt) + (bvirt - ey); 39319 bvirt = cz - cez; 39320 ceztail = cz - (cez + bvirt) + (bvirt - ez); 39321 bvirt = dx - dex; 39322 dextail = dx - (dex + bvirt) + (bvirt - ex); 39323 bvirt = dy - dey; 39324 deytail = dy - (dey + bvirt) + (bvirt - ey); 39325 bvirt = dz - dez; 39326 deztail = dz - (dez + bvirt) + (bvirt - ez); 39327 if (aextail === 0 && aeytail === 0 && aeztail === 0 && 39328 bextail === 0 && beytail === 0 && beztail === 0 && 39329 cextail === 0 && ceytail === 0 && ceztail === 0 && 39330 dextail === 0 && deytail === 0 && deztail === 0) { 39331 return det; 39332 } 39333 39334 errbound = isperrboundC * permanent + _util_js__WEBPACK_IMPORTED_MODULE_0__.resulterrbound * Math.abs(det); 39335 39336 const abeps = (aex * beytail + bey * aextail) - (aey * bextail + bex * aeytail); 39337 const bceps = (bex * ceytail + cey * bextail) - (bey * cextail + cex * beytail); 39338 const cdeps = (cex * deytail + dey * cextail) - (cey * dextail + dex * ceytail); 39339 const daeps = (dex * aeytail + aey * dextail) - (dey * aextail + aex * deytail); 39340 const aceps = (aex * ceytail + cey * aextail) - (aey * cextail + cex * aeytail); 39341 const bdeps = (bex * deytail + dey * bextail) - (bey * dextail + dex * beytail); 39342 det += 39343 (((bex * bex + bey * bey + bez * bez) * ((cez * daeps + dez * aceps + aez * cdeps) + 39344 (ceztail * da3 + deztail * ac3 + aeztail * cd3)) + (dex * dex + dey * dey + dez * dez) * 39345 ((aez * bceps - bez * aceps + cez * abeps) + (aeztail * bc3 - beztail * ac3 + ceztail * ab3))) - 39346 ((aex * aex + aey * aey + aez * aez) * ((bez * cdeps - cez * bdeps + dez * bceps) + 39347 (beztail * cd3 - ceztail * bd3 + deztail * bc3)) + (cex * cex + cey * cey + cez * cez) * 39348 ((dez * abeps + aez * bdeps + bez * daeps) + (deztail * ab3 + aeztail * bd3 + beztail * da3)))) + 39349 2 * (((bex * bextail + bey * beytail + bez * beztail) * (cez * da3 + dez * ac3 + aez * cd3) + 39350 (dex * dextail + dey * deytail + dez * deztail) * (aez * bc3 - bez * ac3 + cez * ab3)) - 39351 ((aex * aextail + aey * aeytail + aez * aeztail) * (bez * cd3 - cez * bd3 + dez * bc3) + 39352 (cex * cextail + cey * ceytail + cez * ceztail) * (dez * ab3 + aez * bd3 + bez * da3))); 39353 39354 if (det >= errbound || -det >= errbound) { 39355 return det; 39356 } 39357 39358 return insphereexact(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz, ex, ey, ez); 39359} 39360 39361function insphere(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz, ex, ey, ez) { 39362 const aex = ax - ex; 39363 const bex = bx - ex; 39364 const cex = cx - ex; 39365 const dex = dx - ex; 39366 const aey = ay - ey; 39367 const bey = by - ey; 39368 const cey = cy - ey; 39369 const dey = dy - ey; 39370 const aez = az - ez; 39371 const bez = bz - ez; 39372 const cez = cz - ez; 39373 const dez = dz - ez; 39374 39375 const aexbey = aex * bey; 39376 const bexaey = bex * aey; 39377 const ab = aexbey - bexaey; 39378 const bexcey = bex * cey; 39379 const cexbey = cex * bey; 39380 const bc = bexcey - cexbey; 39381 const cexdey = cex * dey; 39382 const dexcey = dex * cey; 39383 const cd = cexdey - dexcey; 39384 const dexaey = dex * aey; 39385 const aexdey = aex * dey; 39386 const da = dexaey - aexdey; 39387 const aexcey = aex * cey; 39388 const cexaey = cex * aey; 39389 const ac = aexcey - cexaey; 39390 const bexdey = bex * dey; 39391 const dexbey = dex * bey; 39392 const bd = bexdey - dexbey; 39393 39394 const alift = aex * aex + aey * aey + aez * aez; 39395 const blift = bex * bex + bey * bey + bez * bez; 39396 const clift = cex * cex + cey * cey + cez * cez; 39397 const dlift = dex * dex + dey * dey + dez * dez; 39398 39399 const det = 39400 (clift * (dez * ab + aez * bd + bez * da) - dlift * (aez * bc - bez * ac + cez * ab)) + 39401 (alift * (bez * cd - cez * bd + dez * bc) - blift * (cez * da + dez * ac + aez * cd)); 39402 39403 const aezplus = Math.abs(aez); 39404 const bezplus = Math.abs(bez); 39405 const cezplus = Math.abs(cez); 39406 const dezplus = Math.abs(dez); 39407 const aexbeyplus = Math.abs(aexbey) + Math.abs(bexaey); 39408 const bexceyplus = Math.abs(bexcey) + Math.abs(cexbey); 39409 const cexdeyplus = Math.abs(cexdey) + Math.abs(dexcey); 39410 const dexaeyplus = Math.abs(dexaey) + Math.abs(aexdey); 39411 const aexceyplus = Math.abs(aexcey) + Math.abs(cexaey); 39412 const bexdeyplus = Math.abs(bexdey) + Math.abs(dexbey); 39413 const permanent = 39414 (cexdeyplus * bezplus + bexdeyplus * cezplus + bexceyplus * dezplus) * alift + 39415 (dexaeyplus * cezplus + aexceyplus * dezplus + cexdeyplus * aezplus) * blift + 39416 (aexbeyplus * dezplus + bexdeyplus * aezplus + dexaeyplus * bezplus) * clift + 39417 (bexceyplus * aezplus + aexceyplus * bezplus + aexbeyplus * cezplus) * dlift; 39418 39419 const errbound = isperrboundA * permanent; 39420 if (det > errbound || -det > errbound) { 39421 return det; 39422 } 39423 return -insphereadapt(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz, ex, ey, ez, permanent); 39424} 39425 39426function inspherefast(pax, pay, paz, pbx, pby, pbz, pcx, pcy, pcz, pdx, pdy, pdz, pex, pey, pez) { 39427 const aex = pax - pex; 39428 const bex = pbx - pex; 39429 const cex = pcx - pex; 39430 const dex = pdx - pex; 39431 const aey = pay - pey; 39432 const bey = pby - pey; 39433 const cey = pcy - pey; 39434 const dey = pdy - pey; 39435 const aez = paz - pez; 39436 const bez = pbz - pez; 39437 const cez = pcz - pez; 39438 const dez = pdz - pez; 39439 39440 const ab = aex * bey - bex * aey; 39441 const bc = bex * cey - cex * bey; 39442 const cd = cex * dey - dex * cey; 39443 const da = dex * aey - aex * dey; 39444 const ac = aex * cey - cex * aey; 39445 const bd = bex * dey - dex * bey; 39446 39447 const abc = aez * bc - bez * ac + cez * ab; 39448 const bcd = bez * cd - cez * bd + dez * bc; 39449 const cda = cez * da + dez * ac + aez * cd; 39450 const dab = dez * ab + aez * bd + bez * da; 39451 39452 const alift = aex * aex + aey * aey + aez * aez; 39453 const blift = bex * bex + bey * bey + bez * bez; 39454 const clift = cex * cex + cey * cey + cez * cez; 39455 const dlift = dex * dex + dey * dey + dez * dez; 39456 39457 return (clift * dab - dlift * abc) + (alift * bcd - blift * cda); 39458} 39459 39460 39461/***/ }), 39462
vendor: 7,249 bytes, lines 39463-39662
39463/***/ "./node_modules/robust-predicates/esm/orient2d.js": 39464/*!********************************************************!*\ 39465 !*** ./node_modules/robust-predicates/esm/orient2d.js ***! 39466 \********************************************************/ 39467/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 39468 39469__webpack_require__.r(__webpack_exports__); 39470/* harmony export */ __webpack_require__.d(__webpack_exports__, { 39471/* harmony export */ orient2d: () => (/* binding */ orient2d), 39472/* harmony export */ orient2dfast: () => (/* binding */ orient2dfast) 39473/* harmony export */ }); 39474/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util.js */ "./node_modules/robust-predicates/esm/util.js"); 39475 39476 39477const ccwerrboundA = (3 + 16 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 39478const ccwerrboundB = (2 + 12 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 39479const ccwerrboundC = (9 + 64 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 39480 39481const B = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39482const C1 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 39483const C2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(12); 39484const D = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(16); 39485const u = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39486 39487function orient2dadapt(ax, ay, bx, by, cx, cy, detsum) { 39488 let acxtail, acytail, bcxtail, bcytail; 39489 let bvirt, c, ahi, alo, bhi, blo, _i, _j, _0, s1, s0, t1, t0, u3; 39490 39491 const acx = ax - cx; 39492 const bcx = bx - cx; 39493 const acy = ay - cy; 39494 const bcy = by - cy; 39495 39496 s1 = acx * bcy; 39497 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * acx; 39498 ahi = c - (c - acx); 39499 alo = acx - ahi; 39500 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bcy; 39501 bhi = c - (c - bcy); 39502 blo = bcy - bhi; 39503 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39504 t1 = acy * bcx; 39505 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * acy; 39506 ahi = c - (c - acy); 39507 alo = acy - ahi; 39508 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bcx; 39509 bhi = c - (c - bcx); 39510 blo = bcx - bhi; 39511 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39512 _i = s0 - t0; 39513 bvirt = s0 - _i; 39514 B[0] = s0 - (_i + bvirt) + (bvirt - t0); 39515 _j = s1 + _i; 39516 bvirt = _j - s1; 39517 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39518 _i = _0 - t1; 39519 bvirt = _0 - _i; 39520 B[1] = _0 - (_i + bvirt) + (bvirt - t1); 39521 u3 = _j + _i; 39522 bvirt = u3 - _j; 39523 B[2] = _j - (u3 - bvirt) + (_i - bvirt); 39524 B[3] = u3; 39525 39526 let det = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.estimate)(4, B); 39527 let errbound = ccwerrboundB * detsum; 39528 if (det >= errbound || -det >= errbound) { 39529 return det; 39530 } 39531 39532 bvirt = ax - acx; 39533 acxtail = ax - (acx + bvirt) + (bvirt - cx); 39534 bvirt = bx - bcx; 39535 bcxtail = bx - (bcx + bvirt) + (bvirt - cx); 39536 bvirt = ay - acy; 39537 acytail = ay - (acy + bvirt) + (bvirt - cy); 39538 bvirt = by - bcy; 39539 bcytail = by - (bcy + bvirt) + (bvirt - cy); 39540 39541 if (acxtail === 0 && acytail === 0 && bcxtail === 0 && bcytail === 0) { 39542 return det; 39543 } 39544 39545 errbound = ccwerrboundC * detsum + _util_js__WEBPACK_IMPORTED_MODULE_0__.resulterrbound * Math.abs(det); 39546 det += (acx * bcytail + bcy * acxtail) - (acy * bcxtail + bcx * acytail); 39547 if (det >= errbound || -det >= errbound) return det; 39548 39549 s1 = acxtail * bcy; 39550 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * acxtail; 39551 ahi = c - (c - acxtail); 39552 alo = acxtail - ahi; 39553 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bcy; 39554 bhi = c - (c - bcy); 39555 blo = bcy - bhi; 39556 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39557 t1 = acytail * bcx; 39558 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * acytail; 39559 ahi = c - (c - acytail); 39560 alo = acytail - ahi; 39561 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bcx; 39562 bhi = c - (c - bcx); 39563 blo = bcx - bhi; 39564 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39565 _i = s0 - t0; 39566 bvirt = s0 - _i; 39567 u[0] = s0 - (_i + bvirt) + (bvirt - t0); 39568 _j = s1 + _i; 39569 bvirt = _j - s1; 39570 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39571 _i = _0 - t1; 39572 bvirt = _0 - _i; 39573 u[1] = _0 - (_i + bvirt) + (bvirt - t1); 39574 u3 = _j + _i; 39575 bvirt = u3 - _j; 39576 u[2] = _j - (u3 - bvirt) + (_i - bvirt); 39577 u[3] = u3; 39578 const C1len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(4, B, 4, u, C1); 39579 39580 s1 = acx * bcytail; 39581 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * acx; 39582 ahi = c - (c - acx); 39583 alo = acx - ahi; 39584 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bcytail; 39585 bhi = c - (c - bcytail); 39586 blo = bcytail - bhi; 39587 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39588 t1 = acy * bcxtail; 39589 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * acy; 39590 ahi = c - (c - acy); 39591 alo = acy - ahi; 39592 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bcxtail; 39593 bhi = c - (c - bcxtail); 39594 blo = bcxtail - bhi; 39595 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39596 _i = s0 - t0; 39597 bvirt = s0 - _i; 39598 u[0] = s0 - (_i + bvirt) + (bvirt - t0); 39599 _j = s1 + _i; 39600 bvirt = _j - s1; 39601 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39602 _i = _0 - t1; 39603 bvirt = _0 - _i; 39604 u[1] = _0 - (_i + bvirt) + (bvirt - t1); 39605 u3 = _j + _i; 39606 bvirt = u3 - _j; 39607 u[2] = _j - (u3 - bvirt) + (_i - bvirt); 39608 u[3] = u3; 39609 const C2len = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(C1len, C1, 4, u, C2); 39610 39611 s1 = acxtail * bcytail; 39612 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * acxtail; 39613 ahi = c - (c - acxtail); 39614 alo = acxtail - ahi; 39615 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bcytail; 39616 bhi = c - (c - bcytail); 39617 blo = bcytail - bhi; 39618 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39619 t1 = acytail * bcxtail; 39620 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * acytail; 39621 ahi = c - (c - acytail); 39622 alo = acytail - ahi; 39623 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bcxtail; 39624 bhi = c - (c - bcxtail); 39625 blo = bcxtail - bhi; 39626 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39627 _i = s0 - t0; 39628 bvirt = s0 - _i; 39629 u[0] = s0 - (_i + bvirt) + (bvirt - t0); 39630 _j = s1 + _i; 39631 bvirt = _j - s1; 39632 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39633 _i = _0 - t1; 39634 bvirt = _0 - _i; 39635 u[1] = _0 - (_i + bvirt) + (bvirt - t1); 39636 u3 = _j + _i; 39637 bvirt = u3 - _j; 39638 u[2] = _j - (u3 - bvirt) + (_i - bvirt); 39639 u[3] = u3; 39640 const Dlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(C2len, C2, 4, u, D); 39641 39642 return D[Dlen - 1]; 39643} 39644 39645function orient2d(ax, ay, bx, by, cx, cy) { 39646 const detleft = (ay - cy) * (bx - cx); 39647 const detright = (ax - cx) * (by - cy); 39648 const det = detleft - detright; 39649 39650 const detsum = Math.abs(detleft + detright); 39651 if (Math.abs(det) >= ccwerrboundA * detsum) return det; 39652 39653 return -orient2dadapt(ax, ay, bx, by, cx, cy, detsum); 39654} 39655 39656function orient2dfast(ax, ay, bx, by, cx, cy) { 39657 return (ay - cy) * (bx - cx) - (ax - cx) * (by - cy); 39658} 39659 39660 39661/***/ }), 39662
vendor: 17,993 bytes, lines 39663-40140
39663/***/ "./node_modules/robust-predicates/esm/orient3d.js": 39664/*!********************************************************!*\ 39665 !*** ./node_modules/robust-predicates/esm/orient3d.js ***! 39666 \********************************************************/ 39667/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 39668 39669__webpack_require__.r(__webpack_exports__); 39670/* harmony export */ __webpack_require__.d(__webpack_exports__, { 39671/* harmony export */ orient3d: () => (/* binding */ orient3d), 39672/* harmony export */ orient3dfast: () => (/* binding */ orient3dfast) 39673/* harmony export */ }); 39674/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util.js */ "./node_modules/robust-predicates/esm/util.js"); 39675 39676 39677const o3derrboundA = (7 + 56 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 39678const o3derrboundB = (3 + 28 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 39679const o3derrboundC = (26 + 288 * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon * _util_js__WEBPACK_IMPORTED_MODULE_0__.epsilon; 39680 39681const bc = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39682const ca = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39683const ab = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39684const at_b = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39685const at_c = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39686const bt_c = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39687const bt_a = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39688const ct_a = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39689const ct_b = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39690const bct = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 39691const cat = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 39692const abt = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 39693const u = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(4); 39694 39695const _8 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 39696const _8b = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 39697const _16 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(8); 39698const _12 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(12); 39699 39700let fin = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(192); 39701let fin2 = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.vec)(192); 39702 39703function finadd(finlen, alen, a) { 39704 finlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(finlen, fin, alen, a, fin2); 39705 const tmp = fin; fin = fin2; fin2 = tmp; 39706 return finlen; 39707} 39708 39709function tailinit(xtail, ytail, ax, ay, bx, by, a, b) { 39710 let bvirt, c, ahi, alo, bhi, blo, _i, _j, _k, _0, s1, s0, t1, t0, u3, negate; 39711 if (xtail === 0) { 39712 if (ytail === 0) { 39713 a[0] = 0; 39714 b[0] = 0; 39715 return 1; 39716 } else { 39717 negate = -ytail; 39718 s1 = negate * ax; 39719 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * negate; 39720 ahi = c - (c - negate); 39721 alo = negate - ahi; 39722 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ax; 39723 bhi = c - (c - ax); 39724 blo = ax - bhi; 39725 a[0] = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39726 a[1] = s1; 39727 s1 = ytail * bx; 39728 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ytail; 39729 ahi = c - (c - ytail); 39730 alo = ytail - ahi; 39731 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bx; 39732 bhi = c - (c - bx); 39733 blo = bx - bhi; 39734 b[0] = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39735 b[1] = s1; 39736 return 2; 39737 } 39738 } else { 39739 if (ytail === 0) { 39740 s1 = xtail * ay; 39741 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * xtail; 39742 ahi = c - (c - xtail); 39743 alo = xtail - ahi; 39744 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ay; 39745 bhi = c - (c - ay); 39746 blo = ay - bhi; 39747 a[0] = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39748 a[1] = s1; 39749 negate = -xtail; 39750 s1 = negate * by; 39751 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * negate; 39752 ahi = c - (c - negate); 39753 alo = negate - ahi; 39754 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * by; 39755 bhi = c - (c - by); 39756 blo = by - bhi; 39757 b[0] = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39758 b[1] = s1; 39759 return 2; 39760 } else { 39761 s1 = xtail * ay; 39762 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * xtail; 39763 ahi = c - (c - xtail); 39764 alo = xtail - ahi; 39765 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ay; 39766 bhi = c - (c - ay); 39767 blo = ay - bhi; 39768 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39769 t1 = ytail * ax; 39770 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ytail; 39771 ahi = c - (c - ytail); 39772 alo = ytail - ahi; 39773 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ax; 39774 bhi = c - (c - ax); 39775 blo = ax - bhi; 39776 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39777 _i = s0 - t0; 39778 bvirt = s0 - _i; 39779 a[0] = s0 - (_i + bvirt) + (bvirt - t0); 39780 _j = s1 + _i; 39781 bvirt = _j - s1; 39782 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39783 _i = _0 - t1; 39784 bvirt = _0 - _i; 39785 a[1] = _0 - (_i + bvirt) + (bvirt - t1); 39786 u3 = _j + _i; 39787 bvirt = u3 - _j; 39788 a[2] = _j - (u3 - bvirt) + (_i - bvirt); 39789 a[3] = u3; 39790 s1 = ytail * bx; 39791 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ytail; 39792 ahi = c - (c - ytail); 39793 alo = ytail - ahi; 39794 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bx; 39795 bhi = c - (c - bx); 39796 blo = bx - bhi; 39797 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39798 t1 = xtail * by; 39799 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * xtail; 39800 ahi = c - (c - xtail); 39801 alo = xtail - ahi; 39802 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * by; 39803 bhi = c - (c - by); 39804 blo = by - bhi; 39805 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39806 _i = s0 - t0; 39807 bvirt = s0 - _i; 39808 b[0] = s0 - (_i + bvirt) + (bvirt - t0); 39809 _j = s1 + _i; 39810 bvirt = _j - s1; 39811 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39812 _i = _0 - t1; 39813 bvirt = _0 - _i; 39814 b[1] = _0 - (_i + bvirt) + (bvirt - t1); 39815 u3 = _j + _i; 39816 bvirt = u3 - _j; 39817 b[2] = _j - (u3 - bvirt) + (_i - bvirt); 39818 b[3] = u3; 39819 return 4; 39820 } 39821 } 39822} 39823 39824function tailadd(finlen, a, b, k, z) { 39825 let bvirt, c, ahi, alo, bhi, blo, _i, _j, _k, _0, s1, s0, u3; 39826 s1 = a * b; 39827 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * a; 39828 ahi = c - (c - a); 39829 alo = a - ahi; 39830 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * b; 39831 bhi = c - (c - b); 39832 blo = b - bhi; 39833 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39834 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * k; 39835 bhi = c - (c - k); 39836 blo = k - bhi; 39837 _i = s0 * k; 39838 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * s0; 39839 ahi = c - (c - s0); 39840 alo = s0 - ahi; 39841 u[0] = alo * blo - (_i - ahi * bhi - alo * bhi - ahi * blo); 39842 _j = s1 * k; 39843 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * s1; 39844 ahi = c - (c - s1); 39845 alo = s1 - ahi; 39846 _0 = alo * blo - (_j - ahi * bhi - alo * bhi - ahi * blo); 39847 _k = _i + _0; 39848 bvirt = _k - _i; 39849 u[1] = _i - (_k - bvirt) + (_0 - bvirt); 39850 u3 = _j + _k; 39851 u[2] = _k - (u3 - _j); 39852 u[3] = u3; 39853 finlen = finadd(finlen, 4, u); 39854 if (z !== 0) { 39855 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * z; 39856 bhi = c - (c - z); 39857 blo = z - bhi; 39858 _i = s0 * z; 39859 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * s0; 39860 ahi = c - (c - s0); 39861 alo = s0 - ahi; 39862 u[0] = alo * blo - (_i - ahi * bhi - alo * bhi - ahi * blo); 39863 _j = s1 * z; 39864 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * s1; 39865 ahi = c - (c - s1); 39866 alo = s1 - ahi; 39867 _0 = alo * blo - (_j - ahi * bhi - alo * bhi - ahi * blo); 39868 _k = _i + _0; 39869 bvirt = _k - _i; 39870 u[1] = _i - (_k - bvirt) + (_0 - bvirt); 39871 u3 = _j + _k; 39872 u[2] = _k - (u3 - _j); 39873 u[3] = u3; 39874 finlen = finadd(finlen, 4, u); 39875 } 39876 return finlen; 39877} 39878 39879function orient3dadapt(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz, permanent) { 39880 let finlen; 39881 let adxtail, bdxtail, cdxtail; 39882 let adytail, bdytail, cdytail; 39883 let adztail, bdztail, cdztail; 39884 let bvirt, c, ahi, alo, bhi, blo, _i, _j, _k, _0, s1, s0, t1, t0, u3; 39885 39886 const adx = ax - dx; 39887 const bdx = bx - dx; 39888 const cdx = cx - dx; 39889 const ady = ay - dy; 39890 const bdy = by - dy; 39891 const cdy = cy - dy; 39892 const adz = az - dz; 39893 const bdz = bz - dz; 39894 const cdz = cz - dz; 39895 39896 s1 = bdx * cdy; 39897 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdx; 39898 ahi = c - (c - bdx); 39899 alo = bdx - ahi; 39900 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdy; 39901 bhi = c - (c - cdy); 39902 blo = cdy - bhi; 39903 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39904 t1 = cdx * bdy; 39905 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdx; 39906 ahi = c - (c - cdx); 39907 alo = cdx - ahi; 39908 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdy; 39909 bhi = c - (c - bdy); 39910 blo = bdy - bhi; 39911 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39912 _i = s0 - t0; 39913 bvirt = s0 - _i; 39914 bc[0] = s0 - (_i + bvirt) + (bvirt - t0); 39915 _j = s1 + _i; 39916 bvirt = _j - s1; 39917 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39918 _i = _0 - t1; 39919 bvirt = _0 - _i; 39920 bc[1] = _0 - (_i + bvirt) + (bvirt - t1); 39921 u3 = _j + _i; 39922 bvirt = u3 - _j; 39923 bc[2] = _j - (u3 - bvirt) + (_i - bvirt); 39924 bc[3] = u3; 39925 s1 = cdx * ady; 39926 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdx; 39927 ahi = c - (c - cdx); 39928 alo = cdx - ahi; 39929 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ady; 39930 bhi = c - (c - ady); 39931 blo = ady - bhi; 39932 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39933 t1 = adx * cdy; 39934 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adx; 39935 ahi = c - (c - adx); 39936 alo = adx - ahi; 39937 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * cdy; 39938 bhi = c - (c - cdy); 39939 blo = cdy - bhi; 39940 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39941 _i = s0 - t0; 39942 bvirt = s0 - _i; 39943 ca[0] = s0 - (_i + bvirt) + (bvirt - t0); 39944 _j = s1 + _i; 39945 bvirt = _j - s1; 39946 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39947 _i = _0 - t1; 39948 bvirt = _0 - _i; 39949 ca[1] = _0 - (_i + bvirt) + (bvirt - t1); 39950 u3 = _j + _i; 39951 bvirt = u3 - _j; 39952 ca[2] = _j - (u3 - bvirt) + (_i - bvirt); 39953 ca[3] = u3; 39954 s1 = adx * bdy; 39955 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * adx; 39956 ahi = c - (c - adx); 39957 alo = adx - ahi; 39958 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdy; 39959 bhi = c - (c - bdy); 39960 blo = bdy - bhi; 39961 s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo); 39962 t1 = bdx * ady; 39963 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * bdx; 39964 ahi = c - (c - bdx); 39965 alo = bdx - ahi; 39966 c = _util_js__WEBPACK_IMPORTED_MODULE_0__.splitter * ady; 39967 bhi = c - (c - ady); 39968 blo = ady - bhi; 39969 t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo); 39970 _i = s0 - t0; 39971 bvirt = s0 - _i; 39972 ab[0] = s0 - (_i + bvirt) + (bvirt - t0); 39973 _j = s1 + _i; 39974 bvirt = _j - s1; 39975 _0 = s1 - (_j - bvirt) + (_i - bvirt); 39976 _i = _0 - t1; 39977 bvirt = _0 - _i; 39978 ab[1] = _0 - (_i + bvirt) + (bvirt - t1); 39979 u3 = _j + _i; 39980 bvirt = u3 - _j; 39981 ab[2] = _j - (u3 - bvirt) + (_i - bvirt); 39982 ab[3] = u3; 39983 39984 finlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 39985 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)( 39986 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bc, adz, _8), _8, 39987 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ca, bdz, _8b), _8b, _16), _16, 39988 (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ab, cdz, _8), _8, fin); 39989 39990 let det = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.estimate)(finlen, fin); 39991 let errbound = o3derrboundB * permanent; 39992 if (det >= errbound || -det >= errbound) { 39993 return det; 39994 } 39995 39996 bvirt = ax - adx; 39997 adxtail = ax - (adx + bvirt) + (bvirt - dx); 39998 bvirt = bx - bdx; 39999 bdxtail = bx - (bdx + bvirt) + (bvirt - dx); 40000 bvirt = cx - cdx; 40001 cdxtail = cx - (cdx + bvirt) + (bvirt - dx); 40002 bvirt = ay - ady; 40003 adytail = ay - (ady + bvirt) + (bvirt - dy); 40004 bvirt = by - bdy; 40005 bdytail = by - (bdy + bvirt) + (bvirt - dy); 40006 bvirt = cy - cdy; 40007 cdytail = cy - (cdy + bvirt) + (bvirt - dy); 40008 bvirt = az - adz; 40009 adztail = az - (adz + bvirt) + (bvirt - dz); 40010 bvirt = bz - bdz; 40011 bdztail = bz - (bdz + bvirt) + (bvirt - dz); 40012 bvirt = cz - cdz; 40013 cdztail = cz - (cdz + bvirt) + (bvirt - dz); 40014 40015 if (adxtail === 0 && bdxtail === 0 && cdxtail === 0 && 40016 adytail === 0 && bdytail === 0 && cdytail === 0 && 40017 adztail === 0 && bdztail === 0 && cdztail === 0) { 40018 return det; 40019 } 40020 40021 errbound = o3derrboundC * permanent + _util_js__WEBPACK_IMPORTED_MODULE_0__.resulterrbound * Math.abs(det); 40022 det += 40023 adz * (bdx * cdytail + cdy * bdxtail - (bdy * cdxtail + cdx * bdytail)) + adztail * (bdx * cdy - bdy * cdx) + 40024 bdz * (cdx * adytail + ady * cdxtail - (cdy * adxtail + adx * cdytail)) + bdztail * (cdx * ady - cdy * adx) + 40025 cdz * (adx * bdytail + bdy * adxtail - (ady * bdxtail + bdx * adytail)) + cdztail * (adx * bdy - ady * bdx); 40026 if (det >= errbound || -det >= errbound) { 40027 return det; 40028 } 40029 40030 const at_len = tailinit(adxtail, adytail, bdx, bdy, cdx, cdy, at_b, at_c); 40031 const bt_len = tailinit(bdxtail, bdytail, cdx, cdy, adx, ady, bt_c, bt_a); 40032 const ct_len = tailinit(cdxtail, cdytail, adx, ady, bdx, bdy, ct_a, ct_b); 40033 40034 const bctlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(bt_len, bt_c, ct_len, ct_b, bct); 40035 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bctlen, bct, adz, _16), _16); 40036 40037 const catlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(ct_len, ct_a, at_len, at_c, cat); 40038 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(catlen, cat, bdz, _16), _16); 40039 40040 const abtlen = (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.sum)(at_len, at_b, bt_len, bt_a, abt); 40041 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(abtlen, abt, cdz, _16), _16); 40042 40043 if (adztail !== 0) { 40044 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, bc, adztail, _12), _12); 40045 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(bctlen, bct, adztail, _16), _16); 40046 } 40047 if (bdztail !== 0) { 40048 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ca, bdztail, _12), _12); 40049 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(catlen, cat, bdztail, _16), _16); 40050 } 40051 if (cdztail !== 0) { 40052 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(4, ab, cdztail, _12), _12); 40053 finlen = finadd(finlen, (0,_util_js__WEBPACK_IMPORTED_MODULE_0__.scale)(abtlen, abt, cdztail, _16), _16); 40054 } 40055 40056 if (adxtail !== 0) { 40057 if (bdytail !== 0) { 40058 finlen = tailadd(finlen, adxtail, bdytail, cdz, cdztail); 40059 } 40060 if (cdytail !== 0) { 40061 finlen = tailadd(finlen, -adxtail, cdytail, bdz, bdztail); 40062 } 40063 } 40064 if (bdxtail !== 0) { 40065 if (cdytail !== 0) { 40066 finlen = tailadd(finlen, bdxtail, cdytail, adz, adztail); 40067 } 40068 if (adytail !== 0) { 40069 finlen = tailadd(finlen, -bdxtail, adytail, cdz, cdztail); 40070 } 40071 } 40072 if (cdxtail !== 0) { 40073 if (adytail !== 0) { 40074 finlen = tailadd(finlen, cdxtail, adytail, bdz, bdztail); 40075 } 40076 if (bdytail !== 0) { 40077 finlen = tailadd(finlen, -cdxtail, bdytail, adz, adztail); 40078 } 40079 } 40080 40081 return fin[finlen - 1]; 40082} 40083 40084function orient3d(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz) { 40085 const adx = ax - dx; 40086 const bdx = bx - dx; 40087 const cdx = cx - dx; 40088 const ady = ay - dy; 40089 const bdy = by - dy; 40090 const cdy = cy - dy; 40091 const adz = az - dz; 40092 const bdz = bz - dz; 40093 const cdz = cz - dz; 40094 40095 const bdxcdy = bdx * cdy; 40096 const cdxbdy = cdx * bdy; 40097 40098 const cdxady = cdx * ady; 40099 const adxcdy = adx * cdy; 40100 40101 const adxbdy = adx * bdy; 40102 const bdxady = bdx * ady; 40103 40104 const det = 40105 adz * (bdxcdy - cdxbdy) + 40106 bdz * (cdxady - adxcdy) + 40107 cdz * (adxbdy - bdxady); 40108 40109 const permanent = 40110 (Math.abs(bdxcdy) + Math.abs(cdxbdy)) * Math.abs(adz) + 40111 (Math.abs(cdxady) + Math.abs(adxcdy)) * Math.abs(bdz) + 40112 (Math.abs(adxbdy) + Math.abs(bdxady)) * Math.abs(cdz); 40113 40114 const errbound = o3derrboundA * permanent; 40115 if (det > errbound || -det > errbound) { 40116 return det; 40117 } 40118 40119 return orient3dadapt(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz, permanent); 40120} 40121 40122function orient3dfast(ax, ay, az, bx, by, bz, cx, cy, cz, dx, dy, dz) { 40123 const adx = ax - dx; 40124 const bdx = bx - dx; 40125 const cdx = cx - dx; 40126 const ady = ay - dy; 40127 const bdy = by - dy; 40128 const cdy = cy - dy; 40129 const adz = az - dz; 40130 const bdz = bz - dz; 40131 const cdz = cz - dz; 40132 40133 return adx * (bdy * cdz - bdz * cdy) + 40134 bdx * (cdy * adz - cdz * ady) + 40135 cdx * (ady * bdz - adz * bdy); 40136} 40137 40138 40139/***/ }), 40140
vendor: 4,577 bytes, lines 40141-40300
40141/***/ "./node_modules/robust-predicates/esm/util.js": 40142/*!****************************************************!*\ 40143 !*** ./node_modules/robust-predicates/esm/util.js ***! 40144 \****************************************************/ 40145/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 40146 40147__webpack_require__.r(__webpack_exports__); 40148/* harmony export */ __webpack_require__.d(__webpack_exports__, { 40149/* harmony export */ epsilon: () => (/* binding */ epsilon), 40150/* harmony export */ estimate: () => (/* binding */ estimate), 40151/* harmony export */ negate: () => (/* binding */ negate), 40152/* harmony export */ resulterrbound: () => (/* binding */ resulterrbound), 40153/* harmony export */ scale: () => (/* binding */ scale), 40154/* harmony export */ splitter: () => (/* binding */ splitter), 40155/* harmony export */ sum: () => (/* binding */ sum), 40156/* harmony export */ sum_three: () => (/* binding */ sum_three), 40157/* harmony export */ vec: () => (/* binding */ vec) 40158/* harmony export */ }); 40159const epsilon = 1.1102230246251565e-16; 40160const splitter = 134217729; 40161const resulterrbound = (3 + 8 * epsilon) * epsilon; 40162 40163// fast_expansion_sum_zeroelim routine from oritinal code 40164function sum(elen, e, flen, f, h) { 40165 let Q, Qnew, hh, bvirt; 40166 let enow = e[0]; 40167 let fnow = f[0]; 40168 let eindex = 0; 40169 let findex = 0; 40170 if ((fnow > enow) === (fnow > -enow)) { 40171 Q = enow; 40172 enow = e[++eindex]; 40173 } else { 40174 Q = fnow; 40175 fnow = f[++findex]; 40176 } 40177 let hindex = 0; 40178 if (eindex < elen && findex < flen) { 40179 if ((fnow > enow) === (fnow > -enow)) { 40180 Qnew = enow + Q; 40181 hh = Q - (Qnew - enow); 40182 enow = e[++eindex]; 40183 } else { 40184 Qnew = fnow + Q; 40185 hh = Q - (Qnew - fnow); 40186 fnow = f[++findex]; 40187 } 40188 Q = Qnew; 40189 if (hh !== 0) { 40190 h[hindex++] = hh; 40191 } 40192 while (eindex < elen && findex < flen) { 40193 if ((fnow > enow) === (fnow > -enow)) { 40194 Qnew = Q + enow; 40195 bvirt = Qnew - Q; 40196 hh = Q - (Qnew - bvirt) + (enow - bvirt); 40197 enow = e[++eindex]; 40198 } else { 40199 Qnew = Q + fnow; 40200 bvirt = Qnew - Q; 40201 hh = Q - (Qnew - bvirt) + (fnow - bvirt); 40202 fnow = f[++findex]; 40203 } 40204 Q = Qnew; 40205 if (hh !== 0) { 40206 h[hindex++] = hh; 40207 } 40208 } 40209 } 40210 while (eindex < elen) { 40211 Qnew = Q + enow; 40212 bvirt = Qnew - Q; 40213 hh = Q - (Qnew - bvirt) + (enow - bvirt); 40214 enow = e[++eindex]; 40215 Q = Qnew; 40216 if (hh !== 0) { 40217 h[hindex++] = hh; 40218 } 40219 } 40220 while (findex < flen) { 40221 Qnew = Q + fnow; 40222 bvirt = Qnew - Q; 40223 hh = Q - (Qnew - bvirt) + (fnow - bvirt); 40224 fnow = f[++findex]; 40225 Q = Qnew; 40226 if (hh !== 0) { 40227 h[hindex++] = hh; 40228 } 40229 } 40230 if (Q !== 0 || hindex === 0) { 40231 h[hindex++] = Q; 40232 } 40233 return hindex; 40234} 40235 40236function sum_three(alen, a, blen, b, clen, c, tmp, out) { 40237 return sum(sum(alen, a, blen, b, tmp), tmp, clen, c, out); 40238} 40239 40240// scale_expansion_zeroelim routine from oritinal code 40241function scale(elen, e, b, h) { 40242 let Q, sum, hh, product1, product0; 40243 let bvirt, c, ahi, alo, bhi, blo; 40244 40245 c = splitter * b; 40246 bhi = c - (c - b); 40247 blo = b - bhi; 40248 let enow = e[0]; 40249 Q = enow * b; 40250 c = splitter * enow; 40251 ahi = c - (c - enow); 40252 alo = enow - ahi; 40253 hh = alo * blo - (Q - ahi * bhi - alo * bhi - ahi * blo); 40254 let hindex = 0; 40255 if (hh !== 0) { 40256 h[hindex++] = hh; 40257 } 40258 for (let i = 1; i < elen; i++) { 40259 enow = e[i]; 40260 product1 = enow * b; 40261 c = splitter * enow; 40262 ahi = c - (c - enow); 40263 alo = enow - ahi; 40264 product0 = alo * blo - (product1 - ahi * bhi - alo * bhi - ahi * blo); 40265 sum = Q + product0; 40266 bvirt = sum - Q; 40267 hh = Q - (sum - bvirt) + (product0 - bvirt); 40268 if (hh !== 0) { 40269 h[hindex++] = hh; 40270 } 40271 Q = product1 + sum; 40272 hh = sum - (Q - product1); 40273 if (hh !== 0) { 40274 h[hindex++] = hh; 40275 } 40276 } 40277 if (Q !== 0 || hindex === 0) { 40278 h[hindex++] = Q; 40279 } 40280 return hindex; 40281} 40282 40283function negate(elen, e) { 40284 for (let i = 0; i < elen; i++) e[i] = -e[i]; 40285 return elen; 40286} 40287 40288function estimate(elen, e) { 40289 let Q = e[0]; 40290 for (let i = 1; i < elen; i++) Q += e[i]; 40291 return Q; 40292} 40293 40294function vec(n) { 40295 return new Float64Array(n); 40296} 40297 40298 40299/***/ }), 40300
vendor: 2,109 bytes, lines 40301-40329
40301/***/ "./node_modules/robust-predicates/index.js": 40302/*!*************************************************!*\ 40303 !*** ./node_modules/robust-predicates/index.js ***! 40304 \*************************************************/ 40305/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 40306 40307__webpack_require__.r(__webpack_exports__); 40308/* harmony export */ __webpack_require__.d(__webpack_exports__, { 40309/* harmony export */ incircle: () => (/* reexport safe */ _esm_incircle_js__WEBPACK_IMPORTED_MODULE_2__.incircle), 40310/* harmony export */ incirclefast: () => (/* reexport safe */ _esm_incircle_js__WEBPACK_IMPORTED_MODULE_2__.incirclefast), 40311/* harmony export */ insphere: () => (/* reexport safe */ _esm_insphere_js__WEBPACK_IMPORTED_MODULE_3__.insphere), 40312/* harmony export */ inspherefast: () => (/* reexport safe */ _esm_insphere_js__WEBPACK_IMPORTED_MODULE_3__.inspherefast), 40313/* harmony export */ orient2d: () => (/* reexport safe */ _esm_orient2d_js__WEBPACK_IMPORTED_MODULE_0__.orient2d), 40314/* harmony export */ orient2dfast: () => (/* reexport safe */ _esm_orient2d_js__WEBPACK_IMPORTED_MODULE_0__.orient2dfast), 40315/* harmony export */ orient3d: () => (/* reexport safe */ _esm_orient3d_js__WEBPACK_IMPORTED_MODULE_1__.orient3d), 40316/* harmony export */ orient3dfast: () => (/* reexport safe */ _esm_orient3d_js__WEBPACK_IMPORTED_MODULE_1__.orient3dfast) 40317/* harmony export */ }); 40318/* harmony import */ var _esm_orient2d_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./esm/orient2d.js */ "./node_modules/robust-predicates/esm/orient2d.js"); 40319/* harmony import */ var _esm_orient3d_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./esm/orient3d.js */ "./node_modules/robust-predicates/esm/orient3d.js"); 40320/* harmony import */ var _esm_incircle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./esm/incircle.js */ "./node_modules/robust-predicates/esm/incircle.js"); 40321/* harmony import */ var _esm_insphere_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./esm/insphere.js */ "./node_modules/robust-predicates/esm/insphere.js"); 40322 40323 40324 40325 40326 40327 40328 40329/***/ })
vendor: 4,290 bytes, lines 40329-40429
40329 40330 40331/******/ }); 40332/************************************************************************/ 40333/******/ // The module cache 40334/******/ var __webpack_module_cache__ = {}; 40335/******/ 40336/******/ // The require function 40337/******/ function __webpack_require__(moduleId) { 40338/******/ // Check if module is in cache 40339/******/ var cachedModule = __webpack_module_cache__[moduleId]; 40340/******/ if (cachedModule !== undefined) { 40341/******/ return cachedModule.exports; 40342/******/ } 40343/******/ // Create a new module (and put it into the cache) 40344/******/ var module = __webpack_module_cache__[moduleId] = { 40345/******/ // no module.id needed 40346/******/ // no module.loaded needed 40347/******/ exports: {} 40348/******/ }; 40349/******/ 40350/******/ // Execute the module function 40351/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); 40352/******/ 40353/******/ // Return the exports of the module 40354/******/ return module.exports; 40355/******/ } 40356/******/ 40357/************************************************************************/ 40358/******/ /* webpack/runtime/compat get default export */ 40359/******/ (() => { 40360/******/ // getDefaultExport function for compatibility with non-harmony modules 40361/******/ __webpack_require__.n = (module) => { 40362/******/ var getter = module && module.__esModule ? 40363/******/ () => (module['default']) : 40364/******/ () => (module); 40365/******/ __webpack_require__.d(getter, { a: getter }); 40366/******/ return getter; 40367/******/ }; 40368/******/ })(); 40369/******/ 40370/******/ /* webpack/runtime/create fake namespace object */ 40371/******/ (() => { 40372/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); 40373/******/ var leafPrototypes; 40374/******/ // create a fake namespace object 40375/******/ // mode & 1: value is a module id, require it 40376/******/ // mode & 2: merge all properties of value into the ns 40377/******/ // mode & 4: return value when already ns object 40378/******/ // mode & 16: return value when it's Promise-like 40379/******/ // mode & 8|1: behave like require 40380/******/ __webpack_require__.t = function(value, mode) { 40381/******/ if(mode & 1) value = this(value); 40382/******/ if(mode & 8) return value; 40383/******/ if(typeof value === 'object' && value) { 40384/******/ if((mode & 4) && value.__esModule) return value; 40385/******/ if((mode & 16) && typeof value.then === 'function') return value; 40386/******/ } 40387/******/ var ns = Object.create(null); 40388/******/ __webpack_require__.r(ns); 40389/******/ var def = {}; 40390/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; 40391/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) { 40392/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); 40393/******/ } 40394/******/ def['default'] = () => (value); 40395/******/ __webpack_require__.d(ns, def); 40396/******/ return ns; 40397/******/ }; 40398/******/ })(); 40399/******/ 40400/******/ /* webpack/runtime/define property getters */ 40401/******/ (() => { 40402/******/ // define getter functions for harmony exports 40403/******/ __webpack_require__.d = (exports, definition) => { 40404/******/ for(var key in definition) { 40405/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 40406/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 40407/******/ } 40408/******/ } 40409/******/ }; 40410/******/ })(); 40411/******/ 40412/******/ /* webpack/runtime/hasOwnProperty shorthand */ 40413/******/ (() => { 40414/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 40415/******/ })(); 40416/******/ 40417/******/ /* webpack/runtime/make namespace object */ 40418/******/ (() => { 40419/******/ // define __esModule on exports 40420/******/ __webpack_require__.r = (exports) => { 40421/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 40422/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 40423/******/ } 40424/******/ Object.defineProperty(exports, '__esModule', { value: true }); 40425/******/ }; 40426/******/ })(); 40427/******/ 40428/************************************************************************/ 40429var __webpack_exports__ = {};
40430/*!**********************!*\ 40431 !*** ./src/index.js ***! 40432 \**********************/ 40433__webpack_require__.r(__webpack_exports__); 40434/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); 40435/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); 40436/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "react-dom"); 40437/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__); 40438/* harmony import */ var _components_GermanyMap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/GermanyMap */ "./src/components/GermanyMap.js"); 40439/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-redux */ "./node_modules/react-redux/dist/react-redux.mjs"); 40440/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./store */ "./src/store/index.js"); 40441/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); 40442/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__); 40443 40444 40445 40446 40447 40448 40449$ = jQuery; 40450// alert('Hi') 40451if (document.querySelector('#clinic_location_map')) { 40452 // const AddWorkFlowPage = require('./AddWorkFlow/AddWorkFlowPage').default 40453 40454 react_dom__WEBPACK_IMPORTED_MODULE_1___default().render( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(react_redux__WEBPACK_IMPORTED_MODULE_5__.Provider, { 40455 store: _store__WEBPACK_IMPORTED_MODULE_3__["default"], 40456 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", { 40457 style: { 40458 position: 'relative', 40459 display: 'flex', 40460 justifyContent: 'center', 40461 alignItems: 'center', 40462 width: '100%', 40463 flexDirection: 'column' 40464 }, 40465 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_components_GermanyMap__WEBPACK_IMPORTED_MODULE_2__["default"], {}) 40466 }) 40467 }), document.querySelector('#clinic_location_map')); 40468} 40469/******/ })() 40470; 40471//# sourceMappingURL=index.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.