@vitessce/scatterplot-embedding 3.3.3 → 3.3.5

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.
@@ -4417,9 +4417,6 @@ var pluralizeExports = pluralize$1.exports;
4417
4417
  const plur = /* @__PURE__ */ getDefaultExportFromCjs(pluralizeExports);
4418
4418
  plur.addPluralRule("glomerulus", "glomeruli");
4419
4419
  plur.addPluralRule("interstitium", "interstitia");
4420
- function fromEntries(iterable) {
4421
- return [...iterable].reduce((obj, { 0: key, 1: val }) => Object.assign(obj, { [key]: val }), {});
4422
- }
4423
4420
  function commaNumber(n2) {
4424
4421
  const nf = new Intl.NumberFormat("en-US");
4425
4422
  return nf.format(n2);
@@ -4475,61 +4472,6 @@ const PALETTE = [
4475
4472
  [136, 34, 85],
4476
4473
  [170, 68, 153]
4477
4474
  ];
4478
- const schemeRdBu = [[103, 0, 31], [178, 24, 43], [214, 96, 77], [244, 165, 130], [253, 219, 199], [247, 247, 247], [209, 229, 240], [146, 197, 222], [67, 147, 195], [33, 102, 172], [5, 48, 97]];
4479
- const schemePlasma = [[13, 8, 135], [16, 7, 136], [19, 7, 137], [22, 7, 138], [25, 6, 140], [27, 6, 141], [29, 6, 142], [32, 6, 143], [34, 6, 144], [36, 6, 145], [38, 5, 145], [40, 5, 146], [42, 5, 147], [44, 5, 148], [46, 5, 149], [47, 5, 150], [49, 5, 151], [51, 5, 151], [53, 4, 152], [55, 4, 153], [56, 4, 154], [58, 4, 154], [60, 4, 155], [62, 4, 156], [63, 4, 156], [65, 4, 157], [67, 3, 158], [68, 3, 158], [70, 3, 159], [72, 3, 159], [73, 3, 160], [75, 3, 161], [76, 2, 161], [78, 2, 162], [80, 2, 162], [81, 2, 163], [83, 2, 163], [85, 2, 164], [86, 1, 164], [88, 1, 164], [89, 1, 165], [91, 1, 165], [92, 1, 166], [94, 1, 166], [96, 1, 166], [97, 0, 167], [99, 0, 167], [100, 0, 167], [102, 0, 167], [103, 0, 168], [105, 0, 168], [106, 0, 168], [108, 0, 168], [110, 0, 168], [111, 0, 168], [113, 0, 168], [114, 1, 168], [116, 1, 168], [117, 1, 168], [119, 1, 168], [120, 1, 168], [122, 2, 168], [123, 2, 168], [125, 3, 168], [126, 3, 168], [128, 4, 168], [129, 4, 167], [131, 5, 167], [132, 5, 167], [134, 6, 166], [135, 7, 166], [136, 8, 166], [138, 9, 165], [139, 10, 165], [141, 11, 165], [142, 12, 164], [143, 13, 164], [145, 14, 163], [146, 15, 163], [148, 16, 162], [149, 17, 161], [150, 19, 161], [152, 20, 160], [153, 21, 159], [154, 22, 159], [156, 23, 158], [157, 24, 157], [158, 25, 157], [160, 26, 156], [161, 27, 155], [162, 29, 154], [163, 30, 154], [165, 31, 153], [166, 32, 152], [167, 33, 151], [168, 34, 150], [170, 35, 149], [171, 36, 148], [172, 38, 148], [173, 39, 147], [174, 40, 146], [176, 41, 145], [177, 42, 144], [178, 43, 143], [179, 44, 142], [180, 46, 141], [181, 47, 140], [182, 48, 139], [183, 49, 138], [184, 50, 137], [186, 51, 136], [187, 52, 136], [188, 53, 135], [189, 55, 134], [190, 56, 133], [191, 57, 132], [192, 58, 131], [193, 59, 130], [194, 60, 129], [195, 61, 128], [196, 62, 127], [197, 64, 126], [198, 65, 125], [199, 66, 124], [200, 67, 123], [201, 68, 122], [202, 69, 122], [203, 70, 121], [204, 71, 120], [204, 73, 119], [205, 74, 118], [206, 75, 117], [207, 76, 116], [208, 77, 115], [209, 78, 114], [210, 79, 113], [211, 81, 113], [212, 82, 112], [213, 83, 111], [213, 84, 110], [214, 85, 109], [215, 86, 108], [216, 87, 107], [217, 88, 106], [218, 90, 106], [218, 91, 105], [219, 92, 104], [220, 93, 103], [221, 94, 102], [222, 95, 101], [222, 97, 100], [223, 98, 99], [224, 99, 99], [225, 100, 98], [226, 101, 97], [226, 102, 96], [227, 104, 95], [228, 105, 94], [229, 106, 93], [229, 107, 93], [230, 108, 92], [231, 110, 91], [231, 111, 90], [232, 112, 89], [233, 113, 88], [233, 114, 87], [234, 116, 87], [235, 117, 86], [235, 118, 85], [236, 119, 84], [237, 121, 83], [237, 122, 82], [238, 123, 81], [239, 124, 81], [239, 126, 80], [240, 127, 79], [240, 128, 78], [241, 129, 77], [241, 131, 76], [242, 132, 75], [243, 133, 75], [243, 135, 74], [244, 136, 73], [244, 137, 72], [245, 139, 71], [245, 140, 70], [246, 141, 69], [246, 143, 68], [247, 144, 68], [247, 145, 67], [247, 147, 66], [248, 148, 65], [248, 149, 64], [249, 151, 63], [249, 152, 62], [249, 154, 62], [250, 155, 61], [250, 156, 60], [250, 158, 59], [251, 159, 58], [251, 161, 57], [251, 162, 56], [252, 163, 56], [252, 165, 55], [252, 166, 54], [252, 168, 53], [252, 169, 52], [253, 171, 51], [253, 172, 51], [253, 174, 50], [253, 175, 49], [253, 177, 48], [253, 178, 47], [253, 180, 47], [253, 181, 46], [254, 183, 45], [254, 184, 44], [254, 186, 44], [254, 187, 43], [254, 189, 42], [254, 190, 42], [254, 192, 41], [253, 194, 41], [253, 195, 40], [253, 197, 39], [253, 198, 39], [253, 200, 39], [253, 202, 38], [253, 203, 38], [252, 205, 37], [252, 206, 37], [252, 208, 37], [252, 210, 37], [251, 211, 36], [251, 213, 36], [251, 215, 36], [250, 216, 36], [250, 218, 36], [249, 220, 36], [249, 221, 37], [248, 223, 37], [248, 225, 37], [247, 226, 37], [247, 228, 37], [246, 230, 38], [246, 232, 38], [245, 233, 38], [245, 235, 39], [244, 237, 39], [243, 238, 39], [243, 240, 39], [242, 242, 39], [241, 244, 38], [241, 245, 37], [240, 247, 36], [240, 249, 33]];
4480
- function rgbSpline(spline) {
4481
- return (colors) => {
4482
- const n2 = colors.length;
4483
- const r2 = new Array(n2);
4484
- const g2 = new Array(n2);
4485
- const b = new Array(n2);
4486
- let i2;
4487
- let color2;
4488
- for (i2 = 0; i2 < n2; ++i2) {
4489
- color2 = [colors[i2][0], colors[i2][1], colors[i2][2]];
4490
- r2[i2] = color2[0] || 0;
4491
- g2[i2] = color2[1] || 0;
4492
- b[i2] = color2[2] || 0;
4493
- }
4494
- const rFunc = spline(r2);
4495
- const gFunc = spline(g2);
4496
- const bFunc = spline(b);
4497
- return (t2) => [rFunc(t2), gFunc(t2), bFunc(t2)];
4498
- };
4499
- }
4500
- function basis(values2) {
4501
- function innerBasis(t1, v0, v12, v2, v32) {
4502
- const t2 = t1 * t1;
4503
- const t3 = t2 * t1;
4504
- return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v12 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v32) / 6;
4505
- }
4506
- const n2 = values2.length - 1;
4507
- return (t2) => {
4508
- const i2 = t2 <= 0 ? t2 = 0 : t2 >= 1 ? (t2 = 1, n2 - 1) : Math.floor(t2 * n2);
4509
- const v12 = values2[i2];
4510
- const v2 = values2[i2 + 1];
4511
- const v0 = i2 > 0 ? values2[i2 - 1] : 2 * v12 - v2;
4512
- const v32 = i2 < n2 - 1 ? values2[i2 + 2] : 2 * v2 - v12;
4513
- return innerBasis((t2 - i2 / n2) * n2, v0, v12, v2, v32);
4514
- };
4515
- }
4516
- const interpolateRgbBasis = rgbSpline(basis);
4517
- function interpolateSequentialMulti(range2) {
4518
- const n2 = range2.length;
4519
- return (t2) => range2[Math.max(0, Math.min(n2 - 1, Math.floor(t2 * n2)))];
4520
- }
4521
- interpolateRgbBasis(schemeRdBu);
4522
- interpolateSequentialMulti(schemePlasma);
4523
- function getCellColors(params) {
4524
- const { cellSets, cellSetSelection, cellSetColor, obsIndex, theme } = params;
4525
- if (cellSetSelection && cellSets) {
4526
- return treeToCellColorsBySetNames(cellSets, cellSetSelection, cellSetColor, theme);
4527
- }
4528
- if (obsIndex && theme) {
4529
- return new Map(obsIndex.map((o2) => [o2, getDefaultColor(theme)]));
4530
- }
4531
- return /* @__PURE__ */ new Map();
4532
- }
4533
4475
  var util$4;
4534
4476
  (function(util2) {
4535
4477
  util2.assertEqual = (val) => val;
@@ -11103,6 +11045,7 @@ const FileType$1 = {
11103
11045
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
11104
11046
  // AnnData
11105
11047
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
11048
+ OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
11106
11049
  OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
11107
11050
  OBS_EMBEDDING_ANNDATA_ZARR: "obsEmbedding.anndata.zarr",
11108
11051
  OBS_SPOTS_ANNDATA_ZARR: "obsSpots.anndata.zarr",
@@ -11829,7 +11772,7 @@ function configSchemaToVersion(zodSchema) {
11829
11772
  return zodSchema.shape.version._def.value;
11830
11773
  }
11831
11774
  ({
11832
- ...fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
11775
+ ...Object.fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
11833
11776
  const version2 = configSchemaToVersion(zodSchema);
11834
11777
  return [version2, zodSchema];
11835
11778
  })),
@@ -11905,6 +11848,9 @@ const annDataObsSets = z.array(z.object({
11905
11848
  ]),
11906
11849
  scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
11907
11850
  }));
11851
+ z.array(z.object({
11852
+ path: z.string()
11853
+ }));
11908
11854
  const annDataObsSpots = annDataObsm;
