@bugjar/reporter 0.1.2 → 0.1.4

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.
@@ -12,7 +12,7 @@ var $p = { exports: {} }, ol = {}, zp = { exports: {} }, B = {};
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
- var Gi = Symbol.for("react.element"), bw = Symbol.for("react.portal"), Rw = Symbol.for("react.fragment"), _w = Symbol.for("react.strict_mode"), Aw = Symbol.for("react.profiler"), Mw = Symbol.for("react.provider"), Nw = Symbol.for("react.context"), Tw = Symbol.for("react.forward_ref"), Iw = Symbol.for("react.suspense"), Dw = Symbol.for("react.memo"), Ow = Symbol.for("react.lazy"), Zf = Symbol.iterator;
15
+ var Gi = Symbol.for("react.element"), bw = Symbol.for("react.portal"), Rw = Symbol.for("react.fragment"), Aw = Symbol.for("react.strict_mode"), _w = Symbol.for("react.profiler"), Mw = Symbol.for("react.provider"), Nw = Symbol.for("react.context"), Tw = Symbol.for("react.forward_ref"), Iw = Symbol.for("react.suspense"), Dw = Symbol.for("react.memo"), Ow = Symbol.for("react.lazy"), Zf = Symbol.iterator;
16
16
  function Pw(t) {
17
17
  return t === null || typeof t != "object" ? null : (t = Zf && t[Zf] || t["@@iterator"], typeof t == "function" ? t : null);
18
18
  }
@@ -143,9 +143,9 @@ B.Children = { map: is, forEach: function(t, e, n) {
143
143
  } };
144
144
  B.Component = Ir;
145
145
  B.Fragment = Rw;
146
- B.Profiler = Aw;
146
+ B.Profiler = _w;
147
147
  B.PureComponent = yc;
148
- B.StrictMode = _w;
148
+ B.StrictMode = Aw;
149
149
  B.Suspense = Iw;
150
150
  B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = $w;
151
151
  B.act = Xp;
@@ -242,7 +242,7 @@ B.useTransition = function() {
242
242
  };
243
243
  B.version = "18.3.1";
244
244
  zp.exports = B;
245
- var Te = zp.exports;
245
+ var Re = zp.exports;
246
246
  /**
247
247
  * @license React
248
248
  * react-jsx-runtime.production.min.js
@@ -252,7 +252,7 @@ var Te = zp.exports;
252
252
  * This source code is licensed under the MIT license found in the
253
253
  * LICENSE file in the root directory of this source tree.
254
254
  */
255
- var zw = Te, Uw = Symbol.for("react.element"), Bw = Symbol.for("react.fragment"), Ww = Object.prototype.hasOwnProperty, Vw = zw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Hw = { key: !0, ref: !0, __self: !0, __source: !0 };
255
+ var zw = Re, Uw = Symbol.for("react.element"), Bw = Symbol.for("react.fragment"), Ww = Object.prototype.hasOwnProperty, Vw = zw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Hw = { key: !0, ref: !0, __self: !0, __source: !0 };
256
256
  function Zp(t, e, n) {
257
257
  var r, i = {}, s = null, o = null;
258
258
  n !== void 0 && (s = "" + n), e.key !== void 0 && (s = "" + e.key), e.ref !== void 0 && (o = e.ref);
@@ -293,8 +293,8 @@ var w = $p.exports, Kp = { exports: {} }, qe = {}, Qp = { exports: {} }, Jp = {}
293
293
  if (L !== P) {
294
294
  M[0] = L;
295
295
  e: for (var U = 0, Z = M.length, je = Z >>> 1; U < je; ) {
296
- var N = 2 * (U + 1) - 1, A = M[N], k = N + 1, T = M[k];
297
- if (0 > i(A, L)) k < Z && 0 > i(T, A) ? (M[U] = T, M[k] = L, U = k) : (M[U] = A, M[N] = L, U = N);
296
+ var N = 2 * (U + 1) - 1, _ = M[N], k = N + 1, T = M[k];
297
+ if (0 > i(_, L)) k < Z && 0 > i(T, _) ? (M[U] = T, M[k] = L, U = k) : (M[U] = _, M[N] = L, U = N);
298
298
  else if (k < Z && 0 > i(T, L)) M[U] = T, M[k] = L, U = k;
299
299
  else break e;
300
300
  }
@@ -356,19 +356,19 @@ var w = $p.exports, Kp = { exports: {} }, qe = {}, Qp = { exports: {} }, Jp = {}
356
356
  d = null, f = L, m = !1;
357
357
  }
358
358
  }
359
- var E = !1, _ = null, b = -1, z = 5, O = -1;
359
+ var E = !1, A = null, b = -1, z = 5, O = -1;
360
360
  function de() {
361
361
  return !(t.unstable_now() - O < z);
362
362
  }
363
363
  function Ce() {
364
- if (_ !== null) {
364
+ if (A !== null) {
365
365
  var M = t.unstable_now();
366
366
  O = M;
367
367
  var P = !0;
368
368
  try {
369
- P = _(!0, M);
369
+ P = A(!0, M);
370
370
  } finally {
371
- P ? ne() : (E = !1, _ = null);
371
+ P ? ne() : (E = !1, A = null);
372
372
  }
373
373
  } else E = !1;
374
374
  }
@@ -385,7 +385,7 @@ var w = $p.exports, Kp = { exports: {} }, qe = {}, Qp = { exports: {} }, Jp = {}
385
385
  v(Ce, 0);
386
386
  };
387
387
  function W(M) {
388
- _ = M, E || (E = !0, ne());
388
+ A = M, E || (E = !0, ne());
389
389
  }
