@reearth/core 0.0.7-alpha.27 → 0.0.7-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.js +229 -226
- package/dist/core.umd.cjs +22 -22
- package/package.json +1 -1
- package/src/Map/Sketch/hooks.ts +3 -1
- package/src/engines/Cesium/hooks.ts +2 -2
package/dist/core.js
CHANGED
|
@@ -285,17 +285,17 @@ function requireReactJsxRuntime_development() {
|
|
|
285
285
|
}
|
|
286
286
|
} catch (lp) {
|
|
287
287
|
if (lp && yf && typeof lp.stack == "string") {
|
|
288
|
-
for (var
|
|
288
|
+
for (var Mf = lp.stack.split(`
|
|
289
289
|
`), Af = yf.stack.split(`
|
|
290
|
-
`), Gf =
|
|
290
|
+
`), Gf = Mf.length - 1, Xf = Af.length - 1; Gf >= 1 && Xf >= 0 && Mf[Gf] !== Af[Xf]; )
|
|
291
291
|
Xf--;
|
|
292
292
|
for (; Gf >= 1 && Xf >= 0; Gf--, Xf--)
|
|
293
|
-
if (
|
|
293
|
+
if (Mf[Gf] !== Af[Xf]) {
|
|
294
294
|
if (Gf !== 1 || Xf !== 1)
|
|
295
295
|
do
|
|
296
|
-
if (Gf--, Xf--, Xf < 0 ||
|
|
296
|
+
if (Gf--, Xf--, Xf < 0 || Mf[Gf] !== Af[Xf]) {
|
|
297
297
|
var jf = `
|
|
298
|
-
` +
|
|
298
|
+
` + Mf[Gf].replace(" at new ", " at ");
|
|
299
299
|
return al.displayName && jf.includes("<anonymous>") && (jf = jf.replace("<anonymous>", al.displayName)), typeof al == "function" && mf.set(al, jf), jf;
|
|
300
300
|
}
|
|
301
301
|
while (Gf >= 1 && Xf >= 0);
|
|
@@ -305,10 +305,10 @@ function requireReactJsxRuntime_development() {
|
|
|
305
305
|
} finally {
|
|
306
306
|
hf = !1, cf.current = Of, Gd(), Error.prepareStackTrace = If;
|
|
307
307
|
}
|
|
308
|
-
var bp = al ? al.displayName || al.name : "",
|
|
309
|
-
return typeof al == "function" && mf.set(al,
|
|
308
|
+
var bp = al ? al.displayName || al.name : "", dp = bp ? gf(bp) : "";
|
|
309
|
+
return typeof al == "function" && mf.set(al, dp), dp;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Rf(al, tf, lf) {
|
|
312
312
|
return Vf(al, !1);
|
|
313
313
|
}
|
|
314
314
|
function Wa(al) {
|
|
@@ -331,7 +331,7 @@ function requireReactJsxRuntime_development() {
|
|
|
331
331
|
if (typeof al == "object")
|
|
332
332
|
switch (al.$$typeof) {
|
|
333
333
|
case y:
|
|
334
|
-
return
|
|
334
|
+
return Rf(al.render);
|
|
335
335
|
case L:
|
|
336
336
|
return af(al.type, tf, lf);
|
|
337
337
|
case F: {
|
|
@@ -357,17 +357,17 @@ function requireReactJsxRuntime_development() {
|
|
|
357
357
|
var Of = Function.call.bind(Xd);
|
|
358
358
|
for (var Tf in al)
|
|
359
359
|
if (Of(al, Tf)) {
|
|
360
|
-
var
|
|
360
|
+
var Mf = void 0;
|
|
361
361
|
try {
|
|
362
362
|
if (typeof al[Tf] != "function") {
|
|
363
363
|
var Af = Error((yf || "React class") + ": " + lf + " type `" + Tf + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof al[Tf] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
364
364
|
throw Af.name = "Invariant Violation", Af;
|
|
365
365
|
}
|
|
366
|
-
|
|
366
|
+
Mf = al[Tf](tf, Tf, yf, lf, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
367
367
|
} catch (Gf) {
|
|
368
|
-
|
|
368
|
+
Mf = Gf;
|
|
369
369
|
}
|
|
370
|
-
|
|
370
|
+
Mf && !(Mf instanceof Error) && (Zd(If), se("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", yf || "React class", lf, Tf, typeof Mf), Zd(null)), Mf instanceof Error && !(Mf.message in gd) && (gd[Mf.message] = !0, Zd(If), se("Failed %s type: %s", lf, Mf.message), Zd(null));
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
}
|
|
@@ -395,7 +395,7 @@ function requireReactJsxRuntime_development() {
|
|
|
395
395
|
if (Cf(al))
|
|
396
396
|
return se("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", df(al)), ff(al);
|
|
397
397
|
}
|
|
398
|
-
var
|
|
398
|
+
var wf = Pe.ReactCurrentOwner, Ff = {
|
|
399
399
|
key: !0,
|
|
400
400
|
ref: !0,
|
|
401
401
|
__self: !0,
|
|
@@ -418,7 +418,7 @@ function requireReactJsxRuntime_development() {
|
|
|
418
418
|
return al.key !== void 0;
|
|
419
419
|
}
|
|
420
420
|
function vf(al, tf) {
|
|
421
|
-
typeof al.ref == "string" &&
|
|
421
|
+
typeof al.ref == "string" && wf.current;
|
|
422
422
|
}
|
|
423
423
|
function pf(al, tf) {
|
|
424
424
|
{
|
|
@@ -443,7 +443,7 @@ function requireReactJsxRuntime_development() {
|
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
var Df = function(al, tf, lf, yf, If, Of, Tf) {
|
|
446
|
-
var
|
|
446
|
+
var Mf = {
|
|
447
447
|
// This tag allows us to uniquely identify this as a React Element
|
|
448
448
|
$$typeof: n,
|
|
449
449
|
// Built-in properties that belong on the element
|
|
@@ -454,27 +454,27 @@ function requireReactJsxRuntime_development() {
|
|
|
454
454
|
// Record the component responsible for creating this element.
|
|
455
455
|
_owner: Of
|
|
456
456
|
};
|
|
457
|
-
return
|
|
457
|
+
return Mf._store = {}, Object.defineProperty(Mf._store, "validated", {
|
|
458
458
|
configurable: !1,
|
|
459
459
|
enumerable: !1,
|
|
460
460
|
writable: !0,
|
|
461
461
|
value: !1
|
|
462
|
-
}), Object.defineProperty(
|
|
462
|
+
}), Object.defineProperty(Mf, "_self", {
|
|
463
463
|
configurable: !1,
|
|
464
464
|
enumerable: !1,
|
|
465
465
|
writable: !1,
|
|
466
466
|
value: yf
|
|
467
|
-
}), Object.defineProperty(
|
|
467
|
+
}), Object.defineProperty(Mf, "_source", {
|
|
468
468
|
configurable: !1,
|
|
469
469
|
enumerable: !1,
|
|
470
470
|
writable: !1,
|
|
471
471
|
value: If
|
|
472
|
-
}), Object.freeze && (Object.freeze(
|
|
472
|
+
}), Object.freeze && (Object.freeze(Mf.props), Object.freeze(Mf)), Mf;
|
|
473
473
|
};
|
|
474
474
|
function kf(al, tf, lf, yf, If) {
|
|
475
475
|
{
|
|
476
|
-
var Of, Tf = {},
|
|
477
|
-
lf !== void 0 && (Sf(lf),
|
|
476
|
+
var Of, Tf = {}, Mf = null, Af = null;
|
|
477
|
+
lf !== void 0 && (Sf(lf), Mf = "" + lf), tp(tf) && (Sf(tf.key), Mf = "" + tf.key), Wf(tf) && (Af = tf.ref, vf(tf, If));
|
|
478
478
|
for (Of in tf)
|
|
479
479
|
Xd.call(tf, Of) && !Ff.hasOwnProperty(Of) && (Tf[Of] = tf[Of]);
|
|
480
480
|
if (al && al.defaultProps) {
|
|
@@ -482,11 +482,11 @@ function requireReactJsxRuntime_development() {
|
|
|
482
482
|
for (Of in Gf)
|
|
483
483
|
Tf[Of] === void 0 && (Tf[Of] = Gf[Of]);
|
|
484
484
|
}
|
|
485
|
-
if (
|
|
485
|
+
if (Mf || Af) {
|
|
486
486
|
var Xf = typeof al == "function" ? al.displayName || al.name || "Unknown" : al;
|
|
487
|
-
|
|
487
|
+
Mf && pf(Tf, Xf), Af && Lf(Tf, Xf);
|
|
488
488
|
}
|
|
489
|
-
return Df(al,
|
|
489
|
+
return Df(al, Mf, Af, If, yf, wf.current, Tf);
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
var Yf = Pe.ReactCurrentOwner, Qf = Pe.ReactDebugCurrentFrame;
|
|
@@ -603,12 +603,12 @@ Check the top-level render call using <` + lf + ">.");
|
|
|
603
603
|
{
|
|
604
604
|
var Tf = La(al);
|
|
605
605
|
if (!Tf) {
|
|
606
|
-
var
|
|
607
|
-
(al === void 0 || typeof al == "object" && al !== null && Object.keys(al).length === 0) && (
|
|
606
|
+
var Mf = "";
|
|
607
|
+
(al === void 0 || typeof al == "object" && al !== null && Object.keys(al).length === 0) && (Mf += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
608
608
|
var Af = rp();
|
|
609
|
-
Af ?
|
|
609
|
+
Af ? Mf += Af : Mf += ip();
|
|
610
610
|
var Gf;
|
|
611
|
-
al === null ? Gf = "null" : nf(al) ? Gf = "array" : al !== void 0 && al.$$typeof === n ? (Gf = "<" + (yt(al.type) || "Unknown") + " />",
|
|
611
|
+
al === null ? Gf = "null" : nf(al) ? Gf = "array" : al !== void 0 && al.$$typeof === n ? (Gf = "<" + (yt(al.type) || "Unknown") + " />", Mf = " Did you accidentally export a JSX literal instead of a component?") : Gf = typeof al, se("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Gf, Mf);
|
|
612
612
|
}
|
|
613
613
|
var Xf = kf(al, tf, lf, If, Of);
|
|
614
614
|
if (Xf == null)
|
|
@@ -635,8 +635,8 @@ Check the top-level render call using <` + lf + ">.");
|
|
|
635
635
|
function up(al, tf, lf) {
|
|
636
636
|
return ep(al, tf, lf, !1);
|
|
637
637
|
}
|
|
638
|
-
var
|
|
639
|
-
reactJsxRuntime_development.Fragment = s, reactJsxRuntime_development.jsx =
|
|
638
|
+
var pp = up, mp = ap;
|
|
639
|
+
reactJsxRuntime_development.Fragment = s, reactJsxRuntime_development.jsx = pp, reactJsxRuntime_development.jsxs = mp;
|
|
640
640
|
}()), reactJsxRuntime_development;
|
|
641
641
|
}
|
|
642
642
|
process.env.NODE_ENV === "production" ? jsxRuntime$1.exports = requireReactJsxRuntime_production_min() : jsxRuntime$1.exports = requireReactJsxRuntime_development();
|
|
@@ -9818,10 +9818,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
9818
9818
|
Wa.pending_buf[Wa.pending++] = af >>> 8 & 255, Wa.pending_buf[Wa.pending++] = 255 & af;
|
|
9819
9819
|
}
|
|
9820
9820
|
function Gd(Wa, af) {
|
|
9821
|
-
var Xd, gd, pd = Wa.max_chain_length, Zd = Wa.strstart, sf = Wa.prev_length, of = Wa.nice_match, nf = Wa.strstart > Wa.w_size - Ra ? Wa.strstart - (Wa.w_size - Ra) : 0, df = Wa.window, Cf = Wa.w_mask, ff = Wa.prev, Sf = Wa.strstart + La,
|
|
9821
|
+
var Xd, gd, pd = Wa.max_chain_length, Zd = Wa.strstart, sf = Wa.prev_length, of = Wa.nice_match, nf = Wa.strstart > Wa.w_size - Ra ? Wa.strstart - (Wa.w_size - Ra) : 0, df = Wa.window, Cf = Wa.w_mask, ff = Wa.prev, Sf = Wa.strstart + La, wf = df[Zd + sf - 1], Ff = df[Zd + sf];
|
|
9822
9822
|
Wa.prev_length >= Wa.good_match && (pd >>= 2), of > Wa.lookahead && (of = Wa.lookahead);
|
|
9823
9823
|
do
|
|
9824
|
-
if (df[(Xd = af) + sf] === Ff && df[Xd + sf - 1] ===
|
|
9824
|
+
if (df[(Xd = af) + sf] === Ff && df[Xd + sf - 1] === wf && df[Xd] === df[Zd] && df[++Xd] === df[Zd + 1]) {
|
|
9825
9825
|
Zd += 2, Xd++;
|
|
9826
9826
|
do
|
|
9827
9827
|
;
|
|
@@ -9829,7 +9829,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
9829
9829
|
if (gd = La - (Sf - Zd), Zd = Sf - La, sf < gd) {
|
|
9830
9830
|
if (Wa.match_start = af, of <= (sf = gd))
|
|
9831
9831
|
break;
|
|
9832
|
-
|
|
9832
|
+
wf = df[Zd + sf - 1], Ff = df[Zd + sf];
|
|
9833
9833
|
}
|
|
9834
9834
|
}
|
|
9835
9835
|
while ((af = ff[af & Cf]) > nf && --pd != 0);
|
|
@@ -9911,7 +9911,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
9911
9911
|
Xd.window_size = 2 * Xd.w_size, yu(Xd.head), Xd.max_lazy_match = d[Xd.level].max_lazy, Xd.good_match = d[Xd.level].good_length, Xd.nice_match = d[Xd.level].nice_length, Xd.max_chain_length = d[Xd.level].max_chain, Xd.strstart = 0, Xd.block_start = 0, Xd.lookahead = 0, Xd.insert = 0, Xd.match_length = Xd.prev_length = fa - 1, Xd.match_available = 0, Xd.ins_h = 0;
|
|
9912
9912
|
}(Wa.state), af;
|
|
9913
9913
|
}
|
|
9914
|
-
function
|
|
9914
|
+
function Rf(Wa, af, Xd, gd, pd, Zd) {
|
|
9915
9915
|
if (!Wa)
|
|
9916
9916
|
return z;
|
|
9917
9917
|
var sf = 1;
|
|
@@ -9937,8 +9937,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
9937
9937
|
}
|
|
9938
9938
|
return Wa.insert = 0, af === F ? (Nl(Wa, !0), Wa.strm.avail_out === 0 ? ba : Sc) : (Wa.strstart > Wa.block_start && (Nl(Wa, !1), Wa.strm.avail_out), lt);
|
|
9939
9939
|
}), new hf(4, 4, 8, 4, uf), new hf(4, 5, 16, 8, uf), new hf(4, 6, 32, 32, uf), new hf(4, 4, 16, 16, gf), new hf(8, 16, 32, 32, gf), new hf(8, 16, 128, 128, gf), new hf(8, 32, 128, 256, gf), new hf(32, 128, 258, 1024, gf), new hf(32, 258, 258, 4096, gf)], c.deflateInit = function(Wa, af) {
|
|
9940
|
-
return
|
|
9941
|
-
}, c.deflateInit2 =
|
|
9940
|
+
return Rf(Wa, af, se, 15, 8, 0);
|
|
9941
|
+
}, c.deflateInit2 = Rf, c.deflateReset = Vf, c.deflateResetKeep = xf, c.deflateSetHeader = function(Wa, af) {
|
|
9942
9942
|
return Wa && Wa.state ? Wa.state.wrap !== 2 ? z : (Wa.state.gzhead = af, N) : z;
|
|
9943
9943
|
}, c.deflate = function(Wa, af) {
|
|
9944
9944
|
var Xd, gd, pd, Zd;
|
|
@@ -10006,7 +10006,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10006
10006
|
}
|
|
10007
10007
|
return nf.insert = 0, df === F ? (Nl(nf, !0), nf.strm.avail_out === 0 ? ba : Sc) : nf.last_lit && (Nl(nf, !1), nf.strm.avail_out === 0) ? lt : _i;
|
|
10008
10008
|
}(gd, af) : gd.strategy === 3 ? function(nf, df) {
|
|
10009
|
-
for (var Cf, ff, Sf,
|
|
10009
|
+
for (var Cf, ff, Sf, wf, Ff = nf.window; ; ) {
|
|
10010
10010
|
if (nf.lookahead <= La) {
|
|
10011
10011
|
if (cf(nf), nf.lookahead <= La && df === L)
|
|
10012
10012
|
return lt;
|
|
@@ -10014,11 +10014,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10014
10014
|
break;
|
|
10015
10015
|
}
|
|
10016
10016
|
if (nf.match_length = 0, nf.lookahead >= fa && 0 < nf.strstart && (ff = Ff[Sf = nf.strstart - 1]) === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf]) {
|
|
10017
|
-
|
|
10017
|
+
wf = nf.strstart + La;
|
|
10018
10018
|
do
|
|
10019
10019
|
;
|
|
10020
|
-
while (ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && Sf <
|
|
10021
|
-
nf.match_length = La - (
|
|
10020
|
+
while (ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && ff === Ff[++Sf] && Sf < wf);
|
|
10021
|
+
nf.match_length = La - (wf - Sf), nf.match_length > nf.lookahead && (nf.match_length = nf.lookahead);
|
|
10022
10022
|
}
|
|
10023
10023
|
if (nf.match_length >= fa ? (Cf = p._tr_tally(nf, 1, nf.match_length - fa), nf.lookahead -= nf.match_length, nf.strstart += nf.match_length, nf.match_length = 0) : (Cf = p._tr_tally(nf, 0, nf.window[nf.strstart]), nf.lookahead--, nf.strstart++), Cf && (Nl(nf, !1), nf.strm.avail_out === 0))
|
|
10024
10024
|
return lt;
|
|
@@ -10179,7 +10179,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10179
10179
|
c.inflateReset = kt, c.inflateReset2 = mn, c.inflateResetKeep = mt, c.inflateInit = function(ma) {
|
|
10180
10180
|
return pi(ma, 15);
|
|
10181
10181
|
}, c.inflateInit2 = pi, c.inflate = function(ma, yt) {
|
|
10182
|
-
var lt, _i, ba, Sc, ms, Xs, yu, pu, Nl, Ru, Vd, Gd, cf, uf, gf, hf, mf, xf, Vf,
|
|
10182
|
+
var lt, _i, ba, Sc, ms, Xs, yu, pu, Nl, Ru, Vd, Gd, cf, uf, gf, hf, mf, xf, Vf, Rf, Wa, af, Xd, gd, pd = 0, Zd = new d.Buf8(4), sf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
10183
10183
|
if (!ma || !ma.state || !ma.output || !ma.input && ma.avail_in !== 0)
|
|
10184
10184
|
return N;
|
|
10185
10185
|
(lt = ma.state).mode === 12 && (lt.mode = 13), ms = ma.next_out, ba = ma.output, yu = ma.avail_out, Sc = ma.next_in, _i = ma.input, Xs = ma.avail_in, pu = lt.hold, Nl = lt.bits, Ru = Xs, Vd = yu, af = F;
|
|
@@ -10461,7 +10461,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10461
10461
|
Xs--, pu += _i[Sc++] << Nl, Nl += 8;
|
|
10462
10462
|
}
|
|
10463
10463
|
if (hf && !(240 & hf)) {
|
|
10464
|
-
for (xf = gf, Vf = hf,
|
|
10464
|
+
for (xf = gf, Vf = hf, Rf = mf; hf = (pd = lt.lencode[Rf + ((pu & (1 << xf + Vf) - 1) >> xf)]) >>> 16 & 255, mf = 65535 & pd, !(xf + (gf = pd >>> 24) <= Nl); ) {
|
|
10465
10465
|
if (Xs === 0)
|
|
10466
10466
|
break e;
|
|
10467
10467
|
Xs--, pu += _i[Sc++] << Nl, Nl += 8;
|
|
@@ -10498,7 +10498,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10498
10498
|
Xs--, pu += _i[Sc++] << Nl, Nl += 8;
|
|
10499
10499
|
}
|
|
10500
10500
|
if (!(240 & hf)) {
|
|
10501
|
-
for (xf = gf, Vf = hf,
|
|
10501
|
+
for (xf = gf, Vf = hf, Rf = mf; hf = (pd = lt.distcode[Rf + ((pu & (1 << xf + Vf) - 1) >> xf)]) >>> 16 & 255, mf = 65535 & pd, !(xf + (gf = pd >>> 24) <= Nl); ) {
|
|
10502
10502
|
if (Xs === 0)
|
|
10503
10503
|
break e;
|
|
10504
10504
|
Xs--, pu += _i[Sc++] << Nl, Nl += 8;
|
|
@@ -10722,13 +10722,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10722
10722
|
;
|
|
10723
10723
|
Gd(pd, mt, Zd);
|
|
10724
10724
|
}
|
|
10725
|
-
function
|
|
10726
|
-
var sf, of, nf, df = Zd.dyn_tree, Cf = Zd.stat_desc.static_tree, ff = Zd.stat_desc.has_stree, Sf = Zd.stat_desc.elems,
|
|
10725
|
+
function Rf(pd, Zd) {
|
|
10726
|
+
var sf, of, nf, df = Zd.dyn_tree, Cf = Zd.stat_desc.static_tree, ff = Zd.stat_desc.has_stree, Sf = Zd.stat_desc.elems, wf = -1;
|
|
10727
10727
|
for (pd.heap_len = 0, pd.heap_max = W, sf = 0; sf < Sf; sf++)
|
|
10728
|
-
df[2 * sf] !== 0 ? (pd.heap[++pd.heap_len] =
|
|
10728
|
+
df[2 * sf] !== 0 ? (pd.heap[++pd.heap_len] = wf = sf, pd.depth[sf] = 0) : df[2 * sf + 1] = 0;
|
|
10729
10729
|
for (; pd.heap_len < 2; )
|
|
10730
|
-
df[2 * (nf = pd.heap[++pd.heap_len] =
|
|
10731
|
-
for (Zd.max_code =
|
|
10730
|
+
df[2 * (nf = pd.heap[++pd.heap_len] = wf < 2 ? ++wf : 0)] = 1, pd.depth[nf] = 0, pd.opt_len--, ff && (pd.static_len -= Cf[2 * nf + 1]);
|
|
10731
|
+
for (Zd.max_code = wf, sf = pd.heap_len >> 1; 1 <= sf; sf--)
|
|
10732
10732
|
xf(pd, df, sf);
|
|
10733
10733
|
for (nf = Sf; sf = pd.heap[1], pd.heap[1] = pd.heap[pd.heap_len--], xf(pd, df, 1), of = pd.heap[1], pd.heap[--pd.heap_max] = sf, pd.heap[--pd.heap_max] = of, df[2 * nf] = df[2 * sf] + df[2 * of], pd.depth[nf] = (pd.depth[sf] >= pd.depth[of] ? pd.depth[sf] : pd.depth[of]) + 1, df[2 * sf + 1] = df[2 * of + 1] = nf, pd.heap[1] = nf++, xf(pd, df, 1), 2 <= pd.heap_len; )
|
|
10734
10734
|
;
|
|
@@ -10748,23 +10748,23 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10748
10748
|
for (Wf = Ff.bl_count[vf]; Wf !== 0; )
|
|
10749
10749
|
kf < (tp = Ff.heap[--Jf]) || (Df[2 * tp + 1] !== vf && (Ff.opt_len += (vf - Df[2 * tp + 1]) * Df[2 * tp], Df[2 * tp + 1] = vf), Wf--);
|
|
10750
10750
|
}
|
|
10751
|
-
}(pd, Zd), uf(df,
|
|
10751
|
+
}(pd, Zd), uf(df, wf, pd.bl_count);
|
|
10752
10752
|
}
|
|
10753
10753
|
function Wa(pd, Zd, sf) {
|
|
10754
|
-
var of, nf, df = -1, Cf = Zd[1], ff = 0, Sf = 7,
|
|
10755
|
-
for (Cf === 0 && (Sf = 138,
|
|
10756
|
-
nf = Cf, Cf = Zd[2 * (of + 1) + 1], ++ff < Sf && nf === Cf || (ff <
|
|
10754
|
+
var of, nf, df = -1, Cf = Zd[1], ff = 0, Sf = 7, wf = 4;
|
|
10755
|
+
for (Cf === 0 && (Sf = 138, wf = 3), Zd[2 * (sf + 1) + 1] = 65535, of = 0; of <= sf; of++)
|
|
10756
|
+
nf = Cf, Cf = Zd[2 * (of + 1) + 1], ++ff < Sf && nf === Cf || (ff < wf ? pd.bl_tree[2 * nf] += ff : nf !== 0 ? (nf !== df && pd.bl_tree[2 * nf]++, pd.bl_tree[2 * kt]++) : ff <= 10 ? pd.bl_tree[2 * mn]++ : pd.bl_tree[2 * pi]++, df = nf, wf = (ff = 0) === Cf ? (Sf = 138, 3) : nf === Cf ? (Sf = 6, 3) : (Sf = 7, 4));
|
|
10757
10757
|
}
|
|
10758
10758
|
function af(pd, Zd, sf) {
|
|
10759
|
-
var of, nf, df = -1, Cf = Zd[1], ff = 0, Sf = 7,
|
|
10760
|
-
for (Cf === 0 && (Sf = 138,
|
|
10759
|
+
var of, nf, df = -1, Cf = Zd[1], ff = 0, Sf = 7, wf = 4;
|
|
10760
|
+
for (Cf === 0 && (Sf = 138, wf = 3), of = 0; of <= sf; of++)
|
|
10761
10761
|
if (nf = Cf, Cf = Zd[2 * (of + 1) + 1], !(++ff < Sf && nf === Cf)) {
|
|
10762
|
-
if (ff <
|
|
10762
|
+
if (ff < wf)
|
|
10763
10763
|
for (; Gd(pd, nf, pd.bl_tree), --ff != 0; )
|
|
10764
10764
|
;
|
|
10765
10765
|
else
|
|
10766
10766
|
nf !== 0 ? (nf !== df && (Gd(pd, nf, pd.bl_tree), ff--), Gd(pd, kt, pd.bl_tree), Vd(pd, ff - 3, 2)) : ff <= 10 ? (Gd(pd, mn, pd.bl_tree), Vd(pd, ff - 3, 3)) : (Gd(pd, pi, pd.bl_tree), Vd(pd, ff - 11, 7));
|
|
10767
|
-
df = nf,
|
|
10767
|
+
df = nf, wf = (ff = 0) === Cf ? (Sf = 138, 3) : nf === Cf ? (Sf = 6, 3) : (Sf = 7, 4);
|
|
10768
10768
|
}
|
|
10769
10769
|
}
|
|
10770
10770
|
y(Xs);
|
|
@@ -10803,9 +10803,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10803
10803
|
}, c._tr_stored_block = gd, c._tr_flush_block = function(pd, Zd, sf, of) {
|
|
10804
10804
|
var nf, df, Cf = 0;
|
|
10805
10805
|
0 < pd.level ? (pd.strm.data_type === 2 && (pd.strm.data_type = function(ff) {
|
|
10806
|
-
var Sf,
|
|
10807
|
-
for (Sf = 0; Sf <= 31; Sf++,
|
|
10808
|
-
if (1 &
|
|
10806
|
+
var Sf, wf = 4093624447;
|
|
10807
|
+
for (Sf = 0; Sf <= 31; Sf++, wf >>>= 1)
|
|
10808
|
+
if (1 & wf && ff.dyn_ltree[2 * Sf] !== 0)
|
|
10809
10809
|
return h;
|
|
10810
10810
|
if (ff.dyn_ltree[18] !== 0 || ff.dyn_ltree[20] !== 0 || ff.dyn_ltree[26] !== 0)
|
|
10811
10811
|
return p;
|
|
@@ -10813,16 +10813,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
10813
10813
|
if (ff.dyn_ltree[2 * Sf] !== 0)
|
|
10814
10814
|
return p;
|
|
10815
10815
|
return h;
|
|
10816
|
-
}(pd)),
|
|
10816
|
+
}(pd)), Rf(pd, pd.l_desc), Rf(pd, pd.d_desc), Cf = function(ff) {
|
|
10817
10817
|
var Sf;
|
|
10818
|
-
for (Wa(ff, ff.dyn_ltree, ff.l_desc.max_code), Wa(ff, ff.dyn_dtree, ff.d_desc.max_code),
|
|
10818
|
+
for (Wa(ff, ff.dyn_ltree, ff.l_desc.max_code), Wa(ff, ff.dyn_dtree, ff.d_desc.max_code), Rf(ff, ff.bl_desc), Sf = z - 1; 3 <= Sf && ff.bl_tree[2 * La[Sf] + 1] === 0; Sf--)
|
|
10819
10819
|
;
|
|
10820
10820
|
return ff.opt_len += 3 * (Sf + 1) + 5 + 5 + 4, Sf;
|
|
10821
|
-
}(pd), nf = pd.opt_len + 3 + 7 >>> 3, (df = pd.static_len + 3 + 7 >>> 3) <= nf && (nf = df)) : nf = df = sf + 5, sf + 4 <= nf && Zd !== -1 ? gd(pd, Zd, sf, of) : pd.strategy === 4 || df === nf ? (Vd(pd, 2 + (of ? 1 : 0), 3), Vf(pd, Ra, ma)) : (Vd(pd, 4 + (of ? 1 : 0), 3), function(ff, Sf,
|
|
10821
|
+
}(pd), nf = pd.opt_len + 3 + 7 >>> 3, (df = pd.static_len + 3 + 7 >>> 3) <= nf && (nf = df)) : nf = df = sf + 5, sf + 4 <= nf && Zd !== -1 ? gd(pd, Zd, sf, of) : pd.strategy === 4 || df === nf ? (Vd(pd, 2 + (of ? 1 : 0), 3), Vf(pd, Ra, ma)) : (Vd(pd, 4 + (of ? 1 : 0), 3), function(ff, Sf, wf, Ff) {
|
|
10822
10822
|
var Hf;
|
|
10823
|
-
for (Vd(ff, Sf - 257, 5), Vd(ff,
|
|
10823
|
+
for (Vd(ff, Sf - 257, 5), Vd(ff, wf - 1, 5), Vd(ff, Ff - 4, 4), Hf = 0; Hf < Ff; Hf++)
|
|
10824
10824
|
Vd(ff, ff.bl_tree[2 * La[Hf] + 1], 3);
|
|
10825
|
-
af(ff, ff.dyn_ltree, Sf - 1), af(ff, ff.dyn_dtree,
|
|
10825
|
+
af(ff, ff.dyn_ltree, Sf - 1), af(ff, ff.dyn_dtree, wf - 1);
|
|
10826
10826
|
}(pd, pd.l_desc.max_code + 1, pd.d_desc.max_code + 1, Cf + 1), Vf(pd, pd.dyn_ltree, pd.dyn_dtree)), gf(pd), of && hf(pd);
|
|
10827
10827
|
}, c._tr_tally = function(pd, Zd, sf) {
|
|
10828
10828
|
return pd.pending_buf[pd.d_buf + 2 * pd.last_lit] = Zd >>> 8 & 255, pd.pending_buf[pd.d_buf + 2 * pd.last_lit + 1] = 255 & Zd, pd.pending_buf[pd.l_buf + pd.last_lit] = 255 & sf, pd.last_lit++, Zd === 0 ? pd.dyn_ltree[2 * sf]++ : (pd.matches++, Zd--, pd.dyn_ltree[2 * (lt[sf] + L + 1)]++, pd.dyn_dtree[2 * Nl(Zd)]++), pd.last_lit === pd.lit_bufsize - 1;
|
|
@@ -14851,12 +14851,12 @@ function useHooks$a({
|
|
|
14851
14851
|
var pf;
|
|
14852
14852
|
return !((pf = pd.data) != null && pf[vf]);
|
|
14853
14853
|
}) && Object.isExtensible(pd.data.value) && df.type === "simple" && ((tp = df == null ? void 0 : df.data) != null && tp.value) && (df.data.value.id = Xd);
|
|
14854
|
-
const Cf = { id: Xd, ...omit(df, "id", "type", "children") }, ff = lt.current, Sf = ff.findIndex((vf) => vf.id === Xd),
|
|
14854
|
+
const Cf = { id: Xd, ...omit(df, "id", "type", "children") }, ff = lt.current, Sf = ff.findIndex((vf) => vf.id === Xd), wf = Sf < 0 ? [...ff, Cf] : [
|
|
14855
14855
|
...ff.slice(0, Sf),
|
|
14856
14856
|
Cf,
|
|
14857
14857
|
...ff.slice(Sf + 1)
|
|
14858
14858
|
];
|
|
14859
|
-
lt.current =
|
|
14859
|
+
lt.current = wf, P(wf);
|
|
14860
14860
|
},
|
|
14861
14861
|
[y]
|
|
14862
14862
|
), ba = useCallback(
|
|
@@ -14948,7 +14948,7 @@ function useHooks$a({
|
|
|
14948
14948
|
z(gd);
|
|
14949
14949
|
},
|
|
14950
14950
|
[z]
|
|
14951
|
-
),
|
|
14951
|
+
), Rf = useCallback(
|
|
14952
14952
|
(...Xd) => {
|
|
14953
14953
|
for (const gd of Xd)
|
|
14954
14954
|
W(gd);
|
|
@@ -14975,7 +14975,7 @@ function useHooks$a({
|
|
|
14975
14975
|
findByTags: mf,
|
|
14976
14976
|
findByTagLabels: xf,
|
|
14977
14977
|
hide: Vf,
|
|
14978
|
-
show:
|
|
14978
|
+
show: Rf,
|
|
14979
14979
|
select: Sc,
|
|
14980
14980
|
selectFeature: ms,
|
|
14981
14981
|
selectFeatures: Xs,
|
|
@@ -15001,7 +15001,7 @@ function useHooks$a({
|
|
|
15001
15001
|
mf,
|
|
15002
15002
|
xf,
|
|
15003
15003
|
Vf,
|
|
15004
|
-
|
|
15004
|
+
Rf,
|
|
15005
15005
|
Sc,
|
|
15006
15006
|
ms,
|
|
15007
15007
|
Xs,
|
|
@@ -19308,7 +19308,7 @@ const usePluginSketchLayer = ({
|
|
|
19308
19308
|
]
|
|
19309
19309
|
), Sa = useCallback(
|
|
19310
19310
|
(Ru) => {
|
|
19311
|
-
var Vd, Gd, cf, uf, gf, hf, mf, xf, Vf,
|
|
19311
|
+
var Vd, Gd, cf, uf, gf, hf, mf, xf, Vf, Rf;
|
|
19312
19312
|
if (!(o || Ru.lng === void 0 || Ru.lat === void 0 || Ru.height === void 0 || Ru.x === void 0 || Ru.y === void 0 || !n.current)) {
|
|
19313
19313
|
if (P.current = [Ru.lng, Ru.lat, Ru.height], t.matches("drawing")) {
|
|
19314
19314
|
invariant$1(t.context.type != null), invariant$1(t.context.controlPoints != null);
|
|
@@ -19344,7 +19344,7 @@ const usePluginSketchLayer = ({
|
|
|
19344
19344
|
[Ru.x, Ru.y]
|
|
19345
19345
|
);
|
|
19346
19346
|
if (Wa != null && (z(Wa), t.context.controlPoints)) {
|
|
19347
|
-
const af = (
|
|
19347
|
+
const af = (Rf = n.current) == null ? void 0 : Rf.getExtrudedPoint(
|
|
19348
19348
|
L == null ? void 0 : L.controlPoints[((Vf = L == null ? void 0 : L.controlPoints) == null ? void 0 : Vf.length) - 1],
|
|
19349
19349
|
Wa
|
|
19350
19350
|
);
|
|
@@ -19792,7 +19792,7 @@ function useHooks$9({
|
|
|
19792
19792
|
},
|
|
19793
19793
|
[n, _i]
|
|
19794
19794
|
), {
|
|
19795
|
-
pluginSketchLayerCreate:
|
|
19795
|
+
pluginSketchLayerCreate: Rf,
|
|
19796
19796
|
pluginSketchLayerFeatureAdd: Wa,
|
|
19797
19797
|
pluginSketchLayerFeatureUpdate: af,
|
|
19798
19798
|
pluginSketchLayerFeatureRemove: Xd
|
|
@@ -19805,7 +19805,7 @@ function useHooks$9({
|
|
|
19805
19805
|
from: mn,
|
|
19806
19806
|
updateType: kt,
|
|
19807
19807
|
onSketchFeatureCreate: p,
|
|
19808
|
-
pluginSketchLayerCreate:
|
|
19808
|
+
pluginSketchLayerCreate: Rf,
|
|
19809
19809
|
pluginSketchLayerFeatureAdd: Wa,
|
|
19810
19810
|
pluginSketchLayerFeatureUpdate: af,
|
|
19811
19811
|
pluginSketchLayerFeatureRemove: Xd,
|
|
@@ -19817,7 +19817,7 @@ function useHooks$9({
|
|
|
19817
19817
|
onLayerSelect: N
|
|
19818
19818
|
}), sf = useCallback(
|
|
19819
19819
|
(rf) => {
|
|
19820
|
-
var Pf, Uf, Bf, ep, ap, up,
|
|
19820
|
+
var Pf, Uf, Bf, ep, ap, up, pp, mp, al, tf, lf, yf, If, Of, Tf;
|
|
19821
19821
|
if (W == null || W(rf), !Pe.matches("idle") || !rf)
|
|
19822
19822
|
return;
|
|
19823
19823
|
const bf = (Uf = (Pf = rf == null ? void 0 : rf.feature) == null ? void 0 : Pf.properties) == null ? void 0 : Uf.type;
|
|
@@ -19836,7 +19836,7 @@ function useHooks$9({
|
|
|
19836
19836
|
extrudedHeight: (up = (ap = rf == null ? void 0 : rf.feature) == null ? void 0 : ap.properties) == null ? void 0 : up.extrudedHeight
|
|
19837
19837
|
}), lt({
|
|
19838
19838
|
type: bf,
|
|
19839
|
-
controlPoints: (
|
|
19839
|
+
controlPoints: (mp = (pp = rf == null ? void 0 : rf.feature) == null ? void 0 : pp.properties) == null ? void 0 : mp.positions
|
|
19840
19840
|
}), (tf = (al = rf == null ? void 0 : rf.feature) == null ? void 0 : al.properties) != null && tf.extrudedHeight && (ba(rf.feature.properties.extrudedHeight), ms(
|
|
19841
19841
|
(Tf = n.current) == null ? void 0 : Tf.getExtrudedPoint(
|
|
19842
19842
|
(Of = (lf = rf == null ? void 0 : rf.feature) == null ? void 0 : lf.properties) == null ? void 0 : Of.positions[((If = (yf = rf == null ? void 0 : rf.feature) == null ? void 0 : yf.properties) == null ? void 0 : If.positions.length) - 1],
|
|
@@ -19922,17 +19922,20 @@ function useHooks$9({
|
|
|
19922
19922
|
ff.current = d;
|
|
19923
19923
|
const Sf = useRef(h);
|
|
19924
19924
|
Sf.current = h;
|
|
19925
|
-
const
|
|
19926
|
-
|
|
19925
|
+
const wf = useRef(s);
|
|
19926
|
+
wf.current = s, useEffect(() => {
|
|
19927
19927
|
var rf;
|
|
19928
|
-
(z || mt) &&
|
|
19928
|
+
(z || mt) && wf.current !== "sketch" && ((rf = ff.current) == null || rf.call(ff, "sketch"));
|
|
19929
19929
|
}, [mt, z]);
|
|
19930
19930
|
const Ff = useRef(uf);
|
|
19931
19931
|
Ff.current = uf;
|
|
19932
19932
|
const Hf = useRef(of);
|
|
19933
19933
|
Hf.current = of, useEffect(() => {
|
|
19934
19934
|
var rf, bf;
|
|
19935
|
-
(rf = Sf.current) == null || rf.call(Sf, mt, Cf.current), Ff.current && Hf.current(), mt === void 0 && ((bf = ff.current) == null || bf.call(
|
|
19935
|
+
(rf = Sf.current) == null || rf.call(Sf, mt, Cf.current), Ff.current && Hf.current(), mt === void 0 && ((bf = ff.current) == null || bf.call(
|
|
19936
|
+
ff,
|
|
19937
|
+
wf.current === "sketch" ? "default" : wf.current
|
|
19938
|
+
));
|
|
19936
19939
|
}, [mt]);
|
|
19937
19940
|
const Jf = useRef(mt);
|
|
19938
19941
|
Jf.current = mt, useEffect(() => {
|
|
@@ -20425,17 +20428,17 @@ function Gt$1() {
|
|
|
20425
20428
|
}
|
|
20426
20429
|
} catch (lp) {
|
|
20427
20430
|
if (lp && yf && typeof lp.stack == "string") {
|
|
20428
|
-
for (var
|
|
20431
|
+
for (var Mf = lp.stack.split(`
|
|
20429
20432
|
`), Af = yf.stack.split(`
|
|
20430
|
-
`), Gf =
|
|
20433
|
+
`), Gf = Mf.length - 1, Xf = Af.length - 1; Gf >= 1 && Xf >= 0 && Mf[Gf] !== Af[Xf]; )
|
|
20431
20434
|
Xf--;
|
|
20432
20435
|
for (; Gf >= 1 && Xf >= 0; Gf--, Xf--)
|
|
20433
|
-
if (
|
|
20436
|
+
if (Mf[Gf] !== Af[Xf]) {
|
|
20434
20437
|
if (Gf !== 1 || Xf !== 1)
|
|
20435
20438
|
do
|
|
20436
|
-
if (Gf--, Xf--, Xf < 0 ||
|
|
20439
|
+
if (Gf--, Xf--, Xf < 0 || Mf[Gf] !== Af[Xf]) {
|
|
20437
20440
|
var jf = `
|
|
20438
|
-
` +
|
|
20441
|
+
` + Mf[Gf].replace(" at new ", " at ");
|
|
20439
20442
|
return al.displayName && jf.includes("<anonymous>") && (jf = jf.replace("<anonymous>", al.displayName)), typeof al == "function" && mf.set(al, jf), jf;
|
|
20440
20443
|
}
|
|
20441
20444
|
while (Gf >= 1 && Xf >= 0);
|
|
@@ -20445,10 +20448,10 @@ function Gt$1() {
|
|
|
20445
20448
|
} finally {
|
|
20446
20449
|
hf = !1, cf.current = Of, Gd(), Error.prepareStackTrace = If;
|
|
20447
20450
|
}
|
|
20448
|
-
var bp = al ? al.displayName || al.name : "",
|
|
20449
|
-
return typeof al == "function" && mf.set(al,
|
|
20451
|
+
var bp = al ? al.displayName || al.name : "", dp = bp ? gf(bp) : "";
|
|
20452
|
+
return typeof al == "function" && mf.set(al, dp), dp;
|
|
20450
20453
|
}
|
|
20451
|
-
function
|
|
20454
|
+
function Rf(al, tf, lf) {
|
|
20452
20455
|
return Vf(al, !1);
|
|
20453
20456
|
}
|
|
20454
20457
|
function Wa(al) {
|
|
@@ -20471,7 +20474,7 @@ function Gt$1() {
|
|
|
20471
20474
|
if (typeof al == "object")
|
|
20472
20475
|
switch (al.$$typeof) {
|
|
20473
20476
|
case y:
|
|
20474
|
-
return
|
|
20477
|
+
return Rf(al.render);
|
|
20475
20478
|
case L:
|
|
20476
20479
|
return af(al.type, tf, lf);
|
|
20477
20480
|
case F: {
|
|
@@ -20497,17 +20500,17 @@ function Gt$1() {
|
|
|
20497
20500
|
var Of = Function.call.bind(Xd);
|
|
20498
20501
|
for (var Tf in al)
|
|
20499
20502
|
if (Of(al, Tf)) {
|
|
20500
|
-
var
|
|
20503
|
+
var Mf = void 0;
|
|
20501
20504
|
try {
|
|
20502
20505
|
if (typeof al[Tf] != "function") {
|
|
20503
20506
|
var Af = Error((yf || "React class") + ": " + lf + " type `" + Tf + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof al[Tf] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
20504
20507
|
throw Af.name = "Invariant Violation", Af;
|
|
20505
20508
|
}
|
|
20506
|
-
|
|
20509
|
+
Mf = al[Tf](tf, Tf, yf, lf, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
20507
20510
|
} catch (Gf) {
|
|
20508
|
-
|
|
20511
|
+
Mf = Gf;
|
|
20509
20512
|
}
|
|
20510
|
-
|
|
20513
|
+
Mf && !(Mf instanceof Error) && (Zd(If), se("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", yf || "React class", lf, Tf, typeof Mf), Zd(null)), Mf instanceof Error && !(Mf.message in gd) && (gd[Mf.message] = !0, Zd(If), se("Failed %s type: %s", lf, Mf.message), Zd(null));
|
|
20511
20514
|
}
|
|
20512
20515
|
}
|
|
20513
20516
|
}
|
|
@@ -20535,7 +20538,7 @@ function Gt$1() {
|
|
|
20535
20538
|
if (Cf(al))
|
|
20536
20539
|
return se("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", df(al)), ff(al);
|
|
20537
20540
|
}
|
|
20538
|
-
var
|
|
20541
|
+
var wf = Pe.ReactCurrentOwner, Ff = {
|
|
20539
20542
|
key: !0,
|
|
20540
20543
|
ref: !0,
|
|
20541
20544
|
__self: !0,
|
|
@@ -20558,7 +20561,7 @@ function Gt$1() {
|
|
|
20558
20561
|
return al.key !== void 0;
|
|
20559
20562
|
}
|
|
20560
20563
|
function vf(al, tf) {
|
|
20561
|
-
typeof al.ref == "string" &&
|
|
20564
|
+
typeof al.ref == "string" && wf.current;
|
|
20562
20565
|
}
|
|
20563
20566
|
function pf(al, tf) {
|
|
20564
20567
|
{
|
|
@@ -20583,7 +20586,7 @@ function Gt$1() {
|
|
|
20583
20586
|
}
|
|
20584
20587
|
}
|
|
20585
20588
|
var Df = function(al, tf, lf, yf, If, Of, Tf) {
|
|
20586
|
-
var
|
|
20589
|
+
var Mf = {
|
|
20587
20590
|
// This tag allows us to uniquely identify this as a React Element
|
|
20588
20591
|
$$typeof: n,
|
|
20589
20592
|
// Built-in properties that belong on the element
|
|
@@ -20594,27 +20597,27 @@ function Gt$1() {
|
|
|
20594
20597
|
// Record the component responsible for creating this element.
|
|
20595
20598
|
_owner: Of
|
|
20596
20599
|
};
|
|
20597
|
-
return
|
|
20600
|
+
return Mf._store = {}, Object.defineProperty(Mf._store, "validated", {
|
|
20598
20601
|
configurable: !1,
|
|
20599
20602
|
enumerable: !1,
|
|
20600
20603
|
writable: !0,
|
|
20601
20604
|
value: !1
|
|
20602
|
-
}), Object.defineProperty(
|
|
20605
|
+
}), Object.defineProperty(Mf, "_self", {
|
|
20603
20606
|
configurable: !1,
|
|
20604
20607
|
enumerable: !1,
|
|
20605
20608
|
writable: !1,
|
|
20606
20609
|
value: yf
|
|
20607
|
-
}), Object.defineProperty(
|
|
20610
|
+
}), Object.defineProperty(Mf, "_source", {
|
|
20608
20611
|
configurable: !1,
|
|
20609
20612
|
enumerable: !1,
|
|
20610
20613
|
writable: !1,
|
|
20611
20614
|
value: If
|
|
20612
|
-
}), Object.freeze && (Object.freeze(
|
|
20615
|
+
}), Object.freeze && (Object.freeze(Mf.props), Object.freeze(Mf)), Mf;
|
|
20613
20616
|
};
|
|
20614
20617
|
function kf(al, tf, lf, yf, If) {
|
|
20615
20618
|
{
|
|
20616
|
-
var Of, Tf = {},
|
|
20617
|
-
lf !== void 0 && (Sf(lf),
|
|
20619
|
+
var Of, Tf = {}, Mf = null, Af = null;
|
|
20620
|
+
lf !== void 0 && (Sf(lf), Mf = "" + lf), tp(tf) && (Sf(tf.key), Mf = "" + tf.key), Wf(tf) && (Af = tf.ref, vf(tf, If));
|
|
20618
20621
|
for (Of in tf)
|
|
20619
20622
|
Xd.call(tf, Of) && !Ff.hasOwnProperty(Of) && (Tf[Of] = tf[Of]);
|
|
20620
20623
|
if (al && al.defaultProps) {
|
|
@@ -20622,11 +20625,11 @@ function Gt$1() {
|
|
|
20622
20625
|
for (Of in Gf)
|
|
20623
20626
|
Tf[Of] === void 0 && (Tf[Of] = Gf[Of]);
|
|
20624
20627
|
}
|
|
20625
|
-
if (
|
|
20628
|
+
if (Mf || Af) {
|
|
20626
20629
|
var Xf = typeof al == "function" ? al.displayName || al.name || "Unknown" : al;
|
|
20627
|
-
|
|
20630
|
+
Mf && pf(Tf, Xf), Af && Lf(Tf, Xf);
|
|
20628
20631
|
}
|
|
20629
|
-
return Df(al,
|
|
20632
|
+
return Df(al, Mf, Af, If, yf, wf.current, Tf);
|
|
20630
20633
|
}
|
|
20631
20634
|
}
|
|
20632
20635
|
var Yf = Pe.ReactCurrentOwner, Qf = Pe.ReactDebugCurrentFrame;
|
|
@@ -20743,12 +20746,12 @@ Check the top-level render call using <` + lf + ">.");
|
|
|
20743
20746
|
{
|
|
20744
20747
|
var Tf = La(al);
|
|
20745
20748
|
if (!Tf) {
|
|
20746
|
-
var
|
|
20747
|
-
(al === void 0 || typeof al == "object" && al !== null && Object.keys(al).length === 0) && (
|
|
20749
|
+
var Mf = "";
|
|
20750
|
+
(al === void 0 || typeof al == "object" && al !== null && Object.keys(al).length === 0) && (Mf += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
20748
20751
|
var Af = rp();
|
|
20749
|
-
Af ?
|
|
20752
|
+
Af ? Mf += Af : Mf += ip();
|
|
20750
20753
|
var Gf;
|
|
20751
|
-
al === null ? Gf = "null" : nf(al) ? Gf = "array" : al !== void 0 && al.$$typeof === n ? (Gf = "<" + (yt(al.type) || "Unknown") + " />",
|
|
20754
|
+
al === null ? Gf = "null" : nf(al) ? Gf = "array" : al !== void 0 && al.$$typeof === n ? (Gf = "<" + (yt(al.type) || "Unknown") + " />", Mf = " Did you accidentally export a JSX literal instead of a component?") : Gf = typeof al, se("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Gf, Mf);
|
|
20752
20755
|
}
|
|
20753
20756
|
var Xf = kf(al, tf, lf, If, Of);
|
|
20754
20757
|
if (Xf == null)
|
|
@@ -20775,8 +20778,8 @@ Check the top-level render call using <` + lf + ">.");
|
|
|
20775
20778
|
function up(al, tf, lf) {
|
|
20776
20779
|
return ep(al, tf, lf, !1);
|
|
20777
20780
|
}
|
|
20778
|
-
var
|
|
20779
|
-
pe$1.Fragment = s, pe$1.jsx =
|
|
20781
|
+
var pp = up, mp = ap;
|
|
20782
|
+
pe$1.Fragment = s, pe$1.jsx = pp, pe$1.jsxs = mp;
|
|
20780
20783
|
}()), pe$1;
|
|
20781
20784
|
}
|
|
20782
20785
|
process.env.NODE_ENV === "production" ? Ae$1.exports = Ot$1() : Ae$1.exports = Gt$1();
|
|
@@ -28717,8 +28720,8 @@ Matrix4.getRotation = function(t, n) {
|
|
|
28717
28720
|
};
|
|
28718
28721
|
Matrix4.multiply = function(t, n, o) {
|
|
28719
28722
|
Check.typeOf.object("left", t), Check.typeOf.object("right", n), Check.typeOf.object("result", o);
|
|
28720
|
-
const s = t[0], c = t[1], d = t[2], h = t[3], p = t[4], y = t[5], S = t[6], P = t[7], L = t[8], F = t[9], N = t[10], z = t[11], W = t[12], nt = t[13], Pe = t[14], se = t[15], mt = n[0], kt = n[1], mn = n[2], pi = n[3], zi = n[4], Sa = n[5], fa = n[6], La = n[7], Ra = n[8], ma = n[9], yt = n[10], lt = n[11], _i = n[12], ba = n[13], Sc = n[14], ms = n[15], Xs = s * mt + p * kt + L * mn + W * pi, yu = c * mt + y * kt + F * mn + nt * pi, pu = d * mt + S * kt + N * mn + Pe * pi, Nl = h * mt + P * kt + z * mn + se * pi, Ru = s * zi + p * Sa + L * fa + W * La, Vd = c * zi + y * Sa + F * fa + nt * La, Gd = d * zi + S * Sa + N * fa + Pe * La, cf = h * zi + P * Sa + z * fa + se * La, uf = s * Ra + p * ma + L * yt + W * lt, gf = c * Ra + y * ma + F * yt + nt * lt, hf = d * Ra + S * ma + N * yt + Pe * lt, mf = h * Ra + P * ma + z * yt + se * lt, xf = s * _i + p * ba + L * Sc + W * ms, Vf = c * _i + y * ba + F * Sc + nt * ms,
|
|
28721
|
-
return o[0] = Xs, o[1] = yu, o[2] = pu, o[3] = Nl, o[4] = Ru, o[5] = Vd, o[6] = Gd, o[7] = cf, o[8] = uf, o[9] = gf, o[10] = hf, o[11] = mf, o[12] = xf, o[13] = Vf, o[14] =
|
|
28723
|
+
const s = t[0], c = t[1], d = t[2], h = t[3], p = t[4], y = t[5], S = t[6], P = t[7], L = t[8], F = t[9], N = t[10], z = t[11], W = t[12], nt = t[13], Pe = t[14], se = t[15], mt = n[0], kt = n[1], mn = n[2], pi = n[3], zi = n[4], Sa = n[5], fa = n[6], La = n[7], Ra = n[8], ma = n[9], yt = n[10], lt = n[11], _i = n[12], ba = n[13], Sc = n[14], ms = n[15], Xs = s * mt + p * kt + L * mn + W * pi, yu = c * mt + y * kt + F * mn + nt * pi, pu = d * mt + S * kt + N * mn + Pe * pi, Nl = h * mt + P * kt + z * mn + se * pi, Ru = s * zi + p * Sa + L * fa + W * La, Vd = c * zi + y * Sa + F * fa + nt * La, Gd = d * zi + S * Sa + N * fa + Pe * La, cf = h * zi + P * Sa + z * fa + se * La, uf = s * Ra + p * ma + L * yt + W * lt, gf = c * Ra + y * ma + F * yt + nt * lt, hf = d * Ra + S * ma + N * yt + Pe * lt, mf = h * Ra + P * ma + z * yt + se * lt, xf = s * _i + p * ba + L * Sc + W * ms, Vf = c * _i + y * ba + F * Sc + nt * ms, Rf = d * _i + S * ba + N * Sc + Pe * ms, Wa = h * _i + P * ba + z * Sc + se * ms;
|
|
28724
|
+
return o[0] = Xs, o[1] = yu, o[2] = pu, o[3] = Nl, o[4] = Ru, o[5] = Vd, o[6] = Gd, o[7] = cf, o[8] = uf, o[9] = gf, o[10] = hf, o[11] = mf, o[12] = xf, o[13] = Vf, o[14] = Rf, o[15] = Wa, o;
|
|
28722
28725
|
};
|
|
28723
28726
|
Matrix4.add = function(t, n, o) {
|
|
28724
28727
|
return Check.typeOf.object("left", t), Check.typeOf.object("right", n), Check.typeOf.object("result", o), o[0] = t[0] + n[0], o[1] = t[1] + n[1], o[2] = t[2] + n[2], o[3] = t[3] + n[3], o[4] = t[4] + n[4], o[5] = t[5] + n[5], o[6] = t[6] + n[6], o[7] = t[7] + n[7], o[8] = t[8] + n[8], o[9] = t[9] + n[9], o[10] = t[10] + n[10], o[11] = t[11] + n[11], o[12] = t[12] + n[12], o[13] = t[13] + n[13], o[14] = t[14] + n[14], o[15] = t[15] + n[15], o;
|
|
@@ -29534,24 +29537,24 @@ function requirePunycode() {
|
|
|
29534
29537
|
return mn(Ru + (kt + 1) * yu / (yu + L));
|
|
29535
29538
|
}
|
|
29536
29539
|
function ba(yu) {
|
|
29537
|
-
var pu = [], Nl = yu.length, Ru, Vd = 0, Gd = z, cf = N, uf, gf, hf, mf, xf, Vf,
|
|
29540
|
+
var pu = [], Nl = yu.length, Ru, Vd = 0, Gd = z, cf = N, uf, gf, hf, mf, xf, Vf, Rf, Wa, af;
|
|
29538
29541
|
for (uf = yu.lastIndexOf(W), uf < 0 && (uf = 0), gf = 0; gf < uf; ++gf)
|
|
29539
29542
|
yu.charCodeAt(gf) >= 128 && Sa("not-basic"), pu.push(yu.charCodeAt(gf));
|
|
29540
29543
|
for (hf = uf > 0 ? uf + 1 : 0; hf < Nl; ) {
|
|
29541
|
-
for (mf = Vd, xf = 1, Vf = y; hf >= Nl && Sa("invalid-input"),
|
|
29544
|
+
for (mf = Vd, xf = 1, Vf = y; hf >= Nl && Sa("invalid-input"), Rf = yt(yu.charCodeAt(hf++)), (Rf >= y || Rf > mn((p - Vd) / xf)) && Sa("overflow"), Vd += Rf * xf, Wa = Vf <= cf ? S : Vf >= cf + P ? P : Vf - cf, !(Rf < Wa); Vf += y)
|
|
29542
29545
|
af = y - Wa, xf > mn(p / af) && Sa("overflow"), xf *= af;
|
|
29543
29546
|
Ru = pu.length + 1, cf = _i(Vd - mf, Ru, mf == 0), mn(Vd / Ru) > p - Gd && Sa("overflow"), Gd += mn(Vd / Ru), Vd %= Ru, pu.splice(Vd++, 0, Gd);
|
|
29544
29547
|
}
|
|
29545
29548
|
return ma(pu);
|
|
29546
29549
|
}
|
|
29547
29550
|
function Sc(yu) {
|
|
29548
|
-
var pu, Nl, Ru, Vd, Gd, cf, uf, gf, hf, mf, xf, Vf = [],
|
|
29549
|
-
for (yu = Ra(yu),
|
|
29551
|
+
var pu, Nl, Ru, Vd, Gd, cf, uf, gf, hf, mf, xf, Vf = [], Rf, Wa, af, Xd;
|
|
29552
|
+
for (yu = Ra(yu), Rf = yu.length, pu = z, Nl = 0, Gd = N, cf = 0; cf < Rf; ++cf)
|
|
29550
29553
|
xf = yu[cf], xf < 128 && Vf.push(pi(xf));
|
|
29551
|
-
for (Ru = Vd = Vf.length, Vd && Vf.push(W); Ru <
|
|
29552
|
-
for (uf = p, cf = 0; cf <
|
|
29554
|
+
for (Ru = Vd = Vf.length, Vd && Vf.push(W); Ru < Rf; ) {
|
|
29555
|
+
for (uf = p, cf = 0; cf < Rf; ++cf)
|
|
29553
29556
|
xf = yu[cf], xf >= pu && xf < uf && (uf = xf);
|
|
29554
|
-
for (Wa = Ru + 1, uf - pu > mn((p - Nl) / Wa) && Sa("overflow"), Nl += (uf - pu) * Wa, pu = uf, cf = 0; cf <
|
|
29557
|
+
for (Wa = Ru + 1, uf - pu > mn((p - Nl) / Wa) && Sa("overflow"), Nl += (uf - pu) * Wa, pu = uf, cf = 0; cf < Rf; ++cf)
|
|
29555
29558
|
if (xf = yu[cf], xf < pu && ++Nl > p && Sa("overflow"), xf == pu) {
|
|
29556
29559
|
for (gf = Nl, hf = y; mf = hf <= Gd ? S : hf >= Gd + P ? P : hf - Gd, !(gf < mf); hf += y)
|
|
29557
29560
|
Xd = gf - mf, af = y - mf, Vf.push(
|
|
@@ -41293,19 +41296,19 @@ function generateGeometryAttributes(t, n, o, s, c, d, h) {
|
|
|
41293
41296
|
segmentEndNormalScratch
|
|
41294
41297
|
);
|
|
41295
41298
|
if (t) {
|
|
41296
|
-
const
|
|
41299
|
+
const Rf = Cartesian3.unpack(
|
|
41297
41300
|
o,
|
|
41298
41301
|
o.length - 6,
|
|
41299
41302
|
segmentStartBottomScratch
|
|
41300
41303
|
);
|
|
41301
|
-
breakMiter(Gd,
|
|
41304
|
+
breakMiter(Gd, Rf, Ru, Vd) && (Gd = Cartesian3.negate(
|
|
41302
41305
|
Gd,
|
|
41303
41306
|
Gd
|
|
41304
41307
|
));
|
|
41305
41308
|
}
|
|
41306
41309
|
let cf = 0, uf = 0, gf = 0;
|
|
41307
41310
|
for (p = 0; p < P; p++) {
|
|
41308
|
-
const
|
|
41311
|
+
const Rf = Cartesian3.clone(Ru, segmentStartBottomScratch), Wa = Cartesian3.clone(Vd, segmentStartTopScratch);
|
|
41309
41312
|
let af = Cartesian3.clone(
|
|
41310
41313
|
Gd,
|
|
41311
41314
|
segmentStartNormalScratch
|
|
@@ -41321,7 +41324,7 @@ function generateGeometryAttributes(t, n, o, s, c, d, h) {
|
|
|
41321
41324
|
c,
|
|
41322
41325
|
y,
|
|
41323
41326
|
segmentEndNormalScratch
|
|
41324
|
-
), Nl = breakMiter(Gd,
|
|
41327
|
+
), Nl = breakMiter(Gd, Rf, Ru, Vd), Ra.latitude = d[ms], Ra.longitude = d[ms + 1], ma.latitude = d[ms + 2], ma.longitude = d[ms + 3];
|
|
41325
41328
|
let Xd, gd, pd, Zd;
|
|
41326
41329
|
if (h) {
|
|
41327
41330
|
const rf = nudgeCartographic(Ra, ma);
|
|
@@ -41358,14 +41361,14 @@ function generateGeometryAttributes(t, n, o, s, c, d, h) {
|
|
|
41358
41361
|
), Zd.z = 0);
|
|
41359
41362
|
}
|
|
41360
41363
|
const sf = Cartesian3.distance(Wa, Vd), of = EncodedCartesian3.fromCartesian(
|
|
41361
|
-
|
|
41364
|
+
Rf,
|
|
41362
41365
|
encodeScratch$1
|
|
41363
41366
|
), nf = Cartesian3.subtract(
|
|
41364
41367
|
Ru,
|
|
41365
|
-
|
|
41368
|
+
Rf,
|
|
41366
41369
|
offsetScratch$1
|
|
41367
41370
|
), df = Cartesian3.normalize(nf, rightScratch);
|
|
41368
|
-
let Cf = Cartesian3.subtract(Wa,
|
|
41371
|
+
let Cf = Cartesian3.subtract(Wa, Rf, startUpScratch);
|
|
41369
41372
|
Cf = Cartesian3.normalize(Cf, Cf);
|
|
41370
41373
|
let ff = Cartesian3.cross(df, Cf, rightScratch);
|
|
41371
41374
|
ff = Cartesian3.normalize(ff, ff);
|
|
@@ -41375,11 +41378,11 @@ function generateGeometryAttributes(t, n, o, s, c, d, h) {
|
|
|
41375
41378
|
startPlaneNormalScratch
|
|
41376
41379
|
);
|
|
41377
41380
|
Sf = Cartesian3.normalize(Sf, Sf);
|
|
41378
|
-
let
|
|
41379
|
-
|
|
41381
|
+
let wf = Cartesian3.subtract(Vd, Ru, endUpScratch);
|
|
41382
|
+
wf = Cartesian3.normalize(wf, wf);
|
|
41380
41383
|
let Ff = Cartesian3.cross(
|
|
41381
41384
|
Gd,
|
|
41382
|
-
|
|
41385
|
+
wf,
|
|
41383
41386
|
endPlaneNormalScratch
|
|
41384
41387
|
);
|
|
41385
41388
|
Ff = Cartesian3.normalize(Ff, Ff);
|
|
@@ -41423,7 +41426,7 @@ function generateGeometryAttributes(t, n, o, s, c, d, h) {
|
|
|
41423
41426
|
S
|
|
41424
41427
|
), ip = qf.minimumTerrainHeight, rp = qf.maximumTerrainHeight;
|
|
41425
41428
|
gf += Math.abs(ip), gf += Math.abs(rp), adjustHeights(
|
|
41426
|
-
|
|
41429
|
+
Rf,
|
|
41427
41430
|
Wa,
|
|
41428
41431
|
ip,
|
|
41429
41432
|
rp,
|
|
@@ -65289,7 +65292,7 @@ function simplepolygon(t) {
|
|
|
65289
65292
|
);
|
|
65290
65293
|
var c = o.length, d = isects(
|
|
65291
65294
|
t,
|
|
65292
|
-
function(Vd, Gd, cf, uf, gf, hf, mf, xf, Vf,
|
|
65295
|
+
function(Vd, Gd, cf, uf, gf, hf, mf, xf, Vf, Rf, Wa, af) {
|
|
65293
65296
|
return [
|
|
65294
65297
|
Vd,
|
|
65295
65298
|
Gd,
|
|
@@ -65300,7 +65303,7 @@ function simplepolygon(t) {
|
|
|
65300
65303
|
mf,
|
|
65301
65304
|
xf,
|
|
65302
65305
|
Vf,
|
|
65303
|
-
|
|
65306
|
+
Rf,
|
|
65304
65307
|
Wa,
|
|
65305
65308
|
af
|
|
65306
65309
|
];
|
|
@@ -65988,7 +65991,7 @@ const Xp = class Xp {
|
|
|
65988
65991
|
Hp = new WeakMap(), // private constructor
|
|
65989
65992
|
Kf(Xp, Hp, !1);
|
|
65990
65993
|
let Stack = Xp;
|
|
65991
|
-
var wp, _p, Vp, Rp, $p,
|
|
65994
|
+
var wp, _p, Vp, Rp, $p, hp, Mp, fp, sp, $f, xp, Ep, Cp, gp, Pp, yp, Ap, Gp, Ip, Lp, zp, Sp, Qp, tg, Up, Dp, qp, Tp, qm, sg, Wp, Yp, _m, Op, Np, Fp, kp, Om, ng, jp, $m, Kp, jm, op, cp, Am, ig, Zp, Jp;
|
|
65992
65995
|
const rg = class rg {
|
|
65993
65996
|
constructor(n) {
|
|
65994
65997
|
Kf(this, Qp);
|
|
@@ -66070,15 +66073,15 @@ const rg = class rg {
|
|
|
66070
66073
|
*/
|
|
66071
66074
|
Ef(this, "ignoreFetchAbort");
|
|
66072
66075
|
// computed properties
|
|
66073
|
-
Kf(this, dp, void 0);
|
|
66074
|
-
Kf(this, Mp, void 0);
|
|
66075
66076
|
Kf(this, hp, void 0);
|
|
66077
|
+
Kf(this, Mp, void 0);
|
|
66078
|
+
Kf(this, fp, void 0);
|
|
66076
66079
|
Kf(this, sp, void 0);
|
|
66077
66080
|
Kf(this, $f, void 0);
|
|
66078
66081
|
Kf(this, xp, void 0);
|
|
66079
66082
|
Kf(this, Ep, void 0);
|
|
66080
66083
|
Kf(this, Cp, void 0);
|
|
66081
|
-
Kf(this,
|
|
66084
|
+
Kf(this, gp, void 0);
|
|
66082
66085
|
Kf(this, Pp, void 0);
|
|
66083
66086
|
Kf(this, yp, void 0);
|
|
66084
66087
|
Kf(this, Ap, void 0);
|
|
@@ -66119,7 +66122,7 @@ const rg = class rg {
|
|
|
66119
66122
|
}
|
|
66120
66123
|
if (nt !== void 0 && typeof nt != "function")
|
|
66121
66124
|
throw new TypeError("fetchMethod must be a function if specified");
|
|
66122
|
-
if (zf(this, $p, nt), zf(this, zp, !!nt), zf(this,
|
|
66125
|
+
if (zf(this, $p, nt), zf(this, zp, !!nt), zf(this, fp, /* @__PURE__ */ new Map()), zf(this, sp, new Array(o).fill(void 0)), zf(this, $f, new Array(o).fill(void 0)), zf(this, xp, new pi(o)), zf(this, Ep, new pi(o)), zf(this, Cp, 0), zf(this, gp, 0), zf(this, Pp, Stack.create(o)), zf(this, hp, 0), zf(this, Mp, 0), typeof S == "function" && zf(this, Vp, S), typeof P == "function" ? (zf(this, Rp, P), zf(this, yp, [])) : (zf(this, Rp, void 0), zf(this, yp, void 0)), zf(this, Lp, !!ef(this, Vp)), zf(this, Sp, !!ef(this, Rp)), this.noDisposeOnSet = !!L, this.noUpdateTTL = !!F, this.noDeleteOnFetchRejection = !!Pe, this.allowStaleOnFetchRejection = !!mt, this.allowStaleOnFetchAbort = !!kt, this.ignoreFetchAbort = !!mn, this.maxEntrySize !== 0) {
|
|
66123
66126
|
if (ef(this, _p) !== 0 && !isPosInt(ef(this, _p)))
|
|
66124
66127
|
throw new TypeError("maxSize must be a positive integer if specified");
|
|
66125
66128
|
if (!isPosInt(this.maxEntrySize))
|
|
@@ -66153,7 +66156,7 @@ const rg = class rg {
|
|
|
66153
66156
|
starts: ef(n, Gp),
|
|
66154
66157
|
ttls: ef(n, Ip),
|
|
66155
66158
|
sizes: ef(n, Ap),
|
|
66156
|
-
keyMap: ef(n,
|
|
66159
|
+
keyMap: ef(n, fp),
|
|
66157
66160
|
keyList: ef(n, sp),
|
|
66158
66161
|
valList: ef(n, $f),
|
|
66159
66162
|
next: ef(n, xp),
|
|
@@ -66162,7 +66165,7 @@ const rg = class rg {
|
|
|
66162
66165
|
return ef(n, Cp);
|
|
66163
66166
|
},
|
|
66164
66167
|
get tail() {
|
|
66165
|
-
return ef(n,
|
|
66168
|
+
return ef(n, gp);
|
|
66166
66169
|
},
|
|
66167
66170
|
free: ef(n, Pp),
|
|
66168
66171
|
// methods
|
|
@@ -66215,7 +66218,7 @@ const rg = class rg {
|
|
|
66215
66218
|
* The number of items stored in the cache (read-only)
|
|
66216
66219
|
*/
|
|
66217
66220
|
get size() {
|
|
66218
|
-
return ef(this,
|
|
66221
|
+
return ef(this, hp);
|
|
66219
66222
|
}
|
|
66220
66223
|
/**
|
|
66221
66224
|
* {@link LRUCache.OptionsBase.fetchMethod} (read-only)
|
|
@@ -66239,7 +66242,7 @@ const rg = class rg {
|
|
|
66239
66242
|
* Return the remaining TTL time for a given entry key
|
|
66240
66243
|
*/
|
|
66241
66244
|
getRemainingTTL(n) {
|
|
66242
|
-
return ef(this,
|
|
66245
|
+
return ef(this, fp).has(n) ? 1 / 0 : 0;
|
|
66243
66246
|
}
|
|
66244
66247
|
/**
|
|
66245
66248
|
* Return a generator yielding `[key, value]` pairs,
|
|
@@ -66394,9 +66397,9 @@ const rg = class rg {
|
|
|
66394
66397
|
const P = ef(this, _m).call(this, n, o, s.size || 0, p);
|
|
66395
66398
|
if (this.maxEntrySize && P > this.maxEntrySize)
|
|
66396
66399
|
return y && (y.set = "miss", y.maxEntrySizeExceeded = !0), this.delete(n), this;
|
|
66397
|
-
let L = ef(this,
|
|
66400
|
+
let L = ef(this, hp) === 0 ? void 0 : ef(this, fp).get(n);
|
|
66398
66401
|
if (L === void 0)
|
|
66399
|
-
L = ef(this,
|
|
66402
|
+
L = ef(this, hp) === 0 ? ef(this, gp) : ef(this, Pp).length !== 0 ? ef(this, Pp).pop() : ef(this, hp) === ef(this, wp) ? Nf(this, jp, $m).call(this, !1) : ef(this, hp), ef(this, sp)[L] = n, ef(this, $f)[L] = o, ef(this, fp).set(n, L), ef(this, xp)[ef(this, gp)] = L, ef(this, Ep)[L] = ef(this, gp), zf(this, gp, L), Dm(this, hp)._++, ef(this, Yp).call(this, L, P, y), y && (y.set = "add"), S = !1;
|
|
66400
66403
|
else {
|
|
66401
66404
|
Nf(this, Zp, Jp).call(this, L);
|
|
66402
66405
|
const W = ef(this, $f)[L];
|
|
@@ -66424,7 +66427,7 @@ const rg = class rg {
|
|
|
66424
66427
|
pop() {
|
|
66425
66428
|
var n;
|
|
66426
66429
|
try {
|
|
66427
|
-
for (; ef(this,
|
|
66430
|
+
for (; ef(this, hp); ) {
|
|
66428
66431
|
const o = ef(this, $f)[ef(this, Cp)];
|
|
66429
66432
|
if (Nf(this, jp, $m).call(this, !0), Nf(this, op, cp).call(this, o)) {
|
|
66430
66433
|
if (o.__staleWhileFetching)
|
|
@@ -66450,7 +66453,7 @@ const rg = class rg {
|
|
|
66450
66453
|
* {@link LRUCache.OptionsBase.updateAgeOnHas} is set.
|
|
66451
66454
|
*/
|
|
66452
66455
|
has(n, o = {}) {
|
|
66453
|
-
const { updateAgeOnHas: s = this.updateAgeOnHas, status: c } = o, d = ef(this,
|
|
66456
|
+
const { updateAgeOnHas: s = this.updateAgeOnHas, status: c } = o, d = ef(this, fp).get(n);
|
|
66454
66457
|
if (d !== void 0) {
|
|
66455
66458
|
const h = ef(this, $f)[d];
|
|
66456
66459
|
if (Nf(this, op, cp).call(this, h) && h.__staleWhileFetching === void 0)
|
|
@@ -66471,7 +66474,7 @@ const rg = class rg {
|
|
|
66471
66474
|
* {@link LRUCache.OptionsBase.allowStale} is set.
|
|
66472
66475
|
*/
|
|
66473
66476
|
peek(n, o = {}) {
|
|
66474
|
-
const { allowStale: s = this.allowStale } = o, c = ef(this,
|
|
66477
|
+
const { allowStale: s = this.allowStale } = o, c = ef(this, fp).get(n);
|
|
66475
66478
|
if (c !== void 0 && (s || !ef(this, Tp).call(this, c))) {
|
|
66476
66479
|
const d = ef(this, $f)[c];
|
|
66477
66480
|
return Nf(this, op, cp).call(this, d) ? d.__staleWhileFetching : d;
|
|
@@ -66522,7 +66525,7 @@ const rg = class rg {
|
|
|
66522
66525
|
status: Pe,
|
|
66523
66526
|
signal: se
|
|
66524
66527
|
};
|
|
66525
|
-
let kt = ef(this,
|
|
66528
|
+
let kt = ef(this, fp).get(n);
|
|
66526
66529
|
if (kt === void 0) {
|
|
66527
66530
|
Pe && (Pe.fetch = "miss");
|
|
66528
66531
|
const mn = Nf(this, Kp, jm).call(this, n, kt, mt, W);
|
|
@@ -66547,7 +66550,7 @@ const rg = class rg {
|
|
|
66547
66550
|
* If the key is not found, get() will return `undefined`.
|
|
66548
66551
|
*/
|
|
66549
66552
|
get(n, o = {}) {
|
|
66550
|
-
const { allowStale: s = this.allowStale, updateAgeOnGet: c = this.updateAgeOnGet, noDeleteOnStaleGet: d = this.noDeleteOnStaleGet, status: h } = o, p = ef(this,
|
|
66553
|
+
const { allowStale: s = this.allowStale, updateAgeOnGet: c = this.updateAgeOnGet, noDeleteOnStaleGet: d = this.noDeleteOnStaleGet, status: h } = o, p = ef(this, fp).get(n);
|
|
66551
66554
|
if (p !== void 0) {
|
|
66552
66555
|
const y = ef(this, $f)[p], S = Nf(this, op, cp).call(this, y);
|
|
66553
66556
|
return h && ef(this, Dp).call(this, h, p), ef(this, Tp).call(this, p) ? (h && (h.get = "stale"), S ? (h && s && y.__staleWhileFetching !== void 0 && (h.returnedStale = !0), s ? y.__staleWhileFetching : void 0) : (d || this.delete(n), h && s && (h.returnedStale = !0), s ? y : void 0)) : (h && (h.get = "hit"), S ? y.__staleWhileFetching : (Nf(this, Zp, Jp).call(this, p), c && ef(this, Up).call(this, p), y));
|
|
@@ -66561,15 +66564,15 @@ const rg = class rg {
|
|
|
66561
66564
|
delete(n) {
|
|
66562
66565
|
var s, c, d, h;
|
|
66563
66566
|
let o = !1;
|
|
66564
|
-
if (ef(this,
|
|
66565
|
-
const p = ef(this,
|
|
66567
|
+
if (ef(this, hp) !== 0) {
|
|
66568
|
+
const p = ef(this, fp).get(n);
|
|
66566
66569
|
if (p !== void 0)
|
|
66567
|
-
if (o = !0, ef(this,
|
|
66570
|
+
if (o = !0, ef(this, hp) === 1)
|
|
66568
66571
|
this.clear();
|
|
66569
66572
|
else {
|
|
66570
66573
|
ef(this, Wp).call(this, p);
|
|
66571
66574
|
const y = ef(this, $f)[p];
|
|
66572
|
-
Nf(this, op, cp).call(this, y) ? y.__abortController.abort(new Error("deleted")) : (ef(this, Lp) || ef(this, Sp)) && (ef(this, Lp) && ((s = ef(this, Vp)) == null || s.call(this, y, n, "delete")), ef(this, Sp) && ((c = ef(this, yp)) == null || c.push([y, n, "delete"]))), ef(this,
|
|
66575
|
+
Nf(this, op, cp).call(this, y) ? y.__abortController.abort(new Error("deleted")) : (ef(this, Lp) || ef(this, Sp)) && (ef(this, Lp) && ((s = ef(this, Vp)) == null || s.call(this, y, n, "delete")), ef(this, Sp) && ((c = ef(this, yp)) == null || c.push([y, n, "delete"]))), ef(this, fp).delete(n), ef(this, sp)[p] = void 0, ef(this, $f)[p] = void 0, p === ef(this, gp) ? zf(this, gp, ef(this, Ep)[p]) : p === ef(this, Cp) ? zf(this, Cp, ef(this, xp)[p]) : (ef(this, xp)[ef(this, Ep)[p]] = ef(this, xp)[p], ef(this, Ep)[ef(this, xp)[p]] = ef(this, Ep)[p]), Dm(this, hp)._--, ef(this, Pp).push(p);
|
|
66573
66576
|
}
|
|
66574
66577
|
}
|
|
66575
66578
|
if (ef(this, Sp) && ((d = ef(this, yp)) != null && d.length)) {
|
|
@@ -66594,7 +66597,7 @@ const rg = class rg {
|
|
|
66594
66597
|
ef(this, Lp) && ((n = ef(this, Vp)) == null || n.call(this, d, h, "delete")), ef(this, Sp) && ((o = ef(this, yp)) == null || o.push([d, h, "delete"]));
|
|
66595
66598
|
}
|
|
66596
66599
|
}
|
|
66597
|
-
if (ef(this,
|
|
66600
|
+
if (ef(this, fp).clear(), ef(this, $f).fill(void 0), ef(this, sp).fill(void 0), ef(this, Ip) && ef(this, Gp) && (ef(this, Ip).fill(0), ef(this, Gp).fill(0)), ef(this, Ap) && ef(this, Ap).fill(0), zf(this, Cp, 0), zf(this, gp, 0), ef(this, Pp).length = 0, zf(this, Mp, 0), zf(this, hp, 0), ef(this, Sp) && ef(this, yp)) {
|
|
66598
66601
|
const c = ef(this, yp);
|
|
66599
66602
|
let d;
|
|
66600
66603
|
for (; d = c == null ? void 0 : c.shift(); )
|
|
@@ -66602,7 +66605,7 @@ const rg = class rg {
|
|
|
66602
66605
|
}
|
|
66603
66606
|
}
|
|
66604
66607
|
};
|
|
66605
|
-
wp = new WeakMap(), _p = new WeakMap(), Vp = new WeakMap(), Rp = new WeakMap(), $p = new WeakMap(),
|
|
66608
|
+
wp = new WeakMap(), _p = new WeakMap(), Vp = new WeakMap(), Rp = new WeakMap(), $p = new WeakMap(), hp = new WeakMap(), Mp = new WeakMap(), fp = new WeakMap(), sp = new WeakMap(), $f = new WeakMap(), xp = new WeakMap(), Ep = new WeakMap(), Cp = new WeakMap(), gp = new WeakMap(), Pp = new WeakMap(), yp = new WeakMap(), Ap = new WeakMap(), Gp = new WeakMap(), Ip = new WeakMap(), Lp = new WeakMap(), zp = new WeakMap(), Sp = new WeakMap(), Qp = new WeakSet(), tg = function() {
|
|
66606
66609
|
const n = new ZeroArray(ef(this, wp)), o = new ZeroArray(ef(this, wp));
|
|
66607
66610
|
zf(this, Ip, n), zf(this, Gp, o), zf(this, qp, (d, h, p = perf.now()) => {
|
|
66608
66611
|
if (o[d] = h !== 0 ? p : 0, n[d] = h, h !== 0 && this.ttlAutopurge) {
|
|
@@ -66630,7 +66633,7 @@ wp = new WeakMap(), _p = new WeakMap(), Vp = new WeakMap(), Rp = new WeakMap(),
|
|
|
66630
66633
|
return d;
|
|
66631
66634
|
};
|
|
66632
66635
|
this.getRemainingTTL = (d) => {
|
|
66633
|
-
const h = ef(this,
|
|
66636
|
+
const h = ef(this, fp).get(d);
|
|
66634
66637
|
return h === void 0 ? 0 : n[h] === 0 || o[h] === 0 ? 1 / 0 : o[h] + n[h] - (s || c());
|
|
66635
66638
|
}, zf(this, Tp, (d) => n[d] !== 0 && o[d] !== 0 && (s || c()) - o[d] > n[d]);
|
|
66636
66639
|
}, Up = new WeakMap(), Dp = new WeakMap(), qp = new WeakMap(), Tp = new WeakMap(), qm = new WeakSet(), sg = function() {
|
|
@@ -66658,19 +66661,19 @@ wp = new WeakMap(), _p = new WeakMap(), Vp = new WeakMap(), Rp = new WeakMap(),
|
|
|
66658
66661
|
zf(this, Mp, ef(this, Mp) + n[o]), c && (c.entrySize = s, c.totalCalculatedSize = ef(this, Mp));
|
|
66659
66662
|
});
|
|
66660
66663
|
}, Wp = new WeakMap(), Yp = new WeakMap(), _m = new WeakMap(), Op = new WeakSet(), Np = function* ({ allowStale: n = this.allowStale } = {}) {
|
|
66661
|
-
if (ef(this,
|
|
66662
|
-
for (let o = ef(this,
|
|
66664
|
+
if (ef(this, hp))
|
|
66665
|
+
for (let o = ef(this, gp); !(!Nf(this, Om, ng).call(this, o) || ((n || !ef(this, Tp).call(this, o)) && (yield o), o === ef(this, Cp))); )
|
|
66663
66666
|
o = ef(this, Ep)[o];
|
|
66664
66667
|
}, Fp = new WeakSet(), kp = function* ({ allowStale: n = this.allowStale } = {}) {
|
|
66665
|
-
if (ef(this,
|
|
66666
|
-
for (let o = ef(this, Cp); !(!Nf(this, Om, ng).call(this, o) || ((n || !ef(this, Tp).call(this, o)) && (yield o), o === ef(this,
|
|
66668
|
+
if (ef(this, hp))
|
|
66669
|
+
for (let o = ef(this, Cp); !(!Nf(this, Om, ng).call(this, o) || ((n || !ef(this, Tp).call(this, o)) && (yield o), o === ef(this, gp))); )
|
|
66667
66670
|
o = ef(this, xp)[o];
|
|
66668
66671
|
}, Om = new WeakSet(), ng = function(n) {
|
|
66669
|
-
return n !== void 0 && ef(this,
|
|
66672
|
+
return n !== void 0 && ef(this, fp).get(ef(this, sp)[n]) === n;
|
|
66670
66673
|
}, jp = new WeakSet(), $m = function(n) {
|
|
66671
66674
|
var d, h;
|
|
66672
66675
|
const o = ef(this, Cp), s = ef(this, sp)[o], c = ef(this, $f)[o];
|
|
66673
|
-
return ef(this, zp) && Nf(this, op, cp).call(this, c) ? c.__abortController.abort(new Error("evicted")) : (ef(this, Lp) || ef(this, Sp)) && (ef(this, Lp) && ((d = ef(this, Vp)) == null || d.call(this, c, s, "evict")), ef(this, Sp) && ((h = ef(this, yp)) == null || h.push([c, s, "evict"]))), ef(this, Wp).call(this, o), n && (ef(this, sp)[o] = void 0, ef(this, $f)[o] = void 0, ef(this, Pp).push(o)), ef(this,
|
|
66676
|
+
return ef(this, zp) && Nf(this, op, cp).call(this, c) ? c.__abortController.abort(new Error("evicted")) : (ef(this, Lp) || ef(this, Sp)) && (ef(this, Lp) && ((d = ef(this, Vp)) == null || d.call(this, c, s, "evict")), ef(this, Sp) && ((h = ef(this, yp)) == null || h.push([c, s, "evict"]))), ef(this, Wp).call(this, o), n && (ef(this, sp)[o] = void 0, ef(this, $f)[o] = void 0, ef(this, Pp).push(o)), ef(this, hp) === 1 ? (zf(this, Cp, zf(this, gp, 0)), ef(this, Pp).length = 0) : zf(this, Cp, ef(this, xp)[o]), ef(this, fp).delete(s), Dm(this, hp)._--, o;
|
|
66674
66677
|
}, Kp = new WeakSet(), jm = function(n, o, s, c) {
|
|
66675
66678
|
const d = o === void 0 ? void 0 : ef(this, $f)[o];
|
|
66676
66679
|
if (Nf(this, op, cp).call(this, d))
|
|
@@ -66708,7 +66711,7 @@ wp = new WeakMap(), _p = new WeakMap(), Vp = new WeakMap(), Rp = new WeakMap(),
|
|
|
66708
66711
|
__staleWhileFetching: d,
|
|
66709
66712
|
__returned: void 0
|
|
66710
66713
|
});
|
|
66711
|
-
return o === void 0 ? (this.set(n, z, { ...y.options, status: void 0 }), o = ef(this,
|
|
66714
|
+
return o === void 0 ? (this.set(n, z, { ...y.options, status: void 0 }), o = ef(this, fp).get(n)) : ef(this, $f)[o] = z, z;
|
|
66712
66715
|
}, op = new WeakSet(), cp = function(n) {
|
|
66713
66716
|
if (!ef(this, zp))
|
|
66714
66717
|
return !1;
|
|
@@ -66717,7 +66720,7 @@ wp = new WeakMap(), _p = new WeakMap(), Vp = new WeakMap(), Rp = new WeakMap(),
|
|
|
66717
66720
|
}, Am = new WeakSet(), ig = function(n, o) {
|
|
66718
66721
|
ef(this, Ep)[o] = n, ef(this, xp)[n] = o;
|
|
66719
66722
|
}, Zp = new WeakSet(), Jp = function(n) {
|
|
66720
|
-
n !== ef(this,
|
|
66723
|
+
n !== ef(this, gp) && (n === ef(this, Cp) ? zf(this, Cp, ef(this, xp)[n]) : Nf(this, Am, ig).call(this, ef(this, Ep)[n], ef(this, xp)[n]), Nf(this, Am, ig).call(this, ef(this, gp), n), zf(this, gp, n));
|
|
66721
66724
|
};
|
|
66722
66725
|
let LRUCache = rg;
|
|
66723
66726
|
const SIDE_PLANES = [
|
|
@@ -67463,14 +67466,14 @@ const useHooks$6 = ({
|
|
|
67463
67466
|
yt.current = new Cartesian2$1(hf.x, hf.y);
|
|
67464
67467
|
return;
|
|
67465
67468
|
}
|
|
67466
|
-
const mf = new Cartesian2$1(hf.x, hf.y), xf = Cartesian3$1.subtract(Vd, Gd, new Cartesian3$1()), Vf = Cartesian3$1.magnitude(xf),
|
|
67469
|
+
const mf = new Cartesian2$1(hf.x, hf.y), xf = Cartesian3$1.subtract(Vd, Gd, new Cartesian3$1()), Vf = Cartesian3$1.magnitude(xf), Rf = Cartesian3$1.normalize(xf, new Cartesian3$1()), { scaleAmount: Wa, pixelLengthAfterScaling: af } = computeMouseMoveAmount(
|
|
67467
67470
|
c.scene,
|
|
67468
67471
|
{
|
|
67469
67472
|
startPosition: yt.current,
|
|
67470
67473
|
endPosition: mf
|
|
67471
67474
|
},
|
|
67472
67475
|
Vd,
|
|
67473
|
-
|
|
67476
|
+
Rf,
|
|
67474
67477
|
Vf
|
|
67475
67478
|
);
|
|
67476
67479
|
yt.current = mf.clone();
|
|
@@ -67500,7 +67503,7 @@ const useHooks$6 = ({
|
|
|
67500
67503
|
).height - mn.scale.z / 2 - Math.abs(nf.z) < 0 && (of.z = 0);
|
|
67501
67504
|
const ff = new Cartesian3$1(), Sf = new Cartesian3$1();
|
|
67502
67505
|
Cartesian3$1.add(mn.scale, of, ff), Cartesian3$1.add(mn.translation, nf, Sf);
|
|
67503
|
-
const
|
|
67506
|
+
const wf = c == null ? void 0 : c.scene.globe.ellipsoid.cartesianToCartographic(
|
|
67504
67507
|
Sf
|
|
67505
67508
|
);
|
|
67506
67509
|
s == null || s({
|
|
@@ -67510,9 +67513,9 @@ const useHooks$6 = ({
|
|
|
67510
67513
|
length: ff.y,
|
|
67511
67514
|
height: ff.z,
|
|
67512
67515
|
location: {
|
|
67513
|
-
lat: Math$1.toDegrees(
|
|
67514
|
-
lng: Math$1.toDegrees(
|
|
67515
|
-
height:
|
|
67516
|
+
lat: Math$1.toDegrees(wf == null ? void 0 : wf.latitude),
|
|
67517
|
+
lng: Math$1.toDegrees(wf == null ? void 0 : wf.longitude),
|
|
67518
|
+
height: wf == null ? void 0 : wf.height
|
|
67516
67519
|
}
|
|
67517
67520
|
}
|
|
67518
67521
|
}), (Ff = d == null ? void 0 : d.onLayerEdit) == null || Ff.call(d, {
|
|
@@ -67522,9 +67525,9 @@ const useHooks$6 = ({
|
|
|
67522
67525
|
length: ff.y,
|
|
67523
67526
|
height: ff.z,
|
|
67524
67527
|
location: {
|
|
67525
|
-
lat: Math$1.toDegrees(
|
|
67526
|
-
lng: Math$1.toDegrees(
|
|
67527
|
-
height:
|
|
67528
|
+
lat: Math$1.toDegrees(wf == null ? void 0 : wf.latitude),
|
|
67529
|
+
lng: Math$1.toDegrees(wf == null ? void 0 : wf.longitude),
|
|
67530
|
+
height: wf == null ? void 0 : wf.height
|
|
67528
67531
|
}
|
|
67529
67532
|
}
|
|
67530
67533
|
});
|
|
@@ -67553,20 +67556,20 @@ const useHooks$6 = ({
|
|
|
67553
67556
|
hf.heading = -uf * gf, hf.pitch = 0, hf.roll = 0;
|
|
67554
67557
|
const mf = new Quaternion$1();
|
|
67555
67558
|
Quaternion$1.multiply(mn.rotation, Quaternion$1.fromHeadingPitchRoll(hf), mf);
|
|
67556
|
-
const { heading: xf, pitch: Vf, roll:
|
|
67559
|
+
const { heading: xf, pitch: Vf, roll: Rf } = HeadingPitchRoll$1.fromQuaternion(mf);
|
|
67557
67560
|
s == null || s({
|
|
67558
67561
|
layerId: Gd,
|
|
67559
67562
|
rotate: {
|
|
67560
67563
|
heading: xf,
|
|
67561
67564
|
pitch: Vf,
|
|
67562
|
-
roll:
|
|
67565
|
+
roll: Rf
|
|
67563
67566
|
}
|
|
67564
67567
|
}), (Wa = d == null ? void 0 : d.onLayerEdit) == null || Wa.call(d, {
|
|
67565
67568
|
layerId: Gd,
|
|
67566
67569
|
rotate: {
|
|
67567
67570
|
heading: xf,
|
|
67568
67571
|
pitch: Vf,
|
|
67569
|
-
roll:
|
|
67572
|
+
roll: Rf
|
|
67570
67573
|
}
|
|
67571
67574
|
});
|
|
67572
67575
|
},
|
|
@@ -71502,7 +71505,7 @@ function Marker({ property: t, id: n, isVisible: o, geometry: s, layer: c, featu
|
|
|
71502
71505
|
), gf = useMemo(() => h ? Cartesian3$1.fromDegrees(h[0], h[1], h[2]) : void 0, [h]), hf = useMemo(() => S && h && typeof h[2] == "number" ? [
|
|
71503
71506
|
Cartesian3$1.fromDegrees(h[0], h[1], h[2]),
|
|
71504
71507
|
Cartesian3$1.fromDegrees(h[0], h[1], 0)
|
|
71505
|
-
] : void 0, [h, S]), mf = !L || L === "image", [xf, Vf,
|
|
71508
|
+
] : void 0, [h, S]), mf = !L || L === "image", [xf, Vf, Rf] = useIcon({
|
|
71506
71509
|
image: mf ? zi : void 0,
|
|
71507
71510
|
imageSize: Sa,
|
|
71508
71511
|
crop: yt,
|
|
@@ -71520,12 +71523,12 @@ function Marker({ property: t, id: n, isVisible: o, geometry: s, layer: c, featu
|
|
|
71520
71523
|
), Xd = useMemo(() => {
|
|
71521
71524
|
if (Wa)
|
|
71522
71525
|
return Wa;
|
|
71523
|
-
const Jf = 15, Wf = (mf ? Vf : P) / 2 + Jf, tp = (mf ?
|
|
71526
|
+
const Jf = 15, Wf = (mf ? Vf : P) / 2 + Jf, tp = (mf ? Rf : P) / 2 + Jf;
|
|
71524
71527
|
return new Cartesian2$1(
|
|
71525
71528
|
se.includes("left") || se.includes("right") ? Wf * (se.includes("left") ? -1 : 1) : 0,
|
|
71526
71529
|
se.includes("top") || se.includes("bottom") ? tp * (se.includes("top") ? -1 : 1) : 0
|
|
71527
71530
|
);
|
|
71528
|
-
}, [mf, Vf, P,
|
|
71531
|
+
}, [mf, Vf, P, Rf, se, Wa]), gd = useMemo(() => Color$3.WHITE.withAlpha(0.4), []), pd = useRef(null), Zd = getTag((Hf = pd.current) == null ? void 0 : Hf.cesiumElement), sf = useMemo(
|
|
71529
71532
|
() => {
|
|
71530
71533
|
var Jf, Wf;
|
|
71531
71534
|
return toColor$1(
|
|
@@ -71548,7 +71551,7 @@ function Marker({ property: t, id: n, isVisible: o, geometry: s, layer: c, featu
|
|
|
71548
71551
|
// https://cesium.com/learn/cesiumjs/ref-doc/LabelGraphics.html?classFilter=labelgra#backgroundPadding
|
|
71549
71552
|
() => new Cartesian2$1(mn || 7, pi || 5),
|
|
71550
71553
|
[mn, pi]
|
|
71551
|
-
), Sf = useMemo(() => toTimeInterval(d == null ? void 0 : d.interval), [d == null ? void 0 : d.interval]),
|
|
71554
|
+
), Sf = useMemo(() => toTimeInterval(d == null ? void 0 : d.interval), [d == null ? void 0 : d.interval]), wf = useMemo(
|
|
71552
71555
|
() => toDistanceDisplayCondition(t == null ? void 0 : t.near, t == null ? void 0 : t.far),
|
|
71553
71556
|
[t == null ? void 0 : t.near, t == null ? void 0 : t.far]
|
|
71554
71557
|
), Ff = useMemo(() => String(Pe), [Pe]);
|
|
@@ -71570,7 +71573,7 @@ function Marker({ property: t, id: n, isVisible: o, geometry: s, layer: c, featu
|
|
|
71570
71573
|
positions: hf,
|
|
71571
71574
|
material: gd,
|
|
71572
71575
|
width: 0.5,
|
|
71573
|
-
distanceDisplayCondition:
|
|
71576
|
+
distanceDisplayCondition: wf
|
|
71574
71577
|
}
|
|
71575
71578
|
)
|
|
71576
71579
|
}
|
|
@@ -71596,7 +71599,7 @@ function Marker({ property: t, id: n, isVisible: o, geometry: s, layer: c, featu
|
|
|
71596
71599
|
outlineColor: nf,
|
|
71597
71600
|
outlineWidth: z,
|
|
71598
71601
|
heightReference: heightReference(pu),
|
|
71599
|
-
distanceDisplayCondition:
|
|
71602
|
+
distanceDisplayCondition: wf
|
|
71600
71603
|
}
|
|
71601
71604
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
71602
71605
|
gs$1,
|
|
@@ -71606,7 +71609,7 @@ function Marker({ property: t, id: n, isVisible: o, geometry: s, layer: c, featu
|
|
|
71606
71609
|
horizontalOrigin: ho$1(La),
|
|
71607
71610
|
verticalOrigin: vo$1(Ra),
|
|
71608
71611
|
heightReference: heightReference(pu),
|
|
71609
|
-
distanceDisplayCondition:
|
|
71612
|
+
distanceDisplayCondition: wf,
|
|
71610
71613
|
sizeInMeters: fa,
|
|
71611
71614
|
pixelOffset: Wa,
|
|
71612
71615
|
eyeOffset: af
|
|
@@ -71625,7 +71628,7 @@ function Marker({ property: t, id: n, isVisible: o, geometry: s, layer: c, featu
|
|
|
71625
71628
|
backgroundColor: Cf,
|
|
71626
71629
|
backgroundPadding: ff,
|
|
71627
71630
|
heightReference: heightReference(pu),
|
|
71628
|
-
distanceDisplayCondition:
|
|
71631
|
+
distanceDisplayCondition: wf
|
|
71629
71632
|
}
|
|
71630
71633
|
)
|
|
71631
71634
|
]
|
|
@@ -71769,14 +71772,14 @@ function Model({
|
|
|
71769
71772
|
[o == null ? void 0 : o.near, o == null ? void 0 : o.far]
|
|
71770
71773
|
), Ru = useMemo(() => {
|
|
71771
71774
|
var gd, pd, Zd, sf, of, nf, df, Cf, ff, Sf;
|
|
71772
|
-
const
|
|
71775
|
+
const Rf = new ImageBasedLighting();
|
|
71773
71776
|
if (!(o != null && o.specularEnvironmentMaps) && !(o != null && o.sphericalHarmonicCoefficients) && !((pd = (gd = s == null ? void 0 : s.scene) == null ? void 0 : gd.imageBasedLighting) != null && pd.specularEnvironmentMaps) && !((sf = (Zd = s == null ? void 0 : s.scene) == null ? void 0 : Zd.imageBasedLighting) != null && sf.sphericalHarmonicCoefficients))
|
|
71774
|
-
return
|
|
71777
|
+
return Rf;
|
|
71775
71778
|
const Wa = (o == null ? void 0 : o.specularEnvironmentMaps) ?? ((nf = (of = s == null ? void 0 : s.scene) == null ? void 0 : of.imageBasedLighting) == null ? void 0 : nf.specularEnvironmentMaps), af = (o == null ? void 0 : o.imageBasedLightIntensity) ?? ((Cf = (df = s == null ? void 0 : s.scene) == null ? void 0 : df.imageBasedLighting) == null ? void 0 : Cf.intensity), Xd = arrayToCartecian3(
|
|
71776
71779
|
(o == null ? void 0 : o.sphericalHarmonicCoefficients) ?? ((Sf = (ff = s == null ? void 0 : s.scene) == null ? void 0 : ff.imageBasedLighting) == null ? void 0 : Sf.sphericalHarmonicCoefficients),
|
|
71777
71780
|
af
|
|
71778
71781
|
);
|
|
71779
|
-
return Wa && (
|
|
71782
|
+
return Wa && (Rf.specularEnvironmentMaps = Wa), Xd && (Rf.sphericalHarmonicCoefficients = Xd), Rf;
|
|
71780
71783
|
}, [
|
|
71781
71784
|
o == null ? void 0 : o.specularEnvironmentMaps,
|
|
71782
71785
|
o == null ? void 0 : o.sphericalHarmonicCoefficients,
|
|
@@ -71786,10 +71789,10 @@ function Model({
|
|
|
71786
71789
|
(Vf = (xf = s == null ? void 0 : s.scene) == null ? void 0 : xf.imageBasedLighting) == null ? void 0 : Vf.intensity
|
|
71787
71790
|
]), { viewer: Vd } = $e$1(), { requestRender: Gd } = useContext(), cf = useRef(!1);
|
|
71788
71791
|
return useSceneEvent("postRender", () => {
|
|
71789
|
-
const
|
|
71792
|
+
const Rf = Vd == null ? void 0 : Vd.scene.primitives, Wa = (Rf == null ? void 0 : Rf.length) ?? 0;
|
|
71790
71793
|
if (!(!cf.current || !Ru))
|
|
71791
71794
|
for (let af = 0; af < Wa; af++) {
|
|
71792
|
-
const Xd =
|
|
71795
|
+
const Xd = Rf == null ? void 0 : Rf.get(af);
|
|
71793
71796
|
Xd instanceof Model$1 && Xd.id && Xd.id.id === t && (Xd.imageBasedLighting = Ru, cf.current = !1, Gd == null || Gd());
|
|
71794
71797
|
}
|
|
71795
71798
|
}), useEffect(() => {
|
|
@@ -82509,7 +82512,7 @@ const useDrawClipping = ({
|
|
|
82509
82512
|
[]
|
|
82510
82513
|
// eslint-disable-line react-hooks/exhaustive-deps
|
|
82511
82514
|
);
|
|
82512
|
-
const { drawClippingEnabled:
|
|
82515
|
+
const { drawClippingEnabled: Rf, drawClippingEdgeProps: Wa } = useDrawClipping({
|
|
82513
82516
|
...mt == null ? void 0 : mt.draw,
|
|
82514
82517
|
tilesetRef: L,
|
|
82515
82518
|
viewer: P,
|
|
@@ -82645,7 +82648,7 @@ const useDrawClipping = ({
|
|
|
82645
82648
|
(Hf = (Ff = c == null ? void 0 : c.scene) == null ? void 0 : Ff.imageBasedLighting) == null ? void 0 : Hf.specularEnvironmentMaps,
|
|
82646
82649
|
(Wf = (Jf = c == null ? void 0 : c.scene) == null ? void 0 : Jf.imageBasedLighting) == null ? void 0 : Wf.sphericalHarmonicCoefficients,
|
|
82647
82650
|
(vf = (tp = c == null ? void 0 : c.scene) == null ? void 0 : tp.imageBasedLighting) == null ? void 0 : vf.intensity
|
|
82648
|
-
]),
|
|
82651
|
+
]), wf = useCallback(
|
|
82649
82652
|
(pf) => {
|
|
82650
82653
|
uf(!0), S == null || S({ properties: pf.properties }), F == null || F({ layerId: z.current });
|
|
82651
82654
|
},
|
|
@@ -82658,11 +82661,11 @@ const useDrawClipping = ({
|
|
|
82658
82661
|
ref: Xd,
|
|
82659
82662
|
style: Xs,
|
|
82660
82663
|
clippingPlanes: xf,
|
|
82661
|
-
drawClippingEnabled:
|
|
82664
|
+
drawClippingEnabled: Rf,
|
|
82662
82665
|
drawClippingEdgeProps: Wa,
|
|
82663
82666
|
builtinBoxProps: Sc,
|
|
82664
82667
|
imageBasedLighting: Sf,
|
|
82665
|
-
handleReady:
|
|
82668
|
+
handleReady: wf
|
|
82666
82669
|
};
|
|
82667
82670
|
};
|
|
82668
82671
|
function Tileset({
|
|
@@ -84705,7 +84708,7 @@ const useIBL = ({
|
|
|
84705
84708
|
onMount: fa,
|
|
84706
84709
|
onCreditsUpdate: La
|
|
84707
84710
|
}) => {
|
|
84708
|
-
var of, nf, df, Cf, ff, Sf,
|
|
84711
|
+
var of, nf, df, Cf, ff, Sf, wf, Ff, Hf, Jf, Wf, tp, vf, pf, Lf, Df, kf, Yf, Qf, Zf, np, qf, ip, rp;
|
|
84709
84712
|
const Ra = useRef(null), ma = typeof (d == null ? void 0 : d.cesiumIonAccessToken) == "string" && d.cesiumIonAccessToken ? d.cesiumIonAccessToken : Ion.defaultAccessToken, yt = useEngineRef(t, Ra), lt = useLayerSelectWithRect({
|
|
84710
84713
|
cesium: Ra,
|
|
84711
84714
|
engineAPI: yt,
|
|
@@ -84715,11 +84718,11 @@ const useIBL = ({
|
|
|
84715
84718
|
featureFlags: p
|
|
84716
84719
|
});
|
|
84717
84720
|
useEffect(() => {
|
|
84718
|
-
var Uf, Bf, ep, ap, up,
|
|
84721
|
+
var Uf, Bf, ep, ap, up, pp, mp, al, tf, lf, yf, If, Of, Tf;
|
|
84719
84722
|
const _f = (Bf = (Uf = Ra == null ? void 0 : Ra.current) == null ? void 0 : Uf.cesiumElement) == null ? void 0 : Bf.shadowMap;
|
|
84720
84723
|
if (!_f)
|
|
84721
84724
|
return;
|
|
84722
|
-
_f.softShadows = ((up = (ap = (ep = n == null ? void 0 : n.scene) == null ? void 0 : ep.shadow) == null ? void 0 : ap.shadowMap) == null ? void 0 : up.softShadows) ?? !1, _f.darkness = ((al = (
|
|
84725
|
+
_f.softShadows = ((up = (ap = (ep = n == null ? void 0 : n.scene) == null ? void 0 : ep.shadow) == null ? void 0 : ap.shadowMap) == null ? void 0 : up.softShadows) ?? !1, _f.darkness = ((al = (mp = (pp = n == null ? void 0 : n.scene) == null ? void 0 : pp.shadow) == null ? void 0 : mp.shadowMap) == null ? void 0 : al.darkness) ?? 0.3, _f.size = ((yf = (lf = (tf = n == null ? void 0 : n.scene) == null ? void 0 : tf.shadow) == null ? void 0 : lf.shadowMap) == null ? void 0 : yf.size) ?? 2048, _f.maximumDistance = ((Tf = (Of = (If = n == null ? void 0 : n.scene) == null ? void 0 : If.shadow) == null ? void 0 : Of.shadowMap) == null ? void 0 : Tf.maximumDistance) ?? 5e3, _f.fadingEnabled = !0, _f.normalOffset = !0;
|
|
84723
84726
|
const rf = {
|
|
84724
84727
|
polygonOffsetFactor: 1.1,
|
|
84725
84728
|
polygonOffsetUnits: 4,
|
|
@@ -84746,12 +84749,12 @@ const useIBL = ({
|
|
|
84746
84749
|
}, [
|
|
84747
84750
|
(df = (nf = (of = n == null ? void 0 : n.scene) == null ? void 0 : of.shadow) == null ? void 0 : nf.shadowMap) == null ? void 0 : df.softShadows,
|
|
84748
84751
|
(Sf = (ff = (Cf = n == null ? void 0 : n.scene) == null ? void 0 : Cf.shadow) == null ? void 0 : ff.shadowMap) == null ? void 0 : Sf.darkness,
|
|
84749
|
-
(Hf = (Ff = (
|
|
84752
|
+
(Hf = (Ff = (wf = n == null ? void 0 : n.scene) == null ? void 0 : wf.shadow) == null ? void 0 : Ff.shadowMap) == null ? void 0 : Hf.size,
|
|
84750
84753
|
(tp = (Wf = (Jf = n == null ? void 0 : n.scene) == null ? void 0 : Jf.shadow) == null ? void 0 : Wf.shadowMap) == null ? void 0 : tp.maximumDistance
|
|
84751
84754
|
]);
|
|
84752
84755
|
const _i = useRef(), ba = useRef();
|
|
84753
84756
|
useEffect(() => {
|
|
84754
|
-
var Uf, Bf, ep, ap, up,
|
|
84757
|
+
var Uf, Bf, ep, ap, up, pp, mp, al;
|
|
84755
84758
|
const _f = (Uf = Ra.current) == null ? void 0 : Uf.cesiumElement;
|
|
84756
84759
|
if (!_f || _f.isDestroyed() || ba.current === (s == null ? void 0 : s.featureId) && (s == null ? void 0 : s.featureId) !== void 0)
|
|
84757
84760
|
return;
|
|
@@ -84773,11 +84776,11 @@ const useIBL = ({
|
|
|
84773
84776
|
const [yf, If] = (() => {
|
|
84774
84777
|
var Of;
|
|
84775
84778
|
for (const Tf of lf) {
|
|
84776
|
-
const
|
|
84779
|
+
const Mf = (Of = Tf.computed) == null ? void 0 : Of.features.find(
|
|
84777
84780
|
(Af) => Af.id !== (s == null ? void 0 : s.featureId)
|
|
84778
84781
|
);
|
|
84779
|
-
if (
|
|
84780
|
-
return [
|
|
84782
|
+
if (Mf)
|
|
84783
|
+
return [Mf, Tf.id];
|
|
84781
84784
|
}
|
|
84782
84785
|
})() || [];
|
|
84783
84786
|
W == null || W(If, yf == null ? void 0 : yf.id);
|
|
@@ -84815,8 +84818,8 @@ const useIBL = ({
|
|
|
84815
84818
|
title: bf.name,
|
|
84816
84819
|
content: getEntityContent(
|
|
84817
84820
|
bf,
|
|
84818
|
-
((
|
|
84819
|
-
Pf != null && Pf.layerId ? (al = (
|
|
84821
|
+
((pp = (up = Ra.current) == null ? void 0 : up.cesiumElement) == null ? void 0 : pp.clock.currentTime) ?? new JulianDate$1(),
|
|
84822
|
+
Pf != null && Pf.layerId ? (al = (mp = tf == null ? void 0 : tf.infobox) == null ? void 0 : mp.property) == null ? void 0 : al.defaultContent : void 0
|
|
84820
84823
|
)
|
|
84821
84824
|
}
|
|
84822
84825
|
} : void 0
|
|
@@ -84892,7 +84895,7 @@ const useIBL = ({
|
|
|
84892
84895
|
}), _f;
|
|
84893
84896
|
}, [ms, Xs]), pu = useCallback(
|
|
84894
84897
|
async (_f, rf) => {
|
|
84895
|
-
var Bf, ep, ap, up,
|
|
84898
|
+
var Bf, ep, ap, up, pp, mp, al, tf, lf, yf, If, Of, Tf, Mf;
|
|
84896
84899
|
if ((Bf = yu.click) == null || Bf.call(yu, _f, rf), !(p & FEATURE_FLAGS.SINGLE_SELECTION))
|
|
84897
84900
|
return;
|
|
84898
84901
|
const bf = (ep = Ra.current) == null ? void 0 : ep.cesiumElement;
|
|
@@ -84911,7 +84914,7 @@ const useIBL = ({
|
|
|
84911
84914
|
content: getEntityContent(
|
|
84912
84915
|
rf.id,
|
|
84913
84916
|
bf.clock.currentTime ?? new JulianDate$1(),
|
|
84914
|
-
Af != null && Af.layerId ? (
|
|
84917
|
+
Af != null && Af.layerId ? (mp = (pp = Gf == null ? void 0 : Gf.infobox) == null ? void 0 : pp.property) == null ? void 0 : mp.defaultContent : void 0
|
|
84915
84918
|
)
|
|
84916
84919
|
}
|
|
84917
84920
|
} : void 0
|
|
@@ -84952,18 +84955,18 @@ const useIBL = ({
|
|
|
84952
84955
|
if (rf === void 0 && _f.position) {
|
|
84953
84956
|
const Af = bf.scene, Gf = Af.camera.getPickRay(_f.position);
|
|
84954
84957
|
if (Gf) {
|
|
84955
|
-
const Xf = await Af.imageryLayers.pickImageryLayerFeatures(Gf, Af), jf = Xf == null ? void 0 : Xf
|
|
84958
|
+
const Xf = await Af.imageryLayers.pickImageryLayerFeatures(Gf, Af), jf = Xf == null ? void 0 : Xf.findLast((dp) => !!dp.data), bp = (al = jf == null ? void 0 : jf.data) == null ? void 0 : al.appearanceType;
|
|
84956
84959
|
if (bp && ((yf = (lf = (tf = jf == null ? void 0 : jf.data) == null ? void 0 : tf.feature) == null ? void 0 : lf[bp]) == null ? void 0 : yf.show) !== !1) {
|
|
84957
|
-
const
|
|
84960
|
+
const dp = getTag(jf.imageryLayer), lp = jf.position;
|
|
84958
84961
|
lp && requestAnimationFrame(() => {
|
|
84959
|
-
|
|
84962
|
+
dp != null && dp.hideIndicator || (bf.selectedEntity = new Entity$2({
|
|
84960
84963
|
position: Cartographic$1.toCartesian(lp)
|
|
84961
84964
|
}));
|
|
84962
84965
|
});
|
|
84963
|
-
const Bp =
|
|
84966
|
+
const Bp = dp != null && dp.layerId ? ((If = h == null ? void 0 : h.current) == null ? void 0 : If.overriddenLayers().find((cg) => cg.id === dp.layerId)) ?? ((Of = h == null ? void 0 : h.current) == null ? void 0 : Of.findById(dp.layerId)) : void 0, ag = getEntityContent(
|
|
84964
84967
|
jf.data.feature ?? jf,
|
|
84965
84968
|
bf.clock.currentTime ?? new JulianDate$1(),
|
|
84966
|
-
|
|
84969
|
+
dp != null && dp.layerId ? (Mf = (Tf = Bp == null ? void 0 : Bp.infobox) == null ? void 0 : Tf.property) == null ? void 0 : Mf.defaultContent : void 0
|
|
84967
84970
|
);
|
|
84968
84971
|
ba.current = jf.data.featureId, W == null || W(
|
|
84969
84972
|
jf.data.layerId,
|
|
@@ -85078,7 +85081,7 @@ const useIBL = ({
|
|
|
85078
85081
|
cameraViewBoundaries: mf,
|
|
85079
85082
|
cameraViewOuterBoundaries: xf,
|
|
85080
85083
|
cameraViewBoundariesMaterial: Vf,
|
|
85081
|
-
handleCameraChange:
|
|
85084
|
+
handleCameraChange: Rf,
|
|
85082
85085
|
handleCameraMoveEnd: Wa,
|
|
85083
85086
|
mountCamera: af,
|
|
85084
85087
|
unmountCamera: Xd
|
|
@@ -85112,7 +85115,7 @@ const useIBL = ({
|
|
|
85112
85115
|
cameraViewBoundaries: mf,
|
|
85113
85116
|
cameraViewOuterBoundaries: xf,
|
|
85114
85117
|
cameraViewBoundariesMaterial: Vf,
|
|
85115
|
-
handleCameraChange:
|
|
85118
|
+
handleCameraChange: Rf,
|
|
85116
85119
|
handleCameraMoveEnd: Wa,
|
|
85117
85120
|
handleUpdate: Nl,
|
|
85118
85121
|
handleClick: pu,
|
|
@@ -90948,7 +90951,7 @@ const Cesium = ({
|
|
|
90948
90951
|
onLayerLoad: lt,
|
|
90949
90952
|
onCreditsUpdate: _i
|
|
90950
90953
|
}, ba) => {
|
|
90951
|
-
var gd, pd, Zd, sf, of, nf, df, Cf, ff, Sf,
|
|
90954
|
+
var gd, pd, Zd, sf, of, nf, df, Cf, ff, Sf, wf, Ff, Hf, Jf, Wf, tp, vf, pf, Lf, Df, kf, Yf, Qf, Zf, np, qf, ip, rp, _f, rf, bf, Pf, Uf, Bf, ep, ap, up, pp, mp, al, tf, lf;
|
|
90952
90955
|
const {
|
|
90953
90956
|
cesium: Sc,
|
|
90954
90957
|
mouseEventHandles: ms,
|
|
@@ -90966,7 +90969,7 @@ const Cesium = ({
|
|
|
90966
90969
|
handleCameraMoveEnd: mf,
|
|
90967
90970
|
handleUpdate: xf,
|
|
90968
90971
|
handleClick: Vf,
|
|
90969
|
-
handleMount:
|
|
90972
|
+
handleMount: Rf,
|
|
90970
90973
|
handleUnmount: Wa,
|
|
90971
90974
|
handleTilesChange: af,
|
|
90972
90975
|
handleTerrainProviderChange: Xd
|
|
@@ -91041,7 +91044,7 @@ const Cesium = ({
|
|
|
91041
91044
|
onMouseLeave: ms.mouseLeave,
|
|
91042
91045
|
onWheel: ms.wheel,
|
|
91043
91046
|
children: [
|
|
91044
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Event, { onMount:
|
|
91047
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Event, { onMount: Rf, onUnmount: Wa }),
|
|
91045
91048
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ReearthClock, { timelineManagerRef: se }),
|
|
91046
91049
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
91047
91050
|
ImageryLayers,
|
|
@@ -91128,7 +91131,7 @@ const Cesium = ({
|
|
|
91128
91131
|
arcType: ArcType$2.RHUMB
|
|
91129
91132
|
}
|
|
91130
91133
|
) }),
|
|
91131
|
-
uf && ((Ff = (
|
|
91134
|
+
uf && ((Ff = (wf = o == null ? void 0 : o.camera) == null ? void 0 : wf.limiter) == null ? void 0 : Ff.showHelper) && /* @__PURE__ */ jsxRuntimeExports.jsx(Is$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
91132
91135
|
ua$1,
|
|
91133
91136
|
{
|
|
91134
91137
|
positions: uf,
|
|
@@ -91177,8 +91180,8 @@ const Cesium = ({
|
|
|
91177
91180
|
AmbientOcclusion,
|
|
91178
91181
|
{
|
|
91179
91182
|
...AMBIENT_OCCLUSION_QUALITY[((ap = (ep = o == null ? void 0 : o.render) == null ? void 0 : ep.ambientOcclusion) == null ? void 0 : ap.quality) || "low"],
|
|
91180
|
-
enabled: !!((
|
|
91181
|
-
intensity: ((al = (
|
|
91183
|
+
enabled: !!((pp = (up = o == null ? void 0 : o.render) == null ? void 0 : up.ambientOcclusion) != null && pp.enabled),
|
|
91184
|
+
intensity: ((al = (mp = o == null ? void 0 : o.render) == null ? void 0 : mp.ambientOcclusion) == null ? void 0 : al.intensity) ?? 100,
|
|
91182
91185
|
outputType: (lf = (tf = o == null ? void 0 : o.render) == null ? void 0 : tf.ambientOcclusion) != null && lf.ambientOcclusionOnly ? AmbientOcclusionOutputType.Occlusion : null
|
|
91183
91186
|
}
|
|
91184
91187
|
)
|
|
@@ -91201,7 +91204,7 @@ function Error$1({ error: t, resetErrorBoundary: n }) {
|
|
|
91201
91204
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { style: { color: "#fff" }, onClick: n, children: "Retry" }) })
|
|
91202
91205
|
] });
|
|
91203
91206
|
}
|
|
91204
|
-
const version = "0.0.7-alpha.
|
|
91207
|
+
const version = "0.0.7-alpha.29", useCoreAPI = ({ viewerProperty: t }) => {
|
|
91205
91208
|
const n = useRef(t);
|
|
91206
91209
|
n.current = t;
|
|
91207
91210
|
const o = useMemo(
|
|
@@ -91319,7 +91322,7 @@ function useHooks({
|
|
|
91319
91322
|
}, []), xf = useCallback((vf) => {
|
|
91320
91323
|
var pf;
|
|
91321
91324
|
(pf = hf.current) == null || pf.call(hf, vf);
|
|
91322
|
-
}, []), Vf = useRef(),
|
|
91325
|
+
}, []), Vf = useRef(), Rf = useCallback((vf) => {
|
|
91323
91326
|
Vf.current = vf;
|
|
91324
91327
|
}, []), Wa = useCallback((vf) => {
|
|
91325
91328
|
var pf;
|
|
@@ -91351,7 +91354,7 @@ function useHooks({
|
|
|
91351
91354
|
var vf, pf;
|
|
91352
91355
|
o && ((pf = (vf = L.current) == null ? void 0 : vf.engine) == null || pf.lookAtLayer(o), p == null || p(void 0));
|
|
91353
91356
|
}, [o, p]);
|
|
91354
|
-
const [
|
|
91357
|
+
const [wf, Ff] = useState(!1), Hf = useCallback(() => {
|
|
91355
91358
|
Ff(!0);
|
|
91356
91359
|
}, []), Jf = useCallback(
|
|
91357
91360
|
(vf, pf, Lf) => {
|
|
@@ -91378,7 +91381,7 @@ function useHooks({
|
|
|
91378
91381
|
onLayerEdit: ms,
|
|
91379
91382
|
onLayerSelectWithRectStart: uf,
|
|
91380
91383
|
onLayerSelectWithRectMove: mf,
|
|
91381
|
-
onLayerSelectWithRectEnd:
|
|
91384
|
+
onLayerSelectWithRectEnd: Rf
|
|
91382
91385
|
}),
|
|
91383
91386
|
[
|
|
91384
91387
|
yt,
|
|
@@ -91396,7 +91399,7 @@ function useHooks({
|
|
|
91396
91399
|
Vd,
|
|
91397
91400
|
uf,
|
|
91398
91401
|
mf,
|
|
91399
|
-
|
|
91402
|
+
Rf
|
|
91400
91403
|
]
|
|
91401
91404
|
), tp = useMemo(
|
|
91402
91405
|
() => ({
|
|
@@ -91413,7 +91416,7 @@ function useHooks({
|
|
|
91413
91416
|
selectedFeature: nt,
|
|
91414
91417
|
camera: pi,
|
|
91415
91418
|
featureFlags: ba,
|
|
91416
|
-
isLayerDragging:
|
|
91419
|
+
isLayerDragging: wf,
|
|
91417
91420
|
timelineManagerRef: mn,
|
|
91418
91421
|
cursor: lt,
|
|
91419
91422
|
cameraForceHorizontalRoll: Sa,
|
|
@@ -91501,7 +91504,7 @@ const CoreVisualizer = memo$1(
|
|
|
91501
91504
|
handleLayerEdit: mf,
|
|
91502
91505
|
handleCameraChange: xf,
|
|
91503
91506
|
handleInteractionModeChange: Vf,
|
|
91504
|
-
handleSketchPluginFeatureCreate:
|
|
91507
|
+
handleSketchPluginFeatureCreate: Rf,
|
|
91505
91508
|
handleSketchPluginFeatureUpdate: Wa,
|
|
91506
91509
|
handleSketchPluginFeatureDelete: af,
|
|
91507
91510
|
handleSketchTypeChange: Xd,
|
|
@@ -91561,7 +91564,7 @@ const CoreVisualizer = memo$1(
|
|
|
91561
91564
|
onLayerEdit: mf,
|
|
91562
91565
|
overrideInteractionMode: Vf,
|
|
91563
91566
|
onSketchFeatureCreate: fa,
|
|
91564
|
-
onSketchPluginFeatureCreate:
|
|
91567
|
+
onSketchPluginFeatureCreate: Rf,
|
|
91565
91568
|
onSketchFeatureUpdate: La,
|
|
91566
91569
|
onSketchPluginFeatureUpdate: Wa,
|
|
91567
91570
|
onSketchFeatureDelete: Ra,
|