@adriansteffan/reactive 0.1.23 → 0.1.25

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.
@@ -2,7 +2,7 @@ var a1 = (i) => {
2
2
  throw TypeError(i);
3
3
  };
4
4
  var Ep = (i, e, t) => e.has(i) || a1("Cannot " + t);
5
- var K = (i, e, t) => (Ep(i, e, "read from private field"), t ? t.call(i) : e.get(i)), nt = (i, e, t) => e.has(i) ? a1("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), Ue = (i, e, t, s) => (Ep(i, e, "write to private field"), s ? s.call(i, t) : e.set(i, t), t), os = (i, e, t) => (Ep(i, e, "access private method"), t);
5
+ var K = (i, e, t) => (Ep(i, e, "read from private field"), t ? t.call(i) : e.get(i)), at = (i, e, t) => e.has(i) ? a1("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), Ue = (i, e, t, s) => (Ep(i, e, "write to private field"), s ? s.call(i, t) : e.set(i, t), t), os = (i, e, t) => (Ep(i, e, "access private method"), t);
6
6
  var ju = (i, e, t, s) => ({
7
7
  set _(r) {
8
8
  Ue(i, e, r, t);
@@ -12,7 +12,7 @@ var ju = (i, e, t, s) => ({
12
12
  }
13
13
  });
14
14
  import * as p from "react";
15
- import Ze, { useRef as fe, useEffect as lt, useState as rt, useCallback as Xe, createElement as qx, useLayoutEffect as Pg, useSyncExternalStore as PP, isValidElement as _a, cloneElement as em, createContext as fn, useContext as fs, useMemo as di, useId as Ig, useInsertionEffect as Rg, Children as IP, Fragment as Bx, forwardRef as $x, Component as RP, useImperativeHandle as AP } from "react";
15
+ import Ze, { useRef as fe, useEffect as st, useState as nt, useCallback as Xe, createElement as qx, useLayoutEffect as Pg, useSyncExternalStore as PP, isValidElement as _a, cloneElement as em, createContext as fn, useContext as fs, useMemo as di, useId as Ig, useInsertionEffect as Rg, Children as IP, Fragment as Bx, forwardRef as $x, Component as RP, useImperativeHandle as AP } from "react";
16
16
  import * as o1 from "react-dom";
17
17
  import { createPortal as LP } from "react-dom";
18
18
  function Qo(i) {
@@ -17328,8 +17328,8 @@ function Rae() {
17328
17328
  {
17329
17329
  var Fe = g.ReactDebugCurrentFrame, bt = Fe.getStackAddendum();
17330
17330
  bt !== "" && (ie += "%s", me = me.concat([bt]));
17331
- var Pt = me.map(function(it) {
17332
- return String(it);
17331
+ var Pt = me.map(function(rt) {
17332
+ return String(rt);
17333
17333
  });
17334
17334
  Pt.unshift("Warning: " + ie), Function.prototype.apply.call(console[N], console, Pt);
17335
17335
  }
@@ -17388,9 +17388,9 @@ function Rae() {
17388
17388
  var Fe = N.displayName || null;
17389
17389
  return Fe !== null ? Fe : _(N.type) || "Memo";
17390
17390
  case d: {
17391
- var bt = N, Pt = bt._payload, it = bt._init;
17391
+ var bt = N, Pt = bt._payload, rt = bt._init;
17392
17392
  try {
17393
- return _(it(Pt));
17393
+ return _(rt(Pt));
17394
17394
  } catch {
17395
17395
  return null;
17396
17396
  }
@@ -17495,27 +17495,27 @@ function Rae() {
17495
17495
  Pt = te.current, te.current = null, Ie();
17496
17496
  try {
17497
17497
  if (ie) {
17498
- var it = function() {
17498
+ var rt = function() {
17499
17499
  throw Error();
17500
17500
  };
17501
- if (Object.defineProperty(it.prototype, "props", {
17501
+ if (Object.defineProperty(rt.prototype, "props", {
17502
17502
  set: function() {
17503
17503
  throw Error();
17504
17504
  }
17505
17505
  }), typeof Reflect == "object" && Reflect.construct) {
17506
17506
  try {
17507
- Reflect.construct(it, []);
17507
+ Reflect.construct(rt, []);
17508
17508
  } catch ($s) {
17509
17509
  Fe = $s;
17510
17510
  }
17511
- Reflect.construct(N, [], it);
17511
+ Reflect.construct(N, [], rt);
17512
17512
  } else {
17513
17513
  try {
17514
- it.call();
17514
+ rt.call();
17515
17515
  } catch ($s) {
17516
17516
  Fe = $s;
17517
17517
  }
17518
- N.call(it.prototype);
17518
+ N.call(rt.prototype);
17519
17519
  }
17520
17520
  } else {
17521
17521
  try {
@@ -17586,7 +17586,7 @@ function Rae() {
17586
17586
  }
17587
17587
  return "";
17588
17588
  }
17589
- var st = Object.prototype.hasOwnProperty, Mt = {}, zt = g.ReactDebugCurrentFrame;
17589
+ var it = Object.prototype.hasOwnProperty, Mt = {}, zt = g.ReactDebugCurrentFrame;
17590
17590
  function Ct(N) {
17591
17591
  if (N) {
17592
17592
  var ie = N._owner, me = Le(N.type, N._source, ie ? ie.type : null);
@@ -17596,20 +17596,20 @@ function Rae() {
17596
17596
  }
17597
17597
  function _e(N, ie, me, Fe, bt) {
17598
17598
  {
17599
- var Pt = Function.call.bind(st);
17600
- for (var it in N)
17601
- if (Pt(N, it)) {
17599
+ var Pt = Function.call.bind(it);
17600
+ for (var rt in N)
17601
+ if (Pt(N, rt)) {
17602
17602
  var Ye = void 0;
17603
17603
  try {
17604
- if (typeof N[it] != "function") {
17605
- var As = Error((Fe || "React class") + ": " + me + " type `" + it + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof N[it] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
17604
+ if (typeof N[rt] != "function") {
17605
+ var As = Error((Fe || "React class") + ": " + me + " type `" + rt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof N[rt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
17606
17606
  throw As.name = "Invariant Violation", As;
17607
17607
  }
17608
- Ye = N[it](ie, it, Fe, me, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
17608
+ Ye = N[rt](ie, rt, Fe, me, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
17609
17609
  } catch (jt) {
17610
17610
  Ye = jt;
17611
17611
  }
17612
- Ye && !(Ye instanceof Error) && (Ct(bt), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Fe || "React class", me, it, typeof Ye), Ct(null)), Ye instanceof Error && !(Ye.message in Mt) && (Mt[Ye.message] = !0, Ct(bt), b("Failed %s type: %s", me, Ye.message), Ct(null));
17612
+ Ye && !(Ye instanceof Error) && (Ct(bt), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Fe || "React class", me, rt, typeof Ye), Ct(null)), Ye instanceof Error && !(Ye.message in Mt) && (Mt[Ye.message] = !0, Ct(bt), b("Failed %s type: %s", me, Ye.message), Ct(null));
17613
17613
  }
17614
17614
  }
17615
17615
  }
@@ -17644,7 +17644,7 @@ function Rae() {
17644
17644
  __source: !0
17645
17645
  }, _i, Gs;
17646
17646
  function Di(N) {
17647
- if (st.call(N, "ref")) {
17647
+ if (it.call(N, "ref")) {
17648
17648
  var ie = Object.getOwnPropertyDescriptor(N, "ref").get;
17649
17649
  if (ie && ie.isReactWarning)
17650
17650
  return !1;
@@ -17652,7 +17652,7 @@ function Rae() {
17652
17652
  return N.ref !== void 0;
17653
17653
  }
17654
17654
  function da(N) {
17655
- if (st.call(N, "key")) {
17655
+ if (it.call(N, "key")) {
17656
17656
  var ie = Object.getOwnPropertyDescriptor(N, "key").get;
17657
17657
  if (ie && ie.isReactWarning)
17658
17658
  return !1;
@@ -17684,7 +17684,7 @@ function Rae() {
17684
17684
  });
17685
17685
  }
17686
17686
  }
17687
- var X = function(N, ie, me, Fe, bt, Pt, it) {
17687
+ var X = function(N, ie, me, Fe, bt, Pt, rt) {
17688
17688
  var Ye = {
17689
17689
  // This tag allows us to uniquely identify this as a React Element
17690
17690
  $$typeof: e,
@@ -17692,7 +17692,7 @@ function Rae() {
17692
17692
  type: N,
17693
17693
  key: ie,
17694
17694
  ref: me,
17695
- props: it,
17695
+ props: rt,
17696
17696
  // Record the component responsible for creating this element.
17697
17697
  _owner: Pt
17698
17698
  };
@@ -17715,20 +17715,20 @@ function Rae() {
17715
17715
  };
17716
17716
  function ae(N, ie, me, Fe, bt) {
17717
17717
  {
17718
- var Pt, it = {}, Ye = null, As = null;
17718
+ var Pt, rt = {}, Ye = null, As = null;
17719
17719
  me !== void 0 && (Ur(me), Ye = "" + me), da(ie) && (Ur(ie.key), Ye = "" + ie.key), Di(ie) && (As = ie.ref, Cn(ie, bt));
17720
17720
  for (Pt in ie)
17721
- st.call(ie, Pt) && !Ws.hasOwnProperty(Pt) && (it[Pt] = ie[Pt]);
17721
+ it.call(ie, Pt) && !Ws.hasOwnProperty(Pt) && (rt[Pt] = ie[Pt]);
17722
17722
  if (N && N.defaultProps) {
17723
17723
  var jt = N.defaultProps;
17724
17724
  for (Pt in jt)
17725
- it[Pt] === void 0 && (it[Pt] = jt[Pt]);
17725
+ rt[Pt] === void 0 && (rt[Pt] = jt[Pt]);
17726
17726
  }
17727
17727
  if (Ye || As) {
17728
17728
  var Kt = typeof N == "function" ? N.displayName || N.name || "Unknown" : N;
17729
- Ye && Z(it, Kt), As && se(it, Kt);
17729
+ Ye && Z(rt, Kt), As && se(rt, Kt);
17730
17730
  }
17731
- return X(N, Ye, As, bt, Fe, js.current, it);
17731
+ return X(N, Ye, As, bt, Fe, js.current, rt);
17732
17732
  }
17733
17733
  }
17734
17734
  var de = g.ReactCurrentOwner, Ae = g.ReactDebugCurrentFrame;
@@ -17799,8 +17799,8 @@ Check the top-level render call using <` + me + ">.");
17799
17799
  else if (N) {
17800
17800
  var bt = m(N);
17801
17801
  if (typeof bt == "function" && bt !== N.entries)
17802
- for (var Pt = bt.call(N), it; !(it = Pt.next()).done; )
17803
- Rs(it.value) && Bu(it.value, ie);
17802
+ for (var Pt = bt.call(N), rt; !(rt = Pt.next()).done; )
17803
+ Rs(rt.value) && Bu(rt.value, ie);
17804
17804
  }
17805
17805
  }
17806
17806
  }
@@ -17844,8 +17844,8 @@ Check the top-level render call using <` + me + ">.");
17844
17844
  var Hu = {};
17845
17845
  function Qu(N, ie, me, Fe, bt, Pt) {
17846
17846
  {
17847
- var it = M(N);
17848
- if (!it) {
17847
+ var rt = M(N);
17848
+ if (!rt) {
17849
17849
  var Ye = "";
17850
17850
  (N === void 0 || typeof N == "object" && N !== null && Object.keys(N).length === 0) && (Ye += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
17851
17851
  var As = Za();
@@ -17856,7 +17856,7 @@ Check the top-level render call using <` + me + ">.");
17856
17856
  var Kt = ae(N, ie, me, bt, Pt);
17857
17857
  if (Kt == null)
17858
17858
  return Kt;
17859
- if (it) {
17859
+ if (rt) {
17860
17860
  var si = ie.children;
17861
17861
  if (si !== void 0)
17862
17862
  if (Fe)
@@ -17869,7 +17869,7 @@ Check the top-level render call using <` + me + ">.");
17869
17869
  else
17870
17870
  $u(si, N);
17871
17871
  }
17872
- if (st.call(ie, "key")) {
17872
+ if (it.call(ie, "key")) {
17873
17873
  var jr = _(N), $s = Object.keys(ie).filter(function(mp) {
17874
17874
  return mp !== "key";
17875
17875
  }), cl = $s.length > 0 ? "{key: someKey, " + $s.join(": ..., ") + ": ...}" : "{key: someKey}";
@@ -17918,7 +17918,9 @@ function wv({
17918
17918
  allowedKeys: a = !1
17919
17919
  }) {
17920
17920
  const o = fe(0);
17921
- lt(() => {
17921
+ st(() => {
17922
+ window.scrollTo(0, 0);
17923
+ }, []), st(() => {
17922
17924
  o.current = Qs();
17923
17925
  const u = (h) => {
17924
17926
  const c = Qs();
@@ -17999,7 +18001,7 @@ function Aae({
17999
18001
  storeupdate: a,
18000
18002
  placeholder: o = "Enter your response here"
18001
18003
  }) {
18002
- const [l, u] = rt(""), h = (d) => {
18004
+ const [l, u] = nt(""), h = (d) => {
18003
18005
  u(d.target.value);
18004
18006
  }, c = () => {
18005
18007
  a && r(a(l)), s({ value: l });
@@ -18196,7 +18198,7 @@ function $ae(i) {
18196
18198
  }
18197
18199
  const Hae = ({ stream: i }) => {
18198
18200
  const e = fe(null), t = fe(null), s = fe(null), r = fe([]);
18199
- return lt(() => {
18201
+ return st(() => {
18200
18202
  if (!i || !e.current) return;
18201
18203
  const n = new (window.AudioContext || window.webkitAudioContext)(), a = n.createAnalyser(), o = n.createMediaStreamSource(i);
18202
18204
  a.fftSize = 2048, o.connect(a), s.current = a;
@@ -18263,7 +18265,7 @@ const Hae = ({ stream: i }) => {
18263
18265
  handleSaveVoiceData: e,
18264
18266
  handleDiscardVoiceData: t
18265
18267
  }) => {
18266
- const [s, r] = rt(!1), [n, a] = rt(null), [o, l] = rt(null), u = fe(null), h = fe([]), c = async () => {
18268
+ const [s, r] = nt(!1), [n, a] = nt(null), [o, l] = nt(null), u = fe(null), h = fe([]), c = async () => {
18267
18269
  try {
18268
18270
  const v = window.audioInputId, m = {
18269
18271
  audio: v ? {
@@ -18359,8 +18361,8 @@ function Uae({
18359
18361
  onMicrophoneSelect: i
18360
18362
  }) {
18361
18363
  var u;
18362
- const [e, t] = rt([]), [s, r] = rt(""), [n, a] = rt(!1);
18363
- lt(() => {
18364
+ const [e, t] = nt([]), [s, r] = nt(""), [n, a] = nt(!1);
18365
+ st(() => {
18364
18366
  navigator.mediaDevices.getUserMedia({ audio: !0 }).then(() => {
18365
18367
  navigator.mediaDevices.enumerateDevices().then((h) => {
18366
18368
  const c = h.filter((d) => d.kind === "audioinput").map((d) => ({
@@ -18431,7 +18433,7 @@ function Uae({
18431
18433
  ] });
18432
18434
  }
18433
18435
  const zae = ({ next: i }) => {
18434
- const [e, t] = rt(!1);
18436
+ const [e, t] = nt(!1);
18435
18437
  return /* @__PURE__ */ R.jsxs("div", { className: "max-w-prose mx-auto mt-20 mb-20 px-4 ", children: [
18436
18438
  /* @__PURE__ */ R.jsxs("article", { className: "prose prose-2xl prose-slate text-xl text-black leading-relaxed", children: [
18437
18439
  /* @__PURE__ */ R.jsx("h1", { className: "text-3xl mb-6 font-semibold", children: "Let's test your microphone!" }),
@@ -21584,7 +21586,7 @@ const Vv = (
21584
21586
  Expression: Xa
21585
21587
  };
21586
21588
  let o = Xa;
21587
- const l = "||", u = "or", h = "&&", c = "and", d = "<=", f = "lessorequal", y = ">=", v = "greaterorequal", m = "==", g = "equal", b = "=", x = "!=", T = "notequal", A = "<", L = "less", D = ">", V = "greater", I = "+", M = "-", q = "*", Q = "/", _ = "%", B = "^", H = "power", $ = "*=", j = "contains", G = "contain", ne = "notcontains", Y = "notcontain", oe = "anyof", re = "allof", ue = "noneof", Ie = "(", ge = "!", te = "negate", we = "empty", et = "notempty", Yt = "undefined", Gt = "null", Is = "{", Et = "}", cs = "''", rs = '""', Le = "'", st = '"', Mt = "[", zt = "]", Ct = ",", _e = "true", Ge = "false", Te = "0x", ns = ".", bs = "0", ws = "\\'", Ur = '\\"', js = /^[\-]/, Ws = /^[^"']/, _i = /^[^{}]/, Gs = /^[0-9]/, Di = /^[1-9]/, da = /^[a-zA-Z_]/, Cn = /^[ \t\n\r]/, Z = Pe("||", !1), se = Pe("or", !0), X = Pe("&&", !1), ae = Pe("and", !0), de = Pe("<=", !1), Ae = Pe("lessorequal", !0), je = Pe(">=", !1), as = Pe("greaterorequal", !0), Rs = Pe("==", !1), zr = Pe("equal", !0), Za = Pe("=", !1), pa = Pe("!=", !1), op = Pe("notequal", !0), Bu = Pe("<", !1), $u = Pe("less", !0), lp = Pe(">", !1), up = Pe("greater", !0), Hu = Pe("+", !1), Qu = Pe("-", !1), hp = Pe("*", !1), cp = Pe("/", !1), dp = Pe("%", !1), pp = Pe("^", !1), N = Pe("power", !0), ie = Pe("*=", !1), me = Pe("contains", !0), Fe = Pe("contain", !0), bt = Pe("notcontains", !0), Pt = Pe("notcontain", !0), it = Pe("anyof", !0), Ye = Pe("allof", !0), As = Pe("noneof", !0), jt = Pe("(", !1), Kt = Pe(")", !1), si = Pe("!", !1), bn = Pe("negate", !0), jr = Pe("empty", !0), $s = Pe("notempty", !0), cl = Pe("undefined", !1), fp = Pe("null", !1), mp = Pe("{", !1), Y4 = Pe("}", !1), X4 = Pe("''", !1), eT = Pe('""', !1), N0 = Pe("'", !1), F0 = Pe('"', !1), tT = Pe("[", !1), sT = Pe("]", !1), q0 = Pe(",", !1), iT = Pe("true", !0), rT = Pe("false", !0), nT = Pe("0x", !1), aT = fa(["-"], !1, !1, !1), oT = Pe(".", !1), lT = Pe("0", !1), uT = Pe("\\'", !1), hT = Pe('\\"', !1), cT = fa(['"', "'"], !0, !1, !1), dT = fa(["{", "}"], !0, !1, !1), B0 = fa([["0", "9"]], !1, !1, !1), $0 = fa([["1", "9"]], !1, !1, !1), H0 = fa([["a", "z"], ["A", "Z"], "_"], !1, !1, !1), Q0 = fa([" ", " ", `
21589
+ const l = "||", u = "or", h = "&&", c = "and", d = "<=", f = "lessorequal", y = ">=", v = "greaterorequal", m = "==", g = "equal", b = "=", x = "!=", T = "notequal", A = "<", L = "less", D = ">", V = "greater", I = "+", M = "-", q = "*", Q = "/", _ = "%", B = "^", H = "power", $ = "*=", j = "contains", G = "contain", ne = "notcontains", Y = "notcontain", oe = "anyof", re = "allof", ue = "noneof", Ie = "(", ge = "!", te = "negate", we = "empty", et = "notempty", Yt = "undefined", Gt = "null", Is = "{", Et = "}", cs = "''", rs = '""', Le = "'", it = '"', Mt = "[", zt = "]", Ct = ",", _e = "true", Ge = "false", Te = "0x", ns = ".", bs = "0", ws = "\\'", Ur = '\\"', js = /^[\-]/, Ws = /^[^"']/, _i = /^[^{}]/, Gs = /^[0-9]/, Di = /^[1-9]/, da = /^[a-zA-Z_]/, Cn = /^[ \t\n\r]/, Z = Pe("||", !1), se = Pe("or", !0), X = Pe("&&", !1), ae = Pe("and", !0), de = Pe("<=", !1), Ae = Pe("lessorequal", !0), je = Pe(">=", !1), as = Pe("greaterorequal", !0), Rs = Pe("==", !1), zr = Pe("equal", !0), Za = Pe("=", !1), pa = Pe("!=", !1), op = Pe("notequal", !0), Bu = Pe("<", !1), $u = Pe("less", !0), lp = Pe(">", !1), up = Pe("greater", !0), Hu = Pe("+", !1), Qu = Pe("-", !1), hp = Pe("*", !1), cp = Pe("/", !1), dp = Pe("%", !1), pp = Pe("^", !1), N = Pe("power", !0), ie = Pe("*=", !1), me = Pe("contains", !0), Fe = Pe("contain", !0), bt = Pe("notcontains", !0), Pt = Pe("notcontain", !0), rt = Pe("anyof", !0), Ye = Pe("allof", !0), As = Pe("noneof", !0), jt = Pe("(", !1), Kt = Pe(")", !1), si = Pe("!", !1), bn = Pe("negate", !0), jr = Pe("empty", !0), $s = Pe("notempty", !0), cl = Pe("undefined", !1), fp = Pe("null", !1), mp = Pe("{", !1), Y4 = Pe("}", !1), X4 = Pe("''", !1), eT = Pe('""', !1), N0 = Pe("'", !1), F0 = Pe('"', !1), tT = Pe("[", !1), sT = Pe("]", !1), q0 = Pe(",", !1), iT = Pe("true", !0), rT = Pe("false", !0), nT = Pe("0x", !1), aT = fa(["-"], !1, !1, !1), oT = Pe(".", !1), lT = Pe("0", !1), uT = Pe("\\'", !1), hT = Pe('\\"', !1), cT = fa(['"', "'"], !0, !1, !1), dT = fa(["{", "}"], !0, !1, !1), B0 = fa([["0", "9"]], !1, !1, !1), $0 = fa([["1", "9"]], !1, !1, !1), H0 = fa([["a", "z"], ["A", "Z"], "_"], !1, !1, !1), Q0 = fa([" ", " ", `
21588
21590
  `, "\r"], !1, !1, !1);
21589
21591
  function pT(C, w) {
21590
21592
  return ma(C, w, !0);
@@ -21975,7 +21977,7 @@ const Vv = (
21975
21977
  function Y0() {
21976
21978
  let C, w;
21977
21979
  const z = E * 34 + 13, O = ve[z];
21978
- return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === $ ? (w = $, E += 2) : (w = r, he === 0 && ce(ie)), w === r && (w = t.substr(E, 8), w.toLowerCase() === j ? E += 8 : (w = r, he === 0 && ce(me)), w === r && (w = t.substr(E, 7), w.toLowerCase() === G ? E += 7 : (w = r, he === 0 && ce(Fe)))), w !== r && (xe = C, w = OT()), C = w, C === r && (C = E, w = t.substr(E, 11), w.toLowerCase() === ne ? E += 11 : (w = r, he === 0 && ce(bt)), w === r && (w = t.substr(E, 10), w.toLowerCase() === Y ? E += 10 : (w = r, he === 0 && ce(Pt))), w !== r && (xe = C, w = MT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === oe ? E += 5 : (w = r, he === 0 && ce(it)), w !== r && (xe = C, w = NT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === re ? E += 5 : (w = r, he === 0 && ce(Ye)), w !== r && (xe = C, w = FT()), C = w, C === r && (C = E, w = t.substr(E, 6), w.toLowerCase() === ue ? E += 6 : (w = r, he === 0 && ce(As)), w !== r && (xe = C, w = qT()), C = w)))), ve[z] = { nextPos: E, result: C }, C);
21980
+ return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === $ ? (w = $, E += 2) : (w = r, he === 0 && ce(ie)), w === r && (w = t.substr(E, 8), w.toLowerCase() === j ? E += 8 : (w = r, he === 0 && ce(me)), w === r && (w = t.substr(E, 7), w.toLowerCase() === G ? E += 7 : (w = r, he === 0 && ce(Fe)))), w !== r && (xe = C, w = OT()), C = w, C === r && (C = E, w = t.substr(E, 11), w.toLowerCase() === ne ? E += 11 : (w = r, he === 0 && ce(bt)), w === r && (w = t.substr(E, 10), w.toLowerCase() === Y ? E += 10 : (w = r, he === 0 && ce(Pt))), w !== r && (xe = C, w = MT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === oe ? E += 5 : (w = r, he === 0 && ce(rt)), w !== r && (xe = C, w = NT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === re ? E += 5 : (w = r, he === 0 && ce(Ye)), w !== r && (xe = C, w = FT()), C = w, C === r && (C = E, w = t.substr(E, 6), w.toLowerCase() === ue ? E += 6 : (w = r, he === 0 && ce(As)), w !== r && (xe = C, w = qT()), C = w)))), ve[z] = { nextPos: E, result: C }, C);
21979
21981
  }
21980
21982
  function zu() {
21981
21983
  let C, w, z;
@@ -22005,7 +22007,7 @@ const Vv = (
22005
22007
  function CP() {
22006
22008
  let C, w, z, O;
22007
22009
  const J = E * 34 + 19, le = ve[J];
22008
- return le ? (E = le.nextPos, le.result) : (C = E, w = wP(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, w = xP(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, w = r1(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, t.substr(E, 2) === cs ? (w = cs, E += 2) : (w = r, he === 0 && ce(X4)), w !== r && (xe = C, w = GT()), C = w, C === r && (C = E, t.substr(E, 2) === rs ? (w = rs, E += 2) : (w = r, he === 0 && ce(eT)), w !== r && (xe = C, w = KT()), C = w, C === r && (C = E, t.charCodeAt(E) === 39 ? (w = Le, E++) : (w = r, he === 0 && ce(N0)), w !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 39 ? (O = Le, E++) : (O = r, he === 0 && ce(N0)), O !== r ? (xe = C, C = ZT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, t.charCodeAt(E) === 34 ? (w = st, E++) : (w = r, he === 0 && ce(F0)), w !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 34 ? (O = st, E++) : (O = r, he === 0 && ce(F0)), O !== r ? (xe = C, C = JT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r))))))), ve[J] = { nextPos: E, result: C }, C);
22010
+ return le ? (E = le.nextPos, le.result) : (C = E, w = wP(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, w = xP(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, w = r1(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, t.substr(E, 2) === cs ? (w = cs, E += 2) : (w = r, he === 0 && ce(X4)), w !== r && (xe = C, w = GT()), C = w, C === r && (C = E, t.substr(E, 2) === rs ? (w = rs, E += 2) : (w = r, he === 0 && ce(eT)), w !== r && (xe = C, w = KT()), C = w, C === r && (C = E, t.charCodeAt(E) === 39 ? (w = Le, E++) : (w = r, he === 0 && ce(N0)), w !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 39 ? (O = Le, E++) : (O = r, he === 0 && ce(N0)), O !== r ? (xe = C, C = ZT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, t.charCodeAt(E) === 34 ? (w = it, E++) : (w = r, he === 0 && ce(F0)), w !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 34 ? (O = it, E++) : (O = r, he === 0 && ce(F0)), O !== r ? (xe = C, C = JT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r))))))), ve[J] = { nextPos: E, result: C }, C);
22009
22011
  }
22010
22012
  function bP() {
22011
22013
  let C, w, z, O;
@@ -70452,7 +70454,7 @@ function $ce({
70452
70454
  });
70453
70455
  const n = new ze({
70454
70456
  ...e,
70455
- css: { ...Rc, root: "sd-root-modern custom-root" }
70457
+ css: { ...Rc, root: `sd-root-modern custom-root${r ? " survey-custom-bg" : ""}` }
70456
70458
  });
70457
70459
  n.applyTheme(s ?? qce);
70458
70460
  const a = Xe(
@@ -70461,9 +70463,9 @@ function $ce({
70461
70463
  },
70462
70464
  [i]
70463
70465
  );
70464
- return n.onComplete.add(a), /* @__PURE__ */ R.jsxs("div", { className: `max-w-4xl mx-auto px-4 ${r ?? ""}`, children: [
70466
+ return n.onComplete.add(a), /* @__PURE__ */ R.jsxs("div", { className: `min-h-screen ${r ?? ""}`, children: [
70465
70467
  !r && /* @__PURE__ */ R.jsx("div", { className: "absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px]" }),
70466
- /* @__PURE__ */ R.jsx(_S, { model: n })
70468
+ /* @__PURE__ */ R.jsx("div", { className: "max-w-4xl mx-auto px-4", children: /* @__PURE__ */ R.jsx(_S, { model: n }) })
70467
70469
  ] });
70468
70470
  }
70469
70471
  var Du = class {
@@ -70624,9 +70626,9 @@ function e3(i, e) {
70624
70626
  var Ia, $n, So, Rx, Jce = (Rx = class extends Du {
70625
70627
  constructor() {
70626
70628
  super();
70627
- nt(this, Ia);
70628
- nt(this, $n);
70629
- nt(this, So);
70629
+ at(this, Ia);
70630
+ at(this, $n);
70631
+ at(this, So);
70630
70632
  Ue(this, So, (e) => {
70631
70633
  if (!Zd && window.addEventListener) {
70632
70634
  const t = () => e();
@@ -70665,9 +70667,9 @@ var Ia, $n, So, Rx, Jce = (Rx = class extends Du {
70665
70667
  }, Ia = new WeakMap(), $n = new WeakMap(), So = new WeakMap(), Rx), t3 = new Jce(), To, Hn, Po, Ax, Yce = (Ax = class extends Du {
70666
70668
  constructor() {
70667
70669
  super();
70668
- nt(this, To, !0);
70669
- nt(this, Hn);
70670
- nt(this, Po);
70670
+ at(this, To, !0);
70671
+ at(this, Hn);
70672
+ at(this, Po);
70671
70673
  Ue(this, Po, (e) => {
70672
70674
  if (!Zd && window.addEventListener) {
70673
70675
  const t = () => e(!0), s = () => e(!1);
@@ -70851,7 +70853,7 @@ function tde() {
70851
70853
  }
70852
70854
  var Ms = tde(), Ra, Lx, n3 = (Lx = class {
70853
70855
  constructor() {
70854
- nt(this, Ra);
70856
+ at(this, Ra);
70855
70857
  }
70856
70858
  destroy() {
70857
70859
  this.clearGcTimeout();
@@ -70873,13 +70875,13 @@ var Ms = tde(), Ra, Lx, n3 = (Lx = class {
70873
70875
  }, Ra = new WeakMap(), Lx), Io, Ro, Fi, Hs, uu, Aa, nr, tn, _x, sde = (_x = class extends n3 {
70874
70876
  constructor(e) {
70875
70877
  super();
70876
- nt(this, nr);
70877
- nt(this, Io);
70878
- nt(this, Ro);
70879
- nt(this, Fi);
70880
- nt(this, Hs);
70881
- nt(this, uu);
70882
- nt(this, Aa);
70878
+ at(this, nr);
70879
+ at(this, Io);
70880
+ at(this, Ro);
70881
+ at(this, Fi);
70882
+ at(this, Hs);
70883
+ at(this, uu);
70884
+ at(this, Aa);
70883
70885
  Ue(this, Aa, !1), Ue(this, uu, e.defaultOptions), this.setOptions(e.options), this.observers = [], Ue(this, Fi, e.cache), this.queryKey = e.queryKey, this.queryHash = e.queryHash, Ue(this, Io, rde(this.options)), this.state = e.state ?? K(this, Io), this.scheduleGc();
70884
70886
  }
70885
70887
  get meta() {
@@ -71155,7 +71157,7 @@ function rde(i) {
71155
71157
  var Er, Dx, nde = (Dx = class extends Du {
71156
71158
  constructor(e = {}) {
71157
71159
  super();
71158
- nt(this, Er);
71160
+ at(this, Er);
71159
71161
  this.config = e, Ue(this, Er, /* @__PURE__ */ new Map());
71160
71162
  }
71161
71163
  build(e, t, s) {
@@ -71227,10 +71229,10 @@ var Er, Dx, nde = (Dx = class extends Du {
71227
71229
  }, Er = new WeakMap(), Dx), Vr, Ks, La, Sr, _n, kx, ade = (kx = class extends n3 {
71228
71230
  constructor(e) {
71229
71231
  super();
71230
- nt(this, Sr);
71231
- nt(this, Vr);
71232
- nt(this, Ks);
71233
- nt(this, La);
71232
+ at(this, Sr);
71233
+ at(this, Vr);
71234
+ at(this, Ks);
71235
+ at(this, La);
71234
71236
  this.mutationId = e.mutationId, Ue(this, Ks, e.mutationCache), Ue(this, Vr, []), this.state = e.state || a3(), this.setOptions(e.options), this.scheduleGc();
71235
71237
  }
71236
71238
  setOptions(e) {
@@ -71424,8 +71426,8 @@ function a3() {
71424
71426
  var wi, hu, Ox, ode = (Ox = class extends Du {
71425
71427
  constructor(e = {}) {
71426
71428
  super();
71427
- nt(this, wi);
71428
- nt(this, hu);
71429
+ at(this, wi);
71430
+ at(this, hu);
71429
71431
  this.config = e, Ue(this, wi, /* @__PURE__ */ new Map()), Ue(this, hu, Date.now());
71430
71432
  }
71431
71433
  build(e, t, s) {
@@ -71582,14 +71584,14 @@ function lde(i, { pages: e, pageParams: t }) {
71582
71584
  }
71583
71585
  var Xt, Qn, Un, Ao, Lo, zn, _o, Do, Mx, ude = (Mx = class {
71584
71586
  constructor(i = {}) {
71585
- nt(this, Xt);
71586
- nt(this, Qn);
71587
- nt(this, Un);
71588
- nt(this, Ao);
71589
- nt(this, Lo);
71590
- nt(this, zn);
71591
- nt(this, _o);
71592
- nt(this, Do);
71587
+ at(this, Xt);
71588
+ at(this, Qn);
71589
+ at(this, Un);
71590
+ at(this, Ao);
71591
+ at(this, Lo);
71592
+ at(this, zn);
71593
+ at(this, _o);
71594
+ at(this, Do);
71593
71595
  Ue(this, Xt, i.queryCache || new nde()), Ue(this, Qn, i.mutationCache || new ode()), Ue(this, Un, i.defaultOptions || {}), Ue(this, Ao, /* @__PURE__ */ new Map()), Ue(this, Lo, /* @__PURE__ */ new Map()), Ue(this, zn, 0);
71594
71596
  }
71595
71597
  mount() {
@@ -71786,11 +71788,11 @@ var Xt, Qn, Un, Ao, Lo, zn, _o, Do, Mx, ude = (Mx = class {
71786
71788
  }, Xt = new WeakMap(), Qn = new WeakMap(), Un = new WeakMap(), Ao = new WeakMap(), Lo = new WeakMap(), zn = new WeakMap(), _o = new WeakMap(), Do = new WeakMap(), Mx), jn, Wn, ai, an, hn, Xh, Um, Nx, hde = (Nx = class extends Du {
71787
71789
  constructor(e, t) {
71788
71790
  super();
71789
- nt(this, hn);
71790
- nt(this, jn);
71791
- nt(this, Wn);
71792
- nt(this, ai);
71793
- nt(this, an);
71791
+ at(this, hn);
71792
+ at(this, jn);
71793
+ at(this, Wn);
71794
+ at(this, ai);
71795
+ at(this, an);
71794
71796
  Ue(this, jn, e), this.setOptions(t), this.bindMethods(), os(this, hn, Xh).call(this);
71795
71797
  }
71796
71798
  bindMethods() {
@@ -72483,7 +72485,7 @@ function Nde() {
72483
72485
  const ae = se;
72484
72486
  te > xf - ae ? (X = Z, ge |= X << te & 65535, cs(ge), ge = X >>> xf - te, te += ae - xf) : (ge |= Z << te & 65535, te += ae);
72485
72487
  }
72486
- function st(Z, se) {
72488
+ function it(Z, se) {
72487
72489
  const X = Z * 2;
72488
72490
  Le(se[X] & 65535, se[X + 1] & 65535);
72489
72491
  }
@@ -72493,9 +72495,9 @@ function Nde() {
72493
72495
  if (de = Ae, Ae = Z[(X + 1) * 2 + 1], !(++je < as && de == Ae)) {
72494
72496
  if (je < Rs)
72495
72497
  do
72496
- st(de, j);
72498
+ it(de, j);
72497
72499
  while (--je !== 0);
72498
- else de !== 0 ? (de != ae && (st(de, j), je--), st(a2, j), Le(je - 3, 2)) : je <= 10 ? (st(o2, j), Le(je - 3, 3)) : (st(l2, j), Le(je - 11, 7));
72500
+ else de !== 0 ? (de != ae && (it(de, j), je--), it(a2, j), Le(je - 3, 2)) : je <= 10 ? (it(o2, j), Le(je - 3, 3)) : (it(l2, j), Le(je - 11, 7));
72499
72501
  je = 0, ae = de, Ae === 0 ? (as = 138, Rs = 3) : de == Ae ? (as = 6, Rs = 3) : (as = 7, Rs = 4);
72500
72502
  }
72501
72503
  }
@@ -72509,7 +72511,7 @@ function Nde() {
72509
72511
  te == 16 ? (cs(ge), ge = 0, te = 0) : te >= 8 && (Et(ge & 255), ge >>>= 8, te -= 8);
72510
72512
  }
72511
72513
  function _e() {
72512
- Le(Sf << 1, 3), st(Il, Os.static_ltree), Ct(), 1 + Ie + 10 - te < 9 && (Le(Sf << 1, 3), st(Il, Os.static_ltree), Ct()), Ie = 7;
72514
+ Le(Sf << 1, 3), it(Il, Os.static_ltree), Ct(), 1 + Ie + 10 - te < 9 && (Le(Sf << 1, 3), it(Il, Os.static_ltree), Ct()), Ie = 7;
72513
72515
  }
72514
72516
  function Ge(Z, se) {
72515
72517
  let X, ae, de;
@@ -72525,9 +72527,9 @@ function Nde() {
72525
72527
  let X, ae, de = 0, Ae, je;
72526
72528
  if (re !== 0)
72527
72529
  do
72528
- X = i.dist_buf[de], ae = i.lc_buf[de], de++, X === 0 ? st(ae, Z) : (Ae = Ft._length_code[ae], st(Ae + Mc + 1, Z), je = Ft.extra_lbits[Ae], je !== 0 && (ae -= Ft.base_length[Ae], Le(ae, je)), X--, Ae = Ft.d_code(X), st(Ae, se), je = Ft.extra_dbits[Ae], je !== 0 && (X -= Ft.base_dist[Ae], Le(X, je)));
72530
+ X = i.dist_buf[de], ae = i.lc_buf[de], de++, X === 0 ? it(ae, Z) : (Ae = Ft._length_code[ae], it(Ae + Mc + 1, Z), je = Ft.extra_lbits[Ae], je !== 0 && (ae -= Ft.base_length[Ae], Le(ae, je)), X--, Ae = Ft.d_code(X), it(Ae, se), je = Ft.extra_dbits[Ae], je !== 0 && (X -= Ft.base_dist[Ae], Le(X, je)));
72529
72531
  while (de < re);
72530
- st(Il, Z), Ie = Z[Il * 2 + 1];
72532
+ it(Il, Z), Ie = Z[Il * 2 + 1];
72531
72533
  }
72532
72534
  function ns() {
72533
72535
  te > 8 ? cs(ge) : te > 0 && Et(ge & 255), ge = 0, te = 0;
@@ -78084,11 +78086,11 @@ async function Qfe(i, e, t, s) {
78084
78086
  e = e.trim(), s.directory && !e.endsWith(Rf) ? e += Rf : s.directory = e.endsWith(Rf);
78085
78087
  const r = xt(i, s, "encodeText", sc);
78086
78088
  let n = r(e);
78087
- if (n === Bt && (n = sc(e)), ot(n) > ui)
78089
+ if (n === Bt && (n = sc(e)), lt(n) > ui)
78088
78090
  throw new Error(Nfe);
78089
78091
  const a = s.comment || "";
78090
78092
  let o = r(a);
78091
- if (o === Bt && (o = sc(a)), ot(o) > ui)
78093
+ if (o === Bt && (o = sc(a)), lt(o) > ui)
78092
78094
  throw new Error(Mfe);
78093
78095
  const l = xt(i, s, Z3, Vpe);
78094
78096
  if (l > ui)
@@ -78107,12 +78109,12 @@ async function Qfe(i, e, t, s) {
78107
78109
  const { extraField: G } = s;
78108
78110
  if (G) {
78109
78111
  let Mt = 0, zt = 0;
78110
- G.forEach((Ct) => Mt += 4 + ot(Ct)), j = new Uint8Array(Mt), G.forEach((Ct, _e) => {
78112
+ G.forEach((Ct) => Mt += 4 + lt(Ct)), j = new Uint8Array(Mt), G.forEach((Ct, _e) => {
78111
78113
  if (_e > ui)
78112
78114
  throw new Error(qfe);
78113
- if (ot(Ct) > ui)
78115
+ if (lt(Ct) > ui)
78114
78116
  throw new Error(Bfe);
78115
- ps(j, new Uint16Array([_e]), zt), ps(j, new Uint16Array([ot(Ct)]), zt + 2), ps(j, Ct, zt + 4), zt += 4 + ot(Ct);
78117
+ ps(j, new Uint16Array([_e]), zt), ps(j, new Uint16Array([lt(Ct)]), zt + 2), ps(j, Ct, zt + 4), zt += 4 + lt(Ct);
78116
78118
  });
78117
78119
  }
78118
78120
  let ne = 0, Y = 0, oe = 0;
@@ -78160,19 +78162,19 @@ async function Qfe(i, e, t, s) {
78160
78162
  externalFileAttribute: v,
78161
78163
  useCompressionStream: _,
78162
78164
  passThrough: m,
78163
- encrypted: !!(g && ot(g) || b && ot(b)) || m && Is,
78165
+ encrypted: !!(g && lt(g) || b && lt(b)) || m && Is,
78164
78166
  signature: Et,
78165
78167
  compressionMethod: B
78166
78168
  });
78167
- const cs = jfe(s), rs = Gfe(s), Le = ot(cs.localHeaderArray, rs.dataDescriptorArray);
78169
+ const cs = jfe(s), rs = Gfe(s), Le = lt(cs.localHeaderArray, rs.dataDescriptorArray);
78168
78170
  Y = Le + ne, i.options.usdz && (Y += Y + 64), i.pendingEntriesSize += Y;
78169
- let st;
78171
+ let it;
78170
78172
  try {
78171
- st = await Ufe(i, e, t, { headerInfo: cs, dataDescriptorInfo: rs, metadataSize: Le }, s);
78173
+ it = await Ufe(i, e, t, { headerInfo: cs, dataDescriptorInfo: rs, metadataSize: Le }, s);
78172
78174
  } finally {
78173
78175
  i.pendingEntriesSize -= Y;
78174
78176
  }
78175
- return Object.assign(st, { name: e, comment: a, extraField: G }), new X3(st);
78177
+ return Object.assign(it, { name: e, comment: a, extraField: G }), new X3(it);
78176
78178
  }
78177
78179
  async function Ufe(i, e, t, s, r) {
78178
78180
  const {
@@ -78195,7 +78197,7 @@ async function Ufe(i, e, t, s, r) {
78195
78197
  if (i.addSplitZipSignature) {
78196
78198
  delete i.addSplitZipSignature;
78197
78199
  const Q = new Uint8Array(4), _ = Ns(Q);
78198
- at(_, 0, p3), await Rr(I, Q), i.offset += 4;
78200
+ ot(_, 0, p3), await Rr(I, Q), i.offset += 4;
78199
78201
  }
78200
78202
  c && Wfe(s, i.offset - M), y || (await V, await D(I));
78201
78203
  const { diskNumber: q } = a;
@@ -78233,7 +78235,7 @@ async function Ufe(i, e, t, s, r) {
78233
78235
  }), await V;
78234
78236
  }
78235
78237
  async function D(V) {
78236
- ot(h.localHeaderArray) > a.availableSize && (a.availableSize = 0, await Rr(V, new Uint8Array()));
78238
+ lt(h.localHeaderArray) > a.availableSize && (a.availableSize = 0, await Rr(V, new Uint8Array()));
78237
78239
  }
78238
78240
  }
78239
78241
  async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
@@ -78284,7 +78286,7 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
78284
78286
  externalFileAttribute: cs,
78285
78287
  useCompressionStream: rs,
78286
78288
  passThrough: Le
78287
- } = a, st = {
78289
+ } = a, it = {
78288
78290
  lock: s,
78289
78291
  versionMadeBy: oe,
78290
78292
  zip64: _,
@@ -78346,7 +78348,7 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
78346
78348
  uncompressedSize: zt,
78347
78349
  headerInfo: o,
78348
78350
  dataDescriptorInfo: l
78349
- }, a), ne && await Rr(_e, L), Object.assign(st, {
78351
+ }, a), ne && await Rr(_e, L), Object.assign(it, {
78350
78352
  uncompressedSize: zt,
78351
78353
  compressedSize: Ct,
78352
78354
  lastModDate: d,
@@ -78366,7 +78368,7 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
78366
78368
  zip64CompressedSize: H,
78367
78369
  zip64Offset: $,
78368
78370
  zip64DiskNumberStart: j
78369
- }), st;
78371
+ }), it;
78370
78372
  }
78371
78373
  function jfe(i) {
78372
78374
  const {
@@ -78387,7 +78389,7 @@ function jfe(i) {
78387
78389
  } = i, v = n !== 0 && !h;
78388
78390
  let { version: m, compressionMethod: g } = i, b;
78389
78391
  if (y && !o) {
78390
- b = new Uint8Array(ot(X2) + 2);
78392
+ b = new Uint8Array(lt(X2) + 2);
78391
78393
  const $ = Ns(b);
78392
78394
  mt($, 0, gpe), ps(b, X2, 2), qc($, 8, d);
78393
78395
  } else
@@ -78396,9 +78398,9 @@ function jfe(i) {
78396
78398
  if (f) {
78397
78399
  T = new Uint8Array(9 + (s ? 4 : 0) + (r ? 4 : 0));
78398
78400
  const $ = Ns(T);
78399
- mt($, 0, g3), mt($, 2, ot(T) - 4), A = 1 + (s ? 2 : 0) + (r ? 4 : 0), qc($, 4, A);
78401
+ mt($, 0, g3), mt($, 2, lt(T) - 4), A = 1 + (s ? 2 : 0) + (r ? 4 : 0), qc($, 4, A);
78400
78402
  let j = 5;
78401
- at($, j, Math.floor(t.getTime() / 1e3)), j += 4, s && (at($, j, Math.floor(s.getTime() / 1e3)), j += 4), r && at($, j, Math.floor(r.getTime() / 1e3));
78403
+ ot($, j, Math.floor(t.getTime() / 1e3)), j += 4, s && (ot($, j, Math.floor(s.getTime() / 1e3)), j += 4), r && ot($, j, Math.floor(r.getTime() / 1e3));
78402
78404
  try {
78403
78405
  x = new Uint8Array(36);
78404
78406
  const G = Ns(x), ne = Of(t);
@@ -78416,11 +78418,11 @@ function jfe(i) {
78416
78418
  let q;
78417
78419
  t < M2 ? q = M2 : t > O2 ? q = O2 : q = t, mt(M, 0, (q.getHours() << 6 | q.getMinutes()) << 5 | q.getSeconds() / 2), mt(M, 2, (q.getFullYear() - 1980 << 4 | q.getMonth() + 1) << 5 | q.getDate());
78418
78420
  const Q = I[0];
78419
- at(V, 6, Q), mt(V, 22, ot(e));
78420
- const _ = ot(b, T, x, c);
78421
+ ot(V, 6, Q), mt(V, 22, lt(e));
78422
+ const _ = lt(b, T, x, c);
78421
78423
  mt(V, 24, _);
78422
- const B = new Uint8Array(30 + ot(e) + _), H = Ns(B);
78423
- return at(H, 0, lpe), ps(B, D, 4), ps(B, e, 30), ps(B, b, 30 + ot(e)), ps(B, T, 30 + ot(e, b)), ps(B, x, 30 + ot(e, b, T)), ps(B, c, 30 + ot(e, b, T, x)), {
78424
+ const B = new Uint8Array(30 + lt(e) + _), H = Ns(B);
78425
+ return ot(H, 0, lpe), ps(B, D, 4), ps(B, e, 30), ps(B, b, 30 + lt(e)), ps(B, T, 30 + lt(e, b)), ps(B, x, 30 + lt(e, b, T)), ps(B, c, 30 + lt(e, b, T, x)), {
78424
78426
  localHeaderArray: B,
78425
78427
  headerArray: D,
78426
78428
  headerView: V,
@@ -78439,12 +78441,12 @@ function jfe(i) {
78439
78441
  }
78440
78442
  function Wfe(i, e) {
78441
78443
  const { headerInfo: t } = i;
78442
- let { localHeaderArray: s, extraFieldLength: r } = t, n = Ns(s), a = 64 - (e + ot(s)) % 64;
78444
+ let { localHeaderArray: s, extraFieldLength: r } = t, n = Ns(s), a = 64 - (e + lt(s)) % 64;
78443
78445
  a < 4 && (a += 64);
78444
78446
  const o = new Uint8Array(a), l = Ns(o);
78445
78447
  mt(l, 0, Cpe), mt(l, 2, a - 2);
78446
78448
  const u = s;
78447
- t.localHeaderArray = s = new Uint8Array(ot(u) + a), ps(s, u), ps(s, o, ot(u)), n = Ns(s), mt(n, 28, r + a), i.metadataSize += a;
78449
+ t.localHeaderArray = s = new Uint8Array(lt(u) + a), ps(s, u), ps(s, o, lt(u)), n = Ns(s), mt(n, 28, r + a), i.metadataSize += a;
78448
78450
  }
78449
78451
  function Gfe(i) {
78450
78452
  const {
@@ -78453,7 +78455,7 @@ function Gfe(i) {
78453
78455
  dataDescriptorSignature: s
78454
78456
  } = i;
78455
78457
  let r = new Uint8Array(), n, a = 0;
78456
- return t && (r = new Uint8Array(e ? s ? 24 : 20 : s ? 16 : 12), n = Ns(r), s && (a = 4, at(n, 0, upe))), {
78458
+ return t && (r = new Uint8Array(e ? s ? 24 : 20 : s ? 16 : 12), n = Ns(r), s && (a = 4, ot(n, 0, upe))), {
78457
78459
  dataDescriptorArray: r,
78458
78460
  dataDescriptorView: n,
78459
78461
  dataDescriptorOffset: a
@@ -78480,24 +78482,24 @@ function Kfe(i, e) {
78480
78482
  zipCrypto: v,
78481
78483
  dataDescriptor: m
78482
78484
  } = e;
78483
- if ((!u || v) && t !== Bt && (at(l, 10, t), m && at(h, c, t)), d) {
78485
+ if ((!u || v) && t !== Bt && (ot(l, 10, t), m && ot(h, c, t)), d) {
78484
78486
  const g = Ns(s);
78485
- mt(g, 0, mpe), mt(g, 2, ot(s) - 4);
78487
+ mt(g, 0, mpe), mt(g, 2, lt(s) - 4);
78486
78488
  let b = 4;
78487
- f && (at(l, 18, ci), hi(g, b, BigInt(n)), b += 8), y && (at(l, 14, ci), hi(g, b, BigInt(r))), m && (hi(h, c + 4, BigInt(r)), hi(h, c + 12, BigInt(n)));
78489
+ f && (ot(l, 18, ci), hi(g, b, BigInt(n)), b += 8), y && (ot(l, 14, ci), hi(g, b, BigInt(r))), m && (hi(h, c + 4, BigInt(r)), hi(h, c + 12, BigInt(n)));
78488
78490
  } else
78489
- at(l, 14, r), at(l, 18, n), m && (at(h, c + 4, r), at(h, c + 8, n));
78491
+ ot(l, 14, r), ot(l, 18, n), m && (ot(h, c + 4, r), ot(h, c + 8, n));
78490
78492
  }
78491
78493
  async function Zfe(i, e, t, { zipCrypto: s }) {
78492
78494
  let r;
78493
78495
  r = await e.slice(0, 26).arrayBuffer(), r.byteLength != 26 && (r = r.slice(0, 26));
78494
78496
  const n = new DataView(r);
78495
- return (!i.encrypted || s) && at(n, 14, i.signature), i.zip64 ? (at(n, 18, ci), at(n, 22, ci)) : (at(n, 18, i.compressedSize), at(n, 22, i.uncompressedSize)), await Rr(t, new Uint8Array(r)), e.slice(r.byteLength);
78497
+ return (!i.encrypted || s) && ot(n, 14, i.signature), i.zip64 ? (ot(n, 18, ci), ot(n, 22, ci)) : (ot(n, 18, i.compressedSize), ot(n, 22, i.uncompressedSize)), await Rr(t, new Uint8Array(r)), e.slice(r.byteLength);
78496
78498
  }
78497
78499
  function Jfe(i, e) {
78498
78500
  const { rawExtraFieldZip64: t, offset: s, diskNumberStart: r } = i, { zip64UncompressedSize: n, zip64CompressedSize: a, zip64Offset: o, zip64DiskNumberStart: l } = e, u = Ns(t);
78499
78501
  let h = 4;
78500
- n && (h += 8), a && (h += 8), o && (hi(u, h, BigInt(s)), h += 8), l && at(u, h, r);
78502
+ n && (h += 8), a && (h += 8), o && (hi(u, h, BigInt(s)), h += 8), l && ot(u, h, r);
78501
78503
  }
78502
78504
  async function Yfe(i, e, t) {
78503
78505
  const { files: s, writer: r } = i, { diskOffset: n, writable: a } = r;
@@ -78518,10 +78520,10 @@ async function Yfe(i, e, t) {
78518
78520
  if (Q) {
78519
78521
  H = new Uint8Array(9);
78520
78522
  const $ = Ns(H);
78521
- mt($, 0, g3), mt($, 2, 5), qc($, 4, _), at($, 5, Math.floor(B.getTime() / 1e3));
78523
+ mt($, 0, g3), mt($, 2, 5), qc($, 4, _), ot($, 5, Math.floor(B.getTime() / 1e3));
78522
78524
  } else
78523
78525
  H = new Uint8Array();
78524
- A.rawExtraFieldCDExtendedTimestamp = H, u += 46 + ot(
78526
+ A.rawExtraFieldCDExtendedTimestamp = H, u += 46 + lt(
78525
78527
  L,
78526
78528
  I,
78527
78529
  D,
@@ -78558,11 +78560,11 @@ async function Yfe(i, e, t) {
78558
78560
  diskNumberStart: te,
78559
78561
  uncompressedSize: we,
78560
78562
  compressedSize: et
78561
- } = L, Yt = ot(I, M, q, Q, _);
78562
- at(f, l, hpe), mt(f, l + 4, H);
78563
+ } = L, Yt = lt(I, M, q, Q, _);
78564
+ ot(f, l, hpe), mt(f, l + 4, H);
78563
78565
  const Gt = Ns($);
78564
- ne || at(Gt, 18, we), Y || at(Gt, 14, et), ps(d, $, l + 6), mt(f, l + 30, Yt), mt(f, l + 32, ot(B)), mt(f, l + 34, G && oe ? ui : te), mt(f, l + 36, Ie), ge ? at(f, l + 38, ge) : j && ue && qc(f, l + 38, Epe), at(f, l + 42, G && re ? ci : D), ps(d, V, l + 46), ps(d, I, l + 46 + ot(V)), ps(d, M, l + 46 + ot(V, I)), ps(d, q, l + 46 + ot(V, I, M)), ps(d, Q, l + 46 + ot(V, I, M, q)), ps(d, _, l + 46 + ot(V, I, M, q, Q)), ps(d, B, l + 46 + ot(V) + Yt);
78565
- const Is = 46 + ot(V, B) + Yt;
78566
+ ne || ot(Gt, 18, we), Y || ot(Gt, 14, et), ps(d, $, l + 6), mt(f, l + 30, Yt), mt(f, l + 32, lt(B)), mt(f, l + 34, G && oe ? ui : te), mt(f, l + 36, Ie), ge ? ot(f, l + 38, ge) : j && ue && qc(f, l + 38, Epe), ot(f, l + 42, G && re ? ci : D), ps(d, V, l + 46), ps(d, I, l + 46 + lt(V)), ps(d, M, l + 46 + lt(V, I)), ps(d, q, l + 46 + lt(V, I, M)), ps(d, Q, l + 46 + lt(V, I, M, q)), ps(d, _, l + 46 + lt(V, I, M, q, Q)), ps(d, B, l + 46 + lt(V) + Yt);
78567
+ const Is = 46 + lt(V, B) + Yt;
78566
78568
  if (l - y > r.availableSize && (r.availableSize = 0, await Rr(a, d.slice(y, l)), y = l), l += Is, t.onprogress)
78567
78569
  try {
78568
78570
  await t.onprogress(A + 1, s.size, new X3(L));
@@ -78580,8 +78582,8 @@ async function Yfe(i, e, t) {
78580
78582
  g = !0;
78581
78583
  }
78582
78584
  const b = new Uint8Array(g ? fpe : Gm), x = Ns(b);
78583
- l = 0, g && (at(x, 0, dpe), hi(x, 4, BigInt(44)), mt(x, 12, 45), mt(x, 14, 45), at(x, 16, v), at(x, 20, o), hi(x, 24, BigInt(c)), hi(x, 32, BigInt(c)), hi(x, 40, BigInt(u)), hi(x, 48, BigInt(h)), at(x, 56, ppe), hi(x, 64, BigInt(h) + BigInt(u)), at(x, 72, v + 1), xt(i, t, "supportZip64SplitFile", !0) && (v = ui, o = ui), c = ui, h = ci, u = ci, l += m3 + f3), at(x, l, cpe), mt(x, l + 4, v), mt(x, l + 6, o), mt(x, l + 8, c), mt(x, l + 10, c), at(x, l + 12, u), at(x, l + 16, h);
78584
- const T = ot(e);
78585
+ l = 0, g && (ot(x, 0, dpe), hi(x, 4, BigInt(44)), mt(x, 12, 45), mt(x, 14, 45), ot(x, 16, v), ot(x, 20, o), hi(x, 24, BigInt(c)), hi(x, 32, BigInt(c)), hi(x, 40, BigInt(u)), hi(x, 48, BigInt(h)), ot(x, 56, ppe), hi(x, 64, BigInt(h) + BigInt(u)), ot(x, 72, v + 1), xt(i, t, "supportZip64SplitFile", !0) && (v = ui, o = ui), c = ui, h = ci, u = ci, l += m3 + f3), ot(x, l, cpe), mt(x, l + 4, v), mt(x, l + 6, o), mt(x, l + 8, c), mt(x, l + 10, c), ot(x, l + 12, u), ot(x, l + 16, h);
78586
+ const T = lt(e);
78585
78587
  if (T)
78586
78588
  if (T <= ui)
78587
78589
  mt(x, l + 20, T);
@@ -78592,7 +78594,7 @@ async function Yfe(i, e, t) {
78592
78594
  async function Rr(i, e) {
78593
78595
  const t = i.getWriter();
78594
78596
  try {
78595
- await t.ready, i.size += ot(e), await t.write(e);
78597
+ await t.ready, i.size += lt(e), await t.write(e);
78596
78598
  } finally {
78597
78599
  t.releaseLock();
78598
78600
  }
@@ -78614,7 +78616,7 @@ function qc(i, e, t) {
78614
78616
  function mt(i, e, t) {
78615
78617
  i.setUint16(e, t, !0);
78616
78618
  }
78617
- function at(i, e, t) {
78619
+ function ot(i, e, t) {
78618
78620
  i.setUint32(e, t, !0);
78619
78621
  }
78620
78622
  function hi(i, e, t) {
@@ -78626,7 +78628,7 @@ function ps(i, e, t) {
78626
78628
  function Ns(i) {
78627
78629
  return new DataView(i.buffer);
78628
78630
  }
78629
- function ot(...i) {
78631
+ function lt(...i) {
78630
78632
  let e = 0;
78631
78633
  return i.forEach((t) => t && (e += t.length)), e;
78632
78634
  }
@@ -78647,7 +78649,7 @@ var Ym;
78647
78649
  i.UTF8 = "utf8", i.ASCII = "ascii", i.UTF16 = "utf16";
78648
78650
  })(Ym || (Ym = {}));
78649
78651
  const Ea = wu("Filesystem", {
78650
- web: () => import("./web-DWLF4kLx.js").then((i) => new i.FilesystemWeb())
78652
+ web: () => import("./web-DvZ82oLB.js").then((i) => new i.FilesystemWeb())
78651
78653
  });
78652
78654
  vi("Upload", async (i, e, t, s) => {
78653
78655
  const r = i.sessionID || `sim_${Date.now()}_${Math.floor(Lt(0, 2176782336)).toString(36)}`, n = VV({
@@ -78799,7 +78801,7 @@ function ime({
78799
78801
  uploadingContent: d,
78800
78802
  errorContent: f
78801
78803
  }) {
78802
- const [y, v] = rt(
78804
+ const [y, v] = nt(
78803
78805
  "initial"
78804
78806
  ), m = fe(!1), g = Xm.find((V) => V.name === "upload"), b = Xm.find((V) => V.name === "download"), x = Oo(g.name, g.defaultValue, g.type), T = Oo(b.name, b.defaultValue, b.type), A = mde({
78805
78807
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -78864,9 +78866,9 @@ function ime({
78864
78866
  e,
78865
78867
  A
78866
78868
  ]);
78867
- return lt(() => {
78869
+ return st(() => {
78868
78870
  o && !m.current && D && D();
78869
- }, [o, D]), lt(() => {
78871
+ }, [o, D]), st(() => {
78870
78872
  y === "error" && (m.current = !1);
78871
78873
  }, [y]), /* @__PURE__ */ R.jsx("div", { className: h ?? "", style: { position: "fixed", inset: 0 }, children: /* @__PURE__ */ R.jsxs("div", { className: `flex flex-col items-center justify-center gap-4 p-6 text-xl mt-16 px-10 h-full ${u ?? ""}`, children: [
78872
78874
  y == "initial" && !o && /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
@@ -78910,7 +78912,7 @@ var iw;
78910
78912
  i.None = "NONE", i.Slide = "SLIDE", i.Fade = "FADE";
78911
78913
  })(iw || (iw = {}));
78912
78914
  const t7 = wu("StatusBar"), s7 = wu("ImmersiveMode", {
78913
- web: () => import("./web-jM3PxDy0.js").then((i) => new i.ImmersiveModeWeb())
78915
+ web: () => import("./web-CWLGQMq-.js").then((i) => new i.ImmersiveModeWeb())
78914
78916
  });
78915
78917
  Ai("EnterFullscreen", "session");
78916
78918
  vi("EnterFullscreen", xu, {});
@@ -78928,7 +78930,7 @@ function rme({
78928
78930
  const u = /* @__PURE__ */ R.jsxs("div", { className: "flex flex-col items-center", children: [
78929
78931
  !!i && i,
78930
78932
  !i && /* @__PURE__ */ R.jsx("p", { className: "", children: "Please click the Button below to enter Fullscreen mode." })
78931
- ] }), [h, c] = rt(!1), d = fe(!1), f = fe(null), y = Xe(() => {
78933
+ ] }), [h, c] = nt(!1), d = fe(!1), f = fe(null), y = Xe(() => {
78932
78934
  f.current && (clearTimeout(f.current), f.current = null);
78933
78935
  }, []), v = Xe(() => {
78934
78936
  document.removeEventListener("fullscreenchange", g), document.removeEventListener("webkitfullscreenchange", g), document.removeEventListener("mozfullscreenchange", g), document.removeEventListener("MSFullscreenChange", g), y(), d.current = !1;
@@ -78955,7 +78957,7 @@ function rme({
78955
78957
  }
78956
78958
  T.mozRequestFullScreen ? (T.mozRequestFullScreen(), b()) : T.webkitRequestFullscreen ? (T.webkitRequestFullscreen(), b()) : T.msRequestFullscreen ? (T.msRequestFullscreen(), b()) : console.warn("Fullscreen API is not supported by this browser.");
78957
78959
  }, [m, b, v]);
78958
- return lt(() => () => {
78960
+ return st(() => () => {
78959
78961
  v();
78960
78962
  }, [v]), h ? /* @__PURE__ */ R.jsx("div", { className: `min-h-screen ${s ?? ""}` }) : /* @__PURE__ */ R.jsx(
78961
78963
  wv,
@@ -78992,7 +78994,7 @@ function nme({
78992
78994
  }, [a, n]), l = Xe(() => {
78993
78995
  n(), t.current = !0, document.addEventListener("fullscreenchange", o), document.addEventListener("webkitfullscreenchange", o), document.addEventListener("mozfullscreenchange", o), document.addEventListener("MSFullscreenChange", o);
78994
78996
  }, [o, n]);
78995
- return lt(() => ((async () => {
78997
+ return st(() => ((async () => {
78996
78998
  if (!Ul()) {
78997
78999
  i({});
78998
79000
  return;
@@ -79043,7 +79045,7 @@ function ep(i) {
79043
79045
  T.target === c.current && (f(), g.removeEventListener("animationend", x), g.removeEventListener("animationcancel", x), m.current === 0 && T.type !== "animationcancel" && g.classList.remove(...b));
79044
79046
  };
79045
79047
  g.classList.add(...b), g.addEventListener("animationend", x), g.addEventListener("animationcancel", x);
79046
- }, []), lt(() => {
79048
+ }, []), st(() => {
79047
79049
  const g = c.current, b = () => {
79048
79050
  g.removeEventListener("animationend", b), r ? ame(g, h, n) : h();
79049
79051
  };
@@ -79151,7 +79153,7 @@ function lme(i) {
79151
79153
  }, isToastActive: n7, count: r == null ? void 0 : r.length };
79152
79154
  }
79153
79155
  function ume(i) {
79154
- const [e, t] = rt(!1), [s, r] = rt(!1), n = fe(null), a = fe({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: o, pauseOnHover: l, closeToast: u, onClick: h, closeOnClick: c } = i;
79156
+ const [e, t] = nt(!1), [s, r] = nt(!1), n = fe(null), a = fe({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: o, pauseOnHover: l, closeToast: u, onClick: h, closeOnClick: c } = i;
79155
79157
  var d, f;
79156
79158
  function y() {
79157
79159
  t(!0);
@@ -79171,7 +79173,7 @@ function ume(i) {
79171
79173
  x.style.transition = "transform 0.2s, opacity 0.2s", x.style.removeProperty("transform"), x.style.removeProperty("opacity");
79172
79174
  }
79173
79175
  }
79174
- (f = Js.get((d = { id: i.toastId, containerId: i.containerId, fn: t }).containerId || 1)) == null || f.setToggle(d.id, d.fn), lt(() => {
79176
+ (f = Js.get((d = { id: i.toastId, containerId: i.containerId, fn: t }).containerId || 1)) == null || f.setToggle(d.id, d.fn), st(() => {
79175
79177
  if (i.pauseOnFocusLoss) return document.hasFocus() || v(), window.addEventListener("focus", y), window.addEventListener("blur", v), () => {
79176
79178
  window.removeEventListener("focus", y), window.removeEventListener("blur", v);
79177
79179
  };
@@ -79264,7 +79266,7 @@ Nt.loading = (i, e) => Bl(i, Bc("default", { isLoading: !0, autoClose: !1, close
79264
79266
  tg.delete(i);
79265
79267
  };
79266
79268
  }, Nt.play = (i) => nw(!0, i), Nt.pause = (i) => nw(!1, i);
79267
- const pme = typeof window < "u" ? Pg : lt, Bh = (i) => {
79269
+ const pme = typeof window < "u" ? Pg : st, Bh = (i) => {
79268
79270
  let { theme: e, type: t, isLoading: s, ...r } = i;
79269
79271
  return Ze.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: e === "colored" ? "currentColor" : `var(--toastify-icon-color-${t})`, ...r });
79270
79272
  }, Mf = { info: function(i) {
@@ -79295,7 +79297,7 @@ const pme = typeof window < "u" ? Pg : lt, Bh = (i) => {
79295
79297
  }, mme = ep(tp("bounce", !0)), oCe = ep(tp("slide", !0)), lCe = ep(tp("zoom")), uCe = ep(tp("flip")), gme = { position: "top-right", transition: mme, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
79296
79298
  function vme(i) {
79297
79299
  let e = { ...gme, ...i };
79298
- const t = i.stacked, [s, r] = rt(!0), n = fe(null), { getToastToRender: a, isToastActive: o, count: l } = lme(e), { className: u, style: h, rtl: c, containerId: d } = e;
79300
+ const t = i.stacked, [s, r] = nt(!0), n = fe(null), { getToastToRender: a, isToastActive: o, count: l } = lme(e), { className: u, style: h, rtl: c, containerId: d } = e;
79299
79301
  function f(v) {
79300
79302
  const m = Zn("Toastify__toast-container", `Toastify__toast-container--${v}`, { "Toastify__toast-container--rtl": c });
79301
79303
  return Pi(u) ? u({ position: v, rtl: c, defaultClassName: m }) : Zn(m, rc(u));
@@ -79329,8 +79331,8 @@ const yme = ({
79329
79331
  paramRegistry: i,
79330
79332
  timelineRepresentation: e
79331
79333
  }) => {
79332
- const [t, s] = rt({}), [r, n] = rt([]), [a, o] = rt(""), [l, u] = rt("Copy URL"), [h, c] = rt(!1), [d, f] = rt(!1), [y, v] = rt([]), m = fe(null), g = [...i].filter((_) => _.name !== "includeSubset" && _.name !== "excludeSubset").sort((_, B) => _.name.localeCompare(B.name));
79333
- lt(() => {
79334
+ const [t, s] = nt({}), [r, n] = nt([]), [a, o] = nt(""), [l, u] = nt("Copy URL"), [h, c] = nt(!1), [d, f] = nt(!1), [y, v] = nt([]), m = fe(null), g = [...i].filter((_) => _.name !== "includeSubset" && _.name !== "excludeSubset").sort((_, B) => _.name.localeCompare(B.name));
79335
+ st(() => {
79334
79336
  const _ = new URLSearchParams(window.location.search), B = {}, H = [];
79335
79337
  let $ = [], j = !1;
79336
79338
  const G = _.get("includeSubset"), ne = _.get("excludeSubset"), Y = _.get("_b");
@@ -79393,7 +79395,7 @@ const yme = ({
79393
79395
  });
79394
79396
  }
79395
79397
  s(B), n(H);
79396
- }, [i]), lt(() => {
79398
+ }, [i]), st(() => {
79397
79399
  const _ = window.location.pathname.replace(/\/settings$/, "");
79398
79400
  let B = "";
79399
79401
  const H = { ...t };
@@ -79829,7 +79831,12 @@ function aw(i) {
79829
79831
  return !!i;
79830
79832
  }
79831
79833
  function hCe({ children: i, disableSettings: e, disableHybridSimulation: t }) {
79832
- return window.location.pathname.endsWith("/settings") && !aw(e) ? /* @__PURE__ */ R.jsx(
79834
+ return st(() => {
79835
+ const s = (r) => {
79836
+ r.key === " " && !(r.target instanceof HTMLInputElement) && !(r.target instanceof HTMLTextAreaElement) && !r.target.isContentEditable && r.preventDefault();
79837
+ };
79838
+ return window.addEventListener("keydown", s), () => window.removeEventListener("keydown", s);
79839
+ }, []), window.location.pathname.endsWith("/settings") && !aw(e) ? /* @__PURE__ */ R.jsx(
79833
79840
  yme,
79834
79841
  {
79835
79842
  paramRegistry: Cc.getRegistry(),
@@ -79859,8 +79866,8 @@ function hCe({ children: i, disableSettings: e, disableHybridSimulation: t }) {
79859
79866
  Ai("RequestFilePermission", null);
79860
79867
  vi("RequestFilePermission", xu, {});
79861
79868
  function wme({ next: i }) {
79862
- const [e, t] = rt("checking");
79863
- return lt(() => {
79869
+ const [e, t] = nt("checking");
79870
+ return st(() => {
79864
79871
  if (e !== "checking") return;
79865
79872
  (async () => {
79866
79873
  if (Ed() !== "mobile" || Fa.getPlatform() !== "android") {
@@ -79931,7 +79938,7 @@ function Vme({
79931
79938
  initCanvas: o
79932
79939
  }) {
79933
79940
  const { instructions: l, markers: u } = di(() => Vd(t), [t]), h = fe(0), c = fe(0), d = fe(!0), f = fe(null), y = fe(null), v = fe([]), m = fe(n ?? {}), g = fe(null), b = fe(0), x = fe(null);
79934
- lt(() => {
79941
+ st(() => {
79935
79942
  const Q = m.current._reactiveScreenRefreshRate, _ = typeof Q == "number" && Q >= 20 && Q <= 300;
79936
79943
  x.current = _ ? 1e3 / Q : null;
79937
79944
  }, [n]);
@@ -80071,7 +80078,7 @@ function Vme({
80071
80078
  },
80072
80079
  [l, T, V, L]
80073
80080
  );
80074
- return lt(() => {
80081
+ return st(() => {
80075
80082
  const Q = y.current;
80076
80083
  if (!Q) return;
80077
80084
  const _ = Ul() ? window.screen.width : window.innerWidth, B = Ul() ? window.screen.height : window.innerHeight;
@@ -80226,8 +80233,8 @@ function Sme({
80226
80233
  updateStore: r,
80227
80234
  next: n
80228
80235
  }) {
80229
- const [a, o] = rt(!1), l = fe(!1);
80230
- return lt(() => {
80236
+ const [a, o] = nt(!1), l = fe(!1);
80237
+ return st(() => {
80231
80238
  if (l.current)
80232
80239
  return;
80233
80240
  (async () => {
@@ -80305,8 +80312,8 @@ function Tme({
80305
80312
  fields: n,
80306
80313
  saveButtonText: a = "Save Configuration"
80307
80314
  }) {
80308
- const [o, l] = rt({}), [u, h] = rt({}), [c, d] = rt({});
80309
- lt(() => {
80315
+ const [o, l] = nt({}), [u, h] = nt({}), [c, d] = nt({});
80316
+ st(() => {
80310
80317
  l(u7(n, t));
80311
80318
  const g = {};
80312
80319
  n.forEach((b) => {
@@ -80334,7 +80341,7 @@ function Tme({
80334
80341
  }
80335
80342
  return null;
80336
80343
  };
80337
- lt(() => {
80344
+ st(() => {
80338
80345
  const g = {};
80339
80346
  n.forEach((b) => {
80340
80347
  const x = o[b.storeKey];
@@ -80471,7 +80478,7 @@ function l0(i) {
80471
80478
  const e = fe(null);
80472
80479
  return e.current === null && (e.current = i()), e.current;
80473
80480
  }
80474
- const Pme = typeof window < "u", u0 = Pme ? Pg : lt, sp = /* @__PURE__ */ fn(null);
80481
+ const Pme = typeof window < "u", u0 = Pme ? Pg : st, sp = /* @__PURE__ */ fn(null);
80475
80482
  function h0(i, e) {
80476
80483
  i.indexOf(e) === -1 && i.push(e);
80477
80484
  }
@@ -84523,7 +84530,7 @@ function M4(i = !0) {
84523
84530
  if (e === null)
84524
84531
  return [!0, null];
84525
84532
  const { isPresent: t, onExitComplete: s, register: r } = e, n = Ig();
84526
- lt(() => {
84533
+ st(() => {
84527
84534
  if (i)
84528
84535
  return r(n);
84529
84536
  }, [i]);
@@ -84538,7 +84545,7 @@ function dx(i) {
84538
84545
  }), e;
84539
84546
  }
84540
84547
  const C1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, presenceAffectsLayout: r = !0, mode: n = "sync", propagate: a = !1, anchorX: o = "left", anchorY: l = "top", root: u }) => {
84541
- const [h, c] = M4(a), d = di(() => dx(i), [i]), f = a && !h ? [] : d.map(Qh), y = fe(!0), v = fe(d), m = l0(() => /* @__PURE__ */ new Map()), g = fe(/* @__PURE__ */ new Set()), [b, x] = rt(d), [T, A] = rt(d);
84548
+ const [h, c] = M4(a), d = di(() => dx(i), [i]), f = a && !h ? [] : d.map(Qh), y = fe(!0), v = fe(d), m = l0(() => /* @__PURE__ */ new Map()), g = fe(/* @__PURE__ */ new Set()), [b, x] = nt(d), [T, A] = nt(d);
84542
84549
  u0(() => {
84543
84550
  y.current = !1, v.current = d;
84544
84551
  for (let V = 0; V < T.length; V++) {
@@ -84580,7 +84587,7 @@ function w1e() {
84580
84587
  }), []), i;
84581
84588
  }
84582
84589
  function x1e() {
84583
- const i = w1e(), [e, t] = rt(0), s = Xe(() => {
84590
+ const i = w1e(), [e, t] = nt(0), s = Xe(() => {
84584
84591
  i.current && t(e + 1);
84585
84592
  }, [e]);
84586
84593
  return [Xe(() => Rt.postRender(s), [s]), e];
@@ -84893,7 +84900,7 @@ function U1e(i, e, t, s, r, n) {
84893
84900
  const g = t[J7], b = fe(!!g && typeof window < "u" && !((x = window.MotionHandoffIsComplete) != null && x.call(window, g)) && ((T = window.MotionHasOptimisedAnimation) == null ? void 0 : T.call(window, g)));
84894
84901
  return u0(() => {
84895
84902
  f.current = !0, y && (m.current = !0, window.MotionIsMounted = !0, y.updateFeatures(), y.scheduleRenderMicrotask(), b.current && y.animationState && y.animationState.animateChanges());
84896
- }), lt(() => {
84903
+ }), st(() => {
84897
84904
  y && (!b.current && y.animationState && y.animationState.animateChanges(), b.current && (queueMicrotask(() => {
84898
84905
  var A;
84899
84906
  (A = window.MotionHandoffMarkAsComplete) == null || A.call(window, g);
@@ -85802,8 +85809,8 @@ const Z4 = fn({
85802
85809
  backKey: o = "ArrowLeft",
85803
85810
  theme: l = "light"
85804
85811
  }) => {
85805
- const [u, h] = rt(0), [c, d] = rt({}), f = fe(), y = fe({}), v = c[u] !== !1, m = fe(v), [g, b] = rt(!1);
85806
- lt(() => {
85812
+ const [u, h] = nt(0), [c, d] = nt({}), f = fe(), y = fe({}), v = c[u] !== !1, m = fe(v), [g, b] = nt(!1);
85813
+ st(() => {
85807
85814
  if (v && !m.current) {
85808
85815
  b(!0);
85809
85816
  const I = setTimeout(() => b(!1), 300);
@@ -85831,16 +85838,16 @@ const Z4 = fn({
85831
85838
  },
85832
85839
  [A]
85833
85840
  );
85834
- lt(() => () => {
85841
+ st(() => () => {
85835
85842
  f.current && clearTimeout(f.current);
85836
85843
  }, []);
85837
85844
  const V = Xe(() => {
85838
85845
  u > 0 && h((I) => I - 1);
85839
85846
  }, [u]);
85840
- return lt(() => {
85847
+ return st(() => {
85841
85848
  if (a === !1 && o === !1) return;
85842
85849
  const I = (M) => {
85843
- a && M.key === a && L(), o && M.key === o && V();
85850
+ a && M.key === a && (M.preventDefault(), L()), o && M.key === o && (M.preventDefault(), V());
85844
85851
  };
85845
85852
  return window.addEventListener("keydown", I), () => window.removeEventListener("keydown", I);
85846
85853
  }, [a, o, L, V]), /* @__PURE__ */ R.jsx(V1e, { children: /* @__PURE__ */ R.jsxs(
@@ -86198,7 +86205,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86198
86205
  const _e = (90 - a) * Math.PI / 180;
86199
86206
  return [Math.cos(_e), -Math.sin(_e)];
86200
86207
  }, [a]), rs = fe([]), Le = fe(0);
86201
- lt(() => {
86208
+ st(() => {
86202
86209
  const _e = Math.floor(r * o), Ge = Math.floor(r * l);
86203
86210
  rs.current = Array.from(
86204
86211
  { length: n },
@@ -86207,7 +86214,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86207
86214
  return ns < _e ? bs = "coherent" : ns < _e + Ge ? bs = "opposite" : bs = D, Nye(bs, h, Et);
86208
86215
  })
86209
86216
  );
86210
- }, []), lt(() => {
86217
+ }, []), st(() => {
86211
86218
  typeof G == "number" && G >= 20 && G <= 300 && (et.current = 1e3 / G, Yt.current = !0);
86212
86219
  }, [G]), AP(e, () => ({
86213
86220
  getStats: () => ({
@@ -86215,7 +86222,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86215
86222
  measuredRefreshRate: et.current ? Math.round(1e3 / et.current) : null
86216
86223
  })
86217
86224
  }));
86218
- const st = Xe(
86225
+ const it = Xe(
86219
86226
  (_e, Ge) => {
86220
86227
  Ge.forEach((Te) => {
86221
86228
  const ns = v && Te.assignedMovement === "coherent" ? v : y;
@@ -86292,7 +86299,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86292
86299
  rs.current[Le.current] = Cn, Le.current = (Le.current + 1) % n, ue.current = _e;
86293
86300
  }
86294
86301
  const Ws = rs.current[Le.current];
86295
- Te.save(), Et.clip(Te), st(Te, Ws), Te.restore(), Te.save(), Te.beginPath(), Mt(Te, Et.centerX, Et.centerY), zt(Te), Te.restore();
86302
+ Te.save(), Et.clip(Te), it(Te, Ws), Te.restore(), Te.save(), Te.beginPath(), Mt(Te, Et.centerX, Et.centerY), zt(Te), Te.restore();
86296
86303
  }
86297
86304
  re.current = requestAnimationFrame(Ct);
86298
86305
  },
@@ -86311,15 +86318,15 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86311
86318
  d,
86312
86319
  cs,
86313
86320
  c,
86314
- st,
86321
+ it,
86315
86322
  Mt,
86316
86323
  zt,
86317
86324
  V
86318
86325
  ]
86319
86326
  );
86320
- return lt(() => (re.current = requestAnimationFrame(Ct), () => {
86327
+ return st(() => (re.current = requestAnimationFrame(Ct), () => {
86321
86328
  re.current && cancelAnimationFrame(re.current);
86322
- }), [Ct]), lt(() => {
86329
+ }), [Ct]), st(() => {
86323
86330
  const _e = oe.current;
86324
86331
  if (!_e) return;
86325
86332
  const Ge = window.devicePixelRatio || 1;
@@ -86375,7 +86382,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86375
86382
  borderColor: Y
86376
86383
  } = { ...xr, ...i }, oe = fe(i);
86377
86384
  oe.current = i;
86378
- const re = fe(null), ue = fe(performance.now()), Ie = fe(!1), ge = fe(null), te = fe(null), [we, et] = rt(null), [Yt, Gt] = rt(_ <= 0), [Is, Et] = rt(!0), cs = e == null ? void 0 : e._reactiveScreenRefreshRate, rs = Xe((Le, st) => {
86385
+ const re = fe(null), ue = fe(performance.now()), Ie = fe(!1), ge = fe(null), te = fe(null), [we, et] = nt(null), [Yt, Gt] = nt(_ <= 0), [Is, Et] = nt(!0), cs = e == null ? void 0 : e._reactiveScreenRefreshRate, rs = Xe((Le, it) => {
86379
86386
  var bs;
86380
86387
  if (Ie.current) return;
86381
86388
  Ie.current = !0;
@@ -86383,32 +86390,32 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86383
86390
  Mt({
86384
86391
  ...xr,
86385
86392
  ...Ge,
86386
- rt: st,
86393
+ rt: it,
86387
86394
  response: Le,
86388
86395
  correct: Le && ns ? ns.includes(Le) : null,
86389
86396
  framesDisplayed: (Te == null ? void 0 : Te.framesDisplayed) ?? 0,
86390
86397
  measuredRefreshRate: (Te == null ? void 0 : Te.measuredRefreshRate) ?? null
86391
86398
  });
86392
86399
  }, []);
86393
- return lt(() => {
86400
+ return st(() => {
86394
86401
  if (_ <= 0) return;
86395
86402
  const Le = setTimeout(() => Gt(!0), _);
86396
86403
  return () => clearTimeout(Le);
86397
- }, [_]), lt(() => {
86404
+ }, [_]), st(() => {
86398
86405
  const Le = t ?? c;
86399
86406
  if (Le <= 0) return;
86400
- const st = setTimeout(() => Et(!1), _ + Le);
86401
- return () => clearTimeout(st);
86402
- }, [_, t, c]), lt(() => {
86407
+ const it = setTimeout(() => Et(!1), _ + Le);
86408
+ return () => clearTimeout(it);
86409
+ }, [_, t, c]), st(() => {
86403
86410
  if (c <= 0) return;
86404
86411
  const Le = setTimeout(() => {
86405
86412
  rs(ge.current, te.current);
86406
86413
  }, _ + c);
86407
86414
  return () => clearTimeout(Le);
86408
- }, [_, c, rs]), lt(() => {
86409
- const Le = (st) => {
86415
+ }, [_, c, rs]), st(() => {
86416
+ const Le = (it) => {
86410
86417
  if (Ie.current || ge.current) return;
86411
- const Mt = st.key.toLowerCase(), zt = h.length > 0 ? h.map((Ct) => Ct.toLowerCase()) : null;
86418
+ const Mt = it.key.toLowerCase(), zt = h.length > 0 ? h.map((Ct) => Ct.toLowerCase()) : null;
86412
86419
  if (!zt || zt.includes(Mt)) {
86413
86420
  const Ct = performance.now() - ue.current;
86414
86421
  ge.current = Mt, te.current = Ct, et(Mt), d && rs(Mt, Ct);
@@ -86534,7 +86541,7 @@ function pCe({
86534
86541
  params: B
86535
86542
  }
86536
86543
  }];
86537
- })()), [l, u] = rt(0), h = fe(Qs()), c = fe({}), [d, f] = rt(
86544
+ })()), [l, u] = nt(0), h = fe(Qs()), c = fe({}), [d, f] = nt(
86538
86545
  () => Yn(
86539
86546
  a,
86540
86547
  0,
@@ -86548,7 +86555,7 @@ function pCe({
86548
86555
  const q = a.instructions.length;
86549
86556
  return q > 0 ? d / q : 0;
86550
86557
  }, [d, a.instructions]);
86551
- lt(() => {
86558
+ st(() => {
86552
86559
  window.scrollTo(0, 0);
86553
86560
  }, [d]);
86554
86561
  function T(q) {
@@ -86603,7 +86610,7 @@ function pCe({
86603
86610
  return H = requestAnimationFrame(Y), ne;
86604
86611
  }, []), D = ({ children: q, collectRefreshRate: Q }) => {
86605
86612
  const _ = fe(null), B = fe(null);
86606
- lt(() => {
86613
+ st(() => {
86607
86614
  if (_.current = Qs(), Q)
86608
86615
  return L((j) => {
86609
86616
  B.current = j, T({ _reactiveScreenRefreshRate: j });
@@ -86628,7 +86635,7 @@ function pCe({
86628
86635
  const q = V.content;
86629
86636
  return !Xf(q) || q.simulate === !1 ? !1 : !!q.simulate || !!q.simulators;
86630
86637
  }, [d, y, V]);
86631
- lt(() => {
86638
+ st(() => {
86632
86639
  I && m.current !== d && (m.current = d, (async () => {
86633
86640
  const q = V.content, { trialProps: Q, simulateFn: _, simulators: B } = wV(q, o.current, c.current), H = await _(
86634
86641
  Q,