@deck.gl/carto 8.6.5 → 8.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist.dev.js +396 -207
- package/dist/es5/api/index.js +14 -14
- package/dist/es5/api/maps-api-common.js +1 -1
- package/dist/es5/api/maps-client.js +3 -3
- package/dist/es5/api/maps-v3-client.js +5 -5
- package/dist/es5/config.js +4 -4
- package/dist/es5/index.js +30 -30
- package/dist/es5/layers/carto-bqtiler-layer.js +6 -4
- package/dist/es5/layers/carto-bqtiler-layer.js.map +1 -1
- package/dist/es5/layers/carto-layer.js +8 -8
- package/dist/es5/layers/carto-layer.js.map +1 -1
- package/dist/es5/layers/carto-sql-layer.js +6 -4
- package/dist/es5/layers/carto-sql-layer.js.map +1 -1
- package/dist/es5/style/color-bins-style.js +5 -1
- package/dist/es5/style/color-bins-style.js.map +1 -1
- package/dist/es5/style/color-categories-style.js +7 -3
- package/dist/es5/style/color-categories-style.js.map +1 -1
- package/dist/es5/style/color-continuous-style.js +5 -1
- package/dist/es5/style/color-continuous-style.js.map +1 -1
- package/dist/es5/style/palette.js +7 -3
- package/dist/es5/style/palette.js.map +1 -1
- package/dist/es5/style/utils.js +1 -1
- package/dist/esm/api/maps-client.js +30 -24
- package/dist/esm/api/maps-client.js.map +1 -1
- package/dist/esm/api/maps-v3-client.js +60 -52
- package/dist/esm/api/maps-v3-client.js.map +1 -1
- package/dist/esm/layers/carto-bqtiler-layer.js +2 -2
- package/dist/esm/layers/carto-bqtiler-layer.js.map +1 -1
- package/dist/esm/layers/carto-layer.js +7 -5
- package/dist/esm/layers/carto-layer.js.map +1 -1
- package/dist/esm/layers/carto-sql-layer.js +2 -2
- package/dist/esm/layers/carto-sql-layer.js.map +1 -1
- package/dist/esm/style/color-bins-style.js +7 -6
- package/dist/esm/style/color-bins-style.js.map +1 -1
- package/dist/esm/style/color-categories-style.js +8 -7
- package/dist/esm/style/color-categories-style.js.map +1 -1
- package/dist/esm/style/color-continuous-style.js +7 -6
- package/dist/esm/style/color-continuous-style.js.map +1 -1
- package/dist/esm/style/utils.js +3 -1
- package/dist/esm/style/utils.js.map +1 -1
- package/dist.min.js +1 -1
- package/package.json +7 -7
package/dist/dist.dev.js
CHANGED
|
@@ -2880,12 +2880,14 @@ function filter(values, test) {
|
|
|
2880
2880
|
/*!*********************************************************************!*\
|
|
2881
2881
|
!*** /Users/missx/Source/deck.gl/node_modules/d3-array/src/fsum.js ***!
|
|
2882
2882
|
\*********************************************************************/
|
|
2883
|
-
/*! exports provided: Adder,
|
|
2883
|
+
/*! exports provided: Adder, fsum, fcumsum */
|
|
2884
2884
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2885
2885
|
|
|
2886
2886
|
"use strict";
|
|
2887
2887
|
__webpack_require__.r(__webpack_exports__);
|
|
2888
2888
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Adder", function() { return Adder; });
|
|
2889
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fsum", function() { return fsum; });
|
|
2890
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fcumsum", function() { return fcumsum; });
|
|
2889
2891
|
// https://github.com/python/cpython/blob/a74eea238f5baba15797e2e8b570d153bc8690a7/Modules/mathmodule.c#L1423
|
|
2890
2892
|
class Adder {
|
|
2891
2893
|
constructor() {
|
|
@@ -2928,7 +2930,7 @@ class Adder {
|
|
|
2928
2930
|
}
|
|
2929
2931
|
}
|
|
2930
2932
|
|
|
2931
|
-
|
|
2933
|
+
function fsum(values, valueof) {
|
|
2932
2934
|
const adder = new Adder();
|
|
2933
2935
|
if (valueof === undefined) {
|
|
2934
2936
|
for (let value of values) {
|
|
@@ -2945,7 +2947,16 @@ class Adder {
|
|
|
2945
2947
|
}
|
|
2946
2948
|
}
|
|
2947
2949
|
return +adder;
|
|
2948
|
-
}
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
function fcumsum(values, valueof) {
|
|
2953
|
+
const adder = new Adder();
|
|
2954
|
+
let index = -1;
|
|
2955
|
+
return Float64Array.from(values, valueof === undefined
|
|
2956
|
+
? v => adder.add(+v || 0)
|
|
2957
|
+
: v => adder.add(+valueof(v, ++index, values) || 0)
|
|
2958
|
+
);
|
|
2959
|
+
}
|
|
2949
2960
|
|
|
2950
2961
|
|
|
2951
2962
|
/***/ }),
|
|
@@ -3044,19 +3055,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3044
3055
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rollups", function() { return rollups; });
|
|
3045
3056
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "index", function() { return index; });
|
|
3046
3057
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "indexes", function() { return indexes; });
|
|
3047
|
-
/* harmony import */ var
|
|
3058
|
+
/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! internmap */ "../../node_modules/internmap/src/index.js");
|
|
3059
|
+
/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./identity.js */ "../../node_modules/d3-array/src/identity.js");
|
|
3060
|
+
|
|
3048
3061
|
|
|
3049
3062
|
|
|
3050
3063
|
function group(values, ...keys) {
|
|
3051
|
-
return nest(values,
|
|
3064
|
+
return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], keys);
|
|
3052
3065
|
}
|
|
3053
3066
|
|
|
3054
3067
|
function groups(values, ...keys) {
|
|
3055
|
-
return nest(values, Array.from,
|
|
3068
|
+
return nest(values, Array.from, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], keys);
|
|
3056
3069
|
}
|
|
3057
3070
|
|
|
3058
3071
|
function rollup(values, reduce, ...keys) {
|
|
3059
|
-
return nest(values,
|
|
3072
|
+
return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], reduce, keys);
|
|
3060
3073
|
}
|
|
3061
3074
|
|
|
3062
3075
|
function rollups(values, reduce, ...keys) {
|
|
@@ -3064,7 +3077,7 @@ function rollups(values, reduce, ...keys) {
|
|
|
3064
3077
|
}
|
|
3065
3078
|
|
|
3066
3079
|
function index(values, ...keys) {
|
|
3067
|
-
return nest(values,
|
|
3080
|
+
return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], unique, keys);
|
|
3068
3081
|
}
|
|
3069
3082
|
|
|
3070
3083
|
function indexes(values, ...keys) {
|
|
@@ -3079,7 +3092,7 @@ function unique(values) {
|
|
|
3079
3092
|
function nest(values, map, reduce, keys) {
|
|
3080
3093
|
return (function regroup(values, i) {
|
|
3081
3094
|
if (i >= keys.length) return reduce(values);
|
|
3082
|
-
const groups = new
|
|
3095
|
+
const groups = new internmap__WEBPACK_IMPORTED_MODULE_0__["InternMap"]();
|
|
3083
3096
|
const keyof = keys[i++];
|
|
3084
3097
|
let index = -1;
|
|
3085
3098
|
for (const value of values) {
|
|
@@ -3096,6 +3109,33 @@ function nest(values, map, reduce, keys) {
|
|
|
3096
3109
|
}
|
|
3097
3110
|
|
|
3098
3111
|
|
|
3112
|
+
/***/ }),
|
|
3113
|
+
|
|
3114
|
+
/***/ "../../node_modules/d3-array/src/groupSort.js":
|
|
3115
|
+
/*!**************************************************************************!*\
|
|
3116
|
+
!*** /Users/missx/Source/deck.gl/node_modules/d3-array/src/groupSort.js ***!
|
|
3117
|
+
\**************************************************************************/
|
|
3118
|
+
/*! exports provided: default */
|
|
3119
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3120
|
+
|
|
3121
|
+
"use strict";
|
|
3122
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3123
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return groupSort; });
|
|
3124
|
+
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "../../node_modules/d3-array/src/ascending.js");
|
|
3125
|
+
/* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./group.js */ "../../node_modules/d3-array/src/group.js");
|
|
3126
|
+
/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sort.js */ "../../node_modules/d3-array/src/sort.js");
|
|
3127
|
+
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
|
|
3131
|
+
function groupSort(values, reduce, key) {
|
|
3132
|
+
return (reduce.length === 1
|
|
3133
|
+
? Object(_sort_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(_group_js__WEBPACK_IMPORTED_MODULE_1__["rollup"])(values, reduce, key), (([ak, av], [bk, bv]) => Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(av, bv) || Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ak, bk)))
|
|
3134
|
+
: Object(_sort_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(_group_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, key), (([ak, av], [bk, bv]) => reduce(av, bv) || Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ak, bk))))
|
|
3135
|
+
.map(([key]) => key);
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
|
|
3099
3139
|
/***/ }),
|
|
3100
3140
|
|
|
3101
3141
|
/***/ "../../node_modules/d3-array/src/identity.js":
|
|
@@ -3118,7 +3158,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3118
3158
|
/*!**********************************************************************!*\
|
|
3119
3159
|
!*** /Users/missx/Source/deck.gl/node_modules/d3-array/src/index.js ***!
|
|
3120
3160
|
\**********************************************************************/
|
|
3121
|
-
/*! exports provided: bisect, bisectRight, bisectLeft, bisectCenter, ascending, bisector, count, cross, cumsum, descending, deviation, extent, fsum,
|
|
3161
|
+
/*! exports provided: bisect, bisectRight, bisectLeft, bisectCenter, ascending, bisector, count, cross, cumsum, descending, deviation, extent, Adder, fsum, fcumsum, group, groups, index, indexes, rollup, rollups, groupSort, bin, histogram, thresholdFreedmanDiaconis, thresholdScott, thresholdSturges, max, maxIndex, mean, median, merge, min, minIndex, nice, pairs, permute, quantile, quantileSorted, quickselect, range, least, leastIndex, greatest, greatestIndex, scan, shuffle, shuffler, sum, ticks, tickIncrement, tickStep, transpose, variance, zip, every, some, filter, map, reduce, reverse, sort, difference, disjoint, intersection, subset, superset, union, InternMap, InternSet */
|
|
3122
3162
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3123
3163
|
|
|
3124
3164
|
"use strict";
|
|
@@ -3157,10 +3197,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3157
3197
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "extent", function() { return _extent_js__WEBPACK_IMPORTED_MODULE_8__["default"]; });
|
|
3158
3198
|
|
|
3159
3199
|
/* harmony import */ var _fsum_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./fsum.js */ "../../node_modules/d3-array/src/fsum.js");
|
|
3160
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fsum", function() { return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["default"]; });
|
|
3161
|
-
|
|
3162
3200
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Adder", function() { return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["Adder"]; });
|
|
3163
3201
|
|
|
3202
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fsum", function() { return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["fsum"]; });
|
|
3203
|
+
|
|
3204
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "fcumsum", function() { return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["fcumsum"]; });
|
|
3205
|
+
|
|
3164
3206
|
/* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./group.js */ "../../node_modules/d3-array/src/group.js");
|
|
3165
3207
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "group", function() { return _group_js__WEBPACK_IMPORTED_MODULE_10__["default"]; });
|
|
3166
3208
|
|
|
@@ -3174,138 +3216,147 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3174
3216
|
|
|
3175
3217
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "rollups", function() { return _group_js__WEBPACK_IMPORTED_MODULE_10__["rollups"]; });
|
|
3176
3218
|
|
|
3177
|
-
/* harmony import */ var
|
|
3178
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
3219
|
+
/* harmony import */ var _groupSort_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./groupSort.js */ "../../node_modules/d3-array/src/groupSort.js");
|
|
3220
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "groupSort", function() { return _groupSort_js__WEBPACK_IMPORTED_MODULE_11__["default"]; });
|
|
3221
|
+
|
|
3222
|
+
/* harmony import */ var _bin_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./bin.js */ "../../node_modules/d3-array/src/bin.js");
|
|
3223
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "bin", function() { return _bin_js__WEBPACK_IMPORTED_MODULE_12__["default"]; });
|
|
3179
3224
|
|
|
3180
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "histogram", function() { return
|
|
3225
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "histogram", function() { return _bin_js__WEBPACK_IMPORTED_MODULE_12__["default"]; });
|
|
3181
3226
|
|
|
3182
|
-
/* harmony import */ var
|
|
3183
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "thresholdFreedmanDiaconis", function() { return
|
|
3227
|
+
/* harmony import */ var _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./threshold/freedmanDiaconis.js */ "../../node_modules/d3-array/src/threshold/freedmanDiaconis.js");
|
|
3228
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "thresholdFreedmanDiaconis", function() { return _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_13__["default"]; });
|
|
3184
3229
|
|
|
3185
|
-
/* harmony import */ var
|
|
3186
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "thresholdScott", function() { return
|
|
3230
|
+
/* harmony import */ var _threshold_scott_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./threshold/scott.js */ "../../node_modules/d3-array/src/threshold/scott.js");
|
|
3231
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "thresholdScott", function() { return _threshold_scott_js__WEBPACK_IMPORTED_MODULE_14__["default"]; });
|
|
3187
3232
|
|
|
3188
|
-
/* harmony import */ var
|
|
3189
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "thresholdSturges", function() { return
|
|
3233
|
+
/* harmony import */ var _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./threshold/sturges.js */ "../../node_modules/d3-array/src/threshold/sturges.js");
|
|
3234
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "thresholdSturges", function() { return _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_15__["default"]; });
|
|
3190
3235
|
|
|
3191
|
-
/* harmony import */ var
|
|
3192
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "max", function() { return
|
|
3236
|
+
/* harmony import */ var _max_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./max.js */ "../../node_modules/d3-array/src/max.js");
|
|
3237
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "max", function() { return _max_js__WEBPACK_IMPORTED_MODULE_16__["default"]; });
|
|
3193
3238
|
|
|
3194
|
-
/* harmony import */ var
|
|
3195
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "maxIndex", function() { return
|
|
3239
|
+
/* harmony import */ var _maxIndex_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./maxIndex.js */ "../../node_modules/d3-array/src/maxIndex.js");
|
|
3240
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "maxIndex", function() { return _maxIndex_js__WEBPACK_IMPORTED_MODULE_17__["default"]; });
|
|
3196
3241
|
|
|
3197
|
-
/* harmony import */ var
|
|
3198
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "mean", function() { return
|
|
3242
|
+
/* harmony import */ var _mean_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./mean.js */ "../../node_modules/d3-array/src/mean.js");
|
|
3243
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "mean", function() { return _mean_js__WEBPACK_IMPORTED_MODULE_18__["default"]; });
|
|
3199
3244
|
|
|
3200
|
-
/* harmony import */ var
|
|
3201
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "median", function() { return
|
|
3245
|
+
/* harmony import */ var _median_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./median.js */ "../../node_modules/d3-array/src/median.js");
|
|
3246
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "median", function() { return _median_js__WEBPACK_IMPORTED_MODULE_19__["default"]; });
|
|
3202
3247
|
|
|
3203
|
-
/* harmony import */ var
|
|
3204
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "merge", function() { return
|
|
3248
|
+
/* harmony import */ var _merge_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./merge.js */ "../../node_modules/d3-array/src/merge.js");
|
|
3249
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "merge", function() { return _merge_js__WEBPACK_IMPORTED_MODULE_20__["default"]; });
|
|
3205
3250
|
|
|
3206
|
-
/* harmony import */ var
|
|
3207
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "min", function() { return
|
|
3251
|
+
/* harmony import */ var _min_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./min.js */ "../../node_modules/d3-array/src/min.js");
|
|
3252
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "min", function() { return _min_js__WEBPACK_IMPORTED_MODULE_21__["default"]; });
|
|
3208
3253
|
|
|
3209
|
-
/* harmony import */ var
|
|
3210
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "minIndex", function() { return
|
|
3254
|
+
/* harmony import */ var _minIndex_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./minIndex.js */ "../../node_modules/d3-array/src/minIndex.js");
|
|
3255
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "minIndex", function() { return _minIndex_js__WEBPACK_IMPORTED_MODULE_22__["default"]; });
|
|
3211
3256
|
|
|
3212
|
-
/* harmony import */ var
|
|
3213
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "nice", function() { return
|
|
3257
|
+
/* harmony import */ var _nice_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./nice.js */ "../../node_modules/d3-array/src/nice.js");
|
|
3258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "nice", function() { return _nice_js__WEBPACK_IMPORTED_MODULE_23__["default"]; });
|
|
3214
3259
|
|
|
3215
|
-
/* harmony import */ var
|
|
3216
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "pairs", function() { return
|
|
3260
|
+
/* harmony import */ var _pairs_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./pairs.js */ "../../node_modules/d3-array/src/pairs.js");
|
|
3261
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "pairs", function() { return _pairs_js__WEBPACK_IMPORTED_MODULE_24__["default"]; });
|
|
3217
3262
|
|
|
3218
|
-
/* harmony import */ var
|
|
3219
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "permute", function() { return
|
|
3263
|
+
/* harmony import */ var _permute_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./permute.js */ "../../node_modules/d3-array/src/permute.js");
|
|
3264
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "permute", function() { return _permute_js__WEBPACK_IMPORTED_MODULE_25__["default"]; });
|
|
3220
3265
|
|
|
3221
|
-
/* harmony import */ var
|
|
3222
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "quantile", function() { return
|
|
3266
|
+
/* harmony import */ var _quantile_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./quantile.js */ "../../node_modules/d3-array/src/quantile.js");
|
|
3267
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "quantile", function() { return _quantile_js__WEBPACK_IMPORTED_MODULE_26__["default"]; });
|
|
3223
3268
|
|
|
3224
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "quantileSorted", function() { return
|
|
3269
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "quantileSorted", function() { return _quantile_js__WEBPACK_IMPORTED_MODULE_26__["quantileSorted"]; });
|
|
3225
3270
|
|
|
3226
|
-
/* harmony import */ var
|
|
3227
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "quickselect", function() { return
|
|
3271
|
+
/* harmony import */ var _quickselect_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./quickselect.js */ "../../node_modules/d3-array/src/quickselect.js");
|
|
3272
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "quickselect", function() { return _quickselect_js__WEBPACK_IMPORTED_MODULE_27__["default"]; });
|
|
3228
3273
|
|
|
3229
|
-
/* harmony import */ var
|
|
3230
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "range", function() { return
|
|
3274
|
+
/* harmony import */ var _range_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./range.js */ "../../node_modules/d3-array/src/range.js");
|
|
3275
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "range", function() { return _range_js__WEBPACK_IMPORTED_MODULE_28__["default"]; });
|
|
3231
3276
|
|
|
3232
|
-
/* harmony import */ var
|
|
3233
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "least", function() { return
|
|
3277
|
+
/* harmony import */ var _least_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./least.js */ "../../node_modules/d3-array/src/least.js");
|
|
3278
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "least", function() { return _least_js__WEBPACK_IMPORTED_MODULE_29__["default"]; });
|
|
3234
3279
|
|
|
3235
|
-
/* harmony import */ var
|
|
3236
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "leastIndex", function() { return
|
|
3280
|
+
/* harmony import */ var _leastIndex_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./leastIndex.js */ "../../node_modules/d3-array/src/leastIndex.js");
|
|
3281
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "leastIndex", function() { return _leastIndex_js__WEBPACK_IMPORTED_MODULE_30__["default"]; });
|
|
3237
3282
|
|
|
3238
|
-
/* harmony import */ var
|
|
3239
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "greatest", function() { return
|
|
3283
|
+
/* harmony import */ var _greatest_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./greatest.js */ "../../node_modules/d3-array/src/greatest.js");
|
|
3284
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "greatest", function() { return _greatest_js__WEBPACK_IMPORTED_MODULE_31__["default"]; });
|
|
3240
3285
|
|
|
3241
|
-
/* harmony import */ var
|
|
3242
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "greatestIndex", function() { return
|
|
3286
|
+
/* harmony import */ var _greatestIndex_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./greatestIndex.js */ "../../node_modules/d3-array/src/greatestIndex.js");
|
|
3287
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "greatestIndex", function() { return _greatestIndex_js__WEBPACK_IMPORTED_MODULE_32__["default"]; });
|
|
3243
3288
|
|
|
3244
|
-
/* harmony import */ var
|
|
3245
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "scan", function() { return
|
|
3289
|
+
/* harmony import */ var _scan_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./scan.js */ "../../node_modules/d3-array/src/scan.js");
|
|
3290
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "scan", function() { return _scan_js__WEBPACK_IMPORTED_MODULE_33__["default"]; });
|
|
3246
3291
|
|
|
3247
|
-
/* harmony import */ var
|
|
3248
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shuffle", function() { return
|
|
3292
|
+
/* harmony import */ var _shuffle_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./shuffle.js */ "../../node_modules/d3-array/src/shuffle.js");
|
|
3293
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shuffle", function() { return _shuffle_js__WEBPACK_IMPORTED_MODULE_34__["default"]; });
|
|
3249
3294
|
|
|
3250
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shuffler", function() { return
|
|
3295
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shuffler", function() { return _shuffle_js__WEBPACK_IMPORTED_MODULE_34__["shuffler"]; });
|
|
3251
3296
|
|
|
3252
|
-
/* harmony import */ var
|
|
3253
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sum", function() { return
|
|
3297
|
+
/* harmony import */ var _sum_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./sum.js */ "../../node_modules/d3-array/src/sum.js");
|
|
3298
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sum", function() { return _sum_js__WEBPACK_IMPORTED_MODULE_35__["default"]; });
|
|
3254
3299
|
|
|
3255
|
-
/* harmony import */ var
|
|
3256
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ticks", function() { return
|
|
3300
|
+
/* harmony import */ var _ticks_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ticks.js */ "../../node_modules/d3-array/src/ticks.js");
|
|
3301
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ticks", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["default"]; });
|
|
3257
3302
|
|
|
3258
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tickIncrement", function() { return
|
|
3303
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tickIncrement", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["tickIncrement"]; });
|
|
3259
3304
|
|
|
3260
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tickStep", function() { return
|
|
3305
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tickStep", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["tickStep"]; });
|
|
3261
3306
|
|
|
3262
|
-
/* harmony import */ var
|
|
3263
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "transpose", function() { return
|
|
3307
|
+
/* harmony import */ var _transpose_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./transpose.js */ "../../node_modules/d3-array/src/transpose.js");
|
|
3308
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "transpose", function() { return _transpose_js__WEBPACK_IMPORTED_MODULE_37__["default"]; });
|
|
3264
3309
|
|
|
3265
|
-
/* harmony import */ var
|
|
3266
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "variance", function() { return
|
|
3310
|
+
/* harmony import */ var _variance_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./variance.js */ "../../node_modules/d3-array/src/variance.js");
|
|
3311
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "variance", function() { return _variance_js__WEBPACK_IMPORTED_MODULE_38__["default"]; });
|
|
3267
3312
|
|
|
3268
|
-
/* harmony import */ var
|
|
3269
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "zip", function() { return
|
|
3313
|
+
/* harmony import */ var _zip_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./zip.js */ "../../node_modules/d3-array/src/zip.js");
|
|
3314
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "zip", function() { return _zip_js__WEBPACK_IMPORTED_MODULE_39__["default"]; });
|
|
3270
3315
|
|
|
3271
|
-
/* harmony import */ var
|
|
3272
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "every", function() { return
|
|
3316
|
+
/* harmony import */ var _every_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./every.js */ "../../node_modules/d3-array/src/every.js");
|
|
3317
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "every", function() { return _every_js__WEBPACK_IMPORTED_MODULE_40__["default"]; });
|
|
3273
3318
|
|
|
3274
|
-
/* harmony import */ var
|
|
3275
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "some", function() { return
|
|
3319
|
+
/* harmony import */ var _some_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./some.js */ "../../node_modules/d3-array/src/some.js");
|
|
3320
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "some", function() { return _some_js__WEBPACK_IMPORTED_MODULE_41__["default"]; });
|
|
3276
3321
|
|
|
3277
|
-
/* harmony import */ var
|
|
3278
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "filter", function() { return
|
|
3322
|
+
/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./filter.js */ "../../node_modules/d3-array/src/filter.js");
|
|
3323
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "filter", function() { return _filter_js__WEBPACK_IMPORTED_MODULE_42__["default"]; });
|
|
3279
3324
|
|
|
3280
|
-
/* harmony import */ var
|
|
3281
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "map", function() { return
|
|
3325
|
+
/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./map.js */ "../../node_modules/d3-array/src/map.js");
|
|
3326
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "map", function() { return _map_js__WEBPACK_IMPORTED_MODULE_43__["default"]; });
|
|
3282
3327
|
|
|
3283
|
-
/* harmony import */ var
|
|
3284
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reduce", function() { return
|
|
3328
|
+
/* harmony import */ var _reduce_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./reduce.js */ "../../node_modules/d3-array/src/reduce.js");
|
|
3329
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reduce", function() { return _reduce_js__WEBPACK_IMPORTED_MODULE_44__["default"]; });
|
|
3285
3330
|
|
|
3286
|
-
/* harmony import */ var
|
|
3287
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reverse", function() { return
|
|
3331
|
+
/* harmony import */ var _reverse_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./reverse.js */ "../../node_modules/d3-array/src/reverse.js");
|
|
3332
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reverse", function() { return _reverse_js__WEBPACK_IMPORTED_MODULE_45__["default"]; });
|
|
3288
3333
|
|
|
3289
|
-
/* harmony import */ var
|
|
3290
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sort", function() { return
|
|
3334
|
+
/* harmony import */ var _sort_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./sort.js */ "../../node_modules/d3-array/src/sort.js");
|
|
3335
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sort", function() { return _sort_js__WEBPACK_IMPORTED_MODULE_46__["default"]; });
|
|
3291
3336
|
|
|
3292
|
-
/* harmony import */ var
|
|
3293
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "difference", function() { return
|
|
3337
|
+
/* harmony import */ var _difference_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./difference.js */ "../../node_modules/d3-array/src/difference.js");
|
|
3338
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "difference", function() { return _difference_js__WEBPACK_IMPORTED_MODULE_47__["default"]; });
|
|
3294
3339
|
|
|
3295
|
-
/* harmony import */ var
|
|
3296
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "disjoint", function() { return
|
|
3340
|
+
/* harmony import */ var _disjoint_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./disjoint.js */ "../../node_modules/d3-array/src/disjoint.js");
|
|
3341
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "disjoint", function() { return _disjoint_js__WEBPACK_IMPORTED_MODULE_48__["default"]; });
|
|
3297
3342
|
|
|
3298
|
-
/* harmony import */ var
|
|
3299
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "intersection", function() { return
|
|
3343
|
+
/* harmony import */ var _intersection_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./intersection.js */ "../../node_modules/d3-array/src/intersection.js");
|
|
3344
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "intersection", function() { return _intersection_js__WEBPACK_IMPORTED_MODULE_49__["default"]; });
|
|
3300
3345
|
|
|
3301
|
-
/* harmony import */ var
|
|
3302
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "subset", function() { return
|
|
3346
|
+
/* harmony import */ var _subset_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./subset.js */ "../../node_modules/d3-array/src/subset.js");
|
|
3347
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "subset", function() { return _subset_js__WEBPACK_IMPORTED_MODULE_50__["default"]; });
|
|
3303
3348
|
|
|
3304
|
-
/* harmony import */ var
|
|
3305
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "superset", function() { return
|
|
3349
|
+
/* harmony import */ var _superset_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./superset.js */ "../../node_modules/d3-array/src/superset.js");
|
|
3350
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "superset", function() { return _superset_js__WEBPACK_IMPORTED_MODULE_51__["default"]; });
|
|
3351
|
+
|
|
3352
|
+
/* harmony import */ var _union_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./union.js */ "../../node_modules/d3-array/src/union.js");
|
|
3353
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "union", function() { return _union_js__WEBPACK_IMPORTED_MODULE_52__["default"]; });
|
|
3354
|
+
|
|
3355
|
+
/* harmony import */ var internmap__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! internmap */ "../../node_modules/internmap/src/index.js");
|
|
3356
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InternMap", function() { return internmap__WEBPACK_IMPORTED_MODULE_53__["InternMap"]; });
|
|
3357
|
+
|
|
3358
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InternSet", function() { return internmap__WEBPACK_IMPORTED_MODULE_53__["InternSet"]; });
|
|
3306
3359
|
|
|
3307
|
-
/* harmony import */ var _union_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./union.js */ "../../node_modules/d3-array/src/union.js");
|
|
3308
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "union", function() { return _union_js__WEBPACK_IMPORTED_MODULE_51__["default"]; });
|
|
3309
3360
|
|
|
3310
3361
|
|
|
3311
3362
|
|
|
@@ -3359,6 +3410,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3359
3410
|
|
|
3360
3411
|
|
|
3361
3412
|
|
|
3413
|
+
|
|
3362
3414
|
|
|
3363
3415
|
|
|
3364
3416
|
/***/ }),
|
|
@@ -4102,12 +4154,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4102
4154
|
|
|
4103
4155
|
|
|
4104
4156
|
|
|
4105
|
-
function sort(values,
|
|
4157
|
+
function sort(values, ...F) {
|
|
4106
4158
|
if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");
|
|
4107
4159
|
values = Array.from(values);
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4160
|
+
let [f = _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]] = F;
|
|
4161
|
+
if (f.length === 1 || F.length > 1) {
|
|
4162
|
+
const index = Uint32Array.from(values, (d, i) => i);
|
|
4163
|
+
if (F.length > 1) {
|
|
4164
|
+
F = F.map(f => values.map(f));
|
|
4165
|
+
index.sort((i, j) => {
|
|
4166
|
+
for (const f of F) {
|
|
4167
|
+
const c = Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(f[i], f[j]);
|
|
4168
|
+
if (c) return c;
|
|
4169
|
+
}
|
|
4170
|
+
});
|
|
4171
|
+
} else {
|
|
4172
|
+
f = values.map(f);
|
|
4173
|
+
index.sort((i, j) => Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(f[i], f[j]));
|
|
4174
|
+
}
|
|
4175
|
+
return Object(_permute_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, index);
|
|
4111
4176
|
}
|
|
4112
4177
|
return values.sort(f);
|
|
4113
4178
|
}
|
|
@@ -4283,16 +4348,18 @@ var e10 = Math.sqrt(50),
|
|
|
4283
4348
|
if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];
|
|
4284
4349
|
|
|
4285
4350
|
if (step > 0) {
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4351
|
+
let r0 = Math.round(start / step), r1 = Math.round(stop / step);
|
|
4352
|
+
if (r0 * step < start) ++r0;
|
|
4353
|
+
if (r1 * step > stop) --r1;
|
|
4354
|
+
ticks = new Array(n = r1 - r0 + 1);
|
|
4355
|
+
while (++i < n) ticks[i] = (r0 + i) * step;
|
|
4290
4356
|
} else {
|
|
4291
4357
|
step = -step;
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4358
|
+
let r0 = Math.round(start * step), r1 = Math.round(stop * step);
|
|
4359
|
+
if (r0 / step < start) ++r0;
|
|
4360
|
+
if (r1 / step > stop) --r1;
|
|
4361
|
+
ticks = new Array(n = r1 - r0 + 1);
|
|
4362
|
+
while (++i < n) ticks[i] = (r0 + i) / step;
|
|
4296
4363
|
}
|
|
4297
4364
|
|
|
4298
4365
|
if (reverse) ticks.reverse();
|
|
@@ -7026,7 +7093,7 @@ function transformer() {
|
|
|
7026
7093
|
}
|
|
7027
7094
|
|
|
7028
7095
|
function scale(x) {
|
|
7029
|
-
return isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));
|
|
7096
|
+
return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));
|
|
7030
7097
|
}
|
|
7031
7098
|
|
|
7032
7099
|
scale.invert = function(y) {
|
|
@@ -7219,7 +7286,7 @@ function identity(domain) {
|
|
|
7219
7286
|
var unknown;
|
|
7220
7287
|
|
|
7221
7288
|
function scale(x) {
|
|
7222
|
-
return isNaN(x = +x) ? unknown : x;
|
|
7289
|
+
return x == null || isNaN(x = +x) ? unknown : x;
|
|
7223
7290
|
}
|
|
7224
7291
|
|
|
7225
7292
|
scale.invert = scale;
|
|
@@ -7868,7 +7935,7 @@ function quantile() {
|
|
|
7868
7935
|
}
|
|
7869
7936
|
|
|
7870
7937
|
function scale(x) {
|
|
7871
|
-
return isNaN(x = +x) ? unknown : range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(thresholds, x)];
|
|
7938
|
+
return x == null || isNaN(x = +x) ? unknown : range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(thresholds, x)];
|
|
7872
7939
|
}
|
|
7873
7940
|
|
|
7874
7941
|
scale.invertExtent = function(y) {
|
|
@@ -7938,7 +8005,7 @@ function quantize() {
|
|
|
7938
8005
|
unknown;
|
|
7939
8006
|
|
|
7940
8007
|
function scale(x) {
|
|
7941
|
-
return x <= x ? range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 0, n)] : unknown;
|
|
8008
|
+
return x != null && x <= x ? range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 0, n)] : unknown;
|
|
7942
8009
|
}
|
|
7943
8010
|
|
|
7944
8011
|
function rescale() {
|
|
@@ -8108,7 +8175,7 @@ function transformer() {
|
|
|
8108
8175
|
unknown;
|
|
8109
8176
|
|
|
8110
8177
|
function scale(x) {
|
|
8111
|
-
return isNaN(x = +x) ? unknown : interpolator(k10 === 0 ? 0.5 : (x = (transform(x) - t0) * k10, clamp ? Math.max(0, Math.min(1, x)) : x));
|
|
8178
|
+
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));
|
|
8112
8179
|
}
|
|
8113
8180
|
|
|
8114
8181
|
scale.domain = function(_) {
|
|
@@ -8221,7 +8288,7 @@ function sequentialQuantile() {
|
|
|
8221
8288
|
interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"];
|
|
8222
8289
|
|
|
8223
8290
|
function scale(x) {
|
|
8224
|
-
if (!isNaN(x = +x)) return interpolator((Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 1) - 1) / (domain.length - 1));
|
|
8291
|
+
if (x != null && !isNaN(x = +x)) return interpolator((Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 1) - 1) / (domain.length - 1));
|
|
8225
8292
|
}
|
|
8226
8293
|
|
|
8227
8294
|
scale.domain = function(_) {
|
|
@@ -8329,7 +8396,7 @@ function threshold() {
|
|
|
8329
8396
|
n = 1;
|
|
8330
8397
|
|
|
8331
8398
|
function scale(x) {
|
|
8332
|
-
return x <= x ? range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 0, n)] : unknown;
|
|
8399
|
+
return x != null && x <= x ? range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 0, n)] : unknown;
|
|
8333
8400
|
}
|
|
8334
8401
|
|
|
8335
8402
|
scale.domain = function(_) {
|
|
@@ -8418,26 +8485,16 @@ function tickFormat(start, stop, count, specifier) {
|
|
|
8418
8485
|
__webpack_require__.r(__webpack_exports__);
|
|
8419
8486
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calendar", function() { return calendar; });
|
|
8420
8487
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return time; });
|
|
8421
|
-
/* harmony import */ var
|
|
8422
|
-
/* harmony import */ var
|
|
8423
|
-
/* harmony import */ var
|
|
8424
|
-
/* harmony import */ var
|
|
8425
|
-
/* harmony import */ var
|
|
8426
|
-
/* harmony import */ var _nice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./nice.js */ "../../node_modules/d3-scale/src/nice.js");
|
|
8427
|
-
|
|
8428
|
-
|
|
8488
|
+
/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-time */ "../../node_modules/d3-time/src/index.js");
|
|
8489
|
+
/* harmony import */ var d3_time_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-time-format */ "../../node_modules/d3-time-format/src/index.js");
|
|
8490
|
+
/* harmony import */ var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./continuous.js */ "../../node_modules/d3-scale/src/continuous.js");
|
|
8491
|
+
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./init.js */ "../../node_modules/d3-scale/src/init.js");
|
|
8492
|
+
/* harmony import */ var _nice_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./nice.js */ "../../node_modules/d3-scale/src/nice.js");
|
|
8429
8493
|
|
|
8430
8494
|
|
|
8431
8495
|
|
|
8432
8496
|
|
|
8433
8497
|
|
|
8434
|
-
var durationSecond = 1000,
|
|
8435
|
-
durationMinute = durationSecond * 60,
|
|
8436
|
-
durationHour = durationMinute * 60,
|
|
8437
|
-
durationDay = durationHour * 24,
|
|
8438
|
-
durationWeek = durationDay * 7,
|
|
8439
|
-
durationMonth = durationDay * 30,
|
|
8440
|
-
durationYear = durationDay * 365;
|
|
8441
8498
|
|
|
8442
8499
|
function date(t) {
|
|
8443
8500
|
return new Date(t);
|
|
@@ -8447,8 +8504,8 @@ function number(t) {
|
|
|
8447
8504
|
return t instanceof Date ? +t : +new Date(+t);
|
|
8448
8505
|
}
|
|
8449
8506
|
|
|
8450
|
-
function calendar(year, month, week, day, hour, minute, second,
|
|
8451
|
-
var scale = Object(
|
|
8507
|
+
function calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format) {
|
|
8508
|
+
var scale = Object(_continuous_js__WEBPACK_IMPORTED_MODULE_2__["default"])(),
|
|
8452
8509
|
invert = scale.invert,
|
|
8453
8510
|
domain = scale.domain;
|
|
8454
8511
|
|
|
@@ -8461,27 +8518,6 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
|
|
|
8461
8518
|
formatMonth = format("%B"),
|
|
8462
8519
|
formatYear = format("%Y");
|
|
8463
8520
|
|
|
8464
|
-
var tickIntervals = [
|
|
8465
|
-
[second, 1, durationSecond],
|
|
8466
|
-
[second, 5, 5 * durationSecond],
|
|
8467
|
-
[second, 15, 15 * durationSecond],
|
|
8468
|
-
[second, 30, 30 * durationSecond],
|
|
8469
|
-
[minute, 1, durationMinute],
|
|
8470
|
-
[minute, 5, 5 * durationMinute],
|
|
8471
|
-
[minute, 15, 15 * durationMinute],
|
|
8472
|
-
[minute, 30, 30 * durationMinute],
|
|
8473
|
-
[ hour, 1, durationHour ],
|
|
8474
|
-
[ hour, 3, 3 * durationHour ],
|
|
8475
|
-
[ hour, 6, 6 * durationHour ],
|
|
8476
|
-
[ hour, 12, 12 * durationHour ],
|
|
8477
|
-
[ day, 1, durationDay ],
|
|
8478
|
-
[ day, 2, 2 * durationDay ],
|
|
8479
|
-
[ week, 1, durationWeek ],
|
|
8480
|
-
[ month, 1, durationMonth ],
|
|
8481
|
-
[ month, 3, 3 * durationMonth ],
|
|
8482
|
-
[ year, 1, durationYear ]
|
|
8483
|
-
];
|
|
8484
|
-
|
|
8485
8521
|
function tickFormat(date) {
|
|
8486
8522
|
return (second(date) < date ? formatMillisecond
|
|
8487
8523
|
: minute(date) < date ? formatSecond
|
|
@@ -8492,33 +8528,6 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
|
|
|
8492
8528
|
: formatYear)(date);
|
|
8493
8529
|
}
|
|
8494
8530
|
|
|
8495
|
-
function tickInterval(interval, start, stop) {
|
|
8496
|
-
if (interval == null) interval = 10;
|
|
8497
|
-
|
|
8498
|
-
// If a desired tick count is specified, pick a reasonable tick interval
|
|
8499
|
-
// based on the extent of the domain and a rough estimate of tick size.
|
|
8500
|
-
// Otherwise, assume interval is already a time interval and use it.
|
|
8501
|
-
if (typeof interval === "number") {
|
|
8502
|
-
var target = Math.abs(stop - start) / interval,
|
|
8503
|
-
i = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisector"])(function(i) { return i[2]; }).right(tickIntervals, target),
|
|
8504
|
-
step;
|
|
8505
|
-
if (i === tickIntervals.length) {
|
|
8506
|
-
step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start / durationYear, stop / durationYear, interval);
|
|
8507
|
-
interval = year;
|
|
8508
|
-
} else if (i) {
|
|
8509
|
-
i = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i];
|
|
8510
|
-
step = i[1];
|
|
8511
|
-
interval = i[0];
|
|
8512
|
-
} else {
|
|
8513
|
-
step = Math.max(Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start, stop, interval), 1);
|
|
8514
|
-
interval = millisecond;
|
|
8515
|
-
}
|
|
8516
|
-
return interval.every(step);
|
|
8517
|
-
}
|
|
8518
|
-
|
|
8519
|
-
return interval;
|
|
8520
|
-
}
|
|
8521
|
-
|
|
8522
8531
|
scale.invert = function(y) {
|
|
8523
8532
|
return new Date(invert(y));
|
|
8524
8533
|
};
|
|
@@ -8528,15 +8537,8 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
|
|
|
8528
8537
|
};
|
|
8529
8538
|
|
|
8530
8539
|
scale.ticks = function(interval) {
|
|
8531
|
-
var d = domain()
|
|
8532
|
-
|
|
8533
|
-
t1 = d[d.length - 1],
|
|
8534
|
-
r = t1 < t0,
|
|
8535
|
-
t;
|
|
8536
|
-
if (r) t = t0, t0 = t1, t1 = t;
|
|
8537
|
-
t = tickInterval(interval, t0, t1);
|
|
8538
|
-
t = t ? t.range(t0, t1 + 1) : []; // inclusive stop
|
|
8539
|
-
return r ? t.reverse() : t;
|
|
8540
|
+
var d = domain();
|
|
8541
|
+
return ticks(d[0], d[d.length - 1], interval == null ? 10 : interval);
|
|
8540
8542
|
};
|
|
8541
8543
|
|
|
8542
8544
|
scale.tickFormat = function(count, specifier) {
|
|
@@ -8545,20 +8547,19 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
|
|
|
8545
8547
|
|
|
8546
8548
|
scale.nice = function(interval) {
|
|
8547
8549
|
var d = domain();
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
: scale;
|
|
8550
|
+
if (!interval || typeof interval.range !== "function") interval = tickInterval(d[0], d[d.length - 1], interval == null ? 10 : interval);
|
|
8551
|
+
return interval ? domain(Object(_nice_js__WEBPACK_IMPORTED_MODULE_4__["default"])(d, interval)) : scale;
|
|
8551
8552
|
};
|
|
8552
8553
|
|
|
8553
8554
|
scale.copy = function() {
|
|
8554
|
-
return Object(
|
|
8555
|
+
return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_2__["copy"])(scale, calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format));
|
|
8555
8556
|
};
|
|
8556
8557
|
|
|
8557
8558
|
return scale;
|
|
8558
8559
|
}
|
|
8559
8560
|
|
|
8560
8561
|
function time() {
|
|
8561
|
-
return
|
|
8562
|
+
return _init_js__WEBPACK_IMPORTED_MODULE_3__["initRange"].apply(calendar(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeTicks"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeTickInterval"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonth"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeWeek"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeDay"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeHour"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMinute"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeSecond"], d3_time_format__WEBPACK_IMPORTED_MODULE_1__["timeFormat"]).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]), arguments);
|
|
8562
8563
|
}
|
|
8563
8564
|
|
|
8564
8565
|
|
|
@@ -8574,9 +8575,9 @@ function time() {
|
|
|
8574
8575
|
"use strict";
|
|
8575
8576
|
__webpack_require__.r(__webpack_exports__);
|
|
8576
8577
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return utcTime; });
|
|
8577
|
-
/* harmony import */ var
|
|
8578
|
+
/* harmony import */ var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-time */ "../../node_modules/d3-time/src/index.js");
|
|
8578
8579
|
/* harmony import */ var d3_time_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! d3-time-format */ "../../node_modules/d3-time-format/src/index.js");
|
|
8579
|
-
/* harmony import */ var
|
|
8580
|
+
/* harmony import */ var _time_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./time.js */ "../../node_modules/d3-scale/src/time.js");
|
|
8580
8581
|
/* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./init.js */ "../../node_modules/d3-scale/src/init.js");
|
|
8581
8582
|
|
|
8582
8583
|
|
|
@@ -8584,7 +8585,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8584
8585
|
|
|
8585
8586
|
|
|
8586
8587
|
function utcTime() {
|
|
8587
|
-
return _init_js__WEBPACK_IMPORTED_MODULE_3__["initRange"].apply(Object(
|
|
8588
|
+
return _init_js__WEBPACK_IMPORTED_MODULE_3__["initRange"].apply(Object(_time_js__WEBPACK_IMPORTED_MODULE_2__["calendar"])(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcTicks"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcTickInterval"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonth"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcWeek"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcDay"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcHour"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMinute"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcSecond"], d3_time_format__WEBPACK_IMPORTED_MODULE_1__["utcFormat"]).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]), arguments);
|
|
8588
8589
|
}
|
|
8589
8590
|
|
|
8590
8591
|
|
|
@@ -9462,7 +9463,7 @@ var days = day.range;
|
|
|
9462
9463
|
/*!************************************************************************!*\
|
|
9463
9464
|
!*** /Users/missx/Source/deck.gl/node_modules/d3-time/src/duration.js ***!
|
|
9464
9465
|
\************************************************************************/
|
|
9465
|
-
/*! exports provided: durationSecond, durationMinute, durationHour, durationDay, durationWeek */
|
|
9466
|
+
/*! exports provided: durationSecond, durationMinute, durationHour, durationDay, durationWeek, durationMonth, durationYear */
|
|
9466
9467
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9467
9468
|
|
|
9468
9469
|
"use strict";
|
|
@@ -9472,11 +9473,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9472
9473
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "durationHour", function() { return durationHour; });
|
|
9473
9474
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "durationDay", function() { return durationDay; });
|
|
9474
9475
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "durationWeek", function() { return durationWeek; });
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9476
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "durationMonth", function() { return durationMonth; });
|
|
9477
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "durationYear", function() { return durationYear; });
|
|
9478
|
+
const durationSecond = 1000;
|
|
9479
|
+
const durationMinute = durationSecond * 60;
|
|
9480
|
+
const durationHour = durationMinute * 60;
|
|
9481
|
+
const durationDay = durationHour * 24;
|
|
9482
|
+
const durationWeek = durationDay * 7;
|
|
9483
|
+
const durationMonth = durationDay * 30;
|
|
9484
|
+
const durationYear = durationDay * 365;
|
|
9480
9485
|
|
|
9481
9486
|
|
|
9482
9487
|
/***/ }),
|
|
@@ -9516,7 +9521,7 @@ var hours = hour.range;
|
|
|
9516
9521
|
/*!*********************************************************************!*\
|
|
9517
9522
|
!*** /Users/missx/Source/deck.gl/node_modules/d3-time/src/index.js ***!
|
|
9518
9523
|
\*********************************************************************/
|
|
9519
|
-
/*! exports provided: timeInterval, timeMillisecond, timeMilliseconds, utcMillisecond, utcMilliseconds, timeSecond, timeSeconds, utcSecond, utcSeconds, timeMinute, timeMinutes, timeHour, timeHours, timeDay, timeDays, timeWeek, timeWeeks, timeSunday, timeSundays, timeMonday, timeMondays, timeTuesday, timeTuesdays, timeWednesday, timeWednesdays, timeThursday, timeThursdays, timeFriday, timeFridays, timeSaturday, timeSaturdays, timeMonth, timeMonths, timeYear, timeYears, utcMinute, utcMinutes, utcHour, utcHours, utcDay, utcDays, utcWeek, utcWeeks, utcSunday, utcSundays, utcMonday, utcMondays, utcTuesday, utcTuesdays, utcWednesday, utcWednesdays, utcThursday, utcThursdays, utcFriday, utcFridays, utcSaturday, utcSaturdays, utcMonth, utcMonths, utcYear, utcYears */
|
|
9524
|
+
/*! exports provided: timeInterval, timeMillisecond, timeMilliseconds, utcMillisecond, utcMilliseconds, timeSecond, timeSeconds, utcSecond, utcSeconds, timeMinute, timeMinutes, timeHour, timeHours, timeDay, timeDays, timeWeek, timeWeeks, timeSunday, timeSundays, timeMonday, timeMondays, timeTuesday, timeTuesdays, timeWednesday, timeWednesdays, timeThursday, timeThursdays, timeFriday, timeFridays, timeSaturday, timeSaturdays, timeMonth, timeMonths, timeYear, timeYears, utcMinute, utcMinutes, utcHour, utcHours, utcDay, utcDays, utcWeek, utcWeeks, utcSunday, utcSundays, utcMonday, utcMondays, utcTuesday, utcTuesdays, utcWednesday, utcWednesdays, utcThursday, utcThursdays, utcFriday, utcFridays, utcSaturday, utcSaturdays, utcMonth, utcMonths, utcYear, utcYears, utcTicks, utcTickInterval, timeTicks, timeTickInterval */
|
|
9520
9525
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9521
9526
|
|
|
9522
9527
|
"use strict";
|
|
@@ -9658,6 +9663,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9658
9663
|
|
|
9659
9664
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "utcYears", function() { return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["utcYears"]; });
|
|
9660
9665
|
|
|
9666
|
+
/* harmony import */ var _ticks_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./ticks.js */ "../../node_modules/d3-time/src/ticks.js");
|
|
9667
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "utcTicks", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["utcTicks"]; });
|
|
9668
|
+
|
|
9669
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "utcTickInterval", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["utcTickInterval"]; });
|
|
9670
|
+
|
|
9671
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "timeTicks", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["timeTicks"]; });
|
|
9672
|
+
|
|
9673
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "timeTickInterval", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["timeTickInterval"]; });
|
|
9674
|
+
|
|
9675
|
+
|
|
9676
|
+
|
|
9661
9677
|
|
|
9662
9678
|
|
|
9663
9679
|
|
|
@@ -9906,6 +9922,103 @@ var second = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(functi
|
|
|
9906
9922
|
var seconds = second.range;
|
|
9907
9923
|
|
|
9908
9924
|
|
|
9925
|
+
/***/ }),
|
|
9926
|
+
|
|
9927
|
+
/***/ "../../node_modules/d3-time/src/ticks.js":
|
|
9928
|
+
/*!*********************************************************************!*\
|
|
9929
|
+
!*** /Users/missx/Source/deck.gl/node_modules/d3-time/src/ticks.js ***!
|
|
9930
|
+
\*********************************************************************/
|
|
9931
|
+
/*! exports provided: utcTicks, utcTickInterval, timeTicks, timeTickInterval */
|
|
9932
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9933
|
+
|
|
9934
|
+
"use strict";
|
|
9935
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9936
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "utcTicks", function() { return utcTicks; });
|
|
9937
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "utcTickInterval", function() { return utcTickInterval; });
|
|
9938
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "timeTicks", function() { return timeTicks; });
|
|
9939
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "timeTickInterval", function() { return timeTickInterval; });
|
|
9940
|
+
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-array */ "../../node_modules/d3-array/src/index.js");
|
|
9941
|
+
/* harmony import */ var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./duration.js */ "../../node_modules/d3-time/src/duration.js");
|
|
9942
|
+
/* harmony import */ var _millisecond_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./millisecond.js */ "../../node_modules/d3-time/src/millisecond.js");
|
|
9943
|
+
/* harmony import */ var _second_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./second.js */ "../../node_modules/d3-time/src/second.js");
|
|
9944
|
+
/* harmony import */ var _minute_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./minute.js */ "../../node_modules/d3-time/src/minute.js");
|
|
9945
|
+
/* harmony import */ var _hour_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hour.js */ "../../node_modules/d3-time/src/hour.js");
|
|
9946
|
+
/* harmony import */ var _day_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./day.js */ "../../node_modules/d3-time/src/day.js");
|
|
9947
|
+
/* harmony import */ var _week_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./week.js */ "../../node_modules/d3-time/src/week.js");
|
|
9948
|
+
/* harmony import */ var _month_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./month.js */ "../../node_modules/d3-time/src/month.js");
|
|
9949
|
+
/* harmony import */ var _year_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./year.js */ "../../node_modules/d3-time/src/year.js");
|
|
9950
|
+
/* harmony import */ var _utcMinute_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utcMinute.js */ "../../node_modules/d3-time/src/utcMinute.js");
|
|
9951
|
+
/* harmony import */ var _utcHour_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utcHour.js */ "../../node_modules/d3-time/src/utcHour.js");
|
|
9952
|
+
/* harmony import */ var _utcDay_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utcDay.js */ "../../node_modules/d3-time/src/utcDay.js");
|
|
9953
|
+
/* harmony import */ var _utcWeek_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utcWeek.js */ "../../node_modules/d3-time/src/utcWeek.js");
|
|
9954
|
+
/* harmony import */ var _utcMonth_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./utcMonth.js */ "../../node_modules/d3-time/src/utcMonth.js");
|
|
9955
|
+
/* harmony import */ var _utcYear_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./utcYear.js */ "../../node_modules/d3-time/src/utcYear.js");
|
|
9956
|
+
|
|
9957
|
+
|
|
9958
|
+
|
|
9959
|
+
|
|
9960
|
+
|
|
9961
|
+
|
|
9962
|
+
|
|
9963
|
+
|
|
9964
|
+
|
|
9965
|
+
|
|
9966
|
+
|
|
9967
|
+
|
|
9968
|
+
|
|
9969
|
+
|
|
9970
|
+
|
|
9971
|
+
|
|
9972
|
+
|
|
9973
|
+
function ticker(year, month, week, day, hour, minute) {
|
|
9974
|
+
|
|
9975
|
+
const tickIntervals = [
|
|
9976
|
+
[_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]],
|
|
9977
|
+
[_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 5, 5 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]],
|
|
9978
|
+
[_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 15, 15 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]],
|
|
9979
|
+
[_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 30, 30 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]],
|
|
9980
|
+
[minute, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]],
|
|
9981
|
+
[minute, 5, 5 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]],
|
|
9982
|
+
[minute, 15, 15 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]],
|
|
9983
|
+
[minute, 30, 30 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]],
|
|
9984
|
+
[ hour, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"] ],
|
|
9985
|
+
[ hour, 3, 3 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"] ],
|
|
9986
|
+
[ hour, 6, 6 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"] ],
|
|
9987
|
+
[ hour, 12, 12 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"] ],
|
|
9988
|
+
[ day, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"] ],
|
|
9989
|
+
[ day, 2, 2 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"] ],
|
|
9990
|
+
[ week, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"] ],
|
|
9991
|
+
[ month, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMonth"] ],
|
|
9992
|
+
[ month, 3, 3 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMonth"] ],
|
|
9993
|
+
[ year, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"] ]
|
|
9994
|
+
];
|
|
9995
|
+
|
|
9996
|
+
function ticks(start, stop, count) {
|
|
9997
|
+
const reverse = stop < start;
|
|
9998
|
+
if (reverse) [start, stop] = [stop, start];
|
|
9999
|
+
const interval = count && typeof count.range === "function" ? count : tickInterval(start, stop, count);
|
|
10000
|
+
const ticks = interval ? interval.range(start, +stop + 1) : []; // inclusive stop
|
|
10001
|
+
return reverse ? ticks.reverse() : ticks;
|
|
10002
|
+
}
|
|
10003
|
+
|
|
10004
|
+
function tickInterval(start, stop, count) {
|
|
10005
|
+
const target = Math.abs(stop - start) / count;
|
|
10006
|
+
const i = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisector"])(([,, step]) => step).right(tickIntervals, target);
|
|
10007
|
+
if (i === tickIntervals.length) return year.every(Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"], stop / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"], count));
|
|
10008
|
+
if (i === 0) return _millisecond_js__WEBPACK_IMPORTED_MODULE_2__["default"].every(Math.max(Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start, stop, count), 1));
|
|
10009
|
+
const [t, step] = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i];
|
|
10010
|
+
return t.every(step);
|
|
10011
|
+
}
|
|
10012
|
+
|
|
10013
|
+
return [ticks, tickInterval];
|
|
10014
|
+
}
|
|
10015
|
+
|
|
10016
|
+
const [utcTicks, utcTickInterval] = ticker(_utcYear_js__WEBPACK_IMPORTED_MODULE_15__["default"], _utcMonth_js__WEBPACK_IMPORTED_MODULE_14__["default"], _utcWeek_js__WEBPACK_IMPORTED_MODULE_13__["utcSunday"], _utcDay_js__WEBPACK_IMPORTED_MODULE_12__["default"], _utcHour_js__WEBPACK_IMPORTED_MODULE_11__["default"], _utcMinute_js__WEBPACK_IMPORTED_MODULE_10__["default"]);
|
|
10017
|
+
const [timeTicks, timeTickInterval] = ticker(_year_js__WEBPACK_IMPORTED_MODULE_9__["default"], _month_js__WEBPACK_IMPORTED_MODULE_8__["default"], _week_js__WEBPACK_IMPORTED_MODULE_7__["sunday"], _day_js__WEBPACK_IMPORTED_MODULE_6__["default"], _hour_js__WEBPACK_IMPORTED_MODULE_5__["default"], _minute_js__WEBPACK_IMPORTED_MODULE_4__["default"]);
|
|
10018
|
+
|
|
10019
|
+
|
|
10020
|
+
|
|
10021
|
+
|
|
9909
10022
|
/***/ }),
|
|
9910
10023
|
|
|
9911
10024
|
/***/ "../../node_modules/d3-time/src/utcDay.js":
|
|
@@ -10227,6 +10340,82 @@ year.every = function(k) {
|
|
|
10227
10340
|
var years = year.range;
|
|
10228
10341
|
|
|
10229
10342
|
|
|
10343
|
+
/***/ }),
|
|
10344
|
+
|
|
10345
|
+
/***/ "../../node_modules/internmap/src/index.js":
|
|
10346
|
+
/*!***********************************************************************!*\
|
|
10347
|
+
!*** /Users/missx/Source/deck.gl/node_modules/internmap/src/index.js ***!
|
|
10348
|
+
\***********************************************************************/
|
|
10349
|
+
/*! exports provided: InternMap, InternSet */
|
|
10350
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10351
|
+
|
|
10352
|
+
"use strict";
|
|
10353
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10354
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InternMap", function() { return InternMap; });
|
|
10355
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InternSet", function() { return InternSet; });
|
|
10356
|
+
class InternMap extends Map {
|
|
10357
|
+
constructor(entries, key = keyof) {
|
|
10358
|
+
super();
|
|
10359
|
+
Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}});
|
|
10360
|
+
if (entries != null) for (const [key, value] of entries) this.set(key, value);
|
|
10361
|
+
}
|
|
10362
|
+
get(key) {
|
|
10363
|
+
return super.get(intern_get(this, key));
|
|
10364
|
+
}
|
|
10365
|
+
has(key) {
|
|
10366
|
+
return super.has(intern_get(this, key));
|
|
10367
|
+
}
|
|
10368
|
+
set(key, value) {
|
|
10369
|
+
return super.set(intern_set(this, key), value);
|
|
10370
|
+
}
|
|
10371
|
+
delete(key) {
|
|
10372
|
+
return super.delete(intern_delete(this, key));
|
|
10373
|
+
}
|
|
10374
|
+
}
|
|
10375
|
+
|
|
10376
|
+
class InternSet extends Set {
|
|
10377
|
+
constructor(values, key = keyof) {
|
|
10378
|
+
super();
|
|
10379
|
+
Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}});
|
|
10380
|
+
if (values != null) for (const value of values) this.add(value);
|
|
10381
|
+
}
|
|
10382
|
+
has(value) {
|
|
10383
|
+
return super.has(intern_get(this, value));
|
|
10384
|
+
}
|
|
10385
|
+
add(value) {
|
|
10386
|
+
return super.add(intern_set(this, value));
|
|
10387
|
+
}
|
|
10388
|
+
delete(value) {
|
|
10389
|
+
return super.delete(intern_delete(this, value));
|
|
10390
|
+
}
|
|
10391
|
+
}
|
|
10392
|
+
|
|
10393
|
+
function intern_get({_intern, _key}, value) {
|
|
10394
|
+
const key = _key(value);
|
|
10395
|
+
return _intern.has(key) ? _intern.get(key) : value;
|
|
10396
|
+
}
|
|
10397
|
+
|
|
10398
|
+
function intern_set({_intern, _key}, value) {
|
|
10399
|
+
const key = _key(value);
|
|
10400
|
+
if (_intern.has(key)) return _intern.get(key);
|
|
10401
|
+
_intern.set(key, value);
|
|
10402
|
+
return value;
|
|
10403
|
+
}
|
|
10404
|
+
|
|
10405
|
+
function intern_delete({_intern, _key}, value) {
|
|
10406
|
+
const key = _key(value);
|
|
10407
|
+
if (_intern.has(key)) {
|
|
10408
|
+
value = _intern.get(value);
|
|
10409
|
+
_intern.delete(key);
|
|
10410
|
+
}
|
|
10411
|
+
return value;
|
|
10412
|
+
}
|
|
10413
|
+
|
|
10414
|
+
function keyof(value) {
|
|
10415
|
+
return value !== null && typeof value === "object" ? value.valueOf() : value;
|
|
10416
|
+
}
|
|
10417
|
+
|
|
10418
|
+
|
|
10230
10419
|
/***/ }),
|
|
10231
10420
|
|
|
10232
10421
|
/***/ "./bundle.js":
|