holostaff-widget 3.0.8 → 3.0.9

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.
Files changed (24) hide show
  1. package/dist/{CanvasRenderer-Bv-aQ5u9.js → CanvasRenderer-BbLcmUrB.js} +5 -5
  2. package/dist/{CanvasRenderer-Bv-aQ5u9.js.map → CanvasRenderer-BbLcmUrB.js.map} +1 -1
  3. package/dist/{Filter-USG-3OWx.js → Filter-c3b_NGGq.js} +2 -2
  4. package/dist/{Filter-USG-3OWx.js.map → Filter-c3b_NGGq.js.map} +1 -1
  5. package/dist/{GpuStencilModesToPixi-0Pv9HrNg.js → GpuStencilModesToPixi-m2FwdmOS.js} +3 -3
  6. package/dist/{GpuStencilModesToPixi-0Pv9HrNg.js.map → GpuStencilModesToPixi-m2FwdmOS.js.map} +1 -1
  7. package/dist/{RenderTargetSystem-BNInd2k4.js → RenderTargetSystem-Djlsv2av.js} +3 -3
  8. package/dist/{RenderTargetSystem-BNInd2k4.js.map → RenderTargetSystem-Djlsv2av.js.map} +1 -1
  9. package/dist/{WebGLRenderer-zb0jiqTg.js → WebGLRenderer-0ORJ9PSM.js} +5 -5
  10. package/dist/{WebGLRenderer-zb0jiqTg.js.map → WebGLRenderer-0ORJ9PSM.js.map} +1 -1
  11. package/dist/{WebGPURenderer-fm_uBJOT.js → WebGPURenderer-IkacCxg7.js} +6 -6
  12. package/dist/{WebGPURenderer-fm_uBJOT.js.map → WebGPURenderer-IkacCxg7.js.map} +1 -1
  13. package/dist/{browserAll-CcRDLEJc.js → browserAll-zkM6prpX.js} +3 -3
  14. package/dist/{browserAll-CcRDLEJc.js.map → browserAll-zkM6prpX.js.map} +1 -1
  15. package/dist/{getTextureBatchBindGroup-DBv7jVal.js → getTextureBatchBindGroup-DVwotFiU.js} +3 -3
  16. package/dist/{getTextureBatchBindGroup-DBv7jVal.js.map → getTextureBatchBindGroup-DVwotFiU.js.map} +1 -1
  17. package/dist/hs-widget.es.js +1 -1
  18. package/dist/hs-widget.umd.js +1 -1
  19. package/dist/hs-widget.umd.js.map +1 -1
  20. package/dist/{index-CHnN3M8o.js → index-Glf3TIbT.js} +261 -247
  21. package/dist/{index-CHnN3M8o.js.map → index-Glf3TIbT.js.map} +1 -1
  22. package/dist/{webworkerAll-CIC3WsZz.js → webworkerAll-C7jo9o_4.js} +3 -3
  23. package/dist/{webworkerAll-CIC3WsZz.js.map → webworkerAll-C7jo9o_4.js.map} +1 -1
  24. package/package.json +1 -1
