@soonspacejs/plugin-cps-soonmanager 2.14.0 → 2.14.2

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/index.esm.js CHANGED
@@ -1892,7 +1892,7 @@ ieee754.write = function(v, e, E, _, B, A) {
1892
1892
  }
1893
1893
  }
1894
1894
  R.prototype._isBuffer = !0;
1895
- function et(ke, le, Se) {
1895
+ function tt(ke, le, Se) {
1896
1896
  const Ke = ke[le];
1897
1897
  ke[le] = ke[Se], ke[Se] = Ke;
1898
1898
  }
@@ -1901,21 +1901,21 @@ ieee754.write = function(v, e, E, _, B, A) {
1901
1901
  if (le % 2 !== 0)
1902
1902
  throw new RangeError("Buffer size must be a multiple of 16-bits");
1903
1903
  for (let Se = 0; Se < le; Se += 2)
1904
- et(this, Se, Se + 1);
1904
+ tt(this, Se, Se + 1);
1905
1905
  return this;
1906
1906
  }, R.prototype.swap32 = function() {
1907
1907
  const le = this.length;
1908
1908
  if (le % 4 !== 0)
1909
1909
  throw new RangeError("Buffer size must be a multiple of 32-bits");
1910
1910
  for (let Se = 0; Se < le; Se += 4)
1911
- et(this, Se, Se + 3), et(this, Se + 1, Se + 2);
1911
+ tt(this, Se, Se + 3), tt(this, Se + 1, Se + 2);
1912
1912
  return this;
1913
1913
  }, R.prototype.swap64 = function() {
1914
1914
  const le = this.length;
1915
1915
  if (le % 8 !== 0)
1916
1916
  throw new RangeError("Buffer size must be a multiple of 64-bits");
1917
1917
  for (let Se = 0; Se < le; Se += 8)
1918
- et(this, Se, Se + 7), et(this, Se + 1, Se + 6), et(this, Se + 2, Se + 5), et(this, Se + 3, Se + 4);
1918
+ tt(this, Se, Se + 7), tt(this, Se + 1, Se + 6), tt(this, Se + 2, Se + 5), tt(this, Se + 3, Se + 4);
1919
1919
  return this;
1920
1920
  }, R.prototype.toString = function() {
1921
1921
  const le = this.length;
@@ -3553,11 +3553,11 @@ const getBodyLength = async (v) => {
3553
3553
  duplex: "half"
3554
3554
  }), $e;
3555
3555
  if (utils$6.isFormData(_) && ($e = qe.headers.get("content-type")) && R.setContentType($e), qe.body) {
3556
- const [ze, et] = progressEventDecorator(
3556
+ const [ze, tt] = progressEventDecorator(
3557
3557
  H,
3558
3558
  progressEventReducer(asyncDecorator(P))
3559
3559
  );
3560
- _ = trackStream(qe.body, DEFAULT_CHUNK_SIZE, ze, et);
3560
+ _ = trackStream(qe.body, DEFAULT_CHUNK_SIZE, ze, tt);
3561
3561
  }
3562
3562
  }
3563
3563
  utils$6.isString(q) || (q = q ? "include" : "omit");
@@ -3578,13 +3578,13 @@ const getBodyLength = async (v) => {
3578
3578
  ["status", "statusText", "headers"].forEach((rt) => {
3579
3579
  qe[rt] = G[rt];
3580
3580
  });
3581
- const $e = utils$6.toFiniteNumber(G.headers.get("content-length")), [ze, et] = M && progressEventDecorator(
3581
+ const $e = utils$6.toFiniteNumber(G.headers.get("content-length")), [ze, tt] = M && progressEventDecorator(
3582
3582
  $e,
3583
3583
  progressEventReducer(asyncDecorator(M), !0)
3584
3584
  ) || [];
3585
3585
  G = new Response(
3586
3586
  trackStream(G.body, DEFAULT_CHUNK_SIZE, ze, () => {
3587
- et && et(), D && D();
3587
+ tt && tt(), D && D();
3588
3588
  }),
3589
3589
  qe
3590
3590
  );
@@ -4085,12 +4085,12 @@ const c = /* @__PURE__ */ new Map(), p = { async parse({ node: v, inputData: e }
4085
4085
  if (!H) return r$1(`播放模型动画 -> 方法 playCilpAnimation 执行时 modelId 为 ${C} 场景对象未找到`);
4086
4086
  if (D) {
4087
4087
  D.tween.stop();
4088
- const { positionX: z, positionY: G, positionZ: Q, rotationX: ee, rotationY: qe, rotationZ: $e, scaleX: ze, scaleY: et, scaleZ: rt } = D.source;
4089
- H.position.set(z, G, Q), H.rotation.set(ee, qe, $e), H.scale.set(ze, et, rt), q.render(), c.delete(C);
4088
+ const { positionX: z, positionY: G, positionZ: Q, rotationX: ee, rotationY: qe, rotationZ: $e, scaleX: ze, scaleY: tt, scaleZ: rt } = D.source;
4089
+ H.position.set(z, G, Q), H.rotation.set(ee, qe, $e), H.scale.set(ze, tt, rt), q.render(), c.delete(C);
4090
4090
  }
4091
4091
  for (let z = 0; z < $.length; z++) {
4092
- const G = { positionX: H.position.x, positionY: H.position.y, positionZ: H.position.z, rotationX: H.rotation.x, rotationY: H.rotation.y, rotationZ: H.rotation.z, scaleX: H.scale.x, scaleY: H.scale.y, scaleZ: H.scale.z }, Q = $[z], { delay: ee, duration: qe, easing: $e, repeat: ze, yoyo: et } = Q, rt = { positionX: Q.position.x || 0, positionY: Q.position.y || 0, positionZ: Q.position.z || 0, rotationX: Q.rotation.x || 0, rotationY: Q.rotation.y || 0, rotationZ: Q.rotation.z || 0, scaleX: Q.scale.x || 1, scaleY: Q.scale.y || 1, scaleZ: Q.scale.z || 1 };
4093
- await q.animation(G, rt, { delay: ee, duration: qe, mode: $e, repeat: ze === -1 ? 1 / 0 : ze, yoyo: et }, (({ positionX: Ct, positionY: Ve, positionZ: F, rotationX: K, rotationY: L, rotationZ: J, scaleX: oe, scaleY: te, scaleZ: he }) => {
4092
+ const G = { positionX: H.position.x, positionY: H.position.y, positionZ: H.position.z, rotationX: H.rotation.x, rotationY: H.rotation.y, rotationZ: H.rotation.z, scaleX: H.scale.x, scaleY: H.scale.y, scaleZ: H.scale.z }, Q = $[z], { delay: ee, duration: qe, easing: $e, repeat: ze, yoyo: tt } = Q, rt = { positionX: Q.position.x || 0, positionY: Q.position.y || 0, positionZ: Q.position.z || 0, rotationX: Q.rotation.x || 0, rotationY: Q.rotation.y || 0, rotationZ: Q.rotation.z || 0, scaleX: Q.scale.x || 1, scaleY: Q.scale.y || 1, scaleZ: Q.scale.z || 1 };
4093
+ await q.animation(G, rt, { delay: ee, duration: qe, mode: $e, repeat: ze === -1 ? 1 / 0 : ze, yoyo: tt }, (({ positionX: Ct, positionY: Ve, positionZ: F, rotationX: K, rotationY: L, rotationZ: J, scaleX: oe, scaleY: te, scaleZ: he }) => {
4094
4094
  H.position.set(Ct, Ve, F), H.rotation.set(K, L, J), H.scale.set(oe, te, he);
4095
4095
  }), ((Ct) => {
4096
4096
  c.set(C, { source: JSON.parse(JSON.stringify(G)), tween: Ct });
@@ -4328,10 +4328,10 @@ function requireDist() {
4328
4328
  return (Q + ee) * 3 / 4 - ee;
4329
4329
  }
4330
4330
  function C(G) {
4331
- var Q, ee = x(G), qe = ee[0], $e = ee[1], ze = new A(q(G, qe, $e)), et = 0, rt = $e > 0 ? qe - 4 : qe, Ct;
4331
+ var Q, ee = x(G), qe = ee[0], $e = ee[1], ze = new A(q(G, qe, $e)), tt = 0, rt = $e > 0 ? qe - 4 : qe, Ct;
4332
4332
  for (Ct = 0; Ct < rt; Ct += 4)
4333
- Q = B[G.charCodeAt(Ct)] << 18 | B[G.charCodeAt(Ct + 1)] << 12 | B[G.charCodeAt(Ct + 2)] << 6 | B[G.charCodeAt(Ct + 3)], ze[et++] = Q >> 16 & 255, ze[et++] = Q >> 8 & 255, ze[et++] = Q & 255;
4334
- return $e === 2 && (Q = B[G.charCodeAt(Ct)] << 2 | B[G.charCodeAt(Ct + 1)] >> 4, ze[et++] = Q & 255), $e === 1 && (Q = B[G.charCodeAt(Ct)] << 10 | B[G.charCodeAt(Ct + 1)] << 4 | B[G.charCodeAt(Ct + 2)] >> 2, ze[et++] = Q >> 8 & 255, ze[et++] = Q & 255), ze;
4333
+ Q = B[G.charCodeAt(Ct)] << 18 | B[G.charCodeAt(Ct + 1)] << 12 | B[G.charCodeAt(Ct + 2)] << 6 | B[G.charCodeAt(Ct + 3)], ze[tt++] = Q >> 16 & 255, ze[tt++] = Q >> 8 & 255, ze[tt++] = Q & 255;
4334
+ return $e === 2 && (Q = B[G.charCodeAt(Ct)] << 2 | B[G.charCodeAt(Ct + 1)] >> 4, ze[tt++] = Q & 255), $e === 1 && (Q = B[G.charCodeAt(Ct)] << 10 | B[G.charCodeAt(Ct + 1)] << 4 | B[G.charCodeAt(Ct + 2)] >> 2, ze[tt++] = Q >> 8 & 255, ze[tt++] = Q & 255), ze;
4335
4335
  }
4336
4336
  function k(G) {
4337
4337
  return _[G >> 18 & 63] + _[G >> 12 & 63] + _[G >> 6 & 63] + _[G & 63];
@@ -4342,8 +4342,8 @@ function requireDist() {
4342
4342
  return $e.join("");
4343
4343
  }
4344
4344
  function D(G) {
4345
- for (var Q, ee = G.length, qe = ee % 3, $e = [], ze = 16383, et = 0, rt = ee - qe; et < rt; et += ze)
4346
- $e.push($(G, et, et + ze > rt ? rt : et + ze));
4345
+ for (var Q, ee = G.length, qe = ee % 3, $e = [], ze = 16383, tt = 0, rt = ee - qe; tt < rt; tt += ze)
4346
+ $e.push($(G, tt, tt + ze > rt ? rt : tt + ze));
4347
4347
  return qe === 1 ? (Q = G[ee - 1], $e.push(
4348
4348
  _[Q >> 2] + _[Q << 4 & 63] + "=="
4349
4349
  )) : qe === 2 && (Q = (G[ee - 2] << 8) + G[ee - 1], $e.push(
@@ -4353,24 +4353,24 @@ function requireDist() {
4353
4353
  var H = {};
4354
4354
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
4355
4355
  H.read = function(G, Q, ee, qe, $e) {
4356
- var ze, et, rt = $e * 8 - qe - 1, Ct = (1 << rt) - 1, Ve = Ct >> 1, F = -7, K = ee ? $e - 1 : 0, L = ee ? -1 : 1, J = G[Q + K];
4356
+ var ze, tt, rt = $e * 8 - qe - 1, Ct = (1 << rt) - 1, Ve = Ct >> 1, F = -7, K = ee ? $e - 1 : 0, L = ee ? -1 : 1, J = G[Q + K];
4357
4357
  for (K += L, ze = J & (1 << -F) - 1, J >>= -F, F += rt; F > 0; ze = ze * 256 + G[Q + K], K += L, F -= 8)
4358
4358
  ;
4359
- for (et = ze & (1 << -F) - 1, ze >>= -F, F += qe; F > 0; et = et * 256 + G[Q + K], K += L, F -= 8)
4359
+ for (tt = ze & (1 << -F) - 1, ze >>= -F, F += qe; F > 0; tt = tt * 256 + G[Q + K], K += L, F -= 8)
4360
4360
  ;
4361
4361
  if (ze === 0)
4362
4362
  ze = 1 - Ve;
4363
4363
  else {
4364
4364
  if (ze === Ct)
4365
- return et ? NaN : (J ? -1 : 1) * (1 / 0);
4366
- et = et + Math.pow(2, qe), ze = ze - Ve;
4365
+ return tt ? NaN : (J ? -1 : 1) * (1 / 0);
4366
+ tt = tt + Math.pow(2, qe), ze = ze - Ve;
4367
4367
  }
4368
- return (J ? -1 : 1) * et * Math.pow(2, ze - qe);
4368
+ return (J ? -1 : 1) * tt * Math.pow(2, ze - qe);
4369
4369
  }, H.write = function(G, Q, ee, qe, $e, ze) {
4370
- var et, rt, Ct, Ve = ze * 8 - $e - 1, F = (1 << Ve) - 1, K = F >> 1, L = $e === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, J = qe ? 0 : ze - 1, oe = qe ? 1 : -1, te = Q < 0 || Q === 0 && 1 / Q < 0 ? 1 : 0;
4371
- for (Q = Math.abs(Q), isNaN(Q) || Q === 1 / 0 ? (rt = isNaN(Q) ? 1 : 0, et = F) : (et = Math.floor(Math.log(Q) / Math.LN2), Q * (Ct = Math.pow(2, -et)) < 1 && (et--, Ct *= 2), et + K >= 1 ? Q += L / Ct : Q += L * Math.pow(2, 1 - K), Q * Ct >= 2 && (et++, Ct /= 2), et + K >= F ? (rt = 0, et = F) : et + K >= 1 ? (rt = (Q * Ct - 1) * Math.pow(2, $e), et = et + K) : (rt = Q * Math.pow(2, K - 1) * Math.pow(2, $e), et = 0)); $e >= 8; G[ee + J] = rt & 255, J += oe, rt /= 256, $e -= 8)
4370
+ var tt, rt, Ct, Ve = ze * 8 - $e - 1, F = (1 << Ve) - 1, K = F >> 1, L = $e === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, J = qe ? 0 : ze - 1, oe = qe ? 1 : -1, te = Q < 0 || Q === 0 && 1 / Q < 0 ? 1 : 0;
4371
+ for (Q = Math.abs(Q), isNaN(Q) || Q === 1 / 0 ? (rt = isNaN(Q) ? 1 : 0, tt = F) : (tt = Math.floor(Math.log(Q) / Math.LN2), Q * (Ct = Math.pow(2, -tt)) < 1 && (tt--, Ct *= 2), tt + K >= 1 ? Q += L / Ct : Q += L * Math.pow(2, 1 - K), Q * Ct >= 2 && (tt++, Ct /= 2), tt + K >= F ? (rt = 0, tt = F) : tt + K >= 1 ? (rt = (Q * Ct - 1) * Math.pow(2, $e), tt = tt + K) : (rt = Q * Math.pow(2, K - 1) * Math.pow(2, $e), tt = 0)); $e >= 8; G[ee + J] = rt & 255, J += oe, rt /= 256, $e -= 8)
4372
4372
  ;
4373
- for (et = et << $e | rt, Ve += $e; Ve > 0; G[ee + J] = et & 255, J += oe, et /= 256, Ve -= 8)
4373
+ for (tt = tt << $e | rt, Ve += $e; Ve > 0; G[ee + J] = tt & 255, J += oe, tt /= 256, Ve -= 8)
4374
4374
  ;
4375
4375
  G[ee + J - oe] |= te * 128;
4376
4376
  };
@@ -4385,7 +4385,7 @@ function requireDist() {
4385
4385
  G.Buffer = F, G.SlowBuffer = Ie, G.INSPECT_MAX_BYTES = 50;
4386
4386
  const $e = 2147483647;
4387
4387
  G.kMaxLength = $e;
4388
- const { Uint8Array: ze, ArrayBuffer: et, SharedArrayBuffer: rt } = globalThis;
4388
+ const { Uint8Array: ze, ArrayBuffer: tt, SharedArrayBuffer: rt } = globalThis;
4389
4389
  F.TYPED_ARRAY_SUPPORT = Ct(), !F.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
4390
4390
  "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
4391
4391
  );
@@ -4432,13 +4432,13 @@ function requireDist() {
4432
4432
  function K(Ue, ve, xe) {
4433
4433
  if (typeof Ue == "string")
4434
4434
  return te(Ue, ve);
4435
- if (et.isView(Ue))
4435
+ if (tt.isView(Ue))
4436
4436
  return ne(Ue);
4437
4437
  if (Ue == null)
4438
4438
  throw new TypeError(
4439
4439
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof Ue
4440
4440
  );
4441
- if (Hr(Ue, et) || Ue && Hr(Ue.buffer, et) || typeof rt < "u" && (Hr(Ue, rt) || Ue && Hr(Ue.buffer, rt)))
4441
+ if (Hr(Ue, tt) || Ue && Hr(Ue.buffer, tt) || typeof rt < "u" && (Hr(Ue, rt) || Ue && Hr(Ue.buffer, rt)))
4442
4442
  return Y(Ue, ve, xe);
4443
4443
  if (typeof Ue == "number")
4444
4444
  throw new TypeError(
@@ -4587,7 +4587,7 @@ function requireDist() {
4587
4587
  function He(Ue, ve) {
4588
4588
  if (F.isBuffer(Ue))
4589
4589
  return Ue.length;
4590
- if (et.isView(Ue) || Hr(Ue, et))
4590
+ if (tt.isView(Ue) || Hr(Ue, tt))
4591
4591
  return Ue.byteLength;
4592
4592
  if (typeof Ue != "string")
4593
4593
  throw new TypeError(
@@ -5454,12 +5454,12 @@ function requireEvents() {
5454
5454
  return P(this);
5455
5455
  }, A.prototype.emit = function(qe) {
5456
5456
  for (var $e = [], ze = 1; ze < arguments.length; ze++) $e.push(arguments[ze]);
5457
- var et = qe === "error", rt = this._events;
5457
+ var tt = qe === "error", rt = this._events;
5458
5458
  if (rt !== void 0)
5459
- et = et && rt.error === void 0;
5460
- else if (!et)
5459
+ tt = tt && rt.error === void 0;
5460
+ else if (!tt)
5461
5461
  return !1;
5462
- if (et) {
5462
+ if (tt) {
5463
5463
  var Ct;
5464
5464
  if ($e.length > 0 && (Ct = $e[0]), Ct instanceof Error)
5465
5465
  throw Ct;
@@ -5477,14 +5477,14 @@ function requireEvents() {
5477
5477
  return !0;
5478
5478
  };
5479
5479
  function x(ee, qe, $e, ze) {
5480
- var et, rt, Ct;
5480
+ var tt, rt, Ct;
5481
5481
  if (M($e), rt = ee._events, rt === void 0 ? (rt = ee._events = /* @__PURE__ */ Object.create(null), ee._eventsCount = 0) : (rt.newListener !== void 0 && (ee.emit(
5482
5482
  "newListener",
5483
5483
  qe,
5484
5484
  $e.listener ? $e.listener : $e
5485
5485
  ), rt = ee._events), Ct = rt[qe]), Ct === void 0)
5486
5486
  Ct = rt[qe] = $e, ++ee._eventsCount;
5487
- else if (typeof Ct == "function" ? Ct = rt[qe] = ze ? [$e, Ct] : [Ct, $e] : ze ? Ct.unshift($e) : Ct.push($e), et = P(ee), et > 0 && Ct.length > et && !Ct.warned) {
5487
+ else if (typeof Ct == "function" ? Ct = rt[qe] = ze ? [$e, Ct] : [Ct, $e] : ze ? Ct.unshift($e) : Ct.push($e), tt = P(ee), tt > 0 && Ct.length > tt && !Ct.warned) {
5488
5488
  Ct.warned = !0;
5489
5489
  var Ve = new Error("Possible EventEmitter memory leak detected. " + Ct.length + " " + String(qe) + " listeners added. Use emitter.setMaxListeners() to increase limit");
5490
5490
  Ve.name = "MaxListenersExceededWarning", Ve.emitter = ee, Ve.type = qe, Ve.count = Ct.length, _(Ve);
@@ -5501,21 +5501,21 @@ function requireEvents() {
5501
5501
  return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
5502
5502
  }
5503
5503
  function q(ee, qe, $e) {
5504
- var ze = { fired: !1, wrapFn: void 0, target: ee, type: qe, listener: $e }, et = R.bind(ze);
5505
- return et.listener = $e, ze.wrapFn = et, et;
5504
+ var ze = { fired: !1, wrapFn: void 0, target: ee, type: qe, listener: $e }, tt = R.bind(ze);
5505
+ return tt.listener = $e, ze.wrapFn = tt, tt;
5506
5506
  }
5507
5507
  A.prototype.once = function(qe, $e) {
5508
5508
  return M($e), this.on(qe, q(this, qe, $e)), this;
5509
5509
  }, A.prototype.prependOnceListener = function(qe, $e) {
5510
5510
  return M($e), this.prependListener(qe, q(this, qe, $e)), this;
5511
5511
  }, A.prototype.removeListener = function(qe, $e) {
5512
- var ze, et, rt, Ct, Ve;
5513
- if (M($e), et = this._events, et === void 0)
5512
+ var ze, tt, rt, Ct, Ve;
5513
+ if (M($e), tt = this._events, tt === void 0)
5514
5514
  return this;
5515
- if (ze = et[qe], ze === void 0)
5515
+ if (ze = tt[qe], ze === void 0)
5516
5516
  return this;
5517
5517
  if (ze === $e || ze.listener === $e)
5518
- --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete et[qe], et.removeListener && this.emit("removeListener", qe, ze.listener || $e));
5518
+ --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete tt[qe], tt.removeListener && this.emit("removeListener", qe, ze.listener || $e));
5519
5519
  else if (typeof ze != "function") {
5520
5520
  for (rt = -1, Ct = ze.length - 1; Ct >= 0; Ct--)
5521
5521
  if (ze[Ct] === $e || ze[Ct].listener === $e) {
@@ -5524,34 +5524,34 @@ function requireEvents() {
5524
5524
  }
5525
5525
  if (rt < 0)
5526
5526
  return this;
5527
- rt === 0 ? ze.shift() : D(ze, rt), ze.length === 1 && (et[qe] = ze[0]), et.removeListener !== void 0 && this.emit("removeListener", qe, Ve || $e);
5527
+ rt === 0 ? ze.shift() : D(ze, rt), ze.length === 1 && (tt[qe] = ze[0]), tt.removeListener !== void 0 && this.emit("removeListener", qe, Ve || $e);
5528
5528
  }
5529
5529
  return this;
5530
5530
  }, A.prototype.off = A.prototype.removeListener, A.prototype.removeAllListeners = function(qe) {
5531
- var $e, ze, et;
5531
+ var $e, ze, tt;
5532
5532
  if (ze = this._events, ze === void 0)
5533
5533
  return this;
5534
5534
  if (ze.removeListener === void 0)
5535
5535
  return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : ze[qe] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete ze[qe]), this;
5536
5536
  if (arguments.length === 0) {
5537
5537
  var rt = Object.keys(ze), Ct;
5538
- for (et = 0; et < rt.length; ++et)
5539
- Ct = rt[et], Ct !== "removeListener" && this.removeAllListeners(Ct);
5538
+ for (tt = 0; tt < rt.length; ++tt)
5539
+ Ct = rt[tt], Ct !== "removeListener" && this.removeAllListeners(Ct);
5540
5540
  return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
5541
5541
  }
5542
5542
  if ($e = ze[qe], typeof $e == "function")
5543
5543
  this.removeListener(qe, $e);
5544
5544
  else if ($e !== void 0)
5545
- for (et = $e.length - 1; et >= 0; et--)
5546
- this.removeListener(qe, $e[et]);
5545
+ for (tt = $e.length - 1; tt >= 0; tt--)
5546
+ this.removeListener(qe, $e[tt]);
5547
5547
  return this;
5548
5548
  };
5549
5549
  function C(ee, qe, $e) {
5550
5550
  var ze = ee._events;
5551
5551
  if (ze === void 0)
5552
5552
  return [];
5553
- var et = ze[qe];
5554
- return et === void 0 ? [] : typeof et == "function" ? $e ? [et.listener || et] : [et] : $e ? H(et) : $(et, et.length);
5553
+ var tt = ze[qe];
5554
+ return tt === void 0 ? [] : typeof tt == "function" ? $e ? [tt.listener || tt] : [tt] : $e ? H(tt) : $(tt, tt.length);
5555
5555
  }
5556
5556
  A.prototype.listeners = function(qe) {
5557
5557
  return C(this, qe, !0);
@@ -5591,13 +5591,13 @@ function requireEvents() {
5591
5591
  }
5592
5592
  function z(ee, qe) {
5593
5593
  return new Promise(function($e, ze) {
5594
- function et(Ct) {
5594
+ function tt(Ct) {
5595
5595
  ee.removeListener(qe, rt), ze(Ct);
5596
5596
  }
5597
5597
  function rt() {
5598
- typeof ee.removeListener == "function" && ee.removeListener("error", et), $e([].slice.call(arguments));
5598
+ typeof ee.removeListener == "function" && ee.removeListener("error", tt), $e([].slice.call(arguments));
5599
5599
  }
5600
- Q(ee, qe, rt, { once: !0 }), qe !== "error" && G(ee, et, { once: !0 });
5600
+ Q(ee, qe, rt, { once: !0 }), qe !== "error" && G(ee, tt, { once: !0 });
5601
5601
  });
5602
5602
  }
5603
5603
  function G(ee, qe, $e) {
@@ -5607,8 +5607,8 @@ function requireEvents() {
5607
5607
  if (typeof ee.on == "function")
5608
5608
  ze.once ? ee.once(qe, $e) : ee.on(qe, $e);
5609
5609
  else if (typeof ee.addEventListener == "function")
5610
- ee.addEventListener(qe, function et(rt) {
5611
- ze.once && ee.removeEventListener(qe, et), $e(rt);
5610
+ ee.addEventListener(qe, function tt(rt) {
5611
+ ze.once && ee.removeEventListener(qe, tt), $e(rt);
5612
5612
  });
5613
5613
  else
5614
5614
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof ee);
@@ -5928,7 +5928,7 @@ function requireGetIntrinsic() {
5928
5928
  return ee;
5929
5929
  }
5930
5930
  }
5931
- })() : ee, $e = requireHasSymbols()(), ze = requireGetProto(), et = requireObject_getPrototypeOf(), rt = requireReflect_getPrototypeOf(), Ct = requireFunctionApply(), Ve = requireFunctionCall(), F = {}, K = typeof Uint8Array > "u" || !ze ? v : ze(Uint8Array), L = {
5931
+ })() : ee, $e = requireHasSymbols()(), ze = requireGetProto(), tt = requireObject_getPrototypeOf(), rt = requireReflect_getPrototypeOf(), Ct = requireFunctionApply(), Ve = requireFunctionCall(), F = {}, K = typeof Uint8Array > "u" || !ze ? v : ze(Uint8Array), L = {
5932
5932
  __proto__: null,
5933
5933
  "%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
5934
5934
  "%Array%": Array,
@@ -6002,7 +6002,7 @@ function requireGetIntrinsic() {
6002
6002
  "%Function.prototype.call%": Ve,
6003
6003
  "%Function.prototype.apply%": Ct,
6004
6004
  "%Object.defineProperty%": Q,
6005
- "%Object.getPrototypeOf%": et,
6005
+ "%Object.getPrototypeOf%": tt,
6006
6006
  "%Math.abs%": x,
6007
6007
  "%Math.floor%": R,
6008
6008
  "%Math.max%": q,
@@ -6626,10 +6626,10 @@ function requireTypes$1() {
6626
6626
  return _(Ht) === "Int32Array";
6627
6627
  }
6628
6628
  v.isInt32Array = ze;
6629
- function et(Ht) {
6629
+ function tt(Ht) {
6630
6630
  return _(Ht) === "Float32Array";
6631
6631
  }
6632
- v.isFloat32Array = et;
6632
+ v.isFloat32Array = tt;
6633
6633
  function rt(Ht) {
6634
6634
  return _(Ht) === "Float64Array";
6635
6635
  }
@@ -6894,7 +6894,7 @@ function requireUtil$1() {
6894
6894
  var Xe = Ie.name ? ": " + Ie.name : "";
6895
6895
  return X.stylize("[Function" + Xe + "]", "special");
6896
6896
  }
6897
- if (et(Ie))
6897
+ if (tt(Ie))
6898
6898
  return X.stylize(RegExp.prototype.toString.call(Ie), "regexp");
6899
6899
  if (Ct(Ie))
6900
6900
  return X.stylize(Date.prototype.toString.call(Ie), "date");
@@ -6906,10 +6906,10 @@ function requireUtil$1() {
6906
6906
  var vt = Ie.name ? ": " + Ie.name : "";
6907
6907
  st = " [Function" + vt + "]";
6908
6908
  }
6909
- if (et(Ie) && (st = " " + RegExp.prototype.toString.call(Ie)), Ct(Ie) && (st = " " + Date.prototype.toUTCString.call(Ie)), Ve(Ie) && (st = " " + C(Ie)), Ae.length === 0 && (!Fe || Ie.length == 0))
6909
+ if (tt(Ie) && (st = " " + RegExp.prototype.toString.call(Ie)), Ct(Ie) && (st = " " + Date.prototype.toUTCString.call(Ie)), Ve(Ie) && (st = " " + C(Ie)), Ae.length === 0 && (!Fe || Ie.length == 0))
6910
6910
  return je[0] + st + je[1];
6911
6911
  if (He < 0)
6912
- return et(Ie) ? X.stylize(RegExp.prototype.toString.call(Ie), "regexp") : X.stylize("[Object]", "special");
6912
+ return tt(Ie) ? X.stylize(RegExp.prototype.toString.call(Ie), "regexp") : X.stylize("[Object]", "special");
6913
6913
  X.seen.push(Ie);
6914
6914
  var Jt;
6915
6915
  return Fe ? Jt = k(X, Ie, He, Oe, Ae) : Jt = Ae.map(function(ur) {
@@ -7015,10 +7015,10 @@ function requireUtil$1() {
7015
7015
  return X === void 0;
7016
7016
  }
7017
7017
  v.isUndefined = ze;
7018
- function et(X) {
7018
+ function tt(X) {
7019
7019
  return rt(X) && L(X) === "[object RegExp]";
7020
7020
  }
7021
- v.isRegExp = et, v.types.isRegExp = et;
7021
+ v.isRegExp = tt, v.types.isRegExp = tt;
7022
7022
  function rt(X) {
7023
7023
  return typeof X == "object" && X !== null;
7024
7024
  }
@@ -7468,7 +7468,7 @@ function requireBrowser$a() {
7468
7468
  var _stream_writable$1, hasRequired_stream_writable$1;
7469
7469
  function require_stream_writable$1() {
7470
7470
  if (hasRequired_stream_writable$1) return _stream_writable$1;
7471
- hasRequired_stream_writable$1 = 1, _stream_writable$1 = et;
7471
+ hasRequired_stream_writable$1 = 1, _stream_writable$1 = tt;
7472
7472
  function v(Ne) {
7473
7473
  var Ae = this;
7474
7474
  this.next = null, this.entry = null, this.finish = function() {
@@ -7476,7 +7476,7 @@ function require_stream_writable$1() {
7476
7476
  };
7477
7477
  }
7478
7478
  var e;
7479
- et.WritableState = $e;
7479
+ tt.WritableState = $e;
7480
7480
  var E = {
7481
7481
  deprecate: requireBrowser$a()
7482
7482
  }, _ = requireStreamBrowser$1(), B = requireDist().Buffer, A = (typeof commonjsGlobal < "u" ? commonjsGlobal : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
@@ -7488,7 +7488,7 @@ function require_stream_writable$1() {
7488
7488
  return B.isBuffer(Ne) || Ne instanceof A;
7489
7489
  }
7490
7490
  var P = requireDestroy$1(), x = requireState(), R = x.getHighWaterMark, q = requireErrorsBrowser().codes, C = q.ERR_INVALID_ARG_TYPE, k = q.ERR_METHOD_NOT_IMPLEMENTED, $ = q.ERR_MULTIPLE_CALLBACK, D = q.ERR_STREAM_CANNOT_PIPE, H = q.ERR_STREAM_DESTROYED, z = q.ERR_STREAM_NULL_VALUES, G = q.ERR_STREAM_WRITE_AFTER_END, Q = q.ERR_UNKNOWN_ENCODING, ee = P.errorOrDestroy;
7491
- requireInherits_browser()(et, _);
7491
+ requireInherits_browser()(tt, _);
7492
7492
  function qe() {
7493
7493
  }
7494
7494
  function $e(Ne, Ae, Oe) {
@@ -7513,20 +7513,20 @@ function require_stream_writable$1() {
7513
7513
  }
7514
7514
  })();
7515
7515
  var ze;
7516
- typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (ze = Function.prototype[Symbol.hasInstance], Object.defineProperty(et, Symbol.hasInstance, {
7516
+ typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (ze = Function.prototype[Symbol.hasInstance], Object.defineProperty(tt, Symbol.hasInstance, {
7517
7517
  value: function(Ae) {
7518
- return ze.call(this, Ae) ? !0 : this !== et ? !1 : Ae && Ae._writableState instanceof $e;
7518
+ return ze.call(this, Ae) ? !0 : this !== tt ? !1 : Ae && Ae._writableState instanceof $e;
7519
7519
  }
7520
7520
  })) : ze = function(Ae) {
7521
7521
  return Ae instanceof this;
7522
7522
  };
7523
- function et(Ne) {
7523
+ function tt(Ne) {
7524
7524
  e = e || require_stream_duplex$1();
7525
7525
  var Ae = this instanceof e;
7526
- if (!Ae && !ze.call(et, this)) return new et(Ne);
7526
+ if (!Ae && !ze.call(tt, this)) return new tt(Ne);
7527
7527
  this._writableState = new $e(Ne, this, Ae), this.writable = !0, Ne && (typeof Ne.write == "function" && (this._write = Ne.write), typeof Ne.writev == "function" && (this._writev = Ne.writev), typeof Ne.destroy == "function" && (this._destroy = Ne.destroy), typeof Ne.final == "function" && (this._final = Ne.final)), _.call(this);
7528
7528
  }
7529
- et.prototype.pipe = function() {
7529
+ tt.prototype.pipe = function() {
7530
7530
  ee(this, new D());
7531
7531
  };
7532
7532
  function rt(Ne, Ae) {
@@ -7537,18 +7537,18 @@ function require_stream_writable$1() {
7537
7537
  var st;
7538
7538
  return Oe === null ? st = new z() : typeof Oe != "string" && !Ae.objectMode && (st = new C("chunk", ["string", "Buffer"], Oe)), st ? (ee(Ne, st), process$1.nextTick(Xe, st), !1) : !0;
7539
7539
  }
7540
- et.prototype.write = function(Ne, Ae, Oe) {
7540
+ tt.prototype.write = function(Ne, Ae, Oe) {
7541
7541
  var Xe = this._writableState, st = !1, Fe = !Xe.objectMode && M(Ne);
7542
7542
  return Fe && !B.isBuffer(Ne) && (Ne = T(Ne)), typeof Ae == "function" && (Oe = Ae, Ae = null), Fe ? Ae = "buffer" : Ae || (Ae = Xe.defaultEncoding), typeof Oe != "function" && (Oe = qe), Xe.ending ? rt(this, Oe) : (Fe || Ct(this, Xe, Ne, Oe)) && (Xe.pendingcb++, st = F(this, Xe, Fe, Ne, Ae, Oe)), st;
7543
- }, et.prototype.cork = function() {
7543
+ }, tt.prototype.cork = function() {
7544
7544
  this._writableState.corked++;
7545
- }, et.prototype.uncork = function() {
7545
+ }, tt.prototype.uncork = function() {
7546
7546
  var Ne = this._writableState;
7547
7547
  Ne.corked && (Ne.corked--, !Ne.writing && !Ne.corked && !Ne.bufferProcessing && Ne.bufferedRequest && ne(this, Ne));
7548
- }, et.prototype.setDefaultEncoding = function(Ae) {
7548
+ }, tt.prototype.setDefaultEncoding = function(Ae) {
7549
7549
  if (typeof Ae == "string" && (Ae = Ae.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((Ae + "").toLowerCase()) > -1)) throw new Q(Ae);
7550
7550
  return this._writableState.defaultEncoding = Ae, this;
7551
- }, Object.defineProperty(et.prototype, "writableBuffer", {
7551
+ }, Object.defineProperty(tt.prototype, "writableBuffer", {
7552
7552
  // making it explicit this property is not enumerable
7553
7553
  // because otherwise some prototype manipulation in
7554
7554
  // userland will fail
@@ -7560,7 +7560,7 @@ function require_stream_writable$1() {
7560
7560
  function Ve(Ne, Ae, Oe) {
7561
7561
  return !Ne.objectMode && Ne.decodeStrings !== !1 && typeof Ae == "string" && (Ae = B.from(Ae, Oe)), Ae;
7562
7562
  }
7563
- Object.defineProperty(et.prototype, "writableHighWaterMark", {
7563
+ Object.defineProperty(tt.prototype, "writableHighWaterMark", {
7564
7564
  // making it explicit this property is not enumerable
7565
7565
  // because otherwise some prototype manipulation in
7566
7566
  // userland will fail
@@ -7633,12 +7633,12 @@ function require_stream_writable$1() {
7633
7633
  }
7634
7634
  Ae.bufferedRequest = Oe, Ae.bufferProcessing = !1;
7635
7635
  }
7636
- et.prototype._write = function(Ne, Ae, Oe) {
7636
+ tt.prototype._write = function(Ne, Ae, Oe) {
7637
7637
  Oe(new k("_write()"));
7638
- }, et.prototype._writev = null, et.prototype.end = function(Ne, Ae, Oe) {
7638
+ }, tt.prototype._writev = null, tt.prototype.end = function(Ne, Ae, Oe) {
7639
7639
  var Xe = this._writableState;
7640
7640
  return typeof Ne == "function" ? (Oe = Ne, Ne = null, Ae = null) : typeof Ae == "function" && (Oe = Ae, Ae = null), Ne != null && this.write(Ne, Ae), Xe.corked && (Xe.corked = 1, this.uncork()), Xe.ending || He(this, Xe, Oe), this;
7641
- }, Object.defineProperty(et.prototype, "writableLength", {
7641
+ }, Object.defineProperty(tt.prototype, "writableLength", {
7642
7642
  // making it explicit this property is not enumerable
7643
7643
  // because otherwise some prototype manipulation in
7644
7644
  // userland will fail
@@ -7677,7 +7677,7 @@ function require_stream_writable$1() {
7677
7677
  }
7678
7678
  Ae.corkedRequestsFree.next = Ne;
7679
7679
  }
7680
- return Object.defineProperty(et.prototype, "destroyed", {
7680
+ return Object.defineProperty(tt.prototype, "destroyed", {
7681
7681
  // making it explicit this property is not enumerable
7682
7682
  // because otherwise some prototype manipulation in
7683
7683
  // userland will fail
@@ -7688,7 +7688,7 @@ function require_stream_writable$1() {
7688
7688
  set: function(Ae) {
7689
7689
  this._writableState && (this._writableState.destroyed = Ae);
7690
7690
  }
7691
- }), et.prototype.destroy = P.destroy, et.prototype._undestroy = P.undestroy, et.prototype._destroy = function(Ne, Ae) {
7691
+ }), tt.prototype.destroy = P.destroy, tt.prototype._undestroy = P.undestroy, tt.prototype._destroy = function(Ne, Ae) {
7692
7692
  Ae(Ne);
7693
7693
  }, _stream_writable$1;
7694
7694
  }
@@ -8032,9 +8032,9 @@ function requireAsync_iterator() {
8032
8032
  if ($e)
8033
8033
  ze = new Promise(D($e, this));
8034
8034
  else {
8035
- var et = this[q].read();
8036
- if (et !== null)
8037
- return Promise.resolve(C(et, !1));
8035
+ var tt = this[q].read();
8036
+ if (tt !== null)
8037
+ return Promise.resolve(C(tt, !1));
8038
8038
  ze = new Promise(this[R]);
8039
8039
  }
8040
8040
  return this[x] = ze, ze;
@@ -8069,16 +8069,16 @@ function requireAsync_iterator() {
8069
8069
  value: ee._readableState.endEmitted,
8070
8070
  writable: !0
8071
8071
  }), e(qe, R, {
8072
- value: function(et, rt) {
8072
+ value: function(tt, rt) {
8073
8073
  var Ct = $e[q].read();
8074
- Ct ? ($e[x] = null, $e[A] = null, $e[T] = null, et(C(Ct, !1))) : ($e[A] = et, $e[T] = rt);
8074
+ Ct ? ($e[x] = null, $e[A] = null, $e[T] = null, tt(C(Ct, !1))) : ($e[A] = tt, $e[T] = rt);
8075
8075
  },
8076
8076
  writable: !0
8077
8077
  }), qe));
8078
8078
  return $e[x] = null, B(ee, function(ze) {
8079
8079
  if (ze && ze.code !== "ERR_STREAM_PREMATURE_CLOSE") {
8080
- var et = $e[T];
8081
- et !== null && ($e[x] = null, $e[A] = null, $e[T] = null, et(ze)), $e[M] = ze;
8080
+ var tt = $e[T];
8081
+ tt !== null && ($e[x] = null, $e[A] = null, $e[T] = null, tt(ze)), $e[M] = ze;
8082
8082
  return;
8083
8083
  }
8084
8084
  var rt = $e[A];
@@ -8098,7 +8098,7 @@ function require_stream_readable$1() {
8098
8098
  if (hasRequired_stream_readable$1) return _stream_readable$1;
8099
8099
  hasRequired_stream_readable$1 = 1, _stream_readable$1 = rt;
8100
8100
  var v;
8101
- rt.ReadableState = et, requireEvents().EventEmitter;
8101
+ rt.ReadableState = tt, requireEvents().EventEmitter;
8102
8102
  var e = function(je, vt) {
8103
8103
  return je.listeners(vt).length;
8104
8104
  }, E = requireStreamBrowser$1(), _ = requireDist().Buffer, B = (typeof commonjsGlobal < "u" ? commonjsGlobal : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
@@ -8119,13 +8119,13 @@ function require_stream_readable$1() {
8119
8119
  if (typeof Fe.prependListener == "function") return Fe.prependListener(je, vt);
8120
8120
  !Fe._events || !Fe._events[je] ? Fe.on(je, vt) : Array.isArray(Fe._events[je]) ? Fe._events[je].unshift(vt) : Fe._events[je] = [vt, Fe._events[je]];
8121
8121
  }
8122
- function et(Fe, je, vt) {
8122
+ function tt(Fe, je, vt) {
8123
8123
  v = v || require_stream_duplex$1(), Fe = Fe || {}, typeof vt != "boolean" && (vt = je instanceof v), this.objectMode = !!Fe.objectMode, vt && (this.objectMode = this.objectMode || !!Fe.readableObjectMode), this.highWaterMark = C(this, Fe, "readableHighWaterMark", vt), this.buffer = new x(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = Fe.emitClose !== !1, this.autoDestroy = !!Fe.autoDestroy, this.destroyed = !1, this.defaultEncoding = Fe.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, Fe.encoding && (G || (G = requireString_decoder().StringDecoder), this.decoder = new G(Fe.encoding), this.encoding = Fe.encoding);
8124
8124
  }
8125
8125
  function rt(Fe) {
8126
8126
  if (v = v || require_stream_duplex$1(), !(this instanceof rt)) return new rt(Fe);
8127
8127
  var je = this instanceof v;
8128
- this._readableState = new et(Fe, this, je), this.readable = !0, Fe && (typeof Fe.read == "function" && (this._read = Fe.read), typeof Fe.destroy == "function" && (this._destroy = Fe.destroy)), E.call(this);
8128
+ this._readableState = new tt(Fe, this, je), this.readable = !0, Fe && (typeof Fe.read == "function" && (this._read = Fe.read), typeof Fe.destroy == "function" && (this._destroy = Fe.destroy)), E.call(this);
8129
8129
  }
8130
8130
  Object.defineProperty(rt.prototype, "destroyed", {
8131
8131
  // making it explicit this property is not enumerable
@@ -9035,12 +9035,12 @@ function requireRipemd160$1() {
9035
9035
  }
9036
9036
  e(R, E), R.prototype._update = function() {
9037
9037
  for (var z = _, G = 0; G < 16; ++G) z[G] = this._block.readInt32LE(G * 4);
9038
- for (var Q = this._a | 0, ee = this._b | 0, qe = this._c | 0, $e = this._d | 0, ze = this._e | 0, et = this._a | 0, rt = this._b | 0, Ct = this._c | 0, Ve = this._d | 0, F = this._e | 0, K = 0; K < 80; K += 1) {
9038
+ for (var Q = this._a | 0, ee = this._b | 0, qe = this._c | 0, $e = this._d | 0, ze = this._e | 0, tt = this._a | 0, rt = this._b | 0, Ct = this._c | 0, Ve = this._d | 0, F = this._e | 0, K = 0; K < 80; K += 1) {
9039
9039
  var L, J;
9040
- K < 16 ? (L = C(Q, ee, qe, $e, ze, z[B[K]], P[0], T[K]), J = H(et, rt, Ct, Ve, F, z[A[K]], x[0], M[K])) : K < 32 ? (L = k(Q, ee, qe, $e, ze, z[B[K]], P[1], T[K]), J = D(et, rt, Ct, Ve, F, z[A[K]], x[1], M[K])) : K < 48 ? (L = $(Q, ee, qe, $e, ze, z[B[K]], P[2], T[K]), J = $(et, rt, Ct, Ve, F, z[A[K]], x[2], M[K])) : K < 64 ? (L = D(Q, ee, qe, $e, ze, z[B[K]], P[3], T[K]), J = k(et, rt, Ct, Ve, F, z[A[K]], x[3], M[K])) : (L = H(Q, ee, qe, $e, ze, z[B[K]], P[4], T[K]), J = C(et, rt, Ct, Ve, F, z[A[K]], x[4], M[K])), Q = ze, ze = $e, $e = q(qe, 10), qe = ee, ee = L, et = F, F = Ve, Ve = q(Ct, 10), Ct = rt, rt = J;
9040
+ K < 16 ? (L = C(Q, ee, qe, $e, ze, z[B[K]], P[0], T[K]), J = H(tt, rt, Ct, Ve, F, z[A[K]], x[0], M[K])) : K < 32 ? (L = k(Q, ee, qe, $e, ze, z[B[K]], P[1], T[K]), J = D(tt, rt, Ct, Ve, F, z[A[K]], x[1], M[K])) : K < 48 ? (L = $(Q, ee, qe, $e, ze, z[B[K]], P[2], T[K]), J = $(tt, rt, Ct, Ve, F, z[A[K]], x[2], M[K])) : K < 64 ? (L = D(Q, ee, qe, $e, ze, z[B[K]], P[3], T[K]), J = k(tt, rt, Ct, Ve, F, z[A[K]], x[3], M[K])) : (L = H(Q, ee, qe, $e, ze, z[B[K]], P[4], T[K]), J = C(tt, rt, Ct, Ve, F, z[A[K]], x[4], M[K])), Q = ze, ze = $e, $e = q(qe, 10), qe = ee, ee = L, tt = F, F = Ve, Ve = q(Ct, 10), Ct = rt, rt = J;
9041
9041
  }
9042
9042
  var oe = this._b + qe + Ve | 0;
9043
- this._b = this._c + $e + F | 0, this._c = this._d + ze + et | 0, this._d = this._e + Q + rt | 0, this._e = this._a + ee + Ct | 0, this._a = oe;
9043
+ this._b = this._c + $e + F | 0, this._c = this._d + ze + tt | 0, this._d = this._e + Q + rt | 0, this._e = this._a + ee + Ct | 0, this._a = oe;
9044
9044
  }, R.prototype._digest = function() {
9045
9045
  this._block[this._blockOffset++] = 128, this._blockOffset > 56 && (this._block.fill(0, this._blockOffset, 64), this._update(), this._blockOffset = 0), this._block.fill(0, this._blockOffset, 56), this._block.writeUInt32LE(this._length[0], 56), this._block.writeUInt32LE(this._length[1], 60), this._update();
9046
9046
  var z = v.alloc ? v.alloc(20) : new v(20);
@@ -9049,20 +9049,20 @@ function requireRipemd160$1() {
9049
9049
  function q(z, G) {
9050
9050
  return z << G | z >>> 32 - G;
9051
9051
  }
9052
- function C(z, G, Q, ee, qe, $e, ze, et) {
9053
- return q(z + (G ^ Q ^ ee) + $e + ze | 0, et) + qe | 0;
9052
+ function C(z, G, Q, ee, qe, $e, ze, tt) {
9053
+ return q(z + (G ^ Q ^ ee) + $e + ze | 0, tt) + qe | 0;
9054
9054
  }
9055
- function k(z, G, Q, ee, qe, $e, ze, et) {
9056
- return q(z + (G & Q | ~G & ee) + $e + ze | 0, et) + qe | 0;
9055
+ function k(z, G, Q, ee, qe, $e, ze, tt) {
9056
+ return q(z + (G & Q | ~G & ee) + $e + ze | 0, tt) + qe | 0;
9057
9057
  }
9058
- function $(z, G, Q, ee, qe, $e, ze, et) {
9059
- return q(z + ((G | ~Q) ^ ee) + $e + ze | 0, et) + qe | 0;
9058
+ function $(z, G, Q, ee, qe, $e, ze, tt) {
9059
+ return q(z + ((G | ~Q) ^ ee) + $e + ze | 0, tt) + qe | 0;
9060
9060
  }
9061
- function D(z, G, Q, ee, qe, $e, ze, et) {
9062
- return q(z + (G & ee | Q & ~ee) + $e + ze | 0, et) + qe | 0;
9061
+ function D(z, G, Q, ee, qe, $e, ze, tt) {
9062
+ return q(z + (G & ee | Q & ~ee) + $e + ze | 0, tt) + qe | 0;
9063
9063
  }
9064
- function H(z, G, Q, ee, qe, $e, ze, et) {
9065
- return q(z + (G ^ (Q | ~ee)) + $e + ze | 0, et) + qe | 0;
9064
+ function H(z, G, Q, ee, qe, $e, ze, tt) {
9065
+ return q(z + (G ^ (Q | ~ee)) + $e + ze | 0, tt) + qe | 0;
9066
9066
  }
9067
9067
  return ripemd160$1 = R, ripemd160$1;
9068
9068
  }
@@ -9344,8 +9344,8 @@ function requireSha256() {
9344
9344
  for (; $e < 64; ++$e)
9345
9345
  k[$e] = q(k[$e - 2]) + k[$e - 7] + R(k[$e - 15]) + k[$e - 16] | 0;
9346
9346
  for (var ze = 0; ze < 64; ++ze) {
9347
- var et = qe + x(G) + T(G, Q, ee) + _[ze] + k[ze] | 0, rt = P($) + M($, D, H) | 0;
9348
- qe = ee, ee = Q, Q = G, G = z + et | 0, z = H, H = D, D = $, $ = et + rt | 0;
9347
+ var tt = qe + x(G) + T(G, Q, ee) + _[ze] + k[ze] | 0, rt = P($) + M($, D, H) | 0;
9348
+ qe = ee, ee = Q, Q = G, G = z + tt | 0, z = H, H = D, D = $, $ = tt + rt | 0;
9349
9349
  }
9350
9350
  this._a = $ + this._a | 0, this._b = D + this._b | 0, this._c = H + this._c | 0, this._d = z + this._d | 0, this._e = G + this._e | 0, this._f = Q + this._f | 0, this._g = ee + this._g | 0, this._h = qe + this._h | 0;
9351
9351
  }, A.prototype._hash = function() {
@@ -9568,7 +9568,7 @@ function requireSha512() {
9568
9568
  return D >>> 0 < H >>> 0 ? 1 : 0;
9569
9569
  }
9570
9570
  return A.prototype._update = function(D) {
9571
- for (var H = this._w, z = this._ah | 0, G = this._bh | 0, Q = this._ch | 0, ee = this._dh | 0, qe = this._eh | 0, $e = this._fh | 0, ze = this._gh | 0, et = this._hh | 0, rt = this._al | 0, Ct = this._bl | 0, Ve = this._cl | 0, F = this._dl | 0, K = this._el | 0, L = this._fl | 0, J = this._gl | 0, oe = this._hl | 0, te = 0; te < 32; te += 2)
9571
+ for (var H = this._w, z = this._ah | 0, G = this._bh | 0, Q = this._ch | 0, ee = this._dh | 0, qe = this._eh | 0, $e = this._fh | 0, ze = this._gh | 0, tt = this._hh | 0, rt = this._al | 0, Ct = this._bl | 0, Ve = this._cl | 0, F = this._dl | 0, K = this._el | 0, L = this._fl | 0, J = this._gl | 0, oe = this._hl | 0, te = 0; te < 32; te += 2)
9572
9572
  H[te] = D.readInt32BE(te * 4), H[te + 1] = D.readInt32BE(te * 4 + 4);
9573
9573
  for (; te < 160; te += 2) {
9574
9574
  var he = H[te - 30], ne = H[te - 30 + 1], Y = R(he, ne), ce = q(ne, he);
@@ -9578,12 +9578,12 @@ function requireSha512() {
9578
9578
  }
9579
9579
  for (var st = 0; st < 160; st += 2) {
9580
9580
  Xe = H[st], Oe = H[st + 1];
9581
- var Fe = M(z, G, Q), je = M(rt, Ct, Ve), vt = P(z, rt), Jt = P(rt, z), ur = x(qe, K), fr = x(K, qe), yr = _[st], br = _[st + 1], Ht = T(qe, $e, ze), qr = T(K, L, J), dr = oe + fr | 0, _r = et + ur + $(dr, oe) | 0;
9581
+ var Fe = M(z, G, Q), je = M(rt, Ct, Ve), vt = P(z, rt), Jt = P(rt, z), ur = x(qe, K), fr = x(K, qe), yr = _[st], br = _[st + 1], Ht = T(qe, $e, ze), qr = T(K, L, J), dr = oe + fr | 0, _r = tt + ur + $(dr, oe) | 0;
9582
9582
  dr = dr + qr | 0, _r = _r + Ht + $(dr, qr) | 0, dr = dr + br | 0, _r = _r + yr + $(dr, br) | 0, dr = dr + Oe | 0, _r = _r + Xe + $(dr, Oe) | 0;
9583
9583
  var Er = Jt + je | 0, lt = vt + Fe + $(Er, Jt) | 0;
9584
- et = ze, oe = J, ze = $e, J = L, $e = qe, L = K, K = F + dr | 0, qe = ee + _r + $(K, F) | 0, ee = Q, F = Ve, Q = G, Ve = Ct, G = z, Ct = rt, rt = dr + Er | 0, z = _r + lt + $(rt, dr) | 0;
9584
+ tt = ze, oe = J, ze = $e, J = L, $e = qe, L = K, K = F + dr | 0, qe = ee + _r + $(K, F) | 0, ee = Q, F = Ve, Q = G, Ve = Ct, G = z, Ct = rt, rt = dr + Er | 0, z = _r + lt + $(rt, dr) | 0;
9585
9585
  }
9586
- this._al = this._al + rt | 0, this._bl = this._bl + Ct | 0, this._cl = this._cl + Ve | 0, this._dl = this._dl + F | 0, this._el = this._el + K | 0, this._fl = this._fl + L | 0, this._gl = this._gl + J | 0, this._hl = this._hl + oe | 0, this._ah = this._ah + z + $(this._al, rt) | 0, this._bh = this._bh + G + $(this._bl, Ct) | 0, this._ch = this._ch + Q + $(this._cl, Ve) | 0, this._dh = this._dh + ee + $(this._dl, F) | 0, this._eh = this._eh + qe + $(this._el, K) | 0, this._fh = this._fh + $e + $(this._fl, L) | 0, this._gh = this._gh + ze + $(this._gl, J) | 0, this._hh = this._hh + et + $(this._hl, oe) | 0;
9586
+ this._al = this._al + rt | 0, this._bl = this._bl + Ct | 0, this._cl = this._cl + Ve | 0, this._dl = this._dl + F | 0, this._el = this._el + K | 0, this._fl = this._fl + L | 0, this._gl = this._gl + J | 0, this._hl = this._hl + oe | 0, this._ah = this._ah + z + $(this._al, rt) | 0, this._bh = this._bh + G + $(this._bl, Ct) | 0, this._ch = this._ch + Q + $(this._cl, Ve) | 0, this._dh = this._dh + ee + $(this._dl, F) | 0, this._eh = this._eh + qe + $(this._el, K) | 0, this._fh = this._fh + $e + $(this._fl, L) | 0, this._gh = this._gh + ze + $(this._gl, J) | 0, this._hh = this._hh + tt + $(this._hl, oe) | 0;
9587
9587
  }, A.prototype._hash = function() {
9588
9588
  var D = E.allocUnsafe(64);
9589
9589
  function H(z, G, Q) {
@@ -10031,11 +10031,11 @@ function requireSyncBrowser() {
10031
10031
  var Q = (G || "sha1").toLowerCase(), ee = x[Q] || Q, qe = P[ee];
10032
10032
  if (typeof qe != "number" || !qe)
10033
10033
  throw new TypeError("Digest algorithm not supported: " + G);
10034
- var $e = new C(ee, $, D.length), ze = _.allocUnsafe(z), et = _.allocUnsafe(D.length + 4);
10035
- D.copy(et, 0, 0, D.length);
10034
+ var $e = new C(ee, $, D.length), ze = _.allocUnsafe(z), tt = _.allocUnsafe(D.length + 4);
10035
+ D.copy(tt, 0, 0, D.length);
10036
10036
  for (var rt = 0, Ct = qe, Ve = Math.ceil(z / Ct), F = 1; F <= Ve; F++) {
10037
- et.writeUInt32BE(F, D.length);
10038
- for (var K = $e.run(et, $e.ipad1), L = K, J = 1; J < H; J++) {
10037
+ tt.writeUInt32BE(F, D.length);
10038
+ for (var K = $e.run(tt, $e.ipad1), L = K, J = 1; J < H; J++) {
10039
10039
  L = $e.run(L, $e.ipad2);
10040
10040
  for (var oe = 0; oe < Ct; oe++)
10041
10041
  K[oe] ^= L[oe];
@@ -11279,9 +11279,9 @@ function requireAes() {
11279
11279
  M[P] = 0;
11280
11280
  }
11281
11281
  function _(M, P, x, R, q) {
11282
- for (var C = x[0], k = x[1], $ = x[2], D = x[3], H = M[0] ^ P[0], z = M[1] ^ P[1], G = M[2] ^ P[2], Q = M[3] ^ P[3], ee, qe, $e, ze, et = 4, rt = 1; rt < q; rt++)
11283
- ee = C[H >>> 24] ^ k[z >>> 16 & 255] ^ $[G >>> 8 & 255] ^ D[Q & 255] ^ P[et++], qe = C[z >>> 24] ^ k[G >>> 16 & 255] ^ $[Q >>> 8 & 255] ^ D[H & 255] ^ P[et++], $e = C[G >>> 24] ^ k[Q >>> 16 & 255] ^ $[H >>> 8 & 255] ^ D[z & 255] ^ P[et++], ze = C[Q >>> 24] ^ k[H >>> 16 & 255] ^ $[z >>> 8 & 255] ^ D[G & 255] ^ P[et++], H = ee, z = qe, G = $e, Q = ze;
11284
- return ee = (R[H >>> 24] << 24 | R[z >>> 16 & 255] << 16 | R[G >>> 8 & 255] << 8 | R[Q & 255]) ^ P[et++], qe = (R[z >>> 24] << 24 | R[G >>> 16 & 255] << 16 | R[Q >>> 8 & 255] << 8 | R[H & 255]) ^ P[et++], $e = (R[G >>> 24] << 24 | R[Q >>> 16 & 255] << 16 | R[H >>> 8 & 255] << 8 | R[z & 255]) ^ P[et++], ze = (R[Q >>> 24] << 24 | R[H >>> 16 & 255] << 16 | R[z >>> 8 & 255] << 8 | R[G & 255]) ^ P[et++], ee = ee >>> 0, qe = qe >>> 0, $e = $e >>> 0, ze = ze >>> 0, [ee, qe, $e, ze];
11282
+ for (var C = x[0], k = x[1], $ = x[2], D = x[3], H = M[0] ^ P[0], z = M[1] ^ P[1], G = M[2] ^ P[2], Q = M[3] ^ P[3], ee, qe, $e, ze, tt = 4, rt = 1; rt < q; rt++)
11283
+ ee = C[H >>> 24] ^ k[z >>> 16 & 255] ^ $[G >>> 8 & 255] ^ D[Q & 255] ^ P[tt++], qe = C[z >>> 24] ^ k[G >>> 16 & 255] ^ $[Q >>> 8 & 255] ^ D[H & 255] ^ P[tt++], $e = C[G >>> 24] ^ k[Q >>> 16 & 255] ^ $[H >>> 8 & 255] ^ D[z & 255] ^ P[tt++], ze = C[Q >>> 24] ^ k[H >>> 16 & 255] ^ $[z >>> 8 & 255] ^ D[G & 255] ^ P[tt++], H = ee, z = qe, G = $e, Q = ze;
11284
+ return ee = (R[H >>> 24] << 24 | R[z >>> 16 & 255] << 16 | R[G >>> 8 & 255] << 8 | R[Q & 255]) ^ P[tt++], qe = (R[z >>> 24] << 24 | R[G >>> 16 & 255] << 16 | R[Q >>> 8 & 255] << 8 | R[H & 255]) ^ P[tt++], $e = (R[G >>> 24] << 24 | R[Q >>> 16 & 255] << 16 | R[H >>> 8 & 255] << 8 | R[z & 255]) ^ P[tt++], ze = (R[Q >>> 24] << 24 | R[H >>> 16 & 255] << 16 | R[z >>> 8 & 255] << 8 | R[G & 255]) ^ P[tt++], ee = ee >>> 0, qe = qe >>> 0, $e = $e >>> 0, ze = ze >>> 0, [ee, qe, $e, ze];
11285
11285
  }
11286
11286
  var B = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], A = (function() {
11287
11287
  for (var M = new Array(256), P = 0; P < 256; P++)
@@ -12660,14 +12660,14 @@ function requireBn$1() {
12660
12660
  );
12661
12661
  }
12662
12662
  B(ze, ee);
12663
- function et() {
12663
+ function tt() {
12664
12664
  ee.call(
12665
12665
  this,
12666
12666
  "25519",
12667
12667
  "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"
12668
12668
  );
12669
12669
  }
12670
- B(et, ee), et.prototype.imulK = function(F) {
12670
+ B(tt, ee), tt.prototype.imulK = function(F) {
12671
12671
  for (var K = 0, L = 0; L < F.length; L++) {
12672
12672
  var J = (F.words[L] | 0) * 19 + K, oe = J & 67108863;
12673
12673
  J >>>= 26, F.words[L] = oe, K = J;
@@ -12683,7 +12683,7 @@ function requireBn$1() {
12683
12683
  else if (F === "p192")
12684
12684
  K = new ze();
12685
12685
  else if (F === "p25519")
12686
- K = new et();
12686
+ K = new tt();
12687
12687
  else
12688
12688
  throw new Error("Unknown prime " + F);
12689
12689
  return Q[F] = K, K;
@@ -13417,10 +13417,10 @@ function require_stream_writable() {
13417
13417
  if ($e(ne), he) qe(te, ne, Y, he, ce);
13418
13418
  else {
13419
13419
  var X = Ve(ne);
13420
- !X && !ne.corked && !ne.bufferProcessing && ne.bufferedRequest && Ct(te, ne), Y ? E(et, te, ne, X, ce) : et(te, ne, X, ce);
13420
+ !X && !ne.corked && !ne.bufferProcessing && ne.bufferedRequest && Ct(te, ne), Y ? E(tt, te, ne, X, ce) : tt(te, ne, X, ce);
13421
13421
  }
13422
13422
  }
13423
- function et(te, he, ne, Y) {
13423
+ function tt(te, he, ne, Y) {
13424
13424
  ne || rt(te, he), he.pendingcb--, Y(), L(te, he);
13425
13425
  }
13426
13426
  function rt(te, he) {
@@ -13619,11 +13619,11 @@ function require_stream_readable() {
13619
13619
  return $ || ($ = requireString_decoder().StringDecoder), this._readableState.decoder = new $(Ae), this._readableState.encoding = Ae, this;
13620
13620
  };
13621
13621
  var ze = 8388608;
13622
- function et(Ae) {
13622
+ function tt(Ae) {
13623
13623
  return Ae >= ze ? Ae = ze : (Ae--, Ae |= Ae >>> 1, Ae |= Ae >>> 2, Ae |= Ae >>> 4, Ae |= Ae >>> 8, Ae |= Ae >>> 16, Ae++), Ae;
13624
13624
  }
13625
13625
  function rt(Ae, Oe) {
13626
- return Ae <= 0 || Oe.length === 0 && Oe.ended ? 0 : Oe.objectMode ? 1 : Ae !== Ae ? Oe.flowing && Oe.length ? Oe.buffer.head.data.length : Oe.length : (Ae > Oe.highWaterMark && (Oe.highWaterMark = et(Ae)), Ae <= Oe.length ? Ae : Oe.ended ? Oe.length : (Oe.needReadable = !0, 0));
13626
+ return Ae <= 0 || Oe.length === 0 && Oe.ended ? 0 : Oe.objectMode ? 1 : Ae !== Ae ? Oe.flowing && Oe.length ? Oe.buffer.head.data.length : Oe.length : (Ae > Oe.highWaterMark && (Oe.highWaterMark = tt(Ae)), Ae <= Oe.length ? Ae : Oe.ended ? Oe.length : (Oe.needReadable = !0, 0));
13627
13627
  }
13628
13628
  G.prototype.read = function(Ae) {
13629
13629
  q("read", Ae), Ae = parseInt(Ae, 10);
@@ -14891,14 +14891,14 @@ function requireBn() {
14891
14891
  }
14892
14892
  return L.words[L.length - 1] === 0 && (L.length--, L.words[L.length - 1] === 0 && L.length--), L;
14893
14893
  };
14894
- function et() {
14894
+ function tt() {
14895
14895
  $e.call(
14896
14896
  this,
14897
14897
  "p224",
14898
14898
  "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"
14899
14899
  );
14900
14900
  }
14901
- B(et, $e);
14901
+ B(tt, $e);
14902
14902
  function rt() {
14903
14903
  $e.call(
14904
14904
  this,
@@ -14926,7 +14926,7 @@ function requireBn() {
14926
14926
  if (L === "k256")
14927
14927
  J = new ze();
14928
14928
  else if (L === "p224")
14929
- J = new et();
14929
+ J = new tt();
14930
14930
  else if (L === "p192")
14931
14931
  J = new rt();
14932
14932
  else if (L === "p25519")
@@ -15241,7 +15241,7 @@ function requireBase$1() {
15241
15241
  /* 7 */
15242
15242
  ];
15243
15243
  x[qe].y.cmp(x[$e].y) === 0 ? (ze[1] = x[qe].add(x[$e]), ze[2] = x[qe].toJ().mixedAdd(x[$e].neg())) : x[qe].y.cmp(x[$e].y.redNeg()) === 0 ? (ze[1] = x[qe].toJ().mixedAdd(x[$e]), ze[2] = x[qe].add(x[$e].neg())) : (ze[1] = x[qe].toJ().mixedAdd(x[$e]), ze[2] = x[qe].toJ().mixedAdd(x[$e].neg()));
15244
- var et = [
15244
+ var tt = [
15245
15245
  -3,
15246
15246
  /* -1 -1 */
15247
15247
  -1,
@@ -15263,7 +15263,7 @@ function requireBase$1() {
15263
15263
  ], rt = _(R[qe], R[$e]);
15264
15264
  for (H = Math.max(rt[0].length, H), D[qe] = new Array(H), D[$e] = new Array(H), G = 0; G < H; G++) {
15265
15265
  var Ct = rt[0][G] | 0, Ve = rt[1][G] | 0;
15266
- D[qe][G] = et[(Ct + 1) * 3 + (Ve + 1)], D[$e][G] = 0, $[qe] = ze;
15266
+ D[qe][G] = tt[(Ct + 1) * 3 + (Ve + 1)], D[$e][G] = 0, $[qe] = ze;
15267
15267
  }
15268
15268
  }
15269
15269
  var F = this.jpoint(null, null, null), K = this._wnafT4;
@@ -15396,13 +15396,13 @@ function requireShort() {
15396
15396
  var R = x === this.p ? this.red : e.mont(x), q = new e(2).toRed(R).redInvm(), C = q.redNeg(), k = new e(3).toRed(R).redNeg().redSqrt().redMul(q), $ = C.redAdd(k).fromRed(), D = C.redSub(k).fromRed();
15397
15397
  return [$, D];
15398
15398
  }, A.prototype._getEndoBasis = function(x) {
15399
- for (var R = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), q = x, C = this.n.clone(), k = new e(1), $ = new e(0), D = new e(0), H = new e(1), z, G, Q, ee, qe, $e, ze, et = 0, rt, Ct; q.cmpn(0) !== 0; ) {
15399
+ for (var R = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), q = x, C = this.n.clone(), k = new e(1), $ = new e(0), D = new e(0), H = new e(1), z, G, Q, ee, qe, $e, ze, tt = 0, rt, Ct; q.cmpn(0) !== 0; ) {
15400
15400
  var Ve = C.div(q);
15401
15401
  rt = C.sub(Ve.mul(q)), Ct = D.sub(Ve.mul(k));
15402
15402
  var F = H.sub(Ve.mul($));
15403
15403
  if (!Q && rt.cmp(R) < 0)
15404
15404
  z = ze.neg(), G = k, Q = rt.neg(), ee = Ct;
15405
- else if (Q && ++et === 2)
15405
+ else if (Q && ++tt === 2)
15406
15406
  break;
15407
15407
  ze = rt, C = q, q = rt, D = k, k = Ct, H = $, $ = F;
15408
15408
  }
@@ -15613,10 +15613,10 @@ function requireShort() {
15613
15613
  }
15614
15614
  var C = this.curve.a, k = this.curve.tinv, $ = this.x, D = this.y, H = this.z, z = H.redSqr().redSqr(), G = D.redAdd(D);
15615
15615
  for (R = 0; R < x; R++) {
15616
- var Q = $.redSqr(), ee = G.redSqr(), qe = ee.redSqr(), $e = Q.redAdd(Q).redIAdd(Q).redIAdd(C.redMul(z)), ze = $.redMul(ee), et = $e.redSqr().redISub(ze.redAdd(ze)), rt = ze.redISub(et), Ct = $e.redMul(rt);
15616
+ var Q = $.redSqr(), ee = G.redSqr(), qe = ee.redSqr(), $e = Q.redAdd(Q).redIAdd(Q).redIAdd(C.redMul(z)), ze = $.redMul(ee), tt = $e.redSqr().redISub(ze.redAdd(ze)), rt = ze.redISub(tt), Ct = $e.redMul(rt);
15617
15617
  Ct = Ct.redIAdd(Ct).redISub(qe);
15618
15618
  var Ve = G.redMul(H);
15619
- R + 1 < x && (z = z.redMul(qe)), $ = et, H = Ve, G = Ct;
15619
+ R + 1 < x && (z = z.redMul(qe)), $ = tt, H = Ve, G = Ct;
15620
15620
  }
15621
15621
  return this.curve.jpoint($, G.redMul(k), H);
15622
15622
  }, M.prototype.dbl = function() {
@@ -15631,8 +15631,8 @@ function requireShort() {
15631
15631
  } else {
15632
15632
  var Q = this.x.redSqr(), ee = this.y.redSqr(), qe = ee.redSqr(), $e = this.x.redAdd(ee).redSqr().redISub(Q).redISub(qe);
15633
15633
  $e = $e.redIAdd($e);
15634
- var ze = Q.redAdd(Q).redIAdd(Q), et = ze.redSqr(), rt = qe.redIAdd(qe);
15635
- rt = rt.redIAdd(rt), rt = rt.redIAdd(rt), x = et.redISub($e).redISub($e), R = ze.redMul($e.redISub(x)).redISub(rt), q = this.y.redMul(this.z), q = q.redIAdd(q);
15634
+ var ze = Q.redAdd(Q).redIAdd(Q), tt = ze.redSqr(), rt = qe.redIAdd(qe);
15635
+ rt = rt.redIAdd(rt), rt = rt.redIAdd(rt), x = tt.redISub($e).redISub($e), R = ze.redMul($e.redISub(x)).redISub(rt), q = this.y.redMul(this.z), q = q.redIAdd(q);
15636
15636
  }
15637
15637
  return this.curve.jpoint(x, R, q);
15638
15638
  }, M.prototype._threeDbl = function() {
@@ -15649,8 +15649,8 @@ function requireShort() {
15649
15649
  $e = $e.redAdd($e).redIAdd($e);
15650
15650
  var ze = qe.redIAdd(qe);
15651
15651
  ze = ze.redIAdd(ze);
15652
- var et = ze.redAdd(ze);
15653
- x = $e.redSqr().redISub(et), q = this.y.redAdd(this.z).redSqr().redISub(ee).redISub(Q);
15652
+ var tt = ze.redAdd(ze);
15653
+ x = $e.redSqr().redISub(tt), q = this.y.redAdd(this.z).redSqr().redISub(ee).redISub(Q);
15654
15654
  var rt = ee.redSqr();
15655
15655
  rt = rt.redIAdd(rt), rt = rt.redIAdd(rt), rt = rt.redIAdd(rt), R = $e.redMul(ze.redISub(x)).redISub(rt);
15656
15656
  }
@@ -16019,11 +16019,11 @@ function requireUtils$1() {
16019
16019
  return X >>> 0;
16020
16020
  }
16021
16021
  utils.sum64_5_lo = ze;
16022
- function et(F, K, L) {
16022
+ function tt(F, K, L) {
16023
16023
  var J = K << 32 - L | F >>> L;
16024
16024
  return J >>> 0;
16025
16025
  }
16026
- utils.rotr64_hi = et;
16026
+ utils.rotr64_hi = tt;
16027
16027
  function rt(F, K, L) {
16028
16028
  var J = F << 32 - L | K >>> L;
16029
16029
  return J >>> 0;
@@ -16241,12 +16241,12 @@ function require_256() {
16241
16241
  Q[ee] = z[G + ee];
16242
16242
  for (; ee < Q.length; ee++)
16243
16243
  Q[ee] = A(C(Q[ee - 2]), Q[ee - 7], q(Q[ee - 15]), Q[ee - 16]);
16244
- var qe = this.h[0], $e = this.h[1], ze = this.h[2], et = this.h[3], rt = this.h[4], Ct = this.h[5], Ve = this.h[6], F = this.h[7];
16244
+ var qe = this.h[0], $e = this.h[1], ze = this.h[2], tt = this.h[3], rt = this.h[4], Ct = this.h[5], Ve = this.h[6], F = this.h[7];
16245
16245
  for (_(this.k.length === Q.length), ee = 0; ee < Q.length; ee++) {
16246
16246
  var K = T(F, R(rt), M(rt, Ct, Ve), this.k[ee], Q[ee]), L = B(x(qe), P(qe, $e, ze));
16247
- F = Ve, Ve = Ct, Ct = rt, rt = B(et, K), et = ze, ze = $e, $e = qe, qe = B(K, L);
16247
+ F = Ve, Ve = Ct, Ct = rt, rt = B(tt, K), tt = ze, ze = $e, $e = qe, qe = B(K, L);
16248
16248
  }
16249
- this.h[0] = B(this.h[0], qe), this.h[1] = B(this.h[1], $e), this.h[2] = B(this.h[2], ze), this.h[3] = B(this.h[3], et), this.h[4] = B(this.h[4], rt), this.h[5] = B(this.h[5], Ct), this.h[6] = B(this.h[6], Ve), this.h[7] = B(this.h[7], F);
16249
+ this.h[0] = B(this.h[0], qe), this.h[1] = B(this.h[1], $e), this.h[2] = B(this.h[2], ze), this.h[3] = B(this.h[3], tt), this.h[4] = B(this.h[4], rt), this.h[5] = B(this.h[5], Ct), this.h[6] = B(this.h[6], Ve), this.h[7] = B(this.h[7], F);
16250
16250
  }, D.prototype._digest = function(z) {
16251
16251
  return z === "hex" ? v.toHex32(this.h, "big") : v.split32(this.h, "big");
16252
16252
  }, _256;
@@ -16492,7 +16492,7 @@ function require_512() {
16492
16492
  var oe = this.W, te = this.h[0], he = this.h[1], ne = this.h[2], Y = this.h[3], ce = this.h[4], X = this.h[5], Ie = this.h[6], He = this.h[7], Ye = this.h[8], Ne = this.h[9], Ae = this.h[10], Oe = this.h[11], Xe = this.h[12], st = this.h[13], Fe = this.h[14], je = this.h[15];
16493
16493
  E(this.k.length === oe.length);
16494
16494
  for (var vt = 0; vt < oe.length; vt += 2) {
16495
- var Jt = Fe, ur = je, fr = ze(Ye, Ne), yr = et(Ye, Ne), br = z(Ye, Ne, Ae, Oe, Xe), Ht = G(Ye, Ne, Ae, Oe, Xe, st), qr = this.k[vt], dr = this.k[vt + 1], _r = oe[vt], Er = oe[vt + 1], lt = C(
16495
+ var Jt = Fe, ur = je, fr = ze(Ye, Ne), yr = tt(Ye, Ne), br = z(Ye, Ne, Ae, Oe, Xe), Ht = G(Ye, Ne, Ae, Oe, Xe, st), qr = this.k[vt], dr = this.k[vt + 1], _r = oe[vt], Er = oe[vt + 1], lt = C(
16496
16496
  Jt,
16497
16497
  ur,
16498
16498
  fr,
@@ -16551,7 +16551,7 @@ function require_512() {
16551
16551
  var J = _(K, L, 14), oe = _(K, L, 18), te = _(L, K, 9), he = J ^ oe ^ te;
16552
16552
  return he < 0 && (he += 4294967296), he;
16553
16553
  }
16554
- function et(K, L) {
16554
+ function tt(K, L) {
16555
16555
  var J = B(K, L, 14), oe = B(K, L, 18), te = B(L, K, 9), he = J ^ oe ^ te;
16556
16556
  return he < 0 && (he += 4294967296), he;
16557
16557
  }
@@ -16619,7 +16619,7 @@ function requireRipemd() {
16619
16619
  T.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little";
16620
16620
  }
16621
16621
  v.inherits(M, T), ripemd.ripemd160 = M, M.blockSize = 512, M.outSize = 160, M.hmacStrength = 192, M.padLength = 64, M.prototype._update = function(H, z) {
16622
- for (var G = this.h[0], Q = this.h[1], ee = this.h[2], qe = this.h[3], $e = this.h[4], ze = G, et = Q, rt = ee, Ct = qe, Ve = $e, F = 0; F < 80; F++) {
16622
+ for (var G = this.h[0], Q = this.h[1], ee = this.h[2], qe = this.h[3], $e = this.h[4], ze = G, tt = Q, rt = ee, Ct = qe, Ve = $e, F = 0; F < 80; F++) {
16623
16623
  var K = _(
16624
16624
  E(
16625
16625
  A(G, P(F, Q, ee, qe), H[q[F] + z], x(F)),
@@ -16629,13 +16629,13 @@ function requireRipemd() {
16629
16629
  );
16630
16630
  G = $e, $e = qe, qe = E(ee, 10), ee = Q, Q = K, K = _(
16631
16631
  E(
16632
- A(ze, P(79 - F, et, rt, Ct), H[C[F] + z], R(F)),
16632
+ A(ze, P(79 - F, tt, rt, Ct), H[C[F] + z], R(F)),
16633
16633
  $[F]
16634
16634
  ),
16635
16635
  Ve
16636
- ), ze = Ve, Ve = Ct, Ct = E(rt, 10), rt = et, et = K;
16636
+ ), ze = Ve, Ve = Ct, Ct = E(rt, 10), rt = tt, tt = K;
16637
16637
  }
16638
- K = B(this.h[1], ee, Ct), this.h[1] = B(this.h[2], qe, Ve), this.h[2] = B(this.h[3], $e, ze), this.h[3] = B(this.h[4], G, et), this.h[4] = B(this.h[0], Q, rt), this.h[0] = K;
16638
+ K = B(this.h[1], ee, Ct), this.h[1] = B(this.h[2], qe, Ve), this.h[2] = B(this.h[3], $e, ze), this.h[3] = B(this.h[4], G, tt), this.h[4] = B(this.h[0], Q, rt), this.h[0] = K;
16639
16639
  }, M.prototype._digest = function(H) {
16640
16640
  return H === "hex" ? v.toHex32(this.h, "little") : v.split32(this.h, "little");
16641
16641
  };
@@ -18175,12 +18175,12 @@ function requireEc() {
18175
18175
  if (qe = this._truncateToN(qe, !0), !(qe.cmpn(1) <= 0 || qe.cmp(Q) >= 0)) {
18176
18176
  var $e = this.g.mul(qe);
18177
18177
  if (!$e.isInfinity()) {
18178
- var ze = $e.getX(), et = ze.umod(this.n);
18179
- if (et.cmpn(0) !== 0) {
18180
- var rt = qe.invm(this.n).mul(et.mul(q.getPrivate()).iadd(R));
18178
+ var ze = $e.getX(), tt = ze.umod(this.n);
18179
+ if (tt.cmpn(0) !== 0) {
18180
+ var rt = qe.invm(this.n).mul(tt.mul(q.getPrivate()).iadd(R));
18181
18181
  if (rt = rt.umod(this.n), rt.cmpn(0) !== 0) {
18182
- var Ct = ($e.getY().isOdd() ? 1 : 0) | (ze.cmp(et) !== 0 ? 2 : 0);
18183
- return k.canonical && rt.cmp(this.nh) > 0 && (rt = this.n.sub(rt), Ct ^= 1), new M({ r: et, s: rt, recoveryParam: Ct });
18182
+ var Ct = ($e.getY().isOdd() ? 1 : 0) | (ze.cmp(tt) !== 0 ? 2 : 0);
18183
+ return k.canonical && rt.cmp(this.nh) > 0 && (rt = this.n.sub(rt), Ct ^= 1), new M({ r: tt, s: rt, recoveryParam: Ct });
18184
18184
  }
18185
18185
  }
18186
18186
  }
@@ -18802,8 +18802,8 @@ function requireNode() {
18802
18802
  }
18803
18803
  if (q && q.track && C.tag !== null && q.track(R.path(), ee, R.length, "tagged"), q && q.track && C.tag !== null && q.track(R.path(), R.offset, R.length, "content"), C.any ? k = k : C.choice === null ? k = this._decodeGeneric(C.tag, R, q) : k = this._decodeChoice(R, q), R.isError(k))
18804
18804
  return k;
18805
- if (!C.any && C.choice === null && C.children !== null && C.children.forEach(function(et) {
18806
- et._decode(R, q);
18805
+ if (!C.any && C.choice === null && C.children !== null && C.children.forEach(function(tt) {
18806
+ tt._decode(R, q);
18807
18807
  }), C.contains && (C.tag === "octstr" || C.tag === "bitstr")) {
18808
18808
  var $e = new E(k);
18809
18809
  k = this._getUse(C.contains, R._reporterState.obj)._decode($e, q);
@@ -19677,12 +19677,12 @@ function requireSign() {
19677
19677
  if (G.padding !== void 0 && G.padding !== M)
19678
19678
  throw new Error("illegal or unsupported padding mode");
19679
19679
  z = v.concat([qe, z]);
19680
- for (var ze = $e.modulus.byteLength(), et = [0, 1]; z.length + et.length + 1 < ze; )
19681
- et.push(255);
19682
- et.push(0);
19680
+ for (var ze = $e.modulus.byteLength(), tt = [0, 1]; z.length + tt.length + 1 < ze; )
19681
+ tt.push(255);
19682
+ tt.push(0);
19683
19683
  for (var rt = -1; ++rt < z.length; )
19684
- et.push(z[rt]);
19685
- var Ct = E(et, $e);
19684
+ tt.push(z[rt]);
19685
+ var Ct = E(tt, $e);
19686
19686
  return Ct;
19687
19687
  }
19688
19688
  function x(z, G) {
@@ -19693,9 +19693,9 @@ function requireSign() {
19693
19693
  return v.from($e.toDER());
19694
19694
  }
19695
19695
  function R(z, G, Q) {
19696
- for (var ee = G.params.priv_key, qe = G.params.p, $e = G.params.q, ze = G.params.g, et = new B(0), rt, Ct = k(z, $e).mod($e), Ve = !1, F = C(ee, $e, z, Q); Ve === !1; )
19697
- rt = D($e, F, Q), et = H(ze, rt, qe, $e), Ve = rt.invm($e).imul(Ct.add(ee.mul(et))).mod($e), Ve.cmpn(0) === 0 && (Ve = !1, et = new B(0));
19698
- return q(et, Ve);
19696
+ for (var ee = G.params.priv_key, qe = G.params.p, $e = G.params.q, ze = G.params.g, tt = new B(0), rt, Ct = k(z, $e).mod($e), Ve = !1, F = C(ee, $e, z, Q); Ve === !1; )
19697
+ rt = D($e, F, Q), tt = H(ze, rt, qe, $e), Ve = rt.invm($e).imul(Ct.add(ee.mul(tt))).mod($e), Ve.cmpn(0) === 0 && (Ve = !1, tt = new B(0));
19698
+ return q(tt, Ve);
19699
19699
  }
19700
19700
  function q(z, G) {
19701
19701
  z = z.toArray(), G = G.toArray(), z[0] & 128 && (z = [0].concat(z)), G[0] & 128 && (G = [0].concat(G));
@@ -19712,10 +19712,10 @@ function requireSign() {
19712
19712
  var qe = v.alloc(G.byteLength() - z.length);
19713
19713
  z = v.concat([qe, z]);
19714
19714
  }
19715
- var $e = Q.length, ze = $(Q, G), et = v.alloc($e);
19716
- et.fill(1);
19715
+ var $e = Q.length, ze = $(Q, G), tt = v.alloc($e);
19716
+ tt.fill(1);
19717
19717
  var rt = v.alloc($e);
19718
- return rt = e(ee, rt).update(et).update(v.from([0])).update(z).update(ze).digest(), et = e(ee, rt).update(et).digest(), rt = e(ee, rt).update(et).update(v.from([1])).update(z).update(ze).digest(), et = e(ee, rt).update(et).digest(), { k: rt, v: et };
19718
+ return rt = e(ee, rt).update(tt).update(v.from([0])).update(z).update(ze).digest(), tt = e(ee, rt).update(tt).digest(), rt = e(ee, rt).update(tt).update(v.from([1])).update(z).update(ze).digest(), tt = e(ee, rt).update(tt).digest(), { k: rt, v: tt };
19719
19719
  }
19720
19720
  function k(z, G) {
19721
19721
  var Q = new B(z), ee = (z.length << 3) - G.bitLength();
@@ -20241,10 +20241,10 @@ function requireJsbn() {
20241
20241
  function B() {
20242
20242
  return new _(null);
20243
20243
  }
20244
- function A(Le, We, tt, It, lr, gr) {
20244
+ function A(Le, We, et, It, lr, gr) {
20245
20245
  for (var Ar = We & 16383, Br = We >> 14; --gr >= 0; ) {
20246
20246
  var oi = this[Le] & 16383, di = this[Le++] >> 14, pi = Br * oi + di * Ar;
20247
- oi = Ar * oi + ((pi & 16383) << 14) + tt[It] + lr, lr = (oi >> 28) + (pi >> 14) + Br * di, tt[It++] = oi & 268435455;
20247
+ oi = Ar * oi + ((pi & 16383) << 14) + et[It] + lr, lr = (oi >> 28) + (pi >> 14) + Br * di, et[It++] = oi & 268435455;
20248
20248
  }
20249
20249
  return lr;
20250
20250
  }
@@ -20259,8 +20259,8 @@ function requireJsbn() {
20259
20259
  return M.charAt(Le);
20260
20260
  }
20261
20261
  function C(Le, We) {
20262
- var tt = P[Le.charCodeAt(We)];
20263
- return tt ?? -1;
20262
+ var et = P[Le.charCodeAt(We)];
20263
+ return et ?? -1;
20264
20264
  }
20265
20265
  function k(Le) {
20266
20266
  for (var We = this.t - 1; We >= 0; --We) Le[We] = this[We];
@@ -20273,7 +20273,7 @@ function requireJsbn() {
20273
20273
  var We = B();
20274
20274
  return We.fromInt(Le), We;
20275
20275
  }
20276
- function H(Le, We, tt) {
20276
+ function H(Le, We, et) {
20277
20277
  var It;
20278
20278
  switch (We) {
20279
20279
  case 2:
@@ -20307,7 +20307,7 @@ function requireJsbn() {
20307
20307
  }
20308
20308
  gr = !1, Ar === 0 ? this[this.t++] = Br : Ar + It > this.DB ? (this[this.t - 1] |= (Br & (1 << this.DB - Ar) - 1) << Ar, this[this.t++] = Br >> this.DB - Ar) : this[this.t - 1] |= Br << Ar, Ar += It, Ar >= this.DB && (Ar -= this.DB);
20309
20309
  }
20310
- !tt && It == 8 && (Le[0] & 128) != 0 && (this.s = -1, Ar > 0 && (this[this.t - 1] |= (1 << this.DB - Ar) - 1 << Ar)), this.clamp(), gr && _.ZERO.subTo(this, this);
20310
+ !et && It == 8 && (Le[0] & 128) != 0 && (this.s = -1, Ar > 0 && (this[this.t - 1] |= (1 << this.DB - Ar) - 1 << Ar)), this.clamp(), gr && _.ZERO.subTo(this, this);
20311
20311
  }
20312
20312
  function z(Le, We) {
20313
20313
  this.fromString(Le, 256, We);
@@ -20327,10 +20327,10 @@ function requireJsbn() {
20327
20327
  else if (Le == 32) We = 5;
20328
20328
  else if (Le == 4) We = 2;
20329
20329
  else return this.toRadix(Le);
20330
- var tt = (1 << We) - 1, It, lr = !1, gr = "", Ar = this.t, Br = this.DB - Ar * this.DB % We;
20330
+ var et = (1 << We) - 1, It, lr = !1, gr = "", Ar = this.t, Br = this.DB - Ar * this.DB % We;
20331
20331
  if (Ar-- > 0)
20332
20332
  for (Br < this.DB && (It = this[Ar] >> Br) > 0 && (lr = !0, gr = q(It)); Ar >= 0; )
20333
- Br < We ? (It = (this[Ar] & (1 << Br) - 1) << We - Br, It |= this[--Ar] >> (Br += this.DB - We)) : (It = this[Ar] >> (Br -= We) & tt, Br <= 0 && (Br += this.DB, --Ar)), It > 0 && (lr = !0), lr && (gr += q(It));
20333
+ Br < We ? (It = (this[Ar] & (1 << Br) - 1) << We - Br, It |= this[--Ar] >> (Br += this.DB - We)) : (It = this[Ar] >> (Br -= We) & et, Br <= 0 && (Br += this.DB, --Ar)), It > 0 && (lr = !0), lr && (gr += q(It));
20334
20334
  return lr ? gr : "0";
20335
20335
  }
20336
20336
  function qe() {
@@ -20343,97 +20343,97 @@ function requireJsbn() {
20343
20343
  function ze(Le) {
20344
20344
  var We = this.s - Le.s;
20345
20345
  if (We != 0) return We;
20346
- var tt = this.t;
20347
- if (We = tt - Le.t, We != 0) return this.s < 0 ? -We : We;
20348
- for (; --tt >= 0; ) if ((We = this[tt] - Le[tt]) != 0) return We;
20346
+ var et = this.t;
20347
+ if (We = et - Le.t, We != 0) return this.s < 0 ? -We : We;
20348
+ for (; --et >= 0; ) if ((We = this[et] - Le[et]) != 0) return We;
20349
20349
  return 0;
20350
20350
  }
20351
- function et(Le) {
20352
- var We = 1, tt;
20353
- return (tt = Le >>> 16) != 0 && (Le = tt, We += 16), (tt = Le >> 8) != 0 && (Le = tt, We += 8), (tt = Le >> 4) != 0 && (Le = tt, We += 4), (tt = Le >> 2) != 0 && (Le = tt, We += 2), (tt = Le >> 1) != 0 && (Le = tt, We += 1), We;
20351
+ function tt(Le) {
20352
+ var We = 1, et;
20353
+ return (et = Le >>> 16) != 0 && (Le = et, We += 16), (et = Le >> 8) != 0 && (Le = et, We += 8), (et = Le >> 4) != 0 && (Le = et, We += 4), (et = Le >> 2) != 0 && (Le = et, We += 2), (et = Le >> 1) != 0 && (Le = et, We += 1), We;
20354
20354
  }
20355
20355
  function rt() {
20356
- return this.t <= 0 ? 0 : this.DB * (this.t - 1) + et(this[this.t - 1] ^ this.s & this.DM);
20356
+ return this.t <= 0 ? 0 : this.DB * (this.t - 1) + tt(this[this.t - 1] ^ this.s & this.DM);
20357
20357
  }
20358
20358
  function Ct(Le, We) {
20359
- var tt;
20360
- for (tt = this.t - 1; tt >= 0; --tt) We[tt + Le] = this[tt];
20361
- for (tt = Le - 1; tt >= 0; --tt) We[tt] = 0;
20359
+ var et;
20360
+ for (et = this.t - 1; et >= 0; --et) We[et + Le] = this[et];
20361
+ for (et = Le - 1; et >= 0; --et) We[et] = 0;
20362
20362
  We.t = this.t + Le, We.s = this.s;
20363
20363
  }
20364
20364
  function Ve(Le, We) {
20365
- for (var tt = Le; tt < this.t; ++tt) We[tt - Le] = this[tt];
20365
+ for (var et = Le; et < this.t; ++et) We[et - Le] = this[et];
20366
20366
  We.t = Math.max(this.t - Le, 0), We.s = this.s;
20367
20367
  }
20368
20368
  function F(Le, We) {
20369
- var tt = Le % this.DB, It = this.DB - tt, lr = (1 << It) - 1, gr = Math.floor(Le / this.DB), Ar = this.s << tt & this.DM, Br;
20369
+ var et = Le % this.DB, It = this.DB - et, lr = (1 << It) - 1, gr = Math.floor(Le / this.DB), Ar = this.s << et & this.DM, Br;
20370
20370
  for (Br = this.t - 1; Br >= 0; --Br)
20371
- We[Br + gr + 1] = this[Br] >> It | Ar, Ar = (this[Br] & lr) << tt;
20371
+ We[Br + gr + 1] = this[Br] >> It | Ar, Ar = (this[Br] & lr) << et;
20372
20372
  for (Br = gr - 1; Br >= 0; --Br) We[Br] = 0;
20373
20373
  We[gr] = Ar, We.t = this.t + gr + 1, We.s = this.s, We.clamp();
20374
20374
  }
20375
20375
  function K(Le, We) {
20376
20376
  We.s = this.s;
20377
- var tt = Math.floor(Le / this.DB);
20378
- if (tt >= this.t) {
20377
+ var et = Math.floor(Le / this.DB);
20378
+ if (et >= this.t) {
20379
20379
  We.t = 0;
20380
20380
  return;
20381
20381
  }
20382
20382
  var It = Le % this.DB, lr = this.DB - It, gr = (1 << It) - 1;
20383
- We[0] = this[tt] >> It;
20384
- for (var Ar = tt + 1; Ar < this.t; ++Ar)
20385
- We[Ar - tt - 1] |= (this[Ar] & gr) << lr, We[Ar - tt] = this[Ar] >> It;
20386
- It > 0 && (We[this.t - tt - 1] |= (this.s & gr) << lr), We.t = this.t - tt, We.clamp();
20383
+ We[0] = this[et] >> It;
20384
+ for (var Ar = et + 1; Ar < this.t; ++Ar)
20385
+ We[Ar - et - 1] |= (this[Ar] & gr) << lr, We[Ar - et] = this[Ar] >> It;
20386
+ It > 0 && (We[this.t - et - 1] |= (this.s & gr) << lr), We.t = this.t - et, We.clamp();
20387
20387
  }
20388
20388
  function L(Le, We) {
20389
- for (var tt = 0, It = 0, lr = Math.min(Le.t, this.t); tt < lr; )
20390
- It += this[tt] - Le[tt], We[tt++] = It & this.DM, It >>= this.DB;
20389
+ for (var et = 0, It = 0, lr = Math.min(Le.t, this.t); et < lr; )
20390
+ It += this[et] - Le[et], We[et++] = It & this.DM, It >>= this.DB;
20391
20391
  if (Le.t < this.t) {
20392
- for (It -= Le.s; tt < this.t; )
20393
- It += this[tt], We[tt++] = It & this.DM, It >>= this.DB;
20392
+ for (It -= Le.s; et < this.t; )
20393
+ It += this[et], We[et++] = It & this.DM, It >>= this.DB;
20394
20394
  It += this.s;
20395
20395
  } else {
20396
- for (It += this.s; tt < Le.t; )
20397
- It -= Le[tt], We[tt++] = It & this.DM, It >>= this.DB;
20396
+ for (It += this.s; et < Le.t; )
20397
+ It -= Le[et], We[et++] = It & this.DM, It >>= this.DB;
20398
20398
  It -= Le.s;
20399
20399
  }
20400
- We.s = It < 0 ? -1 : 0, It < -1 ? We[tt++] = this.DV + It : It > 0 && (We[tt++] = It), We.t = tt, We.clamp();
20400
+ We.s = It < 0 ? -1 : 0, It < -1 ? We[et++] = this.DV + It : It > 0 && (We[et++] = It), We.t = et, We.clamp();
20401
20401
  }
20402
20402
  function J(Le, We) {
20403
- var tt = this.abs(), It = Le.abs(), lr = tt.t;
20403
+ var et = this.abs(), It = Le.abs(), lr = et.t;
20404
20404
  for (We.t = lr + It.t; --lr >= 0; ) We[lr] = 0;
20405
- for (lr = 0; lr < It.t; ++lr) We[lr + tt.t] = tt.am(0, It[lr], We, lr, 0, tt.t);
20405
+ for (lr = 0; lr < It.t; ++lr) We[lr + et.t] = et.am(0, It[lr], We, lr, 0, et.t);
20406
20406
  We.s = 0, We.clamp(), this.s != Le.s && _.ZERO.subTo(We, We);
20407
20407
  }
20408
20408
  function oe(Le) {
20409
- for (var We = this.abs(), tt = Le.t = 2 * We.t; --tt >= 0; ) Le[tt] = 0;
20410
- for (tt = 0; tt < We.t - 1; ++tt) {
20411
- var It = We.am(tt, We[tt], Le, 2 * tt, 0, 1);
20412
- (Le[tt + We.t] += We.am(tt + 1, 2 * We[tt], Le, 2 * tt + 1, It, We.t - tt - 1)) >= We.DV && (Le[tt + We.t] -= We.DV, Le[tt + We.t + 1] = 1);
20409
+ for (var We = this.abs(), et = Le.t = 2 * We.t; --et >= 0; ) Le[et] = 0;
20410
+ for (et = 0; et < We.t - 1; ++et) {
20411
+ var It = We.am(et, We[et], Le, 2 * et, 0, 1);
20412
+ (Le[et + We.t] += We.am(et + 1, 2 * We[et], Le, 2 * et + 1, It, We.t - et - 1)) >= We.DV && (Le[et + We.t] -= We.DV, Le[et + We.t + 1] = 1);
20413
20413
  }
20414
- Le.t > 0 && (Le[Le.t - 1] += We.am(tt, We[tt], Le, 2 * tt, 0, 1)), Le.s = 0, Le.clamp();
20414
+ Le.t > 0 && (Le[Le.t - 1] += We.am(et, We[et], Le, 2 * et, 0, 1)), Le.s = 0, Le.clamp();
20415
20415
  }
20416
- function te(Le, We, tt) {
20416
+ function te(Le, We, et) {
20417
20417
  var It = Le.abs();
20418
20418
  if (!(It.t <= 0)) {
20419
20419
  var lr = this.abs();
20420
20420
  if (lr.t < It.t) {
20421
- We?.fromInt(0), tt != null && this.copyTo(tt);
20421
+ We?.fromInt(0), et != null && this.copyTo(et);
20422
20422
  return;
20423
20423
  }
20424
- tt == null && (tt = B());
20425
- var gr = B(), Ar = this.s, Br = Le.s, oi = this.DB - et(It[It.t - 1]);
20426
- oi > 0 ? (It.lShiftTo(oi, gr), lr.lShiftTo(oi, tt)) : (It.copyTo(gr), lr.copyTo(tt));
20424
+ et == null && (et = B());
20425
+ var gr = B(), Ar = this.s, Br = Le.s, oi = this.DB - tt(It[It.t - 1]);
20426
+ oi > 0 ? (It.lShiftTo(oi, gr), lr.lShiftTo(oi, et)) : (It.copyTo(gr), lr.copyTo(et));
20427
20427
  var di = gr.t, pi = gr[di - 1];
20428
20428
  if (pi !== 0) {
20429
- var ti = pi * (1 << this.F1) + (di > 1 ? gr[di - 2] >> this.F2 : 0), wi = this.FV / ti, Bi = (1 << this.F1) / ti, si = 1 << this.F2, ai = tt.t, Pi = ai - di, Ti = We ?? B();
20430
- for (gr.dlShiftTo(Pi, Ti), tt.compareTo(Ti) >= 0 && (tt[tt.t++] = 1, tt.subTo(Ti, tt)), _.ONE.dlShiftTo(di, Ti), Ti.subTo(gr, gr); gr.t < di; ) gr[gr.t++] = 0;
20429
+ var ti = pi * (1 << this.F1) + (di > 1 ? gr[di - 2] >> this.F2 : 0), wi = this.FV / ti, Bi = (1 << this.F1) / ti, si = 1 << this.F2, ai = et.t, Pi = ai - di, Ti = We ?? B();
20430
+ for (gr.dlShiftTo(Pi, Ti), et.compareTo(Ti) >= 0 && (et[et.t++] = 1, et.subTo(Ti, et)), _.ONE.dlShiftTo(di, Ti), Ti.subTo(gr, gr); gr.t < di; ) gr[gr.t++] = 0;
20431
20431
  for (; --Pi >= 0; ) {
20432
- var Wi = tt[--ai] == pi ? this.DM : Math.floor(tt[ai] * wi + (tt[ai - 1] + si) * Bi);
20433
- if ((tt[ai] += gr.am(0, Wi, tt, Pi, 0, di)) < Wi)
20434
- for (gr.dlShiftTo(Pi, Ti), tt.subTo(Ti, tt); tt[ai] < --Wi; ) tt.subTo(Ti, tt);
20432
+ var Wi = et[--ai] == pi ? this.DM : Math.floor(et[ai] * wi + (et[ai - 1] + si) * Bi);
20433
+ if ((et[ai] += gr.am(0, Wi, et, Pi, 0, di)) < Wi)
20434
+ for (gr.dlShiftTo(Pi, Ti), et.subTo(Ti, et); et[ai] < --Wi; ) et.subTo(Ti, et);
20435
20435
  }
20436
- We != null && (tt.drShiftTo(di, We), Ar != Br && _.ZERO.subTo(We, We)), tt.t = di, tt.clamp(), oi > 0 && tt.rShiftTo(oi, tt), Ar < 0 && _.ZERO.subTo(tt, tt);
20436
+ We != null && (et.drShiftTo(di, We), Ar != Br && _.ZERO.subTo(We, We)), et.t = di, et.clamp(), oi > 0 && et.rShiftTo(oi, et), Ar < 0 && _.ZERO.subTo(et, et);
20437
20437
  }
20438
20438
  }
20439
20439
  }
@@ -20453,8 +20453,8 @@ function requireJsbn() {
20453
20453
  function X(Le) {
20454
20454
  Le.divRemTo(this.m, null, Le);
20455
20455
  }
20456
- function Ie(Le, We, tt) {
20457
- Le.multiplyTo(We, tt), this.reduce(tt);
20456
+ function Ie(Le, We, et) {
20457
+ Le.multiplyTo(We, et), this.reduce(et);
20458
20458
  }
20459
20459
  function He(Le, We) {
20460
20460
  Le.squareTo(We), this.reduce(We);
@@ -20482,17 +20482,17 @@ function requireJsbn() {
20482
20482
  for (; Le.t <= this.mt2; )
20483
20483
  Le[Le.t++] = 0;
20484
20484
  for (var We = 0; We < this.m.t; ++We) {
20485
- var tt = Le[We] & 32767, It = tt * this.mpl + ((tt * this.mph + (Le[We] >> 15) * this.mpl & this.um) << 15) & Le.DM;
20486
- for (tt = We + this.m.t, Le[tt] += this.m.am(0, It, Le, We, 0, this.m.t); Le[tt] >= Le.DV; )
20487
- Le[tt] -= Le.DV, Le[++tt]++;
20485
+ var et = Le[We] & 32767, It = et * this.mpl + ((et * this.mph + (Le[We] >> 15) * this.mpl & this.um) << 15) & Le.DM;
20486
+ for (et = We + this.m.t, Le[et] += this.m.am(0, It, Le, We, 0, this.m.t); Le[et] >= Le.DV; )
20487
+ Le[et] -= Le.DV, Le[++et]++;
20488
20488
  }
20489
20489
  Le.clamp(), Le.drShiftTo(this.m.t, Le), Le.compareTo(this.m) >= 0 && Le.subTo(this.m, Le);
20490
20490
  }
20491
20491
  function st(Le, We) {
20492
20492
  Le.squareTo(We), this.reduce(We);
20493
20493
  }
20494
- function Fe(Le, We, tt) {
20495
- Le.multiplyTo(We, tt), this.reduce(tt);
20494
+ function Fe(Le, We, et) {
20495
+ Le.multiplyTo(We, et), this.reduce(et);
20496
20496
  }
20497
20497
  Ne.prototype.convert = Ae, Ne.prototype.revert = Oe, Ne.prototype.reduce = Xe, Ne.prototype.mulTo = Fe, Ne.prototype.sqrTo = st;
20498
20498
  function je() {
@@ -20500,18 +20500,18 @@ function requireJsbn() {
20500
20500
  }
20501
20501
  function vt(Le, We) {
20502
20502
  if (Le > 4294967295 || Le < 1) return _.ONE;
20503
- var tt = B(), It = B(), lr = We.convert(this), gr = et(Le) - 1;
20504
- for (lr.copyTo(tt); --gr >= 0; )
20505
- if (We.sqrTo(tt, It), (Le & 1 << gr) > 0) We.mulTo(It, lr, tt);
20503
+ var et = B(), It = B(), lr = We.convert(this), gr = tt(Le) - 1;
20504
+ for (lr.copyTo(et); --gr >= 0; )
20505
+ if (We.sqrTo(et, It), (Le & 1 << gr) > 0) We.mulTo(It, lr, et);
20506
20506
  else {
20507
- var Ar = tt;
20508
- tt = It, It = Ar;
20507
+ var Ar = et;
20508
+ et = It, It = Ar;
20509
20509
  }
20510
- return We.revert(tt);
20510
+ return We.revert(et);
20511
20511
  }
20512
20512
  function Jt(Le, We) {
20513
- var tt;
20514
- return Le < 256 || We.isEven() ? tt = new ne(We) : tt = new Ne(We), this.exp(Le, tt);
20513
+ var et;
20514
+ return Le < 256 || We.isEven() ? et = new ne(We) : et = new Ne(We), this.exp(Le, et);
20515
20515
  }
20516
20516
  function ur() {
20517
20517
  var Le = B();
@@ -20541,20 +20541,20 @@ function requireJsbn() {
20541
20541
  }
20542
20542
  function dr(Le) {
20543
20543
  if (Le == null && (Le = 10), this.signum() === 0 || Le < 2 || Le > 36) return "0";
20544
- var We = this.chunkSize(Le), tt = Math.pow(Le, We), It = D(tt), lr = B(), gr = B(), Ar = "";
20544
+ var We = this.chunkSize(Le), et = Math.pow(Le, We), It = D(et), lr = B(), gr = B(), Ar = "";
20545
20545
  for (this.divRemTo(It, lr, gr); lr.signum() > 0; )
20546
- Ar = (tt + gr.intValue()).toString(Le).substr(1) + Ar, lr.divRemTo(It, lr, gr);
20546
+ Ar = (et + gr.intValue()).toString(Le).substr(1) + Ar, lr.divRemTo(It, lr, gr);
20547
20547
  return gr.intValue().toString(Le) + Ar;
20548
20548
  }
20549
20549
  function _r(Le, We) {
20550
20550
  this.fromInt(0), We == null && (We = 10);
20551
- for (var tt = this.chunkSize(We), It = Math.pow(We, tt), lr = !1, gr = 0, Ar = 0, Br = 0; Br < Le.length; ++Br) {
20551
+ for (var et = this.chunkSize(We), It = Math.pow(We, et), lr = !1, gr = 0, Ar = 0, Br = 0; Br < Le.length; ++Br) {
20552
20552
  var oi = C(Le, Br);
20553
20553
  if (oi < 0) {
20554
20554
  Le.charAt(Br) == "-" && this.signum() === 0 && (lr = !0);
20555
20555
  continue;
20556
20556
  }
20557
- Ar = We * Ar + oi, ++gr >= tt && (this.dMultiply(It), this.dAddOffset(Ar, 0), gr = 0, Ar = 0);
20557
+ Ar = We * Ar + oi, ++gr >= et && (this.dMultiply(It), this.dAddOffset(Ar, 0), gr = 0, Ar = 0);
20558
20558
  }
20559
20559
  gr > 0 && (this.dMultiply(Math.pow(We, gr)), this.dAddOffset(Ar, 0)), lr && _.ZERO.subTo(this, this);
20560
20560
  }
@@ -20565,17 +20565,17 @@ function requireJsbn() {
20565
20565
  for (this.fromNumber(Le), this.testBit(Le - 1) || this.bitwiseTo(_.ONE.shiftLeft(Le - 1), Se, this), this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(We); )
20566
20566
  this.dAddOffset(2, 0), this.bitLength() > Le && this.subTo(_.ONE.shiftLeft(Le - 1), this);
20567
20567
  else {
20568
- var tt = v.randomBytes((Le >> 3) + 1), It = Le & 7;
20569
- It > 0 ? tt[0] &= (1 << It) - 1 : tt[0] = 0, this.fromByteArray(tt);
20568
+ var et = v.randomBytes((Le >> 3) + 1), It = Le & 7;
20569
+ It > 0 ? et[0] &= (1 << It) - 1 : et[0] = 0, this.fromByteArray(et);
20570
20570
  }
20571
20571
  }
20572
20572
  function lt() {
20573
20573
  var Le = this.t, We = new Array();
20574
20574
  We[0] = this.s;
20575
- var tt = this.DB - Le * this.DB % 8, It, lr = 0;
20575
+ var et = this.DB - Le * this.DB % 8, It, lr = 0;
20576
20576
  if (Le-- > 0)
20577
- for (tt < this.DB && (It = this[Le] >> tt) != (this.s & this.DM) >> tt && (We[lr++] = It | this.s << this.DB - tt); Le >= 0; )
20578
- tt < 8 ? (It = (this[Le] & (1 << tt) - 1) << 8 - tt, It |= this[--Le] >> (tt += this.DB - 8)) : (It = this[Le] >> (tt -= 8) & 255, tt <= 0 && (tt += this.DB, --Le)), (It & 128) != 0 && (It |= -256), lr === 0 && (this.s & 128) != (It & 128) && ++lr, (lr > 0 || It != this.s) && (We[lr++] = It);
20577
+ for (et < this.DB && (It = this[Le] >> et) != (this.s & this.DM) >> et && (We[lr++] = It | this.s << this.DB - et); Le >= 0; )
20578
+ et < 8 ? (It = (this[Le] & (1 << et) - 1) << 8 - et, It |= this[--Le] >> (et += this.DB - 8)) : (It = this[Le] >> (et -= 8) & 255, et <= 0 && (et += this.DB, --Le)), (It & 128) != 0 && (It |= -256), lr === 0 && (this.s & 128) != (It & 128) && ++lr, (lr > 0 || It != this.s) && (We[lr++] = It);
20579
20579
  return We;
20580
20580
  }
20581
20581
  function At(Le) {
@@ -20584,8 +20584,8 @@ function requireJsbn() {
20584
20584
  We = We.slice(1);
20585
20585
  else if (e.isNumber(Le)) {
20586
20586
  if (We.length > Le) {
20587
- for (var tt = 0; tt < We.length - Le; tt++)
20588
- if (We[tt] !== 0)
20587
+ for (var et = 0; et < We.length - Le; et++)
20588
+ if (We[et] !== 0)
20589
20589
  return null;
20590
20590
  return We.slice(We.length - Le);
20591
20591
  } else if (We.length < Le) {
@@ -20604,17 +20604,17 @@ function requireJsbn() {
20604
20604
  function cr(Le) {
20605
20605
  return this.compareTo(Le) > 0 ? this : Le;
20606
20606
  }
20607
- function xr(Le, We, tt) {
20607
+ function xr(Le, We, et) {
20608
20608
  var It, lr, gr = Math.min(Le.t, this.t);
20609
- for (It = 0; It < gr; ++It) tt[It] = We(this[It], Le[It]);
20609
+ for (It = 0; It < gr; ++It) et[It] = We(this[It], Le[It]);
20610
20610
  if (Le.t < this.t) {
20611
- for (lr = Le.s & this.DM, It = gr; It < this.t; ++It) tt[It] = We(this[It], lr);
20612
- tt.t = this.t;
20611
+ for (lr = Le.s & this.DM, It = gr; It < this.t; ++It) et[It] = We(this[It], lr);
20612
+ et.t = this.t;
20613
20613
  } else {
20614
- for (lr = this.s & this.DM, It = gr; It < Le.t; ++It) tt[It] = We(lr, Le[It]);
20615
- tt.t = Le.t;
20614
+ for (lr = this.s & this.DM, It = gr; It < Le.t; ++It) et[It] = We(lr, Le[It]);
20615
+ et.t = Le.t;
20616
20616
  }
20617
- tt.s = We(this.s, Le.s), tt.clamp();
20617
+ et.s = We(this.s, Le.s), et.clamp();
20618
20618
  }
20619
20619
  function ke(Le, We) {
20620
20620
  return Le & We;
@@ -20672,7 +20672,7 @@ function requireJsbn() {
20672
20672
  return We;
20673
20673
  }
20674
20674
  function zr() {
20675
- for (var Le = 0, We = this.s & this.DM, tt = 0; tt < this.t; ++tt) Le += Hr(this[tt] ^ We);
20675
+ for (var Le = 0, We = this.s & this.DM, et = 0; et < this.t; ++et) Le += Hr(this[et] ^ We);
20676
20676
  return Le;
20677
20677
  }
20678
20678
  function Fr(Le) {
@@ -20680,8 +20680,8 @@ function requireJsbn() {
20680
20680
  return We >= this.t ? this.s != 0 : (this[We] & 1 << Le % this.DB) != 0;
20681
20681
  }
20682
20682
  function Gr(Le, We) {
20683
- var tt = _.ONE.shiftLeft(Le);
20684
- return this.bitwiseTo(tt, We, tt), tt;
20683
+ var et = _.ONE.shiftLeft(Le);
20684
+ return this.bitwiseTo(et, We, et), et;
20685
20685
  }
20686
20686
  function Jr(Le) {
20687
20687
  return this.changeBit(Le, Se);
@@ -20693,18 +20693,18 @@ function requireJsbn() {
20693
20693
  return this.changeBit(Le, yt);
20694
20694
  }
20695
20695
  function xe(Le, We) {
20696
- for (var tt = 0, It = 0, lr = Math.min(Le.t, this.t); tt < lr; )
20697
- It += this[tt] + Le[tt], We[tt++] = It & this.DM, It >>= this.DB;
20696
+ for (var et = 0, It = 0, lr = Math.min(Le.t, this.t); et < lr; )
20697
+ It += this[et] + Le[et], We[et++] = It & this.DM, It >>= this.DB;
20698
20698
  if (Le.t < this.t) {
20699
- for (It += Le.s; tt < this.t; )
20700
- It += this[tt], We[tt++] = It & this.DM, It >>= this.DB;
20699
+ for (It += Le.s; et < this.t; )
20700
+ It += this[et], We[et++] = It & this.DM, It >>= this.DB;
20701
20701
  It += this.s;
20702
20702
  } else {
20703
- for (It += this.s; tt < Le.t; )
20704
- It += Le[tt], We[tt++] = It & this.DM, It >>= this.DB;
20703
+ for (It += this.s; et < Le.t; )
20704
+ It += Le[et], We[et++] = It & this.DM, It >>= this.DB;
20705
20705
  It += Le.s;
20706
20706
  }
20707
- We.s = It < 0 ? -1 : 0, It > 0 ? We[tt++] = It : It < -1 && (We[tt++] = this.DV + It), We.t = tt, We.clamp();
20707
+ We.s = It < 0 ? -1 : 0, It > 0 ? We[et++] = It : It < -1 && (We[et++] = this.DV + It), We.t = et, We.clamp();
20708
20708
  }
20709
20709
  function Ze(Le) {
20710
20710
  var We = B();
@@ -20731,8 +20731,8 @@ function requireJsbn() {
20731
20731
  return this.divRemTo(Le, null, We), We;
20732
20732
  }
20733
20733
  function Tr(Le) {
20734
- var We = B(), tt = B();
20735
- return this.divRemTo(Le, We, tt), new Array(We, tt);
20734
+ var We = B(), et = B();
20735
+ return this.divRemTo(Le, We, et), new Array(We, et);
20736
20736
  }
20737
20737
  function Mt(Le) {
20738
20738
  this[this.t] = this.am(0, Le - 1, this, 0, 0, this.t), ++this.t, this.clamp();
@@ -20749,8 +20749,8 @@ function requireJsbn() {
20749
20749
  function Zr(Le) {
20750
20750
  return Le;
20751
20751
  }
20752
- function Kr(Le, We, tt) {
20753
- Le.multiplyTo(We, tt);
20752
+ function Kr(Le, We, et) {
20753
+ Le.multiplyTo(We, et);
20754
20754
  }
20755
20755
  function Xr(Le, We) {
20756
20756
  Le.squareTo(We);
@@ -20759,21 +20759,21 @@ function requireJsbn() {
20759
20759
  function vi(Le) {
20760
20760
  return this.exp(Le, new Ur());
20761
20761
  }
20762
- function Ei(Le, We, tt) {
20762
+ function Ei(Le, We, et) {
20763
20763
  var It = Math.min(this.t + Le.t, We);
20764
- for (tt.s = 0, tt.t = It; It > 0; ) tt[--It] = 0;
20764
+ for (et.s = 0, et.t = It; It > 0; ) et[--It] = 0;
20765
20765
  var lr;
20766
- for (lr = tt.t - this.t; It < lr; ++It) tt[It + this.t] = this.am(0, Le[It], tt, It, 0, this.t);
20767
- for (lr = Math.min(Le.t, We); It < lr; ++It) this.am(0, Le[It], tt, It, 0, We - It);
20768
- tt.clamp();
20766
+ for (lr = et.t - this.t; It < lr; ++It) et[It + this.t] = this.am(0, Le[It], et, It, 0, this.t);
20767
+ for (lr = Math.min(Le.t, We); It < lr; ++It) this.am(0, Le[It], et, It, 0, We - It);
20768
+ et.clamp();
20769
20769
  }
20770
- function ci(Le, We, tt) {
20770
+ function ci(Le, We, et) {
20771
20771
  --We;
20772
- var It = tt.t = this.t + Le.t - We;
20773
- for (tt.s = 0; --It >= 0; ) tt[It] = 0;
20772
+ var It = et.t = this.t + Le.t - We;
20773
+ for (et.s = 0; --It >= 0; ) et[It] = 0;
20774
20774
  for (It = Math.max(We - this.t, 0); It < Le.t; ++It)
20775
- tt[this.t + It - We] = this.am(We - It, Le[It], tt, 0, 0, this.t + It - We);
20776
- tt.clamp(), tt.drShiftTo(1, tt);
20775
+ et[this.t + It - We] = this.am(We - It, Le[It], et, 0, 0, this.t + It - We);
20776
+ et.clamp(), et.drShiftTo(1, et);
20777
20777
  }
20778
20778
  function li(Le) {
20779
20779
  this.r2 = B(), this.q3 = B(), _.ONE.dlShiftTo(2 * Le.t, this.r2), this.mu = this.r2.divide(Le), this.m = Le;
@@ -20794,14 +20794,14 @@ function requireJsbn() {
20794
20794
  function Si(Le, We) {
20795
20795
  Le.squareTo(We), this.reduce(We);
20796
20796
  }
20797
- function xi(Le, We, tt) {
20798
- Le.multiplyTo(We, tt), this.reduce(tt);
20797
+ function xi(Le, We, et) {
20798
+ Le.multiplyTo(We, et), this.reduce(et);
20799
20799
  }
20800
20800
  li.prototype.convert = Ii, li.prototype.revert = Qr, li.prototype.reduce = fi, li.prototype.mulTo = xi, li.prototype.sqrTo = Si;
20801
20801
  function Ri(Le, We) {
20802
- var tt = Le.bitLength(), It, lr = D(1), gr;
20803
- if (tt <= 0) return lr;
20804
- tt < 18 ? It = 1 : tt < 48 ? It = 3 : tt < 144 ? It = 4 : tt < 768 ? It = 5 : It = 6, tt < 8 ? gr = new ne(We) : We.isEven() ? gr = new li(We) : gr = new Ne(We);
20802
+ var et = Le.bitLength(), It, lr = D(1), gr;
20803
+ if (et <= 0) return lr;
20804
+ et < 18 ? It = 1 : et < 48 ? It = 3 : et < 144 ? It = 4 : et < 768 ? It = 5 : It = 6, et < 8 ? gr = new ne(We) : We.isEven() ? gr = new li(We) : gr = new Ne(We);
20805
20805
  var Ar = new Array(), Br = 3, oi = It - 1, di = (1 << It) - 1;
20806
20806
  if (Ar[1] = gr.convert(this), It > 1) {
20807
20807
  var pi = B();
@@ -20809,50 +20809,50 @@ function requireJsbn() {
20809
20809
  Ar[Br] = B(), gr.mulTo(pi, Ar[Br - 2], Ar[Br]), Br += 2;
20810
20810
  }
20811
20811
  var ti = Le.t - 1, wi, Bi = !0, si = B(), ai;
20812
- for (tt = et(Le[ti]) - 1; ti >= 0; ) {
20813
- for (tt >= oi ? wi = Le[ti] >> tt - oi & di : (wi = (Le[ti] & (1 << tt + 1) - 1) << oi - tt, ti > 0 && (wi |= Le[ti - 1] >> this.DB + tt - oi)), Br = It; (wi & 1) === 0; )
20812
+ for (et = tt(Le[ti]) - 1; ti >= 0; ) {
20813
+ for (et >= oi ? wi = Le[ti] >> et - oi & di : (wi = (Le[ti] & (1 << et + 1) - 1) << oi - et, ti > 0 && (wi |= Le[ti - 1] >> this.DB + et - oi)), Br = It; (wi & 1) === 0; )
20814
20814
  wi >>= 1, --Br;
20815
- if ((tt -= Br) < 0 && (tt += this.DB, --ti), Bi)
20815
+ if ((et -= Br) < 0 && (et += this.DB, --ti), Bi)
20816
20816
  Ar[wi].copyTo(lr), Bi = !1;
20817
20817
  else {
20818
20818
  for (; Br > 1; )
20819
20819
  gr.sqrTo(lr, si), gr.sqrTo(si, lr), Br -= 2;
20820
20820
  Br > 0 ? gr.sqrTo(lr, si) : (ai = lr, lr = si, si = ai), gr.mulTo(si, Ar[wi], lr);
20821
20821
  }
20822
- for (; ti >= 0 && (Le[ti] & 1 << tt) === 0; )
20823
- gr.sqrTo(lr, si), ai = lr, lr = si, si = ai, --tt < 0 && (tt = this.DB - 1, --ti);
20822
+ for (; ti >= 0 && (Le[ti] & 1 << et) === 0; )
20823
+ gr.sqrTo(lr, si), ai = lr, lr = si, si = ai, --et < 0 && (et = this.DB - 1, --ti);
20824
20824
  }
20825
20825
  return gr.revert(lr);
20826
20826
  }
20827
20827
  function ei(Le) {
20828
- var We = this.s < 0 ? this.negate() : this.clone(), tt = Le.s < 0 ? Le.negate() : Le.clone();
20829
- if (We.compareTo(tt) < 0) {
20828
+ var We = this.s < 0 ? this.negate() : this.clone(), et = Le.s < 0 ? Le.negate() : Le.clone();
20829
+ if (We.compareTo(et) < 0) {
20830
20830
  var It = We;
20831
- We = tt, tt = It;
20831
+ We = et, et = It;
20832
20832
  }
20833
- var lr = We.getLowestSetBit(), gr = tt.getLowestSetBit();
20833
+ var lr = We.getLowestSetBit(), gr = et.getLowestSetBit();
20834
20834
  if (gr < 0) return We;
20835
- for (lr < gr && (gr = lr), gr > 0 && (We.rShiftTo(gr, We), tt.rShiftTo(gr, tt)); We.signum() > 0; )
20836
- (lr = We.getLowestSetBit()) > 0 && We.rShiftTo(lr, We), (lr = tt.getLowestSetBit()) > 0 && tt.rShiftTo(lr, tt), We.compareTo(tt) >= 0 ? (We.subTo(tt, We), We.rShiftTo(1, We)) : (tt.subTo(We, tt), tt.rShiftTo(1, tt));
20837
- return gr > 0 && tt.lShiftTo(gr, tt), tt;
20835
+ for (lr < gr && (gr = lr), gr > 0 && (We.rShiftTo(gr, We), et.rShiftTo(gr, et)); We.signum() > 0; )
20836
+ (lr = We.getLowestSetBit()) > 0 && We.rShiftTo(lr, We), (lr = et.getLowestSetBit()) > 0 && et.rShiftTo(lr, et), We.compareTo(et) >= 0 ? (We.subTo(et, We), We.rShiftTo(1, We)) : (et.subTo(We, et), et.rShiftTo(1, et));
20837
+ return gr > 0 && et.lShiftTo(gr, et), et;
20838
20838
  }
20839
20839
  function Xt(Le) {
20840
20840
  if (Le <= 0) return 0;
20841
- var We = this.DV % Le, tt = this.s < 0 ? Le - 1 : 0;
20841
+ var We = this.DV % Le, et = this.s < 0 ? Le - 1 : 0;
20842
20842
  if (this.t > 0)
20843
- if (We === 0) tt = this[0] % Le;
20844
- else for (var It = this.t - 1; It >= 0; --It) tt = (We * tt + this[It]) % Le;
20845
- return tt;
20843
+ if (We === 0) et = this[0] % Le;
20844
+ else for (var It = this.t - 1; It >= 0; --It) et = (We * et + this[It]) % Le;
20845
+ return et;
20846
20846
  }
20847
20847
  function Yr(Le) {
20848
20848
  var We = Le.isEven();
20849
20849
  if (this.isEven() && We || Le.signum() === 0) return _.ZERO;
20850
- for (var tt = Le.clone(), It = this.clone(), lr = D(1), gr = D(0), Ar = D(0), Br = D(1); tt.signum() != 0; ) {
20851
- for (; tt.isEven(); )
20852
- tt.rShiftTo(1, tt), We ? ((!lr.isEven() || !gr.isEven()) && (lr.addTo(this, lr), gr.subTo(Le, gr)), lr.rShiftTo(1, lr)) : gr.isEven() || gr.subTo(Le, gr), gr.rShiftTo(1, gr);
20850
+ for (var et = Le.clone(), It = this.clone(), lr = D(1), gr = D(0), Ar = D(0), Br = D(1); et.signum() != 0; ) {
20851
+ for (; et.isEven(); )
20852
+ et.rShiftTo(1, et), We ? ((!lr.isEven() || !gr.isEven()) && (lr.addTo(this, lr), gr.subTo(Le, gr)), lr.rShiftTo(1, lr)) : gr.isEven() || gr.subTo(Le, gr), gr.rShiftTo(1, gr);
20853
20853
  for (; It.isEven(); )
20854
20854
  It.rShiftTo(1, It), We ? ((!Ar.isEven() || !Br.isEven()) && (Ar.addTo(this, Ar), Br.subTo(Le, Br)), Ar.rShiftTo(1, Ar)) : Br.isEven() || Br.subTo(Le, Br), Br.rShiftTo(1, Br);
20855
- tt.compareTo(It) >= 0 ? (tt.subTo(It, tt), We && lr.subTo(Ar, lr), gr.subTo(Br, gr)) : (It.subTo(tt, It), We && Ar.subTo(lr, Ar), Br.subTo(gr, Br));
20855
+ et.compareTo(It) >= 0 ? (et.subTo(It, et), We && lr.subTo(Ar, lr), gr.subTo(Br, gr)) : (It.subTo(et, It), We && Ar.subTo(lr, Ar), Br.subTo(gr, Br));
20856
20856
  }
20857
20857
  if (It.compareTo(_.ONE) != 0) return _.ZERO;
20858
20858
  if (Br.compareTo(Le) >= 0) return Br.subtract(Le);
@@ -20862,29 +20862,29 @@ function requireJsbn() {
20862
20862
  }
20863
20863
  var ri = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], ii = (1 << 26) / ri[ri.length - 1];
20864
20864
  function mi(Le) {
20865
- var We, tt = this.abs();
20866
- if (tt.t == 1 && tt[0] <= ri[ri.length - 1]) {
20865
+ var We, et = this.abs();
20866
+ if (et.t == 1 && et[0] <= ri[ri.length - 1]) {
20867
20867
  for (We = 0; We < ri.length; ++We)
20868
- if (tt[0] == ri[We]) return !0;
20868
+ if (et[0] == ri[We]) return !0;
20869
20869
  return !1;
20870
20870
  }
20871
- if (tt.isEven()) return !1;
20871
+ if (et.isEven()) return !1;
20872
20872
  for (We = 1; We < ri.length; ) {
20873
20873
  for (var It = ri[We], lr = We + 1; lr < ri.length && It < ii; ) It *= ri[lr++];
20874
- for (It = tt.modInt(It); We < lr; ) if (It % ri[We++] === 0) return !1;
20874
+ for (It = et.modInt(It); We < lr; ) if (It % ri[We++] === 0) return !1;
20875
20875
  }
20876
- return tt.millerRabin(Le);
20876
+ return et.millerRabin(Le);
20877
20877
  }
20878
20878
  function hi(Le) {
20879
- var We = this.subtract(_.ONE), tt = We.getLowestSetBit();
20880
- if (tt <= 0) return !1;
20881
- var It = We.shiftRight(tt);
20879
+ var We = this.subtract(_.ONE), et = We.getLowestSetBit();
20880
+ if (et <= 0) return !1;
20881
+ var It = We.shiftRight(et);
20882
20882
  Le = Le + 1 >> 1, Le > ri.length && (Le = ri.length);
20883
20883
  for (var lr = B(), gr = 0; gr < Le; ++gr) {
20884
20884
  lr.fromInt(ri[Math.floor(Math.random() * ri.length)]);
20885
20885
  var Ar = lr.modPow(It, this);
20886
20886
  if (Ar.compareTo(_.ONE) != 0 && Ar.compareTo(We) != 0) {
20887
- for (var Br = 1; Br++ < tt && Ar.compareTo(We) != 0; )
20887
+ for (var Br = 1; Br++ < et && Ar.compareTo(We) != 0; )
20888
20888
  if (Ar = Ar.modPowInt(2, this), Ar.compareTo(_.ONE) === 0) return !1;
20889
20889
  if (Ar.compareTo(We) != 0) return !1;
20890
20890
  }
@@ -21112,8 +21112,8 @@ function requirePss() {
21112
21112
  G.copy(Q), Q[G.length] = 1, D.copy(Q, G.length + 1);
21113
21113
  for (var ee = q(z, Q.length, R), qe = Buffer$2.alloc(Q.length), $e = 0; $e < ee.length; $e++)
21114
21114
  qe[$e] = Q[$e] ^ ee[$e];
21115
- var ze = 8 * $ - x, et = 255 ^ 255 >> 8 - ze << 8 - ze;
21116
- qe[0] = qe[0] & et;
21115
+ var ze = 8 * $ - x, tt = 255 ^ 255 >> 8 - ze << 8 - ze;
21116
+ qe[0] = qe[0] & tt;
21117
21117
  var rt = Buffer$2.alloc(qe.length + z.length + 1);
21118
21118
  return qe.copy(rt, 0), z.copy(rt, qe.length), rt[rt.length - 1] = 188, rt;
21119
21119
  }, M.prototype.emsa_pss_verify = function(P, x, R) {
@@ -21134,8 +21134,8 @@ function requirePss() {
21134
21134
  return !1;
21135
21135
  var $e = H.slice(H.length - k), ze = Buffer$2.alloc(8 + $ + k);
21136
21136
  ze.fill(0, 0, 8), P.copy(ze, 8), $e.copy(ze, 8 + P.length);
21137
- var et = e.createHash(q);
21138
- return et.update(ze), et = et.digest(), ee.toString("hex") === et.toString("hex");
21137
+ var tt = e.createHash(q);
21138
+ return tt.update(ze), tt = tt.digest(), ee.toString("hex") === tt.toString("hex");
21139
21139
  }, new M(B, A);
21140
21140
  }, pss.exports;
21141
21141
  }
@@ -21479,15 +21479,15 @@ function requireErrors() {
21479
21479
  var R = {}, q, C;
21480
21480
  function k(G, Q, ee) {
21481
21481
  ee || (ee = Error);
21482
- function qe(ze, et, rt) {
21483
- return typeof Q == "string" ? Q : Q(ze, et, rt);
21482
+ function qe(ze, tt, rt) {
21483
+ return typeof Q == "string" ? Q : Q(ze, tt, rt);
21484
21484
  }
21485
21485
  var $e = /* @__PURE__ */ (function(ze) {
21486
21486
  _(rt, ze);
21487
- var et = A(rt);
21487
+ var tt = A(rt);
21488
21488
  function rt(Ct, Ve, F) {
21489
21489
  var K;
21490
- return E(this, rt), K = et.call(this, qe(Ct, Ve, F)), K.code = G, K;
21490
+ return E(this, rt), K = tt.call(this, qe(Ct, Ve, F)), K.code = G, K;
21491
21491
  }
21492
21492
  return e(rt);
21493
21493
  })(ee);
@@ -21695,7 +21695,7 @@ function requireAssertion_error() {
21695
21695
  function ze(ne, Y, ce) {
21696
21696
  return (ce === void 0 || ce > ne.length) && (ce = ne.length), ne.substring(ce - Y.length, ce) === Y;
21697
21697
  }
21698
- function et(ne, Y) {
21698
+ function tt(ne, Y) {
21699
21699
  if (Y = Math.floor(Y), ne.length == 0 || Y == 0) return "";
21700
21700
  var ce = ne.length * Y;
21701
21701
  for (Y = Math.floor(Math.log(Y) / Math.log(2)); Y; )
@@ -21762,7 +21762,7 @@ function requireAssertion_error() {
21762
21762
  for (; Oe[0][st] === Xe[0][st]; )
21763
21763
  st++;
21764
21764
  st > 2 && (Fe = `
21765
- `.concat(et(" ", st), "^"), st = 0);
21765
+ `.concat(tt(" ", st), "^"), st = 0);
21766
21766
  }
21767
21767
  }
21768
21768
  }
@@ -21970,8 +21970,8 @@ function requireImplementation$3() {
21970
21970
  for (var $e in k)
21971
21971
  !(Q && $e === "prototype") && e.call(k, $e) && G.push(String($e));
21972
21972
  if (A)
21973
- for (var ze = q(k), et = 0; et < M.length; ++et)
21974
- !(ze && M[et] === "constructor") && e.call(k, M[et]) && G.push(M[et]);
21973
+ for (var ze = q(k), tt = 0; tt < M.length; ++tt)
21974
+ !(ze && M[tt] === "constructor") && e.call(k, M[tt]) && G.push(M[tt]);
21975
21975
  return G;
21976
21976
  };
21977
21977
  }
@@ -22242,7 +22242,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
22242
22242
  function k(lt) {
22243
22243
  return lt.call.bind(lt);
22244
22244
  }
22245
- var $ = k(Object.prototype.hasOwnProperty), D = k(Object.prototype.propertyIsEnumerable), H = k(Object.prototype.toString), z = requireUtil$1().types, G = z.isAnyArrayBuffer, Q = z.isArrayBufferView, ee = z.isDate, qe = z.isMap, $e = z.isRegExp, ze = z.isSet, et = z.isNativeError, rt = z.isBoxedPrimitive, Ct = z.isNumberObject, Ve = z.isStringObject, F = z.isBooleanObject, K = z.isBigIntObject, L = z.isSymbolObject, J = z.isFloat32Array, oe = z.isFloat64Array;
22245
+ var $ = k(Object.prototype.hasOwnProperty), D = k(Object.prototype.propertyIsEnumerable), H = k(Object.prototype.toString), z = requireUtil$1().types, G = z.isAnyArrayBuffer, Q = z.isArrayBufferView, ee = z.isDate, qe = z.isMap, $e = z.isRegExp, ze = z.isSet, tt = z.isNativeError, rt = z.isBoxedPrimitive, Ct = z.isNumberObject, Ve = z.isStringObject, F = z.isBooleanObject, K = z.isBigIntObject, L = z.isSymbolObject, J = z.isFloat32Array, oe = z.isFloat64Array;
22246
22246
  function te(lt) {
22247
22247
  if (lt.length === 0 || lt.length > 10) return !0;
22248
22248
  for (var At = 0; At < lt.length; At++) {
@@ -22322,7 +22322,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
22322
22322
  } else if ($e(lt)) {
22323
22323
  if (!$e(At) || !Ne(lt, At))
22324
22324
  return !1;
22325
- } else if (et(lt) || lt instanceof Error) {
22325
+ } else if (tt(lt) || lt instanceof Error) {
22326
22326
  if (lt.message !== At.message || lt.name !== At.name)
22327
22327
  return !1;
22328
22328
  } else if (Q(lt)) {
@@ -22563,7 +22563,7 @@ function requireAssert() {
22563
22563
  var He = requireComparisons();
22564
22564
  Q = He.isDeepEqual, ee = He.isDeepStrictEqual;
22565
22565
  }
22566
- var $e = !1, ze = assert.exports = F, et = {};
22566
+ var $e = !1, ze = assert.exports = F, tt = {};
22567
22567
  function rt(He) {
22568
22568
  throw He.message instanceof Error ? He.message : new R(He);
22569
22569
  }
@@ -22758,7 +22758,7 @@ function requireAssert() {
22758
22758
  } catch (Ye) {
22759
22759
  return Ye;
22760
22760
  }
22761
- return et;
22761
+ return tt;
22762
22762
  }
22763
22763
  function he(He) {
22764
22764
  return $(He) || He !== null && v(He) === "object" && typeof He.then == "function" && typeof He.catch == "function";
@@ -22776,7 +22776,7 @@ function requireAssert() {
22776
22776
  return Promise.resolve().then(function() {
22777
22777
  return Ye;
22778
22778
  }).then(function() {
22779
- return et;
22779
+ return tt;
22780
22780
  }).catch(function(Ne) {
22781
22781
  return Ne;
22782
22782
  });
@@ -22794,7 +22794,7 @@ function requireAssert() {
22794
22794
  Ae = Ne, Ne = void 0;
22795
22795
  } else if (Ne != null && v(Ne) !== "object" && typeof Ne != "function")
22796
22796
  throw new T("error", ["Object", "Error", "Function", "RegExp"], Ne);
22797
- if (Ye === et) {
22797
+ if (Ye === tt) {
22798
22798
  var Oe = "";
22799
22799
  Ne && Ne.name && (Oe += " (".concat(Ne.name, ")")), Oe += Ae ? ": ".concat(Ae) : ".";
22800
22800
  var Xe = He.name === "rejects" ? "rejection" : "exception";
@@ -22810,7 +22810,7 @@ function requireAssert() {
22810
22810
  throw Ye;
22811
22811
  }
22812
22812
  function ce(He, Ye, Ne, Ae) {
22813
- if (Ye !== et) {
22813
+ if (Ye !== tt) {
22814
22814
  if (typeof Ne == "string" && (Ae = Ne, Ne = void 0), !Ne || oe(Ye, Ne)) {
22815
22815
  var Oe = Ae ? ": ".concat(Ae) : ".", Xe = He.name === "doesNotReject" ? "rejection" : "exception";
22816
22816
  rt({
@@ -23497,7 +23497,7 @@ function requireOpenssh() {
23497
23497
  throw "Invalid file format.";
23498
23498
  if (k.off += 15, T(k).toString("ascii") !== "none" || T(k).toString("ascii") !== "none" || T(k).toString("ascii") !== "" || (k.off += 4, k.off += 4, T(k).toString("ascii") !== "ssh-rsa") || (T(k), T(k), k.off += 12, T(k).toString("ascii") !== "ssh-rsa"))
23499
23499
  throw Error("Unsupported key type");
23500
- const $ = T(k), D = T(k), H = T(k), z = T(k), G = T(k), Q = T(k), ee = new _(H), qe = new _(Q), $e = new _(G), ze = ee.mod($e.subtract(_.ONE)), et = ee.mod(qe.subtract(_.ONE));
23500
+ const $ = T(k), D = T(k), H = T(k), z = T(k), G = T(k), Q = T(k), ee = new _(H), qe = new _(Q), $e = new _(G), ze = ee.mod($e.subtract(_.ONE)), tt = ee.mod(qe.subtract(_.ONE));
23501
23501
  P.setPrivate(
23502
23502
  $,
23503
23503
  // modulus
@@ -23511,7 +23511,7 @@ function requireOpenssh() {
23511
23511
  // prime2
23512
23512
  ze.toBuffer(),
23513
23513
  // exponent1 -- d mod (p1)
23514
- et.toBuffer(),
23514
+ tt.toBuffer(),
23515
23515
  // exponent2 -- d mod (q-1)
23516
23516
  z
23517
23517
  // coefficient -- (inverse of q) mod p
@@ -24704,7 +24704,7 @@ function map(v, e) {
24704
24704
  function flatMapDepth(v, e, E) {
24705
24705
  return E = E === void 0 ? 1 : toInteger(E), baseFlatten(map(v, e), E);
24706
24706
  }
24707
- const META_DATA_FILE_PATH = "/SceneMetadata.json", dbBase = "/db", TREE_DATA_FILE_PATH = `${dbBase}/tree_models`, FLAT_DATA_FILE_PATH = `${dbBase}/flat_models`, POI_DATA_FILE_PATH = `${dbBase}/pois`, DATA_SOURCE_FILE_PATH = `${dbBase}/data_source`, TOPOLOGY_DATA_FILE_PATH = `${dbBase}/topology_paths`, PROPERTIES_DATA_FLEE_PATH = `${dbBase}/properties`, ANIMATIONS_DATA_FILE_PATH = `${dbBase}/animations`, MODEL_VISIONS_DATA_FILE_PATH = `${dbBase}/model_visions`, SPACES_DATA_FILE_PATH = `${dbBase}/spaces`, PROPERTIES_KEY = "properties", POI_PLUGIN_NAME = "poiRenderer";
24707
+ const META_DATA_FILE_PATH = "/SceneMetadata.json", dbBase = "/db", TREE_DATA_FILE_PATH = `${dbBase}/tree_models`, FLAT_DATA_FILE_PATH = `${dbBase}/flat_models`, POI_DATA_FILE_PATH = `${dbBase}/pois`, DATA_SOURCE_FILE_PATH = `${dbBase}/data_source`, TOPOLOGY_DATA_FILE_PATH = `${dbBase}/topology_paths`, PROPERTIES_DATA_FLEE_PATH = `${dbBase}/properties`, ANIMATIONS_DATA_FILE_PATH = `${dbBase}/animations`, MODEL_VISIONS_DATA_FILE_PATH = `${dbBase}/model_visions`, SPACES_DATA_FILE_PATH = `${dbBase}/spaces`, FLOWS_DATA_FILE_PATH = `${dbBase}/flows2`, PROPERTIES_KEY = "properties", POI_PLUGIN_NAME = "poiRenderer";
24708
24708
  var PoiContentTypeEnum = /* @__PURE__ */ ((v) => (v.PANEL = "PANEL", v.VIDEO = "VIDEO", v.VIDEO_STREAM = "VIDEO_STREAM", v))(PoiContentTypeEnum || {}), LoadSceneAlgorithm = /* @__PURE__ */ ((v) => (v.BFS = "BFS", v.DFS = "DFS", v))(LoadSceneAlgorithm || {});
24709
24709
  const encryptInfo = {
24710
24710
  // verifyKey:'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxKqQyl4uc99WxJ3CGNz/2AF3lMj4yCHebEG6MP+XM+r0oqV7EuLTL26AlpGxWMBxshMS+IQOnuSiteVdMe8oVJexd9GBrfeBlkwo5yqOrcUtVTwfq8z/NdcSsb4oDKx1Qec3AB9abnFLChP0dZCaKADB+FKrarXI1mw3SQjfLLwIDAQAB',
@@ -24997,7 +24997,7 @@ function requireMqtt() {
24997
24997
  exit: () => dr,
24998
24998
  features: () => lt,
24999
24999
  hasUncaughtExceptionCaptureCallback: () => $e,
25000
- hrtime: () => et,
25000
+ hrtime: () => tt,
25001
25001
  kill: () => qr,
25002
25002
  listeners: () => Ct,
25003
25003
  memoryUsage: () => Ht,
@@ -25079,7 +25079,7 @@ function requireMqtt() {
25079
25079
  function ze() {
25080
25080
  return Hr.now() / 1e3;
25081
25081
  }
25082
- function et(we) {
25082
+ function tt(we) {
25083
25083
  var pe = Math.floor((Date.now() - Hr.now()) * 1e-3), ie = Hr.now() * 1e-3, se = Math.floor(ie) + pe, ue = Math.floor(ie % 1 * 1e9);
25084
25084
  return we && (se = se - we[0], ue = ue - we[1], ue < 0 && (se--, ue += zr)), [se, ue];
25085
25085
  }
@@ -25128,8 +25128,8 @@ function requireMqtt() {
25128
25128
  }, At = H, or = H, sr = H, cr = H, xr = H, ke = H, le = H, Se = void 0, Ke = void 0, yt = void 0, qt = H, Nt = 2, Rr = 1, Pr = "/bin/usr/node", Sr = 9229, $r = "node", Mr = [], Nr = H, Hr = {
25129
25129
  now: typeof performance < "u" ? performance.now.bind(performance) : void 0,
25130
25130
  timing: typeof performance < "u" ? performance.timing : void 0
25131
- }, Hr.now === void 0 && (Qi = Date.now(), Hr.timing && Hr.timing.navigationStart && (Qi = Hr.timing.navigationStart), Hr.now = () => Date.now() - Qi), zr = 1e9, et.bigint = function(we) {
25132
- var pe = et(we);
25131
+ }, Hr.now === void 0 && (Qi = Date.now(), Hr.timing && Hr.timing.navigationStart && (Qi = Hr.timing.navigationStart), Hr.now = () => Date.now() - Qi), zr = 1e9, tt.bigint = function(we) {
25132
+ var pe = tt(we);
25133
25133
  return typeof BigInt > "u" ? pe[0] * zr + pe[1] : BigInt(pe[0] * zr) + BigInt(pe[1]);
25134
25134
  }, Fr = 10, Gr = {}, Jr = 0, Ue = rt, ve = rt, xe = rt, Ze = rt, wt = rt, $t = H, Wt = rt, Ir = rt, Lr = {
25135
25135
  version: ce,
@@ -25198,7 +25198,7 @@ function requireMqtt() {
25198
25198
  ppid: Rr,
25199
25199
  execPath: Pr,
25200
25200
  debugPort: Sr,
25201
- hrtime: et,
25201
+ hrtime: tt,
25202
25202
  argv0: $r,
25203
25203
  _preload_modules: Mr,
25204
25204
  setSourceMapsEnabled: Nr
@@ -26575,8 +26575,8 @@ function requireMqtt() {
26575
26575
  once: () => di
26576
26576
  });
26577
26577
  function Le() {
26578
- if (tt) return We;
26579
- tt = !0;
26578
+ if (et) return We;
26579
+ et = !0;
26580
26580
  var we = typeof Reflect == "object" ? Reflect : null, pe = we && typeof we.apply == "function" ? we.apply : function(Ee, Ce, Me) {
26581
26581
  return Function.prototype.apply.call(Ee, Ce, Me);
26582
26582
  }, ie;
@@ -26780,9 +26780,9 @@ function requireMqtt() {
26780
26780
  }
26781
26781
  return We;
26782
26782
  }
26783
- var We, tt, It, lr, gr, Ar, Br, oi, di, pi = B({
26783
+ var We, et, It, lr, gr, Ar, Br, oi, di, pi = B({
26784
26784
  "node_modules/@jspm/core/nodelibs/browser/events.js"() {
26785
- x(), Xt(), Mt(), We = {}, tt = !1, It = Le(), It.once, It.once = function(we, pe) {
26785
+ x(), Xt(), Mt(), We = {}, et = !1, It = Le(), It.once, It.once = function(we, pe) {
26786
26786
  return new Promise((ie, se) => {
26787
26787
  function ue(...j) {
26788
26788
  Z !== void 0 && we.removeListener("error", Z), ie(j);
@@ -32481,7 +32481,7 @@ function requireMqtt() {
32481
32481
  #h;
32482
32482
  #g;
32483
32483
  #c;
32484
- #a;
32484
+ #s;
32485
32485
  #S;
32486
32486
  #E;
32487
32487
  #v;
@@ -32498,7 +32498,7 @@ function requireMqtt() {
32498
32498
  return {
32499
32499
  // properties
32500
32500
  starts: fe.#c,
32501
- ttls: fe.#a,
32501
+ ttls: fe.#s,
32502
32502
  sizes: fe.#g,
32503
32503
  keyMap: fe.#o,
32504
32504
  keyList: fe.#r,
@@ -32513,7 +32513,7 @@ function requireMqtt() {
32513
32513
  },
32514
32514
  free: fe.#_,
32515
32515
  // methods
32516
- isBackgroundFetch: (Re) => fe.#s(Re),
32516
+ isBackgroundFetch: (Re) => fe.#a(Re),
32517
32517
  backgroundFetch: (Re, me, Te, ye) => fe.#k(Re, me, Te, ye),
32518
32518
  moveToTail: (Re) => fe.#q(Re),
32519
32519
  indexes: (Re) => fe.#x(Re),
@@ -32612,7 +32612,7 @@ function requireMqtt() {
32612
32612
  }
32613
32613
  #P() {
32614
32614
  const fe = new ae(this.#t), Re = new ae(this.#t);
32615
- this.#a = fe, this.#c = Re, this.#$ = (ye, Pe, De = pe.now()) => {
32615
+ this.#s = fe, this.#c = Re, this.#$ = (ye, Pe, De = pe.now()) => {
32616
32616
  if (Re[ye] = Pe !== 0 ? De : 0, fe[ye] = Pe, Pe !== 0 && this.ttlAutopurge) {
32617
32617
  const Ee = setTimeout(() => {
32618
32618
  this.#A(ye) && this.#B(this.#r[ye], "expire");
@@ -32669,7 +32669,7 @@ function requireMqtt() {
32669
32669
  this.#m = 0, this.#g = fe, this.#O = (Re) => {
32670
32670
  this.#m -= fe[Re], fe[Re] = 0;
32671
32671
  }, this.#D = (Re, me, Te, ye) => {
32672
- if (this.#s(me))
32672
+ if (this.#a(me))
32673
32673
  return 0;
32674
32674
  if (!V(Te))
32675
32675
  if (ye) {
@@ -32717,7 +32717,7 @@ function requireMqtt() {
32717
32717
  */
32718
32718
  *entries() {
32719
32719
  for (const fe of this.#x())
32720
- this.#e[fe] !== void 0 && this.#r[fe] !== void 0 && !this.#s(this.#e[fe]) && (yield [this.#r[fe], this.#e[fe]]);
32720
+ this.#e[fe] !== void 0 && this.#r[fe] !== void 0 && !this.#a(this.#e[fe]) && (yield [this.#r[fe], this.#e[fe]]);
32721
32721
  }
32722
32722
  /**
32723
32723
  * Inverse order version of {@link LRUCache.entries}
@@ -32727,7 +32727,7 @@ function requireMqtt() {
32727
32727
  */
32728
32728
  *rentries() {
32729
32729
  for (const fe of this.#R())
32730
- this.#e[fe] !== void 0 && this.#r[fe] !== void 0 && !this.#s(this.#e[fe]) && (yield [this.#r[fe], this.#e[fe]]);
32730
+ this.#e[fe] !== void 0 && this.#r[fe] !== void 0 && !this.#a(this.#e[fe]) && (yield [this.#r[fe], this.#e[fe]]);
32731
32731
  }
32732
32732
  /**
32733
32733
  * Return a generator yielding the keys in the cache,
@@ -32736,7 +32736,7 @@ function requireMqtt() {
32736
32736
  *keys() {
32737
32737
  for (const fe of this.#x()) {
32738
32738
  const Re = this.#r[fe];
32739
- Re !== void 0 && !this.#s(this.#e[fe]) && (yield Re);
32739
+ Re !== void 0 && !this.#a(this.#e[fe]) && (yield Re);
32740
32740
  }
32741
32741
  }
32742
32742
  /**
@@ -32748,7 +32748,7 @@ function requireMqtt() {
32748
32748
  *rkeys() {
32749
32749
  for (const fe of this.#R()) {
32750
32750
  const Re = this.#r[fe];
32751
- Re !== void 0 && !this.#s(this.#e[fe]) && (yield Re);
32751
+ Re !== void 0 && !this.#a(this.#e[fe]) && (yield Re);
32752
32752
  }
32753
32753
  }
32754
32754
  /**
@@ -32757,7 +32757,7 @@ function requireMqtt() {
32757
32757
  */
32758
32758
  *values() {
32759
32759
  for (const fe of this.#x())
32760
- this.#e[fe] !== void 0 && !this.#s(this.#e[fe]) && (yield this.#e[fe]);
32760
+ this.#e[fe] !== void 0 && !this.#a(this.#e[fe]) && (yield this.#e[fe]);
32761
32761
  }
32762
32762
  /**
32763
32763
  * Inverse order version of {@link LRUCache.values}
@@ -32767,7 +32767,7 @@ function requireMqtt() {
32767
32767
  */
32768
32768
  *rvalues() {
32769
32769
  for (const fe of this.#R())
32770
- this.#e[fe] !== void 0 && !this.#s(this.#e[fe]) && (yield this.#e[fe]);
32770
+ this.#e[fe] !== void 0 && !this.#a(this.#e[fe]) && (yield this.#e[fe]);
32771
32771
  }
32772
32772
  /**
32773
32773
  * Iterating over the cache itself yields the same results as
@@ -32788,7 +32788,7 @@ function requireMqtt() {
32788
32788
  */
32789
32789
  find(fe, Re = {}) {
32790
32790
  for (const me of this.#x()) {
32791
- const Te = this.#e[me], ye = this.#s(Te) ? Te.__staleWhileFetching : Te;
32791
+ const Te = this.#e[me], ye = this.#a(Te) ? Te.__staleWhileFetching : Te;
32792
32792
  if (ye !== void 0 && fe(ye, this.#r[me], this))
32793
32793
  return this.get(this.#r[me], Re);
32794
32794
  }
@@ -32806,7 +32806,7 @@ function requireMqtt() {
32806
32806
  */
32807
32807
  forEach(fe, Re = this) {
32808
32808
  for (const me of this.#x()) {
32809
- const Te = this.#e[me], ye = this.#s(Te) ? Te.__staleWhileFetching : Te;
32809
+ const Te = this.#e[me], ye = this.#a(Te) ? Te.__staleWhileFetching : Te;
32810
32810
  ye !== void 0 && fe.call(Re, ye, this.#r[me], this);
32811
32811
  }
32812
32812
  }
@@ -32816,7 +32816,7 @@ function requireMqtt() {
32816
32816
  */
32817
32817
  rforEach(fe, Re = this) {
32818
32818
  for (const me of this.#R()) {
32819
- const Te = this.#e[me], ye = this.#s(Te) ? Te.__staleWhileFetching : Te;
32819
+ const Te = this.#e[me], ye = this.#a(Te) ? Te.__staleWhileFetching : Te;
32820
32820
  ye !== void 0 && fe.call(Re, ye, this.#r[me], this);
32821
32821
  }
32822
32822
  }
@@ -32846,12 +32846,12 @@ function requireMqtt() {
32846
32846
  const Re = this.#o.get(fe);
32847
32847
  if (Re === void 0)
32848
32848
  return;
32849
- const me = this.#e[Re], Te = this.#s(me) ? me.__staleWhileFetching : me;
32849
+ const me = this.#e[Re], Te = this.#a(me) ? me.__staleWhileFetching : me;
32850
32850
  if (Te === void 0)
32851
32851
  return;
32852
32852
  const ye = { value: Te };
32853
- if (this.#a && this.#c) {
32854
- const Pe = this.#a[Re], De = this.#c[Re];
32853
+ if (this.#s && this.#c) {
32854
+ const Pe = this.#s[Re], De = this.#c[Re];
32855
32855
  if (Pe && De) {
32856
32856
  const Ee = Pe - (pe.now() - De);
32857
32857
  ye.ttl = Ee, ye.start = Date.now();
@@ -32875,12 +32875,12 @@ function requireMqtt() {
32875
32875
  dump() {
32876
32876
  const fe = [];
32877
32877
  for (const Re of this.#x({ allowStale: !0 })) {
32878
- const me = this.#r[Re], Te = this.#e[Re], ye = this.#s(Te) ? Te.__staleWhileFetching : Te;
32878
+ const me = this.#r[Re], Te = this.#e[Re], ye = this.#a(Te) ? Te.__staleWhileFetching : Te;
32879
32879
  if (ye === void 0 || me === void 0)
32880
32880
  continue;
32881
32881
  const Pe = { value: ye };
32882
- if (this.#a && this.#c) {
32883
- Pe.ttl = this.#a[Re];
32882
+ if (this.#s && this.#c) {
32883
+ Pe.ttl = this.#s[Re];
32884
32884
  const De = pe.now() - this.#c[Re];
32885
32885
  Pe.start = Math.floor(Date.now() - De);
32886
32886
  }
@@ -32952,19 +32952,19 @@ function requireMqtt() {
32952
32952
  this.#q(Je);
32953
32953
  const bt = this.#e[Je];
32954
32954
  if (Re !== bt) {
32955
- if (this.#E && this.#s(bt)) {
32955
+ if (this.#E && this.#a(bt)) {
32956
32956
  bt.__abortController.abort(new Error("replaced"));
32957
32957
  const { __staleWhileFetching: ut } = bt;
32958
32958
  ut !== void 0 && !Pe && (this.#S && this.#n?.(ut, fe, "set"), this.#v && this.#h?.push([ut, fe, "set"]));
32959
32959
  } else Pe || (this.#S && this.#n?.(bt, fe, "set"), this.#v && this.#h?.push([bt, fe, "set"]));
32960
32960
  if (this.#O(Je), this.#M(Je, Me, Ee), this.#e[Je] = Re, Ee) {
32961
32961
  Ee.set = "replace";
32962
- const ut = bt && this.#s(bt) ? bt.__staleWhileFetching : bt;
32962
+ const ut = bt && this.#a(bt) ? bt.__staleWhileFetching : bt;
32963
32963
  ut !== void 0 && (Ee.oldValue = ut);
32964
32964
  }
32965
32965
  } else Ee && (Ee.set = "update");
32966
32966
  }
32967
- if (Te !== 0 && !this.#a && this.#P(), this.#a && (Ce || this.#$(Je, Te, ye), Ee && this.#I(Ee, Je)), !Pe && this.#v && this.#h) {
32967
+ if (Te !== 0 && !this.#s && this.#P(), this.#s && (Ce || this.#$(Je, Te, ye), Ee && this.#I(Ee, Je)), !Pe && this.#v && this.#h) {
32968
32968
  const bt = this.#h;
32969
32969
  let ut;
32970
32970
  for (; ut = bt?.shift(); )
@@ -32980,7 +32980,7 @@ function requireMqtt() {
32980
32980
  try {
32981
32981
  for (; this.#i; ) {
32982
32982
  const fe = this.#e[this.#b];
32983
- if (this.#C(!0), this.#s(fe)) {
32983
+ if (this.#C(!0), this.#a(fe)) {
32984
32984
  if (fe.__staleWhileFetching)
32985
32985
  return fe.__staleWhileFetching;
32986
32986
  } else if (fe !== void 0)
@@ -32997,7 +32997,7 @@ function requireMqtt() {
32997
32997
  }
32998
32998
  #C(fe) {
32999
32999
  const Re = this.#b, me = this.#r[Re], Te = this.#e[Re];
33000
- return this.#E && this.#s(Te) ? Te.__abortController.abort(new Error("evicted")) : (this.#S || this.#v) && (this.#S && this.#n?.(Te, me, "evict"), this.#v && this.#h?.push([Te, me, "evict"])), this.#O(Re), fe && (this.#r[Re] = void 0, this.#e[Re] = void 0, this.#_.push(Re)), this.#i === 1 ? (this.#b = this.#u = 0, this.#_.length = 0) : this.#b = this.#d[Re], this.#o.delete(me), this.#i--, Re;
33000
+ return this.#E && this.#a(Te) ? Te.__abortController.abort(new Error("evicted")) : (this.#S || this.#v) && (this.#S && this.#n?.(Te, me, "evict"), this.#v && this.#h?.push([Te, me, "evict"])), this.#O(Re), fe && (this.#r[Re] = void 0, this.#e[Re] = void 0, this.#_.push(Re)), this.#i === 1 ? (this.#b = this.#u = 0, this.#_.length = 0) : this.#b = this.#d[Re], this.#o.delete(me), this.#i--, Re;
33001
33001
  }
33002
33002
  /**
33003
33003
  * Check if a key is in the cache, without updating the recency of use.
@@ -33019,7 +33019,7 @@ function requireMqtt() {
33019
33019
  const { updateAgeOnHas: me = this.updateAgeOnHas, status: Te } = Re, ye = this.#o.get(fe);
33020
33020
  if (ye !== void 0) {
33021
33021
  const Pe = this.#e[ye];
33022
- if (this.#s(Pe) && Pe.__staleWhileFetching === void 0)
33022
+ if (this.#a(Pe) && Pe.__staleWhileFetching === void 0)
33023
33023
  return !1;
33024
33024
  if (this.#A(ye))
33025
33025
  Te && (Te.has = "stale", this.#I(Te, ye));
@@ -33039,11 +33039,11 @@ function requireMqtt() {
33039
33039
  if (Te === void 0 || !me && this.#A(Te))
33040
33040
  return;
33041
33041
  const ye = this.#e[Te];
33042
- return this.#s(ye) ? ye.__staleWhileFetching : ye;
33042
+ return this.#a(ye) ? ye.__staleWhileFetching : ye;
33043
33043
  }
33044
33044
  #k(fe, Re, me, Te) {
33045
33045
  const ye = Re === void 0 ? void 0 : this.#e[Re];
33046
- if (this.#s(ye))
33046
+ if (this.#a(ye))
33047
33047
  return ye;
33048
33048
  const Pe = new Z(), { signal: De } = me;
33049
33049
  De?.addEventListener("abort", () => Pe.abort(De.reason), {
@@ -33079,7 +33079,7 @@ function requireMqtt() {
33079
33079
  });
33080
33080
  return Re === void 0 ? (this.set(fe, Dt, { ...Ee.options, status: void 0 }), Re = this.#o.get(fe)) : this.#e[Re] = Dt, Dt;
33081
33081
  }
33082
- #s(fe) {
33082
+ #a(fe) {
33083
33083
  if (!this.#E)
33084
33084
  return !1;
33085
33085
  const Re = fe;
@@ -33137,7 +33137,7 @@ function requireMqtt() {
33137
33137
  return St.__returned = St;
33138
33138
  } else {
33139
33139
  const St = this.#e[Lt];
33140
- if (this.#s(St)) {
33140
+ if (this.#a(St)) {
33141
33141
  const Tt = me && St.__staleWhileFetching !== void 0;
33142
33142
  return dt && (dt.fetch = "inflight", Tt && (dt.returnedStale = !0)), Tt ? St.__staleWhileFetching : St.__returned = St;
33143
33143
  }
@@ -33176,7 +33176,7 @@ function requireMqtt() {
33176
33176
  get(fe, Re = {}) {
33177
33177
  const { allowStale: me = this.allowStale, updateAgeOnGet: Te = this.updateAgeOnGet, noDeleteOnStaleGet: ye = this.noDeleteOnStaleGet, status: Pe } = Re, De = this.#o.get(fe);
33178
33178
  if (De !== void 0) {
33179
- const Ee = this.#e[De], Ce = this.#s(Ee);
33179
+ const Ee = this.#e[De], Ce = this.#a(Ee);
33180
33180
  return Pe && this.#I(Pe, De), this.#A(De) ? (Pe && (Pe.get = "stale"), Ce ? (Pe && me && Ee.__staleWhileFetching !== void 0 && (Pe.returnedStale = !0), me ? Ee.__staleWhileFetching : void 0) : (ye || this.#B(fe, "expire"), Pe && me && (Pe.returnedStale = !0), me ? Ee : void 0)) : (Pe && (Pe.get = "hit"), Ce ? Ee.__staleWhileFetching : (this.#q(De), Te && this.#T(De), Ee));
33181
33181
  } else Pe && (Pe.get = "miss");
33182
33182
  }
@@ -33204,7 +33204,7 @@ function requireMqtt() {
33204
33204
  else {
33205
33205
  this.#O(Te);
33206
33206
  const ye = this.#e[Te];
33207
- if (this.#s(ye) ? ye.__abortController.abort(new Error("deleted")) : (this.#S || this.#v) && (this.#S && this.#n?.(ye, fe, Re), this.#v && this.#h?.push([ye, fe, Re])), this.#o.delete(fe), this.#r[Te] = void 0, this.#e[Te] = void 0, Te === this.#u)
33207
+ if (this.#a(ye) ? ye.__abortController.abort(new Error("deleted")) : (this.#S || this.#v) && (this.#S && this.#n?.(ye, fe, Re), this.#v && this.#h?.push([ye, fe, Re])), this.#o.delete(fe), this.#r[Te] = void 0, this.#e[Te] = void 0, Te === this.#u)
33208
33208
  this.#u = this.#w[Te];
33209
33209
  else if (Te === this.#b)
33210
33210
  this.#b = this.#d[Te];
@@ -33234,14 +33234,14 @@ function requireMqtt() {
33234
33234
  #j(fe) {
33235
33235
  for (const Re of this.#R({ allowStale: !0 })) {
33236
33236
  const me = this.#e[Re];
33237
- if (this.#s(me))
33237
+ if (this.#a(me))
33238
33238
  me.__abortController.abort(new Error("deleted"));
33239
33239
  else {
33240
33240
  const Te = this.#r[Re];
33241
33241
  this.#S && this.#n?.(me, Te, fe), this.#v && this.#h?.push([me, Te, fe]);
33242
33242
  }
33243
33243
  }
33244
- if (this.#o.clear(), this.#e.fill(void 0), this.#r.fill(void 0), this.#a && this.#c && (this.#a.fill(0), this.#c.fill(0)), this.#g && this.#g.fill(0), this.#b = 0, this.#u = 0, this.#_.length = 0, this.#m = 0, this.#i = 0, this.#v && this.#h) {
33244
+ if (this.#o.clear(), this.#e.fill(void 0), this.#r.fill(void 0), this.#s && this.#c && (this.#s.fill(0), this.#c.fill(0)), this.#g && this.#g.fill(0), this.#b = 0, this.#u = 0, this.#_.length = 0, this.#m = 0, this.#i = 0, this.#v && this.#h) {
33245
33245
  const Re = this.#h;
33246
33246
  let me;
33247
33247
  for (; me = Re?.shift(); )
@@ -42505,6 +42505,7 @@ const { groupBy, warn, getExtension } = SoonSpace.utils, defaultLoadSceneOptions
42505
42505
  loadSceneAlgorithm: LoadSceneAlgorithm.DFS,
42506
42506
  loadLevel: 1 / 0,
42507
42507
  loadPoi: !1,
42508
+ loadTopologies: !1,
42508
42509
  refreshPoiByDataSource: !1,
42509
42510
  loadFlowData: !1,
42510
42511
  objectPrefixId: "",
@@ -42579,6 +42580,10 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42579
42580
  * 空间数据
42580
42581
  */
42581
42582
  spacesData = null;
42583
+ /**
42584
+ * 流程数据
42585
+ */
42586
+ flowsData = null;
42582
42587
  /**
42583
42588
  * effect 插件
42584
42589
  */
@@ -42730,14 +42735,14 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42730
42735
  * 验证公有版本(调试包)
42731
42736
  */
42732
42737
  async #_(e) {
42733
- const E = await this.#a(e), _ = decodeString(this.#n.debugKey), { verifiedRes: B, dec: A } = this.#u(E, _);
42738
+ const E = await this.#s(e), _ = decodeString(this.#n.debugKey), { verifiedRes: B, dec: A } = this.#u(E, _);
42734
42739
  this.#y = B, this.#y && this.#o(A);
42735
42740
  }
42736
42741
  /**
42737
42742
  * 验证应用(安装包)
42738
42743
  */
42739
42744
  async #h(e) {
42740
- const E = await this.#a(e), _ = this.#n.key, { verifiedRes: B, dec: A } = this.#u(E, _);
42745
+ const E = await this.#s(e), _ = this.#n.key, { verifiedRes: B, dec: A } = this.#u(E, _);
42741
42746
  return this.#i = B, this.#y = B, this.#i && this.#o(A), { verifiedRes: B, dec: A };
42742
42747
  }
42743
42748
  #g(e) {
@@ -42752,7 +42757,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42752
42757
  const { resource: E } = await this.fetchMetaData(), _ = getExtension(E) || "json";
42753
42758
  return `${e}.${_}`;
42754
42759
  }
42755
- async #a(e) {
42760
+ async #s(e) {
42756
42761
  const { utils: E } = this.ssp;
42757
42762
  return E.fetchFile(this.#g(e), "json");
42758
42763
  }
@@ -42760,7 +42765,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42760
42765
  * 获取场景元数据
42761
42766
  */
42762
42767
  async fetchMetaData() {
42763
- const e = await this.#a(META_DATA_FILE_PATH);
42768
+ const e = await this.#s(META_DATA_FILE_PATH);
42764
42769
  return this.metaData = e, e;
42765
42770
  }
42766
42771
  /**
@@ -42768,11 +42773,11 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42768
42773
  * @returns
42769
42774
  */
42770
42775
  async fetchTreeData() {
42771
- const e = await this.#a(await this.#c(TREE_DATA_FILE_PATH));
42776
+ const e = await this.#s(await this.#c(TREE_DATA_FILE_PATH));
42772
42777
  return this.#o(e), e;
42773
42778
  }
42774
42779
  async fetchFlatData() {
42775
- const e = await this.#a(await this.#c(FLAT_DATA_FILE_PATH));
42780
+ const e = await this.#s(await this.#c(FLAT_DATA_FILE_PATH));
42776
42781
  return this.flatData = e, this.faltDataMap = groupBy(e, "id"), e;
42777
42782
  }
42778
42783
  /**
@@ -42780,7 +42785,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42780
42785
  * @returns
42781
42786
  */
42782
42787
  async fetchPoiData() {
42783
- const e = await this.#a(await this.#c(POI_DATA_FILE_PATH));
42788
+ const e = await this.#s(await this.#c(POI_DATA_FILE_PATH));
42784
42789
  return this.poiData = e.map((E) => ({
42785
42790
  ...E,
42786
42791
  contentData: JSON.parse(E.content || "{}")
@@ -42791,7 +42796,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42791
42796
  * @returns
42792
42797
  */
42793
42798
  async fetchDataSourceData() {
42794
- const e = await this.#a(await this.#c(DATA_SOURCE_FILE_PATH));
42799
+ const e = await this.#s(await this.#c(DATA_SOURCE_FILE_PATH));
42795
42800
  return this.dataSourceData = e, e;
42796
42801
  }
42797
42802
  /**
@@ -42799,7 +42804,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42799
42804
  * @returns
42800
42805
  */
42801
42806
  async fetchTopologyData() {
42802
- const e = await this.#a(
42807
+ const e = await this.#s(
42803
42808
  await this.#c(TOPOLOGY_DATA_FILE_PATH)
42804
42809
  ).then((E) => {
42805
42810
  const _ = {
@@ -42820,7 +42825,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42820
42825
  * @returns
42821
42826
  */
42822
42827
  async fetchPropertiesData() {
42823
- const e = await this.#a(
42828
+ const e = await this.#s(
42824
42829
  await this.#c(PROPERTIES_DATA_FLEE_PATH)
42825
42830
  ).then((E) => E.map((B) => {
42826
42831
  const A = this.ssp.utils.propertiesCtx;
@@ -42842,7 +42847,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42842
42847
  * @returns
42843
42848
  */
42844
42849
  async fetchAnimationsData() {
42845
- const e = await this.#a(
42850
+ const e = await this.#s(
42846
42851
  await this.#c(ANIMATIONS_DATA_FILE_PATH)
42847
42852
  ).then((E) => groupBy(E, "modelId"));
42848
42853
  return this.animationsData = e, e;
@@ -42852,7 +42857,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42852
42857
  * @returns
42853
42858
  */
42854
42859
  async fetchModelVisionsData() {
42855
- const e = await this.#a(await this.#c(MODEL_VISIONS_DATA_FILE_PATH)).then((E) => new Map(Object.entries(E)));
42860
+ const e = await this.#s(await this.#c(MODEL_VISIONS_DATA_FILE_PATH)).then((E) => new Map(Object.entries(E)));
42856
42861
  return this.modelVisionsData = e, e;
42857
42862
  }
42858
42863
  /**
@@ -42860,75 +42865,83 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42860
42865
  * @returns
42861
42866
  */
42862
42867
  async fetchSpacesData() {
42863
- const e = await this.#a(
42868
+ const e = await this.#s(
42864
42869
  await this.#c(SPACES_DATA_FILE_PATH)
42865
42870
  ).then((E) => mapTreeNodeByKey(E, "sid"));
42866
42871
  return this.spacesData = e, e;
42867
42872
  }
42873
+ async fetchFlowsData() {
42874
+ const e = await this.#s(
42875
+ await this.#c(FLOWS_DATA_FILE_PATH)
42876
+ );
42877
+ return this.flowsData = e, e;
42878
+ }
42868
42879
  /**
42869
42880
  * 格式化 Poi 数据完成 Poi Renderer 插件使用
42870
42881
  */
42871
42882
  formatPoiData = (e) => {
42872
- const E = (ee) => ee == null ? [] : flatMapDepth(
42873
- ee,
42874
- (qe, $e) => flatMapDepth(
42875
- qe,
42876
- (ze, et) => flatMapDepth(ze, (rt, Ct) => ({
42877
- index: rt.index,
42878
- value: rt.value || "",
42879
- group: et,
42880
- key: Ct,
42881
- label: rt.label || Ct,
42882
- customId: [$e, et, Ct].join("/"),
42883
- dataOrigin: $e
42883
+ const E = (qe) => qe == null ? [] : flatMapDepth(
42884
+ qe,
42885
+ ($e, ze) => flatMapDepth(
42886
+ $e,
42887
+ (tt, rt) => flatMapDepth(tt, (Ct, Ve) => ({
42888
+ index: Ct.index,
42889
+ value: Ct.value || "",
42890
+ group: rt,
42891
+ key: Ve,
42892
+ label: Ct.label || Ve,
42893
+ customId: [ze, rt, Ve].join("/"),
42894
+ dataOrigin: ze
42884
42895
  })),
42885
42896
  2
42886
42897
  )
42887
42898
  ), {
42888
42899
  dimensional: _,
42889
- poiId: B,
42890
- media: A,
42891
- display: T,
42892
- scale: M,
42893
- x: P,
42894
- y: x,
42895
- z: R,
42896
- rotationX: q,
42897
- rotationY: C,
42898
- rotationZ: k,
42899
- width: $,
42900
- height: D,
42901
- nodeId: H,
42902
- contentType: z,
42903
- style: G,
42904
- contentData: Q
42900
+ id: B,
42901
+ sid: A,
42902
+ media: T,
42903
+ display: M,
42904
+ scale: P,
42905
+ x,
42906
+ y: R,
42907
+ z: q,
42908
+ rotationX: C,
42909
+ rotationY: k,
42910
+ rotationZ: $,
42911
+ width: D,
42912
+ height: H,
42913
+ nodeId: z,
42914
+ contentType: G,
42915
+ style: Q,
42916
+ contentData: ee
42905
42917
  } = e;
42906
42918
  return {
42907
42919
  id: B,
42908
- pid: H,
42909
- visible: T,
42910
- width: $,
42911
- height: D,
42920
+ sid: A,
42921
+ pid: z,
42922
+ visible: M,
42923
+ width: D,
42924
+ height: H,
42912
42925
  type: _,
42913
- contentType: z,
42926
+ contentType: G,
42914
42927
  position: {
42915
- x: P,
42916
- y: x,
42917
- z: R
42928
+ x,
42929
+ y: R,
42930
+ z: q
42918
42931
  },
42919
42932
  rotation: {
42920
- x: Math.PI / 180 * q,
42921
- y: Math.PI / 180 * C,
42922
- z: Math.PI / 180 * k
42933
+ x: Math.PI / 180 * C,
42934
+ y: Math.PI / 180 * k,
42935
+ z: Math.PI / 180 * $
42923
42936
  },
42924
42937
  scale: {
42925
- x: M / 100,
42926
- y: M / 100,
42927
- z: M / 100
42938
+ x: P / 100,
42939
+ y: P / 100,
42940
+ z: P / 100
42928
42941
  },
42929
- style: G,
42930
- dataSource: E(Q),
42931
- fileUrl: !A?.assetId && !A?.fileId ? A?.url : A?.url ? this.#g(A.url) : void 0
42942
+ style: Q,
42943
+ dataSource: E(ee),
42944
+ fileUrl: !T?.assetId && !T?.fileId ? T?.url : T?.url ? this.#g(T.url) : void 0
42932
42945
  };
42933
42946
  };
42934
42947
  /**
@@ -42980,7 +42993,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
42980
42993
  return this.ssp.utils.runWithCode(e);
42981
42994
  }
42982
42995
  #S(e, E = defaultLoadSceneOptions.asId) {
42983
- return e[E] ?? e.id;
42996
+ return (E && e[E]) ?? e.id;
42984
42997
  }
42985
42998
  #E(e) {
42986
42999
  return e.sid || e.id;
@@ -43155,7 +43168,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
43155
43168
  const M = [
43156
43169
  this.presetGis()
43157
43170
  ];
43158
- A.applyPresetEffects && M.push(this.presetEffects()), A.loadPoi && M.push(this.loadPoi(A.refreshPoiByDataSource)), A.loadFlowData && M.push(this.loadFlowData()), await Promise.allSettled(M), A.needsModelsBoundsTree && this.ssp.computeModelsBoundsTree();
43171
+ A.applyPresetEffects && M.push(this.presetEffects()), A.loadPoi && M.push(this.loadPoi(A.refreshPoiByDataSource)), A.loadTopologies && M.push(this.loadTopologies()), A.loadFlowData && M.push(this.loadFlowData()), await Promise.allSettled(M), A.needsModelsBoundsTree && this.ssp.computeModelsBoundsTree();
43159
43172
  }
43160
43173
  async presetGis() {
43161
43174
  const { gisSettings: e } = await this.fetchMetaData();
@@ -43176,8 +43189,8 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
43176
43189
  }
43177
43190
  const M = this.sceneGroup.getBoundingBox(), { min: P, max: x } = M, R = M.getCenter(new Vector3()), q = M.getSize(new Vector3()), { environment: C, previewSettings: k, gisSettings: $ } = await this.fetchMetaData(), D = safeParseJSON(k ?? "") ?? {}, H = E && D.atmosphere?.enabled;
43178
43191
  if (H) {
43179
- const { month: qe, day: $e, hours: ze, castShadow: et } = D.atmosphere;
43180
- $ && $.enabled && (this.atmospherePlugin.longitude = $.longitude, this.atmospherePlugin.latitude = $.latitude, this.atmospherePlugin.altitude = $.altitude), Object.assign(this.atmospherePlugin, { castShadow: et }), this.atmospherePlugin.target.copy(R), this.atmospherePlugin.distance = q.length(), this.atmospherePlugin.date.setMonth(qe), this.atmospherePlugin.date.setDate($e), this.atmospherePlugin.date.setHours(ze / 60), this.atmospherePlugin.date.setMinutes(ze % 60), this.atmospherePlugin.start(), this.atmospherePlugin.updateModelLightingMask();
43192
+ const { month: qe, day: $e, hours: ze, castShadow: tt } = D.atmosphere;
43193
+ $ && $.enabled && (this.atmospherePlugin.longitude = $.longitude, this.atmospherePlugin.latitude = $.latitude, this.atmospherePlugin.altitude = $.altitude), Object.assign(this.atmospherePlugin, { castShadow: tt }), this.atmospherePlugin.target.copy(R), this.atmospherePlugin.distance = q.length(), this.atmospherePlugin.date.setMonth(qe), this.atmospherePlugin.date.setDate($e), this.atmospherePlugin.date.setHours(ze / 60), this.atmospherePlugin.date.setMinutes(ze % 60), this.atmospherePlugin.start(), this.atmospherePlugin.updateModelLightingMask();
43181
43194
  }
43182
43195
  if (_ && C && D.environment?.HDR !== "default" && !H && this.ssp.setEnvironment({
43183
43196
  file: this.#g(C),
@@ -43215,6 +43228,12 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
43215
43228
  async getTopologies() {
43216
43229
  return this.fetchTopologyData();
43217
43230
  }
43231
+ /**
43232
+ * 加载拓扑路径
43233
+ */
43234
+ async loadTopologies() {
43235
+ return (await this.fetchTopologyData()).map((E) => this.ssp.createTopology(E));
43236
+ }
43218
43237
  /**
43219
43238
  * 对 nodes 排序(只适用于线路结构的拓扑路径)
43220
43239
  */
@@ -43412,6 +43431,7 @@ export {
43412
43431
  ANIMATIONS_DATA_FILE_PATH,
43413
43432
  DATA_SOURCE_FILE_PATH,
43414
43433
  FLAT_DATA_FILE_PATH,
43434
+ FLOWS_DATA_FILE_PATH,
43415
43435
  LoadSceneAlgorithm,
43416
43436
  META_DATA_FILE_PATH,
43417
43437
  MODEL_VISIONS_DATA_FILE_PATH,