interview-widget 3.2.6 → 3.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.es.js CHANGED
@@ -467,7 +467,7 @@ const sd = (e) => {
467
467
  }
468
468
  }
469
469
  Q ? (i.current = Q, l(Q), t.current && (t.current.srcObject = Q, await t.current.play().catch((Y) => console.error("Error playing video element", Y)))) : (i.current = null, l(null)), await S();
470
- }, [S]), A = async (I) => {
470
+ }, [S]), T = async (I) => {
471
471
  I !== w && (v(!0), g(I), R(), await E(I, y), v(!1));
472
472
  }, B = async (I) => {
473
473
  I !== y && (v(!0), p(I), R(), await E(w, I), v(!1));
@@ -488,7 +488,7 @@ const sd = (e) => {
488
488
  selectedVideoDeviceId: y,
489
489
  isDeviceLoading: b,
490
490
  currentStream: a,
491
- handleAudioChange: A,
491
+ handleAudioChange: T,
492
492
  handleVideoChange: B,
493
493
  stopStream: R
494
494
  };
@@ -744,7 +744,7 @@ const sd = (e) => {
744
744
  LOOKING_AWAY: "looking_away",
745
745
  CAMERA_ERROR: "camera_error",
746
746
  MODEL_LOADING: "model_loading"
747
- }, Ta = {
747
+ }, Aa = {
748
748
  [Fe.FACE_DETECTED]: {
749
749
  icon: ud,
750
750
  iconColor: "iw-text-green-600",
@@ -913,7 +913,7 @@ const Nt = {
913
913
  CONFIG: (e) => `${Nt.v2}/interviews/${e}/config`,
914
914
  TRANSCRIPTION: (e) => `${Nt.v2}/interviews/${e}/transcript`
915
915
  };
916
- class Aa {
916
+ class Ta {
917
917
  constructor(t = {}) {
918
918
  ke(this, "config");
919
919
  this.config = t;
@@ -1087,7 +1087,7 @@ class Aa {
1087
1087
  return await i.json();
1088
1088
  }
1089
1089
  }
1090
- const Er = new Aa(), bd = ({
1090
+ const Er = new Ta(), bd = ({
1091
1091
  gazeAnalysisEnabled: e,
1092
1092
  isModelLoaded: t,
1093
1093
  stats: i,
@@ -1340,7 +1340,7 @@ Cn = cs && cs.userAgentData || null, zr[" "] = function() {
1340
1340
  };
1341
1341
  const Ca = {};
1342
1342
  let Ji = null;
1343
- function Td(e) {
1343
+ function Ad(e) {
1344
1344
  const t = e.length;
1345
1345
  let i = 3 * t / 4;
1346
1346
  i % 3 ? i = Math.floor(i) : "=.".indexOf(e[t - 1]) != -1 && (i = "=.".indexOf(e[t - 2]) != -1 ? i - 2 : i - 1);
@@ -1380,20 +1380,20 @@ function Ia() {
1380
1380
  }
1381
1381
  }
1382
1382
  }
1383
- var Ad = typeof Uint8Array < "u", Ra = !(!(kd && Cn && Cn.brands.length > 0) && (as().indexOf("Trident") != -1 || as().indexOf("MSIE") != -1)) && typeof btoa == "function";
1383
+ var Td = typeof Uint8Array < "u", Ra = !(!(kd && Cn && Cn.brands.length > 0) && (as().indexOf("Trident") != -1 || as().indexOf("MSIE") != -1)) && typeof btoa == "function";
1384
1384
  const ls = /[-_.]/g, Nd = { "-": "+", _: "/", ".": "=" };
1385
1385
  function Sd(e) {
1386
1386
  return Nd[e] || "";
1387
1387
  }
1388
1388
  function Fa(e) {
1389
- if (!Ra) return Td(e);
1389
+ if (!Ra) return Ad(e);
1390
1390
  e = ls.test(e) ? e.replace(ls, Sd) : e, e = atob(e);
1391
1391
  const t = new Uint8Array(e.length);
1392
1392
  for (let i = 0; i < e.length; i++) t[i] = e.charCodeAt(i);
1393
1393
  return t;
1394
1394
  }
1395
1395
  function no(e) {
1396
- return Ad && e != null && e instanceof Uint8Array;
1396
+ return Td && e != null && e instanceof Uint8Array;
1397
1397
  }
1398
1398
  var pi = {};
1399
1399
  function Yt() {
@@ -2362,7 +2362,7 @@ function mr(e, t, i) {
2362
2362
  if (o <= 0 && (e.g.l = n, i(t, e, void 0, void 0, void 0), o = n - e.g.g), o) throw Error();
2363
2363
  return e.g.g = n, e.g.l = r, t;
2364
2364
  }
2365
- function To(e) {
2365
+ function Ao(e) {
2366
2366
  var t = Et(e.g), i = rc(e = e.g, t);
2367
2367
  if (e = e.h, xd) {
2368
2368
  var r, n = e;
@@ -2457,7 +2457,7 @@ function Jr(e, t) {
2457
2457
  e.g.push(1);
2458
2458
  }
2459
2459
  }
2460
- function Ao(e) {
2460
+ function To(e) {
2461
2461
  var t = ne;
2462
2462
  e.g.push(t >>> 0 & 255), e.g.push(t >>> 8 & 255), e.g.push(t >>> 16 & 255), e.g.push(t >>> 24 & 255);
2463
2463
  }
@@ -2494,7 +2494,7 @@ function ht(e, t, i) {
2494
2494
  var r = e.v;
2495
2495
  Ue && Ue in r && (r = r[Ue]) && delete r[t.g], t.h ? t.j(e, t.h, t.g, i, t.l) : t.j(e, t.g, i, t.l);
2496
2496
  }
2497
- var T = class {
2497
+ var A = class {
2498
2498
  constructor(e, t) {
2499
2499
  this.v = Ka(e, t, void 0, 2048);
2500
2500
  }
@@ -2516,7 +2516,7 @@ var T = class {
2516
2516
  return go(this, e, t) ? wo(this, e, !0) : new this.constructor(Mi(e, t, !1));
2517
2517
  }
2518
2518
  };
2519
- T.prototype[bi] = vi, T.prototype.toString = function() {
2519
+ A.prototype[bi] = vi, A.prototype.toString = function() {
2520
2520
  return this.v.toString();
2521
2521
  };
2522
2522
  var Ui = class {
@@ -2535,7 +2535,7 @@ const wu = tn(function(e, t, i, r, n) {
2535
2535
  }, wc), mu = tn(function(e, t, i, r, n) {
2536
2536
  return e.h === 2 && (mr(e, xo(t, r, i), n), !0);
2537
2537
  }, wc);
2538
- var rn = Symbol(), nn = Symbol(), On = Symbol(), Ts = Symbol(), As = Symbol();
2538
+ var rn = Symbol(), nn = Symbol(), On = Symbol(), As = Symbol(), Ts = Symbol();
2539
2539
  let mc, gc;
2540
2540
  function ei(e, t, i, r) {
2541
2541
  var n = r[e];
@@ -2580,7 +2580,7 @@ function pc(e) {
2580
2580
  return Array.isArray(e) ? e[0] instanceof Ui ? e : [mu, e] : [e, void 0];
2581
2581
  }
2582
2582
  function yc(e, t) {
2583
- return e instanceof T ? e.v : Array.isArray(e) ? $t(e, t) : void 0;
2583
+ return e instanceof A ? e.v : Array.isArray(e) ? $t(e, t) : void 0;
2584
2584
  }
2585
2585
  function Fo(e, t, i, r) {
2586
2586
  const n = i.g;
@@ -2608,8 +2608,8 @@ function Mo(e) {
2608
2608
  s = void 0, a = r, l && ((s = a[Ue] ?? (a[Ue] = new Mn()))[o] ?? (s[o] = [])).push(l);
2609
2609
  }
2610
2610
  }
2611
- return (r = Kr(r)) && (r.da = i.qa[As]), !0;
2612
- }, e[On] = t, e[As] = gu.bind(e), t;
2611
+ return (r = Kr(r)) && (r.da = i.qa[Ts]), !0;
2612
+ }, e[On] = t, e[Ts] = gu.bind(e), t;
2613
2613
  }
2614
2614
  function gu(e, t, i, r) {
2615
2615
  var n = this[nn];
@@ -2666,10 +2666,10 @@ function sn(e, t, i, r) {
2666
2666
  e[t] = (a, l, u) => s(a, l, u, o || (o = ei(rn, on, sn, r).T), n || (n = bc(r)));
2667
2667
  }
2668
2668
  function bc(e) {
2669
- let t = e[Ts];
2669
+ let t = e[As];
2670
2670
  if (!t) {
2671
2671
  const i = ei(rn, on, sn, e);
2672
- t = (r, n) => vc(r, n, i), e[Ts] = t;
2672
+ t = (r, n) => vc(r, n, i), e[As] = t;
2673
2673
  }
2674
2674
  return t;
2675
2675
  }
@@ -2738,7 +2738,7 @@ var bu = tn(function(e, t, i, r, n) {
2738
2738
  }
2739
2739
  });
2740
2740
  function xc(e, t, i) {
2741
- (t = ct(t)) != null && (Je(e, i, 5), e = e.g, ao(t), Ao(e));
2741
+ (t = ct(t)) != null && (Je(e, i, 5), e = e.g, ao(t), To(e));
2742
2742
  }
2743
2743
  function Ec(e, t, i) {
2744
2744
  if (t = function(r) {
@@ -2767,10 +2767,10 @@ function _c(e, t, i) {
2767
2767
  function kc(e, t, i) {
2768
2768
  (t = Va(t)) != null && (Je(e, i, 0), e.g.g.push(t ? 1 : 0));
2769
2769
  }
2770
- function Tc(e, t, i) {
2770
+ function Ac(e, t, i) {
2771
2771
  (t = Ee(t)) != null && Zr(e, i, Na(t));
2772
2772
  }
2773
- function Ac(e, t, i, r, n) {
2773
+ function Tc(e, t, i, r, n) {
2774
2774
  Pr(e, i, yc(t, r), n);
2775
2775
  }
2776
2776
  function Nc(e, t, i) {
@@ -2784,12 +2784,12 @@ var he = Se(function(e, t, i) {
2784
2784
  }, xc, en), vu = Gi(Sc, function(e, t, i) {
2785
2785
  if ((t = Vi(ct, t)) != null) for (let s = 0; s < t.length; s++) {
2786
2786
  var r = e, n = i, o = t[s];
2787
- o != null && (Je(r, n, 5), r = r.g, ao(o), Ao(r));
2787
+ o != null && (Je(r, n, 5), r = r.g, ao(o), To(r));
2788
2788
  }
2789
2789
  }, en), Do = Gi(Sc, function(e, t, i) {
2790
2790
  if ((t = Vi(ct, t)) != null && t.length) {
2791
2791
  Je(e, i, 2), Bi(e.g, 4 * t.length);
2792
- for (let r = 0; r < t.length; r++) i = e.g, ao(t[r]), Ao(i);
2792
+ for (let r = 0; r < t.length; r++) i = e.g, ao(t[r]), To(i);
2793
2793
  }
2794
2794
  }, en), xu = Se(function(e, t, i) {
2795
2795
  return e.h === 5 && (ve(t, i, (e = Mr(e.g)) === 0 ? void 0 : e), !0);
@@ -2835,31 +2835,31 @@ var he = Se(function(e, t, i) {
2835
2835
  return e.h === 0 && (ve(t, i, ko(e.g)), !0);
2836
2836
  }, kc, lc), Kt = Se(function(e, t, i) {
2837
2837
  return e.h === 0 && (ve(t, i, (e = ko(e.g)) === !1 ? void 0 : e), !0);
2838
- }, kc, lc), Te = Gi(function(e, t, i) {
2839
- return e.h === 2 && (e = To(e), Oi(t, 0 | t[k], i).push(e), !0);
2838
+ }, kc, lc), Ae = Gi(function(e, t, i) {
2839
+ return e.h === 2 && (e = Ao(e), Oi(t, 0 | t[k], i).push(e), !0);
2840
2840
  }, function(e, t, i) {
2841
2841
  if ((t = Vi(Ee, t)) != null) for (let s = 0; s < t.length; s++) {
2842
2842
  var r = e, n = i, o = t[s];
2843
2843
  o != null && Zr(r, n, Na(o));
2844
2844
  }
2845
2845
  }, Io), Lt = Se(function(e, t, i) {
2846
- return e.h === 2 && (ve(t, i, (e = To(e)) === "" ? void 0 : e), !0);
2847
- }, Tc, Io), X = Se(function(e, t, i) {
2848
- return e.h === 2 && (ve(t, i, To(e)), !0);
2849
- }, Tc, Io), ye = function(e, t, i = Co) {
2846
+ return e.h === 2 && (ve(t, i, (e = Ao(e)) === "" ? void 0 : e), !0);
2847
+ }, Ac, Io), X = Se(function(e, t, i) {
2848
+ return e.h === 2 && (ve(t, i, Ao(e)), !0);
2849
+ }, Ac, Io), ye = function(e, t, i = Co) {
2850
2850
  return new Ui(e, t, i);
2851
2851
  }(function(e, t, i, r, n) {
2852
2852
  return e.h === 2 && (r = $t(void 0, r), Oi(t, 0 | t[k], i).push(r), mr(e, r, n), !0);
2853
2853
  }, function(e, t, i, r, n) {
2854
2854
  if (Array.isArray(t)) {
2855
- for (let o = 0; o < t.length; o++) Ac(e, t[o], i, r, n);
2855
+ for (let o = 0; o < t.length; o++) Tc(e, t[o], i, r, n);
2856
2856
  1 & (e = 0 | t[k]) || ge(t, 1 | e);
2857
2857
  }
2858
2858
  }), ce = tn(function(e, t, i, r, n, o) {
2859
2859
  if (e.h !== 2) return !1;
2860
2860
  let s = 0 | t[k];
2861
2861
  return Ja(t, s, o, i, Fi(s)), mr(e, t = xo(t, r, i), n), !0;
2862
- }, Ac), Cc = Se(function(e, t, i) {
2862
+ }, Tc), Cc = Se(function(e, t, i) {
2863
2863
  return e.h === 2 && (ve(t, i, cc(e)), !0);
2864
2864
  }, Nc, hc), _u = Gi(function(e, t, i) {
2865
2865
  return (e.h === 0 || e.h === 2) && (t = Oi(t, 0 | t[k], i), e.h == 2 ? Qr(e, Et, t) : t.push(Et(e.g)), !0);
@@ -2877,7 +2877,7 @@ var he = Se(function(e, t, i) {
2877
2877
  }, function(e, t, i) {
2878
2878
  (t = Li(t)) != null && (t = parseInt(t, 10), Je(e, i, 0), Jr(e.g, t));
2879
2879
  }, fc);
2880
- class Tu {
2880
+ class Au {
2881
2881
  constructor(t, i) {
2882
2882
  var r = We;
2883
2883
  this.g = t, this.h = i, this.m = z, this.j = F, this.defaultValue = void 0, this.l = r.Oa != null ? Ba : void 0;
@@ -2887,7 +2887,7 @@ class Tu {
2887
2887
  }
2888
2888
  }
2889
2889
  function ft(e, t) {
2890
- return new Tu(e, t);
2890
+ return new Au(e, t);
2891
2891
  }
2892
2892
  function Ot(e, t) {
2893
2893
  return (i, r) => {
@@ -2933,7 +2933,7 @@ function an(e) {
2933
2933
  return t.l = [i], i;
2934
2934
  };
2935
2935
  }
2936
- var Ns = class extends T {
2936
+ var Ns = class extends A {
2937
2937
  constructor(e) {
2938
2938
  super(e);
2939
2939
  }
@@ -2941,7 +2941,7 @@ var Ns = class extends T {
2941
2941
  return e.h === 2 && (ve(t, i, (e = cc(e)) === Yt() ? void 0 : e), !0);
2942
2942
  }, function(e, t, i) {
2943
2943
  if (t != null) {
2944
- if (t instanceof T) {
2944
+ if (t instanceof A) {
2945
2945
  const r = t.Ra;
2946
2946
  return void (r ? (t = r(t), t != null && Zr(e, i, _o(t, !0).buffer)) : yi(Rn, 3));
2947
2947
  }
@@ -2970,13 +2970,13 @@ function Is(e) {
2970
2970
  }
2971
2971
  }(e);
2972
2972
  }
2973
- function Au(e, ...t) {
2973
+ function Tu(e, ...t) {
2974
2974
  if (t.length === 0) return Is(e[0]);
2975
2975
  let i = e[0];
2976
2976
  for (let r = 0; r < t.length; r++) i += encodeURIComponent(t[r]) + e[r + 1];
2977
2977
  return Is(i);
2978
2978
  }
2979
- var Ic = [0, be, ze, de, -1, gr, ze, -1, de], Nu = class extends T {
2979
+ var Ic = [0, be, ze, de, -1, gr, ze, -1, de], Nu = class extends A {
2980
2980
  constructor(e) {
2981
2981
  super(e);
2982
2982
  }
@@ -2988,16 +2988,16 @@ var Ic = [0, be, ze, de, -1, gr, ze, -1, de], Nu = class extends T {
2988
2988
  for (let r = 0; r < t.length; r++) Jr(e.g, t[r]);
2989
2989
  So(e, i);
2990
2990
  }
2991
- }, fc), X, -1, [0, de, -1], ze, de, -1], Fc = [0, 3, de, -1, 2, [0, be], [0, ze, de], [0, X, -1], [0]], Lc = [0, X, -2], Rs = class extends T {
2991
+ }, fc), X, -1, [0, de, -1], ze, de, -1], Fc = [0, 3, de, -1, 2, [0, be], [0, ze, de], [0, X, -1], [0]], Lc = [0, X, -2], Rs = class extends A {
2992
2992
  constructor(e) {
2993
2993
  super(e);
2994
2994
  }
2995
- }, Mc = [0], Dc = [0, be, de, 1, de, -4], We = class extends T {
2995
+ }, Mc = [0], Dc = [0, be, de, 1, de, -4], We = class extends A {
2996
2996
  constructor(e) {
2997
2997
  super(e, 2);
2998
2998
  }
2999
2999
  }, me = {};
3000
- me[336783863] = [0, X, de, -1, be, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], ce, Mc, ce, Rc, ce, Lc, ce, Dc, ce, Ic, ce, [0, X, -2], ce, [0, X, ze], ce, Fc, ce, [0, ze, -1, de]], [0, X], de, [0, [1, 3], [2, 4], ce, [0, gr], -1, ce, [0, Te], -1, ye, [0, X, -1]], X];
3000
+ me[336783863] = [0, X, de, -1, be, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], ce, Mc, ce, Rc, ce, Lc, ce, Dc, ce, Ic, ce, [0, X, -2], ce, [0, X, ze], ce, Fc, ce, [0, ze, -1, de]], [0, X], de, [0, [1, 3], [2, 4], ce, [0, gr], -1, ce, [0, Ae], -1, ye, [0, X, -1]], X];
3001
3001
  var Fs = [0, xn, -1, Kt, -3, xn, gr, Lt, fi, xn, -1, Kt, fi, Kt, -2, Lt];
3002
3002
  function te(e, t) {
3003
3003
  Xr(e, 3, t);
@@ -3005,14 +3005,14 @@ function te(e, t) {
3005
3005
  function U(e, t) {
3006
3006
  Xr(e, 4, t);
3007
3007
  }
3008
- var Le = class extends T {
3008
+ var Le = class extends A {
3009
3009
  constructor(e) {
3010
3010
  super(e, 500);
3011
3011
  }
3012
3012
  o(e) {
3013
3013
  return F(this, 0, 7, e);
3014
3014
  }
3015
- }, tr = [-1, {}], Ls = [0, X, 1, tr], Ms = [0, X, Te, tr];
3015
+ }, tr = [-1, {}], Ls = [0, X, 1, tr], Ms = [0, X, Ae, tr];
3016
3016
  function Ze(e, t) {
3017
3017
  Eo(e, 1, Le, t);
3018
3018
  }
@@ -3022,35 +3022,35 @@ function oe(e, t) {
3022
3022
  function $(e, t) {
3023
3023
  Xr(e, 15, t);
3024
3024
  }
3025
- var He = class extends T {
3025
+ var He = class extends A {
3026
3026
  constructor(e) {
3027
3027
  super(e, 500);
3028
3028
  }
3029
3029
  o(e) {
3030
3030
  return F(this, 0, 1001, e);
3031
3031
  }
3032
- }, Pc = [-500, ye, [-500, Lt, -1, Te, -3, [-2, me, de], ye, Ss, fi, -1, Ls, Ms, ye, [0, Lt, Kt], Lt, Fs, fi, Te, 987, Te], 4, ye, [-500, X, -1, [-1, {}], 998, X], ye, [-500, X, Te, -1, [-2, {}, de], 997, Te, -1], fi, ye, [-500, X, Te, tr, 998, Te], Te, fi, Ls, Ms, ye, [0, Lt, -1, tr], Te, -2, Fs, Lt, -1, Kt, [0, Kt, ku], 978, tr, ye, Ss];
3032
+ }, Pc = [-500, ye, [-500, Lt, -1, Ae, -3, [-2, me, de], ye, Ss, fi, -1, Ls, Ms, ye, [0, Lt, Kt], Lt, Fs, fi, Ae, 987, Ae], 4, ye, [-500, X, -1, [-1, {}], 998, X], ye, [-500, X, Ae, -1, [-2, {}, de], 997, Ae, -1], fi, ye, [-500, X, Ae, tr, 998, Ae], Ae, fi, Ls, Ms, ye, [0, Lt, -1, tr], Ae, -2, Fs, Lt, -1, Kt, [0, Kt, ku], 978, tr, ye, Ss];
3033
3033
  He.prototype.g = an(Pc);
3034
- var Su = Ot(He, Pc), Cu = class extends T {
3034
+ var Su = Ot(He, Pc), Cu = class extends A {
3035
3035
  constructor(e) {
3036
3036
  super(e);
3037
3037
  }
3038
- }, Oc = class extends T {
3038
+ }, Oc = class extends A {
3039
3039
  constructor(e) {
3040
3040
  super(e);
3041
3041
  }
3042
3042
  g() {
3043
3043
  return vt(this, Cu, 1);
3044
3044
  }
3045
- }, Bc = [0, ye, [0, be, he, X, -1]], cn = Ot(Oc, Bc), Iu = class extends T {
3045
+ }, Bc = [0, ye, [0, be, he, X, -1]], cn = Ot(Oc, Bc), Iu = class extends A {
3046
3046
  constructor(e) {
3047
3047
  super(e);
3048
3048
  }
3049
- }, Ru = class extends T {
3049
+ }, Ru = class extends A {
3050
3050
  constructor(e) {
3051
3051
  super(e);
3052
3052
  }
3053
- }, _n = class extends T {
3053
+ }, _n = class extends A {
3054
3054
  constructor(e) {
3055
3055
  super(e);
3056
3056
  }
@@ -3060,49 +3060,49 @@ var Su = Ot(He, Pc), Cu = class extends T {
3060
3060
  g() {
3061
3061
  return vt(this, Ru, 5);
3062
3062
  }
3063
- }, Uc = Ot(class extends T {
3063
+ }, Uc = Ot(class extends A {
3064
3064
  constructor(e) {
3065
3065
  super(e);
3066
3066
  }
3067
- }, [0, Te, gr, Do, [0, ze, [0, be, -3], [0, he, -3], [0, be, -1, [0, ye, [0, be, -2]]], ye, [0, he, -1, X, he]], X, -1, Pt, ye, [0, be, he], Te, Pt]), Vc = class extends T {
3067
+ }, [0, Ae, gr, Do, [0, ze, [0, be, -3], [0, he, -3], [0, be, -1, [0, ye, [0, be, -2]]], ye, [0, he, -1, X, he]], X, -1, Pt, ye, [0, be, he], Ae, Pt]), Vc = class extends A {
3068
3068
  constructor(e) {
3069
3069
  super(e);
3070
3070
  }
3071
- }, mi = Ot(class extends T {
3071
+ }, mi = Ot(class extends A {
3072
3072
  constructor(e) {
3073
3073
  super(e);
3074
3074
  }
3075
- }, [0, ye, [0, he, -4]]), Gc = class extends T {
3075
+ }, [0, ye, [0, he, -4]]), Gc = class extends A {
3076
3076
  constructor(e) {
3077
3077
  super(e);
3078
3078
  }
3079
- }, pr = Ot(class extends T {
3079
+ }, pr = Ot(class extends A {
3080
3080
  constructor(e) {
3081
3081
  super(e);
3082
3082
  }
3083
- }, [0, ye, [0, he, -4]]), Fu = class extends T {
3083
+ }, [0, ye, [0, he, -4]]), Fu = class extends A {
3084
3084
  constructor(e) {
3085
3085
  super(e);
3086
3086
  }
3087
- }, Lu = [0, be, -1, Do, ze], jc = class extends T {
3087
+ }, Lu = [0, be, -1, Do, ze], jc = class extends A {
3088
3088
  constructor(e) {
3089
3089
  super(e);
3090
3090
  }
3091
3091
  };
3092
3092
  jc.prototype.g = an([0, he, -4, Pt]);
3093
- var Mu = class extends T {
3093
+ var Mu = class extends A {
3094
3094
  constructor(e) {
3095
3095
  super(e);
3096
3096
  }
3097
- }, Du = Ot(class extends T {
3097
+ }, Du = Ot(class extends A {
3098
3098
  constructor(e) {
3099
3099
  super(e);
3100
3100
  }
3101
- }, [0, ye, [0, 1, be, X, Bc], Pt]), Ds = class extends T {
3101
+ }, [0, ye, [0, 1, be, X, Bc], Pt]), Ds = class extends A {
3102
3102
  constructor(e) {
3103
3103
  super(e);
3104
3104
  }
3105
- }, Pu = class extends T {
3105
+ }, Pu = class extends A {
3106
3106
  constructor(e) {
3107
3107
  super(e);
3108
3108
  }
@@ -3110,27 +3110,27 @@ var Mu = class extends T {
3110
3110
  const e = ee(this, 1, void 0, void 0, Xa);
3111
3111
  return e ?? Yt();
3112
3112
  }
3113
- }, Ou = class extends T {
3113
+ }, Ou = class extends A {
3114
3114
  constructor(e) {
3115
3115
  super(e);
3116
3116
  }
3117
- }, zc = [1, 2], Bu = Ot(class extends T {
3117
+ }, zc = [1, 2], Bu = Ot(class extends A {
3118
3118
  constructor(e) {
3119
3119
  super(e);
3120
3120
  }
3121
- }, [0, ye, [0, zc, ce, [0, Do], ce, [0, Cc], be, X], Pt]), Po = class extends T {
3121
+ }, [0, ye, [0, zc, ce, [0, Do], ce, [0, Cc], be, X], Pt]), Po = class extends A {
3122
3122
  constructor(e) {
3123
3123
  super(e);
3124
3124
  }
3125
- }, $c = [0, X, be, he, Te, -1], Ps = class extends T {
3125
+ }, $c = [0, X, be, he, Ae, -1], Ps = class extends A {
3126
3126
  constructor(e) {
3127
3127
  super(e);
3128
3128
  }
3129
- }, Uu = [0, de, -1], Os = class extends T {
3129
+ }, Uu = [0, de, -1], Os = class extends A {
3130
3130
  constructor(e) {
3131
3131
  super(e);
3132
3132
  }
3133
- }, Cr = [1, 2, 3, 4, 5, 6], Or = class extends T {
3133
+ }, Cr = [1, 2, 3, 4, 5, 6], Or = class extends A {
3134
3134
  constructor(e) {
3135
3135
  super(e);
3136
3136
  }
@@ -3140,34 +3140,34 @@ var Mu = class extends T {
3140
3140
  l() {
3141
3141
  return Ee(ee(this, 2)) != null;
3142
3142
  }
3143
- }, ae = class extends T {
3143
+ }, ae = class extends A {
3144
3144
  constructor(e) {
3145
3145
  super(e);
3146
3146
  }
3147
3147
  g() {
3148
3148
  return Va(ee(this, 2)) ?? !1;
3149
3149
  }
3150
- }, Wc = [0, Cc, X, [0, be, Pt, -1], [0, Eu, Pt]], fe = [0, Wc, de, [0, Cr, ce, Dc, ce, Rc, ce, Ic, ce, Mc, ce, Lc, ce, Fc], ze], ln = class extends T {
3150
+ }, Wc = [0, Cc, X, [0, be, Pt, -1], [0, Eu, Pt]], fe = [0, Wc, de, [0, Cr, ce, Dc, ce, Rc, ce, Ic, ce, Mc, ce, Lc, ce, Fc], ze], ln = class extends A {
3151
3151
  constructor(e) {
3152
3152
  super(e);
3153
3153
  }
3154
3154
  }, Oo = [0, fe, he, -1, be], Vu = ft(502141897, ln);
3155
3155
  me[502141897] = Oo;
3156
- var Gu = Ot(class extends T {
3156
+ var Gu = Ot(class extends A {
3157
3157
  constructor(e) {
3158
3158
  super(e);
3159
3159
  }
3160
- }, [0, [0, ze, -1, vu, _u], Lu]), Hc = class extends T {
3160
+ }, [0, [0, ze, -1, vu, _u], Lu]), Hc = class extends A {
3161
3161
  constructor(e) {
3162
3162
  super(e);
3163
3163
  }
3164
- }, qc = class extends T {
3164
+ }, qc = class extends A {
3165
3165
  constructor(e) {
3166
3166
  super(e);
3167
3167
  }
3168
3168
  }, Bn = [0, fe, he, [0, fe], de], ju = ft(508968150, qc);
3169
3169
  me[508968150] = [0, fe, Oo, Bn, he, [0, [0, Wc]]], me[508968149] = Bn;
3170
- var hi = class extends T {
3170
+ var hi = class extends A {
3171
3171
  constructor(e) {
3172
3172
  super(e);
3173
3173
  }
@@ -3179,23 +3179,23 @@ var hi = class extends T {
3179
3179
  }
3180
3180
  }, Kc = [0, fe, $c];
3181
3181
  me[478825465] = Kc;
3182
- var zu = class extends T {
3182
+ var zu = class extends A {
3183
3183
  constructor(e) {
3184
3184
  super(e);
3185
3185
  }
3186
- }, Yc = class extends T {
3186
+ }, Yc = class extends A {
3187
3187
  constructor(e) {
3188
3188
  super(e);
3189
3189
  }
3190
- }, Bo = class extends T {
3190
+ }, Bo = class extends A {
3191
3191
  constructor(e) {
3192
3192
  super(e);
3193
3193
  }
3194
- }, Uo = class extends T {
3194
+ }, Uo = class extends A {
3195
3195
  constructor(e) {
3196
3196
  super(e);
3197
3197
  }
3198
- }, Xc = class extends T {
3198
+ }, Xc = class extends A {
3199
3199
  constructor(e) {
3200
3200
  super(e);
3201
3201
  }
@@ -3203,45 +3203,45 @@ var zu = class extends T {
3203
3203
  me[479097054] = [0, fe, Jc, Bs], me[463370452] = Bs, me[464864288] = Qc;
3204
3204
  var Wu = ft(462713202, Uo);
3205
3205
  me[462713202] = Jc, me[474472470] = Vo;
3206
- var Hu = class extends T {
3206
+ var Hu = class extends A {
3207
3207
  constructor(e) {
3208
3208
  super(e);
3209
3209
  }
3210
- }, Zc = class extends T {
3210
+ }, Zc = class extends A {
3211
3211
  constructor(e) {
3212
3212
  super(e);
3213
3213
  }
3214
- }, el = class extends T {
3214
+ }, el = class extends A {
3215
3215
  constructor(e) {
3216
3216
  super(e);
3217
3217
  }
3218
- }, tl = class extends T {
3218
+ }, tl = class extends A {
3219
3219
  constructor(e) {
3220
3220
  super(e);
3221
3221
  }
3222
3222
  }, Go = [0, fe, he, -1, be], Un = [0, fe, he, de];
3223
3223
  tl.prototype.g = an([0, fe, Vo, [0, fe], Oo, Bn, Go, Un]);
3224
- var il = class extends T {
3224
+ var il = class extends A {
3225
3225
  constructor(e) {
3226
3226
  super(e);
3227
3227
  }
3228
3228
  }, qu = ft(456383383, il);
3229
3229
  me[456383383] = [0, fe, $c];
3230
- var rl = class extends T {
3230
+ var rl = class extends A {
3231
3231
  constructor(e) {
3232
3232
  super(e);
3233
3233
  }
3234
3234
  }, Ku = ft(476348187, rl);
3235
3235
  me[476348187] = [0, fe, Uu];
3236
- var nl = class extends T {
3236
+ var nl = class extends A {
3237
3237
  constructor(e) {
3238
3238
  super(e);
3239
3239
  }
3240
- }, Us = class extends T {
3240
+ }, Us = class extends A {
3241
3241
  constructor(e) {
3242
3242
  super(e);
3243
3243
  }
3244
- }, ol = [0, ze, -1], Yu = ft(458105876, class extends T {
3244
+ }, ol = [0, ze, -1], Yu = ft(458105876, class extends A {
3245
3245
  constructor(e) {
3246
3246
  super(e);
3247
3247
  }
@@ -3268,34 +3268,34 @@ var nl = class extends T {
3268
3268
  }(this, t, i, e), !e && Us && (t.ra = !0), t;
3269
3269
  }
3270
3270
  });
3271
- me[458105876] = [0, ol, bu, [!0, Pt, [0, X, -1, Te]], [0, gr, de, ze]];
3272
- var jo = class extends T {
3271
+ me[458105876] = [0, ol, bu, [!0, Pt, [0, X, -1, Ae]], [0, gr, de, ze]];
3272
+ var jo = class extends A {
3273
3273
  constructor(e) {
3274
3274
  super(e);
3275
3275
  }
3276
3276
  }, sl = ft(458105758, jo);
3277
3277
  me[458105758] = [0, fe, X, ol];
3278
- var kn = class extends T {
3278
+ var kn = class extends A {
3279
3279
  constructor(e) {
3280
3280
  super(e);
3281
3281
  }
3282
- }, Vs = [0, xu, -1, Kt], Xu = class extends T {
3282
+ }, Vs = [0, xu, -1, Kt], Xu = class extends A {
3283
3283
  constructor(e) {
3284
3284
  super(e);
3285
3285
  }
3286
- }, al = class extends T {
3286
+ }, al = class extends A {
3287
3287
  constructor(e) {
3288
3288
  super(e);
3289
3289
  }
3290
3290
  }, Vn = [1, 2];
3291
3291
  al.prototype.g = an([0, Vn, ce, Vs, ce, [0, ye, Vs]]);
3292
- var cl = class extends T {
3292
+ var cl = class extends A {
3293
3293
  constructor(e) {
3294
3294
  super(e);
3295
3295
  }
3296
3296
  }, Qu = ft(443442058, cl);
3297
- me[443442058] = [0, fe, X, be, he, Te, -1, de, he], me[514774813] = Go;
3298
- var ll = class extends T {
3297
+ me[443442058] = [0, fe, X, be, he, Ae, -1, de, he], me[514774813] = Go;
3298
+ var ll = class extends A {
3299
3299
  constructor(e) {
3300
3300
  super(e);
3301
3301
  }
@@ -3349,16 +3349,16 @@ function js(e, t) {
3349
3349
  }
3350
3350
  let kr;
3351
3351
  me[516587230] = [0, fe, Go, Un, he], me[518928384] = Un;
3352
- const e1 = new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11]);
3352
+ const e2 = new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11]);
3353
3353
  async function hl() {
3354
3354
  if (kr === void 0) try {
3355
- await WebAssembly.instantiate(e1), kr = !0;
3355
+ await WebAssembly.instantiate(e2), kr = !0;
3356
3356
  } catch {
3357
3357
  kr = !1;
3358
3358
  }
3359
3359
  return kr;
3360
3360
  }
3361
- async function Qi(e, t = Au``) {
3361
+ async function Qi(e, t = Tu``) {
3362
3362
  const i = await hl() ? "wasm_internal" : "wasm_nosimd_internal";
3363
3363
  return { wasmLoaderPath: `${t}/${e}_${i}.js`, wasmBinaryPath: `${t}/${e}_${i}.wasm` };
3364
3364
  }
@@ -3431,13 +3431,13 @@ Gt.forVisionTasks = function(e) {
3431
3431
  }, Gt.isSimdSupported = function() {
3432
3432
  return hl();
3433
3433
  };
3434
- async function t1(e, t, i, r) {
3434
+ async function t2(e, t, i, r) {
3435
3435
  return e = await (async (n, o, s, a, l) => {
3436
3436
  if (o && await zs(o), !self.ModuleFactory || s && (await zs(s), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
3437
3437
  return self.Module && l && ((o = self.Module).locateFile = l.locateFile, l.mainScriptUrlOrBlob && (o.mainScriptUrlOrBlob = l.mainScriptUrlOrBlob)), l = await self.ModuleFactory(self.Module || l), self.ModuleFactory = self.Module = void 0, new n(l, a);
3438
3438
  })(e, i.wasmLoaderPath, i.assetLoaderPath, t, { locateFile: (n) => n.endsWith(".wasm") ? i.wasmBinaryPath.toString() : i.assetBinaryPath && n.endsWith(".data") ? i.assetBinaryPath.toString() : n }), await e.o(r), e;
3439
3439
  }
3440
- function Tn(e, t) {
3440
+ function An(e, t) {
3441
3441
  const i = z(e.baseOptions, Or, 1) || new Or();
3442
3442
  typeof t == "string" ? (K(i, 2, wr(t)), K(i, 1)) : t instanceof Uint8Array && (K(i, 1, so(t, !1)), K(i, 2)), F(e.baseOptions, 0, 1, i);
3443
3443
  }
@@ -3456,7 +3456,7 @@ function x(e, t) {
3456
3456
  function un(e, t) {
3457
3457
  e.B = new Le(), je(e.B, 2, "PassThroughCalculator"), te(e.B, "free_memory"), U(e.B, "free_memory_unused_out"), oe(t, "free_memory"), Ze(t, e.B);
3458
3458
  }
3459
- function Ti(e, t) {
3459
+ function Ai(e, t) {
3460
3460
  te(e.B, t), U(e.B, t + "_unused_out");
3461
3461
  }
3462
3462
  function hn(e) {
@@ -3487,9 +3487,9 @@ var jn = class {
3487
3487
  this.g.i.FS_unlink("/model.dat");
3488
3488
  } catch {
3489
3489
  }
3490
- this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), Tn(this, "/model.dat"), this.m(), this.L();
3490
+ this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), An(this, "/model.dat"), this.m(), this.L();
3491
3491
  });
3492
- if (l.modelAssetBuffer instanceof Uint8Array) Tn(this, l.modelAssetBuffer);
3492
+ if (l.modelAssetBuffer instanceof Uint8Array) An(this, l.modelAssetBuffer);
3493
3493
  else if (l.modelAssetBuffer) return async function(u) {
3494
3494
  const d = [];
3495
3495
  for (var h = 0; ; ) {
@@ -3503,7 +3503,7 @@ var jn = class {
3503
3503
  for (const f of d) u.set(f, h), h += f.length;
3504
3504
  return u;
3505
3505
  }(l.modelAssetBuffer).then((u) => {
3506
- Tn(this, u), this.m(), this.L();
3506
+ An(this, u), this.m(), this.L();
3507
3507
  });
3508
3508
  }
3509
3509
  return this.m(), this.L(), Promise.resolve();
@@ -3534,7 +3534,7 @@ function Mt(e, t) {
3534
3534
  return e;
3535
3535
  }
3536
3536
  jn.prototype.close = jn.prototype.close;
3537
- class i1 {
3537
+ class i2 {
3538
3538
  constructor(t, i, r, n) {
3539
3539
  this.g = t, this.h = i, this.m = r, this.l = n;
3540
3540
  }
@@ -3556,14 +3556,14 @@ function Ks(e, t) {
3556
3556
  const n = Mt(i.createBuffer(), "Failed to create buffer");
3557
3557
  i.bindBuffer(i.ARRAY_BUFFER, n), i.enableVertexAttribArray(e.O), i.vertexAttribPointer(e.O, 2, i.FLOAT, !1, 0, 0), i.bufferData(i.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), i.STATIC_DRAW);
3558
3558
  const o = Mt(i.createBuffer(), "Failed to create buffer");
3559
- return i.bindBuffer(i.ARRAY_BUFFER, o), i.enableVertexAttribArray(e.L), i.vertexAttribPointer(e.L, 2, i.FLOAT, !1, 0, 0), i.bufferData(i.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), i.STATIC_DRAW), i.bindBuffer(i.ARRAY_BUFFER, null), i.bindVertexArray(null), new i1(i, r, n, o);
3559
+ return i.bindBuffer(i.ARRAY_BUFFER, o), i.enableVertexAttribArray(e.L), i.vertexAttribPointer(e.L, 2, i.FLOAT, !1, 0, 0), i.bufferData(i.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), i.STATIC_DRAW), i.bindBuffer(i.ARRAY_BUFFER, null), i.bindVertexArray(null), new i2(i, r, n, o);
3560
3560
  }
3561
3561
  function $o(e, t) {
3562
3562
  if (e.g) {
3563
3563
  if (t !== e.g) throw Error("Cannot change GL context once initialized");
3564
3564
  } else e.g = t;
3565
3565
  }
3566
- function r1(e, t, i, r) {
3566
+ function r2(e, t, i, r) {
3567
3567
  return $o(e, t), e.h || (e.m(), e.D()), i ? (e.u || (e.u = Ks(e, !0)), i = e.u) : (e.A || (e.A = Ks(e, !1)), i = e.A), t.useProgram(e.h), i.bind(), e.l(), e = r(), i.g.bindVertexArray(null), e;
3568
3568
  }
3569
3569
  function ml(e, t, i) {
@@ -3572,7 +3572,7 @@ function ml(e, t, i) {
3572
3572
  function gl(e, t, i) {
3573
3573
  $o(e, t), e.B || (e.B = Mt(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, i, 0);
3574
3574
  }
3575
- function n1(e) {
3575
+ function n2(e) {
3576
3576
  var t;
3577
3577
  (t = e.g) == null || t.bindFramebuffer(e.g.FRAMEBUFFER, null);
3578
3578
  }
@@ -3629,7 +3629,7 @@ function zn(e) {
3629
3629
  if (t = gt(e, 0)) t = new Float32Array(t).map((r) => r / 255);
3630
3630
  else {
3631
3631
  t = new Float32Array(e.width * e.height);
3632
- const r = Ai(e);
3632
+ const r = Ti(e);
3633
3633
  var i = Wo(e);
3634
3634
  if (gl(i, r, yl(e)), "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform) || navigator.userAgent.includes("Mac") && "document" in self && "ontouchend" in self.document) {
3635
3635
  i = new Float32Array(e.width * e.height * 4), r.readPixels(0, 0, e.width, e.height, r.RGBA, r.FLOAT, i);
@@ -3643,30 +3643,30 @@ function zn(e) {
3643
3643
  function yl(e) {
3644
3644
  let t = gt(e, 2);
3645
3645
  if (!t) {
3646
- const i = Ai(e);
3646
+ const i = Ti(e);
3647
3647
  t = vl(e);
3648
3648
  const r = zn(e), n = bl(e);
3649
3649
  i.texImage2D(i.TEXTURE_2D, 0, n, e.width, e.height, 0, i.RED, i.FLOAT, r), $n(e);
3650
3650
  }
3651
3651
  return t;
3652
3652
  }
3653
- function Ai(e) {
3653
+ function Ti(e) {
3654
3654
  if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
3655
3655
  return e.h || (e.h = Mt(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
3656
3656
  }
3657
3657
  function bl(e) {
3658
- if (e = Ai(e), !Tr) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) Tr = e.R32F;
3658
+ if (e = Ti(e), !Ar) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) Ar = e.R32F;
3659
3659
  else {
3660
3660
  if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
3661
- Tr = e.R16F;
3661
+ Ar = e.R16F;
3662
3662
  }
3663
- return Tr;
3663
+ return Ar;
3664
3664
  }
3665
3665
  function Wo(e) {
3666
3666
  return e.l || (e.l = new pl()), e.l;
3667
3667
  }
3668
3668
  function vl(e) {
3669
- const t = Ai(e);
3669
+ const t = Ti(e);
3670
3670
  t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
3671
3671
  let i = gt(e, 2);
3672
3672
  return i || (i = ml(Wo(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(i), e.j = !0), t.bindTexture(t.TEXTURE_2D, i), i;
@@ -3674,7 +3674,7 @@ function vl(e) {
3674
3674
  function $n(e) {
3675
3675
  e.h.bindTexture(e.h.TEXTURE_2D, null);
3676
3676
  }
3677
- var Tr, pe = class {
3677
+ var Ar, pe = class {
3678
3678
  constructor(e, t, i, r, n, o, s) {
3679
3679
  this.g = e, this.m = t, this.j = i, this.canvas = r, this.l = n, this.width = o, this.height = s, this.j && --Ys === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
3680
3680
  }
@@ -3706,12 +3706,12 @@ var Tr, pe = class {
3706
3706
  else {
3707
3707
  if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
3708
3708
  {
3709
- const r = Ai(this), n = Wo(this);
3709
+ const r = Ti(this), n = Wo(this);
3710
3710
  r.activeTexture(r.TEXTURE1), i = ml(n, r, this.m ? r.LINEAR : r.NEAREST), r.bindTexture(r.TEXTURE_2D, i);
3711
3711
  const o = bl(this);
3712
- r.texImage2D(r.TEXTURE_2D, 0, o, this.width, this.height, 0, r.RED, r.FLOAT, null), r.bindTexture(r.TEXTURE_2D, null), gl(n, r, i), r1(n, r, !1, () => {
3712
+ r.texImage2D(r.TEXTURE_2D, 0, o, this.width, this.height, 0, r.RED, r.FLOAT, null), r.bindTexture(r.TEXTURE_2D, null), gl(n, r, i), r2(n, r, !1, () => {
3713
3713
  vl(this), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLE_FAN, 0, 4), $n(this);
3714
- }), n1(n), $n(this);
3714
+ }), n2(n), $n(this);
3715
3715
  }
3716
3716
  }
3717
3717
  e.push(i);
@@ -3719,7 +3719,7 @@ var Tr, pe = class {
3719
3719
  return new pe(e, this.m, this.R(), this.canvas, this.l, this.width, this.height);
3720
3720
  }
3721
3721
  close() {
3722
- this.j && Ai(this).deleteTexture(gt(this, 2)), Ys = -1;
3722
+ this.j && Ti(this).deleteTexture(gt(this, 2)), Ys = -1;
3723
3723
  }
3724
3724
  };
3725
3725
  pe.prototype.close = pe.prototype.close, pe.prototype.clone = pe.prototype.clone, pe.prototype.getAsWebGLTexture = pe.prototype.N, pe.prototype.getAsFloat32Array = pe.prototype.ia, pe.prototype.getAsUint8Array = pe.prototype.ja, pe.prototype.hasWebGLTexture = pe.prototype.R, pe.prototype.hasFloat32Array = pe.prototype.ka, pe.prototype.hasUint8Array = pe.prototype.Fa;
@@ -3727,7 +3727,7 @@ var Ys = 250;
3727
3727
  function it(...e) {
3728
3728
  return e.map(([t, i]) => ({ start: t, end: i }));
3729
3729
  }
3730
- const o1 = /* @__PURE__ */ function(e) {
3730
+ const o2 = /* @__PURE__ */ function(e) {
3731
3731
  return class extends e {
3732
3732
  Ja() {
3733
3733
  this.i._registerModelResourcesGraphService();
@@ -4090,11 +4090,11 @@ const o1 = /* @__PURE__ */ function(e) {
4090
4090
  });
4091
4091
  }
4092
4092
  }));
4093
- var Xs, rt = class extends o1 {
4093
+ var Xs, rt = class extends o2 {
4094
4094
  };
4095
4095
  async function j(e, t, i) {
4096
4096
  return async function(r, n, o, s) {
4097
- return t1(r, n, o, s);
4097
+ return t2(r, n, o, s);
4098
4098
  }(e, i.canvas ?? (fl() ? void 0 : document.createElement("canvas")), t, i);
4099
4099
  }
4100
4100
  function xl(e, t, i, r) {
@@ -4187,7 +4187,7 @@ Ke.prototype.detectForVideo = Ke.prototype.G, Ke.prototype.detect = Ke.prototype
4187
4187
  }, Ke.createFromOptions = function(e, t) {
4188
4188
  return j(Ke, e, t);
4189
4189
  };
4190
- var Ho = it([61, 146], [146, 91], [91, 181], [181, 84], [84, 17], [17, 314], [314, 405], [405, 321], [321, 375], [375, 291], [61, 185], [185, 40], [40, 39], [39, 37], [37, 0], [0, 267], [267, 269], [269, 270], [270, 409], [409, 291], [78, 95], [95, 88], [88, 178], [178, 87], [87, 14], [14, 317], [317, 402], [402, 318], [318, 324], [324, 308], [78, 191], [191, 80], [80, 81], [81, 82], [82, 13], [13, 312], [312, 311], [311, 310], [310, 415], [415, 308]), qo = it([263, 249], [249, 390], [390, 373], [373, 374], [374, 380], [380, 381], [381, 382], [382, 362], [263, 466], [466, 388], [388, 387], [387, 386], [386, 385], [385, 384], [384, 398], [398, 362]), Ko = it([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), El = it([474, 475], [475, 476], [476, 477], [477, 474]), Yo = it([33, 7], [7, 163], [163, 144], [144, 145], [145, 153], [153, 154], [154, 155], [155, 133], [33, 246], [246, 161], [161, 160], [160, 159], [159, 158], [158, 157], [157, 173], [173, 133]), Xo = it([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), _l = it([469, 470], [470, 471], [471, 472], [472, 469]), Qo = it([10, 338], [338, 297], [297, 332], [332, 284], [284, 251], [251, 389], [389, 356], [356, 454], [454, 323], [323, 361], [361, 288], [288, 397], [397, 365], [365, 379], [379, 378], [378, 400], [400, 377], [377, 152], [152, 148], [148, 176], [176, 149], [149, 150], [150, 136], [136, 172], [172, 58], [58, 132], [132, 93], [93, 234], [234, 127], [127, 162], [162, 21], [21, 54], [54, 103], [103, 67], [67, 109], [109, 10]), kl = [...Ho, ...qo, ...Ko, ...Yo, ...Xo, ...Qo], Tl = it([127, 34], [34, 139], [139, 127], [11, 0], [0, 37], [37, 11], [232, 231], [231, 120], [120, 232], [72, 37], [37, 39], [39, 72], [128, 121], [121, 47], [47, 128], [232, 121], [121, 128], [128, 232], [104, 69], [69, 67], [67, 104], [175, 171], [171, 148], [148, 175], [118, 50], [50, 101], [101, 118], [73, 39], [39, 40], [40, 73], [9, 151], [151, 108], [108, 9], [48, 115], [115, 131], [131, 48], [194, 204], [204, 211], [211, 194], [74, 40], [40, 185], [185, 74], [80, 42], [42, 183], [183, 80], [40, 92], [92, 186], [186, 40], [230, 229], [229, 118], [118, 230], [202, 212], [212, 214], [214, 202], [83, 18], [18, 17], [17, 83], [76, 61], [61, 146], [146, 76], [160, 29], [29, 30], [30, 160], [56, 157], [157, 173], [173, 56], [106, 204], [204, 194], [194, 106], [135, 214], [214, 192], [192, 135], [203, 165], [165, 98], [98, 203], [21, 71], [71, 68], [68, 21], [51, 45], [45, 4], [4, 51], [144, 24], [24, 23], [23, 144], [77, 146], [146, 91], [91, 77], [205, 50], [50, 187], [187, 205], [201, 200], [200, 18], [18, 201], [91, 106], [106, 182], [182, 91], [90, 91], [91, 181], [181, 90], [85, 84], [84, 17], [17, 85], [206, 203], [203, 36], [36, 206], [148, 171], [171, 140], [140, 148], [92, 40], [40, 39], [39, 92], [193, 189], [189, 244], [244, 193], [159, 158], [158, 28], [28, 159], [247, 246], [246, 161], [161, 247], [236, 3], [3, 196], [196, 236], [54, 68], [68, 104], [104, 54], [193, 168], [168, 8], [8, 193], [117, 228], [228, 31], [31, 117], [189, 193], [193, 55], [55, 189], [98, 97], [97, 99], [99, 98], [126, 47], [47, 100], [100, 126], [166, 79], [79, 218], [218, 166], [155, 154], [154, 26], [26, 155], [209, 49], [49, 131], [131, 209], [135, 136], [136, 150], [150, 135], [47, 126], [126, 217], [217, 47], [223, 52], [52, 53], [53, 223], [45, 51], [51, 134], [134, 45], [211, 170], [170, 140], [140, 211], [67, 69], [69, 108], [108, 67], [43, 106], [106, 91], [91, 43], [230, 119], [119, 120], [120, 230], [226, 130], [130, 247], [247, 226], [63, 53], [53, 52], [52, 63], [238, 20], [20, 242], [242, 238], [46, 70], [70, 156], [156, 46], [78, 62], [62, 96], [96, 78], [46, 53], [53, 63], [63, 46], [143, 34], [34, 227], [227, 143], [123, 117], [117, 111], [111, 123], [44, 125], [125, 19], [19, 44], [236, 134], [134, 51], [51, 236], [216, 206], [206, 205], [205, 216], [154, 153], [153, 22], [22, 154], [39, 37], [37, 167], [167, 39], [200, 201], [201, 208], [208, 200], [36, 142], [142, 100], [100, 36], [57, 212], [212, 202], [202, 57], [20, 60], [60, 99], [99, 20], [28, 158], [158, 157], [157, 28], [35, 226], [226, 113], [113, 35], [160, 159], [159, 27], [27, 160], [204, 202], [202, 210], [210, 204], [113, 225], [225, 46], [46, 113], [43, 202], [202, 204], [204, 43], [62, 76], [76, 77], [77, 62], [137, 123], [123, 116], [116, 137], [41, 38], [38, 72], [72, 41], [203, 129], [129, 142], [142, 203], [64, 98], [98, 240], [240, 64], [49, 102], [102, 64], [64, 49], [41, 73], [73, 74], [74, 41], [212, 216], [216, 207], [207, 212], [42, 74], [74, 184], [184, 42], [169, 170], [170, 211], [211, 169], [170, 149], [149, 176], [176, 170], [105, 66], [66, 69], [69, 105], [122, 6], [6, 168], [168, 122], [123, 147], [147, 187], [187, 123], [96, 77], [77, 90], [90, 96], [65, 55], [55, 107], [107, 65], [89, 90], [90, 180], [180, 89], [101, 100], [100, 120], [120, 101], [63, 105], [105, 104], [104, 63], [93, 137], [137, 227], [227, 93], [15, 86], [86, 85], [85, 15], [129, 102], [102, 49], [49, 129], [14, 87], [87, 86], [86, 14], [55, 8], [8, 9], [9, 55], [100, 47], [47, 121], [121, 100], [145, 23], [23, 22], [22, 145], [88, 89], [89, 179], [179, 88], [6, 122], [122, 196], [196, 6], [88, 95], [95, 96], [96, 88], [138, 172], [172, 136], [136, 138], [215, 58], [58, 172], [172, 215], [115, 48], [48, 219], [219, 115], [42, 80], [80, 81], [81, 42], [195, 3], [3, 51], [51, 195], [43, 146], [146, 61], [61, 43], [171, 175], [175, 199], [199, 171], [81, 82], [82, 38], [38, 81], [53, 46], [46, 225], [225, 53], [144, 163], [163, 110], [110, 144], [52, 65], [65, 66], [66, 52], [229, 228], [228, 117], [117, 229], [34, 127], [127, 234], [234, 34], [107, 108], [108, 69], [69, 107], [109, 108], [108, 151], [151, 109], [48, 64], [64, 235], [235, 48], [62, 78], [78, 191], [191, 62], [129, 209], [209, 126], [126, 129], [111, 35], [35, 143], [143, 111], [117, 123], [123, 50], [50, 117], [222, 65], [65, 52], [52, 222], [19, 125], [125, 141], [141, 19], [221, 55], [55, 65], [65, 221], [3, 195], [195, 197], [197, 3], [25, 7], [7, 33], [33, 25], [220, 237], [237, 44], [44, 220], [70, 71], [71, 139], [139, 70], [122, 193], [193, 245], [245, 122], [247, 130], [130, 33], [33, 247], [71, 21], [21, 162], [162, 71], [170, 169], [169, 150], [150, 170], [188, 174], [174, 196], [196, 188], [216, 186], [186, 92], [92, 216], [2, 97], [97, 167], [167, 2], [141, 125], [125, 241], [241, 141], [164, 167], [167, 37], [37, 164], [72, 38], [38, 12], [12, 72], [38, 82], [82, 13], [13, 38], [63, 68], [68, 71], [71, 63], [226, 35], [35, 111], [111, 226], [101, 50], [50, 205], [205, 101], [206, 92], [92, 165], [165, 206], [209, 198], [198, 217], [217, 209], [165, 167], [167, 97], [97, 165], [220, 115], [115, 218], [218, 220], [133, 112], [112, 243], [243, 133], [239, 238], [238, 241], [241, 239], [214, 135], [135, 169], [169, 214], [190, 173], [173, 133], [133, 190], [171, 208], [208, 32], [32, 171], [125, 44], [44, 237], [237, 125], [86, 87], [87, 178], [178, 86], [85, 86], [86, 179], [179, 85], [84, 85], [85, 180], [180, 84], [83, 84], [84, 181], [181, 83], [201, 83], [83, 182], [182, 201], [137, 93], [93, 132], [132, 137], [76, 62], [62, 183], [183, 76], [61, 76], [76, 184], [184, 61], [57, 61], [61, 185], [185, 57], [212, 57], [57, 186], [186, 212], [214, 207], [207, 187], [187, 214], [34, 143], [143, 156], [156, 34], [79, 239], [239, 237], [237, 79], [123, 137], [137, 177], [177, 123], [44, 1], [1, 4], [4, 44], [201, 194], [194, 32], [32, 201], [64, 102], [102, 129], [129, 64], [213, 215], [215, 138], [138, 213], [59, 166], [166, 219], [219, 59], [242, 99], [99, 97], [97, 242], [2, 94], [94, 141], [141, 2], [75, 59], [59, 235], [235, 75], [24, 110], [110, 228], [228, 24], [25, 130], [130, 226], [226, 25], [23, 24], [24, 229], [229, 23], [22, 23], [23, 230], [230, 22], [26, 22], [22, 231], [231, 26], [112, 26], [26, 232], [232, 112], [189, 190], [190, 243], [243, 189], [221, 56], [56, 190], [190, 221], [28, 56], [56, 221], [221, 28], [27, 28], [28, 222], [222, 27], [29, 27], [27, 223], [223, 29], [30, 29], [29, 224], [224, 30], [247, 30], [30, 225], [225, 247], [238, 79], [79, 20], [20, 238], [166, 59], [59, 75], [75, 166], [60, 75], [75, 240], [240, 60], [147, 177], [177, 215], [215, 147], [20, 79], [79, 166], [166, 20], [187, 147], [147, 213], [213, 187], [112, 233], [233, 244], [244, 112], [233, 128], [128, 245], [245, 233], [128, 114], [114, 188], [188, 128], [114, 217], [217, 174], [174, 114], [131, 115], [115, 220], [220, 131], [217, 198], [198, 236], [236, 217], [198, 131], [131, 134], [134, 198], [177, 132], [132, 58], [58, 177], [143, 35], [35, 124], [124, 143], [110, 163], [163, 7], [7, 110], [228, 110], [110, 25], [25, 228], [356, 389], [389, 368], [368, 356], [11, 302], [302, 267], [267, 11], [452, 350], [350, 349], [349, 452], [302, 303], [303, 269], [269, 302], [357, 343], [343, 277], [277, 357], [452, 453], [453, 357], [357, 452], [333, 332], [332, 297], [297, 333], [175, 152], [152, 377], [377, 175], [347, 348], [348, 330], [330, 347], [303, 304], [304, 270], [270, 303], [9, 336], [336, 337], [337, 9], [278, 279], [279, 360], [360, 278], [418, 262], [262, 431], [431, 418], [304, 408], [408, 409], [409, 304], [310, 415], [415, 407], [407, 310], [270, 409], [409, 410], [410, 270], [450, 348], [348, 347], [347, 450], [422, 430], [430, 434], [434, 422], [313, 314], [314, 17], [17, 313], [306, 307], [307, 375], [375, 306], [387, 388], [388, 260], [260, 387], [286, 414], [414, 398], [398, 286], [335, 406], [406, 418], [418, 335], [364, 367], [367, 416], [416, 364], [423, 358], [358, 327], [327, 423], [251, 284], [284, 298], [298, 251], [281, 5], [5, 4], [4, 281], [373, 374], [374, 253], [253, 373], [307, 320], [320, 321], [321, 307], [425, 427], [427, 411], [411, 425], [421, 313], [313, 18], [18, 421], [321, 405], [405, 406], [406, 321], [320, 404], [404, 405], [405, 320], [315, 16], [16, 17], [17, 315], [426, 425], [425, 266], [266, 426], [377, 400], [400, 369], [369, 377], [322, 391], [391, 269], [269, 322], [417, 465], [465, 464], [464, 417], [386, 257], [257, 258], [258, 386], [466, 260], [260, 388], [388, 466], [456, 399], [399, 419], [419, 456], [284, 332], [332, 333], [333, 284], [417, 285], [285, 8], [8, 417], [346, 340], [340, 261], [261, 346], [413, 441], [441, 285], [285, 413], [327, 460], [460, 328], [328, 327], [355, 371], [371, 329], [329, 355], [392, 439], [439, 438], [438, 392], [382, 341], [341, 256], [256, 382], [429, 420], [420, 360], [360, 429], [364, 394], [394, 379], [379, 364], [277, 343], [343, 437], [437, 277], [443, 444], [444, 283], [283, 443], [275, 440], [440, 363], [363, 275], [431, 262], [262, 369], [369, 431], [297, 338], [338, 337], [337, 297], [273, 375], [375, 321], [321, 273], [450, 451], [451, 349], [349, 450], [446, 342], [342, 467], [467, 446], [293, 334], [334, 282], [282, 293], [458, 461], [461, 462], [462, 458], [276, 353], [353, 383], [383, 276], [308, 324], [324, 325], [325, 308], [276, 300], [300, 293], [293, 276], [372, 345], [345, 447], [447, 372], [352, 345], [345, 340], [340, 352], [274, 1], [1, 19], [19, 274], [456, 248], [248, 281], [281, 456], [436, 427], [427, 425], [425, 436], [381, 256], [256, 252], [252, 381], [269, 391], [391, 393], [393, 269], [200, 199], [199, 428], [428, 200], [266, 330], [330, 329], [329, 266], [287, 273], [273, 422], [422, 287], [250, 462], [462, 328], [328, 250], [258, 286], [286, 384], [384, 258], [265, 353], [353, 342], [342, 265], [387, 259], [259, 257], [257, 387], [424, 431], [431, 430], [430, 424], [342, 353], [353, 276], [276, 342], [273, 335], [335, 424], [424, 273], [292, 325], [325, 307], [307, 292], [366, 447], [447, 345], [345, 366], [271, 303], [303, 302], [302, 271], [423, 266], [266, 371], [371, 423], [294, 455], [455, 460], [460, 294], [279, 278], [278, 294], [294, 279], [271, 272], [272, 304], [304, 271], [432, 434], [434, 427], [427, 432], [272, 407], [407, 408], [408, 272], [394, 430], [430, 431], [431, 394], [395, 369], [369, 400], [400, 395], [334, 333], [333, 299], [299, 334], [351, 417], [417, 168], [168, 351], [352, 280], [280, 411], [411, 352], [325, 319], [319, 320], [320, 325], [295, 296], [296, 336], [336, 295], [319, 403], [403, 404], [404, 319], [330, 348], [348, 349], [349, 330], [293, 298], [298, 333], [333, 293], [323, 454], [454, 447], [447, 323], [15, 16], [16, 315], [315, 15], [358, 429], [429, 279], [279, 358], [14, 15], [15, 316], [316, 14], [285, 336], [336, 9], [9, 285], [329, 349], [349, 350], [350, 329], [374, 380], [380, 252], [252, 374], [318, 402], [402, 403], [403, 318], [6, 197], [197, 419], [419, 6], [318, 319], [319, 325], [325, 318], [367, 364], [364, 365], [365, 367], [435, 367], [367, 397], [397, 435], [344, 438], [438, 439], [439, 344], [272, 271], [271, 311], [311, 272], [195, 5], [5, 281], [281, 195], [273, 287], [287, 291], [291, 273], [396, 428], [428, 199], [199, 396], [311, 271], [271, 268], [268, 311], [283, 444], [444, 445], [445, 283], [373, 254], [254, 339], [339, 373], [282, 334], [334, 296], [296, 282], [449, 347], [347, 346], [346, 449], [264, 447], [447, 454], [454, 264], [336, 296], [296, 299], [299, 336], [338, 10], [10, 151], [151, 338], [278, 439], [439, 455], [455, 278], [292, 407], [407, 415], [415, 292], [358, 371], [371, 355], [355, 358], [340, 345], [345, 372], [372, 340], [346, 347], [347, 280], [280, 346], [442, 443], [443, 282], [282, 442], [19, 94], [94, 370], [370, 19], [441, 442], [442, 295], [295, 441], [248, 419], [419, 197], [197, 248], [263, 255], [255, 359], [359, 263], [440, 275], [275, 274], [274, 440], [300, 383], [383, 368], [368, 300], [351, 412], [412, 465], [465, 351], [263, 467], [467, 466], [466, 263], [301, 368], [368, 389], [389, 301], [395, 378], [378, 379], [379, 395], [412, 351], [351, 419], [419, 412], [436, 426], [426, 322], [322, 436], [2, 164], [164, 393], [393, 2], [370, 462], [462, 461], [461, 370], [164, 0], [0, 267], [267, 164], [302, 11], [11, 12], [12, 302], [268, 12], [12, 13], [13, 268], [293, 300], [300, 301], [301, 293], [446, 261], [261, 340], [340, 446], [330, 266], [266, 425], [425, 330], [426, 423], [423, 391], [391, 426], [429, 355], [355, 437], [437, 429], [391, 327], [327, 326], [326, 391], [440, 457], [457, 438], [438, 440], [341, 382], [382, 362], [362, 341], [459, 457], [457, 461], [461, 459], [434, 430], [430, 394], [394, 434], [414, 463], [463, 362], [362, 414], [396, 369], [369, 262], [262, 396], [354, 461], [461, 457], [457, 354], [316, 403], [403, 402], [402, 316], [315, 404], [404, 403], [403, 315], [314, 405], [405, 404], [404, 314], [313, 406], [406, 405], [405, 313], [421, 418], [418, 406], [406, 421], [366, 401], [401, 361], [361, 366], [306, 408], [408, 407], [407, 306], [291, 409], [409, 408], [408, 291], [287, 410], [410, 409], [409, 287], [432, 436], [436, 410], [410, 432], [434, 416], [416, 411], [411, 434], [264, 368], [368, 383], [383, 264], [309, 438], [438, 457], [457, 309], [352, 376], [376, 401], [401, 352], [274, 275], [275, 4], [4, 274], [421, 428], [428, 262], [262, 421], [294, 327], [327, 358], [358, 294], [433, 416], [416, 367], [367, 433], [289, 455], [455, 439], [439, 289], [462, 370], [370, 326], [326, 462], [2, 326], [326, 370], [370, 2], [305, 460], [460, 455], [455, 305], [254, 449], [449, 448], [448, 254], [255, 261], [261, 446], [446, 255], [253, 450], [450, 449], [449, 253], [252, 451], [451, 450], [450, 252], [256, 452], [452, 451], [451, 256], [341, 453], [453, 452], [452, 341], [413, 464], [464, 463], [463, 413], [441, 413], [413, 414], [414, 441], [258, 442], [442, 441], [441, 258], [257, 443], [443, 442], [442, 257], [259, 444], [444, 443], [443, 259], [260, 445], [445, 444], [444, 260], [467, 342], [342, 445], [445, 467], [459, 458], [458, 250], [250, 459], [289, 392], [392, 290], [290, 289], [290, 328], [328, 460], [460, 290], [376, 433], [433, 435], [435, 376], [250, 290], [290, 392], [392, 250], [411, 416], [416, 433], [433, 411], [341, 463], [463, 464], [464, 341], [453, 464], [464, 465], [465, 453], [357, 465], [465, 412], [412, 357], [343, 412], [412, 399], [399, 343], [360, 363], [363, 440], [440, 360], [437, 399], [399, 456], [456, 437], [420, 456], [456, 363], [363, 420], [401, 435], [435, 288], [288, 401], [372, 383], [383, 353], [353, 372], [339, 255], [255, 249], [249, 339], [448, 261], [261, 255], [255, 448], [133, 243], [243, 190], [190, 133], [133, 155], [155, 112], [112, 133], [33, 246], [246, 247], [247, 33], [33, 130], [130, 25], [25, 33], [398, 384], [384, 286], [286, 398], [362, 398], [398, 414], [414, 362], [362, 463], [463, 341], [341, 362], [263, 359], [359, 467], [467, 263], [263, 249], [249, 255], [255, 263], [466, 467], [467, 260], [260, 466], [75, 60], [60, 166], [166, 75], [238, 239], [239, 79], [79, 238], [162, 127], [127, 139], [139, 162], [72, 11], [11, 37], [37, 72], [121, 232], [232, 120], [120, 121], [73, 72], [72, 39], [39, 73], [114, 128], [128, 47], [47, 114], [233, 232], [232, 128], [128, 233], [103, 104], [104, 67], [67, 103], [152, 175], [175, 148], [148, 152], [119, 118], [118, 101], [101, 119], [74, 73], [73, 40], [40, 74], [107, 9], [9, 108], [108, 107], [49, 48], [48, 131], [131, 49], [32, 194], [194, 211], [211, 32], [184, 74], [74, 185], [185, 184], [191, 80], [80, 183], [183, 191], [185, 40], [40, 186], [186, 185], [119, 230], [230, 118], [118, 119], [210, 202], [202, 214], [214, 210], [84, 83], [83, 17], [17, 84], [77, 76], [76, 146], [146, 77], [161, 160], [160, 30], [30, 161], [190, 56], [56, 173], [173, 190], [182, 106], [106, 194], [194, 182], [138, 135], [135, 192], [192, 138], [129, 203], [203, 98], [98, 129], [54, 21], [21, 68], [68, 54], [5, 51], [51, 4], [4, 5], [145, 144], [144, 23], [23, 145], [90, 77], [77, 91], [91, 90], [207, 205], [205, 187], [187, 207], [83, 201], [201, 18], [18, 83], [181, 91], [91, 182], [182, 181], [180, 90], [90, 181], [181, 180], [16, 85], [85, 17], [17, 16], [205, 206], [206, 36], [36, 205], [176, 148], [148, 140], [140, 176], [165, 92], [92, 39], [39, 165], [245, 193], [193, 244], [244, 245], [27, 159], [159, 28], [28, 27], [30, 247], [247, 161], [161, 30], [174, 236], [236, 196], [196, 174], [103, 54], [54, 104], [104, 103], [55, 193], [193, 8], [8, 55], [111, 117], [117, 31], [31, 111], [221, 189], [189, 55], [55, 221], [240, 98], [98, 99], [99, 240], [142, 126], [126, 100], [100, 142], [219, 166], [166, 218], [218, 219], [112, 155], [155, 26], [26, 112], [198, 209], [209, 131], [131, 198], [169, 135], [135, 150], [150, 169], [114, 47], [47, 217], [217, 114], [224, 223], [223, 53], [53, 224], [220, 45], [45, 134], [134, 220], [32, 211], [211, 140], [140, 32], [109, 67], [67, 108], [108, 109], [146, 43], [43, 91], [91, 146], [231, 230], [230, 120], [120, 231], [113, 226], [226, 247], [247, 113], [105, 63], [63, 52], [52, 105], [241, 238], [238, 242], [242, 241], [124, 46], [46, 156], [156, 124], [95, 78], [78, 96], [96, 95], [70, 46], [46, 63], [63, 70], [116, 143], [143, 227], [227, 116], [116, 123], [123, 111], [111, 116], [1, 44], [44, 19], [19, 1], [3, 236], [236, 51], [51, 3], [207, 216], [216, 205], [205, 207], [26, 154], [154, 22], [22, 26], [165, 39], [39, 167], [167, 165], [199, 200], [200, 208], [208, 199], [101, 36], [36, 100], [100, 101], [43, 57], [57, 202], [202, 43], [242, 20], [20, 99], [99, 242], [56, 28], [28, 157], [157, 56], [124, 35], [35, 113], [113, 124], [29, 160], [160, 27], [27, 29], [211, 204], [204, 210], [210, 211], [124, 113], [113, 46], [46, 124], [106, 43], [43, 204], [204, 106], [96, 62], [62, 77], [77, 96], [227, 137], [137, 116], [116, 227], [73, 41], [41, 72], [72, 73], [36, 203], [203, 142], [142, 36], [235, 64], [64, 240], [240, 235], [48, 49], [49, 64], [64, 48], [42, 41], [41, 74], [74, 42], [214, 212], [212, 207], [207, 214], [183, 42], [42, 184], [184, 183], [210, 169], [169, 211], [211, 210], [140, 170], [170, 176], [176, 140], [104, 105], [105, 69], [69, 104], [193, 122], [122, 168], [168, 193], [50, 123], [123, 187], [187, 50], [89, 96], [96, 90], [90, 89], [66, 65], [65, 107], [107, 66], [179, 89], [89, 180], [180, 179], [119, 101], [101, 120], [120, 119], [68, 63], [63, 104], [104, 68], [234, 93], [93, 227], [227, 234], [16, 15], [15, 85], [85, 16], [209, 129], [129, 49], [49, 209], [15, 14], [14, 86], [86, 15], [107, 55], [55, 9], [9, 107], [120, 100], [100, 121], [121, 120], [153, 145], [145, 22], [22, 153], [178, 88], [88, 179], [179, 178], [197, 6], [6, 196], [196, 197], [89, 88], [88, 96], [96, 89], [135, 138], [138, 136], [136, 135], [138, 215], [215, 172], [172, 138], [218, 115], [115, 219], [219, 218], [41, 42], [42, 81], [81, 41], [5, 195], [195, 51], [51, 5], [57, 43], [43, 61], [61, 57], [208, 171], [171, 199], [199, 208], [41, 81], [81, 38], [38, 41], [224, 53], [53, 225], [225, 224], [24, 144], [144, 110], [110, 24], [105, 52], [52, 66], [66, 105], [118, 229], [229, 117], [117, 118], [227, 34], [34, 234], [234, 227], [66, 107], [107, 69], [69, 66], [10, 109], [109, 151], [151, 10], [219, 48], [48, 235], [235, 219], [183, 62], [62, 191], [191, 183], [142, 129], [129, 126], [126, 142], [116, 111], [111, 143], [143, 116], [118, 117], [117, 50], [50, 118], [223, 222], [222, 52], [52, 223], [94, 19], [19, 141], [141, 94], [222, 221], [221, 65], [65, 222], [196, 3], [3, 197], [197, 196], [45, 220], [220, 44], [44, 45], [156, 70], [70, 139], [139, 156], [188, 122], [122, 245], [245, 188], [139, 71], [71, 162], [162, 139], [149, 170], [170, 150], [150, 149], [122, 188], [188, 196], [196, 122], [206, 216], [216, 92], [92, 206], [164, 2], [2, 167], [167, 164], [242, 141], [141, 241], [241, 242], [0, 164], [164, 37], [37, 0], [11, 72], [72, 12], [12, 11], [12, 38], [38, 13], [13, 12], [70, 63], [63, 71], [71, 70], [31, 226], [226, 111], [111, 31], [36, 101], [101, 205], [205, 36], [203, 206], [206, 165], [165, 203], [126, 209], [209, 217], [217, 126], [98, 165], [165, 97], [97, 98], [237, 220], [220, 218], [218, 237], [237, 239], [239, 241], [241, 237], [210, 214], [214, 169], [169, 210], [140, 171], [171, 32], [32, 140], [241, 125], [125, 237], [237, 241], [179, 86], [86, 178], [178, 179], [180, 85], [85, 179], [179, 180], [181, 84], [84, 180], [180, 181], [182, 83], [83, 181], [181, 182], [194, 201], [201, 182], [182, 194], [177, 137], [137, 132], [132, 177], [184, 76], [76, 183], [183, 184], [185, 61], [61, 184], [184, 185], [186, 57], [57, 185], [185, 186], [216, 212], [212, 186], [186, 216], [192, 214], [214, 187], [187, 192], [139, 34], [34, 156], [156, 139], [218, 79], [79, 237], [237, 218], [147, 123], [123, 177], [177, 147], [45, 44], [44, 4], [4, 45], [208, 201], [201, 32], [32, 208], [98, 64], [64, 129], [129, 98], [192, 213], [213, 138], [138, 192], [235, 59], [59, 219], [219, 235], [141, 242], [242, 97], [97, 141], [97, 2], [2, 141], [141, 97], [240, 75], [75, 235], [235, 240], [229, 24], [24, 228], [228, 229], [31, 25], [25, 226], [226, 31], [230, 23], [23, 229], [229, 230], [231, 22], [22, 230], [230, 231], [232, 26], [26, 231], [231, 232], [233, 112], [112, 232], [232, 233], [244, 189], [189, 243], [243, 244], [189, 221], [221, 190], [190, 189], [222, 28], [28, 221], [221, 222], [223, 27], [27, 222], [222, 223], [224, 29], [29, 223], [223, 224], [225, 30], [30, 224], [224, 225], [113, 247], [247, 225], [225, 113], [99, 60], [60, 240], [240, 99], [213, 147], [147, 215], [215, 213], [60, 20], [20, 166], [166, 60], [192, 187], [187, 213], [213, 192], [243, 112], [112, 244], [244, 243], [244, 233], [233, 245], [245, 244], [245, 128], [128, 188], [188, 245], [188, 114], [114, 174], [174, 188], [134, 131], [131, 220], [220, 134], [174, 217], [217, 236], [236, 174], [236, 198], [198, 134], [134, 236], [215, 177], [177, 58], [58, 215], [156, 143], [143, 124], [124, 156], [25, 110], [110, 7], [7, 25], [31, 228], [228, 25], [25, 31], [264, 356], [356, 368], [368, 264], [0, 11], [11, 267], [267, 0], [451, 452], [452, 349], [349, 451], [267, 302], [302, 269], [269, 267], [350, 357], [357, 277], [277, 350], [350, 452], [452, 357], [357, 350], [299, 333], [333, 297], [297, 299], [396, 175], [175, 377], [377, 396], [280, 347], [347, 330], [330, 280], [269, 303], [303, 270], [270, 269], [151, 9], [9, 337], [337, 151], [344, 278], [278, 360], [360, 344], [424, 418], [418, 431], [431, 424], [270, 304], [304, 409], [409, 270], [272, 310], [310, 407], [407, 272], [322, 270], [270, 410], [410, 322], [449, 450], [450, 347], [347, 449], [432, 422], [422, 434], [434, 432], [18, 313], [313, 17], [17, 18], [291, 306], [306, 375], [375, 291], [259, 387], [387, 260], [260, 259], [424, 335], [335, 418], [418, 424], [434, 364], [364, 416], [416, 434], [391, 423], [423, 327], [327, 391], [301, 251], [251, 298], [298, 301], [275, 281], [281, 4], [4, 275], [254, 373], [373, 253], [253, 254], [375, 307], [307, 321], [321, 375], [280, 425], [425, 411], [411, 280], [200, 421], [421, 18], [18, 200], [335, 321], [321, 406], [406, 335], [321, 320], [320, 405], [405, 321], [314, 315], [315, 17], [17, 314], [423, 426], [426, 266], [266, 423], [396, 377], [377, 369], [369, 396], [270, 322], [322, 269], [269, 270], [413, 417], [417, 464], [464, 413], [385, 386], [386, 258], [258, 385], [248, 456], [456, 419], [419, 248], [298, 284], [284, 333], [333, 298], [168, 417], [417, 8], [8, 168], [448, 346], [346, 261], [261, 448], [417, 413], [413, 285], [285, 417], [326, 327], [327, 328], [328, 326], [277, 355], [355, 329], [329, 277], [309, 392], [392, 438], [438, 309], [381, 382], [382, 256], [256, 381], [279, 429], [429, 360], [360, 279], [365, 364], [364, 379], [379, 365], [355, 277], [277, 437], [437, 355], [282, 443], [443, 283], [283, 282], [281, 275], [275, 363], [363, 281], [395, 431], [431, 369], [369, 395], [299, 297], [297, 337], [337, 299], [335, 273], [273, 321], [321, 335], [348, 450], [450, 349], [349, 348], [359, 446], [446, 467], [467, 359], [283, 293], [293, 282], [282, 283], [250, 458], [458, 462], [462, 250], [300, 276], [276, 383], [383, 300], [292, 308], [308, 325], [325, 292], [283, 276], [276, 293], [293, 283], [264, 372], [372, 447], [447, 264], [346, 352], [352, 340], [340, 346], [354, 274], [274, 19], [19, 354], [363, 456], [456, 281], [281, 363], [426, 436], [436, 425], [425, 426], [380, 381], [381, 252], [252, 380], [267, 269], [269, 393], [393, 267], [421, 200], [200, 428], [428, 421], [371, 266], [266, 329], [329, 371], [432, 287], [287, 422], [422, 432], [290, 250], [250, 328], [328, 290], [385, 258], [258, 384], [384, 385], [446, 265], [265, 342], [342, 446], [386, 387], [387, 257], [257, 386], [422, 424], [424, 430], [430, 422], [445, 342], [342, 276], [276, 445], [422, 273], [273, 424], [424, 422], [306, 292], [292, 307], [307, 306], [352, 366], [366, 345], [345, 352], [268, 271], [271, 302], [302, 268], [358, 423], [423, 371], [371, 358], [327, 294], [294, 460], [460, 327], [331, 279], [279, 294], [294, 331], [303, 271], [271, 304], [304, 303], [436, 432], [432, 427], [427, 436], [304, 272], [272, 408], [408, 304], [395, 394], [394, 431], [431, 395], [378, 395], [395, 400], [400, 378], [296, 334], [334, 299], [299, 296], [6, 351], [351, 168], [168, 6], [376, 352], [352, 411], [411, 376], [307, 325], [325, 320], [320, 307], [285, 295], [295, 336], [336, 285], [320, 319], [319, 404], [404, 320], [329, 330], [330, 349], [349, 329], [334, 293], [293, 333], [333, 334], [366, 323], [323, 447], [447, 366], [316, 15], [15, 315], [315, 316], [331, 358], [358, 279], [279, 331], [317, 14], [14, 316], [316, 317], [8, 285], [285, 9], [9, 8], [277, 329], [329, 350], [350, 277], [253, 374], [374, 252], [252, 253], [319, 318], [318, 403], [403, 319], [351, 6], [6, 419], [419, 351], [324, 318], [318, 325], [325, 324], [397, 367], [367, 365], [365, 397], [288, 435], [435, 397], [397, 288], [278, 344], [344, 439], [439, 278], [310, 272], [272, 311], [311, 310], [248, 195], [195, 281], [281, 248], [375, 273], [273, 291], [291, 375], [175, 396], [396, 199], [199, 175], [312, 311], [311, 268], [268, 312], [276, 283], [283, 445], [445, 276], [390, 373], [373, 339], [339, 390], [295, 282], [282, 296], [296, 295], [448, 449], [449, 346], [346, 448], [356, 264], [264, 454], [454, 356], [337, 336], [336, 299], [299, 337], [337, 338], [338, 151], [151, 337], [294, 278], [278, 455], [455, 294], [308, 292], [292, 415], [415, 308], [429, 358], [358, 355], [355, 429], [265, 340], [340, 372], [372, 265], [352, 346], [346, 280], [280, 352], [295, 442], [442, 282], [282, 295], [354, 19], [19, 370], [370, 354], [285, 441], [441, 295], [295, 285], [195, 248], [248, 197], [197, 195], [457, 440], [440, 274], [274, 457], [301, 300], [300, 368], [368, 301], [417, 351], [351, 465], [465, 417], [251, 301], [301, 389], [389, 251], [394, 395], [395, 379], [379, 394], [399, 412], [412, 419], [419, 399], [410, 436], [436, 322], [322, 410], [326, 2], [2, 393], [393, 326], [354, 370], [370, 461], [461, 354], [393, 164], [164, 267], [267, 393], [268, 302], [302, 12], [12, 268], [312, 268], [268, 13], [13, 312], [298, 293], [293, 301], [301, 298], [265, 446], [446, 340], [340, 265], [280, 330], [330, 425], [425, 280], [322, 426], [426, 391], [391, 322], [420, 429], [429, 437], [437, 420], [393, 391], [391, 326], [326, 393], [344, 440], [440, 438], [438, 344], [458, 459], [459, 461], [461, 458], [364, 434], [434, 394], [394, 364], [428, 396], [396, 262], [262, 428], [274, 354], [354, 457], [457, 274], [317, 316], [316, 402], [402, 317], [316, 315], [315, 403], [403, 316], [315, 314], [314, 404], [404, 315], [314, 313], [313, 405], [405, 314], [313, 421], [421, 406], [406, 313], [323, 366], [366, 361], [361, 323], [292, 306], [306, 407], [407, 292], [306, 291], [291, 408], [408, 306], [291, 287], [287, 409], [409, 291], [287, 432], [432, 410], [410, 287], [427, 434], [434, 411], [411, 427], [372, 264], [264, 383], [383, 372], [459, 309], [309, 457], [457, 459], [366, 352], [352, 401], [401, 366], [1, 274], [274, 4], [4, 1], [418, 421], [421, 262], [262, 418], [331, 294], [294, 358], [358, 331], [435, 433], [433, 367], [367, 435], [392, 289], [289, 439], [439, 392], [328, 462], [462, 326], [326, 328], [94, 2], [2, 370], [370, 94], [289, 305], [305, 455], [455, 289], [339, 254], [254, 448], [448, 339], [359, 255], [255, 446], [446, 359], [254, 253], [253, 449], [449, 254], [253, 252], [252, 450], [450, 253], [252, 256], [256, 451], [451, 252], [256, 341], [341, 452], [452, 256], [414, 413], [413, 463], [463, 414], [286, 441], [441, 414], [414, 286], [286, 258], [258, 441], [441, 286], [258, 257], [257, 442], [442, 258], [257, 259], [259, 443], [443, 257], [259, 260], [260, 444], [444, 259], [260, 467], [467, 445], [445, 260], [309, 459], [459, 250], [250, 309], [305, 289], [289, 290], [290, 305], [305, 290], [290, 460], [460, 305], [401, 376], [376, 435], [435, 401], [309, 250], [250, 392], [392, 309], [376, 411], [411, 433], [433, 376], [453, 341], [341, 464], [464, 453], [357, 453], [453, 465], [465, 357], [343, 357], [357, 412], [412, 343], [437, 343], [343, 399], [399, 437], [344, 360], [360, 440], [440, 344], [420, 437], [437, 456], [456, 420], [360, 420], [420, 363], [363, 360], [361, 401], [401, 288], [288, 361], [265, 372], [372, 353], [353, 265], [390, 339], [339, 249], [249, 390], [339, 448], [448, 255], [255, 339]);
4190
+ var Ho = it([61, 146], [146, 91], [91, 181], [181, 84], [84, 17], [17, 314], [314, 405], [405, 321], [321, 375], [375, 291], [61, 185], [185, 40], [40, 39], [39, 37], [37, 0], [0, 267], [267, 269], [269, 270], [270, 409], [409, 291], [78, 95], [95, 88], [88, 178], [178, 87], [87, 14], [14, 317], [317, 402], [402, 318], [318, 324], [324, 308], [78, 191], [191, 80], [80, 81], [81, 82], [82, 13], [13, 312], [312, 311], [311, 310], [310, 415], [415, 308]), qo = it([263, 249], [249, 390], [390, 373], [373, 374], [374, 380], [380, 381], [381, 382], [382, 362], [263, 466], [466, 388], [388, 387], [387, 386], [386, 385], [385, 384], [384, 398], [398, 362]), Ko = it([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), El = it([474, 475], [475, 476], [476, 477], [477, 474]), Yo = it([33, 7], [7, 163], [163, 144], [144, 145], [145, 153], [153, 154], [154, 155], [155, 133], [33, 246], [246, 161], [161, 160], [160, 159], [159, 158], [158, 157], [157, 173], [173, 133]), Xo = it([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), _l = it([469, 470], [470, 471], [471, 472], [472, 469]), Qo = it([10, 338], [338, 297], [297, 332], [332, 284], [284, 251], [251, 389], [389, 356], [356, 454], [454, 323], [323, 361], [361, 288], [288, 397], [397, 365], [365, 379], [379, 378], [378, 400], [400, 377], [377, 152], [152, 148], [148, 176], [176, 149], [149, 150], [150, 136], [136, 172], [172, 58], [58, 132], [132, 93], [93, 234], [234, 127], [127, 162], [162, 21], [21, 54], [54, 103], [103, 67], [67, 109], [109, 10]), kl = [...Ho, ...qo, ...Ko, ...Yo, ...Xo, ...Qo], Al = it([127, 34], [34, 139], [139, 127], [11, 0], [0, 37], [37, 11], [232, 231], [231, 120], [120, 232], [72, 37], [37, 39], [39, 72], [128, 121], [121, 47], [47, 128], [232, 121], [121, 128], [128, 232], [104, 69], [69, 67], [67, 104], [175, 171], [171, 148], [148, 175], [118, 50], [50, 101], [101, 118], [73, 39], [39, 40], [40, 73], [9, 151], [151, 108], [108, 9], [48, 115], [115, 131], [131, 48], [194, 204], [204, 211], [211, 194], [74, 40], [40, 185], [185, 74], [80, 42], [42, 183], [183, 80], [40, 92], [92, 186], [186, 40], [230, 229], [229, 118], [118, 230], [202, 212], [212, 214], [214, 202], [83, 18], [18, 17], [17, 83], [76, 61], [61, 146], [146, 76], [160, 29], [29, 30], [30, 160], [56, 157], [157, 173], [173, 56], [106, 204], [204, 194], [194, 106], [135, 214], [214, 192], [192, 135], [203, 165], [165, 98], [98, 203], [21, 71], [71, 68], [68, 21], [51, 45], [45, 4], [4, 51], [144, 24], [24, 23], [23, 144], [77, 146], [146, 91], [91, 77], [205, 50], [50, 187], [187, 205], [201, 200], [200, 18], [18, 201], [91, 106], [106, 182], [182, 91], [90, 91], [91, 181], [181, 90], [85, 84], [84, 17], [17, 85], [206, 203], [203, 36], [36, 206], [148, 171], [171, 140], [140, 148], [92, 40], [40, 39], [39, 92], [193, 189], [189, 244], [244, 193], [159, 158], [158, 28], [28, 159], [247, 246], [246, 161], [161, 247], [236, 3], [3, 196], [196, 236], [54, 68], [68, 104], [104, 54], [193, 168], [168, 8], [8, 193], [117, 228], [228, 31], [31, 117], [189, 193], [193, 55], [55, 189], [98, 97], [97, 99], [99, 98], [126, 47], [47, 100], [100, 126], [166, 79], [79, 218], [218, 166], [155, 154], [154, 26], [26, 155], [209, 49], [49, 131], [131, 209], [135, 136], [136, 150], [150, 135], [47, 126], [126, 217], [217, 47], [223, 52], [52, 53], [53, 223], [45, 51], [51, 134], [134, 45], [211, 170], [170, 140], [140, 211], [67, 69], [69, 108], [108, 67], [43, 106], [106, 91], [91, 43], [230, 119], [119, 120], [120, 230], [226, 130], [130, 247], [247, 226], [63, 53], [53, 52], [52, 63], [238, 20], [20, 242], [242, 238], [46, 70], [70, 156], [156, 46], [78, 62], [62, 96], [96, 78], [46, 53], [53, 63], [63, 46], [143, 34], [34, 227], [227, 143], [123, 117], [117, 111], [111, 123], [44, 125], [125, 19], [19, 44], [236, 134], [134, 51], [51, 236], [216, 206], [206, 205], [205, 216], [154, 153], [153, 22], [22, 154], [39, 37], [37, 167], [167, 39], [200, 201], [201, 208], [208, 200], [36, 142], [142, 100], [100, 36], [57, 212], [212, 202], [202, 57], [20, 60], [60, 99], [99, 20], [28, 158], [158, 157], [157, 28], [35, 226], [226, 113], [113, 35], [160, 159], [159, 27], [27, 160], [204, 202], [202, 210], [210, 204], [113, 225], [225, 46], [46, 113], [43, 202], [202, 204], [204, 43], [62, 76], [76, 77], [77, 62], [137, 123], [123, 116], [116, 137], [41, 38], [38, 72], [72, 41], [203, 129], [129, 142], [142, 203], [64, 98], [98, 240], [240, 64], [49, 102], [102, 64], [64, 49], [41, 73], [73, 74], [74, 41], [212, 216], [216, 207], [207, 212], [42, 74], [74, 184], [184, 42], [169, 170], [170, 211], [211, 169], [170, 149], [149, 176], [176, 170], [105, 66], [66, 69], [69, 105], [122, 6], [6, 168], [168, 122], [123, 147], [147, 187], [187, 123], [96, 77], [77, 90], [90, 96], [65, 55], [55, 107], [107, 65], [89, 90], [90, 180], [180, 89], [101, 100], [100, 120], [120, 101], [63, 105], [105, 104], [104, 63], [93, 137], [137, 227], [227, 93], [15, 86], [86, 85], [85, 15], [129, 102], [102, 49], [49, 129], [14, 87], [87, 86], [86, 14], [55, 8], [8, 9], [9, 55], [100, 47], [47, 121], [121, 100], [145, 23], [23, 22], [22, 145], [88, 89], [89, 179], [179, 88], [6, 122], [122, 196], [196, 6], [88, 95], [95, 96], [96, 88], [138, 172], [172, 136], [136, 138], [215, 58], [58, 172], [172, 215], [115, 48], [48, 219], [219, 115], [42, 80], [80, 81], [81, 42], [195, 3], [3, 51], [51, 195], [43, 146], [146, 61], [61, 43], [171, 175], [175, 199], [199, 171], [81, 82], [82, 38], [38, 81], [53, 46], [46, 225], [225, 53], [144, 163], [163, 110], [110, 144], [52, 65], [65, 66], [66, 52], [229, 228], [228, 117], [117, 229], [34, 127], [127, 234], [234, 34], [107, 108], [108, 69], [69, 107], [109, 108], [108, 151], [151, 109], [48, 64], [64, 235], [235, 48], [62, 78], [78, 191], [191, 62], [129, 209], [209, 126], [126, 129], [111, 35], [35, 143], [143, 111], [117, 123], [123, 50], [50, 117], [222, 65], [65, 52], [52, 222], [19, 125], [125, 141], [141, 19], [221, 55], [55, 65], [65, 221], [3, 195], [195, 197], [197, 3], [25, 7], [7, 33], [33, 25], [220, 237], [237, 44], [44, 220], [70, 71], [71, 139], [139, 70], [122, 193], [193, 245], [245, 122], [247, 130], [130, 33], [33, 247], [71, 21], [21, 162], [162, 71], [170, 169], [169, 150], [150, 170], [188, 174], [174, 196], [196, 188], [216, 186], [186, 92], [92, 216], [2, 97], [97, 167], [167, 2], [141, 125], [125, 241], [241, 141], [164, 167], [167, 37], [37, 164], [72, 38], [38, 12], [12, 72], [38, 82], [82, 13], [13, 38], [63, 68], [68, 71], [71, 63], [226, 35], [35, 111], [111, 226], [101, 50], [50, 205], [205, 101], [206, 92], [92, 165], [165, 206], [209, 198], [198, 217], [217, 209], [165, 167], [167, 97], [97, 165], [220, 115], [115, 218], [218, 220], [133, 112], [112, 243], [243, 133], [239, 238], [238, 241], [241, 239], [214, 135], [135, 169], [169, 214], [190, 173], [173, 133], [133, 190], [171, 208], [208, 32], [32, 171], [125, 44], [44, 237], [237, 125], [86, 87], [87, 178], [178, 86], [85, 86], [86, 179], [179, 85], [84, 85], [85, 180], [180, 84], [83, 84], [84, 181], [181, 83], [201, 83], [83, 182], [182, 201], [137, 93], [93, 132], [132, 137], [76, 62], [62, 183], [183, 76], [61, 76], [76, 184], [184, 61], [57, 61], [61, 185], [185, 57], [212, 57], [57, 186], [186, 212], [214, 207], [207, 187], [187, 214], [34, 143], [143, 156], [156, 34], [79, 239], [239, 237], [237, 79], [123, 137], [137, 177], [177, 123], [44, 1], [1, 4], [4, 44], [201, 194], [194, 32], [32, 201], [64, 102], [102, 129], [129, 64], [213, 215], [215, 138], [138, 213], [59, 166], [166, 219], [219, 59], [242, 99], [99, 97], [97, 242], [2, 94], [94, 141], [141, 2], [75, 59], [59, 235], [235, 75], [24, 110], [110, 228], [228, 24], [25, 130], [130, 226], [226, 25], [23, 24], [24, 229], [229, 23], [22, 23], [23, 230], [230, 22], [26, 22], [22, 231], [231, 26], [112, 26], [26, 232], [232, 112], [189, 190], [190, 243], [243, 189], [221, 56], [56, 190], [190, 221], [28, 56], [56, 221], [221, 28], [27, 28], [28, 222], [222, 27], [29, 27], [27, 223], [223, 29], [30, 29], [29, 224], [224, 30], [247, 30], [30, 225], [225, 247], [238, 79], [79, 20], [20, 238], [166, 59], [59, 75], [75, 166], [60, 75], [75, 240], [240, 60], [147, 177], [177, 215], [215, 147], [20, 79], [79, 166], [166, 20], [187, 147], [147, 213], [213, 187], [112, 233], [233, 244], [244, 112], [233, 128], [128, 245], [245, 233], [128, 114], [114, 188], [188, 128], [114, 217], [217, 174], [174, 114], [131, 115], [115, 220], [220, 131], [217, 198], [198, 236], [236, 217], [198, 131], [131, 134], [134, 198], [177, 132], [132, 58], [58, 177], [143, 35], [35, 124], [124, 143], [110, 163], [163, 7], [7, 110], [228, 110], [110, 25], [25, 228], [356, 389], [389, 368], [368, 356], [11, 302], [302, 267], [267, 11], [452, 350], [350, 349], [349, 452], [302, 303], [303, 269], [269, 302], [357, 343], [343, 277], [277, 357], [452, 453], [453, 357], [357, 452], [333, 332], [332, 297], [297, 333], [175, 152], [152, 377], [377, 175], [347, 348], [348, 330], [330, 347], [303, 304], [304, 270], [270, 303], [9, 336], [336, 337], [337, 9], [278, 279], [279, 360], [360, 278], [418, 262], [262, 431], [431, 418], [304, 408], [408, 409], [409, 304], [310, 415], [415, 407], [407, 310], [270, 409], [409, 410], [410, 270], [450, 348], [348, 347], [347, 450], [422, 430], [430, 434], [434, 422], [313, 314], [314, 17], [17, 313], [306, 307], [307, 375], [375, 306], [387, 388], [388, 260], [260, 387], [286, 414], [414, 398], [398, 286], [335, 406], [406, 418], [418, 335], [364, 367], [367, 416], [416, 364], [423, 358], [358, 327], [327, 423], [251, 284], [284, 298], [298, 251], [281, 5], [5, 4], [4, 281], [373, 374], [374, 253], [253, 373], [307, 320], [320, 321], [321, 307], [425, 427], [427, 411], [411, 425], [421, 313], [313, 18], [18, 421], [321, 405], [405, 406], [406, 321], [320, 404], [404, 405], [405, 320], [315, 16], [16, 17], [17, 315], [426, 425], [425, 266], [266, 426], [377, 400], [400, 369], [369, 377], [322, 391], [391, 269], [269, 322], [417, 465], [465, 464], [464, 417], [386, 257], [257, 258], [258, 386], [466, 260], [260, 388], [388, 466], [456, 399], [399, 419], [419, 456], [284, 332], [332, 333], [333, 284], [417, 285], [285, 8], [8, 417], [346, 340], [340, 261], [261, 346], [413, 441], [441, 285], [285, 413], [327, 460], [460, 328], [328, 327], [355, 371], [371, 329], [329, 355], [392, 439], [439, 438], [438, 392], [382, 341], [341, 256], [256, 382], [429, 420], [420, 360], [360, 429], [364, 394], [394, 379], [379, 364], [277, 343], [343, 437], [437, 277], [443, 444], [444, 283], [283, 443], [275, 440], [440, 363], [363, 275], [431, 262], [262, 369], [369, 431], [297, 338], [338, 337], [337, 297], [273, 375], [375, 321], [321, 273], [450, 451], [451, 349], [349, 450], [446, 342], [342, 467], [467, 446], [293, 334], [334, 282], [282, 293], [458, 461], [461, 462], [462, 458], [276, 353], [353, 383], [383, 276], [308, 324], [324, 325], [325, 308], [276, 300], [300, 293], [293, 276], [372, 345], [345, 447], [447, 372], [352, 345], [345, 340], [340, 352], [274, 1], [1, 19], [19, 274], [456, 248], [248, 281], [281, 456], [436, 427], [427, 425], [425, 436], [381, 256], [256, 252], [252, 381], [269, 391], [391, 393], [393, 269], [200, 199], [199, 428], [428, 200], [266, 330], [330, 329], [329, 266], [287, 273], [273, 422], [422, 287], [250, 462], [462, 328], [328, 250], [258, 286], [286, 384], [384, 258], [265, 353], [353, 342], [342, 265], [387, 259], [259, 257], [257, 387], [424, 431], [431, 430], [430, 424], [342, 353], [353, 276], [276, 342], [273, 335], [335, 424], [424, 273], [292, 325], [325, 307], [307, 292], [366, 447], [447, 345], [345, 366], [271, 303], [303, 302], [302, 271], [423, 266], [266, 371], [371, 423], [294, 455], [455, 460], [460, 294], [279, 278], [278, 294], [294, 279], [271, 272], [272, 304], [304, 271], [432, 434], [434, 427], [427, 432], [272, 407], [407, 408], [408, 272], [394, 430], [430, 431], [431, 394], [395, 369], [369, 400], [400, 395], [334, 333], [333, 299], [299, 334], [351, 417], [417, 168], [168, 351], [352, 280], [280, 411], [411, 352], [325, 319], [319, 320], [320, 325], [295, 296], [296, 336], [336, 295], [319, 403], [403, 404], [404, 319], [330, 348], [348, 349], [349, 330], [293, 298], [298, 333], [333, 293], [323, 454], [454, 447], [447, 323], [15, 16], [16, 315], [315, 15], [358, 429], [429, 279], [279, 358], [14, 15], [15, 316], [316, 14], [285, 336], [336, 9], [9, 285], [329, 349], [349, 350], [350, 329], [374, 380], [380, 252], [252, 374], [318, 402], [402, 403], [403, 318], [6, 197], [197, 419], [419, 6], [318, 319], [319, 325], [325, 318], [367, 364], [364, 365], [365, 367], [435, 367], [367, 397], [397, 435], [344, 438], [438, 439], [439, 344], [272, 271], [271, 311], [311, 272], [195, 5], [5, 281], [281, 195], [273, 287], [287, 291], [291, 273], [396, 428], [428, 199], [199, 396], [311, 271], [271, 268], [268, 311], [283, 444], [444, 445], [445, 283], [373, 254], [254, 339], [339, 373], [282, 334], [334, 296], [296, 282], [449, 347], [347, 346], [346, 449], [264, 447], [447, 454], [454, 264], [336, 296], [296, 299], [299, 336], [338, 10], [10, 151], [151, 338], [278, 439], [439, 455], [455, 278], [292, 407], [407, 415], [415, 292], [358, 371], [371, 355], [355, 358], [340, 345], [345, 372], [372, 340], [346, 347], [347, 280], [280, 346], [442, 443], [443, 282], [282, 442], [19, 94], [94, 370], [370, 19], [441, 442], [442, 295], [295, 441], [248, 419], [419, 197], [197, 248], [263, 255], [255, 359], [359, 263], [440, 275], [275, 274], [274, 440], [300, 383], [383, 368], [368, 300], [351, 412], [412, 465], [465, 351], [263, 467], [467, 466], [466, 263], [301, 368], [368, 389], [389, 301], [395, 378], [378, 379], [379, 395], [412, 351], [351, 419], [419, 412], [436, 426], [426, 322], [322, 436], [2, 164], [164, 393], [393, 2], [370, 462], [462, 461], [461, 370], [164, 0], [0, 267], [267, 164], [302, 11], [11, 12], [12, 302], [268, 12], [12, 13], [13, 268], [293, 300], [300, 301], [301, 293], [446, 261], [261, 340], [340, 446], [330, 266], [266, 425], [425, 330], [426, 423], [423, 391], [391, 426], [429, 355], [355, 437], [437, 429], [391, 327], [327, 326], [326, 391], [440, 457], [457, 438], [438, 440], [341, 382], [382, 362], [362, 341], [459, 457], [457, 461], [461, 459], [434, 430], [430, 394], [394, 434], [414, 463], [463, 362], [362, 414], [396, 369], [369, 262], [262, 396], [354, 461], [461, 457], [457, 354], [316, 403], [403, 402], [402, 316], [315, 404], [404, 403], [403, 315], [314, 405], [405, 404], [404, 314], [313, 406], [406, 405], [405, 313], [421, 418], [418, 406], [406, 421], [366, 401], [401, 361], [361, 366], [306, 408], [408, 407], [407, 306], [291, 409], [409, 408], [408, 291], [287, 410], [410, 409], [409, 287], [432, 436], [436, 410], [410, 432], [434, 416], [416, 411], [411, 434], [264, 368], [368, 383], [383, 264], [309, 438], [438, 457], [457, 309], [352, 376], [376, 401], [401, 352], [274, 275], [275, 4], [4, 274], [421, 428], [428, 262], [262, 421], [294, 327], [327, 358], [358, 294], [433, 416], [416, 367], [367, 433], [289, 455], [455, 439], [439, 289], [462, 370], [370, 326], [326, 462], [2, 326], [326, 370], [370, 2], [305, 460], [460, 455], [455, 305], [254, 449], [449, 448], [448, 254], [255, 261], [261, 446], [446, 255], [253, 450], [450, 449], [449, 253], [252, 451], [451, 450], [450, 252], [256, 452], [452, 451], [451, 256], [341, 453], [453, 452], [452, 341], [413, 464], [464, 463], [463, 413], [441, 413], [413, 414], [414, 441], [258, 442], [442, 441], [441, 258], [257, 443], [443, 442], [442, 257], [259, 444], [444, 443], [443, 259], [260, 445], [445, 444], [444, 260], [467, 342], [342, 445], [445, 467], [459, 458], [458, 250], [250, 459], [289, 392], [392, 290], [290, 289], [290, 328], [328, 460], [460, 290], [376, 433], [433, 435], [435, 376], [250, 290], [290, 392], [392, 250], [411, 416], [416, 433], [433, 411], [341, 463], [463, 464], [464, 341], [453, 464], [464, 465], [465, 453], [357, 465], [465, 412], [412, 357], [343, 412], [412, 399], [399, 343], [360, 363], [363, 440], [440, 360], [437, 399], [399, 456], [456, 437], [420, 456], [456, 363], [363, 420], [401, 435], [435, 288], [288, 401], [372, 383], [383, 353], [353, 372], [339, 255], [255, 249], [249, 339], [448, 261], [261, 255], [255, 448], [133, 243], [243, 190], [190, 133], [133, 155], [155, 112], [112, 133], [33, 246], [246, 247], [247, 33], [33, 130], [130, 25], [25, 33], [398, 384], [384, 286], [286, 398], [362, 398], [398, 414], [414, 362], [362, 463], [463, 341], [341, 362], [263, 359], [359, 467], [467, 263], [263, 249], [249, 255], [255, 263], [466, 467], [467, 260], [260, 466], [75, 60], [60, 166], [166, 75], [238, 239], [239, 79], [79, 238], [162, 127], [127, 139], [139, 162], [72, 11], [11, 37], [37, 72], [121, 232], [232, 120], [120, 121], [73, 72], [72, 39], [39, 73], [114, 128], [128, 47], [47, 114], [233, 232], [232, 128], [128, 233], [103, 104], [104, 67], [67, 103], [152, 175], [175, 148], [148, 152], [119, 118], [118, 101], [101, 119], [74, 73], [73, 40], [40, 74], [107, 9], [9, 108], [108, 107], [49, 48], [48, 131], [131, 49], [32, 194], [194, 211], [211, 32], [184, 74], [74, 185], [185, 184], [191, 80], [80, 183], [183, 191], [185, 40], [40, 186], [186, 185], [119, 230], [230, 118], [118, 119], [210, 202], [202, 214], [214, 210], [84, 83], [83, 17], [17, 84], [77, 76], [76, 146], [146, 77], [161, 160], [160, 30], [30, 161], [190, 56], [56, 173], [173, 190], [182, 106], [106, 194], [194, 182], [138, 135], [135, 192], [192, 138], [129, 203], [203, 98], [98, 129], [54, 21], [21, 68], [68, 54], [5, 51], [51, 4], [4, 5], [145, 144], [144, 23], [23, 145], [90, 77], [77, 91], [91, 90], [207, 205], [205, 187], [187, 207], [83, 201], [201, 18], [18, 83], [181, 91], [91, 182], [182, 181], [180, 90], [90, 181], [181, 180], [16, 85], [85, 17], [17, 16], [205, 206], [206, 36], [36, 205], [176, 148], [148, 140], [140, 176], [165, 92], [92, 39], [39, 165], [245, 193], [193, 244], [244, 245], [27, 159], [159, 28], [28, 27], [30, 247], [247, 161], [161, 30], [174, 236], [236, 196], [196, 174], [103, 54], [54, 104], [104, 103], [55, 193], [193, 8], [8, 55], [111, 117], [117, 31], [31, 111], [221, 189], [189, 55], [55, 221], [240, 98], [98, 99], [99, 240], [142, 126], [126, 100], [100, 142], [219, 166], [166, 218], [218, 219], [112, 155], [155, 26], [26, 112], [198, 209], [209, 131], [131, 198], [169, 135], [135, 150], [150, 169], [114, 47], [47, 217], [217, 114], [224, 223], [223, 53], [53, 224], [220, 45], [45, 134], [134, 220], [32, 211], [211, 140], [140, 32], [109, 67], [67, 108], [108, 109], [146, 43], [43, 91], [91, 146], [231, 230], [230, 120], [120, 231], [113, 226], [226, 247], [247, 113], [105, 63], [63, 52], [52, 105], [241, 238], [238, 242], [242, 241], [124, 46], [46, 156], [156, 124], [95, 78], [78, 96], [96, 95], [70, 46], [46, 63], [63, 70], [116, 143], [143, 227], [227, 116], [116, 123], [123, 111], [111, 116], [1, 44], [44, 19], [19, 1], [3, 236], [236, 51], [51, 3], [207, 216], [216, 205], [205, 207], [26, 154], [154, 22], [22, 26], [165, 39], [39, 167], [167, 165], [199, 200], [200, 208], [208, 199], [101, 36], [36, 100], [100, 101], [43, 57], [57, 202], [202, 43], [242, 20], [20, 99], [99, 242], [56, 28], [28, 157], [157, 56], [124, 35], [35, 113], [113, 124], [29, 160], [160, 27], [27, 29], [211, 204], [204, 210], [210, 211], [124, 113], [113, 46], [46, 124], [106, 43], [43, 204], [204, 106], [96, 62], [62, 77], [77, 96], [227, 137], [137, 116], [116, 227], [73, 41], [41, 72], [72, 73], [36, 203], [203, 142], [142, 36], [235, 64], [64, 240], [240, 235], [48, 49], [49, 64], [64, 48], [42, 41], [41, 74], [74, 42], [214, 212], [212, 207], [207, 214], [183, 42], [42, 184], [184, 183], [210, 169], [169, 211], [211, 210], [140, 170], [170, 176], [176, 140], [104, 105], [105, 69], [69, 104], [193, 122], [122, 168], [168, 193], [50, 123], [123, 187], [187, 50], [89, 96], [96, 90], [90, 89], [66, 65], [65, 107], [107, 66], [179, 89], [89, 180], [180, 179], [119, 101], [101, 120], [120, 119], [68, 63], [63, 104], [104, 68], [234, 93], [93, 227], [227, 234], [16, 15], [15, 85], [85, 16], [209, 129], [129, 49], [49, 209], [15, 14], [14, 86], [86, 15], [107, 55], [55, 9], [9, 107], [120, 100], [100, 121], [121, 120], [153, 145], [145, 22], [22, 153], [178, 88], [88, 179], [179, 178], [197, 6], [6, 196], [196, 197], [89, 88], [88, 96], [96, 89], [135, 138], [138, 136], [136, 135], [138, 215], [215, 172], [172, 138], [218, 115], [115, 219], [219, 218], [41, 42], [42, 81], [81, 41], [5, 195], [195, 51], [51, 5], [57, 43], [43, 61], [61, 57], [208, 171], [171, 199], [199, 208], [41, 81], [81, 38], [38, 41], [224, 53], [53, 225], [225, 224], [24, 144], [144, 110], [110, 24], [105, 52], [52, 66], [66, 105], [118, 229], [229, 117], [117, 118], [227, 34], [34, 234], [234, 227], [66, 107], [107, 69], [69, 66], [10, 109], [109, 151], [151, 10], [219, 48], [48, 235], [235, 219], [183, 62], [62, 191], [191, 183], [142, 129], [129, 126], [126, 142], [116, 111], [111, 143], [143, 116], [118, 117], [117, 50], [50, 118], [223, 222], [222, 52], [52, 223], [94, 19], [19, 141], [141, 94], [222, 221], [221, 65], [65, 222], [196, 3], [3, 197], [197, 196], [45, 220], [220, 44], [44, 45], [156, 70], [70, 139], [139, 156], [188, 122], [122, 245], [245, 188], [139, 71], [71, 162], [162, 139], [149, 170], [170, 150], [150, 149], [122, 188], [188, 196], [196, 122], [206, 216], [216, 92], [92, 206], [164, 2], [2, 167], [167, 164], [242, 141], [141, 241], [241, 242], [0, 164], [164, 37], [37, 0], [11, 72], [72, 12], [12, 11], [12, 38], [38, 13], [13, 12], [70, 63], [63, 71], [71, 70], [31, 226], [226, 111], [111, 31], [36, 101], [101, 205], [205, 36], [203, 206], [206, 165], [165, 203], [126, 209], [209, 217], [217, 126], [98, 165], [165, 97], [97, 98], [237, 220], [220, 218], [218, 237], [237, 239], [239, 241], [241, 237], [210, 214], [214, 169], [169, 210], [140, 171], [171, 32], [32, 140], [241, 125], [125, 237], [237, 241], [179, 86], [86, 178], [178, 179], [180, 85], [85, 179], [179, 180], [181, 84], [84, 180], [180, 181], [182, 83], [83, 181], [181, 182], [194, 201], [201, 182], [182, 194], [177, 137], [137, 132], [132, 177], [184, 76], [76, 183], [183, 184], [185, 61], [61, 184], [184, 185], [186, 57], [57, 185], [185, 186], [216, 212], [212, 186], [186, 216], [192, 214], [214, 187], [187, 192], [139, 34], [34, 156], [156, 139], [218, 79], [79, 237], [237, 218], [147, 123], [123, 177], [177, 147], [45, 44], [44, 4], [4, 45], [208, 201], [201, 32], [32, 208], [98, 64], [64, 129], [129, 98], [192, 213], [213, 138], [138, 192], [235, 59], [59, 219], [219, 235], [141, 242], [242, 97], [97, 141], [97, 2], [2, 141], [141, 97], [240, 75], [75, 235], [235, 240], [229, 24], [24, 228], [228, 229], [31, 25], [25, 226], [226, 31], [230, 23], [23, 229], [229, 230], [231, 22], [22, 230], [230, 231], [232, 26], [26, 231], [231, 232], [233, 112], [112, 232], [232, 233], [244, 189], [189, 243], [243, 244], [189, 221], [221, 190], [190, 189], [222, 28], [28, 221], [221, 222], [223, 27], [27, 222], [222, 223], [224, 29], [29, 223], [223, 224], [225, 30], [30, 224], [224, 225], [113, 247], [247, 225], [225, 113], [99, 60], [60, 240], [240, 99], [213, 147], [147, 215], [215, 213], [60, 20], [20, 166], [166, 60], [192, 187], [187, 213], [213, 192], [243, 112], [112, 244], [244, 243], [244, 233], [233, 245], [245, 244], [245, 128], [128, 188], [188, 245], [188, 114], [114, 174], [174, 188], [134, 131], [131, 220], [220, 134], [174, 217], [217, 236], [236, 174], [236, 198], [198, 134], [134, 236], [215, 177], [177, 58], [58, 215], [156, 143], [143, 124], [124, 156], [25, 110], [110, 7], [7, 25], [31, 228], [228, 25], [25, 31], [264, 356], [356, 368], [368, 264], [0, 11], [11, 267], [267, 0], [451, 452], [452, 349], [349, 451], [267, 302], [302, 269], [269, 267], [350, 357], [357, 277], [277, 350], [350, 452], [452, 357], [357, 350], [299, 333], [333, 297], [297, 299], [396, 175], [175, 377], [377, 396], [280, 347], [347, 330], [330, 280], [269, 303], [303, 270], [270, 269], [151, 9], [9, 337], [337, 151], [344, 278], [278, 360], [360, 344], [424, 418], [418, 431], [431, 424], [270, 304], [304, 409], [409, 270], [272, 310], [310, 407], [407, 272], [322, 270], [270, 410], [410, 322], [449, 450], [450, 347], [347, 449], [432, 422], [422, 434], [434, 432], [18, 313], [313, 17], [17, 18], [291, 306], [306, 375], [375, 291], [259, 387], [387, 260], [260, 259], [424, 335], [335, 418], [418, 424], [434, 364], [364, 416], [416, 434], [391, 423], [423, 327], [327, 391], [301, 251], [251, 298], [298, 301], [275, 281], [281, 4], [4, 275], [254, 373], [373, 253], [253, 254], [375, 307], [307, 321], [321, 375], [280, 425], [425, 411], [411, 280], [200, 421], [421, 18], [18, 200], [335, 321], [321, 406], [406, 335], [321, 320], [320, 405], [405, 321], [314, 315], [315, 17], [17, 314], [423, 426], [426, 266], [266, 423], [396, 377], [377, 369], [369, 396], [270, 322], [322, 269], [269, 270], [413, 417], [417, 464], [464, 413], [385, 386], [386, 258], [258, 385], [248, 456], [456, 419], [419, 248], [298, 284], [284, 333], [333, 298], [168, 417], [417, 8], [8, 168], [448, 346], [346, 261], [261, 448], [417, 413], [413, 285], [285, 417], [326, 327], [327, 328], [328, 326], [277, 355], [355, 329], [329, 277], [309, 392], [392, 438], [438, 309], [381, 382], [382, 256], [256, 381], [279, 429], [429, 360], [360, 279], [365, 364], [364, 379], [379, 365], [355, 277], [277, 437], [437, 355], [282, 443], [443, 283], [283, 282], [281, 275], [275, 363], [363, 281], [395, 431], [431, 369], [369, 395], [299, 297], [297, 337], [337, 299], [335, 273], [273, 321], [321, 335], [348, 450], [450, 349], [349, 348], [359, 446], [446, 467], [467, 359], [283, 293], [293, 282], [282, 283], [250, 458], [458, 462], [462, 250], [300, 276], [276, 383], [383, 300], [292, 308], [308, 325], [325, 292], [283, 276], [276, 293], [293, 283], [264, 372], [372, 447], [447, 264], [346, 352], [352, 340], [340, 346], [354, 274], [274, 19], [19, 354], [363, 456], [456, 281], [281, 363], [426, 436], [436, 425], [425, 426], [380, 381], [381, 252], [252, 380], [267, 269], [269, 393], [393, 267], [421, 200], [200, 428], [428, 421], [371, 266], [266, 329], [329, 371], [432, 287], [287, 422], [422, 432], [290, 250], [250, 328], [328, 290], [385, 258], [258, 384], [384, 385], [446, 265], [265, 342], [342, 446], [386, 387], [387, 257], [257, 386], [422, 424], [424, 430], [430, 422], [445, 342], [342, 276], [276, 445], [422, 273], [273, 424], [424, 422], [306, 292], [292, 307], [307, 306], [352, 366], [366, 345], [345, 352], [268, 271], [271, 302], [302, 268], [358, 423], [423, 371], [371, 358], [327, 294], [294, 460], [460, 327], [331, 279], [279, 294], [294, 331], [303, 271], [271, 304], [304, 303], [436, 432], [432, 427], [427, 436], [304, 272], [272, 408], [408, 304], [395, 394], [394, 431], [431, 395], [378, 395], [395, 400], [400, 378], [296, 334], [334, 299], [299, 296], [6, 351], [351, 168], [168, 6], [376, 352], [352, 411], [411, 376], [307, 325], [325, 320], [320, 307], [285, 295], [295, 336], [336, 285], [320, 319], [319, 404], [404, 320], [329, 330], [330, 349], [349, 329], [334, 293], [293, 333], [333, 334], [366, 323], [323, 447], [447, 366], [316, 15], [15, 315], [315, 316], [331, 358], [358, 279], [279, 331], [317, 14], [14, 316], [316, 317], [8, 285], [285, 9], [9, 8], [277, 329], [329, 350], [350, 277], [253, 374], [374, 252], [252, 253], [319, 318], [318, 403], [403, 319], [351, 6], [6, 419], [419, 351], [324, 318], [318, 325], [325, 324], [397, 367], [367, 365], [365, 397], [288, 435], [435, 397], [397, 288], [278, 344], [344, 439], [439, 278], [310, 272], [272, 311], [311, 310], [248, 195], [195, 281], [281, 248], [375, 273], [273, 291], [291, 375], [175, 396], [396, 199], [199, 175], [312, 311], [311, 268], [268, 312], [276, 283], [283, 445], [445, 276], [390, 373], [373, 339], [339, 390], [295, 282], [282, 296], [296, 295], [448, 449], [449, 346], [346, 448], [356, 264], [264, 454], [454, 356], [337, 336], [336, 299], [299, 337], [337, 338], [338, 151], [151, 337], [294, 278], [278, 455], [455, 294], [308, 292], [292, 415], [415, 308], [429, 358], [358, 355], [355, 429], [265, 340], [340, 372], [372, 265], [352, 346], [346, 280], [280, 352], [295, 442], [442, 282], [282, 295], [354, 19], [19, 370], [370, 354], [285, 441], [441, 295], [295, 285], [195, 248], [248, 197], [197, 195], [457, 440], [440, 274], [274, 457], [301, 300], [300, 368], [368, 301], [417, 351], [351, 465], [465, 417], [251, 301], [301, 389], [389, 251], [394, 395], [395, 379], [379, 394], [399, 412], [412, 419], [419, 399], [410, 436], [436, 322], [322, 410], [326, 2], [2, 393], [393, 326], [354, 370], [370, 461], [461, 354], [393, 164], [164, 267], [267, 393], [268, 302], [302, 12], [12, 268], [312, 268], [268, 13], [13, 312], [298, 293], [293, 301], [301, 298], [265, 446], [446, 340], [340, 265], [280, 330], [330, 425], [425, 280], [322, 426], [426, 391], [391, 322], [420, 429], [429, 437], [437, 420], [393, 391], [391, 326], [326, 393], [344, 440], [440, 438], [438, 344], [458, 459], [459, 461], [461, 458], [364, 434], [434, 394], [394, 364], [428, 396], [396, 262], [262, 428], [274, 354], [354, 457], [457, 274], [317, 316], [316, 402], [402, 317], [316, 315], [315, 403], [403, 316], [315, 314], [314, 404], [404, 315], [314, 313], [313, 405], [405, 314], [313, 421], [421, 406], [406, 313], [323, 366], [366, 361], [361, 323], [292, 306], [306, 407], [407, 292], [306, 291], [291, 408], [408, 306], [291, 287], [287, 409], [409, 291], [287, 432], [432, 410], [410, 287], [427, 434], [434, 411], [411, 427], [372, 264], [264, 383], [383, 372], [459, 309], [309, 457], [457, 459], [366, 352], [352, 401], [401, 366], [1, 274], [274, 4], [4, 1], [418, 421], [421, 262], [262, 418], [331, 294], [294, 358], [358, 331], [435, 433], [433, 367], [367, 435], [392, 289], [289, 439], [439, 392], [328, 462], [462, 326], [326, 328], [94, 2], [2, 370], [370, 94], [289, 305], [305, 455], [455, 289], [339, 254], [254, 448], [448, 339], [359, 255], [255, 446], [446, 359], [254, 253], [253, 449], [449, 254], [253, 252], [252, 450], [450, 253], [252, 256], [256, 451], [451, 252], [256, 341], [341, 452], [452, 256], [414, 413], [413, 463], [463, 414], [286, 441], [441, 414], [414, 286], [286, 258], [258, 441], [441, 286], [258, 257], [257, 442], [442, 258], [257, 259], [259, 443], [443, 257], [259, 260], [260, 444], [444, 259], [260, 467], [467, 445], [445, 260], [309, 459], [459, 250], [250, 309], [305, 289], [289, 290], [290, 305], [305, 290], [290, 460], [460, 305], [401, 376], [376, 435], [435, 401], [309, 250], [250, 392], [392, 309], [376, 411], [411, 433], [433, 376], [453, 341], [341, 464], [464, 453], [357, 453], [453, 465], [465, 357], [343, 357], [357, 412], [412, 343], [437, 343], [343, 399], [399, 437], [344, 360], [360, 440], [440, 344], [420, 437], [437, 456], [456, 420], [360, 420], [420, 363], [363, 360], [361, 401], [401, 288], [288, 361], [265, 372], [372, 353], [353, 265], [390, 339], [339, 249], [249, 390], [339, 448], [448, 255], [255, 339]);
4191
4191
  function Qs(e) {
4192
4192
  e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
4193
4193
  }
@@ -4240,7 +4240,7 @@ re.prototype.detectForVideo = re.prototype.G, re.prototype.detect = re.prototype
4240
4240
  return j(re, e, { baseOptions: { modelAssetBuffer: t } });
4241
4241
  }, re.createFromOptions = function(e, t) {
4242
4242
  return j(re, e, t);
4243
- }, re.FACE_LANDMARKS_LIPS = Ho, re.FACE_LANDMARKS_LEFT_EYE = qo, re.FACE_LANDMARKS_LEFT_EYEBROW = Ko, re.FACE_LANDMARKS_LEFT_IRIS = El, re.FACE_LANDMARKS_RIGHT_EYE = Yo, re.FACE_LANDMARKS_RIGHT_EYEBROW = Xo, re.FACE_LANDMARKS_RIGHT_IRIS = _l, re.FACE_LANDMARKS_FACE_OVAL = Qo, re.FACE_LANDMARKS_CONTOURS = kl, re.FACE_LANDMARKS_TESSELATION = Tl;
4243
+ }, re.FACE_LANDMARKS_LIPS = Ho, re.FACE_LANDMARKS_LEFT_EYE = qo, re.FACE_LANDMARKS_LEFT_EYEBROW = Ko, re.FACE_LANDMARKS_LEFT_IRIS = El, re.FACE_LANDMARKS_RIGHT_EYE = Yo, re.FACE_LANDMARKS_RIGHT_EYEBROW = Xo, re.FACE_LANDMARKS_RIGHT_IRIS = _l, re.FACE_LANDMARKS_FACE_OVAL = Qo, re.FACE_LANDMARKS_CONTOURS = kl, re.FACE_LANDMARKS_TESSELATION = Al;
4244
4244
  var Jo = it([0, 1], [1, 2], [2, 3], [3, 4], [0, 5], [5, 6], [6, 7], [7, 8], [5, 9], [9, 10], [10, 11], [11, 12], [9, 13], [13, 14], [14, 15], [15, 16], [13, 17], [0, 17], [17, 18], [18, 19], [19, 20]);
4245
4245
  function Js(e) {
4246
4246
  e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
@@ -4386,7 +4386,7 @@ Pe.prototype.detectForVideo = Pe.prototype.G, Pe.prototype.detect = Pe.prototype
4386
4386
  }, Pe.createFromOptions = function(e, t) {
4387
4387
  return j(Pe, e, t);
4388
4388
  }, Pe.HAND_CONNECTIONS = Jo;
4389
- var Al = it([0, 1], [1, 2], [2, 3], [3, 7], [0, 4], [4, 5], [5, 6], [6, 8], [9, 10], [11, 12], [11, 13], [13, 15], [15, 17], [15, 19], [15, 21], [17, 19], [12, 14], [14, 16], [16, 18], [16, 20], [16, 22], [18, 20], [11, 23], [12, 24], [23, 24], [23, 25], [24, 26], [25, 27], [26, 28], [27, 29], [28, 30], [29, 31], [30, 32], [27, 31], [28, 32]);
4389
+ var Tl = it([0, 1], [1, 2], [2, 3], [3, 7], [0, 4], [4, 5], [5, 6], [6, 8], [9, 10], [11, 12], [11, 13], [13, 15], [15, 17], [15, 19], [15, 21], [17, 19], [12, 14], [14, 16], [16, 18], [16, 20], [16, 22], [18, 20], [11, 23], [12, 24], [23, 24], [23, 25], [24, 26], [25, 27], [26, 28], [27, 29], [28, 30], [29, 31], [30, 32], [27, 31], [28, 32]);
4390
4390
  function ia(e) {
4391
4391
  e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
4392
4392
  }
@@ -4398,7 +4398,7 @@ function ra(e) {
4398
4398
  hn(e);
4399
4399
  }
4400
4400
  }
4401
- function Ar(e, t) {
4401
+ function Tr(e, t) {
4402
4402
  e = pr(e), t.push(dn(e));
4403
4403
  }
4404
4404
  var Z = class extends $e {
@@ -4435,7 +4435,7 @@ var Z = class extends $e {
4435
4435
  }(i, this.j.g());
4436
4436
  const r = new Le();
4437
4437
  je(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), Eo(r, 8, Ns, i), te(r, "IMAGE:input_frames_image"), U(r, "POSE_LANDMARKS:pose_landmarks"), U(r, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), U(r, "FACE_LANDMARKS:face_landmarks"), U(r, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), U(r, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), U(r, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), U(r, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), r.o(t), Ze(e, r), un(this, e), this.g.attachProtoListener("pose_landmarks", (n, o) => {
4438
- Ar(n, this.h.poseLandmarks), x(this, o);
4438
+ Tr(n, this.h.poseLandmarks), x(this, o);
4439
4439
  }), this.g.attachEmptyPacketListener("pose_landmarks", (n) => {
4440
4440
  x(this, n);
4441
4441
  }), this.g.attachProtoListener("pose_world_landmarks", (n, o) => {
@@ -4443,12 +4443,12 @@ var Z = class extends $e {
4443
4443
  n = mi(n), s.push(ir(n)), x(this, o);
4444
4444
  }), this.g.attachEmptyPacketListener("pose_world_landmarks", (n) => {
4445
4445
  x(this, n);
4446
- }), this.outputPoseSegmentationMasks && (U(r, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"), Ti(this, "pose_segmentation_mask"), this.g.Z("pose_segmentation_mask", (n, o) => {
4446
+ }), this.outputPoseSegmentationMasks && (U(r, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"), Ai(this, "pose_segmentation_mask"), this.g.Z("pose_segmentation_mask", (n, o) => {
4447
4447
  this.h.poseSegmentationMasks = [Ni(this, n, !0, !this.D)], x(this, o);
4448
4448
  }), this.g.attachEmptyPacketListener("pose_segmentation_mask", (n) => {
4449
4449
  this.h.poseSegmentationMasks = [], x(this, n);
4450
4450
  })), this.g.attachProtoListener("face_landmarks", (n, o) => {
4451
- Ar(n, this.h.faceLandmarks), x(this, o);
4451
+ Tr(n, this.h.faceLandmarks), x(this, o);
4452
4452
  }), this.g.attachEmptyPacketListener("face_landmarks", (n) => {
4453
4453
  x(this, n);
4454
4454
  }), this.outputFaceBlendshapes && ($(e, "extra_blendshapes"), U(r, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", (n, o) => {
@@ -4457,7 +4457,7 @@ var Z = class extends $e {
4457
4457
  }), this.g.attachEmptyPacketListener("extra_blendshapes", (n) => {
4458
4458
  x(this, n);
4459
4459
  })), this.g.attachProtoListener("left_hand_landmarks", (n, o) => {
4460
- Ar(n, this.h.leftHandLandmarks), x(this, o);
4460
+ Tr(n, this.h.leftHandLandmarks), x(this, o);
4461
4461
  }), this.g.attachEmptyPacketListener("left_hand_landmarks", (n) => {
4462
4462
  x(this, n);
4463
4463
  }), this.g.attachProtoListener("left_hand_world_landmarks", (n, o) => {
@@ -4466,7 +4466,7 @@ var Z = class extends $e {
4466
4466
  }), this.g.attachEmptyPacketListener("left_hand_world_landmarks", (n) => {
4467
4467
  x(this, n);
4468
4468
  }), this.g.attachProtoListener("right_hand_landmarks", (n, o) => {
4469
- Ar(n, this.h.rightHandLandmarks), x(this, o);
4469
+ Tr(n, this.h.rightHandLandmarks), x(this, o);
4470
4470
  }), this.g.attachEmptyPacketListener("right_hand_landmarks", (n) => {
4471
4471
  x(this, n);
4472
4472
  }), this.g.attachProtoListener("right_hand_world_landmarks", (n, o) => {
@@ -4483,7 +4483,7 @@ Z.prototype.detectForVideo = Z.prototype.G, Z.prototype.detect = Z.prototype.F,
4483
4483
  return j(Z, e, { baseOptions: { modelAssetBuffer: t } });
4484
4484
  }, Z.createFromOptions = function(e, t) {
4485
4485
  return j(Z, e, t);
4486
- }, Z.HAND_CONNECTIONS = Jo, Z.POSE_CONNECTIONS = Al, Z.FACE_LANDMARKS_LIPS = Ho, Z.FACE_LANDMARKS_LEFT_EYE = qo, Z.FACE_LANDMARKS_LEFT_EYEBROW = Ko, Z.FACE_LANDMARKS_LEFT_IRIS = El, Z.FACE_LANDMARKS_RIGHT_EYE = Yo, Z.FACE_LANDMARKS_RIGHT_EYEBROW = Xo, Z.FACE_LANDMARKS_RIGHT_IRIS = _l, Z.FACE_LANDMARKS_FACE_OVAL = Qo, Z.FACE_LANDMARKS_CONTOURS = kl, Z.FACE_LANDMARKS_TESSELATION = Tl;
4486
+ }, Z.HAND_CONNECTIONS = Jo, Z.POSE_CONNECTIONS = Tl, Z.FACE_LANDMARKS_LIPS = Ho, Z.FACE_LANDMARKS_LEFT_EYE = qo, Z.FACE_LANDMARKS_LEFT_EYEBROW = Ko, Z.FACE_LANDMARKS_LEFT_IRIS = El, Z.FACE_LANDMARKS_RIGHT_EYE = Yo, Z.FACE_LANDMARKS_RIGHT_EYEBROW = Xo, Z.FACE_LANDMARKS_RIGHT_IRIS = _l, Z.FACE_LANDMARKS_FACE_OVAL = Qo, Z.FACE_LANDMARKS_CONTOURS = kl, Z.FACE_LANDMARKS_TESSELATION = Al;
4487
4487
  var Ye = class extends $e {
4488
4488
  constructor(e, t) {
4489
4489
  super(new rt(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, F(e = this.h = new il(), 0, 1, t = new ae());
@@ -4588,7 +4588,7 @@ var Wn = class {
4588
4588
  }), (t = this.categoryMask) == null || t.close();
4589
4589
  }
4590
4590
  };
4591
- function s1(e) {
4591
+ function s2(e) {
4592
4592
  var i, r;
4593
4593
  const t = function(n) {
4594
4594
  return vt(n, Le, 1);
@@ -4625,7 +4625,7 @@ var Re = class extends $e {
4625
4625
  return e.displayNamesLocale !== void 0 ? K(this.h, 2, wr(e.displayNamesLocale)) : "displayNamesLocale" in e && K(this.h, 2), "outputCategoryMask" in e && (this.outputCategoryMask = e.outputCategoryMask ?? !1), "outputConfidenceMasks" in e && (this.outputConfidenceMasks = e.outputConfidenceMasks ?? !0), super.l(e);
4626
4626
  }
4627
4627
  L() {
4628
- s1(this);
4628
+ s2(this);
4629
4629
  }
4630
4630
  segment(e, t, i) {
4631
4631
  const r = typeof t != "function" ? t : {};
@@ -4644,11 +4644,11 @@ var Re = class extends $e {
4644
4644
  const t = new We();
4645
4645
  ht(t, sl, this.h);
4646
4646
  const i = new Le();
4647
- je(i, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), i.o(t), Ze(e, i), un(this, e), this.outputConfidenceMasks && ($(e, "confidence_masks"), U(i, "CONFIDENCE_MASKS:confidence_masks"), Ti(this, "confidence_masks"), this.g.aa("confidence_masks", (r, n) => {
4647
+ je(i, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), i.o(t), Ze(e, i), un(this, e), this.outputConfidenceMasks && ($(e, "confidence_masks"), U(i, "CONFIDENCE_MASKS:confidence_masks"), Ai(this, "confidence_masks"), this.g.aa("confidence_masks", (r, n) => {
4648
4648
  this.confidenceMasks = r.map((o) => Ni(this, o, !0, !this.j)), x(this, n);
4649
4649
  }), this.g.attachEmptyPacketListener("confidence_masks", (r) => {
4650
4650
  this.confidenceMasks = [], x(this, r);
4651
- })), this.outputCategoryMask && ($(e, "category_mask"), U(i, "CATEGORY_MASK:category_mask"), Ti(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
4651
+ })), this.outputCategoryMask && ($(e, "category_mask"), U(i, "CATEGORY_MASK:category_mask"), Ai(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
4652
4652
  this.categoryMask = Ni(this, r, !1, !this.j), x(this, n);
4653
4653
  }), this.g.attachEmptyPacketListener("category_mask", (r) => {
4654
4654
  this.categoryMask = void 0, x(this, r);
@@ -4727,11 +4727,11 @@ var st = class extends $e {
4727
4727
  const t = new We();
4728
4728
  ht(t, sl, this.h);
4729
4729
  const i = new Le();
4730
- je(i, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), te(i, "IMAGE:image_in"), te(i, "ROI:roi_in"), te(i, "NORM_RECT:norm_rect_in"), i.o(t), Ze(e, i), un(this, e), this.outputConfidenceMasks && ($(e, "confidence_masks"), U(i, "CONFIDENCE_MASKS:confidence_masks"), Ti(this, "confidence_masks"), this.g.aa("confidence_masks", (r, n) => {
4730
+ je(i, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), te(i, "IMAGE:image_in"), te(i, "ROI:roi_in"), te(i, "NORM_RECT:norm_rect_in"), i.o(t), Ze(e, i), un(this, e), this.outputConfidenceMasks && ($(e, "confidence_masks"), U(i, "CONFIDENCE_MASKS:confidence_masks"), Ai(this, "confidence_masks"), this.g.aa("confidence_masks", (r, n) => {
4731
4731
  this.confidenceMasks = r.map((o) => Ni(this, o, !0, !this.j)), x(this, n);
4732
4732
  }), this.g.attachEmptyPacketListener("confidence_masks", (r) => {
4733
4733
  this.confidenceMasks = [], x(this, r);
4734
- })), this.outputCategoryMask && ($(e, "category_mask"), U(i, "CATEGORY_MASK:category_mask"), Ti(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
4734
+ })), this.outputCategoryMask && ($(e, "category_mask"), U(i, "CATEGORY_MASK:category_mask"), Ai(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
4735
4735
  this.categoryMask = Ni(this, r, !1, !this.j), x(this, n);
4736
4736
  }), this.g.attachEmptyPacketListener("category_mask", (r) => {
4737
4737
  this.categoryMask = void 0, x(this, r);
@@ -4852,7 +4852,7 @@ var Be = class extends $e {
4852
4852
  x(this, n);
4853
4853
  }), this.g.attachEmptyPacketListener("world_landmarks", (r) => {
4854
4854
  this.worldLandmarks = [], x(this, r);
4855
- }), this.outputSegmentationMasks && (U(i, "SEGMENTATION_MASK:segmentation_masks"), Ti(this, "segmentation_masks"), this.g.aa("segmentation_masks", (r, n) => {
4855
+ }), this.outputSegmentationMasks && (U(i, "SEGMENTATION_MASK:segmentation_masks"), Ai(this, "segmentation_masks"), this.g.aa("segmentation_masks", (r, n) => {
4856
4856
  this.segmentationMasks = r.map((o) => Ni(this, o, !0, !this.u)), x(this, n);
4857
4857
  }), this.g.attachEmptyPacketListener("segmentation_masks", (r) => {
4858
4858
  this.segmentationMasks = [], x(this, r);
@@ -4865,8 +4865,8 @@ Be.prototype.detectForVideo = Be.prototype.G, Be.prototype.detect = Be.prototype
4865
4865
  return j(Be, e, { baseOptions: { modelAssetBuffer: t } });
4866
4866
  }, Be.createFromOptions = function(e, t) {
4867
4867
  return j(Be, e, t);
4868
- }, Be.POSE_CONNECTIONS = Al;
4869
- const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task", a1 = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm", c1 = () => {
4868
+ }, Be.POSE_CONNECTIONS = Tl;
4869
+ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task", a2 = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm", c2 = () => {
4870
4870
  const e = L(null), [t, i] = _(!1), [r, n] = _("Initializing..."), [o, s] = _(0), [a, l] = _(!1);
4871
4871
  D(() => {
4872
4872
  "serviceWorker" in navigator && navigator.serviceWorker.register("/sw.js").then((f) => {
@@ -4904,7 +4904,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4904
4904
  (async () => {
4905
4905
  try {
4906
4906
  n("Checking cached models..."), await u() ? n("Using cached model...") : (n("Model not cached. Downloading..."), await d()), n("Loading MediaPipe WASM...");
4907
- const g = await Gt.forVisionTasks(a1);
4907
+ const g = await Gt.forVisionTasks(a2);
4908
4908
  n("Creating face landmarker...");
4909
4909
  const y = await re.createFromOptions(g, {
4910
4910
  baseOptions: {
@@ -4932,7 +4932,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4932
4932
  "caches" in window && (await caches.delete("mediapipe-models-v1"), n("Cache cleared. Please refresh to re-download models."));
4933
4933
  }
4934
4934
  };
4935
- }, l1 = () => {
4935
+ }, l2 = () => {
4936
4936
  const [e, t] = _(0), i = L({ lastTime: 0, frames: 0, fps: 0 }), r = M(() => {
4937
4937
  const n = performance.now(), o = i.current;
4938
4938
  if (o.frames++, n - o.lastTime >= 1e3) {
@@ -4941,7 +4941,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4941
4941
  }
4942
4942
  }, []);
4943
4943
  return { fps: e, updateFPS: r };
4944
- }, d1 = () => {
4944
+ }, d2 = () => {
4945
4945
  const e = L({ value: 100, isLookingAway: !1 }), t = M(
4946
4946
  (o, s, a, l) => {
4947
4947
  if (!o || !a || !s) return;
@@ -4984,7 +4984,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4984
4984
  clearCanvas: n,
4985
4985
  engagementRef: e
4986
4986
  };
4987
- }, u1 = 50, h1 = () => {
4987
+ }, u2 = 50, h2 = () => {
4988
4988
  const [e, t] = _(100), [i, r] = _(!1), n = L(0), o = M(
4989
4989
  (s, a, l) => {
4990
4990
  if (!l || s.length < 468)
@@ -4994,7 +4994,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4994
4994
  const f = (u.x + d.x) * 0.5, w = (u.y + d.y) * 0.5, g = f - a.x, y = w - a.y, p = Math.sqrt(g * g + y * y), b = Math.abs(h.y - a.noseY) * 100, v = Math.abs(h.x - a.noseX) * 100, R = Math.max(
4995
4995
  0,
4996
4996
  100 - (p * 200 + b + v)
4997
- ), S = R < u1, E = performance.now();
4997
+ ), S = R < u2, E = performance.now();
4998
4998
  return E - n.current > 100 && (t(R), r(S), n.current = E), { engagement: R, isLookingAway: S };
4999
4999
  },
5000
5000
  []
@@ -5006,7 +5006,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5006
5006
  setEngagement: t,
5007
5007
  setIsLookingAway: r
5008
5008
  };
5009
- }, f1 = 0.05, w1 = () => {
5009
+ }, f2 = 0.05, w2 = () => {
5010
5010
  const [e, t] = _(!1), [i, r] = _(!1), n = M(
5011
5011
  (a, l) => Math.sqrt(Math.pow(a.x - l.x, 2) + Math.pow(a.y - l.y, 2)),
5012
5012
  []
@@ -5038,9 +5038,9 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5038
5038
  for (const R of u) {
5039
5039
  const S = l[R], E = a[R];
5040
5040
  if (S && E) {
5041
- const A = f.x + (E.x - g.x) * p / b, B = f.y + (E.y - g.y) * p / b;
5041
+ const T = f.x + (E.x - g.x) * p / b, B = f.y + (E.y - g.y) * p / b;
5042
5042
  d += n(S, {
5043
- x: A,
5043
+ x: T,
5044
5044
  y: B
5045
5045
  }), h++;
5046
5046
  }
@@ -5055,7 +5055,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5055
5055
  if (l && u) {
5056
5056
  let h = null, f = 0;
5057
5057
  for (const w of a.faceLandmarks)
5058
- o(w, u) < f1 && (h = w, f++);
5058
+ o(w, u) < f2 && (h = w, f++);
5059
5059
  return f === 1 ? (t(!1), r(!1), d("Reference face tracked."), h) : f > 1 ? (t(!0), r(!1), d(
5060
5060
  "Multiple matching faces detected. Tracking suspended."
5061
5061
  ), null) : (t(!1), r(!0), d("Reference face not detected."), null);
@@ -5080,13 +5080,13 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5080
5080
  setMultipleFacesDetected: t,
5081
5081
  setReferenceFaceNotDetected: r
5082
5082
  };
5083
- }, m1 = 500, g1 = (e, t) => {
5083
+ }, m2 = 500, g2 = (e, t) => {
5084
5084
  const [i, r] = _(!1), [n, o] = _(Fe.MODEL_LOADING), { incrementGazeViolation: s } = va(), { multipleFacesDetected: a, referenceFaceNotDetected: l, isLookingAway: u } = e;
5085
5085
  D(() => {
5086
5086
  let f;
5087
5087
  return (u || a || l) && t ? f = setTimeout(() => {
5088
5088
  r(!0), u ? (o("looking_away"), s("looking_away")) : a ? (o("multiple_faces"), s("multiple_faces")) : l && (o("no_face_detected"), s("no_face_detected"));
5089
- }, m1) : (r(!1), o("face_detected")), () => {
5089
+ }, m2) : (r(!1), o("face_detected")), () => {
5090
5090
  clearTimeout(f);
5091
5091
  };
5092
5092
  }, [
@@ -5113,7 +5113,7 @@ class q extends Error {
5113
5113
  super(t), this.code = i, this.recoverable = r, this.name = "STTError";
5114
5114
  }
5115
5115
  }
5116
- const p1 = 50 * 1024 * 1024;
5116
+ const p2 = 50 * 1024 * 1024;
5117
5117
  class Nl {
5118
5118
  constructor(t = {}) {
5119
5119
  ke(this, "config");
@@ -5183,8 +5183,8 @@ class Nl {
5183
5183
  }), this.mediaRecorder.addEventListener("dataavailable", (o) => {
5184
5184
  var s, a, l;
5185
5185
  if (o.data.size > 0) {
5186
- if (this.audioChunksTotalSize + o.data.size > p1) {
5187
- console.error(`[STTService] Max size exceeded: ${(this.audioChunksTotalSize / 1024 / 1024).toFixed(2)} MB`);
5186
+ if (this.audioChunksTotalSize + o.data.size > p2) {
5187
+ console.error(`Max size exceeded: ${(this.audioChunksTotalSize / 1024 / 1024).toFixed(2)} MB`);
5188
5188
  const u = new q(
5189
5189
  "Recording exceeded maximum size limit",
5190
5190
  "MAX_SIZE_EXCEEDED",
@@ -5211,9 +5211,9 @@ class Nl {
5211
5211
  );
5212
5212
  (a = i == null ? void 0 : i.onError) == null || a.call(i, s), this.cleanup();
5213
5213
  }), this.mediaRecorder.start(100), (r = i == null ? void 0 : i.onStart) == null || r.call(i), t && t > 0 && (this.autoStopTimeoutId = setTimeout(() => {
5214
- console.log(`[STTService] Auto-stop triggered after ${t} seconds.`), this.isRecording() ? this.stopRecording().catch((o) => {
5215
- console.error("[STTService] Auto-stop recording failed:", o), o instanceof q && (console.error("[STTService] Error Name:", o.name), console.error("[STTService] Error Code:", o.code));
5216
- }) : console.log("[STTService] Recording was already stopped before auto-stop timeout.");
5214
+ console.log(`Auto-stop triggered after ${t} seconds.`), this.isRecording() ? this.stopRecording().catch((o) => {
5215
+ console.error("Auto-stop recording failed:", o), o instanceof q && (console.error("Error Name:", o.name), console.error("Error Code:", o.code));
5216
+ }) : console.log("Recording was already stopped before auto-stop timeout.");
5217
5217
  }, t * 1e3));
5218
5218
  } catch (n) {
5219
5219
  if (this.cleanup(), n instanceof Error) {
@@ -5235,29 +5235,25 @@ class Nl {
5235
5235
  }
5236
5236
  /**
5237
5237
  * Stop recording and return the audio blob.
5238
- *
5239
- * NOTE: This method does NOT fire onStop — that is handled exclusively
5240
- * by the MediaRecorder's "stop" event listener set in startRecording().
5241
- * This prevents the double-fire issue.
5242
5238
  */
5243
5239
  async stopRecording() {
5244
5240
  var t, i;
5245
- if (this.throwIfDisposed(), console.log("[STTService] stopRecording called. Current state:", {
5241
+ if (this.throwIfDisposed(), console.log("stopRecording called. Current state:", {
5246
5242
  hasMediaRecorder: !!this.mediaRecorder,
5247
5243
  recorderState: (t = this.mediaRecorder) == null ? void 0 : t.state,
5248
5244
  isRecording: this.isRecording(),
5249
5245
  autoStopTimeoutId: !!this.autoStopTimeoutId,
5250
5246
  hasPendingStop: !!this.pendingStopPromise
5251
5247
  }), this.pendingStopPromise)
5252
- return console.log("[STTService] stopRecording called while already stopping. Returning existing promise."), this.pendingStopPromise;
5248
+ return console.log("stopRecording called while already stopping. Returning existing promise."), this.pendingStopPromise;
5253
5249
  if (this.autoStopTimeoutId && (clearTimeout(this.autoStopTimeoutId), this.autoStopTimeoutId = null), !this.mediaRecorder || this.mediaRecorder.state === "inactive") {
5254
5250
  if (this.audioChunks.length > 0) {
5255
- console.log("[STTService] Recorder inactive but chunks exist. Creating blob from cache.");
5251
+ console.log("Recorder inactive but chunks exist. Creating blob from cache.");
5256
5252
  const n = ((i = this.mediaRecorder) == null ? void 0 : i.mimeType) || "audio/webm", o = new Blob(this.audioChunks, { type: n });
5257
5253
  return this.cleanup(), o;
5258
5254
  }
5259
5255
  const r = this.mediaRecorder ? "State is inactive" : "MediaRecorder is null";
5260
- throw console.warn(`[STTService] Cannot stop recording: ${r}`), new q(
5256
+ throw console.warn(`Cannot stop recording: ${r}`), new q(
5261
5257
  "No active recording to stop",
5262
5258
  "NO_ACTIVE_RECORDING",
5263
5259
  !1
@@ -5273,7 +5269,7 @@ class Nl {
5273
5269
  const o = this.mediaRecorder, s = () => {
5274
5270
  try {
5275
5271
  const a = o.mimeType || "audio/webm", l = new Blob(this.audioChunks, { type: a }), u = (l.size / 1024 / 1024).toFixed(2);
5276
- console.log(`[STTService] Recording stopped successfully. Created blob: ${u} MB`), this.cleanup(), r(l);
5272
+ console.log(`Recording stopped successfully. Created blob: ${u} MB`), this.cleanup(), r(l);
5277
5273
  } catch (a) {
5278
5274
  this.cleanup(), n(
5279
5275
  new q(
@@ -5428,7 +5424,7 @@ class Nl {
5428
5424
  );
5429
5425
  }
5430
5426
  }
5431
- const y1 = new Nl(), b1 = (e, t, i, r) => {
5427
+ const y2 = new Nl(), b2 = (e, t, i, r) => {
5432
5428
  const n = L(null);
5433
5429
  return D(() => {
5434
5430
  if (!t) return;
@@ -5452,7 +5448,7 @@ const y1 = new Nl(), b1 = (e, t, i, r) => {
5452
5448
  s && cancelAnimationFrame(s), a != null && a.srcObject && a.srcObject.getTracks().forEach((u) => u.stop());
5453
5449
  };
5454
5450
  }, [t, i]), D(() => {
5455
- const o = y1.getRecordingStream();
5451
+ const o = y2.getRecordingStream();
5456
5452
  if (o && e.current) {
5457
5453
  e.current.srcObject = o;
5458
5454
  const s = o.getVideoTracks(), a = o.getAudioTracks(), l = () => {
@@ -5463,7 +5459,7 @@ const y1 = new Nl(), b1 = (e, t, i, r) => {
5463
5459
  });
5464
5460
  }
5465
5461
  }, []), { animationFrameRef: n };
5466
- }, v1 = (e, t, i, r, n, o, s, a, l, u, d, h, f, w, g) => {
5462
+ }, v2 = (e, t, i, r, n, o, s, a, l, u, d, h, f, w, g) => {
5467
5463
  const y = L(null), p = M(() => {
5468
5464
  const b = e.current, v = t.current, R = i.current;
5469
5465
  if (!b || b.readyState < 2 || !R || !v) {
@@ -5475,21 +5471,21 @@ const y1 = new Nl(), b1 = (e, t, i, r) => {
5475
5471
  const S = performance.now(), E = R.detectForVideo(
5476
5472
  b,
5477
5473
  S
5478
- ), A = n(
5474
+ ), T = n(
5479
5475
  E,
5480
5476
  l,
5481
5477
  u.current,
5482
5478
  w
5483
5479
  );
5484
- A ? (o(
5480
+ T ? (o(
5485
5481
  v,
5486
5482
  b,
5487
- A,
5483
+ T,
5488
5484
  d,
5489
5485
  h,
5490
5486
  f,
5491
5487
  l
5492
- ), l && f && a(A, u.current, f)) : s(v, b);
5488
+ ), l && f && a(T, u.current, f)) : s(v, b);
5493
5489
  } catch (S) {
5494
5490
  console.error("Face detection error:", S);
5495
5491
  }
@@ -5512,7 +5508,7 @@ const y1 = new Nl(), b1 = (e, t, i, r) => {
5512
5508
  g
5513
5509
  ]);
5514
5510
  return { renderLoop: p, animationFrameRef: y };
5515
- }, x1 = (e, t, i, r) => {
5511
+ }, x2 = (e, t, i, r) => {
5516
5512
  const {
5517
5513
  referenceSet: n,
5518
5514
  referenceRef: o,
@@ -5557,12 +5553,12 @@ const y1 = new Nl(), b1 = (e, t, i, r) => {
5557
5553
  syncReference: l
5558
5554
  };
5559
5555
  };
5560
- function E1({
5556
+ function E2({
5561
5557
  onClose: e,
5562
5558
  warningType: t,
5563
5559
  isCheatingModalOpen: i = !1
5564
5560
  }) {
5565
- const r = Ta[t], n = r.icon;
5561
+ const r = Aa[t], n = r.icon;
5566
5562
  return t === "face_detected" ? null : /* @__PURE__ */ c(
5567
5563
  "div",
5568
5564
  {
@@ -5591,8 +5587,8 @@ function E1({
5591
5587
  }
5592
5588
  );
5593
5589
  }
5594
- const _1 = ({ status: e }) => {
5595
- const t = Ta[e];
5590
+ const _2 = ({ status: e }) => {
5591
+ const t = Aa[e];
5596
5592
  if (!t) return null;
5597
5593
  const i = e !== "face_detected";
5598
5594
  return /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-items-center iw-gap-0.5", children: [
@@ -5617,7 +5613,7 @@ const _1 = ({ status: e }) => {
5617
5613
  videoAllowed: d = !0
5618
5614
  }, h) => {
5619
5615
  var rs;
5620
- const { authToken: f } = Ea(), w = f ? od(f) : null, { borderRadius: g } = Ci(), y = g ?? 18, { proctoring: p, capture_screenshots: b } = Zn(), v = !!(p != null && p.gazeAnalysisEnabled), [R, S] = _(!1), [E, A] = _(
5616
+ const { authToken: f } = Ea(), w = f ? od(f) : null, { borderRadius: g } = Ci(), y = g ?? 18, { proctoring: p, capture_screenshots: b } = Zn(), v = !!(p != null && p.gazeAnalysisEnabled), [R, S] = _(!1), [E, T] = _(
5621
5617
  (p == null ? void 0 : p.showLandmarks) ?? !1
5622
5618
  ), [B, I] = _(
5623
5619
  r && ((p == null ? void 0 : p.showEngagementBar) ?? !0)
@@ -5626,13 +5622,13 @@ const _1 = ({ status: e }) => {
5626
5622
  ), [xe, Q] = _(!1), Y = L(null), ie = L(null), V = L(null), J = L(null), et = M(
5627
5623
  async (_e) => {
5628
5624
  var xr;
5629
- const qi = Y.current, Ae = V.current;
5630
- if (!qi || !Ae) return;
5631
- const di = Ae.getContext("2d");
5625
+ const qi = Y.current, Te = V.current;
5626
+ if (!qi || !Te) return;
5627
+ const di = Te.getContext("2d");
5632
5628
  if (!di) return;
5633
- Ae.width = qi.videoWidth, Ae.height = qi.videoHeight, di.save(), di.scale(-1, 1), di.drawImage(qi, -Ae.width, 0, Ae.width, Ae.height), di.restore();
5629
+ Te.width = qi.videoWidth, Te.height = qi.videoHeight, di.save(), di.scale(-1, 1), di.drawImage(qi, -Te.width, 0, Te.width, Te.height), di.restore();
5634
5630
  const Ki = await new Promise(
5635
- (Ut) => Ae.toBlob(Ut, "image/jpeg")
5631
+ (Ut) => Te.toBlob(Ut, "image/jpeg")
5636
5632
  );
5637
5633
  if (Ki && t)
5638
5634
  try {
@@ -5666,19 +5662,19 @@ const _1 = ({ status: e }) => {
5666
5662
  loadingProgress: ti,
5667
5663
  permissionDenied: kt,
5668
5664
  clearCache: ii
5669
- } = c1(), { fps: ri, updateFPS: ni } = l1(), { drawWithEngagementBar: oi, clearCanvas: Bt, engagementRef: Ie } = d1(), {
5670
- engagement: Tt,
5665
+ } = c2(), { fps: ri, updateFPS: ni } = l2(), { drawWithEngagementBar: oi, clearCanvas: Bt, engagementRef: Ie } = d2(), {
5666
+ engagement: At,
5671
5667
  isLookingAway: se,
5672
5668
  analyzeGaze: ji,
5673
5669
  setEngagement: zi,
5674
5670
  setIsLookingAway: si
5675
- } = h1(), {
5671
+ } = h2(), {
5676
5672
  multipleFacesDetected: $i,
5677
5673
  referenceFaceNotDetected: Wi,
5678
5674
  analyzeFace: wn,
5679
5675
  setMultipleFacesDetected: yr,
5680
5676
  setReferenceFaceNotDetected: ai
5681
- } = w1(), { referenceSet: br, referenceRef: vr, setReference: ci, resetReference: Hi, syncReference: O } = x1(
5677
+ } = w2(), { referenceSet: br, referenceRef: vr, setReference: ci, resetReference: Hi, syncReference: O } = x2(
5682
5678
  mt,
5683
5679
  Y,
5684
5680
  Me,
@@ -5693,7 +5689,7 @@ const _1 = ({ status: e }) => {
5693
5689
  closeWarningModal: es,
5694
5690
  setShowGazeWarningModal: ts,
5695
5691
  setFaceDetectionState: is
5696
- } = g1(
5692
+ } = g2(
5697
5693
  W,
5698
5694
  v && !a
5699
5695
  // Disable warning manager modal triggers if overlay is on
@@ -5721,7 +5717,7 @@ const _1 = ({ status: e }) => {
5721
5717
  li,
5722
5718
  s
5723
5719
  ]);
5724
- const { renderLoop: Fl } = v1(
5720
+ const { renderLoop: Fl } = v2(
5725
5721
  Y,
5726
5722
  ie,
5727
5723
  mt,
@@ -5738,11 +5734,11 @@ const _1 = ({ status: e }) => {
5738
5734
  Me,
5739
5735
  ai
5740
5736
  );
5741
- b1(Y, Ce, Fl, Me), D(() => {
5737
+ b2(Y, Ce, Fl, Me), D(() => {
5742
5738
  O();
5743
5739
  }, [O]), D(() => {
5744
- Ie && Ie.current && (Ie.current.value = Tt, Ie.current.isLookingAway = se);
5745
- }, [Tt, se, Ie]);
5740
+ Ie && Ie.current && (Ie.current.value = At, Ie.current.isLookingAway = se);
5741
+ }, [At, se, Ie]);
5746
5742
  const Ll = M(
5747
5743
  (_e) => {
5748
5744
  H(_e), _e || (zi(100), si(!1));
@@ -5758,7 +5754,7 @@ const _1 = ({ status: e }) => {
5758
5754
  ts,
5759
5755
  es
5760
5756
  ]), Dl = {
5761
- engagement: Tt,
5757
+ engagement: At,
5762
5758
  fps: ri,
5763
5759
  isLookingAway: se,
5764
5760
  multipleFacesDetected: $i,
@@ -5769,29 +5765,29 @@ const _1 = ({ status: e }) => {
5769
5765
  const _e = [];
5770
5766
  return (async () => {
5771
5767
  try {
5772
- const Ae = await navigator.mediaDevices.getUserMedia({
5768
+ const Te = await navigator.mediaDevices.getUserMedia({
5773
5769
  video: !0,
5774
5770
  audio: !1
5775
5771
  });
5776
- J.current = Ae, Y.current && (Y.current.srcObject = Ae);
5777
- const Ki = (i ?? Ur) * 60 * 1e3 / 3, xr = [0, 1, 2].map((Ne, At) => ({
5778
- label: `capture-${At + 1}`,
5779
- start: At * Ki,
5780
- end: (At + 1) * Ki
5781
- })), Ut = (Ne, At) => Ne === At ? Ne : Math.random() * (At - Ne) + Ne;
5782
- xr.forEach(({ label: Ne, start: At, end: Pl }, Ol) => {
5772
+ J.current = Te, Y.current && (Y.current.srcObject = Te);
5773
+ const Ki = (i ?? Ur) * 60 * 1e3 / 3, xr = [0, 1, 2].map((Ne, Tt) => ({
5774
+ label: `capture-${Tt + 1}`,
5775
+ start: Tt * Ki,
5776
+ end: (Tt + 1) * Ki
5777
+ })), Ut = (Ne, Tt) => Ne === Tt ? Ne : Math.random() * (Tt - Ne) + Ne;
5778
+ xr.forEach(({ label: Ne, start: Tt, end: Pl }, Ol) => {
5783
5779
  let mn;
5784
- Ol === 0 ? mn = 3e3 : mn = Ut(At, Pl), _e.push(
5780
+ Ol === 0 ? mn = 3e3 : mn = Ut(Tt, Pl), _e.push(
5785
5781
  setTimeout(() => {
5786
5782
  et(Ne);
5787
5783
  }, mn)
5788
5784
  );
5789
5785
  });
5790
- } catch (Ae) {
5791
- console.error("Error accessing camera:", Ae);
5786
+ } catch (Te) {
5787
+ console.error("Error accessing camera:", Te);
5792
5788
  }
5793
5789
  })(), () => {
5794
- J.current && J.current.getTracks().forEach((Ae) => Ae.stop()), _e.forEach(clearTimeout);
5790
+ J.current && J.current.getTracks().forEach((Te) => Te.stop()), _e.forEach(clearTimeout);
5795
5791
  };
5796
5792
  }, [et, b]), ga(
5797
5793
  h,
@@ -5867,7 +5863,7 @@ const _1 = ({ status: e }) => {
5867
5863
  gazeAnalysisEnabled: P && v,
5868
5864
  referenceSet: br,
5869
5865
  showLandmarks: E,
5870
- setShowLandmarks: A,
5866
+ setShowLandmarks: T,
5871
5867
  showEngagementBar: B,
5872
5868
  setShowEngagementBar: I,
5873
5869
  handleToggleGazeAnalysis: Ll,
@@ -5887,7 +5883,7 @@ const _1 = ({ status: e }) => {
5887
5883
  }
5888
5884
  ),
5889
5885
  /* @__PURE__ */ c("div", { className: "iw-absolute iw-bottom-2 iw-inset-x-0 iw-flex iw-justify-center iw-pointer-events-none iw-z-20", children: /* @__PURE__ */ c(
5890
- _1,
5886
+ _2,
5891
5887
  {
5892
5888
  status: d ? u || !Ce ? "model_loading" : li() ?? "no_face_detected" : "camera_error"
5893
5889
  }
@@ -5897,7 +5893,7 @@ const _1 = ({ status: e }) => {
5897
5893
  }
5898
5894
  ) }),
5899
5895
  v && qe && !a && /* @__PURE__ */ c(
5900
- E1,
5896
+ E2,
5901
5897
  {
5902
5898
  isOpen: qe,
5903
5899
  onClose: Ml,
@@ -5940,7 +5936,7 @@ const _1 = ({ status: e }) => {
5940
5936
  ]
5941
5937
  }
5942
5938
  );
5943
- }, k1 = ({ stream: e, className: t = "", barCount: i = 50 }) => {
5939
+ }, k2 = ({ stream: e, className: t = "", barCount: i = 50 }) => {
5944
5940
  const r = L(null), n = L(null), o = L(null), s = L(null), a = L(null);
5945
5941
  D(() => {
5946
5942
  if (!e || window === void 0) return;
@@ -5969,10 +5965,10 @@ const _1 = ({ status: e }) => {
5969
5965
  }
5970
5966
  const R = Math.sqrt(v / g), S = Math.min(1, R / 128);
5971
5967
  w.clearRect(0, 0, p, b);
5972
- const E = i, A = Math.floor(S * E);
5968
+ const E = i, T = Math.floor(S * E);
5973
5969
  for (let B = 0; B < E; B++) {
5974
5970
  const I = B * (p / E), P = p / E - 1.8;
5975
- B < A ? w.fillStyle = "#0EB00E" : w.fillStyle = "#D9D9D9", w.fillRect(I, 0, P, b);
5971
+ B < T ? w.fillStyle = "#0EB00E" : w.fillStyle = "#D9D9D9", w.fillRect(I, 0, P, b);
5976
5972
  }
5977
5973
  n.current = requestAnimationFrame(h);
5978
5974
  };
@@ -6049,7 +6045,7 @@ const _1 = ({ status: e }) => {
6049
6045
  ) }),
6050
6046
  o && a && /* @__PURE__ */ m("div", { className: "iw-mt-2 iw-px-1 iw-flex iw-items-center iw-gap-2 iw-overflow-hidden", children: [
6051
6047
  /* @__PURE__ */ c(gd, { className: "iw-min-h-5 iw-min-w-5" }),
6052
- /* @__PURE__ */ c(k1, { stream: s, className: "iw-w-full" })
6048
+ /* @__PURE__ */ c(k2, { stream: s, className: "iw-w-full" })
6053
6049
  ] }),
6054
6050
  u && a && /* @__PURE__ */ m("div", { className: "iw-absolute iw-bottom-full iw-left-0 iw-right-0 iw-mb-2 iw-bg-white iw-border iw-border-gray-100 iw-rounded-xl iw-shadow-xl iw-z-50 iw-py-2 iw-max-h-60 iw-overflow-y-auto", children: [
6055
6051
  t.map((g) => /* @__PURE__ */ m(
@@ -6146,10 +6142,10 @@ const _1 = ({ status: e }) => {
6146
6142
  children: p ? "Device Loading..." : i
6147
6143
  }
6148
6144
  ),
6149
- !n && (!a || e && t) && T1()
6145
+ !n && (!a || e && t) && A2()
6150
6146
  ] })
6151
6147
  ] });
6152
- }, T1 = () => {
6148
+ }, A2 = () => {
6153
6149
  const { baseColor: e } = Ci();
6154
6150
  return /* @__PURE__ */ c(pt, { children: /* @__PURE__ */ c("div", { className: "iw-hidden group-hover:iw-block iw-absolute iw-bottom-full iw-mb-3 iw-left-1/2 -iw-translate-x-1/2 iw-w-64 iw-z-50", children: /* @__PURE__ */ m(
6155
6151
  "div",
@@ -6165,7 +6161,7 @@ const _1 = ({ status: e }) => {
6165
6161
  ]
6166
6162
  }
6167
6163
  ) }) });
6168
- }, A1 = ({ steps: e, currentStepIndex: t }) => /* @__PURE__ */ c("div", { className: "iw-flex iw-items-center iw-justify-center iw-gap-4 iw-w-full iw-py-3", children: e.map((i, r) => {
6164
+ }, T2 = ({ steps: e, currentStepIndex: t }) => /* @__PURE__ */ c("div", { className: "iw-flex iw-items-center iw-justify-center iw-gap-4 iw-w-full iw-py-3", children: e.map((i, r) => {
6169
6165
  const n = r < t, o = r === t;
6170
6166
  return /* @__PURE__ */ m(Kn.Fragment, { children: [
6171
6167
  /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-3", children: [
@@ -6200,12 +6196,12 @@ const _1 = ({ status: e }) => {
6200
6196
  ] }),
6201
6197
  r < e.length - 1 && /* @__PURE__ */ c("div", { className: "iw-flex-1 iw-max-w-[120px] iw-border-t iw-border-dotted iw-border-[#B3B9CB]" })
6202
6198
  ] }, r);
6203
- }) }), N1 = [
6199
+ }) }), N2 = [
6204
6200
  "Don't refresh or reload the page during your assessment",
6205
6201
  "Don't switch tabs or open other applications while session is ongoing",
6206
6202
  "Don't leave your position during the session",
6207
6203
  "Don't disable or interfere with video/audio monitoring"
6208
- ], S1 = ({
6204
+ ], S2 = ({
6209
6205
  isOpen: e,
6210
6206
  onStart: t,
6211
6207
  gazeEnabled: i = !1,
@@ -6226,7 +6222,7 @@ const _1 = ({ status: e }) => {
6226
6222
  handleAudioChange: y,
6227
6223
  handleVideoChange: p,
6228
6224
  stopStream: b
6229
- } = ad(e), [v, R] = _(!1), [S, E] = _(0), [A, B] = _(!1), I = L(null), P = L(null), H = (V) => {
6225
+ } = ad(e), [v, R] = _(!1), [S, E] = _(0), [T, B] = _(!1), I = L(null), P = L(null), H = (V) => {
6230
6226
  I.current = V, r && (typeof r == "function" ? r(V) : r.current = V);
6231
6227
  };
6232
6228
  if (D(() => () => {
@@ -6246,7 +6242,7 @@ const _1 = ({ status: e }) => {
6246
6242
  /* @__PURE__ */ c("h2", { className: "iw-text-[#062260] iw-text-2xl iw-font-medium iw-tracking-tight", children: "Final checks before you go live" }),
6247
6243
  /* @__PURE__ */ c("div", { className: "iw-mt-2 iw-bg-[#F1F5FE] iw-rounded-xl iw-p-2 iw-border iw-border-[#E7EAF1]", children: /* @__PURE__ */ c("p", { className: "iw-text-[#5C6686] iw-text-xs iw-leading-relaxed", children: "To ensure the integrity of the interview process, this platform uses your device’s camera to monitor your face and gaze direction. We do not store any outside this session" }) }),
6248
6244
  /* @__PURE__ */ c("div", { className: "iw-mt-3 iw-border-b iw-border-dashed iw-border-[#B3B9CB] iw-w-full" }),
6249
- /* @__PURE__ */ c(A1, { steps: [
6245
+ /* @__PURE__ */ c(T2, { steps: [
6250
6246
  { label: i ? "Calibrate your camera" : "Camera & Mic permission" },
6251
6247
  { label: "Basic guidelines" }
6252
6248
  ], currentStepIndex: S })
@@ -6287,8 +6283,8 @@ const _1 = ({ status: e }) => {
6287
6283
  onButtonClick: () => {
6288
6284
  i ? Y() : E(1);
6289
6285
  },
6290
- disabled: !A || i && xe !== "face_detected" || !i && (!s || !a),
6291
- isAgreed: A,
6286
+ disabled: !T || i && xe !== "face_detected" || !i && (!s || !a),
6287
+ isAgreed: T,
6292
6288
  onAgreedToggle: B,
6293
6289
  audioDevices: u,
6294
6290
  videoDevices: d,
@@ -6301,7 +6297,7 @@ const _1 = ({ status: e }) => {
6301
6297
  }
6302
6298
  )
6303
6299
  ] }) : /* @__PURE__ */ m("div", { className: "iw-w-full iw-flex iw-flex-col iw-gap-6", children: [
6304
- /* @__PURE__ */ c("div", { className: "iw-w-full iw-bg-[#F8FAFF] iw-rounded-2xl iw-p-8 iw-flex iw-flex-col iw-gap-5", children: N1.map((V, J) => /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-4", children: [
6300
+ /* @__PURE__ */ c("div", { className: "iw-w-full iw-bg-[#F8FAFF] iw-rounded-2xl iw-p-8 iw-flex iw-flex-col iw-gap-5", children: N2.map((V, J) => /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-4", children: [
6305
6301
  /* @__PURE__ */ c("div", { className: "iw-flex iw-h-7 iw-w-7 iw-min-w-[28px] iw-items-center iw-justify-center iw-rounded-full iw-bg-[#DBEAFE] iw-text-[#062260] iw-text-xs iw-font-bold", children: J + 1 }),
6306
6302
  /* @__PURE__ */ c("span", { className: "iw-text-[#5C6686] iw-font-medium", children: V })
6307
6303
  ] }, J)) }),
@@ -6312,7 +6308,7 @@ const _1 = ({ status: e }) => {
6312
6308
  onButtonClick: () => {
6313
6309
  t(), b();
6314
6310
  },
6315
- isAgreed: A,
6311
+ isAgreed: T,
6316
6312
  onAgreedToggle: B,
6317
6313
  showMediaIcons: !1
6318
6314
  }
@@ -6340,8 +6336,7 @@ const Cl = {
6340
6336
  /* ANSWERING */
6341
6337
  },
6342
6338
  thinking: { next: "answering", duration: 0 },
6343
- // TODO: change 10 to 120
6344
- answering: { next: "transcribing", duration: 10 },
6339
+ answering: { next: "transcribing", duration: 120 },
6345
6340
  transcribing: {
6346
6341
  next: "editing"
6347
6342
  /* EDITING */
@@ -6356,7 +6351,7 @@ const Cl = {
6356
6351
  /* COMPLETED */
6357
6352
  }
6358
6353
  };
6359
- class C1 {
6354
+ class C2 {
6360
6355
  constructor(t = {}, i = {}) {
6361
6356
  ke(this, "config");
6362
6357
  ke(this, "state");
@@ -6475,9 +6470,9 @@ class C1 {
6475
6470
  (i = (t = this.callbacks).onPhaseChange) == null || i.call(t, this.state.phase, this.getState());
6476
6471
  }
6477
6472
  }
6478
- function I1(e = {}) {
6473
+ function I2(e = {}) {
6479
6474
  const { config: t = {}, callbacks: i = {} } = e, r = L(null);
6480
- r.current || (r.current = new C1(t, {}));
6475
+ r.current || (r.current = new C2(t, {}));
6481
6476
  const n = r.current, [o, s] = _(n.getState()), a = M(() => {
6482
6477
  s(n.getState());
6483
6478
  }, [n]);
@@ -6517,7 +6512,7 @@ function I1(e = {}) {
6517
6512
  timerService: n
6518
6513
  };
6519
6514
  }
6520
- function R1(e, t = {}) {
6515
+ function R2(e, t = {}) {
6521
6516
  const [i, r] = _({
6522
6517
  data: null,
6523
6518
  loading: !1,
@@ -6556,7 +6551,7 @@ function R1(e, t = {}) {
6556
6551
  execute: n
6557
6552
  };
6558
6553
  }
6559
- const F1 = (e) => {
6554
+ const F2 = (e) => {
6560
6555
  const [t, i] = _(null), [r, n] = _(!1), o = document, s = () => !!(o.fullscreenEnabled || o.webkitFullscreenEnabled || o.mozFullScreenEnabled || o.msFullscreenEnabled), a = () => o.fullscreenElement || o.webkitFullscreenElement || o.mozFullScreenElement || o.msFullscreenElement, l = async (w) => {
6561
6556
  var g;
6562
6557
  try {
@@ -6620,10 +6615,10 @@ function Il() {
6620
6615
  const e = Vr();
6621
6616
  return rr(() => {
6622
6617
  const i = e.api || {};
6623
- return new Aa(i);
6618
+ return new Ta(i);
6624
6619
  }, [e.api]);
6625
6620
  }
6626
- const L1 = (e) => {
6621
+ const L2 = (e) => {
6627
6622
  D(() => {
6628
6623
  const t = (r) => {
6629
6624
  (r.ctrlKey || r.metaKey) && ["c", "v", "a", "t", "n", "w", "r", "s", "p"].includes(r.key.toLowerCase()) && (r.preventDefault(), e({
@@ -6662,7 +6657,7 @@ const L1 = (e) => {
6662
6657
  document.removeEventListener("keydown", t), document.removeEventListener("contextmenu", i);
6663
6658
  };
6664
6659
  }, [e]);
6665
- }, M1 = (e = {}) => {
6660
+ }, M2 = (e = {}) => {
6666
6661
  const [t, i] = _(!1), [r, n] = _(!1), [o, s] = _(null), [a, l] = _(null), [u, d] = _(null), h = L(e);
6667
6662
  h.current = e;
6668
6663
  const f = L(null);
@@ -6683,28 +6678,28 @@ const L1 = (e) => {
6683
6678
  try {
6684
6679
  l(null), s(null), d(null), await v.startRecording(b, {
6685
6680
  onStart: () => {
6686
- var E, A;
6687
- i(!0), (A = (E = h.current).onStart) == null || A.call(E);
6681
+ var E, T;
6682
+ i(!0), (T = (E = h.current).onStart) == null || T.call(E);
6688
6683
  },
6689
6684
  // ---- FIX: onStop is the SINGLE source of truth for stop events.
6690
6685
  // stopRecording() no longer calls onStop separately, preventing double-fire.
6691
6686
  onStop: () => {
6692
- var E, A;
6693
- i(!1), (A = (E = h.current).onStop) == null || A.call(E);
6687
+ var E, T;
6688
+ i(!1), (T = (E = h.current).onStop) == null || T.call(E);
6694
6689
  },
6695
6690
  onError: (E) => {
6696
6691
  var B, I;
6697
- const A = E instanceof q ? E : new q(E.message, "RECORDING_ERROR", !0);
6698
- l(A), i(!1), (I = (B = h.current).onError) == null || I.call(B, A);
6692
+ const T = E instanceof q ? E : new q(E.message, "RECORDING_ERROR", !0);
6693
+ l(T), i(!1), (I = (B = h.current).onError) == null || I.call(B, T);
6699
6694
  }
6700
6695
  });
6701
6696
  } catch (E) {
6702
- const A = E instanceof q ? E : new q(
6697
+ const T = E instanceof q ? E : new q(
6703
6698
  E instanceof Error ? E.message : String(E),
6704
6699
  "START_FAILED",
6705
6700
  !1
6706
6701
  );
6707
- throw l(A), i(!1), (S = (R = h.current).onError) == null || S.call(R, A), A;
6702
+ throw l(T), i(!1), (S = (R = h.current).onError) == null || S.call(R, T), T;
6708
6703
  }
6709
6704
  }, []), g = M(async () => {
6710
6705
  var v, R;
@@ -6713,7 +6708,7 @@ const L1 = (e) => {
6713
6708
  throw new q("STT service is not available", "SERVICE_UNAVAILABLE", !1);
6714
6709
  try {
6715
6710
  const S = await b.stopRecording(), E = (S.size / 1024 / 1024).toFixed(2);
6716
- return console.log(`[useSTT] Received audio blob: ${E} MB`), d(S), S;
6711
+ return console.log(`Received audio blob: ${E} MB`), d(S), S;
6717
6712
  } catch (S) {
6718
6713
  const E = S instanceof q ? S : new q(
6719
6714
  S instanceof Error ? S.message : String(S),
@@ -6724,26 +6719,26 @@ const L1 = (e) => {
6724
6719
  }
6725
6720
  }, []), y = M(
6726
6721
  async (b, v = {}) => {
6727
- var S, E, A, B;
6722
+ var S, E, T, B;
6728
6723
  const R = f.current;
6729
6724
  if (!R || R.isDisposed())
6730
6725
  throw new q("STT service is not available", "SERVICE_UNAVAILABLE", !1);
6731
6726
  try {
6732
6727
  l(null), n(!0);
6733
6728
  const I = (b.size / 1024 / 1024).toFixed(2);
6734
- console.log(`[useSTT] Starting transcription for blob: ${I} MB`);
6729
+ console.log(`Starting transcription for blob: ${I} MB`);
6735
6730
  const P = {
6736
6731
  audioBlob: b,
6737
6732
  ...v
6738
6733
  }, H = await R.transcribe(P);
6739
- return console.log(`[useSTT] Transcription complete. Text length: ${H.transcript.length}`), s(H.transcript), n(!1), (E = (S = h.current).onTranscriptionComplete) == null || E.call(S, H), H;
6734
+ return console.log(`Transcription complete. Text length: ${H.transcript.length}`), s(H.transcript), n(!1), (E = (S = h.current).onTranscriptionComplete) == null || E.call(S, H), H;
6740
6735
  } catch (I) {
6741
6736
  const P = I instanceof q ? I : new q(
6742
6737
  I instanceof Error ? I.message : String(I),
6743
6738
  "TRANSCRIPTION_FAILED",
6744
6739
  !0
6745
6740
  );
6746
- throw l(P), n(!1), (B = (A = h.current).onError) == null || B.call(A, P), P;
6741
+ throw l(P), n(!1), (B = (T = h.current).onError) == null || B.call(T, P), P;
6747
6742
  }
6748
6743
  },
6749
6744
  []
@@ -6762,7 +6757,7 @@ const L1 = (e) => {
6762
6757
  error: a,
6763
6758
  audioBlob: u
6764
6759
  };
6765
- }, D1 = (e) => {
6760
+ }, D2 = (e) => {
6766
6761
  const t = L(null), i = L(!1);
6767
6762
  D(() => {
6768
6763
  const r = () => {
@@ -6792,7 +6787,7 @@ const L1 = (e) => {
6792
6787
  document.removeEventListener("visibilitychange", r), window.removeEventListener("blur", n), t.current && clearTimeout(t.current);
6793
6788
  };
6794
6789
  }, [e]);
6795
- }, P1 = () => {
6790
+ }, P2 = () => {
6796
6791
  D(() => {
6797
6792
  const e = document.createElement("style");
6798
6793
  return e.textContent = `
@@ -6813,7 +6808,7 @@ const L1 = (e) => {
6813
6808
  };
6814
6809
  }, []);
6815
6810
  };
6816
- class O1 {
6811
+ class O2 {
6817
6812
  constructor() {
6818
6813
  ke(this, "currentAudio", null);
6819
6814
  }
@@ -6868,7 +6863,7 @@ class O1 {
6868
6863
  return this.currentAudio !== null && !this.currentAudio.paused;
6869
6864
  }
6870
6865
  }
6871
- const ua = new O1(), B1 = (e = {}) => {
6866
+ const ua = new O2(), B2 = (e = {}) => {
6872
6867
  const [t, i] = _(!1), [r, n] = _(!1), [o, s] = _(null), a = M(
6873
6868
  async (u) => {
6874
6869
  var d;
@@ -6903,7 +6898,7 @@ const ua = new O1(), B1 = (e = {}) => {
6903
6898
  isLoading: r,
6904
6899
  error: o
6905
6900
  };
6906
- }, U1 = ({
6901
+ }, U2 = ({
6907
6902
  onViolation: e,
6908
6903
  onEnd: t,
6909
6904
  maxViolations: i = 5
@@ -6938,7 +6933,7 @@ const ua = new O1(), B1 = (e = {}) => {
6938
6933
  violationCount: o,
6939
6934
  logList: n
6940
6935
  };
6941
- }, V1 = () => {
6936
+ }, V2 = () => {
6942
6937
  D(() => {
6943
6938
  function e() {
6944
6939
  console.clear(), console.log(
@@ -7033,7 +7028,7 @@ const ua = new O1(), B1 = (e = {}) => {
7033
7028
  children: r ? /* @__PURE__ */ c(ka, {}) : n
7034
7029
  }
7035
7030
  );
7036
- }, G1 = (e, t, i) => Math.max(t, Math.min(i, e)), ha = (e) => {
7031
+ }, G2 = (e, t, i) => Math.max(t, Math.min(i, e)), ha = (e) => {
7037
7032
  const t = Math.max(0, Math.floor(e)), i = Math.floor(t / 60).toString().padStart(2, "0"), r = (t % 60).toString().padStart(2, "0");
7038
7033
  return `${i}:${r}`;
7039
7034
  }, fn = ({
@@ -7044,7 +7039,7 @@ const ua = new O1(), B1 = (e = {}) => {
7044
7039
  className: n = "",
7045
7040
  showLabel: o = !0
7046
7041
  }) => {
7047
- const s = Math.max(1, e || 1), a = G1(t / s, 0, 1), { radius: l, circumference: u, dashOffset: d, center: h } = rr(() => {
7042
+ const s = Math.max(1, e || 1), a = G2(t / s, 0, 1), { radius: l, circumference: u, dashOffset: d, center: h } = rr(() => {
7048
7043
  const g = (i - r) / 2, y = 2 * Math.PI * g, p = y * (1 - a), b = Math.round(r) % 2 === 1, v = i / 2 + (b ? 0.5 : 0);
7049
7044
  return { radius: g, circumference: y, dashOffset: p, center: v };
7050
7045
  }, [i, r, a]), f = rr(() => a <= 0.25 ? "iw-stroke-red-500" : a <= 0.5 ? "iw-stroke-yellow-500" : "iw-stroke-green-500", [a]), w = a <= 0.25 ? "iw-animate-pulse" : "";
@@ -7110,7 +7105,7 @@ const ua = new O1(), B1 = (e = {}) => {
7110
7105
  ]
7111
7106
  }
7112
7107
  );
7113
- }, j1 = ({
7108
+ }, j2 = ({
7114
7109
  timerState: e,
7115
7110
  answeringTime: t
7116
7111
  }) => {
@@ -7135,7 +7130,7 @@ const ua = new O1(), B1 = (e = {}) => {
7135
7130
  ] })
7136
7131
  ] })
7137
7132
  ] });
7138
- }, z1 = ({
7133
+ }, z2 = ({
7139
7134
  question: e,
7140
7135
  isLoading: t = !1,
7141
7136
  phase: i,
@@ -7165,7 +7160,7 @@ const ua = new O1(), B1 = (e = {}) => {
7165
7160
  }
7166
7161
  ),
7167
7162
  /* @__PURE__ */ c(
7168
- $1,
7163
+ $2,
7169
7164
  {
7170
7165
  phase: i,
7171
7166
  question: e,
@@ -7177,7 +7172,7 @@ const ua = new O1(), B1 = (e = {}) => {
7177
7172
  )
7178
7173
  ] })
7179
7174
  }
7180
- ), $1 = ({ phase: e, question: t, isLoading: i, brandName: r, timerState: n, answeringTime: o }) => {
7175
+ ), $2 = ({ phase: e, question: t, isLoading: i, brandName: r, timerState: n, answeringTime: o }) => {
7181
7176
  const s = r || "We", a = r ? "is" : "are";
7182
7177
  if (i || e === G.FETCHING_QUESTION || e === G.IDLE)
7183
7178
  return /* @__PURE__ */ m("div", { className: "iw-animate-pulse iw-w-full iw-space-y-3 iw-mr-10", children: [
@@ -7197,7 +7192,7 @@ const ua = new O1(), B1 = (e = {}) => {
7197
7192
  /* @__PURE__ */ c(l, {})
7198
7193
  ] }),
7199
7194
  /* @__PURE__ */ c(
7200
- j1,
7195
+ j2,
7201
7196
  {
7202
7197
  timerState: n,
7203
7198
  answeringTime: o
@@ -7222,7 +7217,7 @@ const ua = new O1(), B1 = (e = {}) => {
7222
7217
  default:
7223
7218
  return /* @__PURE__ */ c("p", { className: "iw-text-lg iw-leading-7", children: t == null ? void 0 : t.question });
7224
7219
  }
7225
- }, W1 = ({
7220
+ }, W2 = ({
7226
7221
  label: e,
7227
7222
  error: t,
7228
7223
  fullWidth: i = !1,
@@ -7257,14 +7252,14 @@ const ua = new O1(), B1 = (e = {}) => {
7257
7252
  ]
7258
7253
  }
7259
7254
  );
7260
- }, H1 = ({
7255
+ }, H2 = ({
7261
7256
  answerText: e,
7262
7257
  onAnswerChange: t,
7263
7258
  timerState: i,
7264
7259
  editingTime: r
7265
7260
  }) => /* @__PURE__ */ m("div", { className: "iw-w-full iw-bg-white iw-rounded-xl iw-border iw-border-[#84bbf5] iw-overflow-hidden iw-rounded-tr-none", children: [
7266
7261
  /* @__PURE__ */ c("div", { className: "iw-p-2 iw-pb-0", children: /* @__PURE__ */ c(
7267
- W1,
7262
+ W2,
7268
7263
  {
7269
7264
  value: e,
7270
7265
  onChange: t,
@@ -7291,9 +7286,9 @@ const ua = new O1(), B1 = (e = {}) => {
7291
7286
  ] })
7292
7287
  ] }), fa = ({
7293
7288
  children: e
7294
- }) => /* @__PURE__ */ c("div", { className: "iw-flex iw-flex-col iw-items-start iw-mt-3 iw-gap-1", children: e }), q1 = ({
7289
+ }) => /* @__PURE__ */ c("div", { className: "iw-flex iw-flex-col iw-items-start iw-mt-3 iw-gap-1", children: e }), q2 = ({
7295
7290
  children: e
7296
- }) => /* @__PURE__ */ c("div", { className: "iw-flex iw-flex-col iw-items-end iw-mt-3 iw-gap-1", children: e }), K1 = ({ questionNumber: e }) => /* @__PURE__ */ m(
7291
+ }) => /* @__PURE__ */ c("div", { className: "iw-flex iw-flex-col iw-items-end iw-mt-3 iw-gap-1", children: e }), K2 = ({ questionNumber: e }) => /* @__PURE__ */ m(
7297
7292
  "div",
7298
7293
  {
7299
7294
  className: "iw-px-4 iw-py-1.5 iw-rounded-full iw-mb-2 iw-text-sm iw-font-semibold",
@@ -7314,15 +7309,15 @@ const ua = new O1(), B1 = (e = {}) => {
7314
7309
  /* @__PURE__ */ c("span", { children: "." }),
7315
7310
  /* @__PURE__ */ c("span", { children: "." })
7316
7311
  ] })
7317
- ] }), Y1 = ({ phase: e, questionNumber: t }) => {
7312
+ ] }), Y2 = ({ phase: e, questionNumber: t }) => {
7318
7313
  switch (e) {
7319
7314
  case G.FETCHING_QUESTION:
7320
7315
  return /* @__PURE__ */ m(fa, { children: [
7321
- /* @__PURE__ */ c(K1, { questionNumber: t + 1 }),
7316
+ /* @__PURE__ */ c(K2, { questionNumber: t + 1 }),
7322
7317
  /* @__PURE__ */ c(wa, {})
7323
7318
  ] });
7324
7319
  case G.ANSWERING:
7325
- return /* @__PURE__ */ c(q1, { children: /* @__PURE__ */ c(wa, { label: "You" }) });
7320
+ return /* @__PURE__ */ c(q2, { children: /* @__PURE__ */ c(wa, { label: "You" }) });
7326
7321
  case G.TRANSCRIBING:
7327
7322
  return /* @__PURE__ */ c(fa, { children: /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-px-1 iw-py-1.5 iw-rounded-lg iw-mb-2 iw-text-sm iw-bg-[#F2E8FE]", children: [
7328
7323
  /* @__PURE__ */ c("div", { className: "iw-h-8 iw-w-12 iw-transcribing-icon" }),
@@ -7331,7 +7326,7 @@ const ua = new O1(), B1 = (e = {}) => {
7331
7326
  default:
7332
7327
  return null;
7333
7328
  }
7334
- }, X1 = ({
7329
+ }, X2 = ({
7335
7330
  item: e,
7336
7331
  index: t,
7337
7332
  isCurrentQuestion: i = !1,
@@ -7385,7 +7380,7 @@ const ua = new O1(), B1 = (e = {}) => {
7385
7380
  }
7386
7381
  ),
7387
7382
  l ? /* @__PURE__ */ c(
7388
- H1,
7383
+ H2,
7389
7384
  {
7390
7385
  answerText: n || "",
7391
7386
  onAnswerChange: o,
@@ -7404,14 +7399,14 @@ const ua = new O1(), B1 = (e = {}) => {
7404
7399
  )
7405
7400
  ] }),
7406
7401
  i && /* @__PURE__ */ c(
7407
- Y1,
7402
+ Y2,
7408
7403
  {
7409
7404
  phase: s == null ? void 0 : s.phase,
7410
7405
  questionNumber: t + 1
7411
7406
  }
7412
7407
  )
7413
7408
  ] });
7414
- }, Q1 = () => /* @__PURE__ */ c("div", { className: "iw-space-y-6 iw-animate-pulse", children: [1, 2, 3].map((e) => /* @__PURE__ */ m(
7409
+ }, Q2 = () => /* @__PURE__ */ c("div", { className: "iw-space-y-6 iw-animate-pulse", children: [1, 2, 3].map((e) => /* @__PURE__ */ m(
7415
7410
  "div",
7416
7411
  {
7417
7412
  className: `iw-flex iw-flex-col ${e % 2 === 0 ? "iw-items-end" : "iw-items-start"} iw-gap-2`,
@@ -7421,7 +7416,7 @@ const ua = new O1(), B1 = (e = {}) => {
7421
7416
  ]
7422
7417
  },
7423
7418
  e
7424
- )) }), J1 = ({
7419
+ )) }), J2 = ({
7425
7420
  transcript: e,
7426
7421
  isLoading: t,
7427
7422
  className: i = "",
@@ -7448,8 +7443,8 @@ const ua = new O1(), B1 = (e = {}) => {
7448
7443
  /* @__PURE__ */ c("div", { className: "iw-h-px iw-w-full iw-border-t iw-border-dashed iw-border-gray-300" })
7449
7444
  ] }),
7450
7445
  /* @__PURE__ */ m("div", { className: "iw-flex-1 iw-overflow-y-auto iw-pr-2 iw-space-y-6 iw-scrollbar-thin iw-max-w-xl iw-pb-5", children: [
7451
- t ? /* @__PURE__ */ c(Q1, {}) : e == null ? void 0 : e.map((u, d) => /* @__PURE__ */ c(
7452
- X1,
7446
+ t ? /* @__PURE__ */ c(Q2, {}) : e == null ? void 0 : e.map((u, d) => /* @__PURE__ */ c(
7447
+ X2,
7453
7448
  {
7454
7449
  item: u,
7455
7450
  index: d,
@@ -7467,7 +7462,7 @@ const ua = new O1(), B1 = (e = {}) => {
7467
7462
  ] })
7468
7463
  ]
7469
7464
  }
7470
- ), Z1 = ({
7465
+ ), Z2 = ({
7471
7466
  interviewId: e,
7472
7467
  className: t = "",
7473
7468
  currentQuestion: i,
@@ -7519,7 +7514,7 @@ const ua = new O1(), B1 = (e = {}) => {
7519
7514
  answer_submitted_at: (/* @__PURE__ */ new Date()).toISOString()
7520
7515
  } : p));
7521
7516
  }, [r, o]), /* @__PURE__ */ c(
7522
- J1,
7517
+ J2,
7523
7518
  {
7524
7519
  transcript: d,
7525
7520
  isLoading: f || (d == null ? void 0 : d.length) === 0,
@@ -7532,8 +7527,8 @@ const ua = new O1(), B1 = (e = {}) => {
7532
7527
  editingTime: l
7533
7528
  }
7534
7529
  );
7535
- }, An = 5, Nn = 5;
7536
- function e2({
7530
+ }, Tn = 5, Nn = 5;
7531
+ function e1({
7537
7532
  isOpen: e,
7538
7533
  onClose: t,
7539
7534
  warningCount: i,
@@ -7546,7 +7541,7 @@ function e2({
7546
7541
  }, [t, n, i]), D(() => {
7547
7542
  if (!e) return;
7548
7543
  const f = setInterval(() => {
7549
- o((w) => w <= 1 ? (l.current + 1 > An ? a.current() : s.current(), Nn) : w - 1);
7544
+ o((w) => w <= 1 ? (l.current + 1 > Tn ? a.current() : s.current(), Nn) : w - 1);
7550
7545
  }, 1e3);
7551
7546
  return () => clearInterval(f);
7552
7547
  }, [e]), D(() => {
@@ -7571,7 +7566,7 @@ function e2({
7571
7566
  default:
7572
7567
  return "Attempted right click/tab switch";
7573
7568
  }
7574
- }, d = An - i;
7569
+ }, d = Tn - i;
7575
7570
  return /* @__PURE__ */ c(
7576
7571
  "div",
7577
7572
  {
@@ -7585,7 +7580,7 @@ function e2({
7585
7580
  "button",
7586
7581
  {
7587
7582
  onClick: () => {
7588
- i + 1 > An ? n() : t();
7583
+ i + 1 > Tn ? n() : t();
7589
7584
  },
7590
7585
  className: "iw-absolute iw-right-3 iw-top-3 iw-text-gray-400 iw-transition-colors iw-hover:iw-text-gray-600",
7591
7586
  children: /* @__PURE__ */ c(jr, { className: "iw-h-5 iw-w-5" })
@@ -7611,7 +7606,7 @@ function e2({
7611
7606
  }
7612
7607
  );
7613
7608
  }
7614
- const t2 = ({
7609
+ const t1 = ({
7615
7610
  isOpen: e,
7616
7611
  onClose: t,
7617
7612
  children: i,
@@ -7690,7 +7685,7 @@ const t2 = ({
7690
7685
  )
7691
7686
  ] });
7692
7687
  return pa(u, document.body);
7693
- }, i2 = (e) => /* @__PURE__ */ m(
7688
+ }, i1 = (e) => /* @__PURE__ */ m(
7694
7689
  "svg",
7695
7690
  {
7696
7691
  xmlns: "http://www.w3.org/2000/svg",
@@ -7708,7 +7703,7 @@ const t2 = ({
7708
7703
  /* @__PURE__ */ c("circle", { cx: "12", cy: "12", r: "10" })
7709
7704
  ]
7710
7705
  }
7711
- ), r2 = ({
7706
+ ), r1 = ({
7712
7707
  showHardReloadWarning: e,
7713
7708
  onContinue: t
7714
7709
  }) => {
@@ -7716,7 +7711,7 @@ const t2 = ({
7716
7711
  t();
7717
7712
  };
7718
7713
  return /* @__PURE__ */ m(
7719
- t2,
7714
+ t1,
7720
7715
  {
7721
7716
  isOpen: e,
7722
7717
  onClose: i,
@@ -7737,7 +7732,7 @@ const t2 = ({
7737
7732
  onClick: i,
7738
7733
  className: "iw-w-full iw-flex iw-items-center iw-justify-center iw-gap-2 iw-px-4 iw-py-3 iw-bg-gray-100 iw-text-gray-600 iw-rounded-md iw-font-medium iw-transition-colors hover:iw-bg-gray-200 focus:iw-outline-none focus:iw-ring-2 focus:iw-ring-gray-400 focus:iw-ring-offset-2",
7739
7734
  children: [
7740
- /* @__PURE__ */ c(i2, { className: "iw-size-4" }),
7735
+ /* @__PURE__ */ c(i1, { className: "iw-size-4" }),
7741
7736
  "Continue Session"
7742
7737
  ]
7743
7738
  }
@@ -7745,7 +7740,7 @@ const t2 = ({
7745
7740
  ]
7746
7741
  }
7747
7742
  );
7748
- }, Rl = Yn(null), n2 = () => {
7743
+ }, Rl = Yn(null), n1 = () => {
7749
7744
  const e = Si(Rl);
7750
7745
  return e || {
7751
7746
  violationCount: 0,
@@ -7758,14 +7753,14 @@ const t2 = ({
7758
7753
  handleDisqualify: () => {
7759
7754
  }
7760
7755
  };
7761
- }, o2 = ma(
7756
+ }, o1 = ma(
7762
7757
  ({ children: e, onDisqualify: t, isCompleted: i }, r) => {
7763
- const [n, o] = _(!1), [s, a] = _(!1), [l, u] = _(!1), [d, h] = _("fullscreen_exit"), { logViolation: f, violationCount: w } = U1({
7758
+ const [n, o] = _(!1), [s, a] = _(!1), [l, u] = _(!1), [d, h] = _("fullscreen_exit"), { logViolation: f, violationCount: w } = U2({
7764
7759
  maxViolations: 5,
7765
7760
  onViolation: (v) => {
7766
7761
  !s && !i && !l && (o(!0), h(v.type));
7767
7762
  }
7768
- }), { enterFullScreen: g, isFullScreen: y, exitFullScreen: p } = F1({
7763
+ }), { enterFullScreen: g, isFullScreen: y, exitFullScreen: p } = F2({
7769
7764
  onFullScreenChange(v) {
7770
7765
  !v && !s && !l && !i && (o(!0), f({
7771
7766
  type: "fullscreen_exit",
@@ -7792,7 +7787,7 @@ const t2 = ({
7792
7787
  }
7793
7788
  }),
7794
7789
  []
7795
- ), D1(f), L1(f), P1(), V1(), D(() => {
7790
+ ), D2(f), L2(f), P2(), V2(), D(() => {
7796
7791
  const v = (R) => {
7797
7792
  if (!(s || l || i))
7798
7793
  return R.preventDefault(), R.returnValue = void 0, "";
@@ -7820,7 +7815,7 @@ const t2 = ({
7820
7815
  children: [
7821
7816
  /* @__PURE__ */ c("div", { className: "iw-relative iw-h-full iw-w-full", children: e }),
7822
7817
  !y && w > 0 && !s && !l && /* @__PURE__ */ c(
7823
- r2,
7818
+ r1,
7824
7819
  {
7825
7820
  showHardReloadWarning: !0,
7826
7821
  logViolation: f,
@@ -7831,7 +7826,7 @@ const t2 = ({
7831
7826
  }
7832
7827
  );
7833
7828
  }
7834
- ), s2 = ({
7829
+ ), s1 = ({
7835
7830
  onClick: e,
7836
7831
  text: t = "Submit response"
7837
7832
  }) => (D(() => {
@@ -7851,7 +7846,7 @@ const t2 = ({
7851
7846
  /* @__PURE__ */ c("span", { className: "iw-bg-white/90 iw-text-[#062260] iw-px-2 iw-py-1 iw-rounded iw-text-xs iw-font-mono iw-font-bold group-hover:iw-bg-white iw-transition-colors", children: "Press Enter" })
7852
7847
  ]
7853
7848
  }
7854
- ) })), a2 = ({
7849
+ ) })), a1 = ({
7855
7850
  brandName: e,
7856
7851
  brandLogo: t,
7857
7852
  currentQuestion: i,
@@ -7874,7 +7869,7 @@ const t2 = ({
7874
7869
  violationType: b,
7875
7870
  handleClose: v,
7876
7871
  handleDisqualify: R
7877
- } = n2();
7872
+ } = n1();
7878
7873
  return /* @__PURE__ */ m(
7879
7874
  "div",
7880
7875
  {
@@ -7882,7 +7877,7 @@ const t2 = ({
7882
7877
  children: [
7883
7878
  /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-flex-1 iw-p-5 iw-bg-white/50 iw-border iw-border-[#E8EEFE] iw-rounded-s-3xl iw-overflow-hidden", children: [
7884
7879
  /* @__PURE__ */ c("div", { className: "iw-flex iw-items-start iw-justify-between iw-gap-3 iw-mb-4", children: /* @__PURE__ */ c("div", { className: "iw-flex-1", children: /* @__PURE__ */ c(
7885
- z1,
7880
+ z2,
7886
7881
  {
7887
7882
  question: i,
7888
7883
  isLoading: n === G.FETCHING_QUESTION || n === G.IDLE,
@@ -7905,7 +7900,7 @@ const t2 = ({
7905
7900
  }
7906
7901
  ),
7907
7902
  /* @__PURE__ */ c(
7908
- e2,
7903
+ e1,
7909
7904
  {
7910
7905
  isOpen: y,
7911
7906
  warningCount: p,
@@ -7917,7 +7912,7 @@ const t2 = ({
7917
7912
  ] })
7918
7913
  ] }),
7919
7914
  /* @__PURE__ */ c("div", { className: "iw-interview-transcription iw-w-1/4 iw-min-w-32 iw-h-full", children: /* @__PURE__ */ c(
7920
- Z1,
7915
+ Z2,
7921
7916
  {
7922
7917
  interviewId: s,
7923
7918
  currentQuestion: i,
@@ -7930,7 +7925,7 @@ const t2 = ({
7930
7925
  }
7931
7926
  ) }),
7932
7927
  d && (n === G.ANSWERING || n === G.EDITING) && /* @__PURE__ */ c(
7933
- s2,
7928
+ s1,
7934
7929
  {
7935
7930
  onClick: d,
7936
7931
  text: n === G.ANSWERING ? "Submit Response" : "Submit Final Response"
@@ -7939,7 +7934,7 @@ const t2 = ({
7939
7934
  ]
7940
7935
  }
7941
7936
  );
7942
- }, c2 = ({
7937
+ }, c1 = ({
7943
7938
  isOpen: e,
7944
7939
  onClose: t,
7945
7940
  children: i,
@@ -8038,12 +8033,12 @@ const t2 = ({
8038
8033
  }
8039
8034
  );
8040
8035
  return pa(u, document.body);
8041
- }, l2 = ({
8036
+ }, l1 = ({
8042
8037
  confirmExitInterview: e,
8043
8038
  isOpen: t,
8044
8039
  onClose: i
8045
8040
  }) => /* @__PURE__ */ m(
8046
- c2,
8041
+ c1,
8047
8042
  {
8048
8043
  isOpen: t,
8049
8044
  onClose: i,
@@ -8076,7 +8071,7 @@ const t2 = ({
8076
8071
  ] })
8077
8072
  ]
8078
8073
  }
8079
- ), d2 = ({
8074
+ ), d1 = ({
8080
8075
  title: e,
8081
8076
  brandName: t,
8082
8077
  brandLogo: i,
@@ -8123,7 +8118,7 @@ const t2 = ({
8123
8118
  ] }), {}),
8124
8119
  /* @__PURE__ */ c("div", { className: "iw-h-px iw-bg-gray-200" }),
8125
8120
  /* @__PURE__ */ c(
8126
- l2,
8121
+ l1,
8127
8122
  {
8128
8123
  isOpen: s,
8129
8124
  confirmExitInterview: () => {
@@ -8133,7 +8128,7 @@ const t2 = ({
8133
8128
  }
8134
8129
  )
8135
8130
  ] });
8136
- }, u2 = ({
8131
+ }, u1 = ({
8137
8132
  className: e = "",
8138
8133
  width: t,
8139
8134
  height: i = 56,
@@ -8152,8 +8147,8 @@ const t2 = ({
8152
8147
  if (!B) return;
8153
8148
  const I = S.clientWidth, P = i;
8154
8149
  B.width = Math.max(1, Math.floor(I * window.devicePixelRatio || 1)), B.height = Math.max(1, Math.floor(P * window.devicePixelRatio || 1));
8155
- }, A = new ResizeObserver(E);
8156
- return A.observe(S), E(), () => A.disconnect();
8150
+ }, T = new ResizeObserver(E);
8151
+ return T.observe(S), E(), () => T.disconnect();
8157
8152
  }, [t, i]), D(() => {
8158
8153
  if (!t) return;
8159
8154
  const S = d.current;
@@ -8168,8 +8163,8 @@ const t2 = ({
8168
8163
  let S = !1;
8169
8164
  return (async () => {
8170
8165
  try {
8171
- const A = new (window.AudioContext || window.webkitAudioContext)();
8172
- f.current = A;
8166
+ const T = new (window.AudioContext || window.webkitAudioContext)();
8167
+ f.current = T;
8173
8168
  let B = a;
8174
8169
  if (!B) {
8175
8170
  if (!l) return;
@@ -8179,18 +8174,18 @@ const t2 = ({
8179
8174
  }), p.current = !0;
8180
8175
  }
8181
8176
  if (S) return;
8182
- const I = A.createAnalyser();
8177
+ const I = T.createAnalyser();
8183
8178
  I.fftSize = o, I.smoothingTimeConstant = s, w.current = I;
8184
- const P = A.createMediaStreamSource(B);
8179
+ const P = T.createMediaStreamSource(B);
8185
8180
  g.current = P, P.connect(I), R();
8186
- } catch (A) {
8187
- v((A == null ? void 0 : A.message) || "Failed to initialize microphone");
8181
+ } catch (T) {
8182
+ v((T == null ? void 0 : T.message) || "Failed to initialize microphone");
8188
8183
  }
8189
8184
  })(), () => {
8190
- var A, B, I, P;
8185
+ var T, B, I, P;
8191
8186
  S = !0, y.current && cancelAnimationFrame(y.current);
8192
8187
  try {
8193
- (A = g.current) == null || A.disconnect();
8188
+ (T = g.current) == null || T.disconnect();
8194
8189
  } catch {
8195
8190
  }
8196
8191
  try {
@@ -8203,16 +8198,16 @@ const t2 = ({
8203
8198
  const R = () => {
8204
8199
  const S = d.current, E = w.current;
8205
8200
  if (!S || !E) return;
8206
- const A = S.getContext("2d");
8207
- if (!A) return;
8201
+ const T = S.getContext("2d");
8202
+ if (!T) return;
8208
8203
  const B = window.devicePixelRatio || 1, I = S.width, P = S.height, H = E.frequencyBinCount, xe = new Uint8Array(H), Q = () => {
8209
- y.current = requestAnimationFrame(Q), E.getByteTimeDomainData(xe), A.clearRect(0, 0, I, P), A.fillStyle = "rgba(0,0,0,0)", A.fillRect(0, 0, I, P);
8204
+ y.current = requestAnimationFrame(Q), E.getByteTimeDomainData(xe), T.clearRect(0, 0, I, P), T.fillStyle = "rgba(0,0,0,0)", T.fillRect(0, 0, I, P);
8210
8205
  const Y = Math.max(1, Math.floor(r * B)), ie = Math.max(1, Math.floor(n * B)), V = Y + ie, J = Math.max(8, Math.floor((I + ie) / V)), et = Math.floor(xe.length / J);
8211
8206
  for (let mt = 0; mt < J; mt++) {
8212
8207
  const Ce = Math.min(xe.length - 1, mt * et), _t = xe[Ce] / 128 - 1, Me = Math.abs(_t), ti = Math.pow(Me, 0.6), kt = Math.max(P * 0.06, ti * (P * 0.9)), ii = mt * V, ri = (P - kt) / 2, ni = 140 - Math.min(140, 140 * Me), oi = 85, Bt = 48 + Math.floor(12 * (1 - Me));
8213
- A.fillStyle = `${u}`, A.shadowColor = `hsla(${ni}, ${oi}%, ${Bt}%, ${0.25 * Me})`, A.shadowBlur = 8 * Me;
8208
+ T.fillStyle = `${u}`, T.shadowColor = `hsla(${ni}, ${oi}%, ${Bt}%, ${0.25 * Me})`, T.shadowBlur = 8 * Me;
8214
8209
  const Ie = Math.min(Y / 2, kt / 2);
8215
- h2(A, ii, ri, Y, kt, Ie), A.fill();
8210
+ h1(T, ii, ri, Y, kt, Ie), T.fill();
8216
8211
  }
8217
8212
  };
8218
8213
  Q();
@@ -8230,11 +8225,11 @@ const t2 = ({
8230
8225
  }
8231
8226
  );
8232
8227
  };
8233
- function h2(e, t, i, r, n, o) {
8228
+ function h1(e, t, i, r, n, o) {
8234
8229
  const s = Math.min(o, r / 2, n / 2);
8235
8230
  e.beginPath(), e.moveTo(t + s, i), e.lineTo(t + r - s, i), e.quadraticCurveTo(t + r, i, t + r, i + s), e.lineTo(t + r, i + n - s), e.quadraticCurveTo(t + r, i + n, t + r - s, i + n), e.lineTo(t + s, i + n), e.quadraticCurveTo(t, i + n, t, i + n - s), e.lineTo(t, i + s), e.quadraticCurveTo(t, i, t + s, i), e.closePath();
8236
8231
  }
8237
- const f2 = ({
8232
+ const f1 = ({
8238
8233
  state: e,
8239
8234
  answeringTime: t,
8240
8235
  nextPhase: i,
@@ -8262,7 +8257,7 @@ const f2 = ({
8262
8257
  /* @__PURE__ */ c("p", { className: "iw-max-w-lg iw-text-gray-500 iw-text-xs iw-leading-[21px]", children: "Done talking? Click the button to review your answer." })
8263
8258
  ] }),
8264
8259
  /* @__PURE__ */ m("div", { children: [
8265
- /* @__PURE__ */ c(u2, {}),
8260
+ /* @__PURE__ */ c(u1, {}),
8266
8261
  r && /* @__PURE__ */ m("div", { className: "iw-mt-2 iw-text-xs iw-text-red-600", children: [
8267
8262
  "Recording error: ",
8268
8263
  r.message
@@ -8278,7 +8273,7 @@ const f2 = ({
8278
8273
  }
8279
8274
  ) })
8280
8275
  ] });
8281
- function w2() {
8276
+ function w1() {
8282
8277
  const [e, t] = _(!0), i = rr(
8283
8278
  () => [0, 1, 2].map((r) => ({ id: r })),
8284
8279
  []
@@ -8316,7 +8311,7 @@ function w2() {
8316
8311
  /* @__PURE__ */ c("div", { className: "iw-text-center", children: /* @__PURE__ */ c("p", { className: "iw-text-gray-500 iw-font-medium", children: "Preparing your question..." }) })
8317
8312
  ] });
8318
8313
  }
8319
- const m2 = ({
8314
+ const m1 = ({
8320
8315
  size: e = "192px",
8321
8316
  className: t,
8322
8317
  colors: i,
@@ -8458,9 +8453,9 @@ const m2 = ({
8458
8453
  }
8459
8454
  );
8460
8455
  };
8461
- function g2({ ttsError: e }) {
8456
+ function g1({ ttsError: e }) {
8462
8457
  return /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-items-center iw-justify-center iw-gap-8 iw-w-full iw-h-full", children: [
8463
- /* @__PURE__ */ c(m2, { size: "80px" }),
8458
+ /* @__PURE__ */ c(m1, { size: "80px" }),
8464
8459
  e && /* @__PURE__ */ m("div", { className: "iw-mt-2 iw-text-xs iw-text-red-600", children: [
8465
8460
  "Audio playback failed: ",
8466
8461
  e.message
@@ -8468,7 +8463,7 @@ function g2({ ttsError: e }) {
8468
8463
  /* @__PURE__ */ c("p", { className: "iw-text- iw-text-gray-700", children: "Your AI interviewer is speaking..." })
8469
8464
  ] });
8470
8465
  }
8471
- const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-gap-6 iw-items-center iw-justify-center iw-text-center iw-h-full ", children: [
8466
+ const p1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-gap-6 iw-items-center iw-justify-center iw-text-center iw-h-full ", children: [
8472
8467
  /* @__PURE__ */ m("div", { children: [
8473
8468
  /* @__PURE__ */ c("h3", { className: "iw-text-lg iw-font-semibold iw-text-gray-900 iw-mb-1", children: "Get Ready to Answer" }),
8474
8469
  /* @__PURE__ */ c("p", { className: "iw-max-w-lg iw-text-gray-500 iw-text-xs iw-leading-[21px]", children: "After 30-seconds thinking time, recording will start automatically, or you can begin recording early by clicking the button below." })
@@ -8497,7 +8492,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8497
8492
  children: "Start Answering"
8498
8493
  }
8499
8494
  ) })
8500
- ] }), y2 = ({
8495
+ ] }), y1 = ({
8501
8496
  sttError: e,
8502
8497
  editingDuration: t
8503
8498
  }) => /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-items-center iw-justify-center iw-h-full", children: [
@@ -8545,7 +8540,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8545
8540
  e.message,
8546
8541
  e.recoverable && " (attempting to continue)"
8547
8542
  ] })
8548
- ] }), b2 = ({
8543
+ ] }), b1 = ({
8549
8544
  interviewTitle: e,
8550
8545
  brandName: t = "Novara",
8551
8546
  brandLogo: i,
@@ -8556,7 +8551,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8556
8551
  videoFeedRef: a
8557
8552
  }) => {
8558
8553
  var ci, Hi;
8559
- const l = Il(), { baseUrl: u, authToken: d } = Ea(), { timers: h, stt: f, proctoring: w } = Zn(), g = L(null), [y, p] = _(null), [b, v] = _(""), [R, S] = _(null), [E, A] = _(
8554
+ const l = Il(), { baseUrl: u, authToken: d } = Ea(), { timers: h, stt: f, proctoring: w } = Zn(), g = L(null), [y, p] = _(null), [b, v] = _(""), [R, S] = _(null), [E, T] = _(
8560
8555
  Ur
8561
8556
  ), [B, I] = _(!0), P = L(""), H = L(null), xe = {
8562
8557
  thinkingTime: (h == null ? void 0 : h.thinkingDuration) || 0,
@@ -8575,7 +8570,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8575
8570
  speak: J,
8576
8571
  stop: et,
8577
8572
  error: mt
8578
- } = B1({
8573
+ } = B2({
8579
8574
  onEnd: () => {
8580
8575
  V.current = !1, se();
8581
8576
  },
@@ -8590,7 +8585,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8590
8585
  isRecording: ni,
8591
8586
  error: oi,
8592
8587
  audioBlob: Bt
8593
- } = M1({
8588
+ } = M2({
8594
8589
  config: {
8595
8590
  baseUrl: u,
8596
8591
  provider: f == null ? void 0 : f.provider,
@@ -8612,7 +8607,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8612
8607
  onError: (O) => {
8613
8608
  console.error("STT Error:", O), Ce.current || (Ce.current = !0, se());
8614
8609
  }
8615
- }), { state: Ie, startQuestion: Tt, nextPhase: se, completeInterview: ji, timerService: zi } = I1({
8610
+ }), { state: Ie, startQuestion: At, nextPhase: se, completeInterview: ji, timerService: zi } = I2({
8616
8611
  config: {
8617
8612
  // thinkingDuration: thinkingTime,
8618
8613
  answeringDuration: Y,
@@ -8644,12 +8639,12 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8644
8639
  }
8645
8640
  });
8646
8641
  D(() => {
8647
- Tt();
8642
+ At();
8648
8643
  }, []), D(() => {
8649
8644
  (async () => {
8650
8645
  try {
8651
8646
  const W = await l.getInterviewConfig(r);
8652
- if (W != null && W.data && (W.data.duration_in_minutes && A(W.data.duration_in_minutes), typeof W.data.allow_answer_editing == "boolean" && I(W.data.allow_answer_editing), typeof W.data.elapsed_time_in_minutes == "number")) {
8647
+ if (W != null && W.data && (W.data.duration_in_minutes && T(W.data.duration_in_minutes), typeof W.data.allow_answer_editing == "boolean" && I(W.data.allow_answer_editing), typeof W.data.elapsed_time_in_minutes == "number")) {
8653
8648
  const qe = Math.floor(
8654
8649
  W.data.elapsed_time_in_minutes * 60
8655
8650
  );
@@ -8660,7 +8655,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8660
8655
  }
8661
8656
  })();
8662
8657
  }, [r, zi]);
8663
- const { execute: si } = R1(
8658
+ const { execute: si } = R2(
8664
8659
  async () => {
8665
8660
  const O = await l.generateQuestion({
8666
8661
  interviewId: r
@@ -8693,8 +8688,8 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8693
8688
  } catch (W) {
8694
8689
  console.error("Failed to submit answer:", W);
8695
8690
  }
8696
- Tt();
8697
- }, [l, r, Tt, B]), Wi = M(async () => {
8691
+ At();
8692
+ }, [l, r, At, B]), Wi = M(async () => {
8698
8693
  var O, W;
8699
8694
  if ((O = H.current) != null && O.question)
8700
8695
  if (H.current.question_audio_data_base64)
@@ -8716,16 +8711,16 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8716
8711
  console.error("Failed to start recording:", O), se();
8717
8712
  }
8718
8713
  }, [ti, se]), yr = M(async () => {
8719
- if (console.log("[InterviewController] handleAudioStopAndTranscribe triggered"), Me.current) {
8720
- console.log("[InterviewController] Already processing STT, ignoring duplicate call.");
8714
+ if (Me.current) {
8715
+ console.log("Already processing STT, ignoring duplicate call.");
8721
8716
  return;
8722
8717
  }
8723
8718
  Me.current = !0;
8724
8719
  try {
8725
8720
  let O;
8726
- !ni && Bt ? (console.log("[InterviewController] Recording already stopped, using cached blob."), O = Bt) : (console.log("[InterviewController] Calling stopRecording..."), O = await kt()), console.log("[InterviewController] Audio blob ready, calling transcribe..."), await ii(O);
8721
+ !ni && Bt ? (console.log("Recording already stopped, using cached blob."), O = Bt) : O = await kt(), await ii(O);
8727
8722
  } catch (O) {
8728
- console.error("[InterviewController] STT processing failed:", O), O instanceof Error && (console.error("[InterviewController] Error Name:", O.name), O.code && console.error("[InterviewController] Error Code:", O.code)), !Ce.current && !_t.current && (Ce.current = !0, se());
8723
+ console.error("STT processing failed:", O), O instanceof Error && console.error("Error Name:", O.name), !Ce.current && !_t.current && (Ce.current = !0, se());
8729
8724
  } finally {
8730
8725
  Me.current = !1;
8731
8726
  }
@@ -8749,15 +8744,15 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8749
8744
  return /* @__PURE__ */ m("div", { className: "iw-text-center iw-flex iw-flex-col iw-items-center iw-justify-center iw-gap-2 iw-h-full", children: [
8750
8745
  /* @__PURE__ */ c("h3", { className: "iw-text-lg iw-font-semibold iw-text-gray-900 iw-mb-1", children: "Ready to start the Interview?" }),
8751
8746
  /* @__PURE__ */ c("p", { className: "iw-max-w-xl iw-text-gray-500 iw-text-xs iw-leading-[21px]", children: `You will be asked a series of behavioral and technical questions. For each one you'll get a short thinking period, then a timed recording window. We'll transcribe your response so you can review and edit it before submitting. Click "Start Interview" when you're ready.` }),
8752
- /* @__PURE__ */ c(Zo, { onClick: Tt, className: "iw-mt-2 iw-w-40", children: "Start Interview" })
8747
+ /* @__PURE__ */ c(Zo, { onClick: At, className: "iw-mt-2 iw-w-40", children: "Start Interview" })
8753
8748
  ] });
8754
8749
  case G.FETCHING_QUESTION:
8755
- return /* @__PURE__ */ c(w2, {});
8750
+ return /* @__PURE__ */ c(w1, {});
8756
8751
  case G.READING_QUESTION:
8757
- return /* @__PURE__ */ c(g2, { ttsError: mt });
8752
+ return /* @__PURE__ */ c(g1, { ttsError: mt });
8758
8753
  case G.THINKING:
8759
8754
  return /* @__PURE__ */ c(
8760
- p2,
8755
+ p1,
8761
8756
  {
8762
8757
  state: Ie,
8763
8758
  thinkingTime: Q,
@@ -8766,7 +8761,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8766
8761
  );
8767
8762
  case G.ANSWERING:
8768
8763
  return /* @__PURE__ */ c(
8769
- f2,
8764
+ f1,
8770
8765
  {
8771
8766
  state: Ie,
8772
8767
  answeringTime: Y,
@@ -8776,7 +8771,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8776
8771
  );
8777
8772
  case G.TRANSCRIBING:
8778
8773
  return /* @__PURE__ */ c(
8779
- y2,
8774
+ y1,
8780
8775
  {
8781
8776
  sttError: oi,
8782
8777
  editingDuration: ie
@@ -8792,7 +8787,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8792
8787
  }
8793
8788
  }, vr = /* @__PURE__ */ m(pt, { children: [
8794
8789
  /* @__PURE__ */ c(
8795
- d2,
8790
+ d1,
8796
8791
  {
8797
8792
  title: e,
8798
8793
  brandName: t,
@@ -8803,7 +8798,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8803
8798
  }
8804
8799
  ),
8805
8800
  /* @__PURE__ */ c(
8806
- a2,
8801
+ a1,
8807
8802
  {
8808
8803
  brandName: t,
8809
8804
  brandLogo: i,
@@ -8828,7 +8823,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8828
8823
  )
8829
8824
  ] });
8830
8825
  return /* @__PURE__ */ c(pt, { children: w != null && w.enabled ? /* @__PURE__ */ c(
8831
- o2,
8826
+ o1,
8832
8827
  {
8833
8828
  ref: g,
8834
8829
  onDisqualify: () => ai(o),
@@ -8836,7 +8831,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8836
8831
  children: vr
8837
8832
  }
8838
8833
  ) : vr });
8839
- }, v2 = ({
8834
+ }, v1 = ({
8840
8835
  title: e,
8841
8836
  brandName: t,
8842
8837
  brandLogo: i,
@@ -8861,7 +8856,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8861
8856
  ref: g,
8862
8857
  className: `iw-flex iw-flex-col iw-rounded-xl iw-shadow-lg iw-overflow-hidden iw-h-[calc(100vh-1rem)] ${s}`,
8863
8858
  children: /* @__PURE__ */ c("div", { className: "iw-h-[calc(100vh-1rem)] iw-flex iw-flex-col iw-justify-between gap-1", children: /* @__PURE__ */ c(
8864
- b2,
8859
+ b1,
8865
8860
  {
8866
8861
  interviewTitle: e ?? "Interview",
8867
8862
  brandName: t ?? "Novara",
@@ -8881,7 +8876,7 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8881
8876
  /* @__PURE__ */ c("p", { className: "iw-text-xl iw-font-semibold", children: t })
8882
8877
  ] }),
8883
8878
  /* @__PURE__ */ c(
8884
- S1,
8879
+ S2,
8885
8880
  {
8886
8881
  isOpen: u,
8887
8882
  gazeEnabled: p,
@@ -8894,11 +8889,11 @@ const p2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8894
8889
  ] });
8895
8890
  };
8896
8891
  typeof window < "u" && (window.InterviewWidget = {
8897
- InterviewWidget: v2,
8892
+ InterviewWidget: v1,
8898
8893
  InterviewWidgetProvider: Jl
8899
8894
  });
8900
8895
  export {
8901
- v2 as InterviewWidget,
8896
+ v1 as InterviewWidget,
8902
8897
  Jl as InterviewWidgetProvider,
8903
- v2 as default
8898
+ v1 as default
8904
8899
  };