@reearth/core 0.0.7-alpha.27 → 0.0.7-alpha.28

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 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 Rf = lp.stack.split(`
288
+ for (var Mf = lp.stack.split(`
289
289
  `), Af = yf.stack.split(`
290
- `), Gf = Rf.length - 1, Xf = Af.length - 1; Gf >= 1 && Xf >= 0 && Rf[Gf] !== Af[Xf]; )
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 (Rf[Gf] !== Af[Xf]) {
293
+ if (Mf[Gf] !== Af[Xf]) {
294
294
  if (Gf !== 1 || Xf !== 1)
295
295
  do
296
- if (Gf--, Xf--, Xf < 0 || Rf[Gf] !== Af[Xf]) {
296
+ if (Gf--, Xf--, Xf < 0 || Mf[Gf] !== Af[Xf]) {
297
297
  var jf = `
298
- ` + Rf[Gf].replace(" at new ", " at ");
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);
@@ -308,7 +308,7 @@ function requireReactJsxRuntime_development() {
308
308
  var bp = al ? al.displayName || al.name : "", gp = bp ? gf(bp) : "";
309
309
  return typeof al == "function" && mf.set(al, gp), gp;
310
310
  }
311
- function wf(al, tf, lf) {
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 wf(al.render);
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 Rf = void 0;
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
- Rf = al[Tf](tf, Tf, yf, lf, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
366
+ Mf = al[Tf](tf, Tf, yf, lf, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
367
367
  } catch (Gf) {
368
- Rf = Gf;
368
+ Mf = Gf;
369
369
  }
370
- Rf && !(Rf 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 Rf), Zd(null)), Rf instanceof Error && !(Rf.message in gd) && (gd[Rf.message] = !0, Zd(If), se("Failed %s type: %s", lf, Rf.message), Zd(null));
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 Mf = Pe.ReactCurrentOwner, Ff = {
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" && Mf.current;
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 Rf = {
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 Rf._store = {}, Object.defineProperty(Rf._store, "validated", {
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(Rf, "_self", {
462
+ }), Object.defineProperty(Mf, "_self", {
463
463
  configurable: !1,
464
464
  enumerable: !1,
465
465
  writable: !1,
466
466
  value: yf
467
- }), Object.defineProperty(Rf, "_source", {
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(Rf.props), Object.freeze(Rf)), Rf;
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 = {}, Rf = null, Af = null;
477
- lf !== void 0 && (Sf(lf), Rf = "" + lf), tp(tf) && (Sf(tf.key), Rf = "" + tf.key), Wf(tf) && (Af = tf.ref, vf(tf, If));
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 (Rf || Af) {
485
+ if (Mf || Af) {
486
486
  var Xf = typeof al == "function" ? al.displayName || al.name || "Unknown" : al;
487
- Rf && pf(Tf, Xf), Af && Lf(Tf, Xf);
487
+ Mf && pf(Tf, Xf), Af && Lf(Tf, Xf);
488
488
  }
489
- return Df(al, Rf, Af, If, yf, Mf.current, Tf);
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 Rf = "";
607
- (al === void 0 || typeof al == "object" && al !== null && Object.keys(al).length === 0) && (Rf += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
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 ? Rf += Af : Rf += ip();
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") + " />", Rf = " 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, Rf);
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)
@@ -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, Mf = df[Zd + sf - 1], Ff = df[Zd + sf];
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] === Mf && df[Xd] === df[Zd] && df[++Xd] === df[Zd + 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
- Mf = df[Zd + sf - 1], Ff = df[Zd + sf];
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 wf(Wa, af, Xd, gd, pd, Zd) {
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 wf(Wa, af, se, 15, 8, 0);
9941
- }, c.deflateInit2 = wf, c.deflateReset = Vf, c.deflateResetKeep = xf, c.deflateSetHeader = function(Wa, af) {
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, Mf, Ff = nf.window; ; ) {
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
- Mf = nf.strstart + La;
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 < Mf);
10021
- nf.match_length = La - (Mf - Sf), nf.match_length > nf.lookahead && (nf.match_length = nf.lookahead);
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, wf, 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];
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, wf = mf; hf = (pd = lt.lencode[wf + ((pu & (1 << xf + Vf) - 1) >> xf)]) >>> 16 & 255, mf = 65535 & pd, !(xf + (gf = pd >>> 24) <= Nl); ) {
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, wf = mf; hf = (pd = lt.distcode[wf + ((pu & (1 << xf + Vf) - 1) >> xf)]) >>> 16 & 255, mf = 65535 & pd, !(xf + (gf = pd >>> 24) <= Nl); ) {
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 wf(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, Mf = -1;
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] = Mf = sf, pd.depth[sf] = 0) : df[2 * sf + 1] = 0;
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] = Mf < 2 ? ++Mf : 0)] = 1, pd.depth[nf] = 0, pd.opt_len--, ff && (pd.static_len -= Cf[2 * nf + 1]);
10731
- for (Zd.max_code = Mf, sf = pd.heap_len >> 1; 1 <= sf; sf--)
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, Mf, pd.bl_count);
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, Mf = 4;
10755
- for (Cf === 0 && (Sf = 138, Mf = 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 < Mf ? 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, Mf = (ff = 0) === Cf ? (Sf = 138, 3) : nf === Cf ? (Sf = 6, 3) : (Sf = 7, 4));
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, Mf = 4;
10760
- for (Cf === 0 && (Sf = 138, Mf = 3), of = 0; of <= sf; of++)
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 < Mf)
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, Mf = (ff = 0) === Cf ? (Sf = 138, 3) : nf === Cf ? (Sf = 6, 3) : (Sf = 7, 4);
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, Mf = 4093624447;
10807
- for (Sf = 0; Sf <= 31; Sf++, Mf >>>= 1)
10808
- if (1 & Mf && ff.dyn_ltree[2 * Sf] !== 0)
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)), wf(pd, pd.l_desc), wf(pd, pd.d_desc), Cf = function(ff) {
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), wf(ff, ff.bl_desc), Sf = z - 1; 3 <= Sf && ff.bl_tree[2 * La[Sf] + 1] === 0; Sf--)
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, Mf, Ff) {
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, Mf - 1, 5), Vd(ff, Ff - 4, 4), Hf = 0; Hf < Ff; Hf++)
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, Mf - 1);
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), Mf = Sf < 0 ? [...ff, Cf] : [
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 = Mf, P(Mf);
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
- ), wf = useCallback(
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: wf,
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
- wf,
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, wf;
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 = (wf = n.current) == null ? void 0 : wf.getExtrudedPoint(
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: wf,
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: wf,
19808
+ pluginSketchLayerCreate: Rf,
19809
19809
  pluginSketchLayerFeatureAdd: Wa,
19810
19810
  pluginSketchLayerFeatureUpdate: af,
19811
19811
  pluginSketchLayerFeatureRemove: Xd,
@@ -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 Mf = useRef(s);
19926
- Mf.current = s, useEffect(() => {
19925
+ const wf = useRef(s);
19926
+ wf.current = s, useEffect(() => {
19927
19927
  var rf;
19928
- (z || mt) && Mf.current !== "sketch" && ((rf = ff.current) == null || rf.call(ff, "sketch"));
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(ff, "default"));
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 Rf = lp.stack.split(`
20431
+ for (var Mf = lp.stack.split(`
20429
20432
  `), Af = yf.stack.split(`
20430
- `), Gf = Rf.length - 1, Xf = Af.length - 1; Gf >= 1 && Xf >= 0 && Rf[Gf] !== Af[Xf]; )
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 (Rf[Gf] !== Af[Xf]) {
20436
+ if (Mf[Gf] !== Af[Xf]) {
20434
20437
  if (Gf !== 1 || Xf !== 1)
20435
20438
  do
20436
- if (Gf--, Xf--, Xf < 0 || Rf[Gf] !== Af[Xf]) {
20439
+ if (Gf--, Xf--, Xf < 0 || Mf[Gf] !== Af[Xf]) {
20437
20440
  var jf = `
20438
- ` + Rf[Gf].replace(" at new ", " at ");
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);
@@ -20448,7 +20451,7 @@ function Gt$1() {
20448
20451
  var bp = al ? al.displayName || al.name : "", gp = bp ? gf(bp) : "";
20449
20452
  return typeof al == "function" && mf.set(al, gp), gp;
20450
20453
  }
20451
- function wf(al, tf, lf) {
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 wf(al.render);
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 Rf = void 0;
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
- Rf = al[Tf](tf, Tf, yf, lf, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
20509
+ Mf = al[Tf](tf, Tf, yf, lf, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
20507
20510
  } catch (Gf) {
20508
- Rf = Gf;
20511
+ Mf = Gf;
20509
20512
  }
20510
- Rf && !(Rf 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 Rf), Zd(null)), Rf instanceof Error && !(Rf.message in gd) && (gd[Rf.message] = !0, Zd(If), se("Failed %s type: %s", lf, Rf.message), Zd(null));
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 Mf = Pe.ReactCurrentOwner, Ff = {
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" && Mf.current;
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 Rf = {
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 Rf._store = {}, Object.defineProperty(Rf._store, "validated", {
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(Rf, "_self", {
20605
+ }), Object.defineProperty(Mf, "_self", {
20603
20606
  configurable: !1,
20604
20607
  enumerable: !1,
20605
20608
  writable: !1,
20606
20609
  value: yf
20607
- }), Object.defineProperty(Rf, "_source", {
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(Rf.props), Object.freeze(Rf)), Rf;
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 = {}, Rf = null, Af = null;
20617
- lf !== void 0 && (Sf(lf), Rf = "" + lf), tp(tf) && (Sf(tf.key), Rf = "" + tf.key), Wf(tf) && (Af = tf.ref, vf(tf, If));
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 (Rf || Af) {
20628
+ if (Mf || Af) {
20626
20629
  var Xf = typeof al == "function" ? al.displayName || al.name || "Unknown" : al;
20627
- Rf && pf(Tf, Xf), Af && Lf(Tf, Xf);
20630
+ Mf && pf(Tf, Xf), Af && Lf(Tf, Xf);
20628
20631
  }
20629
- return Df(al, Rf, Af, If, yf, Mf.current, Tf);
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 Rf = "";
20747
- (al === void 0 || typeof al == "object" && al !== null && Object.keys(al).length === 0) && (Rf += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
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 ? Rf += Af : Rf += ip();
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") + " />", Rf = " 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, Rf);
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)
@@ -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, wf = d * _i + S * ba + N * Sc + Pe * ms, Wa = h * _i + P * ba + z * Sc + se * 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] = wf, o[15] = Wa, o;
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, wf, Wa, af;
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"), wf = yt(yu.charCodeAt(hf++)), (wf >= y || wf > mn((p - Vd) / xf)) && Sa("overflow"), Vd += wf * xf, Wa = Vf <= cf ? S : Vf >= cf + P ? P : Vf - cf, !(wf < Wa); Vf += y)
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 = [], wf, Wa, af, Xd;
29549
- for (yu = Ra(yu), wf = yu.length, pu = z, Nl = 0, Gd = N, cf = 0; cf < wf; ++cf)
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 < wf; ) {
29552
- for (uf = p, cf = 0; cf < wf; ++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 < wf; ++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 wf = Cartesian3.unpack(
41299
+ const Rf = Cartesian3.unpack(
41297
41300
  o,
41298
41301
  o.length - 6,
41299
41302
  segmentStartBottomScratch
41300
41303
  );
41301
- breakMiter(Gd, wf, Ru, Vd) && (Gd = Cartesian3.negate(
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 wf = Cartesian3.clone(Ru, segmentStartBottomScratch), Wa = Cartesian3.clone(Vd, segmentStartTopScratch);
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, wf, Ru, Vd), Ra.latitude = d[ms], Ra.longitude = d[ms + 1], ma.latitude = d[ms + 2], ma.longitude = d[ms + 3];
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
- wf,
41364
+ Rf,
41362
41365
  encodeScratch$1
41363
41366
  ), nf = Cartesian3.subtract(
41364
41367
  Ru,
41365
- wf,
41368
+ Rf,
41366
41369
  offsetScratch$1
41367
41370
  ), df = Cartesian3.normalize(nf, rightScratch);
41368
- let Cf = Cartesian3.subtract(Wa, wf, startUpScratch);
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 Mf = Cartesian3.subtract(Vd, Ru, endUpScratch);
41379
- Mf = Cartesian3.normalize(Mf, Mf);
41381
+ let wf = Cartesian3.subtract(Vd, Ru, endUpScratch);
41382
+ wf = Cartesian3.normalize(wf, wf);
41380
41383
  let Ff = Cartesian3.cross(
41381
41384
  Gd,
41382
- Mf,
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
- wf,
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, wf, Wa, af) {
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
- wf,
65306
+ Rf,
65304
65307
  Wa,
65305
65308
  af
65306
65309
  ];
@@ -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), wf = Cartesian3$1.normalize(xf, new Cartesian3$1()), { scaleAmount: Wa, pixelLengthAfterScaling: af } = computeMouseMoveAmount(
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
- wf,
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 Mf = c == null ? void 0 : c.scene.globe.ellipsoid.cartesianToCartographic(
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(Mf == null ? void 0 : Mf.latitude),
67514
- lng: Math$1.toDegrees(Mf == null ? void 0 : Mf.longitude),
67515
- height: Mf == null ? void 0 : Mf.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(Mf == null ? void 0 : Mf.latitude),
67526
- lng: Math$1.toDegrees(Mf == null ? void 0 : Mf.longitude),
67527
- height: Mf == null ? void 0 : Mf.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: wf } = HeadingPitchRoll$1.fromQuaternion(mf);
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: wf
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: wf
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, wf] = useIcon({
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 ? wf : P) / 2 + Jf;
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, wf, 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(
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]), Mf = useMemo(
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: Mf
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: Mf
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: Mf,
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: Mf
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 wf = new ImageBasedLighting();
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 wf;
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 && (wf.specularEnvironmentMaps = Wa), Xd && (wf.sphericalHarmonicCoefficients = Xd), wf;
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 wf = Vd == null ? void 0 : Vd.scene.primitives, Wa = (wf == null ? void 0 : wf.length) ?? 0;
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 = wf == null ? void 0 : wf.get(af);
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: wf, drawClippingEdgeProps: Wa } = useDrawClipping({
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
- ]), Mf = useCallback(
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: wf,
82664
+ drawClippingEnabled: Rf,
82662
82665
  drawClippingEdgeProps: Wa,
82663
82666
  builtinBoxProps: Sc,
82664
82667
  imageBasedLighting: Sf,
82665
- handleReady: Mf
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, Mf, Ff, Hf, Jf, Wf, tp, vf, pf, Lf, Df, kf, Yf, Qf, Zf, np, qf, ip, rp;
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,
@@ -84746,7 +84749,7 @@ 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 = (Mf = n == null ? void 0 : n.scene) == null ? void 0 : Mf.shadow) == null ? void 0 : Ff.shadowMap) == null ? void 0 : Hf.size,
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();
@@ -84773,11 +84776,11 @@ const useIBL = ({
84773
84776
  const [yf, If] = (() => {
84774
84777
  var Of;
84775
84778
  for (const Tf of lf) {
84776
- const Rf = (Of = Tf.computed) == null ? void 0 : Of.features.find(
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 (Rf)
84780
- return [Rf, Tf.id];
84782
+ if (Mf)
84783
+ return [Mf, Tf.id];
84781
84784
  }
84782
84785
  })() || [];
84783
84786
  W == null || W(If, yf == null ? void 0 : yf.id);
@@ -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, fp, pp, al, tf, lf, yf, If, Of, Tf, Rf;
84898
+ var Bf, ep, ap, up, fp, pp, 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;
@@ -84963,7 +84966,7 @@ const useIBL = ({
84963
84966
  const Bp = gp != null && gp.layerId ? ((If = h == null ? void 0 : h.current) == null ? void 0 : If.overriddenLayers().find((cg) => cg.id === gp.layerId)) ?? ((Of = h == null ? void 0 : h.current) == null ? void 0 : Of.findById(gp.layerId)) : void 0, ag = getEntityContent(
84964
84967
  jf.data.feature ?? jf,
84965
84968
  bf.clock.currentTime ?? new JulianDate$1(),
84966
- gp != null && gp.layerId ? (Rf = (Tf = Bp == null ? void 0 : Bp.infobox) == null ? void 0 : Tf.property) == null ? void 0 : Rf.defaultContent : void 0
84969
+ gp != null && gp.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: wf,
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: wf,
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, Mf, 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, fp, pp, al, tf, lf;
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, fp, pp, 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: wf,
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: wf, onUnmount: Wa }),
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 = (Mf = o == null ? void 0 : o.camera) == null ? void 0 : Mf.limiter) == null ? void 0 : Ff.showHelper) && /* @__PURE__ */ jsxRuntimeExports.jsx(Is$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
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,
@@ -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.27", useCoreAPI = ({ viewerProperty: t }) => {
91207
+ const version = "0.0.7-alpha.28", 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(), wf = useCallback((vf) => {
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 [Mf, Ff] = useState(!1), Hf = useCallback(() => {
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: wf
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
- wf
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: Mf,
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: wf,
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: wf,
91567
+ onSketchPluginFeatureCreate: Rf,
91565
91568
  onSketchFeatureUpdate: La,
91566
91569
  onSketchPluginFeatureUpdate: Wa,
91567
91570
  onSketchFeatureDelete: Ra,