@nika-js/onlymap 0.11.5 → 0.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/{basemap-CnjAGLZo.js → basemap-BrQCDtfj.js} +2 -2
- package/dist/elements/om-map.d.ts +20 -1
- package/dist/elements/om-overlay.d.ts +8 -0
- package/dist/{geoparquet-CHtunmD2.js → geoparquet-BSQY5PIo.js} +1 -1
- package/dist/{globe-view-CgQa-07O.js → globe-view-CGXyelOy.js} +1 -1
- package/dist/{hillshade-BgXgVdjg.js → hillshade-BtfW1P2c.js} +1 -1
- package/dist/{index-D4x57ql0.js → index-Bl8RF_ZY.js} +1 -1
- package/dist/{index-NCXX8bDe.js → index-CNderrhB.js} +1 -1
- package/dist/{index-BTTCf4nb.js → index-CPoNS0ZN.js} +308 -271
- package/dist/{index-aOe9cOFs.js → index-Clg4OPrB.js} +1 -1
- package/dist/{index-DoNtp5Nh.js → index-CtsYIqaJ.js} +3 -3
- package/dist/{index-ClLMdW3k.js → index-CvLkkFyD.js} +2 -2
- package/dist/{index-DjtM8ecq.js → index-Df36FLVl.js} +1 -1
- package/dist/{index-k7l7kqTk.js → index-riq9qTYh.js} +3 -3
- package/dist/{index-BTsRqhXB.js → index-wHUqi1zW.js} +1 -1
- package/dist/{lerc-BtdiMDO7.js → lerc-B31CKJ6m.js} +1 -1
- package/dist/onlymap.standalone.js +759 -706
- package/dist/onlymapjs.js +1 -1
- package/dist/{post-process-effect-BWrq5IR8.js → post-process-effect-8OT9O84M.js} +1 -1
- package/dist/{raster-iGwPuAgo.js → raster-Dx2oylKT.js} +3 -3
- package/dist/{raster-pipeline-Dxs9TpD6.js → raster-pipeline-CPM9CeZ0.js} +1 -1
- package/dist/{text-on-path-C8h_3Snf.js → text-on-path-Bki2IUm0.js} +64 -48
- package/dist/text-on-path.d.ts +13 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-C1zXD9VD.js → zarr-CsY2lbLD.js} +2 -2
- package/docs/cartograph.md +2 -2
- package/docs/cartography.md +1 -0
- package/llms.txt +2 -1
- package/onlymapjs.attributes.json +1 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +3 -2
- package/skills/onlymapjs/references/syntax.md +5 -3
|
@@ -91,7 +91,7 @@ $h("maptiler-satellite", {
|
|
|
91
91
|
label: "MapTiler Satellite",
|
|
92
92
|
requiresKey: "maptiler"
|
|
93
93
|
});
|
|
94
|
-
function
|
|
94
|
+
function Br(e) {
|
|
95
95
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
96
96
|
}
|
|
97
97
|
const Sz = /* @__PURE__ */ new WeakSet();
|
|
@@ -2868,7 +2868,7 @@ var qs;
|
|
|
2868
2868
|
(function(e) {
|
|
2869
2869
|
e[e.YEAR_MONTH = 0] = "YEAR_MONTH", e[e.DAY_TIME = 1] = "DAY_TIME", e[e.MONTH_DAY_NANO = 2] = "MONTH_DAY_NANO";
|
|
2870
2870
|
})(qs || (qs = {}));
|
|
2871
|
-
const mU = 2, Rh = 4, JB = 4,
|
|
2871
|
+
const mU = 2, Rh = 4, JB = 4, Fr = 4, ku = new Int32Array(2), zz = new Float32Array(ku.buffer), jz = new Float64Array(ku.buffer), dF = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1;
|
|
2872
2872
|
var zP;
|
|
2873
2873
|
(function(e) {
|
|
2874
2874
|
e[e.UTF8_BYTES = 1] = "UTF8_BYTES", e[e.UTF16_STRING = 2] = "UTF16_STRING";
|
|
@@ -3330,7 +3330,7 @@ let jo = class bIA {
|
|
|
3330
3330
|
* Finalize a buffer, poiting to the given `root_table`.
|
|
3331
3331
|
*/
|
|
3332
3332
|
finish(A, t, i) {
|
|
3333
|
-
const r = i ?
|
|
3333
|
+
const r = i ? Fr : 0;
|
|
3334
3334
|
if (t) {
|
|
3335
3335
|
const s = t;
|
|
3336
3336
|
if (this.prep(this.minalign, Rh + JB + r), s.length != JB)
|
|
@@ -3461,7 +3461,7 @@ let eS = class ZQ {
|
|
|
3461
3461
|
return (t || new ZQ()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3462
3462
|
}
|
|
3463
3463
|
static getSizePrefixedRootAsBodyCompression(A, t) {
|
|
3464
|
-
return A.setPosition(A.position() +
|
|
3464
|
+
return A.setPosition(A.position() + Fr), (t || new ZQ()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3465
3465
|
}
|
|
3466
3466
|
/**
|
|
3467
3467
|
* Compressor library.
|
|
@@ -3562,7 +3562,7 @@ let eS = class ZQ {
|
|
|
3562
3562
|
return (t || new jP()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3563
3563
|
}
|
|
3564
3564
|
static getSizePrefixedRootAsRecordBatch(A, t) {
|
|
3565
|
-
return A.setPosition(A.position() +
|
|
3565
|
+
return A.setPosition(A.position() + Fr), (t || new jP()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3566
3566
|
}
|
|
3567
3567
|
/**
|
|
3568
3568
|
* number of records / rows. The arrays in the batch should all have this
|
|
@@ -3641,7 +3641,7 @@ let eS = class ZQ {
|
|
|
3641
3641
|
return (t || new ZP()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3642
3642
|
}
|
|
3643
3643
|
static getSizePrefixedRootAsDictionaryBatch(A, t) {
|
|
3644
|
-
return A.setPosition(A.position() +
|
|
3644
|
+
return A.setPosition(A.position() + Fr), (t || new ZP()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3645
3645
|
}
|
|
3646
3646
|
id() {
|
|
3647
3647
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -3695,7 +3695,7 @@ class mI {
|
|
|
3695
3695
|
return (t || new mI()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3696
3696
|
}
|
|
3697
3697
|
static getSizePrefixedRootAsInt(A, t) {
|
|
3698
|
-
return A.setPosition(A.position() +
|
|
3698
|
+
return A.setPosition(A.position() + Fr), (t || new mI()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3699
3699
|
}
|
|
3700
3700
|
bitWidth() {
|
|
3701
3701
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -3732,7 +3732,7 @@ class HB {
|
|
|
3732
3732
|
return (t || new HB()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3733
3733
|
}
|
|
3734
3734
|
static getSizePrefixedRootAsDictionaryEncoding(A, t) {
|
|
3735
|
-
return A.setPosition(A.position() +
|
|
3735
|
+
return A.setPosition(A.position() + Fr), (t || new HB()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3736
3736
|
}
|
|
3737
3737
|
/**
|
|
3738
3738
|
* The known dictionary id in the application where this data is used. In
|
|
@@ -3798,7 +3798,7 @@ class yo {
|
|
|
3798
3798
|
return (t || new yo()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3799
3799
|
}
|
|
3800
3800
|
static getSizePrefixedRootAsKeyValue(A, t) {
|
|
3801
|
-
return A.setPosition(A.position() +
|
|
3801
|
+
return A.setPosition(A.position() + Fr), (t || new yo()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3802
3802
|
}
|
|
3803
3803
|
key(A) {
|
|
3804
3804
|
const t = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -3835,7 +3835,7 @@ let Zz = class tS {
|
|
|
3835
3835
|
return (t || new tS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3836
3836
|
}
|
|
3837
3837
|
static getSizePrefixedRootAsBinary(A, t) {
|
|
3838
|
-
return A.setPosition(A.position() +
|
|
3838
|
+
return A.setPosition(A.position() + Fr), (t || new tS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3839
3839
|
}
|
|
3840
3840
|
static startBinary(A) {
|
|
3841
3841
|
A.startObject(0);
|
|
@@ -3857,7 +3857,7 @@ let Zz = class tS {
|
|
|
3857
3857
|
return (t || new iS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3858
3858
|
}
|
|
3859
3859
|
static getSizePrefixedRootAsBool(A, t) {
|
|
3860
|
-
return A.setPosition(A.position() +
|
|
3860
|
+
return A.setPosition(A.position() + Fr), (t || new iS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3861
3861
|
}
|
|
3862
3862
|
static startBool(A) {
|
|
3863
3863
|
A.startObject(0);
|
|
@@ -3879,7 +3879,7 @@ let Zz = class tS {
|
|
|
3879
3879
|
return (t || new Up()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3880
3880
|
}
|
|
3881
3881
|
static getSizePrefixedRootAsDate(A, t) {
|
|
3882
|
-
return A.setPosition(A.position() +
|
|
3882
|
+
return A.setPosition(A.position() + Fr), (t || new Up()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3883
3883
|
}
|
|
3884
3884
|
unit() {
|
|
3885
3885
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -3908,7 +3908,7 @@ let Zz = class tS {
|
|
|
3908
3908
|
return (t || new vu()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3909
3909
|
}
|
|
3910
3910
|
static getSizePrefixedRootAsDecimal(A, t) {
|
|
3911
|
-
return A.setPosition(A.position() +
|
|
3911
|
+
return A.setPosition(A.position() + Fr), (t || new vu()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3912
3912
|
}
|
|
3913
3913
|
/**
|
|
3914
3914
|
* Total number of decimal digits
|
|
@@ -3961,7 +3961,7 @@ let Zz = class tS {
|
|
|
3961
3961
|
return (t || new Pp()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3962
3962
|
}
|
|
3963
3963
|
static getSizePrefixedRootAsDuration(A, t) {
|
|
3964
|
-
return A.setPosition(A.position() +
|
|
3964
|
+
return A.setPosition(A.position() + Fr), (t || new Pp()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3965
3965
|
}
|
|
3966
3966
|
unit() {
|
|
3967
3967
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -3990,7 +3990,7 @@ let Zz = class tS {
|
|
|
3990
3990
|
return (t || new Jp()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3991
3991
|
}
|
|
3992
3992
|
static getSizePrefixedRootAsFixedSizeBinary(A, t) {
|
|
3993
|
-
return A.setPosition(A.position() +
|
|
3993
|
+
return A.setPosition(A.position() + Fr), (t || new Jp()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
3994
3994
|
}
|
|
3995
3995
|
/**
|
|
3996
3996
|
* Number of bytes per value
|
|
@@ -4022,7 +4022,7 @@ let Zz = class tS {
|
|
|
4022
4022
|
return (t || new Hp()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4023
4023
|
}
|
|
4024
4024
|
static getSizePrefixedRootAsFixedSizeList(A, t) {
|
|
4025
|
-
return A.setPosition(A.position() +
|
|
4025
|
+
return A.setPosition(A.position() + Fr), (t || new Hp()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4026
4026
|
}
|
|
4027
4027
|
/**
|
|
4028
4028
|
* Number of list items per value
|
|
@@ -4055,7 +4055,7 @@ class Fh {
|
|
|
4055
4055
|
return (t || new Fh()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4056
4056
|
}
|
|
4057
4057
|
static getSizePrefixedRootAsFloatingPoint(A, t) {
|
|
4058
|
-
return A.setPosition(A.position() +
|
|
4058
|
+
return A.setPosition(A.position() + Fr), (t || new Fh()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4059
4059
|
}
|
|
4060
4060
|
precision() {
|
|
4061
4061
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -4085,7 +4085,7 @@ class Nh {
|
|
|
4085
4085
|
return (t || new Nh()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4086
4086
|
}
|
|
4087
4087
|
static getSizePrefixedRootAsInterval(A, t) {
|
|
4088
|
-
return A.setPosition(A.position() +
|
|
4088
|
+
return A.setPosition(A.position() + Fr), (t || new Nh()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4089
4089
|
}
|
|
4090
4090
|
unit() {
|
|
4091
4091
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -4115,7 +4115,7 @@ let $z = class rS {
|
|
|
4115
4115
|
return (t || new rS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4116
4116
|
}
|
|
4117
4117
|
static getSizePrefixedRootAsLargeBinary(A, t) {
|
|
4118
|
-
return A.setPosition(A.position() +
|
|
4118
|
+
return A.setPosition(A.position() + Fr), (t || new rS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4119
4119
|
}
|
|
4120
4120
|
static startLargeBinary(A) {
|
|
4121
4121
|
A.startObject(0);
|
|
@@ -4137,7 +4137,7 @@ let $z = class rS {
|
|
|
4137
4137
|
return (t || new sS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4138
4138
|
}
|
|
4139
4139
|
static getSizePrefixedRootAsLargeUtf8(A, t) {
|
|
4140
|
-
return A.setPosition(A.position() +
|
|
4140
|
+
return A.setPosition(A.position() + Fr), (t || new sS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4141
4141
|
}
|
|
4142
4142
|
static startLargeUtf8(A) {
|
|
4143
4143
|
A.startObject(0);
|
|
@@ -4159,7 +4159,7 @@ let $z = class rS {
|
|
|
4159
4159
|
return (t || new nS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4160
4160
|
}
|
|
4161
4161
|
static getSizePrefixedRootAsList(A, t) {
|
|
4162
|
-
return A.setPosition(A.position() +
|
|
4162
|
+
return A.setPosition(A.position() + Fr), (t || new nS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4163
4163
|
}
|
|
4164
4164
|
static startList(A) {
|
|
4165
4165
|
A.startObject(0);
|
|
@@ -4181,7 +4181,7 @@ let $z = class rS {
|
|
|
4181
4181
|
return (t || new Yp()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4182
4182
|
}
|
|
4183
4183
|
static getSizePrefixedRootAsMap(A, t) {
|
|
4184
|
-
return A.setPosition(A.position() +
|
|
4184
|
+
return A.setPosition(A.position() + Fr), (t || new Yp()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4185
4185
|
}
|
|
4186
4186
|
/**
|
|
4187
4187
|
* Set to true if the keys within each value are sorted
|
|
@@ -4213,7 +4213,7 @@ let $z = class rS {
|
|
|
4213
4213
|
return (t || new oS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4214
4214
|
}
|
|
4215
4215
|
static getSizePrefixedRootAsNull(A, t) {
|
|
4216
|
-
return A.setPosition(A.position() +
|
|
4216
|
+
return A.setPosition(A.position() + Fr), (t || new oS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4217
4217
|
}
|
|
4218
4218
|
static startNull(A) {
|
|
4219
4219
|
A.startObject(0);
|
|
@@ -4236,7 +4236,7 @@ class hd {
|
|
|
4236
4236
|
return (t || new hd()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4237
4237
|
}
|
|
4238
4238
|
static getSizePrefixedRootAsStruct_(A, t) {
|
|
4239
|
-
return A.setPosition(A.position() +
|
|
4239
|
+
return A.setPosition(A.position() + Fr), (t || new hd()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4240
4240
|
}
|
|
4241
4241
|
static startStruct_(A) {
|
|
4242
4242
|
A.startObject(0);
|
|
@@ -4259,7 +4259,7 @@ class ec {
|
|
|
4259
4259
|
return (t || new ec()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4260
4260
|
}
|
|
4261
4261
|
static getSizePrefixedRootAsTime(A, t) {
|
|
4262
|
-
return A.setPosition(A.position() +
|
|
4262
|
+
return A.setPosition(A.position() + Fr), (t || new ec()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4263
4263
|
}
|
|
4264
4264
|
unit() {
|
|
4265
4265
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -4296,7 +4296,7 @@ class tc {
|
|
|
4296
4296
|
return (t || new tc()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4297
4297
|
}
|
|
4298
4298
|
static getSizePrefixedRootAsTimestamp(A, t) {
|
|
4299
|
-
return A.setPosition(A.position() +
|
|
4299
|
+
return A.setPosition(A.position() + Fr), (t || new tc()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4300
4300
|
}
|
|
4301
4301
|
unit() {
|
|
4302
4302
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -4333,7 +4333,7 @@ class Pg {
|
|
|
4333
4333
|
return (t || new Pg()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4334
4334
|
}
|
|
4335
4335
|
static getSizePrefixedRootAsUnion(A, t) {
|
|
4336
|
-
return A.setPosition(A.position() +
|
|
4336
|
+
return A.setPosition(A.position() + Fr), (t || new Pg()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4337
4337
|
}
|
|
4338
4338
|
mode() {
|
|
4339
4339
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -4387,7 +4387,7 @@ let ij = class aS {
|
|
|
4387
4387
|
return (t || new aS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4388
4388
|
}
|
|
4389
4389
|
static getSizePrefixedRootAsUtf8(A, t) {
|
|
4390
|
-
return A.setPosition(A.position() +
|
|
4390
|
+
return A.setPosition(A.position() + Fr), (t || new aS()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4391
4391
|
}
|
|
4392
4392
|
static startUtf8(A) {
|
|
4393
4393
|
A.startObject(0);
|
|
@@ -4414,7 +4414,7 @@ let WI = class RN {
|
|
|
4414
4414
|
return (t || new RN()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4415
4415
|
}
|
|
4416
4416
|
static getSizePrefixedRootAsField(A, t) {
|
|
4417
|
-
return A.setPosition(A.position() +
|
|
4417
|
+
return A.setPosition(A.position() + Fr), (t || new RN()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4418
4418
|
}
|
|
4419
4419
|
name(A) {
|
|
4420
4420
|
const t = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -4524,7 +4524,7 @@ let WI = class RN {
|
|
|
4524
4524
|
return (t || new LB()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4525
4525
|
}
|
|
4526
4526
|
static getSizePrefixedRootAsSchema(A, t) {
|
|
4527
|
-
return A.setPosition(A.position() +
|
|
4527
|
+
return A.setPosition(A.position() + Fr), (t || new LB()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
4528
4528
|
}
|
|
4529
4529
|
/**
|
|
4530
4530
|
* endianness of the buffer
|
|
@@ -6471,7 +6471,7 @@ const HxA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
6471
6471
|
setBool: JxA,
|
|
6472
6472
|
truncateBitmap: fb
|
|
6473
6473
|
}, Symbol.toStringTag, { value: "Module" })), YxA = -1;
|
|
6474
|
-
class
|
|
6474
|
+
class mr {
|
|
6475
6475
|
get typeId() {
|
|
6476
6476
|
return this.type.typeId;
|
|
6477
6477
|
}
|
|
@@ -6505,7 +6505,7 @@ class yr {
|
|
|
6505
6505
|
constructor(A, t, i, r, s, n = [], o) {
|
|
6506
6506
|
this.type = A, this.children = n, this.dictionary = o, this.offset = Math.floor(Math.max(t || 0, 0)), this.length = Math.floor(Math.max(i || 0, 0)), this._nullCount = Math.floor(Math.max(r || 0, -1));
|
|
6507
6507
|
let a;
|
|
6508
|
-
s instanceof
|
|
6508
|
+
s instanceof mr ? (this.stride = s.stride, this.values = s.values, this.typeIds = s.typeIds, this.nullBitmap = s.nullBitmap, this.valueOffsets = s.valueOffsets) : (this.stride = Sh(A), s && ((a = s[0]) && (this.valueOffsets = a), (a = s[1]) && (this.values = a), (a = s[2]) && (this.nullBitmap = a), (a = s[3]) && (this.typeIds = a)));
|
|
6509
6509
|
}
|
|
6510
6510
|
getValid(A) {
|
|
6511
6511
|
const { type: t } = this;
|
|
@@ -6535,7 +6535,7 @@ class yr {
|
|
|
6535
6535
|
return i !== !!t && (this._nullCount = this.nullCount + (t ? -1 : 1)), t;
|
|
6536
6536
|
}
|
|
6537
6537
|
clone(A = this.type, t = this.offset, i = this.length, r = this._nullCount, s = this, n = this.children) {
|
|
6538
|
-
return new
|
|
6538
|
+
return new mr(A, t, i, r, s, n, this.dictionary);
|
|
6539
6539
|
}
|
|
6540
6540
|
slice(A, t) {
|
|
6541
6541
|
const { stride: i, typeId: r, children: s } = this, n = +(this._nullCount === 0) - 1, o = r === 16 ? i : 1, a = this._sliceBuffers(A, t, i, r);
|
|
@@ -6567,97 +6567,97 @@ class yr {
|
|
|
6567
6567
|
return A.map((r) => r.slice(t, i));
|
|
6568
6568
|
}
|
|
6569
6569
|
}
|
|
6570
|
-
|
|
6570
|
+
mr.prototype.children = Object.freeze([]);
|
|
6571
6571
|
class xS extends zi {
|
|
6572
6572
|
visit(A) {
|
|
6573
6573
|
return this.getVisitFn(A.type).call(this, A);
|
|
6574
6574
|
}
|
|
6575
6575
|
visitNull(A) {
|
|
6576
6576
|
const { ["type"]: t, ["offset"]: i = 0, ["length"]: r = 0 } = A;
|
|
6577
|
-
return new
|
|
6577
|
+
return new mr(t, i, r, r);
|
|
6578
6578
|
}
|
|
6579
6579
|
visitBool(A) {
|
|
6580
6580
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length >> 3, ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6581
|
-
return new
|
|
6581
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6582
6582
|
}
|
|
6583
6583
|
visitInt(A) {
|
|
6584
6584
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length, ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6585
|
-
return new
|
|
6585
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6586
6586
|
}
|
|
6587
6587
|
visitFloat(A) {
|
|
6588
6588
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length, ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6589
|
-
return new
|
|
6589
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6590
6590
|
}
|
|
6591
6591
|
visitUtf8(A) {
|
|
6592
6592
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.data), s = nr(A.nullBitmap), n = kp(A.valueOffsets), { ["length"]: o = n.length - 1, ["nullCount"]: a = A.nullBitmap ? -1 : 0 } = A;
|
|
6593
|
-
return new
|
|
6593
|
+
return new mr(t, i, o, a, [n, r, s]);
|
|
6594
6594
|
}
|
|
6595
6595
|
visitLargeUtf8(A) {
|
|
6596
6596
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.data), s = nr(A.nullBitmap), n = WP(A.valueOffsets), { ["length"]: o = n.length - 1, ["nullCount"]: a = A.nullBitmap ? -1 : 0 } = A;
|
|
6597
|
-
return new
|
|
6597
|
+
return new mr(t, i, o, a, [n, r, s]);
|
|
6598
6598
|
}
|
|
6599
6599
|
visitBinary(A) {
|
|
6600
6600
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.data), s = nr(A.nullBitmap), n = kp(A.valueOffsets), { ["length"]: o = n.length - 1, ["nullCount"]: a = A.nullBitmap ? -1 : 0 } = A;
|
|
6601
|
-
return new
|
|
6601
|
+
return new mr(t, i, o, a, [n, r, s]);
|
|
6602
6602
|
}
|
|
6603
6603
|
visitLargeBinary(A) {
|
|
6604
6604
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.data), s = nr(A.nullBitmap), n = WP(A.valueOffsets), { ["length"]: o = n.length - 1, ["nullCount"]: a = A.nullBitmap ? -1 : 0 } = A;
|
|
6605
|
-
return new
|
|
6605
|
+
return new mr(t, i, o, a, [n, r, s]);
|
|
6606
6606
|
}
|
|
6607
6607
|
visitFixedSizeBinary(A) {
|
|
6608
6608
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length / Sh(t), ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6609
|
-
return new
|
|
6609
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6610
6610
|
}
|
|
6611
6611
|
visitDate(A) {
|
|
6612
6612
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length / Sh(t), ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6613
|
-
return new
|
|
6613
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6614
6614
|
}
|
|
6615
6615
|
visitTimestamp(A) {
|
|
6616
6616
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length / Sh(t), ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6617
|
-
return new
|
|
6617
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6618
6618
|
}
|
|
6619
6619
|
visitTime(A) {
|
|
6620
6620
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length / Sh(t), ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6621
|
-
return new
|
|
6621
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6622
6622
|
}
|
|
6623
6623
|
visitDecimal(A) {
|
|
6624
6624
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length / Sh(t), ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6625
|
-
return new
|
|
6625
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6626
6626
|
}
|
|
6627
6627
|
visitList(A) {
|
|
6628
6628
|
const { ["type"]: t, ["offset"]: i = 0, ["child"]: r } = A, s = nr(A.nullBitmap), n = kp(A.valueOffsets), { ["length"]: o = n.length - 1, ["nullCount"]: a = A.nullBitmap ? -1 : 0 } = A;
|
|
6629
|
-
return new
|
|
6629
|
+
return new mr(t, i, o, a, [n, void 0, s], [r]);
|
|
6630
6630
|
}
|
|
6631
6631
|
visitStruct(A) {
|
|
6632
6632
|
const { ["type"]: t, ["offset"]: i = 0, ["children"]: r = [] } = A, s = nr(A.nullBitmap), { length: n = r.reduce((a, { length: g }) => Math.max(a, g), 0), nullCount: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6633
|
-
return new
|
|
6633
|
+
return new mr(t, i, n, o, [void 0, void 0, s], r);
|
|
6634
6634
|
}
|
|
6635
6635
|
visitUnion(A) {
|
|
6636
6636
|
const { ["type"]: t, ["offset"]: i = 0, ["children"]: r = [] } = A, s = hr(t.ArrayType, A.typeIds), { ["length"]: n = s.length, ["nullCount"]: o = -1 } = A;
|
|
6637
6637
|
if (zt.isSparseUnion(t))
|
|
6638
|
-
return new
|
|
6638
|
+
return new mr(t, i, n, o, [void 0, void 0, void 0, s], r);
|
|
6639
6639
|
const a = kp(A.valueOffsets);
|
|
6640
|
-
return new
|
|
6640
|
+
return new mr(t, i, n, o, [a, void 0, void 0, s], r);
|
|
6641
6641
|
}
|
|
6642
6642
|
visitDictionary(A) {
|
|
6643
6643
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.indices.ArrayType, A.data), { ["dictionary"]: n = new Li([new xS().visit({ type: t.dictionary })]) } = A, { ["length"]: o = s.length, ["nullCount"]: a = A.nullBitmap ? -1 : 0 } = A;
|
|
6644
|
-
return new
|
|
6644
|
+
return new mr(t, i, o, a, [void 0, s, r], [], n);
|
|
6645
6645
|
}
|
|
6646
6646
|
visitInterval(A) {
|
|
6647
6647
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length / Sh(t), ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6648
|
-
return new
|
|
6648
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6649
6649
|
}
|
|
6650
6650
|
visitDuration(A) {
|
|
6651
6651
|
const { ["type"]: t, ["offset"]: i = 0 } = A, r = nr(A.nullBitmap), s = hr(t.ArrayType, A.data), { ["length"]: n = s.length, ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6652
|
-
return new
|
|
6652
|
+
return new mr(t, i, n, o, [void 0, s, r]);
|
|
6653
6653
|
}
|
|
6654
6654
|
visitFixedSizeList(A) {
|
|
6655
6655
|
const { ["type"]: t, ["offset"]: i = 0, ["child"]: r = new xS().visit({ type: t.valueType }) } = A, s = nr(A.nullBitmap), { ["length"]: n = r.length / Sh(t), ["nullCount"]: o = A.nullBitmap ? -1 : 0 } = A;
|
|
6656
|
-
return new
|
|
6656
|
+
return new mr(t, i, n, o, [void 0, void 0, s], [r]);
|
|
6657
6657
|
}
|
|
6658
6658
|
visitMap(A) {
|
|
6659
6659
|
const { ["type"]: t, ["offset"]: i = 0, ["child"]: r = new xS().visit({ type: t.childType }) } = A, s = nr(A.nullBitmap), n = kp(A.valueOffsets), { ["length"]: o = n.length - 1, ["nullCount"]: a = A.nullBitmap ? -1 : 0 } = A;
|
|
6660
|
-
return new
|
|
6660
|
+
return new mr(t, i, o, a, [n, void 0, s], [r]);
|
|
6661
6661
|
}
|
|
6662
6662
|
}
|
|
6663
6663
|
const KxA = new xS();
|
|
@@ -6942,7 +6942,7 @@ let Li = class XQ {
|
|
|
6942
6942
|
constructor(A) {
|
|
6943
6943
|
var t, i, r;
|
|
6944
6944
|
const s = A[0] instanceof XQ ? A.flatMap((o) => o.data) : A;
|
|
6945
|
-
if (s.length === 0 || s.some((o) => !(o instanceof
|
|
6945
|
+
if (s.length === 0 || s.some((o) => !(o instanceof mr)))
|
|
6946
6946
|
throw new TypeError("Vector constructor expects an Array of Data instances.");
|
|
6947
6947
|
const n = (t = s[0]) === null || t === void 0 ? void 0 : t.type;
|
|
6948
6948
|
switch (s.length) {
|
|
@@ -7200,7 +7200,7 @@ class UM extends Li {
|
|
|
7200
7200
|
}
|
|
7201
7201
|
function L2(e) {
|
|
7202
7202
|
if (e) {
|
|
7203
|
-
if (e instanceof
|
|
7203
|
+
if (e instanceof mr)
|
|
7204
7204
|
return new Li([e]);
|
|
7205
7205
|
if (e instanceof Li)
|
|
7206
7206
|
return new Li(e.data);
|
|
@@ -7237,7 +7237,7 @@ function L2(e) {
|
|
|
7237
7237
|
throw new Error("Unrecognized input");
|
|
7238
7238
|
}
|
|
7239
7239
|
function zxA(e) {
|
|
7240
|
-
return e instanceof
|
|
7240
|
+
return e instanceof mr ? [e] : e instanceof Li ? e.data : L2(e).data;
|
|
7241
7241
|
}
|
|
7242
7242
|
function jxA(e) {
|
|
7243
7243
|
if (!e || e.length <= 0)
|
|
@@ -7598,7 +7598,7 @@ class fI {
|
|
|
7598
7598
|
return (t || new fI()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
7599
7599
|
}
|
|
7600
7600
|
static getSizePrefixedRootAsFooter(A, t) {
|
|
7601
|
-
return A.setPosition(A.position() +
|
|
7601
|
+
return A.setPosition(A.position() + Fr), (t || new fI()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
7602
7602
|
}
|
|
7603
7603
|
version() {
|
|
7604
7604
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -7678,7 +7678,7 @@ class fI {
|
|
|
7678
7678
|
A.finish(t, void 0, !0);
|
|
7679
7679
|
}
|
|
7680
7680
|
}
|
|
7681
|
-
class
|
|
7681
|
+
class _r {
|
|
7682
7682
|
constructor(A = [], t, i, r = bn.V5) {
|
|
7683
7683
|
this.fields = A || [], this.metadata = t || /* @__PURE__ */ new Map(), i || (i = A8(this.fields)), this.dictionaries = i, this.metadataVersion = r;
|
|
7684
7684
|
}
|
|
@@ -7699,7 +7699,7 @@ class vr {
|
|
|
7699
7699
|
*/
|
|
7700
7700
|
select(A) {
|
|
7701
7701
|
const t = new Set(A), i = this.fields.filter((r) => t.has(r.name));
|
|
7702
|
-
return new
|
|
7702
|
+
return new _r(i, this.metadata);
|
|
7703
7703
|
}
|
|
7704
7704
|
/**
|
|
7705
7705
|
* Construct a new Schema containing only fields at the specified indices.
|
|
@@ -7709,26 +7709,26 @@ class vr {
|
|
|
7709
7709
|
*/
|
|
7710
7710
|
selectAt(A) {
|
|
7711
7711
|
const t = A.map((i) => this.fields[i]).filter(Boolean);
|
|
7712
|
-
return new
|
|
7712
|
+
return new _r(t, this.metadata);
|
|
7713
7713
|
}
|
|
7714
7714
|
assign(...A) {
|
|
7715
|
-
const t = A[0] instanceof
|
|
7715
|
+
const t = A[0] instanceof _r ? A[0] : Array.isArray(A[0]) ? new _r(A[0]) : new _r(A), i = [...this.fields], r = fF(fF(/* @__PURE__ */ new Map(), this.metadata), t.metadata), s = t.fields.filter((o) => {
|
|
7716
7716
|
const a = i.findIndex((g) => g.name === o.name);
|
|
7717
7717
|
return ~a ? (i[a] = o.clone({
|
|
7718
7718
|
metadata: fF(fF(/* @__PURE__ */ new Map(), i[a].metadata), o.metadata)
|
|
7719
7719
|
})) && !1 : !0;
|
|
7720
7720
|
}), n = A8(s, /* @__PURE__ */ new Map());
|
|
7721
|
-
return new
|
|
7721
|
+
return new _r([...i, ...s], r, new Map([...this.dictionaries, ...n]));
|
|
7722
7722
|
}
|
|
7723
7723
|
}
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
class
|
|
7724
|
+
_r.prototype.fields = null;
|
|
7725
|
+
_r.prototype.metadata = null;
|
|
7726
|
+
_r.prototype.dictionaries = null;
|
|
7727
|
+
class Rr {
|
|
7728
7728
|
/** @nocollapse */
|
|
7729
7729
|
static new(...A) {
|
|
7730
7730
|
let [t, i, r, s] = A;
|
|
7731
|
-
return A[0] && typeof A[0] == "object" && ({ name: t } = A[0], i === void 0 && (i = A[0].type), r === void 0 && (r = A[0].nullable), s === void 0 && (s = A[0].metadata)), new
|
|
7731
|
+
return A[0] && typeof A[0] == "object" && ({ name: t } = A[0], i === void 0 && (i = A[0].type), r === void 0 && (r = A[0].nullable), s === void 0 && (s = A[0].metadata)), new Rr(`${t}`, i, r, s);
|
|
7732
7732
|
}
|
|
7733
7733
|
constructor(A, t, i = !1, r) {
|
|
7734
7734
|
this.name = A, this.type = t, this.nullable = i, this.metadata = r || /* @__PURE__ */ new Map();
|
|
@@ -7744,13 +7744,13 @@ class br {
|
|
|
7744
7744
|
}
|
|
7745
7745
|
clone(...A) {
|
|
7746
7746
|
let [t, i, r, s] = A;
|
|
7747
|
-
return !A[0] || typeof A[0] != "object" ? [t = this.name, i = this.type, r = this.nullable, s = this.metadata] = A : { name: t = this.name, type: i = this.type, nullable: r = this.nullable, metadata: s = this.metadata } = A[0],
|
|
7747
|
+
return !A[0] || typeof A[0] != "object" ? [t = this.name, i = this.type, r = this.nullable, s = this.metadata] = A : { name: t = this.name, type: i = this.type, nullable: r = this.nullable, metadata: s = this.metadata } = A[0], Rr.new(t, i, r, s);
|
|
7748
7748
|
}
|
|
7749
7749
|
}
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7750
|
+
Rr.prototype.type = null;
|
|
7751
|
+
Rr.prototype.name = null;
|
|
7752
|
+
Rr.prototype.nullable = null;
|
|
7753
|
+
Rr.prototype.metadata = null;
|
|
7754
7754
|
function fF(e, A) {
|
|
7755
7755
|
return new Map([...e || /* @__PURE__ */ new Map(), ...A || /* @__PURE__ */ new Map()]);
|
|
7756
7756
|
}
|
|
@@ -7772,12 +7772,12 @@ class yb {
|
|
|
7772
7772
|
/** @nocollapse */
|
|
7773
7773
|
static decode(A) {
|
|
7774
7774
|
A = new $xA(nr(A));
|
|
7775
|
-
const t = fI.getRootAsFooter(A), i =
|
|
7775
|
+
const t = fI.getRootAsFooter(A), i = _r.decode(t.schema(), /* @__PURE__ */ new Map(), t.version());
|
|
7776
7776
|
return new AGA(i, t);
|
|
7777
7777
|
}
|
|
7778
7778
|
/** @nocollapse */
|
|
7779
7779
|
static encode(A) {
|
|
7780
|
-
const t = new XxA(), i =
|
|
7780
|
+
const t = new XxA(), i = _r.encode(t, A.schema);
|
|
7781
7781
|
fI.startRecordBatchesVector(t, A.numRecordBatches);
|
|
7782
7782
|
for (const n of [...A.recordBatches()].slice().reverse())
|
|
7783
7783
|
Kh.encode(t, n);
|
|
@@ -7864,7 +7864,7 @@ let du = class fh {
|
|
|
7864
7864
|
return (t || new fh()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
7865
7865
|
}
|
|
7866
7866
|
static getSizePrefixedRootAsMessage(A, t) {
|
|
7867
|
-
return A.setPosition(A.position() +
|
|
7867
|
+
return A.setPosition(A.position() + Fr), (t || new fh()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
7868
7868
|
}
|
|
7869
7869
|
version() {
|
|
7870
7870
|
const A = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -8004,7 +8004,7 @@ class eGA extends zi {
|
|
|
8004
8004
|
}
|
|
8005
8005
|
const SU = new eGA();
|
|
8006
8006
|
function tGA(e, A = /* @__PURE__ */ new Map()) {
|
|
8007
|
-
return new
|
|
8007
|
+
return new _r(rGA(e, A), NN(e.metadata), A);
|
|
8008
8008
|
}
|
|
8009
8009
|
function alA(e) {
|
|
8010
8010
|
return new ug(e.count, glA(e.columns), IlA(e.columns), null);
|
|
@@ -8013,10 +8013,10 @@ function iGA(e) {
|
|
|
8013
8013
|
return new Rl(alA(e.data), e.id, e.isDelta);
|
|
8014
8014
|
}
|
|
8015
8015
|
function rGA(e, A) {
|
|
8016
|
-
return (e.fields || []).filter(Boolean).map((t) =>
|
|
8016
|
+
return (e.fields || []).filter(Boolean).map((t) => Rr.fromJSON(t, A));
|
|
8017
8017
|
}
|
|
8018
8018
|
function Ij(e, A) {
|
|
8019
|
-
return (e.children || []).filter(Boolean).map((t) =>
|
|
8019
|
+
return (e.children || []).filter(Boolean).map((t) => Rr.fromJSON(t, A));
|
|
8020
8020
|
}
|
|
8021
8021
|
function glA(e) {
|
|
8022
8022
|
return (e || []).reduce((A, t) => [
|
|
@@ -8037,7 +8037,7 @@ function sGA(e) {
|
|
|
8037
8037
|
}
|
|
8038
8038
|
function nGA(e, A) {
|
|
8039
8039
|
let t, i, r, s, n, o;
|
|
8040
|
-
return !A || !(s = e.dictionary) ? (n = lj(e, Ij(e, A)), r = new
|
|
8040
|
+
return !A || !(s = e.dictionary) ? (n = lj(e, Ij(e, A)), r = new Rr(e.name, n, e.nullable, NN(e.metadata))) : A.has(t = s.id) ? (i = (i = s.indexType) ? cj(i) : new IC(), o = new BC(A.get(t), i, t, s.isOrdered), r = new Rr(e.name, o, e.nullable, NN(e.metadata))) : (i = (i = s.indexType) ? cj(i) : new IC(), A.set(t, n = lj(e, Ij(e, A))), o = new BC(n, i, t, s.isOrdered), r = new Rr(e.name, o, e.nullable, NN(e.metadata))), r || null;
|
|
8041
8041
|
}
|
|
8042
8042
|
function NN(e = []) {
|
|
8043
8043
|
return new Map(e.map(({ key: A, value: t }) => [A, t]));
|
|
@@ -8138,11 +8138,11 @@ class Ga {
|
|
|
8138
8138
|
static encode(A) {
|
|
8139
8139
|
const t = new oGA();
|
|
8140
8140
|
let i = -1;
|
|
8141
|
-
return A.isSchema() ? i =
|
|
8141
|
+
return A.isSchema() ? i = _r.encode(t, A.header()) : A.isRecordBatch() ? i = ug.encode(t, A.header()) : A.isDictionaryBatch() && (i = Rl.encode(t, A.header())), du.startMessage(t), du.addVersion(t, bn.V5), du.addHeader(t, i), du.addHeaderType(t, A.headerType), du.addBodyLength(t, BigInt(A.bodyLength)), du.finishMessageBuffer(t, du.endMessage(t)), t.asUint8Array();
|
|
8142
8142
|
}
|
|
8143
8143
|
/** @nocollapse */
|
|
8144
8144
|
static from(A, t = 0) {
|
|
8145
|
-
if (A instanceof
|
|
8145
|
+
if (A instanceof _r)
|
|
8146
8146
|
return new Ga(0, bn.V5, Lr.Schema, A);
|
|
8147
8147
|
if (A instanceof ug)
|
|
8148
8148
|
return new Ga(t, bn.V5, Lr.RecordBatch, A);
|
|
@@ -8240,7 +8240,7 @@ function gGA(e, A) {
|
|
|
8240
8240
|
return (() => {
|
|
8241
8241
|
switch (A) {
|
|
8242
8242
|
case Lr.Schema:
|
|
8243
|
-
return
|
|
8243
|
+
return _r.fromJSON(e);
|
|
8244
8244
|
case Lr.RecordBatch:
|
|
8245
8245
|
return ug.fromJSON(e);
|
|
8246
8246
|
case Lr.DictionaryBatch:
|
|
@@ -8253,7 +8253,7 @@ function IGA(e, A) {
|
|
|
8253
8253
|
return (() => {
|
|
8254
8254
|
switch (A) {
|
|
8255
8255
|
case Lr.Schema:
|
|
8256
|
-
return
|
|
8256
|
+
return _r.decode(e.header(new mh()), /* @__PURE__ */ new Map(), e.version());
|
|
8257
8257
|
case Lr.RecordBatch:
|
|
8258
8258
|
return ug.decode(e.header(new yh()), e.version());
|
|
8259
8259
|
case Lr.DictionaryBatch:
|
|
@@ -8262,12 +8262,12 @@ function IGA(e, A) {
|
|
|
8262
8262
|
throw new Error(`Unrecognized Message type: { name: ${Lr[A]}, type: ${A} }`);
|
|
8263
8263
|
});
|
|
8264
8264
|
}
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8265
|
+
Rr.encode = pGA;
|
|
8266
|
+
Rr.decode = dGA;
|
|
8267
|
+
Rr.fromJSON = nGA;
|
|
8268
|
+
_r.encode = fGA;
|
|
8269
|
+
_r.decode = cGA;
|
|
8270
|
+
_r.fromJSON = tGA;
|
|
8271
8271
|
ug.encode = yGA;
|
|
8272
8272
|
ug.decode = lGA;
|
|
8273
8273
|
ug.fromJSON = alA;
|
|
@@ -8282,7 +8282,7 @@ Jx.encode = llA;
|
|
|
8282
8282
|
Jx.decode = clA;
|
|
8283
8283
|
function cGA(e, A = /* @__PURE__ */ new Map(), t = bn.V5) {
|
|
8284
8284
|
const i = QGA(e, A);
|
|
8285
|
-
return new
|
|
8285
|
+
return new _r(i, MN(e), A, t);
|
|
8286
8286
|
}
|
|
8287
8287
|
function lGA(e, A = bn.V5) {
|
|
8288
8288
|
return new ug(e.length(), uGA(e), EGA(e, A), clA(e.compression()));
|
|
@@ -8311,18 +8311,18 @@ function EGA(e, A) {
|
|
|
8311
8311
|
function QGA(e, A) {
|
|
8312
8312
|
const t = [];
|
|
8313
8313
|
for (let i, r = -1, s = -1, n = e.fieldsLength(); ++r < n; )
|
|
8314
|
-
(i = e.fields(r)) && (t[++s] =
|
|
8314
|
+
(i = e.fields(r)) && (t[++s] = Rr.decode(i, A));
|
|
8315
8315
|
return t;
|
|
8316
8316
|
}
|
|
8317
8317
|
function hj(e, A) {
|
|
8318
8318
|
const t = [];
|
|
8319
8319
|
for (let i, r = -1, s = -1, n = e.childrenLength(); ++r < n; )
|
|
8320
|
-
(i = e.children(r)) && (t[++s] =
|
|
8320
|
+
(i = e.children(r)) && (t[++s] = Rr.decode(i, A));
|
|
8321
8321
|
return t;
|
|
8322
8322
|
}
|
|
8323
8323
|
function dGA(e, A) {
|
|
8324
8324
|
let t, i, r, s, n, o;
|
|
8325
|
-
return !A || !(o = e.dictionary()) ? (r = Cj(e, hj(e, A)), i = new
|
|
8325
|
+
return !A || !(o = e.dictionary()) ? (r = Cj(e, hj(e, A)), i = new Rr(e.name(), r, e.nullable(), MN(e))) : A.has(t = Gs(o.id())) ? (s = (s = o.indexType()) ? Bj(s) : new IC(), n = new BC(A.get(t), s, t, o.isOrdered()), i = new Rr(e.name(), n, e.nullable(), MN(e))) : (s = (s = o.indexType()) ? Bj(s) : new IC(), A.set(t, r = Cj(e, hj(e, A))), n = new BC(r, s, t, o.isOrdered()), i = new Rr(e.name(), n, e.nullable(), MN(e))), i || null;
|
|
8326
8326
|
}
|
|
8327
8327
|
function MN(e) {
|
|
8328
8328
|
const A = /* @__PURE__ */ new Map();
|
|
@@ -8412,7 +8412,7 @@ function clA(e) {
|
|
|
8412
8412
|
return e ? new Jx(e.codec(), e.method()) : null;
|
|
8413
8413
|
}
|
|
8414
8414
|
function fGA(e, A) {
|
|
8415
|
-
const t = A.fields.map((s) =>
|
|
8415
|
+
const t = A.fields.map((s) => Rr.encode(e, s));
|
|
8416
8416
|
mh.startFieldsVector(e, t.length);
|
|
8417
8417
|
const i = mh.createFieldsVector(e, t), r = A.metadata && A.metadata.size > 0 ? mh.createCustomMetadataVector(e, [...A.metadata].map(([s, n]) => {
|
|
8418
8418
|
const o = e.createString(`${s}`), a = e.createString(`${n}`);
|
|
@@ -8425,7 +8425,7 @@ function pGA(e, A) {
|
|
|
8425
8425
|
const s = A.type;
|
|
8426
8426
|
let n = A.typeId;
|
|
8427
8427
|
zt.isDictionary(s) ? (n = s.dictionary.typeId, r = SU.visit(s, e), i = SU.visit(s.dictionary, e)) : i = SU.visit(s, e);
|
|
8428
|
-
const o = (s.children || []).map((l) =>
|
|
8428
|
+
const o = (s.children || []).map((l) => Rr.encode(e, l)), a = WI.createChildrenVector(e, o), g = A.metadata && A.metadata.size > 0 ? WI.createCustomMetadataVector(e, [...A.metadata].map(([l, C]) => {
|
|
8429
8429
|
const Q = e.createString(`${l}`), f = e.createString(`${C}`);
|
|
8430
8430
|
return yo.startKeyValue(e), yo.addKey(e, Q), yo.addValue(e, f), yo.endKeyValue(e);
|
|
8431
8431
|
})) : -1;
|
|
@@ -9068,7 +9068,7 @@ class Z4 extends zi {
|
|
|
9068
9068
|
super(), this.nodesIndex = -1, this.buffersIndex = -1, this.bytes = A, this.nodes = t, this.buffers = i, this.dictionaries = r, this.metadataVersion = s;
|
|
9069
9069
|
}
|
|
9070
9070
|
visit(A) {
|
|
9071
|
-
return super.visit(A instanceof
|
|
9071
|
+
return super.visit(A instanceof Rr ? A.type : A);
|
|
9072
9072
|
}
|
|
9073
9073
|
visitNull(A, { length: t } = this.nextFieldNode()) {
|
|
9074
9074
|
return di({ type: A, length: t });
|
|
@@ -9344,7 +9344,7 @@ class dlA extends Pa {
|
|
|
9344
9344
|
if (this.numChildren > 0)
|
|
9345
9345
|
throw new Error("FixedSizeListBuilder can only have one child.");
|
|
9346
9346
|
const i = this.children.push(A);
|
|
9347
|
-
return this.type = new Vd(this.type.listSize, new
|
|
9347
|
+
return this.type = new Vd(this.type.listSize, new Rr(t, A.type, !0)), i;
|
|
9348
9348
|
}
|
|
9349
9349
|
}
|
|
9350
9350
|
class J2 extends xC {
|
|
@@ -9416,7 +9416,7 @@ class MlA extends Ym {
|
|
|
9416
9416
|
addChild(A, t = "0") {
|
|
9417
9417
|
if (this.numChildren > 0)
|
|
9418
9418
|
throw new Error("ListBuilder can only have one child.");
|
|
9419
|
-
return this.children[this.numChildren] = A, this.type = new IE(new
|
|
9419
|
+
return this.children[this.numChildren] = A, this.type = new IE(new Rr(t, A.type, !0)), this.numChildren - 1;
|
|
9420
9420
|
}
|
|
9421
9421
|
_flushPending(A) {
|
|
9422
9422
|
const t = this._offsets, [i] = this.children;
|
|
@@ -9441,7 +9441,7 @@ class vlA extends Ym {
|
|
|
9441
9441
|
addChild(A, t = `${this.numChildren}`) {
|
|
9442
9442
|
if (this.numChildren > 0)
|
|
9443
9443
|
throw new Error("ListBuilder can only have one child.");
|
|
9444
|
-
return this.children[this.numChildren] = A, this.type = new zd(new
|
|
9444
|
+
return this.children[this.numChildren] = A, this.type = new zd(new Rr(t, A.type, !0), this.type.keysSorted), this.numChildren - 1;
|
|
9445
9445
|
}
|
|
9446
9446
|
_flushPending(A) {
|
|
9447
9447
|
const t = this._offsets, [i] = this.children;
|
|
@@ -9482,7 +9482,7 @@ class xlA extends Pa {
|
|
|
9482
9482
|
}
|
|
9483
9483
|
addChild(A, t = `${this.numChildren}`) {
|
|
9484
9484
|
const i = this.children.push(A);
|
|
9485
|
-
return this.type = new Rn([...this.type.children, new
|
|
9485
|
+
return this.type = new Rn([...this.type.children, new Rr(t, A.type, !0)]), i;
|
|
9486
9486
|
}
|
|
9487
9487
|
}
|
|
9488
9488
|
class Ff extends xC {
|
|
@@ -9534,7 +9534,7 @@ class Hx extends Pa {
|
|
|
9534
9534
|
s?.set(A, t), this.length = Math.max(A + 1, this.length);
|
|
9535
9535
|
}
|
|
9536
9536
|
addChild(A, t = `${this.children.length}`) {
|
|
9537
|
-
const i = this.children.push(A), { type: { children: r, mode: s, typeIds: n } } = this, o = [...r, new
|
|
9537
|
+
const i = this.children.push(A), { type: { children: r, mode: s, typeIds: n } } = this, o = [...r, new Rr(t, A.type)];
|
|
9538
9538
|
return this.type = new cE(s, [...n, i], o), i;
|
|
9539
9539
|
}
|
|
9540
9540
|
/** @ignore */
|
|
@@ -9875,13 +9875,13 @@ function CC(e) {
|
|
|
9875
9875
|
return t;
|
|
9876
9876
|
}
|
|
9877
9877
|
function mK(e, A) {
|
|
9878
|
-
if (e instanceof
|
|
9878
|
+
if (e instanceof mr || e instanceof Li || e.type instanceof zt || ArrayBuffer.isView(e))
|
|
9879
9879
|
return L2(e);
|
|
9880
9880
|
const t = { type: A ?? vN(e), nullValues: [null] }, i = [...UlA(t)(e)], r = i.length === 1 ? i[0] : i.reduce((s, n) => s.concat(n));
|
|
9881
9881
|
return zt.isDictionary(r.type) ? r.memoize() : r;
|
|
9882
9882
|
}
|
|
9883
9883
|
function KGA(e) {
|
|
9884
|
-
const A = mK(e), t = new xs(new
|
|
9884
|
+
const A = mK(e), t = new xs(new _r(A.type.children), A.data[0]);
|
|
9885
9885
|
return new Ks(t);
|
|
9886
9886
|
}
|
|
9887
9887
|
function vN(e) {
|
|
@@ -9925,12 +9925,12 @@ function vN(e) {
|
|
|
9925
9925
|
if (t + A === e.length) {
|
|
9926
9926
|
const g = e, l = vN(g[g.findIndex((C) => C != null)]);
|
|
9927
9927
|
if (g.every((C) => C == null || LlA(l, vN(C))))
|
|
9928
|
-
return new IE(new
|
|
9928
|
+
return new IE(new Rr("", l, !0));
|
|
9929
9929
|
} else if (i + A === e.length) {
|
|
9930
9930
|
const g = /* @__PURE__ */ new Map();
|
|
9931
9931
|
for (const l of e)
|
|
9932
9932
|
for (const C of Object.keys(l))
|
|
9933
|
-
!g.has(C) && l[C] != null && g.set(C, new
|
|
9933
|
+
!g.has(C) && l[C] != null && g.set(C, new Rr(C, vN([l[C]]), !0));
|
|
9934
9934
|
return new Rn([...g.values()]);
|
|
9935
9935
|
}
|
|
9936
9936
|
throw new TypeError("Unable to infer Vector type from input values, explicit type declaration expected.");
|
|
@@ -10018,32 +10018,32 @@ class Ks {
|
|
|
10018
10018
|
constructor(...A) {
|
|
10019
10019
|
var t, i;
|
|
10020
10020
|
if (A.length === 0)
|
|
10021
|
-
return this.batches = [], this.schema = new
|
|
10021
|
+
return this.batches = [], this.schema = new _r([]), this._offsets = [0], this;
|
|
10022
10022
|
let r, s;
|
|
10023
|
-
A[0] instanceof
|
|
10023
|
+
A[0] instanceof _r && (r = A.shift()), A.at(-1) instanceof Uint32Array && (s = A.pop());
|
|
10024
10024
|
const n = (a) => {
|
|
10025
10025
|
if (a) {
|
|
10026
10026
|
if (a instanceof xs)
|
|
10027
10027
|
return [a];
|
|
10028
10028
|
if (a instanceof Ks)
|
|
10029
10029
|
return a.batches;
|
|
10030
|
-
if (a instanceof
|
|
10030
|
+
if (a instanceof mr) {
|
|
10031
10031
|
if (a.type instanceof Rn)
|
|
10032
|
-
return [new xs(new
|
|
10032
|
+
return [new xs(new _r(a.type.children), a)];
|
|
10033
10033
|
} else {
|
|
10034
10034
|
if (Array.isArray(a))
|
|
10035
10035
|
return a.flatMap((g) => n(g));
|
|
10036
10036
|
if (typeof a[Symbol.iterator] == "function")
|
|
10037
10037
|
return [...a].flatMap((g) => n(g));
|
|
10038
10038
|
if (typeof a == "object") {
|
|
10039
|
-
const g = Object.keys(a), l = g.map((f) => new Li([a[f]])), C = r ?? new
|
|
10039
|
+
const g = Object.keys(a), l = g.map((f) => new Li([a[f]])), C = r ?? new _r(g.map((f, D) => new Rr(String(f), l[D].type, l[D].nullable))), [, Q] = bU(C, l);
|
|
10040
10040
|
return Q.length === 0 ? [new xs(a)] : Q;
|
|
10041
10041
|
}
|
|
10042
10042
|
}
|
|
10043
10043
|
}
|
|
10044
10044
|
return [];
|
|
10045
10045
|
}, o = A.flatMap((a) => n(a));
|
|
10046
|
-
if (r = (i = r ?? ((t = o[0]) === null || t === void 0 ? void 0 : t.schema)) !== null && i !== void 0 ? i : new
|
|
10046
|
+
if (r = (i = r ?? ((t = o[0]) === null || t === void 0 ? void 0 : t.schema)) !== null && i !== void 0 ? i : new _r([]), !(r instanceof _r))
|
|
10047
10047
|
throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");
|
|
10048
10048
|
for (const a of o) {
|
|
10049
10049
|
if (!(a instanceof xs))
|
|
@@ -10261,7 +10261,7 @@ class xs {
|
|
|
10261
10261
|
constructor(...A) {
|
|
10262
10262
|
switch (A.length) {
|
|
10263
10263
|
case 2: {
|
|
10264
|
-
if ([this.schema] = A, !(this.schema instanceof
|
|
10264
|
+
if ([this.schema] = A, !(this.schema instanceof _r))
|
|
10265
10265
|
throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");
|
|
10266
10266
|
if ([
|
|
10267
10267
|
,
|
|
@@ -10270,17 +10270,17 @@ class xs {
|
|
|
10270
10270
|
type: new Rn(this.schema.fields),
|
|
10271
10271
|
children: this.schema.fields.map((t) => di({ type: t.type, nullCount: 0 }))
|
|
10272
10272
|
})
|
|
10273
|
-
] = A, !(this.data instanceof
|
|
10273
|
+
] = A, !(this.data instanceof mr))
|
|
10274
10274
|
throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");
|
|
10275
10275
|
[this.schema, this.data] = Qj(this.schema, this.data.children);
|
|
10276
10276
|
break;
|
|
10277
10277
|
}
|
|
10278
10278
|
case 1: {
|
|
10279
|
-
const [t] = A, { fields: i, children: r, length: s } = Object.keys(t).reduce((a, g, l) => (a.children[l] = t[g], a.length = Math.max(a.length, t[g].length), a.fields[l] =
|
|
10279
|
+
const [t] = A, { fields: i, children: r, length: s } = Object.keys(t).reduce((a, g, l) => (a.children[l] = t[g], a.length = Math.max(a.length, t[g].length), a.fields[l] = Rr.new({ name: g, type: t[g].type, nullable: !0 }), a), {
|
|
10280
10280
|
length: 0,
|
|
10281
10281
|
fields: new Array(),
|
|
10282
10282
|
children: new Array()
|
|
10283
|
-
}), n = new
|
|
10283
|
+
}), n = new _r(i), o = di({ type: new Rn(i), length: s, children: r, nullCount: 0 });
|
|
10284
10284
|
[this.schema, this.data] = Qj(n, o.children, s);
|
|
10285
10285
|
break;
|
|
10286
10286
|
}
|
|
@@ -10404,7 +10404,7 @@ class xs {
|
|
|
10404
10404
|
if (A > -1 && A < this.numCols) {
|
|
10405
10405
|
t || (t = new Li([di({ type: new bl(), length: this.numRows })]));
|
|
10406
10406
|
const s = i.fields.slice(), n = r.children.slice(), o = s[A].clone({ type: t.type });
|
|
10407
|
-
[s[A], n[A]] = [o, t.data[0]], i = new
|
|
10407
|
+
[s[A], n[A]] = [o, t.data[0]], i = new _r(s, new Map(this.schema.metadata)), r = di({ type: new Rn(s), children: n });
|
|
10408
10408
|
}
|
|
10409
10409
|
return new xs(i, r);
|
|
10410
10410
|
}
|
|
@@ -12073,7 +12073,7 @@ const dkA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
12073
12073
|
get CompressionType() {
|
|
12074
12074
|
return dl;
|
|
12075
12075
|
},
|
|
12076
|
-
Data:
|
|
12076
|
+
Data: mr,
|
|
12077
12077
|
DataType: zt,
|
|
12078
12078
|
DateBuilder: P2,
|
|
12079
12079
|
DateDay: tcA,
|
|
@@ -12100,7 +12100,7 @@ const dkA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
12100
12100
|
DurationNanosecondBuilder: IK,
|
|
12101
12101
|
DurationSecond: H_A,
|
|
12102
12102
|
DurationSecondBuilder: oK,
|
|
12103
|
-
Field:
|
|
12103
|
+
Field: Rr,
|
|
12104
12104
|
FixedSizeBinary: db,
|
|
12105
12105
|
FixedSizeBinaryBuilder: iK,
|
|
12106
12106
|
FixedSizeList: Vd,
|
|
@@ -12165,7 +12165,7 @@ const dkA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
12165
12165
|
RecordBatchStreamReader: nm,
|
|
12166
12166
|
RecordBatchStreamWriter: W2,
|
|
12167
12167
|
RecordBatchWriter: q2,
|
|
12168
|
-
Schema:
|
|
12168
|
+
Schema: _r,
|
|
12169
12169
|
SparseUnion: W_A,
|
|
12170
12170
|
SparseUnionBuilder: GlA,
|
|
12171
12171
|
Struct: Rn,
|
|
@@ -12233,13 +12233,13 @@ function AhA(e) {
|
|
|
12233
12233
|
return fkA(e);
|
|
12234
12234
|
}
|
|
12235
12235
|
function fkA(e) {
|
|
12236
|
-
return new
|
|
12236
|
+
return new _r(e.fields.map((A) => gS(A)), ehA(e.metadata));
|
|
12237
12237
|
}
|
|
12238
12238
|
function ehA(e) {
|
|
12239
12239
|
return e ? new Map(Object.entries(e)) : /* @__PURE__ */ new Map();
|
|
12240
12240
|
}
|
|
12241
12241
|
function gS(e) {
|
|
12242
|
-
return new
|
|
12242
|
+
return new Rr(e.name, pkA(e.type), e.nullable, ehA(e.metadata));
|
|
12243
12243
|
}
|
|
12244
12244
|
function pkA(e) {
|
|
12245
12245
|
if (typeof e == "object")
|
|
@@ -12587,12 +12587,12 @@ function* _kA(e, A) {
|
|
|
12587
12587
|
for (let l = 0; l < r; ++l) {
|
|
12588
12588
|
const C = RkA(e, g, l);
|
|
12589
12589
|
if (n[l].append(C), a++, a >= s) {
|
|
12590
|
-
const f = n.map((G) => G.flush()), D = new
|
|
12590
|
+
const f = n.map((G) => G.flush()), D = new mr(o, 0, a, 0, void 0, f);
|
|
12591
12591
|
yield new xs(t, D), a = 0;
|
|
12592
12592
|
}
|
|
12593
12593
|
}
|
|
12594
12594
|
if (a > 0) {
|
|
12595
|
-
const g = n.map((C) => C.flush()), l = new
|
|
12595
|
+
const g = n.map((C) => C.flush()), l = new mr(o, 0, a, 0, void 0, g);
|
|
12596
12596
|
yield new xs(t, l), a = 0;
|
|
12597
12597
|
}
|
|
12598
12598
|
n.map((g) => g.finish());
|
|
@@ -12930,13 +12930,13 @@ function zkA(e) {
|
|
|
12930
12930
|
for (const t in e) {
|
|
12931
12931
|
const i = e[t];
|
|
12932
12932
|
if (i.type === Float32Array) {
|
|
12933
|
-
const r = /* @__PURE__ */ new Map(), s = new
|
|
12933
|
+
const r = /* @__PURE__ */ new Map(), s = new Rr(i.name, new x2(), i.nullable, r);
|
|
12934
12934
|
A.push(s);
|
|
12935
12935
|
}
|
|
12936
12936
|
}
|
|
12937
12937
|
if (A.length === 0)
|
|
12938
12938
|
throw new Error("No arrow convertible fields");
|
|
12939
|
-
return new
|
|
12939
|
+
return new _r(A);
|
|
12940
12940
|
}
|
|
12941
12941
|
function jkA(e, A) {
|
|
12942
12942
|
const t = [];
|
|
@@ -13133,7 +13133,7 @@ class tLA {
|
|
|
13133
13133
|
}
|
|
13134
13134
|
/** Extract a record batch flushing the currently accumulated data in the builders */
|
|
13135
13135
|
_getArrowRecordBatch() {
|
|
13136
|
-
const { arrowBuilders: A, arrowSchema: t } = this, i = A.map((a) => a.flush()), r = i[0].length, s = new Rn(t.fields), n = new
|
|
13136
|
+
const { arrowBuilders: A, arrowSchema: t } = this, i = A.map((a) => a.flush()), r = i[0].length, s = new Rn(t.fields), n = new mr(s, 0, r, 0, void 0, i);
|
|
13137
13137
|
return new xs(t, n);
|
|
13138
13138
|
}
|
|
13139
13139
|
}
|
|
@@ -51636,7 +51636,7 @@ var Yr = (function(e) {
|
|
|
51636
51636
|
}
|
|
51637
51637
|
A.preloadedImages = {}, A.preloadedAudios = {};
|
|
51638
51638
|
var Ut = null, ei = "data:application/octet-stream;base64,";
|
|
51639
|
-
function
|
|
51639
|
+
function Cr(WA) {
|
|
51640
51640
|
return String.prototype.startsWith ? WA.startsWith(ei) : WA.indexOf(ei) === 0;
|
|
51641
51641
|
}
|
|
51642
51642
|
var vi, rr;
|
|
@@ -51691,7 +51691,7 @@ var Yr = (function(e) {
|
|
|
51691
51691
|
}
|
|
51692
51692
|
}
|
|
51693
51693
|
function Ar(WA) {
|
|
51694
|
-
if (
|
|
51694
|
+
if (Cr(WA))
|
|
51695
51695
|
return Vi(WA.slice(ei.length));
|
|
51696
51696
|
}
|
|
51697
51697
|
var Wn = {
|
|
@@ -51773,7 +51773,7 @@ var Yr = (function(e) {
|
|
|
51773
51773
|
var M = 0, k = 0, J = 0, V = 0, $ = 0, IA = 0, uA = 0, mA = 0, DA = 0, FA = 0, PA = 0;
|
|
51774
51774
|
if (PA = vA, vA = vA + 16 | 0, DA = PA, FA = PA + 8 | 0, mA = DA, E[mA >> 2] = p, E[mA + 4 >> 2] = w, (S | 0) < 0)
|
|
51775
51775
|
return FA = 2, vA = PA, FA | 0;
|
|
51776
|
-
if (M = N, E[M >> 2] = p, E[M + 4 >> 2] = w, M = (R | 0) != 0, M && (E[R >> 2] = 0),
|
|
51776
|
+
if (M = N, E[M >> 2] = p, E[M + 4 >> 2] = w, M = (R | 0) != 0, M && (E[R >> 2] = 0), pr(p, w) | 0)
|
|
51777
51777
|
return FA = 9, vA = PA, FA | 0;
|
|
51778
51778
|
E[FA >> 2] = 0;
|
|
51779
51779
|
A: do
|
|
@@ -51783,14 +51783,14 @@ var Yr = (function(e) {
|
|
|
51783
51783
|
if (!($ | uA)) {
|
|
51784
51784
|
if (M = Ls(M, w, 4, FA, DA) | 0, M | 0)
|
|
51785
51785
|
break A;
|
|
51786
|
-
if (w = DA, M = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0,
|
|
51786
|
+
if (w = DA, M = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0, pr(M, w) | 0) {
|
|
51787
51787
|
M = 9;
|
|
51788
51788
|
break A;
|
|
51789
51789
|
}
|
|
51790
51790
|
}
|
|
51791
51791
|
if (M = Ls(M, w, E[26864 + (uA << 2) >> 2] | 0, FA, DA) | 0, M | 0)
|
|
51792
51792
|
break A;
|
|
51793
|
-
if (w = DA, M = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0, p = N + (IA << 3) | 0, E[p >> 2] = M, E[p + 4 >> 2] = w, E[R + (IA << 2) >> 2] = mA, p = $ + 1 | 0, k = (p | 0) == (mA | 0), J = uA + 1 | 0, V = (J | 0) == 6,
|
|
51793
|
+
if (w = DA, M = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0, p = N + (IA << 3) | 0, E[p >> 2] = M, E[p + 4 >> 2] = w, E[R + (IA << 2) >> 2] = mA, p = $ + 1 | 0, k = (p | 0) == (mA | 0), J = uA + 1 | 0, V = (J | 0) == 6, pr(M, w) | 0) {
|
|
51794
51794
|
M = 9;
|
|
51795
51795
|
break A;
|
|
51796
51796
|
}
|
|
@@ -51805,14 +51805,14 @@ var Yr = (function(e) {
|
|
|
51805
51805
|
if (!($ | uA)) {
|
|
51806
51806
|
if (M = Ls(M, w, 4, FA, DA) | 0, M | 0)
|
|
51807
51807
|
break A;
|
|
51808
|
-
if (w = DA, M = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0,
|
|
51808
|
+
if (w = DA, M = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0, pr(M, w) | 0) {
|
|
51809
51809
|
M = 9;
|
|
51810
51810
|
break A;
|
|
51811
51811
|
}
|
|
51812
51812
|
}
|
|
51813
51813
|
if (M = Ls(M, w, E[26864 + (uA << 2) >> 2] | 0, FA, DA) | 0, M | 0)
|
|
51814
51814
|
break A;
|
|
51815
|
-
if (w = DA, M = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0, p = N + (IA << 3) | 0, E[p >> 2] = M, E[p + 4 >> 2] = w, p = $ + 1 | 0, k = (p | 0) == (mA | 0), J = uA + 1 | 0, V = (J | 0) == 6,
|
|
51815
|
+
if (w = DA, M = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0, p = N + (IA << 3) | 0, E[p >> 2] = M, E[p + 4 >> 2] = w, p = $ + 1 | 0, k = (p | 0) == (mA | 0), J = uA + 1 | 0, V = (J | 0) == 6, pr(M, w) | 0) {
|
|
51816
51816
|
M = 9;
|
|
51817
51817
|
break A;
|
|
51818
51818
|
}
|
|
@@ -52040,14 +52040,14 @@ var Yr = (function(e) {
|
|
|
52040
52040
|
return DA = N, E[DA >> 2] = p, E[DA + 4 >> 2] = w, DA = 0, vA = FA, DA | 0;
|
|
52041
52041
|
E[DA >> 2] = 0;
|
|
52042
52042
|
A: do
|
|
52043
|
-
if (
|
|
52043
|
+
if (pr(p, w) | 0)
|
|
52044
52044
|
p = 9;
|
|
52045
52045
|
else {
|
|
52046
52046
|
R = 0, uA = p;
|
|
52047
52047
|
do {
|
|
52048
52048
|
if (p = Ls(uA, w, 4, DA, mA) | 0, p | 0)
|
|
52049
52049
|
break A;
|
|
52050
|
-
if (w = mA, uA = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0, R = R + 1 | 0,
|
|
52050
|
+
if (w = mA, uA = E[w >> 2] | 0, w = E[w + 4 >> 2] | 0, R = R + 1 | 0, pr(uA, w) | 0) {
|
|
52051
52051
|
p = 9;
|
|
52052
52052
|
break A;
|
|
52053
52053
|
}
|
|
@@ -52059,7 +52059,7 @@ var Yr = (function(e) {
|
|
|
52059
52059
|
if (p = mA, p = Ls(E[p >> 2] | 0, E[p + 4 >> 2] | 0, k, DA, mA) | 0, p | 0)
|
|
52060
52060
|
break A;
|
|
52061
52061
|
if ((M | 0) != (IA | 0))
|
|
52062
|
-
if (V = mA, J = E[V >> 2] | 0, V = E[V + 4 >> 2] | 0, p = N + (R << 3) | 0, E[p >> 2] = J, E[p + 4 >> 2] = V, !(
|
|
52062
|
+
if (V = mA, J = E[V >> 2] | 0, V = E[V + 4 >> 2] | 0, p = N + (R << 3) | 0, E[p >> 2] = J, E[p + 4 >> 2] = V, !(pr(J, V) | 0))
|
|
52063
52063
|
p = R + 1 | 0;
|
|
52064
52064
|
else {
|
|
52065
52065
|
p = 9;
|
|
@@ -52075,7 +52075,7 @@ var Yr = (function(e) {
|
|
|
52075
52075
|
for (k = mA, V = E[R >> 2] | 0, J = 0, R = p, M = E[k >> 2] | 0, k = E[k + 4 >> 2] | 0; ; ) {
|
|
52076
52076
|
if (p = Ls(M, k, V, DA, mA) | 0, p | 0)
|
|
52077
52077
|
break A;
|
|
52078
|
-
if (k = mA, M = E[k >> 2] | 0, k = E[k + 4 >> 2] | 0, p = N + (R << 3) | 0, E[p >> 2] = M, E[p + 4 >> 2] = k, p = R + 1 | 0,
|
|
52078
|
+
if (k = mA, M = E[k >> 2] | 0, k = E[k + 4 >> 2] | 0, p = N + (R << 3) | 0, E[p >> 2] = M, E[p + 4 >> 2] = k, p = R + 1 | 0, pr(M, k) | 0) {
|
|
52079
52079
|
p = 9;
|
|
52080
52080
|
break A;
|
|
52081
52081
|
}
|
|
@@ -52130,7 +52130,7 @@ var Yr = (function(e) {
|
|
|
52130
52130
|
function qC(p, w, S, N) {
|
|
52131
52131
|
p = p | 0, w = w | 0, S = S | 0, N = N | 0;
|
|
52132
52132
|
var R = 0, M = 0, k = 0, J = 0, V = 0, $ = 0;
|
|
52133
|
-
for (J = vA, vA = vA + 16 | 0, M = J, k = J + 8 | 0, R = (
|
|
52133
|
+
for (J = vA, vA = vA + 16 | 0, M = J, k = J + 8 | 0, R = (pr(p, w) | 0) == 0, R = R ? 1 : 2; ; ) {
|
|
52134
52134
|
if (E[k >> 2] = 0, $ = (Ls(p, w, R, k, M) | 0) == 0, V = M, $ & ((E[V >> 2] | 0) == (S | 0) ? (E[V + 4 >> 2] | 0) == (N | 0) : 0)) {
|
|
52135
52135
|
p = 4;
|
|
52136
52136
|
break;
|
|
@@ -52496,7 +52496,7 @@ var Yr = (function(e) {
|
|
|
52496
52496
|
function gi(p, w) {
|
|
52497
52497
|
return p = p | 0, w = w | 0, E[848 + (p * 28 | 0) + (w << 2) >> 2] | 0;
|
|
52498
52498
|
}
|
|
52499
|
-
function
|
|
52499
|
+
function Nr(p, w) {
|
|
52500
52500
|
return p = p | 0, w = w | 0, (E[848 + (p * 28 | 0) >> 2] | 0) == (w | 0) ? (w = 0, w | 0) : (E[848 + (p * 28 | 0) + 4 >> 2] | 0) == (w | 0) ? (w = 1, w | 0) : (E[848 + (p * 28 | 0) + 8 >> 2] | 0) == (w | 0) ? (w = 2, w | 0) : (E[848 + (p * 28 | 0) + 12 >> 2] | 0) == (w | 0) ? (w = 3, w | 0) : (E[848 + (p * 28 | 0) + 16 >> 2] | 0) == (w | 0) ? (w = 4, w | 0) : (E[848 + (p * 28 | 0) + 20 >> 2] | 0) == (w | 0) ? (w = 5, w | 0) : ((E[848 + (p * 28 | 0) + 24 >> 2] | 0) == (w | 0) ? 6 : 7) | 0;
|
|
52501
52501
|
}
|
|
52502
52502
|
function GI() {
|
|
@@ -52617,7 +52617,7 @@ var Yr = (function(e) {
|
|
|
52617
52617
|
if (R = er(w | 0, S | 0, 6, 0) | 0, M = NA() | 0, V) {
|
|
52618
52618
|
k = 0, J = 0;
|
|
52619
52619
|
do
|
|
52620
|
-
gt = p + (J << 3) | 0, gt = ((
|
|
52620
|
+
gt = p + (J << 3) | 0, gt = ((pr(E[gt >> 2] | 0, E[gt + 4 >> 2] | 0) | 0) != 0) << 31 >> 31, R = Ct(R | 0, M | 0, gt | 0, ((gt | 0) < 0) << 31 >> 31 | 0) | 0, M = NA() | 0, J = Ct(J | 0, k | 0, 1, 0) | 0, k = NA() | 0;
|
|
52621
52621
|
while ((k | 0) < (S | 0) | (k | 0) == (S | 0) & J >>> 0 < w >>> 0);
|
|
52622
52622
|
ce = R, be = M;
|
|
52623
52623
|
} else
|
|
@@ -52913,7 +52913,7 @@ var Yr = (function(e) {
|
|
|
52913
52913
|
else if ((M | 0) == 7)
|
|
52914
52914
|
M = 5;
|
|
52915
52915
|
else {
|
|
52916
|
-
if ((M | 0) == 1 | (k | 0) == 1 &&
|
|
52916
|
+
if ((M | 0) == 1 | (k | 0) == 1 && pr(V, $) | 0) {
|
|
52917
52917
|
M = 5;
|
|
52918
52918
|
break;
|
|
52919
52919
|
}
|
|
@@ -52951,7 +52951,7 @@ var Yr = (function(e) {
|
|
|
52951
52951
|
case 7:
|
|
52952
52952
|
return S = 0, S | 0;
|
|
52953
52953
|
}
|
|
52954
|
-
return S = w & -2130706433 | 134217728, !(!0 & (w & 2013265920 | 0) == 268435456) || !0 & (w & 117440512 | 0) == 16777216 & (
|
|
52954
|
+
return S = w & -2130706433 | 134217728, !(!0 & (w & 2013265920 | 0) == 268435456) || !0 & (w & 117440512 | 0) == 16777216 & (pr(p, S) | 0) != 0 ? (S = 0, S | 0) : (S = jC(p, S) | 0, S | 0);
|
|
52955
52955
|
}
|
|
52956
52956
|
function Jl(p, w, S) {
|
|
52957
52957
|
p = p | 0, w = w | 0, S = S | 0;
|
|
@@ -52961,12 +52961,12 @@ var Yr = (function(e) {
|
|
|
52961
52961
|
function sI(p, w, S) {
|
|
52962
52962
|
p = p | 0, w = w | 0, S = S | 0;
|
|
52963
52963
|
var N = 0, R = 0;
|
|
52964
|
-
return R = (
|
|
52964
|
+
return R = (pr(p, w) | 0) == 0, w = w & -2130706433, N = S, E[N >> 2] = R ? p : 0, E[N + 4 >> 2] = R ? w | 285212672 : 0, N = S + 8 | 0, E[N >> 2] = p, E[N + 4 >> 2] = w | 301989888, N = S + 16 | 0, E[N >> 2] = p, E[N + 4 >> 2] = w | 318767104, N = S + 24 | 0, E[N >> 2] = p, E[N + 4 >> 2] = w | 335544320, N = S + 32 | 0, E[N >> 2] = p, E[N + 4 >> 2] = w | 352321536, S = S + 40 | 0, E[S >> 2] = p, E[S + 4 >> 2] = w | 369098752, 0;
|
|
52965
52965
|
}
|
|
52966
52966
|
function pg(p, w, S) {
|
|
52967
52967
|
p = p | 0, w = w | 0, S = S | 0;
|
|
52968
52968
|
var N = 0, R = 0, M = 0, k = 0;
|
|
52969
|
-
return k = vA, vA = vA + 16 | 0, R = k, M = w & -2130706433 | 134217728, !0 & (w & 2013265920 | 0) == 268435456 ? (N = it(p | 0, w | 0, 56) | 0, NA() | 0, N = Rw(p, M, N & 7) | 0, (N | 0) == -1 ? (E[S >> 2] = 0, M = 6, vA = k, M | 0) : (nI(p, M, R) | 0 && Nt(27634, 27035, 282, 27050), w = it(p | 0, w | 0, 52) | 0, NA() | 0, w = w & 15,
|
|
52969
|
+
return k = vA, vA = vA + 16 | 0, R = k, M = w & -2130706433 | 134217728, !0 & (w & 2013265920 | 0) == 268435456 ? (N = it(p | 0, w | 0, 56) | 0, NA() | 0, N = Rw(p, M, N & 7) | 0, (N | 0) == -1 ? (E[S >> 2] = 0, M = 6, vA = k, M | 0) : (nI(p, M, R) | 0 && Nt(27634, 27035, 282, 27050), w = it(p | 0, w | 0, 52) | 0, NA() | 0, w = w & 15, pr(p, M) | 0 ? zC(R, w, N, 2, S) : Mc(R, w, N, 2, S), M = 0, vA = k, M | 0)) : (M = 6, vA = k, M | 0);
|
|
52970
52970
|
}
|
|
52971
52971
|
function WC(p, w, S) {
|
|
52972
52972
|
p = p | 0, w = w | 0, S = S | 0;
|
|
@@ -53326,12 +53326,12 @@ var Yr = (function(e) {
|
|
|
53326
53326
|
break A;
|
|
53327
53327
|
}
|
|
53328
53328
|
while (!1);
|
|
53329
|
-
S = qa(7, 0, R, ((R | 0) < 0) << 31 >> 31) | 0, S = er(S | 0, NA() | 0, 5, 0) | 0, S = Ct(S | 0, NA() | 0, -5, -1) | 0, S =
|
|
53329
|
+
S = qa(7, 0, R, ((R | 0) < 0) << 31 >> 31) | 0, S = er(S | 0, NA() | 0, 5, 0) | 0, S = Ct(S | 0, NA() | 0, -5, -1) | 0, S = xr(S | 0, NA() | 0, 6, 0) | 0, S = Ct(S | 0, NA() | 0, 1, 0) | 0, R = NA() | 0;
|
|
53330
53330
|
}
|
|
53331
53331
|
while (!1);
|
|
53332
53332
|
return k = N, E[k >> 2] = S, E[k + 4 >> 2] = R, k = 0, k | 0;
|
|
53333
53333
|
}
|
|
53334
|
-
function
|
|
53334
|
+
function pr(p, w) {
|
|
53335
53335
|
p = p | 0, w = w | 0;
|
|
53336
53336
|
var S = 0, N = 0, R = 0;
|
|
53337
53337
|
if (R = it(p | 0, w | 0, 45) | 0, NA() | 0, !(Ot(R & 127) | 0))
|
|
@@ -53478,7 +53478,7 @@ var Yr = (function(e) {
|
|
|
53478
53478
|
ft = 85;
|
|
53479
53479
|
break;
|
|
53480
53480
|
}
|
|
53481
|
-
if (Ke =
|
|
53481
|
+
if (Ke = xr(S | 0, N | 0, 6, 0) | 0, NA() | 0, Ke = sn(Ke, 8) | 0, !Ke) {
|
|
53482
53482
|
ft = 48;
|
|
53483
53483
|
break;
|
|
53484
53484
|
}
|
|
@@ -54536,7 +54536,7 @@ var Yr = (function(e) {
|
|
|
54536
54536
|
R = 5, $ = 42;
|
|
54537
54537
|
break;
|
|
54538
54538
|
}
|
|
54539
|
-
if (uA = V + (((V | 0) != 0 & M) << 31 >> 31) | 0, uA | 0 && ($ = ye - mA | 0, $ = qa(7, 0, $, (($ | 0) < 0) << 31 >> 31) | 0, IA = NA() | 0, M ? (M = er($ | 0, IA | 0, 5, 0) | 0, M = Ct(M | 0, NA() | 0, -5, -1) | 0, M =
|
|
54539
|
+
if (uA = V + (((V | 0) != 0 & M) << 31 >> 31) | 0, uA | 0 && ($ = ye - mA | 0, $ = qa(7, 0, $, (($ | 0) < 0) << 31 >> 31) | 0, IA = NA() | 0, M ? (M = er($ | 0, IA | 0, 5, 0) | 0, M = Ct(M | 0, NA() | 0, -5, -1) | 0, M = xr(M | 0, NA() | 0, 6, 0) | 0, M = Ct(M | 0, NA() | 0, 1, 0) | 0, V = NA() | 0) : (M = $, V = IA), mA = uA + -1 | 0, mA = er($ | 0, IA | 0, mA | 0, ((mA | 0) < 0) << 31 >> 31 | 0) | 0, mA = Ct(M | 0, V | 0, mA | 0, NA() | 0) | 0, uA = NA() | 0, IA = N, IA = Ct(mA | 0, uA | 0, E[IA >> 2] | 0, E[IA + 4 >> 2] | 0) | 0, uA = NA() | 0, mA = N, E[mA >> 2] = IA, E[mA + 4 >> 2] = uA), (DA | 0) <= (S | 0)) {
|
|
54540
54540
|
$ = 37;
|
|
54541
54541
|
break;
|
|
54542
54542
|
}
|
|
@@ -54597,15 +54597,15 @@ var Yr = (function(e) {
|
|
|
54597
54597
|
J = IA - V | 0, J = qa(7, 0, J, ((J | 0) < 0) << 31 >> 31) | 0, S = NA() | 0;
|
|
54598
54598
|
do
|
|
54599
54599
|
if (k)
|
|
54600
|
-
if (k = er(J | 0, S | 0, 5, 0) | 0, k = Ct(k | 0, NA() | 0, -5, -1) | 0, k =
|
|
54601
|
-
w = Ct(p | 0, w | 0, -1, -1) | 0, w = Fs(w | 0, NA() | 0, k | 0, R | 0) | 0, k = NA() | 0, mA = M, FA = E[mA >> 2] | 0, mA = E[mA + 4 >> 2] | 0, PA = ($ + N | 0) * 3 | 0, DA = Bt(7, 0, PA | 0) | 0, mA = mA & ~(NA() | 0), N =
|
|
54600
|
+
if (k = er(J | 0, S | 0, 5, 0) | 0, k = Ct(k | 0, NA() | 0, -5, -1) | 0, k = xr(k | 0, NA() | 0, 6, 0) | 0, R = NA() | 0, (w | 0) > (R | 0) | (w | 0) == (R | 0) & p >>> 0 > k >>> 0) {
|
|
54601
|
+
w = Ct(p | 0, w | 0, -1, -1) | 0, w = Fs(w | 0, NA() | 0, k | 0, R | 0) | 0, k = NA() | 0, mA = M, FA = E[mA >> 2] | 0, mA = E[mA + 4 >> 2] | 0, PA = ($ + N | 0) * 3 | 0, DA = Bt(7, 0, PA | 0) | 0, mA = mA & ~(NA() | 0), N = xr(w | 0, k | 0, J | 0, S | 0) | 0, p = NA() | 0, R = Ct(N | 0, p | 0, 2, 0) | 0, PA = Bt(R | 0, NA() | 0, PA | 0) | 0, mA = NA() | 0 | mA, R = M, E[R >> 2] = PA | FA & ~DA, E[R + 4 >> 2] = mA, p = er(N | 0, p | 0, J | 0, S | 0) | 0, p = Fs(w | 0, k | 0, p | 0, NA() | 0) | 0, k = 0, w = NA() | 0;
|
|
54602
54602
|
break;
|
|
54603
54603
|
} else {
|
|
54604
54604
|
PA = M, DA = E[PA >> 2] | 0, PA = E[PA + 4 >> 2] | 0, FA = Bt(7, 0, ($ + N | 0) * 3 | 0) | 0, PA = PA & ~(NA() | 0), k = M, E[k >> 2] = DA & ~FA, E[k + 4 >> 2] = PA, k = 1;
|
|
54605
54605
|
break;
|
|
54606
54606
|
}
|
|
54607
54607
|
else
|
|
54608
|
-
DA = M, R = E[DA >> 2] | 0, DA = E[DA + 4 >> 2] | 0, N = ($ + N | 0) * 3 | 0, mA = Bt(7, 0, N | 0) | 0, DA = DA & ~(NA() | 0), PA =
|
|
54608
|
+
DA = M, R = E[DA >> 2] | 0, DA = E[DA + 4 >> 2] | 0, N = ($ + N | 0) * 3 | 0, mA = Bt(7, 0, N | 0) | 0, DA = DA & ~(NA() | 0), PA = xr(p | 0, w | 0, J | 0, S | 0) | 0, k = NA() | 0, N = Bt(PA | 0, k | 0, N | 0) | 0, DA = NA() | 0 | DA, FA = M, E[FA >> 2] = N | R & ~mA, E[FA + 4 >> 2] = DA, k = er(PA | 0, k | 0, J | 0, S | 0) | 0, p = Fs(p | 0, w | 0, k | 0, NA() | 0) | 0, k = 0, w = NA() | 0;
|
|
54609
54609
|
while (!1);
|
|
54610
54610
|
if ((IA | 0) > (V | 0))
|
|
54611
54611
|
N = ~V, V = V + 1 | 0;
|
|
@@ -54620,7 +54620,7 @@ var Yr = (function(e) {
|
|
|
54620
54620
|
if ((IA | 0) < 1)
|
|
54621
54621
|
return PA = 0, vA = uA, PA | 0;
|
|
54622
54622
|
for (R = J ^ 15, k = 1; ; )
|
|
54623
|
-
if (FA = IA - k | 0, FA = qa(7, 0, FA, ((FA | 0) < 0) << 31 >> 31) | 0, PA = NA() | 0, V = M, S = E[V >> 2] | 0, V = E[V + 4 >> 2] | 0, J = (R - k | 0) * 3 | 0, N = Bt(7, 0, J | 0) | 0, V = V & ~(NA() | 0), mA =
|
|
54623
|
+
if (FA = IA - k | 0, FA = qa(7, 0, FA, ((FA | 0) < 0) << 31 >> 31) | 0, PA = NA() | 0, V = M, S = E[V >> 2] | 0, V = E[V + 4 >> 2] | 0, J = (R - k | 0) * 3 | 0, N = Bt(7, 0, J | 0) | 0, V = V & ~(NA() | 0), mA = xr(p | 0, w | 0, FA | 0, PA | 0) | 0, DA = NA() | 0, J = Bt(mA | 0, DA | 0, J | 0) | 0, V = NA() | 0 | V, $ = M, E[$ >> 2] = J | S & ~N, E[$ + 4 >> 2] = V, PA = er(mA | 0, DA | 0, FA | 0, PA | 0) | 0, p = Fs(p | 0, w | 0, PA | 0, NA() | 0) | 0, w = NA() | 0, (IA | 0) <= (k | 0)) {
|
|
54624
54624
|
w = 0;
|
|
54625
54625
|
break;
|
|
54626
54626
|
} else
|
|
@@ -54630,7 +54630,7 @@ var Yr = (function(e) {
|
|
|
54630
54630
|
function gQ(p, w, S, N) {
|
|
54631
54631
|
p = p | 0, w = w | 0, S = S | 0, N = N | 0;
|
|
54632
54632
|
var R = 0, M = 0, k = 0;
|
|
54633
|
-
R = it(w | 0, S | 0, 52) | 0, NA() | 0, R = R & 15, (w | 0) == 0 & (S | 0) == 0 | ((N | 0) > 15 | (R | 0) > (N | 0)) ? (M = -1, w = -1, S = 0, R = 0) : (w = _c(w, S, R + 1 | 0, N) | 0, k = (NA() | 0) & -15728641, S = Bt(N | 0, 0, 52) | 0, S = w | S, k = k | (NA() | 0), w = (
|
|
54633
|
+
R = it(w | 0, S | 0, 52) | 0, NA() | 0, R = R & 15, (w | 0) == 0 & (S | 0) == 0 | ((N | 0) > 15 | (R | 0) > (N | 0)) ? (M = -1, w = -1, S = 0, R = 0) : (w = _c(w, S, R + 1 | 0, N) | 0, k = (NA() | 0) & -15728641, S = Bt(N | 0, 0, 52) | 0, S = w | S, k = k | (NA() | 0), w = (pr(S, k) | 0) == 0, M = R, w = w ? -1 : N, R = k), k = p, E[k >> 2] = S, E[k + 4 >> 2] = R, E[p + 8 >> 2] = M, E[p + 12 >> 2] = w;
|
|
54634
54634
|
}
|
|
54635
54635
|
function hB(p, w, S, N) {
|
|
54636
54636
|
p = p | 0, w = w | 0, S = S | 0, N = N | 0;
|
|
@@ -54639,7 +54639,7 @@ var Yr = (function(e) {
|
|
|
54639
54639
|
S = N, E[S >> 2] = 0, E[S + 4 >> 2] = 0, E[M >> 2] = -1, E[N + 12 >> 2] = -1;
|
|
54640
54640
|
return;
|
|
54641
54641
|
}
|
|
54642
|
-
if (p = _c(p, w, R + 1 | 0, S) | 0, M = (NA() | 0) & -15728641, R = Bt(S | 0, 0, 52) | 0, R = p | R, M = M | (NA() | 0), p = N, E[p >> 2] = R, E[p + 4 >> 2] = M, p = N + 12 | 0,
|
|
54642
|
+
if (p = _c(p, w, R + 1 | 0, S) | 0, M = (NA() | 0) & -15728641, R = Bt(S | 0, 0, 52) | 0, R = p | R, M = M | (NA() | 0), p = N, E[p >> 2] = R, E[p + 4 >> 2] = M, p = N + 12 | 0, pr(R, M) | 0) {
|
|
54643
54643
|
E[p >> 2] = S;
|
|
54644
54644
|
return;
|
|
54645
54645
|
} else {
|
|
@@ -54896,9 +54896,9 @@ var Yr = (function(e) {
|
|
|
54896
54896
|
if (V = it(p | 0, w | 0, 45) | 0, NA() | 0, V = V & 127, $ = it(S | 0, N | 0, 45) | 0, NA() | 0, $ = $ & 127, V >>> 0 > 121 | $ >>> 0 > 121)
|
|
54897
54897
|
return ne = 5, vA = ye, ne | 0;
|
|
54898
54898
|
if (DA = (V | 0) != ($ | 0), DA) {
|
|
54899
|
-
if (k =
|
|
54899
|
+
if (k = Nr(V, $) | 0, (k | 0) == 7)
|
|
54900
54900
|
return ne = 1, vA = ye, ne | 0;
|
|
54901
|
-
J =
|
|
54901
|
+
J = Nr($, V) | 0, (J | 0) == 7 ? Nt(27291, 27315, 164, 27325) : (PA = k, M = J);
|
|
54902
54902
|
} else
|
|
54903
54903
|
PA = 0, M = 0;
|
|
54904
54904
|
uA = Ot(V) | 0, mA = Ot($) | 0, E[ne >> 2] = 0, E[ne + 4 >> 2] = 0, E[ne + 8 >> 2] = 0, E[ne + 12 >> 2] = 0;
|
|
@@ -55327,7 +55327,7 @@ var Yr = (function(e) {
|
|
|
55327
55327
|
break A;
|
|
55328
55328
|
}
|
|
55329
55329
|
}
|
|
55330
|
-
if (J =
|
|
55330
|
+
if (J = Nr(R, ce) | 0, (J | 0) == 7 && Nt(27291, 27315, 432, 27506), S = N, M = E[S >> 2] | 0, S = E[S + 4 >> 2] | 0, (V | 0) > 0) {
|
|
55331
55331
|
k = 0;
|
|
55332
55332
|
do
|
|
55333
55333
|
M = yg(M, S) | 0, S = NA() | 0, De = N, E[De >> 2] = M, E[De + 4 >> 2] = S, k = k + 1 | 0;
|
|
@@ -55377,7 +55377,7 @@ var Yr = (function(e) {
|
|
|
55377
55377
|
var M = 0, k = 0, J = 0, V = 0, $ = 0;
|
|
55378
55378
|
return V = vA, vA = vA + 32 | 0, k = V + 12 | 0, J = V, M = jl(p, w, p, w, k) | 0, M | 0 ? (J = M, vA = V, J | 0) : (p = jl(p, w, S, N, J) | 0, p | 0 ? (J = p, vA = V, J | 0) : (p = (E[k >> 2] | 0) - (E[J >> 2] | 0) | 0, $ = (p | 0) < 0, N = $ ? 0 - p | 0 : 0, S = N + ((E[k + 4 >> 2] | 0) - (E[J + 4 >> 2] | 0)) | 0, w = (S | 0) < 0, N = (E[k + 8 >> 2] | 0) - (E[J + 8 >> 2] | 0) + N + (w ? 0 - S | 0 : 0) | 0, M = (N | 0) < 0, k = M ? 0 : N, N = M ? N : 0, M = (w ? 0 : S) - N | 0, N = ($ ? 0 : p) - (w ? S : 0) - N | 0, J = (M | 0) < (N | 0) ? M : N, J = (k | 0) < (J | 0) ? k : J, J = (J | 0) > 0 ? J : 0, k = k - J | 0, M = M - J | 0, J = N - J | 0, J = (J | 0) > -1 ? J : 0 - J | 0, M = (M | 0) > -1 ? M : 0 - M | 0, k = (k | 0) > -1 ? k : 0 - k | 0, k = (M | 0) > (k | 0) ? M : k, k = (J | 0) > (k | 0) ? J : k, J = R, E[J >> 2] = k, E[J + 4 >> 2] = ((k | 0) < 0) << 31 >> 31, J = 0, vA = V, J | 0));
|
|
55379
55379
|
}
|
|
55380
|
-
function
|
|
55380
|
+
function yr(p, w, S, N, R) {
|
|
55381
55381
|
p = p | 0, w = w | 0, S = S | 0, N = N | 0, R = R | 0;
|
|
55382
55382
|
var M = 0, k = 0;
|
|
55383
55383
|
return k = vA, vA = vA + 16 | 0, M = k, p = eu(p, w, S, N, M) | 0, p | 0 ? (M = p, vA = k, M | 0) : (S = M, S = Ct(E[S >> 2] | 0, E[S + 4 >> 2] | 0, 1, 0) | 0, N = NA() | 0, M = R, E[M >> 2] = S, E[M + 4 >> 2] = N, M = 0, vA = k, M | 0);
|
|
@@ -55648,7 +55648,7 @@ var Yr = (function(e) {
|
|
|
55648
55648
|
S = it(S | 0, R | 0, 45) | 0, NA() | 0;
|
|
55649
55649
|
break;
|
|
55650
55650
|
}
|
|
55651
|
-
return IA = (V | 0) == 0 & (
|
|
55651
|
+
return IA = (V | 0) == 0 & (pr(S, R) | 0) != 0, IA = Bt((IA ? 2 : 1) + V | 0, 0, M | 0) | 0, $ = NA() | 0 | w & ~J, IA = IA | p & ~k, ai($ | 0), vA = uA, IA | 0;
|
|
55652
55652
|
}
|
|
55653
55653
|
while (!1);
|
|
55654
55654
|
return S = S & 127, S >>> 0 > 120 ? ($ = 0, IA = 0, ai($ | 0), vA = uA, IA | 0) : (Ol(IA, 0, S + 1 | 0, 0), $ = E[IA + 4 >> 2] | 0, IA = E[IA >> 2] | 0, ai($ | 0), vA = uA, IA | 0);
|
|
@@ -55966,7 +55966,7 @@ var Yr = (function(e) {
|
|
|
55966
55966
|
function Rw(p, w, S) {
|
|
55967
55967
|
p = p | 0, w = w | 0, S = S | 0;
|
|
55968
55968
|
var N = 0, R = 0, M = 0;
|
|
55969
|
-
if (M = vA, vA = vA + 16 | 0, R = M, N =
|
|
55969
|
+
if (M = vA, vA = vA + 16 | 0, R = M, N = pr(p, w) | 0, (S + -1 | 0) >>> 0 > 5 || (N = (N | 0) != 0, (S | 0) == 1 & N))
|
|
55970
55970
|
return R = -1, vA = M, R | 0;
|
|
55971
55971
|
do
|
|
55972
55972
|
if (sh(p, w, R) | 0)
|
|
@@ -56055,12 +56055,12 @@ var Yr = (function(e) {
|
|
|
56055
56055
|
function Da(p, w, S, N) {
|
|
56056
56056
|
p = p | 0, w = w | 0, S = S | 0, N = N | 0;
|
|
56057
56057
|
var R = 0, M = 0, k = 0, J = 0, V = 0, $ = 0, IA = 0, uA = 0, mA = 0, DA = 0, FA = 0, PA = 0, ne = 0, ye = 0, JA = 0, be = 0;
|
|
56058
|
-
if (be = vA, vA = vA + 32 | 0, JA = be + 24 | 0, ne = be + 20 | 0, FA = be + 8 | 0, DA = be + 16 | 0, mA = be, V = (
|
|
56058
|
+
if (be = vA, vA = vA + 32 | 0, JA = be + 24 | 0, ne = be + 20 | 0, FA = be + 8 | 0, DA = be + 16 | 0, mA = be, V = (pr(p, w) | 0) == 0, V = V ? 6 : 5, IA = it(p | 0, w | 0, 52) | 0, NA() | 0, IA = IA & 15, V >>> 0 <= S >>> 0)
|
|
56059
56059
|
return N = 2, vA = be, N | 0;
|
|
56060
56060
|
uA = (IA | 0) == 0, !uA && (PA = Bt(7, 0, (IA ^ 15) * 3 | 0) | 0, (PA & p | 0) == 0 & ((NA() | 0) & w | 0) == 0) ? R = S : M = 4;
|
|
56061
56061
|
A: do
|
|
56062
56062
|
if ((M | 0) == 4) {
|
|
56063
|
-
if (R = (
|
|
56063
|
+
if (R = (pr(p, w) | 0) != 0, ((R ? 4 : 5) | 0) < (S | 0) || sh(p, w, JA) | 0 || (M = (E[JA >> 2] | 0) + S | 0, R ? R = 26768 + (((M | 0) % 5 | 0) << 2) | 0 : R = 26800 + (((M | 0) % 6 | 0) << 2) | 0, PA = E[R >> 2] | 0, (PA | 0) == 7))
|
|
56064
56064
|
return N = 1, vA = be, N | 0;
|
|
56065
56065
|
E[ne >> 2] = 0, R = Ls(p, w, PA, ne, FA) | 0;
|
|
56066
56066
|
do
|
|
@@ -56068,12 +56068,12 @@ var Yr = (function(e) {
|
|
|
56068
56068
|
if (J = FA, $ = E[J >> 2] | 0, J = E[J + 4 >> 2] | 0, k = J >>> 0 < w >>> 0 | (J | 0) == (w | 0) & $ >>> 0 < p >>> 0, M = k ? $ : p, k = k ? J : w, !uA && (uA = Bt(7, 0, (IA ^ 15) * 3 | 0) | 0, ($ & uA | 0) == 0 & (J & (NA() | 0) | 0) == 0))
|
|
56069
56069
|
R = S;
|
|
56070
56070
|
else {
|
|
56071
|
-
if (J = (S + -1 + V | 0) % (V | 0) | 0, R =
|
|
56071
|
+
if (J = (S + -1 + V | 0) % (V | 0) | 0, R = pr(p, w) | 0, (J | 0) < 0 && Nt(27634, 27636, 248, 27661), V = (R | 0) != 0, ((V ? 4 : 5) | 0) < (J | 0) && Nt(27634, 27636, 248, 27661), sh(p, w, JA) | 0 && Nt(27634, 27636, 248, 27661), R = (E[JA >> 2] | 0) + J | 0, V ? R = 26768 + (((R | 0) % 5 | 0) << 2) | 0 : R = 26800 + (((R | 0) % 6 | 0) << 2) | 0, J = E[R >> 2] | 0, (J | 0) == 7 && Nt(27634, 27636, 248, 27661), E[DA >> 2] = 0, R = Ls(p, w, J, DA, mA) | 0, R | 0)
|
|
56072
56072
|
break;
|
|
56073
56073
|
$ = mA, V = E[$ >> 2] | 0, $ = E[$ + 4 >> 2] | 0;
|
|
56074
56074
|
do
|
|
56075
56075
|
if ($ >>> 0 < k >>> 0 | ($ | 0) == (k | 0) & V >>> 0 < M >>> 0) {
|
|
56076
|
-
if (
|
|
56076
|
+
if (pr(V, $) | 0 ? M = qC(V, $, p, w) | 0 : M = E[26864 + ((((E[DA >> 2] | 0) + (E[26832 + (J << 2) >> 2] | 0) | 0) % 6 | 0) << 2) >> 2] | 0, R = pr(V, $) | 0, (M + -1 | 0) >>> 0 > 5) {
|
|
56077
56077
|
R = -1, M = V, k = $;
|
|
56078
56078
|
break;
|
|
56079
56079
|
}
|
|
@@ -56099,7 +56099,7 @@ var Yr = (function(e) {
|
|
|
56099
56099
|
J = FA, $ = E[J >> 2] | 0, J = E[J + 4 >> 2] | 0;
|
|
56100
56100
|
}
|
|
56101
56101
|
if ((M | 0) == ($ | 0) & (k | 0) == (J | 0)) {
|
|
56102
|
-
if (V = (
|
|
56102
|
+
if (V = (pr($, J) | 0) != 0, V ? p = qC($, J, p, w) | 0 : p = E[26864 + ((((E[ne >> 2] | 0) + (E[26832 + (PA << 2) >> 2] | 0) | 0) % 6 | 0) << 2) >> 2] | 0, R = pr($, J) | 0, (p + -1 | 0) >>> 0 <= 5 && (ye = (R | 0) != 0, !((p | 0) == 1 & ye)))
|
|
56103
56103
|
do
|
|
56104
56104
|
if (sh($, J, JA) | 0)
|
|
56105
56105
|
R = -1;
|
|
@@ -56127,12 +56127,12 @@ var Yr = (function(e) {
|
|
|
56127
56127
|
function QB(p, w, S) {
|
|
56128
56128
|
p = p | 0, w = w | 0, S = S | 0;
|
|
56129
56129
|
var N = 0, R = 0, M = 0;
|
|
56130
|
-
return M = (
|
|
56130
|
+
return M = (pr(p, w) | 0) == 0, N = Da(p, w, 0, S) | 0, R = (N | 0) == 0, M ? !R || (N = Da(p, w, 1, S + 8 | 0) | 0, N | 0) || (N = Da(p, w, 2, S + 16 | 0) | 0, N | 0) || (N = Da(p, w, 3, S + 24 | 0) | 0, N | 0) || (N = Da(p, w, 4, S + 32 | 0) | 0, N) ? (M = N, M | 0) : Da(p, w, 5, S + 40 | 0) | 0 : !R || (N = Da(p, w, 1, S + 8 | 0) | 0, N | 0) || (N = Da(p, w, 2, S + 16 | 0) | 0, N | 0) || (N = Da(p, w, 3, S + 24 | 0) | 0, N | 0) || (N = Da(p, w, 4, S + 32 | 0) | 0, N | 0) ? (M = N, M | 0) : (M = S + 40 | 0, E[M >> 2] = 0, E[M + 4 >> 2] = 0, M = 0, M | 0);
|
|
56131
56131
|
}
|
|
56132
56132
|
function iu(p, w, S) {
|
|
56133
56133
|
p = p | 0, w = w | 0, S = S | 0;
|
|
56134
56134
|
var N = 0, R = 0, M = 0, k = 0, J = 0, V = 0;
|
|
56135
|
-
return V = vA, vA = vA + 192 | 0, R = V, M = V + 168 | 0, k = it(p | 0, w | 0, 56) | 0, NA() | 0, k = k & 7, J = w & -2130706433 | 134217728, N = nI(p, J, M) | 0, N | 0 ? (J = N, vA = V, J | 0) : (w = it(p | 0, w | 0, 52) | 0, NA() | 0, w = w & 15,
|
|
56135
|
+
return V = vA, vA = vA + 192 | 0, R = V, M = V + 168 | 0, k = it(p | 0, w | 0, 56) | 0, NA() | 0, k = k & 7, J = w & -2130706433 | 134217728, N = nI(p, J, M) | 0, N | 0 ? (J = N, vA = V, J | 0) : (w = it(p | 0, w | 0, 52) | 0, NA() | 0, w = w & 15, pr(p, J) | 0 ? zC(M, w, k, 1, R) : Mc(M, w, k, 1, R), J = R + 8 | 0, E[S >> 2] = E[J >> 2], E[S + 4 >> 2] = E[J + 4 >> 2], E[S + 8 >> 2] = E[J + 8 >> 2], E[S + 12 >> 2] = E[J + 12 >> 2], J = 0, vA = V, J | 0);
|
|
56136
56136
|
}
|
|
56137
56137
|
function nh(p, w) {
|
|
56138
56138
|
p = p | 0, w = w | 0;
|
|
@@ -57100,7 +57100,7 @@ var Yr = (function(e) {
|
|
|
57100
57100
|
}
|
|
57101
57101
|
return k = 0, R | 0 && (E[R >> 2] = p, E[R + 4 >> 2] = w), DA = (M | 0) >>> 31 | ($ | k) << 1 | (k << 1 | M >>> 31) & 0 | V, FA = (M << 1 | 0) & -2 | J, ai(DA | 0), FA | 0;
|
|
57102
57102
|
}
|
|
57103
|
-
function
|
|
57103
|
+
function xr(p, w, S, N) {
|
|
57104
57104
|
p = p | 0, w = w | 0, S = S | 0, N = N | 0;
|
|
57105
57105
|
var R = 0, M = 0, k = 0, J = 0, V = 0, $ = 0;
|
|
57106
57106
|
return $ = w >> 31 | ((w | 0) < 0 ? -1 : 0) << 1, V = ((w | 0) < 0 ? -1 : 0) >> 31 | ((w | 0) < 0 ? -1 : 0) << 1, M = N >> 31 | ((N | 0) < 0 ? -1 : 0) << 1, R = ((N | 0) < 0 ? -1 : 0) >> 31 | ((N | 0) < 0 ? -1 : 0) << 1, J = Fs($ ^ p | 0, V ^ w | 0, $ | 0, V | 0) | 0, k = NA() | 0, p = M ^ $, w = R ^ V, Fs((ou(J, k, Fs(M ^ S | 0, R ^ N | 0, M | 0, R | 0) | 0, NA() | 0, 0) | 0) ^ p | 0, (NA() | 0) ^ w | 0, p | 0, w | 0) | 0;
|
|
@@ -57210,7 +57210,7 @@ var Yr = (function(e) {
|
|
|
57210
57210
|
}
|
|
57211
57211
|
var lI = [mB, iQ, Jr, Tl];
|
|
57212
57212
|
return {
|
|
57213
|
-
___divdi3:
|
|
57213
|
+
___divdi3: xr,
|
|
57214
57214
|
___muldi3: er,
|
|
57215
57215
|
___remdi3: Wa,
|
|
57216
57216
|
___uremdi3: ko,
|
|
@@ -57265,12 +57265,12 @@ var Yr = (function(e) {
|
|
|
57265
57265
|
_gridDiskDistances: XE,
|
|
57266
57266
|
_gridDistance: eu,
|
|
57267
57267
|
_gridPathCells: s0,
|
|
57268
|
-
_gridPathCellsSize:
|
|
57268
|
+
_gridPathCellsSize: yr,
|
|
57269
57269
|
_gridRing: AQ,
|
|
57270
57270
|
_gridRingUnsafe: OC,
|
|
57271
57271
|
_i64Add: Ct,
|
|
57272
57272
|
_i64Subtract: Fs,
|
|
57273
|
-
_isPentagon:
|
|
57273
|
+
_isPentagon: pr,
|
|
57274
57274
|
_isResClassIII: xc,
|
|
57275
57275
|
_isValidCell: jC,
|
|
57276
57276
|
_isValidDirectedEdge: ma,
|
|
@@ -57322,7 +57322,7 @@ var Yr = (function(e) {
|
|
|
57322
57322
|
A._free = rt._free, A._getBaseCellNumber = rt._getBaseCellNumber, A._getDirectedEdgeDestination = rt._getDirectedEdgeDestination, A._getDirectedEdgeOrigin = rt._getDirectedEdgeOrigin, A._getHexagonAreaAvgKm2 = rt._getHexagonAreaAvgKm2, A._getHexagonAreaAvgM2 = rt._getHexagonAreaAvgM2, A._getHexagonEdgeLengthAvgKm = rt._getHexagonEdgeLengthAvgKm, A._getHexagonEdgeLengthAvgM = rt._getHexagonEdgeLengthAvgM, A._getIcosahedronFaces = rt._getIcosahedronFaces, A._getIndexDigit = rt._getIndexDigit, A._getNumCells = rt._getNumCells, A._getPentagons = rt._getPentagons, A._getRes0Cells = rt._getRes0Cells, A._getResolution = rt._getResolution, A._greatCircleDistanceKm = rt._greatCircleDistanceKm, A._greatCircleDistanceM = rt._greatCircleDistanceM, A._greatCircleDistanceRads = rt._greatCircleDistanceRads, A._gridDisk = rt._gridDisk, A._gridDiskDistances = rt._gridDiskDistances, A._gridDistance = rt._gridDistance, A._gridPathCells = rt._gridPathCells, A._gridPathCellsSize = rt._gridPathCellsSize, A._gridRing = rt._gridRing, A._gridRingUnsafe = rt._gridRingUnsafe, A._i64Add = rt._i64Add, A._i64Subtract = rt._i64Subtract, A._isPentagon = rt._isPentagon, A._isResClassIII = rt._isResClassIII, A._isValidCell = rt._isValidCell, A._isValidDirectedEdge = rt._isValidDirectedEdge, A._isValidIndex = rt._isValidIndex, A._isValidVertex = rt._isValidVertex, A._latLngToCell = rt._latLngToCell, A._llvm_ctlz_i64 = rt._llvm_ctlz_i64, A._llvm_maxnum_f64 = rt._llvm_maxnum_f64, A._llvm_minnum_f64 = rt._llvm_minnum_f64, A._llvm_round_f64 = rt._llvm_round_f64, A._localIjToCell = rt._localIjToCell, A._malloc = rt._malloc, A._maxFaceCount = rt._maxFaceCount, A._maxGridDiskSize = rt._maxGridDiskSize, A._maxPolygonToCellsSize = rt._maxPolygonToCellsSize, A._maxPolygonToCellsSizeExperimental = rt._maxPolygonToCellsSizeExperimental, A._memcpy = rt._memcpy, A._memmove = rt._memmove, A._memset = rt._memset, A._originToDirectedEdges = rt._originToDirectedEdges, A._pentagonCount = rt._pentagonCount, A._polygonToCells = rt._polygonToCells, A._polygonToCellsExperimental = rt._polygonToCellsExperimental, A._readInt64AsDoubleFromPointer = rt._readInt64AsDoubleFromPointer, A._res0CellCount = rt._res0CellCount, A._reverseDirectedEdge = rt._reverseDirectedEdge, A._round = rt._round, A._sbrk = rt._sbrk, A._sizeOfCellBoundary = rt._sizeOfCellBoundary, A._sizeOfCoordIJ = rt._sizeOfCoordIJ, A._sizeOfGeoLoop = rt._sizeOfGeoLoop, A._sizeOfGeoPolygon = rt._sizeOfGeoPolygon, A._sizeOfH3Index = rt._sizeOfH3Index, A._sizeOfLatLng = rt._sizeOfLatLng, A._sizeOfLinkedGeoPolygon = rt._sizeOfLinkedGeoPolygon, A._uncompactCells = rt._uncompactCells, A._uncompactCellsSize = rt._uncompactCellsSize, A._vertexToLatLng = rt._vertexToLatLng, A.establishStackSpace = rt.establishStackSpace;
|
|
57323
57323
|
var kA = A.stackAlloc = rt.stackAlloc, KA = A.stackRestore = rt.stackRestore, Ie = A.stackSave = rt.stackSave;
|
|
57324
57324
|
if (A.dynCall_iii = rt.dynCall_iii, A.asm = rt, A.cwrap = W, A.setValue = f, A.getValue = D, Ut) {
|
|
57325
|
-
|
|
57325
|
+
Cr(Ut) || (Ut = s(Ut));
|
|
57326
57326
|
{
|
|
57327
57327
|
Wt();
|
|
57328
57328
|
var Je = function(WA) {
|
|
@@ -71172,7 +71172,7 @@ const iae = {
|
|
|
71172
71172
|
UNSIGNED_INT: 5125,
|
|
71173
71173
|
FLOAT: 5126,
|
|
71174
71174
|
DOUBLE: 5130
|
|
71175
|
-
},
|
|
71175
|
+
}, kr = {
|
|
71176
71176
|
...iae,
|
|
71177
71177
|
...no
|
|
71178
71178
|
}, z3 = {
|
|
@@ -71313,7 +71313,7 @@ class mq {
|
|
|
71313
71313
|
hasProperty(A) {
|
|
71314
71314
|
return !!this.json[A];
|
|
71315
71315
|
}
|
|
71316
|
-
getGlobalProperty(A, t =
|
|
71316
|
+
getGlobalProperty(A, t = kr.UNSIGNED_INT, i = 1) {
|
|
71317
71317
|
const r = this.json[A];
|
|
71318
71318
|
return r && Number.isFinite(r.byteOffset) ? this._getTypedArrayFromBinary(A, t, i, 1, r.byteOffset) : r;
|
|
71319
71319
|
}
|
|
@@ -71734,7 +71734,7 @@ function MdA(e, A, t) {
|
|
|
71734
71734
|
n[o * 3] = l[0], n[o * 3 + 1] = l[1], n[o * 3 + 2] = l[2];
|
|
71735
71735
|
}
|
|
71736
71736
|
return {
|
|
71737
|
-
type:
|
|
71737
|
+
type: kr.UNSIGNED_BYTE,
|
|
71738
71738
|
value: n,
|
|
71739
71739
|
size: 3,
|
|
71740
71740
|
normalized: !0
|
|
@@ -71747,19 +71747,19 @@ function MdA(e, A, t) {
|
|
|
71747
71747
|
n[o * 3] = a[0], n[o * 3 + 1] = a[1], n[o * 3 + 2] = a[2];
|
|
71748
71748
|
}
|
|
71749
71749
|
return {
|
|
71750
|
-
type:
|
|
71750
|
+
type: kr.UNSIGNED_BYTE,
|
|
71751
71751
|
value: n,
|
|
71752
71752
|
size: 3,
|
|
71753
71753
|
normalized: !0
|
|
71754
71754
|
};
|
|
71755
71755
|
}
|
|
71756
71756
|
return A && A.length === s * 3 ? {
|
|
71757
|
-
type:
|
|
71757
|
+
type: kr.UNSIGNED_BYTE,
|
|
71758
71758
|
value: A,
|
|
71759
71759
|
size: 3,
|
|
71760
71760
|
normalized: !0
|
|
71761
71761
|
} : {
|
|
71762
|
-
type:
|
|
71762
|
+
type: kr.UNSIGNED_BYTE,
|
|
71763
71763
|
value: A || new Uint8ClampedArray(),
|
|
71764
71764
|
size: 4,
|
|
71765
71765
|
normalized: !0
|
|
@@ -71774,20 +71774,20 @@ function pae(e, A) {
|
|
|
71774
71774
|
for (let i = 0; i < (e.pointsLength || 0); i++)
|
|
71775
71775
|
aae(A[i * 2], A[i * 2 + 1], bAA), bAA.toArray(t, i * 3);
|
|
71776
71776
|
return {
|
|
71777
|
-
type:
|
|
71777
|
+
type: kr.FLOAT,
|
|
71778
71778
|
size: 2,
|
|
71779
71779
|
value: t
|
|
71780
71780
|
};
|
|
71781
71781
|
}
|
|
71782
71782
|
return {
|
|
71783
|
-
type:
|
|
71783
|
+
type: kr.FLOAT,
|
|
71784
71784
|
size: 2,
|
|
71785
71785
|
value: A
|
|
71786
71786
|
};
|
|
71787
71787
|
}
|
|
71788
71788
|
function yae(e, A, t) {
|
|
71789
71789
|
return e.isQuantized ? t["3d-tiles"] && t["3d-tiles"].decodeQuantizedPositions ? (e.isQuantized = !1, mae(e, A)) : {
|
|
71790
|
-
type:
|
|
71790
|
+
type: kr.UNSIGNED_SHORT,
|
|
71791
71791
|
value: A,
|
|
71792
71792
|
size: 3,
|
|
71793
71793
|
normalized: !0
|
|
@@ -71816,7 +71816,7 @@ function Sae(e) {
|
|
|
71816
71816
|
const A = new mq(e.featureTableJson, e.featureTableBinary), t = A.getGlobalProperty("POINTS_LENGTH");
|
|
71817
71817
|
if (!Number.isFinite(t))
|
|
71818
71818
|
throw new Error("POINTS_LENGTH must be defined");
|
|
71819
|
-
A.featuresLength = t, e.featuresLength = t, e.pointsLength = t, e.pointCount = t, e.rtcCenter = A.getGlobalProperty("RTC_CENTER",
|
|
71819
|
+
A.featuresLength = t, e.featuresLength = t, e.pointsLength = t, e.pointCount = t, e.rtcCenter = A.getGlobalProperty("RTC_CENTER", kr.FLOAT, 3);
|
|
71820
71820
|
const i = Nae(e, A);
|
|
71821
71821
|
return { featureTable: A, batchTable: i };
|
|
71822
71822
|
}
|
|
@@ -71828,12 +71828,12 @@ function bae(e, A, t) {
|
|
|
71828
71828
|
batchIds: null
|
|
71829
71829
|
}, !e.attributes.positions) {
|
|
71830
71830
|
if (A.hasProperty("POSITION"))
|
|
71831
|
-
e.attributes.positions = A.getPropertyArray("POSITION",
|
|
71831
|
+
e.attributes.positions = A.getPropertyArray("POSITION", kr.FLOAT, 3);
|
|
71832
71832
|
else if (A.hasProperty("POSITION_QUANTIZED")) {
|
|
71833
|
-
const i = A.getPropertyArray("POSITION_QUANTIZED",
|
|
71834
|
-
if (e.isQuantized = !0, e.quantizedRange = 65535, e.quantizedVolumeScale = A.getGlobalProperty("QUANTIZED_VOLUME_SCALE",
|
|
71833
|
+
const i = A.getPropertyArray("POSITION_QUANTIZED", kr.UNSIGNED_SHORT, 3);
|
|
71834
|
+
if (e.isQuantized = !0, e.quantizedRange = 65535, e.quantizedVolumeScale = A.getGlobalProperty("QUANTIZED_VOLUME_SCALE", kr.FLOAT, 3), !e.quantizedVolumeScale)
|
|
71835
71835
|
throw new Error("QUANTIZED_VOLUME_SCALE must be defined for quantized positions.");
|
|
71836
|
-
if (e.quantizedVolumeOffset = A.getGlobalProperty("QUANTIZED_VOLUME_OFFSET",
|
|
71836
|
+
if (e.quantizedVolumeOffset = A.getGlobalProperty("QUANTIZED_VOLUME_OFFSET", kr.FLOAT, 3), !e.quantizedVolumeOffset)
|
|
71837
71837
|
throw new Error("QUANTIZED_VOLUME_OFFSET must be defined for quantized positions.");
|
|
71838
71838
|
e.attributes.positions = yae(e, i, t);
|
|
71839
71839
|
}
|
|
@@ -71849,9 +71849,9 @@ function Rae(e, A, t) {
|
|
|
71849
71849
|
batchIds: null
|
|
71850
71850
|
}, !e.attributes.colors) {
|
|
71851
71851
|
let i = null;
|
|
71852
|
-
A.hasProperty("RGBA") ? (i = A.getPropertyArray("RGBA",
|
|
71852
|
+
A.hasProperty("RGBA") ? (i = A.getPropertyArray("RGBA", kr.UNSIGNED_BYTE, 4), e.isTranslucent = !0) : A.hasProperty("RGB") ? i = A.getPropertyArray("RGB", kr.UNSIGNED_BYTE, 3) : A.hasProperty("RGB565") && (i = A.getPropertyArray("RGB565", kr.UNSIGNED_SHORT, 1), e.isRGB565 = !0), e.attributes.colors = MdA(e, i, t);
|
|
71853
71853
|
}
|
|
71854
|
-
A.hasProperty("CONSTANT_RGBA") && (e.constantRGBA = A.getGlobalProperty("CONSTANT_RGBA",
|
|
71854
|
+
A.hasProperty("CONSTANT_RGBA") && (e.constantRGBA = A.getGlobalProperty("CONSTANT_RGBA", kr.UNSIGNED_BYTE, 4));
|
|
71855
71855
|
}
|
|
71856
71856
|
function Fae(e, A) {
|
|
71857
71857
|
if (e.attributes = e.attributes || {
|
|
@@ -71861,12 +71861,12 @@ function Fae(e, A) {
|
|
|
71861
71861
|
batchIds: null
|
|
71862
71862
|
}, !e.attributes.normals) {
|
|
71863
71863
|
let t = null;
|
|
71864
|
-
A.hasProperty("NORMAL") ? t = A.getPropertyArray("NORMAL",
|
|
71864
|
+
A.hasProperty("NORMAL") ? t = A.getPropertyArray("NORMAL", kr.FLOAT, 3) : A.hasProperty("NORMAL_OCT16P") && (t = A.getPropertyArray("NORMAL_OCT16P", kr.UNSIGNED_BYTE, 2), e.isOctEncoded16P = !0), e.attributes.normals = pae(e, t);
|
|
71865
71865
|
}
|
|
71866
71866
|
}
|
|
71867
71867
|
function Nae(e, A) {
|
|
71868
71868
|
let t = null;
|
|
71869
|
-
if (!e.batchIds && A.hasProperty("BATCH_ID") && (e.batchIds = A.getPropertyArray("BATCH_ID",
|
|
71869
|
+
if (!e.batchIds && A.hasProperty("BATCH_ID") && (e.batchIds = A.getPropertyArray("BATCH_ID", kr.UNSIGNED_SHORT, 1), e.batchIds)) {
|
|
71870
71870
|
const i = A.getGlobalProperty("BATCH_LENGTH");
|
|
71871
71871
|
if (!i)
|
|
71872
71872
|
throw new Error("Global property: BATCH_LENGTH must be defined when BATCH_ID is defined.");
|
|
@@ -71978,7 +71978,7 @@ async function xae(e, A, t, i, r) {
|
|
|
71978
71978
|
function Gae(e, A, t, i, r) {
|
|
71979
71979
|
t = GG(e, A, t), t = wq(e, A, t), t = Dq(e, A, t), t = vdA(e, A, t, i);
|
|
71980
71980
|
const s = new mq(e.featureTableJson, e.featureTableBinary);
|
|
71981
|
-
return e.rtcCenter = s.getGlobalProperty("RTC_CENTER",
|
|
71981
|
+
return e.rtcCenter = s.getGlobalProperty("RTC_CENTER", kr.FLOAT, 3), t;
|
|
71982
71982
|
}
|
|
71983
71983
|
async function kae(e, A, t, i, r) {
|
|
71984
71984
|
return t = Lae(e, A, t, i), await _dA(e, e.gltfFormat || 0, i, r), t;
|
|
@@ -71993,7 +71993,7 @@ function Lae(e, A, t, i, r) {
|
|
|
71993
71993
|
const n = new mq(e.featureTableJson, e.featureTableBinary), o = n.getGlobalProperty("INSTANCES_LENGTH");
|
|
71994
71994
|
if (n.featuresLength = o, !Number.isFinite(o))
|
|
71995
71995
|
throw new Error("i3dm parser: INSTANCES_LENGTH must be defined");
|
|
71996
|
-
e.eastNorthUp = n.getGlobalProperty("EAST_NORTH_UP"), e.rtcCenter = n.getGlobalProperty("RTC_CENTER",
|
|
71996
|
+
e.eastNorthUp = n.getGlobalProperty("EAST_NORTH_UP"), e.rtcCenter = n.getGlobalProperty("RTC_CENTER", kr.FLOAT, 3);
|
|
71997
71997
|
const a = new NdA(e.batchTableJson, e.batchTableBinary, o);
|
|
71998
71998
|
return Uae(e, n, a, o), t;
|
|
71999
71999
|
}
|
|
@@ -72004,13 +72004,13 @@ function Uae(e, A, t, i) {
|
|
|
72004
72004
|
for (let G = 0; G < i; G++) {
|
|
72005
72005
|
let U;
|
|
72006
72006
|
if (A.hasProperty("POSITION"))
|
|
72007
|
-
U = A.getProperty("POSITION",
|
|
72007
|
+
U = A.getProperty("POSITION", kr.FLOAT, 3, G, s);
|
|
72008
72008
|
else if (A.hasProperty("POSITION_QUANTIZED")) {
|
|
72009
|
-
U = A.getProperty("POSITION_QUANTIZED",
|
|
72010
|
-
const nA = A.getGlobalProperty("QUANTIZED_VOLUME_OFFSET",
|
|
72009
|
+
U = A.getProperty("POSITION_QUANTIZED", kr.UNSIGNED_SHORT, 3, G, s);
|
|
72010
|
+
const nA = A.getGlobalProperty("QUANTIZED_VOLUME_OFFSET", kr.FLOAT, 3);
|
|
72011
72011
|
if (!nA)
|
|
72012
72012
|
throw new Error("i3dm parser: QUANTIZED_VOLUME_OFFSET must be defined for quantized positions.");
|
|
72013
|
-
const lA = A.getGlobalProperty("QUANTIZED_VOLUME_SCALE",
|
|
72013
|
+
const lA = A.getGlobalProperty("QUANTIZED_VOLUME_SCALE", kr.FLOAT, 3);
|
|
72014
72014
|
if (!lA)
|
|
72015
72015
|
throw new Error("i3dm parser: QUANTIZED_VOLUME_SCALE must be defined for quantized positions.");
|
|
72016
72016
|
const CA = 65535;
|
|
@@ -72019,21 +72019,21 @@ function Uae(e, A, t, i) {
|
|
|
72019
72019
|
}
|
|
72020
72020
|
if (!U)
|
|
72021
72021
|
throw new Error("i3dm: POSITION or POSITION_QUANTIZED must be defined for each instance.");
|
|
72022
|
-
if (s.copy(U), g.translation = s, e.normalUp = A.getProperty("NORMAL_UP",
|
|
72022
|
+
if (s.copy(U), g.translation = s, e.normalUp = A.getProperty("NORMAL_UP", kr.FLOAT, 3, G, C), e.normalRight = A.getProperty("NORMAL_RIGHT", kr.FLOAT, 3, G, Q), e.normalUp) {
|
|
72023
72023
|
if (!e.normalRight)
|
|
72024
72024
|
throw new Error("i3dm: Custom orientation requires both NORMAL_UP and NORMAL_RIGHT.");
|
|
72025
72025
|
e.hasCustomOrientation = !0;
|
|
72026
72026
|
} else {
|
|
72027
|
-
if (e.octNormalUp = A.getProperty("NORMAL_UP_OCT32P",
|
|
72027
|
+
if (e.octNormalUp = A.getProperty("NORMAL_UP_OCT32P", kr.UNSIGNED_SHORT, 2, G, C), e.octNormalRight = A.getProperty("NORMAL_RIGHT_OCT32P", kr.UNSIGNED_SHORT, 2, G, Q), e.octNormalUp)
|
|
72028
72028
|
throw e.octNormalRight ? new Error("i3dm: oct-encoded orientation not implemented") : new Error("i3dm: oct-encoded orientation requires NORMAL_UP_OCT32P and NORMAL_RIGHT_OCT32P");
|
|
72029
72029
|
e.eastNorthUp ? (Ds.WGS84.eastNorthUpToFixedFrame(s, l), l.getRotationMatrix3(n)) : n.identity();
|
|
72030
72030
|
}
|
|
72031
72031
|
o.fromMatrix3(n), g.rotation = o, a.set(1, 1, 1);
|
|
72032
|
-
const Y = A.getProperty("SCALE",
|
|
72032
|
+
const Y = A.getProperty("SCALE", kr.FLOAT, 1, G, f);
|
|
72033
72033
|
Number.isFinite(Y) && a.multiplyByScalar(Y);
|
|
72034
|
-
const O = A.getProperty("SCALE_NON_UNIFORM",
|
|
72034
|
+
const O = A.getProperty("SCALE_NON_UNIFORM", kr.FLOAT, 3, G, C);
|
|
72035
72035
|
O && a.scale(O), g.scale = a;
|
|
72036
|
-
let W = A.getProperty("BATCH_ID",
|
|
72036
|
+
let W = A.getProperty("BATCH_ID", kr.UNSIGNED_SHORT, 1, G, D);
|
|
72037
72037
|
W === void 0 && (W = G);
|
|
72038
72038
|
const AA = new $t().fromQuaternion(g.rotation);
|
|
72039
72039
|
l.identity(), l.translate(g.translation), l.multiplyRight(AA), l.scale(g.scale);
|
|
@@ -82552,6 +82552,9 @@ Qg({
|
|
|
82552
82552
|
{ attr: "max-angle", kind: "scalar", deckProp: "maxAngle", type: "number", default: 45 },
|
|
82553
82553
|
{ attr: "orientation", kind: "scalar", deckProp: "orientation", type: "string", default: "curve" },
|
|
82554
82554
|
{ attr: "max-labels", kind: "scalar", deckProp: "maxLabels", type: "number", default: 2e3 },
|
|
82555
|
+
// Clickable like any other layer: a pick reports the row the label
|
|
82556
|
+
// spells (OmTextOnPathLayer.getPickingInfo), so `{{name}}` popups work.
|
|
82557
|
+
{ attr: "pickable", kind: "scalar", deckProp: "pickable", type: "boolean", default: !1 },
|
|
82555
82558
|
{ attr: "opacity", kind: "scalar", deckProp: "opacity", type: "number", default: 1 },
|
|
82556
82559
|
{ attr: "visible", kind: "scalar", deckProp: "visible", type: "boolean", default: !0 }
|
|
82557
82560
|
]
|
|
@@ -82733,42 +82736,42 @@ function zh(e, A) {
|
|
|
82733
82736
|
function fE(e, A) {
|
|
82734
82737
|
return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Zhe.test(String.fromCharCode(e)) : A === !1 ? !1 : WJ(e, A0A) || WJ(e, Whe);
|
|
82735
82738
|
}
|
|
82736
|
-
var
|
|
82739
|
+
var Gr = function(A, t) {
|
|
82737
82740
|
t === void 0 && (t = {}), this.label = A, this.keyword = t.keyword, this.beforeExpr = !!t.beforeExpr, this.startsExpr = !!t.startsExpr, this.isLoop = !!t.isLoop, this.isAssign = !!t.isAssign, this.prefix = !!t.prefix, this.postfix = !!t.postfix, this.binop = t.binop || null, this.updateContext = null;
|
|
82738
82741
|
};
|
|
82739
82742
|
function OI(e, A) {
|
|
82740
|
-
return new
|
|
82743
|
+
return new Gr(e, { beforeExpr: !0, binop: A });
|
|
82741
82744
|
}
|
|
82742
82745
|
var qI = { beforeExpr: !0 }, xg = { startsExpr: !0 }, Wq = {};
|
|
82743
|
-
function
|
|
82744
|
-
return A === void 0 && (A = {}), A.keyword = e, Wq[e] = new
|
|
82746
|
+
function Dr(e, A) {
|
|
82747
|
+
return A === void 0 && (A = {}), A.keyword = e, Wq[e] = new Gr(e, A);
|
|
82745
82748
|
}
|
|
82746
82749
|
var TA = {
|
|
82747
|
-
num: new
|
|
82748
|
-
regexp: new
|
|
82749
|
-
string: new
|
|
82750
|
-
name: new
|
|
82751
|
-
privateId: new
|
|
82752
|
-
eof: new
|
|
82750
|
+
num: new Gr("num", xg),
|
|
82751
|
+
regexp: new Gr("regexp", xg),
|
|
82752
|
+
string: new Gr("string", xg),
|
|
82753
|
+
name: new Gr("name", xg),
|
|
82754
|
+
privateId: new Gr("privateId", xg),
|
|
82755
|
+
eof: new Gr("eof"),
|
|
82753
82756
|
// Punctuation token types.
|
|
82754
|
-
bracketL: new
|
|
82755
|
-
bracketR: new
|
|
82756
|
-
braceL: new
|
|
82757
|
-
braceR: new
|
|
82758
|
-
parenL: new
|
|
82759
|
-
parenR: new
|
|
82760
|
-
comma: new
|
|
82761
|
-
semi: new
|
|
82762
|
-
colon: new
|
|
82763
|
-
dot: new
|
|
82764
|
-
question: new
|
|
82765
|
-
questionDot: new
|
|
82766
|
-
arrow: new
|
|
82767
|
-
template: new
|
|
82768
|
-
invalidTemplate: new
|
|
82769
|
-
ellipsis: new
|
|
82770
|
-
backQuote: new
|
|
82771
|
-
dollarBraceL: new
|
|
82757
|
+
bracketL: new Gr("[", { beforeExpr: !0, startsExpr: !0 }),
|
|
82758
|
+
bracketR: new Gr("]"),
|
|
82759
|
+
braceL: new Gr("{", { beforeExpr: !0, startsExpr: !0 }),
|
|
82760
|
+
braceR: new Gr("}"),
|
|
82761
|
+
parenL: new Gr("(", { beforeExpr: !0, startsExpr: !0 }),
|
|
82762
|
+
parenR: new Gr(")"),
|
|
82763
|
+
comma: new Gr(",", qI),
|
|
82764
|
+
semi: new Gr(";", qI),
|
|
82765
|
+
colon: new Gr(":", qI),
|
|
82766
|
+
dot: new Gr("."),
|
|
82767
|
+
question: new Gr("?", qI),
|
|
82768
|
+
questionDot: new Gr("?."),
|
|
82769
|
+
arrow: new Gr("=>", qI),
|
|
82770
|
+
template: new Gr("template"),
|
|
82771
|
+
invalidTemplate: new Gr("invalidTemplate"),
|
|
82772
|
+
ellipsis: new Gr("...", qI),
|
|
82773
|
+
backQuote: new Gr("`", xg),
|
|
82774
|
+
dollarBraceL: new Gr("${", { beforeExpr: !0, startsExpr: !0 }),
|
|
82772
82775
|
// Operators. These carry several kinds of properties to help the
|
|
82773
82776
|
// parser use them properly (the presence of these properties is
|
|
82774
82777
|
// what categorizes them as operators).
|
|
@@ -82782,10 +82785,10 @@ var TA = {
|
|
|
82782
82785
|
// `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as
|
|
82783
82786
|
// binary operators with a very low precedence, that should result
|
|
82784
82787
|
// in AssignmentExpression nodes.
|
|
82785
|
-
eq: new
|
|
82786
|
-
assign: new
|
|
82787
|
-
incDec: new
|
|
82788
|
-
prefix: new
|
|
82788
|
+
eq: new Gr("=", { beforeExpr: !0, isAssign: !0 }),
|
|
82789
|
+
assign: new Gr("_=", { beforeExpr: !0, isAssign: !0 }),
|
|
82790
|
+
incDec: new Gr("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
|
|
82791
|
+
prefix: new Gr("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
82789
82792
|
logicalOR: OI("||", 1),
|
|
82790
82793
|
logicalAND: OI("&&", 2),
|
|
82791
82794
|
bitwiseOR: OI("|", 3),
|
|
@@ -82794,48 +82797,48 @@ var TA = {
|
|
|
82794
82797
|
equality: OI("==/!=/===/!==", 6),
|
|
82795
82798
|
relational: OI("</>/<=/>=", 7),
|
|
82796
82799
|
bitShift: OI("<</>>/>>>", 8),
|
|
82797
|
-
plusMin: new
|
|
82800
|
+
plusMin: new Gr("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
|
|
82798
82801
|
modulo: OI("%", 10),
|
|
82799
82802
|
star: OI("*", 10),
|
|
82800
82803
|
slash: OI("/", 10),
|
|
82801
|
-
starstar: new
|
|
82804
|
+
starstar: new Gr("**", { beforeExpr: !0 }),
|
|
82802
82805
|
coalesce: OI("??", 1),
|
|
82803
82806
|
// Keyword token types.
|
|
82804
|
-
_break:
|
|
82805
|
-
_case:
|
|
82806
|
-
_catch:
|
|
82807
|
-
_continue:
|
|
82808
|
-
_debugger:
|
|
82809
|
-
_default:
|
|
82810
|
-
_do:
|
|
82811
|
-
_else:
|
|
82812
|
-
_finally:
|
|
82813
|
-
_for:
|
|
82814
|
-
_function:
|
|
82815
|
-
_if:
|
|
82816
|
-
_return:
|
|
82817
|
-
_switch:
|
|
82818
|
-
_throw:
|
|
82819
|
-
_try:
|
|
82820
|
-
_var:
|
|
82821
|
-
_const:
|
|
82822
|
-
_while:
|
|
82823
|
-
_with:
|
|
82824
|
-
_new:
|
|
82825
|
-
_this:
|
|
82826
|
-
_super:
|
|
82827
|
-
_class:
|
|
82828
|
-
_extends:
|
|
82829
|
-
_export:
|
|
82830
|
-
_import:
|
|
82831
|
-
_null:
|
|
82832
|
-
_true:
|
|
82833
|
-
_false:
|
|
82834
|
-
_in:
|
|
82835
|
-
_instanceof:
|
|
82836
|
-
_typeof:
|
|
82837
|
-
_void:
|
|
82838
|
-
_delete:
|
|
82807
|
+
_break: Dr("break"),
|
|
82808
|
+
_case: Dr("case", qI),
|
|
82809
|
+
_catch: Dr("catch"),
|
|
82810
|
+
_continue: Dr("continue"),
|
|
82811
|
+
_debugger: Dr("debugger"),
|
|
82812
|
+
_default: Dr("default", qI),
|
|
82813
|
+
_do: Dr("do", { isLoop: !0, beforeExpr: !0 }),
|
|
82814
|
+
_else: Dr("else", qI),
|
|
82815
|
+
_finally: Dr("finally"),
|
|
82816
|
+
_for: Dr("for", { isLoop: !0 }),
|
|
82817
|
+
_function: Dr("function", xg),
|
|
82818
|
+
_if: Dr("if"),
|
|
82819
|
+
_return: Dr("return", qI),
|
|
82820
|
+
_switch: Dr("switch"),
|
|
82821
|
+
_throw: Dr("throw", qI),
|
|
82822
|
+
_try: Dr("try"),
|
|
82823
|
+
_var: Dr("var"),
|
|
82824
|
+
_const: Dr("const"),
|
|
82825
|
+
_while: Dr("while", { isLoop: !0 }),
|
|
82826
|
+
_with: Dr("with"),
|
|
82827
|
+
_new: Dr("new", { beforeExpr: !0, startsExpr: !0 }),
|
|
82828
|
+
_this: Dr("this", xg),
|
|
82829
|
+
_super: Dr("super", xg),
|
|
82830
|
+
_class: Dr("class", xg),
|
|
82831
|
+
_extends: Dr("extends", qI),
|
|
82832
|
+
_export: Dr("export"),
|
|
82833
|
+
_import: Dr("import", xg),
|
|
82834
|
+
_null: Dr("null", xg),
|
|
82835
|
+
_true: Dr("true", xg),
|
|
82836
|
+
_false: Dr("false", xg),
|
|
82837
|
+
_in: Dr("in", { beforeExpr: !0, binop: 7 }),
|
|
82838
|
+
_instanceof: Dr("instanceof", { beforeExpr: !0, binop: 7 }),
|
|
82839
|
+
_typeof: Dr("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
82840
|
+
_void: Dr("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
82841
|
+
_delete: Dr("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
|
|
82839
82842
|
}, jg = /\r\n?|\n|\u2028|\u2029/, Xhe = new RegExp(jg.source, "g");
|
|
82840
82843
|
function ow(e) {
|
|
82841
82844
|
return e === 10 || e === 13 || e === 8232 || e === 8233;
|
|
@@ -85344,14 +85347,14 @@ si.regexp_eatFixedHexDigits = function(e, A) {
|
|
|
85344
85347
|
};
|
|
85345
85348
|
var $q = function(A) {
|
|
85346
85349
|
this.type = A.type, this.value = A.value, this.start = A.start, this.end = A.end, A.options.locations && (this.loc = new qG(A, A.startLoc, A.endLoc)), A.options.ranges && (this.range = [A.start, A.end]);
|
|
85347
|
-
},
|
|
85348
|
-
|
|
85350
|
+
}, fr = co.prototype;
|
|
85351
|
+
fr.next = function(e) {
|
|
85349
85352
|
!e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new $q(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
|
|
85350
85353
|
};
|
|
85351
|
-
|
|
85354
|
+
fr.getToken = function() {
|
|
85352
85355
|
return this.next(), new $q(this);
|
|
85353
85356
|
};
|
|
85354
|
-
typeof Symbol < "u" && (
|
|
85357
|
+
typeof Symbol < "u" && (fr[Symbol.iterator] = function() {
|
|
85355
85358
|
var e = this;
|
|
85356
85359
|
return {
|
|
85357
85360
|
next: function() {
|
|
@@ -85363,7 +85366,7 @@ typeof Symbol < "u" && (dr[Symbol.iterator] = function() {
|
|
|
85363
85366
|
}
|
|
85364
85367
|
};
|
|
85365
85368
|
});
|
|
85366
|
-
|
|
85369
|
+
fr.nextToken = function() {
|
|
85367
85370
|
var e = this.curContext();
|
|
85368
85371
|
if ((!e || !e.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length)
|
|
85369
85372
|
return this.finishToken(TA.eof);
|
|
@@ -85371,20 +85374,20 @@ dr.nextToken = function() {
|
|
|
85371
85374
|
return e.override(this);
|
|
85372
85375
|
this.readToken(this.fullCharCodeAtPos());
|
|
85373
85376
|
};
|
|
85374
|
-
|
|
85377
|
+
fr.readToken = function(e) {
|
|
85375
85378
|
return zh(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
|
|
85376
85379
|
};
|
|
85377
|
-
|
|
85380
|
+
fr.fullCharCodeAt = function(e) {
|
|
85378
85381
|
var A = this.input.charCodeAt(e);
|
|
85379
85382
|
if (A <= 55295 || A >= 56320)
|
|
85380
85383
|
return A;
|
|
85381
85384
|
var t = this.input.charCodeAt(e + 1);
|
|
85382
85385
|
return t <= 56319 || t >= 57344 ? A : (A << 10) + t - 56613888;
|
|
85383
85386
|
};
|
|
85384
|
-
|
|
85387
|
+
fr.fullCharCodeAtPos = function() {
|
|
85385
85388
|
return this.fullCharCodeAt(this.pos);
|
|
85386
85389
|
};
|
|
85387
|
-
|
|
85390
|
+
fr.skipBlockComment = function() {
|
|
85388
85391
|
var e = this.options.onComment && this.curPosition(), A = this.pos, t = this.input.indexOf("*/", this.pos += 2);
|
|
85389
85392
|
if (t === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = t + 2, this.options.locations)
|
|
85390
85393
|
for (var i = void 0, r = A; (i = i0A(this.input, r, this.pos)) > -1; )
|
|
@@ -85398,7 +85401,7 @@ dr.skipBlockComment = function() {
|
|
|
85398
85401
|
this.curPosition()
|
|
85399
85402
|
);
|
|
85400
85403
|
};
|
|
85401
|
-
|
|
85404
|
+
fr.skipLineComment = function(e) {
|
|
85402
85405
|
for (var A = this.pos, t = this.options.onComment && this.curPosition(), i = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !ow(i); )
|
|
85403
85406
|
i = this.input.charCodeAt(++this.pos);
|
|
85404
85407
|
this.options.onComment && this.options.onComment(
|
|
@@ -85410,7 +85413,7 @@ dr.skipLineComment = function(e) {
|
|
|
85410
85413
|
this.curPosition()
|
|
85411
85414
|
);
|
|
85412
85415
|
};
|
|
85413
|
-
|
|
85416
|
+
fr.skipSpace = function() {
|
|
85414
85417
|
A: for (; this.pos < this.input.length; ) {
|
|
85415
85418
|
var e = this.input.charCodeAt(this.pos);
|
|
85416
85419
|
switch (e) {
|
|
@@ -85445,27 +85448,27 @@ dr.skipSpace = function() {
|
|
|
85445
85448
|
}
|
|
85446
85449
|
}
|
|
85447
85450
|
};
|
|
85448
|
-
|
|
85451
|
+
fr.finishToken = function(e, A) {
|
|
85449
85452
|
this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
|
|
85450
85453
|
var t = this.type;
|
|
85451
85454
|
this.type = e, this.value = A, this.updateContext(t);
|
|
85452
85455
|
};
|
|
85453
|
-
|
|
85456
|
+
fr.readToken_dot = function() {
|
|
85454
85457
|
var e = this.input.charCodeAt(this.pos + 1);
|
|
85455
85458
|
if (e >= 48 && e <= 57)
|
|
85456
85459
|
return this.readNumber(!0);
|
|
85457
85460
|
var A = this.input.charCodeAt(this.pos + 2);
|
|
85458
85461
|
return this.options.ecmaVersion >= 6 && e === 46 && A === 46 ? (this.pos += 3, this.finishToken(TA.ellipsis)) : (++this.pos, this.finishToken(TA.dot));
|
|
85459
85462
|
};
|
|
85460
|
-
|
|
85463
|
+
fr.readToken_slash = function() {
|
|
85461
85464
|
var e = this.input.charCodeAt(this.pos + 1);
|
|
85462
85465
|
return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(TA.assign, 2) : this.finishOp(TA.slash, 1);
|
|
85463
85466
|
};
|
|
85464
|
-
|
|
85467
|
+
fr.readToken_mult_modulo_exp = function(e) {
|
|
85465
85468
|
var A = this.input.charCodeAt(this.pos + 1), t = 1, i = e === 42 ? TA.star : TA.modulo;
|
|
85466
85469
|
return this.options.ecmaVersion >= 7 && e === 42 && A === 42 && (++t, i = TA.starstar, A = this.input.charCodeAt(this.pos + 2)), A === 61 ? this.finishOp(TA.assign, t + 1) : this.finishOp(i, t);
|
|
85467
85470
|
};
|
|
85468
|
-
|
|
85471
|
+
fr.readToken_pipe_amp = function(e) {
|
|
85469
85472
|
var A = this.input.charCodeAt(this.pos + 1);
|
|
85470
85473
|
if (A === e) {
|
|
85471
85474
|
if (this.options.ecmaVersion >= 12) {
|
|
@@ -85477,23 +85480,23 @@ dr.readToken_pipe_amp = function(e) {
|
|
|
85477
85480
|
}
|
|
85478
85481
|
return A === 61 ? this.finishOp(TA.assign, 2) : this.finishOp(e === 124 ? TA.bitwiseOR : TA.bitwiseAND, 1);
|
|
85479
85482
|
};
|
|
85480
|
-
|
|
85483
|
+
fr.readToken_caret = function() {
|
|
85481
85484
|
var e = this.input.charCodeAt(this.pos + 1);
|
|
85482
85485
|
return e === 61 ? this.finishOp(TA.assign, 2) : this.finishOp(TA.bitwiseXOR, 1);
|
|
85483
85486
|
};
|
|
85484
|
-
|
|
85487
|
+
fr.readToken_plus_min = function(e) {
|
|
85485
85488
|
var A = this.input.charCodeAt(this.pos + 1);
|
|
85486
85489
|
return A === e ? A === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || jg.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(TA.incDec, 2) : A === 61 ? this.finishOp(TA.assign, 2) : this.finishOp(TA.plusMin, 1);
|
|
85487
85490
|
};
|
|
85488
|
-
|
|
85491
|
+
fr.readToken_lt_gt = function(e) {
|
|
85489
85492
|
var A = this.input.charCodeAt(this.pos + 1), t = 1;
|
|
85490
85493
|
return A === e ? (t = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + t) === 61 ? this.finishOp(TA.assign, t + 1) : this.finishOp(TA.bitShift, t)) : A === 33 && e === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (A === 61 && (t = 2), this.finishOp(TA.relational, t));
|
|
85491
85494
|
};
|
|
85492
|
-
|
|
85495
|
+
fr.readToken_eq_excl = function(e) {
|
|
85493
85496
|
var A = this.input.charCodeAt(this.pos + 1);
|
|
85494
85497
|
return A === 61 ? this.finishOp(TA.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && A === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(TA.arrow)) : this.finishOp(e === 61 ? TA.eq : TA.prefix, 1);
|
|
85495
85498
|
};
|
|
85496
|
-
|
|
85499
|
+
fr.readToken_question = function() {
|
|
85497
85500
|
var e = this.options.ecmaVersion;
|
|
85498
85501
|
if (e >= 11) {
|
|
85499
85502
|
var A = this.input.charCodeAt(this.pos + 1);
|
|
@@ -85513,13 +85516,13 @@ dr.readToken_question = function() {
|
|
|
85513
85516
|
}
|
|
85514
85517
|
return this.finishOp(TA.question, 1);
|
|
85515
85518
|
};
|
|
85516
|
-
|
|
85519
|
+
fr.readToken_numberSign = function() {
|
|
85517
85520
|
var e = this.options.ecmaVersion, A = 35;
|
|
85518
85521
|
if (e >= 13 && (++this.pos, A = this.fullCharCodeAtPos(), zh(A, !0) || A === 92))
|
|
85519
85522
|
return this.finishToken(TA.privateId, this.readWord1());
|
|
85520
85523
|
this.raise(this.pos, "Unexpected character '" + yC(A) + "'");
|
|
85521
85524
|
};
|
|
85522
|
-
|
|
85525
|
+
fr.getTokenFromCode = function(e) {
|
|
85523
85526
|
switch (e) {
|
|
85524
85527
|
// The interpretation of a dot depends on whether it is followed
|
|
85525
85528
|
// by a digit or another two dots.
|
|
@@ -85606,11 +85609,11 @@ dr.getTokenFromCode = function(e) {
|
|
|
85606
85609
|
}
|
|
85607
85610
|
this.raise(this.pos, "Unexpected character '" + yC(e) + "'");
|
|
85608
85611
|
};
|
|
85609
|
-
|
|
85612
|
+
fr.finishOp = function(e, A) {
|
|
85610
85613
|
var t = this.input.slice(this.pos, this.pos + A);
|
|
85611
85614
|
return this.pos += A, this.finishToken(e, t);
|
|
85612
85615
|
};
|
|
85613
|
-
|
|
85616
|
+
fr.readRegexp = function() {
|
|
85614
85617
|
for (var e, A, t = this.pos; ; ) {
|
|
85615
85618
|
this.pos >= this.input.length && this.raise(t, "Unterminated regular expression");
|
|
85616
85619
|
var i = this.input.charAt(this.pos);
|
|
@@ -85640,7 +85643,7 @@ dr.readRegexp = function() {
|
|
|
85640
85643
|
}
|
|
85641
85644
|
return this.finishToken(TA.regexp, { pattern: r, flags: n, value: a });
|
|
85642
85645
|
};
|
|
85643
|
-
|
|
85646
|
+
fr.readInt = function(e, A, t) {
|
|
85644
85647
|
for (var i = this.options.ecmaVersion >= 12 && A === void 0, r = t && this.input.charCodeAt(this.pos) === 48, s = this.pos, n = 0, o = 0, a = 0, g = A ?? 1 / 0; a < g; ++a, ++this.pos) {
|
|
85645
85648
|
var l = this.input.charCodeAt(this.pos), C = void 0;
|
|
85646
85649
|
if (i && l === 95) {
|
|
@@ -85659,13 +85662,13 @@ function FBe(e, A) {
|
|
|
85659
85662
|
function G0A(e) {
|
|
85660
85663
|
return typeof BigInt != "function" ? null : BigInt(e.replace(/_/g, ""));
|
|
85661
85664
|
}
|
|
85662
|
-
|
|
85665
|
+
fr.readRadixNumber = function(e) {
|
|
85663
85666
|
var A = this.pos;
|
|
85664
85667
|
this.pos += 2;
|
|
85665
85668
|
var t = this.readInt(e);
|
|
85666
85669
|
return t == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (t = G0A(this.input.slice(A, this.pos)), ++this.pos) : zh(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(TA.num, t);
|
|
85667
85670
|
};
|
|
85668
|
-
|
|
85671
|
+
fr.readNumber = function(e) {
|
|
85669
85672
|
var A = this.pos;
|
|
85670
85673
|
!e && this.readInt(10, void 0, !0) === null && this.raise(A, "Invalid number");
|
|
85671
85674
|
var t = this.pos - A >= 2 && this.input.charCodeAt(A) === 48;
|
|
@@ -85679,7 +85682,7 @@ dr.readNumber = function(e) {
|
|
|
85679
85682
|
var s = FBe(this.input.slice(A, this.pos), t);
|
|
85680
85683
|
return this.finishToken(TA.num, s);
|
|
85681
85684
|
};
|
|
85682
|
-
|
|
85685
|
+
fr.readCodePoint = function() {
|
|
85683
85686
|
var e = this.input.charCodeAt(this.pos), A;
|
|
85684
85687
|
if (e === 123) {
|
|
85685
85688
|
this.options.ecmaVersion < 6 && this.unexpected();
|
|
@@ -85689,7 +85692,7 @@ dr.readCodePoint = function() {
|
|
|
85689
85692
|
A = this.readHexChar(4);
|
|
85690
85693
|
return A;
|
|
85691
85694
|
};
|
|
85692
|
-
|
|
85695
|
+
fr.readString = function(e) {
|
|
85693
85696
|
for (var A = "", t = ++this.pos; ; ) {
|
|
85694
85697
|
this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
|
|
85695
85698
|
var i = this.input.charCodeAt(this.pos);
|
|
@@ -85700,7 +85703,7 @@ dr.readString = function(e) {
|
|
|
85700
85703
|
return A += this.input.slice(t, this.pos++), this.finishToken(TA.string, A);
|
|
85701
85704
|
};
|
|
85702
85705
|
var k0A = {};
|
|
85703
|
-
|
|
85706
|
+
fr.tryReadTemplateToken = function() {
|
|
85704
85707
|
this.inTemplateElement = !0;
|
|
85705
85708
|
try {
|
|
85706
85709
|
this.readTmplToken();
|
|
@@ -85712,12 +85715,12 @@ dr.tryReadTemplateToken = function() {
|
|
|
85712
85715
|
}
|
|
85713
85716
|
this.inTemplateElement = !1;
|
|
85714
85717
|
};
|
|
85715
|
-
|
|
85718
|
+
fr.invalidStringToken = function(e, A) {
|
|
85716
85719
|
if (this.inTemplateElement && this.options.ecmaVersion >= 9)
|
|
85717
85720
|
throw k0A;
|
|
85718
85721
|
this.raise(e, A);
|
|
85719
85722
|
};
|
|
85720
|
-
|
|
85723
|
+
fr.readTmplToken = function() {
|
|
85721
85724
|
for (var e = "", A = this.pos; ; ) {
|
|
85722
85725
|
this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
|
|
85723
85726
|
var t = this.input.charCodeAt(this.pos);
|
|
@@ -85742,7 +85745,7 @@ dr.readTmplToken = function() {
|
|
|
85742
85745
|
++this.pos;
|
|
85743
85746
|
}
|
|
85744
85747
|
};
|
|
85745
|
-
|
|
85748
|
+
fr.readInvalidTemplateToken = function() {
|
|
85746
85749
|
for (; this.pos < this.input.length; this.pos++)
|
|
85747
85750
|
switch (this.input[this.pos]) {
|
|
85748
85751
|
case "\\":
|
|
@@ -85767,7 +85770,7 @@ dr.readInvalidTemplateToken = function() {
|
|
|
85767
85770
|
}
|
|
85768
85771
|
this.raise(this.start, "Unterminated template");
|
|
85769
85772
|
};
|
|
85770
|
-
|
|
85773
|
+
fr.readEscapedChar = function(e) {
|
|
85771
85774
|
var A = this.input.charCodeAt(++this.pos);
|
|
85772
85775
|
switch (++this.pos, A) {
|
|
85773
85776
|
case 110:
|
|
@@ -85823,11 +85826,11 @@ dr.readEscapedChar = function(e) {
|
|
|
85823
85826
|
return ow(A) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(A);
|
|
85824
85827
|
}
|
|
85825
85828
|
};
|
|
85826
|
-
|
|
85829
|
+
fr.readHexChar = function(e) {
|
|
85827
85830
|
var A = this.pos, t = this.readInt(16, e);
|
|
85828
85831
|
return t === null && this.invalidStringToken(A, "Bad character escape sequence"), t;
|
|
85829
85832
|
};
|
|
85830
|
-
|
|
85833
|
+
fr.readWord1 = function() {
|
|
85831
85834
|
this.containsEsc = !1;
|
|
85832
85835
|
for (var e = "", A = !0, t = this.pos, i = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
|
|
85833
85836
|
var r = this.fullCharCodeAtPos();
|
|
@@ -85845,7 +85848,7 @@ dr.readWord1 = function() {
|
|
|
85845
85848
|
}
|
|
85846
85849
|
return e + this.input.slice(t, this.pos);
|
|
85847
85850
|
};
|
|
85848
|
-
|
|
85851
|
+
fr.readWord = function() {
|
|
85849
85852
|
var e = this.readWord1(), A = TA.name;
|
|
85850
85853
|
return this.keywords.test(e) && (A = Wq[e]), this.finishToken(A, e);
|
|
85851
85854
|
};
|
|
@@ -85858,7 +85861,7 @@ co.acorn = {
|
|
|
85858
85861
|
SourceLocation: qG,
|
|
85859
85862
|
getLineInfo: n0A,
|
|
85860
85863
|
Node: jG,
|
|
85861
|
-
TokenType:
|
|
85864
|
+
TokenType: Gr,
|
|
85862
85865
|
tokTypes: TA,
|
|
85863
85866
|
keywordTypes: Wq,
|
|
85864
85867
|
TokContext: el,
|
|
@@ -91132,8 +91135,8 @@ function Ede(e, A, t, i) {
|
|
|
91132
91135
|
for (let xe = 0; xe < i.length; xe++) i[xe] > g && (g = i[xe]);
|
|
91133
91136
|
const l = g > 65535, C = a ? l ? new Uint32Array(r * 3) : new Uint16Array(r * 3) : void 0, Q = new Uint32Array(r * 3);
|
|
91134
91137
|
for (let xe = 0; xe < r; xe++) {
|
|
91135
|
-
const fe = A[xe * 3], He = A[xe * 3 + 1], Re = A[xe * 3 + 2], Qe = e[fe * 3], Ge = e[fe * 3 + 1], we = e[fe * 3 + 2], We = e[He * 3], nt = e[He * 3 + 1], ze = e[He * 3 + 2], at = e[Re * 3], Tt = e[Re * 3 + 1], Ai = e[Re * 3 + 2], Wt = We - Qe, Ui = nt - Ge, Ut = ze - we, ei = at - Qe,
|
|
91136
|
-
let rr = Ui * vi - Ut *
|
|
91138
|
+
const fe = A[xe * 3], He = A[xe * 3 + 1], Re = A[xe * 3 + 2], Qe = e[fe * 3], Ge = e[fe * 3 + 1], we = e[fe * 3 + 2], We = e[He * 3], nt = e[He * 3 + 1], ze = e[He * 3 + 2], at = e[Re * 3], Tt = e[Re * 3 + 1], Ai = e[Re * 3 + 2], Wt = We - Qe, Ui = nt - Ge, Ut = ze - we, ei = at - Qe, Cr = Tt - Ge, vi = Ai - we;
|
|
91139
|
+
let rr = Ui * vi - Ut * Cr, Pr = Ut * ei - Wt * vi, es = Wt * Cr - Ui * ei;
|
|
91137
91140
|
const os = Math.hypot(rr, Pr, es) || 1;
|
|
91138
91141
|
rr /= os, Pr /= os, es /= os;
|
|
91139
91142
|
const Qs = xe * 9;
|
|
@@ -91677,30 +91680,30 @@ const k6 = `
|
|
|
91677
91680
|
.omni-legend-field { font-size: 10px; color: var(--om-widget-muted, #6b7280); margin-bottom: 2px; }
|
|
91678
91681
|
.omni-legend-entry .omni-swatch-cluster { border-radius: 50%; width: 12px; height: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 7px; font-weight: 700; line-height: 1; }
|
|
91679
91682
|
`;
|
|
91680
|
-
function kde(e) {
|
|
91683
|
+
function kde(e, A) {
|
|
91681
91684
|
return `
|
|
91682
|
-
<div class="omni-legend-sub">
|
|
91683
|
-
<div class="omni-legend-entry"><span class="omni-swatch omni-swatch-cluster" style="background:${
|
|
91685
|
+
<div class="omni-legend-sub" data-layer="${Br(A)}">
|
|
91686
|
+
<div class="omni-legend-entry"><span class="omni-swatch omni-swatch-cluster" style="background:${Br(e)}">n</span><span>n points, clustered — click to expand</span></div>
|
|
91684
91687
|
</div>`;
|
|
91685
91688
|
}
|
|
91686
|
-
function Lde(e) {
|
|
91689
|
+
function Lde(e, A) {
|
|
91687
91690
|
if (e.kind === "ramp") {
|
|
91688
|
-
const
|
|
91691
|
+
const r = `linear-gradient(to right, ${e.colors.map(Br).join(", ")})`;
|
|
91689
91692
|
return `
|
|
91690
|
-
<div class="omni-legend-sub">
|
|
91691
|
-
<div class="omni-legend-field">${
|
|
91692
|
-
<div class="omni-legend-ramp" style="background:${
|
|
91693
|
-
<div class="omni-legend-ramp-labels"><span>${
|
|
91693
|
+
<div class="omni-legend-sub" data-layer="${Br(A)}">
|
|
91694
|
+
<div class="omni-legend-field">${Br(e.field)}</div>
|
|
91695
|
+
<div class="omni-legend-ramp" style="background:${r}"></div>
|
|
91696
|
+
<div class="omni-legend-ramp-labels"><span>${Br(e.domain[0].toLocaleString("en-US"))}</span><span>${Br(e.domain[1].toLocaleString("en-US"))}</span></div>
|
|
91694
91697
|
</div>`;
|
|
91695
91698
|
}
|
|
91696
|
-
const
|
|
91697
|
-
(
|
|
91698
|
-
<div class="omni-legend-entry"><span class="omni-swatch" style="background:${
|
|
91699
|
-
).join(""),
|
|
91700
|
-
<div class="omni-legend-entry"><span class="omni-swatch" style="background:${
|
|
91699
|
+
const t = e.entries.map(
|
|
91700
|
+
(r) => `
|
|
91701
|
+
<div class="omni-legend-entry"><span class="omni-swatch" style="background:${Br(r.color)}"></span><span>${Br(r.label)}</span></div>`
|
|
91702
|
+
).join(""), i = e.kind === "categories" && e.defaultColor ? `
|
|
91703
|
+
<div class="omni-legend-entry"><span class="omni-swatch" style="background:${Br(e.defaultColor)}"></span><span>other</span></div>` : "";
|
|
91701
91704
|
return `
|
|
91702
|
-
<div class="omni-legend-sub">
|
|
91703
|
-
<div class="omni-legend-field">${
|
|
91705
|
+
<div class="omni-legend-sub" data-layer="${Br(A)}">
|
|
91706
|
+
<div class="omni-legend-field">${Br(e.field)}</div>${t}${i}
|
|
91704
91707
|
</div>`;
|
|
91705
91708
|
}
|
|
91706
91709
|
Ws("legend", {
|
|
@@ -91710,14 +91713,14 @@ Ws("legend", {
|
|
|
91710
91713
|
const t = A.getAttribute("title") ?? "Legend", i = A.hasAttribute("interactive");
|
|
91711
91714
|
let r = A.$(".omni-panel");
|
|
91712
91715
|
r || (r = document.createElement("div"), r.className = "omni-panel", A.root.appendChild(r)), r.innerHTML = `
|
|
91713
|
-
<h4>${
|
|
91716
|
+
<h4>${Br(t)}</h4>
|
|
91714
91717
|
${e.layers.map((s) => {
|
|
91715
91718
|
const n = s.color ?? (s.legend?.kind === "ramp" ? s.legend.colors[0] : s.legend?.entries[0]?.color) ?? "#999";
|
|
91716
91719
|
return `
|
|
91717
|
-
<div class="omni-row">
|
|
91718
|
-
<span class="omni-swatch" style="background:${
|
|
91719
|
-
${i ? `<label><input type="checkbox" ${s.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${
|
|
91720
|
-
</div>${s.legend && s.visible ? Lde(s.legend) : ""}${s.cluster && s.visible ? kde(n) : ""}`;
|
|
91720
|
+
<div class="omni-row" data-layer="${Br(s.id)}">
|
|
91721
|
+
<span class="omni-swatch" style="background:${Br(n)}"></span>
|
|
91722
|
+
${i ? `<label><input type="checkbox" ${s.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${Br(s.id)}"> ${Br(s.label ?? s.id)}</label>` : `<span>${Br(s.label ?? s.id)}</span>`}
|
|
91723
|
+
</div>${s.legend && s.visible ? Lde(s.legend, s.id) : ""}${s.cluster && s.visible ? kde(n, s.id) : ""}`;
|
|
91721
91724
|
}).join("")}
|
|
91722
91725
|
`;
|
|
91723
91726
|
}
|
|
@@ -91729,8 +91732,8 @@ Ws("layer-switcher", {
|
|
|
91729
91732
|
let t = A.$(".omni-panel");
|
|
91730
91733
|
t || (t = document.createElement("div"), t.className = "omni-panel", A.root.appendChild(t)), t.innerHTML = e.layers.map(
|
|
91731
91734
|
(i) => `
|
|
91732
|
-
<div class="omni-row">
|
|
91733
|
-
<label><input type="checkbox" ${i.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${
|
|
91735
|
+
<div class="omni-row" data-layer="${Br(i.id)}">
|
|
91736
|
+
<label><input type="checkbox" ${i.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${Br(i.id)}"> ${Br(i.label ?? i.id)}</label>
|
|
91734
91737
|
</div>`
|
|
91735
91738
|
).join("");
|
|
91736
91739
|
}
|
|
@@ -91810,12 +91813,12 @@ Ws("basemap-switcher", {
|
|
|
91810
91813
|
), r = A.closest("om-map")?.getAttribute("basemap") ?? "maplibre", s = A.getAttribute("title") ?? "Basemap";
|
|
91811
91814
|
let n = A.$(".omni-panel");
|
|
91812
91815
|
n || (n = document.createElement("div"), n.className = "omni-panel", A.root.appendChild(n)), n.innerHTML = `
|
|
91813
|
-
<h4>${
|
|
91816
|
+
<h4>${Br(s)}</h4>
|
|
91814
91817
|
${i.map((o) => {
|
|
91815
91818
|
const a = PP().get(o)?.label ?? o;
|
|
91816
91819
|
return `
|
|
91817
91820
|
<div class="omni-row">
|
|
91818
|
-
<label><input type="radio" name="omni-basemap" ${o === r ? "checked" : ""} data-emit="set-basemap" data-basemap="${
|
|
91821
|
+
<label><input type="radio" name="omni-basemap" ${o === r ? "checked" : ""} data-emit="set-basemap" data-basemap="${Br(o)}"> ${Br(a)}</label>
|
|
91819
91822
|
</div>`;
|
|
91820
91823
|
}).join("")}
|
|
91821
91824
|
`;
|
|
@@ -92070,9 +92073,9 @@ Ws("player", {
|
|
|
92070
92073
|
}
|
|
92071
92074
|
const n = r.getAttribute("id") ?? "";
|
|
92072
92075
|
s.innerHTML = `
|
|
92073
|
-
<button type="button" class="pp" data-emit="story-play" data-story="${
|
|
92076
|
+
<button type="button" class="pp" data-emit="story-play" data-story="${Br(n)}" aria-label="Play">▶</button>
|
|
92074
92077
|
<input type="range" class="seek" min="0" max="0" step="1" value="0"
|
|
92075
|
-
data-emit="story-seek" data-story="${
|
|
92078
|
+
data-emit="story-seek" data-story="${Br(n)}" aria-label="Seek">
|
|
92076
92079
|
<span class="time">0:00 / 0:00</span>
|
|
92077
92080
|
`, A.root.appendChild(s);
|
|
92078
92081
|
const o = s.querySelector(".pp"), a = s.querySelector(".seek"), g = s.querySelector(".time");
|
|
@@ -92167,13 +92170,13 @@ function biA(e) {
|
|
|
92167
92170
|
return e.toFixed(2).replace(/\.?0+$/, "");
|
|
92168
92171
|
}
|
|
92169
92172
|
function Vde(e) {
|
|
92170
|
-
if (!e) return
|
|
92171
|
-
if (e.poleWarning) return
|
|
92173
|
+
if (!e) return Br("Pick a mode, then click the map.");
|
|
92174
|
+
if (e.poleWarning) return Br("Footprint unavailable (ring encloses a pole).");
|
|
92172
92175
|
if (e.segments < 3 || e.areaMeters2 == null)
|
|
92173
|
-
return
|
|
92176
|
+
return Br("Click the map to outline the footprint, double-click to close.");
|
|
92174
92177
|
if (e.cutMeters3 == null) {
|
|
92175
92178
|
const l = `Area: ${ov(e.areaMeters2, e.units)} · Perimeter: ${DI(e.perimeterMeters, e.units)}`;
|
|
92176
|
-
return
|
|
92179
|
+
return Br(e.footprintClosed ? `${l} — sampling elevation…` : l);
|
|
92177
92180
|
}
|
|
92178
92181
|
const A = e.baseSurface === "custom" ? `<button type="button" class="vol-flat-toggle${e.flatTargetPlane ? " active" : ""}" data-act="flat-target-plane" aria-pressed="${e.flatTargetPlane ? "true" : "false"}">${e.flatTargetPlane ? "✓ " : ""}Flat target plane</button>` : "", t = e.netMeters3 ?? 0, i = e.cutErrorM3 != null && e.cutErrorM3 > 0 ? ` ±${Su(e.cutErrorM3, e.units)}` : "", r = e.fillErrorM3 != null && e.fillErrorM3 > 0 ? ` ±${Su(e.fillErrorM3, e.units)}` : "", s = [
|
|
92179
92182
|
["Cut (removed)", Su(e.cutMeters3 ?? 0, e.units) + i],
|
|
@@ -92184,9 +92187,9 @@ function Vde(e) {
|
|
|
92184
92187
|
["Perimeter", DI(e.perimeterMeters, e.units)]
|
|
92185
92188
|
];
|
|
92186
92189
|
e.baseSurface && s.push(["Base surface", e.baseSurface]), e.cellSizeM != null && s.push(["Cell size", DI(e.cellSizeM, e.units)]);
|
|
92187
|
-
const n = e.nodataFraction != null && e.nodataFraction > 0.01 ? `<div class="vol-stale">⚠ ${Math.round(e.nodataFraction * 100)}% of the footprint has no elevation data — totals under-report.</div>` : "", o = s.map(([l, C]) => `<div class="vol-row"><span>${
|
|
92190
|
+
const n = e.nodataFraction != null && e.nodataFraction > 0.01 ? `<div class="vol-stale">⚠ ${Math.round(e.nodataFraction * 100)}% of the footprint has no elevation data — totals under-report.</div>` : "", o = s.map(([l, C]) => `<div class="vol-row"><span>${Br(l)}</span><b>${Br(C)}</b></div>`).join("") + n, a = [];
|
|
92188
92191
|
e.cutAdjustedMeters3 != null && a.push([`Cut, loose (×${biA(e.swell ?? 1)} swell)`, Su(e.cutAdjustedMeters3, e.units)]), e.fillAdjustedMeters3 != null && a.push([`Fill, loose (÷${biA(e.shrink ?? 1)} shrink)`, Su(e.fillAdjustedMeters3, e.units)]), e.cutMassKg != null && a.push(["Cut tonnage", k7(e.cutMassKg, e.units)]), e.fillMassKg != null && a.push(["Fill tonnage", k7(e.fillMassKg, e.units)]);
|
|
92189
|
-
const g = a.length ? `<div class="vol-material-label">Material</div>${a.map(([l, C]) => `<div class="vol-row"><span>${
|
|
92192
|
+
const g = a.length ? `<div class="vol-material-label">Material</div>${a.map(([l, C]) => `<div class="vol-row"><span>${Br(l)}</span><b>${Br(C)}</b></div>`).join("")}` : "";
|
|
92190
92193
|
return A + o + g + (e.stale ? '<div class="vol-stale">Updating…</div>' : "");
|
|
92191
92194
|
}
|
|
92192
92195
|
Ws("measure", {
|
|
@@ -92329,7 +92332,7 @@ Ws("effects", {
|
|
|
92329
92332
|
const t = A.closest("om-map"), i = A.getAttribute("title") ?? "Finish";
|
|
92330
92333
|
let r = A.$(".omni-effects");
|
|
92331
92334
|
r || (r = document.createElement("div"), r.className = "omni-effects", r.innerHTML = `
|
|
92332
|
-
<h4>${
|
|
92335
|
+
<h4>${Br(i)}</h4>
|
|
92333
92336
|
<div class="omni-effects-presets">
|
|
92334
92337
|
${["none", ...nv].map(
|
|
92335
92338
|
(o) => `
|
|
@@ -92352,7 +92355,7 @@ Ws("lighting", {
|
|
|
92352
92355
|
const t = A.closest("om-map"), i = A.getAttribute("title") ?? "Lighting";
|
|
92353
92356
|
let r = A.$(".omni-lighting");
|
|
92354
92357
|
r || (r = document.createElement("div"), r.className = "omni-lighting", r.innerHTML = `
|
|
92355
|
-
<h4>${
|
|
92358
|
+
<h4>${Br(i)}</h4>
|
|
92356
92359
|
<div class="omni-lighting-presets">
|
|
92357
92360
|
${["default", ...FO].map(
|
|
92358
92361
|
(g) => `
|
|
@@ -92431,7 +92434,7 @@ Ws("clip-box", {
|
|
|
92431
92434
|
r = document.createElement("div"), r.className = "omni-clip-box";
|
|
92432
92435
|
const g = (C, Q) => `<input type="number" step="any" data-field="${C}" aria-label="${Q}">`;
|
|
92433
92436
|
r.innerHTML = `
|
|
92434
|
-
<h4>${
|
|
92437
|
+
<h4>${Br(i)}</h4>
|
|
92435
92438
|
<div class="omni-clip-box-grid">
|
|
92436
92439
|
<span></span><span>Lng</span><span>Lat</span><span>Elev (m)</span>
|
|
92437
92440
|
<span>Min</span>${g("minLng", "Min longitude")}${g("minLat", "Min latitude")}${g("minElev", "Min elevation")}
|
|
@@ -98159,7 +98162,7 @@ function imA({ layerIRs: e, core: A, mapEl: t, selection: i, history: r, feature
|
|
|
98159
98162
|
}
|
|
98160
98163
|
};
|
|
98161
98164
|
}
|
|
98162
|
-
const rmA = "0.11.
|
|
98165
|
+
const rmA = "0.11.7", Zpe = "https://om-api.nika.eco/v1/t", tE = { endpoint: Zpe };
|
|
98163
98166
|
function Xpe(e) {
|
|
98164
98167
|
for (const A of Object.keys(e))
|
|
98165
98168
|
tE[A] = e[A];
|
|
@@ -100473,6 +100476,10 @@ class cme extends KE {
|
|
|
100473
100476
|
overlayFlushPending = !1;
|
|
100474
100477
|
errorPanel = null;
|
|
100475
100478
|
runtimeErrors = [];
|
|
100479
|
+
/** Host diagnostics channel (the `diagnostics` property) — see its setter. */
|
|
100480
|
+
diagnosticsOn = !1;
|
|
100481
|
+
/** The last merged static + runtime report, while anyone is listening. */
|
|
100482
|
+
lastDiagnostics = null;
|
|
100476
100483
|
/** Dedup guard for the approximate-BIM-georeferencing warning — same shape as applyLicenseGates' own `warned` set, keyed per layer id. */
|
|
100477
100484
|
warnedApproximatePlacement = /* @__PURE__ */ new Set();
|
|
100478
100485
|
/** Dedup guard for the no-terrain-for-elevation error — same shape as `warnedApproximatePlacement`. */
|
|
@@ -101596,18 +101603,38 @@ class cme extends KE {
|
|
|
101596
101603
|
reportRuntimeErrorInternal(A) {
|
|
101597
101604
|
this.runtimeErrors.push(A), this.runtimeErrors.length > nme && this.runtimeErrors.shift(), this.publishValidation();
|
|
101598
101605
|
}
|
|
101606
|
+
/**
|
|
101607
|
+
* A host's own diagnostics channel — a PROPERTY, never an attribute. While
|
|
101608
|
+
* `true`, the map validates on every reconcile and fires
|
|
101609
|
+
* `om-validation-error` exactly as `validate="silent"` would, with no
|
|
101610
|
+
* on-page panel and without touching the document. For an editor that
|
|
101611
|
+
* autosaves the DOM (writing `validate` there would save it into the user's
|
|
101612
|
+
* file) or a preview that must not change what it shows. An authored
|
|
101613
|
+
* `validate` attribute still decides whether the panel appears.
|
|
101614
|
+
*/
|
|
101615
|
+
get diagnostics() {
|
|
101616
|
+
return this.diagnosticsOn;
|
|
101617
|
+
}
|
|
101618
|
+
set diagnostics(A) {
|
|
101619
|
+
const t = A === !0;
|
|
101620
|
+
t !== this.diagnosticsOn && (this.diagnosticsOn = t, !t && this.getAttribute("validate") === null && (this.lastDiagnostics = null), this.publishValidation());
|
|
101621
|
+
}
|
|
101622
|
+
/** The latest merged static + runtime report — `null` until the map is
|
|
101623
|
+
* validating (a `validate` attribute, or `diagnostics = true`). For a host
|
|
101624
|
+
* that starts listening after the first reconcile. */
|
|
101625
|
+
getDiagnostics() {
|
|
101626
|
+
return this.lastDiagnostics;
|
|
101627
|
+
}
|
|
101599
101628
|
publishValidation() {
|
|
101600
101629
|
const A = this.getAttribute("validate");
|
|
101601
|
-
if (A === null)
|
|
101602
|
-
this.errorPanel?.destroy(), this.errorPanel = null;
|
|
101630
|
+
if (A === null && (this.errorPanel?.destroy(), this.errorPanel = null, !this.diagnosticsOn))
|
|
101603
101631
|
return;
|
|
101604
|
-
}
|
|
101605
101632
|
const t = dmA(this), i = this.runtimeErrors.filter((n) => n.severity === "error"), r = this.runtimeErrors.filter((n) => n.severity === "warning"), s = {
|
|
101606
101633
|
valid: t.valid && i.length === 0,
|
|
101607
101634
|
errors: [...t.errors, ...i],
|
|
101608
101635
|
warnings: [...t.warnings, ...r]
|
|
101609
101636
|
};
|
|
101610
|
-
if (this.dispatchEvent(new CustomEvent("om-validation-error", { detail: s })), A === "silent") {
|
|
101637
|
+
if (this.lastDiagnostics = s, this.dispatchEvent(new CustomEvent("om-validation-error", { detail: s })), A === null || A === "silent") {
|
|
101611
101638
|
this.errorPanel?.destroy(), this.errorPanel = null;
|
|
101612
101639
|
return;
|
|
101613
101640
|
}
|
|
@@ -101746,7 +101773,7 @@ function pme(e) {
|
|
|
101746
101773
|
function T1(e, A) {
|
|
101747
101774
|
return e.replace(dme, (t, i, r, s) => {
|
|
101748
101775
|
const n = i !== void 0, o = i ?? r, a = A[o], g = a == null ? "" : String(a);
|
|
101749
|
-
return n ? g : fme(e, s) && pme(g) ? (console.warn(`[onlymapjs] Blocked an unsafe URL scheme interpolated into {{${o}}} (href/src reject javascript:/non-image data:).`), "") :
|
|
101776
|
+
return n ? g : fme(e, s) && pme(g) ? (console.warn(`[onlymapjs] Blocked an unsafe URL scheme interpolated into {{${o}}} (href/src reject javascript:/non-image data:).`), "") : Br(g);
|
|
101750
101777
|
});
|
|
101751
101778
|
}
|
|
101752
101779
|
const _rA = {
|
|
@@ -101809,6 +101836,16 @@ class yme extends KE {
|
|
|
101809
101836
|
disconnectedCallback() {
|
|
101810
101837
|
this.mapEl?.unregisterOverlayInternal(this), this.mapEl = null;
|
|
101811
101838
|
}
|
|
101839
|
+
/**
|
|
101840
|
+
* The template this overlay renders, `{{fields}}` and all — read-only. The
|
|
101841
|
+
* authored content moves into the shadow root and is shown with its fields
|
|
101842
|
+
* filled in, so neither the light DOM nor the rendered text still holds the
|
|
101843
|
+
* template; a tool that needs to know which fields a popup shows (an
|
|
101844
|
+
* element picker naming what it reads) reads it here.
|
|
101845
|
+
*/
|
|
101846
|
+
get templateSource() {
|
|
101847
|
+
return this.template;
|
|
101848
|
+
}
|
|
101812
101849
|
/**
|
|
101813
101850
|
* Replaces the overlay's content template (used by the internal, runtime-
|
|
101814
101851
|
* managed tooltip overlay the `show-tooltip` action drives — see
|
|
@@ -108547,7 +108584,7 @@ const PRe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108547
108584
|
_BinaryReader: TRe,
|
|
108548
108585
|
_zipBatchIterators: IwA
|
|
108549
108586
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
108550
|
-
function
|
|
108587
|
+
function dr(e) {
|
|
108551
108588
|
return e && e.normalize && e.normalize(), e && e.textContent || "";
|
|
108552
108589
|
}
|
|
108553
108590
|
function Bi(e, A) {
|
|
@@ -108559,7 +108596,7 @@ function dwA(e) {
|
|
|
108559
108596
|
if (e) {
|
|
108560
108597
|
const t = Bi(e, "line");
|
|
108561
108598
|
if (t) {
|
|
108562
|
-
const i =
|
|
108599
|
+
const i = dr(Bi(t, "color")), r = parseFloat(dr(Bi(t, "opacity"))), s = parseFloat(dr(Bi(t, "width")));
|
|
108563
108600
|
i && (A.stroke = i), isNaN(r) || (A["stroke-opacity"] = r), isNaN(s) || (A["stroke-width"] = s * 96 / 25.4);
|
|
108564
108601
|
}
|
|
108565
108602
|
}
|
|
@@ -108575,7 +108612,7 @@ function fwA(e) {
|
|
|
108575
108612
|
if (r === "gpxtpx:TrackPointExtension")
|
|
108576
108613
|
A = A.concat(fwA(i));
|
|
108577
108614
|
else {
|
|
108578
|
-
const s =
|
|
108615
|
+
const s = dr(i);
|
|
108579
108616
|
A.push([r, isNaN(s) ? s : parseFloat(s)]);
|
|
108580
108617
|
}
|
|
108581
108618
|
}
|
|
@@ -108585,7 +108622,7 @@ function LH(e, A) {
|
|
|
108585
108622
|
const t = {};
|
|
108586
108623
|
let i, r;
|
|
108587
108624
|
for (r = 0; r < A.length; r++)
|
|
108588
|
-
i = Bi(e, A[r]), i && (t[A[r]] =
|
|
108625
|
+
i = Bi(e, A[r]), i && (t[A[r]] = dr(i));
|
|
108589
108626
|
return t;
|
|
108590
108627
|
}
|
|
108591
108628
|
function a5(e) {
|
|
@@ -108602,7 +108639,7 @@ function a5(e) {
|
|
|
108602
108639
|
);
|
|
108603
108640
|
for (let r = 0; r < t.length; r++) {
|
|
108604
108641
|
const s = t[r];
|
|
108605
|
-
s.parentNode.parentNode === e && (A[s.tagName.replace(":", "_")] =
|
|
108642
|
+
s.parentNode.parentNode === e && (A[s.tagName.replace(":", "_")] = dr(s));
|
|
108606
108643
|
}
|
|
108607
108644
|
const i = e.getElementsByTagName("link");
|
|
108608
108645
|
i.length && (A.links = []);
|
|
@@ -108621,12 +108658,12 @@ function pwA(e) {
|
|
|
108621
108658
|
parseFloat(e.getAttribute("lat"))
|
|
108622
108659
|
], t = Bi(e, "ele"), i = Bi(e, "time");
|
|
108623
108660
|
if (t) {
|
|
108624
|
-
const r = parseFloat(
|
|
108661
|
+
const r = parseFloat(dr(t));
|
|
108625
108662
|
isNaN(r) || A.push(r);
|
|
108626
108663
|
}
|
|
108627
108664
|
return {
|
|
108628
108665
|
coordinates: A,
|
|
108629
|
-
time: i ?
|
|
108666
|
+
time: i ? dr(i) : null,
|
|
108630
108667
|
extendedValues: fwA(Bi(e, "extensions"))
|
|
108631
108668
|
};
|
|
108632
108669
|
}
|
|
@@ -108764,21 +108801,21 @@ function mwA(e, A) {
|
|
|
108764
108801
|
const o = e.getElementsByTagNameNS(qRe, i);
|
|
108765
108802
|
o.length && (s = o[0]);
|
|
108766
108803
|
}
|
|
108767
|
-
const n = parseFloat(
|
|
108804
|
+
const n = parseFloat(dr(s));
|
|
108768
108805
|
isNaN(n) || t.push([r, n]);
|
|
108769
108806
|
}
|
|
108770
108807
|
return t;
|
|
108771
108808
|
}
|
|
108772
108809
|
function jRe(e) {
|
|
108773
|
-
const A =
|
|
108810
|
+
const A = dr(Bi(e, "LongitudeDegrees")), t = dr(Bi(e, "LatitudeDegrees"));
|
|
108774
108811
|
if (!A.length || !t.length)
|
|
108775
108812
|
return null;
|
|
108776
108813
|
const i = [parseFloat(A), parseFloat(t)], r = Bi(e, "AltitudeMeters"), s = Bi(e, "HeartRateBpm"), n = Bi(e, "Time");
|
|
108777
108814
|
let o;
|
|
108778
|
-
return r && (o = parseFloat(
|
|
108815
|
+
return r && (o = parseFloat(dr(r)), isNaN(o) || i.push(o)), {
|
|
108779
108816
|
coordinates: i,
|
|
108780
|
-
time: n ?
|
|
108781
|
-
heartRate: s ? parseFloat(
|
|
108817
|
+
time: n ? dr(n) : null,
|
|
108818
|
+
heartRate: s ? parseFloat(dr(s)) : null,
|
|
108782
108819
|
extensions: mwA(e, WRe)
|
|
108783
108820
|
};
|
|
108784
108821
|
}
|
|
@@ -108804,7 +108841,7 @@ function dsA(e) {
|
|
|
108804
108841
|
const A = e.getElementsByTagName("Track"), t = [], i = [], r = [], s = [];
|
|
108805
108842
|
let n;
|
|
108806
108843
|
const o = zRe(mwA(e, VRe)), a = Bi(e, "Name");
|
|
108807
|
-
a && (o.name =
|
|
108844
|
+
a && (o.name = dr(a));
|
|
108808
108845
|
for (let g = 0; g < A.length; g++)
|
|
108809
108846
|
n = ZRe(A[g], "Trackpoint"), n && (t.push(n.line), n.times.length && i.push(n.times), n.heartRates.length && r.push(n.heartRates), s.push(n.extendedProperties));
|
|
108810
108847
|
for (let g = 0; g < s.length; g++) {
|
|
@@ -108877,12 +108914,12 @@ function UH(e) {
|
|
|
108877
108914
|
}
|
|
108878
108915
|
const VQ = ["Polygon", "LineString", "Point", "Track", "gx:Track"];
|
|
108879
108916
|
function O1(e, A, t) {
|
|
108880
|
-
let i =
|
|
108917
|
+
let i = dr(Bi(A, "color")) || "";
|
|
108881
108918
|
const r = t == "stroke" || t === "fill" ? t : t + "-color";
|
|
108882
108919
|
i.substr(0, 1) === "#" && (i = i.substr(1)), i.length === 6 || i.length === 3 ? e[r] = i : i.length === 8 && (e[t + "-opacity"] = parseInt(i.substr(0, 2), 16) / 255, e[r] = "#" + i.substr(6, 2) + i.substr(4, 2) + i.substr(2, 2));
|
|
108883
108920
|
}
|
|
108884
108921
|
function q1(e, A, t, i) {
|
|
108885
|
-
const r = parseFloat(
|
|
108922
|
+
const r = parseFloat(dr(Bi(A, t)));
|
|
108886
108923
|
isNaN(r) || (e[i] = r);
|
|
108887
108924
|
}
|
|
108888
108925
|
function iFe(e) {
|
|
@@ -108890,9 +108927,9 @@ function iFe(e) {
|
|
|
108890
108927
|
const t = [], i = [];
|
|
108891
108928
|
A.length === 0 && (A = e.getElementsByTagName("gx:coord"));
|
|
108892
108929
|
for (let s = 0; s < A.length; s++)
|
|
108893
|
-
t.push(
|
|
108930
|
+
t.push(dr(A[s]).split(" ").map(parseFloat));
|
|
108894
108931
|
const r = e.getElementsByTagName("when");
|
|
108895
|
-
for (let s = 0; s < r.length; s++) i.push(
|
|
108932
|
+
for (let s = 0; s < r.length; s++) i.push(dr(r[s]));
|
|
108896
108933
|
return {
|
|
108897
108934
|
coords: t,
|
|
108898
108935
|
times: i
|
|
@@ -108913,17 +108950,17 @@ function IM(e) {
|
|
|
108913
108950
|
if (A = t[r], VQ[i] === "Point")
|
|
108914
108951
|
n.push({
|
|
108915
108952
|
type: "Point",
|
|
108916
|
-
coordinates: wwA(
|
|
108953
|
+
coordinates: wwA(dr(Bi(A, "coordinates")))
|
|
108917
108954
|
});
|
|
108918
108955
|
else if (VQ[i] === "LineString")
|
|
108919
108956
|
n.push({
|
|
108920
108957
|
type: "LineString",
|
|
108921
|
-
coordinates: psA(
|
|
108958
|
+
coordinates: psA(dr(Bi(A, "coordinates")))
|
|
108922
108959
|
});
|
|
108923
108960
|
else if (VQ[i] === "Polygon") {
|
|
108924
108961
|
const a = A.getElementsByTagName("LinearRing"), g = [];
|
|
108925
108962
|
for (s = 0; s < a.length; s++)
|
|
108926
|
-
g.push(psA(
|
|
108963
|
+
g.push(psA(dr(Bi(a[s], "coordinates"))));
|
|
108927
108964
|
n.push({
|
|
108928
108965
|
type: "Polygon",
|
|
108929
108966
|
coordinates: g
|
|
@@ -108944,9 +108981,9 @@ function IM(e) {
|
|
|
108944
108981
|
function rFe(e, A, t, i) {
|
|
108945
108982
|
const r = IM(e);
|
|
108946
108983
|
let s;
|
|
108947
|
-
const n = {}, o =
|
|
108948
|
-
let g =
|
|
108949
|
-
const l =
|
|
108984
|
+
const n = {}, o = dr(Bi(e, "name")), a = dr(Bi(e, "address"));
|
|
108985
|
+
let g = dr(Bi(e, "styleUrl"));
|
|
108986
|
+
const l = dr(Bi(e, "description")), C = Bi(e, "TimeSpan"), Q = Bi(e, "TimeStamp"), f = Bi(e, "ExtendedData");
|
|
108950
108987
|
let D = Bi(e, "IconStyle"), G = Bi(e, "LabelStyle"), U = Bi(e, "LineStyle"), Y = Bi(e, "PolyStyle");
|
|
108951
108988
|
const O = Bi(e, "visibility");
|
|
108952
108989
|
if (o && (n.name = o), a && (n.address = a), g) {
|
|
@@ -108955,10 +108992,10 @@ function rFe(e, A, t, i) {
|
|
|
108955
108992
|
AA && (D || (D = Bi(AA, "IconStyle")), G || (G = Bi(AA, "LabelStyle")), U || (U = Bi(AA, "LineStyle")), Y || (Y = Bi(AA, "PolyStyle")));
|
|
108956
108993
|
}
|
|
108957
108994
|
if (l && (n.description = l), C) {
|
|
108958
|
-
const AA =
|
|
108995
|
+
const AA = dr(Bi(C, "begin")), eA = dr(Bi(C, "end"));
|
|
108959
108996
|
n.timespan = { begin: AA, end: eA };
|
|
108960
108997
|
}
|
|
108961
|
-
if (Q && (n.timestamp =
|
|
108998
|
+
if (Q && (n.timestamp = dr(Bi(Q, "when"))), D) {
|
|
108962
108999
|
O1(n, D, "icon"), q1(n, D, "scale", "icon-scale"), q1(n, D, "heading", "icon-heading");
|
|
108963
109000
|
const AA = Bi(D, "hotSpot");
|
|
108964
109001
|
if (AA) {
|
|
@@ -108967,25 +109004,25 @@ function rFe(e, A, t, i) {
|
|
|
108967
109004
|
}
|
|
108968
109005
|
const eA = Bi(D, "Icon");
|
|
108969
109006
|
if (eA) {
|
|
108970
|
-
const nA =
|
|
109007
|
+
const nA = dr(Bi(eA, "href"));
|
|
108971
109008
|
nA && (n.icon = nA);
|
|
108972
109009
|
}
|
|
108973
109010
|
}
|
|
108974
109011
|
if (G && (O1(n, G, "label"), q1(n, G, "scale", "label-scale")), U && (O1(n, U, "stroke"), q1(n, U, "width", "stroke-width")), Y) {
|
|
108975
109012
|
O1(n, Y, "fill");
|
|
108976
|
-
const AA =
|
|
109013
|
+
const AA = dr(Bi(Y, "fill")), eA = dr(Bi(Y, "outline"));
|
|
108977
109014
|
AA && (n["fill-opacity"] = AA === "1" ? n["fill-opacity"] || 1 : 0), eA && (n["stroke-opacity"] = eA === "1" ? n["stroke-opacity"] || 1 : 0);
|
|
108978
109015
|
}
|
|
108979
109016
|
if (f) {
|
|
108980
109017
|
const AA = f.getElementsByTagName("Data"), eA = f.getElementsByTagName("SimpleData");
|
|
108981
109018
|
for (s = 0; s < AA.length; s++)
|
|
108982
|
-
n[AA[s].getAttribute("name")] =
|
|
109019
|
+
n[AA[s].getAttribute("name")] = dr(
|
|
108983
109020
|
Bi(AA[s], "value")
|
|
108984
109021
|
);
|
|
108985
109022
|
for (s = 0; s < eA.length; s++)
|
|
108986
|
-
n[eA[s].getAttribute("name")] =
|
|
109023
|
+
n[eA[s].getAttribute("name")] = dr(eA[s]);
|
|
108987
109024
|
}
|
|
108988
|
-
O && (n.visibility =
|
|
109025
|
+
O && (n.visibility = dr(O)), r.coordTimes.length && (n.coordinateProperties = {
|
|
108989
109026
|
times: r.coordTimes.length === 1 ? r.coordTimes[0] : r.coordTimes
|
|
108990
109027
|
});
|
|
108991
109028
|
const W = {
|
|
@@ -109011,7 +109048,7 @@ function* sFe(e) {
|
|
|
109011
109048
|
).toString(16);
|
|
109012
109049
|
const a = n[o].getElementsByTagName("Pair"), g = {};
|
|
109013
109050
|
for (let l = 0; l < a.length; l++)
|
|
109014
|
-
g[
|
|
109051
|
+
g[dr(Bi(a[l], "key"))] = dr(
|
|
109015
109052
|
Bi(a[l], "styleUrl")
|
|
109016
109053
|
);
|
|
109017
109054
|
i["#" + n[o].getAttribute("id")] = g;
|
|
@@ -109845,9 +109882,9 @@ function DwA() {
|
|
|
109845
109882
|
function ei() {
|
|
109846
109883
|
}
|
|
109847
109884
|
ei.prototype.nodeType = Q, g(ei, XA);
|
|
109848
|
-
function
|
|
109885
|
+
function Cr() {
|
|
109849
109886
|
}
|
|
109850
|
-
|
|
109887
|
+
Cr.prototype = {
|
|
109851
109888
|
data: "",
|
|
109852
109889
|
substringData: function(kA, KA) {
|
|
109853
109890
|
return this.data.substring(kA, kA + KA);
|
|
@@ -109868,7 +109905,7 @@ function DwA() {
|
|
|
109868
109905
|
var Je = this.data.substring(0, kA), ue = this.data.substring(kA + KA);
|
|
109869
109906
|
Ie = Je + Ie + ue, this.nodeValue = this.data = Ie, this.length = Ie.length;
|
|
109870
109907
|
}
|
|
109871
|
-
}, g(
|
|
109908
|
+
}, g(Cr, XA);
|
|
109872
109909
|
function vi() {
|
|
109873
109910
|
}
|
|
109874
109911
|
vi.prototype = {
|
|
@@ -109880,19 +109917,19 @@ function DwA() {
|
|
|
109880
109917
|
var Je = this.ownerDocument.createTextNode(Ie);
|
|
109881
109918
|
return this.parentNode && this.parentNode.insertBefore(Je, this.nextSibling), Je;
|
|
109882
109919
|
}
|
|
109883
|
-
}, g(vi,
|
|
109920
|
+
}, g(vi, Cr);
|
|
109884
109921
|
function rr() {
|
|
109885
109922
|
}
|
|
109886
109923
|
rr.prototype = {
|
|
109887
109924
|
nodeName: "#comment",
|
|
109888
109925
|
nodeType: O
|
|
109889
|
-
}, g(rr,
|
|
109926
|
+
}, g(rr, Cr);
|
|
109890
109927
|
function Pr() {
|
|
109891
109928
|
}
|
|
109892
109929
|
Pr.prototype = {
|
|
109893
109930
|
nodeName: "#cdata-section",
|
|
109894
109931
|
nodeType: D
|
|
109895
|
-
}, g(Pr,
|
|
109932
|
+
}, g(Pr, Cr);
|
|
109896
109933
|
function es() {
|
|
109897
109934
|
}
|
|
109898
109935
|
es.prototype.nodeType = AA, g(es, XA);
|
|
@@ -112298,8 +112335,8 @@ function aFe() {
|
|
|
112298
112335
|
function dA(Ut) {
|
|
112299
112336
|
if (Ut > 65535) {
|
|
112300
112337
|
Ut -= 65536;
|
|
112301
|
-
var ei = 55296 + (Ut >> 10),
|
|
112302
|
-
return String.fromCharCode(ei,
|
|
112338
|
+
var ei = 55296 + (Ut >> 10), Cr = 56320 + (Ut & 1023);
|
|
112339
|
+
return String.fromCharCode(ei, Cr);
|
|
112303
112340
|
} else
|
|
112304
112341
|
return String.fromCharCode(Ut);
|
|
112305
112342
|
}
|
|
@@ -112870,7 +112907,7 @@ const FwA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
112870
112907
|
KMLLoader: bwA,
|
|
112871
112908
|
TCXLoader: RwA
|
|
112872
112909
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
112873
|
-
var Vr,
|
|
112910
|
+
var Vr, br = ((Vr = {})[Vr.Byte = 0] = "Byte", Vr[Vr.UByte = 1] = "UByte", Vr[Vr.Bool = 2] = "Bool", Vr[Vr.Short = 3] = "Short", Vr[Vr.UShort = 4] = "UShort", Vr[Vr.Int = 5] = "Int", Vr[Vr.UInt = 6] = "UInt", Vr[Vr.Long = 7] = "Long", Vr[Vr.ULong = 8] = "ULong", Vr[Vr.Float = 9] = "Float", Vr[Vr.Double = 10] = "Double", Vr[Vr.String = 11] = "String", Vr[Vr.Json = 12] = "Json", Vr[Vr.DateTime = 13] = "DateTime", Vr[Vr.Binary = 14] = "Binary", Vr);
|
|
112874
112911
|
class gn {
|
|
112875
112912
|
bb = null;
|
|
112876
112913
|
bb_pos = 0;
|
|
@@ -112881,7 +112918,7 @@ class gn {
|
|
|
112881
112918
|
return (t || new gn()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
112882
112919
|
}
|
|
112883
112920
|
static getSizePrefixedRootAsColumn(A, t) {
|
|
112884
|
-
return A.setPosition(A.position() +
|
|
112921
|
+
return A.setPosition(A.position() + Fr), (t || new gn()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
112885
112922
|
}
|
|
112886
112923
|
name(A) {
|
|
112887
112924
|
let t = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -112889,7 +112926,7 @@ class gn {
|
|
|
112889
112926
|
}
|
|
112890
112927
|
type() {
|
|
112891
112928
|
let A = this.bb.__offset(this.bb_pos, 6);
|
|
112892
|
-
return A ? this.bb.readUint8(this.bb_pos + A) :
|
|
112929
|
+
return A ? this.bb.readUint8(this.bb_pos + A) : br.Byte;
|
|
112893
112930
|
}
|
|
112894
112931
|
title(A) {
|
|
112895
112932
|
let t = this.bb.__offset(this.bb_pos, 8);
|
|
@@ -112934,7 +112971,7 @@ class gn {
|
|
|
112934
112971
|
A.addFieldOffset(0, t, 0);
|
|
112935
112972
|
}
|
|
112936
112973
|
static addType(A, t) {
|
|
112937
|
-
A.addFieldInt8(1, t,
|
|
112974
|
+
A.addFieldInt8(1, t, br.Byte);
|
|
112938
112975
|
}
|
|
112939
112976
|
static addTitle(A, t) {
|
|
112940
112977
|
A.addFieldOffset(2, t, 0);
|
|
@@ -112971,7 +113008,7 @@ class gn {
|
|
|
112971
113008
|
return gn.startColumn(A), gn.addName(A, t), gn.addType(A, i), gn.addTitle(A, r), gn.addDescription(A, s), gn.addWidth(A, n), gn.addPrecision(A, o), gn.addScale(A, a), gn.addNullable(A, g), gn.addUnique(A, l), gn.addPrimaryKey(A, C), gn.addMetadata(A, Q), gn.endColumn(A);
|
|
112972
113009
|
}
|
|
112973
113010
|
}
|
|
112974
|
-
var
|
|
113011
|
+
var Er, vr = ((Er = {})[Er.Unknown = 0] = "Unknown", Er[Er.Point = 1] = "Point", Er[Er.LineString = 2] = "LineString", Er[Er.Polygon = 3] = "Polygon", Er[Er.MultiPoint = 4] = "MultiPoint", Er[Er.MultiLineString = 5] = "MultiLineString", Er[Er.MultiPolygon = 6] = "MultiPolygon", Er[Er.GeometryCollection = 7] = "GeometryCollection", Er[Er.CircularString = 8] = "CircularString", Er[Er.CompoundCurve = 9] = "CompoundCurve", Er[Er.CurvePolygon = 10] = "CurvePolygon", Er[Er.MultiCurve = 11] = "MultiCurve", Er[Er.MultiSurface = 12] = "MultiSurface", Er[Er.Curve = 13] = "Curve", Er[Er.Surface = 14] = "Surface", Er[Er.PolyhedralSurface = 15] = "PolyhedralSurface", Er[Er.TIN = 16] = "TIN", Er[Er.Triangle = 17] = "Triangle", Er);
|
|
112975
113012
|
let Oo = class Gg {
|
|
112976
113013
|
bb = null;
|
|
112977
113014
|
bb_pos = 0;
|
|
@@ -112982,7 +113019,7 @@ let Oo = class Gg {
|
|
|
112982
113019
|
return (t || new Gg()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
112983
113020
|
}
|
|
112984
113021
|
static getSizePrefixedRootAsGeometry(A, t) {
|
|
112985
|
-
return A.setPosition(A.position() +
|
|
113022
|
+
return A.setPosition(A.position() + Fr), (t || new Gg()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
112986
113023
|
}
|
|
112987
113024
|
ends(A) {
|
|
112988
113025
|
let t = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -113054,7 +113091,7 @@ let Oo = class Gg {
|
|
|
113054
113091
|
}
|
|
113055
113092
|
type() {
|
|
113056
113093
|
let A = this.bb.__offset(this.bb_pos, 16);
|
|
113057
|
-
return A ? this.bb.readUint8(this.bb_pos + A) :
|
|
113094
|
+
return A ? this.bb.readUint8(this.bb_pos + A) : vr.Unknown;
|
|
113058
113095
|
}
|
|
113059
113096
|
parts(A, t) {
|
|
113060
113097
|
let i = this.bb.__offset(this.bb_pos, 18);
|
|
@@ -113134,7 +113171,7 @@ let Oo = class Gg {
|
|
|
113134
113171
|
A.startVector(8, t, 8);
|
|
113135
113172
|
}
|
|
113136
113173
|
static addType(A, t) {
|
|
113137
|
-
A.addFieldInt8(6, t,
|
|
113174
|
+
A.addFieldInt8(6, t, vr.Unknown);
|
|
113138
113175
|
}
|
|
113139
113176
|
static addParts(A, t) {
|
|
113140
113177
|
A.addFieldOffset(7, t, 0);
|
|
@@ -113163,7 +113200,7 @@ let Oo = class Gg {
|
|
|
113163
113200
|
return (t || new xu()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
113164
113201
|
}
|
|
113165
113202
|
static getSizePrefixedRootAsFeature(A, t) {
|
|
113166
|
-
return A.setPosition(A.position() +
|
|
113203
|
+
return A.setPosition(A.position() + Fr), (t || new xu()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
113167
113204
|
}
|
|
113168
113205
|
geometry(A) {
|
|
113169
113206
|
let t = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -113278,7 +113315,7 @@ class og {
|
|
|
113278
113315
|
return (t || new og()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
113279
113316
|
}
|
|
113280
113317
|
static getSizePrefixedRootAsCrs(A, t) {
|
|
113281
|
-
return A.setPosition(A.position() +
|
|
113318
|
+
return A.setPosition(A.position() + Fr), (t || new og()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
113282
113319
|
}
|
|
113283
113320
|
org(A) {
|
|
113284
113321
|
let t = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -113342,7 +113379,7 @@ class pI {
|
|
|
113342
113379
|
return (t || new pI()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
113343
113380
|
}
|
|
113344
113381
|
static getSizePrefixedRootAsHeader(A, t) {
|
|
113345
|
-
return A.setPosition(A.position() +
|
|
113382
|
+
return A.setPosition(A.position() + Fr), (t || new pI()).__init(A.readInt32(A.position()) + A.position(), A);
|
|
113346
113383
|
}
|
|
113347
113384
|
name(A) {
|
|
113348
113385
|
let t = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -113362,7 +113399,7 @@ class pI {
|
|
|
113362
113399
|
}
|
|
113363
113400
|
geometryType() {
|
|
113364
113401
|
let A = this.bb.__offset(this.bb_pos, 8);
|
|
113365
|
-
return A ? this.bb.readUint8(this.bb_pos + A) :
|
|
113402
|
+
return A ? this.bb.readUint8(this.bb_pos + A) : vr.Unknown;
|
|
113366
113403
|
}
|
|
113367
113404
|
hasZ() {
|
|
113368
113405
|
let A = this.bb.__offset(this.bb_pos, 10);
|
|
@@ -113430,7 +113467,7 @@ class pI {
|
|
|
113430
113467
|
A.startVector(8, t, 8);
|
|
113431
113468
|
}
|
|
113432
113469
|
static addGeometryType(A, t) {
|
|
113433
|
-
A.addFieldInt8(2, t,
|
|
113470
|
+
A.addFieldInt8(2, t, vr.Unknown);
|
|
113434
113471
|
}
|
|
113435
113472
|
static addHasZ(A, t) {
|
|
113436
113473
|
A.addFieldInt8(3, +t, 0);
|
|
@@ -114557,7 +114594,7 @@ function xsA(e) {
|
|
|
114557
114594
|
}
|
|
114558
114595
|
function GwA(e, A) {
|
|
114559
114596
|
let t, i, r, s, n, o, a, g = A;
|
|
114560
|
-
g ===
|
|
114597
|
+
g === vr.Unknown && (g = g2(e.getType())), g === vr.MultiLineString || g === vr.Polygon ? (e.getFlatCoordinates && (t = e.getFlatCoordinates()), a = e.getEnds()) : g === vr.MultiPolygon ? o = e.getPolygons().map((C) => GwA(C, vr.Polygon)) : e.getFlatCoordinates && (t = e.getFlatCoordinates());
|
|
114561
114598
|
let l = e.getLayout?.() ?? "XY";
|
|
114562
114599
|
if (t && (l === "XY" ? i = t : l === "XYZ" ? [i, r] = xsA(t) : l === "XYM" ? [i, s] = xsA(t) : l === "XYZM" && ([i, r, s] = (function(C) {
|
|
114563
114600
|
let Q = C.length / 4, f = Array(2 * Q), D = Array(Q), G = Array(Q);
|
|
@@ -114578,7 +114615,7 @@ function tP(e, A) {
|
|
|
114578
114615
|
return t;
|
|
114579
114616
|
}
|
|
114580
114617
|
function g2(e) {
|
|
114581
|
-
return e ?
|
|
114618
|
+
return e ? vr[e] : vr.Unknown;
|
|
114582
114619
|
}
|
|
114583
114620
|
let GsA = new TextEncoder(), ksA = new TextDecoder();
|
|
114584
114621
|
function xFe(e, A, t, i, r) {
|
|
@@ -114594,42 +114631,42 @@ function kwA(e, A, t) {
|
|
|
114594
114631
|
if (i) for (let f = 0; f < i.length; f++) {
|
|
114595
114632
|
let D = i[f], G = A[D.name];
|
|
114596
114633
|
if (G !== null) switch (g(2), a.setUint16(s, f, !0), s += 2, D.type) {
|
|
114597
|
-
case
|
|
114634
|
+
case br.Bool:
|
|
114598
114635
|
g(1), a.setUint8(s, G), s += 1;
|
|
114599
114636
|
break;
|
|
114600
|
-
case
|
|
114637
|
+
case br.Short:
|
|
114601
114638
|
g(2), a.setInt16(s, G, !0), s += 2;
|
|
114602
114639
|
break;
|
|
114603
|
-
case
|
|
114640
|
+
case br.UShort:
|
|
114604
114641
|
g(2), a.setUint16(s, G, !0), s += 2;
|
|
114605
114642
|
break;
|
|
114606
|
-
case
|
|
114643
|
+
case br.Int:
|
|
114607
114644
|
g(4), a.setInt32(s, G, !0), s += 4;
|
|
114608
114645
|
break;
|
|
114609
|
-
case
|
|
114646
|
+
case br.UInt:
|
|
114610
114647
|
g(4), a.setUint32(s, G, !0), s += 4;
|
|
114611
114648
|
break;
|
|
114612
|
-
case
|
|
114649
|
+
case br.Long:
|
|
114613
114650
|
g(8), a.setBigInt64(s, BigInt(G), !0), s += 8;
|
|
114614
114651
|
break;
|
|
114615
|
-
case
|
|
114652
|
+
case br.Float:
|
|
114616
114653
|
g(4), a.setFloat32(s, G, !0), s += 4;
|
|
114617
114654
|
break;
|
|
114618
|
-
case
|
|
114655
|
+
case br.Double:
|
|
114619
114656
|
g(8), a.setFloat64(s, G, !0), s += 8;
|
|
114620
114657
|
break;
|
|
114621
|
-
case
|
|
114622
|
-
case
|
|
114658
|
+
case br.DateTime:
|
|
114659
|
+
case br.String: {
|
|
114623
114660
|
let U = GsA.encode(G);
|
|
114624
114661
|
g(4), a.setUint32(s, U.length, !0), s += 4, g(U.length), o.set(U, s), s += U.length;
|
|
114625
114662
|
break;
|
|
114626
114663
|
}
|
|
114627
|
-
case
|
|
114664
|
+
case br.Json: {
|
|
114628
114665
|
let U = GsA.encode(JSON.stringify(G));
|
|
114629
114666
|
g(4), a.setUint32(s, U.length, !0), s += 4, g(U.length), o.set(U, s), s += U.length;
|
|
114630
114667
|
break;
|
|
114631
114668
|
}
|
|
114632
|
-
case
|
|
114669
|
+
case br.Binary:
|
|
114633
114670
|
g(4), a.setUint32(s, G.length, !0), s += 4, g(G.length), o.set(G, s), s += G.length;
|
|
114634
114671
|
break;
|
|
114635
114672
|
default:
|
|
@@ -114654,53 +114691,53 @@ function B5(e, A) {
|
|
|
114654
114691
|
n += 2;
|
|
114655
114692
|
let a = A[o], g = a.name;
|
|
114656
114693
|
switch (a.type) {
|
|
114657
|
-
case
|
|
114694
|
+
case br.Bool:
|
|
114658
114695
|
t[g] = !!r.getUint8(n), n += 1;
|
|
114659
114696
|
break;
|
|
114660
|
-
case
|
|
114697
|
+
case br.Byte:
|
|
114661
114698
|
t[g] = r.getInt8(n), n += 1;
|
|
114662
114699
|
break;
|
|
114663
|
-
case
|
|
114700
|
+
case br.UByte:
|
|
114664
114701
|
t[g] = r.getUint8(n), n += 1;
|
|
114665
114702
|
break;
|
|
114666
|
-
case
|
|
114703
|
+
case br.Short:
|
|
114667
114704
|
t[g] = r.getInt16(n, !0), n += 2;
|
|
114668
114705
|
break;
|
|
114669
|
-
case
|
|
114706
|
+
case br.UShort:
|
|
114670
114707
|
t[g] = r.getUint16(n, !0), n += 2;
|
|
114671
114708
|
break;
|
|
114672
|
-
case
|
|
114709
|
+
case br.Int:
|
|
114673
114710
|
t[g] = r.getInt32(n, !0), n += 4;
|
|
114674
114711
|
break;
|
|
114675
|
-
case
|
|
114712
|
+
case br.UInt:
|
|
114676
114713
|
t[g] = r.getUint32(n, !0), n += 4;
|
|
114677
114714
|
break;
|
|
114678
|
-
case
|
|
114715
|
+
case br.Long:
|
|
114679
114716
|
t[g] = Number(r.getBigInt64(n, !0)), n += 8;
|
|
114680
114717
|
break;
|
|
114681
|
-
case
|
|
114718
|
+
case br.ULong:
|
|
114682
114719
|
t[g] = Number(r.getBigUint64(n, !0)), n += 8;
|
|
114683
114720
|
break;
|
|
114684
|
-
case
|
|
114721
|
+
case br.Float:
|
|
114685
114722
|
t[g] = r.getFloat32(n, !0), n += 4;
|
|
114686
114723
|
break;
|
|
114687
|
-
case
|
|
114724
|
+
case br.Double:
|
|
114688
114725
|
t[g] = r.getFloat64(n, !0), n += 8;
|
|
114689
114726
|
break;
|
|
114690
|
-
case
|
|
114691
|
-
case
|
|
114727
|
+
case br.DateTime:
|
|
114728
|
+
case br.String: {
|
|
114692
114729
|
let l = r.getUint32(n, !0);
|
|
114693
114730
|
n += 4, t[g] = ksA.decode(i.subarray(n, n + l)), n += l;
|
|
114694
114731
|
break;
|
|
114695
114732
|
}
|
|
114696
|
-
case
|
|
114733
|
+
case br.Json: {
|
|
114697
114734
|
let l = r.getUint32(n, !0);
|
|
114698
114735
|
n += 4;
|
|
114699
114736
|
let C = ksA.decode(i.subarray(n, n + l));
|
|
114700
114737
|
t[g] = JSON.parse(C), n += l;
|
|
114701
114738
|
break;
|
|
114702
114739
|
}
|
|
114703
|
-
case
|
|
114740
|
+
case br.Binary: {
|
|
114704
114741
|
let l = r.getUint32(n, !0);
|
|
114705
114742
|
n += 4, t[g] = i.subarray(n, n + l), n += l;
|
|
114706
114743
|
break;
|
|
@@ -114714,9 +114751,9 @@ function B5(e, A) {
|
|
|
114714
114751
|
function LwA(e) {
|
|
114715
114752
|
let A;
|
|
114716
114753
|
for (let t of e) {
|
|
114717
|
-
if (A ===
|
|
114754
|
+
if (A === vr.Unknown) break;
|
|
114718
114755
|
let i = t.getGeometry ? g2(t.getGeometry().getType()) : g2(t.geometry.type);
|
|
114719
|
-
A === void 0 ? A = i : A !== i && (A =
|
|
114756
|
+
A === void 0 ? A = i : A !== i && (A = vr.Unknown);
|
|
114720
114757
|
}
|
|
114721
114758
|
if (A === void 0) throw Error("Could not infer geometry type for collection of features.");
|
|
114722
114759
|
return A;
|
|
@@ -114800,11 +114837,11 @@ async function kFe(e, A = !1, t = {}) {
|
|
|
114800
114837
|
}
|
|
114801
114838
|
function PwA(e, A) {
|
|
114802
114839
|
return { name: A, type: (function(t) {
|
|
114803
|
-
if (typeof t == "boolean") return
|
|
114804
|
-
if (typeof t == "number") return
|
|
114805
|
-
if (typeof t == "string" || t === null) return
|
|
114806
|
-
if (t instanceof Uint8Array) return
|
|
114807
|
-
if (typeof t == "object") return
|
|
114840
|
+
if (typeof t == "boolean") return br.Bool;
|
|
114841
|
+
if (typeof t == "number") return br.Double;
|
|
114842
|
+
if (typeof t == "string" || t === null) return br.String;
|
|
114843
|
+
if (t instanceof Uint8Array) return br.Binary;
|
|
114844
|
+
if (typeof t == "object") return br.Json;
|
|
114808
114845
|
throw Error(`Unknown type (value '${t}')`);
|
|
114809
114846
|
})(e[A]), title: null, description: null, width: -1, precision: -1, scale: -1, nullable: !0, unique: !1, primary_key: !1 };
|
|
114810
114847
|
}
|
|
@@ -114816,8 +114853,8 @@ function UFe(e, A = !1, t = {}) {
|
|
|
114816
114853
|
}
|
|
114817
114854
|
const TFe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
114818
114855
|
__proto__: null,
|
|
114819
|
-
ColumnType:
|
|
114820
|
-
GeometryType:
|
|
114856
|
+
ColumnType: br,
|
|
114857
|
+
GeometryType: vr,
|
|
114821
114858
|
deserialize: LFe,
|
|
114822
114859
|
parseProperties: B5,
|
|
114823
114860
|
readMetadata: UFe,
|
|
@@ -114850,31 +114887,31 @@ function JwA(e) {
|
|
|
114850
114887
|
}
|
|
114851
114888
|
function KH(e, A) {
|
|
114852
114889
|
let t = A;
|
|
114853
|
-
if (t ===
|
|
114890
|
+
if (t === vr.Unknown && (t = e.type()), t === vr.GeometryCollection) {
|
|
114854
114891
|
let r = [];
|
|
114855
114892
|
for (let s = 0; s < e.partsLength(); s++) {
|
|
114856
114893
|
let n = e.parts(s), o = n.type();
|
|
114857
114894
|
r.push(KH(n, o));
|
|
114858
114895
|
}
|
|
114859
|
-
return { type:
|
|
114896
|
+
return { type: vr[t], geometries: r };
|
|
114860
114897
|
}
|
|
114861
|
-
if (t ===
|
|
114898
|
+
if (t === vr.MultiPolygon) {
|
|
114862
114899
|
let r = [];
|
|
114863
|
-
for (let s = 0; s < e.partsLength(); s++) r.push(KH(e.parts(s),
|
|
114864
|
-
return { type:
|
|
114900
|
+
for (let s = 0; s < e.partsLength(); s++) r.push(KH(e.parts(s), vr.Polygon));
|
|
114901
|
+
return { type: vr[t], coordinates: r.map((s) => s.coordinates) };
|
|
114865
114902
|
}
|
|
114866
114903
|
let i = (function(r, s) {
|
|
114867
114904
|
let n = r.xyArray(), o = r.zArray();
|
|
114868
114905
|
switch (s) {
|
|
114869
|
-
case
|
|
114906
|
+
case vr.Point: {
|
|
114870
114907
|
let a = Array.from(n);
|
|
114871
114908
|
return o && a.push(o[0]), a;
|
|
114872
114909
|
}
|
|
114873
|
-
case
|
|
114874
|
-
case
|
|
114910
|
+
case vr.MultiPoint:
|
|
114911
|
+
case vr.LineString:
|
|
114875
114912
|
return tP(n, o);
|
|
114876
|
-
case
|
|
114877
|
-
case
|
|
114913
|
+
case vr.MultiLineString:
|
|
114914
|
+
case vr.Polygon:
|
|
114878
114915
|
return (function(a, g, l) {
|
|
114879
114916
|
let C;
|
|
114880
114917
|
if (!l || l.length === 0) return [tP(a, g)];
|
|
@@ -114883,7 +114920,7 @@ function KH(e, A) {
|
|
|
114883
114920
|
})(n, o, r.endsArray());
|
|
114884
114921
|
}
|
|
114885
114922
|
})(e, t);
|
|
114886
|
-
return { type:
|
|
114923
|
+
return { type: vr[t], coordinates: i };
|
|
114887
114924
|
}
|
|
114888
114925
|
function d5(e, A, t) {
|
|
114889
114926
|
let i = t.columns;
|
|
@@ -119096,7 +119133,7 @@ function tnA(e, A) {
|
|
|
119096
119133
|
}
|
|
119097
119134
|
function uDA(e, A) {
|
|
119098
119135
|
let t;
|
|
119099
|
-
if (t = A ===
|
|
119136
|
+
if (t = A === vr.Unknown ? e?.type() : A, !e) return;
|
|
119100
119137
|
let i = e.xyArray();
|
|
119101
119138
|
if (i) {
|
|
119102
119139
|
let r = Array.from(i), s = e.zArray(), n = e.mArray(), o = e.endsArray(), a = "XY", g = 2;
|
|
@@ -119107,21 +119144,21 @@ function uDA(e, A) {
|
|
|
119107
119144
|
})(r, Array.from(s), Array.from(n)), g = 4) : s ? (a = "XYZ", r = tnA(r, Array.from(s)), g = 3) : n && (a = "XYM", r = tnA(r, Array.from(n)), g = 3);
|
|
119108
119145
|
let l = o ? Array.from(o.map((C) => C * g)) : [r.length];
|
|
119109
119146
|
switch (t) {
|
|
119110
|
-
case
|
|
119147
|
+
case vr.Point:
|
|
119111
119148
|
return new L_(r);
|
|
119112
|
-
case
|
|
119149
|
+
case vr.MultiPoint:
|
|
119113
119150
|
return new Rk(r, a);
|
|
119114
|
-
case
|
|
119151
|
+
case vr.LineString:
|
|
119115
119152
|
return new Fm(r, a);
|
|
119116
|
-
case
|
|
119153
|
+
case vr.MultiLineString:
|
|
119117
119154
|
return new k_(r, a, l);
|
|
119118
|
-
case
|
|
119155
|
+
case vr.Polygon:
|
|
119119
119156
|
return new Nm(r, a, l);
|
|
119120
119157
|
}
|
|
119121
119158
|
}
|
|
119122
|
-
if (t ===
|
|
119159
|
+
if (t === vr.MultiPolygon) {
|
|
119123
119160
|
let r = e.partsLength(), s = Array(r);
|
|
119124
|
-
for (let n = 0; n < r; n++) s[n] = uDA(e.parts(n),
|
|
119161
|
+
for (let n = 0; n < r; n++) s[n] = uDA(e.parts(n), vr.Polygon);
|
|
119125
119162
|
return new U_(s);
|
|
119126
119163
|
}
|
|
119127
119164
|
throw Error("Unknown type");
|
|
@@ -125428,9 +125465,9 @@ function Yve(e, A) {
|
|
|
125428
125465
|
if (at > s)
|
|
125429
125466
|
if (ze >= Hve && ze <= LnA) {
|
|
125430
125467
|
let Ai = Pve[ze];
|
|
125431
|
-
const Wt = at - s - 1, Ui = Jve[ze], Ut = (1 << Ui) - 1, ei = Wt & Ut,
|
|
125432
|
-
if (Ai += ei * ze,
|
|
125433
|
-
const vi = xve(U, Tt, Ai, ze,
|
|
125468
|
+
const Wt = at - s - 1, Ui = Jve[ze], Ut = (1 << Ui) - 1, ei = Wt & Ut, Cr = Wt >> Ui;
|
|
125469
|
+
if (Ai += ei * ze, Cr < _ve) {
|
|
125470
|
+
const vi = xve(U, Tt, Ai, ze, Cr);
|
|
125434
125471
|
if (Tt += vi, t += vi, AA -= vi, Tt >= Y) {
|
|
125435
125472
|
A.write(U, D);
|
|
125436
125473
|
for (let rr = 0; rr < Tt - Y; rr++)
|
|
@@ -126715,7 +126752,7 @@ async function H_e(e, A = {}) {
|
|
|
126715
126752
|
const at = C.GetGeometry(Q, ze.id), Tt = C.GetVertexArray(at.GetVertexData(), at.GetVertexDataSize()), Ai = C.GetIndexArray(at.GetIndexData(), at.GetIndexDataSize()), Wt = ze.matrix, Ui = ze.colour.map((vi) => Math.round(vi * 1e3) / 1e3).join(","), Ut = SA ? `${nt} ${Ui}` : Ui;
|
|
126716
126753
|
let ei = rA.get(Ut);
|
|
126717
126754
|
ei || (ei = { positions: [], normals: [], featureIds: [], indices: [], colour: ze.colour, label: `colour-${rA.size}`, cellKey: nt }, rA.set(Ut, ei));
|
|
126718
|
-
const
|
|
126755
|
+
const Cr = ei.featureIds.length;
|
|
126719
126756
|
for (let vi = 0; vi < Tt.length; vi += 6) {
|
|
126720
126757
|
const [rr, Pr, es] = [Tt[vi], Tt[vi + 1], Tt[vi + 2]], os = Wt[0] * rr + Wt[4] * Pr + Wt[8] * es + Wt[12], Qs = Wt[1] * rr + Wt[5] * Pr + Wt[9] * es + Wt[13], bs = Wt[2] * rr + Wt[6] * Pr + Wt[10] * es + Wt[14], [ks, Wi, ki] = [Tt[vi + 3], Tt[vi + 4], Tt[vi + 5]];
|
|
126721
126758
|
ei.positions.push(os, Qs, bs), ei.normals.push(Wt[0] * ks + Wt[4] * Wi + Wt[8] * ki, Wt[1] * ks + Wt[5] * Wi + Wt[9] * ki, Wt[2] * ks + Wt[6] * Wi + Wt[10] * ki), ei.featureIds.push(Qe);
|
|
@@ -126723,7 +126760,7 @@ async function H_e(e, A = {}) {
|
|
|
126723
126760
|
for (let Ar = 0; Ar < 3; Ar++)
|
|
126724
126761
|
Ir[Ar] < sA[Ar] && (sA[Ar] = Ir[Ar]), Ir[Ar] > tA[Ar] && (tA[Ar] = Ir[Ar]), Ir[Ar] < Vi[Ar] && (Vi[Ar] = Ir[Ar]), Ir[Ar] > Vi[Ar + 3] && (Vi[Ar + 3] = Ir[Ar]);
|
|
126725
126762
|
}
|
|
126726
|
-
for (let vi = 0; vi < Ai.length; vi++) ei.indices.push(
|
|
126763
|
+
for (let vi = 0; vi < Ai.length; vi++) ei.indices.push(Cr + Ai[vi]);
|
|
126727
126764
|
dA += Tt.length / 6, at.delete();
|
|
126728
126765
|
}
|
|
126729
126766
|
(He + 1) % 250 === 0 && (t(`Reading geometry… ${He + 1}/${CA.length} elements`), await new Promise((ze) => setTimeout(ze)));
|
|
@@ -126776,7 +126813,7 @@ async function H_e(e, A = {}) {
|
|
|
126776
126813
|
for (const Wi of Wt)
|
|
126777
126814
|
for (let ki = 0; ki < 3; ki++)
|
|
126778
126815
|
Wi[ki] < Ut[ki] && (Ut[ki] = Wi[ki]), Wi[ki + 3] > ei[ki] && (ei[ki] = Wi[ki + 3]);
|
|
126779
|
-
const
|
|
126816
|
+
const Cr = (Ut[0] + ei[0]) / 2, vi = (Ut[1] + ei[1]) / 2, rr = (Ut[2] + ei[2]) / 2, Pr = Math.max((ei[0] - Ut[0]) / 2, 0.5), es = Math.max((ei[1] - Ut[1]) / 2, 0.5), os = Math.max((ei[2] - Ut[2]) / 2, 0.5), Qs = [Cr, vi, rr, Pr, 0, 0, 0, es, 0, 0, 0, os], bs = jnA(Ai, Ui, Wt), ks = XA(bs, `cell-${nt}.glb`);
|
|
126780
126817
|
we.push({ boundingVolume: { box: Qs }, geometricError: 0, content: { uri: ks } });
|
|
126781
126818
|
}
|
|
126782
126819
|
l("glb"), Ne = {
|
|
@@ -128277,76 +128314,76 @@ const Dxe = {
|
|
|
128277
128314
|
[Ft.GeoKeyDirectory]: !0,
|
|
128278
128315
|
[Ft.GeoDoubleParams]: !0
|
|
128279
128316
|
};
|
|
128280
|
-
var
|
|
128317
|
+
var Sr;
|
|
128281
128318
|
(function(e) {
|
|
128282
128319
|
e.None = "application/octet-stream", e.Jbig = "image/jbig", e.Dcs = "image/x-kodak-dcs", e.PackBits = "application/packbits", e.Jpeg = "image/jpeg", e.Jp2000 = "image/jp2", e.JpegXl = "image/jpegxl", e.Webp = "image/webp", e.Zstd = "application/zstd", e.Lzw = "application/lzw", e.Deflate = "application/deflate", e.Lerc = "application/lerc", e.Lzma = "application/x-lzma";
|
|
128283
|
-
})(
|
|
128320
|
+
})(Sr || (Sr = {}));
|
|
128284
128321
|
const kSA = {
|
|
128285
|
-
[bi.None]:
|
|
128286
|
-
[bi.Lzw]:
|
|
128287
|
-
[bi.Jpeg6]:
|
|
128288
|
-
[bi.Jpeg]:
|
|
128289
|
-
[bi.DeflateOther]:
|
|
128290
|
-
[bi.Deflate]:
|
|
128291
|
-
[bi.Lerc]:
|
|
128292
|
-
[bi.Lzma]:
|
|
128293
|
-
[bi.Jp2000]:
|
|
128294
|
-
[bi.Zstd]:
|
|
128295
|
-
[bi.Webp]:
|
|
128296
|
-
[bi.JpegXl]:
|
|
128297
|
-
[bi.Ccittrle]:
|
|
128298
|
-
[bi.CcittT4]:
|
|
128299
|
-
[bi.CcittT6]:
|
|
128300
|
-
[bi.T85]:
|
|
128301
|
-
[bi.T43]:
|
|
128302
|
-
[bi.Next]:
|
|
128303
|
-
[bi.Ccittrlew]:
|
|
128304
|
-
[bi.PackBits]:
|
|
128305
|
-
[bi.ThunderScan]:
|
|
128306
|
-
[bi.It8ctpad]:
|
|
128307
|
-
[bi.It8lw]:
|
|
128308
|
-
[bi.It8mp]:
|
|
128309
|
-
[bi.It8bl]:
|
|
128310
|
-
[bi.PixarFilm]:
|
|
128311
|
-
[bi.PixarLog]:
|
|
128312
|
-
[bi.Dcs]:
|
|
128313
|
-
[bi.Jbig]:
|
|
128314
|
-
[bi.SgiLog]:
|
|
128315
|
-
[bi.SgiLog24]:
|
|
128316
|
-
[bi.JpegXlDng17]:
|
|
128322
|
+
[bi.None]: Sr.None,
|
|
128323
|
+
[bi.Lzw]: Sr.Lzw,
|
|
128324
|
+
[bi.Jpeg6]: Sr.Jpeg,
|
|
128325
|
+
[bi.Jpeg]: Sr.Jpeg,
|
|
128326
|
+
[bi.DeflateOther]: Sr.Deflate,
|
|
128327
|
+
[bi.Deflate]: Sr.Deflate,
|
|
128328
|
+
[bi.Lerc]: Sr.Lerc,
|
|
128329
|
+
[bi.Lzma]: Sr.Lzma,
|
|
128330
|
+
[bi.Jp2000]: Sr.Jp2000,
|
|
128331
|
+
[bi.Zstd]: Sr.Zstd,
|
|
128332
|
+
[bi.Webp]: Sr.Webp,
|
|
128333
|
+
[bi.JpegXl]: Sr.JpegXl,
|
|
128334
|
+
[bi.Ccittrle]: Sr.None,
|
|
128335
|
+
[bi.CcittT4]: Sr.None,
|
|
128336
|
+
[bi.CcittT6]: Sr.None,
|
|
128337
|
+
[bi.T85]: Sr.Jbig,
|
|
128338
|
+
[bi.T43]: Sr.Jbig,
|
|
128339
|
+
[bi.Next]: Sr.None,
|
|
128340
|
+
[bi.Ccittrlew]: Sr.None,
|
|
128341
|
+
[bi.PackBits]: Sr.PackBits,
|
|
128342
|
+
[bi.ThunderScan]: Sr.None,
|
|
128343
|
+
[bi.It8ctpad]: Sr.None,
|
|
128344
|
+
[bi.It8lw]: Sr.None,
|
|
128345
|
+
[bi.It8mp]: Sr.None,
|
|
128346
|
+
[bi.It8bl]: Sr.None,
|
|
128347
|
+
[bi.PixarFilm]: Sr.None,
|
|
128348
|
+
[bi.PixarLog]: Sr.None,
|
|
128349
|
+
[bi.Dcs]: Sr.Dcs,
|
|
128350
|
+
[bi.Jbig]: Sr.Jbig,
|
|
128351
|
+
[bi.SgiLog]: Sr.None,
|
|
128352
|
+
[bi.SgiLog24]: Sr.None,
|
|
128353
|
+
[bi.JpegXlDng17]: Sr.JpegXl
|
|
128317
128354
|
};
|
|
128318
128355
|
function Sxe(e) {
|
|
128319
128356
|
return e == null ? null : kSA[e];
|
|
128320
128357
|
}
|
|
128321
|
-
var
|
|
128358
|
+
var Qr;
|
|
128322
128359
|
(function(e) {
|
|
128323
128360
|
e[e.Uint8 = 1] = "Uint8", e[e.Ascii = 2] = "Ascii", e[e.Uint16 = 3] = "Uint16", e[e.Uint32 = 4] = "Uint32", e[e.Rational = 5] = "Rational", e[e.Int8 = 6] = "Int8", e[e.Undefined = 7] = "Undefined", e[e.Int16 = 8] = "Int16", e[e.Int32 = 9] = "Int32", e[e.SignedRational = 10] = "SignedRational", e[e.Float32 = 11] = "Float32", e[e.Float64 = 12] = "Float64", e[e.Ifd = 13] = "Ifd", e[e.Uint64 = 16] = "Uint64", e[e.Int64 = 17] = "Int64", e[e.Ifd8 = 18] = "Ifd8";
|
|
128324
|
-
})(
|
|
128361
|
+
})(Qr || (Qr = {}));
|
|
128325
128362
|
var oC;
|
|
128326
128363
|
(function(e) {
|
|
128327
128364
|
e[e.BigTiff = 43] = "BigTiff", e[e.Tiff = 42] = "Tiff";
|
|
128328
128365
|
})(oC || (oC = {}));
|
|
128329
128366
|
function Kf(e) {
|
|
128330
128367
|
switch (e) {
|
|
128331
|
-
case
|
|
128332
|
-
case
|
|
128333
|
-
case
|
|
128334
|
-
case
|
|
128368
|
+
case Qr.Uint8:
|
|
128369
|
+
case Qr.Ascii:
|
|
128370
|
+
case Qr.Int8:
|
|
128371
|
+
case Qr.Undefined:
|
|
128335
128372
|
return 1;
|
|
128336
|
-
case
|
|
128337
|
-
case
|
|
128373
|
+
case Qr.Uint16:
|
|
128374
|
+
case Qr.Int16:
|
|
128338
128375
|
return 2;
|
|
128339
|
-
case
|
|
128340
|
-
case
|
|
128341
|
-
case
|
|
128342
|
-
case
|
|
128376
|
+
case Qr.Uint32:
|
|
128377
|
+
case Qr.Int32:
|
|
128378
|
+
case Qr.Float32:
|
|
128379
|
+
case Qr.Ifd:
|
|
128343
128380
|
return 4;
|
|
128344
|
-
case
|
|
128345
|
-
case
|
|
128346
|
-
case
|
|
128347
|
-
case
|
|
128348
|
-
case
|
|
128349
|
-
case
|
|
128381
|
+
case Qr.Rational:
|
|
128382
|
+
case Qr.SignedRational:
|
|
128383
|
+
case Qr.Float64:
|
|
128384
|
+
case Qr.Uint64:
|
|
128385
|
+
case Qr.Int64:
|
|
128386
|
+
case Qr.Ifd8:
|
|
128350
128387
|
return 8;
|
|
128351
128388
|
default:
|
|
128352
128389
|
throw new Error(`Invalid fieldType ${String(e)}`);
|
|
@@ -128387,43 +128424,43 @@ bxe[0] = 1;
|
|
|
128387
128424
|
const coA = Rxe[0] === 1;
|
|
128388
128425
|
function loA(e, A, t, i) {
|
|
128389
128426
|
switch (e) {
|
|
128390
|
-
case
|
|
128427
|
+
case Qr.Ascii:
|
|
128391
128428
|
return String.fromCharCode(A.getUint8(t));
|
|
128392
|
-
case
|
|
128393
|
-
case
|
|
128429
|
+
case Qr.Undefined:
|
|
128430
|
+
case Qr.Uint8:
|
|
128394
128431
|
return A.getUint8(t);
|
|
128395
|
-
case
|
|
128432
|
+
case Qr.Int8:
|
|
128396
128433
|
return A.getInt8(t);
|
|
128397
|
-
case
|
|
128434
|
+
case Qr.Uint16:
|
|
128398
128435
|
return A.getUint16(t, i);
|
|
128399
|
-
case
|
|
128436
|
+
case Qr.Int16:
|
|
128400
128437
|
return A.getInt16(t, i);
|
|
128401
|
-
case
|
|
128402
|
-
case
|
|
128438
|
+
case Qr.Uint32:
|
|
128439
|
+
case Qr.Ifd:
|
|
128403
128440
|
return A.getUint32(t, i);
|
|
128404
|
-
case
|
|
128441
|
+
case Qr.Int32:
|
|
128405
128442
|
return A.getInt32(t, i);
|
|
128406
|
-
case
|
|
128443
|
+
case Qr.Rational:
|
|
128407
128444
|
return [A.getUint32(t, i), A.getUint32(t + 4, i)];
|
|
128408
|
-
case
|
|
128445
|
+
case Qr.SignedRational:
|
|
128409
128446
|
return [A.getInt32(t, i), A.getInt32(t + 4, i)];
|
|
128410
|
-
case
|
|
128447
|
+
case Qr.Float64:
|
|
128411
128448
|
return A.getFloat64(t, i);
|
|
128412
|
-
case
|
|
128449
|
+
case Qr.Float32:
|
|
128413
128450
|
return A.getFloat32(t, i);
|
|
128414
|
-
case
|
|
128451
|
+
case Qr.Uint64:
|
|
128415
128452
|
return LSA(A, t, i);
|
|
128416
128453
|
default:
|
|
128417
|
-
throw new Error(`Unknown read type "${e}" "${
|
|
128454
|
+
throw new Error(`Unknown read type "${e}" "${Qr[e]}"`);
|
|
128418
128455
|
}
|
|
128419
128456
|
}
|
|
128420
128457
|
function TSA(e, A, t, i, r) {
|
|
128421
128458
|
switch (r) {
|
|
128422
|
-
case
|
|
128459
|
+
case Qr.Uint8:
|
|
128423
128460
|
return new Uint8Array(A.buffer.slice(A.byteOffset + t, A.byteOffset + t + i));
|
|
128424
|
-
case
|
|
128461
|
+
case Qr.Uint16:
|
|
128425
128462
|
return e.isLittleEndian !== coA ? null : new Uint16Array(A.buffer.slice(A.byteOffset + t, A.byteOffset + t + i));
|
|
128426
|
-
case
|
|
128463
|
+
case Qr.Uint32:
|
|
128427
128464
|
return e.isLittleEndian !== coA ? null : new Uint32Array(A.buffer.slice(A.byteOffset + t, A.byteOffset + t + i));
|
|
128428
128465
|
}
|
|
128429
128466
|
return null;
|
|
@@ -128435,7 +128472,7 @@ function pf(e, A, t, i, r, s) {
|
|
|
128435
128472
|
return A && Dxe[A] ? [g] : g;
|
|
128436
128473
|
}
|
|
128437
128474
|
switch (r) {
|
|
128438
|
-
case
|
|
128475
|
+
case Qr.Ascii:
|
|
128439
128476
|
return String.fromCharCode.apply(null, new Uint8Array(t.buffer, i, o - 1));
|
|
128440
128477
|
}
|
|
128441
128478
|
if (A === Ft.TileOffsets || A === Ft.TileByteCounts || A === Ft.StripOffsets || A === Ft.StripByteCounts) {
|
|
@@ -128888,7 +128925,7 @@ class Lxe {
|
|
|
128888
128925
|
throw new Error(`Failed to fetch bytes from offset:${A} wanted:${t} got:${r.byteLength}`);
|
|
128889
128926
|
let s = this.value(Ft.Compression);
|
|
128890
128927
|
s == null && (s = bi.None);
|
|
128891
|
-
const n = Sxe(s) ??
|
|
128928
|
+
const n = Sxe(s) ?? Sr.None;
|
|
128892
128929
|
return s === bi.Jpeg ? { mimeType: n, bytes: this.getJpegHeader(r), compression: s } : { mimeType: n, bytes: r, compression: s };
|
|
128893
128930
|
}
|
|
128894
128931
|
/**
|
|
@@ -142849,6 +142886,21 @@ class DOe extends en {
|
|
|
142849
142886
|
shouldUpdateState({ changeFlags: A }) {
|
|
142850
142887
|
return !!A.somethingChanged;
|
|
142851
142888
|
}
|
|
142889
|
+
/**
|
|
142890
|
+
* A pick lands on one GLYPH of the sublayer, but what the label IS is the
|
|
142891
|
+
* row it spells. Reported as-is, the glyph (`{char, position, angle, …}`)
|
|
142892
|
+
* reached `ctx.selection`, where flattening it as a GeoJSON feature found no
|
|
142893
|
+
* properties: a `{{name}}` popup on a curved river label rendered blank, and
|
|
142894
|
+
* a programmatic `pickAt` returned an empty row. Every glyph carries its
|
|
142895
|
+
* row's index, so the pick reports that row and index instead — and a
|
|
142896
|
+
* rectangle over one label counts it once, since deck dedupes by object.
|
|
142897
|
+
*/
|
|
142898
|
+
getPickingInfo({ info: A }) {
|
|
142899
|
+
const t = A.object;
|
|
142900
|
+
if (!t || typeof t.row != "number") return A;
|
|
142901
|
+
const i = Array.isArray(this.props.data) ? this.props.data : [];
|
|
142902
|
+
return { ...A, object: i[t.row], index: t.row };
|
|
142903
|
+
}
|
|
142852
142904
|
renderLayers() {
|
|
142853
142905
|
const A = this.context.viewport;
|
|
142854
142906
|
if (!A || !A.width) return null;
|
|
@@ -142873,7 +142925,8 @@ class DOe extends en {
|
|
|
142873
142925
|
position: [W[0], W[1]],
|
|
142874
142926
|
angle: O.angle,
|
|
142875
142927
|
size: G,
|
|
142876
|
-
color: Array.isArray(U) ? U : [30, 30, 30, 255]
|
|
142928
|
+
color: Array.isArray(U) ? U : [30, 30, 30, 255],
|
|
142929
|
+
row: C
|
|
142877
142930
|
}), l.length >= g) break;
|
|
142878
142931
|
}
|
|
142879
142932
|
}
|
|
@@ -143269,7 +143322,7 @@ function MOe() {
|
|
|
143269
143322
|
}
|
|
143270
143323
|
}));
|
|
143271
143324
|
}
|
|
143272
|
-
let ei,
|
|
143325
|
+
let ei, Cr;
|
|
143273
143326
|
function vi(B, I, h, d) {
|
|
143274
143327
|
return B.addEventListener(I, h, d), { unsubscribe: () => {
|
|
143275
143328
|
B.removeEventListener(I, h, d);
|
|
@@ -143806,7 +143859,7 @@ function MOe() {
|
|
|
143806
143859
|
return new gi(b);
|
|
143807
143860
|
}
|
|
143808
143861
|
}
|
|
143809
|
-
class
|
|
143862
|
+
class Nr extends Error {
|
|
143810
143863
|
constructor(I) {
|
|
143811
143864
|
super(I), this.name = "RuntimeError";
|
|
143812
143865
|
}
|
|
@@ -143834,10 +143887,10 @@ function MOe() {
|
|
|
143834
143887
|
}
|
|
143835
143888
|
static interpolate(I, h, d) {
|
|
143836
143889
|
const y = I.values, b = h.values;
|
|
143837
|
-
if (y.length !== b.length) throw new
|
|
143890
|
+
if (y.length !== b.length) throw new Nr(`Cannot interpolate values of different length. from: ${I.toString()}, to: ${h.toString()}`);
|
|
143838
143891
|
const v = [];
|
|
143839
143892
|
for (let x = 0; x < y.length; x += 2) {
|
|
143840
|
-
if (y[x] !== b[x]) throw new
|
|
143893
|
+
if (y[x] !== b[x]) throw new Nr(`Cannot interpolate values containing mismatched anchors. from[${x}]: ${y[x]}, to[${x}]: ${b[x]}`);
|
|
143841
143894
|
v.push(y[x]);
|
|
143842
143895
|
const [P, T] = y[x + 1], [q, H] = b[x + 1];
|
|
143843
143896
|
v.push([xI(P, q, d), xI(T, H, d)]);
|
|
@@ -143974,7 +144027,7 @@ function MOe() {
|
|
|
143974
144027
|
for (let h = 0; h < this.args.length; h++) {
|
|
143975
144028
|
const d = this.args[h].evaluate(I);
|
|
143976
144029
|
if (!eI(this.type, gs(d))) return d;
|
|
143977
|
-
if (h === this.args.length - 1) throw new
|
|
144030
|
+
if (h === this.args.length - 1) throw new Nr(`Expected value to be of type ${Nt(this.type)}, but found ${Nt(gs(d))} instead.`);
|
|
143978
144031
|
}
|
|
143979
144032
|
throw new Error();
|
|
143980
144033
|
}
|
|
@@ -144016,7 +144069,7 @@ function MOe() {
|
|
|
144016
144069
|
if (b) return b;
|
|
144017
144070
|
} else if (Array.isArray(h) && (d = h.length < 3 || h.length > 4 ? `Invalid rgba value ${JSON.stringify(h)}: expected an array containing either three or four numeric values.` : Ul(h[0], h[1], h[2], h[3]), !d)) return new Ot(h[0] / 255, h[1] / 255, h[2] / 255, h[3]);
|
|
144018
144071
|
}
|
|
144019
|
-
throw new
|
|
144072
|
+
throw new Nr(d || `Could not parse color from value '${typeof h == "string" ? h : JSON.stringify(h)}'`);
|
|
144020
144073
|
}
|
|
144021
144074
|
case "padding": {
|
|
144022
144075
|
let h;
|
|
@@ -144025,7 +144078,7 @@ function MOe() {
|
|
|
144025
144078
|
const y = jn.parse(h);
|
|
144026
144079
|
if (y) return y;
|
|
144027
144080
|
}
|
|
144028
|
-
throw new
|
|
144081
|
+
throw new Nr(`Could not parse padding from value '${typeof h == "string" ? h : JSON.stringify(h)}'`);
|
|
144029
144082
|
}
|
|
144030
144083
|
case "numberArray": {
|
|
144031
144084
|
let h;
|
|
@@ -144034,7 +144087,7 @@ function MOe() {
|
|
|
144034
144087
|
const y = ts.parse(h);
|
|
144035
144088
|
if (y) return y;
|
|
144036
144089
|
}
|
|
144037
|
-
throw new
|
|
144090
|
+
throw new Nr(`Could not parse numberArray from value '${typeof h == "string" ? h : JSON.stringify(h)}'`);
|
|
144038
144091
|
}
|
|
144039
144092
|
case "colorArray": {
|
|
144040
144093
|
let h;
|
|
@@ -144043,7 +144096,7 @@ function MOe() {
|
|
|
144043
144096
|
const y = gi.parse(h);
|
|
144044
144097
|
if (y) return y;
|
|
144045
144098
|
}
|
|
144046
|
-
throw new
|
|
144099
|
+
throw new Nr(`Could not parse colorArray from value '${typeof h == "string" ? h : JSON.stringify(h)}'`);
|
|
144047
144100
|
}
|
|
144048
144101
|
case "variableAnchorOffsetCollection": {
|
|
144049
144102
|
let h;
|
|
@@ -144052,7 +144105,7 @@ function MOe() {
|
|
|
144052
144105
|
const y = lo.parse(h);
|
|
144053
144106
|
if (y) return y;
|
|
144054
144107
|
}
|
|
144055
|
-
throw new
|
|
144108
|
+
throw new Nr(`Could not parse variableAnchorOffsetCollection from value '${typeof h == "string" ? h : JSON.stringify(h)}'`);
|
|
144056
144109
|
}
|
|
144057
144110
|
case "number": {
|
|
144058
144111
|
let h = null;
|
|
@@ -144061,7 +144114,7 @@ function MOe() {
|
|
|
144061
144114
|
const y = Number(h);
|
|
144062
144115
|
if (!isNaN(y)) return y;
|
|
144063
144116
|
}
|
|
144064
|
-
throw new
|
|
144117
|
+
throw new Nr(`Could not convert ${JSON.stringify(h)} to number.`);
|
|
144065
144118
|
}
|
|
144066
144119
|
case "formatted":
|
|
144067
144120
|
return vo.fromString(Fc(this.args[0].evaluate(I)));
|
|
@@ -144216,9 +144269,9 @@ function MOe() {
|
|
|
144216
144269
|
}
|
|
144217
144270
|
evaluate(I) {
|
|
144218
144271
|
const h = this.index.evaluate(I), d = this.input.evaluate(I);
|
|
144219
|
-
if (h < 0) throw new
|
|
144220
|
-
if (h >= d.length) throw new
|
|
144221
|
-
if (h !== Math.floor(h)) throw new
|
|
144272
|
+
if (h < 0) throw new Nr(`Array index out of bounds: ${h} < 0.`);
|
|
144273
|
+
if (h >= d.length) throw new Nr(`Array index out of bounds: ${h} > ${d.length - 1}.`);
|
|
144274
|
+
if (h !== Math.floor(h)) throw new Nr(`Array index must be an integer, but found ${h} instead.`);
|
|
144222
144275
|
return d[h];
|
|
144223
144276
|
}
|
|
144224
144277
|
eachChild(I) {
|
|
@@ -144240,8 +144293,8 @@ function MOe() {
|
|
|
144240
144293
|
evaluate(I) {
|
|
144241
144294
|
const h = this.needle.evaluate(I), d = this.haystack.evaluate(I);
|
|
144242
144295
|
if (!d) return !1;
|
|
144243
|
-
if (!dg(h, ["boolean", "string", "number", "null"])) throw new
|
|
144244
|
-
if (!dg(d, ["string", "array"])) throw new
|
|
144296
|
+
if (!dg(h, ["boolean", "string", "number", "null"])) throw new Nr(`Expected first argument to be of type boolean, string, number or null, but found ${Nt(gs(h))} instead.`);
|
|
144297
|
+
if (!dg(d, ["string", "array"])) throw new Nr(`Expected second argument to be of type array or string, but found ${Nt(gs(d))} instead.`);
|
|
144245
144298
|
return d.indexOf(h) >= 0;
|
|
144246
144299
|
}
|
|
144247
144300
|
eachChild(I) {
|
|
@@ -144268,14 +144321,14 @@ function MOe() {
|
|
|
144268
144321
|
}
|
|
144269
144322
|
evaluate(I) {
|
|
144270
144323
|
const h = this.needle.evaluate(I), d = this.haystack.evaluate(I);
|
|
144271
|
-
if (!dg(h, ["boolean", "string", "number", "null"])) throw new
|
|
144324
|
+
if (!dg(h, ["boolean", "string", "number", "null"])) throw new Nr(`Expected first argument to be of type boolean, string, number or null, but found ${Nt(gs(h))} instead.`);
|
|
144272
144325
|
let y;
|
|
144273
144326
|
if (this.fromIndex && (y = this.fromIndex.evaluate(I)), dg(d, ["string"])) {
|
|
144274
144327
|
const b = d.indexOf(h, y);
|
|
144275
144328
|
return b === -1 ? -1 : [...d.slice(0, b)].length;
|
|
144276
144329
|
}
|
|
144277
144330
|
if (dg(d, ["array"])) return d.indexOf(h, y);
|
|
144278
|
-
throw new
|
|
144331
|
+
throw new Nr(`Expected second argument to be of type array or string, but found ${Nt(gs(d))} instead.`);
|
|
144279
144332
|
}
|
|
144280
144333
|
eachChild(I) {
|
|
144281
144334
|
I(this.needle), I(this.haystack), this.fromIndex && I(this.fromIndex);
|
|
@@ -144384,7 +144437,7 @@ function MOe() {
|
|
|
144384
144437
|
let y;
|
|
144385
144438
|
if (this.endIndex && (y = this.endIndex.evaluate(I)), dg(h, ["string"])) return [...h].slice(d, y).join("");
|
|
144386
144439
|
if (dg(h, ["array"])) return h.slice(d, y);
|
|
144387
|
-
throw new
|
|
144440
|
+
throw new Nr(`Expected first argument to be of type array or string, but found ${Nt(gs(h))} instead.`);
|
|
144388
144441
|
}
|
|
144389
144442
|
eachChild(I) {
|
|
144390
144443
|
I(this.input), I(this.beginIndex), this.endIndex && I(this.endIndex);
|
|
@@ -144400,7 +144453,7 @@ function MOe() {
|
|
|
144400
144453
|
if (x === h || I < y) return x;
|
|
144401
144454
|
b = x + 1;
|
|
144402
144455
|
} else {
|
|
144403
|
-
if (!(d > I)) throw new
|
|
144456
|
+
if (!(d > I)) throw new Nr("Input is not a number.");
|
|
144404
144457
|
v = x - 1;
|
|
144405
144458
|
}
|
|
144406
144459
|
return 0;
|
|
@@ -144644,7 +144697,7 @@ function MOe() {
|
|
|
144644
144697
|
const v = this.lhs.evaluate(b), x = this.rhs.evaluate(b);
|
|
144645
144698
|
if (d && this.hasUntypedArgument) {
|
|
144646
144699
|
const P = gs(v), T = gs(x);
|
|
144647
|
-
if (P.kind !== T.kind || P.kind !== "string" && P.kind !== "number") throw new
|
|
144700
|
+
if (P.kind !== T.kind || P.kind !== "string" && P.kind !== "number") throw new Nr(`Expected arguments for "${B}" to be (string, string) or (number, number), but found (${P.kind}, ${T.kind}) instead.`);
|
|
144648
144701
|
}
|
|
144649
144702
|
if (this.collator && !d && this.hasUntypedArgument) {
|
|
144650
144703
|
const P = gs(v), T = gs(x);
|
|
@@ -144708,7 +144761,7 @@ function MOe() {
|
|
|
144708
144761
|
return !1;
|
|
144709
144762
|
}
|
|
144710
144763
|
}
|
|
144711
|
-
class
|
|
144764
|
+
class pr {
|
|
144712
144765
|
constructor(I, h, d, y, b, v) {
|
|
144713
144766
|
this.type = ge, this.number = I, this.locale = h, this.currency = d, this.unit = y, this.minFractionDigits = b, this.maxFractionDigits = v;
|
|
144714
144767
|
}
|
|
@@ -144728,7 +144781,7 @@ function MOe() {
|
|
|
144728
144781
|
let P = null;
|
|
144729
144782
|
if (y["min-fraction-digits"] && (P = h.parse(y["min-fraction-digits"], 1, YA), !P)) return null;
|
|
144730
144783
|
let T = null;
|
|
144731
|
-
return y["max-fraction-digits"] && (T = h.parse(y["max-fraction-digits"], 1, YA), !T) ? null : new
|
|
144784
|
+
return y["max-fraction-digits"] && (T = h.parse(y["max-fraction-digits"], 1, YA), !T) ? null : new pr(d, b, v, x, P, T);
|
|
144732
144785
|
}
|
|
144733
144786
|
evaluate(I) {
|
|
144734
144787
|
return new Intl.NumberFormat(this.locale ? this.locale.evaluate(I) : [], { style: this.currency ? "currency" : this.unit ? "unit" : "decimal", currency: this.currency ? this.currency.evaluate(I) : void 0, unit: this.unit ? this.unit.evaluate(I) : void 0, minimumFractionDigits: this.minFractionDigits ? this.minFractionDigits.evaluate(I) : void 0, maximumFractionDigits: this.maxFractionDigits ? this.maxFractionDigits.evaluate(I) : void 0 }).format(this.number.evaluate(I));
|
|
@@ -144823,7 +144876,7 @@ function MOe() {
|
|
|
144823
144876
|
const h = this.input.evaluate(I);
|
|
144824
144877
|
if (typeof h == "string") return [...h].length;
|
|
144825
144878
|
if (Array.isArray(h)) return h.length;
|
|
144826
|
-
throw new
|
|
144879
|
+
throw new Nr(`Expected value to be of type string or array, but found ${Nt(gs(h))} instead.`);
|
|
144827
144880
|
}
|
|
144828
144881
|
eachChild(I) {
|
|
144829
144882
|
I(this.input);
|
|
@@ -145198,7 +145251,7 @@ function MOe() {
|
|
|
145198
145251
|
for (const h of B) for (const d of h) if (Oa(d, I, !0)) return !0;
|
|
145199
145252
|
return !1;
|
|
145200
145253
|
}
|
|
145201
|
-
function
|
|
145254
|
+
function yr(B, I, h, d = 1 / 0) {
|
|
145202
145255
|
const y = Au(B), b = Au(I);
|
|
145203
145256
|
if (d !== 1 / 0 && CQ(y, b, h) >= d) return d;
|
|
145204
145257
|
if (fn(y, b)) {
|
|
@@ -145349,7 +145402,7 @@ function MOe() {
|
|
|
145349
145402
|
x = Math.min(x, qa(P.coordinates, !0, T, v, x));
|
|
145350
145403
|
break;
|
|
145351
145404
|
case "Polygon":
|
|
145352
|
-
x = Math.min(x,
|
|
145405
|
+
x = Math.min(x, yr(T, P.coordinates, v, x));
|
|
145353
145406
|
}
|
|
145354
145407
|
if (x === 0) return x;
|
|
145355
145408
|
}
|
|
@@ -145384,7 +145437,7 @@ function MOe() {
|
|
|
145384
145437
|
return !1;
|
|
145385
145438
|
}
|
|
145386
145439
|
}
|
|
145387
|
-
const $l = { "==": rQ, "!=": e0, ">": Kl, "<": jC, ">=": cB, "<=": Ol, array: Bo, at: sr, boolean: Bo, case: ma, coalesce: Mc, collator: LI, format: vc, image: _c, in: _i, "index-of": Pl, interpolate: Rs, "interpolate-hcl": Rs, "interpolate-lab": Rs, length: _o, let: Jr, literal: Ya, match: or, number: Bo, "number-format":
|
|
145440
|
+
const $l = { "==": rQ, "!=": e0, ">": Kl, "<": jC, ">=": cB, "<=": Ol, array: Bo, at: sr, boolean: Bo, case: ma, coalesce: Mc, collator: LI, format: vc, image: _c, in: _i, "index-of": Pl, interpolate: Rs, "interpolate-hcl": Rs, "interpolate-lab": Rs, length: _o, let: Jr, literal: Ya, match: or, number: Bo, "number-format": pr, object: Bo, slice: Jl, step: pg, string: Bo, "to-boolean": rI, "to-color": rI, "to-number": rI, "to-string": rI, var: Tl, within: kc, distance: wg, "global-state": Xl };
|
|
145388
145441
|
class wa {
|
|
145389
145442
|
constructor(I, h, d, y) {
|
|
145390
145443
|
this.name = I, this.type = h, this._evaluate = d, this.args = y;
|
|
@@ -145447,7 +145500,7 @@ function MOe() {
|
|
|
145447
145500
|
function Ah(B, [I, h, d, y]) {
|
|
145448
145501
|
I = I.evaluate(B), h = h.evaluate(B), d = d.evaluate(B);
|
|
145449
145502
|
const b = y ? y.evaluate(B) : 1, v = Ul(I, h, d, b);
|
|
145450
|
-
if (v) throw new
|
|
145503
|
+
if (v) throw new Nr(v);
|
|
145451
145504
|
return new Ot(I / 255, h / 255, d / 255, b, !1);
|
|
145452
145505
|
}
|
|
145453
145506
|
function QQ(B, I) {
|
|
@@ -145626,7 +145679,7 @@ function MOe() {
|
|
|
145626
145679
|
return rh(h, B.default, I.default);
|
|
145627
145680
|
}
|
|
145628
145681
|
wa.register($l, { error: [{ kind: "error" }, [ge], (B, [I]) => {
|
|
145629
|
-
throw new
|
|
145682
|
+
throw new Nr(I.evaluate(B));
|
|
145630
145683
|
}], typeof: [ge, [Ye], (B, [I]) => Nt(gs(I.evaluate(B)))], "to-rgba": [NA(YA, 4), [tt], (B, [I]) => {
|
|
145631
145684
|
const [h, d, y, b] = I.evaluate(B).rgb;
|
|
145632
145685
|
return [255 * h, 255 * d, 255 * y, b];
|
|
@@ -145712,7 +145765,7 @@ function MOe() {
|
|
|
145712
145765
|
try {
|
|
145713
145766
|
const x = this.expression.evaluate(this._evaluator);
|
|
145714
145767
|
if (x == null || typeof x == "number" && x != x) return this._defaultValue;
|
|
145715
|
-
if (this._enumValues && !(x in this._enumValues)) throw new
|
|
145768
|
+
if (this._enumValues && !(x in this._enumValues)) throw new Nr(`Expected value to be one of ${Object.keys(this._enumValues).map(((P) => JSON.stringify(P))).join(", ")}, but found ${JSON.stringify(x)} instead.`);
|
|
145716
145769
|
return x;
|
|
145717
145770
|
} catch (x) {
|
|
145718
145771
|
return this._warningHistory[x.message] || (this._warningHistory[x.message] = !0, typeof console < "u" && console.warn(x.message)), this._defaultValue;
|
|
@@ -145901,7 +145954,7 @@ function MOe() {
|
|
|
145901
145954
|
const I = B.value;
|
|
145902
145955
|
return I ? [new xA(B.key, I, "constants have been deprecated as of v8")] : [];
|
|
145903
145956
|
}
|
|
145904
|
-
function
|
|
145957
|
+
function xr(B) {
|
|
145905
145958
|
return B instanceof Number || B instanceof String || B instanceof Boolean ? B.valueOf() : B;
|
|
145906
145959
|
}
|
|
145907
145960
|
function Hc(B) {
|
|
@@ -145911,7 +145964,7 @@ function MOe() {
|
|
|
145911
145964
|
for (const h in B) I[h] = Hc(B[h]);
|
|
145912
145965
|
return I;
|
|
145913
145966
|
}
|
|
145914
|
-
return
|
|
145967
|
+
return xr(B);
|
|
145915
145968
|
}
|
|
145916
145969
|
function er(B) {
|
|
145917
145970
|
const I = B.key, h = B.value, d = B.valueSpec || {}, y = B.objectElementValidators || {}, b = B.style, v = B.styleSpec, x = B.validateSpec;
|
|
@@ -145954,7 +146007,7 @@ function MOe() {
|
|
|
145954
146007
|
return y === "number" && h != h && (y = "NaN"), y !== "number" ? [new xA(I, h, `number expected, ${y} found`)] : "minimum" in d && h < d.minimum ? [new xA(I, h, `${h} is less than the minimum value ${d.minimum}`)] : "maximum" in d && h > d.maximum ? [new xA(I, h, `${h} is greater than the maximum value ${d.maximum}`)] : [];
|
|
145955
146008
|
}
|
|
145956
146009
|
function fB(B) {
|
|
145957
|
-
const I = B.valueSpec, h =
|
|
146010
|
+
const I = B.valueSpec, h = xr(B.value.type);
|
|
145958
146011
|
let d, y, b, v = {};
|
|
145959
146012
|
const x = h !== "categorical" && B.value.property === void 0, P = !x, T = Pi(B.value.stops) === "array" && Pi(B.value.stops[0]) === "array" && Pi(B.value.stops[0][0]) === "object", q = er({ key: B.key, value: B.value, valueSpec: B.styleSpec.function, validateSpec: B.validateSpec, style: B.style, styleSpec: B.styleSpec, objectElementValidators: { stops: function(j) {
|
|
145960
146013
|
if (h === "identity") return [new xA(j.key, j.value, 'identity function may not have a "stops" property')];
|
|
@@ -145974,13 +146027,13 @@ function MOe() {
|
|
|
145974
146027
|
if (Pi(BA[0]) !== "object") return [new xA(pA, BA, `object expected, ${Pi(BA[0])} found`)];
|
|
145975
146028
|
if (BA[0].zoom === void 0) return [new xA(pA, BA, "object stop key must have zoom")];
|
|
145976
146029
|
if (BA[0].value === void 0) return [new xA(pA, BA, "object stop key must have value")];
|
|
145977
|
-
if (b && b >
|
|
145978
|
-
|
|
146030
|
+
if (b && b > xr(BA[0].zoom)) return [new xA(pA, BA[0].zoom, "stop zoom values must appear in ascending order")];
|
|
146031
|
+
xr(BA[0].zoom) !== b && (b = xr(BA[0].zoom), y = void 0, v = {}), cA = cA.concat(er({ key: `${pA}[0]`, value: BA[0], valueSpec: { zoom: {} }, validateSpec: j.validateSpec, style: j.style, styleSpec: j.styleSpec, objectElementValidators: { zoom: ko, value: iA } }));
|
|
145979
146032
|
} else cA = cA.concat(iA({ key: `${pA}[0]`, value: BA[0], validateSpec: j.validateSpec, style: j.style, styleSpec: j.styleSpec }, BA));
|
|
145980
146033
|
return iu(Hc(BA[1])) ? cA.concat([new xA(`${pA}[1]`, BA[1], "expressions are not allowed in function stops.")]) : cA.concat(j.validateSpec({ key: `${pA}[1]`, value: BA[1], valueSpec: I, validateSpec: j.validateSpec, style: j.style, styleSpec: j.styleSpec }));
|
|
145981
146034
|
}
|
|
145982
146035
|
function iA(j, cA) {
|
|
145983
|
-
const BA = Pi(j.value), pA =
|
|
146036
|
+
const BA = Pi(j.value), pA = xr(j.value), yA = j.value !== null ? j.value : cA;
|
|
145984
146037
|
if (d) {
|
|
145985
146038
|
if (BA !== d) return [new xA(j.key, yA, `${BA} stop domain type must match previous stop domain type ${d}`)];
|
|
145986
146039
|
} else d = BA;
|
|
@@ -146011,7 +146064,7 @@ function MOe() {
|
|
|
146011
146064
|
}
|
|
146012
146065
|
function gI(B) {
|
|
146013
146066
|
const I = B.key, h = B.value, d = B.valueSpec, y = [];
|
|
146014
|
-
return Array.isArray(d.values) ? d.values.indexOf(
|
|
146067
|
+
return Array.isArray(d.values) ? d.values.indexOf(xr(h)) === -1 && y.push(new xA(I, h, `expected one of [${d.values.join(", ")}], ${JSON.stringify(h)} found`)) : Object.keys(d.values).indexOf(xr(h)) === -1 && y.push(new xA(I, h, `expected one of [${Object.keys(d.values).join(", ")}], ${JSON.stringify(h)} found`)), y;
|
|
146015
146068
|
}
|
|
146016
146069
|
function Yc(B) {
|
|
146017
146070
|
return su(Hc(B.value)) ? it(oe({}, B, { expressionContext: "filter", valueSpec: { value: "boolean" } })) : pB(B);
|
|
@@ -146022,19 +146075,19 @@ function MOe() {
|
|
|
146022
146075
|
const d = B.styleSpec;
|
|
146023
146076
|
let y, b = [];
|
|
146024
146077
|
if (I.length < 1) return [new xA(h, I, "filter array must have at least 1 element")];
|
|
146025
|
-
switch (b = b.concat(gI({ key: `${h}[0]`, value: I[0], valueSpec: d.filter_operator, style: B.style, styleSpec: B.styleSpec })),
|
|
146078
|
+
switch (b = b.concat(gI({ key: `${h}[0]`, value: I[0], valueSpec: d.filter_operator, style: B.style, styleSpec: B.styleSpec })), xr(I[0])) {
|
|
146026
146079
|
case "<":
|
|
146027
146080
|
case "<=":
|
|
146028
146081
|
case ">":
|
|
146029
146082
|
case ">=":
|
|
146030
|
-
I.length >= 2 &&
|
|
146083
|
+
I.length >= 2 && xr(I[1]) === "$type" && b.push(new xA(h, I, `"$type" cannot be use with operator "${I[0]}"`));
|
|
146031
146084
|
case "==":
|
|
146032
146085
|
case "!=":
|
|
146033
146086
|
I.length !== 3 && b.push(new xA(h, I, `filter array for operator "${I[0]}" must have 3 elements`));
|
|
146034
146087
|
case "in":
|
|
146035
146088
|
case "!in":
|
|
146036
146089
|
I.length >= 2 && (y = Pi(I[1]), y !== "string" && b.push(new xA(`${h}[1]`, I[1], `string expected, ${y} found`)));
|
|
146037
|
-
for (let v = 2; v < I.length; v++) y = Pi(I[v]),
|
|
146090
|
+
for (let v = 2; v < I.length; v++) y = Pi(I[v]), xr(I[1]) === "$type" ? b = b.concat(gI({ key: `${h}[${v}]`, value: I[v], valueSpec: d.geometry_type, style: B.style, styleSpec: B.styleSpec })) : y !== "string" && y !== "number" && y !== "boolean" && b.push(new xA(`${h}[${v}]`, I[v], `string, number, or boolean expected, ${y} found`));
|
|
146038
146091
|
break;
|
|
146039
146092
|
case "any":
|
|
146040
146093
|
case "all":
|
|
@@ -146058,7 +146111,7 @@ function MOe() {
|
|
|
146058
146111
|
if (Pi(v) === "string" && ih(q) && !q.tokens && (H = /^{([^}]+)}$/.exec(v))) return [new xA(h, v, `"${x}" does not support interpolation syntax
|
|
146059
146112
|
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(H[1])} }\`.`)];
|
|
146060
146113
|
const iA = [];
|
|
146061
|
-
return B.layerType === "symbol" && x === "text-font" && tu(Hc(v)) &&
|
|
146114
|
+
return B.layerType === "symbol" && x === "text-font" && tu(Hc(v)) && xr(v.type) === "identity" && iA.push(new xA(h, v, '"text-font" does not support identity functions')), iA.concat(d({ key: B.key, value: v, valueSpec: q, style: y, styleSpec: b, expressionContext: "property", propertyType: I, propertyKey: x }));
|
|
146062
146115
|
}
|
|
146063
146116
|
function Sa(B) {
|
|
146064
146117
|
return yB(B, "paint");
|
|
@@ -146072,13 +146125,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
146072
146125
|
const y = B.value, b = B.key, v = B.style, x = B.styleSpec;
|
|
146073
146126
|
if (Pi(y) !== "object") return [new xA(b, y, `object expected, ${Pi(y)} found`)];
|
|
146074
146127
|
y.type || y.ref || d.push(new xA(b, y, 'either "type" or "ref" is required'));
|
|
146075
|
-
let P =
|
|
146076
|
-
const T =
|
|
146128
|
+
let P = xr(y.type);
|
|
146129
|
+
const T = xr(y.ref);
|
|
146077
146130
|
if (y.id) {
|
|
146078
|
-
const q =
|
|
146131
|
+
const q = xr(y.id);
|
|
146079
146132
|
for (let H = 0; H < B.arrayIndex; H++) {
|
|
146080
146133
|
const iA = v.layers[H];
|
|
146081
|
-
|
|
146134
|
+
xr(iA.id) === q && d.push(new xA(b, y.id, `duplicate layer id "${y.id}", previously used at line ${iA.id.__line__}`));
|
|
146082
146135
|
}
|
|
146083
146136
|
}
|
|
146084
146137
|
if ("ref" in y) {
|
|
@@ -146086,10 +146139,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
146086
146139
|
["type", "source", "source-layer", "filter", "layout"].forEach(((H) => {
|
|
146087
146140
|
H in y && d.push(new xA(b, y[H], `"${H}" is prohibited for ref layers`));
|
|
146088
146141
|
})), v.layers.forEach(((H) => {
|
|
146089
|
-
|
|
146090
|
-
})), q ? q.ref ? d.push(new xA(b, y.ref, "ref cannot reference another ref layer")) : P =
|
|
146142
|
+
xr(H.id) === T && (q = H);
|
|
146143
|
+
})), q ? q.ref ? d.push(new xA(b, y.ref, "ref cannot reference another ref layer")) : P = xr(q.type) : d.push(new xA(b, y.ref, `ref layer "${T}" not found`));
|
|
146091
146144
|
} else if (P !== "background") if (y.source) {
|
|
146092
|
-
const q = v.sources && v.sources[y.source], H = q &&
|
|
146145
|
+
const q = v.sources && v.sources[y.source], H = q && xr(q.type);
|
|
146093
146146
|
q ? H === "vector" && P === "raster" ? d.push(new xA(b, y.source, `layer "${y.id}" requires a raster source`)) : H !== "raster-dem" && P === "hillshade" || H !== "raster-dem" && P === "color-relief" ? d.push(new xA(b, y.source, `layer "${y.id}" requires a raster-dem source`)) : H === "raster" && P !== "raster" ? d.push(new xA(b, y.source, `layer "${y.id}" requires a vector source`)) : H !== "vector" || y["source-layer"] ? H === "raster-dem" && P !== "hillshade" && P !== "color-relief" ? d.push(new xA(b, y.source, "raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")) : P !== "line" || !y.paint || !y.paint["line-gradient"] || H === "geojson" && q.lineMetrics || d.push(new xA(b, y, `layer "${y.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)) : d.push(new xA(b, y, `layer "${y.id}" must specify a "source-layer"`)) : d.push(new xA(b, y.source, `source "${y.source}" not found`));
|
|
146094
146147
|
} else d.push(new xA(b, y, 'missing required property "source"'));
|
|
146095
146148
|
return P === "raster" && (!((I = y.paint) === null || I === void 0) && I.resampling) && (!((h = y.paint) === null || h === void 0) && h["raster-resampling"]) && d.push(new xA(b, y.paint, `layer "${y.id}" redundantly specifies "resampling" and "raster-resampling" paint properties, but only one is allowed. It is advised to use "resampling".`)), d = d.concat(er({ key: b, value: y, valueSpec: x.layer, style: B.style, styleSpec: B.styleSpec, validateSpec: B.validateSpec, objectElementValidators: { "*": () => [], type: () => B.validateSpec({ key: `${b}.type`, value: y.type, valueSpec: x.layer.type, style: B.style, styleSpec: B.styleSpec, validateSpec: B.validateSpec, object: y, objectKey: "type" }), filter: Yc, layout: (q) => er({ layer: y, key: q.key, value: q.value, style: q.style, styleSpec: q.styleSpec, validateSpec: q.validateSpec, objectElementValidators: { "*": (H) => au(oe({ layerType: P }, H)) } }), paint: (q) => er({ layer: y, key: q.key, value: q.value, style: q.style, styleSpec: q.styleSpec, validateSpec: q.validateSpec, objectElementValidators: { "*": (H) => Sa(oe({ layerType: P }, H)) } }) } })), d;
|
|
@@ -146109,7 +146162,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
146109
146162
|
function pQ(B) {
|
|
146110
146163
|
const I = B.value, h = B.key, d = B.styleSpec, y = B.style, b = B.validateSpec;
|
|
146111
146164
|
if (!I.type) return [new xA(h, I, '"type" is required')];
|
|
146112
|
-
const v =
|
|
146165
|
+
const v = xr(I.type);
|
|
146113
146166
|
let x;
|
|
146114
146167
|
switch (v) {
|
|
146115
146168
|
case "vector":
|
|
@@ -146123,7 +146176,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
146123
146176
|
const pA = Pi(H);
|
|
146124
146177
|
if (H === void 0) return BA;
|
|
146125
146178
|
if (pA !== "object") return BA.push(new xA("source_raster_dem", H, `object expected, ${pA} found`)), BA;
|
|
146126
|
-
const yA =
|
|
146179
|
+
const yA = xr(H.encoding) === "custom", GA = ["redFactor", "greenFactor", "blueFactor", "baseShift"], bA = P.value.encoding ? `"${P.value.encoding}"` : "Default";
|
|
146127
146180
|
for (const LA in H) !yA && GA.includes(LA) ? BA.push(new xA(LA, H[LA], `In "${q}": "${LA}" is only valid when "encoding" is set to "custom". ${bA} encoding found`)) : j[LA] ? BA = BA.concat(P.validateSpec({ key: LA, value: H[LA], valueSpec: j[LA], validateSpec: P.validateSpec, style: cA, styleSpec: iA })) : BA.push(new xA(LA, H[LA], `unknown property "${LA}"`));
|
|
146128
146181
|
return BA;
|
|
146129
146182
|
})({ sourceName: h, value: I, style: B.style, styleSpec: d, validateSpec: b }), x;
|
|
@@ -146263,7 +146316,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
146263
146316
|
} };
|
|
146264
146317
|
function M(B) {
|
|
146265
146318
|
const I = B.value, h = B.valueSpec, d = B.styleSpec;
|
|
146266
|
-
return B.validateSpec = M, h.expression && tu(
|
|
146319
|
+
return B.validateSpec = M, h.expression && tu(xr(I)) ? fB(B) : h.expression && iu(Hc(I)) ? it(B) : h.type && R[h.type] ? R[h.type](B) : er(oe({}, B, { valueSpec: h.type ? d[h.type] : h }));
|
|
146267
146320
|
}
|
|
146268
146321
|
function k(B) {
|
|
146269
146322
|
const I = B.value, h = B.key, d = cI(B);
|
|
@@ -147672,7 +147725,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
147672
147725
|
return 256 * (B = fe(Math.floor(B), 0, 255)) + fe(Math.floor(I), 0, 255);
|
|
147673
147726
|
}
|
|
147674
147727
|
Rt.MAX_VERTEX_ARRAY_LENGTH = Math.pow(2, 16) - 1, pe("SegmentVector", Rt);
|
|
147675
|
-
const
|
|
147728
|
+
const Mr = rs([{ name: "a_pattern_from", components: 4, type: "Uint16" }, { name: "a_pattern_to", components: 4, type: "Uint16" }, { name: "a_pixel_ratio_from", components: 1, type: "Uint16" }, { name: "a_pixel_ratio_to", components: 1, type: "Uint16" }]), zs = rs([{ name: "a_dasharray_from", components: 4, type: "Uint16" }, { name: "a_dasharray_to", components: 4, type: "Uint16" }]);
|
|
147676
147729
|
var qr, on, yn, Lo = { exports: {} }, Ps = { exports: {} }, sa = { exports: {} }, uo = (function() {
|
|
147677
147730
|
if (yn) return Lo.exports;
|
|
147678
147731
|
yn = 1;
|
|
@@ -147920,7 +147973,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
147920
147973
|
return (h = I.patterns) === null || h === void 0 ? void 0 : h[this.layerId];
|
|
147921
147974
|
}
|
|
147922
147975
|
getVertexAttributes() {
|
|
147923
|
-
return
|
|
147976
|
+
return Mr.members;
|
|
147924
147977
|
}
|
|
147925
147978
|
emplace(I, h, d, y) {
|
|
147926
147979
|
I.emplace(h, d.tlbr[0], d.tlbr[1], d.tlbr[2], d.tlbr[3], y.tlbr[0], y.tlbr[1], y.tlbr[2], y.tlbr[3], d.pixelRatio, y.pixelRatio);
|
|
@@ -149476,8 +149529,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
149476
149529
|
for (const Xe of j) {
|
|
149477
149530
|
const $e = [], Ve = [];
|
|
149478
149531
|
for (const Pe of Xe) {
|
|
149479
|
-
const ut = Pe.x, St = Pe.y, mt = pA[0] * ut + pA[4] * St + pA[12], pt = pA[1] * ut + pA[5] * St + pA[13], ci = pA[2] * ut + pA[6] * St + pA[14],
|
|
149480
|
-
ws.z =
|
|
149532
|
+
const ut = Pe.x, St = Pe.y, mt = pA[0] * ut + pA[4] * St + pA[12], pt = pA[1] * ut + pA[5] * St + pA[13], ci = pA[2] * ut + pA[6] * St + pA[14], ur = pA[3] * ut + pA[7] * St + pA[15], wr = ci + OA, Hr = ur + jA, Ho = mt + Ee, Js = pt + de, Un = ci + Oe, Ao = ur + Le, ws = new a((mt + bA) / Hr, (pt + LA) / Hr);
|
|
149533
|
+
ws.z = wr / Hr, $e.push(ws);
|
|
149481
149534
|
const Qo = new a(Ho / Ao, Js / Ao);
|
|
149482
149535
|
Qo.z = Un / Ao, Ve.push(Qo);
|
|
149483
149536
|
}
|
|
@@ -150408,8 +150461,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
150408
150461
|
for (let mt = 1; mt < St; mt++) {
|
|
150409
150462
|
let pt = mt / St;
|
|
150410
150463
|
if (pt !== 0.5) {
|
|
150411
|
-
const
|
|
150412
|
-
pt += pt *
|
|
150464
|
+
const ur = pt - 0.5;
|
|
150465
|
+
pt += pt * ur * (pt - 1) * ((1.0904 + OA * (OA * (3.55645 - 1.43519 * OA) - 3.2452)) * ur * ur + (0.848013 + OA * (0.215638 * OA - 1.06021)));
|
|
150413
150466
|
}
|
|
150414
150467
|
const ci = GA.sub(yA)._mult(pt)._add(yA)._unit()._mult(Le ? -1 : 1);
|
|
150415
150468
|
this.addHalfVertex(cA, ci.x, ci.y, !1, Le, 0, j);
|
|
@@ -151118,7 +151171,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
151118
151171
|
})(BA, yA);
|
|
151119
151172
|
const LA = [], OA = { positionedLines: LA, text: BA.toString(), top: q[1], bottom: q[1], left: q[0], right: q[0], writingMode: H, iconsInText: !1, verticalizable: !1 };
|
|
151120
151173
|
return (function(jA, Ee, de, Oe, Le, Xe, $e, Ve, Pe, ut, St, mt) {
|
|
151121
|
-
let pt = 0, ci = 0,
|
|
151174
|
+
let pt = 0, ci = 0, ur = 0, wr = 0;
|
|
151122
151175
|
const Hr = Ve === "right" ? 1 : Ve === "left" ? 0 : 0.5, Ho = Xn / mt;
|
|
151123
151176
|
let Js = 0;
|
|
151124
151177
|
for (const ws of Le) {
|
|
@@ -151146,9 +151199,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
151146
151199
|
const { rect: zc, metrics: sD, baselineOffset: Qu } = NB;
|
|
151147
151200
|
to.y += Qu, to.scale = _s.scale, to.metrics = sD, to.rect = zc, ga.push(to), Hs ? (jA.verticalizable = !0, pt += ("imageName" in _s ? sD.advance : Xn) * _s.scale + ut) : pt += sD.advance * _s.scale + ut, Xa++;
|
|
151148
151201
|
}
|
|
151149
|
-
ga.length !== 0 && (
|
|
151202
|
+
ga.length !== 0 && (ur = Math.max(pt - ut, ur), p1A(ga, 0, ga.length - 1, Hr)), pt = 0, aa.lineOffset = Math.max(Za, (Qo - 1) * Xn);
|
|
151150
151203
|
const HI = Xe * Qo + Za;
|
|
151151
|
-
ci += HI,
|
|
151204
|
+
ci += HI, wr = Math.max(HI, wr), ++Js;
|
|
151152
151205
|
}
|
|
151153
151206
|
const { horizontalAlign: Un, verticalAlign: Ao } = xL($e);
|
|
151154
151207
|
(function(ws, Qo, aa, ga, Za, Yo, Xa, HI, eo) {
|
|
@@ -151156,7 +151209,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
151156
151209
|
let wn = 0;
|
|
151157
151210
|
wn = Yo !== Xa ? -HI * ga - -17 : -ga * eo * Xa + 0.5 * Xa;
|
|
151158
151211
|
for (const Hs of ws) for (const to of Hs.positionedGlyphs) to.x += _s, to.y += wn;
|
|
151159
|
-
})(jA.positionedLines, Hr, Un, Ao,
|
|
151212
|
+
})(jA.positionedLines, Hr, Un, Ao, ur, wr, Xe, ci, Le.length), jA.top += -Ao * ci, jA.bottom = jA.top + ci, jA.left += -Un * ur, jA.right = jA.left + ur;
|
|
151160
151213
|
})(OA, I, h, d, pA, v, x, P, H, T, iA, cA), !(function(jA) {
|
|
151161
151214
|
for (const Ee of jA) if (Ee.positionedGlyphs.length !== 0) return !1;
|
|
151162
151215
|
return !0;
|
|
@@ -152776,11 +152829,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
152776
152829
|
const St = Oe + Le, mt = $e;
|
|
152777
152830
|
let pt = $e;
|
|
152778
152831
|
const ci = $e + Ve;
|
|
152779
|
-
let
|
|
152832
|
+
let ur = 0, wr = 0;
|
|
152780
152833
|
for (; ut < St && pt < ci; ) {
|
|
152781
152834
|
const Hr = de[ut] >>> Pe & 255;
|
|
152782
|
-
if (Pe += 8, ut += Pe >>> 5, Pe &= 31,
|
|
152783
|
-
else if (
|
|
152835
|
+
if (Pe += 8, ut += Pe >>> 5, Pe &= 31, ur |= (127 & Hr) << wr, 128 & Hr) Xe[pt++] = 0 | ur, ur = 0, wr = 0;
|
|
152836
|
+
else if (wr += 7, wr > 28) throw new Error(`FastPFOR VByte: unterminated value (expected MSB=1 terminator within 5 bytes; shift=${wr}, partial=${ur}, decoded=${pt - mt}/${Ve}, inPos=${ut}, inEnd=${St})`);
|
|
152784
152837
|
}
|
|
152785
152838
|
if (pt !== ci) throw new Error(`FastPFOR VByte: truncated stream (decoded=${pt - mt}, expected=${Ve}, consumedWords=${ut - Oe}/${Le}, vbyteStart=${Oe}, vbyteEnd=${St})`);
|
|
152786
152839
|
})(yA, LA, yA.length - LA | 0, jA, OA, GA - OA | 0), jA;
|
|
@@ -153529,14 +153582,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
153529
153582
|
case tr.DELTA:
|
|
153530
153583
|
if (Pe.logicalLevelTechnique2 === tr.RLE) {
|
|
153531
153584
|
const mt = Pe;
|
|
153532
|
-
if (!ut) return (function(pt, ci,
|
|
153533
|
-
const
|
|
153585
|
+
if (!ut) return (function(pt, ci, ur) {
|
|
153586
|
+
const wr = new BigInt64Array(ur);
|
|
153534
153587
|
let Hr = 0, Ho = 0n;
|
|
153535
153588
|
for (let Js = 0; Js < ci; Js++) {
|
|
153536
153589
|
const Un = Number(pt[Js]), Ao = ba(pt[Js + ci]);
|
|
153537
|
-
for (let ws = 0; ws < Un; ws++) Ho += Ao,
|
|
153590
|
+
for (let ws = 0; ws < Un; ws++) Ho += Ao, wr[Hr++] = Ho;
|
|
153538
153591
|
}
|
|
153539
|
-
return
|
|
153592
|
+
return wr;
|
|
153540
153593
|
})(Ve, mt.runs, mt.numRleValues);
|
|
153541
153594
|
St = v9(Ve = XL(Ve, mt.runs, mt.numRleValues));
|
|
153542
153595
|
} else St = v9(Ve);
|
|
@@ -153547,14 +153600,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
153547
153600
|
ci = 0;
|
|
153548
153601
|
for (let Hr = 0; Hr < pt; Hr++) ci += Number(mt[Hr]);
|
|
153549
153602
|
}
|
|
153550
|
-
const
|
|
153551
|
-
let
|
|
153603
|
+
const ur = new BigInt64Array(ci);
|
|
153604
|
+
let wr = 0;
|
|
153552
153605
|
for (let Hr = 0; Hr < pt; Hr++) {
|
|
153553
153606
|
const Ho = Number(mt[Hr]);
|
|
153554
153607
|
let Js = mt[Hr + pt];
|
|
153555
|
-
Js = ba(Js),
|
|
153608
|
+
Js = ba(Js), ur.fill(Js, wr, wr + Ho), wr += Ho;
|
|
153556
153609
|
}
|
|
153557
|
-
return
|
|
153610
|
+
return ur;
|
|
153558
153611
|
})(Ve, Pe.runs, Pe.numRleValues);
|
|
153559
153612
|
break;
|
|
153560
153613
|
case tr.NONE:
|
|
@@ -154233,7 +154286,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
154233
154286
|
(b.textFitWidth || b.textFitHeight) && (T = g9(B)), yA = lF(q, 0, Pe[0]), bA = lF(H, 0, Pe[1]), GA = lF(q, Pe[0], Pe[2]), LA = lF(H, Pe[1], Pe[3]), OA = Pe[0] - yA, Ee = Pe[1] - bA, jA = ut - GA, de = St - LA;
|
|
154234
154287
|
}
|
|
154235
154288
|
const Oe = T.x1, Le = T.y1, Xe = T.x2 - Oe, $e = T.y2 - Le, Ve = (Pe, ut, St, mt) => {
|
|
154236
|
-
const pt = hF(Pe.stretch - yA, GA, Xe, Oe), ci = BF(Pe.fixed - OA, jA, Pe.stretch, j),
|
|
154289
|
+
const pt = hF(Pe.stretch - yA, GA, Xe, Oe), ci = BF(Pe.fixed - OA, jA, Pe.stretch, j), ur = hF(ut.stretch - bA, LA, $e, Le), wr = BF(ut.fixed - Ee, de, ut.stretch, cA), Hr = hF(St.stretch - yA, GA, Xe, Oe), Ho = BF(St.fixed - OA, jA, St.stretch, j), Js = hF(mt.stretch - bA, LA, $e, Le), Un = BF(mt.fixed - Ee, de, mt.stretch, cA), Ao = new a(pt, ur), ws = new a(Hr, ur), Qo = new a(Hr, Js), aa = new a(pt, Js), ga = new a(ci / v, wr / v), Za = new a(Ho / v, Un / v), Yo = I * Math.PI / 180;
|
|
154237
154290
|
if (Yo) {
|
|
154238
154291
|
const eo = Math.sin(Yo), _s = Math.cos(Yo), wn = [_s, -eo, eo, _s];
|
|
154239
154292
|
Ao._matMult(wn), ws._matMult(wn), aa._matMult(wn), Qo._matMult(wn);
|
|
@@ -154468,20 +154521,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
154468
154521
|
let iA = b.textMaxSize.evaluate(I, {});
|
|
154469
154522
|
iA === void 0 && (iA = v);
|
|
154470
154523
|
const j = B.layers[0].layout, cA = j.get("icon-offset").evaluate(I, {}, q), BA = Qz(h.horizontal), pA = v / 24, yA = B.tilePixelRatio * pA, GA = B.tilePixelRatio * iA / 24, bA = B.tilePixelRatio * x, LA = B.tilePixelRatio * j.get("symbol-spacing"), OA = j.get("text-padding") * B.tilePixelRatio, jA = (function(St, mt, pt, ci = 1) {
|
|
154471
|
-
const
|
|
154472
|
-
return [
|
|
154524
|
+
const ur = St.get("icon-padding").evaluate(mt, {}, pt), wr = ur?.values;
|
|
154525
|
+
return [wr[0] * ci, wr[1] * ci, wr[2] * ci, wr[3] * ci];
|
|
154473
154526
|
})(j, I, q, B.tilePixelRatio), Ee = j.get("text-max-angle") / 180 * Math.PI, de = j.get("text-rotation-alignment") !== "viewport" && j.get("symbol-placement") !== "point", Oe = j.get("icon-rotation-alignment") === "map" && j.get("symbol-placement") !== "point", Le = j.get("symbol-placement"), Xe = LA / 2, $e = j.get("icon-text-fit");
|
|
154474
154527
|
let Ve;
|
|
154475
154528
|
d && $e !== "none" && (B.allowVerticalPlacement && h.vertical && (Ve = I9(d, h.vertical, $e, j.get("icon-text-fit-padding"), cA, pA)), BA && (d = I9(d, BA, $e, j.get("icon-text-fit-padding"), cA, pA)));
|
|
154476
154529
|
const Pe = q ? H.line.getGranularityForZoomLevel(q.z) : 1, ut = (St, mt) => {
|
|
154477
|
-
mt.x < 0 || mt.x >= HA || mt.y < 0 || mt.y >= HA || (function(pt, ci,
|
|
154478
|
-
const Qu = pt.addToLineVertexArray(ci,
|
|
154530
|
+
mt.x < 0 || mt.x >= HA || mt.y < 0 || mt.y >= HA || (function(pt, ci, ur, wr, Hr, Ho, Js, Un, Ao, ws, Qo, aa, ga, Za, Yo, Xa, HI, eo, _s, wn, Hs, to, NB, zc, sD) {
|
|
154531
|
+
const Qu = pt.addToLineVertexArray(ci, ur);
|
|
154479
154532
|
let _Q, q0, W0, V0, dz = 0, fz = 0, pz = 0, yz = 0, IU = -1, cU = -1;
|
|
154480
154533
|
const MB = {};
|
|
154481
154534
|
let mz = Zn("");
|
|
154482
|
-
if (pt.allowVerticalPlacement &&
|
|
154535
|
+
if (pt.allowVerticalPlacement && wr.vertical) {
|
|
154483
154536
|
const Ia = Un.layout.get("text-rotate").evaluate(Hs, {}, zc) + 90;
|
|
154484
|
-
W0 = new CF(Ao, ci, ws, Qo, aa,
|
|
154537
|
+
W0 = new CF(Ao, ci, ws, Qo, aa, wr.vertical, ga, Za, Yo, Ia), Js && (V0 = new CF(Ao, ci, ws, Qo, aa, Js, HI, eo, Yo, Ia));
|
|
154485
154538
|
}
|
|
154486
154539
|
if (Hr) {
|
|
154487
154540
|
const Ia = Un.layout.get("icon-rotate").evaluate(Hs, {}), BI = Un.layout.get("icon-text-fit") !== "none", xQ = hz(Hr, Ia, NB, BI), Zc = Js ? hz(Js, Ia, NB, BI) : void 0;
|
|
@@ -154490,18 +154543,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
154490
154543
|
let Ch = null;
|
|
154491
154544
|
GQ.kind === "source" ? (Ch = [RB * Un.layout.get("icon-size").evaluate(Hs, {})], Ch[0] > lu && ze(`${pt.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)) : GQ.kind === "composite" && (Ch = [RB * to.compositeIconSizes[0].evaluate(Hs, {}, zc), RB * to.compositeIconSizes[1].evaluate(Hs, {}, zc)], (Ch[0] > lu || Ch[1] > lu) && ze(`${pt.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)), pt.addSymbols(pt.icon, xQ, Ch, wn, _s, Hs, n.ax.none, ci, Qu.lineStartIndex, Qu.lineLength, -1, zc), IU = pt.icon.placedSymbolArray.length - 1, Zc && (fz = 4 * Zc.length, pt.addSymbols(pt.icon, Zc, Ch, wn, _s, Hs, n.ax.vertical, ci, Qu.lineStartIndex, Qu.lineLength, -1, zc), cU = pt.icon.placedSymbolArray.length - 1);
|
|
154492
154545
|
}
|
|
154493
|
-
const wz = Object.keys(
|
|
154546
|
+
const wz = Object.keys(wr.horizontal);
|
|
154494
154547
|
for (const Ia of wz) {
|
|
154495
|
-
const BI =
|
|
154548
|
+
const BI = wr.horizontal[Ia];
|
|
154496
154549
|
if (!_Q) {
|
|
154497
154550
|
mz = Zn(BI.text);
|
|
154498
154551
|
const Zc = Un.layout.get("text-rotate").evaluate(Hs, {}, zc);
|
|
154499
154552
|
_Q = new CF(Ao, ci, ws, Qo, aa, BI, ga, Za, Yo, Zc);
|
|
154500
154553
|
}
|
|
154501
154554
|
const xQ = BI.positionedLines.length === 1;
|
|
154502
|
-
if (pz += Ez(pt, ci, BI, Ho, Un, Yo, Hs, Xa, Qu,
|
|
154555
|
+
if (pz += Ez(pt, ci, BI, Ho, Un, Yo, Hs, Xa, Qu, wr.vertical ? n.ax.horizontal : n.ax.horizontalOnly, xQ ? wz : [Ia], MB, IU, to, zc), xQ) break;
|
|
154503
154556
|
}
|
|
154504
|
-
|
|
154557
|
+
wr.vertical && (yz += Ez(pt, ci, wr.vertical, Ho, Un, Yo, Hs, Xa, Qu, n.ax.vertical, ["vertical"], MB, cU, to, zc));
|
|
154505
154558
|
const QNA = _Q ? _Q.boxStartIndex : pt.collisionBoxArray.length, dNA = _Q ? _Q.boxEndIndex : pt.collisionBoxArray.length, fNA = W0 ? W0.boxStartIndex : pt.collisionBoxArray.length, pNA = W0 ? W0.boxEndIndex : pt.collisionBoxArray.length, yNA = q0 ? q0.boxStartIndex : pt.collisionBoxArray.length, mNA = q0 ? q0.boxEndIndex : pt.collisionBoxArray.length, wNA = V0 ? V0.boxStartIndex : pt.collisionBoxArray.length, DNA = V0 ? V0.boxEndIndex : pt.collisionBoxArray.length;
|
|
154506
154559
|
let jc = -1;
|
|
154507
154560
|
const uF = (Ia, BI) => Ia?.circleDiameter ? Math.max(Ia.circleDiameter, BI) : BI;
|
|
@@ -154545,17 +154598,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
154545
154598
|
if (!Ve.rect) continue;
|
|
154546
154599
|
const Pe = Ve.rect || {};
|
|
154547
154600
|
let ut = 4, St = !0, mt = 1, pt = 0;
|
|
154548
|
-
const ci = (jA || Oe) && Ve.vertical,
|
|
154601
|
+
const ci = (jA || Oe) && Ve.vertical, ur = Ve.metrics.advance * Ve.scale / 2;
|
|
154549
154602
|
if (Oe && bA.verticalizable && (pt = $e.lineOffset / 2 - (Ve.imageName ? -(Xn - Ve.metrics.width * Ve.scale) / 2 : (Ve.scale - 1) * Xn)), Ve.imageName) {
|
|
154550
154603
|
const eo = de[Ve.imageName];
|
|
154551
154604
|
St = eo.sdf, mt = eo.pixelRatio, ut = 1 / mt;
|
|
154552
154605
|
}
|
|
154553
|
-
const
|
|
154554
|
-
let Hr = jA ? [0, 0] : [Ve.x +
|
|
154606
|
+
const wr = jA ? [Ve.x + ur, Ve.y] : [0, 0];
|
|
154607
|
+
let Hr = jA ? [0, 0] : [Ve.x + ur + LA[0], Ve.y + LA[1] - pt], Ho = [0, 0];
|
|
154555
154608
|
ci && (Ho = Hr, Hr = [0, 0]);
|
|
154556
|
-
const Js = Ve.metrics.isDoubleResolution ? 2 : 1, Un = (Ve.metrics.left - ut) * Ve.scale -
|
|
154609
|
+
const Js = Ve.metrics.isDoubleResolution ? 2 : 1, Un = (Ve.metrics.left - ut) * Ve.scale - ur + Hr[0], Ao = (-Ve.metrics.top - ut) * Ve.scale + Hr[1], ws = Un + Pe.w / Js * Ve.scale / mt, Qo = Ao + Pe.h / Js * Ve.scale / mt, aa = new a(Un, Ao), ga = new a(ws, Ao), Za = new a(Un, Qo), Yo = new a(ws, Qo);
|
|
154557
154610
|
if (ci) {
|
|
154558
|
-
const eo = new a(-
|
|
154611
|
+
const eo = new a(-ur, ur - -17), _s = -Math.PI / 2, wn = 12 - ur, Hs = new a(22 - wn, -(Ve.imageName ? wn : 0)), to = new a(...Ho);
|
|
154559
154612
|
aa._rotateAround(_s, eo)._add(Hs)._add(to), ga._rotateAround(_s, eo)._add(Hs)._add(to), Za._rotateAround(_s, eo)._add(Hs)._add(to), Yo._rotateAround(_s, eo)._add(Hs)._add(to);
|
|
154560
154613
|
}
|
|
154561
154614
|
if (Le) {
|
|
@@ -154563,7 +154616,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
154563
154616
|
aa._matMult(wn), ga._matMult(wn), Za._matMult(wn), Yo._matMult(wn);
|
|
154564
154617
|
}
|
|
154565
154618
|
const Xa = new a(0, 0), HI = new a(0, 0);
|
|
154566
|
-
Xe.push({ tl: aa, tr: ga, bl: Za, br: Yo, tex: Pe, writingMode: bA.writingMode, glyphOffset:
|
|
154619
|
+
Xe.push({ tl: aa, tr: ga, bl: Za, br: Yo, tex: Pe, writingMode: bA.writingMode, glyphOffset: wr, sectionIndex: Ve.sectionIndex, isSDF: St, pixelOffsetTL: Xa, pixelOffsetBR: HI, minFontScaleX: 0, minFontScaleY: 0 });
|
|
154567
154620
|
}
|
|
154568
154621
|
return Xe;
|
|
154569
154622
|
})(0, h, x, y, b, v, d, B.allowVerticalPlacement), pA = B.textSizeData;
|
|
@@ -155177,9 +155230,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
155177
155230
|
}
|
|
155178
155231
|
return (function(b, v, x, P, T) {
|
|
155179
155232
|
const q = b.width, H = b.height;
|
|
155180
|
-
ei &&
|
|
155181
|
-
const iA =
|
|
155182
|
-
return
|
|
155233
|
+
ei && Cr || (ei = new OffscreenCanvas(q, H), Cr = ei.getContext("2d", { willReadFrequently: !0 })), ei.width = q, ei.height = H, Cr.drawImage(b, 0, 0, q, H);
|
|
155234
|
+
const iA = Cr.getImageData(v, x, P, T);
|
|
155235
|
+
return Cr.clearRect(0, 0, q, H), iA.data;
|
|
155183
155236
|
})(B, I, h, d, y);
|
|
155184
155237
|
}));
|
|
155185
155238
|
}, n.cZ = QV, n.c_ = class {
|
|
@@ -156918,7 +156971,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
156918
156971
|
function ei(_) {
|
|
156919
156972
|
return _.type === "GeometryCollection" ? _.geometries.flatMap(((c) => ei(c))) : Ut(_.coordinates);
|
|
156920
156973
|
}
|
|
156921
|
-
function
|
|
156974
|
+
function Cr(_) {
|
|
156922
156975
|
const c = new We();
|
|
156923
156976
|
let u;
|
|
156924
156977
|
switch (_.type) {
|
|
@@ -156995,7 +157048,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
156995
157048
|
}
|
|
156996
157049
|
getBounds() {
|
|
156997
157050
|
return o._(this, void 0, void 0, (function* () {
|
|
156998
|
-
return
|
|
157051
|
+
return Cr(yield this.getData());
|
|
156999
157052
|
}));
|
|
157000
157053
|
}
|
|
157001
157054
|
setClusterOptions(c) {
|
|
@@ -157105,7 +157158,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
157105
157158
|
return c.removeAll || this._options.cluster ? void 0 : m;
|
|
157106
157159
|
}
|
|
157107
157160
|
_getShouldReloadTileOptions(c) {
|
|
157108
|
-
if (c) return { affectedBounds: c.filter(Boolean).map(((u) =>
|
|
157161
|
+
if (c) return { affectedBounds: c.filter(Boolean).map(((u) => Cr(u))) };
|
|
157109
157162
|
}
|
|
157110
157163
|
shouldReloadTile(c, { affectedBounds: u }) {
|
|
157111
157164
|
if (c.state === "loading") return !0;
|
|
@@ -158447,20 +158500,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
158447
158500
|
const st = 2.5 * _e;
|
|
158448
158501
|
if (oA) {
|
|
158449
158502
|
const Zt = this.projectPathToScreenSpace(wt, Ce);
|
|
158450
|
-
wt = Zt.some(((
|
|
158503
|
+
wt = Zt.some(((Mr) => Mr.signedDistanceFromCamera <= 0)) ? [] : Zt.map(((Mr) => Mr.point));
|
|
158451
158504
|
}
|
|
158452
158505
|
let Rt = [];
|
|
158453
158506
|
if (wt.length > 0) {
|
|
158454
|
-
const Zt = wt[0].clone(),
|
|
158455
|
-
for (let zs = 1; zs < wt.length; zs++) Zt.x = Math.min(Zt.x, wt[zs].x), Zt.y = Math.min(Zt.y, wt[zs].y),
|
|
158456
|
-
Rt = Zt.x >= je.x &&
|
|
158507
|
+
const Zt = wt[0].clone(), Mr = wt[0].clone();
|
|
158508
|
+
for (let zs = 1; zs < wt.length; zs++) Zt.x = Math.min(Zt.x, wt[zs].x), Zt.y = Math.min(Zt.y, wt[zs].y), Mr.x = Math.max(Mr.x, wt[zs].x), Mr.y = Math.max(Mr.y, wt[zs].y);
|
|
158509
|
+
Rt = Zt.x >= je.x && Mr.x <= Ze.x && Zt.y >= je.y && Mr.y <= Ze.y ? [wt] : Mr.x < je.x || Zt.x > Ze.x || Mr.y < je.y || Zt.y > Ze.y ? [] : o.aG([wt], je.x, je.y, Ze.x, Ze.y);
|
|
158457
158510
|
}
|
|
158458
158511
|
for (const Zt of Rt) {
|
|
158459
158512
|
lt.reset(Zt, 0.25 * _e);
|
|
158460
|
-
let
|
|
158461
|
-
|
|
158462
|
-
for (let zs = 0; zs <
|
|
158463
|
-
const qr = zs / Math.max(
|
|
158513
|
+
let Mr = 0;
|
|
158514
|
+
Mr = lt.length <= 0.5 * _e ? 1 : Math.ceil(lt.paddedLength / st) + 1;
|
|
158515
|
+
for (let zs = 0; zs < Mr; zs++) {
|
|
158516
|
+
const qr = zs / Math.max(Mr - 1, 1), on = lt.lerp(qr), yn = on.x + ds, Lo = on.y + ds;
|
|
158464
158517
|
zA.push(yn, Lo, _e, 0);
|
|
158465
158518
|
const Ps = yn - _e, sa = Lo - _e, uo = yn + _e, Zn = Lo + _e;
|
|
158466
158519
|
if (se && (se = this.isOffscreen(Ps, sa, uo, Zn)), le || (le = this.isInsideGrid(Ps, sa, uo, Zn)), c !== "always" && this.grid.hitTestCircle(yn, Lo, _e, c, aA) && (Ae = !0, !X)) return { circles: [], offscreen: !1, collisionDetected: Ae };
|
|
@@ -158539,8 +158592,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
158539
158592
|
let fA = 1, wA = 0, UA = 0, zA = 1;
|
|
158540
158593
|
const ee = c.anchorPointX + z[0], $A = c.anchorPointY + z[1];
|
|
158541
158594
|
if (K && !L) {
|
|
158542
|
-
const wt = this.projectAndGetPerspectiveRatio(ee + 1, $A, F, oA, EA), st = wt.x - X.x, Rt = Math.atan((wt.y - X.y) / st) + (st < 0 ? Math.PI : 0), Zt = Math.sin(Rt),
|
|
158543
|
-
fA =
|
|
158595
|
+
const wt = this.projectAndGetPerspectiveRatio(ee + 1, $A, F, oA, EA), st = wt.x - X.x, Rt = Math.atan((wt.y - X.y) / st) + (st < 0 ? Math.PI : 0), Zt = Math.sin(Rt), Mr = Math.cos(Rt);
|
|
158596
|
+
fA = Mr, wA = Zt, UA = -Zt, zA = Mr;
|
|
158544
158597
|
} else if (!K && L) {
|
|
158545
158598
|
const wt = Qt(this.transform);
|
|
158546
158599
|
fA = wt.vecEast[0], wA = wt.vecEast[1], UA = wt.vecSouth[0], zA = wt.vecSouth[1];
|
|
@@ -158634,7 +158687,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
158634
158687
|
const { bucket: F, layout: L, translationText: K, translationIcon: z, unwrappedTileID: X, pitchedLabelPlaneMatrix: oA, textPixelRatio: aA, holdingForFade: EA, collisionBoxArray: fA, partiallyEvaluatedTextSize: wA, collisionGroup: UA } = c.parameters, zA = L.get("text-optional"), ee = L.get("icon-optional"), $A = o.aN(L, "text-overlap", "text-allow-overlap"), te = $A === "always", Ce = o.aN(L, "icon-overlap", "icon-allow-overlap"), ie = Ce === "always", Ae = L.get("text-rotation-alignment") === "map", le = L.get("text-pitch-alignment") === "map", se = L.get("icon-text-fit") !== "none", _e = L.get("symbol-z-order") === "viewport-y", je = te && (ie || !F.hasIconData() || ee), Ze = ie && (te || !F.hasTextData() || zA);
|
|
158635
158688
|
!F.collisionArrays && fA && F.deserializeCollisionBoxes(fA);
|
|
158636
158689
|
const lt = this.retainedQueryData[F.bucketInstanceId].tileID, It = this._getTerrainElevationFunc(lt), Jt = this.transform.getFastPathSimpleProjectionMatrix(lt), wt = (st, Rt, Zt) => {
|
|
158637
|
-
var
|
|
158690
|
+
var Mr, zs;
|
|
158638
158691
|
if (u[st.crossTileID]) return;
|
|
158639
158692
|
if (EA) return void (this.placements[st.crossTileID] = new ZE(!1, !1, !1));
|
|
158640
158693
|
let qr = !1, on = !1, yn = !0, Lo = null, Ps = { box: null, placeable: !1, offscreen: null, occluded: !1 }, sa = { placeable: !1 }, uo = null, Zn = null, Uo = null, ah = 0, gh = 0, Ih = 0;
|
|
@@ -158663,7 +158716,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
158663
158716
|
return F.allowVerticalPlacement && st.numVerticalGlyphVertices > 0 && cs ? Ms(cs, o.ax.vertical) : { box: null, offscreen: null };
|
|
158664
158717
|
})), PI(Ps?.placeable);
|
|
158665
158718
|
} else {
|
|
158666
|
-
let Ms = o.aM[(zs = (
|
|
158719
|
+
let Ms = o.aM[(zs = (Mr = this.prevPlacement) === null || Mr === void 0 ? void 0 : Mr.variableOffsets[st.crossTileID]) === null || zs === void 0 ? void 0 : zs.anchor];
|
|
158667
158720
|
const cs = (vs, SB, y0) => {
|
|
158668
158721
|
const qc = vs.x2 - vs.x1, Uw = vs.y2 - vs.y1, OR = st.textBoxScale, Tw = se && Ce === "never" ? SB : null;
|
|
158669
158722
|
let lh = null, hh = $A === "never" ? 1 : 2, Bh = "never";
|
|
@@ -159826,7 +159879,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
159826
159879
|
`;
|
|
159827
159880
|
})), staticAttributes: m, staticUniforms: K };
|
|
159828
159881
|
}
|
|
159829
|
-
class
|
|
159882
|
+
class Nr {
|
|
159830
159883
|
constructor(c, u, m) {
|
|
159831
159884
|
this.vertexBuffer = c, this.indexBuffer = u, this.segments = m;
|
|
159832
159885
|
}
|
|
@@ -159881,7 +159934,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
159881
159934
|
const z = c.createVertexBuffer(K, GI.members), X = o.aV.simpleSegment(0, 0, 4, 2), oA = new o.aW();
|
|
159882
159935
|
oA.emplaceBack(1, 0, 2), oA.emplaceBack(1, 2, 3);
|
|
159883
159936
|
const aA = c.createIndexBuffer(oA);
|
|
159884
|
-
return this._cachedMesh = new
|
|
159937
|
+
return this._cachedMesh = new Nr(z, aA, X), this._cachedMesh;
|
|
159885
159938
|
}
|
|
159886
159939
|
recalculate() {
|
|
159887
159940
|
}
|
|
@@ -160816,7 +160869,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
160816
160869
|
const F = new o.aU();
|
|
160817
160870
|
F.emplaceBack(-1, -1), F.emplaceBack(2, -1), F.emplaceBack(-1, 2);
|
|
160818
160871
|
const L = new o.aW();
|
|
160819
|
-
L.emplaceBack(0, 1, 2), this._fullscreenTriangle = new
|
|
160872
|
+
L.emplaceBack(0, 1, 2), this._fullscreenTriangle = new Nr(u.createVertexBuffer(F, GI.members), u.createIndexBuffer(L), o.aV.simpleSegment(0, 0, F.length, L.length)), this._resultBuffer = new Uint8Array(4), u.activeTexture.set(m.TEXTURE1);
|
|
160820
160873
|
const K = m.createTexture();
|
|
160821
160874
|
m.bindTexture(m.TEXTURE_2D, K), m.texParameteri(m.TEXTURE_2D, m.TEXTURE_WRAP_S, m.CLAMP_TO_EDGE), m.texParameteri(m.TEXTURE_2D, m.TEXTURE_WRAP_T, m.CLAMP_TO_EDGE), m.texParameteri(m.TEXTURE_2D, m.TEXTURE_MIN_FILTER, m.NEAREST), m.texParameteri(m.TEXTURE_2D, m.TEXTURE_MAG_FILTER, m.NEAREST), m.texImage2D(m.TEXTURE_2D, 0, this._texFormat, this._texWidth, this._texHeight, 0, this._texFormat, this._texType, null), this._fbo = u.createFramebuffer(this._texWidth, this._texHeight, !1, !1), this._fbo.colorAttachment.set(K), ma(m) && (this._pbo = m.createBuffer(), m.bindBuffer(m.PIXEL_PACK_BUFFER, this._pbo), m.bufferData(m.PIXEL_PACK_BUFFER, 4, m.STREAM_READ), m.bindBuffer(m.PIXEL_PACK_BUFFER, null));
|
|
160822
160875
|
}
|
|
@@ -160932,7 +160985,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
160932
160985
|
if (m in this._tileMeshCache) return this._tileMeshCache[m];
|
|
160933
160986
|
const F = (function(L, K) {
|
|
160934
160987
|
const z = pg(K, "16bit"), X = o.aU.deserialize({ arrayBuffer: z.vertices, length: z.vertices.byteLength / 2 / 2 }), oA = o.aW.deserialize({ arrayBuffer: z.indices, length: z.indices.byteLength / 2 / 3 });
|
|
160935
|
-
return new
|
|
160988
|
+
return new Nr(L.createVertexBuffer(X, GI.members), L.createIndexBuffer(oA), o.aV.simpleSegment(0, 0, X.length, oA.length));
|
|
160936
160989
|
})(c, u);
|
|
160937
160990
|
return this._tileMeshCache[m] = F, F;
|
|
160938
160991
|
}
|
|
@@ -161202,12 +161255,12 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
161202
161255
|
o.b1(ee, ee);
|
|
161203
161256
|
const $A = o.b2([], oA[0], oA[3]);
|
|
161204
161257
|
o.b1($A, $A), aA.push(o.aZ([], wA, X)), c.y >= (1 << c.z) / 2 && aA.push(o.aZ([], Rs(o.a6 / 2, 0, c.x, c.y, c.z), X)), c.y < (1 << c.z) / 2 && aA.push(o.aZ([], Rs(o.a6 / 2, o.a6, c.x, c.y, c.z), X));
|
|
161205
|
-
const te =
|
|
161258
|
+
const te = pr(wA, aA), Ce = pr(zA, aA), ie = [-wA[0], -wA[1], -wA[2], te.max], Ae = [wA[0], wA[1], wA[2], -te.min], le = [-zA[0], -zA[1], -zA[2], Ce.max], se = [zA[0], zA[1], zA[2], -Ce.min], _e = [...ee, 0], je = [...$A, 0], Ze = [];
|
|
161206
161259
|
return c.y === 0 ? Ze.push(o.bC(je, _e, ie), o.bC(je, _e, Ae)) : Ze.push(o.bC(le, _e, ie), o.bC(le, _e, Ae), o.bC(le, je, ie), o.bC(le, je, Ae)), c.y === (1 << c.z) - 1 ? Ze.push(o.bC(je, _e, ie), o.bC(je, _e, Ae)) : Ze.push(o.bC(se, _e, ie), o.bC(se, _e, Ae), o.bC(se, je, ie), o.bC(se, je, Ae)), new Kl(Ze, [ie, Ae, le, se, _e, je], EA, fA);
|
|
161207
161260
|
}
|
|
161208
161261
|
}
|
|
161209
161262
|
}
|
|
161210
|
-
function
|
|
161263
|
+
function pr(_, c) {
|
|
161211
161264
|
let u = 1 / 0, m = -1 / 0;
|
|
161212
161265
|
for (const F of c) {
|
|
161213
161266
|
const L = o.b3(_, F);
|
|
@@ -163085,7 +163138,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163085
163138
|
this.buffer && (this.context.gl.deleteBuffer(this.buffer), delete this.buffer);
|
|
163086
163139
|
}
|
|
163087
163140
|
}
|
|
163088
|
-
class
|
|
163141
|
+
class yr {
|
|
163089
163142
|
constructor(c) {
|
|
163090
163143
|
this.gl = c.gl, this.default = this.getDefault(), this.current = this.default, this.dirty = !1;
|
|
163091
163144
|
}
|
|
@@ -163101,7 +163154,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163101
163154
|
this.set(this.default);
|
|
163102
163155
|
}
|
|
163103
163156
|
}
|
|
163104
|
-
class s0 extends
|
|
163157
|
+
class s0 extends yr {
|
|
163105
163158
|
getDefault() {
|
|
163106
163159
|
return o.bo.transparent;
|
|
163107
163160
|
}
|
|
@@ -163110,7 +163163,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163110
163163
|
(c.r !== u.r || c.g !== u.g || c.b !== u.b || c.a !== u.a || this.dirty) && (this.gl.clearColor(c.r, c.g, c.b, c.a), this.current = c, this.dirty = !1);
|
|
163111
163164
|
}
|
|
163112
163165
|
}
|
|
163113
|
-
class CB extends
|
|
163166
|
+
class CB extends yr {
|
|
163114
163167
|
getDefault() {
|
|
163115
163168
|
return 1;
|
|
163116
163169
|
}
|
|
@@ -163118,7 +163171,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163118
163171
|
(c !== this.current || this.dirty) && (this.gl.clearDepth(c), this.current = c, this.dirty = !1);
|
|
163119
163172
|
}
|
|
163120
163173
|
}
|
|
163121
|
-
class qa extends
|
|
163174
|
+
class qa extends yr {
|
|
163122
163175
|
getDefault() {
|
|
163123
163176
|
return 0;
|
|
163124
163177
|
}
|
|
@@ -163126,7 +163179,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163126
163179
|
(c !== this.current || this.dirty) && (this.gl.clearStencil(c), this.current = c, this.dirty = !1);
|
|
163127
163180
|
}
|
|
163128
163181
|
}
|
|
163129
|
-
class Zl extends
|
|
163182
|
+
class Zl extends yr {
|
|
163130
163183
|
getDefault() {
|
|
163131
163184
|
return [!0, !0, !0, !0];
|
|
163132
163185
|
}
|
|
@@ -163135,7 +163188,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163135
163188
|
(c[0] !== u[0] || c[1] !== u[1] || c[2] !== u[2] || c[3] !== u[3] || this.dirty) && (this.gl.colorMask(c[0], c[1], c[2], c[3]), this.current = c, this.dirty = !1);
|
|
163136
163189
|
}
|
|
163137
163190
|
}
|
|
163138
|
-
class EQ extends
|
|
163191
|
+
class EQ extends yr {
|
|
163139
163192
|
getDefault() {
|
|
163140
163193
|
return !0;
|
|
163141
163194
|
}
|
|
@@ -163143,7 +163196,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163143
163196
|
(c !== this.current || this.dirty) && (this.gl.depthMask(c), this.current = c, this.dirty = !1);
|
|
163144
163197
|
}
|
|
163145
163198
|
}
|
|
163146
|
-
class wg extends
|
|
163199
|
+
class wg extends yr {
|
|
163147
163200
|
getDefault() {
|
|
163148
163201
|
return 255;
|
|
163149
163202
|
}
|
|
@@ -163151,7 +163204,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163151
163204
|
(c !== this.current || this.dirty) && (this.gl.stencilMask(c), this.current = c, this.dirty = !1);
|
|
163152
163205
|
}
|
|
163153
163206
|
}
|
|
163154
|
-
class Xl extends
|
|
163207
|
+
class Xl extends yr {
|
|
163155
163208
|
getDefault() {
|
|
163156
163209
|
return { func: this.gl.ALWAYS, ref: 0, mask: 255 };
|
|
163157
163210
|
}
|
|
@@ -163160,7 +163213,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163160
163213
|
(c.func !== u.func || c.ref !== u.ref || c.mask !== u.mask || this.dirty) && (this.gl.stencilFunc(c.func, c.ref, c.mask), this.current = c, this.dirty = !1);
|
|
163161
163214
|
}
|
|
163162
163215
|
}
|
|
163163
|
-
class $l extends
|
|
163216
|
+
class $l extends yr {
|
|
163164
163217
|
getDefault() {
|
|
163165
163218
|
const c = this.gl;
|
|
163166
163219
|
return [c.KEEP, c.KEEP, c.KEEP];
|
|
@@ -163170,7 +163223,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163170
163223
|
(c[0] !== u[0] || c[1] !== u[1] || c[2] !== u[2] || this.dirty) && (this.gl.stencilOp(c[0], c[1], c[2]), this.current = c, this.dirty = !1);
|
|
163171
163224
|
}
|
|
163172
163225
|
}
|
|
163173
|
-
class wa extends
|
|
163226
|
+
class wa extends yr {
|
|
163174
163227
|
getDefault() {
|
|
163175
163228
|
return !1;
|
|
163176
163229
|
}
|
|
@@ -163180,7 +163233,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163180
163233
|
c ? u.enable(u.STENCIL_TEST) : u.disable(u.STENCIL_TEST), this.current = c, this.dirty = !1;
|
|
163181
163234
|
}
|
|
163182
163235
|
}
|
|
163183
|
-
class Ah extends
|
|
163236
|
+
class Ah extends yr {
|
|
163184
163237
|
getDefault() {
|
|
163185
163238
|
return [0, 1];
|
|
163186
163239
|
}
|
|
@@ -163189,7 +163242,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163189
163242
|
(c[0] !== u[0] || c[1] !== u[1] || this.dirty) && (this.gl.depthRange(c[0], c[1]), this.current = c, this.dirty = !1);
|
|
163190
163243
|
}
|
|
163191
163244
|
}
|
|
163192
|
-
class QQ extends
|
|
163245
|
+
class QQ extends yr {
|
|
163193
163246
|
getDefault() {
|
|
163194
163247
|
return !1;
|
|
163195
163248
|
}
|
|
@@ -163199,7 +163252,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163199
163252
|
c ? u.enable(u.DEPTH_TEST) : u.disable(u.DEPTH_TEST), this.current = c, this.dirty = !1;
|
|
163200
163253
|
}
|
|
163201
163254
|
}
|
|
163202
|
-
class Uc extends
|
|
163255
|
+
class Uc extends yr {
|
|
163203
163256
|
getDefault() {
|
|
163204
163257
|
return this.gl.LESS;
|
|
163205
163258
|
}
|
|
@@ -163207,7 +163260,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163207
163260
|
(c !== this.current || this.dirty) && (this.gl.depthFunc(c), this.current = c, this.dirty = !1);
|
|
163208
163261
|
}
|
|
163209
163262
|
}
|
|
163210
|
-
class oI extends
|
|
163263
|
+
class oI extends yr {
|
|
163211
163264
|
getDefault() {
|
|
163212
163265
|
return !1;
|
|
163213
163266
|
}
|
|
@@ -163217,7 +163270,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163217
163270
|
c ? u.enable(u.BLEND) : u.disable(u.BLEND), this.current = c, this.dirty = !1;
|
|
163218
163271
|
}
|
|
163219
163272
|
}
|
|
163220
|
-
class eh extends
|
|
163273
|
+
class eh extends yr {
|
|
163221
163274
|
getDefault() {
|
|
163222
163275
|
const c = this.gl;
|
|
163223
163276
|
return [c.ONE, c.ZERO];
|
|
@@ -163227,7 +163280,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163227
163280
|
(c[0] !== u[0] || c[1] !== u[1] || this.dirty) && (this.gl.blendFunc(c[0], c[1]), this.current = c, this.dirty = !1);
|
|
163228
163281
|
}
|
|
163229
163282
|
}
|
|
163230
|
-
class uB extends
|
|
163283
|
+
class uB extends yr {
|
|
163231
163284
|
getDefault() {
|
|
163232
163285
|
return o.bo.transparent;
|
|
163233
163286
|
}
|
|
@@ -163236,7 +163289,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163236
163289
|
(c.r !== u.r || c.g !== u.g || c.b !== u.b || c.a !== u.a || this.dirty) && (this.gl.blendColor(c.r, c.g, c.b, c.a), this.current = c, this.dirty = !1);
|
|
163237
163290
|
}
|
|
163238
163291
|
}
|
|
163239
|
-
class TI extends
|
|
163292
|
+
class TI extends yr {
|
|
163240
163293
|
getDefault() {
|
|
163241
163294
|
return this.gl.FUNC_ADD;
|
|
163242
163295
|
}
|
|
@@ -163244,7 +163297,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163244
163297
|
(c !== this.current || this.dirty) && (this.gl.blendEquation(c), this.current = c, this.dirty = !1);
|
|
163245
163298
|
}
|
|
163246
163299
|
}
|
|
163247
|
-
class EB extends
|
|
163300
|
+
class EB extends yr {
|
|
163248
163301
|
getDefault() {
|
|
163249
163302
|
return !1;
|
|
163250
163303
|
}
|
|
@@ -163254,7 +163307,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163254
163307
|
c ? u.enable(u.CULL_FACE) : u.disable(u.CULL_FACE), this.current = c, this.dirty = !1;
|
|
163255
163308
|
}
|
|
163256
163309
|
}
|
|
163257
|
-
class n0 extends
|
|
163310
|
+
class n0 extends yr {
|
|
163258
163311
|
getDefault() {
|
|
163259
163312
|
return this.gl.BACK;
|
|
163260
163313
|
}
|
|
@@ -163262,7 +163315,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163262
163315
|
(c !== this.current || this.dirty) && (this.gl.cullFace(c), this.current = c, this.dirty = !1);
|
|
163263
163316
|
}
|
|
163264
163317
|
}
|
|
163265
|
-
class th extends
|
|
163318
|
+
class th extends yr {
|
|
163266
163319
|
getDefault() {
|
|
163267
163320
|
return this.gl.CCW;
|
|
163268
163321
|
}
|
|
@@ -163270,7 +163323,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163270
163323
|
(c !== this.current || this.dirty) && (this.gl.frontFace(c), this.current = c, this.dirty = !1);
|
|
163271
163324
|
}
|
|
163272
163325
|
}
|
|
163273
|
-
class ih extends
|
|
163326
|
+
class ih extends yr {
|
|
163274
163327
|
getDefault() {
|
|
163275
163328
|
return null;
|
|
163276
163329
|
}
|
|
@@ -163278,7 +163331,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163278
163331
|
(c !== this.current || this.dirty) && (this.gl.useProgram(c), this.current = c, this.dirty = !1);
|
|
163279
163332
|
}
|
|
163280
163333
|
}
|
|
163281
|
-
class o0 extends
|
|
163334
|
+
class o0 extends yr {
|
|
163282
163335
|
getDefault() {
|
|
163283
163336
|
return this.gl.TEXTURE0;
|
|
163284
163337
|
}
|
|
@@ -163286,7 +163339,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163286
163339
|
(c !== this.current || this.dirty) && (this.gl.activeTexture(c), this.current = c, this.dirty = !1);
|
|
163287
163340
|
}
|
|
163288
163341
|
}
|
|
163289
|
-
class dQ extends
|
|
163342
|
+
class dQ extends yr {
|
|
163290
163343
|
getDefault() {
|
|
163291
163344
|
const c = this.gl;
|
|
163292
163345
|
return [0, 0, c.drawingBufferWidth, c.drawingBufferHeight];
|
|
@@ -163296,7 +163349,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163296
163349
|
(c[0] !== u[0] || c[1] !== u[1] || c[2] !== u[2] || c[3] !== u[3] || this.dirty) && (this.gl.viewport(c[0], c[1], c[2], c[3]), this.current = c, this.dirty = !1);
|
|
163297
163350
|
}
|
|
163298
163351
|
}
|
|
163299
|
-
class Pi extends
|
|
163352
|
+
class Pi extends yr {
|
|
163300
163353
|
getDefault() {
|
|
163301
163354
|
return null;
|
|
163302
163355
|
}
|
|
@@ -163306,7 +163359,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163306
163359
|
u.bindFramebuffer(u.FRAMEBUFFER, c), this.current = c, this.dirty = !1;
|
|
163307
163360
|
}
|
|
163308
163361
|
}
|
|
163309
|
-
class tu extends
|
|
163362
|
+
class tu extends yr {
|
|
163310
163363
|
getDefault() {
|
|
163311
163364
|
return null;
|
|
163312
163365
|
}
|
|
@@ -163316,7 +163369,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163316
163369
|
u.bindRenderbuffer(u.RENDERBUFFER, c), this.current = c, this.dirty = !1;
|
|
163317
163370
|
}
|
|
163318
163371
|
}
|
|
163319
|
-
class bw extends
|
|
163372
|
+
class bw extends yr {
|
|
163320
163373
|
getDefault() {
|
|
163321
163374
|
return null;
|
|
163322
163375
|
}
|
|
@@ -163326,7 +163379,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163326
163379
|
u.bindTexture(u.TEXTURE_2D, c), this.current = c, this.dirty = !1;
|
|
163327
163380
|
}
|
|
163328
163381
|
}
|
|
163329
|
-
class a0 extends
|
|
163382
|
+
class a0 extends yr {
|
|
163330
163383
|
getDefault() {
|
|
163331
163384
|
return null;
|
|
163332
163385
|
}
|
|
@@ -163336,7 +163389,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163336
163389
|
u.bindBuffer(u.ARRAY_BUFFER, c), this.current = c, this.dirty = !1;
|
|
163337
163390
|
}
|
|
163338
163391
|
}
|
|
163339
|
-
class rh extends
|
|
163392
|
+
class rh extends yr {
|
|
163340
163393
|
getDefault() {
|
|
163341
163394
|
return null;
|
|
163342
163395
|
}
|
|
@@ -163345,7 +163398,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163345
163398
|
u.bindBuffer(u.ELEMENT_ARRAY_BUFFER, c), this.current = c, this.dirty = !1;
|
|
163346
163399
|
}
|
|
163347
163400
|
}
|
|
163348
|
-
class g0 extends
|
|
163401
|
+
class g0 extends yr {
|
|
163349
163402
|
getDefault() {
|
|
163350
163403
|
return null;
|
|
163351
163404
|
}
|
|
@@ -163356,7 +163409,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163356
163409
|
ma(m) ? m.bindVertexArray(c) : (u = m.getExtension("OES_vertex_array_object")) === null || u === void 0 || u.bindVertexArrayOES(c), this.current = c, this.dirty = !1;
|
|
163357
163410
|
}
|
|
163358
163411
|
}
|
|
163359
|
-
class Rw extends
|
|
163412
|
+
class Rw extends yr {
|
|
163360
163413
|
getDefault() {
|
|
163361
163414
|
return 4;
|
|
163362
163415
|
}
|
|
@@ -163366,7 +163419,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163366
163419
|
u.pixelStorei(u.UNPACK_ALIGNMENT, c), this.current = c, this.dirty = !1;
|
|
163367
163420
|
}
|
|
163368
163421
|
}
|
|
163369
|
-
class sh extends
|
|
163422
|
+
class sh extends yr {
|
|
163370
163423
|
getDefault() {
|
|
163371
163424
|
return !1;
|
|
163372
163425
|
}
|
|
@@ -163376,7 +163429,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163376
163429
|
u.pixelStorei(u.UNPACK_PREMULTIPLY_ALPHA_WEBGL, c), this.current = c, this.dirty = !1;
|
|
163377
163430
|
}
|
|
163378
163431
|
}
|
|
163379
|
-
class Da extends
|
|
163432
|
+
class Da extends yr {
|
|
163380
163433
|
getDefault() {
|
|
163381
163434
|
return !1;
|
|
163382
163435
|
}
|
|
@@ -163386,7 +163439,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163386
163439
|
u.pixelStorei(u.UNPACK_FLIP_Y_WEBGL, c), this.current = c, this.dirty = !1;
|
|
163387
163440
|
}
|
|
163388
163441
|
}
|
|
163389
|
-
class QB extends
|
|
163442
|
+
class QB extends yr {
|
|
163390
163443
|
constructor(c, u) {
|
|
163391
163444
|
super(c), this.context = c, this.parent = u;
|
|
163392
163445
|
}
|
|
@@ -163597,7 +163650,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163597
163650
|
if (!Rt) continue;
|
|
163598
163651
|
const Zt = F ? Rt.text : Rt.icon;
|
|
163599
163652
|
if (!Zt?.segments.get().length || !Zt.hasVisibleVertices) continue;
|
|
163600
|
-
const
|
|
163653
|
+
const Mr = Zt.programConfigurations.get(u.id), zs = F || Rt.sdfIcons, qr = F ? Rt.textSizeData : Rt.iconSizeData, on = Ce || $A.pitch !== 0, yn = _.useProgram(is(zs, F, Rt), Mr), Lo = o.aw(qr, $A.zoom), Ps = (wA = _.style.map.terrain) === null || wA === void 0 ? void 0 : wA.getTerrainData(wt);
|
|
163601
163654
|
let sa, uo, Zn, Uo, ah = [0, 0], gh = null;
|
|
163602
163655
|
if (F) uo = st.glyphAtlasTexture, Zn = ee.LINEAR, sa = st.glyphAtlasTexture.size, Rt.iconsInText && (ah = st.imageAtlasTexture.size, gh = st.imageAtlasTexture, Uo = on || _.options.rotating || _.options.zooming || qr.kind === "composite" || qr.kind === "camera" ? ee.LINEAR : ee.NEAREST);
|
|
163603
163656
|
else {
|
|
@@ -163682,7 +163735,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163682
163735
|
function ou(_, c, u, m, F, L) {
|
|
163683
163736
|
(F || _.lineAtlas.dirty) && (c.activeTexture.set(u.TEXTURE0), _.lineAtlas.bind(c)), m.updatePaintBuffers(L);
|
|
163684
163737
|
}
|
|
163685
|
-
function
|
|
163738
|
+
function xr(_, c, u, m, F, L, K) {
|
|
163686
163739
|
const z = L.gradients[F.id];
|
|
163687
163740
|
let X = z.texture;
|
|
163688
163741
|
F.gradientVersion !== z.version && (X = Fs(_, c, u, m, F, L, K, z)), u.activeTexture.set(m.TEXTURE0), X.bind(F.stepInterpolant ? m.NEAREST : m.LINEAR, m.CLAMP_TO_EDGE);
|
|
@@ -163848,7 +163901,7 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163848
163901
|
const u = new o.aU();
|
|
163849
163902
|
u.emplaceBack(-1, -1), u.emplaceBack(1, -1), u.emplaceBack(1, 1), u.emplaceBack(-1, 1);
|
|
163850
163903
|
const m = new o.aW();
|
|
163851
|
-
m.emplaceBack(0, 1, 2), m.emplaceBack(0, 2, 3), c.mesh = new
|
|
163904
|
+
m.emplaceBack(0, 1, 2), m.emplaceBack(0, 2, 3), c.mesh = new Nr(_.createVertexBuffer(u, GI.members), _.createIndexBuffer(m), o.aV.simpleSegment(0, 0, u.length, m.length));
|
|
163852
163905
|
}
|
|
163853
163906
|
return c.mesh;
|
|
163854
163907
|
}
|
|
@@ -163943,10 +163996,10 @@ uniform ${aA} ${EA} u_${fA};
|
|
|
163943
163996
|
je.setConstantDashPositions(on, yn);
|
|
163944
163997
|
}
|
|
163945
163998
|
const Rt = ie.getProjectionData({ overscaledTileID: le, applyGlobeMatrix: !K, applyTerrainMatrix: !0 }), Zt = ie.getPixelScale();
|
|
163946
|
-
let
|
|
163947
|
-
UA ? (
|
|
163999
|
+
let Mr;
|
|
164000
|
+
UA ? (Mr = Wl(_, se, u, Zt, ee), l0(te, Ce, se, je, ee)) : fA && zA ? (Mr = lQ(_, se, u, Zt, ee, _e.lineClipsArray.length), Hc(_, c, te, Ce, u, _e, le, je, ee)) : fA ? (Mr = cQ(_, se, u, Zt, ee), ou(_, te, Ce, je, It, ee)) : zA ? (Mr = i0(_, se, u, Zt, _e.lineClipsArray.length), xr(_, c, te, Ce, u, _e, le)) : Mr = kn(_, se, u, Zt);
|
|
163948
164001
|
const zs = _.stencilModeForClipping(le);
|
|
163949
|
-
lt.draw(te, Ce.TRIANGLES, oA, zs, aA, sr.disabled,
|
|
164002
|
+
lt.draw(te, Ce.TRIANGLES, oA, zs, aA, sr.disabled, Mr, Jt, Rt, u.id, _e.layoutVertexBuffer, _e.indexBuffer, _e.segments, u.paint, _.transform.zoom, je, _e.layoutVertexBuffer2), Ae = !1;
|
|
163950
164003
|
}
|
|
163951
164004
|
}, fill: function(_, c, u, m, F) {
|
|
163952
164005
|
const L = u.paint.get("fill-color"), K = u.paint.get("fill-opacity");
|
|
@@ -164116,7 +164169,7 @@ ${z.shaderPreludeCode.vertexSource}`, define: z.shaderDefine }, defaultProjectio
|
|
|
164116
164169
|
const X = new o.aW();
|
|
164117
164170
|
X.emplaceBack(1, 0, 2), X.emplaceBack(1, 2, 3), this.quadTriangleIndexBuffer = c.createIndexBuffer(X);
|
|
164118
164171
|
const oA = this.context.gl;
|
|
164119
|
-
this.stencilClearMode = new or({ func: oA.ALWAYS, mask: 0 }, 0, 255, oA.ZERO, oA.ZERO, oA.ZERO), this.tileExtentMesh = new
|
|
164172
|
+
this.stencilClearMode = new or({ func: oA.ALWAYS, mask: 0 }, 0, 255, oA.ZERO, oA.ZERO, oA.ZERO), this.tileExtentMesh = new Nr(this.tileExtentBuffer, this.quadTriangleIndexBuffer, this.tileExtentSegments);
|
|
164120
164173
|
}
|
|
164121
164174
|
clearStencil() {
|
|
164122
164175
|
const c = this.context, u = c.gl;
|
|
@@ -166101,7 +166154,7 @@ ${z.shaderPreludeCode.vertexSource}`, define: z.shaderDefine }, defaultProjectio
|
|
|
166101
166154
|
const ie = X.length, Ae = ie + 2 * (aA + 1);
|
|
166102
166155
|
for (const se of [0, 1]) for (let _e = 0; _e <= aA; _e++) for (const je of [0, 1]) X.emplaceBack(se * o.a6, _e * EA, je);
|
|
166103
166156
|
for (let se = 0; se < 2 * aA; se += 2) oA.emplaceBack(ie + se, ie + se + 1, ie + se + 3), oA.emplaceBack(ie + se, ie + se + 3, ie + se + 2), oA.emplaceBack(Ae + se, Ae + se + 3, Ae + se + 1), oA.emplaceBack(Ae + se, Ae + se + 2, Ae + se + 3);
|
|
166104
|
-
const le = new
|
|
166157
|
+
const le = new Nr(z.createVertexBuffer(X, eL.members), z.createIndexBuffer(oA), o.aV.simpleSegment(0, 0, X.length, oA.length));
|
|
166105
166158
|
return this._meshCache[K] = le, le;
|
|
166106
166159
|
}
|
|
166107
166160
|
getMeshFrameDelta(c) {
|
|
@@ -171811,7 +171864,7 @@ var iV = /* @__PURE__ */ (() => {
|
|
|
171811
171864
|
return A[hA].C[arguments.length].apply(this, arguments);
|
|
171812
171865
|
}, A[hA].C = [], A[hA].C[oe.O] = oe;
|
|
171813
171866
|
}
|
|
171814
|
-
},
|
|
171867
|
+
}, Cr = (hA, xA, oe) => {
|
|
171815
171868
|
if (A.hasOwnProperty(hA)) {
|
|
171816
171869
|
if (oe === void 0 || A[hA].C !== void 0 && A[hA].C[oe] !== void 0)
|
|
171817
171870
|
throw new xe(`Cannot register public name '${hA}' twice`);
|
|
@@ -172018,7 +172071,7 @@ var iV = /* @__PURE__ */ (() => {
|
|
|
172018
172071
|
},
|
|
172019
172072
|
d: (hA, xA, oe, Se, MA, qA, YA) => {
|
|
172020
172073
|
var ge = vi(xA, oe);
|
|
172021
|
-
hA = VA(hA), hA = ks(hA), MA = es(Se, MA),
|
|
172074
|
+
hA = VA(hA), hA = ks(hA), MA = es(Se, MA), Cr(hA, function() {
|
|
172022
172075
|
bs(`Cannot call ${hA} due to unbound types`, ge);
|
|
172023
172076
|
}, xA - 1), Re(ge, function(Be) {
|
|
172024
172077
|
var tt = hA, ht = hA;
|
|
@@ -172543,19 +172596,19 @@ var w6e = (typeof document < "u" && document.currentScript && document.currentSc
|
|
|
172543
172596
|
for (var WA = [], he = 0; he < ae; he++)
|
|
172544
172597
|
WA.push(D[Fe + 4 * he >> 2]);
|
|
172545
172598
|
return WA;
|
|
172546
|
-
},
|
|
172599
|
+
}, Cr, vi = (ae, Fe) => {
|
|
172547
172600
|
var WA = [];
|
|
172548
172601
|
return function() {
|
|
172549
172602
|
if (WA.length = 0, Object.assign(WA, arguments), ae.includes("j")) {
|
|
172550
172603
|
var he = A["dynCall_" + ae];
|
|
172551
172604
|
he = WA && WA.length ? he.apply(null, [Fe].concat(WA)) : he.call(null, Fe);
|
|
172552
172605
|
} else
|
|
172553
|
-
he =
|
|
172606
|
+
he = Cr.get(Fe).apply(null, WA);
|
|
172554
172607
|
return he;
|
|
172555
172608
|
};
|
|
172556
172609
|
}, rr = (ae, Fe) => {
|
|
172557
172610
|
ae = ZA(ae);
|
|
172558
|
-
var WA = ae.includes("j") ? vi(ae, Fe) :
|
|
172611
|
+
var WA = ae.includes("j") ? vi(ae, Fe) : Cr.get(Fe);
|
|
172559
172612
|
if (typeof WA != "function")
|
|
172560
172613
|
throw new Ne(`unknown function pointer with signature ${ae}: ${Fe}`);
|
|
172561
172614
|
return WA;
|
|
@@ -172927,7 +172980,7 @@ return ret;
|
|
|
172927
172980
|
return !1;
|
|
172928
172981
|
} }, Ie = (function() {
|
|
172929
172982
|
function ae(WA) {
|
|
172930
|
-
return Ie = WA.exports, o = Ie.r, Y(),
|
|
172983
|
+
return Ie = WA.exports, o = Ie.r, Y(), Cr = Ie.w, W.unshift(Ie.s), nA--, A.monitorRunDependencies?.(nA), nA == 0 && lA && (WA = lA, lA = null, WA()), Ie;
|
|
172931
172984
|
}
|
|
172932
172985
|
var Fe = { a: KA };
|
|
172933
172986
|
if (nA++, A.monitorRunDependencies?.(nA), A.instantiateWasm)
|
|
@@ -173161,7 +173214,7 @@ var N6e = (typeof document < "u" && document.currentScript?.src, function(e = {}
|
|
|
173161
173214
|
t[MA].D[YA] = qA;
|
|
173162
173215
|
} else
|
|
173163
173216
|
t[MA] = qA, YA !== void 0 && (t[MA].J = YA);
|
|
173164
|
-
},
|
|
173217
|
+
}, Cr = (MA, qA) => {
|
|
173165
173218
|
for (var YA = [], ge = 0; ge < MA; ge++)
|
|
173166
173219
|
YA.push(U[qA + 4 * ge >> 2]);
|
|
173167
173220
|
return YA;
|
|
@@ -173314,7 +173367,7 @@ var N6e = (typeof document < "u" && document.currentScript?.src, function(e = {}
|
|
|
173314
173367
|
}, h: (MA) => Qe(MA, ze), e: (MA, qA, YA) => {
|
|
173315
173368
|
qA = XA(qA), Qe(MA, { name: qA, fromWireType: (ge) => ge, toWireType: (ge, Be) => Be, argPackAdvance: 8, readValueFromPointer: at(qA, YA), F: null });
|
|
173316
173369
|
}, d: (MA, qA, YA, ge, Be, tt, ht) => {
|
|
173317
|
-
var Qt =
|
|
173370
|
+
var Qt = Cr(qA, YA);
|
|
173318
173371
|
MA = XA(MA), MA = ks(MA), Be = es(ge, Be), ei(MA, function() {
|
|
173319
173372
|
bs(`Cannot call ${MA} due to unbound types`, Qt);
|
|
173320
173373
|
}, qA - 1), He(
|