390
390
  function J(M, P) {
391
391
  b = v(function() {
@@ -482,7 +482,7 @@ var Gw = Qp.exports;
482
482
  * This source code is licensed under the MIT license found in the
483
483
  * LICENSE file in the root directory of this source tree.
484
484
  */
485
- var Yw = Te, Je = Gw;
485
+ var Yw = Re, Je = Gw;
486
486
  function R(t) {
487
487
  for (var e = "https://reactjs.org/docs/error-decoder.html?invariant=" + t, n = 1; n < arguments.length; n++) e += "&args[]=" + encodeURIComponent(arguments[n]);
488
488
  return "Minified React error #" + t + "; visit " + e + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
@@ -1019,7 +1019,7 @@ function Wa(t, e) {
1019
1019
  }
1020
1020
  }
1021
1021
  var Va = null;
1022
- function _c(t) {
1022
+ function Ac(t) {
1023
1023
  return t = t.target || t.srcElement || window, t.correspondingUseElement && (t = t.correspondingUseElement), t.nodeType === 3 ? t.parentNode : t;
1024
1024
  }
1025
1025
  var Ha = null, ar = null, ur = null;
@@ -1204,10 +1204,10 @@ function vm(t) {
1204
1204
  }
1205
1205
  return null;
1206
1206
  }
1207
- var wm = Je.unstable_scheduleCallback, ld = Je.unstable_cancelCallback, a0 = Je.unstable_shouldYield, u0 = Je.unstable_requestPaint, Se = Je.unstable_now, c0 = Je.unstable_getCurrentPriorityLevel, Ac = Je.unstable_ImmediatePriority, Sm = Je.unstable_UserBlockingPriority, xo = Je.unstable_NormalPriority, f0 = Je.unstable_LowPriority, Cm = Je.unstable_IdlePriority, ll = null, _t = null;
1207
+ var wm = Je.unstable_scheduleCallback, ld = Je.unstable_cancelCallback, a0 = Je.unstable_shouldYield, u0 = Je.unstable_requestPaint, Se = Je.unstable_now, c0 = Je.unstable_getCurrentPriorityLevel, _c = Je.unstable_ImmediatePriority, Sm = Je.unstable_UserBlockingPriority, xo = Je.unstable_NormalPriority, f0 = Je.unstable_LowPriority, Cm = Je.unstable_IdlePriority, ll = null, At = null;
1208
1208
  function d0(t) {
1209
- if (_t && typeof _t.onCommitFiberRoot == "function") try {
1210
- _t.onCommitFiberRoot(ll, t, void 0, (t.current.flags & 128) === 128);
1209
+ if (At && typeof At.onCommitFiberRoot == "function") try {
1210
+ At.onCommitFiberRoot(ll, t, void 0, (t.current.flags & 128) === 128);
1211
1211
  } catch {
1212
1212
  }
1213
1213
  }
@@ -1359,7 +1359,7 @@ var q = 0;
1359
1359
  function Em(t) {
1360
1360
  return t &= -t, 1 < t ? 4 < t ? t & 268435455 ? 16 : 536870912 : 4 : 1;
1361
1361
  }
1362
- var km, Nc, bm, Rm, _m, Za = !1, cs = [], rn = null, sn = null, on = null, vi = /* @__PURE__ */ new Map(), wi = /* @__PURE__ */ new Map(), Jt = [], w0 = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
1362
+ var km, Nc, bm, Rm, Am, Za = !1, cs = [], rn = null, sn = null, on = null, vi = /* @__PURE__ */ new Map(), wi = /* @__PURE__ */ new Map(), Jt = [], w0 = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
1363
1363
  function ad(t, e) {
1364
1364
  switch (t) {
1365
1365
  case "focusin":
@@ -1402,14 +1402,14 @@ function S0(t, e, n, r, i) {
1402
1402
  }
1403
1403
  return !1;
1404
1404
  }
1405
- function Am(t) {
1405
+ function _m(t) {
1406
1406
  var e = Cn(t.target);
1407
1407
  if (e !== null) {
1408
1408
  var n = Ln(e);
1409
1409
  if (n !== null) {
1410
1410
  if (e = n.tag, e === 13) {
1411
1411
  if (e = gm(n), e !== null) {
1412
- t.blockedOn = e, _m(t.priority, function() {
1412
+ t.blockedOn = e, Am(t.priority, function() {
1413
1413
  bm(n);
1414
1414
  });
1415
1415
  return;
@@ -1456,7 +1456,7 @@ function Si(t) {
1456
1456
  }
1457
1457
  }
1458
1458
  for (rn !== null && zr(rn, t), sn !== null && zr(sn, t), on !== null && zr(on, t), vi.forEach(e), wi.forEach(e), n = 0; n < Jt.length; n++) r = Jt[n], r.blockedOn === t && (r.blockedOn = null);
1459
- for (; 0 < Jt.length && (n = Jt[0], n.blockedOn === null); ) Am(n), n.blockedOn === null && Jt.shift();
1459
+ for (; 0 < Jt.length && (n = Jt[0], n.blockedOn === null); ) _m(n), n.blockedOn === null && Jt.shift();
1460
1460
  }
1461
1461
  var cr = Vt.ReactCurrentBatchConfig, ko = !0;
1462
1462
  function x0(t, e, n, r) {
@@ -1494,7 +1494,7 @@ function Tc(t, e, n, r) {
1494
1494
  }
1495
1495
  var bo = null;
1496
1496
  function Ka(t, e, n, r) {
1497
- if (bo = null, t = _c(r), t = Cn(t), t !== null) if (e = Ln(t), e === null) t = null;
1497
+ if (bo = null, t = Ac(r), t = Cn(t), t !== null) if (e = Ln(t), e === null) t = null;
1498
1498
  else if (n = e.tag, n === 13) {
1499
1499
  if (t = gm(e), t !== null) return t;
1500
1500
  t = null;
@@ -1580,7 +1580,7 @@ function Mm(t) {
1580
1580
  return 4;
1581
1581
  case "message":
1582
1582
  switch (c0()) {
1583
- case Ac:
1583
+ case _c:
1584
1584
  return 1;
1585
1585
  case Sm:
1586
1586
  return 4;
@@ -1639,7 +1639,7 @@ var Dr = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(t) {
1639
1639
  return "movementX" in t ? t.movementX : (t !== Ur && (Ur && t.type === "mousemove" ? (Yl = t.screenX - Ur.screenX, Xl = t.screenY - Ur.screenY) : Xl = Yl = 0, Ur = t), Yl);
1640
1640
  }, movementY: function(t) {
1641
1641
  return "movementY" in t ? t.movementY : Xl;
1642
- } }), fd = et(al), b0 = ge({}, al, { dataTransfer: 0 }), R0 = et(b0), _0 = ge({}, Xi, { relatedTarget: 0 }), Zl = et(_0), A0 = ge({}, Dr, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), M0 = et(A0), N0 = ge({}, Dr, { clipboardData: function(t) {
1642
+ } }), fd = et(al), b0 = ge({}, al, { dataTransfer: 0 }), R0 = et(b0), A0 = ge({}, Xi, { relatedTarget: 0 }), Zl = et(A0), _0 = ge({}, Dr, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), M0 = et(_0), N0 = ge({}, Dr, { clipboardData: function(t) {
1643
1643
  return "clipboardData" in t ? t.clipboardData : window.clipboardData;
1644
1644
  } }), T0 = et(N0), I0 = ge({}, Dr, { data: 0 }), dd = et(I0), D0 = {
1645
1645
  Esc: "Escape",
@@ -1808,7 +1808,7 @@ function vd() {
1808
1808
  function Lm(t) {
1809
1809
  if (t.propertyName === "value" && ul(Ci)) {
1810
1810
  var e = [];
1811
- Om(e, Ci, t, _c(t)), mm(Q0, e);
1811
+ Om(e, Ci, t, Ac(t)), mm(Q0, e);
1812
1812
  }
1813
1813
  }
1814
1814
  function q0(t, e, n) {
@@ -2029,7 +2029,7 @@ function na(t, e, n, r, i) {
2029
2029
  r = r.return;
2030
2030
  }
2031
2031
  mm(function() {
2032
- var u = s, c = _c(n), d = [];
2032
+ var u = s, c = Ac(n), d = [];
2033
2033
  e: {
2034
2034
  var f = Vm.get(t);
2035
2035
  if (f !== void 0) {
@@ -2173,7 +2173,7 @@ function na(t, e, n, r, i) {
2173
2173
  case "keyup":
2174
2174
  Cd(d, n, c);
2175
2175
  }
2176
- var _;
2176
+ var A;
2177
2177
  if (Pc) e: {
2178
2178
  switch (t) {
2179
2179
  case "compositionstart":
@@ -2189,7 +2189,7 @@ function na(t, e, n, r, i) {
2189
2189
  b = void 0;
2190
2190
  }
2191
2191
  else Zn ? Im(t, n) && (b = "onCompositionEnd") : t === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
2192
- b && (Tm && n.locale !== "ko" && (Zn || b !== "onCompositionStart" ? b === "onCompositionEnd" && Zn && (_ = Nm()) : (en = c, Ic = "value" in en ? en.value : en.textContent, Zn = !0)), E = Ro(u, b), 0 < E.length && (b = new dd(b, t, null, n, c), d.push({ event: b, listeners: E }), _ ? b.data = _ : (_ = Dm(n), _ !== null && (b.data = _)))), (_ = Y0 ? X0(t, n) : Z0(t, n)) && (u = Ro(u, "onBeforeInput"), 0 < u.length && (c = new dd("onBeforeInput", "beforeinput", null, n, c), d.push({ event: c, listeners: u }), c.data = _));
2192
+ b && (Tm && n.locale !== "ko" && (Zn || b !== "onCompositionStart" ? b === "onCompositionEnd" && Zn && (A = Nm()) : (en = c, Ic = "value" in en ? en.value : en.textContent, Zn = !0)), E = Ro(u, b), 0 < E.length && (b = new dd(b, t, null, n, c), d.push({ event: b, listeners: E }), A ? b.data = A : (A = Dm(n), A !== null && (b.data = A)))), (A = Y0 ? X0(t, n) : Z0(t, n)) && (u = Ro(u, "onBeforeInput"), 0 < u.length && (c = new dd("onBeforeInput", "beforeinput", null, n, c), d.push({ event: c, listeners: u }), c.data = A));
2193
2193
  }
2194
2194
  Hm(d, e);
2195
2195
  });
@@ -2227,7 +2227,7 @@ function bd(t) {
2227
2227
  function ps(t, e, n) {
2228
2228
  if (e = bd(e), bd(t) !== e && n) throw Error(R(425));
2229
2229
  }
2230
- function _o() {
2230
+ function Ao() {
2231
2231
  }
2232
2232
  var qa = null, eu = null;
2233
2233
  function tu(t, e) {
@@ -2267,7 +2267,7 @@ function ln(t) {
2267
2267
  }
2268
2268
  return t;
2269
2269
  }
2270
- function _d(t) {
2270
+ function Ad(t) {
2271
2271
  t = t.previousSibling;
2272
2272
  for (var e = 0; t; ) {
2273
2273
  if (t.nodeType === 8) {
@@ -2287,9 +2287,9 @@ function Cn(t) {
2287
2287
  if (e) return e;
2288
2288
  for (var n = t.parentNode; n; ) {
2289
2289
  if (e = n[$t] || n[bt]) {
2290
- if (n = e.alternate, e.child !== null || n !== null && n.child !== null) for (t = _d(t); t !== null; ) {
2290
+ if (n = e.alternate, e.child !== null || n !== null && n.child !== null) for (t = Ad(t); t !== null; ) {
2291
2291
  if (n = t[bt]) return n;
2292
- t = _d(t);
2292
+ t = Ad(t);
2293
2293
  }
2294
2294
  return e;
2295
2295
  }
@@ -2330,10 +2330,10 @@ function gr(t, e) {
2330
2330
  function Ge(t) {
2331
2331
  return t = t.childContextTypes, t != null;
2332
2332
  }
2333
- function Ao() {
2333
+ function _o() {
2334
2334
  ae(He), ae(Fe);
2335
2335
  }
2336
- function Ad(t, e, n) {
2336
+ function _d(t, e, n) {
2337
2337
  if (Fe.current !== hn) throw Error(R(168));
2338
2338
  re(Fe, e), re(He, n);
2339
2339
  }
@@ -2373,7 +2373,7 @@ function gn() {
2373
2373
  }
2374
2374
  Dt = null, dl = !1;
2375
2375
  } catch (i) {
2376
- throw Dt !== null && (Dt = Dt.slice(t + 1)), wm(Ac, gn), i;
2376
+ throw Dt !== null && (Dt = Dt.slice(t + 1)), wm(_c, gn), i;
2377
2377
  } finally {
2378
2378
  q = e, ia = !1;
2379
2379
  }
@@ -2605,22 +2605,22 @@ function Jm(t) {
2605
2605
  return null;
2606
2606
  }
2607
2607
  function g(h, p, y, C) {
2608
- for (var x = null, E = null, _ = p, b = p = 0, z = null; _ !== null && b < y.length; b++) {
2609
- _.index > b ? (z = _, _ = null) : z = _.sibling;
2610
- var O = f(h, _, y[b], C);
2608
+ for (var x = null, E = null, A = p, b = p = 0, z = null; A !== null && b < y.length; b++) {
2609
+ A.index > b ? (z = A, A = null) : z = A.sibling;
2610
+ var O = f(h, A, y[b], C);
2611
2611
  if (O === null) {
2612
- _ === null && (_ = z);
2612
+ A === null && (A = z);
2613
2613
  break;
2614
2614
  }
2615
- t && _ && O.alternate === null && e(h, _), p = s(O, p, b), E === null ? x = O : E.sibling = O, E = O, _ = z;
2615
+ t && A && O.alternate === null && e(h, A), p = s(O, p, b), E === null ? x = O : E.sibling = O, E = O, A = z;
2616
2616
  }
2617
- if (b === y.length) return n(h, _), ce && wn(h, b), x;
2618
- if (_ === null) {
2619
- for (; b < y.length; b++) _ = d(h, y[b], C), _ !== null && (p = s(_, p, b), E === null ? x = _ : E.sibling = _, E = _);
2617
+ if (b === y.length) return n(h, A), ce && wn(h, b), x;
2618
+ if (A === null) {
2619
+ for (; b < y.length; b++) A = d(h, y[b], C), A !== null && (p = s(A, p, b), E === null ? x = A : E.sibling = A, E = A);
2620
2620
  return ce && wn(h, b), x;
2621
2621
  }
2622
- for (_ = r(h, _); b < y.length; b++) z = m(_, h, b, y[b], C), z !== null && (t && z.alternate !== null && _.delete(z.key === null ? b : z.key), p = s(z, p, b), E === null ? x = z : E.sibling = z, E = z);
2623
- return t && _.forEach(function(de) {
2622
+ for (A = r(h, A); b < y.length; b++) z = m(A, h, b, y[b], C), z !== null && (t && z.alternate !== null && A.delete(z.key === null ? b : z.key), p = s(z, p, b), E === null ? x = z : E.sibling = z, E = z);
2623
+ return t && A.forEach(function(de) {
2624
2624
  return e(h, de);
2625
2625
  }), ce && wn(h, b), x;
2626
2626
  }
@@ -2628,25 +2628,25 @@ function Jm(t) {
2628
2628
  var x = Fr(y);
2629
2629
  if (typeof x != "function") throw Error(R(150));
2630
2630
  if (y = x.call(y), y == null) throw Error(R(151));
2631
- for (var E = x = null, _ = p, b = p = 0, z = null, O = y.next(); _ !== null && !O.done; b++, O = y.next()) {
2632
- _.index > b ? (z = _, _ = null) : z = _.sibling;
2633
- var de = f(h, _, O.value, C);
2631
+ for (var E = x = null, A = p, b = p = 0, z = null, O = y.next(); A !== null && !O.done; b++, O = y.next()) {
2632
+ A.index > b ? (z = A, A = null) : z = A.sibling;
2633
+ var de = f(h, A, O.value, C);
2634
2634
  if (de === null) {
2635
- _ === null && (_ = z);
2635
+ A === null && (A = z);
2636
2636
  break;
2637
2637
  }
2638
- t && _ && de.alternate === null && e(h, _), p = s(de, p, b), E === null ? x = de : E.sibling = de, E = de, _ = z;
2638
+ t && A && de.alternate === null && e(h, A), p = s(de, p, b), E === null ? x = de : E.sibling = de, E = de, A = z;
2639
2639
  }
2640
2640
  if (O.done) return n(
2641
2641
  h,
2642
- _
2642
+ A
2643
2643
  ), ce && wn(h, b), x;
2644
- if (_ === null) {
2644
+ if (A === null) {
2645
2645
  for (; !O.done; b++, O = y.next()) O = d(h, O.value, C), O !== null && (p = s(O, p, b), E === null ? x = O : E.sibling = O, E = O);
2646
2646
  return ce && wn(h, b), x;
2647
2647
  }
2648
- for (_ = r(h, _); !O.done; b++, O = y.next()) O = m(_, h, b, O.value, C), O !== null && (t && O.alternate !== null && _.delete(O.key === null ? b : O.key), p = s(O, p, b), E === null ? x = O : E.sibling = O, E = O);
2649
- return t && _.forEach(function(Ce) {
2648
+ for (A = r(h, A); !O.done; b++, O = y.next()) O = m(A, h, b, O.value, C), O !== null && (t && O.alternate !== null && A.delete(O.key === null ? b : O.key), p = s(O, p, b), E === null ? x = O : E.sibling = O, E = O);
2649
+ return t && A.forEach(function(Ce) {
2650
2650
  return e(h, Ce);
2651
2651
  }), ce && wn(h, b), x;
2652
2652
  }
@@ -2852,13 +2852,13 @@ function Od(t, e, n) {
2852
2852
  }
2853
2853
  }
2854
2854
  }
2855
- var Ki = {}, At = mn(Ki), Ri = mn(Ki), _i = mn(Ki);
2855
+ var Ki = {}, _t = mn(Ki), Ri = mn(Ki), Ai = mn(Ki);
2856
2856
  function En(t) {
2857
2857
  if (t === Ki) throw Error(R(174));
2858
2858
  return t;
2859
2859
  }
2860
2860
  function Hc(t, e) {
2861
- switch (re(_i, e), re(Ri, t), re(At, Ki), t = e.nodeType, t) {
2861
+ switch (re(Ai, e), re(Ri, t), re(_t, Ki), t = e.nodeType, t) {
2862
2862
  case 9:
2863
2863
  case 11:
2864
2864
  e = (e = e.documentElement) ? e.namespaceURI : Ua(null, "");
@@ -2866,18 +2866,18 @@ function Hc(t, e) {
2866
2866
  default:
2867
2867
  t = t === 8 ? e.parentNode : e, e = t.namespaceURI || null, t = t.tagName, e = Ua(e, t);
2868
2868
  }
2869
- ae(At), re(At, e);
2869
+ ae(_t), re(_t, e);
2870
2870
  }
2871
2871
  function wr() {
2872
- ae(At), ae(Ri), ae(_i);
2872
+ ae(_t), ae(Ri), ae(Ai);
2873
2873
  }
2874
2874
  function ng(t) {
2875
- En(_i.current);
2876
- var e = En(At.current), n = Ua(e, t.type);
2877
- e !== n && (re(Ri, t), re(At, n));
2875
+ En(Ai.current);
2876
+ var e = En(_t.current), n = Ua(e, t.type);
2877
+ e !== n && (re(Ri, t), re(_t, n));
2878
2878
  }
2879
2879
  function Gc(t) {
2880
- Ri.current === t && (ae(At), ae(Ri));
2880
+ Ri.current === t && (ae(_t), ae(Ri));
2881
2881
  }
2882
2882
  var pe = mn(0);
2883
2883
  function Po(t) {
@@ -2905,7 +2905,7 @@ function Yc() {
2905
2905
  for (var t = 0; t < sa.length; t++) sa[t]._workInProgressVersionPrimary = null;
2906
2906
  sa.length = 0;
2907
2907
  }
2908
- var oo = Vt.ReactCurrentDispatcher, oa = Vt.ReactCurrentBatchConfig, Tn = 0, me = null, be = null, Ae = null, Lo = !1, li = !1, Ai = 0, v1 = 0;
2908
+ var oo = Vt.ReactCurrentDispatcher, oa = Vt.ReactCurrentBatchConfig, Tn = 0, me = null, be = null, Me = null, Lo = !1, li = !1, _i = 0, v1 = 0;
2909
2909
  function Oe() {
2910
2910
  throw Error(R(321));
2911
2911
  }
@@ -2918,33 +2918,33 @@ function Zc(t, e, n, r, i, s) {
2918
2918
  if (Tn = s, me = e, e.memoizedState = null, e.updateQueue = null, e.lanes = 0, oo.current = t === null || t.memoizedState === null ? x1 : E1, t = n(r, i), li) {
2919
2919
  s = 0;
2920
2920
  do {
2921
- if (li = !1, Ai = 0, 25 <= s) throw Error(R(301));
2922
- s += 1, Ae = be = null, e.updateQueue = null, oo.current = k1, t = n(r, i);
2921
+ if (li = !1, _i = 0, 25 <= s) throw Error(R(301));
2922
+ s += 1, Me = be = null, e.updateQueue = null, oo.current = k1, t = n(r, i);
2923
2923
  } while (li);
2924
2924
  }
2925
- if (oo.current = Fo, e = be !== null && be.next !== null, Tn = 0, Ae = be = me = null, Lo = !1, e) throw Error(R(300));
2925
+ if (oo.current = Fo, e = be !== null && be.next !== null, Tn = 0, Me = be = me = null, Lo = !1, e) throw Error(R(300));
2926
2926
  return t;
2927
2927
  }
2928
2928
  function Kc() {
2929
- var t = Ai !== 0;
2930
- return Ai = 0, t;
2929
+ var t = _i !== 0;
2930
+ return _i = 0, t;
2931
2931
  }
2932
2932
  function kt() {
2933
2933
  var t = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
2934
- return Ae === null ? me.memoizedState = Ae = t : Ae = Ae.next = t, Ae;
2934
+ return Me === null ? me.memoizedState = Me = t : Me = Me.next = t, Me;
2935
2935
  }
2936
2936
  function at() {
2937
2937
  if (be === null) {
2938
2938
  var t = me.alternate;
2939
2939
  t = t !== null ? t.memoizedState : null;
2940
2940
  } else t = be.next;
2941
- var e = Ae === null ? me.memoizedState : Ae.next;
2942
- if (e !== null) Ae = e, be = t;
2941
+ var e = Me === null ? me.memoizedState : Me.next;
2942
+ if (e !== null) Me = e, be = t;
2943
2943
  else {
2944
2944
  if (t === null) throw Error(R(310));
2945
- be = t, t = { memoizedState: be.memoizedState, baseState: be.baseState, baseQueue: be.baseQueue, queue: be.queue, next: null }, Ae === null ? me.memoizedState = Ae = t : Ae = Ae.next = t;
2945
+ be = t, t = { memoizedState: be.memoizedState, baseState: be.baseState, baseQueue: be.baseQueue, queue: be.queue, next: null }, Me === null ? me.memoizedState = Me = t : Me = Me.next = t;
2946
2946
  }
2947
- return Ae;
2947
+ return Me;
2948
2948
  }
2949
2949
  function Mi(t, e) {
2950
2950
  return typeof e == "function" ? e(t) : e;
@@ -3008,8 +3008,8 @@ function rg() {
3008
3008
  }
3009
3009
  function ig(t, e) {
3010
3010
  var n = me, r = at(), i = e(), s = !gt(r.memoizedState, i);
3011
- if (s && (r.memoizedState = i, Ve = !0), r = r.queue, Qc(lg.bind(null, n, r, t), [t]), r.getSnapshot !== e || s || Ae !== null && Ae.memoizedState.tag & 1) {
3012
- if (n.flags |= 2048, Ni(9, og.bind(null, n, r, i, e), void 0, null), Me === null) throw Error(R(349));
3011
+ if (s && (r.memoizedState = i, Ve = !0), r = r.queue, Qc(lg.bind(null, n, r, t), [t]), r.getSnapshot !== e || s || Me !== null && Me.memoizedState.tag & 1) {
3012
+ if (n.flags |= 2048, Ni(9, og.bind(null, n, r, i, e), void 0, null), Ne === null) throw Error(R(349));
3013
3013
  Tn & 30 || sg(n, e, i);
3014
3014
  }
3015
3015
  return i;
@@ -3195,7 +3195,7 @@ var Fo = { readContext: lt, useCallback: Oe, useContext: Oe, useEffect: Oe, useI
3195
3195
  if (n === void 0) throw Error(R(407));
3196
3196
  n = n();
3197
3197
  } else {
3198
- if (n = e(), Me === null) throw Error(R(349));
3198
+ if (n = e(), Ne === null) throw Error(R(349));
3199
3199
  Tn & 30 || sg(r, e, n);
3200
3200
  }
3201
3201
  i.memoizedState = n;
@@ -3207,10 +3207,10 @@ var Fo = { readContext: lt, useCallback: Oe, useContext: Oe, useEffect: Oe, useI
3207
3207
  t
3208
3208
  ), [t]), r.flags |= 2048, Ni(9, og.bind(null, r, s, n, e), void 0, null), n;
3209
3209
  }, useId: function() {
3210
- var t = kt(), e = Me.identifierPrefix;
3210
+ var t = kt(), e = Ne.identifierPrefix;
3211
3211
  if (ce) {
3212
3212
  var n = Pt, r = Ot;
3213
- n = (r & ~(1 << 32 - pt(r) - 1)).toString(32) + n, e = ":" + e + "R" + n, n = Ai++, 0 < n && (e += "H" + n.toString(32)), e += ":";
3213
+ n = (r & ~(1 << 32 - pt(r) - 1)).toString(32) + n, e = ":" + e + "R" + n, n = _i++, 0 < n && (e += "H" + n.toString(32)), e += ":";
3214
3214
  } else n = v1++, e = ":" + e + "r" + n.toString(32) + ":";
3215
3215
  return t.memoizedState = e;
3216
3216
  }, unstable_isNewReconciler: !1 }, E1 = {
@@ -3401,7 +3401,7 @@ function Rg(t, e, n) {
3401
3401
  else s !== null ? (r = s.baseLanes | n, e.memoizedState = null) : r = n, re(ir, Xe), Xe |= r;
3402
3402
  return $e(t, e, i, n), e.child;
3403
3403
  }
3404
- function _g(t, e) {
3404
+ function Ag(t, e) {
3405
3405
  var n = e.ref;
3406
3406
  (t === null && n !== null || t !== null && t.ref !== n) && (e.flags |= 512, e.flags |= 2097152);
3407
3407
  }
@@ -3434,16 +3434,16 @@ function Vd(t, e, n, r, i) {
3434
3434
  return du(t, e, n, r, s, i);
3435
3435
  }
3436
3436
  function du(t, e, n, r, i, s) {
3437
- _g(t, e);
3437
+ Ag(t, e);
3438
3438
  var o = (e.flags & 128) !== 0;
3439
3439
  if (!r && !o) return i && Md(e, n, !1), Ut(t, e, s);
3440
3440
  r = e.stateNode, R1.current = e;
3441
3441
  var l = o && typeof n.getDerivedStateFromError != "function" ? null : r.render();
3442
3442
  return e.flags |= 1, t !== null && o ? (e.child = vr(e, t.child, null, s), e.child = vr(e, null, l, s)) : $e(t, e, l, s), e.memoizedState = r.state, i && Md(e, n, !0), e.child;
3443
3443
  }
3444
- function Ag(t) {
3444
+ function _g(t) {
3445
3445
  var e = t.stateNode;
3446
- e.pendingContext ? Ad(t, e.pendingContext, e.pendingContext !== e.context) : e.context && Ad(t, e.context, !1), Hc(t, e.containerInfo);
3446
+ e.pendingContext ? _d(t, e.pendingContext, e.pendingContext !== e.context) : e.context && _d(t, e.context, !1), Hc(t, e.containerInfo);
3447
3447
  }
3448
3448
  function Hd(t, e, n, r, i) {
3449
3449
  return yr(), $c(i), e.flags |= 256, $e(t, e, n, r), e.child;
@@ -3456,7 +3456,7 @@ function Mg(t, e, n) {
3456
3456
  var r = e.pendingProps, i = pe.current, s = !1, o = (e.flags & 128) !== 0, l;
3457
3457
  if ((l = o) || (l = t !== null && t.memoizedState === null ? !1 : (i & 2) !== 0), l ? (s = !0, e.flags &= -129) : (t === null || t.memoizedState !== null) && (i |= 1), re(pe, i & 1), t === null)
3458
3458
  return ou(e), t = e.memoizedState, t !== null && (t = t.dehydrated, t !== null) ? (e.mode & 1 ? t.data === "$!" ? e.lanes = 8 : e.lanes = 1073741824 : e.lanes = 1, null) : (o = r.children, t = r.fallback, s ? (r = e.mode, s = e.child, o = { mode: "hidden", children: o }, !(r & 1) && s !== null ? (s.childLanes = 0, s.pendingProps = o) : s = yl(o, r, 0, null), t = Rn(t, r, n, null), s.return = e, t.return = e, s.sibling = t, e.child = s, e.child.memoizedState = pu(n), e.memoizedState = hu, t) : qc(e, o));
3459
- if (i = t.memoizedState, i !== null && (l = i.dehydrated, l !== null)) return _1(t, e, o, r, l, i, n);
3459
+ if (i = t.memoizedState, i !== null && (l = i.dehydrated, l !== null)) return A1(t, e, o, r, l, i, n);
3460
3460
  if (s) {
3461
3461
  s = r.fallback, o = e.mode, i = t.child, l = i.sibling;
3462
3462
  var a = { mode: "hidden", children: r.children };
@@ -3470,7 +3470,7 @@ function qc(t, e) {
3470
3470
  function ys(t, e, n, r) {
3471
3471
  return r !== null && $c(r), vr(e, t.child, null, n), t = qc(e, e.pendingProps.children), t.flags |= 2, e.memoizedState = null, t;
3472
3472
  }
3473
- function _1(t, e, n, r, i, s, o) {
3473
+ function A1(t, e, n, r, i, s, o) {
3474
3474
  if (n)
3475
3475
  return e.flags & 256 ? (e.flags &= -257, r = ua(Error(R(422))), ys(t, e, o, r)) : e.memoizedState !== null ? (e.child = t.child, e.flags |= 128, null) : (s = r.fallback, i = e.mode, r = yl({ mode: "visible", children: r.children }, i, 0, null), s = Rn(s, i, o, null), s.flags |= 2, r.return = e, s.return = e, r.sibling = s, e.child = r, e.mode & 1 && vr(e, t.child, null, o), e.child.memoizedState = pu(o), e.memoizedState = hu, s);
3476
3476
  if (!(e.mode & 1)) return ys(t, e, o, null);
@@ -3479,7 +3479,7 @@ function _1(t, e, n, r, i, s, o) {
3479
3479
  return r = l, s = Error(R(419)), r = ua(s, r, void 0), ys(t, e, o, r);
3480
3480
  }
3481
3481
  if (l = (o & t.childLanes) !== 0, Ve || l) {
3482
- if (r = Me, r !== null) {
3482
+ if (r = Ne, r !== null) {
3483
3483
  switch (o & -o) {
3484
3484
  case 4:
3485
3485
  i = 2;
@@ -3587,10 +3587,10 @@ function Ut(t, e, n) {
3587
3587
  }
3588
3588
  return e.child;
3589
3589
  }
3590
- function A1(t, e, n) {
3590
+ function _1(t, e, n) {
3591
3591
  switch (e.tag) {
3592
3592
  case 3:
3593
- Ag(e), yr();
3593
+ _g(e), yr();
3594
3594
  break;
3595
3595
  case 5:
3596
3596
  ng(e);
@@ -3644,7 +3644,7 @@ mu = function() {
3644
3644
  Ig = function(t, e, n, r) {
3645
3645
  var i = t.memoizedProps;
3646
3646
  if (i !== r) {
3647
- t = e.stateNode, En(At.current);
3647
+ t = e.stateNode, En(_t.current);
3648
3648
  var s = null;
3649
3649
  switch (n) {
3650
3650
  case "input":
@@ -3657,7 +3657,7 @@ Ig = function(t, e, n, r) {
3657
3657
  i = za(t, i), r = za(t, r), s = [];
3658
3658
  break;
3659
3659
  default:
3660
- typeof i.onClick != "function" && typeof r.onClick == "function" && (t.onclick = _o);
3660
+ typeof i.onClick != "function" && typeof r.onClick == "function" && (t.onclick = Ao);
3661
3661
  }
3662
3662
  Ba(n, r);
3663
3663
  var o;
@@ -3719,19 +3719,19 @@ function M1(t, e, n) {
3719
3719
  case 14:
3720
3720
  return Pe(e), null;
3721
3721
  case 1:
3722
- return Ge(e.type) && Ao(), Pe(e), null;
3722
+ return Ge(e.type) && _o(), Pe(e), null;
3723
3723
  case 3:
3724
3724
  return r = e.stateNode, wr(), ae(He), ae(Fe), Yc(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (t === null || t.child === null) && (ms(e) ? e.flags |= 4 : t === null || t.memoizedState.isDehydrated && !(e.flags & 256) || (e.flags |= 1024, ht !== null && (Eu(ht), ht = null))), mu(t, e), Pe(e), null;
3725
3725
  case 5:
3726
3726
  Gc(e);
3727
- var i = En(_i.current);
3727
+ var i = En(Ai.current);
3728
3728
  if (n = e.type, t !== null && e.stateNode != null) Ig(t, e, n, r, i), t.ref !== e.ref && (e.flags |= 512, e.flags |= 2097152);
3729
3729
  else {
3730
3730
  if (!r) {
3731
3731
  if (e.stateNode === null) throw Error(R(166));
3732
3732
  return Pe(e), null;
3733
3733
  }
3734
- if (t = En(At.current), ms(e)) {
3734
+ if (t = En(_t.current), ms(e)) {
3735
3735
  r = e.stateNode, n = e.type;
3736
3736
  var s = e.memoizedProps;
3737
3737
  switch (r[bt] = e, r[bi] = s, t = (e.mode & 1) !== 0, n) {
@@ -3790,7 +3790,7 @@ function M1(t, e, n) {
3790
3790
  case "option":
3791
3791
  break;
3792
3792
  default:
3793
- typeof s.onClick == "function" && (r.onclick = _o);
3793
+ typeof s.onClick == "function" && (r.onclick = Ao);
3794
3794
  }
3795
3795
  r = i, e.updateQueue = r, r !== null && (e.flags |= 4);
3796
3796
  } else {
@@ -3863,7 +3863,7 @@ function M1(t, e, n) {
3863
3863
  );
3864
3864
  break;
3865
3865
  default:
3866
- typeof i.onClick == "function" && (t.onclick = _o);
3866
+ typeof i.onClick == "function" && (t.onclick = Ao);
3867
3867
  }
3868
3868
  switch (n) {
3869
3869
  case "button":
@@ -3888,7 +3888,7 @@ function M1(t, e, n) {
3888
3888
  if (t && e.stateNode != null) Dg(t, e, t.memoizedProps, r);
3889
3889
  else {
3890
3890
  if (typeof r != "string" && e.stateNode === null) throw Error(R(166));
3891
- if (n = En(_i.current), En(At.current), ms(e)) {
3891
+ if (n = En(Ai.current), En(_t.current), ms(e)) {
3892
3892
  if (r = e.stateNode, n = e.memoizedProps, r[bt] = e, (s = r.nodeValue !== n) && (t = Qe, t !== null)) switch (t.tag) {
3893
3893
  case 3:
3894
3894
  ps(r.nodeValue, n, (t.mode & 1) !== 0);
@@ -3913,18 +3913,18 @@ function M1(t, e, n) {
3913
3913
  } else ht !== null && (Eu(ht), ht = null), s = !0;
3914
3914
  if (!s) return e.flags & 65536 ? e : null;
3915
3915
  }
3916
- return e.flags & 128 ? (e.lanes = n, e) : (r = r !== null, r !== (t !== null && t.memoizedState !== null) && r && (e.child.flags |= 8192, e.mode & 1 && (t === null || pe.current & 1 ? Re === 0 && (Re = 3) : of())), e.updateQueue !== null && (e.flags |= 4), Pe(e), null);
3916
+ return e.flags & 128 ? (e.lanes = n, e) : (r = r !== null, r !== (t !== null && t.memoizedState !== null) && r && (e.child.flags |= 8192, e.mode & 1 && (t === null || pe.current & 1 ? Ae === 0 && (Ae = 3) : of())), e.updateQueue !== null && (e.flags |= 4), Pe(e), null);
3917
3917
  case 4:
3918
3918
  return wr(), mu(t, e), t === null && Ei(e.stateNode.containerInfo), Pe(e), null;
3919
3919
  case 10:
3920
3920
  return Bc(e.type._context), Pe(e), null;
3921
3921
  case 17:
3922
- return Ge(e.type) && Ao(), Pe(e), null;
3922
+ return Ge(e.type) && _o(), Pe(e), null;
3923
3923
  case 19:
3924
3924
  if (ae(pe), s = e.memoizedState, s === null) return Pe(e), null;
3925
3925
  if (r = (e.flags & 128) !== 0, o = s.rendering, o === null) if (r) Wr(s, !1);
3926
3926
  else {
3927
- if (Re !== 0 || t !== null && t.flags & 128) for (t = e.child; t !== null; ) {
3927
+ if (Ae !== 0 || t !== null && t.flags & 128) for (t = e.child; t !== null; ) {
3928
3928
  if (o = Po(t), o !== null) {
3929
3929
  for (e.flags |= 128, Wr(s, !1), r = o.updateQueue, r !== null && (e.updateQueue = r, e.flags |= 4), e.subtreeFlags = 0, r = n, n = e.child; n !== null; ) s = n, t = r, s.flags &= 14680066, o = s.alternate, o === null ? (s.childLanes = 0, s.lanes = t, s.child = null, s.subtreeFlags = 0, s.memoizedProps = null, s.memoizedState = null, s.updateQueue = null, s.dependencies = null, s.stateNode = null) : (s.childLanes = o.childLanes, s.lanes = o.lanes, s.child = o.child, s.subtreeFlags = 0, s.deletions = null, s.memoizedProps = o.memoizedProps, s.memoizedState = o.memoizedState, s.updateQueue = o.updateQueue, s.type = o.type, t = o.dependencies, s.dependencies = t === null ? null : { lanes: t.lanes, firstContext: t.firstContext }), n = n.sibling;
3930
3930
  return re(pe, pe.current & 1 | 2), e.child;
@@ -3953,7 +3953,7 @@ function M1(t, e, n) {
3953
3953
  function N1(t, e) {
3954
3954
  switch (jc(e), e.tag) {
3955
3955
  case 1:
3956
- return Ge(e.type) && Ao(), t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
3956
+ return Ge(e.type) && _o(), t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
3957
3957
  case 3:
3958
3958
  return wr(), ae(He), ae(Fe), Yc(), t = e.flags, t & 65536 && !(t & 128) ? (e.flags = t & -65537 | 128, e) : null;
3959
3959
  case 5:
@@ -4129,7 +4129,7 @@ function Xd(t) {
4129
4129
  }
4130
4130
  function vu(t, e, n) {
4131
4131
  var r = t.tag;
4132
- if (r === 5 || r === 6) t = t.stateNode, e ? n.nodeType === 8 ? n.parentNode.insertBefore(t, e) : n.insertBefore(t, e) : (n.nodeType === 8 ? (e = n.parentNode, e.insertBefore(t, n)) : (e = n, e.appendChild(t)), n = n._reactRootContainer, n != null || e.onclick !== null || (e.onclick = _o));
4132
+ if (r === 5 || r === 6) t = t.stateNode, e ? n.nodeType === 8 ? n.parentNode.insertBefore(t, e) : n.insertBefore(t, e) : (n.nodeType === 8 ? (e = n.parentNode, e.insertBefore(t, n)) : (e = n, e.appendChild(t)), n = n._reactRootContainer, n != null || e.onclick !== null || (e.onclick = Ao));
4133
4133
  else if (r !== 4 && (t = t.child, t !== null)) for (vu(t, e, n), t = t.sibling; t !== null; ) vu(t, e, n), t = t.sibling;
4134
4134
  }
4135
4135
  function wu(t, e, n) {
@@ -4137,27 +4137,27 @@ function wu(t, e, n) {
4137
4137
  if (r === 5 || r === 6) t = t.stateNode, e ? n.insertBefore(t, e) : n.appendChild(t);
4138
4138
  else if (r !== 4 && (t = t.child, t !== null)) for (wu(t, e, n), t = t.sibling; t !== null; ) wu(t, e, n), t = t.sibling;
4139
4139
  }
4140
- var Ne = null, dt = !1;
4140
+ var Te = null, dt = !1;
4141
4141
  function Yt(t, e, n) {
4142
4142
  for (n = n.child; n !== null; ) Lg(t, e, n), n = n.sibling;
4143
4143
  }
4144
4144
  function Lg(t, e, n) {
4145
- if (_t && typeof _t.onCommitFiberUnmount == "function") try {
4146
- _t.onCommitFiberUnmount(ll, n);
4145
+ if (At && typeof At.onCommitFiberUnmount == "function") try {
4146
+ At.onCommitFiberUnmount(ll, n);
4147
4147
  } catch {
4148
4148
  }
4149
4149
  switch (n.tag) {
4150
4150
  case 5:
4151
4151
  Le || rr(n, e);
4152
4152
  case 6:
4153
- var r = Ne, i = dt;
4154
- Ne = null, Yt(t, e, n), Ne = r, dt = i, Ne !== null && (dt ? (t = Ne, n = n.stateNode, t.nodeType === 8 ? t.parentNode.removeChild(n) : t.removeChild(n)) : Ne.removeChild(n.stateNode));
4153
+ var r = Te, i = dt;
4154
+ Te = null, Yt(t, e, n), Te = r, dt = i, Te !== null && (dt ? (t = Te, n = n.stateNode, t.nodeType === 8 ? t.parentNode.removeChild(n) : t.removeChild(n)) : Te.removeChild(n.stateNode));
4155
4155
  break;
4156
4156
  case 18:
4157
- Ne !== null && (dt ? (t = Ne, n = n.stateNode, t.nodeType === 8 ? ra(t.parentNode, n) : t.nodeType === 1 && ra(t, n), Si(t)) : ra(Ne, n.stateNode));
4157
+ Te !== null && (dt ? (t = Te, n = n.stateNode, t.nodeType === 8 ? ra(t.parentNode, n) : t.nodeType === 1 && ra(t, n), Si(t)) : ra(Te, n.stateNode));
4158
4158
  break;
4159
4159
  case 4:
4160
- r = Ne, i = dt, Ne = n.stateNode.containerInfo, dt = !0, Yt(t, e, n), Ne = r, dt = i;
4160
+ r = Te, i = dt, Te = n.stateNode.containerInfo, dt = !0, Yt(t, e, n), Te = r, dt = i;
4161
4161
  break;
4162
4162
  case 0:
4163
4163
  case 11:
@@ -4210,19 +4210,19 @@ function ut(t, e) {
4210
4210
  e: for (; l !== null; ) {
4211
4211
  switch (l.tag) {
4212
4212
  case 5:
4213
- Ne = l.stateNode, dt = !1;
4213
+ Te = l.stateNode, dt = !1;
4214
4214
  break e;
4215
4215
  case 3:
4216
- Ne = l.stateNode.containerInfo, dt = !0;
4216
+ Te = l.stateNode.containerInfo, dt = !0;
4217
4217
  break e;
4218
4218
  case 4:
4219
- Ne = l.stateNode.containerInfo, dt = !0;
4219
+ Te = l.stateNode.containerInfo, dt = !0;
4220
4220
  break e;
4221
4221
  }
4222
4222
  l = l.return;
4223
4223
  }
4224
- if (Ne === null) throw Error(R(160));
4225
- Lg(s, o, i), Ne = null, dt = !1;
4224
+ if (Te === null) throw Error(R(160));
4225
+ Lg(s, o, i), Te = null, dt = !1;
4226
4226
  var a = i.alternate;
4227
4227
  a !== null && (a.return = null), i.return = null;
4228
4228
  } catch (u) {
@@ -4619,7 +4619,7 @@ function Jd(t) {
4619
4619
  I = e.return;
4620
4620
  }
4621
4621
  }
4622
- var O1 = Math.ceil, jo = Vt.ReactCurrentDispatcher, ef = Vt.ReactCurrentOwner, ot = Vt.ReactCurrentBatchConfig, H = 0, Me = null, xe = null, Ie = 0, Xe = 0, ir = mn(0), Re = 0, Ti = null, In = 0, gl = 0, tf = 0, ui = null, We = null, nf = 0, Cr = 1 / 0, It = null, $o = !1, Su = null, un = null, ws = !1, tn = null, zo = 0, ci = 0, Cu = null, uo = -1, co = 0;
4622
+ var O1 = Math.ceil, jo = Vt.ReactCurrentDispatcher, ef = Vt.ReactCurrentOwner, ot = Vt.ReactCurrentBatchConfig, H = 0, Ne = null, xe = null, Ie = 0, Xe = 0, ir = mn(0), Ae = 0, Ti = null, In = 0, gl = 0, tf = 0, ui = null, We = null, nf = 0, Cr = 1 / 0, It = null, $o = !1, Su = null, un = null, ws = !1, tn = null, zo = 0, ci = 0, Cu = null, uo = -1, co = 0;
4623
4623
  function ze() {
4624
4624
  return H & 6 ? Se() : uo !== -1 ? uo : uo = Se();
4625
4625
  }
@@ -4628,12 +4628,12 @@ function cn(t) {
4628
4628
  }
4629
4629
  function mt(t, e, n, r) {
4630
4630
  if (50 < ci) throw ci = 0, Cu = null, Error(R(185));
4631
- Yi(t, n, r), (!(H & 2) || t !== Me) && (t === Me && (!(H & 2) && (gl |= n), Re === 4 && qt(t, Ie)), Ye(t, r), n === 1 && H === 0 && !(e.mode & 1) && (Cr = Se() + 500, dl && gn()));
4631
+ Yi(t, n, r), (!(H & 2) || t !== Ne) && (t === Ne && (!(H & 2) && (gl |= n), Ae === 4 && qt(t, Ie)), Ye(t, r), n === 1 && H === 0 && !(e.mode & 1) && (Cr = Se() + 500, dl && gn()));
4632
4632
  }
4633
4633
  function Ye(t, e) {
4634
4634
  var n = t.callbackNode;
4635
4635
  y0(t, e);
4636
- var r = Eo(t, t === Me ? Ie : 0);
4636
+ var r = Eo(t, t === Ne ? Ie : 0);
4637
4637
  if (r === 0) n !== null && ld(n), t.callbackNode = null, t.callbackPriority = 0;
4638
4638
  else if (e = r & -r, t.callbackPriority !== e) {
4639
4639
  if (n != null && ld(n), e === 1) t.tag === 0 ? g1(qd.bind(null, t)) : Xm(qd.bind(null, t)), d1(function() {
@@ -4642,7 +4642,7 @@ function Ye(t, e) {
4642
4642
  else {
4643
4643
  switch (Em(r)) {
4644
4644
  case 1:
4645
- n = Ac;
4645
+ n = _c;
4646
4646
  break;
4647
4647
  case 4:
4648
4648
  n = Sm;
@@ -4665,7 +4665,7 @@ function $g(t, e) {
4665
4665
  if (uo = -1, co = 0, H & 6) throw Error(R(327));
4666
4666
  var n = t.callbackNode;
4667
4667
  if (dr() && t.callbackNode !== n) return null;
4668
- var r = Eo(t, t === Me ? Ie : 0);
4668
+ var r = Eo(t, t === Ne ? Ie : 0);
4669
4669
  if (r === 0) return null;
4670
4670
  if (r & 30 || r & t.expiredLanes || e) e = Uo(t, r);
4671
4671
  else {
@@ -4673,7 +4673,7 @@ function $g(t, e) {
4673
4673
  var i = H;
4674
4674
  H |= 2;
4675
4675
  var s = Ug();
4676
- (Me !== t || Ie !== e) && (It = null, Cr = Se() + 500, bn(t, e));
4676
+ (Ne !== t || Ie !== e) && (It = null, Cr = Se() + 500, bn(t, e));
4677
4677
  do
4678
4678
  try {
4679
4679
  F1();
@@ -4682,7 +4682,7 @@ function $g(t, e) {
4682
4682
  zg(t, l);
4683
4683
  }
4684
4684
  while (!0);
4685
- Uc(), jo.current = s, H = i, xe !== null ? e = 0 : (Me = null, Ie = 0, e = Re);
4685
+ Uc(), jo.current = s, H = i, xe !== null ? e = 0 : (Ne = null, Ie = 0, e = Ae);
4686
4686
  }
4687
4687
  if (e !== 0) {
4688
4688
  if (e === 2 && (i = Xa(t), i !== 0 && (r = i, e = xu(t, i))), e === 1) throw n = Ti, bn(t, 0), qt(t, r), Ye(t, Se()), n;
@@ -4813,7 +4813,7 @@ function bn(t, e) {
4813
4813
  var r = n;
4814
4814
  switch (jc(r), r.tag) {
4815
4815
  case 1:
4816
- r = r.type.childContextTypes, r != null && Ao();
4816
+ r = r.type.childContextTypes, r != null && _o();
4817
4817
  break;
4818
4818
  case 3:
4819
4819
  wr(), ae(He), ae(Fe), Yc();
@@ -4839,7 +4839,7 @@ function bn(t, e) {
4839
4839
  }
4840
4840
  n = n.return;
4841
4841
  }
4842
- if (Me = t, xe = t = fn(t.current, null), Ie = Xe = e, Re = 0, Ti = null, tf = gl = In = 0, We = ui = null, xn !== null) {
4842
+ if (Ne = t, xe = t = fn(t.current, null), Ie = Xe = e, Ae = 0, Ti = null, tf = gl = In = 0, We = ui = null, xn !== null) {
4843
4843
  for (e = 0; e < xn.length; e++) if (n = xn[e], r = n.interleaved, r !== null) {
4844
4844
  n.interleaved = null;
4845
4845
  var i = r.next, s = n.pending;
@@ -4864,8 +4864,8 @@ function zg(t, e) {
4864
4864
  }
4865
4865
  Lo = !1;
4866
4866
  }
4867
- if (Tn = 0, Ae = be = me = null, li = !1, Ai = 0, ef.current = null, n === null || n.return === null) {
4868
- Re = 1, Ti = e, xe = null;
4867
+ if (Tn = 0, Me = be = me = null, li = !1, _i = 0, ef.current = null, n === null || n.return === null) {
4868
+ Ae = 1, Ti = e, xe = null;
4869
4869
  break;
4870
4870
  }
4871
4871
  e: {
@@ -4899,7 +4899,7 @@ function zg(t, e) {
4899
4899
  break e;
4900
4900
  }
4901
4901
  }
4902
- s = a = Sr(a, l), Re !== 4 && (Re = 2), ui === null ? ui = [s] : ui.push(s), s = o;
4902
+ s = a = Sr(a, l), Ae !== 4 && (Ae = 2), ui === null ? ui = [s] : ui.push(s), s = o;
4903
4903
  do {
4904
4904
  switch (s.tag) {
4905
4905
  case 3:
@@ -4933,13 +4933,13 @@ function Ug() {
4933
4933
  return jo.current = Fo, t === null ? Fo : t;
4934
4934
  }
4935
4935
  function of() {
4936
- (Re === 0 || Re === 3 || Re === 2) && (Re = 4), Me === null || !(In & 268435455) && !(gl & 268435455) || qt(Me, Ie);
4936
+ (Ae === 0 || Ae === 3 || Ae === 2) && (Ae = 4), Ne === null || !(In & 268435455) && !(gl & 268435455) || qt(Ne, Ie);
4937
4937
  }
4938
4938
  function Uo(t, e) {
4939
4939
  var n = H;
4940
4940
  H |= 2;
4941
4941
  var r = Ug();
4942
- (Me !== t || Ie !== e) && (It = null, bn(t, e));
4942
+ (Ne !== t || Ie !== e) && (It = null, bn(t, e));
4943
4943
  do
4944
4944
  try {
4945
4945
  L1();
@@ -4949,7 +4949,7 @@ function Uo(t, e) {
4949
4949
  }
4950
4950
  while (!0);
4951
4951
  if (Uc(), H = n, jo.current = r, xe !== null) throw Error(R(261));
4952
- return Me = null, Ie = 0, Re;
4952
+ return Ne = null, Ie = 0, Ae;
4953
4953
  }
4954
4954
  function L1() {
4955
4955
  for (; xe !== null; ) Bg(xe);
@@ -4972,7 +4972,7 @@ function Wg(t) {
4972
4972
  }
4973
4973
  if (t !== null) t.flags |= 32768, t.subtreeFlags = 0, t.deletions = null;
4974
4974
  else {
4975
- Re = 6, xe = null;
4975
+ Ae = 6, xe = null;
4976
4976
  return;
4977
4977
  }
4978
4978
  } else if (n = M1(n, e, Xe), n !== null) {
@@ -4985,7 +4985,7 @@ function Wg(t) {
4985
4985
  }
4986
4986
  xe = e = t;
4987
4987
  } while (e !== null);
4988
- Re === 0 && (Re = 5);
4988
+ Ae === 0 && (Ae = 5);
4989
4989
  }
4990
4990
  function Sn(t, e, n) {
4991
4991
  var r = q, i = ot.transition;
@@ -5007,7 +5007,7 @@ function j1(t, e, n, r) {
5007
5007
  if (t.finishedWork = null, t.finishedLanes = 0, n === t.current) throw Error(R(177));
5008
5008
  t.callbackNode = null, t.callbackPriority = 0;
5009
5009
  var s = n.lanes | n.childLanes;
5010
- if (v0(t, s), t === Me && (xe = Me = null, Ie = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || ws || (ws = !0, Gg(xo, function() {
5010
+ if (v0(t, s), t === Ne && (xe = Ne = null, Ie = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || ws || (ws = !0, Gg(xo, function() {
5011
5011
  return dr(), null;
5012
5012
  })), s = (n.flags & 15990) !== 0, n.subtreeFlags & 15990 || s) {
5013
5013
  s = ot.transition, ot.transition = null;
@@ -5118,8 +5118,8 @@ function dr() {
5118
5118
  I = l.return;
5119
5119
  }
5120
5120
  }
5121
- if (H = i, gn(), _t && typeof _t.onPostCommitFiberRoot == "function") try {
5122
- _t.onPostCommitFiberRoot(ll, t);
5121
+ if (H = i, gn(), At && typeof At.onPostCommitFiberRoot == "function") try {
5122
+ At.onPostCommitFiberRoot(ll, t);
5123
5123
  } catch {
5124
5124
  }
5125
5125
  r = !0;
@@ -5152,7 +5152,7 @@ function ye(t, e, n) {
5152
5152
  }
5153
5153
  function $1(t, e, n) {
5154
5154
  var r = t.pingCache;
5155
- r !== null && r.delete(e), e = ze(), t.pingedLanes |= t.suspendedLanes & n, Me === t && (Ie & n) === n && (Re === 4 || Re === 3 && (Ie & 130023424) === Ie && 500 > Se() - nf ? bn(t, 0) : tf |= n), Ye(t, e);
5155
+ r !== null && r.delete(e), e = ze(), t.pingedLanes |= t.suspendedLanes & n, Ne === t && (Ie & n) === n && (Ae === 4 || Ae === 3 && (Ie & 130023424) === Ie && 500 > Se() - nf ? bn(t, 0) : tf |= n), Ye(t, e);
5156
5156
  }
5157
5157
  function Vg(t, e) {
5158
5158
  e === 0 && (t.mode & 1 ? (e = us, us <<= 1, !(us & 130023424) && (us = 4194304)) : e = 1);
@@ -5182,7 +5182,7 @@ var Hg;
5182
5182
  Hg = function(t, e, n) {
5183
5183
  if (t !== null) if (t.memoizedProps !== e.pendingProps || He.current) Ve = !0;
5184
5184
  else {
5185
- if (!(t.lanes & n) && !(e.flags & 128)) return Ve = !1, A1(t, e, n);
5185
+ if (!(t.lanes & n) && !(e.flags & 128)) return Ve = !1, _1(t, e, n);
5186
5186
  Ve = !!(t.flags & 131072);
5187
5187
  }
5188
5188
  else Ve = !1, ce && e.flags & 1048576 && Zm(e, To, e.index);
@@ -5224,7 +5224,7 @@ Hg = function(t, e, n) {
5224
5224
  return r = e.type, i = e.pendingProps, i = e.elementType === r ? i : ft(r, i), Vd(t, e, r, i, n);
5225
5225
  case 3:
5226
5226
  e: {
5227
- if (Ag(e), t === null) throw Error(R(387));
5227
+ if (_g(e), t === null) throw Error(R(387));
5228
5228
  r = e.pendingProps, s = e.memoizedState, i = s.element, tg(t, e), Oo(e, r, null, n);
5229
5229
  var o = e.memoizedState;
5230
5230
  if (r = o.element, s.isDehydrated) if (s = { element: r, isDehydrated: !1, cache: o.cache, pendingSuspenseBoundaries: o.pendingSuspenseBoundaries, transitions: o.transitions }, e.updateQueue.baseState = s, e.memoizedState = s, e.flags & 256) {
@@ -5245,7 +5245,7 @@ Hg = function(t, e, n) {
5245
5245
  }
5246
5246
  return e;
5247
5247
  case 5:
5248
- return ng(e), t === null && ou(e), r = e.type, i = e.pendingProps, s = t !== null ? t.memoizedProps : null, o = i.children, tu(r, i) ? o = null : s !== null && tu(r, s) && (e.flags |= 32), _g(t, e), $e(t, e, o, n), e.child;
5248
+ return ng(e), t === null && ou(e), r = e.type, i = e.pendingProps, s = t !== null ? t.memoizedProps : null, o = i.children, tu(r, i) ? o = null : s !== null && tu(r, s) && (e.flags |= 32), Ag(t, e), $e(t, e, o, n), e.child;
5249
5249
  case 6:
5250
5250
  return t === null && ou(e), null;
5251
5251
  case 13:
@@ -5498,7 +5498,7 @@ wl.prototype.unstable_scheduleHydration = function(t) {
5498
5498
  var e = Rm();
5499
5499
  t = { blockedOn: null, target: t, priority: e };
5500
5500
  for (var n = 0; n < Jt.length && e !== 0 && e < Jt[n].priority; n++) ;
5501
- Jt.splice(n, 0, t), n === 0 && Am(t);
5501
+ Jt.splice(n, 0, t), n === 0 && _m(t);
5502
5502
  }
5503
5503
  };
5504
5504
  function ff(t) {
@@ -5591,7 +5591,7 @@ bm = function(t) {
5591
5591
  Rm = function() {
5592
5592
  return q;
5593
5593
  };
5594
- _m = function(t, e) {
5594
+ Am = function(t, e) {
5595
5595
  var n = q;
5596
5596
  try {
5597
5597
  return q = t, e();
@@ -5629,7 +5629,7 @@ var X1 = { usingClientEntryPoint: !1, Events: [Zi, Jn, fl, fm, dm, rf] }, Vr = {
5629
5629
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
5630
5630
  var Ss = __REACT_DEVTOOLS_GLOBAL_HOOK__;
5631
5631
  if (!Ss.isDisabled && Ss.supportsFiber) try {
5632
- ll = Ss.inject(Z1), _t = Ss;
5632
+ ll = Ss.inject(Z1), At = Ss;
5633
5633
  } catch {
5634
5634
  }
5635
5635
  }
@@ -6365,7 +6365,7 @@ function Ii(t, e, n = {}) {
6365
6365
  !i && qg.has(s.toLowerCase()) ? (r[s] = "[REDACTED:field_name]", e.counts.field_name = (e.counts.field_name ?? 0) + 1, e.totalMatches += 1) : r[s] = Ii(o, e, n);
6366
6366
  return r;
6367
6367
  }
6368
- function _S(t) {
6368
+ function AS(t) {
6369
6369
  let e = t?.nodeType === Node.ELEMENT_NODE ? t : t?.parentElement ?? null, n = 0;
6370
6370
  for (; e && n < 6; ) {
6371
6371
  const r = [
@@ -6388,13 +6388,13 @@ function _S(t) {
6388
6388
  }
6389
6389
  return !1;
6390
6390
  }
6391
- function AS(t = {}) {
6391
+ function _S(t = {}) {
6392
6392
  const e = t.disabledCategories?.has("field_name") ?? !1;
6393
6393
  return (n, r) => {
6394
6394
  if (MS(r)) return n;
6395
6395
  if (t.strict)
6396
6396
  return n.replace(/\S/g, "•");
6397
- if (!e && r && _S(r))
6397
+ if (!e && r && AS(r))
6398
6398
  return n.replace(/\S/g, "•");
6399
6399
  const i = ey();
6400
6400
  return ty(n, i, { disabledCategories: t.disabledCategories });
@@ -6457,7 +6457,7 @@ class ah {
6457
6457
  this.events.push(s), this.pendingEvents.push(s);
6458
6458
  },
6459
6459
  maskAllInputs: !0,
6460
- maskTextFn: AS({
6460
+ maskTextFn: _S({
6461
6461
  strict: this.opts.strictMode,
6462
6462
  disabledCategories: this.opts.disabledCategories
6463
6463
  }),
@@ -6507,7 +6507,7 @@ class ah {
6507
6507
  }))), this.micStream && (this.micStream.getTracks().forEach((i) => i.stop()), this.micStream = null);
6508
6508
  const n = performance.now() - this.segmentStartedAt;
6509
6509
  await this.flushPending();
6510
- const r = this.opts.persistedActiveMs + n;
6510
+ const r = Math.round(this.opts.persistedActiveMs + n);
6511
6511
  this.opts.onStop({ events: this.events, audioBlob: e, durationMs: r });
6512
6512
  }
6513
6513
  toggleMic(e) {
@@ -7120,8 +7120,8 @@ function Pi(t, e) {
7120
7120
  if (!h) {
7121
7121
  f && f instanceof RegExp && f.test(o) && (o += (/\?/.test(o) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime());
7122
7122
  const p = r.startsWith("font") && g && g.minify, y = /* @__PURE__ */ new Set();
7123
- p && r.split(";")[1].split(",").forEach((_) => {
7124
- v.has(_) && v.get(_).forEach((b) => y.add(b));
7123
+ p && r.split(";")[1].split(",").forEach((A) => {
7124
+ v.has(A) && v.get(A).forEach((b) => y.add(b));
7125
7125
  });
7126
7126
  const C = p && y.size, x = {
7127
7127
  url: o,
@@ -7141,8 +7141,8 @@ function Pi(t, e) {
7141
7141
  if (E)
7142
7142
  return E;
7143
7143
  }
7144
- return !Vo && n.startsWith("http") && S.length ? new Promise((E, _) => {
7145
- S[u.size & S.length - 1].postMessage({ rawUrl: n, ...x }), h.resolve = E, h.reject = _;
7144
+ return !Vo && n.startsWith("http") && S.length ? new Promise((E, A) => {
7145
+ S[u.size & S.length - 1].postMessage({ rawUrl: n, ...x }), h.resolve = E, h.reject = A;
7146
7146
  }) : kC(x);
7147
7147
  })().catch((E) => {
7148
7148
  if (u.delete(n), r === "image" && m)
@@ -7183,15 +7183,15 @@ function RC(t) {
7183
7183
  const e = t.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1");
7184
7184
  return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`, "g");
7185
7185
  }
7186
- const _C = [
7186
+ const AC = [
7187
7187
  "background-image",
7188
7188
  "border-image-source",
7189
7189
  "-webkit-border-image",
7190
7190
  "-webkit-mask-image",
7191
7191
  "list-style-image"
7192
7192
  ];
7193
- function AC(t, e) {
7194
- return _C.map((n) => {
7193
+ function _C(t, e) {
7194
+ return AC.map((n) => {
7195
7195
  const r = t.getPropertyValue(n);
7196
7196
  return !r || r === "none" ? null : ((Vo || mf) && e.drawImageCount++, hy(r, null, e, !0).then((i) => {
7197
7197
  !i || r === i || t.setProperty(
@@ -7260,7 +7260,7 @@ function NC(t, e) {
7260
7260
  }
7261
7261
  function gy(t, e) {
7262
7262
  const { tasks: n } = e;
7263
- Mt(t) && ((Er(t) || iy(t)) && n.push(...MC(t, e)), jS(t) && n.push(...NC(t, e))), Di(t) && n.push(...AC(t.style, e)), t.childNodes.forEach((r) => {
7263
+ Mt(t) && ((Er(t) || iy(t)) && n.push(...MC(t, e)), jS(t) && n.push(...NC(t, e))), Di(t) && n.push(..._C(t.style, e)), t.childNodes.forEach((r) => {
7264
7264
  gy(r, e);
7265
7265
  });
7266
7266
  }
@@ -7497,7 +7497,7 @@ const HC = {
7497
7497
  showTrigger: !0,
7498
7498
  showOnError: !1,
7499
7499
  triggerLabel: "Report a bug"
7500
- }, YC = "https://console.bugjar.app/api/v1", _u = [
7500
+ }, YC = "https://console.bugjar.app/api/v1", Au = [
7501
7501
  { id: "cursor", label: "Use page", icon: "↖" },
7502
7502
  { id: "pen", label: "Pen", icon: "✎" },
7503
7503
  { id: "arrow", label: "Arrow", icon: "➜" },
@@ -7505,7 +7505,7 @@ const HC = {
7505
7505
  { id: "pin", label: "Comment", icon: "💬" }
7506
7506
  ], yy = ["#ef4444", "#f59e0b", "#3b82f6"];
7507
7507
  function XC(t) {
7508
- const [e, n] = Te.useState("cursor"), [r, i] = Te.useState("#ef4444"), [s, o] = Te.useState(!1), l = KC(), [a, u] = Te.useState(!1), c = (m) => {
7508
+ const [e, n] = Re.useState("cursor"), [r, i] = Re.useState("#ef4444"), [s, o] = Re.useState(!1), l = KC(), [a, u] = Re.useState(!1), c = (m) => {
7509
7509
  n(m), t.onSelectTool(m);
7510
7510
  }, d = (m) => {
7511
7511
  i(m), t.onSelectColor(m);
@@ -7550,7 +7550,7 @@ function XC(t) {
7550
7550
  flexWrap: "wrap"
7551
7551
  },
7552
7552
  children: [
7553
- _u.map((m) => /* @__PURE__ */ w.jsx(
7553
+ Au.map((m) => /* @__PURE__ */ w.jsx(
7554
7554
  QC,
7555
7555
  {
7556
7556
  label: m.label,
@@ -7599,7 +7599,7 @@ function XC(t) {
7599
7599
  ),
7600
7600
  /* @__PURE__ */ w.jsx("style", { children: "@keyframes bugjar-pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }" }),
7601
7601
  /* @__PURE__ */ w.jsxs("span", { style: { fontVariantNumeric: "tabular-nums", minWidth: 58, textAlign: "center" }, children: [
7602
- Au(t.elapsedMs),
7602
+ _u(t.elapsedMs),
7603
7603
  " / ",
7604
7604
  t.maxDurationSec,
7605
7605
  "s"
@@ -7643,7 +7643,7 @@ function XC(t) {
7643
7643
  );
7644
7644
  }
7645
7645
  function ZC(t) {
7646
- const e = _u.find((n) => n.id === t.tool);
7646
+ const e = Au.find((n) => n.id === t.tool);
7647
7647
  return /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
7648
7648
  /* @__PURE__ */ w.jsx("style", { children: `
7649
7649
  @keyframes bugjar-pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }
@@ -7711,7 +7711,7 @@ function ZC(t) {
7711
7711
  }
7712
7712
  ),
7713
7713
  /* @__PURE__ */ w.jsxs("span", { style: { fontVariantNumeric: "tabular-nums", fontWeight: 600 }, children: [
7714
- Au(t.elapsedMs),
7714
+ _u(t.elapsedMs),
7715
7715
  " / ",
7716
7716
  t.maxDurationSec,
7717
7717
  "s"
@@ -7785,7 +7785,7 @@ function ZC(t) {
7785
7785
  overflowX: "auto",
7786
7786
  WebkitOverflowScrolling: "touch"
7787
7787
  },
7788
- children: _u.map((n) => /* @__PURE__ */ w.jsxs(
7788
+ children: Au.map((n) => /* @__PURE__ */ w.jsxs(
7789
7789
  "button",
7790
7790
  {
7791
7791
  onClick: () => t.onSelectTool(n.id),
@@ -7859,7 +7859,7 @@ function ZC(t) {
7859
7859
  }
7860
7860
  ),
7861
7861
  /* @__PURE__ */ w.jsxs("span", { style: { fontVariantNumeric: "tabular-nums", fontWeight: 600 }, children: [
7862
- Au(t.elapsedMs),
7862
+ _u(t.elapsedMs),
7863
7863
  " / ",
7864
7864
  t.maxDurationSec,
7865
7865
  "s"
@@ -7927,8 +7927,8 @@ function ZC(t) {
7927
7927
  ] });
7928
7928
  }
7929
7929
  function KC() {
7930
- const [t, e] = Te.useState(!1);
7931
- return Te.useEffect(() => {
7930
+ const [t, e] = Re.useState(!1);
7931
+ return Re.useEffect(() => {
7932
7932
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
7933
7933
  const n = window.matchMedia("(max-width: 640px)"), r = () => e(n.matches);
7934
7934
  return r(), typeof n.addEventListener == "function" ? (n.addEventListener("change", r), () => n.removeEventListener("change", r)) : (n.addListener(r), () => n.removeListener(r));
@@ -8019,7 +8019,7 @@ const ks = {
8019
8019
  alignItems: "center",
8020
8020
  justifyContent: "center"
8021
8021
  };
8022
- function Au(t) {
8022
+ function _u(t) {
8023
8023
  const e = Math.floor(t / 1e3), n = Math.floor(e / 60), r = e % 60;
8024
8024
  return `${n}:${String(r).padStart(2, "0")}`;
8025
8025
  }
@@ -8110,21 +8110,21 @@ let Fi;
8110
8110
  function di(t) {
8111
8111
  Fi = t;
8112
8112
  }
8113
- function _l() {
8113
+ function Al() {
8114
8114
  if (!Fi) throw new Error("Function called outside component initialization");
8115
8115
  return Fi;
8116
8116
  }
8117
8117
  function Sy(t) {
8118
- _l().$$.on_mount.push(t);
8118
+ Al().$$.on_mount.push(t);
8119
8119
  }
8120
8120
  function sx(t) {
8121
- _l().$$.after_update.push(t);
8121
+ Al().$$.after_update.push(t);
8122
8122
  }
8123
8123
  function Cy(t) {
8124
- _l().$$.on_destroy.push(t);
8124
+ Al().$$.on_destroy.push(t);
8125
8125
  }
8126
8126
  function ox() {
8127
- const t = _l();
8127
+ const t = Al();
8128
8128
  return (e, n, { cancelable: r = !1 } = {}) => {
8129
8129
  const i = t.$$.callbacks[e];
8130
8130
  if (i) {
@@ -8141,7 +8141,7 @@ function ox() {
8141
8141
  return !0;
8142
8142
  };
8143
8143
  }
8144
- const Wn = [], _n = [];
8144
+ const Wn = [], An = [];
8145
8145
  let pr = [];
8146
8146
  const Mu = [], lx = /* @__PURE__ */ Promise.resolve();
8147
8147
  let Nu = !1;
@@ -8169,7 +8169,7 @@ function xy() {
8169
8169
  } catch (e) {
8170
8170
  throw Wn.length = 0, Un = 0, e;
8171
8171
  }
8172
- for (di(null), Wn.length = 0, Un = 0; _n.length; ) _n.pop()();
8172
+ for (di(null), Wn.length = 0, Un = 0; An.length; ) An.pop()();
8173
8173
  for (let e = 0; e < pr.length; e += 1) {
8174
8174
  const n = pr[e];
8175
8175
  ma.has(n) || (ma.add(n), n());
@@ -8362,7 +8362,7 @@ class Ry {
8362
8362
  this.idNodeMap = /* @__PURE__ */ new Map(), this.nodeMetaMap = /* @__PURE__ */ new WeakMap();
8363
8363
  }
8364
8364
  }
8365
- function _y() {
8365
+ function Ay() {
8366
8366
  return new Ry();
8367
8367
  }
8368
8368
  function Sx(t) {
@@ -8408,7 +8408,7 @@ const Ex = /(max|min)-device-(width|height)/, xh = new RegExp(Ex.source, "g"), k
8408
8408
  function Rx(t) {
8409
8409
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
8410
8410
  }
8411
- function _x(t) {
8411
+ function Ax(t) {
8412
8412
  if (t.__esModule) return t;
8413
8413
  var e = t.default;
8414
8414
  if (typeof e == "function") {
@@ -8427,17 +8427,17 @@ function _x(t) {
8427
8427
  });
8428
8428
  }), n;
8429
8429
  }
8430
- var xf = { exports: {} }, ie = String, Ay = function() {
8430
+ var xf = { exports: {} }, ie = String, _y = function() {
8431
8431
  return { isColorSupported: !1, reset: ie, bold: ie, dim: ie, italic: ie, underline: ie, inverse: ie, hidden: ie, strikethrough: ie, black: ie, red: ie, green: ie, yellow: ie, blue: ie, magenta: ie, cyan: ie, white: ie, gray: ie, bgBlack: ie, bgRed: ie, bgGreen: ie, bgYellow: ie, bgBlue: ie, bgMagenta: ie, bgCyan: ie, bgWhite: ie };
8432
8432
  };
8433
- xf.exports = Ay();
8434
- xf.exports.createColors = Ay;
8435
- var Ax = xf.exports;
8433
+ xf.exports = _y();
8434
+ xf.exports.createColors = _y;
8435
+ var _x = xf.exports;
8436
8436
  const Mx = {}, Nx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8437
8437
  __proto__: null,
8438
8438
  default: Mx
8439
- }, Symbol.toStringTag, { value: "Module" })), yt = /* @__PURE__ */ _x(Nx);
8440
- let Eh = Ax, kh = yt, Iu = class My extends Error {
8439
+ }, Symbol.toStringTag, { value: "Module" })), yt = /* @__PURE__ */ Ax(Nx);
8440
+ let Eh = _x, kh = yt, Iu = class My extends Error {
8441
8441
  constructor(e, n, r, i, s, o) {
8442
8442
  super(e), this.name = "CssSyntaxError", this.reason = e, s && (this.file = s), i && (this.source = i), o && (this.plugin = o), typeof n < "u" && typeof r < "u" && (typeof n == "number" ? (this.line = n, this.column = r) : (this.line = n.line, this.column = n.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, My);
8443
8443
  }
@@ -8671,9 +8671,9 @@ let Ix = Ny;
8671
8671
  function Ou(t, e) {
8672
8672
  new Ix(e).stringify(t);
8673
8673
  }
8674
- var Al = Ou;
8674
+ var _l = Ou;
8675
8675
  Ou.default = Ou;
8676
- let { isClean: Rs, my: Dx } = qi, Ox = Ef, Px = Ny, Lx = Al;
8676
+ let { isClean: Rs, my: Dx } = qi, Ox = Ef, Px = Ny, Lx = _l;
8677
8677
  function Pu(t, e) {
8678
8678
  let n = new t.constructor();
8679
8679
  for (let r in t) {
@@ -8897,7 +8897,7 @@ let jx = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", $x
8897
8897
  return e;
8898
8898
  };
8899
8899
  var zx = { nanoid: $x };
8900
- let { SourceMapConsumer: Rh, SourceMapGenerator: _h } = yt, { existsSync: Ux, readFileSync: Bx } = yt, { dirname: ga, join: Wx } = yt;
8900
+ let { SourceMapConsumer: Rh, SourceMapGenerator: Ah } = yt, { existsSync: Ux, readFileSync: Bx } = yt, { dirname: ga, join: Wx } = yt;
8901
8901
  function Vx(t) {
8902
8902
  return Buffer ? Buffer.from(t, "base64").toString() : window.atob(t);
8903
8903
  }
@@ -8953,8 +8953,8 @@ let ju = class {
8953
8953
  }
8954
8954
  } else {
8955
8955
  if (n instanceof Rh)
8956
- return _h.fromSourceMap(n).toString();
8957
- if (n instanceof _h)
8956
+ return Ah.fromSourceMap(n).toString();
8957
+ if (n instanceof Ah)
8958
8958
  return n.toString();
8959
8959
  if (this.isMap(n))
8960
8960
  return JSON.stringify(n);
@@ -8980,7 +8980,7 @@ let ju = class {
8980
8980
  };
8981
8981
  var Ty = ju;
8982
8982
  ju.default = ju;
8983
- let { SourceMapConsumer: Hx, SourceMapGenerator: Gx } = yt, { fileURLToPath: Ah, pathToFileURL: _s } = yt, { isAbsolute: $u, resolve: zu } = yt, { nanoid: Yx } = zx, ya = yt, Mh = Ef, Xx = Ty, va = Symbol("fromOffsetCache"), Zx = !!(Hx && Gx), Nh = !!(zu && $u), Yo = class {
8983
+ let { SourceMapConsumer: Hx, SourceMapGenerator: Gx } = yt, { fileURLToPath: _h, pathToFileURL: As } = yt, { isAbsolute: $u, resolve: zu } = yt, { nanoid: Yx } = zx, ya = yt, Mh = Ef, Xx = Ty, va = Symbol("fromOffsetCache"), Zx = !!(Hx && Gx), Nh = !!(zu && $u), Yo = class {
8984
8984
  constructor(e, n = {}) {
8985
8985
  if (e === null || typeof e > "u" || typeof e == "object" && !e.toString)
8986
8986
  throw new Error(`PostCSS received ${e} instead of CSS string`);
@@ -9027,7 +9027,7 @@ let { SourceMapConsumer: Hx, SourceMapGenerator: Gx } = yt, { fileURLToPath: Ah,
9027
9027
  this.css,
9028
9028
  this.file,
9029
9029
  i.plugin
9030
- ), s.input = { column: r, endColumn: l, endLine: o, line: n, source: this.css }, this.file && (_s && (s.input.url = _s(this.file).toString()), s.input.file = this.file), s;
9030
+ ), s.input = { column: r, endColumn: l, endLine: o, line: n, source: this.css }, this.file && (As && (s.input.url = As(this.file).toString()), s.input.file = this.file), s;
9031
9031
  }
9032
9032
  fromOffset(e) {
9033
9033
  let n, r;
@@ -9073,9 +9073,9 @@ let { SourceMapConsumer: Hx, SourceMapGenerator: Gx } = yt, { fileURLToPath: Ah,
9073
9073
  let l;
9074
9074
  typeof r == "number" && (l = s.originalPositionFor({ column: i, line: r }));
9075
9075
  let a;
9076
- $u(o.source) ? a = _s(o.source) : a = new URL(
9076
+ $u(o.source) ? a = As(o.source) : a = new URL(
9077
9077
  o.source,
9078
- this.map.consumer().sourceRoot || _s(this.map.mapFile)
9078
+ this.map.consumer().sourceRoot || As(this.map.mapFile)
9079
9079
  );
9080
9080
  let u = {
9081
9081
  column: o.column,
@@ -9085,8 +9085,8 @@ let { SourceMapConsumer: Hx, SourceMapGenerator: Gx } = yt, { fileURLToPath: Ah,
9085
9085
  url: a.toString()
9086
9086
  };
9087
9087
  if (a.protocol === "file:")
9088
- if (Ah)
9089
- u.file = Ah(a);
9088
+ if (_h)
9089
+ u.file = _h(a);
9090
9090
  else
9091
9091
  throw new Error("file: protocol is not available in this PostCSS build");
9092
9092
  let c = s.sourceContentFor(o.source);
@@ -9538,9 +9538,9 @@ let rE = Xy, Wu = class {
9538
9538
  return this.css;
9539
9539
  }
9540
9540
  };
9541
- var _f = Wu;
9541
+ var Af = Wu;
9542
9542
  Wu.default = Wu;
9543
- const wa = 39, Ih = 34, As = 92, Dh = 47, Ms = 10, Hr = 32, Ns = 12, Ts = 9, Is = 13, iE = 91, sE = 93, oE = 40, lE = 41, aE = 123, uE = 125, cE = 59, fE = 42, dE = 58, hE = 64, Ds = /[\t\n\f\r "#'()/;[\\\]{}]/g, Os = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, pE = /.[\r\n"'(/\\]/, Oh = /[\da-f]/i;
9543
+ const wa = 39, Ih = 34, _s = 92, Dh = 47, Ms = 10, Hr = 32, Ns = 12, Ts = 9, Is = 13, iE = 91, sE = 93, oE = 40, lE = 41, aE = 123, uE = 125, cE = 59, fE = 42, dE = 58, hE = 64, Ds = /[\t\n\f\r "#'()/;[\\\]{}]/g, Os = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, pE = /.[\r\n"'(/\\]/, Oh = /[\da-f]/i;
9544
9544
  var mE = function(e, n = {}) {
9545
9545
  let r = e.css.valueOf(), i = n.ignoreErrors, s, o, l, a, u, c, d, f, m, g, S = r.length, v = 0, h = [], p = [];
9546
9546
  function y() {
@@ -9590,7 +9590,7 @@ var mE = function(e, n = {}) {
9590
9590
  break;
9591
9591
  } else
9592
9592
  C("bracket");
9593
- for (d = o; r.charCodeAt(d - 1) === As; )
9593
+ for (d = o; r.charCodeAt(d - 1) === _s; )
9594
9594
  d -= 1, c = !c;
9595
9595
  } while (c);
9596
9596
  g = ["brackets", r.slice(v, o + 1), v, o], v = o;
@@ -9608,7 +9608,7 @@ var mE = function(e, n = {}) {
9608
9608
  break;
9609
9609
  } else
9610
9610
  C("string");
9611
- for (d = o; r.charCodeAt(d - 1) === As; )
9611
+ for (d = o; r.charCodeAt(d - 1) === _s; )
9612
9612
  d -= 1, c = !c;
9613
9613
  } while (c);
9614
9614
  g = ["string", r.slice(v, o + 1), v, o], v = o;
@@ -9618,8 +9618,8 @@ var mE = function(e, n = {}) {
9618
9618
  Ds.lastIndex = v + 1, Ds.test(r), Ds.lastIndex === 0 ? o = r.length - 1 : o = Ds.lastIndex - 2, g = ["at-word", r.slice(v, o + 1), v, o], v = o;
9619
9619
  break;
9620
9620
  }
9621
- case As: {
9622
- for (o = v, u = !0; r.charCodeAt(o + 1) === As; )
9621
+ case _s: {
9622
+ for (o = v, u = !0; r.charCodeAt(o + 1) === _s; )
9623
9623
  o += 1, u = !u;
9624
9624
  if (s = r.charCodeAt(o + 1), u && s !== Dh && s !== Hr && s !== Ms && s !== Ts && s !== Is && s !== Ns && (o += 1, Oh.test(r.charAt(o)))) {
9625
9625
  for (; Oh.test(r.charAt(o + 1)); )
@@ -9636,11 +9636,11 @@ var mE = function(e, n = {}) {
9636
9636
  }
9637
9637
  return v++, g;
9638
9638
  }
9639
- function _(b) {
9639
+ function A(b) {
9640
9640
  p.push(b);
9641
9641
  }
9642
9642
  return {
9643
- back: _,
9643
+ back: A,
9644
9644
  endOfFile: x,
9645
9645
  nextToken: E,
9646
9646
  position: y
@@ -9657,7 +9657,7 @@ let Zy = Fn, Xo = class extends Zy {
9657
9657
  return this.proxyOf.nodes || (this.nodes = []), super.prepend(...e);
9658
9658
  }
9659
9659
  };
9660
- var Af = Xo;
9660
+ var _f = Xo;
9661
9661
  Xo.default = Xo;
9662
9662
  Zy.registerAtRule(Xo);
9663
9663
  let Ky = Fn, Qy, Jy, Rr = class extends Ky {
@@ -9725,7 +9725,7 @@ let ev = Fn, gE = qy, Zo = class extends ev {
9725
9725
  var Mf = Zo;
9726
9726
  Zo.default = Zo;
9727
9727
  ev.registerRule(Zo);
9728
- let yE = Nl, vE = mE, wE = Il, SE = Af, CE = es, Ph = Mf;
9728
+ let yE = Nl, vE = mE, wE = Il, SE = _f, CE = es, Ph = Mf;
9729
9729
  const Lh = {
9730
9730
  empty: !0,
9731
9731
  space: !0
@@ -10033,9 +10033,9 @@ let EE = class {
10033
10033
  }
10034
10034
  };
10035
10035
  var kE = EE;
10036
- let bE = Fn, RE = kE, _E = Tl;
10036
+ let bE = Fn, RE = kE, AE = Tl;
10037
10037
  function Ko(t, e) {
10038
- let n = new _E(t, e), r = new RE(n);
10038
+ let n = new AE(t, e), r = new RE(n);
10039
10039
  try {
10040
10040
  r.parse();
10041
10041
  } catch (i) {
@@ -10046,7 +10046,7 @@ function Ko(t, e) {
10046
10046
  var Nf = Ko;
10047
10047
  Ko.default = Ko;
10048
10048
  bE.registerParse(Ko);
10049
- let { isClean: xt, my: AE } = qi, ME = Ly, NE = Al, TE = Fn, IE = Rf, Fh = _f, DE = Nf, OE = es;
10049
+ let { isClean: xt, my: _E } = qi, ME = Ly, NE = _l, TE = Fn, IE = Rf, Fh = Af, DE = Nf, OE = es;
10050
10050
  const PE = {
10051
10051
  atrule: "AtRule",
10052
10052
  comment: "Comment",
@@ -10075,7 +10075,7 @@ const PE = {
10075
10075
  Once: !0,
10076
10076
  postcssPlugin: !0,
10077
10077
  prepare: !0
10078
- }, _r = 0;
10078
+ }, Ar = 0;
10079
10079
  function Gr(t) {
10080
10080
  return typeof t == "object" && typeof t.then == "function";
10081
10081
  }
@@ -10084,14 +10084,14 @@ function tv(t) {
10084
10084
  return t.type === "decl" ? e = t.prop.toLowerCase() : t.type === "atrule" && (e = t.name.toLowerCase()), e && t.append ? [
10085
10085
  n,
10086
10086
  n + "-" + e,
10087
- _r,
10087
+ Ar,
10088
10088
  n + "Exit",
10089
10089
  n + "Exit-" + e
10090
- ] : e ? [n, n + "-" + e, n + "Exit", n + "Exit-" + e] : t.append ? [n, _r, n + "Exit"] : [n, n + "Exit"];
10090
+ ] : e ? [n, n + "-" + e, n + "Exit", n + "Exit-" + e] : t.append ? [n, Ar, n + "Exit"] : [n, n + "Exit"];
10091
10091
  }
10092
10092
  function jh(t) {
10093
10093
  let e;
10094
- return t.type === "document" ? e = ["Document", _r, "DocumentExit"] : t.type === "root" ? e = ["Root", _r, "RootExit"] : e = tv(t), {
10094
+ return t.type === "document" ? e = ["Document", Ar, "DocumentExit"] : t.type === "root" ? e = ["Root", Ar, "RootExit"] : e = tv(t), {
10095
10095
  eventIndex: 0,
10096
10096
  events: e,
10097
10097
  iterator: 0,
@@ -10103,7 +10103,7 @@ function jh(t) {
10103
10103
  function Vu(t) {
10104
10104
  return t[xt] = !1, t.nodes && t.nodes.forEach((e) => Vu(e)), t;
10105
10105
  }
10106
- let Hu = {}, Ar = class nv {
10106
+ let Hu = {}, _r = class nv {
10107
10107
  constructor(e, n, r) {
10108
10108
  this.stringified = !1, this.processed = !1;
10109
10109
  let i;
@@ -10119,7 +10119,7 @@ let Hu = {}, Ar = class nv {
10119
10119
  } catch (o) {
10120
10120
  this.processed = !0, this.error = o;
10121
10121
  }
10122
- i && !i[AE] && TE.rebuild(i);
10122
+ i && !i[_E] && TE.rebuild(i);
10123
10123
  }
10124
10124
  this.result = new Fh(e, i, r), this.helpers = { ...Hu, postcss: Hu, result: this.result }, this.plugins = this.processor.plugins.map((s) => typeof s == "object" && s.prepare ? { ...s, ...s.prepare(this.result) } : s);
10125
10125
  }
@@ -10310,7 +10310,7 @@ let Hu = {}, Ar = class nv {
10310
10310
  let s = n.events;
10311
10311
  for (; n.eventIndex < s.length; ) {
10312
10312
  let o = s[n.eventIndex];
10313
- if (n.eventIndex += 1, o === _r) {
10313
+ if (n.eventIndex += 1, o === Ar) {
10314
10314
  r.nodes && r.nodes.length && (r[xt] = !0, n.iterator = r.getIterator());
10315
10315
  return;
10316
10316
  } else if (this.listeners[o]) {
@@ -10324,7 +10324,7 @@ let Hu = {}, Ar = class nv {
10324
10324
  e[xt] = !0;
10325
10325
  let n = tv(e);
10326
10326
  for (let r of n)
10327
- if (r === _r)
10327
+ if (r === Ar)
10328
10328
  e.nodes && e.each((i) => {
10329
10329
  i[xt] || this.walkSync(i);
10330
10330
  });
@@ -10362,15 +10362,15 @@ let Hu = {}, Ar = class nv {
10362
10362
  return "LazyResult";
10363
10363
  }
10364
10364
  };
10365
- Ar.registerPostcss = (t) => {
10365
+ _r.registerPostcss = (t) => {
10366
10366
  Hu = t;
10367
10367
  };
10368
- var rv = Ar;
10369
- Ar.default = Ar;
10370
- OE.registerLazyResult(Ar);
10371
- IE.registerLazyResult(Ar);
10372
- let jE = Ly, $E = Al, zE = Nf;
10373
- const UE = _f;
10368
+ var rv = _r;
10369
+ _r.default = _r;
10370
+ OE.registerLazyResult(_r);
10371
+ IE.registerLazyResult(_r);
10372
+ let jE = Ly, $E = _l, zE = Nf;
10373
+ const UE = Af;
10374
10374
  let Gu = class {
10375
10375
  constructor(e, n, r) {
10376
10376
  n = n.toString(), this.stringified = !1, this._processor = e, this._css = n, this._opts = r, this._map = void 0;
@@ -10475,7 +10475,7 @@ var YE = zi;
10475
10475
  zi.default = zi;
10476
10476
  GE.registerProcessor(zi);
10477
10477
  HE.registerProcessor(zi);
10478
- let XE = Nl, ZE = Ty, KE = Il, QE = Af, JE = Tl, qE = es, ek = Mf;
10478
+ let XE = Nl, ZE = Ty, KE = Il, QE = _f, JE = Tl, qE = es, ek = Mf;
10479
10479
  function Ui(t, e) {
10480
10480
  if (Array.isArray(t)) return t.map((i) => Ui(i));
10481
10481
  let { inputs: n, ...r } = t;
@@ -10507,7 +10507,7 @@ function Ui(t, e) {
10507
10507
  }
10508
10508
  var tk = Ui;
10509
10509
  Ui.default = Ui;
10510
- let nk = Ef, iv = Nl, rk = rv, ik = Fn, Tf = YE, sk = Al, ok = tk, sv = Rf, lk = Xy, ov = Il, lv = Af, ak = _f, uk = Tl, ck = Nf, fk = qy, av = Mf, uv = es, dk = Ml;
10510
+ let nk = Ef, iv = Nl, rk = rv, ik = Fn, Tf = YE, sk = _l, ok = tk, sv = Rf, lk = Xy, ov = Il, lv = _f, ak = Af, uk = Tl, ck = Nf, fk = qy, av = Mf, uv = es, dk = Ml;
10511
10511
  function ee(...t) {
10512
10512
  return t.length === 1 && Array.isArray(t[0]) && (t = t[0]), new Tf(t);
10513
10513
  }
@@ -10936,10 +10936,10 @@ let bk = class {
10936
10936
  function Rk() {
10937
10937
  return new bk();
10938
10938
  }
10939
- function _k(t) {
10939
+ function Ak(t) {
10940
10940
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
10941
10941
  }
10942
- function Ak(t) {
10942
+ function _k(t) {
10943
10943
  if (t.__esModule) return t;
10944
10944
  var e = t.default;
10945
10945
  if (typeof e == "function") {
@@ -10967,7 +10967,7 @@ var Mk = If.exports;
10967
10967
  const Nk = {}, Tk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10968
10968
  __proto__: null,
10969
10969
  default: Nk
10970
- }, Symbol.toStringTag, { value: "Module" })), vt = /* @__PURE__ */ Ak(Tk);
10970
+ }, Symbol.toStringTag, { value: "Module" })), vt = /* @__PURE__ */ _k(Tk);
10971
10971
  let Bh = Mk, Wh = vt, Yu = class fv extends Error {
10972
10972
  constructor(e, n, r, i, s, o) {
10973
10973
  super(e), this.name = "CssSyntaxError", this.reason = e, s && (this.file = s), i && (this.source = i), o && (this.plugin = o), typeof n < "u" && typeof r < "u" && (typeof n == "number" ? (this.line = n, this.column = r) : (this.line = n.line, this.column = n.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, fv);
@@ -11812,7 +11812,7 @@ function Rv(t) {
11812
11812
  for (let e of t.proxyOf.nodes)
11813
11813
  Rv(e);
11814
11814
  }
11815
- let Wt = class _v extends nb {
11815
+ let Wt = class Av extends nb {
11816
11816
  append(...e) {
11817
11817
  for (let n of e) {
11818
11818
  let r = this.normalize(n, this.last);
@@ -11901,7 +11901,7 @@ let Wt = class _v extends nb {
11901
11901
  e = [new xv(e)];
11902
11902
  else
11903
11903
  throw new Error("Unknown node type in node creation");
11904
- return e.map((i) => (i[Sv] || _v.rebuild(i), i = i.proxyOf, i.parent && i.parent.removeChild(i), i[wv] && Rv(i), typeof i.raws.before > "u" && n && typeof n.raws.before < "u" && (i.raws.before = n.raws.before.replace(/\S/g, "")), i.parent = this.proxyOf, i));
11904
+ return e.map((i) => (i[Sv] || Av.rebuild(i), i = i.proxyOf, i.parent && i.parent.removeChild(i), i[wv] && Rv(i), typeof i.raws.before > "u" && n && typeof n.raws.before < "u" && (i.raws.before = n.raws.before.replace(/\S/g, "")), i.parent = this.proxyOf, i));
11905
11905
  }
11906
11906
  prepend(...e) {
11907
11907
  e = e.reverse();
@@ -12016,16 +12016,16 @@ Wt.rebuild = (t) => {
12016
12016
  Wt.rebuild(e);
12017
12017
  });
12018
12018
  };
12019
- let rb = jn, Av, Mv, Bi = class extends rb {
12019
+ let rb = jn, _v, Mv, Bi = class extends rb {
12020
12020
  constructor(e) {
12021
12021
  super({ type: "document", ...e }), this.nodes || (this.nodes = []);
12022
12022
  }
12023
12023
  toResult(e = {}) {
12024
- return new Av(new Mv(), this, e).stringify();
12024
+ return new _v(new Mv(), this, e).stringify();
12025
12025
  }
12026
12026
  };
12027
12027
  Bi.registerLazyResult = (t) => {
12028
- Av = t;
12028
+ _v = t;
12029
12029
  };
12030
12030
  Bi.registerProcessor = (t) => {
12031
12031
  Mv = t;
@@ -12167,11 +12167,11 @@ var gb = function(e, n = {}) {
12167
12167
  }
12168
12168
  return v++, g;
12169
12169
  }
12170
- function _(b) {
12170
+ function A(b) {
12171
12171
  p.push(b);
12172
12172
  }
12173
12173
  return {
12174
- back: _,
12174
+ back: A,
12175
12175
  endOfFile: x,
12176
12176
  nextToken: E,
12177
12177
  position: y
@@ -12564,9 +12564,9 @@ let kb = class {
12564
12564
  }
12565
12565
  };
12566
12566
  var bb = kb;
12567
- let Rb = jn, _b = bb, Ab = Fl;
12567
+ let Rb = jn, Ab = bb, _b = Fl;
12568
12568
  function el(t, e) {
12569
- let n = new Ab(t, e), r = new _b(n);
12569
+ let n = new _b(t, e), r = new Ab(n);
12570
12570
  try {
12571
12571
  r.parse();
12572
12572
  } catch (i) {
@@ -13090,7 +13090,7 @@ te.Node = hR;
13090
13090
  iR.registerPostcss(te);
13091
13091
  var pR = te;
13092
13092
  te.default = te;
13093
- const fe = /* @__PURE__ */ _k(pR);
13093
+ const fe = /* @__PURE__ */ Ak(pR);
13094
13094
  fe.stringify;
13095
13095
  fe.fromJSON;
13096
13096
  fe.plugin;
@@ -13832,7 +13832,7 @@ class Lr extends Bf {
13832
13832
  return new Lr();
13833
13833
  }
13834
13834
  createDocumentType(e, n, r) {
13835
- const i = new _R(
13835
+ const i = new AR(
13836
13836
  e,
13837
13837
  n,
13838
13838
  r
@@ -13845,7 +13845,7 @@ class Lr extends Bf {
13845
13845
  switch (n) {
13846
13846
  case "AUDIO":
13847
13847
  case "VIDEO":
13848
- r = new AR(n);
13848
+ r = new _R(n);
13849
13849
  break;
13850
13850
  case "IFRAME":
13851
13851
  r = new IR(n, this.mirror);
@@ -13884,13 +13884,13 @@ class Lr extends Bf {
13884
13884
  super.open(), this._unserializedId = this.UNSERIALIZED_STARTING_ID;
13885
13885
  }
13886
13886
  }
13887
- const _R = Gv;
13887
+ const AR = Gv;
13888
13888
  class zl extends $l {
13889
13889
  constructor() {
13890
13890
  super(...arguments), D(this, "inputData", null), D(this, "scrollData", null);
13891
13891
  }
13892
13892
  }
13893
- class AR extends SR {
13893
+ class _R extends SR {
13894
13894
  }
13895
13895
  class MR extends CR {
13896
13896
  }
@@ -14180,7 +14180,7 @@ function JR(t, e) {
14180
14180
  function qR() {
14181
14181
  return Hf("MutationObserver").constructor;
14182
14182
  }
14183
- function e_(t, e, n) {
14183
+ function eA(t, e, n) {
14184
14184
  try {
14185
14185
  if (!(e in t))
14186
14186
  return () => {
@@ -14199,7 +14199,7 @@ function e_(t, e, n) {
14199
14199
  };
14200
14200
  }
14201
14201
  }
14202
- const t_ = {
14202
+ const tA = {
14203
14203
  ownerDocument: UR,
14204
14204
  childNodes: BR,
14205
14205
  parentNode: WR,
@@ -14213,7 +14213,7 @@ const t_ = {
14213
14213
  querySelector: QR,
14214
14214
  querySelectorAll: JR,
14215
14215
  mutationObserver: qR,
14216
- patch: e_
14216
+ patch: eA
14217
14217
  }, Hn = `Please stop import mirror directly. Instead of that,\r
14218
14218
  now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
14219
14219
  or you can use record.mirror to access the mirror instance during recording.`;
@@ -14241,10 +14241,10 @@ typeof window < "u" && window.Proxy && window.Reflect && (lp = new Proxy(lp, {
14241
14241
  }
14242
14242
  }));
14243
14243
  Date.now().toString();
14244
- function n_(t = window) {
14244
+ function nA(t = window) {
14245
14245
  "NodeList" in t && !t.NodeList.prototype.forEach && (t.NodeList.prototype.forEach = Array.prototype.forEach), "DOMTokenList" in t && !t.DOMTokenList.prototype.forEach && (t.DOMTokenList.prototype.forEach = Array.prototype.forEach);
14246
14246
  }
14247
- function r_(t) {
14247
+ function rA(t) {
14248
14248
  const e = {}, n = (i, s) => {
14249
14249
  const o = {
14250
14250
  value: i,
@@ -14306,7 +14306,7 @@ function rw(t, e) {
14306
14306
  };
14307
14307
  }
14308
14308
  function Hs(t) {
14309
- return t ? t instanceof wt && "shadowRoot" in t ? !!t.shadowRoot : !!t_.shadowRoot(t) : !1;
14309
+ return t ? t instanceof wt && "shadowRoot" in t ? !!t.shadowRoot : !!tA.shadowRoot(t) : !1;
14310
14310
  }
14311
14311
  function ei(t, e) {
14312
14312
  const n = t[e[0]];
@@ -14319,7 +14319,7 @@ function ap(t) {
14319
14319
  const e = [...t], n = e.pop();
14320
14320
  return { positions: e, index: n };
14321
14321
  }
14322
- function i_(t) {
14322
+ function iA(t) {
14323
14323
  const e = /* @__PURE__ */ new Set(), n = [];
14324
14324
  for (let r = t.length; r--; ) {
14325
14325
  const i = t[r];
@@ -14327,7 +14327,7 @@ function i_(t) {
14327
14327
  }
14328
14328
  return n;
14329
14329
  }
14330
- class s_ {
14330
+ class sA {
14331
14331
  constructor() {
14332
14332
  j(this, "id", 1), j(this, "styleIDMap", /* @__PURE__ */ new WeakMap()), j(this, "idStyleMap", /* @__PURE__ */ new Map());
14333
14333
  }
@@ -14358,7 +14358,7 @@ class s_ {
14358
14358
  var he = /* @__PURE__ */ ((t) => (t[t.DomContentLoaded = 0] = "DomContentLoaded", t[t.Load = 1] = "Load", t[t.FullSnapshot = 2] = "FullSnapshot", t[t.IncrementalSnapshot = 3] = "IncrementalSnapshot", t[t.Meta = 4] = "Meta", t[t.Custom = 5] = "Custom", t[t.Plugin = 6] = "Plugin", t))(he || {}), Q = /* @__PURE__ */ ((t) => (t[t.Mutation = 0] = "Mutation", t[t.MouseMove = 1] = "MouseMove", t[t.MouseInteraction = 2] = "MouseInteraction", t[t.Scroll = 3] = "Scroll", t[t.ViewportResize = 4] = "ViewportResize", t[t.Input = 5] = "Input", t[t.TouchMove = 6] = "TouchMove", t[t.MediaInteraction = 7] = "MediaInteraction", t[t.StyleSheetRule = 8] = "StyleSheetRule", t[t.CanvasMutation = 9] = "CanvasMutation", t[t.Font = 10] = "Font", t[t.Log = 11] = "Log", t[t.Drag = 12] = "Drag", t[t.StyleDeclaration = 13] = "StyleDeclaration", t[t.Selection = 14] = "Selection", t[t.AdoptedStyleSheet = 15] = "AdoptedStyleSheet", t[t.CustomElement = 16] = "CustomElement", t))(Q || {}), Ee = /* @__PURE__ */ ((t) => (t[t.MouseUp = 0] = "MouseUp", t[t.MouseDown = 1] = "MouseDown", t[t.Click = 2] = "Click", t[t.ContextMenu = 3] = "ContextMenu", t[t.DblClick = 4] = "DblClick", t[t.Focus = 5] = "Focus", t[t.Blur = 6] = "Blur", t[t.TouchStart = 7] = "TouchStart", t[t.TouchMove_Departed = 8] = "TouchMove_Departed", t[t.TouchEnd = 9] = "TouchEnd", t[t.TouchCancel = 10] = "TouchCancel", t))(Ee || {}), rl = /* @__PURE__ */ ((t) => (t[t["2D"] = 0] = "2D", t[t.WebGL = 1] = "WebGL", t[t.WebGL2 = 2] = "WebGL2", t))(rl || {}), cc = /* @__PURE__ */ ((t) => (t[t.Play = 0] = "Play", t[t.Pause = 1] = "Pause", t[t.Seeked = 2] = "Seeked", t[t.VolumeChange = 3] = "VolumeChange", t[t.RateChange = 4] = "RateChange", t))(cc || {}), Y = /* @__PURE__ */ ((t) => (t.Start = "start", t.Pause = "pause", t.Resume = "resume", t.Resize = "resize", t.Finish = "finish", t.FullsnapshotRebuilded = "fullsnapshot-rebuilded", t.LoadStylesheetStart = "load-stylesheet-start", t.LoadStylesheetEnd = "load-stylesheet-end", t.SkipStart = "skip-start", t.SkipEnd = "skip-end", t.MouseInteraction = "mouse-interaction", t.EventCast = "event-cast", t.CustomEvent = "custom-event", t.Flush = "flush", t.StateChange = "state-change", t.PlayBack = "play-back", t.Destroy = "destroy", t))(Y || {}), Zt = /* @__PURE__ */ ((t) => (t[t.Document = 0] = "Document", t[t.DocumentType = 1] = "DocumentType", t[t.Element = 2] = "Element", t[t.Text = 3] = "Text", t[t.CDATA = 4] = "CDATA", t[t.Comment = 5] = "Comment", t))(Zt || {}), up = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ti = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
14359
14359
  for (var Gs = 0; Gs < up.length; Gs++)
14360
14360
  ti[up.charCodeAt(Gs)] = Gs;
14361
- var o_ = function(t) {
14361
+ var oA = function(t) {
14362
14362
  var e = t.length * 0.75, n = t.length, r, i = 0, s, o, l, a;
14363
14363
  t[t.length - 1] === "=" && (e--, t[t.length - 2] === "=" && e--);
14364
14364
  var u = new ArrayBuffer(e), c = new Uint8Array(u);
@@ -14366,8 +14366,8 @@ var o_ = function(t) {
14366
14366
  s = ti[t.charCodeAt(r)], o = ti[t.charCodeAt(r + 1)], l = ti[t.charCodeAt(r + 2)], a = ti[t.charCodeAt(r + 3)], c[i++] = s << 2 | o >> 4, c[i++] = (o & 15) << 4 | l >> 2, c[i++] = (l & 3) << 6 | a & 63;
14367
14367
  return u;
14368
14368
  };
14369
- const l_ = "KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=", a_ = (t) => Uint8Array.from(atob(t), (e) => e.charCodeAt(0));
14370
- typeof window < "u" && window.Blob && new Blob([a_(l_)], { type: "text/javascript;charset=utf-8" });
14369
+ const lA = "KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=", aA = (t) => Uint8Array.from(atob(t), (e) => e.charCodeAt(0));
14370
+ typeof window < "u" && window.Blob && new Blob([aA(lA)], { type: "text/javascript;charset=utf-8" });
14371
14371
  try {
14372
14372
  if (Array.from([1], (t) => t * 2)[0] !== 2) {
14373
14373
  const t = document.createElement("iframe");
@@ -14376,7 +14376,7 @@ try {
14376
14376
  } catch (t) {
14377
14377
  console.debug("Unable to override Array.from", t);
14378
14378
  }
14379
- _y();
14379
+ Ay();
14380
14380
  function iw(t) {
14381
14381
  return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, n) {
14382
14382
  var r = t.get(e);
@@ -14393,11 +14393,11 @@ function iw(t) {
14393
14393
  });
14394
14394
  } };
14395
14395
  }
14396
- const u_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14396
+ const uA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14397
14397
  __proto__: null,
14398
14398
  default: iw
14399
14399
  }, Symbol.toStringTag, { value: "Module" }));
14400
- function c_(t = window, e = document) {
14400
+ function cA(t = window, e = document) {
14401
14401
  if ("scrollBehavior" in e.documentElement.style && t.__forceSmoothScrollPolyfill__ !== !0)
14402
14402
  return;
14403
14403
  const n = t.HTMLElement || t.Element, r = 468, i = {
@@ -14451,11 +14451,11 @@ function c_(t = window, e = document) {
14451
14451
  E = E > 1 ? 1 : E, y = u(E), C = h.startX + (h.x - h.startX) * y, x = h.startY + (h.y - h.startY) * y, h.method.call(h.scrollable, C, x), (C !== h.x || x !== h.y) && t.requestAnimationFrame(S.bind(t, h));
14452
14452
  }
14453
14453
  function v(h, p, y) {
14454
- let C, x, E, _;
14454
+ let C, x, E, A;
14455
14455
  const b = s();
14456
- h === e.body ? (C = t, x = t.scrollX || t.pageXOffset, E = t.scrollY || t.pageYOffset, _ = i.scroll) : (C = h, x = h.scrollLeft, E = h.scrollTop, _ = a), S({
14456
+ h === e.body ? (C = t, x = t.scrollX || t.pageXOffset, E = t.scrollY || t.pageYOffset, A = i.scroll) : (C = h, x = h.scrollLeft, E = h.scrollTop, A = a), S({
14457
14457
  scrollable: C,
14458
- method: _,
14458
+ method: A,
14459
14459
  startTime: b,
14460
14460
  startX: x,
14461
14461
  startY: E,
@@ -14561,7 +14561,7 @@ function c_(t = window, e = document) {
14561
14561
  });
14562
14562
  };
14563
14563
  }
14564
- class f_ {
14564
+ class fA {
14565
14565
  constructor(e = [], n) {
14566
14566
  j(this, "timeOffset", 0), j(this, "speed"), j(this, "actions"), j(this, "raf", null), j(this, "lastTimestamp"), this.actions = e, this.speed = n.speed;
14567
14567
  }
@@ -14658,7 +14658,7 @@ var or;
14658
14658
  t[t.NotStarted = 0] = "NotStarted", t[t.Running = 1] = "Running", t[t.Stopped = 2] = "Stopped";
14659
14659
  })(or || (or = {}));
14660
14660
  var sw = { type: "xstate.init" };
14661
- function _a(t) {
14661
+ function Aa(t) {
14662
14662
  return t === void 0 ? [] : [].concat(t);
14663
14663
  }
14664
14664
  function Gn(t) {
@@ -14693,12 +14693,12 @@ function pp(t, e, n) {
14693
14693
  }
14694
14694
  function lw(t, e) {
14695
14695
  e === void 0 && (e = {});
14696
- var n = fp(pp(_a(t.states[t.initial].entry).map(function(o) {
14696
+ var n = fp(pp(Aa(t.states[t.initial].entry).map(function(o) {
14697
14697
  return dp(o, e.actions);
14698
14698
  }), t.context, sw), 2), r = n[0], i = n[1], s = { config: t, _options: e, initialState: { value: t.initial, actions: r, context: i, matches: il(t.initial) }, transition: function(o, l) {
14699
14699
  var a, u, c = typeof o == "string" ? { value: o, context: t.context } : o, d = c.value, f = c.context, m = ow(l), g = t.states[d];
14700
14700
  if (g.on) {
14701
- var S = _a(g.on[m.type]);
14701
+ var S = Aa(g.on[m.type]);
14702
14702
  try {
14703
14703
  for (var v = function(J) {
14704
14704
  var M = typeof Symbol == "function" && Symbol.iterator, P = M && J[M], L = 0;
@@ -14710,11 +14710,11 @@ function lw(t, e) {
14710
14710
  }(S), h = v.next(); !h.done; h = v.next()) {
14711
14711
  var p = h.value;
14712
14712
  if (p === void 0) return hp(d, f);
14713
- var y = typeof p == "string" ? { target: p } : p, C = y.target, x = y.actions, E = x === void 0 ? [] : x, _ = y.cond, b = _ === void 0 ? function() {
14713
+ var y = typeof p == "string" ? { target: p } : p, C = y.target, x = y.actions, E = x === void 0 ? [] : x, A = y.cond, b = A === void 0 ? function() {
14714
14714
  return !0;
14715
- } : _, z = C === void 0, O = C ?? d, de = t.states[O];
14715
+ } : A, z = C === void 0, O = C ?? d, de = t.states[O];
14716
14716
  if (b(f, m)) {
14717
- var Ce = fp(pp((z ? _a(E) : [].concat(g.exit, E, de.entry).filter(function(J) {
14717
+ var Ce = fp(pp((z ? Aa(E) : [].concat(g.exit, E, de.entry).filter(function(J) {
14718
14718
  return J;
14719
14719
  })).map(function(J) {
14720
14720
  return dp(J, s._options.actions);
@@ -14766,7 +14766,7 @@ function aw(t) {
14766
14766
  } };
14767
14767
  return i;
14768
14768
  }
14769
- function d_(t, e) {
14769
+ function dA(t, e) {
14770
14770
  for (let n = t.length - 1; n >= 0; n--) {
14771
14771
  const r = t[n];
14772
14772
  if (r.type === he.Meta && r.timestamp <= e)
@@ -14774,7 +14774,7 @@ function d_(t, e) {
14774
14774
  }
14775
14775
  return t;
14776
14776
  }
14777
- function h_(t, { getCastFn: e, applyEventsSynchronously: n, emitter: r }) {
14777
+ function hA(t, { getCastFn: e, applyEventsSynchronously: n, emitter: r }) {
14778
14778
  const i = lw(
14779
14779
  {
14780
14780
  id: "player",
@@ -14854,7 +14854,7 @@ function h_(t, { getCastFn: e, applyEventsSynchronously: n, emitter: r }) {
14854
14854
  l.clear();
14855
14855
  for (const g of a)
14856
14856
  cp(g, u);
14857
- const d = d_(a, u);
14857
+ const d = dA(a, u);
14858
14858
  let f = c?.timestamp;
14859
14859
  c?.type === he.IncrementalSnapshot && c.data.source === Q.MouseMove && (f = c.timestamp + ((o = c.data.positions[0]) == null ? void 0 : o.timeOffset)), u < (f || 0) && r.emit(Y.PlayBack);
14860
14860
  const m = new Array();
@@ -14914,7 +14914,7 @@ function h_(t, { getCastFn: e, applyEventsSynchronously: n, emitter: r }) {
14914
14914
  );
14915
14915
  return aw(i);
14916
14916
  }
14917
- function p_(t) {
14917
+ function pA(t) {
14918
14918
  const e = lw(
14919
14919
  {
14920
14920
  id: "speed",
@@ -14963,7 +14963,7 @@ function p_(t) {
14963
14963
  );
14964
14964
  return aw(e);
14965
14965
  }
14966
- const m_ = (t) => [
14966
+ const mA = (t) => [
14967
14967
  `.${t} { background: currentColor }`,
14968
14968
  "noscript { display: none !important; }"
14969
14969
  ], gp = /* @__PURE__ */ new Map();
@@ -14990,7 +14990,7 @@ function nn(t, e, n) {
14990
14990
  );
14991
14991
  } else {
14992
14992
  if ("base64" in r)
14993
- return o_(r.base64);
14993
+ return oA(r.base64);
14994
14994
  if ("src" in r) {
14995
14995
  const i = t.get(r.src);
14996
14996
  if (i)
@@ -15015,14 +15015,14 @@ function nn(t, e, n) {
15015
15015
  return r;
15016
15016
  };
15017
15017
  }
15018
- function g_(t, e) {
15018
+ function gA(t, e) {
15019
15019
  try {
15020
15020
  return e === rl.WebGL ? t.getContext("webgl") || t.getContext("experimental-webgl") : t.getContext("webgl2");
15021
15021
  } catch {
15022
15022
  return null;
15023
15023
  }
15024
15024
  }
15025
- const y_ = [
15025
+ const yA = [
15026
15026
  "WebGLActiveInfo",
15027
15027
  "WebGLBuffer",
15028
15028
  "WebGLFramebuffer",
@@ -15034,14 +15034,14 @@ const y_ = [
15034
15034
  "WebGLUniformLocation",
15035
15035
  "WebGLVertexArrayObject"
15036
15036
  ];
15037
- function v_(t, e) {
15037
+ function vA(t, e) {
15038
15038
  if (!e?.constructor) return;
15039
15039
  const { name: n } = e.constructor;
15040
- if (!y_.includes(n)) return;
15040
+ if (!yA.includes(n)) return;
15041
15041
  const r = uw(t, n);
15042
15042
  r.includes(e) || r.push(e);
15043
15043
  }
15044
- async function w_({
15044
+ async function wA({
15045
15045
  mutation: t,
15046
15046
  target: e,
15047
15047
  type: n,
@@ -15049,7 +15049,7 @@ async function w_({
15049
15049
  errorHandler: i
15050
15050
  }) {
15051
15051
  try {
15052
- const s = g_(e, n);
15052
+ const s = gA(e, n);
15053
15053
  if (!s) return;
15054
15054
  if (t.setter) {
15055
15055
  s[t.property] = t.args[0];
@@ -15058,13 +15058,13 @@ async function w_({
15058
15058
  const o = s[t.property], l = await Promise.all(
15059
15059
  t.args.map(nn(r, s))
15060
15060
  ), a = o.apply(s, l);
15061
- v_(s, a);
15061
+ vA(s, a);
15062
15062
  const u = !1;
15063
15063
  } catch (s) {
15064
15064
  i(t, s);
15065
15065
  }
15066
15066
  }
15067
- async function S_({
15067
+ async function SA({
15068
15068
  event: t,
15069
15069
  mutations: e,
15070
15070
  target: n,
@@ -15106,7 +15106,7 @@ async function yp({
15106
15106
  if ([rl.WebGL, rl.WebGL2].includes(e.type)) {
15107
15107
  for (let a = 0; a < l.length; a++) {
15108
15108
  const u = l[a];
15109
- await w_({
15109
+ await wA({
15110
15110
  mutation: u,
15111
15111
  type: e.type,
15112
15112
  target: n,
@@ -15116,7 +15116,7 @@ async function yp({
15116
15116
  }
15117
15117
  return;
15118
15118
  }
15119
- await S_({
15119
+ await SA({
15120
15120
  event: t,
15121
15121
  mutations: l,
15122
15122
  target: n,
@@ -15127,7 +15127,7 @@ async function yp({
15127
15127
  s(e, o);
15128
15128
  }
15129
15129
  }
15130
- class C_ {
15130
+ class CA {
15131
15131
  constructor(e) {
15132
15132
  j(this, "mediaMap", /* @__PURE__ */ new Map()), j(this, "warn"), j(this, "service"), j(this, "speedService"), j(this, "emitter"), j(this, "getCurrentTime"), j(this, "metadataCallbackMap", /* @__PURE__ */ new Map()), this.warn = e.warn, this.service = e.service, this.speedService = e.speedService, this.emitter = e.emitter, this.getCurrentTime = e.getCurrentTime, this.emitter.on(Y.Start, this.start.bind(this)), this.emitter.on(Y.SkipStart, this.start.bind(this)), this.emitter.on(Y.Pause, this.pause.bind(this)), this.emitter.on(Y.Finish, this.pause.bind(this)), this.speedService.subscribe(() => {
15133
15133
  this.syncAllMediaElements();
@@ -15267,7 +15267,7 @@ function Ys(t, e) {
15267
15267
  r && n.close(), o && (l ? n.showModal() : n.show());
15268
15268
  }
15269
15269
  }
15270
- function x_(t, e) {
15270
+ function xA(t, e) {
15271
15271
  if (t.nodeName !== "DIALOG" || t instanceof wt) return;
15272
15272
  const n = t;
15273
15273
  if (!n.isConnected) {
@@ -15276,7 +15276,7 @@ function x_(t, e) {
15276
15276
  }
15277
15277
  e.attributes.open === null && (n.removeAttribute("open"), n.removeAttribute("rr_open_mode"));
15278
15278
  }
15279
- const E_ = 5 * 1e3, k_ = iw || u_, vp = "[replayer]", Aa = {
15279
+ const EA = 5 * 1e3, kA = iw || uA, vp = "[replayer]", _a = {
15280
15280
  duration: 500,
15281
15281
  lineCap: "round",
15282
15282
  lineWidth: 3,
@@ -15285,9 +15285,9 @@ const E_ = 5 * 1e3, k_ = iw || u_, vp = "[replayer]", Aa = {
15285
15285
  function wp(t) {
15286
15286
  return t.type == he.IncrementalSnapshot && (t.data.source == Q.TouchMove || t.data.source == Q.MouseInteraction && t.data.type == Ee.TouchStart);
15287
15287
  }
15288
- class b_ {
15288
+ class bA {
15289
15289
  constructor(e, n) {
15290
- if (j(this, "wrapper"), j(this, "iframe"), j(this, "service"), j(this, "speedService"), j(this, "config"), j(this, "usingVirtualDom", !1), j(this, "virtualDom", new Lr()), j(this, "mouse"), j(this, "mouseTail", null), j(this, "tailPositions", []), j(this, "emitter", k_()), j(this, "nextUserInteractionEvent"), j(this, "legacy_missingNodeRetryMap", {}), j(this, "cache", zh()), j(this, "imageMap", /* @__PURE__ */ new Map()), j(this, "canvasEventMap", /* @__PURE__ */ new Map()), j(this, "mirror", _y()), j(this, "styleMirror", new s_()), j(this, "mediaManager"), j(this, "firstFullSnapshot", null), j(this, "newDocumentQueue", []), j(this, "mousePos", null), j(this, "touchActive", null), j(this, "lastMouseDownEvent", null), j(this, "lastHoveredRootNode"), j(this, "lastSelectionData", null), j(this, "constructedStyleMutations", []), j(this, "adoptedStyleSheets", []), j(this, "handleResize", (l) => {
15290
+ if (j(this, "wrapper"), j(this, "iframe"), j(this, "service"), j(this, "speedService"), j(this, "config"), j(this, "usingVirtualDom", !1), j(this, "virtualDom", new Lr()), j(this, "mouse"), j(this, "mouseTail", null), j(this, "tailPositions", []), j(this, "emitter", kA()), j(this, "nextUserInteractionEvent"), j(this, "legacy_missingNodeRetryMap", {}), j(this, "cache", zh()), j(this, "imageMap", /* @__PURE__ */ new Map()), j(this, "canvasEventMap", /* @__PURE__ */ new Map()), j(this, "mirror", Ay()), j(this, "styleMirror", new sA()), j(this, "mediaManager"), j(this, "firstFullSnapshot", null), j(this, "newDocumentQueue", []), j(this, "mousePos", null), j(this, "touchActive", null), j(this, "lastMouseDownEvent", null), j(this, "lastHoveredRootNode"), j(this, "lastSelectionData", null), j(this, "constructedStyleMutations", []), j(this, "adoptedStyleSheets", []), j(this, "handleResize", (l) => {
15291
15291
  this.iframe.style.display = "inherit";
15292
15292
  for (const a of [this.mouseTail, this.iframe])
15293
15293
  a && (a.setAttribute("width", String(l.width)), a.setAttribute("height", String(l.height)));
@@ -15351,7 +15351,7 @@ class b_ {
15351
15351
  this.nextUserInteractionEvent.delay - l.delay
15352
15352
  ), f = {
15353
15353
  speed: Math.min(
15354
- Math.round(d / E_),
15354
+ Math.round(d / EA),
15355
15355
  this.config.maxSpeed
15356
15356
  )
15357
15357
  };
@@ -15393,7 +15393,7 @@ class b_ {
15393
15393
  triggerFocus: !0,
15394
15394
  UNSAFE_replayCanvas: !1,
15395
15395
  pauseAnimation: !0,
15396
- mouseTail: Aa,
15396
+ mouseTail: _a,
15397
15397
  useVirtualDom: !0,
15398
15398
  // Virtual-dom optimization is enabled by default.
15399
15399
  logger: console
@@ -15473,10 +15473,10 @@ class b_ {
15473
15473
  }), this.emitter.on(Y.PlayBack, () => {
15474
15474
  this.firstFullSnapshot = null, this.mirror.reset(), this.styleMirror.reset(), this.mediaManager.reset();
15475
15475
  });
15476
- const i = new f_([], {
15476
+ const i = new fA([], {
15477
15477
  speed: this.config.speed
15478
15478
  });
15479
- this.service = h_(
15479
+ this.service = hA(
15480
15480
  {
15481
15481
  events: e.map((l) => n && n.unpackFn ? n.unpackFn(l) : l).sort((l, a) => l.timestamp - a.timestamp),
15482
15482
  timer: i,
@@ -15493,14 +15493,14 @@ class b_ {
15493
15493
  this.emitter.emit(Y.StateChange, {
15494
15494
  player: l
15495
15495
  });
15496
- }), this.speedService = p_({
15496
+ }), this.speedService = pA({
15497
15497
  normalSpeed: -1,
15498
15498
  timer: i
15499
15499
  }), this.speedService.start(), this.speedService.subscribe((l) => {
15500
15500
  this.emitter.emit(Y.StateChange, {
15501
15501
  speed: l
15502
15502
  });
15503
- }), this.mediaManager = new C_({
15503
+ }), this.mediaManager = new CA({
15504
15504
  warn: this.warn.bind(this),
15505
15505
  service: this.service,
15506
15506
  speedService: this.speedService,
@@ -15627,10 +15627,10 @@ class b_ {
15627
15627
  setupDom() {
15628
15628
  this.wrapper = document.createElement("div"), this.wrapper.classList.add("replayer-wrapper"), this.config.root.appendChild(this.wrapper), this.mouse = document.createElement("div"), this.mouse.classList.add("replayer-mouse"), this.wrapper.appendChild(this.mouse), this.config.mouseTail !== !1 && (this.mouseTail = document.createElement("canvas"), this.mouseTail.classList.add("replayer-mouse-tail"), this.mouseTail.style.display = "inherit", this.wrapper.appendChild(this.mouseTail)), this.iframe = document.createElement("iframe");
15629
15629
  const e = ["allow-same-origin"];
15630
- this.config.UNSAFE_replayCanvas && e.push("allow-scripts"), this.iframe.style.display = "none", this.iframe.setAttribute("sandbox", e.join(" ")), this.disableInteract(), this.wrapper.appendChild(this.iframe), this.iframe.contentWindow && this.iframe.contentDocument && (c_(
15630
+ this.config.UNSAFE_replayCanvas && e.push("allow-scripts"), this.iframe.style.display = "none", this.iframe.setAttribute("sandbox", e.join(" ")), this.disableInteract(), this.wrapper.appendChild(this.iframe), this.iframe.contentWindow && this.iframe.contentDocument && (cA(
15631
15631
  this.iframe.contentWindow,
15632
15632
  this.iframe.contentDocument
15633
- ), n_(this.iframe.contentWindow));
15633
+ ), nA(this.iframe.contentWindow));
15634
15634
  }
15635
15635
  rebuildFullSnapshot(e, n = !1) {
15636
15636
  if (!this.iframe.contentDocument)
@@ -15669,7 +15669,7 @@ class b_ {
15669
15669
  }
15670
15670
  insertStyleRules(e, n) {
15671
15671
  var r;
15672
- const i = m_(
15672
+ const i = mA(
15673
15673
  this.config.blockClass
15674
15674
  ).concat(this.config.insertStyleRules);
15675
15675
  if (this.config.pauseAnimation && i.push(
@@ -16130,7 +16130,7 @@ class b_ {
16130
16130
  });
16131
16131
  const a = Date.now();
16132
16132
  for (; s.length; ) {
16133
- const u = r_(s);
16133
+ const u = rA(s);
16134
16134
  if (s.length = 0, Date.now() - a > 500) {
16135
16135
  this.warn(
16136
16136
  "Timeout in the loop, please check the resolve tree data:",
@@ -16146,7 +16146,7 @@ class b_ {
16146
16146
  c
16147
16147
  );
16148
16148
  }
16149
- Object.keys(i).length && Object.assign(this.legacy_missingNodeRetryMap, i), i_(e.texts).forEach((u) => {
16149
+ Object.keys(i).length && Object.assign(this.legacy_missingNodeRetryMap, i), iA(e.texts).forEach((u) => {
16150
16150
  var c;
16151
16151
  const d = r.getNode(u.id);
16152
16152
  if (!d)
@@ -16165,7 +16165,7 @@ class b_ {
16165
16165
  if (typeof f == "string") {
16166
16166
  const m = u.attributes[f];
16167
16167
  if (m === null)
16168
- d.removeAttribute(f), f === "open" && x_(d, u);
16168
+ d.removeAttribute(f), f === "open" && xA(d, u);
16169
16169
  else if (typeof m == "string")
16170
16170
  try {
16171
16171
  if (f === "_cssText" && (d.nodeName === "LINK" || d.nodeName === "STYLE"))
@@ -16406,7 +16406,7 @@ class b_ {
16406
16406
  drawMouseTail(e) {
16407
16407
  if (!this.mouseTail)
16408
16408
  return;
16409
- const { lineCap: n, lineWidth: r, strokeStyle: i, duration: s } = this.config.mouseTail === !0 ? Aa : Object.assign({}, Aa, this.config.mouseTail), o = () => {
16409
+ const { lineCap: n, lineWidth: r, strokeStyle: i, duration: s } = this.config.mouseTail === !0 ? _a : Object.assign({}, _a, this.config.mouseTail), o = () => {
16410
16410
  if (!this.mouseTail)
16411
16411
  return;
16412
16412
  const l = this.mouseTail.getContext("2d");
@@ -16449,7 +16449,7 @@ class b_ {
16449
16449
  this.config.showDebug && this.config.logger.log(vp, ...e);
16450
16450
  }
16451
16451
  }
16452
- var st = Uint8Array, An = Uint16Array, fc = Uint32Array, cw = new st([
16452
+ var st = Uint8Array, _n = Uint16Array, fc = Uint32Array, cw = new st([
16453
16453
  0,
16454
16454
  0,
16455
16455
  0,
@@ -16518,29 +16518,29 @@ var st = Uint8Array, An = Uint16Array, fc = Uint32Array, cw = new st([
16518
16518
  /* unused */
16519
16519
  0,
16520
16520
  0
16521
- ]), R_ = new st([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), dw = function(t, e) {
16522
- for (var n = new An(31), r = 0; r < 31; ++r)
16521
+ ]), RA = new st([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), dw = function(t, e) {
16522
+ for (var n = new _n(31), r = 0; r < 31; ++r)
16523
16523
  n[r] = e += 1 << t[r - 1];
16524
16524
  for (var i = new fc(n[30]), r = 1; r < 30; ++r)
16525
16525
  for (var s = n[r]; s < n[r + 1]; ++s)
16526
16526
  i[s] = s - n[r] << 5 | r;
16527
16527
  return [n, i];
16528
- }, hw = dw(cw, 2), pw = hw[0], __ = hw[1];
16529
- pw[28] = 258, __[258] = 28;
16530
- var A_ = dw(fw, 0), M_ = A_[0], mw = new An(32768);
16528
+ }, hw = dw(cw, 2), pw = hw[0], AA = hw[1];
16529
+ pw[28] = 258, AA[258] = 28;
16530
+ var _A = dw(fw, 0), MA = _A[0], mw = new _n(32768);
16531
16531
  for (var le = 0; le < 32768; ++le) {
16532
16532
  var Xt = (le & 43690) >>> 1 | (le & 21845) << 1;
16533
16533
  Xt = (Xt & 52428) >>> 2 | (Xt & 13107) << 2, Xt = (Xt & 61680) >>> 4 | (Xt & 3855) << 4, mw[le] = ((Xt & 65280) >>> 8 | (Xt & 255) << 8) >>> 1;
16534
16534
  }
16535
16535
  var pi = function(t, e, n) {
16536
- for (var r = t.length, i = 0, s = new An(e); i < r; ++i)
16536
+ for (var r = t.length, i = 0, s = new _n(e); i < r; ++i)
16537
16537
  ++s[t[i] - 1];
16538
- var o = new An(e);
16538
+ var o = new _n(e);
16539
16539
  for (i = 0; i < e; ++i)
16540
16540
  o[i] = o[i - 1] + s[i - 1] << 1;
16541
16541
  var l;
16542
16542
  {
16543
- l = new An(1 << e);
16543
+ l = new _n(1 << e);
16544
16544
  var a = 15 - e;
16545
16545
  for (i = 0; i < r; ++i)
16546
16546
  if (t[i])
@@ -16560,7 +16560,7 @@ for (var le = 280; le < 288; ++le)
16560
16560
  var gw = new st(32);
16561
16561
  for (var le = 0; le < 32; ++le)
16562
16562
  gw[le] = 5;
16563
- var N_ = /* @__PURE__ */ pi(rs, 9), T_ = /* @__PURE__ */ pi(gw, 5), Ma = function(t) {
16563
+ var NA = /* @__PURE__ */ pi(rs, 9), TA = /* @__PURE__ */ pi(gw, 5), Ma = function(t) {
16564
16564
  for (var e = t[0], n = 1; n < t.length; ++n)
16565
16565
  t[n] > e && (e = t[n]);
16566
16566
  return e;
@@ -16570,13 +16570,13 @@ var N_ = /* @__PURE__ */ pi(rs, 9), T_ = /* @__PURE__ */ pi(gw, 5), Ma = functio
16570
16570
  }, Na = function(t, e) {
16571
16571
  var n = e / 8 >> 0;
16572
16572
  return (t[n] | t[n + 1] << 8 | t[n + 2] << 16) >>> (e & 7);
16573
- }, I_ = function(t) {
16573
+ }, IA = function(t) {
16574
16574
  return (t / 8 >> 0) + (t & 7 && 1);
16575
16575
  }, yw = function(t, e, n) {
16576
16576
  (n == null || n > t.length) && (n = t.length);
16577
- var r = new (t instanceof An ? An : t instanceof fc ? fc : st)(n - e);
16577
+ var r = new (t instanceof _n ? _n : t instanceof fc ? fc : st)(n - e);
16578
16578
  return r.set(t.subarray(e, n)), r;
16579
- }, D_ = function(t, e, n) {
16579
+ }, DA = function(t, e, n) {
16580
16580
  var r = t.length, i = !e || n, s = !n || n.i;
16581
16581
  n || (n = {}), e || (e = new st(r * 3));
16582
16582
  var o = function(k) {
@@ -16592,17 +16592,17 @@ var N_ = /* @__PURE__ */ pi(rs, 9), T_ = /* @__PURE__ */ pi(gw, 5), Ma = functio
16592
16592
  var S = ct(t, a + 1, 3);
16593
16593
  if (a += 3, S)
16594
16594
  if (S == 1)
16595
- c = N_, d = T_, f = 9, m = 5;
16595
+ c = NA, d = TA, f = 9, m = 5;
16596
16596
  else if (S == 2) {
16597
16597
  var y = ct(t, a, 31) + 257, C = ct(t, a + 10, 15) + 4, x = y + ct(t, a + 5, 31) + 1;
16598
16598
  a += 14;
16599
- for (var E = new st(x), _ = new st(19), b = 0; b < C; ++b)
16600
- _[R_[b]] = ct(t, a + b * 3, 7);
16599
+ for (var E = new st(x), A = new st(19), b = 0; b < C; ++b)
16600
+ A[RA[b]] = ct(t, a + b * 3, 7);
16601
16601
  a += C * 3;
16602
- var z = Ma(_), O = (1 << z) - 1;
16602
+ var z = Ma(A), O = (1 << z) - 1;
16603
16603
  if (!s && a + x * (z + 7) > g)
16604
16604
  break;
16605
- for (var de = pi(_, z), b = 0; b < x; ) {
16605
+ for (var de = pi(A, z), b = 0; b < x; ) {
16606
16606
  var Ce = de[ct(t, a, O)];
16607
16607
  a += Ce & 15;
16608
16608
  var v = Ce >>> 4;
@@ -16619,7 +16619,7 @@ var N_ = /* @__PURE__ */ pi(rs, 9), T_ = /* @__PURE__ */ pi(gw, 5), Ma = functio
16619
16619
  } else
16620
16620
  throw "invalid block type";
16621
16621
  else {
16622
- var v = I_(a) + 4, h = t[v - 4] | t[v - 3] << 8, p = v + h;
16622
+ var v = IA(a) + 4, h = t[v - 4] | t[v - 3] << 8, p = v + h;
16623
16623
  if (p > r) {
16624
16624
  if (s)
16625
16625
  throw "unexpected EOF";
@@ -16653,7 +16653,7 @@ var N_ = /* @__PURE__ */ pi(rs, 9), T_ = /* @__PURE__ */ pi(gw, 5), Ma = functio
16653
16653
  if (!je)
16654
16654
  throw "invalid distance";
16655
16655
  a += je & 15;
16656
- var W = M_[N];
16656
+ var W = MA[N];
16657
16657
  if (N > 3) {
16658
16658
  var Z = fw[N];
16659
16659
  W += Na(t, a) & (1 << Z) - 1, a += Z;
@@ -16661,24 +16661,24 @@ var N_ = /* @__PURE__ */ pi(rs, 9), T_ = /* @__PURE__ */ pi(gw, 5), Ma = functio
16661
16661
  if (a > g)
16662
16662
  throw "unexpected EOF";
16663
16663
  i && o(u + 131072);
16664
- for (var A = u + U; u < A; u += 4)
16664
+ for (var _ = u + U; u < _; u += 4)
16665
16665
  e[u] = e[u - W], e[u + 1] = e[u + 1 - W], e[u + 2] = e[u + 2 - W], e[u + 3] = e[u + 3 - W];
16666
- u = A;
16666
+ u = _;
16667
16667
  }
16668
16668
  }
16669
16669
  n.l = c, n.p = a, n.b = u, c && (l = 1, n.m = f, n.d = d, n.n = m);
16670
16670
  } while (!l);
16671
16671
  return u == e.length ? e : yw(e, 0, u);
16672
- }, O_ = function(t) {
16672
+ }, OA = function(t) {
16673
16673
  if ((t[0] & 15) != 8 || t[0] >>> 4 > 7 || (t[0] << 8 | t[1]) % 31)
16674
16674
  throw "invalid zlib data";
16675
16675
  if (t[1] & 32)
16676
16676
  throw "invalid zlib data: preset dictionaries not supported";
16677
16677
  };
16678
- function P_(t, e) {
16679
- return D_((O_(t), t.subarray(2, -4)), e);
16678
+ function PA(t, e) {
16679
+ return DA((OA(t), t.subarray(2, -4)), e);
16680
16680
  }
16681
- function L_(t, e) {
16681
+ function LA(t, e) {
16682
16682
  for (var n = t.length, r = new st(t.length + (t.length >>> 1)), i = 0, s = function(u) {
16683
16683
  r[i++] = u;
16684
16684
  }, o = 0; o < n; ++o) {
@@ -16691,7 +16691,7 @@ function L_(t, e) {
16691
16691
  }
16692
16692
  return yw(r, 0, i);
16693
16693
  }
16694
- function F_(t, e) {
16694
+ function FA(t, e) {
16695
16695
  var n = "";
16696
16696
  if (typeof TextDecoder < "u")
16697
16697
  return new TextDecoder().decode(t);
@@ -16701,7 +16701,7 @@ function F_(t, e) {
16701
16701
  }
16702
16702
  return n;
16703
16703
  }
16704
- const Sp = "v1", j_ = (t) => {
16704
+ const Sp = "v1", jA = (t) => {
16705
16705
  if (typeof t != "string")
16706
16706
  return t;
16707
16707
  try {
@@ -16712,7 +16712,7 @@ const Sp = "v1", j_ = (t) => {
16712
16712
  }
16713
16713
  try {
16714
16714
  const e = JSON.parse(
16715
- F_(P_(L_(t, !0)))
16715
+ FA(PA(LA(t, !0)))
16716
16716
  );
16717
16717
  if (e.v === Sp)
16718
16718
  return e;
@@ -16749,10 +16749,10 @@ function Xs(t) {
16749
16749
  const r = Math.floor(t / vw);
16750
16750
  return e ? `${Zr(e)}:${Zr(n)}:${Zr(r)}` : `${Zr(n)}:${Zr(r)}`;
16751
16751
  }
16752
- function $_(t) {
16752
+ function $A(t) {
16753
16753
  return t.requestFullscreen ? t.requestFullscreen() : t.mozRequestFullScreen ? t.mozRequestFullScreen() : t.webkitRequestFullscreen ? t.webkitRequestFullscreen() : t.msRequestFullscreen ? t.msRequestFullscreen() : Promise.resolve();
16754
16754
  }
16755
- function z_() {
16755
+ function zA() {
16756
16756
  return document.exitFullscreen ? document.exitFullscreen() : document.mozExitFullscreen ? document.mozExitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.msExitFullscreen ? document.msExitFullscreen() : Promise.resolve();
16757
16757
  }
16758
16758
  function Ep() {
@@ -16766,7 +16766,7 @@ function Ep() {
16766
16766
  e in document && (t = t || !!document[e]);
16767
16767
  }), t;
16768
16768
  }
16769
- function U_(t) {
16769
+ function UA(t) {
16770
16770
  return document.addEventListener("fullscreenchange", t), document.addEventListener("webkitfullscreenchange", t), document.addEventListener("mozfullscreenchange", t), document.addEventListener("MSFullscreenChange", t), () => {
16771
16771
  document.removeEventListener("fullscreenchange", t), document.removeEventListener("webkitfullscreenchange", t), document.removeEventListener("mozfullscreenchange", t), document.removeEventListener("MSFullscreenChange", t);
16772
16772
  };
@@ -16785,17 +16785,17 @@ function kp(t) {
16785
16785
  "[object Object]": "object"
16786
16786
  }[Object.prototype.toString.call(t)];
16787
16787
  }
16788
- function B_(t) {
16788
+ function BA(t) {
16789
16789
  return t.type !== Gf.IncrementalSnapshot ? !1 : t.data.source > dc.Mutation && t.data.source <= dc.Input;
16790
16790
  }
16791
- function W_(t, e) {
16791
+ function WA(t, e) {
16792
16792
  const n = [];
16793
16793
  let r = t[0].timestamp;
16794
16794
  for (const i of t)
16795
- B_(i) && (i.timestamp - r > e && n.push([r, i.timestamp]), r = i.timestamp);
16795
+ BA(i) && (i.timestamp - r > e && n.push([r, i.timestamp]), r = i.timestamp);
16796
16796
  return n;
16797
16797
  }
16798
- function V_(t) {
16798
+ function VA(t) {
16799
16799
  let e, n, r, i, s, o, l, a, u;
16800
16800
  return {
16801
16801
  c() {
@@ -16866,7 +16866,7 @@ function V_(t) {
16866
16866
  }
16867
16867
  };
16868
16868
  }
16869
- function H_(t, e, n) {
16869
+ function HA(t, e, n) {
16870
16870
  let { disabled: r } = e, { checked: i } = e, { id: s } = e, { label: o } = e;
16871
16871
  function l() {
16872
16872
  i = this.checked, n(0, i);
@@ -16875,9 +16875,9 @@ function H_(t, e, n) {
16875
16875
  "disabled" in a && n(1, r = a.disabled), "checked" in a && n(0, i = a.checked), "id" in a && n(2, s = a.id), "label" in a && n(3, o = a.label);
16876
16876
  }, [i, r, s, o, l];
16877
16877
  }
16878
- class G_ extends Cf {
16878
+ class GA extends Cf {
16879
16879
  constructor(e) {
16880
- super(), Sf(this, e, H_, V_, yf, { disabled: 1, checked: 0, id: 2, label: 3 });
16880
+ super(), Sf(this, e, HA, VA, yf, { disabled: 1, checked: 0, id: 2, label: 3 });
16881
16881
  }
16882
16882
  }
16883
16883
  function bp(t, e, n) {
@@ -16888,33 +16888,33 @@ function Rp(t, e, n) {
16888
16888
  const r = t.slice();
16889
16889
  return r[41] = e[n], r;
16890
16890
  }
16891
- function _p(t, e, n) {
16891
+ function Ap(t, e, n) {
16892
16892
  const r = t.slice();
16893
16893
  return r[44] = e[n], r;
16894
16894
  }
16895
- function Ap(t) {
16895
+ function _p(t) {
16896
16896
  let e, n, r, i = Xs(
16897
16897
  /*currentTime*/
16898
16898
  t[6]
16899
16899
  ) + "", s, o, l, a, u, c, d, f, m, g, S = Xs(
16900
16900
  /*meta*/
16901
16901
  t[8].totalTime
16902
- ) + "", v, h, p, y, C, x, E, _, b, z, O, de, Ce, ne = Bn(
16902
+ ) + "", v, h, p, y, C, x, E, A, b, z, O, de, Ce, ne = Bn(
16903
16903
  /*inactivePeriods*/
16904
16904
  t[13]
16905
16905
  ), G = [];
16906
16906
  for (let N = 0; N < ne.length; N += 1)
16907
- G[N] = Mp(_p(t, ne, N));
16907
+ G[N] = Mp(Ap(t, ne, N));
16908
16908
  let _e = Bn(
16909
16909
  /*customEvents*/
16910
16910
  t[9]
16911
16911
  ), W = [];
16912
16912
  for (let N = 0; N < _e.length; N += 1)
16913
16913
  W[N] = Np(Rp(t, _e, N));
16914
- function J(N, A) {
16914
+ function J(N, _) {
16915
16915
  return (
16916
16916
  /*playerState*/
16917
- N[7] === "playing" ? X_ : Y_
16917
+ N[7] === "playing" ? XA : YA
16918
16918
  );
16919
16919
  }
16920
16920
  let M = J(t), P = M(t), L = Bn(
@@ -16937,7 +16937,7 @@ function Ap(t) {
16937
16937
  return (
16938
16938
  /*skipInactive*/
16939
16939
  t[0] !== void 0 && (je.checked = /*skipInactive*/
16940
- t[0]), E = new G_({ props: je }), _n.push(() => dx(E, "checked", Z)), {
16940
+ t[0]), E = new GA({ props: je }), An.push(() => dx(E, "checked", Z)), {
16941
16941
  c() {
16942
16942
  e = ke("div"), n = ke("div"), r = ke("span"), s = On(i), o = tt(), l = ke("div"), a = ke("div"), u = tt();
16943
16943
  for (let N = 0; N < G.length; N += 1)
@@ -16971,8 +16971,8 @@ function Ap(t) {
16971
16971
  t[10] === "skipping"
16972
16972
  ), $(g, "class", "rr-timeline__time svelte-189zk2r"), $(n, "class", "rr-timeline svelte-189zk2r"), $(y, "class", "svelte-189zk2r"), $(z, "class", "svelte-189zk2r"), $(p, "class", "rr-controller__btns svelte-189zk2r"), $(e, "class", "rr-controller svelte-189zk2r");
16973
16973
  },
16974
- m(N, A) {
16975
- Ht(N, e, A), X(e, n), X(n, r), X(r, s), X(n, o), X(n, l), X(l, a), X(l, u);
16974
+ m(N, _) {
16975
+ Ht(N, e, _), X(e, n), X(n, r), X(r, s), X(n, o), X(n, l), X(l, a), X(l, u);
16976
16976
  for (let k = 0; k < G.length; k += 1)
16977
16977
  G[k] && G[k].m(l, null);
16978
16978
  X(l, c);
@@ -17008,18 +17008,18 @@ function Ap(t) {
17008
17008
  )
17009
17009
  ], de = !0);
17010
17010
  },
17011
- p(N, A) {
17012
- if ((!O || A[0] & /*currentTime*/
17011
+ p(N, _) {
17012
+ if ((!O || _[0] & /*currentTime*/
17013
17013
  64) && i !== (i = Xs(
17014
17014
  /*currentTime*/
17015
17015
  N[6]
17016
- ) + "") && Go(s, i), (!O || A[0] & /*percentage*/
17016
+ ) + "") && Go(s, i), (!O || _[0] & /*percentage*/
17017
17017
  4096) && we(
17018
17018
  a,
17019
17019
  "width",
17020
17020
  /*percentage*/
17021
17021
  N[12]
17022
- ), A[0] & /*inactivePeriods*/
17022
+ ), _[0] & /*inactivePeriods*/
17023
17023
  8192) {
17024
17024
  ne = Bn(
17025
17025
  /*inactivePeriods*/
@@ -17027,14 +17027,14 @@ function Ap(t) {
17027
17027
  );
17028
17028
  let T;
17029
17029
  for (T = 0; T < ne.length; T += 1) {
17030
- const K = _p(N, ne, T);
17031
- G[T] ? G[T].p(K, A) : (G[T] = Mp(K), G[T].c(), G[T].m(l, c));
17030
+ const K = Ap(N, ne, T);
17031
+ G[T] ? G[T].p(K, _) : (G[T] = Mp(K), G[T].c(), G[T].m(l, c));
17032
17032
  }
17033
17033
  for (; T < G.length; T += 1)
17034
17034
  G[T].d(1);
17035
17035
  G.length = ne.length;
17036
17036
  }
17037
- if (A[0] & /*customEvents*/
17037
+ if (_[0] & /*customEvents*/
17038
17038
  512) {
17039
17039
  _e = Bn(
17040
17040
  /*customEvents*/
@@ -17043,29 +17043,29 @@ function Ap(t) {
17043
17043
  let T;
17044
17044
  for (T = 0; T < _e.length; T += 1) {
17045
17045
  const K = Rp(N, _e, T);
17046
- W[T] ? W[T].p(K, A) : (W[T] = Np(K), W[T].c(), W[T].m(l, d));
17046
+ W[T] ? W[T].p(K, _) : (W[T] = Np(K), W[T].c(), W[T].m(l, d));
17047
17047
  }
17048
17048
  for (; T < W.length; T += 1)
17049
17049
  W[T].d(1);
17050
17050
  W.length = _e.length;
17051
17051
  }
17052
- if ((!O || A[0] & /*percentage*/
17052
+ if ((!O || _[0] & /*percentage*/
17053
17053
  4096) && we(
17054
17054
  f,
17055
17055
  "left",
17056
17056
  /*percentage*/
17057
17057
  N[12]
17058
- ), (!O || A[0] & /*speedState*/
17058
+ ), (!O || _[0] & /*speedState*/
17059
17059
  1024) && kr(
17060
17060
  l,
17061
17061
  "disabled",
17062
17062
  /*speedState*/
17063
17063
  N[10] === "skipping"
17064
- ), (!O || A[0] & /*meta*/
17064
+ ), (!O || _[0] & /*meta*/
17065
17065
  256) && S !== (S = Xs(
17066
17066
  /*meta*/
17067
17067
  N[8].totalTime
17068
- ) + "") && Go(v, S), M !== (M = J(N)) && (P.d(1), P = M(N), P && (P.c(), P.m(y, null))), A[0] & /*speedState, speedOption, speed, setSpeed*/
17068
+ ) + "") && Go(v, S), M !== (M = J(N)) && (P.d(1), P = M(N), P && (P.c(), P.m(y, null))), _[0] & /*speedState, speedOption, speed, setSpeed*/
17069
17069
  1066) {
17070
17070
  L = Bn(
17071
17071
  /*speedOption*/
@@ -17074,18 +17074,18 @@ function Ap(t) {
17074
17074
  let T;
17075
17075
  for (T = 0; T < L.length; T += 1) {
17076
17076
  const K = bp(N, L, T);
17077
- U[T] ? U[T].p(K, A) : (U[T] = Tp(K), U[T].c(), U[T].m(p, x));
17077
+ U[T] ? U[T].p(K, _) : (U[T] = Tp(K), U[T].c(), U[T].m(p, x));
17078
17078
  }
17079
17079
  for (; T < U.length; T += 1)
17080
17080
  U[T].d(1);
17081
17081
  U.length = L.length;
17082
17082
  }
17083
17083
  const k = {};
17084
- A[0] & /*speedState*/
17084
+ _[0] & /*speedState*/
17085
17085
  1024 && (k.disabled = /*speedState*/
17086
- N[10] === "skipping"), !_ && A[0] & /*skipInactive*/
17087
- 1 && (_ = !0, k.checked = /*skipInactive*/
17088
- N[0], ux(() => _ = !1)), E.$set(k);
17086
+ N[10] === "skipping"), !A && _[0] & /*skipInactive*/
17087
+ 1 && (A = !0, k.checked = /*skipInactive*/
17088
+ N[0], ux(() => A = !1)), E.$set(k);
17089
17089
  },
17090
17090
  i(N) {
17091
17091
  O || (Ft(E.$$.fragment, N), O = !0);
@@ -17194,7 +17194,7 @@ function Np(t) {
17194
17194
  }
17195
17195
  };
17196
17196
  }
17197
- function Y_(t) {
17197
+ function YA(t) {
17198
17198
  let e, n;
17199
17199
  return {
17200
17200
  c() {
@@ -17209,7 +17209,7 @@ function Y_(t) {
17209
17209
  }
17210
17210
  };
17211
17211
  }
17212
- function X_(t) {
17212
+ function XA(t) {
17213
17213
  let e, n;
17214
17214
  return {
17215
17215
  c() {
@@ -17285,10 +17285,10 @@ function Tp(t) {
17285
17285
  }
17286
17286
  };
17287
17287
  }
17288
- function Z_(t) {
17288
+ function ZA(t) {
17289
17289
  let e, n, r = (
17290
17290
  /*showController*/
17291
- t[2] && Ap(t)
17291
+ t[2] && _p(t)
17292
17292
  );
17293
17293
  return {
17294
17294
  c() {
@@ -17300,7 +17300,7 @@ function Z_(t) {
17300
17300
  p(i, s) {
17301
17301
  /*showController*/
17302
17302
  i[2] ? r ? (r.p(i, s), s[0] & /*showController*/
17303
- 4 && Ft(r, 1)) : (r = Ap(i), r.c(), Ft(r, 1), r.m(e.parentNode, e)) : r && (Ey(), br(r, 1, 1, () => {
17303
+ 4 && Ft(r, 1)) : (r = _p(i), r.c(), Ft(r, 1), r.m(e.parentNode, e)) : r && (Ey(), br(r, 1, 1, () => {
17304
17304
  r = null;
17305
17305
  }), ky());
17306
17306
  },
@@ -17319,15 +17319,15 @@ function Ip(t, e, n) {
17319
17319
  const r = e - t;
17320
17320
  return (100 - (e - n) / r * 100).toFixed(2);
17321
17321
  }
17322
- function K_(t, e, n) {
17322
+ function KA(t, e, n) {
17323
17323
  const r = ox();
17324
- let { replayer: i } = e, { showController: s } = e, { autoPlay: o } = e, { skipInactive: l } = e, { speedOption: a } = e, { speed: u = a.length ? a[0] : 1 } = e, { tags: c = {} } = e, { inactiveColor: d } = e, f = 0, m = null, g, S, v, h, p = !1, y = null, C = null, x, E, _, b;
17324
+ let { replayer: i } = e, { showController: s } = e, { autoPlay: o } = e, { skipInactive: l } = e, { speedOption: a } = e, { speed: u = a.length ? a[0] : 1 } = e, { tags: c = {} } = e, { inactiveColor: d } = e, f = 0, m = null, g, S, v, h, p = !1, y = null, C = null, x, E, A, b;
17325
17325
  const z = () => {
17326
17326
  O();
17327
- function A() {
17328
- n(6, f = i.getCurrentTime()), p && f >= p && (C ? _e(C.start, C.end, !0, void 0) : (i.pause(), y && (y(), y = null))), f < x.totalTime && (m = requestAnimationFrame(A));
17327
+ function _() {
17328
+ n(6, f = i.getCurrentTime()), p && f >= p && (C ? _e(C.start, C.end, !0, void 0) : (i.pause(), y && (y(), y = null))), f < x.totalTime && (m = requestAnimationFrame(_));
17329
17329
  }
17330
- m = requestAnimationFrame(A);
17330
+ m = requestAnimationFrame(_);
17331
17331
  }, O = () => {
17332
17332
  m && (cancelAnimationFrame(m), m = null);
17333
17333
  }, de = () => {
@@ -17343,31 +17343,31 @@ function K_(t, e, n) {
17343
17343
  g === "paused" && (h ? (i.play(), h = !1) : i.play(f));
17344
17344
  }, ne = () => {
17345
17345
  g === "playing" && (i.pause(), p = !1);
17346
- }, G = (A, k) => {
17347
- n(6, f = A), p = !1, h = !1, (typeof k == "boolean" ? k : g === "playing") ? i.play(A) : i.pause(A);
17348
- }, _e = (A, k, T = !1, K = void 0) => {
17349
- T ? C = { start: A, end: k } : C = null, n(6, f = A), p = k, y = K || null, i.play(A);
17350
- }, W = (A) => {
17346
+ }, G = (_, k) => {
17347
+ n(6, f = _), p = !1, h = !1, (typeof k == "boolean" ? k : g === "playing") ? i.play(_) : i.pause(_);
17348
+ }, _e = (_, k, T = !1, K = void 0) => {
17349
+ T ? C = { start: _, end: k } : C = null, n(6, f = _), p = k, y = K || null, i.play(_);
17350
+ }, W = (_) => {
17351
17351
  if (S === "skipping")
17352
17352
  return;
17353
17353
  const k = v.getBoundingClientRect();
17354
- let K = (A.clientX - k.left) / k.width;
17354
+ let K = (_.clientX - k.left) / k.width;
17355
17355
  K < 0 ? K = 0 : K > 1 && (K = 1);
17356
17356
  const St = x.totalTime * K;
17357
17357
  G(St);
17358
- }, J = (A) => {
17359
- S !== "skipping" && (A.key === "ArrowLeft" ? G(f - 5) : A.key === "ArrowRight" && G(f + 5));
17360
- }, M = (A) => {
17358
+ }, J = (_) => {
17359
+ S !== "skipping" && (_.key === "ArrowLeft" ? G(f - 5) : _.key === "ArrowRight" && G(f + 5));
17360
+ }, M = (_) => {
17361
17361
  let k = g === "playing";
17362
- n(1, u = A), k && i.pause(), i.setConfig({ speed: u }), k && i.play(f);
17362
+ n(1, u = _), k && i.pause(), i.setConfig({ speed: u }), k && i.play(f);
17363
17363
  }, P = () => {
17364
17364
  n(0, l = !l);
17365
17365
  }, L = () => Promise.resolve().then(() => {
17366
17366
  n(8, x = i.getMetaData());
17367
17367
  });
17368
17368
  Sy(() => {
17369
- n(7, g = i.service.state.value), n(10, S = i.speedService.state.value), i.on("state-change", (A) => {
17370
- const { player: k, speed: T } = A;
17369
+ n(7, g = i.service.state.value), n(10, S = i.speedService.state.value), i.on("state-change", (_) => {
17370
+ const { player: k, speed: T } = _;
17371
17371
  if (k?.value && g !== k.value)
17372
17372
  switch (n(7, g = k.value), g) {
17373
17373
  case "playing":
@@ -17386,31 +17386,31 @@ function K_(t, e, n) {
17386
17386
  }), Cy(() => {
17387
17387
  i.pause(), O();
17388
17388
  });
17389
- function U(A) {
17390
- _n[A ? "unshift" : "push"](() => {
17391
- v = A, n(11, v);
17389
+ function U(_) {
17390
+ An[_ ? "unshift" : "push"](() => {
17391
+ v = _, n(11, v);
17392
17392
  });
17393
17393
  }
17394
- const Z = (A) => M(A);
17395
- function je(A) {
17396
- l = A, n(0, l);
17394
+ const Z = (_) => M(_);
17395
+ function je(_) {
17396
+ l = _, n(0, l);
17397
17397
  }
17398
17398
  const N = () => r("fullscreen");
17399
- return t.$$set = (A) => {
17400
- "replayer" in A && n(17, i = A.replayer), "showController" in A && n(2, s = A.showController), "autoPlay" in A && n(18, o = A.autoPlay), "skipInactive" in A && n(0, l = A.skipInactive), "speedOption" in A && n(3, a = A.speedOption), "speed" in A && n(1, u = A.speed), "tags" in A && n(19, c = A.tags), "inactiveColor" in A && n(20, d = A.inactiveColor);
17399
+ return t.$$set = (_) => {
17400
+ "replayer" in _ && n(17, i = _.replayer), "showController" in _ && n(2, s = _.showController), "autoPlay" in _ && n(18, o = _.autoPlay), "skipInactive" in _ && n(0, l = _.skipInactive), "speedOption" in _ && n(3, a = _.speedOption), "speed" in _ && n(1, u = _.speed), "tags" in _ && n(19, c = _.tags), "inactiveColor" in _ && n(20, d = _.inactiveColor);
17401
17401
  }, t.$$.update = () => {
17402
17402
  if (t.$$.dirty[0] & /*currentTime*/
17403
17403
  64 && r("ui-update-current-time", { payload: f }), t.$$.dirty[0] & /*playerState*/
17404
17404
  128 && r("ui-update-player-state", { payload: g }), t.$$.dirty[0] & /*replayer*/
17405
17405
  131072 && n(8, x = i.getMetaData()), t.$$.dirty[0] & /*currentTime, meta*/
17406
17406
  320) {
17407
- const A = Math.min(1, f / x.totalTime);
17408
- n(12, E = `${100 * A}%`), r("ui-update-progress", { payload: A });
17407
+ const _ = Math.min(1, f / x.totalTime);
17408
+ n(12, E = `${100 * _}%`), r("ui-update-progress", { payload: _ });
17409
17409
  }
17410
17410
  t.$$.dirty[0] & /*replayer, tags*/
17411
- 655360 && n(9, _ = (() => {
17412
- const { context: A } = i.service.state, k = A.events.length, T = A.events[0].timestamp, K = A.events[k - 1].timestamp, St = [];
17413
- return A.events.forEach((Tt) => {
17411
+ 655360 && n(9, A = (() => {
17412
+ const { context: _ } = i.service.state, k = _.events.length, T = _.events[0].timestamp, K = _.events[k - 1].timestamp, St = [];
17413
+ return _.events.forEach((Tt) => {
17414
17414
  if (Tt.type === Gf.Custom) {
17415
17415
  const yn = {
17416
17416
  name: Tt.data.tag,
@@ -17423,7 +17423,7 @@ function K_(t, e, n) {
17423
17423
  })()), t.$$.dirty[0] & /*replayer, inactiveColor*/
17424
17424
  1179648 && n(13, b = (() => {
17425
17425
  try {
17426
- const { context: A } = i.service.state, k = A.events.length, T = A.events[0].timestamp, K = A.events[k - 1].timestamp, St = W_(A.events, i.config.inactivePeriodThreshold), Tt = (yn, ww, Sw, Cw) => {
17426
+ const { context: _ } = i.service.state, k = _.events.length, T = _.events[0].timestamp, K = _.events[k - 1].timestamp, St = WA(_.events, i.config.inactivePeriodThreshold), Tt = (yn, ww, Sw, Cw) => {
17427
17427
  const xw = ww - yn;
17428
17428
  return ((Cw - Sw) / xw * 100).toFixed(2);
17429
17429
  };
@@ -17447,7 +17447,7 @@ function K_(t, e, n) {
17447
17447
  f,
17448
17448
  g,
17449
17449
  x,
17450
- _,
17450
+ A,
17451
17451
  S,
17452
17452
  v,
17453
17453
  E,
@@ -17471,13 +17471,13 @@ function K_(t, e, n) {
17471
17471
  N
17472
17472
  ];
17473
17473
  }
17474
- class Q_ extends Cf {
17474
+ class QA extends Cf {
17475
17475
  constructor(e) {
17476
17476
  super(), Sf(
17477
17477
  this,
17478
17478
  e,
17479
- K_,
17480
- Z_,
17479
+ KA,
17480
+ ZA,
17481
17481
  yf,
17482
17482
  {
17483
17483
  replayer: 17,
@@ -17557,7 +17557,7 @@ function Dp(t) {
17557
17557
  t[5]
17558
17558
  )
17559
17559
  };
17560
- return e = new Q_({ props: r }), t[32](e), e.$on(
17560
+ return e = new QA({ props: r }), t[32](e), e.$on(
17561
17561
  "fullscreen",
17562
17562
  /*fullscreen_handler*/
17563
17563
  t[33]
@@ -17597,7 +17597,7 @@ function Dp(t) {
17597
17597
  }
17598
17598
  };
17599
17599
  }
17600
- function J_(t) {
17600
+ function JA(t) {
17601
17601
  let e, n, r, i, s = (
17602
17602
  /*replayer*/
17603
17603
  t[7] && Dp(t)
@@ -17650,10 +17650,10 @@ function J_(t) {
17650
17650
  };
17651
17651
  }
17652
17652
  const Op = 80;
17653
- function q_(t, e, n) {
17653
+ function qA(t, e, n) {
17654
17654
  let { width: r = 1024 } = e, { height: i = 576 } = e, { maxScale: s = 1 } = e, { events: o } = e, { skipInactive: l = !0 } = e, { autoPlay: a = !0 } = e, { speedOption: u = [1, 2, 4, 8] } = e, { speed: c = 1 } = e, { showController: d = !0 } = e, { tags: f = {} } = e, { inactiveColor: m = "#D4D4D4" } = e, g;
17655
17655
  const S = () => g.getMirror();
17656
- let v, h, p, y = r, C = i, x, E, _;
17656
+ let v, h, p, y = r, C = i, x, E, A;
17657
17657
  const b = (k, T) => {
17658
17658
  const K = r / T.width, St = i / T.height, Tt = [K, St];
17659
17659
  s && Tt.push(s), k.style.transform = `scale(${Math.min(...Tt)})translate(-50%, -50%)`;
@@ -17663,7 +17663,7 @@ function q_(t, e, n) {
17663
17663
  height: g.iframe.offsetHeight
17664
17664
  });
17665
17665
  }, O = () => {
17666
- v && (Ep() ? z_() : $_(v));
17666
+ v && (Ep() ? zA() : $A(v));
17667
17667
  }, de = (k, T) => {
17668
17668
  switch (g.on(k, T), k) {
17669
17669
  case "ui-update-current-time":
@@ -17704,17 +17704,17 @@ function q_(t, e, n) {
17704
17704
  ...
17705
17705
  }
17706
17706
  `);
17707
- n(7, g = new b_(
17707
+ n(7, g = new bA(
17708
17708
  o,
17709
17709
  {
17710
17710
  speed: c,
17711
17711
  root: h,
17712
- unpackFn: j_,
17712
+ unpackFn: jA,
17713
17713
  ...e
17714
17714
  }
17715
17715
  )), g.on("resize", (k) => {
17716
17716
  b(g.wrapper, k);
17717
- }), p = U_(() => {
17717
+ }), p = UA(() => {
17718
17718
  Ep() ? setTimeout(
17719
17719
  () => {
17720
17720
  y = r, C = i, n(13, r = v.offsetWidth), n(14, i = v.offsetHeight - (d ? Op : 0)), b(g.wrapper, {
@@ -17732,18 +17732,18 @@ function q_(t, e, n) {
17732
17732
  p && p();
17733
17733
  });
17734
17734
  function Z(k) {
17735
- _n[k ? "unshift" : "push"](() => {
17735
+ An[k ? "unshift" : "push"](() => {
17736
17736
  h = k, n(9, h);
17737
17737
  });
17738
17738
  }
17739
17739
  function je(k) {
17740
- _n[k ? "unshift" : "push"](() => {
17740
+ An[k ? "unshift" : "push"](() => {
17741
17741
  x = k, n(10, x);
17742
17742
  });
17743
17743
  }
17744
17744
  const N = () => O();
17745
- function A(k) {
17746
- _n[k ? "unshift" : "push"](() => {
17745
+ function _(k) {
17746
+ An[k ? "unshift" : "push"](() => {
17747
17747
  v = k, n(8, v);
17748
17748
  });
17749
17749
  }
@@ -17755,7 +17755,7 @@ function q_(t, e, n) {
17755
17755
  width: `${r}px`,
17756
17756
  height: `${i}px`
17757
17757
  })), t.$$.dirty[0] & /*width, height, showController*/
17758
- 24584 && n(12, _ = Cp({
17758
+ 24584 && n(12, A = Cp({
17759
17759
  width: `${r}px`,
17760
17760
  height: `${i + (d ? Op : 0)}px`
17761
17761
  }));
@@ -17772,7 +17772,7 @@ function q_(t, e, n) {
17772
17772
  h,
17773
17773
  x,
17774
17774
  E,
17775
- _,
17775
+ A,
17776
17776
  r,
17777
17777
  i,
17778
17778
  s,
@@ -17794,16 +17794,16 @@ function q_(t, e, n) {
17794
17794
  Z,
17795
17795
  je,
17796
17796
  N,
17797
- A
17797
+ _
17798
17798
  ];
17799
17799
  }
17800
- let eA = class extends Cf {
17800
+ let e_ = class extends Cf {
17801
17801
  constructor(e) {
17802
17802
  super(), Sf(
17803
17803
  this,
17804
17804
  e,
17805
- q_,
17806
- J_,
17805
+ qA,
17806
+ JA,
17807
17807
  yf,
17808
17808
  {
17809
17809
  width: 13,
@@ -17879,7 +17879,7 @@ let eA = class extends Cf {
17879
17879
  return this.$$.ctx[30];
17880
17880
  }
17881
17881
  };
17882
- class tA extends eA {
17882
+ class t_ extends e_ {
17883
17883
  constructor(e) {
17884
17884
  super({
17885
17885
  target: e.target,
@@ -17887,7 +17887,7 @@ class tA extends eA {
17887
17887
  });
17888
17888
  }
17889
17889
  }
17890
- const nA = [
17890
+ const n_ = [
17891
17891
  "image/png",
17892
17892
  "image/jpeg",
17893
17893
  "image/webp",
@@ -17895,16 +17895,16 @@ const nA = [
17895
17895
  "application/pdf",
17896
17896
  "text/plain",
17897
17897
  "application/json"
17898
- ], rA = 2 * 1024 * 1024, pc = 5;
17899
- function iA(t) {
17900
- const [e, n] = Te.useState(""), [r, i] = Te.useState([]), [s, o] = Te.useState(!1), [l, a] = Te.useState("console"), u = e.trim().length > 0;
17901
- return /* @__PURE__ */ w.jsxs(dA, { children: [
17902
- /* @__PURE__ */ w.jsxs("div", { style: pA, children: [
17898
+ ], r_ = 2 * 1024 * 1024, pc = 5;
17899
+ function i_(t) {
17900
+ const [e, n] = Re.useState(""), [r, i] = Re.useState([]), [s, o] = Re.useState(!1), [l, a] = Re.useState("console"), u = e.trim().length > 0;
17901
+ return /* @__PURE__ */ w.jsxs(d_, { children: [
17902
+ /* @__PURE__ */ w.jsxs("div", { style: p_, children: [
17903
17903
  /* @__PURE__ */ w.jsx("h2", { style: { margin: 0, fontSize: 18, fontWeight: 700 }, children: "Review & send" }),
17904
17904
  /* @__PURE__ */ w.jsx("span", { style: { fontSize: 12, color: "#6b7280" }, children: "You're seeing exactly what we'll upload." })
17905
17905
  ] }),
17906
17906
  /* @__PURE__ */ w.jsx(
17907
- oA,
17907
+ o_,
17908
17908
  {
17909
17909
  hasReplay: t.hasReplay && t.replayEvents.length > 0,
17910
17910
  events: t.replayEvents,
@@ -17929,7 +17929,7 @@ function iA(t) {
17929
17929
  onChange: (c) => n(c.target.value),
17930
17930
  rows: 4,
17931
17931
  placeholder: "Describe the bug — what you expected, what happened instead…",
17932
- style: mA
17932
+ style: m_
17933
17933
  }
17934
17934
  )
17935
17935
  ] }),
@@ -17949,7 +17949,7 @@ function iA(t) {
17949
17949
  type: "file",
17950
17950
  multiple: !0,
17951
17951
  accept: ".png,.jpg,.jpeg,.webp,.gif,.pdf,.txt,.log,.json",
17952
- onChange: (c) => sA(c.target.files, r, i),
17952
+ onChange: (c) => s_(c.target.files, r, i),
17953
17953
  style: { fontSize: 12 }
17954
17954
  }
17955
17955
  ),
@@ -17966,7 +17966,7 @@ function iA(t) {
17966
17966
  {
17967
17967
  type: "button",
17968
17968
  onClick: () => o((c) => !c),
17969
- style: gA,
17969
+ style: g_,
17970
17970
  children: [
17971
17971
  /* @__PURE__ */ w.jsx("span", { children: s ? "▾" : "▸" }),
17972
17972
  /* @__PURE__ */ w.jsx("span", { style: { fontWeight: 600 }, children: "Inspect what's being sent" }),
@@ -17983,8 +17983,8 @@ function iA(t) {
17983
17983
  ]
17984
17984
  }
17985
17985
  ),
17986
- s && /* @__PURE__ */ w.jsxs("div", { style: yA, children: [
17987
- /* @__PURE__ */ w.jsxs("div", { style: vA, children: [
17986
+ s && /* @__PURE__ */ w.jsxs("div", { style: y_, children: [
17987
+ /* @__PURE__ */ w.jsxs("div", { style: v_, children: [
17988
17988
  /* @__PURE__ */ w.jsxs(Zs, { active: l === "console", onClick: () => a("console"), children: [
17989
17989
  "Console (",
17990
17990
  t.consoleLogs.length,
@@ -18010,11 +18010,11 @@ function iA(t) {
18010
18010
  /* @__PURE__ */ w.jsx(Zs, { active: l === "metadata", onClick: () => a("metadata"), children: "Metadata" })
18011
18011
  ] }),
18012
18012
  /* @__PURE__ */ w.jsxs("div", { style: { padding: "12px 14px", maxHeight: 240, overflow: "auto" }, children: [
18013
- l === "console" && /* @__PURE__ */ w.jsx(lA, { logs: t.consoleLogs }),
18014
- l === "network" && /* @__PURE__ */ w.jsx(aA, { events: t.networkEvents }),
18015
- l === "redactions" && /* @__PURE__ */ w.jsx(uA, { summary: t.redactionSummary }),
18013
+ l === "console" && /* @__PURE__ */ w.jsx(l_, { logs: t.consoleLogs }),
18014
+ l === "network" && /* @__PURE__ */ w.jsx(a_, { events: t.networkEvents }),
18015
+ l === "redactions" && /* @__PURE__ */ w.jsx(u_, { summary: t.redactionSummary }),
18016
18016
  l === "metadata" && /* @__PURE__ */ w.jsx(
18017
- cA,
18017
+ c_,
18018
18018
  {
18019
18019
  pageUrl: t.pageUrl,
18020
18020
  userAgent: t.userAgent,
@@ -18028,13 +18028,13 @@ function iA(t) {
18028
18028
  ] })
18029
18029
  ] })
18030
18030
  ] }),
18031
- /* @__PURE__ */ w.jsxs("div", { style: SA, children: [
18031
+ /* @__PURE__ */ w.jsxs("div", { style: S_, children: [
18032
18032
  /* @__PURE__ */ w.jsxs("div", { style: { display: "flex", gap: 8 }, children: [
18033
18033
  /* @__PURE__ */ w.jsx(Lp, { onClick: t.onCancel, children: "Cancel" }),
18034
18034
  /* @__PURE__ */ w.jsx(Lp, { onClick: t.onBackToMarkup, children: "← Back to edit" })
18035
18035
  ] }),
18036
18036
  /* @__PURE__ */ w.jsx(
18037
- hA,
18037
+ h_,
18038
18038
  {
18039
18039
  color: t.color,
18040
18040
  onClick: () => t.onSend({ description: e, annotations: [], attachments: r }),
@@ -18046,16 +18046,16 @@ function iA(t) {
18046
18046
  ] })
18047
18047
  ] });
18048
18048
  }
18049
- function sA(t, e, n) {
18049
+ function s_(t, e, n) {
18050
18050
  if (!t) return;
18051
18051
  const r = [...e];
18052
18052
  for (const i of Array.from(t))
18053
- if (nA.includes(i.type) && !(i.size > rA) && (r.push(i), r.length >= pc))
18053
+ if (n_.includes(i.type) && !(i.size > r_) && (r.push(i), r.length >= pc))
18054
18054
  break;
18055
18055
  n(r.slice(0, pc));
18056
18056
  }
18057
- function oA(t) {
18058
- const [e, n] = Te.useState(
18057
+ function o_(t) {
18058
+ const [e, n] = Re.useState(
18059
18059
  t.hasReplay ? "replay" : "screenshot"
18060
18060
  );
18061
18061
  return /* @__PURE__ */ w.jsxs(
@@ -18127,7 +18127,7 @@ function oA(t) {
18127
18127
  }
18128
18128
  ),
18129
18129
  e === "replay" && t.hasReplay ? /* @__PURE__ */ w.jsx(
18130
- fA,
18130
+ f_,
18131
18131
  {
18132
18132
  events: t.events,
18133
18133
  audioBlobUrl: t.audioBlobUrl,
@@ -18164,11 +18164,11 @@ function oA(t) {
18164
18164
  }
18165
18165
  );
18166
18166
  }
18167
- function lA({ logs: t }) {
18168
- return t.length === 0 ? /* @__PURE__ */ w.jsx(Yf, { children: "Nothing was logged during the recording." }) : /* @__PURE__ */ w.jsx("pre", { style: wA, children: t.map((e) => `[${Xf(e.timestamp)}] [${e.level}] ${e.message}`).join(`
18167
+ function l_({ logs: t }) {
18168
+ return t.length === 0 ? /* @__PURE__ */ w.jsx(Yf, { children: "Nothing was logged during the recording." }) : /* @__PURE__ */ w.jsx("pre", { style: w_, children: t.map((e) => `[${Xf(e.timestamp)}] [${e.level}] ${e.message}`).join(`
18169
18169
  `) });
18170
18170
  }
18171
- function aA({ events: t }) {
18171
+ function a_({ events: t }) {
18172
18172
  return t.length === 0 ? /* @__PURE__ */ w.jsx(Yf, { children: "No network requests captured." }) : /* @__PURE__ */ w.jsxs("table", { style: { width: "100%", fontSize: 11, borderCollapse: "collapse" }, children: [
18173
18173
  /* @__PURE__ */ w.jsx("thead", { children: /* @__PURE__ */ w.jsxs("tr", { style: { color: "#6b7280", textAlign: "left" }, children: [
18174
18174
  /* @__PURE__ */ w.jsx("th", { style: Ks, children: "method" }),
@@ -18191,7 +18191,7 @@ function aA({ events: t }) {
18191
18191
  )) })
18192
18192
  ] });
18193
18193
  }
18194
- function uA({ summary: t }) {
18194
+ function u_({ summary: t }) {
18195
18195
  const e = Object.entries(t.counts).filter(([, n]) => n > 0);
18196
18196
  return e.length === 0 ? /* @__PURE__ */ w.jsx(Yf, { children: "No regex matches. Form input values are still automatically masked by rrweb." }) : /* @__PURE__ */ w.jsxs("div", { children: [
18197
18197
  /* @__PURE__ */ w.jsx("div", { style: { display: "flex", flexWrap: "wrap", gap: 6, marginBottom: 10 }, children: e.map(([n, r]) => /* @__PURE__ */ w.jsxs(
@@ -18222,7 +18222,7 @@ function uA({ summary: t }) {
18222
18222
  ] })
18223
18223
  ] });
18224
18224
  }
18225
- function cA(t) {
18225
+ function c_(t) {
18226
18226
  const e = [
18227
18227
  ["Page URL", t.pageUrl],
18228
18228
  ["User agent", t.userAgent],
@@ -18327,13 +18327,13 @@ function Pp({
18327
18327
  }
18328
18328
  );
18329
18329
  }
18330
- function fA(t) {
18331
- const e = Te.useRef(null), n = Te.useRef(null);
18332
- return Te.useEffect(() => {
18330
+ function f_(t) {
18331
+ const e = Re.useRef(null), n = Re.useRef(null);
18332
+ return Re.useEffect(() => {
18333
18333
  const r = e.current;
18334
18334
  if (!r || t.events.length === 0) return;
18335
18335
  r.replaceChildren();
18336
- const i = Math.min(720, r.clientWidth || 720), s = t.capturedViewport.height / Math.max(1, t.capturedViewport.width), o = i, l = Math.max(280, Math.min(420, Math.round(o * s))), a = new tA({
18336
+ const i = Math.min(720, r.clientWidth || 720), s = t.capturedViewport.height / Math.max(1, t.capturedViewport.width), o = i, l = Math.max(280, Math.min(420, Math.round(o * s))), a = new t_({
18337
18337
  target: r,
18338
18338
  props: {
18339
18339
  events: t.events,
@@ -18380,7 +18380,7 @@ function fA(t) {
18380
18380
  t.audioBlobUrl && /* @__PURE__ */ w.jsx("audio", { ref: n, src: t.audioBlobUrl, preload: "auto", style: { display: "none" } })
18381
18381
  ] });
18382
18382
  }
18383
- function dA({ children: t }) {
18383
+ function d_({ children: t }) {
18384
18384
  return /* @__PURE__ */ w.jsx(
18385
18385
  "div",
18386
18386
  {
@@ -18415,7 +18415,7 @@ function dA({ children: t }) {
18415
18415
  }
18416
18416
  );
18417
18417
  }
18418
- function hA({
18418
+ function h_({
18419
18419
  color: t,
18420
18420
  onClick: e,
18421
18421
  children: n,
@@ -18464,7 +18464,7 @@ function Lp({
18464
18464
  }
18465
18465
  );
18466
18466
  }
18467
- const pA = {
18467
+ const p_ = {
18468
18468
  display: "flex",
18469
18469
  alignItems: "baseline",
18470
18470
  justifyContent: "space-between",
@@ -18475,7 +18475,7 @@ const pA = {
18475
18475
  fontWeight: 600,
18476
18476
  marginBottom: 6,
18477
18477
  color: "#374151"
18478
- }, mA = {
18478
+ }, m_ = {
18479
18479
  width: "100%",
18480
18480
  boxSizing: "border-box",
18481
18481
  padding: 10,
@@ -18484,7 +18484,7 @@ const pA = {
18484
18484
  fontFamily: "inherit",
18485
18485
  fontSize: 13,
18486
18486
  resize: "vertical"
18487
- }, gA = {
18487
+ }, g_ = {
18488
18488
  width: "100%",
18489
18489
  display: "flex",
18490
18490
  alignItems: "center",
@@ -18497,19 +18497,19 @@ const pA = {
18497
18497
  color: "#1f2937",
18498
18498
  cursor: "pointer",
18499
18499
  textAlign: "left"
18500
- }, yA = {
18500
+ }, y_ = {
18501
18501
  marginTop: 8,
18502
18502
  border: "1px solid #e5e7eb",
18503
18503
  borderRadius: 8,
18504
18504
  background: "#fafafa",
18505
18505
  overflow: "hidden"
18506
- }, vA = {
18506
+ }, v_ = {
18507
18507
  display: "flex",
18508
18508
  gap: 4,
18509
18509
  background: "#f3f4f6",
18510
18510
  borderBottom: "1px solid #e5e7eb",
18511
18511
  padding: "0 8px"
18512
- }, wA = {
18512
+ }, w_ = {
18513
18513
  margin: 0,
18514
18514
  fontFamily: "ui-monospace, monospace",
18515
18515
  fontSize: 11,
@@ -18527,7 +18527,7 @@ const pA = {
18527
18527
  }, Qs = {
18528
18528
  padding: "6px 8px",
18529
18529
  verticalAlign: "top"
18530
- }, SA = {
18530
+ }, S_ = {
18531
18531
  position: "sticky",
18532
18532
  bottom: -22,
18533
18533
  marginTop: 22,
@@ -18547,21 +18547,21 @@ function Xf(t) {
18547
18547
  const e = Math.floor(t / 1e3), n = Math.floor(e / 60), r = e % 60;
18548
18548
  return `${n}:${String(r).padStart(2, "0")}`;
18549
18549
  }
18550
- const CA = {
18550
+ const C_ = {
18551
18551
  "bottom-right": { right: 20, bottom: 20 },
18552
18552
  "bottom-left": { left: 20, bottom: 20 },
18553
18553
  "top-right": { right: 20, top: 20 },
18554
18554
  "top-left": { left: 20, top: 20 }
18555
18555
  };
18556
- function xA(t) {
18556
+ function x_(t) {
18557
18557
  return /* @__PURE__ */ w.jsxs(
18558
18558
  "div",
18559
18559
  {
18560
18560
  "data-bugjar-block": "true",
18561
- style: { position: "fixed", zIndex: 2147483e3, ...CA[t.position] },
18561
+ style: { position: "fixed", zIndex: 2147483e3, ...C_[t.position] },
18562
18562
  children: [
18563
18563
  t.view === "idle" && t.triggerVisible && /* @__PURE__ */ w.jsx(
18564
- kA,
18564
+ k_,
18565
18565
  {
18566
18566
  color: t.primaryColor,
18567
18567
  label: t.triggerLabel,
@@ -18593,7 +18593,7 @@ function xA(t) {
18593
18593
  }
18594
18594
  ),
18595
18595
  t.view === "preview" && t.preview && /* @__PURE__ */ w.jsx(
18596
- iA,
18596
+ i_,
18597
18597
  {
18598
18598
  color: t.primaryColor,
18599
18599
  hasReplay: t.preview.hasReplay,
@@ -18612,9 +18612,9 @@ function xA(t) {
18612
18612
  onSend: t.onSendReport
18613
18613
  }
18614
18614
  ),
18615
- t.view === "uploading" && /* @__PURE__ */ w.jsx(AA, { children: "Uploading report…" }),
18615
+ t.view === "uploading" && /* @__PURE__ */ w.jsx(__, { color: t.primaryColor }),
18616
18616
  t.view === "success" && /* @__PURE__ */ w.jsx(
18617
- MA,
18617
+ M_,
18618
18618
  {
18619
18619
  color: t.primaryColor,
18620
18620
  url: t.preview?.reportUrl ?? null,
@@ -18622,7 +18622,7 @@ function xA(t) {
18622
18622
  }
18623
18623
  ),
18624
18624
  t.view === "failed" && /* @__PURE__ */ w.jsx(
18625
- NA,
18625
+ N_,
18626
18626
  {
18627
18627
  error: t.error ?? "Upload failed",
18628
18628
  onDismiss: t.onCancel,
@@ -18631,12 +18631,12 @@ function xA(t) {
18631
18631
  }
18632
18632
  }
18633
18633
  ),
18634
- t.resumingToast && /* @__PURE__ */ w.jsx(EA, { color: t.primaryColor, remainingMs: t.resumingToast.remainingMs })
18634
+ t.resumingToast && /* @__PURE__ */ w.jsx(E_, { color: t.primaryColor, remainingMs: t.resumingToast.remainingMs })
18635
18635
  ]
18636
18636
  }
18637
18637
  );
18638
18638
  }
18639
- function EA({ color: t, remainingMs: e }) {
18639
+ function E_({ color: t, remainingMs: e }) {
18640
18640
  const n = Math.max(1, Math.ceil(e / 1e3));
18641
18641
  return /* @__PURE__ */ w.jsxs(
18642
18642
  "div",
@@ -18684,12 +18684,12 @@ function EA({ color: t, remainingMs: e }) {
18684
18684
  }
18685
18685
  );
18686
18686
  }
18687
- function kA({
18687
+ function k_({
18688
18688
  color: t,
18689
18689
  label: e,
18690
18690
  onClick: n
18691
18691
  }) {
18692
- const r = bA(t, 0.12), i = RA(t, 0.33);
18692
+ const r = b_(t, 0.12), i = R_(t, 0.33);
18693
18693
  return /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
18694
18694
  /* @__PURE__ */ w.jsx("style", { children: `
18695
18695
  [data-bugjar-block] .bugjar-trigger {
@@ -18725,24 +18725,24 @@ function kA({
18725
18725
  }
18726
18726
  ` }),
18727
18727
  /* @__PURE__ */ w.jsxs("button", { type: "button", className: "bugjar-trigger", onClick: n, children: [
18728
- /* @__PURE__ */ w.jsx(_A, { size: 14, stroke: 2 }),
18728
+ /* @__PURE__ */ w.jsx(A_, { size: 14, stroke: 2 }),
18729
18729
  e
18730
18730
  ] })
18731
18731
  ] });
18732
18732
  }
18733
- function bA(t, e) {
18733
+ function b_(t, e) {
18734
18734
  const n = t.match(/^#([0-9a-f]{6})$/i);
18735
18735
  if (!n) return t;
18736
18736
  const r = parseInt(n[1], 16), i = Math.max(0, Math.round((r >> 16 & 255) * (1 - e))), s = Math.max(0, Math.round((r >> 8 & 255) * (1 - e))), o = Math.max(0, Math.round((r & 255) * (1 - e)));
18737
18737
  return `#${(i << 16 | s << 8 | o).toString(16).padStart(6, "0")}`;
18738
18738
  }
18739
- function RA(t, e) {
18739
+ function R_(t, e) {
18740
18740
  const n = t.match(/^#([0-9a-f]{6})$/i);
18741
18741
  if (!n) return t;
18742
18742
  const r = parseInt(n[1], 16);
18743
18743
  return `rgba(${r >> 16 & 255}, ${r >> 8 & 255}, ${r & 255}, ${e})`;
18744
18744
  }
18745
- function _A({ size: t = 14, stroke: e = 1.7 }) {
18745
+ function A_({ size: t = 14, stroke: e = 1.7 }) {
18746
18746
  return /* @__PURE__ */ w.jsxs(
18747
18747
  "svg",
18748
18748
  {
@@ -18768,23 +18768,70 @@ function _A({ size: t = 14, stroke: e = 1.7 }) {
18768
18768
  }
18769
18769
  );
18770
18770
  }
18771
- function AA({ children: t }) {
18772
- return /* @__PURE__ */ w.jsx(
18773
- "div",
18774
- {
18775
- style: {
18776
- background: "#111827",
18777
- color: "white",
18778
- padding: "10px 16px",
18779
- borderRadius: 8,
18780
- fontFamily: "system-ui",
18781
- fontSize: 13
18782
- },
18783
- children: t
18784
- }
18785
- );
18771
+ function __({ color: t }) {
18772
+ const [e, n] = Re.useState(0);
18773
+ Re.useEffect(() => {
18774
+ const i = window.setTimeout(() => n(1), 4e3), s = window.setTimeout(() => n(2), 1e4);
18775
+ return () => {
18776
+ window.clearTimeout(i), window.clearTimeout(s);
18777
+ };
18778
+ }, []);
18779
+ const r = ["Uploading your report…", "Uploading replay — this can take a moment…", "Almost done — finalizing…"];
18780
+ return /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
18781
+ /* @__PURE__ */ w.jsx("style", { children: `
18782
+ @keyframes bugjar-spin { to { transform: rotate(360deg); } }
18783
+ @keyframes bugjar-bar { 0% { background-position: 0 0; } 100% { background-position: 24px 0; } }
18784
+ .bugjar-spinner {
18785
+ width: 14px;
18786
+ height: 14px;
18787
+ border-radius: 50%;
18788
+ border: 2px solid rgba(255,255,255,0.25);
18789
+ border-top-color: white;
18790
+ animation: bugjar-spin 0.8s linear infinite;
18791
+ flex-shrink: 0;
18792
+ }
18793
+ .bugjar-upload-bar {
18794
+ height: 2px;
18795
+ background: linear-gradient(
18796
+ 90deg,
18797
+ transparent 0%,
18798
+ ${t} 30%,
18799
+ ${t} 60%,
18800
+ transparent 100%
18801
+ );
18802
+ background-size: 200% 100%;
18803
+ background-repeat: repeat-x;
18804
+ animation: bugjar-bar 1.2s linear infinite;
18805
+ margin-top: 8px;
18806
+ border-radius: 2px;
18807
+ }
18808
+ ` }),
18809
+ /* @__PURE__ */ w.jsxs(
18810
+ "div",
18811
+ {
18812
+ style: {
18813
+ background: "#111827",
18814
+ color: "white",
18815
+ padding: "12px 16px",
18816
+ borderRadius: 10,
18817
+ fontFamily: "system-ui, -apple-system, sans-serif",
18818
+ fontSize: 13,
18819
+ boxShadow: "0 10px 30px rgba(0,0,0,0.3)",
18820
+ minWidth: 240,
18821
+ maxWidth: 320
18822
+ },
18823
+ children: [
18824
+ /* @__PURE__ */ w.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
18825
+ /* @__PURE__ */ w.jsx("span", { className: "bugjar-spinner" }),
18826
+ /* @__PURE__ */ w.jsx("span", { children: r[e] })
18827
+ ] }),
18828
+ /* @__PURE__ */ w.jsx("div", { className: "bugjar-upload-bar" })
18829
+ ]
18830
+ }
18831
+ )
18832
+ ] });
18786
18833
  }
18787
- function MA({
18834
+ function M_({
18788
18835
  color: t,
18789
18836
  url: e,
18790
18837
  onDismiss: n
@@ -18810,7 +18857,7 @@ function MA({
18810
18857
  }
18811
18858
  );
18812
18859
  }
18813
- function NA({
18860
+ function N_({
18814
18861
  error: t,
18815
18862
  onDismiss: e,
18816
18863
  onDownload: n
@@ -18874,11 +18921,11 @@ function mc({
18874
18921
  }
18875
18922
  );
18876
18923
  }
18877
- const TA = typeof window < "u" ? window.fetch.bind(window) : fetch;
18878
- async function IA(t) {
18924
+ const T_ = typeof window < "u" ? window.fetch.bind(window) : fetch;
18925
+ async function I_(t) {
18879
18926
  const { apiUrl: e, projectKey: n, userToken: r, captureToken: i, report: s, attachments: o } = t, l = s.rrwebEvents.length > 0, a = {
18880
18927
  // Replay is optional: snapshot-only reports (markup + screenshot) omit it.
18881
- replay: l ? { sizeBytes: FA(s.rrwebEvents), durationMs: s.durationMs } : null,
18928
+ replay: l ? { sizeBytes: F_(s.rrwebEvents), durationMs: s.durationMs } : null,
18882
18929
  audio: s.audioBlob ? { sizeBytes: s.audioBlob.size } : null,
18883
18930
  screenshot: { sizeBytes: s.screenshotBlob.size },
18884
18931
  attachments: o.map((v) => ({
@@ -18953,31 +19000,31 @@ async function gc(t, e) {
18953
19000
  let n = null;
18954
19001
  for (let r = 0; r <= qs.length; r++) {
18955
19002
  try {
18956
- const o = await LA(t, e);
18957
- if (!DA(o.status) || r === qs.length)
19003
+ const o = await L_(t, e);
19004
+ if (!D_(o.status) || r === qs.length)
18958
19005
  return o;
18959
19006
  } catch (o) {
18960
19007
  if (n = o, r === qs.length)
18961
19008
  throw o;
18962
19009
  }
18963
19010
  const i = qs[r], s = (Math.random() - 0.5) * 0.5 * i;
18964
- await OA(i + s);
19011
+ await O_(i + s);
18965
19012
  }
18966
19013
  throw n instanceof Error ? n : new Error(`retryingFetch exhausted attempts for ${sl(t)}`);
18967
19014
  }
18968
- function DA(t) {
19015
+ function D_(t) {
18969
19016
  return t === 408 || t === 502 || t === 503 || t === 504;
18970
19017
  }
18971
- function OA(t) {
19018
+ function O_(t) {
18972
19019
  return new Promise((e) => setTimeout(e, Math.max(0, t)));
18973
19020
  }
18974
- function PA(t, e) {
19021
+ function P_(t, e) {
18975
19022
  return !t || typeof AbortSignal.any != "function" ? e : AbortSignal.any([t, e]);
18976
19023
  }
18977
- async function LA(t, e) {
18978
- const n = AbortSignal.timeout(jp), r = PA(e.signal, n);
19024
+ async function L_(t, e) {
19025
+ const n = AbortSignal.timeout(jp), r = P_(e.signal, n);
18979
19026
  try {
18980
- return await TA(t, { ...e, signal: r });
19027
+ return await T_(t, { ...e, signal: r });
18981
19028
  } catch (i) {
18982
19029
  const s = (e.method ?? "GET").toUpperCase();
18983
19030
  if (n.aborted && !e.signal?.aborted)
@@ -18994,14 +19041,14 @@ function sl(t) {
18994
19041
  return t.slice(0, 80);
18995
19042
  }
18996
19043
  }
18997
- function FA(t) {
19044
+ function F_(t) {
18998
19045
  try {
18999
19046
  return new Blob([JSON.stringify(t)]).size;
19000
19047
  } catch {
19001
19048
  return 0;
19002
19049
  }
19003
19050
  }
19004
- async function jA(t, e) {
19051
+ async function j_(t, e) {
19005
19052
  const n = {
19006
19053
  reportId: t.reportId,
19007
19054
  createdAt: t.createdAt,
@@ -19021,7 +19068,7 @@ async function jA(t, e) {
19021
19068
  }), i = document.createElement("a");
19022
19069
  i.href = URL.createObjectURL(r), i.download = `bugjar-report-${t.reportId}.json`, i.click(), URL.revokeObjectURL(i.href);
19023
19070
  }
19024
- class $A {
19071
+ class $_ {
19025
19072
  constructor() {
19026
19073
  F(this, "config", null);
19027
19074
  F(this, "root", null);
@@ -19075,7 +19122,7 @@ class $A {
19075
19122
  init(e) {
19076
19123
  if (this.config)
19077
19124
  return this.publicApi();
19078
- this.config = zA(e), this.host = document.createElement("div"), this.host.setAttribute("data-bugjar-block", "true"), this.host.id = "bugjar-root", document.body.appendChild(this.host), this.root = Qg(this.host);
19125
+ this.config = z_(e), this.host = document.createElement("div"), this.host.setAttribute("data-bugjar-block", "true"), this.host.id = "bugjar-root", document.body.appendChild(this.host), this.root = Qg(this.host);
19079
19126
  const n = () => this.onErrorObserved();
19080
19127
  this.consoleCapture = iS(
19081
19128
  this.config.capture.consoleBufferSize,
@@ -19084,7 +19131,7 @@ class $A {
19084
19131
  this.config.capture.networkBufferSize,
19085
19132
  n
19086
19133
  );
19087
- const r = UA(this.config.captureTokenParam);
19134
+ const r = U_(this.config.captureTokenParam);
19088
19135
  return r && this.applyCaptureToken(r), this.render(), this.attemptRecovery(), this.publicApi();
19089
19136
  }
19090
19137
  /** Reload-recovery path. Called once during init(). If a fresh
@@ -19183,6 +19230,14 @@ class $A {
19183
19230
  * it on the resolved config. Idempotent — re-running with the same
19184
19231
  * token is a no-op. Failures don't throw; they call onError and
19185
19232
  * leave default redaction in place.
19233
+ *
19234
+ * On success, auto-opens the markup toolbar (`view = 'active'`).
19235
+ * Rationale: the user arrived here from clicking "Allow" on the
19236
+ * consent page — their explicit intent is to record. Making them
19237
+ * hunt for the trigger button after that is unnecessary friction.
19238
+ * Recording itself stays manual (one more Record click) because
19239
+ * the browser's getUserMedia permission prompt needs the user's
19240
+ * explicit gesture to fire cleanly.
19186
19241
  */
19187
19242
  async applyCaptureToken(e) {
19188
19243
  if (this.config && this.config.captureToken !== e)
@@ -19198,7 +19253,7 @@ class $A {
19198
19253
  );
19199
19254
  }
19200
19255
  const { disableCategories: r } = await n.json(), i = bS(r);
19201
- this.config.captureToken = e, this.config.disabledCategories = i;
19256
+ this.config.captureToken = e, this.config.disabledCategories = i, this.view === "idle" && this.open();
19202
19257
  } catch (n) {
19203
19258
  this.config.onError?.(n instanceof Error ? n : new Error(String(n)));
19204
19259
  }
@@ -19242,8 +19297,8 @@ class $A {
19242
19297
  if (!this.root || !this.config) return;
19243
19298
  const { showTrigger: e, showOnError: n } = this.config.ui, r = e && (this.errorObserved || !n);
19244
19299
  this.root.render(
19245
- /* @__PURE__ */ w.jsx(Te.StrictMode, { children: /* @__PURE__ */ w.jsx(
19246
- xA,
19300
+ /* @__PURE__ */ w.jsx(Re.StrictMode, { children: /* @__PURE__ */ w.jsx(
19301
+ x_,
19247
19302
  {
19248
19303
  projectKey: this.config.projectKey,
19249
19304
  primaryColor: this.config.ui.primaryColor,
@@ -19403,7 +19458,7 @@ class $A {
19403
19458
  if (!(!this.capturedReport || !this.config)) {
19404
19459
  this.capturedReport.description = e.description, this.capturedReport.annotations = e.annotations, this.view = "uploading", this.render();
19405
19460
  try {
19406
- const { reportId: n, dashboardUrl: r } = await IA({
19461
+ const { reportId: n, dashboardUrl: r } = await I_({
19407
19462
  apiUrl: this.config.apiUrl,
19408
19463
  projectKey: this.config.projectKey,
19409
19464
  userToken: this.config.userToken,
@@ -19426,13 +19481,13 @@ class $A {
19426
19481
  async downloadOnDemand() {
19427
19482
  if (this.capturedReport)
19428
19483
  try {
19429
- await jA(this.capturedReport, this.failedAttachments ?? []);
19484
+ await j_(this.capturedReport, this.failedAttachments ?? []);
19430
19485
  } catch (e) {
19431
19486
  this.config?.onError?.(e instanceof Error ? e : new Error(String(e)));
19432
19487
  }
19433
19488
  }
19434
19489
  }
19435
- function zA(t) {
19490
+ function z_(t) {
19436
19491
  return {
19437
19492
  projectKey: t.projectKey,
19438
19493
  apiUrl: YC,
@@ -19450,7 +19505,7 @@ function zA(t) {
19450
19505
  disabledCategories: /* @__PURE__ */ new Set()
19451
19506
  };
19452
19507
  }
19453
- function UA(t) {
19508
+ function U_(t) {
19454
19509
  if (typeof window > "u" || !window.location) return null;
19455
19510
  try {
19456
19511
  const n = new URLSearchParams(window.location.search).get(t);
@@ -19459,14 +19514,13 @@ function UA(t) {
19459
19514
  return null;
19460
19515
  }
19461
19516
  }
19462
- const BA = new $A(), Ta = BA, WA = {
19517
+ const B_ = new $_(), Ta = B_, W_ = {
19463
19518
  init: (t) => Ta.init(t),
19464
19519
  open: () => Ta.open(),
19465
19520
  close: () => Ta.close()
19466
19521
  };
19467
- typeof window < "u" && (window.BugJar = WA);
19522
+ typeof window < "u" && (window.BugJar = W_);
19468
19523
  export {
19469
- WA as BugJar,
19470
- BA as _client
19524
+ W_ as BugJar,
19525
+ B_ as _client
19471
19526
  };
19472
- //# sourceMappingURL=index.browser.js.map