11909
11855
  const annDataObsPoints = annDataObsm;
11910
11856
  const annDataObsLocations = annDataObsm;
@@ -18687,6 +18633,67 @@ var json2csv_umd = { exports: {} };
18687
18633
  Object.defineProperty(exports3, "__esModule", { value: true });
18688
18634
  });
18689
18635
  })(json2csv_umd, json2csv_umd.exports);
18636
+ const schemeRdBu = [[103, 0, 31], [178, 24, 43], [214, 96, 77], [244, 165, 130], [253, 219, 199], [247, 247, 247], [209, 229, 240], [146, 197, 222], [67, 147, 195], [33, 102, 172], [5, 48, 97]];
18637
+ const schemePlasma = [[13, 8, 135], [16, 7, 136], [19, 7, 137], [22, 7, 138], [25, 6, 140], [27, 6, 141], [29, 6, 142], [32, 6, 143], [34, 6, 144], [36, 6, 145], [38, 5, 145], [40, 5, 146], [42, 5, 147], [44, 5, 148], [46, 5, 149], [47, 5, 150], [49, 5, 151], [51, 5, 151], [53, 4, 152], [55, 4, 153], [56, 4, 154], [58, 4, 154], [60, 4, 155], [62, 4, 156], [63, 4, 156], [65, 4, 157], [67, 3, 158], [68, 3, 158], [70, 3, 159], [72, 3, 159], [73, 3, 160], [75, 3, 161], [76, 2, 161], [78, 2, 162], [80, 2, 162], [81, 2, 163], [83, 2, 163], [85, 2, 164], [86, 1, 164], [88, 1, 164], [89, 1, 165], [91, 1, 165], [92, 1, 166], [94, 1, 166], [96, 1, 166], [97, 0, 167], [99, 0, 167], [100, 0, 167], [102, 0, 167], [103, 0, 168], [105, 0, 168], [106, 0, 168], [108, 0, 168], [110, 0, 168], [111, 0, 168], [113, 0, 168], [114, 1, 168], [116, 1, 168], [117, 1, 168], [119, 1, 168], [120, 1, 168], [122, 2, 168], [123, 2, 168], [125, 3, 168], [126, 3, 168], [128, 4, 168], [129, 4, 167], [131, 5, 167], [132, 5, 167], [134, 6, 166], [135, 7, 166], [136, 8, 166], [138, 9, 165], [139, 10, 165], [141, 11, 165], [142, 12, 164], [143, 13, 164], [145, 14, 163], [146, 15, 163], [148, 16, 162], [149, 17, 161], [150, 19, 161], [152, 20, 160], [153, 21, 159], [154, 22, 159], [156, 23, 158], [157, 24, 157], [158, 25, 157], [160, 26, 156], [161, 27, 155], [162, 29, 154], [163, 30, 154], [165, 31, 153], [166, 32, 152], [167, 33, 151], [168, 34, 150], [170, 35, 149], [171, 36, 148], [172, 38, 148], [173, 39, 147], [174, 40, 146], [176, 41, 145], [177, 42, 144], [178, 43, 143], [179, 44, 142], [180, 46, 141], [181, 47, 140], [182, 48, 139], [183, 49, 138], [184, 50, 137], [186, 51, 136], [187, 52, 136], [188, 53, 135], [189, 55, 134], [190, 56, 133], [191, 57, 132], [192, 58, 131], [193, 59, 130], [194, 60, 129], [195, 61, 128], [196, 62, 127], [197, 64, 126], [198, 65, 125], [199, 66, 124], [200, 67, 123], [201, 68, 122], [202, 69, 122], [203, 70, 121], [204, 71, 120], [204, 73, 119], [205, 74, 118], [206, 75, 117], [207, 76, 116], [208, 77, 115], [209, 78, 114], [210, 79, 113], [211, 81, 113], [212, 82, 112], [213, 83, 111], [213, 84, 110], [214, 85, 109], [215, 86, 108], [216, 87, 107], [217, 88, 106], [218, 90, 106], [218, 91, 105], [219, 92, 104], [220, 93, 103], [221, 94, 102], [222, 95, 101], [222, 97, 100], [223, 98, 99], [224, 99, 99], [225, 100, 98], [226, 101, 97], [226, 102, 96], [227, 104, 95], [228, 105, 94], [229, 106, 93], [229, 107, 93], [230, 108, 92], [231, 110, 91], [231, 111, 90], [232, 112, 89], [233, 113, 88], [233, 114, 87], [234, 116, 87], [235, 117, 86], [235, 118, 85], [236, 119, 84], [237, 121, 83], [237, 122, 82], [238, 123, 81], [239, 124, 81], [239, 126, 80], [240, 127, 79], [240, 128, 78], [241, 129, 77], [241, 131, 76], [242, 132, 75], [243, 133, 75], [243, 135, 74], [244, 136, 73], [244, 137, 72], [245, 139, 71], [245, 140, 70], [246, 141, 69], [246, 143, 68], [247, 144, 68], [247, 145, 67], [247, 147, 66], [248, 148, 65], [248, 149, 64], [249, 151, 63], [249, 152, 62], [249, 154, 62], [250, 155, 61], [250, 156, 60], [250, 158, 59], [251, 159, 58], [251, 161, 57], [251, 162, 56], [252, 163, 56], [252, 165, 55], [252, 166, 54], [252, 168, 53], [252, 169, 52], [253, 171, 51], [253, 172, 51], [253, 174, 50], [253, 175, 49], [253, 177, 48], [253, 178, 47], [253, 180, 47], [253, 181, 46], [254, 183, 45], [254, 184, 44], [254, 186, 44], [254, 187, 43], [254, 189, 42], [254, 190, 42], [254, 192, 41], [253, 194, 41], [253, 195, 40], [253, 197, 39], [253, 198, 39], [253, 200, 39], [253, 202, 38], [253, 203, 38], [252, 205, 37], [252, 206, 37], [252, 208, 37], [252, 210, 37], [251, 211, 36], [251, 213, 36], [251, 215, 36], [250, 216, 36], [250, 218, 36], [249, 220, 36], [249, 221, 37], [248, 223, 37], [248, 225, 37], [247, 226, 37], [247, 228, 37], [246, 230, 38], [246, 232, 38], [245, 233, 38], [245, 235, 39], [244, 237, 39], [243, 238, 39], [243, 240, 39], [242, 242, 39], [241, 244, 38], [241, 245, 37], [240, 247, 36], [240, 249, 33]];
18638
+ function rgbSpline(spline) {
18639
+ return (colors) => {
18640
+ const n2 = colors.length;
18641
+ const r2 = new Array(n2);
18642
+ const g2 = new Array(n2);
18643
+ const b = new Array(n2);
18644
+ let i2;
18645
+ let color2;
18646
+ for (i2 = 0; i2 < n2; ++i2) {
18647
+ color2 = [colors[i2][0], colors[i2][1], colors[i2][2]];
18648
+ r2[i2] = color2[0] || 0;
18649
+ g2[i2] = color2[1] || 0;
18650
+ b[i2] = color2[2] || 0;
18651
+ }
18652
+ const rFunc = spline(r2);
18653
+ const gFunc = spline(g2);
18654
+ const bFunc = spline(b);
18655
+ return (t2) => [rFunc(t2), gFunc(t2), bFunc(t2)];
18656
+ };
18657
+ }
18658
+ function basis(values2) {
18659
+ function innerBasis(t1, v0, v12, v2, v32) {
18660
+ const t2 = t1 * t1;
18661
+ const t3 = t2 * t1;
18662
+ return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v12 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v32) / 6;
18663
+ }
18664
+ const n2 = values2.length - 1;
18665
+ return (t2) => {
18666
+ const i2 = t2 <= 0 ? t2 = 0 : t2 >= 1 ? (t2 = 1, n2 - 1) : Math.floor(t2 * n2);
18667
+ const v12 = values2[i2];
18668
+ const v2 = values2[i2 + 1];
18669
+ const v0 = i2 > 0 ? values2[i2 - 1] : 2 * v12 - v2;
18670
+ const v32 = i2 < n2 - 1 ? values2[i2 + 2] : 2 * v2 - v12;
18671
+ return innerBasis((t2 - i2 / n2) * n2, v0, v12, v2, v32);
18672
+ };
18673
+ }
18674
+ const interpolateRgbBasis = rgbSpline(basis);
18675
+ function interpolateSequentialMulti(range2) {
18676
+ const n2 = range2.length;
18677
+ return (t2) => range2[Math.max(0, Math.min(n2 - 1, Math.floor(t2 * n2)))];
18678
+ }
18679
+ interpolateRgbBasis(schemeRdBu);
18680
+ interpolateSequentialMulti(schemePlasma);
18681
+ function getCellColors(params) {
18682
+ const { cellSets, cellSetSelection, cellSetColor, obsIndex, theme } = params;
18683
+ if (cellSetSelection && cellSets) {
18684
+ return treeToCellColorsBySetNames(
18685
+ cellSets,
18686
+ cellSetSelection,
18687
+ cellSetColor,
18688
+ theme
18689
+ /* as string */
18690
+ );
18691
+ }
18692
+ if (obsIndex && theme) {
18693
+ return new Map(obsIndex.map((o2) => [o2, getDefaultColor(theme)]));
18694
+ }
18695
+ return /* @__PURE__ */ new Map();
18696
+ }
18690
18697
  function tree_add(d) {
18691
18698
  var x2 = +this._x.call(null, d), y2 = +this._y.call(null, d);
18692
18699
  return add$6(this.cover(x2, y2), x2, y2, d);
@@ -106157,9 +106164,9 @@ function _possibleConstructorReturn$u(self2, call) {
106157
106164
  if (call && (_typeof$w(call) === "object" || typeof call === "function")) {
106158
106165
  return call;
106159
106166
  }
106160
- return _assertThisInitialized$w(self2);
106167
+ return _assertThisInitialized$v(self2);
106161
106168
  }
106162
- function _assertThisInitialized$w(self2) {
106169
+ function _assertThisInitialized$v(self2) {
106163
106170
  if (self2 === void 0) {
106164
106171
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
106165
106172
  }
@@ -106192,14 +106199,14 @@ function _inherits$u(subClass, superClass) {
106192
106199
  }
106193
106200
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
106194
106201
  if (superClass)
106195
- _setPrototypeOf$w(subClass, superClass);
106202
+ _setPrototypeOf$v(subClass, superClass);
106196
106203
  }
106197
- function _setPrototypeOf$w(o2, p) {
106198
- _setPrototypeOf$w = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
106204
+ function _setPrototypeOf$v(o2, p) {
106205
+ _setPrototypeOf$v = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
106199
106206
  o3.__proto__ = p2;
106200
106207
  return o3;
106201
106208
  };
106202
- return _setPrototypeOf$w(o2, p);
106209
+ return _setPrototypeOf$v(o2, p);
106203
106210
  }
106204
106211
  var ModifyMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
106205
106212
  _inherits$u(ModifyMode2, _GeoJsonEditMode);
@@ -106599,9 +106606,9 @@ function _possibleConstructorReturn$t(self2, call) {
106599
106606
  if (call && (_typeof$v(call) === "object" || typeof call === "function")) {
106600
106607
  return call;
106601
106608
  }
106602
- return _assertThisInitialized$v(self2);
106609
+ return _assertThisInitialized$u(self2);
106603
106610
  }
106604
- function _assertThisInitialized$v(self2) {
106611
+ function _assertThisInitialized$u(self2) {
106605
106612
  if (self2 === void 0) {
106606
106613
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
106607
106614
  }
@@ -106634,14 +106641,14 @@ function _inherits$t(subClass, superClass) {
106634
106641
  }
106635
106642
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
106636
106643
  if (superClass)
106637
- _setPrototypeOf$v(subClass, superClass);
106644
+ _setPrototypeOf$u(subClass, superClass);
106638
106645
  }
106639
- function _setPrototypeOf$v(o2, p) {
106640
- _setPrototypeOf$v = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
106646
+ function _setPrototypeOf$u(o2, p) {
106647
+ _setPrototypeOf$u = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
106641
106648
  o3.__proto__ = p2;
106642
106649
  return o3;
106643
106650
  };
106644
- return _setPrototypeOf$v(o2, p);
106651
+ return _setPrototypeOf$u(o2, p);
106645
106652
  }
106646
106653
  function _defineProperty$b(obj, key, value) {
106647
106654
  if (key in obj) {
@@ -106661,8 +106668,8 @@ var ResizeCircleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
106661
106668
  args[_key] = arguments[_key];
106662
106669
  }
106663
106670
  _this = _super.call.apply(_super, [this].concat(args));
106664
- _defineProperty$b(_assertThisInitialized$v(_this), "_selectedEditHandle", void 0);
106665
- _defineProperty$b(_assertThisInitialized$v(_this), "_isResizing", false);
106671
+ _defineProperty$b(_assertThisInitialized$u(_this), "_selectedEditHandle", void 0);
106672
+ _defineProperty$b(_assertThisInitialized$u(_this), "_isResizing", false);
106666
106673
  return _this;
106667
106674
  }
106668
106675
  _createClass$t(ResizeCircleMode2, [{
@@ -106951,9 +106958,9 @@ function _possibleConstructorReturn$s(self2, call) {
106951
106958
  if (call && (_typeof$u(call) === "object" || typeof call === "function")) {
106952
106959
  return call;
106953
106960
  }
106954
- return _assertThisInitialized$u(self2);
106961
+ return _assertThisInitialized$t(self2);
106955
106962
  }
106956
- function _assertThisInitialized$u(self2) {
106963
+ function _assertThisInitialized$t(self2) {
106957
106964
  if (self2 === void 0) {
106958
106965
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
106959
106966
  }
@@ -106986,14 +106993,14 @@ function _inherits$s(subClass, superClass) {
106986
106993
  }
106987
106994
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
106988
106995
  if (superClass)
106989
- _setPrototypeOf$u(subClass, superClass);
106996
+ _setPrototypeOf$t(subClass, superClass);
106990
106997
  }
106991
- function _setPrototypeOf$u(o2, p) {
106992
- _setPrototypeOf$u = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
106998
+ function _setPrototypeOf$t(o2, p) {
106999
+ _setPrototypeOf$t = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
106993
107000
  o3.__proto__ = p2;
106994
107001
  return o3;
106995
107002
  };
106996
- return _setPrototypeOf$u(o2, p);
107003
+ return _setPrototypeOf$t(o2, p);
106997
107004
  }
106998
107005
  function _defineProperty$a(obj, key, value) {
106999
107006
  if (key in obj) {
@@ -107013,8 +107020,8 @@ var TranslateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
107013
107020
  args[_key] = arguments[_key];
107014
107021
  }
107015
107022
  _this = _super.call.apply(_super, [this].concat(args));
107016
- _defineProperty$a(_assertThisInitialized$u(_this), "_geometryBeforeTranslate", void 0);
107017
- _defineProperty$a(_assertThisInitialized$u(_this), "_isTranslatable", void 0);
107023
+ _defineProperty$a(_assertThisInitialized$t(_this), "_geometryBeforeTranslate", void 0);
107024
+ _defineProperty$a(_assertThisInitialized$t(_this), "_isTranslatable", void 0);
107018
107025
  return _this;
107019
107026
  }
107020
107027
  _createClass$s(TranslateMode2, [{
@@ -107414,9 +107421,9 @@ function _possibleConstructorReturn$r(self2, call) {
107414
107421
  if (call && (_typeof$t(call) === "object" || typeof call === "function")) {
107415
107422
  return call;
107416
107423
  }
107417
- return _assertThisInitialized$t(self2);
107424
+ return _assertThisInitialized$s(self2);
107418
107425
  }
107419
- function _assertThisInitialized$t(self2) {
107426
+ function _assertThisInitialized$s(self2) {
107420
107427
  if (self2 === void 0) {
107421
107428
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
107422
107429
  }
@@ -107449,14 +107456,14 @@ function _inherits$r(subClass, superClass) {
107449
107456
  }
107450
107457
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
107451
107458
  if (superClass)
107452
- _setPrototypeOf$t(subClass, superClass);
107459
+ _setPrototypeOf$s(subClass, superClass);
107453
107460
  }
107454
- function _setPrototypeOf$t(o2, p) {
107455
- _setPrototypeOf$t = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
107461
+ function _setPrototypeOf$s(o2, p) {
107462
+ _setPrototypeOf$s = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
107456
107463
  o3.__proto__ = p2;
107457
107464
  return o3;
107458
107465
  };
107459
- return _setPrototypeOf$t(o2, p);
107466
+ return _setPrototypeOf$s(o2, p);
107460
107467
  }
107461
107468
  function _defineProperty$9(obj, key, value) {
107462
107469
  if (key in obj) {
@@ -107476,12 +107483,12 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
107476
107483
  args[_key] = arguments[_key];
107477
107484
  }
107478
107485
  _this = _super.call.apply(_super, [this].concat(args));
107479
- _defineProperty$9(_assertThisInitialized$t(_this), "_geometryBeingScaled", void 0);
107480
- _defineProperty$9(_assertThisInitialized$t(_this), "_selectedEditHandle", void 0);
107481
- _defineProperty$9(_assertThisInitialized$t(_this), "_cornerGuidePoints", void 0);
107482
- _defineProperty$9(_assertThisInitialized$t(_this), "_cursor", void 0);
107483
- _defineProperty$9(_assertThisInitialized$t(_this), "_isScaling", false);
107484
- _defineProperty$9(_assertThisInitialized$t(_this), "_isSinglePointGeometrySelected", function(geometry2) {
107486
+ _defineProperty$9(_assertThisInitialized$s(_this), "_geometryBeingScaled", void 0);
107487
+ _defineProperty$9(_assertThisInitialized$s(_this), "_selectedEditHandle", void 0);
107488
+ _defineProperty$9(_assertThisInitialized$s(_this), "_cornerGuidePoints", void 0);
107489
+ _defineProperty$9(_assertThisInitialized$s(_this), "_cursor", void 0);
107490
+ _defineProperty$9(_assertThisInitialized$s(_this), "_isScaling", false);
107491
+ _defineProperty$9(_assertThisInitialized$s(_this), "_isSinglePointGeometrySelected", function(geometry2) {
107485
107492
  var _ref = geometry2 || {}, features = _ref.features;
107486
107493
  if (Array.isArray(features) && features.length === 1) {
107487
107494
  var _getGeom = (0, _invariant$1.getGeom)(features[0]), type = _getGeom.type;
@@ -107489,7 +107496,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
107489
107496
  }
107490
107497
  return false;
107491
107498
  });
107492
- _defineProperty$9(_assertThisInitialized$t(_this), "_getOppositeScaleHandle", function(selectedHandle) {
107499
+ _defineProperty$9(_assertThisInitialized$s(_this), "_getOppositeScaleHandle", function(selectedHandle) {
107493
107500
  var selectedHandleIndex = selectedHandle && selectedHandle.properties && Array.isArray(selectedHandle.properties.positionIndexes) && selectedHandle.properties.positionIndexes[0];
107494
107501
  if (typeof selectedHandleIndex !== "number") {
107495
107502
  return null;
@@ -107503,7 +107510,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
107503
107510
  return p.properties.positionIndexes[0] === oppositeIndex;
107504
107511
  });
107505
107512
  });
107506
- _defineProperty$9(_assertThisInitialized$t(_this), "_getUpdatedData", function(props2, editedData) {
107513
+ _defineProperty$9(_assertThisInitialized$s(_this), "_getUpdatedData", function(props2, editedData) {
107507
107514
  var updatedData = new _immutableFeatureCollection$4.ImmutableFeatureCollection(props2.data);
107508
107515
  var selectedIndexes = props2.selectedIndexes;
107509
107516
  for (var i2 = 0; i2 < selectedIndexes.length; i2++) {
@@ -107513,10 +107520,10 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
107513
107520
  }
107514
107521
  return updatedData.getObject();
107515
107522
  });
107516
- _defineProperty$9(_assertThisInitialized$t(_this), "isEditHandleSelected", function() {
107523
+ _defineProperty$9(_assertThisInitialized$s(_this), "isEditHandleSelected", function() {
107517
107524
  return Boolean(_this._selectedEditHandle);
107518
107525
  });
107519
- _defineProperty$9(_assertThisInitialized$t(_this), "getScaleAction", function(startDragPoint, currentPoint, editType, props2) {
107526
+ _defineProperty$9(_assertThisInitialized$s(_this), "getScaleAction", function(startDragPoint, currentPoint, editType, props2) {
107520
107527
  if (!_this._selectedEditHandle) {
107521
107528
  return null;
107522
107529
  }
@@ -107539,7 +107546,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
107539
107546
  }
107540
107547
  };
107541
107548
  });
107542
- _defineProperty$9(_assertThisInitialized$t(_this), "updateCursor", function(props2) {
107549
+ _defineProperty$9(_assertThisInitialized$s(_this), "updateCursor", function(props2) {
107543
107550
  if (_this._selectedEditHandle) {
107544
107551
  if (_this._cursor) {
107545
107552
  props2.onUpdateCursor(_this._cursor);
@@ -107763,9 +107770,9 @@ function _possibleConstructorReturn$q(self2, call) {
107763
107770
  if (call && (_typeof$s(call) === "object" || typeof call === "function")) {
107764
107771
  return call;
107765
107772
  }
107766
- return _assertThisInitialized$s(self2);
107773
+ return _assertThisInitialized$r(self2);
107767
107774
  }
107768
- function _assertThisInitialized$s(self2) {
107775
+ function _assertThisInitialized$r(self2) {
107769
107776
  if (self2 === void 0) {
107770
107777
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
107771
107778
  }
@@ -107798,14 +107805,14 @@ function _inherits$q(subClass, superClass) {
107798
107805
  }
107799
107806
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
107800
107807
  if (superClass)
107801
- _setPrototypeOf$s(subClass, superClass);
107808
+ _setPrototypeOf$r(subClass, superClass);
107802
107809
  }
107803
- function _setPrototypeOf$s(o2, p) {
107804
- _setPrototypeOf$s = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
107810
+ function _setPrototypeOf$r(o2, p) {
107811
+ _setPrototypeOf$r = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
107805
107812
  o3.__proto__ = p2;
107806
107813
  return o3;
107807
107814
  };
107808
- return _setPrototypeOf$s(o2, p);
107815
+ return _setPrototypeOf$r(o2, p);
107809
107816
  }
107810
107817
  function _defineProperty$8(obj, key, value) {
107811
107818
  if (key in obj) {
@@ -107825,10 +107832,10 @@ var RotateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
107825
107832
  args[_key] = arguments[_key];
107826
107833
  }
107827
107834
  _this = _super.call.apply(_super, [this].concat(args));
107828
- _defineProperty$8(_assertThisInitialized$s(_this), "_selectedEditHandle", void 0);
107829
- _defineProperty$8(_assertThisInitialized$s(_this), "_geometryBeingRotated", void 0);
107830
- _defineProperty$8(_assertThisInitialized$s(_this), "_isRotating", false);
107831
- _defineProperty$8(_assertThisInitialized$s(_this), "_isSinglePointGeometrySelected", function(geometry2) {
107835
+ _defineProperty$8(_assertThisInitialized$r(_this), "_selectedEditHandle", void 0);
107836
+ _defineProperty$8(_assertThisInitialized$r(_this), "_geometryBeingRotated", void 0);
107837
+ _defineProperty$8(_assertThisInitialized$r(_this), "_isRotating", false);
107838
+ _defineProperty$8(_assertThisInitialized$r(_this), "_isSinglePointGeometrySelected", function(geometry2) {
107832
107839
  var _ref = geometry2 || {}, features = _ref.features;
107833
107840
  if (Array.isArray(features) && features.length === 1) {
107834
107841
  var _getGeom = (0, _invariant.getGeom)(features[0]), type = _getGeom.type;
@@ -107836,7 +107843,7 @@ var RotateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
107836
107843
  }
107837
107844
  return false;
107838
107845
  });
107839
- _defineProperty$8(_assertThisInitialized$s(_this), "getIsRotating", function() {
107846
+ _defineProperty$8(_assertThisInitialized$r(_this), "getIsRotating", function() {
107840
107847
  return _this._isRotating;
107841
107848
  });
107842
107849
  return _this;
@@ -108057,9 +108064,9 @@ function _possibleConstructorReturn$p(self2, call) {
108057
108064
  if (call && (_typeof$r(call) === "object" || typeof call === "function")) {
108058
108065
  return call;
108059
108066
  }
108060
- return _assertThisInitialized$r(self2);
108067
+ return _assertThisInitialized$q(self2);
108061
108068
  }
108062
- function _assertThisInitialized$r(self2) {
108069
+ function _assertThisInitialized$q(self2) {
108063
108070
  if (self2 === void 0) {
108064
108071
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
108065
108072
  }
@@ -108092,14 +108099,14 @@ function _inherits$p(subClass, superClass) {
108092
108099
  }
108093
108100
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
108094
108101
  if (superClass)
108095
- _setPrototypeOf$r(subClass, superClass);
108102
+ _setPrototypeOf$q(subClass, superClass);
108096
108103
  }
108097
- function _setPrototypeOf$r(o2, p) {
108098
- _setPrototypeOf$r = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
108104
+ function _setPrototypeOf$q(o2, p) {
108105
+ _setPrototypeOf$q = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
108099
108106
  o3.__proto__ = p2;
108100
108107
  return o3;
108101
108108
  };
108102
- return _setPrototypeOf$r(o2, p);
108109
+ return _setPrototypeOf$q(o2, p);
108103
108110
  }
108104
108111
  var DuplicateMode = /* @__PURE__ */ function(_TranslateMode) {
108105
108112
  _inherits$p(DuplicateMode2, _TranslateMode);
@@ -108187,9 +108194,9 @@ function _possibleConstructorReturn$o(self2, call) {
108187
108194
  if (call && (_typeof$q(call) === "object" || typeof call === "function")) {
108188
108195
  return call;
108189
108196
  }
108190
- return _assertThisInitialized$q(self2);
108197
+ return _assertThisInitialized$p(self2);
108191
108198
  }
108192
- function _assertThisInitialized$q(self2) {
108199
+ function _assertThisInitialized$p(self2) {
108193
108200
  if (self2 === void 0) {
108194
108201
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
108195
108202
  }
@@ -108222,14 +108229,14 @@ function _inherits$o(subClass, superClass) {
108222
108229
  }
108223
108230
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
108224
108231
  if (superClass)
108225
- _setPrototypeOf$q(subClass, superClass);
108232
+ _setPrototypeOf$p(subClass, superClass);
108226
108233
  }
108227
- function _setPrototypeOf$q(o2, p) {
108228
- _setPrototypeOf$q = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
108234
+ function _setPrototypeOf$p(o2, p) {
108235
+ _setPrototypeOf$p = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
108229
108236
  o3.__proto__ = p2;
108230
108237
  return o3;
108231
108238
  };
108232
- return _setPrototypeOf$q(o2, p);
108239
+ return _setPrototypeOf$p(o2, p);
108233
108240
  }
108234
108241
  var ExtendLineStringMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
108235
108242
  _inherits$o(ExtendLineStringMode2, _GeoJsonEditMode);
@@ -108603,9 +108610,9 @@ function _possibleConstructorReturn$n(self2, call) {
108603
108610
  if (call && (_typeof$p(call) === "object" || typeof call === "function")) {
108604
108611
  return call;
108605
108612
  }
108606
- return _assertThisInitialized$p(self2);
108613
+ return _assertThisInitialized$o(self2);
108607
108614
  }
108608
- function _assertThisInitialized$p(self2) {
108615
+ function _assertThisInitialized$o(self2) {
108609
108616
  if (self2 === void 0) {
108610
108617
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
108611
108618
  }
@@ -108638,14 +108645,14 @@ function _inherits$n(subClass, superClass) {
108638
108645
  }
108639
108646
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
108640
108647
  if (superClass)
108641
- _setPrototypeOf$p(subClass, superClass);
108648
+ _setPrototypeOf$o(subClass, superClass);
108642
108649
  }
108643
- function _setPrototypeOf$p(o2, p) {
108644
- _setPrototypeOf$p = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
108650
+ function _setPrototypeOf$o(o2, p) {
108651
+ _setPrototypeOf$o = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
108645
108652
  o3.__proto__ = p2;
108646
108653
  return o3;
108647
108654
  };
108648
- return _setPrototypeOf$p(o2, p);
108655
+ return _setPrototypeOf$o(o2, p);
108649
108656
  }
108650
108657
  var SplitPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
108651
108658
  _inherits$n(SplitPolygonMode2, _GeoJsonEditMode);
@@ -108938,9 +108945,9 @@ function _possibleConstructorReturn$m(self2, call) {
108938
108945
  if (call && (_typeof$o(call) === "object" || typeof call === "function")) {
108939
108946
  return call;
108940
108947
  }
108941
- return _assertThisInitialized$o(self2);
108948
+ return _assertThisInitialized$n(self2);
108942
108949
  }
108943
- function _assertThisInitialized$o(self2) {
108950
+ function _assertThisInitialized$n(self2) {
108944
108951
  if (self2 === void 0) {
108945
108952
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
108946
108953
  }
@@ -108973,14 +108980,14 @@ function _inherits$m(subClass, superClass) {
108973
108980
  }
108974
108981
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
108975
108982
  if (superClass)
108976
- _setPrototypeOf$o(subClass, superClass);
108983
+ _setPrototypeOf$n(subClass, superClass);
108977
108984
  }
108978
- function _setPrototypeOf$o(o2, p) {
108979
- _setPrototypeOf$o = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
108985
+ function _setPrototypeOf$n(o2, p) {
108986
+ _setPrototypeOf$n = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
108980
108987
  o3.__proto__ = p2;
108981
108988
  return o3;
108982
108989
  };
108983
- return _setPrototypeOf$o(o2, p);
108990
+ return _setPrototypeOf$n(o2, p);
108984
108991
  }
108985
108992
  function _defineProperty$7(obj, key, value) {
108986
108993
  if (key in obj) {
@@ -109000,7 +109007,7 @@ var ExtrudeMode = /* @__PURE__ */ function(_ModifyMode) {
109000
109007
  args[_key] = arguments[_key];
109001
109008
  }
109002
109009
  _this = _super.call.apply(_super, [this].concat(args));
109003
- _defineProperty$7(_assertThisInitialized$o(_this), "isPointAdded", false);
109010
+ _defineProperty$7(_assertThisInitialized$n(_this), "isPointAdded", false);
109004
109011
  return _this;
109005
109012
  }
109006
109013
  _createClass$m(ExtrudeMode2, [{
@@ -109269,9 +109276,9 @@ function _possibleConstructorReturn$l(self2, call) {
109269
109276
  if (call && (_typeof$n(call) === "object" || typeof call === "function")) {
109270
109277
  return call;
109271
109278
  }
109272
- return _assertThisInitialized$n(self2);
109279
+ return _assertThisInitialized$m(self2);
109273
109280
  }
109274
- function _assertThisInitialized$n(self2) {
109281
+ function _assertThisInitialized$m(self2) {
109275
109282
  if (self2 === void 0) {
109276
109283
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
109277
109284
  }
@@ -109304,14 +109311,14 @@ function _inherits$l(subClass, superClass) {
109304
109311
  }
109305
109312
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
109306
109313
  if (superClass)
109307
- _setPrototypeOf$n(subClass, superClass);
109314
+ _setPrototypeOf$m(subClass, superClass);
109308
109315
  }
109309
- function _setPrototypeOf$n(o2, p) {
109310
- _setPrototypeOf$n = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
109316
+ function _setPrototypeOf$m(o2, p) {
109317
+ _setPrototypeOf$m = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
109311
109318
  o3.__proto__ = p2;
109312
109319
  return o3;
109313
109320
  };
109314
- return _setPrototypeOf$n(o2, p);
109321
+ return _setPrototypeOf$m(o2, p);
109315
109322
  }
109316
109323
  function defaultCalculateElevationChange(_ref) {
109317
109324
  var pointerDownScreenCoords = _ref.pointerDownScreenCoords, screenCoords = _ref.screenCoords;
@@ -109505,9 +109512,9 @@ function _possibleConstructorReturn$k(self2, call) {
109505
109512
  if (call && (_typeof$m(call) === "object" || typeof call === "function")) {
109506
109513
  return call;
109507
109514
  }
109508
- return _assertThisInitialized$m(self2);
109515
+ return _assertThisInitialized$l(self2);
109509
109516
  }
109510
- function _assertThisInitialized$m(self2) {
109517
+ function _assertThisInitialized$l(self2) {
109511
109518
  if (self2 === void 0) {
109512
109519
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
109513
109520
  }
@@ -109540,14 +109547,14 @@ function _inherits$k(subClass, superClass) {
109540
109547
  }
109541
109548
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
109542
109549
  if (superClass)
109543
- _setPrototypeOf$m(subClass, superClass);
109550
+ _setPrototypeOf$l(subClass, superClass);
109544
109551
  }
109545
- function _setPrototypeOf$m(o2, p) {
109546
- _setPrototypeOf$m = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
109552
+ function _setPrototypeOf$l(o2, p) {
109553
+ _setPrototypeOf$l = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
109547
109554
  o3.__proto__ = p2;
109548
109555
  return o3;
109549
109556
  };
109550
- return _setPrototypeOf$m(o2, p);
109557
+ return _setPrototypeOf$l(o2, p);
109551
109558
  }
109552
109559
  function _defineProperty$6(obj, key, value) {
109553
109560
  if (key in obj) {
@@ -109564,7 +109571,7 @@ var CompositeMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
109564
109571
  var _this;
109565
109572
  _classCallCheck$k(this, CompositeMode2);
109566
109573
  _this = _super.call(this);
109567
- _defineProperty$6(_assertThisInitialized$m(_this), "_modes", void 0);
109574
+ _defineProperty$6(_assertThisInitialized$l(_this), "_modes", void 0);
109568
109575
  _this._modes = modes;
109569
109576
  return _this;
109570
109577
  }
@@ -109762,9 +109769,9 @@ function _possibleConstructorReturn$j(self2, call) {
109762
109769
  if (call && (_typeof$l(call) === "object" || typeof call === "function")) {
109763
109770
  return call;
109764
109771
  }
109765
- return _assertThisInitialized$l(self2);
109772
+ return _assertThisInitialized$k(self2);
109766
109773
  }
109767
- function _assertThisInitialized$l(self2) {
109774
+ function _assertThisInitialized$k(self2) {
109768
109775
  if (self2 === void 0) {
109769
109776
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
109770
109777
  }
@@ -109797,14 +109804,14 @@ function _inherits$j(subClass, superClass) {
109797
109804
  }
109798
109805
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
109799
109806
  if (superClass)
109800
- _setPrototypeOf$l(subClass, superClass);
109807
+ _setPrototypeOf$k(subClass, superClass);
109801
109808
  }
109802
- function _setPrototypeOf$l(o2, p) {
109803
- _setPrototypeOf$l = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
109809
+ function _setPrototypeOf$k(o2, p) {
109810
+ _setPrototypeOf$k = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
109804
109811
  o3.__proto__ = p2;
109805
109812
  return o3;
109806
109813
  };
109807
- return _setPrototypeOf$l(o2, p);
109814
+ return _setPrototypeOf$k(o2, p);
109808
109815
  }
109809
109816
  var TransformMode = /* @__PURE__ */ function(_CompositeMode) {
109810
109817
  _inherits$j(TransformMode2, _CompositeMode);
@@ -109953,9 +109960,9 @@ function _possibleConstructorReturn$i(self2, call) {
109953
109960
  if (call && (_typeof$k(call) === "object" || typeof call === "function")) {
109954
109961
  return call;
109955
109962
  }
109956
- return _assertThisInitialized$k(self2);
109963
+ return _assertThisInitialized$j(self2);
109957
109964
  }
109958
- function _assertThisInitialized$k(self2) {
109965
+ function _assertThisInitialized$j(self2) {
109959
109966
  if (self2 === void 0) {
109960
109967
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
109961
109968
  }
@@ -109988,14 +109995,14 @@ function _inherits$i(subClass, superClass) {
109988
109995
  }
109989
109996
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
109990
109997
  if (superClass)
109991
- _setPrototypeOf$k(subClass, superClass);
109998
+ _setPrototypeOf$j(subClass, superClass);
109992
109999
  }
109993
- function _setPrototypeOf$k(o2, p) {
109994
- _setPrototypeOf$k = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110000
+ function _setPrototypeOf$j(o2, p) {
110001
+ _setPrototypeOf$j = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
109995
110002
  o3.__proto__ = p2;
109996
110003
  return o3;
109997
110004
  };
109998
- return _setPrototypeOf$k(o2, p);
110005
+ return _setPrototypeOf$j(o2, p);
109999
110006
  }
110000
110007
  var DrawPointMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
110001
110008
  _inherits$i(DrawPointMode2, _GeoJsonEditMode);
@@ -110133,9 +110140,9 @@ function _possibleConstructorReturn$h(self2, call) {
110133
110140
  if (call && (_typeof$j(call) === "object" || typeof call === "function")) {
110134
110141
  return call;
110135
110142
  }
110136
- return _assertThisInitialized$j(self2);
110143
+ return _assertThisInitialized$i(self2);
110137
110144
  }
110138
- function _assertThisInitialized$j(self2) {
110145
+ function _assertThisInitialized$i(self2) {
110139
110146
  if (self2 === void 0) {
110140
110147
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
110141
110148
  }
@@ -110168,14 +110175,14 @@ function _inherits$h(subClass, superClass) {
110168
110175
  }
110169
110176
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
110170
110177
  if (superClass)
110171
- _setPrototypeOf$j(subClass, superClass);
110178
+ _setPrototypeOf$i(subClass, superClass);
110172
110179
  }
110173
- function _setPrototypeOf$j(o2, p) {
110174
- _setPrototypeOf$j = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110180
+ function _setPrototypeOf$i(o2, p) {
110181
+ _setPrototypeOf$i = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110175
110182
  o3.__proto__ = p2;
110176
110183
  return o3;
110177
110184
  };
110178
- return _setPrototypeOf$j(o2, p);
110185
+ return _setPrototypeOf$i(o2, p);
110179
110186
  }
110180
110187
  var DrawLineStringMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
110181
110188
  _inherits$h(DrawLineStringMode2, _GeoJsonEditMode);
@@ -110407,9 +110414,9 @@ function _possibleConstructorReturn$g(self2, call) {
110407
110414
  if (call && (_typeof$i(call) === "object" || typeof call === "function")) {
110408
110415
  return call;
110409
110416
  }
110410
- return _assertThisInitialized$i(self2);
110417
+ return _assertThisInitialized$h(self2);
110411
110418
  }
110412
- function _assertThisInitialized$i(self2) {
110419
+ function _assertThisInitialized$h(self2) {
110413
110420
  if (self2 === void 0) {
110414
110421
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
110415
110422
  }
@@ -110442,14 +110449,14 @@ function _inherits$g(subClass, superClass) {
110442
110449
  }
110443
110450
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
110444
110451
  if (superClass)
110445
- _setPrototypeOf$i(subClass, superClass);
110452
+ _setPrototypeOf$h(subClass, superClass);
110446
110453
  }
110447
- function _setPrototypeOf$i(o2, p) {
110448
- _setPrototypeOf$i = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110454
+ function _setPrototypeOf$h(o2, p) {
110455
+ _setPrototypeOf$h = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110449
110456
  o3.__proto__ = p2;
110450
110457
  return o3;
110451
110458
  };
110452
- return _setPrototypeOf$i(o2, p);
110459
+ return _setPrototypeOf$h(o2, p);
110453
110460
  }
110454
110461
  var DrawPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
110455
110462
  _inherits$g(DrawPolygonMode2, _GeoJsonEditMode);
@@ -110664,9 +110671,9 @@ function _possibleConstructorReturn$f(self2, call) {
110664
110671
  if (call && (_typeof$h(call) === "object" || typeof call === "function")) {
110665
110672
  return call;
110666
110673
  }
110667
- return _assertThisInitialized$h(self2);
110674
+ return _assertThisInitialized$g(self2);
110668
110675
  }
110669
- function _assertThisInitialized$h(self2) {
110676
+ function _assertThisInitialized$g(self2) {
110670
110677
  if (self2 === void 0) {
110671
110678
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
110672
110679
  }
@@ -110699,14 +110706,14 @@ function _inherits$f(subClass, superClass) {
110699
110706
  }
110700
110707
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
110701
110708
  if (superClass)
110702
- _setPrototypeOf$h(subClass, superClass);
110709
+ _setPrototypeOf$g(subClass, superClass);
110703
110710
  }
110704
- function _setPrototypeOf$h(o2, p) {
110705
- _setPrototypeOf$h = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110711
+ function _setPrototypeOf$g(o2, p) {
110712
+ _setPrototypeOf$g = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110706
110713
  o3.__proto__ = p2;
110707
110714
  return o3;
110708
110715
  };
110709
- return _setPrototypeOf$h(o2, p);
110716
+ return _setPrototypeOf$g(o2, p);
110710
110717
  }
110711
110718
  var TwoClickPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
110712
110719
  _inherits$f(TwoClickPolygonMode2, _GeoJsonEditMode);
@@ -110879,9 +110886,9 @@ function _possibleConstructorReturn$e(self2, call) {
110879
110886
  if (call && (_typeof$g(call) === "object" || typeof call === "function")) {
110880
110887
  return call;
110881
110888
  }
110882
- return _assertThisInitialized$g(self2);
110889
+ return _assertThisInitialized$f(self2);
110883
110890
  }
110884
- function _assertThisInitialized$g(self2) {
110891
+ function _assertThisInitialized$f(self2) {
110885
110892
  if (self2 === void 0) {
110886
110893
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
110887
110894
  }
@@ -110914,14 +110921,14 @@ function _inherits$e(subClass, superClass) {
110914
110921
  }
110915
110922
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
110916
110923
  if (superClass)
110917
- _setPrototypeOf$g(subClass, superClass);
110924
+ _setPrototypeOf$f(subClass, superClass);
110918
110925
  }
110919
- function _setPrototypeOf$g(o2, p) {
110920
- _setPrototypeOf$g = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110926
+ function _setPrototypeOf$f(o2, p) {
110927
+ _setPrototypeOf$f = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
110921
110928
  o3.__proto__ = p2;
110922
110929
  return o3;
110923
110930
  };
110924
- return _setPrototypeOf$g(o2, p);
110931
+ return _setPrototypeOf$f(o2, p);
110925
110932
  }
110926
110933
  var DrawRectangleMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
110927
110934
  _inherits$e(DrawRectangleMode2, _TwoClickPolygonMode);
@@ -111042,9 +111049,9 @@ function _possibleConstructorReturn$d(self2, call) {
111042
111049
  if (call && (_typeof$f(call) === "object" || typeof call === "function")) {
111043
111050
  return call;
111044
111051
  }
111045
- return _assertThisInitialized$f(self2);
111052
+ return _assertThisInitialized$e(self2);
111046
111053
  }
111047
- function _assertThisInitialized$f(self2) {
111054
+ function _assertThisInitialized$e(self2) {
111048
111055
  if (self2 === void 0) {
111049
111056
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
111050
111057
  }
@@ -111077,14 +111084,14 @@ function _inherits$d(subClass, superClass) {
111077
111084
  }
111078
111085
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
111079
111086
  if (superClass)
111080
- _setPrototypeOf$f(subClass, superClass);
111087
+ _setPrototypeOf$e(subClass, superClass);
111081
111088
  }
111082
- function _setPrototypeOf$f(o2, p) {
111083
- _setPrototypeOf$f = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111089
+ function _setPrototypeOf$e(o2, p) {
111090
+ _setPrototypeOf$e = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111084
111091
  o3.__proto__ = p2;
111085
111092
  return o3;
111086
111093
  };
111087
- return _setPrototypeOf$f(o2, p);
111094
+ return _setPrototypeOf$e(o2, p);
111088
111095
  }
111089
111096
  var DrawSquareFromCenterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
111090
111097
  _inherits$d(DrawSquareFromCenterMode2, _TwoClickPolygonMode);
@@ -111179,9 +111186,9 @@ function _possibleConstructorReturn$c(self2, call) {
111179
111186
  if (call && (_typeof$e(call) === "object" || typeof call === "function")) {
111180
111187
  return call;
111181
111188
  }
111182
- return _assertThisInitialized$e(self2);
111189
+ return _assertThisInitialized$d(self2);
111183
111190
  }
111184
- function _assertThisInitialized$e(self2) {
111191
+ function _assertThisInitialized$d(self2) {
111185
111192
  if (self2 === void 0) {
111186
111193
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
111187
111194
  }
@@ -111214,14 +111221,14 @@ function _inherits$c(subClass, superClass) {
111214
111221
  }
111215
111222
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
111216
111223
  if (superClass)
111217
- _setPrototypeOf$e(subClass, superClass);
111224
+ _setPrototypeOf$d(subClass, superClass);
111218
111225
  }
111219
- function _setPrototypeOf$e(o2, p) {
111220
- _setPrototypeOf$e = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111226
+ function _setPrototypeOf$d(o2, p) {
111227
+ _setPrototypeOf$d = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111221
111228
  o3.__proto__ = p2;
111222
111229
  return o3;
111223
111230
  };
111224
- return _setPrototypeOf$e(o2, p);
111231
+ return _setPrototypeOf$d(o2, p);
111225
111232
  }
111226
111233
  var DrawCircleByDiameterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
111227
111234
  _inherits$c(DrawCircleByDiameterMode2, _TwoClickPolygonMode);
@@ -111314,9 +111321,9 @@ function _possibleConstructorReturn$b(self2, call) {
111314
111321
  if (call && (_typeof$d(call) === "object" || typeof call === "function")) {
111315
111322
  return call;
111316
111323
  }
111317
- return _assertThisInitialized$d(self2);
111324
+ return _assertThisInitialized$c(self2);
111318
111325
  }
111319
- function _assertThisInitialized$d(self2) {
111326
+ function _assertThisInitialized$c(self2) {
111320
111327
  if (self2 === void 0) {
111321
111328
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
111322
111329
  }
@@ -111349,14 +111356,14 @@ function _inherits$b(subClass, superClass) {
111349
111356
  }
111350
111357
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
111351
111358
  if (superClass)
111352
- _setPrototypeOf$d(subClass, superClass);
111359
+ _setPrototypeOf$c(subClass, superClass);
111353
111360
  }
111354
- function _setPrototypeOf$d(o2, p) {
111355
- _setPrototypeOf$d = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111361
+ function _setPrototypeOf$c(o2, p) {
111362
+ _setPrototypeOf$c = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111356
111363
  o3.__proto__ = p2;
111357
111364
  return o3;
111358
111365
  };
111359
- return _setPrototypeOf$d(o2, p);
111366
+ return _setPrototypeOf$c(o2, p);
111360
111367
  }
111361
111368
  var DrawCircleFromCenterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
111362
111369
  _inherits$b(DrawCircleFromCenterMode2, _TwoClickPolygonMode);
@@ -111526,9 +111533,9 @@ function _possibleConstructorReturn$a(self2, call) {
111526
111533
  if (call && (_typeof$c(call) === "object" || typeof call === "function")) {
111527
111534
  return call;
111528
111535
  }
111529
- return _assertThisInitialized$c(self2);
111536
+ return _assertThisInitialized$b(self2);
111530
111537
  }
111531
- function _assertThisInitialized$c(self2) {
111538
+ function _assertThisInitialized$b(self2) {
111532
111539
  if (self2 === void 0) {
111533
111540
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
111534
111541
  }
@@ -111561,14 +111568,14 @@ function _inherits$a(subClass, superClass) {
111561
111568
  }
111562
111569
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
111563
111570
  if (superClass)
111564
- _setPrototypeOf$c(subClass, superClass);
111571
+ _setPrototypeOf$b(subClass, superClass);
111565
111572
  }
111566
- function _setPrototypeOf$c(o2, p) {
111567
- _setPrototypeOf$c = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111573
+ function _setPrototypeOf$b(o2, p) {
111574
+ _setPrototypeOf$b = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111568
111575
  o3.__proto__ = p2;
111569
111576
  return o3;
111570
111577
  };
111571
- return _setPrototypeOf$c(o2, p);
111578
+ return _setPrototypeOf$b(o2, p);
111572
111579
  }
111573
111580
  var DrawEllipseByBoundingBoxMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
111574
111581
  _inherits$a(DrawEllipseByBoundingBoxMode2, _TwoClickPolygonMode);
@@ -111677,9 +111684,9 @@ function _possibleConstructorReturn$9(self2, call) {
111677
111684
  if (call && (_typeof$b(call) === "object" || typeof call === "function")) {
111678
111685
  return call;
111679
111686
  }
111680
- return _assertThisInitialized$b(self2);
111687
+ return _assertThisInitialized$a(self2);
111681
111688
  }
111682
- function _assertThisInitialized$b(self2) {
111689
+ function _assertThisInitialized$a(self2) {
111683
111690
  if (self2 === void 0) {
111684
111691
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
111685
111692
  }
@@ -111712,14 +111719,14 @@ function _inherits$9(subClass, superClass) {
111712
111719
  }
111713
111720
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
111714
111721
  if (superClass)
111715
- _setPrototypeOf$b(subClass, superClass);
111722
+ _setPrototypeOf$a(subClass, superClass);
111716
111723
  }
111717
- function _setPrototypeOf$b(o2, p) {
111718
- _setPrototypeOf$b = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111724
+ function _setPrototypeOf$a(o2, p) {
111725
+ _setPrototypeOf$a = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111719
111726
  o3.__proto__ = p2;
111720
111727
  return o3;
111721
111728
  };
111722
- return _setPrototypeOf$b(o2, p);
111729
+ return _setPrototypeOf$a(o2, p);
111723
111730
  }
111724
111731
  var ThreeClickPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
111725
111732
  _inherits$9(ThreeClickPolygonMode2, _GeoJsonEditMode);
@@ -111871,9 +111878,9 @@ function _possibleConstructorReturn$8(self2, call) {
111871
111878
  if (call && (_typeof$a(call) === "object" || typeof call === "function")) {
111872
111879
  return call;
111873
111880
  }
111874
- return _assertThisInitialized$a(self2);
111881
+ return _assertThisInitialized$9(self2);
111875
111882
  }
111876
- function _assertThisInitialized$a(self2) {
111883
+ function _assertThisInitialized$9(self2) {
111877
111884
  if (self2 === void 0) {
111878
111885
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
111879
111886
  }
@@ -111906,14 +111913,14 @@ function _inherits$8(subClass, superClass) {
111906
111913
  }
111907
111914
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
111908
111915
  if (superClass)
111909
- _setPrototypeOf$a(subClass, superClass);
111916
+ _setPrototypeOf$9(subClass, superClass);
111910
111917
  }
111911
- function _setPrototypeOf$a(o2, p) {
111912
- _setPrototypeOf$a = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111918
+ function _setPrototypeOf$9(o2, p) {
111919
+ _setPrototypeOf$9 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
111913
111920
  o3.__proto__ = p2;
111914
111921
  return o3;
111915
111922
  };
111916
- return _setPrototypeOf$a(o2, p);
111923
+ return _setPrototypeOf$9(o2, p);
111917
111924
  }
111918
111925
  var DrawEllipseUsingThreePointsMode = /* @__PURE__ */ function(_ThreeClickPolygonMod) {
111919
111926
  _inherits$8(DrawEllipseUsingThreePointsMode2, _ThreeClickPolygonMod);
@@ -112053,9 +112060,9 @@ function _possibleConstructorReturn$7(self2, call) {
112053
112060
  if (call && (_typeof$9(call) === "object" || typeof call === "function")) {
112054
112061
  return call;
112055
112062
  }
112056
- return _assertThisInitialized$9(self2);
112063
+ return _assertThisInitialized$8(self2);
112057
112064
  }
112058
- function _assertThisInitialized$9(self2) {
112065
+ function _assertThisInitialized$8(self2) {
112059
112066
  if (self2 === void 0) {
112060
112067
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
112061
112068
  }
@@ -112088,14 +112095,14 @@ function _inherits$7(subClass, superClass) {
112088
112095
  }
112089
112096
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
112090
112097
  if (superClass)
112091
- _setPrototypeOf$9(subClass, superClass);
112098
+ _setPrototypeOf$8(subClass, superClass);
112092
112099
  }
112093
- function _setPrototypeOf$9(o2, p) {
112094
- _setPrototypeOf$9 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
112100
+ function _setPrototypeOf$8(o2, p) {
112101
+ _setPrototypeOf$8 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
112095
112102
  o3.__proto__ = p2;
112096
112103
  return o3;
112097
112104
  };
112098
- return _setPrototypeOf$9(o2, p);
112105
+ return _setPrototypeOf$8(o2, p);
112099
112106
  }
112100
112107
  var DrawRectangleUsingThreePointsMode = /* @__PURE__ */ function(_ThreeClickPolygonMod) {
112101
112108
  _inherits$7(DrawRectangleUsingThreePointsMode2, _ThreeClickPolygonMod);
@@ -112295,9 +112302,9 @@ function _possibleConstructorReturn$6(self2, call) {
112295
112302
  if (call && (_typeof$8(call) === "object" || typeof call === "function")) {
112296
112303
  return call;
112297
112304
  }
112298
- return _assertThisInitialized$8(self2);
112305
+ return _assertThisInitialized$7(self2);
112299
112306
  }
112300
- function _assertThisInitialized$8(self2) {
112307
+ function _assertThisInitialized$7(self2) {
112301
112308
  if (self2 === void 0) {
112302
112309
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
112303
112310
  }
@@ -112330,14 +112337,14 @@ function _inherits$6(subClass, superClass) {
112330
112337
  }
112331
112338
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
112332
112339
  if (superClass)
112333
- _setPrototypeOf$8(subClass, superClass);
112340
+ _setPrototypeOf$7(subClass, superClass);
112334
112341
  }
112335
- function _setPrototypeOf$8(o2, p) {
112336
- _setPrototypeOf$8 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
112342
+ function _setPrototypeOf$7(o2, p) {
112343
+ _setPrototypeOf$7 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
112337
112344
  o3.__proto__ = p2;
112338
112345
  return o3;
112339
112346
  };
112340
- return _setPrototypeOf$8(o2, p);
112347
+ return _setPrototypeOf$7(o2, p);
112341
112348
  }
112342
112349
  var Draw90DegreePolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
112343
112350
  _inherits$6(Draw90DegreePolygonMode2, _GeoJsonEditMode);
@@ -112745,9 +112752,9 @@ function _possibleConstructorReturn$5(self2, call) {
112745
112752
  if (call && (_typeof$7(call) === "object" || typeof call === "function")) {
112746
112753
  return call;
112747
112754
  }
112748
- return _assertThisInitialized$7(self2);
112755
+ return _assertThisInitialized$6(self2);
112749
112756
  }
112750
- function _assertThisInitialized$7(self2) {
112757
+ function _assertThisInitialized$6(self2) {
112751
112758
  if (self2 === void 0) {
112752
112759
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
112753
112760
  }
@@ -112780,14 +112787,14 @@ function _inherits$5(subClass, superClass) {
112780
112787
  }
112781
112788
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
112782
112789
  if (superClass)
112783
- _setPrototypeOf$7(subClass, superClass);
112790
+ _setPrototypeOf$6(subClass, superClass);
112784
112791
  }
112785
- function _setPrototypeOf$7(o2, p) {
112786
- _setPrototypeOf$7 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
112792
+ function _setPrototypeOf$6(o2, p) {
112793
+ _setPrototypeOf$6 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
112787
112794
  o3.__proto__ = p2;
112788
112795
  return o3;
112789
112796
  };
112790
- return _setPrototypeOf$7(o2, p);
112797
+ return _setPrototypeOf$6(o2, p);
112791
112798
  }
112792
112799
  function _defineProperty$4(obj, key, value) {
112793
112800
  if (key in obj) {
@@ -112807,7 +112814,7 @@ var DrawPolygonByDraggingMode = /* @__PURE__ */ function(_DrawPolygonMode) {
112807
112814
  args[_key] = arguments[_key];
112808
112815
  }
112809
112816
  _this = _super.call.apply(_super, [this].concat(args));
112810
- _defineProperty$4(_assertThisInitialized$7(_this), "handleDraggingThrottled", null);
112817
+ _defineProperty$4(_assertThisInitialized$6(_this), "handleDraggingThrottled", null);
112811
112818
  return _this;
112812
112819
  }
112813
112820
  _createClass$5(DrawPolygonByDraggingMode2, [{
@@ -112904,9 +112911,9 @@ function _possibleConstructorReturn$4(self2, call) {
112904
112911
  if (call && (_typeof$6(call) === "object" || typeof call === "function")) {
112905
112912
  return call;
112906
112913
  }
112907
- return _assertThisInitialized$6(self2);
112914
+ return _assertThisInitialized$5(self2);
112908
112915
  }
112909
- function _assertThisInitialized$6(self2) {
112916
+ function _assertThisInitialized$5(self2) {
112910
112917
  if (self2 === void 0) {
112911
112918
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
112912
112919
  }
@@ -112939,14 +112946,14 @@ function _inherits$4(subClass, superClass) {
112939
112946
  }
112940
112947
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
112941
112948
  if (superClass)
112942
- _setPrototypeOf$6(subClass, superClass);
112949
+ _setPrototypeOf$5(subClass, superClass);
112943
112950
  }
112944
- function _setPrototypeOf$6(o2, p) {
112945
- _setPrototypeOf$6 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
112951
+ function _setPrototypeOf$5(o2, p) {
112952
+ _setPrototypeOf$5 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
112946
112953
  o3.__proto__ = p2;
112947
112954
  return o3;
112948
112955
  };
112949
- return _setPrototypeOf$6(o2, p);
112956
+ return _setPrototypeOf$5(o2, p);
112950
112957
  }
112951
112958
  var ViewMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
112952
112959
  _inherits$4(ViewMode2, _GeoJsonEditMode);
@@ -113055,9 +113062,9 @@ function _possibleConstructorReturn$3(self2, call) {
113055
113062
  if (call && (_typeof$5(call) === "object" || typeof call === "function")) {
113056
113063
  return call;
113057
113064
  }
113058
- return _assertThisInitialized$5(self2);
113065
+ return _assertThisInitialized$4(self2);
113059
113066
  }
113060
- function _assertThisInitialized$5(self2) {
113067
+ function _assertThisInitialized$4(self2) {
113061
113068
  if (self2 === void 0) {
113062
113069
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
113063
113070
  }
@@ -113090,14 +113097,14 @@ function _inherits$3(subClass, superClass) {
113090
113097
  }
113091
113098
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
113092
113099
  if (superClass)
113093
- _setPrototypeOf$5(subClass, superClass);
113100
+ _setPrototypeOf$4(subClass, superClass);
113094
113101
  }
113095
- function _setPrototypeOf$5(o2, p) {
113096
- _setPrototypeOf$5 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
113102
+ function _setPrototypeOf$4(o2, p) {
113103
+ _setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
113097
113104
  o3.__proto__ = p2;
113098
113105
  return o3;
113099
113106
  };
113100
- return _setPrototypeOf$5(o2, p);
113107
+ return _setPrototypeOf$4(o2, p);
113101
113108
  }
113102
113109
  function _defineProperty$3(obj, key, value) {
113103
113110
  if (key in obj) {
@@ -113117,10 +113124,10 @@ var MeasureDistanceMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
113117
113124
  args[_key] = arguments[_key];
113118
113125
  }
113119
113126
  _this = _super.call.apply(_super, [this].concat(args));
113120
- _defineProperty$3(_assertThisInitialized$5(_this), "_isMeasuringSessionFinished", false);
113121
- _defineProperty$3(_assertThisInitialized$5(_this), "_currentTooltips", []);
113122
- _defineProperty$3(_assertThisInitialized$5(_this), "_currentDistance", 0);
113123
- _defineProperty$3(_assertThisInitialized$5(_this), "_calculateDistanceForTooltip", function(_ref) {
113127
+ _defineProperty$3(_assertThisInitialized$4(_this), "_isMeasuringSessionFinished", false);
113128
+ _defineProperty$3(_assertThisInitialized$4(_this), "_currentTooltips", []);
113129
+ _defineProperty$3(_assertThisInitialized$4(_this), "_currentDistance", 0);
113130
+ _defineProperty$3(_assertThisInitialized$4(_this), "_calculateDistanceForTooltip", function(_ref) {
113124
113131
  var positionA = _ref.positionA, positionB = _ref.positionB, modeConfig = _ref.modeConfig;
113125
113132
  var _ref2 = modeConfig || {}, turfOptions = _ref2.turfOptions, measurementCallback = _ref2.measurementCallback;
113126
113133
  var distance2 = (0, _distance["default"])(positionA, positionB, turfOptions);
@@ -113477,9 +113484,9 @@ function _possibleConstructorReturn$2(self2, call) {
113477
113484
  if (call && (_typeof$4(call) === "object" || typeof call === "function")) {
113478
113485
  return call;
113479
113486
  }
113480
- return _assertThisInitialized$4(self2);
113487
+ return _assertThisInitialized$3(self2);
113481
113488
  }
113482
- function _assertThisInitialized$4(self2) {
113489
+ function _assertThisInitialized$3(self2) {
113483
113490
  if (self2 === void 0) {
113484
113491
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
113485
113492
  }
@@ -113512,14 +113519,14 @@ function _inherits$2(subClass, superClass) {
113512
113519
  }
113513
113520
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
113514
113521
  if (superClass)
113515
- _setPrototypeOf$4(subClass, superClass);
113522
+ _setPrototypeOf$3(subClass, superClass);
113516
113523
  }
113517
- function _setPrototypeOf$4(o2, p) {
113518
- _setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
113524
+ function _setPrototypeOf$3(o2, p) {
113525
+ _setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
113519
113526
  o3.__proto__ = p2;
113520
113527
  return o3;
113521
113528
  };
113522
- return _setPrototypeOf$4(o2, p);
113529
+ return _setPrototypeOf$3(o2, p);
113523
113530
  }
113524
113531
  var DEFAULT_TOOLTIPS$1 = [];
113525
113532
  var MeasureAreaMode = /* @__PURE__ */ function(_DrawPolygonMode) {
@@ -113706,9 +113713,9 @@ function _possibleConstructorReturn$1(self2, call) {
113706
113713
  if (call && (_typeof$3(call) === "object" || typeof call === "function")) {
113707
113714
  return call;
113708
113715
  }
113709
- return _assertThisInitialized$3(self2);
113716
+ return _assertThisInitialized$2(self2);
113710
113717
  }
113711
- function _assertThisInitialized$3(self2) {
113718
+ function _assertThisInitialized$2(self2) {
113712
113719
  if (self2 === void 0) {
113713
113720
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
113714
113721
  }
@@ -113741,14 +113748,14 @@ function _inherits$1(subClass, superClass) {
113741
113748
  }
113742
113749
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
113743
113750
  if (superClass)
113744
- _setPrototypeOf$3(subClass, superClass);
113751
+ _setPrototypeOf$2(subClass, superClass);
113745
113752
  }
113746
- function _setPrototypeOf$3(o2, p) {
113747
- _setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
113753
+ function _setPrototypeOf$2(o2, p) {
113754
+ _setPrototypeOf$2 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
113748
113755
  o3.__proto__ = p2;
113749
113756
  return o3;
113750
113757
  };
113751
- return _setPrototypeOf$3(o2, p);
113758
+ return _setPrototypeOf$2(o2, p);
113752
113759
  }
113753
113760
  function _defineProperty$1(obj, key, value) {
113754
113761
  if (key in obj) {
@@ -113769,7 +113776,7 @@ var MeasureAngleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
113769
113776
  args[_key] = arguments[_key];
113770
113777
  }
113771
113778
  _this = _super.call.apply(_super, [this].concat(args));
113772
- _defineProperty$1(_assertThisInitialized$3(_this), "_getTooltips", (0, _memoize["default"])(function(_ref) {
113779
+ _defineProperty$1(_assertThisInitialized$2(_this), "_getTooltips", (0, _memoize["default"])(function(_ref) {
113773
113780
  var modeConfig = _ref.modeConfig, vertex = _ref.vertex, point1 = _ref.point1, point2 = _ref.point2;
113774
113781
  var tooltips = DEFAULT_TOOLTIPS;
113775
113782
  if (vertex && point1 && point2) {
@@ -114043,9 +114050,9 @@ function _possibleConstructorReturn(self2, call) {
114043
114050
  if (call && (_typeof$2(call) === "object" || typeof call === "function")) {
114044
114051
  return call;
114045
114052
  }
114046
- return _assertThisInitialized$2(self2);
114053
+ return _assertThisInitialized$1(self2);
114047
114054
  }
114048
- function _assertThisInitialized$2(self2) {
114055
+ function _assertThisInitialized$1(self2) {
114049
114056
  if (self2 === void 0) {
114050
114057
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
114051
114058
  }
@@ -114078,14 +114085,14 @@ function _inherits(subClass, superClass) {
114078
114085
  }
114079
114086
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
114080
114087
  if (superClass)
114081
- _setPrototypeOf$2(subClass, superClass);
114088
+ _setPrototypeOf$1(subClass, superClass);
114082
114089
  }
114083
- function _setPrototypeOf$2(o2, p) {
114084
- _setPrototypeOf$2 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
114090
+ function _setPrototypeOf$1(o2, p) {
114091
+ _setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
114085
114092
  o3.__proto__ = p2;
114086
114093
  return o3;
114087
114094
  };
114088
- return _setPrototypeOf$2(o2, p);
114095
+ return _setPrototypeOf$1(o2, p);
114089
114096
  }
114090
114097
  function _defineProperty(obj, key, value) {
114091
114098
  if (key in obj) {
@@ -114102,7 +114109,7 @@ var SnappableMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
114102
114109
  var _this;
114103
114110
  _classCallCheck(this, SnappableMode2);
114104
114111
  _this = _super.call(this);
114105
- _defineProperty(_assertThisInitialized$2(_this), "_handler", void 0);
114112
+ _defineProperty(_assertThisInitialized$1(_this), "_handler", void 0);
114106
114113
  _this._handler = handler;
114107
114114
  return _this;
114108
114115
  }
@@ -120204,7 +120211,8 @@ const AXIS_TITLE_TEXT_SIZE = 15;
120204
120211
  const AXIS_MARGIN = 3;
120205
120212
  const THEME_TO_TEXT_COLOR = {
120206
120213
  dark: [224, 224, 224],
120207
- light: [64, 64, 64]
120214
+ light: [64, 64, 64],
120215
+ light2: [64, 64, 64]
120208
120216
  };
120209
120217
  const AXIS_FONT_FAMILY = "-apple-system, 'Helvetica Neue', Arial, sans-serif";
120210
120218
  const PIXELATED_TEXTURE_PARAMETERS = {
@@ -121308,16 +121316,16 @@ function addDecoder(cases, importFn) {
121308
121316
  }
121309
121317
  cases.forEach((c2) => registry$1.set(c2, importFn));
121310
121318
  }
121311
- addDecoder([void 0, 1], () => import("./raw-0ba1df6f.js").then((m2) => m2.default));
121312
- addDecoder(5, () => import("./lzw-8fbaef0b.js").then((m2) => m2.default));
121319
+ addDecoder([void 0, 1], () => import("./raw-0c07377d.js").then((m2) => m2.default));
121320
+ addDecoder(5, () => import("./lzw-c9ffecd4.js").then((m2) => m2.default));
121313
121321
  addDecoder(6, () => {
121314
121322
  throw new Error("old style JPEG compression is not supported.");
121315
121323
  });
121316
- addDecoder(7, () => import("./jpeg-23fd3e2a.js").then((m2) => m2.default));
121317
- addDecoder([8, 32946], () => import("./deflate-4ede6d09.js").then((m2) => m2.default));
121318
- addDecoder(32773, () => import("./packbits-6ba8ace5.js").then((m2) => m2.default));
121319
- addDecoder(34887, () => import("./lerc-ce46904c.js").then((m2) => m2.default));
121320
- addDecoder(50001, () => import("./webimage-70045d38.js").then((m2) => m2.default));
121324
+ addDecoder(7, () => import("./jpeg-be45146d.js").then((m2) => m2.default));
121325
+ addDecoder([8, 32946], () => import("./deflate-ace56a0e.js").then((m2) => m2.default));
121326
+ addDecoder(32773, () => import("./packbits-53dbd890.js").then((m2) => m2.default));
121327
+ addDecoder(34887, () => import("./lerc-9cd3178c.js").then((m2) => m2.default));
121328
+ addDecoder(50001, () => import("./webimage-d32ef5d0.js").then((m2) => m2.default));
121321
121329
  function decodeRowAcc(row, stride) {
121322
121330
  let length2 = row.length - stride;
121323
121331
  let offset5 = 0;
@@ -132559,7 +132567,7 @@ class BitmaskLayer2 extends XRLayer {
132559
132567
  } = this.state;
132560
132568
  if (textures && model) {
132561
132569
  const scaleFactor = 1 / 2 ** (maxZoom - zoom);
132562
- const colors = fromEntries(range$5(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
132570
+ const colors = Object.fromEntries(range$5(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
132563
132571
  model.setUniforms(Object.assign({}, uniforms, {
132564
132572
  ...colors,
132565
132573
  // Bitmask image channel data textures
@@ -134810,19 +134818,19 @@ function _createClass(Constructor, protoProps, staticProps) {
134810
134818
  });
134811
134819
  return Constructor;
134812
134820
  }
134813
- function _setPrototypeOf$1(o2, p) {
134814
- _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
134821
+ function _setPrototypeOf(o2, p) {
134822
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
134815
134823
  o3.__proto__ = p2;
134816
134824
  return o3;
134817
134825
  };
134818
- return _setPrototypeOf$1(o2, p);
134826
+ return _setPrototypeOf(o2, p);
134819
134827
  }
134820
- function _inheritsLoose$1(subClass, superClass) {
134828
+ function _inheritsLoose(subClass, superClass) {
134821
134829
  subClass.prototype = Object.create(superClass.prototype);
134822
134830
  subClass.prototype.constructor = subClass;
134823
- _setPrototypeOf$1(subClass, superClass);
134831
+ _setPrototypeOf(subClass, superClass);
134824
134832
  }
134825
- function _assertThisInitialized$1(self2) {
134833
+ function _assertThisInitialized(self2) {
134826
134834
  if (self2 === void 0) {
134827
134835
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
134828
134836
  }
@@ -135029,7 +135037,7 @@ var BaseStyleRule = /* @__PURE__ */ function() {
135029
135037
  return BaseStyleRule2;
135030
135038
  }();
135031
135039
  var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
135032
- _inheritsLoose$1(StyleRule2, _BaseStyleRule);
135040
+ _inheritsLoose(StyleRule2, _BaseStyleRule);
135033
135041
  function StyleRule2(key, style, options) {
135034
135042
  var _this;
135035
135043
  _this = _BaseStyleRule.call(this, key, style, options) || this;
@@ -135037,7 +135045,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
135037
135045
  if (selector2) {
135038
135046
  _this.selectorText = selector2;
135039
135047
  } else if (scoped !== false) {
135040
- _this.id = generateId(_assertThisInitialized$1(_assertThisInitialized$1(_this)), sheet);
135048
+ _this.id = generateId(_assertThisInitialized(_assertThisInitialized(_this)), sheet);
135041
135049
  _this.selectorText = "." + escape(_this.id);
135042
135050
  }
135043
135051
  return _this;
@@ -135267,7 +135275,7 @@ var pluginKeyframesRule = {
135267
135275
  }
135268
135276
  };
135269
135277
  var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
135270
- _inheritsLoose$1(KeyframeRule2, _BaseStyleRule);
135278
+ _inheritsLoose(KeyframeRule2, _BaseStyleRule);
135271
135279
  function KeyframeRule2() {
135272
135280
  return _BaseStyleRule.apply(this, arguments) || this;
135273
135281
  }
@@ -138179,25 +138187,7 @@ function useIsFocusVisible() {
138179
138187
  ref
138180
138188
  };
138181
138189
  }
138182
- function _setPrototypeOf(o2, p) {
138183
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
138184
- o3.__proto__ = p2;
138185
- return o3;
138186
- };
138187
- return _setPrototypeOf(o2, p);
138188
- }
138189
- function _inheritsLoose(subClass, superClass) {
138190
- subClass.prototype = Object.create(superClass.prototype);
138191
- subClass.prototype.constructor = subClass;
138192
- _setPrototypeOf(subClass, superClass);
138193
- }
138194
138190
  const TransitionGroupContext = React__default.createContext(null);
138195
- function _assertThisInitialized(self2) {
138196
- if (self2 === void 0) {
138197
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
138198
- }
138199
- return self2;
138200
- }
138201
138191
  function getChildMapping(children2, mapFn) {
138202
138192
  var mapper = function mapper2(child) {
138203
138193
  return mapFn && isValidElement(child) ? mapFn(child) : child;
@@ -138346,7 +138336,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
138346
138336
  }
138347
138337
  if (this.mounted) {
138348
138338
  this.setState(function(state) {
138349
- var children2 = _extends$1({}, state.children);
138339
+ var children2 = _extends$2({}, state.children);
138350
138340
  delete children2[child.key];
138351
138341
  return {
138352
138342
  children: children2
@@ -138355,7 +138345,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
138355
138345
  }
138356
138346
  };
138357
138347
  _proto.render = function render() {
138358
- var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose$1(_this$props, ["component", "childFactory"]);
138348
+ var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
138359
138349
  var contextValue = this.state.contextValue;
138360
138350
  var children2 = values(this.state.children).map(childFactory2);
138361
138351
  delete props2.appear;
@@ -143256,10 +143246,13 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
143256
143246
  y: p.centroid[1],
143257
143247
  label: p.name
143258
143248
  }));
143259
- const collisionForce = this.cellSetsForceSimulation.size((d) => [
143260
- cellSetLabelSize * 1 / 2 ** zoom * 4 * d.label.length,
143261
- cellSetLabelSize * 1 / 2 ** zoom * 1.5
143262
- ]);
143249
+ const collisionForce = this.cellSetsForceSimulation.size((d) => {
143250
+ var _a2;
143251
+ return [
143252
+ cellSetLabelSize * 1 / 2 ** zoom * 4 * ((_a2 = d == null ? void 0 : d.label) == null ? void 0 : _a2.length),
143253
+ cellSetLabelSize * 1 / 2 ** zoom * 1.5
143254
+ ];
143255
+ });
143263
143256
  forceSimulation().nodes(nodes).force("collision", collisionForce).tick(NUM_FORCE_SIMULATION_TICKS);
143264
143257
  result.push(new TextLayer({
143265
143258
  id: "cell-sets-text-layer",