@@ -346,45 +346,45 @@ function ka() {
346
346
  }, a.prototype.emit = function(h, f, u, g, m, _) {
347
347
  var v = t ? t + h : h;
348
348
  if (!this._events[v]) return !1;
349
- var C = this._events[v], S = arguments.length, A, I;
350
- if (C.fn) {
351
- switch (C.once && this.removeListener(h, C.fn, void 0, !0), S) {
349
+ var b = this._events[v], S = arguments.length, A, I;
350
+ if (b.fn) {
351
+ switch (b.once && this.removeListener(h, b.fn, void 0, !0), S) {
352
352
  case 1:
353
- return C.fn.call(C.context), !0;
353
+ return b.fn.call(b.context), !0;
354
354
  case 2:
355
- return C.fn.call(C.context, f), !0;
355
+ return b.fn.call(b.context, f), !0;
356
356
  case 3:
357
- return C.fn.call(C.context, f, u), !0;
357
+ return b.fn.call(b.context, f, u), !0;
358
358
  case 4:
359
- return C.fn.call(C.context, f, u, g), !0;
359
+ return b.fn.call(b.context, f, u, g), !0;
360
360
  case 5:
361
- return C.fn.call(C.context, f, u, g, m), !0;
361
+ return b.fn.call(b.context, f, u, g, m), !0;
362
362
  case 6:
363
- return C.fn.call(C.context, f, u, g, m, _), !0;
363
+ return b.fn.call(b.context, f, u, g, m, _), !0;
364
364
  }
365
365
  for (I = 1, A = new Array(S - 1); I < S; I++)
366
366
  A[I - 1] = arguments[I];
367
- C.fn.apply(C.context, A);
367
+ b.fn.apply(b.context, A);
368
368
  } else {
369
- var w = C.length, T;
369
+ var w = b.length, T;
370
370
  for (I = 0; I < w; I++)
371
- switch (C[I].once && this.removeListener(h, C[I].fn, void 0, !0), S) {
371
+ switch (b[I].once && this.removeListener(h, b[I].fn, void 0, !0), S) {
372
372
  case 1:
373
- C[I].fn.call(C[I].context);
373
+ b[I].fn.call(b[I].context);
374
374
  break;
375
375
  case 2:
376
- C[I].fn.call(C[I].context, f);
376
+ b[I].fn.call(b[I].context, f);
377
377
  break;
378
378
  case 3:
379
- C[I].fn.call(C[I].context, f, u);
379
+ b[I].fn.call(b[I].context, f, u);
380
380
  break;
381
381
  case 4:
382
- C[I].fn.call(C[I].context, f, u, g);
382
+ b[I].fn.call(b[I].context, f, u, g);
383
383
  break;
384
384
  default:
385
385
  if (!A) for (T = 1, A = new Array(S - 1); T < S; T++)
386
386
  A[T - 1] = arguments[T];
387
- C[I].fn.apply(C[I].context, A);
387
+ b[I].fn.apply(b[I].context, A);
388
388
  }
389
389
  }
390
390
  return !0;
@@ -401,9 +401,9 @@ function ka() {
401
401
  if (_.fn)
402
402
  _.fn === f && (!g || _.once) && (!u || _.context === u) && o(this, m);
403
403
  else {
404
- for (var v = 0, C = [], S = _.length; v < S; v++)
405
- (_[v].fn !== f || g && !_[v].once || u && _[v].context !== u) && C.push(_[v]);
406
- C.length ? this._events[m] = C.length === 1 ? C[0] : C : o(this, m);
404
+ for (var v = 0, b = [], S = _.length; v < S; v++)
405
+ (_[v].fn !== f || g && !_[v].once || u && _[v].context !== u) && b.push(_[v]);
406
+ b.length ? this._events[m] = b.length === 1 ? b[0] : b : o(this, m);
407
407
  }
408
408
  return this;
409
409
  }, a.prototype.removeAllListeners = function(h) {
@@ -4562,8 +4562,8 @@ class He {
4562
4562
  strokeContains(e, t, s, n = 0.5) {
4563
4563
  const { width: r, height: o } = this;
4564
4564
  if (r <= 0 || o <= 0) return !1;
4565
- const a = this.x, l = this.y, h = s * (1 - n), f = s - h, u = a - h, g = a + r + h, m = l - h, _ = l + o + h, v = a + f, C = a + r - f, S = l + f, A = l + o - f;
4566
- return e >= u && e <= g && t >= m && t <= _ && !(e > v && e < C && t > S && t < A);
4565
+ const a = this.x, l = this.y, h = s * (1 - n), f = s - h, u = a - h, g = a + r + h, m = l - h, _ = l + o + h, v = a + f, b = a + r - f, S = l + f, A = l + o - f;
4566
+ return e >= u && e <= g && t >= m && t <= _ && !(e > v && e < b && t > S && t < A);
4567
4567
  }
4568
4568
  /**
4569
4569
  * Determines whether the `other` Rectangle transformed by `transform` intersects with `this` Rectangle object.
@@ -4623,8 +4623,8 @@ class He {
4623
4623
  const u = Math.sign(t.a * t.d - t.b * t.c);
4624
4624
  if (u === 0 || (t.apply(a, a), t.apply(l, l), t.apply(h, h), t.apply(f, f), Math.max(a.x, l.x, h.x, f.x) <= s || Math.min(a.x, l.x, h.x, f.x) >= n || Math.max(a.y, l.y, h.y, f.y) <= r || Math.min(a.y, l.y, h.y, f.y) >= o))
4625
4625
  return !1;
4626
- const g = u * (l.y - a.y), m = u * (a.x - l.x), _ = g * s + m * r, v = g * n + m * r, C = g * s + m * o, S = g * n + m * o;
4627
- if (Math.max(_, v, C, S) <= g * a.x + m * a.y || Math.min(_, v, C, S) >= g * f.x + m * f.y)
4626
+ const g = u * (l.y - a.y), m = u * (a.x - l.x), _ = g * s + m * r, v = g * n + m * r, b = g * s + m * o, S = g * n + m * o;
4627
+ if (Math.max(_, v, b, S) <= g * a.x + m * a.y || Math.min(_, v, b, S) >= g * f.x + m * f.y)
4628
4628
  return !1;
4629
4629
  const A = u * (a.y - h.y), I = u * (h.x - a.x), w = A * s + I * r, T = A * n + I * r, M = A * s + I * o, F = A * n + I * o;
4630
4630
  return !(Math.max(w, T, M, F) <= A * a.x + I * a.y || Math.min(w, T, M, F) >= A * f.x + I * f.y);
@@ -4948,8 +4948,8 @@ class st {
4948
4948
  addFrame(e, t, s, n, r) {
4949
4949
  r || (r = this.matrix);
4950
4950
  const o = r.a, a = r.b, l = r.c, h = r.d, f = r.tx, u = r.ty;
4951
- let g = this.minX, m = this.minY, _ = this.maxX, v = this.maxY, C = o * e + l * t + f, S = a * e + h * t + u;
4952
- C < g && (g = C), S < m && (m = S), C > _ && (_ = C), S > v && (v = S), C = o * s + l * t + f, S = a * s + h * t + u, C < g && (g = C), S < m && (m = S), C > _ && (_ = C), S > v && (v = S), C = o * e + l * n + f, S = a * e + h * n + u, C < g && (g = C), S < m && (m = S), C > _ && (_ = C), S > v && (v = S), C = o * s + l * n + f, S = a * s + h * n + u, C < g && (g = C), S < m && (m = S), C > _ && (_ = C), S > v && (v = S), this.minX = g, this.minY = m, this.maxX = _, this.maxY = v;
4951
+ let g = this.minX, m = this.minY, _ = this.maxX, v = this.maxY, b = o * e + l * t + f, S = a * e + h * t + u;
4952
+ b < g && (g = b), S < m && (m = S), b > _ && (_ = b), S > v && (v = S), b = o * s + l * t + f, S = a * s + h * t + u, b < g && (g = b), S < m && (m = S), b > _ && (_ = b), S > v && (v = S), b = o * e + l * n + f, S = a * e + h * n + u, b < g && (g = b), S < m && (m = S), b > _ && (_ = b), S > v && (v = S), b = o * s + l * n + f, S = a * s + h * n + u, b < g && (g = b), S < m && (m = S), b > _ && (_ = b), S > v && (v = S), this.minX = g, this.minY = m, this.maxX = _, this.maxY = v;
4953
4953
  }
4954
4954
  /**
4955
4955
  * Adds a rectangle to the bounds, optionally transformed by a matrix.
@@ -5380,7 +5380,7 @@ class st {
5380
5380
  n || (n = this.matrix);
5381
5381
  const h = n.a, f = n.b, u = n.c, g = n.d, m = n.tx, _ = n.ty;
5382
5382
  for (let v = t; v < s; v += 2) {
5383
- const C = e[v], S = e[v + 1], A = h * C + u * S + m, I = f * C + g * S + _;
5383
+ const b = e[v], S = e[v + 1], A = h * b + u * S + m, I = f * b + g * S + _;
5384
5384
  r = A < r ? A : r, o = I < o ? I : o, a = A > a ? A : a, l = I > l ? I : l;
5385
5385
  }
5386
5386
  this.minX = r, this.minY = o, this.maxX = a, this.maxY = l;
@@ -5903,8 +5903,8 @@ const W = {
5903
5903
  * @param {number} dh - sprite height
5904
5904
  */
5905
5905
  matrixAppendRotationInv: (i, e, t = 0, s = 0, n = 0, r = 0) => {
5906
- const o = Ur[W.inv(e)], a = o.a, l = o.b, h = o.c, f = o.d, u = t - Math.min(0, a * n, h * r, a * n + h * r), g = s - Math.min(0, l * n, f * r, l * n + f * r), m = i.a, _ = i.b, v = i.c, C = i.d;
5907
- i.a = a * m + l * v, i.b = a * _ + l * C, i.c = h * m + f * v, i.d = h * _ + f * C, i.tx = u * m + g * v + i.tx, i.ty = u * _ + g * C + i.ty;
5906
+ const o = Ur[W.inv(e)], a = o.a, l = o.b, h = o.c, f = o.d, u = t - Math.min(0, a * n, h * r, a * n + h * r), g = s - Math.min(0, l * n, f * r, l * n + f * r), m = i.a, _ = i.b, v = i.c, b = i.d;
5907
+ i.a = a * m + l * v, i.b = a * _ + l * b, i.c = h * m + f * v, i.d = h * _ + f * b, i.tx = u * m + g * v + i.tx, i.ty = u * _ + g * b + i.ty;
5908
5908
  },
5909
5909
  /**
5910
5910
  * Transforms rectangle coordinates based on texture packer rotation.
@@ -7699,8 +7699,8 @@ const ec = {
7699
7699
  aVertex: (i, e, t, s, n) => {
7700
7700
  let r = 0, o = 0, a = 0, l = 0;
7701
7701
  for (let h = 0; h < i.length; ++h) {
7702
- const f = i[h], u = f.texture, g = f.scaleX, m = f.scaleY, _ = f.anchorX, v = f.anchorY, C = u.trim, S = u.orig;
7703
- C ? (o = C.x - _ * S.width, r = o + C.width, l = C.y - v * S.height, a = l + C.height) : (r = S.width * (1 - _), o = S.width * -_, a = S.height * (1 - v), l = S.height * -v), e[s] = o * g, e[s + 1] = l * m, e[s + n] = r * g, e[s + n + 1] = l * m, e[s + n * 2] = r * g, e[s + n * 2 + 1] = a * m, e[s + n * 3] = o * g, e[s + n * 3 + 1] = a * m, s += n * 4;
7702
+ const f = i[h], u = f.texture, g = f.scaleX, m = f.scaleY, _ = f.anchorX, v = f.anchorY, b = u.trim, S = u.orig;
7703
+ b ? (o = b.x - _ * S.width, r = o + b.width, l = b.y - v * S.height, a = l + b.height) : (r = S.width * (1 - _), o = S.width * -_, a = S.height * (1 - v), l = S.height * -v), e[s] = o * g, e[s + 1] = l * m, e[s + n] = r * g, e[s + n + 1] = l * m, e[s + n * 2] = r * g, e[s + n * 2 + 1] = a * m, e[s + n * 3] = o * g, e[s + n * 3 + 1] = a * m, s += n * 4;
7704
7704
  }
7705
7705
  },
7706
7706
  aPosition: (i, e, t, s, n) => {
@@ -8151,7 +8151,7 @@ const pc = {
8151
8151
  },
8152
8152
  test: () => !0,
8153
8153
  load: async () => {
8154
- await import("./browserAll-CcRDLEJc.js");
8154
+ await import("./browserAll-zkM6prpX.js");
8155
8155
  }
8156
8156
  }, mc = {
8157
8157
  extension: {
@@ -8161,7 +8161,7 @@ const pc = {
8161
8161
  },
8162
8162
  test: () => typeof self < "u" && self.WorkerGlobalScope !== void 0,
8163
8163
  load: async () => {
8164
- await import("./webworkerAll-CIC3WsZz.js");
8164
+ await import("./webworkerAll-C7jo9o_4.js");
8165
8165
  }
8166
8166
  };
8167
8167
  function gc(i, e, t) {
@@ -10134,18 +10134,18 @@ class oo {
10134
10134
  const u = Nt(o).map((v) => typeof v == "string" ? Tc(v) : Array.isArray(v) ? v : [v]), g = this.getAlias(r);
10135
10135
  Array.isArray(g) ? g.forEach(s) : s(g);
10136
10136
  const m = [], _ = (v) => {
10137
- const C = this._parsers.find((S) => S.test(v));
10137
+ const b = this._parsers.find((S) => S.test(v));
10138
10138
  return {
10139
10139
  src: v,
10140
- ...C == null ? void 0 : C.parse(v)
10140
+ ...b == null ? void 0 : b.parse(v)
10141
10141
  };
10142
10142
  };
10143
10143
  u.forEach((v) => {
10144
- v.forEach((C) => {
10144
+ v.forEach((b) => {
10145
10145
  let S = {};
10146
- if (typeof C != "object" ? S = _(C) : (a = C.data ?? a, l = C.format ?? l, (C.loadParser || C.parser) && (h = C.loadParser ?? h, f = C.parser ?? f), S = {
10147
- ..._(C.src),
10148
- ...C
10146
+ if (typeof b != "object" ? S = _(b) : (a = b.data ?? a, l = b.format ?? l, (b.loadParser || b.parser) && (h = b.loadParser ?? h, f = b.parser ?? f), S = {
10147
+ ..._(b.src),
10148
+ ...b
10149
10149
  }), !g)
10150
10150
  throw new Error(`[Resolver] alias is undefined for this asset: ${S.src}`);
10151
10151
  S = this._buildResolvedAsset(S, {
@@ -10534,9 +10534,9 @@ const kc = {
10534
10534
  for (const v of f) {
10535
10535
  if (typeof v != "string")
10536
10536
  continue;
10537
- let C = a + v;
10538
- (g = e.data) != null && g.ignoreMultiPack || (C = kn(C, e.src), m.push(t.load({
10539
- src: C,
10537
+ let b = a + v;
10538
+ (g = e.data) != null && g.ignoreMultiPack || (b = kn(b, e.src), m.push(t.load({
10539
+ src: b,
10540
10540
  data: {
10541
10541
  textureOptions: r,
10542
10542
  ignoreMultiPack: !0
@@ -10545,7 +10545,7 @@ const kc = {
10545
10545
  }
10546
10546
  const _ = await Promise.all(m);
10547
10547
  h.linkedSheets = _, _.forEach((v) => {
10548
- v.linkedSheets = [h].concat(h.linkedSheets.filter((C) => C !== v));
10548
+ v.linkedSheets = [h].concat(h.linkedSheets.filter((b) => b !== v));
10549
10549
  });
10550
10550
  }
10551
10551
  return h;
@@ -10602,17 +10602,17 @@ async function Dc(i) {
10602
10602
  for (let r = 0; r < e.length; r++) {
10603
10603
  const o = e[r];
10604
10604
  if (o === "webgpu" && await Nc()) {
10605
- const { WebGPURenderer: a } = await import("./WebGPURenderer-fm_uBJOT.js");
10605
+ const { WebGPURenderer: a } = await import("./WebGPURenderer-IkacCxg7.js");
10606
10606
  t = a, s = { ...i, ...i.webgpu };
10607
10607
  break;
10608
10608
  } else if (o === "webgl" && Mc(
10609
10609
  i.failIfMajorPerformanceCaveat ?? Ys.defaultOptions.failIfMajorPerformanceCaveat
10610
10610
  )) {
10611
- const { WebGLRenderer: a } = await import("./WebGLRenderer-zb0jiqTg.js");
10611
+ const { WebGLRenderer: a } = await import("./WebGLRenderer-0ORJ9PSM.js");
10612
10612
  t = a, s = { ...i, ...i.webgl };
10613
10613
  break;
10614
10614
  } else if (o === "canvas") {
10615
- const { CanvasRenderer: a } = await import("./CanvasRenderer-Bv-aQ5u9.js");
10615
+ const { CanvasRenderer: a } = await import("./CanvasRenderer-BbLcmUrB.js");
10616
10616
  t = a, s = { ...i, ...i.canvasOptions };
10617
10617
  break;
10618
10618
  }
@@ -11427,18 +11427,18 @@ function Xc() {
11427
11427
  throw new Error("Invalid string. Length must be a multiple of 4");
11428
11428
  var v = m.indexOf("=");
11429
11429
  v === -1 && (v = _);
11430
- var C = v === _ ? 0 : 4 - v % 4;
11431
- return [v, C];
11430
+ var b = v === _ ? 0 : 4 - v % 4;
11431
+ return [v, b];
11432
11432
  }
11433
11433
  function a(m) {
11434
- var _ = o(m), v = _[0], C = _[1];
11435
- return (v + C) * 3 / 4 - C;
11434
+ var _ = o(m), v = _[0], b = _[1];
11435
+ return (v + b) * 3 / 4 - b;
11436
11436
  }
11437
11437
  function l(m, _, v) {
11438
11438
  return (_ + v) * 3 / 4 - v;
11439
11439
  }
11440
11440
  function h(m) {
11441
- var _, v = o(m), C = v[0], S = v[1], A = new t(l(m, C, S)), I = 0, w = S > 0 ? C - 4 : C, T;
11441
+ var _, v = o(m), b = v[0], S = v[1], A = new t(l(m, b, S)), I = 0, w = S > 0 ? b - 4 : b, T;
11442
11442
  for (T = 0; T < w; T += 4)
11443
11443
  _ = e[m.charCodeAt(T)] << 18 | e[m.charCodeAt(T + 1)] << 12 | e[m.charCodeAt(T + 2)] << 6 | e[m.charCodeAt(T + 3)], A[I++] = _ >> 16 & 255, A[I++] = _ >> 8 & 255, A[I++] = _ & 255;
11444
11444
  return S === 2 && (_ = e[m.charCodeAt(T)] << 2 | e[m.charCodeAt(T + 1)] >> 4, A[I++] = _ & 255), S === 1 && (_ = e[m.charCodeAt(T)] << 10 | e[m.charCodeAt(T + 1)] << 4 | e[m.charCodeAt(T + 2)] >> 2, A[I++] = _ >> 8 & 255, A[I++] = _ & 255), A;
@@ -11447,16 +11447,16 @@ function Xc() {
11447
11447
  return i[m >> 18 & 63] + i[m >> 12 & 63] + i[m >> 6 & 63] + i[m & 63];
11448
11448
  }
11449
11449
  function u(m, _, v) {
11450
- for (var C, S = [], A = _; A < v; A += 3)
11451
- C = (m[A] << 16 & 16711680) + (m[A + 1] << 8 & 65280) + (m[A + 2] & 255), S.push(f(C));
11450
+ for (var b, S = [], A = _; A < v; A += 3)
11451
+ b = (m[A] << 16 & 16711680) + (m[A + 1] << 8 & 65280) + (m[A + 2] & 255), S.push(f(b));
11452
11452
  return S.join("");
11453
11453
  }
11454
11454
  function g(m) {
11455
- for (var _, v = m.length, C = v % 3, S = [], A = 16383, I = 0, w = v - C; I < w; I += A)
11455
+ for (var _, v = m.length, b = v % 3, S = [], A = 16383, I = 0, w = v - b; I < w; I += A)
11456
11456
  S.push(u(m, I, I + A > w ? w : I + A));
11457
- return C === 1 ? (_ = m[v - 1], S.push(
11457
+ return b === 1 ? (_ = m[v - 1], S.push(
11458
11458
  i[_ >> 2] + i[_ << 4 & 63] + "=="
11459
- )) : C === 2 && (_ = (m[v - 2] << 8) + m[v - 1], S.push(
11459
+ )) : b === 2 && (_ = (m[v - 2] << 8) + m[v - 1], S.push(
11460
11460
  i[_ >> 10] + i[_ >> 4 & 63] + i[_ << 2 & 63] + "="
11461
11461
  )), S.join("");
11462
11462
  }
@@ -11562,8 +11562,8 @@ function Kc() {
11562
11562
  const y = p.valueOf && p.valueOf();
11563
11563
  if (y != null && y !== p)
11564
11564
  return a.from(y, c, d);
11565
- const b = C(p);
11566
- if (b) return b;
11565
+ const C = b(p);
11566
+ if (C) return C;
11567
11567
  if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof p[Symbol.toPrimitive] == "function")
11568
11568
  return a.from(p[Symbol.toPrimitive]("string"), c, d);
11569
11569
  throw new TypeError(
@@ -11598,8 +11598,8 @@ function Kc() {
11598
11598
  throw new TypeError("Unknown encoding: " + c);
11599
11599
  const d = I(p, c) | 0;
11600
11600
  let y = o(d);
11601
- const b = y.write(p, c);
11602
- return b !== d && (y = y.slice(0, b)), y;
11601
+ const C = y.write(p, c);
11602
+ return C !== d && (y = y.slice(0, C)), y;
11603
11603
  }
11604
11604
  function m(p) {
11605
11605
  const c = p.length < 0 ? 0 : S(p.length) | 0, d = o(c);
@@ -11622,7 +11622,7 @@ function Kc() {
11622
11622
  let y;
11623
11623
  return c === void 0 && d === void 0 ? y = new Uint8Array(p) : d === void 0 ? y = new Uint8Array(p, c) : y = new Uint8Array(p, c, d), Object.setPrototypeOf(y, a.prototype), y;
11624
11624
  }
11625
- function C(p) {
11625
+ function b(p) {
11626
11626
  if (a.isBuffer(p)) {
11627
11627
  const c = S(p.length) | 0, d = o(c);
11628
11628
  return d.length === 0 || p.copy(d, 0, 0, c), d;
@@ -11648,13 +11648,13 @@ function Kc() {
11648
11648
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
11649
11649
  );
11650
11650
  if (c === d) return 0;
11651
- let y = c.length, b = d.length;
11652
- for (let E = 0, x = Math.min(y, b); E < x; ++E)
11651
+ let y = c.length, C = d.length;
11652
+ for (let E = 0, x = Math.min(y, C); E < x; ++E)
11653
11653
  if (c[E] !== d[E]) {
11654
- y = c[E], b = d[E];
11654
+ y = c[E], C = d[E];
11655
11655
  break;
11656
11656
  }
11657
- return y < b ? -1 : b < y ? 1 : 0;
11657
+ return y < C ? -1 : C < y ? 1 : 0;
11658
11658
  }, a.isEncoding = function(c) {
11659
11659
  switch (String(c).toLowerCase()) {
11660
11660
  case "hex":
@@ -11681,23 +11681,23 @@ function Kc() {
11681
11681
  if (d === void 0)
11682
11682
  for (d = 0, y = 0; y < c.length; ++y)
11683
11683
  d += c[y].length;
11684
- const b = a.allocUnsafe(d);
11684
+ const C = a.allocUnsafe(d);
11685
11685
  let E = 0;
11686
11686
  for (y = 0; y < c.length; ++y) {
11687
11687
  let x = c[y];
11688
11688
  if (ze(x, Uint8Array))
11689
- E + x.length > b.length ? (a.isBuffer(x) || (x = a.from(x)), x.copy(b, E)) : Uint8Array.prototype.set.call(
11690
- b,
11689
+ E + x.length > C.length ? (a.isBuffer(x) || (x = a.from(x)), x.copy(C, E)) : Uint8Array.prototype.set.call(
11690
+ C,
11691
11691
  x,
11692
11692
  E
11693
11693
  );
11694
11694
  else if (a.isBuffer(x))
11695
- x.copy(b, E);
11695
+ x.copy(C, E);
11696
11696
  else
11697
11697
  throw new TypeError('"list" argument must be an Array of Buffers');
11698
11698
  E += x.length;
11699
11699
  }
11700
- return b;
11700
+ return C;
11701
11701
  };
11702
11702
  function I(p, c) {
11703
11703
  if (a.isBuffer(p))
@@ -11710,7 +11710,7 @@ function Kc() {
11710
11710
  );
11711
11711
  const d = p.length, y = arguments.length > 2 && arguments[2] === !0;
11712
11712
  if (!y && d === 0) return 0;
11713
- let b = !1;
11713
+ let C = !1;
11714
11714
  for (; ; )
11715
11715
  switch (c) {
11716
11716
  case "ascii":
@@ -11730,9 +11730,9 @@ function Kc() {
11730
11730
  case "base64":
11731
11731
  return en(p).length;
11732
11732
  default:
11733
- if (b)
11733
+ if (C)
11734
11734
  return y ? -1 : Zi(p).length;
11735
- c = ("" + c).toLowerCase(), b = !0;
11735
+ c = ("" + c).toLowerCase(), C = !0;
11736
11736
  }
11737
11737
  }
11738
11738
  a.byteLength = I;
@@ -11800,22 +11800,22 @@ function Kc() {
11800
11800
  let c = "";
11801
11801
  const d = i.INSPECT_MAX_BYTES;
11802
11802
  return c = this.toString("hex", 0, d).replace(/(.{2})/g, "$1 ").trim(), this.length > d && (c += " ... "), "<Buffer " + c + ">";
11803
- }, s && (a.prototype[s] = a.prototype.inspect), a.prototype.compare = function(c, d, y, b, E) {
11803
+ }, s && (a.prototype[s] = a.prototype.inspect), a.prototype.compare = function(c, d, y, C, E) {
11804
11804
  if (ze(c, Uint8Array) && (c = a.from(c, c.offset, c.byteLength)), !a.isBuffer(c))
11805
11805
  throw new TypeError(
11806
11806
  'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof c
11807
11807
  );
11808
- if (d === void 0 && (d = 0), y === void 0 && (y = c ? c.length : 0), b === void 0 && (b = 0), E === void 0 && (E = this.length), d < 0 || y > c.length || b < 0 || E > this.length)
11808
+ if (d === void 0 && (d = 0), y === void 0 && (y = c ? c.length : 0), C === void 0 && (C = 0), E === void 0 && (E = this.length), d < 0 || y > c.length || C < 0 || E > this.length)
11809
11809
  throw new RangeError("out of range index");
11810
- if (b >= E && d >= y)
11810
+ if (C >= E && d >= y)
11811
11811
  return 0;
11812
- if (b >= E)
11812
+ if (C >= E)
11813
11813
  return -1;
11814
11814
  if (d >= y)
11815
11815
  return 1;
11816
- if (d >>>= 0, y >>>= 0, b >>>= 0, E >>>= 0, this === c) return 0;
11817
- let x = E - b, N = y - d;
11818
- const K = Math.min(x, N), Y = this.slice(b, E), Z = c.slice(d, y);
11816
+ if (d >>>= 0, y >>>= 0, C >>>= 0, E >>>= 0, this === c) return 0;
11817
+ let x = E - C, N = y - d;
11818
+ const K = Math.min(x, N), Y = this.slice(C, E), Z = c.slice(d, y);
11819
11819
  for (let G = 0; G < K; ++G)
11820
11820
  if (Y[G] !== Z[G]) {
11821
11821
  x = Y[G], N = Z[G];
@@ -11823,21 +11823,21 @@ function Kc() {
11823
11823
  }
11824
11824
  return x < N ? -1 : N < x ? 1 : 0;
11825
11825
  };
11826
- function M(p, c, d, y, b) {
11826
+ function M(p, c, d, y, C) {
11827
11827
  if (p.length === 0) return -1;
11828
- if (typeof d == "string" ? (y = d, d = 0) : d > 2147483647 ? d = 2147483647 : d < -2147483648 && (d = -2147483648), d = +d, Ji(d) && (d = b ? 0 : p.length - 1), d < 0 && (d = p.length + d), d >= p.length) {
11829
- if (b) return -1;
11828
+ if (typeof d == "string" ? (y = d, d = 0) : d > 2147483647 ? d = 2147483647 : d < -2147483648 && (d = -2147483648), d = +d, Ji(d) && (d = C ? 0 : p.length - 1), d < 0 && (d = p.length + d), d >= p.length) {
11829
+ if (C) return -1;
11830
11830
  d = p.length - 1;
11831
11831
  } else if (d < 0)
11832
- if (b) d = 0;
11832
+ if (C) d = 0;
11833
11833
  else return -1;
11834
11834
  if (typeof c == "string" && (c = a.from(c, y)), a.isBuffer(c))
11835
- return c.length === 0 ? -1 : F(p, c, d, y, b);
11835
+ return c.length === 0 ? -1 : F(p, c, d, y, C);
11836
11836
  if (typeof c == "number")
11837
- return c = c & 255, typeof Uint8Array.prototype.indexOf == "function" ? b ? Uint8Array.prototype.indexOf.call(p, c, d) : Uint8Array.prototype.lastIndexOf.call(p, c, d) : F(p, [c], d, y, b);
11837
+ return c = c & 255, typeof Uint8Array.prototype.indexOf == "function" ? C ? Uint8Array.prototype.indexOf.call(p, c, d) : Uint8Array.prototype.lastIndexOf.call(p, c, d) : F(p, [c], d, y, C);
11838
11838
  throw new TypeError("val must be string, number or Buffer");
11839
11839
  }
11840
- function F(p, c, d, y, b) {
11840
+ function F(p, c, d, y, C) {
11841
11841
  let E = 1, x = p.length, N = c.length;
11842
11842
  if (y !== void 0 && (y = String(y).toLowerCase(), y === "ucs2" || y === "ucs-2" || y === "utf16le" || y === "utf-16le")) {
11843
11843
  if (p.length < 2 || c.length < 2)
@@ -11848,7 +11848,7 @@ function Kc() {
11848
11848
  return E === 1 ? Z[G] : Z.readUInt16BE(G * E);
11849
11849
  }
11850
11850
  let Y;
11851
- if (b) {
11851
+ if (C) {
11852
11852
  let Z = -1;
11853
11853
  for (Y = d; Y < x; Y++)
11854
11854
  if (K(p, Y) === K(c, Z === -1 ? 0 : Y - Z)) {
@@ -11876,8 +11876,8 @@ function Kc() {
11876
11876
  };
11877
11877
  function D(p, c, d, y) {
11878
11878
  d = Number(d) || 0;
11879
- const b = p.length - d;
11880
- y ? (y = Number(y), y > b && (y = b)) : y = b;
11879
+ const C = p.length - d;
11880
+ y ? (y = Number(y), y > C && (y = C)) : y = C;
11881
11881
  const E = c.length;
11882
11882
  y > E / 2 && (y = E / 2);
11883
11883
  let x;
@@ -11900,13 +11900,13 @@ function Kc() {
11900
11900
  function me(p, c, d, y) {
11901
11901
  return yi(ya(c, p.length - d), p, d, y);
11902
11902
  }
11903
- a.prototype.write = function(c, d, y, b) {
11903
+ a.prototype.write = function(c, d, y, C) {
11904
11904
  if (d === void 0)
11905
- b = "utf8", y = this.length, d = 0;
11905
+ C = "utf8", y = this.length, d = 0;
11906
11906
  else if (y === void 0 && typeof d == "string")
11907
- b = d, y = this.length, d = 0;
11907
+ C = d, y = this.length, d = 0;
11908
11908
  else if (isFinite(d))
11909
- d = d >>> 0, isFinite(y) ? (y = y >>> 0, b === void 0 && (b = "utf8")) : (b = y, y = void 0);
11909
+ d = d >>> 0, isFinite(y) ? (y = y >>> 0, C === void 0 && (C = "utf8")) : (C = y, y = void 0);
11910
11910
  else
11911
11911
  throw new Error(
11912
11912
  "Buffer.write(string, encoding, offset[, length]) is no longer supported"
@@ -11914,10 +11914,10 @@ function Kc() {
11914
11914
  const E = this.length - d;
11915
11915
  if ((y === void 0 || y > E) && (y = E), c.length > 0 && (y < 0 || d < 0) || d > this.length)
11916
11916
  throw new RangeError("Attempt to write outside buffer bounds");
11917
- b || (b = "utf8");
11917
+ C || (C = "utf8");
11918
11918
  let x = !1;
11919
11919
  for (; ; )
11920
- switch (b) {
11920
+ switch (C) {
11921
11921
  case "hex":
11922
11922
  return D(this, c, d, y);
11923
11923
  case "utf8":
@@ -11935,8 +11935,8 @@ function Kc() {
11935
11935
  case "utf-16le":
11936
11936
  return me(this, c, d, y);
11937
11937
  default:
11938
- if (x) throw new TypeError("Unknown encoding: " + b);
11939
- b = ("" + b).toLowerCase(), x = !0;
11938
+ if (x) throw new TypeError("Unknown encoding: " + C);
11939
+ C = ("" + C).toLowerCase(), x = !0;
11940
11940
  }
11941
11941
  }, a.prototype.toJSON = function() {
11942
11942
  return {
@@ -11950,27 +11950,27 @@ function Kc() {
11950
11950
  function H(p, c, d) {
11951
11951
  d = Math.min(p.length, d);
11952
11952
  const y = [];
11953
- let b = c;
11954
- for (; b < d; ) {
11955
- const E = p[b];
11953
+ let C = c;
11954
+ for (; C < d; ) {
11955
+ const E = p[C];
11956
11956
  let x = null, N = E > 239 ? 4 : E > 223 ? 3 : E > 191 ? 2 : 1;
11957
- if (b + N <= d) {
11957
+ if (C + N <= d) {
11958
11958
  let K, Y, Z, G;
11959
11959
  switch (N) {
11960
11960
  case 1:
11961
11961
  E < 128 && (x = E);
11962
11962
  break;
11963
11963
  case 2:
11964
- K = p[b + 1], (K & 192) === 128 && (G = (E & 31) << 6 | K & 63, G > 127 && (x = G));
11964
+ K = p[C + 1], (K & 192) === 128 && (G = (E & 31) << 6 | K & 63, G > 127 && (x = G));
11965
11965
  break;
11966
11966
  case 3:
11967
- K = p[b + 1], Y = p[b + 2], (K & 192) === 128 && (Y & 192) === 128 && (G = (E & 15) << 12 | (K & 63) << 6 | Y & 63, G > 2047 && (G < 55296 || G > 57343) && (x = G));
11967
+ K = p[C + 1], Y = p[C + 2], (K & 192) === 128 && (Y & 192) === 128 && (G = (E & 15) << 12 | (K & 63) << 6 | Y & 63, G > 2047 && (G < 55296 || G > 57343) && (x = G));
11968
11968
  break;
11969
11969
  case 4:
11970
- K = p[b + 1], Y = p[b + 2], Z = p[b + 3], (K & 192) === 128 && (Y & 192) === 128 && (Z & 192) === 128 && (G = (E & 15) << 18 | (K & 63) << 12 | (Y & 63) << 6 | Z & 63, G > 65535 && G < 1114112 && (x = G));
11970
+ K = p[C + 1], Y = p[C + 2], Z = p[C + 3], (K & 192) === 128 && (Y & 192) === 128 && (Z & 192) === 128 && (G = (E & 15) << 18 | (K & 63) << 12 | (Y & 63) << 6 | Z & 63, G > 65535 && G < 1114112 && (x = G));
11971
11971
  }
11972
11972
  }
11973
- x === null ? (x = 65533, N = 1) : x > 65535 && (x -= 65536, y.push(x >>> 10 & 1023 | 55296), x = 56320 | x & 1023), y.push(x), b += N;
11973
+ x === null ? (x = 65533, N = 1) : x > 65535 && (x -= 65536, y.push(x >>> 10 & 1023 | 55296), x = 56320 | x & 1023), y.push(x), C += N;
11974
11974
  }
11975
11975
  return we(y);
11976
11976
  }
@@ -11990,37 +11990,37 @@ function Kc() {
11990
11990
  function De(p, c, d) {
11991
11991
  let y = "";
11992
11992
  d = Math.min(p.length, d);
11993
- for (let b = c; b < d; ++b)
11994
- y += String.fromCharCode(p[b] & 127);
11993
+ for (let C = c; C < d; ++C)
11994
+ y += String.fromCharCode(p[C] & 127);
11995
11995
  return y;
11996
11996
  }
11997
11997
  function Ue(p, c, d) {
11998
11998
  let y = "";
11999
11999
  d = Math.min(p.length, d);
12000
- for (let b = c; b < d; ++b)
12001
- y += String.fromCharCode(p[b]);
12000
+ for (let C = c; C < d; ++C)
12001
+ y += String.fromCharCode(p[C]);
12002
12002
  return y;
12003
12003
  }
12004
12004
  function ye(p, c, d) {
12005
12005
  const y = p.length;
12006
12006
  (!c || c < 0) && (c = 0), (!d || d < 0 || d > y) && (d = y);
12007
- let b = "";
12007
+ let C = "";
12008
12008
  for (let E = c; E < d; ++E)
12009
- b += _a[p[E]];
12010
- return b;
12009
+ C += _a[p[E]];
12010
+ return C;
12011
12011
  }
12012
12012
  function Ce(p, c, d) {
12013
12013
  const y = p.slice(c, d);
12014
- let b = "";
12014
+ let C = "";
12015
12015
  for (let E = 0; E < y.length - 1; E += 2)
12016
- b += String.fromCharCode(y[E] + y[E + 1] * 256);
12017
- return b;
12016
+ C += String.fromCharCode(y[E] + y[E + 1] * 256);
12017
+ return C;
12018
12018
  }
12019
12019
  a.prototype.slice = function(c, d) {
12020
12020
  const y = this.length;
12021
12021
  c = ~~c, d = d === void 0 ? y : ~~d, c < 0 ? (c += y, c < 0 && (c = 0)) : c > y && (c = y), d < 0 ? (d += y, d < 0 && (d = 0)) : d > y && (d = y), d < c && (d = c);
12022
- const b = this.subarray(c, d);
12023
- return Object.setPrototypeOf(b, a.prototype), b;
12022
+ const C = this.subarray(c, d);
12023
+ return Object.setPrototypeOf(C, a.prototype), C;
12024
12024
  };
12025
12025
  function V(p, c, d) {
12026
12026
  if (p % 1 !== 0 || p < 0) throw new RangeError("offset is not uint");
@@ -12028,16 +12028,16 @@ function Kc() {
12028
12028
  }
12029
12029
  a.prototype.readUintLE = a.prototype.readUIntLE = function(c, d, y) {
12030
12030
  c = c >>> 0, d = d >>> 0, y || V(c, d, this.length);
12031
- let b = this[c], E = 1, x = 0;
12031
+ let C = this[c], E = 1, x = 0;
12032
12032
  for (; ++x < d && (E *= 256); )
12033
- b += this[c + x] * E;
12034
- return b;
12033
+ C += this[c + x] * E;
12034
+ return C;
12035
12035
  }, a.prototype.readUintBE = a.prototype.readUIntBE = function(c, d, y) {
12036
12036
  c = c >>> 0, d = d >>> 0, y || V(c, d, this.length);
12037
- let b = this[c + --d], E = 1;
12037
+ let C = this[c + --d], E = 1;
12038
12038
  for (; d > 0 && (E *= 256); )
12039
- b += this[c + --d] * E;
12040
- return b;
12039
+ C += this[c + --d] * E;
12040
+ return C;
12041
12041
  }, a.prototype.readUint8 = a.prototype.readUInt8 = function(c, d) {
12042
12042
  return c = c >>> 0, d || V(c, 1, this.length), this[c];
12043
12043
  }, a.prototype.readUint16LE = a.prototype.readUInt16LE = function(c, d) {
@@ -12052,25 +12052,25 @@ function Kc() {
12052
12052
  c = c >>> 0, Le(c, "offset");
12053
12053
  const d = this[c], y = this[c + 7];
12054
12054
  (d === void 0 || y === void 0) && ee(c, this.length - 8);
12055
- const b = d + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24, E = this[++c] + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + y * 2 ** 24;
12056
- return BigInt(b) + (BigInt(E) << BigInt(32));
12055
+ const C = d + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24, E = this[++c] + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + y * 2 ** 24;
12056
+ return BigInt(C) + (BigInt(E) << BigInt(32));
12057
12057
  }), a.prototype.readBigUInt64BE = ot(function(c) {
12058
12058
  c = c >>> 0, Le(c, "offset");
12059
12059
  const d = this[c], y = this[c + 7];
12060
12060
  (d === void 0 || y === void 0) && ee(c, this.length - 8);
12061
- const b = d * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c], E = this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + y;
12062
- return (BigInt(b) << BigInt(32)) + BigInt(E);
12061
+ const C = d * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c], E = this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + y;
12062
+ return (BigInt(C) << BigInt(32)) + BigInt(E);
12063
12063
  }), a.prototype.readIntLE = function(c, d, y) {
12064
12064
  c = c >>> 0, d = d >>> 0, y || V(c, d, this.length);
12065
- let b = this[c], E = 1, x = 0;
12065
+ let C = this[c], E = 1, x = 0;
12066
12066
  for (; ++x < d && (E *= 256); )
12067
- b += this[c + x] * E;
12068
- return E *= 128, b >= E && (b -= Math.pow(2, 8 * d)), b;
12067
+ C += this[c + x] * E;
12068
+ return E *= 128, C >= E && (C -= Math.pow(2, 8 * d)), C;
12069
12069
  }, a.prototype.readIntBE = function(c, d, y) {
12070
12070
  c = c >>> 0, d = d >>> 0, y || V(c, d, this.length);
12071
- let b = d, E = 1, x = this[c + --b];
12072
- for (; b > 0 && (E *= 256); )
12073
- x += this[c + --b] * E;
12071
+ let C = d, E = 1, x = this[c + --C];
12072
+ for (; C > 0 && (E *= 256); )
12073
+ x += this[c + --C] * E;
12074
12074
  return E *= 128, x >= E && (x -= Math.pow(2, 8 * d)), x;
12075
12075
  }, a.prototype.readInt8 = function(c, d) {
12076
12076
  return c = c >>> 0, d || V(c, 1, this.length), this[c] & 128 ? (255 - this[c] + 1) * -1 : this[c];
@@ -12090,15 +12090,15 @@ function Kc() {
12090
12090
  c = c >>> 0, Le(c, "offset");
12091
12091
  const d = this[c], y = this[c + 7];
12092
12092
  (d === void 0 || y === void 0) && ee(c, this.length - 8);
12093
- const b = this[c + 4] + this[c + 5] * 2 ** 8 + this[c + 6] * 2 ** 16 + (y << 24);
12094
- return (BigInt(b) << BigInt(32)) + BigInt(d + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24);
12093
+ const C = this[c + 4] + this[c + 5] * 2 ** 8 + this[c + 6] * 2 ** 16 + (y << 24);
12094
+ return (BigInt(C) << BigInt(32)) + BigInt(d + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24);
12095
12095
  }), a.prototype.readBigInt64BE = ot(function(c) {
12096
12096
  c = c >>> 0, Le(c, "offset");
12097
12097
  const d = this[c], y = this[c + 7];
12098
12098
  (d === void 0 || y === void 0) && ee(c, this.length - 8);
12099
- const b = (d << 24) + // Overflow
12099
+ const C = (d << 24) + // Overflow
12100
12100
  this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c];
12101
- return (BigInt(b) << BigInt(32)) + BigInt(this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + y);
12101
+ return (BigInt(C) << BigInt(32)) + BigInt(this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + y);
12102
12102
  }), a.prototype.readFloatLE = function(c, d) {
12103
12103
  return c = c >>> 0, d || V(c, 4, this.length), t.read(this, c, !0, 23, 4);
12104
12104
  }, a.prototype.readFloatBE = function(c, d) {
@@ -12108,13 +12108,13 @@ function Kc() {
12108
12108
  }, a.prototype.readDoubleBE = function(c, d) {
12109
12109
  return c = c >>> 0, d || V(c, 8, this.length), t.read(this, c, !1, 52, 8);
12110
12110
  };
12111
- function L(p, c, d, y, b, E) {
12111
+ function L(p, c, d, y, C, E) {
12112
12112
  if (!a.isBuffer(p)) throw new TypeError('"buffer" argument must be a Buffer instance');
12113
- if (c > b || c < E) throw new RangeError('"value" argument is out of bounds');
12113
+ if (c > C || c < E) throw new RangeError('"value" argument is out of bounds');
12114
12114
  if (d + y > p.length) throw new RangeError("Index out of range");
12115
12115
  }
12116
- a.prototype.writeUintLE = a.prototype.writeUIntLE = function(c, d, y, b) {
12117
- if (c = +c, d = d >>> 0, y = y >>> 0, !b) {
12116
+ a.prototype.writeUintLE = a.prototype.writeUIntLE = function(c, d, y, C) {
12117
+ if (c = +c, d = d >>> 0, y = y >>> 0, !C) {
12118
12118
  const N = Math.pow(2, 8 * y) - 1;
12119
12119
  L(this, c, d, y, N, 0);
12120
12120
  }
@@ -12122,8 +12122,8 @@ function Kc() {
12122
12122
  for (this[d] = c & 255; ++x < y && (E *= 256); )
12123
12123
  this[d + x] = c / E & 255;
12124
12124
  return d + y;
12125
- }, a.prototype.writeUintBE = a.prototype.writeUIntBE = function(c, d, y, b) {
12126
- if (c = +c, d = d >>> 0, y = y >>> 0, !b) {
12125
+ }, a.prototype.writeUintBE = a.prototype.writeUIntBE = function(c, d, y, C) {
12126
+ if (c = +c, d = d >>> 0, y = y >>> 0, !C) {
12127
12127
  const N = Math.pow(2, 8 * y) - 1;
12128
12128
  L(this, c, d, y, N, 0);
12129
12129
  }
@@ -12142,15 +12142,15 @@ function Kc() {
12142
12142
  }, a.prototype.writeUint32BE = a.prototype.writeUInt32BE = function(c, d, y) {
12143
12143
  return c = +c, d = d >>> 0, y || L(this, c, d, 4, 4294967295, 0), this[d] = c >>> 24, this[d + 1] = c >>> 16, this[d + 2] = c >>> 8, this[d + 3] = c & 255, d + 4;
12144
12144
  };
12145
- function xe(p, c, d, y, b) {
12146
- fe(c, y, b, p, d, 7);
12145
+ function xe(p, c, d, y, C) {
12146
+ fe(c, y, C, p, d, 7);
12147
12147
  let E = Number(c & BigInt(4294967295));
12148
12148
  p[d++] = E, E = E >> 8, p[d++] = E, E = E >> 8, p[d++] = E, E = E >> 8, p[d++] = E;
12149
12149
  let x = Number(c >> BigInt(32) & BigInt(4294967295));
12150
12150
  return p[d++] = x, x = x >> 8, p[d++] = x, x = x >> 8, p[d++] = x, x = x >> 8, p[d++] = x, d;
12151
12151
  }
12152
- function Te(p, c, d, y, b) {
12153
- fe(c, y, b, p, d, 7);
12152
+ function Te(p, c, d, y, C) {
12153
+ fe(c, y, C, p, d, 7);
12154
12154
  let E = Number(c & BigInt(4294967295));
12155
12155
  p[d + 7] = E, E = E >> 8, p[d + 6] = E, E = E >> 8, p[d + 5] = E, E = E >> 8, p[d + 4] = E;
12156
12156
  let x = Number(c >> BigInt(32) & BigInt(4294967295));
@@ -12160,8 +12160,8 @@ function Kc() {
12160
12160
  return xe(this, c, d, BigInt(0), BigInt("0xffffffffffffffff"));
12161
12161
  }), a.prototype.writeBigUInt64BE = ot(function(c, d = 0) {
12162
12162
  return Te(this, c, d, BigInt(0), BigInt("0xffffffffffffffff"));
12163
- }), a.prototype.writeIntLE = function(c, d, y, b) {
12164
- if (c = +c, d = d >>> 0, !b) {
12163
+ }), a.prototype.writeIntLE = function(c, d, y, C) {
12164
+ if (c = +c, d = d >>> 0, !C) {
12165
12165
  const K = Math.pow(2, 8 * y - 1);
12166
12166
  L(this, c, d, y, K - 1, -K);
12167
12167
  }
@@ -12169,8 +12169,8 @@ function Kc() {
12169
12169
  for (this[d] = c & 255; ++E < y && (x *= 256); )
12170
12170
  c < 0 && N === 0 && this[d + E - 1] !== 0 && (N = 1), this[d + E] = (c / x >> 0) - N & 255;
12171
12171
  return d + y;
12172
- }, a.prototype.writeIntBE = function(c, d, y, b) {
12173
- if (c = +c, d = d >>> 0, !b) {
12172
+ }, a.prototype.writeIntBE = function(c, d, y, C) {
12173
+ if (c = +c, d = d >>> 0, !C) {
12174
12174
  const K = Math.pow(2, 8 * y - 1);
12175
12175
  L(this, c, d, y, K - 1, -K);
12176
12176
  }
@@ -12193,48 +12193,48 @@ function Kc() {
12193
12193
  }), a.prototype.writeBigInt64BE = ot(function(c, d = 0) {
12194
12194
  return Te(this, c, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
12195
12195
  });
12196
- function Je(p, c, d, y, b, E) {
12196
+ function Je(p, c, d, y, C, E) {
12197
12197
  if (d + y > p.length) throw new RangeError("Index out of range");
12198
12198
  if (d < 0) throw new RangeError("Index out of range");
12199
12199
  }
12200
- function O(p, c, d, y, b) {
12201
- return c = +c, d = d >>> 0, b || Je(p, c, d, 4), t.write(p, c, d, y, 23, 4), d + 4;
12200
+ function O(p, c, d, y, C) {
12201
+ return c = +c, d = d >>> 0, C || Je(p, c, d, 4), t.write(p, c, d, y, 23, 4), d + 4;
12202
12202
  }
12203
12203
  a.prototype.writeFloatLE = function(c, d, y) {
12204
12204
  return O(this, c, d, !0, y);
12205
12205
  }, a.prototype.writeFloatBE = function(c, d, y) {
12206
12206
  return O(this, c, d, !1, y);
12207
12207
  };
12208
- function ae(p, c, d, y, b) {
12209
- return c = +c, d = d >>> 0, b || Je(p, c, d, 8), t.write(p, c, d, y, 52, 8), d + 8;
12208
+ function ae(p, c, d, y, C) {
12209
+ return c = +c, d = d >>> 0, C || Je(p, c, d, 8), t.write(p, c, d, y, 52, 8), d + 8;
12210
12210
  }
12211
12211
  a.prototype.writeDoubleLE = function(c, d, y) {
12212
12212
  return ae(this, c, d, !0, y);
12213
12213
  }, a.prototype.writeDoubleBE = function(c, d, y) {
12214
12214
  return ae(this, c, d, !1, y);
12215
- }, a.prototype.copy = function(c, d, y, b) {
12215
+ }, a.prototype.copy = function(c, d, y, C) {
12216
12216
  if (!a.isBuffer(c)) throw new TypeError("argument should be a Buffer");
12217
- if (y || (y = 0), !b && b !== 0 && (b = this.length), d >= c.length && (d = c.length), d || (d = 0), b > 0 && b < y && (b = y), b === y || c.length === 0 || this.length === 0) return 0;
12217
+ if (y || (y = 0), !C && C !== 0 && (C = this.length), d >= c.length && (d = c.length), d || (d = 0), C > 0 && C < y && (C = y), C === y || c.length === 0 || this.length === 0) return 0;
12218
12218
  if (d < 0)
12219
12219
  throw new RangeError("targetStart out of bounds");
12220
12220
  if (y < 0 || y >= this.length) throw new RangeError("Index out of range");
12221
- if (b < 0) throw new RangeError("sourceEnd out of bounds");
12222
- b > this.length && (b = this.length), c.length - d < b - y && (b = c.length - d + y);
12223
- const E = b - y;
12224
- return this === c && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(d, y, b) : Uint8Array.prototype.set.call(
12221
+ if (C < 0) throw new RangeError("sourceEnd out of bounds");
12222
+ C > this.length && (C = this.length), c.length - d < C - y && (C = c.length - d + y);
12223
+ const E = C - y;
12224
+ return this === c && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(d, y, C) : Uint8Array.prototype.set.call(
12225
12225
  c,
12226
- this.subarray(y, b),
12226
+ this.subarray(y, C),
12227
12227
  d
12228
12228
  ), E;
12229
- }, a.prototype.fill = function(c, d, y, b) {
12229
+ }, a.prototype.fill = function(c, d, y, C) {
12230
12230
  if (typeof c == "string") {
12231
- if (typeof d == "string" ? (b = d, d = 0, y = this.length) : typeof y == "string" && (b = y, y = this.length), b !== void 0 && typeof b != "string")
12231
+ if (typeof d == "string" ? (C = d, d = 0, y = this.length) : typeof y == "string" && (C = y, y = this.length), C !== void 0 && typeof C != "string")
12232
12232
  throw new TypeError("encoding must be a string");
12233
- if (typeof b == "string" && !a.isEncoding(b))
12234
- throw new TypeError("Unknown encoding: " + b);
12233
+ if (typeof C == "string" && !a.isEncoding(C))
12234
+ throw new TypeError("Unknown encoding: " + C);
12235
12235
  if (c.length === 1) {
12236
12236
  const x = c.charCodeAt(0);
12237
- (b === "utf8" && x < 128 || b === "latin1") && (c = x);
12237
+ (C === "utf8" && x < 128 || C === "latin1") && (c = x);
12238
12238
  }
12239
12239
  } else typeof c == "number" ? c = c & 255 : typeof c == "boolean" && (c = Number(c));
12240
12240
  if (d < 0 || this.length < d || this.length < y)
@@ -12247,7 +12247,7 @@ function Kc() {
12247
12247
  for (E = d; E < y; ++E)
12248
12248
  this[E] = c;
12249
12249
  else {
12250
- const x = a.isBuffer(c) ? c : a.from(c, b), N = x.length;
12250
+ const x = a.isBuffer(c) ? c : a.from(c, C), N = x.length;
12251
12251
  if (N === 0)
12252
12252
  throw new TypeError('The value "' + c + '" is invalid for argument "value"');
12253
12253
  for (E = 0; E < y - d; ++E)
@@ -12268,11 +12268,11 @@ function Kc() {
12268
12268
  get code() {
12269
12269
  return p;
12270
12270
  }
12271
- set code(b) {
12271
+ set code(C) {
12272
12272
  Object.defineProperty(this, "code", {
12273
12273
  configurable: !0,
12274
12274
  enumerable: !0,
12275
- value: b,
12275
+ value: C,
12276
12276
  writable: !0
12277
12277
  });
12278
12278
  }
@@ -12296,8 +12296,8 @@ function Kc() {
12296
12296
  ), $(
12297
12297
  "ERR_OUT_OF_RANGE",
12298
12298
  function(p, c, d) {
12299
- let y = `The value of "${p}" is out of range.`, b = d;
12300
- return Number.isInteger(d) && Math.abs(d) > 2 ** 32 ? b = _e(String(d)) : typeof d == "bigint" && (b = String(d), (d > BigInt(2) ** BigInt(32) || d < -(BigInt(2) ** BigInt(32))) && (b = _e(b)), b += "n"), y += ` It must be ${c}. Received ${b}`, y;
12299
+ let y = `The value of "${p}" is out of range.`, C = d;
12300
+ return Number.isInteger(d) && Math.abs(d) > 2 ** 32 ? C = _e(String(d)) : typeof d == "bigint" && (C = String(d), (d > BigInt(2) ** BigInt(32) || d < -(BigInt(2) ** BigInt(32))) && (C = _e(C)), C += "n"), y += ` It must be ${c}. Received ${C}`, y;
12301
12301
  },
12302
12302
  RangeError
12303
12303
  );
@@ -12311,13 +12311,13 @@ function Kc() {
12311
12311
  function B(p, c, d) {
12312
12312
  Le(c, "offset"), (p[c] === void 0 || p[c + d] === void 0) && ee(c, p.length - (d + 1));
12313
12313
  }
12314
- function fe(p, c, d, y, b, E) {
12314
+ function fe(p, c, d, y, C, E) {
12315
12315
  if (p > d || p < c) {
12316
12316
  const x = typeof c == "bigint" ? "n" : "";
12317
12317
  let N;
12318
12318
  throw c === 0 || c === BigInt(0) ? N = `>= 0${x} and < 2${x} ** ${(E + 1) * 8}${x}` : N = `>= -(2${x} ** ${(E + 1) * 8 - 1}${x}) and < 2 ** ${(E + 1) * 8 - 1}${x}`, new Q.ERR_OUT_OF_RANGE("value", N, p);
12319
12319
  }
12320
- B(y, b, E);
12320
+ B(y, C, E);
12321
12321
  }
12322
12322
  function Le(p, c) {
12323
12323
  if (typeof p != "number")
@@ -12341,11 +12341,11 @@ function Kc() {
12341
12341
  c = c || 1 / 0;
12342
12342
  let d;
12343
12343
  const y = p.length;
12344
- let b = null;
12344
+ let C = null;
12345
12345
  const E = [];
12346
12346
  for (let x = 0; x < y; ++x) {
12347
12347
  if (d = p.charCodeAt(x), d > 55295 && d < 57344) {
12348
- if (!b) {
12348
+ if (!C) {
12349
12349
  if (d > 56319) {
12350
12350
  (c -= 3) > -1 && E.push(239, 191, 189);
12351
12351
  continue;
@@ -12353,16 +12353,16 @@ function Kc() {
12353
12353
  (c -= 3) > -1 && E.push(239, 191, 189);
12354
12354
  continue;
12355
12355
  }
12356
- b = d;
12356
+ C = d;
12357
12357
  continue;
12358
12358
  }
12359
12359
  if (d < 56320) {
12360
- (c -= 3) > -1 && E.push(239, 191, 189), b = d;
12360
+ (c -= 3) > -1 && E.push(239, 191, 189), C = d;
12361
12361
  continue;
12362
12362
  }
12363
- d = (b - 55296 << 10 | d - 56320) + 65536;
12364
- } else b && (c -= 3) > -1 && E.push(239, 191, 189);
12365
- if (b = null, d < 128) {
12363
+ d = (C - 55296 << 10 | d - 56320) + 65536;
12364
+ } else C && (c -= 3) > -1 && E.push(239, 191, 189);
12365
+ if (C = null, d < 128) {
12366
12366
  if ((c -= 1) < 0) break;
12367
12367
  E.push(d);
12368
12368
  } else if (d < 2048) {
@@ -12398,20 +12398,20 @@ function Kc() {
12398
12398
  return c;
12399
12399
  }
12400
12400
  function ya(p, c) {
12401
- let d, y, b;
12401
+ let d, y, C;
12402
12402
  const E = [];
12403
12403
  for (let x = 0; x < p.length && !((c -= 2) < 0); ++x)
12404
- d = p.charCodeAt(x), y = d >> 8, b = d % 256, E.push(b), E.push(y);
12404
+ d = p.charCodeAt(x), y = d >> 8, C = d % 256, E.push(C), E.push(y);
12405
12405
  return E;
12406
12406
  }
12407
12407
  function en(p) {
12408
12408
  return e.toByteArray(ma(p));
12409
12409
  }
12410
12410
  function yi(p, c, d, y) {
12411
- let b;
12412
- for (b = 0; b < y && !(b + d >= c.length || b >= p.length); ++b)
12413
- c[b + d] = p[b];
12414
- return b;
12411
+ let C;
12412
+ for (C = 0; C < y && !(C + d >= c.length || C >= p.length); ++C)
12413
+ c[C + d] = p[C];
12414
+ return C;
12415
12415
  }
12416
12416
  function ze(p, c) {
12417
12417
  return p instanceof c || p != null && p.constructor != null && p.constructor.name != null && p.constructor.name === c.name;
@@ -12423,8 +12423,8 @@ function Kc() {
12423
12423
  const p = "0123456789abcdef", c = new Array(256);
12424
12424
  for (let d = 0; d < 16; ++d) {
12425
12425
  const y = d * 16;
12426
- for (let b = 0; b < 16; ++b)
12427
- c[y + b] = p[d] + p[b];
12426
+ for (let C = 0; C < 16; ++C)
12427
+ c[y + C] = p[d] + p[C];
12428
12428
  }
12429
12429
  return c;
12430
12430
  })();
@@ -12519,13 +12519,13 @@ const Ot = (i) => {
12519
12519
  issues: []
12520
12520
  }, a = ((t = r["inbound-rtp"]) === null || t === void 0 ? void 0 : t.filter((u) => u.kind === "video")) || [];
12521
12521
  a.length > 0 && (o.personaVideoStream = [], a.forEach((u) => {
12522
- var g, m, _, v, C;
12522
+ var g, m, _, v, b;
12523
12523
  const S = {
12524
12524
  framesReceived: (g = u.framesReceived) !== null && g !== void 0 ? g : "unknown",
12525
12525
  framesDropped: (m = u.framesDropped) !== null && m !== void 0 ? m : "unknown",
12526
12526
  framesPerSecond: (_ = u.framesPerSecond) !== null && _ !== void 0 ? _ : "unknown",
12527
12527
  packetsReceived: (v = u.packetsReceived) !== null && v !== void 0 ? v : "unknown",
12528
- packetsLost: (C = u.packetsLost) !== null && C !== void 0 ? C : "unknown",
12528
+ packetsLost: (b = u.packetsLost) !== null && b !== void 0 ? b : "unknown",
12529
12529
  resolution: u.frameWidth && u.frameHeight ? `${u.frameWidth}x${u.frameHeight}` : void 0,
12530
12530
  jitter: u.jitter !== void 0 ? u.jitter : void 0
12531
12531
  };
@@ -12729,7 +12729,7 @@ class ch {
12729
12729
  if (!((o = this.apiGatewayConfig) === null || o === void 0) && o.enabled && (!((a = this.apiGatewayConfig) === null || a === void 0) && a.baseUrl)) {
12730
12730
  const _ = new URL(this.apiGatewayConfig.baseUrl), v = (l = this.apiGatewayConfig.wsPath) !== null && l !== void 0 ? l : "/ws";
12731
12731
  _.protocol = _.protocol.replace("http", "ws"), _.pathname = v, this.url = _;
12732
- const C = m.protocol || "https", S = C === "http" ? "ws" : "wss", A = `${C}://${m.baseUrl}`, I = (h = m.signallingPath) !== null && h !== void 0 ? h : "/ws", w = new URL(A);
12732
+ const b = m.protocol || "https", S = b === "http" ? "ws" : "wss", A = `${b}://${m.baseUrl}`, I = (h = m.signallingPath) !== null && h !== void 0 ? h : "/ws", w = new URL(A);
12733
12733
  w.protocol = S === "ws" ? "ws:" : "wss:", m.port && (w.port = m.port), w.pathname = I, w.searchParams.append("session_id", e), this.url.searchParams.append("target_url", w.href);
12734
12734
  } else {
12735
12735
  const v = `${m.protocol || "https"}://${m.baseUrl}`;
@@ -13944,7 +13944,7 @@ class Eh {
13944
13944
  startSession(e) {
13945
13945
  return lt(this, void 0, void 0, function* () {
13946
13946
  var t, s, n, r, o, a, l, h, f, u, g, m;
13947
- const _ = this.personaConfig, v = this.buildStartSessionOptionsForClient(), C = yield this.apiClient.startSession(_, v), { sessionId: S, clientConfig: A, engineHost: I, engineProtocol: w, signallingEndpoint: T } = C, { heartbeatIntervalSeconds: M, maxWsReconnectionAttempts: F, iceServers: D } = A;
13947
+ const _ = this.personaConfig, v = this.buildStartSessionOptionsForClient(), b = yield this.apiClient.startSession(_, v), { sessionId: S, clientConfig: A, engineHost: I, engineProtocol: w, signallingEndpoint: T } = b, { heartbeatIntervalSeconds: M, maxWsReconnectionAttempts: F, iceServers: D } = A;
13948
13948
  this.sessionId = S, Ot({
13949
13949
  sessionId: this.sessionId
13950
13950
  });
@@ -14985,7 +14985,7 @@ function sd(i, e, t) {
14985
14985
  }
14986
14986
  }
14987
14987
  function nd(i, e) {
14988
- var t = e.doc, s = e.mirror, n = e.blockClass, r = e.blockSelector, o = e.maskTextClass, a = e.maskTextSelector, l = e.inlineStylesheet, h = e.maskInputOptions, f = h === void 0 ? {} : h, u = e.maskTextFn, g = e.maskInputFn, m = e.dataURLOptions, _ = m === void 0 ? {} : m, v = e.inlineImages, C = e.recordCanvas, S = e.keepIframeSrcFn, A = e.newlyAddedElement, I = A === void 0 ? !1 : A, w = rd(t, s);
14988
+ var t = e.doc, s = e.mirror, n = e.blockClass, r = e.blockSelector, o = e.maskTextClass, a = e.maskTextSelector, l = e.inlineStylesheet, h = e.maskInputOptions, f = h === void 0 ? {} : h, u = e.maskTextFn, g = e.maskInputFn, m = e.dataURLOptions, _ = m === void 0 ? {} : m, v = e.inlineImages, b = e.recordCanvas, S = e.keepIframeSrcFn, A = e.newlyAddedElement, I = A === void 0 ? !1 : A, w = rd(t, s);
14989
14989
  switch (i.nodeType) {
14990
14990
  case i.DOCUMENT_NODE:
14991
14991
  return i.compatMode !== "CSS1Compat" ? {
@@ -15014,7 +15014,7 @@ function nd(i, e) {
15014
15014
  maskInputFn: g,
15015
15015
  dataURLOptions: _,
15016
15016
  inlineImages: v,
15017
- recordCanvas: C,
15017
+ recordCanvas: b,
15018
15018
  keepIframeSrcFn: S,
15019
15019
  newlyAddedElement: I,
15020
15020
  rootId: w
@@ -15066,7 +15066,7 @@ function od(i, e) {
15066
15066
  };
15067
15067
  }
15068
15068
  function ad(i, e) {
15069
- for (var t = e.doc, s = e.blockClass, n = e.blockSelector, r = e.inlineStylesheet, o = e.maskInputOptions, a = o === void 0 ? {} : o, l = e.maskInputFn, h = e.dataURLOptions, f = h === void 0 ? {} : h, u = e.inlineImages, g = e.recordCanvas, m = e.keepIframeSrcFn, _ = e.newlyAddedElement, v = _ === void 0 ? !1 : _, C = e.rootId, S = td(i, s, n), A = zh(i), I = {}, w = i.attributes.length, T = 0; T < w; T++) {
15069
+ for (var t = e.doc, s = e.blockClass, n = e.blockSelector, r = e.inlineStylesheet, o = e.maskInputOptions, a = o === void 0 ? {} : o, l = e.maskInputFn, h = e.dataURLOptions, f = h === void 0 ? {} : h, u = e.inlineImages, g = e.recordCanvas, m = e.keepIframeSrcFn, _ = e.newlyAddedElement, v = _ === void 0 ? !1 : _, b = e.rootId, S = td(i, s, n), A = zh(i), I = {}, w = i.attributes.length, T = 0; T < w; T++) {
15070
15070
  var M = i.attributes[T];
15071
15071
  I[M.name] = Io(t, A, M.name, M.value);
15072
15072
  }
@@ -15129,7 +15129,7 @@ function ad(i, e) {
15129
15129
  childNodes: [],
15130
15130
  isSVG: ed(i) || void 0,
15131
15131
  needBlock: S,
15132
- rootId: C
15132
+ rootId: b
15133
15133
  };
15134
15134
  }
15135
15135
  function z(i) {
@@ -15161,7 +15161,7 @@ function ld(i, e) {
15161
15161
  return !1;
15162
15162
  }
15163
15163
  function Ut(i, e) {
15164
- var t = e.doc, s = e.mirror, n = e.blockClass, r = e.blockSelector, o = e.maskTextClass, a = e.maskTextSelector, l = e.skipChild, h = l === void 0 ? !1 : l, f = e.inlineStylesheet, u = f === void 0 ? !0 : f, g = e.maskInputOptions, m = g === void 0 ? {} : g, _ = e.maskTextFn, v = e.maskInputFn, C = e.slimDOMOptions, S = e.dataURLOptions, A = S === void 0 ? {} : S, I = e.inlineImages, w = I === void 0 ? !1 : I, T = e.recordCanvas, M = T === void 0 ? !1 : T, F = e.onSerialize, D = e.onIframeLoad, J = e.iframeLoadTimeout, q = J === void 0 ? 5e3 : J, ue = e.onStylesheetLoad, me = e.stylesheetLoadTimeout, ge = me === void 0 ? 5e3 : me, H = e.keepIframeSrcFn, se = H === void 0 ? function() {
15164
+ var t = e.doc, s = e.mirror, n = e.blockClass, r = e.blockSelector, o = e.maskTextClass, a = e.maskTextSelector, l = e.skipChild, h = l === void 0 ? !1 : l, f = e.inlineStylesheet, u = f === void 0 ? !0 : f, g = e.maskInputOptions, m = g === void 0 ? {} : g, _ = e.maskTextFn, v = e.maskInputFn, b = e.slimDOMOptions, S = e.dataURLOptions, A = S === void 0 ? {} : S, I = e.inlineImages, w = I === void 0 ? !1 : I, T = e.recordCanvas, M = T === void 0 ? !1 : T, F = e.onSerialize, D = e.onIframeLoad, J = e.iframeLoadTimeout, q = J === void 0 ? 5e3 : J, ue = e.onStylesheetLoad, me = e.stylesheetLoadTimeout, ge = me === void 0 ? 5e3 : me, H = e.keepIframeSrcFn, se = H === void 0 ? function() {
15165
15165
  return !1;
15166
15166
  } : H, we = e.newlyAddedElement, De = we === void 0 ? !1 : we, Ue = e.preserveWhiteSpace, ye = Ue === void 0 ? !0 : Ue, Ce = nd(i, {
15167
15167
  doc: t,
@@ -15183,7 +15183,7 @@ function Ut(i, e) {
15183
15183
  if (!Ce)
15184
15184
  return console.warn(i, "not serialized"), null;
15185
15185
  var V;
15186
- s.hasNode(i) ? V = s.getId(i) : ld(Ce, C) || !ye && Ce.type === ce.Text && !Ce.isStyle && !Ce.textContent.replace(/^\s+|\s+$/gm, "").length ? V = di : V = Eo();
15186
+ s.hasNode(i) ? V = s.getId(i) : ld(Ce, b) || !ye && Ce.type === ce.Text && !Ce.isStyle && !Ce.textContent.replace(/^\s+|\s+$/gm, "").length ? V = di : V = Eo();
15187
15187
  var L = Object.assign(Ce, { id: V });
15188
15188
  if (s.add(i, L), V === di)
15189
15189
  return null;
@@ -15195,7 +15195,7 @@ function Ut(i, e) {
15195
15195
  Te && ri(Te) && (L.isShadowHost = !0);
15196
15196
  }
15197
15197
  if ((L.type === ce.Document || L.type === ce.Element) && xe) {
15198
- C.headWhitespace && L.type === ce.Element && L.tagName === "head" && (ye = !1);
15198
+ b.headWhitespace && L.type === ce.Element && L.tagName === "head" && (ye = !1);
15199
15199
  for (var Je = {
15200
15200
  doc: t,
15201
15201
  mirror: s,
@@ -15208,7 +15208,7 @@ function Ut(i, e) {
15208
15208
  maskInputOptions: m,
15209
15209
  maskTextFn: _,
15210
15210
  maskInputFn: v,
15211
- slimDOMOptions: C,
15211
+ slimDOMOptions: b,
15212
15212
  dataURLOptions: A,
15213
15213
  inlineImages: w,
15214
15214
  recordCanvas: M,
@@ -15244,7 +15244,7 @@ function Ut(i, e) {
15244
15244
  maskInputOptions: m,
15245
15245
  maskTextFn: _,
15246
15246
  maskInputFn: v,
15247
- slimDOMOptions: C,
15247
+ slimDOMOptions: b,
15248
15248
  dataURLOptions: A,
15249
15249
  inlineImages: w,
15250
15250
  recordCanvas: M,
@@ -15272,7 +15272,7 @@ function Ut(i, e) {
15272
15272
  maskInputOptions: m,
15273
15273
  maskTextFn: _,
15274
15274
  maskInputFn: v,
15275
- slimDOMOptions: C,
15275
+ slimDOMOptions: b,
15276
15276
  dataURLOptions: A,
15277
15277
  inlineImages: w,
15278
15278
  recordCanvas: M,
@@ -15289,7 +15289,7 @@ function Ut(i, e) {
15289
15289
  }, ge), L;
15290
15290
  }
15291
15291
  function cd(i, e) {
15292
- var t = e || {}, s = t.mirror, n = s === void 0 ? new So() : s, r = t.blockClass, o = r === void 0 ? "rr-block" : r, a = t.blockSelector, l = a === void 0 ? null : a, h = t.maskTextClass, f = h === void 0 ? "rr-mask" : h, u = t.maskTextSelector, g = u === void 0 ? null : u, m = t.inlineStylesheet, _ = m === void 0 ? !0 : m, v = t.inlineImages, C = v === void 0 ? !1 : v, S = t.recordCanvas, A = S === void 0 ? !1 : S, I = t.maskAllInputs, w = I === void 0 ? !1 : I, T = t.maskTextFn, M = t.maskInputFn, F = t.slimDOM, D = F === void 0 ? !1 : F, J = t.dataURLOptions, q = t.preserveWhiteSpace, ue = t.onSerialize, me = t.onIframeLoad, ge = t.iframeLoadTimeout, H = t.onStylesheetLoad, se = t.stylesheetLoadTimeout, we = t.keepIframeSrcFn, De = we === void 0 ? function() {
15292
+ var t = e || {}, s = t.mirror, n = s === void 0 ? new So() : s, r = t.blockClass, o = r === void 0 ? "rr-block" : r, a = t.blockSelector, l = a === void 0 ? null : a, h = t.maskTextClass, f = h === void 0 ? "rr-mask" : h, u = t.maskTextSelector, g = u === void 0 ? null : u, m = t.inlineStylesheet, _ = m === void 0 ? !0 : m, v = t.inlineImages, b = v === void 0 ? !1 : v, S = t.recordCanvas, A = S === void 0 ? !1 : S, I = t.maskAllInputs, w = I === void 0 ? !1 : I, T = t.maskTextFn, M = t.maskInputFn, F = t.slimDOM, D = F === void 0 ? !1 : F, J = t.dataURLOptions, q = t.preserveWhiteSpace, ue = t.onSerialize, me = t.onIframeLoad, ge = t.iframeLoadTimeout, H = t.onStylesheetLoad, se = t.stylesheetLoadTimeout, we = t.keepIframeSrcFn, De = we === void 0 ? function() {
15293
15293
  return !1;
15294
15294
  } : we, Ue = w === !0 ? {
15295
15295
  color: !0,
@@ -15336,7 +15336,7 @@ function cd(i, e) {
15336
15336
  maskInputFn: M,
15337
15337
  slimDOMOptions: ye,
15338
15338
  dataURLOptions: J,
15339
- inlineImages: C,
15339
+ inlineImages: b,
15340
15340
  recordCanvas: A,
15341
15341
  preserveWhiteSpace: q,
15342
15342
  onSerialize: ue,
@@ -15560,8 +15560,8 @@ class pd {
15560
15560
  const _ = !this.doc.contains(a) && (!m || !this.doc.contains(m));
15561
15561
  if (!a.parentNode || _)
15562
15562
  return;
15563
- const v = ni(a.parentNode) ? this.mirror.getId(g) : this.mirror.getId(a.parentNode), C = s(a);
15564
- if (v === -1 || C === -1)
15563
+ const v = ni(a.parentNode) ? this.mirror.getId(g) : this.mirror.getId(a.parentNode), b = s(a);
15564
+ if (v === -1 || b === -1)
15565
15565
  return t.addNode(a);
15566
15566
  const S = Ut(a, {
15567
15567
  doc: this.doc,
@@ -15592,7 +15592,7 @@ class pd {
15592
15592
  });
15593
15593
  S && e.push({
15594
15594
  parentId: v,
15595
- nextId: C,
15595
+ nextId: b,
15596
15596
  node: S
15597
15597
  });
15598
15598
  };
@@ -15949,7 +15949,7 @@ function vd({ inputCb: i, doc: e, mirror: t, blockClass: s, blockSelector: n, ig
15949
15949
  return () => {
15950
15950
  m.forEach((S) => S());
15951
15951
  };
15952
- const v = _.Object.getOwnPropertyDescriptor(_.HTMLInputElement.prototype, "value"), C = [
15952
+ const v = _.Object.getOwnPropertyDescriptor(_.HTMLInputElement.prototype, "value"), b = [
15953
15953
  [_.HTMLInputElement.prototype, "value"],
15954
15954
  [_.HTMLInputElement.prototype, "checked"],
15955
15955
  [_.HTMLSelectElement.prototype, "value"],
@@ -15957,7 +15957,7 @@ function vd({ inputCb: i, doc: e, mirror: t, blockClass: s, blockSelector: n, ig
15957
15957
  [_.HTMLSelectElement.prototype, "selectedIndex"],
15958
15958
  [_.HTMLOptionElement.prototype, "selected"]
15959
15959
  ];
15960
- return v && v.set && m.push(...C.map((S) => Yi(S[0], S[1], {
15960
+ return v && v.set && m.push(...b.map((S) => Yi(S[0], S[1], {
15961
15961
  set() {
15962
15962
  f({ target: this });
15963
15963
  }
@@ -16193,12 +16193,12 @@ function Id(i) {
16193
16193
  o = l.isCollapsed || !1;
16194
16194
  const h = [], f = l.rangeCount || 0;
16195
16195
  for (let u = 0; u < f; u++) {
16196
- const g = l.getRangeAt(u), { startContainer: m, startOffset: _, endContainer: v, endOffset: C } = g;
16196
+ const g = l.getRangeAt(u), { startContainer: m, startOffset: _, endContainer: v, endOffset: b } = g;
16197
16197
  Ie(m, s, n, !0) || Ie(v, s, n, !0) || h.push({
16198
16198
  start: t.getId(m),
16199
16199
  startOffset: _,
16200
16200
  end: t.getId(v),
16201
- endOffset: C
16201
+ endOffset: b
16202
16202
  });
16203
16203
  }
16204
16204
  r({ ranges: h });
@@ -16243,10 +16243,10 @@ function xd(i, e = {}) {
16243
16243
  win: t
16244
16244
  }), m = i.collectFonts ? Ed(i) : () => {
16245
16245
  }, _ = Id(i), v = [];
16246
- for (const C of i.plugins)
16247
- v.push(C.observer(C.callback, t, C.options));
16246
+ for (const b of i.plugins)
16247
+ v.push(b.observer(b.callback, t, b.options));
16248
16248
  return () => {
16249
- St.forEach((C) => C.reset()), s.disconnect(), n(), r(), o(), a(), l(), h(), f(), u(), g(), m(), _(), v.forEach((C) => C());
16249
+ St.forEach((b) => b.reset()), s.disconnect(), n(), r(), o(), a(), l(), h(), f(), u(), g(), m(), _(), v.forEach((b) => b());
16250
16250
  };
16251
16251
  }
16252
16252
  class Kn {
@@ -16761,7 +16761,7 @@ class jd {
16761
16761
  const { id: v } = _.data;
16762
16762
  if (a.set(v, !1), !("base64" in _.data))
16763
16763
  return;
16764
- const { base64: C, type: S, width: A, height: I } = _.data;
16764
+ const { base64: b, type: S, width: A, height: I } = _.data;
16765
16765
  this.mutationCb({
16766
16766
  id: v,
16767
16767
  type: $t["2D"],
@@ -16778,7 +16778,7 @@ class jd {
16778
16778
  args: [
16779
16779
  {
16780
16780
  rr_type: "Blob",
16781
- data: [{ rr_type: "ArrayBuffer", base64: C }],
16781
+ data: [{ rr_type: "ArrayBuffer", base64: b }],
16782
16782
  type: S
16783
16783
  }
16784
16784
  ]
@@ -16803,13 +16803,13 @@ class jd {
16803
16803
  return;
16804
16804
  }
16805
16805
  f = _, g().forEach((v) => Od(this, void 0, void 0, function* () {
16806
- var C;
16806
+ var b;
16807
16807
  const S = this.mirror.getId(v);
16808
16808
  if (a.get(S))
16809
16809
  return;
16810
16810
  if (a.set(S, !0), ["webgl", "webgl2"].includes(v.__context)) {
16811
16811
  const I = v.getContext(v.__context);
16812
- ((C = I == null ? void 0 : I.getContextAttributes()) === null || C === void 0 ? void 0 : C.preserveDrawingBuffer) === !1 && (I == null || I.clear(I.COLOR_BUFFER_BIT));
16812
+ ((b = I == null ? void 0 : I.getContextAttributes()) === null || b === void 0 ? void 0 : b.preserveDrawingBuffer) === !1 && (I == null || I.clear(I.COLOR_BUFFER_BIT));
16813
16813
  }
16814
16814
  const A = yield createImageBitmap(v);
16815
16815
  l.postMessage({
@@ -16915,7 +16915,7 @@ function ne(i) {
16915
16915
  let te, Pi, ys, Hi = !1;
16916
16916
  const Ge = Gh();
16917
16917
  function zt(i = {}) {
16918
- const { emit: e, checkoutEveryNms: t, checkoutEveryNth: s, blockClass: n = "rr-block", blockSelector: r = null, ignoreClass: o = "rr-ignore", maskTextClass: a = "rr-mask", maskTextSelector: l = null, inlineStylesheet: h = !0, maskAllInputs: f, maskInputOptions: u, slimDOMOptions: g, maskInputFn: m, maskTextFn: _, hooks: v, packFn: C, sampling: S = {}, dataURLOptions: A = {}, mousemoveWait: I, recordCanvas: w = !1, recordCrossOriginIframes: T = !1, userTriggeredOnInput: M = !1, collectFonts: F = !1, inlineImages: D = !1, plugins: J, keepIframeSrcFn: q = () => !1, ignoreCSSAttributes: ue = /* @__PURE__ */ new Set([]) } = i, me = T ? window.parent === window : !0;
16918
+ const { emit: e, checkoutEveryNms: t, checkoutEveryNth: s, blockClass: n = "rr-block", blockSelector: r = null, ignoreClass: o = "rr-ignore", maskTextClass: a = "rr-mask", maskTextSelector: l = null, inlineStylesheet: h = !0, maskAllInputs: f, maskInputOptions: u, slimDOMOptions: g, maskInputFn: m, maskTextFn: _, hooks: v, packFn: b, sampling: S = {}, dataURLOptions: A = {}, mousemoveWait: I, recordCanvas: w = !1, recordCrossOriginIframes: T = !1, userTriggeredOnInput: M = !1, collectFonts: F = !1, inlineImages: D = !1, plugins: J, keepIframeSrcFn: q = () => !1, ignoreCSSAttributes: ue = /* @__PURE__ */ new Set([]) } = i, me = T ? window.parent === window : !0;
16919
16919
  let ge = !1;
16920
16920
  if (!me)
16921
16921
  try {
@@ -16960,7 +16960,7 @@ function zt(i = {}) {
16960
16960
  const Ue = (O) => {
16961
16961
  for (const ae of J || [])
16962
16962
  ae.eventProcessor && (O = ae.eventProcessor(O));
16963
- return C && (O = C(O)), O;
16963
+ return b && (O = b(O)), O;
16964
16964
  };
16965
16965
  te = (O, ae) => {
16966
16966
  var Q;
@@ -17611,33 +17611,33 @@ function Zs(i) {
17611
17611
  const o = { done: !1, value: e };
17612
17612
  let { stiffness: a, damping: l, mass: h, velocity: f, duration: u, isResolvedFromDuration: g } = fu(r), m = sr, _ = sr;
17613
17613
  function v() {
17614
- const C = f ? -(f / 1e3) : 0, S = t - e, A = l / (2 * Math.sqrt(a * h)), I = Math.sqrt(a / h) / 1e3;
17614
+ const b = f ? -(f / 1e3) : 0, S = t - e, A = l / (2 * Math.sqrt(a * h)), I = Math.sqrt(a / h) / 1e3;
17615
17615
  if (n === void 0 && (n = Math.min(Math.abs(t - e) / 100, 0.4)), A < 1) {
17616
17616
  const w = Ls(I, A);
17617
17617
  m = (T) => {
17618
17618
  const M = Math.exp(-A * I * T);
17619
- return t - M * ((C + A * I * S) / w * Math.sin(w * T) + S * Math.cos(w * T));
17619
+ return t - M * ((b + A * I * S) / w * Math.sin(w * T) + S * Math.cos(w * T));
17620
17620
  }, _ = (T) => {
17621
17621
  const M = Math.exp(-A * I * T);
17622
- return A * I * M * (Math.sin(w * T) * (C + A * I * S) / w + S * Math.cos(w * T)) - M * (Math.cos(w * T) * (C + A * I * S) - w * S * Math.sin(w * T));
17622
+ return A * I * M * (Math.sin(w * T) * (b + A * I * S) / w + S * Math.cos(w * T)) - M * (Math.cos(w * T) * (b + A * I * S) - w * S * Math.sin(w * T));
17623
17623
  };
17624
17624
  } else if (A === 1)
17625
- m = (w) => t - Math.exp(-I * w) * (S + (C + I * S) * w);
17625
+ m = (w) => t - Math.exp(-I * w) * (S + (b + I * S) * w);
17626
17626
  else {
17627
17627
  const w = I * Math.sqrt(A * A - 1);
17628
17628
  m = (T) => {
17629
17629
  const M = Math.exp(-A * I * T), F = Math.min(w * T, 300);
17630
- return t - M * ((C + A * I * S) * Math.sinh(F) + w * S * Math.cosh(F)) / w;
17630
+ return t - M * ((b + A * I * S) * Math.sinh(F) + w * S * Math.cosh(F)) / w;
17631
17631
  };
17632
17632
  }
17633
17633
  }
17634
17634
  return v(), {
17635
- next: (C) => {
17636
- const S = m(C);
17635
+ next: (b) => {
17636
+ const S = m(b);
17637
17637
  if (g)
17638
- o.done = C >= u;
17638
+ o.done = b >= u;
17639
17639
  else {
17640
- const A = _(C) * 1e3, I = Math.abs(A) <= s, w = Math.abs(t - S) <= n;
17640
+ const A = _(b) * 1e3, I = Math.abs(A) <= s, w = Math.abs(t - S) <= n;
17641
17641
  o.done = I && w;
17642
17642
  }
17643
17643
  return o.value = o.done ? t : S, o;
@@ -17957,12 +17957,12 @@ const qu = (i) => {
17957
17957
  };
17958
17958
  function Ku(i) {
17959
17959
  var e, t, { from: s, autoplay: n = !0, driver: r = qu, elapsed: o = 0, repeat: a = 0, repeatType: l = "loop", repeatDelay: h = 0, onPlay: f, onStop: u, onComplete: g, onRepeat: m, onUpdate: _ } = i, v = Xo(i, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]);
17960
- let { to: C } = v, S, A = 0, I = v.duration, w, T = !1, M = !0, F;
17960
+ let { to: b } = v, S, A = 0, I = v.duration, w, T = !1, M = !0, F;
17961
17961
  const D = Uu(v);
17962
- !((t = (e = D).needsInterpolation) === null || t === void 0) && t.call(e, s, C) && (F = ha([0, 100], [s, C], {
17962
+ !((t = (e = D).needsInterpolation) === null || t === void 0) && t.call(e, s, b) && (F = ha([0, 100], [s, b], {
17963
17963
  clamp: !1
17964
- }), s = 0, C = 100);
17965
- const J = D(Object.assign(Object.assign({}, v), { from: s, to: C }));
17964
+ }), s = 0, b = 100);
17965
+ const J = D(Object.assign(Object.assign({}, v), { from: s, to: b }));
17966
17966
  function q() {
17967
17967
  A++, l === "reverse" ? (M = A % 2 === 0, o = Yu(o, I, h, M)) : (o = pa(o, I, h), l === "mirror" && J.flipTarget()), T = !1, m && m();
17968
17968
  }
@@ -20001,8 +20001,22 @@ function Df() {
20001
20001
  };
20002
20002
  const t = ba(i);
20003
20003
  async function s() {
20004
- let n = t, r = null, o = null;
20005
- const a = window.__HS_EVAL__, l = (a == null ? void 0 : a.visitorId) ?? Nf();
20004
+ let n = t, r = null, o = null, a = window.__HS_EVAL__;
20005
+ if (!a)
20006
+ try {
20007
+ const v = location.hash.match(/(?:^#|&)__hs_eval=([^&]+)/);
20008
+ if (v) {
20009
+ a = JSON.parse(decodeURIComponent(v[1])), window.__HS_EVAL__ = a;
20010
+ try {
20011
+ const b = location.hash.replace(/(?:^#|&)__hs_eval=[^&]+/, "").replace(/^&/, "#"), S = location.pathname + location.search + (b === "#" || b === "" ? "" : b);
20012
+ history.replaceState(null, "", S);
20013
+ } catch {
20014
+ }
20015
+ console.log("[HolostaffWidget] Eval config read from URL hash", a);
20016
+ }
20017
+ } catch {
20018
+ }
20019
+ const l = (a == null ? void 0 : a.visitorId) ?? Nf();
20006
20020
  try {
20007
20021
  if (o = await wa(t.staffId, t.backendUrl, l), o.blocked) {
20008
20022
  console.log("[HolostaffWidget] Visitor blocked — widget suppressed.");
@@ -20030,8 +20044,8 @@ function Df() {
20030
20044
  pageUrl: location.href,
20031
20045
  pageTitle: document.title,
20032
20046
  pagePatterns: h.map((v) => {
20033
- const C = { pattern: v.pattern };
20034
- return v.container && (C.container = v.container), C;
20047
+ const b = { pattern: v.pattern };
20048
+ return v.container && (b.container = v.container), b;
20035
20049
  })
20036
20050
  }), f.onEvent = (v) => {
20037
20051
  u == null || u.sendRRWebEvent(v);
@@ -20044,15 +20058,15 @@ function Df() {
20044
20058
  console.log("[HolostaffWidget] No matching page pattern for", location.pathname, "— presenter not loaded (observer active)");
20045
20059
  const _ = new Mf((v) => {
20046
20060
  u == null || u.sendPageChanged(location.href, v, document.title);
20047
- const C = fr(v, h);
20048
- if (C && !m) {
20061
+ const b = fr(v, h);
20062
+ if (b && !m) {
20049
20063
  console.log("[HolostaffWidget] SPA navigated to matching page:", v);
20050
20064
  let S = n;
20051
- C.container && (S = { ...n, mode: "inline", container: C.container }), m = e(S, o, r, f, u), window.holostaffWidget = m, m.init();
20052
- } else if (C && m) {
20053
- const S = C.container ?? null;
20065
+ b.container && (S = { ...n, mode: "inline", container: b.container }), m = e(S, o, r, f, u), window.holostaffWidget = m, m.init();
20066
+ } else if (b && m) {
20067
+ const S = b.container ?? null;
20054
20068
  S !== m.activeContainer && m.updateContainer(S), m.resume();
20055
- } else !C && m && m.pause();
20069
+ } else !b && m && m.pause();
20056
20070
  });
20057
20071
  window.__holostaffSPARouter = _;
20058
20072
  }
@@ -20126,4 +20140,4 @@ export {
20126
20140
  st as y,
20127
20141
  Gr as z
20128
20142
  };
20129
- //# sourceMappingURL=index-CHnN3M8o.js.map
20143
+ //# sourceMappingURL=index-Glf3TIbT.js.map