interview-widget 3.1.5 → 3.1.6

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
@@ -1,10 +1,10 @@
1
1
  var Gl = Object.defineProperty;
2
2
  var Vl = (e, t, i) => t in e ? Gl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
- var Re = (e, t, i) => Vl(e, typeof t != "symbol" ? t + "" : t, i);
3
+ var Me = (e, t, i) => Vl(e, typeof t != "symbol" ? t + "" : t, i);
4
4
  import { jsx as c, jsxs as m, Fragment as yt } from "react/jsx-runtime";
5
- import qn, { createContext as Kn, useContext as Ci, useSyncExternalStore as Yn, useRef as F, useCallback as S, useMemo as tr, useState as _, useEffect as L, forwardRef as pa, useImperativeHandle as ya } from "react";
5
+ import Hn, { createContext as qn, useContext as Ci, useSyncExternalStore as Kn, useRef as F, useCallback as S, useMemo as er, useState as E, useEffect as L, forwardRef as pa, useImperativeHandle as ya } from "react";
6
6
  import { createPortal as ba } from "react-dom";
7
- const mn = {}, ct = {
7
+ const fn = {}, ct = {
8
8
  api: {
9
9
  baseUrl: "/api",
10
10
  retryConfig: {
@@ -38,28 +38,28 @@ const mn = {}, ct = {
38
38
  gazeAnalysisEnabled: !0
39
39
  }
40
40
  }
41
- }, Xn = "iw-storage";
41
+ }, Yn = "iw-storage";
42
42
  function jl() {
43
- if (!(typeof import.meta < "u" && (mn != null && mn.VITE_IW_SECRET)))
43
+ if (!(typeof import.meta < "u" && (fn != null && fn.VITE_IW_SECRET)))
44
44
  return typeof process < "u" && process.env.NEXT_PUBLIC_IW_SECRET ? process.env.NEXT_PUBLIC_IW_SECRET : typeof window < "u" && window.__IW_SECRET__ ? window.__IW_SECRET__ : "proctoring-data-seed";
45
45
  }
46
- const va = jl(), Br = 30, $l = {
46
+ const va = jl(), Or = 30, $l = {
47
47
  SCREENSHOT: "screenshot"
48
- }, Qn = "AES-GCM", Tn = 12;
48
+ }, Xn = "AES-GCM", Nn = 12;
49
49
  async function xa(e) {
50
50
  const i = new TextEncoder().encode(e), r = await crypto.subtle.digest("SHA-256", i);
51
- return crypto.subtle.importKey("raw", r, Qn, !1, [
51
+ return crypto.subtle.importKey("raw", r, Xn, !1, [
52
52
  "encrypt",
53
53
  "decrypt"
54
54
  ]);
55
55
  }
56
56
  function Wl() {
57
- return crypto.getRandomValues(new Uint8Array(Tn));
57
+ return crypto.getRandomValues(new Uint8Array(Nn));
58
58
  }
59
59
  async function zl(e, t = "default-seed") {
60
60
  try {
61
61
  const i = typeof e == "string" ? e : JSON.stringify(e), n = new TextEncoder().encode(i), s = await xa(t), o = Wl(), a = await crypto.subtle.encrypt(
62
- { name: Qn, iv: o },
62
+ { name: Xn, iv: o },
63
63
  s,
64
64
  n
65
65
  ), l = new Uint8Array(o.length + a.byteLength);
@@ -73,8 +73,8 @@ async function Hl(e, t = "default-seed") {
73
73
  const i = atob(e), r = new Uint8Array(i.length);
74
74
  for (let u = 0; u < i.length; u++)
75
75
  r[u] = i.charCodeAt(u);
76
- const n = r.slice(0, Tn), s = r.slice(Tn), o = await xa(t), a = await crypto.subtle.decrypt(
77
- { name: Qn, iv: n },
76
+ const n = r.slice(0, Nn), s = r.slice(Nn), o = await xa(t), a = await crypto.subtle.decrypt(
77
+ { name: Xn, iv: n },
78
78
  o,
79
79
  s
80
80
  );
@@ -94,9 +94,9 @@ async function Kl(e, t = "default-seed") {
94
94
  return i;
95
95
  }
96
96
  }
97
- const ar = Kn(null), Yl = async () => {
97
+ const or = qn(null), Yl = async () => {
98
98
  try {
99
- const e = sessionStorage.getItem(Xn);
99
+ const e = sessionStorage.getItem(Yn);
100
100
  if (e) {
101
101
  const i = (await Kl(e, va)).state;
102
102
  return {
@@ -135,7 +135,7 @@ const ar = Kn(null), Yl = async () => {
135
135
  referenceSet: !1,
136
136
  referenceRef: { x: 0.5, y: 0.5, noseX: 0.5, noseY: 0.5 }
137
137
  };
138
- }, qi = async (e) => {
138
+ }, Hi = async (e) => {
139
139
  try {
140
140
  const t = await ql(
141
141
  {
@@ -144,7 +144,7 @@ const ar = Kn(null), Yl = async () => {
144
144
  },
145
145
  va
146
146
  );
147
- sessionStorage.setItem(Xn, t);
147
+ sessionStorage.setItem(Yn, t);
148
148
  } catch (t) {
149
149
  console.error("Failed to save proctoring data to session storage:", t);
150
150
  }
@@ -163,7 +163,7 @@ const ar = Kn(null), Yl = async () => {
163
163
  referenceSet: !1,
164
164
  referenceRef: { x: 0.5, y: 0.5, noseX: 0.5, noseY: 0.5 }
165
165
  }), i = F(/* @__PURE__ */ new Set());
166
- qn.useEffect(() => {
166
+ Hn.useEffect(() => {
167
167
  Yl().then((w) => {
168
168
  t.current = w, r();
169
169
  });
@@ -178,7 +178,7 @@ const ar = Kn(null), Yl = async () => {
178
178
  ...t.current,
179
179
  logViolations: [...t.current.logViolations, w],
180
180
  totalViolations: t.current.totalViolations + 1
181
- }, qi(t.current), r();
181
+ }, Hi(t.current), r();
182
182
  },
183
183
  [r]
184
184
  ), a = S(
@@ -187,7 +187,7 @@ const ar = Kn(null), Yl = async () => {
187
187
  w === "looking_away" && (f.lookingAwayCount += 1), w === "no_face_detected" && (f.noFaceDetectedCount += 1), w === "multiple_faces" && (f.multipleFacesCount += 1), f.totalGazeViolations = f.lookingAwayCount + f.noFaceDetectedCount + f.multipleFacesCount, t.current = {
188
188
  ...t.current,
189
189
  gazeViolationCounters: f
190
- }, qi(t.current), r();
190
+ }, Hi(t.current), r();
191
191
  },
192
192
  [r]
193
193
  ), l = S(() => {
@@ -195,7 +195,7 @@ const ar = Kn(null), Yl = async () => {
195
195
  ...t.current,
196
196
  logViolations: [],
197
197
  totalViolations: 0
198
- }, qi(t.current), r();
198
+ }, Hi(t.current), r();
199
199
  }, [r]), u = S(() => {
200
200
  t.current = {
201
201
  ...t.current,
@@ -205,17 +205,17 @@ const ar = Kn(null), Yl = async () => {
205
205
  multipleFacesCount: 0,
206
206
  totalGazeViolations: 0
207
207
  }
208
- }, qi(t.current), r();
208
+ }, Hi(t.current), r();
209
209
  }, [r]), d = S(
210
210
  (w, f) => {
211
211
  t.current = {
212
212
  ...t.current,
213
213
  referenceSet: w,
214
214
  referenceRef: f
215
- }, qi(t.current), r();
215
+ }, Hi(t.current), r();
216
216
  },
217
217
  [r]
218
- ), h = tr(
218
+ ), h = er(
219
219
  () => ({
220
220
  getState: s,
221
221
  addViolation: o,
@@ -235,14 +235,14 @@ const ar = Kn(null), Yl = async () => {
235
235
  d
236
236
  ]
237
237
  );
238
- return /* @__PURE__ */ c(ar.Provider, { value: h, children: e });
239
- }, _a = () => {
240
- const e = Ci(ar);
238
+ return /* @__PURE__ */ c(or.Provider, { value: h, children: e });
239
+ }, Ea = () => {
240
+ const e = Ci(or);
241
241
  if (!e)
242
242
  throw new Error(
243
243
  "useProctoringStore must be used within a ProctoringProvider"
244
244
  );
245
- const t = Yn(
245
+ const t = Kn(
246
246
  e.subscribe,
247
247
  // how React listens for changes
248
248
  e.getState,
@@ -263,27 +263,27 @@ const ar = Kn(null), Yl = async () => {
263
263
  setReferenceData: e.setReferenceData
264
264
  };
265
265
  }, Ql = () => {
266
- const e = Ci(ar);
266
+ const e = Ci(or);
267
267
  if (!e)
268
268
  throw new Error("useViolations must be used within a ProctoringProvider");
269
- return Yn(
269
+ return Kn(
270
270
  e.subscribe,
271
271
  () => e.getState().logViolations,
272
272
  () => e.getState().logViolations
273
273
  );
274
274
  }, Jl = () => {
275
- const e = Ci(ar);
275
+ const e = Ci(or);
276
276
  if (!e)
277
277
  throw new Error(
278
278
  "useTotalViolations must be used within a ProctoringProvider"
279
279
  );
280
- return Yn(
280
+ return Kn(
281
281
  e.subscribe,
282
282
  () => e.getState().totalViolations,
283
283
  () => e.getState().totalViolations
284
284
  );
285
285
  }, Zl = () => {
286
- const e = Ci(ar);
286
+ const e = Ci(or);
287
287
  if (!e)
288
288
  throw new Error(
289
289
  "useProctoringActions must be used within a ProctoringProvider"
@@ -292,7 +292,7 @@ const ar = Kn(null), Yl = async () => {
292
292
  addViolation: e.addViolation,
293
293
  clearViolations: e.clearViolations
294
294
  };
295
- }, Ea = Kn(
295
+ }, _a = qn(
296
296
  null
297
297
  );
298
298
  function ed({
@@ -330,10 +330,10 @@ function ed({
330
330
  }
331
331
  }
332
332
  };
333
- return /* @__PURE__ */ c(Ea.Provider, { value: i, children: /* @__PURE__ */ c(Xl, { children: t }) });
333
+ return /* @__PURE__ */ c(_a.Provider, { value: i, children: /* @__PURE__ */ c(Xl, { children: t }) });
334
334
  }
335
- function Ur() {
336
- const e = Ci(Ea);
335
+ function Br() {
336
+ const e = Ci(_a);
337
337
  if (!e)
338
338
  throw new Error(
339
339
  "useInterviewConfig must be used within an InterviewWidgetProvider. Wrap your component tree with <InterviewWidgetProvider config={...}>"
@@ -341,13 +341,13 @@ function Ur() {
341
341
  return e;
342
342
  }
343
343
  function ka() {
344
- return Ur().api || ct.api;
344
+ return Br().api || ct.api;
345
345
  }
346
346
  function Si() {
347
- return Ur().ui || ct.ui;
347
+ return Br().ui || ct.ui;
348
348
  }
349
- function Jn() {
350
- return Ur().interview || ct.interview;
349
+ function Qn() {
350
+ return Br().interview || ct.interview;
351
351
  }
352
352
  function td(e) {
353
353
  const t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
@@ -393,13 +393,13 @@ function ad(e) {
393
393
  const cd = (e) => {
394
394
  var t;
395
395
  return !e || typeof e != "string" ? "" : (t = e.charAt(0)) == null ? void 0 : t.toUpperCase();
396
- }, Zn = (e, t) => {
396
+ }, Jn = (e, t) => {
397
397
  const i = Math.max(0, Math.floor(e));
398
398
  if (t && i < 60)
399
399
  return `${i}`;
400
400
  const r = Math.floor(i / 60).toString().padStart(2, "0"), n = (i % 60).toString().padStart(2, "0");
401
401
  return `${r}:${n}`;
402
- }, es = ({
402
+ }, Zn = ({
403
403
  brandLogo: e,
404
404
  brandName: t,
405
405
  className: i = "",
@@ -415,18 +415,18 @@ const cd = (e) => {
415
415
  }
416
416
  );
417
417
  }, ld = (e) => {
418
- const t = F(null), i = F(null), [r, n] = _(!1), [s, o] = _(!1), [a, l] = _(null), [u, d] = _([]), [h, w] = _([]), [f, g] = _(""), [b, p] = _(""), [y, v] = _(!1), T = S(() => {
418
+ const t = F(null), i = F(null), [r, n] = E(!1), [s, o] = E(!1), [a, l] = E(null), [u, d] = E([]), [h, w] = E([]), [f, g] = E(""), [b, p] = E(""), [y, v] = E(!1), T = S(() => {
419
419
  i.current && (i.current.getTracks().forEach((R) => R.stop()), i.current = null, l(null));
420
420
  }, []), I = S(async () => {
421
421
  var R, P, Y, xe;
422
422
  try {
423
- const X = await navigator.mediaDevices.enumerateDevices(), q = X.filter((V) => V.kind === "audioinput"), Q = X.filter((V) => V.kind === "videoinput");
423
+ const X = await navigator.mediaDevices.enumerateDevices(), q = X.filter((G) => G.kind === "audioinput"), Q = X.filter((G) => G.kind === "videoinput");
424
424
  if (d(q), w(Q), !f && q.length > 0) {
425
- const V = (R = i.current) == null ? void 0 : R.getAudioTracks()[0], J = V == null ? void 0 : V.getSettings().deviceId;
425
+ const G = (R = i.current) == null ? void 0 : R.getAudioTracks()[0], J = G == null ? void 0 : G.getSettings().deviceId;
426
426
  g(J || ((P = q[0]) == null ? void 0 : P.deviceId) || "");
427
427
  }
428
428
  if (!b && Q.length > 0) {
429
- const V = (Y = i.current) == null ? void 0 : Y.getVideoTracks()[0], J = V == null ? void 0 : V.getSettings().deviceId;
429
+ const G = (Y = i.current) == null ? void 0 : Y.getVideoTracks()[0], J = G == null ? void 0 : G.getSettings().deviceId;
430
430
  p(J || ((xe = Q[0]) == null ? void 0 : xe.deviceId) || "");
431
431
  }
432
432
  } catch (X) {
@@ -461,7 +461,7 @@ const cd = (e) => {
461
461
  }
462
462
  try {
463
463
  const Q = await navigator.mediaDevices.getUserMedia({ video: Y });
464
- o(!0), X ? Q.getTracks().forEach((V) => X.addTrack(V)) : X = Q;
464
+ o(!0), X ? Q.getTracks().forEach((G) => X.addTrack(G)) : X = Q;
465
465
  } catch (Q) {
466
466
  console.error("Video permission denied", Q), o(!1);
467
467
  }
@@ -492,7 +492,7 @@ const cd = (e) => {
492
492
  handleVideoChange: B,
493
493
  stopStream: T
494
494
  };
495
- }, Gr = (e) => /* @__PURE__ */ m(
495
+ }, Ur = (e) => /* @__PURE__ */ m(
496
496
  "svg",
497
497
  {
498
498
  xmlns: "http://www.w3.org/2000/svg",
@@ -545,7 +545,7 @@ const cd = (e) => {
545
545
  /* @__PURE__ */ c("path", { d: "M20 20H4a2 2 0 01-2-2V9a2 2 0 012-2h1.997a2 2 0 00.819-.175M9.695 4.024A2 2 0 0110.004 4h3.993a2 2 0 011.76 1.05l.486.9A2 2 0 0018.003 7H20a2 2 0 012 2v7.344" })
546
546
  ]
547
547
  }
548
- ), Sr = (e) => /* @__PURE__ */ c("svg", { width: "10", height: "9", viewBox: "0 0 10 9", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ c("path", { d: "M0.75 5.5C0.75 5.5 2.35 6.4125 3.15 7.75C3.15 7.75 5.55 2.5 8.75 0.75", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), hd = ({ className: e }) => /* @__PURE__ */ c(
548
+ ), Cr = (e) => /* @__PURE__ */ c("svg", { width: "10", height: "9", viewBox: "0 0 10 9", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ c("path", { d: "M0.75 5.5C0.75 5.5 2.35 6.4125 3.15 7.75C3.15 7.75 5.55 2.5 8.75 0.75", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), hd = ({ className: e }) => /* @__PURE__ */ c(
549
549
  "svg",
550
550
  {
551
551
  width: "24",
@@ -578,7 +578,7 @@ const cd = (e) => {
578
578
  /* @__PURE__ */ c("path", { d: "M8.644 21.42a10 10 0 0 0 7.631-.38" })
579
579
  ]
580
580
  }
581
- ), Vr = (e) => /* @__PURE__ */ c(
581
+ ), Gr = (e) => /* @__PURE__ */ c(
582
582
  "svg",
583
583
  {
584
584
  className: "iw-w-5 iw-h-5",
@@ -786,7 +786,7 @@ const cd = (e) => {
786
786
  buttonText: "I Understood"
787
787
  },
788
788
  [Ie.CAMERA_ERROR]: {
789
- icon: Gr,
789
+ icon: Ur,
790
790
  iconColor: "iw-text-red-600",
791
791
  iconBg: "iw-bg-red-50",
792
792
  iconBorder: "iw-border-red-100",
@@ -915,7 +915,7 @@ const Ct = {
915
915
  };
916
916
  class Ca {
917
917
  constructor(t = {}) {
918
- Re(this, "config");
918
+ Me(this, "config");
919
919
  this.config = t;
920
920
  }
921
921
  /**
@@ -1087,7 +1087,7 @@ class Ca {
1087
1087
  return await i.json();
1088
1088
  }
1089
1089
  }
1090
- const xr = new Ca(), xd = ({
1090
+ const vr = new Ca(), xd = ({
1091
1091
  gazeAnalysisEnabled: e,
1092
1092
  isModelLoaded: t,
1093
1093
  stats: i,
@@ -1164,7 +1164,7 @@ const xr = new Ca(), xd = ({
1164
1164
  /* @__PURE__ */ c("br", {}),
1165
1165
  "Enable to track engagement and attention levels."
1166
1166
  ] })
1167
- ] }) }), _d = ({
1167
+ ] }) }), Ed = ({
1168
1168
  showControls: e,
1169
1169
  isBubbleOpen: t,
1170
1170
  setIsBubbleOpen: i,
@@ -1271,7 +1271,7 @@ const xr = new Ca(), xd = ({
1271
1271
  ] })
1272
1272
  ] }) : null;
1273
1273
  var gi = typeof self < "u" ? self : {};
1274
- function ir(e, t) {
1274
+ function tr(e, t) {
1275
1275
  e: {
1276
1276
  for (var i = ["CLOSURE_FLAGS"], r = gi, n = 0; n < i.length; n++) if ((r = r[i[n]]) == null) {
1277
1277
  i = null;
@@ -1281,14 +1281,14 @@ function ir(e, t) {
1281
1281
  }
1282
1282
  return (e = i && i[e]) != null ? e : t;
1283
1283
  }
1284
- function $t() {
1284
+ function jt() {
1285
1285
  throw Error("Invalid UTF8");
1286
1286
  }
1287
1287
  function no(e, t) {
1288
1288
  return t = String.fromCharCode.apply(null, t), e == null ? t : e + t;
1289
1289
  }
1290
- let _r, gn;
1291
- const Ed = typeof TextDecoder < "u";
1290
+ let xr, mn;
1291
+ const _d = typeof TextDecoder < "u";
1292
1292
  let kd;
1293
1293
  const Ad = typeof TextEncoder < "u";
1294
1294
  function Sa(e) {
@@ -1327,19 +1327,19 @@ function Ia(e) {
1327
1327
  throw e;
1328
1328
  }, 0);
1329
1329
  }
1330
- var Cn, Nd = ir(610401301, !1), so = ir(748402147, !0), ts = ir(824648567, !0), is = ir(824656860, ir(1, !0));
1330
+ var Tn, Nd = tr(610401301, !1), so = tr(748402147, !0), es = tr(824648567, !0), ts = tr(824656860, tr(1, !0));
1331
1331
  function oo() {
1332
1332
  var e = gi.navigator;
1333
1333
  return e && (e = e.userAgent) ? e : "";
1334
1334
  }
1335
1335
  const ao = gi.navigator;
1336
- function jr(e) {
1337
- return jr[" "](e), e;
1336
+ function Vr(e) {
1337
+ return Vr[" "](e), e;
1338
1338
  }
1339
- Cn = ao && ao.userAgentData || null, jr[" "] = function() {
1339
+ Tn = ao && ao.userAgentData || null, Vr[" "] = function() {
1340
1340
  };
1341
1341
  const Fa = {};
1342
- let Xi = null;
1342
+ let Yi = null;
1343
1343
  function Td(e) {
1344
1344
  const t = e.length;
1345
1345
  let i = 3 * t / 4;
@@ -1349,7 +1349,7 @@ function Td(e) {
1349
1349
  return function(s, o) {
1350
1350
  function a(u) {
1351
1351
  for (; l < s.length; ) {
1352
- const d = s.charAt(l++), h = Xi[d];
1352
+ const d = s.charAt(l++), h = Yi[d];
1353
1353
  if (h != null) return h;
1354
1354
  if (!/^[\s\xa0]*$/.test(d)) throw Error("Unknown base64 encoding at char: " + d);
1355
1355
  }
@@ -1367,20 +1367,20 @@ function Td(e) {
1367
1367
  }), n !== i ? r.subarray(0, n) : r;
1368
1368
  }
1369
1369
  function La() {
1370
- if (!Xi) {
1371
- Xi = {};
1370
+ if (!Yi) {
1371
+ Yi = {};
1372
1372
  var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), t = ["+/=", "+/", "-_=", "-_.", "-_"];
1373
1373
  for (let i = 0; i < 5; i++) {
1374
1374
  const r = e.concat(t[i].split(""));
1375
1375
  Fa[i] = r;
1376
1376
  for (let n = 0; n < r.length; n++) {
1377
1377
  const s = r[n];
1378
- Xi[s] === void 0 && (Xi[s] = n);
1378
+ Yi[s] === void 0 && (Yi[s] = n);
1379
1379
  }
1380
1380
  }
1381
1381
  }
1382
1382
  }
1383
- var Cd = typeof Uint8Array < "u", Ra = !(!(Nd && Cn && Cn.brands.length > 0) && (oo().indexOf("Trident") != -1 || oo().indexOf("MSIE") != -1)) && typeof btoa == "function";
1383
+ var Cd = typeof Uint8Array < "u", Ra = !(!(Nd && Tn && Tn.brands.length > 0) && (oo().indexOf("Trident") != -1 || oo().indexOf("MSIE") != -1)) && typeof btoa == "function";
1384
1384
  const co = /[-_.]/g, Sd = { "-": "+", _: "/", ".": "=" };
1385
1385
  function Id(e) {
1386
1386
  return Sd[e] || "";
@@ -1392,21 +1392,21 @@ function Ma(e) {
1392
1392
  for (let i = 0; i < e.length; i++) t[i] = e.charCodeAt(i);
1393
1393
  return t;
1394
1394
  }
1395
- function rs(e) {
1395
+ function is(e) {
1396
1396
  return Cd && e != null && e instanceof Uint8Array;
1397
1397
  }
1398
1398
  var pi = {};
1399
- function Jt() {
1399
+ function Qt() {
1400
1400
  return Fd || (Fd = new dt(null, pi));
1401
1401
  }
1402
- function ns(e) {
1402
+ function rs(e) {
1403
1403
  Da(pi);
1404
1404
  var t = e.g;
1405
- return (t = t == null || rs(t) ? t : typeof t == "string" ? Ma(t) : null) == null ? t : e.g = t;
1405
+ return (t = t == null || is(t) ? t : typeof t == "string" ? Ma(t) : null) == null ? t : e.g = t;
1406
1406
  }
1407
1407
  var dt = class {
1408
1408
  h() {
1409
- return new Uint8Array(ns(this) || 0);
1409
+ return new Uint8Array(rs(this) || 0);
1410
1410
  }
1411
1411
  constructor(e, t) {
1412
1412
  if (Da(t), this.g = e, e != null && e.length === 0) throw Error("ByteString should be constructed with non-empty values");
@@ -1419,7 +1419,7 @@ function Da(e) {
1419
1419
  function Pa(e, t) {
1420
1420
  e.__closure__error__context__984382 || (e.__closure__error__context__984382 = {}), e.__closure__error__context__984382.severity = t;
1421
1421
  }
1422
- function Sn(e) {
1422
+ function Cn(e) {
1423
1423
  return Pa(e = Error(e), "warning"), e;
1424
1424
  }
1425
1425
  function yi(e, t) {
@@ -1435,32 +1435,32 @@ var Fi = typeof Symbol == "function" && typeof Symbol() == "symbol";
1435
1435
  function ut(e, t, i = !1) {
1436
1436
  return typeof Symbol == "function" && typeof Symbol() == "symbol" ? i && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
1437
1437
  }
1438
- var Rd = ut("jas", void 0, !0), lo = ut(void 0, "0di"), Ki = ut(void 0, "1oa"), Be = ut(void 0, Symbol()), Md = ut(void 0, "0ub"), Dd = ut(void 0, "0ubs"), In = ut(void 0, "0ubsb"), Pd = ut(void 0, "0actk"), bi = ut("m_m", "Pa", !0), uo = ut();
1439
- const Oa = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Ba = Object.defineProperties, E = Fi ? Rd : "Ga";
1440
- var ti;
1438
+ var Rd = ut("jas", void 0, !0), lo = ut(void 0, "0di"), qi = ut(void 0, "1oa"), Ue = ut(void 0, Symbol()), Md = ut(void 0, "0ub"), Dd = ut(void 0, "0ubs"), Sn = ut(void 0, "0ubsb"), Pd = ut(void 0, "0actk"), bi = ut("m_m", "Pa", !0), uo = ut();
1439
+ const Oa = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Ba = Object.defineProperties, _ = Fi ? Rd : "Ga";
1440
+ var ei;
1441
1441
  const ho = [];
1442
- function cr(e, t) {
1443
- Fi || E in e || Ba(e, Oa), e[E] |= t;
1442
+ function ar(e, t) {
1443
+ Fi || _ in e || Ba(e, Oa), e[_] |= t;
1444
1444
  }
1445
1445
  function ge(e, t) {
1446
- Fi || E in e || Ba(e, Oa), e[E] = t;
1446
+ Fi || _ in e || Ba(e, Oa), e[_] = t;
1447
1447
  }
1448
- function lr(e) {
1449
- return cr(e, 34), e;
1448
+ function cr(e) {
1449
+ return ar(e, 34), e;
1450
1450
  }
1451
- function rr(e) {
1452
- return cr(e, 8192), e;
1451
+ function ir(e) {
1452
+ return ar(e, 8192), e;
1453
1453
  }
1454
- ge(ho, 7), ti = Object.freeze(ho);
1454
+ ge(ho, 7), ei = Object.freeze(ho);
1455
1455
  var vi = {};
1456
- function Ge(e, t) {
1457
- return t === void 0 ? e.h !== Zt && !!(2 & (0 | e.v[E])) : !!(2 & t) && e.h !== Zt;
1456
+ function Ve(e, t) {
1457
+ return t === void 0 ? e.h !== Jt && !!(2 & (0 | e.v[_])) : !!(2 & t) && e.h !== Jt;
1458
1458
  }
1459
- const Zt = {};
1460
- function ss(e, t) {
1459
+ const Jt = {};
1460
+ function ns(e, t) {
1461
1461
  if (e != null) {
1462
- if (typeof e == "string") e = e ? new dt(e, pi) : Jt();
1463
- else if (e.constructor !== dt) if (rs(e)) e = e.length ? new dt(new Uint8Array(e), pi) : Jt();
1462
+ if (typeof e == "string") e = e ? new dt(e, pi) : Qt();
1463
+ else if (e.constructor !== dt) if (is(e)) e = e.length ? new dt(new Uint8Array(e), pi) : Qt();
1464
1464
  else {
1465
1465
  if (!t) throw Error();
1466
1466
  e = void 0;
@@ -1496,19 +1496,19 @@ var Ga = {};
1496
1496
  function Li(e) {
1497
1497
  return 128 & e ? Ga : void 0;
1498
1498
  }
1499
- function $r(e) {
1499
+ function jr(e) {
1500
1500
  return e.Na = !0, e;
1501
1501
  }
1502
- var Bd = $r((e) => typeof e == "number"), fo = $r((e) => typeof e == "string"), Ud = $r((e) => typeof e == "boolean"), Wr = typeof gi.BigInt == "function" && typeof gi.BigInt(0) == "bigint";
1503
- function Ue(e) {
1502
+ var Bd = jr((e) => typeof e == "number"), fo = jr((e) => typeof e == "string"), Ud = jr((e) => typeof e == "boolean"), $r = typeof gi.BigInt == "function" && typeof gi.BigInt(0) == "bigint";
1503
+ function Ge(e) {
1504
1504
  var t = e;
1505
1505
  if (fo(t)) {
1506
1506
  if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t)) throw Error(String(t));
1507
1507
  } else if (Bd(t) && !Number.isSafeInteger(t)) throw Error(String(t));
1508
- return Wr ? BigInt(e) : e = Ud(e) ? e ? "1" : "0" : fo(e) ? e.trim() || "0" : String(e);
1508
+ return $r ? BigInt(e) : e = Ud(e) ? e ? "1" : "0" : fo(e) ? e.trim() || "0" : String(e);
1509
1509
  }
1510
- var Fn = $r((e) => Wr ? e >= Vd && e <= $d : e[0] === "-" ? mo(e, Gd) : mo(e, jd));
1511
- const Gd = Number.MIN_SAFE_INTEGER.toString(), Vd = Wr ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, jd = Number.MAX_SAFE_INTEGER.toString(), $d = Wr ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
1510
+ var In = jr((e) => $r ? e >= Vd && e <= $d : e[0] === "-" ? mo(e, Gd) : mo(e, jd));
1511
+ const Gd = Number.MIN_SAFE_INTEGER.toString(), Vd = $r ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, jd = Number.MAX_SAFE_INTEGER.toString(), $d = $r ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
1512
1512
  function mo(e, t) {
1513
1513
  if (e.length > t.length) return !1;
1514
1514
  if (e.length < t.length || e === t) return !0;
@@ -1527,29 +1527,29 @@ function go(e) {
1527
1527
  function xi(e) {
1528
1528
  if (e < 0) {
1529
1529
  go(-e);
1530
- const [t, i] = ls(re, ue);
1530
+ const [t, i] = cs(re, ue);
1531
1531
  re = t >>> 0, ue = i >>> 0;
1532
1532
  } else go(e);
1533
1533
  }
1534
- function os(e) {
1534
+ function ss(e) {
1535
1535
  const t = zd || (zd = new DataView(new ArrayBuffer(8)));
1536
1536
  t.setFloat32(0, +e, !0), ue = 0, re = t.getUint32(0, !0);
1537
1537
  }
1538
- function Ln(e, t) {
1538
+ function Fn(e, t) {
1539
1539
  const i = 4294967296 * t + (e >>> 0);
1540
- return Number.isSafeInteger(i) ? i : nr(e, t);
1540
+ return Number.isSafeInteger(i) ? i : rr(e, t);
1541
1541
  }
1542
1542
  function Hd(e, t) {
1543
- return Ue(Ii() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : nr(e, t));
1543
+ return Ge(Ii() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : rr(e, t));
1544
1544
  }
1545
- function as(e, t) {
1545
+ function os(e, t) {
1546
1546
  const i = 2147483648 & t;
1547
- return i && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e = Ln(e, t)) == "number" ? i ? -e : e : i ? "-" + e : e;
1547
+ return i && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e = Fn(e, t)) == "number" ? i ? -e : e : i ? "-" + e : e;
1548
1548
  }
1549
1549
  function Va(e, t) {
1550
- return Ii() ? Ue(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : Ue(cs(e, t));
1550
+ return Ii() ? Ge(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : Ge(as(e, t));
1551
1551
  }
1552
- function nr(e, t) {
1552
+ function rr(e, t) {
1553
1553
  if (e >>>= 0, (t >>>= 0) <= 2097151) var i = "" + (4294967296 * t + e);
1554
1554
  else Ii() ? i = "" + (BigInt(t) << BigInt(32) | BigInt(e)) : (e = (16777215 & e) + 6777216 * (i = 16777215 & (e >>> 24 | t << 8)) + 6710656 * (t = t >> 16 & 65535), i += 8147497 * t, t *= 2, e >= 1e7 && (i += e / 1e7 >>> 0, e %= 1e7), i >= 1e7 && (t += i / 1e7 >>> 0, i %= 1e7), i = t + po(i) + po(e));
1555
1555
  return i;
@@ -1557,16 +1557,16 @@ function nr(e, t) {
1557
1557
  function po(e) {
1558
1558
  return e = String(e), "0000000".slice(e.length) + e;
1559
1559
  }
1560
- function cs(e, t) {
1560
+ function as(e, t) {
1561
1561
  if (2147483648 & t) if (Ii()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
1562
1562
  else {
1563
- const [i, r] = ls(e, t);
1564
- e = "-" + nr(i, r);
1563
+ const [i, r] = cs(e, t);
1564
+ e = "-" + rr(i, r);
1565
1565
  }
1566
- else e = nr(e, t);
1566
+ else e = rr(e, t);
1567
1567
  return e;
1568
1568
  }
1569
- function zr(e) {
1569
+ function Wr(e) {
1570
1570
  if (e.length < 16) xi(Number(e));
1571
1571
  else if (Ii()) e = BigInt(e), re = Number(e & BigInt(4294967295)) >>> 0, ue = Number(e >> BigInt(32) & BigInt(4294967295));
1572
1572
  else {
@@ -1578,26 +1578,26 @@ function zr(e) {
1578
1578
  ue *= 1e6, re = 1e6 * re + s, re >= 4294967296 && (ue += Math.trunc(re / 4294967296), ue >>>= 0, re >>>= 0);
1579
1579
  }
1580
1580
  if (t) {
1581
- const [r, n] = ls(re, ue);
1581
+ const [r, n] = cs(re, ue);
1582
1582
  re = r, ue = n;
1583
1583
  }
1584
1584
  }
1585
1585
  }
1586
- function ls(e, t) {
1586
+ function cs(e, t) {
1587
1587
  return t = ~t, e ? e = 1 + ~e : t += 1, [e, t];
1588
1588
  }
1589
1589
  function it(e) {
1590
1590
  return Array.prototype.slice.call(e);
1591
1591
  }
1592
- const dr = typeof BigInt == "function" ? BigInt.asIntN : void 0, qd = typeof BigInt == "function" ? BigInt.asUintN : void 0, ei = Number.isSafeInteger, Hr = Number.isFinite, _i = Math.trunc, Kd = Ue(0);
1593
- function Qi(e) {
1592
+ const lr = typeof BigInt == "function" ? BigInt.asIntN : void 0, qd = typeof BigInt == "function" ? BigInt.asUintN : void 0, Zt = Number.isSafeInteger, zr = Number.isFinite, Ei = Math.trunc, Kd = Ge(0);
1593
+ function Xi(e) {
1594
1594
  if (e != null && typeof e != "number") throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);
1595
1595
  return e;
1596
1596
  }
1597
1597
  function lt(e) {
1598
1598
  return e == null || typeof e == "number" ? e : e === "NaN" || e === "Infinity" || e === "-Infinity" ? Number(e) : void 0;
1599
1599
  }
1600
- function sr(e) {
1600
+ function nr(e) {
1601
1601
  if (e != null && typeof e != "boolean") {
1602
1602
  var t = typeof e;
1603
1603
  throw Error(`Expected boolean but got ${t != "object" ? t : e ? Array.isArray(e) ? "array" : t : "null"}: ${e}`);
@@ -1608,12 +1608,12 @@ function ja(e) {
1608
1608
  return e == null || typeof e == "boolean" ? e : typeof e == "number" ? !!e : void 0;
1609
1609
  }
1610
1610
  const Yd = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
1611
- function ur(e) {
1611
+ function dr(e) {
1612
1612
  switch (typeof e) {
1613
1613
  case "bigint":
1614
1614
  return !0;
1615
1615
  case "number":
1616
- return Hr(e);
1616
+ return zr(e);
1617
1617
  case "string":
1618
1618
  return Yd.test(e);
1619
1619
  default:
@@ -1624,74 +1624,74 @@ function Ri(e) {
1624
1624
  if (e == null) return e;
1625
1625
  if (typeof e == "string" && e) e = +e;
1626
1626
  else if (typeof e != "number") return;
1627
- return Hr(e) ? 0 | e : void 0;
1627
+ return zr(e) ? 0 | e : void 0;
1628
1628
  }
1629
1629
  function $a(e) {
1630
1630
  if (e == null) return e;
1631
1631
  if (typeof e == "string" && e) e = +e;
1632
1632
  else if (typeof e != "number") return;
1633
- return Hr(e) ? e >>> 0 : void 0;
1633
+ return zr(e) ? e >>> 0 : void 0;
1634
1634
  }
1635
1635
  function Wa(e) {
1636
1636
  const t = e.length;
1637
- return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (zr(e), cs(re, ue));
1637
+ return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (Wr(e), as(re, ue));
1638
1638
  }
1639
- function ds(e) {
1640
- return e = _i(e), ei(e) || (xi(e), e = as(re, ue)), e;
1639
+ function ls(e) {
1640
+ return e = Ei(e), Zt(e) || (xi(e), e = os(re, ue)), e;
1641
1641
  }
1642
1642
  function za(e) {
1643
- var t = _i(Number(e));
1644
- return ei(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Wa(e));
1643
+ var t = Ei(Number(e));
1644
+ return Zt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Wa(e));
1645
1645
  }
1646
1646
  function Ha(e) {
1647
- var t = _i(Number(e));
1648
- return ei(t) ? Ue(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ii() ? Ue(dr(64, BigInt(e))) : Ue(Wa(e)));
1647
+ var t = Ei(Number(e));
1648
+ return Zt(t) ? Ge(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ii() ? Ge(lr(64, BigInt(e))) : Ge(Wa(e)));
1649
1649
  }
1650
1650
  function qa(e) {
1651
- return ei(e) ? e = Ue(ds(e)) : (e = _i(e), ei(e) ? e = String(e) : (xi(e), e = cs(re, ue)), e = Ue(e)), e;
1651
+ return Zt(e) ? e = Ge(ls(e)) : (e = Ei(e), Zt(e) ? e = String(e) : (xi(e), e = as(re, ue)), e = Ge(e)), e;
1652
1652
  }
1653
1653
  function Xd(e) {
1654
- return e == null ? e : typeof e == "bigint" ? (Fn(e) ? e = Number(e) : (e = dr(64, e), e = Fn(e) ? Number(e) : String(e)), e) : ur(e) ? typeof e == "number" ? ds(e) : za(e) : void 0;
1654
+ return e == null ? e : typeof e == "bigint" ? (In(e) ? e = Number(e) : (e = lr(64, e), e = In(e) ? Number(e) : String(e)), e) : dr(e) ? typeof e == "number" ? ls(e) : za(e) : void 0;
1655
1655
  }
1656
- function Ir(e) {
1656
+ function Sr(e) {
1657
1657
  const t = typeof e;
1658
- return e == null ? e : t === "bigint" ? Ue(dr(64, e)) : ur(e) ? t === "string" ? Ha(e) : qa(e) : void 0;
1658
+ return e == null ? e : t === "bigint" ? Ge(lr(64, e)) : dr(e) ? t === "string" ? Ha(e) : qa(e) : void 0;
1659
1659
  }
1660
1660
  function Ka(e) {
1661
1661
  if (typeof e != "string") throw Error();
1662
1662
  return e;
1663
1663
  }
1664
- function hr(e) {
1664
+ function ur(e) {
1665
1665
  if (e != null && typeof e != "string") throw Error();
1666
1666
  return e;
1667
1667
  }
1668
- function _e(e) {
1668
+ function Ee(e) {
1669
1669
  return e == null || typeof e == "string" ? e : void 0;
1670
1670
  }
1671
- function us(e, t, i, r) {
1672
- return e != null && e[bi] === vi ? e : Array.isArray(e) ? ((r = (i = 0 | e[E]) | 32 & r | 2 & r) !== i && ge(e, r), new t(e)) : (i ? 2 & r ? ((e = t[lo]) || (lr((e = new t()).v), e = t[lo] = e), t = e) : t = new t() : t = void 0, t);
1671
+ function ds(e, t, i, r) {
1672
+ return e != null && e[bi] === vi ? e : Array.isArray(e) ? ((r = (i = 0 | e[_]) | 32 & r | 2 & r) !== i && ge(e, r), new t(e)) : (i ? 2 & r ? ((e = t[lo]) || (cr((e = new t()).v), e = t[lo] = e), t = e) : t = new t() : t = void 0, t);
1673
1673
  }
1674
1674
  function Qd(e, t, i) {
1675
1675
  if (t) e: {
1676
- if (!ur(t = e)) throw Sn("int64");
1676
+ if (!dr(t = e)) throw Cn("int64");
1677
1677
  switch (typeof t) {
1678
1678
  case "string":
1679
1679
  t = Ha(t);
1680
1680
  break e;
1681
1681
  case "bigint":
1682
- t = Ue(dr(64, t));
1682
+ t = Ge(lr(64, t));
1683
1683
  break e;
1684
1684
  default:
1685
1685
  t = qa(t);
1686
1686
  }
1687
1687
  }
1688
- else t = Ir(e);
1688
+ else t = Sr(e);
1689
1689
  return (e = t) == null ? i ? Kd : void 0 : e;
1690
1690
  }
1691
1691
  const Jd = {};
1692
1692
  let Zd = function() {
1693
1693
  try {
1694
- return jr(new class extends Map {
1694
+ return Vr(new class extends Map {
1695
1695
  constructor() {
1696
1696
  super();
1697
1697
  }
@@ -1700,7 +1700,7 @@ let Zd = function() {
1700
1700
  return !0;
1701
1701
  }
1702
1702
  }();
1703
- class pn {
1703
+ class gn {
1704
1704
  constructor() {
1705
1705
  this.g = /* @__PURE__ */ new Map();
1706
1706
  }
@@ -1735,7 +1735,7 @@ class pn {
1735
1735
  return this.entries();
1736
1736
  }
1737
1737
  }
1738
- const eu = Zd ? (Object.setPrototypeOf(pn.prototype, Map.prototype), Object.defineProperties(pn.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), pn) : class extends Map {
1738
+ const eu = Zd ? (Object.setPrototypeOf(gn.prototype, Map.prototype), Object.defineProperties(gn.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), gn) : class extends Map {
1739
1739
  constructor() {
1740
1740
  super();
1741
1741
  }
@@ -1743,12 +1743,12 @@ const eu = Zd ? (Object.setPrototypeOf(pn.prototype, Map.prototype), Object.defi
1743
1743
  function yo(e) {
1744
1744
  return e;
1745
1745
  }
1746
- function yn(e) {
1746
+ function pn(e) {
1747
1747
  if (2 & e.J) throw Error("Cannot mutate an immutable Map");
1748
1748
  }
1749
1749
  var bt = class extends eu {
1750
1750
  constructor(e, t, i = yo, r = yo) {
1751
- super(), this.J = 0 | e[E], this.K = t, this.S = i, this.fa = this.K ? tu : r;
1751
+ super(), this.J = 0 | e[_], this.K = t, this.S = i, this.fa = this.K ? tu : r;
1752
1752
  for (let n = 0; n < e.length; n++) {
1753
1753
  const s = e[n], o = i(s[0], !1, !0);
1754
1754
  let a = s[1];
@@ -1756,13 +1756,13 @@ var bt = class extends eu {
1756
1756
  }
1757
1757
  }
1758
1758
  V(e) {
1759
- return rr(Array.from(super.entries(), e));
1759
+ return ir(Array.from(super.entries(), e));
1760
1760
  }
1761
1761
  clear() {
1762
- yn(this), super.clear();
1762
+ pn(this), super.clear();
1763
1763
  }
1764
1764
  delete(e) {
1765
- return yn(this), super.delete(this.S(e, !0, !1));
1765
+ return pn(this), super.delete(this.S(e, !0, !1));
1766
1766
  }
1767
1767
  entries() {
1768
1768
  if (this.K) {
@@ -1784,7 +1784,7 @@ var bt = class extends eu {
1784
1784
  }) : super.forEach(e, t);
1785
1785
  }
1786
1786
  set(e, t) {
1787
- return yn(this), (e = this.S(e, !0, !1)) == null ? this : t == null ? (super.delete(e), this) : super.set(e, this.fa(t, !0, !0, this.K, !1, this.J));
1787
+ return pn(this), (e = this.S(e, !0, !1)) == null ? this : t == null ? (super.delete(e), this) : super.set(e, this.fa(t, !0, !0, this.K, !1, this.J));
1788
1788
  }
1789
1789
  Ma(e) {
1790
1790
  const t = this.S(e[0], !1, !0);
@@ -1806,33 +1806,33 @@ var bt = class extends eu {
1806
1806
  }
1807
1807
  };
1808
1808
  function tu(e, t, i, r, n, s) {
1809
- return e = us(e, r, i, s), n && (e = ws(e)), e;
1809
+ return e = ds(e, r, i, s), n && (e = hs(e)), e;
1810
1810
  }
1811
1811
  function iu(e) {
1812
1812
  return [e, this.get(e)];
1813
1813
  }
1814
1814
  let ru;
1815
1815
  function bo() {
1816
- return ru || (ru = new bt(lr([]), void 0, void 0, void 0, Jd));
1816
+ return ru || (ru = new bt(cr([]), void 0, void 0, void 0, Jd));
1817
1817
  }
1818
- function qr(e) {
1819
- return Be ? e[Be] : void 0;
1818
+ function Hr(e) {
1819
+ return Ue ? e[Ue] : void 0;
1820
1820
  }
1821
- function Fr(e, t) {
1821
+ function Ir(e, t) {
1822
1822
  for (const i in e) !isNaN(i) && t(e, +i, e[i]);
1823
1823
  }
1824
1824
  bt.prototype.toJSON = void 0;
1825
- var Rn = class {
1825
+ var Ln = class {
1826
1826
  };
1827
1827
  const nu = { Ka: !0 };
1828
1828
  function su(e, t) {
1829
1829
  t < 100 || yi(Dd, 1);
1830
1830
  }
1831
- function Kr(e, t, i, r) {
1831
+ function qr(e, t, i, r) {
1832
1832
  const n = r !== void 0;
1833
1833
  r = !!r;
1834
- var s, o = Be;
1835
- !n && Fi && o && (s = e[o]) && Fr(s, su), o = [];
1834
+ var s, o = Ue;
1835
+ !n && Fi && o && (s = e[o]) && Ir(s, su), o = [];
1836
1836
  var a = e.length;
1837
1837
  let l;
1838
1838
  s = 4294967295;
@@ -1851,28 +1851,28 @@ function Kr(e, t, i, r) {
1851
1851
  let g;
1852
1852
  w = +f, d && !Number.isNaN(w) && (g = w + h) < s ? o[g] = a : (t ?? (t = {}))[f] = a;
1853
1853
  }
1854
- return t && (u ? o.push(t) : o[s] = t), n && Be && (e = qr(e)) && e instanceof Rn && (o[Be] = function(f) {
1855
- const g = new Rn();
1856
- return Fr(f, (b, p, y) => {
1854
+ return t && (u ? o.push(t) : o[s] = t), n && Ue && (e = Hr(e)) && e instanceof Ln && (o[Ue] = function(f) {
1855
+ const g = new Ln();
1856
+ return Ir(f, (b, p, y) => {
1857
1857
  g[p] = it(y);
1858
1858
  }), g.da = f.da, g;
1859
1859
  }(e)), o;
1860
1860
  }
1861
1861
  function ou(e) {
1862
- return e[0] = or(e[0]), e[1] = or(e[1]), e;
1862
+ return e[0] = sr(e[0]), e[1] = sr(e[1]), e;
1863
1863
  }
1864
- function or(e) {
1864
+ function sr(e) {
1865
1865
  switch (typeof e) {
1866
1866
  case "number":
1867
1867
  return Number.isFinite(e) ? e : "" + e;
1868
1868
  case "bigint":
1869
- return Fn(e) ? Number(e) : "" + e;
1869
+ return In(e) ? Number(e) : "" + e;
1870
1870
  case "boolean":
1871
1871
  return e ? 1 : 0;
1872
1872
  case "object":
1873
1873
  if (Array.isArray(e)) {
1874
- var t = 0 | e[E];
1875
- return e.length === 0 && 1 & t ? void 0 : Kr(e, t, or);
1874
+ var t = 0 | e[_];
1875
+ return e.length === 0 && 1 & t ? void 0 : qr(e, t, sr);
1876
1876
  }
1877
1877
  if (e != null && e[bi] === vi) return Ya(e);
1878
1878
  if (e instanceof dt) {
@@ -1906,10 +1906,10 @@ function or(e) {
1906
1906
  return e;
1907
1907
  }
1908
1908
  function Ya(e) {
1909
- return Kr(e = e.v, 0 | e[E], or);
1909
+ return qr(e = e.v, 0 | e[_], sr);
1910
1910
  }
1911
1911
  let au, cu;
1912
- function qt(e, t) {
1912
+ function Ht(e, t) {
1913
1913
  return Xa(e, t[0], t[1]);
1914
1914
  }
1915
1915
  function Xa(e, t, i, r = 0) {
@@ -1918,7 +1918,7 @@ function Xa(e, t, i, r = 0) {
1918
1918
  i ? (e = [i], n |= 128) : e = [], t && (n = -16760833 & n | (1023 & t) << 14);
1919
1919
  } else {
1920
1920
  if (!Array.isArray(e)) throw Error("narr");
1921
- if (n = 0 | e[E], so && 1 & n) throw Error("rfarr");
1921
+ if (n = 0 | e[_], so && 1 & n) throw Error("rfarr");
1922
1922
  if (2048 & n && !(2 & n) && function() {
1923
1923
  if (so) throw Error("carr");
1924
1924
  yi(Pd, 5);
@@ -1949,56 +1949,56 @@ function Xa(e, t, i, r = 0) {
1949
1949
  function lu(e, t) {
1950
1950
  if (typeof e != "object") return e;
1951
1951
  if (Array.isArray(e)) {
1952
- var i = 0 | e[E];
1952
+ var i = 0 | e[_];
1953
1953
  return e.length === 0 && 1 & i ? void 0 : vo(e, i, t);
1954
1954
  }
1955
1955
  if (e != null && e[bi] === vi) return xo(e);
1956
1956
  if (e instanceof bt) {
1957
1957
  if (2 & (t = e.J)) return e;
1958
1958
  if (!e.size) return;
1959
- if (i = lr(e.V()), e.K) for (e = 0; e < i.length; e++) {
1959
+ if (i = cr(e.V()), e.K) for (e = 0; e < i.length; e++) {
1960
1960
  const r = i[e];
1961
1961
  let n = r[1];
1962
- n = n == null || typeof n != "object" ? void 0 : n != null && n[bi] === vi ? xo(n) : Array.isArray(n) ? vo(n, 0 | n[E], !!(32 & t)) : void 0, r[1] = n;
1962
+ n = n == null || typeof n != "object" ? void 0 : n != null && n[bi] === vi ? xo(n) : Array.isArray(n) ? vo(n, 0 | n[_], !!(32 & t)) : void 0, r[1] = n;
1963
1963
  }
1964
1964
  return i;
1965
1965
  }
1966
1966
  return e instanceof dt ? e : void 0;
1967
1967
  }
1968
1968
  function vo(e, t, i) {
1969
- return 2 & t || (!i || 4096 & t || 16 & t ? e = Mi(e, t, !1, i && !(16 & t)) : (cr(e, 34), 4 & t && Object.freeze(e))), e;
1969
+ return 2 & t || (!i || 4096 & t || 16 & t ? e = Mi(e, t, !1, i && !(16 & t)) : (ar(e, 34), 4 & t && Object.freeze(e))), e;
1970
1970
  }
1971
- function hs(e, t, i) {
1972
- return e = new e.constructor(t), i && (e.h = Zt), e.m = Zt, e;
1971
+ function us(e, t, i) {
1972
+ return e = new e.constructor(t), i && (e.h = Jt), e.m = Jt, e;
1973
1973
  }
1974
1974
  function xo(e) {
1975
- const t = e.v, i = 0 | t[E];
1976
- return Ge(e, i) ? e : fs(e, t, i) ? hs(e, t) : Mi(t, i);
1975
+ const t = e.v, i = 0 | t[_];
1976
+ return Ve(e, i) ? e : ws(e, t, i) ? us(e, t) : Mi(t, i);
1977
1977
  }
1978
1978
  function Mi(e, t, i, r) {
1979
- return r ?? (r = !!(34 & t)), e = Kr(e, t, lu, r), r = 32, i && (r |= 2), ge(e, t = 16769217 & t | r), e;
1979
+ return r ?? (r = !!(34 & t)), e = qr(e, t, lu, r), r = 32, i && (r |= 2), ge(e, t = 16769217 & t | r), e;
1980
1980
  }
1981
- function ws(e) {
1982
- const t = e.v, i = 0 | t[E];
1983
- return Ge(e, i) ? fs(e, t, i) ? hs(e, t, !0) : new e.constructor(Mi(t, i, !1)) : e;
1981
+ function hs(e) {
1982
+ const t = e.v, i = 0 | t[_];
1983
+ return Ve(e, i) ? ws(e, t, i) ? us(e, t, !0) : new e.constructor(Mi(t, i, !1)) : e;
1984
1984
  }
1985
1985
  function Di(e) {
1986
- if (e.h !== Zt) return !1;
1986
+ if (e.h !== Jt) return !1;
1987
1987
  var t = e.v;
1988
- return cr(t = Mi(t, 0 | t[E]), 2048), e.v = t, e.h = void 0, e.m = void 0, !0;
1988
+ return ar(t = Mi(t, 0 | t[_]), 2048), e.v = t, e.h = void 0, e.m = void 0, !0;
1989
1989
  }
1990
1990
  function Pi(e) {
1991
- if (!Di(e) && Ge(e, 0 | e.v[E])) throw Error();
1991
+ if (!Di(e) && Ve(e, 0 | e.v[_])) throw Error();
1992
1992
  }
1993
- function ii(e, t) {
1994
- t === void 0 && (t = 0 | e[E]), 32 & t && !(4096 & t) && ge(e, 4096 | t);
1993
+ function ti(e, t) {
1994
+ t === void 0 && (t = 0 | e[_]), 32 & t && !(4096 & t) && ge(e, 4096 | t);
1995
1995
  }
1996
- function fs(e, t, i) {
1997
- return !!(2 & i) || !(!(32 & i) || 4096 & i) && (ge(t, 2 | i), e.h = Zt, !0);
1996
+ function ws(e, t, i) {
1997
+ return !!(2 & i) || !(!(32 & i) || 4096 & i) && (ge(t, 2 | i), e.h = Jt, !0);
1998
1998
  }
1999
- const du = Ue(0), St = {};
1999
+ const du = Ge(0), St = {};
2000
2000
  function ee(e, t, i, r, n) {
2001
- if ((t = vt(e.v, t, i, n)) !== null || r && e.m !== Zt) return t;
2001
+ if ((t = vt(e.v, t, i, n)) !== null || r && e.m !== Jt) return t;
2002
2002
  }
2003
2003
  function vt(e, t, i, r) {
2004
2004
  if (t === -1) return null;
@@ -2019,7 +2019,7 @@ function vt(e, t, i, r) {
2019
2019
  }
2020
2020
  }
2021
2021
  function H(e, t, i, r) {
2022
- Pi(e), fe(e = e.v, 0 | e[E], t, i, r);
2022
+ Pi(e), fe(e = e.v, 0 | e[_], t, i, r);
2023
2023
  }
2024
2024
  function fe(e, t, i, r, n) {
2025
2025
  const s = i + (n ? 0 : -1);
@@ -2028,18 +2028,18 @@ function fe(e, t, i, r, n) {
2028
2028
  const a = e[o];
2029
2029
  if (a != null && typeof a == "object" && a.constructor === Object) return a[i] = r, t;
2030
2030
  }
2031
- return s <= o ? (e[s] = r, t) : (r !== void 0 && (i >= (o = (t ?? (t = 0 | e[E])) >> 14 & 1023 || 536870912) ? r != null && (e[o + (n ? 0 : -1)] = { [i]: r }) : e[s] = r), t);
2031
+ return s <= o ? (e[s] = r, t) : (r !== void 0 && (i >= (o = (t ?? (t = 0 | e[_])) >> 14 & 1023 || 536870912) ? r != null && (e[o + (n ? 0 : -1)] = { [i]: r }) : e[s] = r), t);
2032
2032
  }
2033
- function zt() {
2033
+ function Wt() {
2034
2034
  return Od === void 0 ? 2 : 4;
2035
2035
  }
2036
- function Ht(e, t, i, r, n) {
2037
- let s = e.v, o = 0 | s[E];
2038
- r = Ge(e, o) ? 1 : r, n = !!n || r === 3, r === 2 && Di(e) && (s = e.v, o = 0 | s[E]);
2039
- let a = (e = ms(s, t)) === ti ? 7 : 0 | e[E], l = gs(a, o);
2036
+ function zt(e, t, i, r, n) {
2037
+ let s = e.v, o = 0 | s[_];
2038
+ r = Ve(e, o) ? 1 : r, n = !!n || r === 3, r === 2 && Di(e) && (s = e.v, o = 0 | s[_]);
2039
+ let a = (e = fs(s, t)) === ei ? 7 : 0 | e[_], l = ms(a, o);
2040
2040
  var u = !(4 & l);
2041
2041
  if (u) {
2042
- 4 & l && (e = it(e), a = 0, l = Yt(l, o), o = fe(s, o, t, e));
2042
+ 4 & l && (e = it(e), a = 0, l = Kt(l, o), o = fe(s, o, t, e));
2043
2043
  let d = 0, h = 0;
2044
2044
  for (; d < e.length; d++) {
2045
2045
  const w = i(e[d]);
@@ -2051,52 +2051,52 @@ function Ht(e, t, i, r, n) {
2051
2051
  }
2052
2052
  function Qa(e, t, i, r, n, s, o, a) {
2053
2053
  let l = t;
2054
- return s === 1 || s === 4 && (2 & t || !(16 & t) && 32 & r) ? Kt(t) || ((t |= !e.length || o && !(4096 & t) || 32 & r && !(4096 & t || 16 & t) ? 2 : 256) !== l && ge(e, t), Object.freeze(e)) : (s === 2 && Kt(t) && (e = it(e), l = 0, t = Yt(t, r), r = fe(i, r, n, e)), Kt(t) || (a || (t |= 16), t !== l && ge(e, t))), 2 & t || !(4096 & t || 16 & t) || ii(i, r), e;
2054
+ return s === 1 || s === 4 && (2 & t || !(16 & t) && 32 & r) ? qt(t) || ((t |= !e.length || o && !(4096 & t) || 32 & r && !(4096 & t || 16 & t) ? 2 : 256) !== l && ge(e, t), Object.freeze(e)) : (s === 2 && qt(t) && (e = it(e), l = 0, t = Kt(t, r), r = fe(i, r, n, e)), qt(t) || (a || (t |= 16), t !== l && ge(e, t))), 2 & t || !(4096 & t || 16 & t) || ti(i, r), e;
2055
2055
  }
2056
- function ms(e, t, i) {
2057
- return e = vt(e, t, i), Array.isArray(e) ? e : ti;
2056
+ function fs(e, t, i) {
2057
+ return e = vt(e, t, i), Array.isArray(e) ? e : ei;
2058
2058
  }
2059
- function gs(e, t) {
2059
+ function ms(e, t) {
2060
2060
  return 2 & t && (e |= 2), 1 | e;
2061
2061
  }
2062
- function Kt(e) {
2062
+ function qt(e) {
2063
2063
  return !!(2 & e) && !!(4 & e) || !!(256 & e);
2064
2064
  }
2065
2065
  function Ja(e) {
2066
- return ss(e, !0);
2066
+ return ns(e, !0);
2067
2067
  }
2068
2068
  function Za(e) {
2069
2069
  e = it(e);
2070
2070
  for (let t = 0; t < e.length; t++) {
2071
2071
  const i = e[t] = it(e[t]);
2072
- Array.isArray(i[1]) && (i[1] = lr(i[1]));
2072
+ Array.isArray(i[1]) && (i[1] = cr(i[1]));
2073
2073
  }
2074
- return rr(e);
2074
+ return ir(e);
2075
2075
  }
2076
2076
  function Rt(e, t, i, r) {
2077
- Pi(e), fe(e = e.v, 0 | e[E], t, (r === "0" ? Number(i) === 0 : i === r) ? void 0 : i);
2077
+ Pi(e), fe(e = e.v, 0 | e[_], t, (r === "0" ? Number(i) === 0 : i === r) ? void 0 : i);
2078
2078
  }
2079
2079
  function Oi(e, t, i) {
2080
2080
  if (2 & t) throw Error();
2081
2081
  const r = Li(t);
2082
- let n = ms(e, i, r), s = n === ti ? 7 : 0 | n[E], o = gs(s, t);
2083
- return (2 & o || Kt(o) || 16 & o) && (o === s || Kt(o) || ge(n, o), n = it(n), s = 0, o = Yt(o, t), fe(e, t, i, n, r)), o &= -13, o !== s && ge(n, o), n;
2082
+ let n = fs(e, i, r), s = n === ei ? 7 : 0 | n[_], o = ms(s, t);
2083
+ return (2 & o || qt(o) || 16 & o) && (o === s || qt(o) || ge(n, o), n = it(n), s = 0, o = Kt(o, t), fe(e, t, i, n, r)), o &= -13, o !== s && ge(n, o), n;
2084
2084
  }
2085
- function bn(e, t) {
2085
+ function yn(e, t) {
2086
2086
  var i = zc;
2087
- return ys(ps(e = e.v), e, void 0, i) === t ? t : -1;
2087
+ return ps(gs(e = e.v), e, void 0, i) === t ? t : -1;
2088
2088
  }
2089
- function ps(e) {
2090
- if (Fi) return e[Ki] ?? (e[Ki] = /* @__PURE__ */ new Map());
2091
- if (Ki in e) return e[Ki];
2089
+ function gs(e) {
2090
+ if (Fi) return e[qi] ?? (e[qi] = /* @__PURE__ */ new Map());
2091
+ if (qi in e) return e[qi];
2092
2092
  const t = /* @__PURE__ */ new Map();
2093
- return Object.defineProperty(e, Ki, { value: t }), t;
2093
+ return Object.defineProperty(e, qi, { value: t }), t;
2094
2094
  }
2095
2095
  function ec(e, t, i, r, n) {
2096
- const s = ps(e), o = ys(s, e, t, i, n);
2096
+ const s = gs(e), o = ps(s, e, t, i, n);
2097
2097
  return o !== r && (o && (t = fe(e, t, o, void 0, n)), s.set(i, r)), t;
2098
2098
  }
2099
- function ys(e, t, i, r, n) {
2099
+ function ps(e, t, i, r, n) {
2100
2100
  let s = e.get(r);
2101
2101
  if (s != null) return s;
2102
2102
  s = 0;
@@ -2106,50 +2106,50 @@ function ys(e, t, i, r, n) {
2106
2106
  }
2107
2107
  return e.set(r, s), s;
2108
2108
  }
2109
- function bs(e, t, i) {
2110
- let r = 0 | e[E];
2109
+ function ys(e, t, i) {
2110
+ let r = 0 | e[_];
2111
2111
  const n = Li(r), s = vt(e, i, n);
2112
2112
  let o;
2113
2113
  if (s != null && s[bi] === vi) {
2114
- if (!Ge(s)) return Di(s), s.v;
2114
+ if (!Ve(s)) return Di(s), s.v;
2115
2115
  o = s.v;
2116
2116
  } else Array.isArray(s) && (o = s);
2117
2117
  if (o) {
2118
- const a = 0 | o[E];
2118
+ const a = 0 | o[_];
2119
2119
  2 & a && (o = Mi(o, a));
2120
2120
  }
2121
- return o = qt(o, t), o !== s && fe(e, r, i, o, n), o;
2121
+ return o = Ht(o, t), o !== s && fe(e, r, i, o, n), o;
2122
2122
  }
2123
2123
  function tc(e, t, i, r, n) {
2124
2124
  let s = !1;
2125
2125
  if ((r = vt(e, r, n, (o) => {
2126
- const a = us(o, i, !1, t);
2126
+ const a = ds(o, i, !1, t);
2127
2127
  return s = a !== o && a != null, a;
2128
- })) != null) return s && !Ge(r) && ii(e, t), r;
2128
+ })) != null) return s && !Ve(r) && ti(e, t), r;
2129
2129
  }
2130
2130
  function W(e, t, i, r) {
2131
- let n = e.v, s = 0 | n[E];
2131
+ let n = e.v, s = 0 | n[_];
2132
2132
  if ((t = tc(n, s, t, i, r)) == null) return t;
2133
- if (s = 0 | n[E], !Ge(e, s)) {
2134
- const o = ws(t);
2135
- o !== t && (Di(e) && (n = e.v, s = 0 | n[E]), s = fe(n, s, i, t = o, r), ii(n, s));
2133
+ if (s = 0 | n[_], !Ve(e, s)) {
2134
+ const o = hs(t);
2135
+ o !== t && (Di(e) && (n = e.v, s = 0 | n[_]), s = fe(n, s, i, t = o, r), ti(n, s));
2136
2136
  }
2137
2137
  return t;
2138
2138
  }
2139
2139
  function ic(e, t, i, r, n, s, o, a) {
2140
- var l = Ge(e, i);
2141
- s = l ? 1 : s, o = !!o || s === 3, l = a && !l, (s === 2 || l) && Di(e) && (i = 0 | (t = e.v)[E]);
2142
- var u = (e = ms(t, n)) === ti ? 7 : 0 | e[E], d = gs(u, i);
2140
+ var l = Ve(e, i);
2141
+ s = l ? 1 : s, o = !!o || s === 3, l = a && !l, (s === 2 || l) && Di(e) && (i = 0 | (t = e.v)[_]);
2142
+ var u = (e = fs(t, n)) === ei ? 7 : 0 | e[_], d = ms(u, i);
2143
2143
  if (a = !(4 & d)) {
2144
2144
  var h = e, w = i;
2145
2145
  const f = !!(2 & d);
2146
2146
  f && (w |= 2);
2147
2147
  let g = !f, b = !0, p = 0, y = 0;
2148
2148
  for (; p < h.length; p++) {
2149
- const v = us(h[p], r, !1, w);
2149
+ const v = ds(h[p], r, !1, w);
2150
2150
  if (v instanceof r) {
2151
2151
  if (!f) {
2152
- const T = Ge(v);
2152
+ const T = Ve(v);
2153
2153
  g && (g = !T), b && (b = T);
2154
2154
  }
2155
2155
  h[y++] = v;
@@ -2158,83 +2158,83 @@ function ic(e, t, i, r, n, s, o, a) {
2158
2158
  y < p && (h.length = y), d |= 4, d = b ? -4097 & d : 4096 | d, d = g ? 8 | d : -9 & d;
2159
2159
  }
2160
2160
  if (d !== u && (ge(e, d), 2 & d && Object.freeze(e)), l && !(8 & d || !e.length && (s === 1 || s === 4 && (2 & d || !(16 & d) && 32 & i)))) {
2161
- for (Kt(d) && (e = it(e), d = Yt(d, i), i = fe(t, i, n, e)), r = e, l = d, u = 0; u < r.length; u++) (h = r[u]) !== (d = ws(h)) && (r[u] = d);
2161
+ for (qt(d) && (e = it(e), d = Kt(d, i), i = fe(t, i, n, e)), r = e, l = d, u = 0; u < r.length; u++) (h = r[u]) !== (d = hs(h)) && (r[u] = d);
2162
2162
  l |= 8, ge(e, d = l = r.length ? 4096 | l : -4097 & l);
2163
2163
  }
2164
2164
  return Qa(e, d, t, i, n, s, a, o);
2165
2165
  }
2166
2166
  function xt(e, t, i) {
2167
2167
  const r = e.v;
2168
- return ic(e, r, 0 | r[E], t, i, zt(), !1, !0);
2168
+ return ic(e, r, 0 | r[_], t, i, Wt(), !1, !0);
2169
2169
  }
2170
2170
  function rc(e) {
2171
2171
  return e == null && (e = void 0), e;
2172
2172
  }
2173
2173
  function C(e, t, i, r, n) {
2174
- return H(e, i, r = rc(r), n), r && !Ge(r) && ii(e.v), e;
2174
+ return H(e, i, r = rc(r), n), r && !Ve(r) && ti(e.v), e;
2175
2175
  }
2176
- function Ji(e, t, i, r) {
2176
+ function Qi(e, t, i, r) {
2177
2177
  e: {
2178
2178
  var n = r = rc(r);
2179
2179
  Pi(e);
2180
2180
  const s = e.v;
2181
- let o = 0 | s[E];
2181
+ let o = 0 | s[_];
2182
2182
  if (n == null) {
2183
- const a = ps(s);
2184
- if (ys(a, s, o, i) !== t) break e;
2183
+ const a = gs(s);
2184
+ if (ps(a, s, o, i) !== t) break e;
2185
2185
  a.set(i, 0);
2186
2186
  } else o = ec(s, o, i, t);
2187
2187
  fe(s, o, t, n);
2188
2188
  }
2189
- r && !Ge(r) && ii(e.v);
2189
+ r && !Ve(r) && ti(e.v);
2190
2190
  }
2191
- function Yt(e, t) {
2191
+ function Kt(e, t) {
2192
2192
  return -273 & (2 & t ? 2 | e : -3 & e);
2193
2193
  }
2194
- function vs(e, t, i, r) {
2194
+ function bs(e, t, i, r) {
2195
2195
  var n = r;
2196
- Pi(e), e = ic(e, r = e.v, 0 | r[E], i, t, 2, !0), n = n ?? new i(), e.push(n), t = i = e === ti ? 7 : 0 | e[E], (n = Ge(n)) ? (i &= -9, e.length === 1 && (i &= -4097)) : i |= 4096, i !== t && ge(e, i), n || ii(r);
2196
+ Pi(e), e = ic(e, r = e.v, 0 | r[_], i, t, 2, !0), n = n ?? new i(), e.push(n), t = i = e === ei ? 7 : 0 | e[_], (n = Ve(n)) ? (i &= -9, e.length === 1 && (i &= -4097)) : i |= 4096, i !== t && ge(e, i), n || ti(r);
2197
2197
  }
2198
2198
  function Qe(e, t, i) {
2199
2199
  return Ri(ee(e, t, void 0, i));
2200
2200
  }
2201
2201
  function nc(e) {
2202
- return (is ? ee(e, 2, void 0, void 0, Ir) : Ir(ee(e, 2))) ?? du;
2202
+ return (ts ? ee(e, 2, void 0, void 0, Sr) : Sr(ee(e, 2))) ?? du;
2203
2203
  }
2204
2204
  function le(e, t) {
2205
2205
  return ee(e, t, void 0, void 0, lt) ?? 0;
2206
2206
  }
2207
- function _t(e, t, i) {
2207
+ function Et(e, t, i) {
2208
2208
  if (i != null) {
2209
- if (typeof i != "number" || !Hr(i)) throw Sn("int32");
2209
+ if (typeof i != "number" || !zr(i)) throw Cn("int32");
2210
2210
  i |= 0;
2211
2211
  }
2212
2212
  H(e, t, i);
2213
2213
  }
2214
2214
  function N(e, t, i) {
2215
- H(e, t, Qi(i));
2215
+ H(e, t, Xi(i));
2216
2216
  }
2217
- function Ve(e, t, i) {
2218
- Rt(e, t, hr(i), "");
2217
+ function je(e, t, i) {
2218
+ Rt(e, t, ur(i), "");
2219
2219
  }
2220
- function Lr(e, t, i) {
2220
+ function Fr(e, t, i) {
2221
2221
  {
2222
2222
  Pi(e);
2223
2223
  const o = e.v;
2224
- let a = 0 | o[E];
2224
+ let a = 0 | o[_];
2225
2225
  if (i == null) fe(o, a, t);
2226
2226
  else {
2227
- var r = e = i === ti ? 7 : 0 | i[E], n = Kt(e), s = n || Object.isFrozen(i);
2228
- for (n || (e = 0), s || (i = it(i), r = 0, e = Yt(e, a), s = !1), e |= 5, e |= (4 & e ? 512 & e ? 512 : 1024 & e ? 1024 : 0 : void 0) ?? (is ? 1024 : 0), n = 0; n < i.length; n++) {
2227
+ var r = e = i === ei ? 7 : 0 | i[_], n = qt(e), s = n || Object.isFrozen(i);
2228
+ for (n || (e = 0), s || (i = it(i), r = 0, e = Kt(e, a), s = !1), e |= 5, e |= (4 & e ? 512 & e ? 512 : 1024 & e ? 1024 : 0 : void 0) ?? (ts ? 1024 : 0), n = 0; n < i.length; n++) {
2229
2229
  const l = i[n], u = Ka(l);
2230
- Object.is(l, u) || (s && (i = it(i), r = 0, e = Yt(e, a), s = !1), i[n] = u);
2230
+ Object.is(l, u) || (s && (i = it(i), r = 0, e = Kt(e, a), s = !1), i[n] = u);
2231
2231
  }
2232
- e !== r && (s && (i = it(i), e = Yt(e, a)), ge(i, e)), fe(o, a, t, i);
2232
+ e !== r && (s && (i = it(i), e = Kt(e, a)), ge(i, e)), fe(o, a, t, i);
2233
2233
  }
2234
2234
  }
2235
2235
  }
2236
- function Yr(e, t, i) {
2237
- Pi(e), Ht(e, t, _e, 2, !0).push(Ka(i));
2236
+ function Kr(e, t, i) {
2237
+ Pi(e), zt(e, t, Ee, 2, !0).push(Ka(i));
2238
2238
  }
2239
2239
  var di = class {
2240
2240
  constructor(e, t, i) {
@@ -2242,16 +2242,16 @@ var di = class {
2242
2242
  this.g = t;
2243
2243
  }
2244
2244
  };
2245
- function xs(e, t) {
2245
+ function vs(e, t) {
2246
2246
  if (typeof e == "string") return new di(Ma(e), t);
2247
2247
  if (Array.isArray(e)) return new di(new Uint8Array(e), t);
2248
2248
  if (e.constructor === Uint8Array) return new di(e, !1);
2249
2249
  if (e.constructor === ArrayBuffer) return e = new Uint8Array(e), new di(e, !1);
2250
- if (e.constructor === dt) return t = ns(e) || new Uint8Array(0), new di(t, !0, e);
2250
+ if (e.constructor === dt) return t = rs(e) || new Uint8Array(0), new di(t, !0, e);
2251
2251
  if (e instanceof Uint8Array) return e = e.constructor === Uint8Array ? e : new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new di(e, !1);
2252
2252
  throw Error();
2253
2253
  }
2254
- function Ei(e, t) {
2254
+ function _i(e, t) {
2255
2255
  let i, r = 0, n = 0, s = 0;
2256
2256
  const o = e.h;
2257
2257
  let a = e.g;
@@ -2259,15 +2259,15 @@ function Ei(e, t) {
2259
2259
  i = o[a++], r |= (127 & i) << s, s += 7;
2260
2260
  while (s < 32 && 128 & i);
2261
2261
  if (s > 32) for (n |= (127 & i) >> 4, s = 3; s < 32 && 128 & i; s += 7) i = o[a++], n |= (127 & i) << s;
2262
- if (Xt(e, a), !(128 & i)) return t(r >>> 0, n >>> 0);
2262
+ if (Yt(e, a), !(128 & i)) return t(r >>> 0, n >>> 0);
2263
2263
  throw Error();
2264
2264
  }
2265
- function _s(e) {
2265
+ function xs(e) {
2266
2266
  let t = 0, i = e.g;
2267
2267
  const r = i + 10, n = e.h;
2268
2268
  for (; i < r; ) {
2269
2269
  const s = n[i++];
2270
- if (t |= s, (128 & s) == 0) return Xt(e, i), !!(127 & t);
2270
+ if (t |= s, (128 & s) == 0) return Yt(e, i), !!(127 & t);
2271
2271
  }
2272
2272
  throw Error();
2273
2273
  }
@@ -2275,22 +2275,22 @@ function Pt(e) {
2275
2275
  const t = e.h;
2276
2276
  let i = e.g, r = t[i++], n = 127 & r;
2277
2277
  if (128 & r && (r = t[i++], n |= (127 & r) << 7, 128 & r && (r = t[i++], n |= (127 & r) << 14, 128 & r && (r = t[i++], n |= (127 & r) << 21, 128 & r && (r = t[i++], n |= r << 28, 128 & r && 128 & t[i++] && 128 & t[i++] && 128 & t[i++] && 128 & t[i++] && 128 & t[i++]))))) throw Error();
2278
- return Xt(e, i), n;
2278
+ return Yt(e, i), n;
2279
2279
  }
2280
- function Et(e) {
2280
+ function _t(e) {
2281
2281
  return Pt(e) >>> 0;
2282
2282
  }
2283
- function Rr(e) {
2283
+ function Lr(e) {
2284
2284
  var t = e.h;
2285
2285
  const i = e.g;
2286
2286
  var r = t[i], n = t[i + 1];
2287
2287
  const s = t[i + 2];
2288
- return t = t[i + 3], Xt(e, e.g + 4), e = 2 * ((n = (r << 0 | n << 8 | s << 16 | t << 24) >>> 0) >> 31) + 1, r = n >>> 23 & 255, n &= 8388607, r == 255 ? n ? NaN : e * (1 / 0) : r == 0 ? 1401298464324817e-60 * e * n : e * Math.pow(2, r - 150) * (n + 8388608);
2288
+ return t = t[i + 3], Yt(e, e.g + 4), e = 2 * ((n = (r << 0 | n << 8 | s << 16 | t << 24) >>> 0) >> 31) + 1, r = n >>> 23 & 255, n &= 8388607, r == 255 ? n ? NaN : e * (1 / 0) : r == 0 ? 1401298464324817e-60 * e * n : e * Math.pow(2, r - 150) * (n + 8388608);
2289
2289
  }
2290
2290
  function uu(e) {
2291
2291
  return Pt(e);
2292
2292
  }
2293
- function Xt(e, t) {
2293
+ function Yt(e, t) {
2294
2294
  if (e.g = t, t > e.l) throw Error();
2295
2295
  }
2296
2296
  function sc(e, t) {
@@ -2300,46 +2300,46 @@ function sc(e, t) {
2300
2300
  return e.g = t, i;
2301
2301
  }
2302
2302
  function oc(e, t) {
2303
- if (t == 0) return Jt();
2303
+ if (t == 0) return Qt();
2304
2304
  var i = sc(e, t);
2305
- return e.Y && e.j ? i = e.h.subarray(i, i + t) : (e = e.h, i = i === (t = i + t) ? new Uint8Array(0) : Wd ? e.slice(i, t) : new Uint8Array(e.subarray(i, t))), i.length == 0 ? Jt() : new dt(i, pi);
2305
+ return e.Y && e.j ? i = e.h.subarray(i, i + t) : (e = e.h, i = i === (t = i + t) ? new Uint8Array(0) : Wd ? e.slice(i, t) : new Uint8Array(e.subarray(i, t))), i.length == 0 ? Qt() : new dt(i, pi);
2306
2306
  }
2307
- var _o = [];
2307
+ var Eo = [];
2308
2308
  function ac(e, t, i, r) {
2309
- if (Mr.length) {
2310
- const n = Mr.pop();
2309
+ if (Rr.length) {
2310
+ const n = Rr.pop();
2311
2311
  return n.o(r), n.g.init(e, t, i, r), n;
2312
2312
  }
2313
2313
  return new hu(e, t, i, r);
2314
2314
  }
2315
2315
  function cc(e) {
2316
- e.g.clear(), e.l = -1, e.h = -1, Mr.length < 100 && Mr.push(e);
2316
+ e.g.clear(), e.l = -1, e.h = -1, Rr.length < 100 && Rr.push(e);
2317
2317
  }
2318
2318
  function lc(e) {
2319
2319
  var t = e.g;
2320
2320
  if (t.g == t.l) return !1;
2321
2321
  e.m = e.g.g;
2322
- var i = Et(e.g);
2322
+ var i = _t(e.g);
2323
2323
  if (t = i >>> 3, !((i &= 7) >= 0 && i <= 5) || t < 1) throw Error();
2324
2324
  return e.l = t, e.h = i, !0;
2325
2325
  }
2326
- function Tr(e) {
2326
+ function Nr(e) {
2327
2327
  switch (e.h) {
2328
2328
  case 0:
2329
- e.h != 0 ? Tr(e) : _s(e.g);
2329
+ e.h != 0 ? Nr(e) : xs(e.g);
2330
2330
  break;
2331
2331
  case 1:
2332
- Xt(e = e.g, e.g + 8);
2332
+ Yt(e = e.g, e.g + 8);
2333
2333
  break;
2334
2334
  case 2:
2335
- if (e.h != 2) Tr(e);
2335
+ if (e.h != 2) Nr(e);
2336
2336
  else {
2337
- var t = Et(e.g);
2338
- Xt(e = e.g, e.g + t);
2337
+ var t = _t(e.g);
2338
+ Yt(e = e.g, e.g + t);
2339
2339
  }
2340
2340
  break;
2341
2341
  case 5:
2342
- Xt(e = e.g, e.g + 4);
2342
+ Yt(e = e.g, e.g + 4);
2343
2343
  break;
2344
2344
  case 3:
2345
2345
  for (t = e.l; ; ) {
@@ -2348,71 +2348,71 @@ function Tr(e) {
2348
2348
  if (e.l != t) throw Error();
2349
2349
  break;
2350
2350
  }
2351
- Tr(e);
2351
+ Nr(e);
2352
2352
  }
2353
2353
  break;
2354
2354
  default:
2355
2355
  throw Error();
2356
2356
  }
2357
2357
  }
2358
- function wr(e, t, i) {
2358
+ function hr(e, t, i) {
2359
2359
  const r = e.g.l;
2360
- var n = Et(e.g);
2360
+ var n = _t(e.g);
2361
2361
  let s = (n = e.g.g + n) - r;
2362
2362
  if (s <= 0 && (e.g.l = n, i(t, e, void 0, void 0, void 0), s = n - e.g.g), s) throw Error();
2363
2363
  return e.g.g = n, e.g.l = r, t;
2364
2364
  }
2365
2365
  function Es(e) {
2366
- var t = Et(e.g), i = sc(e = e.g, t);
2367
- if (e = e.h, Ed) {
2366
+ var t = _t(e.g), i = sc(e = e.g, t);
2367
+ if (e = e.h, _d) {
2368
2368
  var r, n = e;
2369
- (r = gn) || (r = gn = new TextDecoder("utf-8", { fatal: !0 })), t = i + t, n = i === 0 && t === n.length ? n : n.subarray(i, t);
2369
+ (r = mn) || (r = mn = new TextDecoder("utf-8", { fatal: !0 })), t = i + t, n = i === 0 && t === n.length ? n : n.subarray(i, t);
2370
2370
  try {
2371
2371
  var s = r.decode(n);
2372
2372
  } catch (a) {
2373
- if (_r === void 0) {
2373
+ if (xr === void 0) {
2374
2374
  try {
2375
2375
  r.decode(new Uint8Array([128]));
2376
2376
  } catch {
2377
2377
  }
2378
2378
  try {
2379
- r.decode(new Uint8Array([97])), _r = !0;
2379
+ r.decode(new Uint8Array([97])), xr = !0;
2380
2380
  } catch {
2381
- _r = !1;
2381
+ xr = !1;
2382
2382
  }
2383
2383
  }
2384
- throw !_r && (gn = void 0), a;
2384
+ throw !xr && (mn = void 0), a;
2385
2385
  }
2386
2386
  } else {
2387
2387
  t = (s = i) + t, i = [];
2388
2388
  let a, l = null;
2389
2389
  for (; s < t; ) {
2390
2390
  var o = e[s++];
2391
- o < 128 ? i.push(o) : o < 224 ? s >= t ? $t() : (a = e[s++], o < 194 || (192 & a) != 128 ? (s--, $t()) : i.push((31 & o) << 6 | 63 & a)) : o < 240 ? s >= t - 1 ? $t() : (a = e[s++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (r = e[s++])) != 128 ? (s--, $t()) : i.push((15 & o) << 12 | (63 & a) << 6 | 63 & r)) : o <= 244 ? s >= t - 2 ? $t() : (a = e[s++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 || (192 & (r = e[s++])) != 128 || (192 & (n = e[s++])) != 128 ? (s--, $t()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & r) << 6 | 63 & n, o -= 65536, i.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : $t(), i.length >= 8192 && (l = no(l, i), i.length = 0);
2391
+ o < 128 ? i.push(o) : o < 224 ? s >= t ? jt() : (a = e[s++], o < 194 || (192 & a) != 128 ? (s--, jt()) : i.push((31 & o) << 6 | 63 & a)) : o < 240 ? s >= t - 1 ? jt() : (a = e[s++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (r = e[s++])) != 128 ? (s--, jt()) : i.push((15 & o) << 12 | (63 & a) << 6 | 63 & r)) : o <= 244 ? s >= t - 2 ? jt() : (a = e[s++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 || (192 & (r = e[s++])) != 128 || (192 & (n = e[s++])) != 128 ? (s--, jt()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & r) << 6 | 63 & n, o -= 65536, i.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : jt(), i.length >= 8192 && (l = no(l, i), i.length = 0);
2392
2392
  }
2393
2393
  s = no(l, i);
2394
2394
  }
2395
2395
  return s;
2396
2396
  }
2397
2397
  function dc(e) {
2398
- const t = Et(e.g);
2398
+ const t = _t(e.g);
2399
2399
  return oc(e.g, t);
2400
2400
  }
2401
- function Xr(e, t, i) {
2402
- var r = Et(e.g);
2401
+ function Yr(e, t, i) {
2402
+ var r = _t(e.g);
2403
2403
  for (r = e.g.g + r; e.g.g < r; ) i.push(t(e.g));
2404
2404
  }
2405
2405
  var hu = class {
2406
2406
  constructor(e, t, i, r) {
2407
- if (_o.length) {
2408
- const n = _o.pop();
2407
+ if (Eo.length) {
2408
+ const n = Eo.pop();
2409
2409
  n.init(e, t, i, r), e = n;
2410
2410
  } else e = new class {
2411
2411
  constructor(n, s, o, a) {
2412
2412
  this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.init(n, s, o, a);
2413
2413
  }
2414
2414
  init(n, s, o, { Y: a = !1, ea: l = !1 } = {}) {
2415
- this.Y = a, this.ea = l, n && (n = xs(n, this.ea), this.h = n.buffer, this.j = n.g, this.m = s || 0, this.l = o !== void 0 ? this.m + o : this.h.length, this.g = this.m);
2415
+ this.Y = a, this.ea = l, n && (n = vs(n, this.ea), this.h = n.buffer, this.j = n.g, this.m = s || 0, this.l = o !== void 0 ? this.m + o : this.h.length, this.g = this.m);
2416
2416
  }
2417
2417
  clear() {
2418
2418
  this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.Y = !1;
@@ -2423,20 +2423,20 @@ var hu = class {
2423
2423
  o({ ha: e = !1 } = {}) {
2424
2424
  this.ha = e;
2425
2425
  }
2426
- }, Mr = [];
2427
- function Eo(e) {
2428
- return e ? /^\d+$/.test(e) ? (zr(e), new Mn(re, ue)) : null : wu || (wu = new Mn(0, 0));
2426
+ }, Rr = [];
2427
+ function _o(e) {
2428
+ return e ? /^\d+$/.test(e) ? (Wr(e), new Rn(re, ue)) : null : wu || (wu = new Rn(0, 0));
2429
2429
  }
2430
- var Mn = class {
2430
+ var Rn = class {
2431
2431
  constructor(e, t) {
2432
2432
  this.h = e >>> 0, this.g = t >>> 0;
2433
2433
  }
2434
2434
  };
2435
2435
  let wu;
2436
2436
  function ko(e) {
2437
- return e ? /^-?\d+$/.test(e) ? (zr(e), new Dn(re, ue)) : null : fu || (fu = new Dn(0, 0));
2437
+ return e ? /^-?\d+$/.test(e) ? (Wr(e), new Mn(re, ue)) : null : fu || (fu = new Mn(0, 0));
2438
2438
  }
2439
- var Dn = class {
2439
+ var Mn = class {
2440
2440
  constructor(e, t) {
2441
2441
  this.h = e >>> 0, this.g = t >>> 0;
2442
2442
  }
@@ -2450,14 +2450,14 @@ function Bi(e, t) {
2450
2450
  for (; t > 127; ) e.g.push(127 & t | 128), t >>>= 7;
2451
2451
  e.g.push(t);
2452
2452
  }
2453
- function Qr(e, t) {
2453
+ function Xr(e, t) {
2454
2454
  if (t >= 0) Bi(e, t);
2455
2455
  else {
2456
2456
  for (let i = 0; i < 9; i++) e.g.push(127 & t | 128), t >>= 7;
2457
2457
  e.g.push(1);
2458
2458
  }
2459
2459
  }
2460
- function ks(e) {
2460
+ function _s(e) {
2461
2461
  var t = re;
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
  }
@@ -2467,19 +2467,19 @@ function ki(e, t) {
2467
2467
  function Je(e, t, i) {
2468
2468
  Bi(e.g, 8 * t + i);
2469
2469
  }
2470
- function As(e, t) {
2470
+ function ks(e, t) {
2471
2471
  return Je(e, t, 2), t = e.g.end(), ki(e, t), t.push(e.h), t;
2472
2472
  }
2473
- function Ns(e, t) {
2473
+ function As(e, t) {
2474
2474
  var i = t.pop();
2475
2475
  for (i = e.h + e.g.length() - i; i > 127; ) t.push(127 & i | 128), i >>>= 7, e.h++;
2476
2476
  t.push(i), e.h++;
2477
2477
  }
2478
- function Jr(e, t, i) {
2478
+ function Qr(e, t, i) {
2479
2479
  Je(e, t, 2), Bi(e.g, i.length), ki(e, e.g.end()), ki(e, i);
2480
2480
  }
2481
- function Dr(e, t, i, r) {
2482
- i != null && (t = As(e, t), r(i, e), Ns(e, t));
2481
+ function Mr(e, t, i, r) {
2482
+ i != null && (t = ks(e, t), r(i, e), As(e, t));
2483
2483
  }
2484
2484
  function ht() {
2485
2485
  const e = class {
@@ -2489,10 +2489,10 @@ function ht() {
2489
2489
  };
2490
2490
  return Object.setPrototypeOf(e, e.prototype), e;
2491
2491
  }
2492
- var Ts = ht(), uc = ht(), Cs = ht(), Ss = ht(), hc = ht(), wc = ht(), mu = ht(), Zr = ht(), fc = ht(), mc = ht();
2492
+ var Ns = ht(), uc = ht(), Ts = ht(), Cs = ht(), hc = ht(), wc = ht(), mu = ht(), Jr = ht(), fc = ht(), mc = ht();
2493
2493
  function wt(e, t, i) {
2494
2494
  var r = e.v;
2495
- Be && Be in r && (r = r[Be]) && delete r[t.g], t.h ? t.j(e, t.h, t.g, i, t.l) : t.j(e, t.g, i, t.l);
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
2497
  var k = class {
2498
2498
  constructor(e, t) {
@@ -2503,8 +2503,8 @@ var k = class {
2503
2503
  }
2504
2504
  j() {
2505
2505
  var n;
2506
- var e = Qu, t = this.v, i = e.g, r = Be;
2507
- if (Fi && r && ((n = t[r]) == null ? void 0 : n[i]) != null && yi(Md, 3), t = e.g, uo && Be && uo === void 0 && (r = (i = this.v)[Be]) && (r = r.da)) try {
2506
+ var e = Qu, t = this.v, i = e.g, r = Ue;
2507
+ if (Fi && r && ((n = t[r]) == null ? void 0 : n[i]) != null && yi(Md, 3), t = e.g, uo && Ue && uo === void 0 && (r = (i = this.v)[Ue]) && (r = r.da)) try {
2508
2508
  r(i, t, nu);
2509
2509
  } catch (s) {
2510
2510
  Ia(s);
@@ -2512,8 +2512,8 @@ var k = class {
2512
2512
  return e.h ? e.m(this, e.h, e.g, e.l) : e.m(this, e.g, e.defaultValue, e.l);
2513
2513
  }
2514
2514
  clone() {
2515
- const e = this.v, t = 0 | e[E];
2516
- return fs(this, e, t) ? hs(this, e, !0) : new this.constructor(Mi(e, t, !1));
2515
+ const e = this.v, t = 0 | e[_];
2516
+ return ws(this, e, t) ? us(this, e, !0) : new this.constructor(Mi(e, t, !1));
2517
2517
  }
2518
2518
  };
2519
2519
  k.prototype[bi] = vi, k.prototype.toString = function() {
@@ -2521,23 +2521,23 @@ k.prototype[bi] = vi, k.prototype.toString = function() {
2521
2521
  };
2522
2522
  var Ui = class {
2523
2523
  constructor(e, t, i) {
2524
- this.g = e, this.h = t, e = Ts, this.l = !!e && i === e || !1;
2524
+ this.g = e, this.h = t, e = Ns, this.l = !!e && i === e || !1;
2525
2525
  }
2526
2526
  };
2527
- function en(e, t) {
2528
- return new Ui(e, t, Ts);
2527
+ function Zr(e, t) {
2528
+ return new Ui(e, t, Ns);
2529
2529
  }
2530
2530
  function gc(e, t, i, r, n) {
2531
- Dr(e, i, vc(t, r), n);
2531
+ Mr(e, i, vc(t, r), n);
2532
2532
  }
2533
- const gu = en(function(e, t, i, r, n) {
2534
- return e.h === 2 && (wr(e, bs(t, r, i), n), !0);
2535
- }, gc), pu = en(function(e, t, i, r, n) {
2536
- return e.h === 2 && (wr(e, bs(t, r, i), n), !0);
2533
+ const gu = Zr(function(e, t, i, r, n) {
2534
+ return e.h === 2 && (hr(e, ys(t, r, i), n), !0);
2535
+ }, gc), pu = Zr(function(e, t, i, r, n) {
2536
+ return e.h === 2 && (hr(e, ys(t, r, i), n), !0);
2537
2537
  }, gc);
2538
- var tn = Symbol(), rn = Symbol(), Pn = Symbol(), Ao = Symbol(), No = Symbol();
2538
+ var en = Symbol(), tn = Symbol(), Dn = Symbol(), Ao = Symbol(), No = Symbol();
2539
2539
  let pc, yc;
2540
- function ri(e, t, i, r) {
2540
+ function ii(e, t, i, r) {
2541
2541
  var n = r[e];
2542
2542
  if (n) return n;
2543
2543
  (n = {}).qa = r, n.T = function(h) {
@@ -2580,21 +2580,21 @@ function bc(e) {
2580
2580
  return Array.isArray(e) ? e[0] instanceof Ui ? e : [pu, e] : [e, void 0];
2581
2581
  }
2582
2582
  function vc(e, t) {
2583
- return e instanceof k ? e.v : Array.isArray(e) ? qt(e, t) : void 0;
2583
+ return e instanceof k ? e.v : Array.isArray(e) ? Ht(e, t) : void 0;
2584
2584
  }
2585
- function Is(e, t, i, r) {
2585
+ function Ss(e, t, i, r) {
2586
2586
  const n = i.g;
2587
2587
  e[t] = r ? (s, o, a) => n(s, o, a, r) : n;
2588
2588
  }
2589
- function Fs(e, t, i, r, n) {
2589
+ function Is(e, t, i, r, n) {
2590
2590
  const s = i.g;
2591
2591
  let o, a;
2592
- e[t] = (l, u, d) => s(l, u, d, a || (a = ri(rn, Is, Fs, r).T), o || (o = Ls(r)), n);
2592
+ e[t] = (l, u, d) => s(l, u, d, a || (a = ii(tn, Ss, Is, r).T), o || (o = Fs(r)), n);
2593
2593
  }
2594
- function Ls(e) {
2595
- let t = e[Pn];
2594
+ function Fs(e) {
2595
+ let t = e[Dn];
2596
2596
  if (t != null) return t;
2597
- const i = ri(rn, Is, Fs, e);
2597
+ const i = ii(tn, Ss, Is, e);
2598
2598
  return t = i.ma ? (r, n) => pc(r, n, i) : (r, n) => {
2599
2599
  for (; lc(n) && n.h != 4; ) {
2600
2600
  var s = n.l, o = i[s];
@@ -2603,17 +2603,17 @@ function Ls(e) {
2603
2603
  a && (a = a[s]) && (a = bu(a)) != null && (o = i[s] = a);
2604
2604
  }
2605
2605
  if (o == null || !o(n, r, s)) {
2606
- if (o = (a = n).m, Tr(a), a.ha) var l = void 0;
2606
+ if (o = (a = n).m, Nr(a), a.ha) var l = void 0;
2607
2607
  else l = a.g.g - o, a.g.g = o, l = oc(a.g, l);
2608
- o = void 0, a = r, l && ((o = a[Be] ?? (a[Be] = new Rn()))[s] ?? (o[s] = [])).push(l);
2608
+ o = void 0, a = r, l && ((o = a[Ue] ?? (a[Ue] = new Ln()))[s] ?? (o[s] = [])).push(l);
2609
2609
  }
2610
2610
  }
2611
- return (r = qr(r)) && (r.da = i.qa[No]), !0;
2612
- }, e[Pn] = t, e[No] = yu.bind(e), t;
2611
+ return (r = Hr(r)) && (r.da = i.qa[No]), !0;
2612
+ }, e[Dn] = t, e[No] = yu.bind(e), t;
2613
2613
  }
2614
2614
  function yu(e, t, i, r) {
2615
- var n = this[rn];
2616
- const s = this[Pn], o = qt(void 0, n.T), a = qr(e);
2615
+ var n = this[tn];
2616
+ const s = this[Dn], o = Ht(void 0, n.T), a = Hr(e);
2617
2617
  if (a) {
2618
2618
  var l = !1, u = n.ba;
2619
2619
  if (u) {
@@ -2627,13 +2627,13 @@ function yu(e, t, i, r) {
2627
2627
  }
2628
2628
  }
2629
2629
  else r == null || r(e, h, w);
2630
- }, t == null) Fr(a, n);
2630
+ }, t == null) Ir(a, n);
2631
2631
  else if (a != null) {
2632
2632
  const d = a[t];
2633
2633
  d && n(a, t, d);
2634
2634
  }
2635
2635
  if (l) {
2636
- let d = 0 | e[E];
2636
+ let d = 0 | e[_];
2637
2637
  if (2 & d && 2048 & d && !(i != null && i.Ka)) throw Error();
2638
2638
  const h = Li(d), w = (f, g) => {
2639
2639
  if (vt(e, f, h) != null) {
@@ -2642,7 +2642,7 @@ function yu(e, t, i, r) {
2642
2642
  }
2643
2643
  g != null && (d = fe(e, d, f, g, h)), delete a[f];
2644
2644
  };
2645
- t == null ? Ua(o, 0 | o[E], (f, g) => {
2645
+ t == null ? Ua(o, 0 | o[_], (f, g) => {
2646
2646
  w(f, g);
2647
2647
  }) : w(t, vt(o, t, h));
2648
2648
  }
@@ -2652,29 +2652,29 @@ function yu(e, t, i, r) {
2652
2652
  function bu(e) {
2653
2653
  const t = (e = bc(e))[0].g;
2654
2654
  if (e = e[1]) {
2655
- const i = Ls(e), r = ri(rn, Is, Fs, e).T;
2655
+ const i = Fs(e), r = ii(tn, Ss, Is, e).T;
2656
2656
  return (n, s, o) => t(n, s, o, r, i);
2657
2657
  }
2658
2658
  return t;
2659
2659
  }
2660
- function nn(e, t, i) {
2660
+ function rn(e, t, i) {
2661
2661
  e[t] = i.h;
2662
2662
  }
2663
- function sn(e, t, i, r) {
2663
+ function nn(e, t, i, r) {
2664
2664
  let n, s;
2665
2665
  const o = i.h;
2666
- e[t] = (a, l, u) => o(a, l, u, s || (s = ri(tn, nn, sn, r).T), n || (n = xc(r)));
2666
+ e[t] = (a, l, u) => o(a, l, u, s || (s = ii(en, rn, nn, r).T), n || (n = xc(r)));
2667
2667
  }
2668
2668
  function xc(e) {
2669
2669
  let t = e[Ao];
2670
2670
  if (!t) {
2671
- const i = ri(tn, nn, sn, e);
2672
- t = (r, n) => _c(r, n, i), e[Ao] = t;
2671
+ const i = ii(en, rn, nn, e);
2672
+ t = (r, n) => Ec(r, n, i), e[Ao] = t;
2673
2673
  }
2674
2674
  return t;
2675
2675
  }
2676
- function _c(e, t, i) {
2677
- Ua(e, 0 | e[E], (r, n) => {
2676
+ function Ec(e, t, i) {
2677
+ Ua(e, 0 | e[_], (r, n) => {
2678
2678
  if (n != null) {
2679
2679
  var s = function(o, a) {
2680
2680
  var l = o[a];
@@ -2682,22 +2682,22 @@ function _c(e, t, i) {
2682
2682
  if ((l = o.ba) && (l = l[a])) {
2683
2683
  var u = (l = bc(l))[0].h;
2684
2684
  if (l = l[1]) {
2685
- const d = xc(l), h = ri(tn, nn, sn, l).T;
2685
+ const d = xc(l), h = ii(en, rn, nn, l).T;
2686
2686
  l = o.ma ? yc(h, d) : (w, f, g) => u(w, f, g, h, d);
2687
2687
  } else l = u;
2688
2688
  return o[a] = l;
2689
2689
  }
2690
2690
  }(i, r);
2691
- s ? s(t, n, r) : r < 500 || yi(In, 3);
2691
+ s ? s(t, n, r) : r < 500 || yi(Sn, 3);
2692
2692
  }
2693
- }), (e = qr(e)) && Fr(e, (r, n, s) => {
2694
- for (ki(t, t.g.end()), r = 0; r < s.length; r++) ki(t, ns(s[r]) || new Uint8Array(0));
2693
+ }), (e = Hr(e)) && Ir(e, (r, n, s) => {
2694
+ for (ki(t, t.g.end()), r = 0; r < s.length; r++) ki(t, rs(s[r]) || new Uint8Array(0));
2695
2695
  });
2696
2696
  }
2697
- const vu = Ue(0);
2697
+ const vu = Ge(0);
2698
2698
  function Gi(e, t) {
2699
2699
  if (Array.isArray(t)) {
2700
- var i = 0 | t[E];
2700
+ var i = 0 | t[_];
2701
2701
  if (4 & i) return t;
2702
2702
  for (var r = 0, n = 0; r < t.length; r++) {
2703
2703
  const s = e(t[r]);
@@ -2713,41 +2713,41 @@ function Vi(e, t, i) {
2713
2713
  return new Ui(e, t, i);
2714
2714
  }
2715
2715
  function ve(e, t, i) {
2716
- fe(e, 0 | e[E], t, i, Li(0 | e[E]));
2716
+ fe(e, 0 | e[_], t, i, Li(0 | e[_]));
2717
2717
  }
2718
- var xu = en(function(e, t, i, r, n) {
2718
+ var xu = Zr(function(e, t, i, r, n) {
2719
2719
  if (e.h !== 2) return !1;
2720
- if (e = it(e = wr(e, qt([void 0, void 0], r), n)), n = Li(r = 0 | t[E]), 2 & r) throw Error();
2720
+ if (e = it(e = hr(e, Ht([void 0, void 0], r), n)), n = Li(r = 0 | t[_]), 2 & r) throw Error();
2721
2721
  let s = vt(t, i, n);
2722
2722
  if (s instanceof bt) 2 & s.J ? (s = s.V(), s.push(e), fe(t, r, i, s, n)) : s.Ma(e);
2723
2723
  else if (Array.isArray(s)) {
2724
- var o = 0 | s[E];
2724
+ var o = 0 | s[_];
2725
2725
  8192 & o || ge(s, o |= 8192), 2 & o && (s = Za(s), fe(t, r, i, s, n)), s.push(e);
2726
- } else fe(t, r, i, rr([e]), n);
2726
+ } else fe(t, r, i, ir([e]), n);
2727
2727
  return !0;
2728
2728
  }, function(e, t, i, r, n) {
2729
2729
  if (t instanceof bt) t.forEach((s, o) => {
2730
- Dr(e, i, qt([o, s], r), n);
2730
+ Mr(e, i, Ht([o, s], r), n);
2731
2731
  });
2732
2732
  else if (Array.isArray(t)) {
2733
2733
  for (let s = 0; s < t.length; s++) {
2734
2734
  const o = t[s];
2735
- Array.isArray(o) && Dr(e, i, qt(o, r), n);
2735
+ Array.isArray(o) && Mr(e, i, Ht(o, r), n);
2736
2736
  }
2737
- rr(t);
2737
+ ir(t);
2738
2738
  }
2739
2739
  });
2740
- function Ec(e, t, i) {
2741
- (t = lt(t)) != null && (Je(e, i, 5), e = e.g, os(t), ks(e));
2740
+ function _c(e, t, i) {
2741
+ (t = lt(t)) != null && (Je(e, i, 5), e = e.g, ss(t), _s(e));
2742
2742
  }
2743
2743
  function kc(e, t, i) {
2744
2744
  if (t = function(r) {
2745
2745
  if (r == null) return r;
2746
2746
  const n = typeof r;
2747
- if (n === "bigint") return String(dr(64, r));
2748
- if (ur(r)) {
2747
+ if (n === "bigint") return String(lr(64, r));
2748
+ if (dr(r)) {
2749
2749
  if (n === "string") return za(r);
2750
- if (n === "number") return ds(r);
2750
+ if (n === "number") return ls(r);
2751
2751
  }
2752
2752
  }(t), t != null && (typeof t == "string" && ko(t), t != null))
2753
2753
  switch (Je(e, i, 0), typeof t) {
@@ -2755,135 +2755,135 @@ function kc(e, t, i) {
2755
2755
  e = e.g, xi(t), fi(e, re, ue);
2756
2756
  break;
2757
2757
  case "bigint":
2758
- i = BigInt.asUintN(64, t), i = new Dn(Number(i & BigInt(4294967295)), Number(i >> BigInt(32))), fi(e.g, i.h, i.g);
2758
+ i = BigInt.asUintN(64, t), i = new Mn(Number(i & BigInt(4294967295)), Number(i >> BigInt(32))), fi(e.g, i.h, i.g);
2759
2759
  break;
2760
2760
  default:
2761
2761
  i = ko(t), fi(e.g, i.h, i.g);
2762
2762
  }
2763
2763
  }
2764
2764
  function Ac(e, t, i) {
2765
- (t = Ri(t)) != null && t != null && (Je(e, i, 0), Qr(e.g, t));
2765
+ (t = Ri(t)) != null && t != null && (Je(e, i, 0), Xr(e.g, t));
2766
2766
  }
2767
2767
  function Nc(e, t, i) {
2768
2768
  (t = ja(t)) != null && (Je(e, i, 0), e.g.g.push(t ? 1 : 0));
2769
2769
  }
2770
2770
  function Tc(e, t, i) {
2771
- (t = _e(t)) != null && Jr(e, i, Sa(t));
2771
+ (t = Ee(t)) != null && Qr(e, i, Sa(t));
2772
2772
  }
2773
2773
  function Cc(e, t, i, r, n) {
2774
- Dr(e, i, vc(t, r), n);
2774
+ Mr(e, i, vc(t, r), n);
2775
2775
  }
2776
2776
  function Sc(e, t, i) {
2777
- (t = t == null || typeof t == "string" || t instanceof dt ? t : void 0) != null && Jr(e, i, xs(t, !0).buffer);
2777
+ (t = t == null || typeof t == "string" || t instanceof dt ? t : void 0) != null && Qr(e, i, vs(t, !0).buffer);
2778
2778
  }
2779
2779
  function Ic(e, t, i) {
2780
- return (e.h === 5 || e.h === 2) && (t = Oi(t, 0 | t[E], i), e.h == 2 ? Xr(e, Rr, t) : t.push(Rr(e.g)), !0);
2780
+ return (e.h === 5 || e.h === 2) && (t = Oi(t, 0 | t[_], i), e.h == 2 ? Yr(e, Lr, t) : t.push(Lr(e.g)), !0);
2781
2781
  }
2782
2782
  var he = Te(function(e, t, i) {
2783
- return e.h === 5 && (ve(t, i, Rr(e.g)), !0);
2784
- }, Ec, Zr), _u = Vi(Ic, function(e, t, i) {
2783
+ return e.h === 5 && (ve(t, i, Lr(e.g)), !0);
2784
+ }, _c, Jr), Eu = Vi(Ic, function(e, t, i) {
2785
2785
  if ((t = Gi(lt, t)) != null) for (let o = 0; o < t.length; o++) {
2786
2786
  var r = e, n = i, s = t[o];
2787
- s != null && (Je(r, n, 5), r = r.g, os(s), ks(r));
2787
+ s != null && (Je(r, n, 5), r = r.g, ss(s), _s(r));
2788
2788
  }
2789
- }, Zr), Rs = Vi(Ic, function(e, t, i) {
2789
+ }, Jr), Ls = Vi(Ic, function(e, t, i) {
2790
2790
  if ((t = Gi(lt, 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, os(t[r]), ks(i);
2793
- }
2794
- }, Zr), Eu = Te(function(e, t, i) {
2795
- return e.h === 5 && (ve(t, i, (e = Rr(e.g)) === 0 ? void 0 : e), !0);
2796
- }, Ec, Zr), Ot = Te(function(e, t, i) {
2797
- return ts ? (e.h !== 0 ? e = !1 : (ve(t, i, Ei(e.g, Va)), e = !0), e) : e.h === 0 && (ve(t, i, Ei(e.g, as)), !0);
2798
- }, kc, wc), vn = Te(function(e, t, i) {
2799
- return ts ? (e.h !== 0 ? t = !1 : (ve(t, i, (e = Ei(e.g, Va)) === vu ? void 0 : e), t = !0), t) : e.h === 0 && (ve(t, i, (e = Ei(e.g, as)) === 0 ? void 0 : e), !0);
2792
+ for (let r = 0; r < t.length; r++) i = e.g, ss(t[r]), _s(i);
2793
+ }
2794
+ }, Jr), _u = Te(function(e, t, i) {
2795
+ return e.h === 5 && (ve(t, i, (e = Lr(e.g)) === 0 ? void 0 : e), !0);
2796
+ }, _c, Jr), Ot = Te(function(e, t, i) {
2797
+ return es ? (e.h !== 0 ? e = !1 : (ve(t, i, _i(e.g, Va)), e = !0), e) : e.h === 0 && (ve(t, i, _i(e.g, os)), !0);
2798
+ }, kc, wc), bn = Te(function(e, t, i) {
2799
+ return es ? (e.h !== 0 ? t = !1 : (ve(t, i, (e = _i(e.g, Va)) === vu ? void 0 : e), t = !0), t) : e.h === 0 && (ve(t, i, (e = _i(e.g, os)) === 0 ? void 0 : e), !0);
2800
2800
  }, kc, wc), ku = Te(function(e, t, i) {
2801
- return ts ? (e.h !== 0 ? e = !1 : (ve(t, i, Ei(e.g, Hd)), e = !0), e) : e.h === 0 && (ve(t, i, Ei(e.g, Ln)), !0);
2801
+ return es ? (e.h !== 0 ? e = !1 : (ve(t, i, _i(e.g, Hd)), e = !0), e) : e.h === 0 && (ve(t, i, _i(e.g, Fn)), !0);
2802
2802
  }, function(e, t, i) {
2803
2803
  if (t = function(r) {
2804
2804
  if (r == null) return r;
2805
2805
  var n = typeof r;
2806
2806
  if (n === "bigint") return String(qd(64, r));
2807
- if (ur(r)) {
2808
- if (n === "string") return n = _i(Number(r)), ei(n) && n >= 0 ? r = String(n) : ((n = r.indexOf(".")) !== -1 && (r = r.substring(0, n)), (n = r[0] !== "-" && ((n = r.length) < 20 || n === 20 && r <= "18446744073709551615")) || (zr(r), r = nr(re, ue))), r;
2809
- if (n === "number") return (r = _i(r)) >= 0 && ei(r) || (xi(r), r = Ln(re, ue)), r;
2807
+ if (dr(r)) {
2808
+ if (n === "string") return n = Ei(Number(r)), Zt(n) && n >= 0 ? r = String(n) : ((n = r.indexOf(".")) !== -1 && (r = r.substring(0, n)), (n = r[0] !== "-" && ((n = r.length) < 20 || n === 20 && r <= "18446744073709551615")) || (Wr(r), r = rr(re, ue))), r;
2809
+ if (n === "number") return (r = Ei(r)) >= 0 && Zt(r) || (xi(r), r = Fn(re, ue)), r;
2810
2810
  }
2811
- }(t), t != null && (typeof t == "string" && Eo(t), t != null))
2811
+ }(t), t != null && (typeof t == "string" && _o(t), t != null))
2812
2812
  switch (Je(e, i, 0), typeof t) {
2813
2813
  case "number":
2814
2814
  e = e.g, xi(t), fi(e, re, ue);
2815
2815
  break;
2816
2816
  case "bigint":
2817
- i = BigInt.asUintN(64, t), i = new Mn(Number(i & BigInt(4294967295)), Number(i >> BigInt(32))), fi(e.g, i.h, i.g);
2817
+ i = BigInt.asUintN(64, t), i = new Rn(Number(i & BigInt(4294967295)), Number(i >> BigInt(32))), fi(e.g, i.h, i.g);
2818
2818
  break;
2819
2819
  default:
2820
- i = Eo(t), fi(e.g, i.h, i.g);
2820
+ i = _o(t), fi(e.g, i.h, i.g);
2821
2821
  }
2822
2822
  }, mu), be = Te(function(e, t, i) {
2823
2823
  return e.h === 0 && (ve(t, i, Pt(e.g)), !0);
2824
- }, Ac, Ss), fr = Vi(function(e, t, i) {
2825
- return (e.h === 0 || e.h === 2) && (t = Oi(t, 0 | t[E], i), e.h == 2 ? Xr(e, Pt, t) : t.push(Pt(e.g)), !0);
2824
+ }, Ac, Cs), wr = Vi(function(e, t, i) {
2825
+ return (e.h === 0 || e.h === 2) && (t = Oi(t, 0 | t[_], i), e.h == 2 ? Yr(e, Pt, t) : t.push(Pt(e.g)), !0);
2826
2826
  }, function(e, t, i) {
2827
2827
  if ((t = Gi(Ri, t)) != null && t.length) {
2828
- i = As(e, i);
2829
- for (let r = 0; r < t.length; r++) Qr(e.g, t[r]);
2830
- Ns(e, i);
2828
+ i = ks(e, i);
2829
+ for (let r = 0; r < t.length; r++) Xr(e.g, t[r]);
2830
+ As(e, i);
2831
2831
  }
2832
- }, Ss), wi = Te(function(e, t, i) {
2832
+ }, Cs), wi = Te(function(e, t, i) {
2833
2833
  return e.h === 0 && (ve(t, i, (e = Pt(e.g)) === 0 ? void 0 : e), !0);
2834
- }, Ac, Ss), de = Te(function(e, t, i) {
2835
- return e.h === 0 && (ve(t, i, _s(e.g)), !0);
2836
- }, Nc, uc), Qt = Te(function(e, t, i) {
2837
- return e.h === 0 && (ve(t, i, (e = _s(e.g)) === !1 ? void 0 : e), !0);
2834
+ }, Ac, Cs), de = Te(function(e, t, i) {
2835
+ return e.h === 0 && (ve(t, i, xs(e.g)), !0);
2836
+ }, Nc, uc), Xt = Te(function(e, t, i) {
2837
+ return e.h === 0 && (ve(t, i, (e = xs(e.g)) === !1 ? void 0 : e), !0);
2838
2838
  }, Nc, uc), ke = Vi(function(e, t, i) {
2839
- return e.h === 2 && (e = Es(e), Oi(t, 0 | t[E], i).push(e), !0);
2839
+ return e.h === 2 && (e = Es(e), Oi(t, 0 | t[_], i).push(e), !0);
2840
2840
  }, function(e, t, i) {
2841
- if ((t = Gi(_e, t)) != null) for (let o = 0; o < t.length; o++) {
2841
+ if ((t = Gi(Ee, t)) != null) for (let o = 0; o < t.length; o++) {
2842
2842
  var r = e, n = i, s = t[o];
2843
- s != null && Jr(r, n, Sa(s));
2843
+ s != null && Qr(r, n, Sa(s));
2844
2844
  }
2845
- }, Cs), Mt = Te(function(e, t, i) {
2845
+ }, Ts), Mt = Te(function(e, t, i) {
2846
2846
  return e.h === 2 && (ve(t, i, (e = Es(e)) === "" ? void 0 : e), !0);
2847
- }, Tc, Cs), K = Te(function(e, t, i) {
2847
+ }, Tc, Ts), K = Te(function(e, t, i) {
2848
2848
  return e.h === 2 && (ve(t, i, Es(e)), !0);
2849
- }, Tc, Cs), ye = function(e, t, i = Ts) {
2849
+ }, Tc, Ts), ye = function(e, t, i = Ns) {
2850
2850
  return new Ui(e, t, i);
2851
2851
  }(function(e, t, i, r, n) {
2852
- return e.h === 2 && (r = qt(void 0, r), Oi(t, 0 | t[E], i).push(r), wr(e, r, n), !0);
2852
+ return e.h === 2 && (r = Ht(void 0, r), Oi(t, 0 | t[_], i).push(r), hr(e, r, n), !0);
2853
2853
  }, function(e, t, i, r, n) {
2854
2854
  if (Array.isArray(t)) {
2855
2855
  for (let s = 0; s < t.length; s++) Cc(e, t[s], i, r, n);
2856
- 1 & (e = 0 | t[E]) || ge(t, 1 | e);
2856
+ 1 & (e = 0 | t[_]) || ge(t, 1 | e);
2857
2857
  }
2858
- }), ce = en(function(e, t, i, r, n, s) {
2858
+ }), ce = Zr(function(e, t, i, r, n, s) {
2859
2859
  if (e.h !== 2) return !1;
2860
- let o = 0 | t[E];
2861
- return ec(t, o, s, i, Li(o)), wr(e, t = bs(t, r, i), n), !0;
2860
+ let o = 0 | t[_];
2861
+ return ec(t, o, s, i, Li(o)), hr(e, t = ys(t, r, i), n), !0;
2862
2862
  }, Cc), Fc = Te(function(e, t, i) {
2863
2863
  return e.h === 2 && (ve(t, i, dc(e)), !0);
2864
2864
  }, Sc, fc), Au = Vi(function(e, t, i) {
2865
- return (e.h === 0 || e.h === 2) && (t = Oi(t, 0 | t[E], i), e.h == 2 ? Xr(e, Et, t) : t.push(Et(e.g)), !0);
2865
+ return (e.h === 0 || e.h === 2) && (t = Oi(t, 0 | t[_], i), e.h == 2 ? Yr(e, _t, t) : t.push(_t(e.g)), !0);
2866
2866
  }, function(e, t, i) {
2867
2867
  if ((t = Gi($a, t)) != null) for (let o = 0; o < t.length; o++) {
2868
2868
  var r = e, n = i, s = t[o];
2869
2869
  s != null && (Je(r, n, 0), Bi(r.g, s));
2870
2870
  }
2871
2871
  }, hc), Nu = Te(function(e, t, i) {
2872
- return e.h === 0 && (ve(t, i, (e = Et(e.g)) === 0 ? void 0 : e), !0);
2872
+ return e.h === 0 && (ve(t, i, (e = _t(e.g)) === 0 ? void 0 : e), !0);
2873
2873
  }, function(e, t, i) {
2874
2874
  (t = $a(t)) != null && t != null && (Je(e, i, 0), Bi(e.g, t));
2875
- }, hc), je = Te(function(e, t, i) {
2875
+ }, hc), $e = Te(function(e, t, i) {
2876
2876
  return e.h === 0 && (ve(t, i, Pt(e.g)), !0);
2877
2877
  }, function(e, t, i) {
2878
- (t = Ri(t)) != null && (t = parseInt(t, 10), Je(e, i, 0), Qr(e.g, t));
2878
+ (t = Ri(t)) != null && (t = parseInt(t, 10), Je(e, i, 0), Xr(e.g, t));
2879
2879
  }, mc);
2880
2880
  class Tu {
2881
2881
  constructor(t, i) {
2882
- var r = We;
2882
+ var r = ze;
2883
2883
  this.g = t, this.h = i, this.m = W, this.j = C, this.defaultValue = void 0, this.l = r.Oa != null ? Ga : void 0;
2884
2884
  }
2885
2885
  register() {
2886
- jr(this);
2886
+ Vr(this);
2887
2887
  }
2888
2888
  }
2889
2889
  function ft(e, t) {
@@ -2896,7 +2896,7 @@ function Bt(e, t) {
2896
2896
  r && Object.assign(s, r), i = ac(i, void 0, void 0, s);
2897
2897
  try {
2898
2898
  const o = new e(), a = o.v;
2899
- Ls(t)(a, i);
2899
+ Fs(t)(a, i);
2900
2900
  var n = o;
2901
2901
  } finally {
2902
2902
  cc(i);
@@ -2905,7 +2905,7 @@ function Bt(e, t) {
2905
2905
  return n;
2906
2906
  };
2907
2907
  }
2908
- function on(e) {
2908
+ function sn(e) {
2909
2909
  return function() {
2910
2910
  const t = new class {
2911
2911
  constructor() {
@@ -2923,7 +2923,7 @@ function on(e) {
2923
2923
  }();
2924
2924
  }
2925
2925
  }();
2926
- _c(this.v, t, ri(tn, nn, sn, e)), ki(t, t.g.end());
2926
+ Ec(this.v, t, ii(en, rn, nn, e)), ki(t, t.g.end());
2927
2927
  const i = new Uint8Array(t.h), r = t.l, n = r.length;
2928
2928
  let s = 0;
2929
2929
  for (let o = 0; o < n; o++) {
@@ -2938,21 +2938,21 @@ var To = class extends k {
2938
2938
  super(e);
2939
2939
  }
2940
2940
  }, Co = [0, Mt, Te(function(e, t, i) {
2941
- return e.h === 2 && (ve(t, i, (e = dc(e)) === Jt() ? void 0 : e), !0);
2941
+ return e.h === 2 && (ve(t, i, (e = dc(e)) === Qt() ? void 0 : e), !0);
2942
2942
  }, function(e, t, i) {
2943
2943
  if (t != null) {
2944
2944
  if (t instanceof k) {
2945
2945
  const r = t.Ra;
2946
- return void (r ? (t = r(t), t != null && Jr(e, i, xs(t, !0).buffer)) : yi(In, 3));
2946
+ return void (r ? (t = r(t), t != null && Qr(e, i, vs(t, !0).buffer)) : yi(Sn, 3));
2947
2947
  }
2948
- if (Array.isArray(t)) return void yi(In, 3);
2948
+ if (Array.isArray(t)) return void yi(Sn, 3);
2949
2949
  }
2950
2950
  Sc(e, t, i);
2951
2951
  }, fc)];
2952
- let xn, So = globalThis.trustedTypes;
2952
+ let vn, So = globalThis.trustedTypes;
2953
2953
  function Io(e) {
2954
2954
  var t;
2955
- return xn === void 0 && (xn = function() {
2955
+ return vn === void 0 && (vn = function() {
2956
2956
  let i = null;
2957
2957
  if (!So) return i;
2958
2958
  try {
@@ -2961,7 +2961,7 @@ function Io(e) {
2961
2961
  } catch {
2962
2962
  }
2963
2963
  return i;
2964
- }()), e = (t = xn) ? t.createScriptURL(e) : e, new class {
2964
+ }()), e = (t = vn) ? t.createScriptURL(e) : e, new class {
2965
2965
  constructor(i) {
2966
2966
  this.g = i;
2967
2967
  }
@@ -2976,34 +2976,34 @@ function Cu(e, ...t) {
2976
2976
  for (let r = 0; r < t.length; r++) i += encodeURIComponent(t[r]) + e[r + 1];
2977
2977
  return Io(i);
2978
2978
  }
2979
- var Lc = [0, be, je, de, -1, fr, je, -1, de], Su = class extends k {
2979
+ var Lc = [0, be, $e, de, -1, wr, $e, -1, de], Su = class extends k {
2980
2980
  constructor(e) {
2981
2981
  super(e);
2982
2982
  }
2983
- }, Rc = [0, de, K, de, je, -1, Vi(function(e, t, i) {
2984
- return (e.h === 0 || e.h === 2) && (t = Oi(t, 0 | t[E], i), e.h == 2 ? Xr(e, uu, t) : t.push(Pt(e.g)), !0);
2983
+ }, Rc = [0, de, K, de, $e, -1, Vi(function(e, t, i) {
2984
+ return (e.h === 0 || e.h === 2) && (t = Oi(t, 0 | t[_], i), e.h == 2 ? Yr(e, uu, t) : t.push(Pt(e.g)), !0);
2985
2985
  }, function(e, t, i) {
2986
2986
  if ((t = Gi(Ri, t)) != null && t.length) {
2987
- i = As(e, i);
2988
- for (let r = 0; r < t.length; r++) Qr(e.g, t[r]);
2989
- Ns(e, i);
2987
+ i = ks(e, i);
2988
+ for (let r = 0; r < t.length; r++) Xr(e.g, t[r]);
2989
+ As(e, i);
2990
2990
  }
2991
- }, mc), K, -1, [0, de, -1], je, de, -1], Mc = [0, 3, de, -1, 2, [0, be], [0, je, de], [0, K, -1], [0]], Dc = [0, K, -2], Fo = class extends k {
2991
+ }, mc), K, -1, [0, de, -1], $e, de, -1], Mc = [0, 3, de, -1, 2, [0, be], [0, $e, de], [0, K, -1], [0]], Dc = [0, K, -2], Fo = class extends k {
2992
2992
  constructor(e) {
2993
2993
  super(e);
2994
2994
  }
2995
- }, Pc = [0], Oc = [0, be, de, 1, de, -4], We = class extends k {
2995
+ }, Pc = [0], Oc = [0, be, de, 1, de, -4], ze = class extends k {
2996
2996
  constructor(e) {
2997
2997
  super(e, 2);
2998
2998
  }
2999
2999
  }, me = {};
3000
- me[336783863] = [0, K, de, -1, be, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], ce, Pc, ce, Rc, ce, Dc, ce, Oc, ce, Lc, ce, [0, K, -2], ce, [0, K, je], ce, Mc, ce, [0, je, -1, de]], [0, K], de, [0, [1, 3], [2, 4], ce, [0, fr], -1, ce, [0, ke], -1, ye, [0, K, -1]], K];
3001
- var Lo = [0, vn, -1, Qt, -3, vn, fr, Mt, wi, vn, -1, Qt, wi, Qt, -2, Mt];
3000
+ me[336783863] = [0, K, de, -1, be, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], ce, Pc, ce, Rc, ce, Dc, ce, Oc, ce, Lc, ce, [0, K, -2], ce, [0, K, $e], ce, Mc, ce, [0, $e, -1, de]], [0, K], de, [0, [1, 3], [2, 4], ce, [0, wr], -1, ce, [0, ke], -1, ye, [0, K, -1]], K];
3001
+ var Lo = [0, bn, -1, Xt, -3, bn, wr, Mt, wi, bn, -1, Xt, wi, Xt, -2, Mt];
3002
3002
  function te(e, t) {
3003
- Yr(e, 3, t);
3003
+ Kr(e, 3, t);
3004
3004
  }
3005
- function G(e, t) {
3006
- Yr(e, 4, t);
3005
+ function U(e, t) {
3006
+ Kr(e, 4, t);
3007
3007
  }
3008
3008
  var Fe = class extends k {
3009
3009
  constructor(e) {
@@ -3012,26 +3012,26 @@ var Fe = class extends k {
3012
3012
  o(e) {
3013
3013
  return C(this, 0, 7, e);
3014
3014
  }
3015
- }, Zi = [-1, {}], Ro = [0, K, 1, Zi], Mo = [0, K, ke, Zi];
3015
+ }, Ji = [-1, {}], Ro = [0, K, 1, Ji], Mo = [0, K, ke, Ji];
3016
3016
  function Ze(e, t) {
3017
- vs(e, 1, Fe, t);
3017
+ bs(e, 1, Fe, t);
3018
3018
  }
3019
3019
  function ne(e, t) {
3020
- Yr(e, 10, t);
3020
+ Kr(e, 10, t);
3021
3021
  }
3022
3022
  function z(e, t) {
3023
- Yr(e, 15, t);
3023
+ Kr(e, 15, t);
3024
3024
  }
3025
- var ze = class extends k {
3025
+ var He = class extends k {
3026
3026
  constructor(e) {
3027
3027
  super(e, 500);
3028
3028
  }
3029
3029
  o(e) {
3030
3030
  return C(this, 0, 1001, e);
3031
3031
  }
3032
- }, Bc = [-500, ye, [-500, Mt, -1, ke, -3, [-2, me, de], ye, Co, wi, -1, Ro, Mo, ye, [0, Mt, Qt], Mt, Lo, wi, ke, 987, ke], 4, ye, [-500, K, -1, [-1, {}], 998, K], ye, [-500, K, ke, -1, [-2, {}, de], 997, ke, -1], wi, ye, [-500, K, ke, Zi, 998, ke], ke, wi, Ro, Mo, ye, [0, Mt, -1, Zi], ke, -2, Lo, Mt, -1, Qt, [0, Qt, Nu], 978, Zi, ye, Co];
3033
- ze.prototype.g = on(Bc);
3034
- var Iu = Bt(ze, Bc), Fu = class extends k {
3032
+ }, Bc = [-500, ye, [-500, Mt, -1, ke, -3, [-2, me, de], ye, Co, wi, -1, Ro, Mo, ye, [0, Mt, Xt], Mt, Lo, wi, ke, 987, ke], 4, ye, [-500, K, -1, [-1, {}], 998, K], ye, [-500, K, ke, -1, [-2, {}, de], 997, ke, -1], wi, ye, [-500, K, ke, Ji, 998, ke], ke, wi, Ro, Mo, ye, [0, Mt, -1, Ji], ke, -2, Lo, Mt, -1, Xt, [0, Xt, Nu], 978, Ji, ye, Co];
3033
+ He.prototype.g = sn(Bc);
3034
+ var Iu = Bt(He, Bc), Fu = class extends k {
3035
3035
  constructor(e) {
3036
3036
  super(e);
3037
3037
  }
@@ -3042,7 +3042,7 @@ var Iu = Bt(ze, Bc), Fu = class extends k {
3042
3042
  g() {
3043
3043
  return xt(this, Fu, 1);
3044
3044
  }
3045
- }, Gc = [0, ye, [0, be, he, K, -1]], an = Bt(Uc, Gc), Lu = class extends k {
3045
+ }, Gc = [0, ye, [0, be, he, K, -1]], on = Bt(Uc, Gc), Lu = class extends k {
3046
3046
  constructor(e) {
3047
3047
  super(e);
3048
3048
  }
@@ -3050,7 +3050,7 @@ var Iu = Bt(ze, Bc), Fu = class extends k {
3050
3050
  constructor(e) {
3051
3051
  super(e);
3052
3052
  }
3053
- }, _n = class extends k {
3053
+ }, xn = class extends k {
3054
3054
  constructor(e) {
3055
3055
  super(e);
3056
3056
  }
@@ -3064,7 +3064,7 @@ var Iu = Bt(ze, Bc), Fu = class extends k {
3064
3064
  constructor(e) {
3065
3065
  super(e);
3066
3066
  }
3067
- }, [0, ke, fr, Rs, [0, je, [0, be, -3], [0, he, -3], [0, be, -1, [0, ye, [0, be, -2]]], ye, [0, he, -1, K, he]], K, -1, Ot, ye, [0, be, he], ke, Ot]), jc = class extends k {
3067
+ }, [0, ke, wr, Ls, [0, $e, [0, be, -3], [0, he, -3], [0, be, -1, [0, ye, [0, be, -2]]], ye, [0, he, -1, K, he]], K, -1, Ot, ye, [0, be, he], ke, Ot]), jc = class extends k {
3068
3068
  constructor(e) {
3069
3069
  super(e);
3070
3070
  }
@@ -3076,7 +3076,7 @@ var Iu = Bt(ze, Bc), Fu = class extends k {
3076
3076
  constructor(e) {
3077
3077
  super(e);
3078
3078
  }
3079
- }, mr = Bt(class extends k {
3079
+ }, fr = Bt(class extends k {
3080
3080
  constructor(e) {
3081
3081
  super(e);
3082
3082
  }
@@ -3084,12 +3084,12 @@ var Iu = Bt(ze, Bc), Fu = class extends k {
3084
3084
  constructor(e) {
3085
3085
  super(e);
3086
3086
  }
3087
- }, Du = [0, be, -1, Rs, je], Wc = class extends k {
3087
+ }, Du = [0, be, -1, Ls, $e], Wc = class extends k {
3088
3088
  constructor(e) {
3089
3089
  super(e);
3090
3090
  }
3091
3091
  };
3092
- Wc.prototype.g = on([0, he, -4, Ot]);
3092
+ Wc.prototype.g = sn([0, he, -4, Ot]);
3093
3093
  var Pu = class extends k {
3094
3094
  constructor(e) {
3095
3095
  super(e);
@@ -3108,7 +3108,7 @@ var Pu = class extends k {
3108
3108
  }
3109
3109
  na() {
3110
3110
  const e = ee(this, 1, void 0, void 0, Ja);
3111
- return e ?? Jt();
3111
+ return e ?? Qt();
3112
3112
  }
3113
3113
  }, Uu = class extends k {
3114
3114
  constructor(e) {
@@ -3118,7 +3118,7 @@ var Pu = class extends k {
3118
3118
  constructor(e) {
3119
3119
  super(e);
3120
3120
  }
3121
- }, [0, ye, [0, zc, ce, [0, Rs], ce, [0, Fc], be, K], Ot]), Ms = class extends k {
3121
+ }, [0, ye, [0, zc, ce, [0, Ls], ce, [0, Fc], be, K], Ot]), Rs = class extends k {
3122
3122
  constructor(e) {
3123
3123
  super(e);
3124
3124
  }
@@ -3130,7 +3130,7 @@ var Pu = class extends k {
3130
3130
  constructor(e) {
3131
3131
  super(e);
3132
3132
  }
3133
- }, Cr = [1, 2, 3, 4, 5, 6], Pr = class extends k {
3133
+ }, Tr = [1, 2, 3, 4, 5, 6], Dr = class extends k {
3134
3134
  constructor(e) {
3135
3135
  super(e);
3136
3136
  }
@@ -3138,7 +3138,7 @@ var Pu = class extends k {
3138
3138
  return ee(this, 1, void 0, void 0, Ja) != null;
3139
3139
  }
3140
3140
  l() {
3141
- return _e(ee(this, 2)) != null;
3141
+ return Ee(ee(this, 2)) != null;
3142
3142
  }
3143
3143
  }, oe = class extends k {
3144
3144
  constructor(e) {
@@ -3147,17 +3147,17 @@ var Pu = class extends k {
3147
3147
  g() {
3148
3148
  return ja(ee(this, 2)) ?? !1;
3149
3149
  }
3150
- }, qc = [0, Fc, K, [0, be, Ot, -1], [0, ku, Ot]], we = [0, qc, de, [0, Cr, ce, Oc, ce, Rc, ce, Lc, ce, Pc, ce, Dc, ce, Mc], je], cn = class extends k {
3150
+ }, qc = [0, Fc, K, [0, be, Ot, -1], [0, ku, Ot]], we = [0, qc, de, [0, Tr, ce, Oc, ce, Rc, ce, Lc, ce, Pc, ce, Dc, ce, Mc], $e], an = class extends k {
3151
3151
  constructor(e) {
3152
3152
  super(e);
3153
3153
  }
3154
- }, Ds = [0, we, he, -1, be], ju = ft(502141897, cn);
3155
- me[502141897] = Ds;
3154
+ }, Ms = [0, we, he, -1, be], ju = ft(502141897, an);
3155
+ me[502141897] = Ms;
3156
3156
  var $u = Bt(class extends k {
3157
3157
  constructor(e) {
3158
3158
  super(e);
3159
3159
  }
3160
- }, [0, [0, je, -1, _u, Au], Du]), Kc = class extends k {
3160
+ }, [0, [0, $e, -1, Eu, Au], Du]), Kc = class extends k {
3161
3161
  constructor(e) {
3162
3162
  super(e);
3163
3163
  }
@@ -3165,14 +3165,14 @@ var $u = Bt(class extends k {
3165
3165
  constructor(e) {
3166
3166
  super(e);
3167
3167
  }
3168
- }, On = [0, we, he, [0, we], de], Wu = ft(508968150, Yc);
3169
- me[508968150] = [0, we, Ds, On, he, [0, [0, qc]]], me[508968149] = On;
3168
+ }, Pn = [0, we, he, [0, we], de], Wu = ft(508968150, Yc);
3169
+ me[508968150] = [0, we, Ms, Pn, he, [0, [0, qc]]], me[508968149] = Pn;
3170
3170
  var ui = class extends k {
3171
3171
  constructor(e) {
3172
3172
  super(e);
3173
3173
  }
3174
3174
  l() {
3175
- return W(this, Ms, 2);
3175
+ return W(this, Rs, 2);
3176
3176
  }
3177
3177
  g() {
3178
3178
  H(this, 2);
@@ -3187,11 +3187,11 @@ var zu = class extends k {
3187
3187
  constructor(e) {
3188
3188
  super(e);
3189
3189
  }
3190
- }, Ps = class extends k {
3190
+ }, Ds = class extends k {
3191
3191
  constructor(e) {
3192
3192
  super(e);
3193
3193
  }
3194
- }, Os = class extends k {
3194
+ }, Ps = class extends k {
3195
3195
  constructor(e) {
3196
3196
  super(e);
3197
3197
  }
@@ -3199,10 +3199,10 @@ var zu = class extends k {
3199
3199
  constructor(e) {
3200
3200
  super(e);
3201
3201
  }
3202
- }, Bo = [0, we, [0, we], Xc, -1], Zc = [0, we, he, be], Bs = [0, we, he], el = [0, we, Zc, Bs, he], Hu = ft(479097054, Jc);
3202
+ }, Bo = [0, we, [0, we], Xc, -1], Zc = [0, we, he, be], Os = [0, we, he], el = [0, we, Zc, Os, he], Hu = ft(479097054, Jc);
3203
3203
  me[479097054] = [0, we, el, Bo], me[463370452] = Bo, me[464864288] = Zc;
3204
- var qu = ft(462713202, Os);
3205
- me[462713202] = el, me[474472470] = Bs;
3204
+ var qu = ft(462713202, Ps);
3205
+ me[462713202] = el, me[474472470] = Os;
3206
3206
  var Ku = class extends k {
3207
3207
  constructor(e) {
3208
3208
  super(e);
@@ -3219,8 +3219,8 @@ var Ku = class extends k {
3219
3219
  constructor(e) {
3220
3220
  super(e);
3221
3221
  }
3222
- }, Us = [0, we, he, -1, be], Bn = [0, we, he, de];
3223
- rl.prototype.g = on([0, we, Bs, [0, we], Ds, On, Us, Bn]);
3222
+ }, Bs = [0, we, he, -1, be], On = [0, we, he, de];
3223
+ rl.prototype.g = sn([0, we, Os, [0, we], Ms, Pn, Bs, On]);
3224
3224
  var nl = class extends k {
3225
3225
  constructor(e) {
3226
3226
  super(e);
@@ -3241,17 +3241,17 @@ var ol = class extends k {
3241
3241
  constructor(e) {
3242
3242
  super(e);
3243
3243
  }
3244
- }, al = [0, je, -1], Qu = ft(458105876, class extends k {
3244
+ }, al = [0, $e, -1], Qu = ft(458105876, class extends k {
3245
3245
  constructor(e) {
3246
3246
  super(e);
3247
3247
  }
3248
3248
  g() {
3249
3249
  let e;
3250
3250
  var t = this.v;
3251
- const i = 0 | t[E];
3252
- return e = Ge(this, i), t = function(r, n, s, o) {
3251
+ const i = 0 | t[_];
3252
+ return e = Ve(this, i), t = function(r, n, s, o) {
3253
3253
  var a = Uo;
3254
- !o && Di(r) && (s = 0 | (n = r.v)[E]);
3254
+ !o && Di(r) && (s = 0 | (n = r.v)[_]);
3255
3255
  var l = vt(n, 2);
3256
3256
  if (r = !1, l == null) {
3257
3257
  if (o) return bo();
@@ -3259,27 +3259,27 @@ var ol = class extends k {
3259
3259
  } else if (l.constructor === bt) {
3260
3260
  if (!(2 & l.J) || o) return l;
3261
3261
  l = l.V();
3262
- } else Array.isArray(l) ? r = !!(2 & (0 | l[E])) : l = [];
3262
+ } else Array.isArray(l) ? r = !!(2 & (0 | l[_])) : l = [];
3263
3263
  if (o) {
3264
3264
  if (!l.length) return bo();
3265
- r || (r = !0, lr(l));
3266
- } else r && (r = !1, rr(l), l = Za(l));
3267
- return !r && 32 & s && cr(l, 32), s = fe(n, s, 2, o = new bt(l, a, Qd, void 0)), r || ii(n, s), o;
3265
+ r || (r = !0, cr(l));
3266
+ } else r && (r = !1, ir(l), l = Za(l));
3267
+ return !r && 32 & s && ar(l, 32), s = fe(n, s, 2, o = new bt(l, a, Qd, void 0)), r || ti(n, s), o;
3268
3268
  }(this, t, i, e), !e && Uo && (t.ra = !0), t;
3269
3269
  }
3270
3270
  });
3271
- me[458105876] = [0, al, xu, [!0, Ot, [0, K, -1, ke]], [0, fr, de, je]];
3272
- var Gs = class extends k {
3271
+ me[458105876] = [0, al, xu, [!0, Ot, [0, K, -1, ke]], [0, wr, de, $e]];
3272
+ var Us = class extends k {
3273
3273
  constructor(e) {
3274
3274
  super(e);
3275
3275
  }
3276
- }, cl = ft(458105758, Gs);
3276
+ }, cl = ft(458105758, Us);
3277
3277
  me[458105758] = [0, we, K, al];
3278
3278
  var En = class extends k {
3279
3279
  constructor(e) {
3280
3280
  super(e);
3281
3281
  }
3282
- }, Go = [0, Eu, -1, Qt], Ju = class extends k {
3282
+ }, Go = [0, _u, -1, Xt], Ju = class extends k {
3283
3283
  constructor(e) {
3284
3284
  super(e);
3285
3285
  }
@@ -3287,52 +3287,52 @@ var En = class extends k {
3287
3287
  constructor(e) {
3288
3288
  super(e);
3289
3289
  }
3290
- }, Un = [1, 2];
3291
- ll.prototype.g = on([0, Un, ce, Go, ce, [0, ye, Go]]);
3290
+ }, Bn = [1, 2];
3291
+ ll.prototype.g = sn([0, Bn, ce, Go, ce, [0, ye, Go]]);
3292
3292
  var dl = class extends k {
3293
3293
  constructor(e) {
3294
3294
  super(e);
3295
3295
  }
3296
3296
  }, Zu = ft(443442058, dl);
3297
- me[443442058] = [0, we, K, be, he, ke, -1, de, he], me[514774813] = Us;
3297
+ me[443442058] = [0, we, K, be, he, ke, -1, de, he], me[514774813] = Bs;
3298
3298
  var ul = class extends k {
3299
3299
  constructor(e) {
3300
3300
  super(e);
3301
3301
  }
3302
3302
  }, e1 = ft(516587230, ul);
3303
- function Gn(e, t) {
3304
- return t = t ? t.clone() : new Ms(), e.displayNamesLocale !== void 0 ? H(t, 1, hr(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && H(t, 1), e.maxResults !== void 0 ? _t(t, 2, e.maxResults) : "maxResults" in e && H(t, 2), e.scoreThreshold !== void 0 ? N(t, 3, e.scoreThreshold) : "scoreThreshold" in e && H(t, 3), e.categoryAllowlist !== void 0 ? Lr(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && H(t, 4), e.categoryDenylist !== void 0 ? Lr(t, 5, e.categoryDenylist) : "categoryDenylist" in e && H(t, 5), t;
3303
+ function Un(e, t) {
3304
+ return t = t ? t.clone() : new Rs(), e.displayNamesLocale !== void 0 ? H(t, 1, ur(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && H(t, 1), e.maxResults !== void 0 ? Et(t, 2, e.maxResults) : "maxResults" in e && H(t, 2), e.scoreThreshold !== void 0 ? N(t, 3, e.scoreThreshold) : "scoreThreshold" in e && H(t, 3), e.categoryAllowlist !== void 0 ? Fr(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && H(t, 4), e.categoryDenylist !== void 0 ? Fr(t, 5, e.categoryDenylist) : "categoryDenylist" in e && H(t, 5), t;
3305
3305
  }
3306
3306
  function hl(e) {
3307
3307
  const t = Number(e);
3308
3308
  return Number.isSafeInteger(t) ? t : String(e);
3309
3309
  }
3310
- function Vs(e, t = -1, i = "") {
3311
- return { categories: e.map((r) => ({ index: Qe(r, 1) ?? 0 ?? -1, score: le(r, 2) ?? 0, categoryName: _e(ee(r, 3)) ?? "" ?? "", displayName: _e(ee(r, 4)) ?? "" ?? "" })), headIndex: t, headName: i };
3310
+ function Gs(e, t = -1, i = "") {
3311
+ return { categories: e.map((r) => ({ index: Qe(r, 1) ?? 0 ?? -1, score: le(r, 2) ?? 0, categoryName: Ee(ee(r, 3)) ?? "" ?? "", displayName: Ee(ee(r, 4)) ?? "" ?? "" })), headIndex: t, headName: i };
3312
3312
  }
3313
3313
  function t1(e) {
3314
3314
  const t = { classifications: xt(e, Pu, 1).map((i) => {
3315
3315
  var r;
3316
- return Vs(((r = W(i, Uc, 4)) == null ? void 0 : r.g()) ?? [], Qe(i, 2) ?? 0, _e(ee(i, 3)) ?? "");
3316
+ return Gs(((r = W(i, Uc, 4)) == null ? void 0 : r.g()) ?? [], Qe(i, 2) ?? 0, Ee(ee(i, 3)) ?? "");
3317
3317
  }) };
3318
3318
  return function(i) {
3319
- return Xd(is ? ee(i, 2, void 0, void 0, Ir) : ee(i, 2));
3319
+ return Xd(ts ? ee(i, 2, void 0, void 0, Sr) : ee(i, 2));
3320
3320
  }(e) != null && (t.timestampMs = hl(nc(e))), t;
3321
3321
  }
3322
3322
  function wl(e) {
3323
3323
  var o, a;
3324
- var t = Ht(e, 3, lt, zt()), i = Ht(e, 2, Ri, zt()), r = Ht(e, 1, _e, zt()), n = Ht(e, 9, _e, zt());
3324
+ var t = zt(e, 3, lt, Wt()), i = zt(e, 2, Ri, Wt()), r = zt(e, 1, Ee, Wt()), n = zt(e, 9, Ee, Wt());
3325
3325
  const s = { categories: [], keypoints: [] };
3326
3326
  for (let l = 0; l < t.length; l++) s.categories.push({ score: t[l], index: i[l] ?? -1, categoryName: r[l] ?? "", displayName: n[l] ?? "" });
3327
- if ((t = (o = W(e, _n, 4)) == null ? void 0 : o.l()) && (s.boundingBox = { originX: Qe(t, 1, St) ?? 0, originY: Qe(t, 2, St) ?? 0, width: Qe(t, 3, St) ?? 0, height: Qe(t, 4, St) ?? 0, angle: 0 }), (a = W(e, _n, 4)) == null ? void 0 : a.g().length) for (const l of W(e, _n, 4).g()) s.keypoints.push({ x: ee(l, 1, void 0, St, lt) ?? 0, y: ee(l, 2, void 0, St, lt) ?? 0, score: ee(l, 4, void 0, St, lt) ?? 0, label: _e(ee(l, 3, void 0, St)) ?? "" });
3327
+ if ((t = (o = W(e, xn, 4)) == null ? void 0 : o.l()) && (s.boundingBox = { originX: Qe(t, 1, St) ?? 0, originY: Qe(t, 2, St) ?? 0, width: Qe(t, 3, St) ?? 0, height: Qe(t, 4, St) ?? 0, angle: 0 }), (a = W(e, xn, 4)) == null ? void 0 : a.g().length) for (const l of W(e, xn, 4).g()) s.keypoints.push({ x: ee(l, 1, void 0, St, lt) ?? 0, y: ee(l, 2, void 0, St, lt) ?? 0, score: ee(l, 4, void 0, St, lt) ?? 0, label: Ee(ee(l, 3, void 0, St)) ?? "" });
3328
3328
  return s;
3329
3329
  }
3330
- function ln(e) {
3330
+ function cn(e) {
3331
3331
  const t = [];
3332
3332
  for (const i of xt(e, $c, 1)) t.push({ x: le(i, 1) ?? 0, y: le(i, 2) ?? 0, z: le(i, 3) ?? 0, visibility: le(i, 4) ?? 0 });
3333
3333
  return t;
3334
3334
  }
3335
- function er(e) {
3335
+ function Zi(e) {
3336
3336
  const t = [];
3337
3337
  for (const i of xt(e, jc, 1)) t.push({ x: le(i, 1) ?? 0, y: le(i, 2) ?? 0, z: le(i, 3) ?? 0, visibility: le(i, 4) ?? 0 });
3338
3338
  return t;
@@ -3348,7 +3348,7 @@ function jo(e, t) {
3348
3348
  return i / Math.sqrt(r * n);
3349
3349
  }
3350
3350
  let Er;
3351
- me[516587230] = [0, we, Us, Bn, he], me[518928384] = Bn;
3351
+ me[516587230] = [0, we, Bs, On, he], me[518928384] = On;
3352
3352
  const i1 = 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 fl() {
3354
3354
  if (Er === void 0) try {
@@ -3358,11 +3358,11 @@ async function fl() {
3358
3358
  }
3359
3359
  return Er;
3360
3360
  }
3361
- async function Yi(e, t = Cu``) {
3361
+ async function Ki(e, t = Cu``) {
3362
3362
  const i = await fl() ? "wasm_internal" : "wasm_nosimd_internal";
3363
3363
  return { wasmLoaderPath: `${t}/${e}_${i}.js`, wasmBinaryPath: `${t}/${e}_${i}.wasm` };
3364
3364
  }
3365
- var Wt = class {
3365
+ var $t = class {
3366
3366
  };
3367
3367
  function ml() {
3368
3368
  var e = navigator;
@@ -3418,17 +3418,17 @@ function It(e, t, i) {
3418
3418
  s ? (i(r, o), r = []) : r.push(n);
3419
3419
  };
3420
3420
  }
3421
- Wt.forVisionTasks = function(e) {
3422
- return Yi("vision", e);
3423
- }, Wt.forTextTasks = function(e) {
3424
- return Yi("text", e);
3425
- }, Wt.forGenAiExperimentalTasks = function(e) {
3426
- return Yi("genai_experimental", e);
3427
- }, Wt.forGenAiTasks = function(e) {
3428
- return Yi("genai", e);
3429
- }, Wt.forAudioTasks = function(e) {
3430
- return Yi("audio", e);
3431
- }, Wt.isSimdSupported = function() {
3421
+ $t.forVisionTasks = function(e) {
3422
+ return Ki("vision", e);
3423
+ }, $t.forTextTasks = function(e) {
3424
+ return Ki("text", e);
3425
+ }, $t.forGenAiExperimentalTasks = function(e) {
3426
+ return Ki("genai_experimental", e);
3427
+ }, $t.forGenAiTasks = function(e) {
3428
+ return Ki("genai", e);
3429
+ }, $t.forAudioTasks = function(e) {
3430
+ return Ki("audio", e);
3431
+ }, $t.isSimdSupported = function() {
3432
3432
  return fl();
3433
3433
  };
3434
3434
  async function r1(e, t, i, r) {
@@ -3437,9 +3437,9 @@ async function r1(e, t, i, r) {
3437
3437
  return self.Module && l && ((s = self.Module).locateFile = l.locateFile, l.mainScriptUrlOrBlob && (s.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 kn(e, t) {
3441
- const i = W(e.baseOptions, Pr, 1) || new Pr();
3442
- typeof t == "string" ? (H(i, 2, hr(t)), H(i, 1)) : t instanceof Uint8Array && (H(i, 1, ss(t, !1)), H(i, 2)), C(e.baseOptions, 0, 1, i);
3440
+ function _n(e, t) {
3441
+ const i = W(e.baseOptions, Dr, 1) || new Dr();
3442
+ typeof t == "string" ? (H(i, 2, ur(t)), H(i, 1)) : t instanceof Uint8Array && (H(i, 1, ns(t, !1)), H(i, 2)), C(e.baseOptions, 0, 1, i);
3443
3443
  }
3444
3444
  function Ho(e) {
3445
3445
  try {
@@ -3453,16 +3453,16 @@ function Ho(e) {
3453
3453
  function x(e, t) {
3454
3454
  e.C = Math.max(e.C, t);
3455
3455
  }
3456
- function dn(e, t) {
3457
- e.B = new Fe(), Ve(e.B, 2, "PassThroughCalculator"), te(e.B, "free_memory"), G(e.B, "free_memory_unused_out"), ne(t, "free_memory"), Ze(t, e.B);
3456
+ function ln(e, t) {
3457
+ e.B = new Fe(), je(e.B, 2, "PassThroughCalculator"), te(e.B, "free_memory"), U(e.B, "free_memory_unused_out"), ne(t, "free_memory"), Ze(t, e.B);
3458
3458
  }
3459
3459
  function Ai(e, t) {
3460
- te(e.B, t), G(e.B, t + "_unused_out");
3460
+ te(e.B, t), U(e.B, t + "_unused_out");
3461
3461
  }
3462
- function un(e) {
3462
+ function dn(e) {
3463
3463
  e.g.addBoolToStream(!0, "free_memory", e.C);
3464
3464
  }
3465
- var Vn = class {
3465
+ var Gn = class {
3466
3466
  constructor(e) {
3467
3467
  this.g = e, this.H = [], this.C = 0, this.g.setAutoRenderToScreen(!1);
3468
3468
  }
@@ -3471,14 +3471,14 @@ var Vn = class {
3471
3471
  if (t) {
3472
3472
  const l = e.baseOptions || {};
3473
3473
  if ((i = e.baseOptions) != null && i.modelAssetBuffer && ((r = e.baseOptions) != null && r.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
3474
- if (!((n = W(this.baseOptions, Pr, 1)) != null && n.g() || (s = W(this.baseOptions, Pr, 1)) != null && s.l() || (o = e.baseOptions) != null && o.modelAssetBuffer || (a = e.baseOptions) != null && a.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
3474
+ if (!((n = W(this.baseOptions, Dr, 1)) != null && n.g() || (s = W(this.baseOptions, Dr, 1)) != null && s.l() || (o = e.baseOptions) != null && o.modelAssetBuffer || (a = e.baseOptions) != null && a.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
3475
3475
  if (function(u, d) {
3476
3476
  let h = W(u.baseOptions, Oo, 3);
3477
3477
  if (!h) {
3478
3478
  var w = h = new Oo(), f = new Fo();
3479
- Ji(w, 4, Cr, f);
3479
+ Qi(w, 4, Tr, f);
3480
3480
  }
3481
- "delegate" in d && (d.delegate === "GPU" ? (d = h, w = new Su(), Ji(d, 2, Cr, w)) : (d = h, w = new Fo(), Ji(d, 4, Cr, w))), C(u.baseOptions, 0, 3, h);
3481
+ "delegate" in d && (d.delegate === "GPU" ? (d = h, w = new Su(), Qi(d, 2, Tr, w)) : (d = h, w = new Fo(), Qi(d, 4, Tr, w))), C(u.baseOptions, 0, 3, h);
3482
3482
  }(this, l), l.modelAssetPath) return fetch(l.modelAssetPath.toString()).then((u) => {
3483
3483
  if (u.ok) return u.arrayBuffer();
3484
3484
  throw Error(`Failed to fetch model: ${l.modelAssetPath} (${u.status})`);
@@ -3487,9 +3487,9 @@ var Vn = 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), kn(this, "/model.dat"), this.m(), this.L();
3490
+ this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), _n(this, "/model.dat"), this.m(), this.L();
3491
3491
  });
3492
- if (l.modelAssetBuffer instanceof Uint8Array) kn(this, l.modelAssetBuffer);
3492
+ if (l.modelAssetBuffer instanceof Uint8Array) _n(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 Vn = class {
3503
3503
  for (const w of d) u.set(w, h), h += w.length;
3504
3504
  return u;
3505
3505
  }(l.modelAssetBuffer).then((u) => {
3506
- kn(this, u), this.m(), this.L();
3506
+ _n(this, u), this.m(), this.L();
3507
3507
  });
3508
3508
  }
3509
3509
  return this.m(), this.L(), Promise.resolve();
@@ -3533,7 +3533,7 @@ function Dt(e, t) {
3533
3533
  if (!e) throw Error(`Unable to obtain required WebGL resource: ${t}`);
3534
3534
  return e;
3535
3535
  }
3536
- Vn.prototype.close = Vn.prototype.close;
3536
+ Gn.prototype.close = Gn.prototype.close;
3537
3537
  class n1 {
3538
3538
  constructor(t, i, r, n) {
3539
3539
  this.g = t, this.h = i, this.m = r, this.l = n;
@@ -3558,19 +3558,19 @@ function Ko(e, t) {
3558
3558
  const s = Dt(i.createBuffer(), "Failed to create buffer");
3559
3559
  return i.bindBuffer(i.ARRAY_BUFFER, s), 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 n1(i, r, n, s);
3560
3560
  }
3561
- function js(e, t) {
3561
+ function Vs(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
3566
  function s1(e, t, i, r) {
3567
- return js(e, t), e.h || (e.m(), e.D()), i ? (e.u || (e.u = Ko(e, !0)), i = e.u) : (e.A || (e.A = Ko(e, !1)), i = e.A), t.useProgram(e.h), i.bind(), e.l(), e = r(), i.g.bindVertexArray(null), e;
3567
+ return Vs(e, t), e.h || (e.m(), e.D()), i ? (e.u || (e.u = Ko(e, !0)), i = e.u) : (e.A || (e.A = Ko(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 pl(e, t, i) {
3570
- return js(e, t), e = Dt(t.createTexture(), "Failed to create texture"), t.bindTexture(t.TEXTURE_2D, e), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_S, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_T, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MIN_FILTER, i ?? t.LINEAR), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, i ?? t.LINEAR), t.bindTexture(t.TEXTURE_2D, null), e;
3570
+ return Vs(e, t), e = Dt(t.createTexture(), "Failed to create texture"), t.bindTexture(t.TEXTURE_2D, e), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_S, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_T, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MIN_FILTER, i ?? t.LINEAR), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, i ?? t.LINEAR), t.bindTexture(t.TEXTURE_2D, null), e;
3571
3571
  }
3572
3572
  function yl(e, t, i) {
3573
- js(e, t), e.B || (e.B = Dt(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, i, 0);
3573
+ Vs(e, t), e.B || (e.B = Dt(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
3575
  function o1(e) {
3576
3576
  var t;
@@ -3623,14 +3623,14 @@ function pt(e, t) {
3623
3623
  throw Error(`Type is not supported: ${t}`);
3624
3624
  }
3625
3625
  }
3626
- function jn(e) {
3626
+ function Vn(e) {
3627
3627
  var t = pt(e, 1);
3628
3628
  if (!t) {
3629
3629
  if (t = pt(e, 0)) t = new Float32Array(t).map((r) => r / 255);
3630
3630
  else {
3631
3631
  t = new Float32Array(e.width * e.height);
3632
3632
  const r = Ni(e);
3633
- var i = $s(e);
3633
+ var i = js(e);
3634
3634
  if (yl(i, r, vl(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);
3636
3636
  for (let n = 0, s = 0; n < t.length; ++n, s += 4) t[n] = i[s];
@@ -3644,9 +3644,9 @@ function vl(e) {
3644
3644
  let t = pt(e, 2);
3645
3645
  if (!t) {
3646
3646
  const i = Ni(e);
3647
- t = _l(e);
3648
- const r = jn(e), n = xl(e);
3649
- i.texImage2D(i.TEXTURE_2D, 0, n, e.width, e.height, 0, i.RED, i.FLOAT, r), $n(e);
3647
+ t = El(e);
3648
+ const r = Vn(e), n = xl(e);
3649
+ i.texImage2D(i.TEXTURE_2D, 0, n, e.width, e.height, 0, i.RED, i.FLOAT, r), jn(e);
3650
3650
  }
3651
3651
  return t;
3652
3652
  }
@@ -3655,26 +3655,26 @@ function Ni(e) {
3655
3655
  return e.h || (e.h = Dt(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 xl(e) {
3658
- if (e = Ni(e), !kr) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) kr = e.R32F;
3658
+ if (e = Ni(e), !_r) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) _r = 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
- kr = e.R16F;
3661
+ _r = e.R16F;
3662
3662
  }
3663
- return kr;
3663
+ return _r;
3664
3664
  }
3665
- function $s(e) {
3665
+ function js(e) {
3666
3666
  return e.l || (e.l = new bl()), e.l;
3667
3667
  }
3668
- function _l(e) {
3668
+ function El(e) {
3669
3669
  const t = Ni(e);
3670
3670
  t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
3671
3671
  let i = pt(e, 2);
3672
- return i || (i = pl($s(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(i), e.j = !0), t.bindTexture(t.TEXTURE_2D, i), i;
3672
+ return i || (i = pl(js(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(i), e.j = !0), t.bindTexture(t.TEXTURE_2D, i), i;
3673
3673
  }
3674
- function $n(e) {
3674
+ function jn(e) {
3675
3675
  e.h.bindTexture(e.h.TEXTURE_2D, null);
3676
3676
  }
3677
- var kr, pe = class {
3677
+ var _r, pe = class {
3678
3678
  constructor(e, t, i, r, n, s, o) {
3679
3679
  this.g = e, this.m = t, this.j = i, this.canvas = r, this.l = n, this.width = s, this.height = o, this.j && --Yo === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
3680
3680
  }
@@ -3688,11 +3688,11 @@ var kr, pe = class {
3688
3688
  return !!pt(this, 2);
3689
3689
  }
3690
3690
  ja() {
3691
- return (t = pt(e = this, 0)) || (t = jn(e), t = new Uint8Array(t.map((i) => Math.round(255 * i))), e.g.push(t)), t;
3691
+ return (t = pt(e = this, 0)) || (t = Vn(e), t = new Uint8Array(t.map((i) => Math.round(255 * i))), e.g.push(t)), t;
3692
3692
  var e, t;
3693
3693
  }
3694
3694
  ia() {
3695
- return jn(this);
3695
+ return Vn(this);
3696
3696
  }
3697
3697
  N() {
3698
3698
  return vl(this);
@@ -3706,12 +3706,12 @@ var kr, pe = class {
3706
3706
  else {
3707
3707
  if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
3708
3708
  {
3709
- const r = Ni(this), n = $s(this);
3709
+ const r = Ni(this), n = js(this);
3710
3710
  r.activeTexture(r.TEXTURE1), i = pl(n, r, this.m ? r.LINEAR : r.NEAREST), r.bindTexture(r.TEXTURE_2D, i);
3711
3711
  const s = xl(this);
3712
3712
  r.texImage2D(r.TEXTURE_2D, 0, s, this.width, this.height, 0, r.RED, r.FLOAT, null), r.bindTexture(r.TEXTURE_2D, null), yl(n, r, i), s1(n, r, !1, () => {
3713
- _l(this), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLE_FAN, 0, 4), $n(this);
3714
- }), o1(n), $n(this);
3713
+ El(this), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLE_FAN, 0, 4), jn(this);
3714
+ }), o1(n), jn(this);
3715
3715
  }
3716
3716
  }
3717
3717
  e.push(i);
@@ -4097,7 +4097,7 @@ async function $(e, t, i) {
4097
4097
  return r1(r, n, s, o);
4098
4098
  }(e, i.canvas ?? (ml() ? void 0 : document.createElement("canvas")), t, i);
4099
4099
  }
4100
- function El(e, t, i, r) {
4100
+ function _l(e, t, i, r) {
4101
4101
  if (e.U) {
4102
4102
  const s = new Wc();
4103
4103
  if (i != null && i.regionOfInterest) {
@@ -4121,12 +4121,12 @@ function El(e, t, i, r) {
4121
4121
  function st(e, t, i) {
4122
4122
  var r;
4123
4123
  if ((r = e.baseOptions) != null && r.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
4124
- El(e, t, i, e.C + 1);
4124
+ _l(e, t, i, e.C + 1);
4125
4125
  }
4126
4126
  function mt(e, t, i, r) {
4127
4127
  var n;
4128
4128
  if (!((n = e.baseOptions) != null && n.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
4129
- El(e, t, i, r);
4129
+ _l(e, t, i, r);
4130
4130
  }
4131
4131
  function Ti(e, t, i, r) {
4132
4132
  var n = t.data;
@@ -4134,22 +4134,22 @@ function Ti(e, t, i, r) {
4134
4134
  if ((n instanceof Uint8Array || n instanceof Float32Array) && n.length !== o) throw Error("Unsupported channel count: " + n.length / o);
4135
4135
  return e = new pe([n], i, !1, e.g.i.canvas, e.P, s, t), r ? e.clone() : e;
4136
4136
  }
4137
- var $e = class extends Vn {
4137
+ var We = class extends Gn {
4138
4138
  constructor(e, t, i, r) {
4139
4139
  super(e), this.g = e, this.X = t, this.U = i, this.oa = r, this.P = new bl();
4140
4140
  }
4141
4141
  l(e, t = !0) {
4142
- if ("runningMode" in e && H(this.baseOptions, 2, sr(!!e.runningMode && e.runningMode !== "IMAGE")), e.canvas !== void 0 && this.g.i.canvas !== e.canvas) throw Error("You must create a new task to reset the canvas.");
4142
+ if ("runningMode" in e && H(this.baseOptions, 2, nr(!!e.runningMode && e.runningMode !== "IMAGE")), e.canvas !== void 0 && this.g.i.canvas !== e.canvas) throw Error("You must create a new task to reset the canvas.");
4143
4143
  return super.l(e, t);
4144
4144
  }
4145
4145
  close() {
4146
4146
  this.P.close(), super.close();
4147
4147
  }
4148
4148
  };
4149
- $e.prototype.close = $e.prototype.close;
4150
- var Ke = class extends $e {
4149
+ We.prototype.close = We.prototype.close;
4150
+ var Ke = class extends We {
4151
4151
  constructor(e, t) {
4152
- super(new nt(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, C(e = this.h = new cn(), 0, 1, t = new oe()), N(this.h, 2, 0.5), N(this.h, 3, 0.3);
4152
+ super(new nt(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, C(e = this.h = new an(), 0, 1, t = new oe()), N(this.h, 2, 0.5), N(this.h, 3, 0.3);
4153
4153
  }
4154
4154
  get baseOptions() {
4155
4155
  return W(this.h, oe, 1);
@@ -4167,12 +4167,12 @@ var Ke = class extends $e {
4167
4167
  return this.j = { detections: [] }, mt(this, e, i, t), this.j;
4168
4168
  }
4169
4169
  m() {
4170
- var e = new ze();
4170
+ var e = new He();
4171
4171
  ne(e, "image_in"), ne(e, "norm_rect_in"), z(e, "detections");
4172
- const t = new We();
4172
+ const t = new ze();
4173
4173
  wt(t, ju, this.h);
4174
4174
  const i = new Fe();
4175
- Ve(i, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect_in"), G(i, "DETECTIONS:detections"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("detections", (r, n) => {
4175
+ je(i, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect_in"), U(i, "DETECTIONS:detections"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("detections", (r, n) => {
4176
4176
  for (const s of r) r = Vc(s), this.j.detections.push(wl(r));
4177
4177
  x(this, n);
4178
4178
  }), this.g.attachEmptyPacketListener("detections", (r) => {
@@ -4187,13 +4187,13 @@ Ke.prototype.detectForVideo = Ke.prototype.G, Ke.prototype.detect = Ke.prototype
4187
4187
  }, Ke.createFromOptions = function(e, t) {
4188
4188
  return $(Ke, e, t);
4189
4189
  };
4190
- var Ws = rt([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]), zs = rt([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]), Hs = rt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), kl = rt([474, 475], [475, 476], [476, 477], [477, 474]), qs = rt([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]), Ks = rt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Al = rt([469, 470], [470, 471], [471, 472], [472, 469]), Ys = rt([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]), Nl = [...Ws, ...zs, ...Hs, ...qs, ...Ks, ...Ys], Tl = rt([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 $s = rt([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]), Ws = rt([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]), zs = rt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), kl = rt([474, 475], [475, 476], [476, 477], [477, 474]), Hs = rt([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]), qs = rt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Al = rt([469, 470], [470, 471], [471, 472], [472, 469]), Ks = rt([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]), Nl = [...$s, ...Ws, ...zs, ...Hs, ...qs, ...Ks], Tl = rt([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 Qo(e) {
4192
4192
  e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
4193
4193
  }
4194
- var ie = class extends $e {
4194
+ var ie = class extends We {
4195
4195
  constructor(e, t) {
4196
- super(new nt(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, C(e = this.h = new Yc(), 0, 1, t = new oe()), this.A = new Kc(), C(this.h, 0, 3, this.A), this.u = new cn(), C(this.h, 0, 2, this.u), _t(this.u, 4, 1), N(this.u, 2, 0.5), N(this.A, 2, 0.5), N(this.h, 4, 0.5);
4196
+ super(new nt(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, C(e = this.h = new Yc(), 0, 1, t = new oe()), this.A = new Kc(), C(this.h, 0, 3, this.A), this.u = new an(), C(this.h, 0, 2, this.u), Et(this.u, 4, 1), N(this.u, 2, 0.5), N(this.A, 2, 0.5), N(this.h, 4, 0.5);
4197
4197
  }
4198
4198
  get baseOptions() {
4199
4199
  return W(this.h, oe, 1);
@@ -4202,7 +4202,7 @@ var ie = class extends $e {
4202
4202
  C(this.h, 0, 1, e);
4203
4203
  }
4204
4204
  o(e) {
4205
- return "numFaces" in e && _t(this.u, 4, e.numFaces ?? 1), "minFaceDetectionConfidence" in e && N(this.u, 2, e.minFaceDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && N(this.h, 4, e.minTrackingConfidence ?? 0.5), "minFacePresenceConfidence" in e && N(this.A, 2, e.minFacePresenceConfidence ?? 0.5), "outputFaceBlendshapes" in e && (this.outputFaceBlendshapes = !!e.outputFaceBlendshapes), "outputFacialTransformationMatrixes" in e && (this.outputFacialTransformationMatrixes = !!e.outputFacialTransformationMatrixes), this.l(e);
4205
+ return "numFaces" in e && Et(this.u, 4, e.numFaces ?? 1), "minFaceDetectionConfidence" in e && N(this.u, 2, e.minFaceDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && N(this.h, 4, e.minTrackingConfidence ?? 0.5), "minFacePresenceConfidence" in e && N(this.A, 2, e.minFacePresenceConfidence ?? 0.5), "outputFaceBlendshapes" in e && (this.outputFaceBlendshapes = !!e.outputFaceBlendshapes), "outputFacialTransformationMatrixes" in e && (this.outputFacialTransformationMatrixes = !!e.outputFacialTransformationMatrixes), this.l(e);
4206
4206
  }
4207
4207
  F(e, t) {
4208
4208
  return Qo(this), st(this, e, t), this.j;
@@ -4211,23 +4211,23 @@ var ie = class extends $e {
4211
4211
  return Qo(this), mt(this, e, i, t), this.j;
4212
4212
  }
4213
4213
  m() {
4214
- var e = new ze();
4214
+ var e = new He();
4215
4215
  ne(e, "image_in"), ne(e, "norm_rect"), z(e, "face_landmarks");
4216
- const t = new We();
4216
+ const t = new ze();
4217
4217
  wt(t, Wu, this.h);
4218
4218
  const i = new Fe();
4219
- Ve(i, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), G(i, "NORM_LANDMARKS:face_landmarks"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("face_landmarks", (r, n) => {
4220
- for (const s of r) r = mr(s), this.j.faceLandmarks.push(ln(r));
4219
+ je(i, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), U(i, "NORM_LANDMARKS:face_landmarks"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("face_landmarks", (r, n) => {
4220
+ for (const s of r) r = fr(s), this.j.faceLandmarks.push(cn(r));
4221
4221
  x(this, n);
4222
4222
  }), this.g.attachEmptyPacketListener("face_landmarks", (r) => {
4223
4223
  x(this, r);
4224
- }), this.outputFaceBlendshapes && (z(e, "blendshapes"), G(i, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", (r, n) => {
4225
- if (this.outputFaceBlendshapes) for (const s of r) r = an(s), this.j.faceBlendshapes.push(Vs(r.g() ?? []));
4224
+ }), this.outputFaceBlendshapes && (z(e, "blendshapes"), U(i, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", (r, n) => {
4225
+ if (this.outputFaceBlendshapes) for (const s of r) r = on(s), this.j.faceBlendshapes.push(Gs(r.g() ?? []));
4226
4226
  x(this, n);
4227
4227
  }), this.g.attachEmptyPacketListener("blendshapes", (r) => {
4228
4228
  x(this, r);
4229
- })), this.outputFacialTransformationMatrixes && (z(e, "face_geometry"), G(i, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", (r, n) => {
4230
- if (this.outputFacialTransformationMatrixes) for (const s of r) (r = W(r = $u(s), Mu, 2)) && this.j.facialTransformationMatrixes.push({ rows: Qe(r, 1) ?? 0 ?? 0, columns: Qe(r, 2) ?? 0 ?? 0, data: Ht(r, 3, lt, zt()).slice() ?? [] });
4229
+ })), this.outputFacialTransformationMatrixes && (z(e, "face_geometry"), U(i, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", (r, n) => {
4230
+ if (this.outputFacialTransformationMatrixes) for (const s of r) (r = W(r = $u(s), Mu, 2)) && this.j.facialTransformationMatrixes.push({ rows: Qe(r, 1) ?? 0 ?? 0, columns: Qe(r, 2) ?? 0 ?? 0, data: zt(r, 3, lt, Wt()).slice() ?? [] });
4231
4231
  x(this, n);
4232
4232
  }), this.g.attachEmptyPacketListener("face_geometry", (r) => {
4233
4233
  x(this, r);
@@ -4240,8 +4240,8 @@ ie.prototype.detectForVideo = ie.prototype.G, ie.prototype.detect = ie.prototype
4240
4240
  return $(ie, e, { baseOptions: { modelAssetBuffer: t } });
4241
4241
  }, ie.createFromOptions = function(e, t) {
4242
4242
  return $(ie, e, t);
4243
- }, ie.FACE_LANDMARKS_LIPS = Ws, ie.FACE_LANDMARKS_LEFT_EYE = zs, ie.FACE_LANDMARKS_LEFT_EYEBROW = Hs, ie.FACE_LANDMARKS_LEFT_IRIS = kl, ie.FACE_LANDMARKS_RIGHT_EYE = qs, ie.FACE_LANDMARKS_RIGHT_EYEBROW = Ks, ie.FACE_LANDMARKS_RIGHT_IRIS = Al, ie.FACE_LANDMARKS_FACE_OVAL = Ys, ie.FACE_LANDMARKS_CONTOURS = Nl, ie.FACE_LANDMARKS_TESSELATION = Tl;
4244
- var Xs = rt([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]);
4243
+ }, ie.FACE_LANDMARKS_LIPS = $s, ie.FACE_LANDMARKS_LEFT_EYE = Ws, ie.FACE_LANDMARKS_LEFT_EYEBROW = zs, ie.FACE_LANDMARKS_LEFT_IRIS = kl, ie.FACE_LANDMARKS_RIGHT_EYE = Hs, ie.FACE_LANDMARKS_RIGHT_EYEBROW = qs, ie.FACE_LANDMARKS_RIGHT_IRIS = Al, ie.FACE_LANDMARKS_FACE_OVAL = Ks, ie.FACE_LANDMARKS_CONTOURS = Nl, ie.FACE_LANDMARKS_TESSELATION = Tl;
4244
+ var Ys = rt([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 Jo(e) {
4246
4246
  e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
4247
4247
  }
@@ -4251,16 +4251,16 @@ function Zo(e) {
4251
4251
  function ea(e, t = !0) {
4252
4252
  const i = [];
4253
4253
  for (const n of e) {
4254
- var r = an(n);
4254
+ var r = on(n);
4255
4255
  e = [];
4256
- for (const s of r.g()) r = t && Qe(s, 1) != null ? Qe(s, 1) ?? 0 : -1, e.push({ score: le(s, 2) ?? 0, index: r, categoryName: _e(ee(s, 3)) ?? "" ?? "", displayName: _e(ee(s, 4)) ?? "" ?? "" });
4256
+ for (const s of r.g()) r = t && Qe(s, 1) != null ? Qe(s, 1) ?? 0 : -1, e.push({ score: le(s, 2) ?? 0, index: r, categoryName: Ee(ee(s, 3)) ?? "" ?? "", displayName: Ee(ee(s, 4)) ?? "" ?? "" });
4257
4257
  i.push(e);
4258
4258
  }
4259
4259
  return i;
4260
4260
  }
4261
- var Me = class extends $e {
4261
+ var De = class extends We {
4262
4262
  constructor(e, t) {
4263
- super(new nt(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], C(e = this.j = new Jc(), 0, 1, t = new oe()), this.u = new Os(), C(this.j, 0, 2, this.u), this.D = new Ps(), C(this.u, 0, 3, this.D), this.A = new Qc(), C(this.u, 0, 2, this.A), this.h = new zu(), C(this.j, 0, 3, this.h), N(this.A, 2, 0.5), N(this.u, 4, 0.5), N(this.D, 2, 0.5);
4263
+ super(new nt(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], C(e = this.j = new Jc(), 0, 1, t = new oe()), this.u = new Ps(), C(this.j, 0, 2, this.u), this.D = new Ds(), C(this.u, 0, 3, this.D), this.A = new Qc(), C(this.u, 0, 2, this.A), this.h = new zu(), C(this.j, 0, 3, this.h), N(this.A, 2, 0.5), N(this.u, 4, 0.5), N(this.D, 2, 0.5);
4264
4264
  }
4265
4265
  get baseOptions() {
4266
4266
  return W(this.j, oe, 1);
@@ -4270,11 +4270,11 @@ var Me = class extends $e {
4270
4270
  }
4271
4271
  o(e) {
4272
4272
  var n, s, o, a;
4273
- if (_t(this.A, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && N(this.A, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && N(this.u, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && N(this.D, 2, e.minHandPresenceConfidence ?? 0.5), e.cannedGesturesClassifierOptions) {
4274
- var t = new ui(), i = t, r = Gn(e.cannedGesturesClassifierOptions, (n = W(this.h, ui, 3)) == null ? void 0 : n.l());
4273
+ if (Et(this.A, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && N(this.A, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && N(this.u, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && N(this.D, 2, e.minHandPresenceConfidence ?? 0.5), e.cannedGesturesClassifierOptions) {
4274
+ var t = new ui(), i = t, r = Un(e.cannedGesturesClassifierOptions, (n = W(this.h, ui, 3)) == null ? void 0 : n.l());
4275
4275
  C(i, 0, 2, r), C(this.h, 0, 3, t);
4276
4276
  } else e.cannedGesturesClassifierOptions === void 0 && ((s = W(this.h, ui, 3)) == null || s.g());
4277
- return e.customGesturesClassifierOptions ? (C(i = t = new ui(), 0, 2, r = Gn(e.customGesturesClassifierOptions, (o = W(this.h, ui, 4)) == null ? void 0 : o.l())), C(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = W(this.h, ui, 4)) == null || a.g()), this.l(e);
4277
+ return e.customGesturesClassifierOptions ? (C(i = t = new ui(), 0, 2, r = Un(e.customGesturesClassifierOptions, (o = W(this.h, ui, 4)) == null ? void 0 : o.l())), C(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = W(this.h, ui, 4)) == null || a.g()), this.l(e);
4278
4278
  }
4279
4279
  Ha(e, t) {
4280
4280
  return Jo(this), st(this, e, t), Zo(this);
@@ -4283,14 +4283,14 @@ var Me = class extends $e {
4283
4283
  return Jo(this), mt(this, e, i, t), Zo(this);
4284
4284
  }
4285
4285
  m() {
4286
- var e = new ze();
4286
+ var e = new He();
4287
4287
  ne(e, "image_in"), ne(e, "norm_rect"), z(e, "hand_gestures"), z(e, "hand_landmarks"), z(e, "world_hand_landmarks"), z(e, "handedness");
4288
- const t = new We();
4288
+ const t = new ze();
4289
4289
  wt(t, Hu, this.j);
4290
4290
  const i = new Fe();
4291
- Ve(i, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), G(i, "HAND_GESTURES:hand_gestures"), G(i, "LANDMARKS:hand_landmarks"), G(i, "WORLD_LANDMARKS:world_hand_landmarks"), G(i, "HANDEDNESS:handedness"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("hand_landmarks", (r, n) => {
4291
+ je(i, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), U(i, "HAND_GESTURES:hand_gestures"), U(i, "LANDMARKS:hand_landmarks"), U(i, "WORLD_LANDMARKS:world_hand_landmarks"), U(i, "HANDEDNESS:handedness"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("hand_landmarks", (r, n) => {
4292
4292
  for (const s of r) {
4293
- r = mr(s);
4293
+ r = fr(s);
4294
4294
  const o = [];
4295
4295
  for (const a of xt(r, $c, 1)) o.push({ x: le(a, 1) ?? 0, y: le(a, 2) ?? 0, z: le(a, 3) ?? 0, visibility: le(a, 4) ?? 0 });
4296
4296
  this.landmarks.push(o);
@@ -4322,16 +4322,16 @@ var Me = class extends $e {
4322
4322
  function ta(e) {
4323
4323
  return { landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handednesses: e.handedness, handedness: e.handedness };
4324
4324
  }
4325
- Me.prototype.recognizeForVideo = Me.prototype.Ia, Me.prototype.recognize = Me.prototype.Ha, Me.prototype.setOptions = Me.prototype.o, Me.createFromModelPath = function(e, t) {
4326
- return $(Me, e, { baseOptions: { modelAssetPath: t } });
4327
- }, Me.createFromModelBuffer = function(e, t) {
4328
- return $(Me, e, { baseOptions: { modelAssetBuffer: t } });
4329
- }, Me.createFromOptions = function(e, t) {
4330
- return $(Me, e, t);
4331
- }, Me.HAND_CONNECTIONS = Xs;
4332
- var De = class extends $e {
4325
+ De.prototype.recognizeForVideo = De.prototype.Ia, De.prototype.recognize = De.prototype.Ha, De.prototype.setOptions = De.prototype.o, De.createFromModelPath = function(e, t) {
4326
+ return $(De, e, { baseOptions: { modelAssetPath: t } });
4327
+ }, De.createFromModelBuffer = function(e, t) {
4328
+ return $(De, e, { baseOptions: { modelAssetBuffer: t } });
4329
+ }, De.createFromOptions = function(e, t) {
4330
+ return $(De, e, t);
4331
+ }, De.HAND_CONNECTIONS = Ys;
4332
+ var Pe = class extends We {
4333
4333
  constructor(e, t) {
4334
- super(new nt(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], C(e = this.h = new Os(), 0, 1, t = new oe()), this.u = new Ps(), C(this.h, 0, 3, this.u), this.j = new Qc(), C(this.h, 0, 2, this.j), _t(this.j, 3, 1), N(this.j, 2, 0.5), N(this.u, 2, 0.5), N(this.h, 4, 0.5);
4334
+ super(new nt(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], C(e = this.h = new Ps(), 0, 1, t = new oe()), this.u = new Ds(), C(this.h, 0, 3, this.u), this.j = new Qc(), C(this.h, 0, 2, this.j), Et(this.j, 3, 1), N(this.j, 2, 0.5), N(this.u, 2, 0.5), N(this.h, 4, 0.5);
4335
4335
  }
4336
4336
  get baseOptions() {
4337
4337
  return W(this.h, oe, 1);
@@ -4340,7 +4340,7 @@ var De = class extends $e {
4340
4340
  C(this.h, 0, 1, e);
4341
4341
  }
4342
4342
  o(e) {
4343
- return "numHands" in e && _t(this.j, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && N(this.j, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && N(this.h, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && N(this.u, 2, e.minHandPresenceConfidence ?? 0.5), this.l(e);
4343
+ return "numHands" in e && Et(this.j, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && N(this.j, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && N(this.h, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && N(this.u, 2, e.minHandPresenceConfidence ?? 0.5), this.l(e);
4344
4344
  }
4345
4345
  F(e, t) {
4346
4346
  return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], st(this, e, t), ta(this);
@@ -4349,18 +4349,18 @@ var De = class extends $e {
4349
4349
  return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], mt(this, e, i, t), ta(this);
4350
4350
  }
4351
4351
  m() {
4352
- var e = new ze();
4352
+ var e = new He();
4353
4353
  ne(e, "image_in"), ne(e, "norm_rect"), z(e, "hand_landmarks"), z(e, "world_hand_landmarks"), z(e, "handedness");
4354
- const t = new We();
4354
+ const t = new ze();
4355
4355
  wt(t, qu, this.h);
4356
4356
  const i = new Fe();
4357
- Ve(i, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), G(i, "LANDMARKS:hand_landmarks"), G(i, "WORLD_LANDMARKS:world_hand_landmarks"), G(i, "HANDEDNESS:handedness"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("hand_landmarks", (r, n) => {
4358
- for (const s of r) r = mr(s), this.landmarks.push(ln(r));
4357
+ je(i, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), U(i, "LANDMARKS:hand_landmarks"), U(i, "WORLD_LANDMARKS:world_hand_landmarks"), U(i, "HANDEDNESS:handedness"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("hand_landmarks", (r, n) => {
4358
+ for (const s of r) r = fr(s), this.landmarks.push(cn(r));
4359
4359
  x(this, n);
4360
4360
  }), this.g.attachEmptyPacketListener("hand_landmarks", (r) => {
4361
4361
  x(this, r);
4362
4362
  }), this.g.attachProtoVectorListener("world_hand_landmarks", (r, n) => {
4363
- for (const s of r) r = mi(s), this.worldLandmarks.push(er(r));
4363
+ for (const s of r) r = mi(s), this.worldLandmarks.push(Zi(r));
4364
4364
  x(this, n);
4365
4365
  }), this.g.attachEmptyPacketListener("world_hand_landmarks", (r) => {
4366
4366
  x(this, r);
@@ -4368,9 +4368,9 @@ var De = class extends $e {
4368
4368
  var s = this.handedness, o = s.push;
4369
4369
  const a = [];
4370
4370
  for (const l of r) {
4371
- r = an(l);
4371
+ r = on(l);
4372
4372
  const u = [];
4373
- for (const d of r.g()) u.push({ score: le(d, 2) ?? 0, index: Qe(d, 1) ?? 0 ?? -1, categoryName: _e(ee(d, 3)) ?? "" ?? "", displayName: _e(ee(d, 4)) ?? "" ?? "" });
4373
+ for (const d of r.g()) u.push({ score: le(d, 2) ?? 0, index: Qe(d, 1) ?? 0 ?? -1, categoryName: Ee(ee(d, 3)) ?? "" ?? "", displayName: Ee(ee(d, 4)) ?? "" ?? "" });
4374
4374
  a.push(u);
4375
4375
  }
4376
4376
  o.call(s, ...a), x(this, n);
@@ -4379,13 +4379,13 @@ var De = class extends $e {
4379
4379
  }), e = e.g(), this.setGraph(new Uint8Array(e), !0);
4380
4380
  }
4381
4381
  };
4382
- De.prototype.detectForVideo = De.prototype.G, De.prototype.detect = De.prototype.F, De.prototype.setOptions = De.prototype.o, De.createFromModelPath = function(e, t) {
4383
- return $(De, e, { baseOptions: { modelAssetPath: t } });
4384
- }, De.createFromModelBuffer = function(e, t) {
4385
- return $(De, e, { baseOptions: { modelAssetBuffer: t } });
4386
- }, De.createFromOptions = function(e, t) {
4387
- return $(De, e, t);
4388
- }, De.HAND_CONNECTIONS = Xs;
4382
+ Pe.prototype.detectForVideo = Pe.prototype.G, Pe.prototype.detect = Pe.prototype.F, Pe.prototype.setOptions = Pe.prototype.o, Pe.createFromModelPath = function(e, t) {
4383
+ return $(Pe, e, { baseOptions: { modelAssetPath: t } });
4384
+ }, Pe.createFromModelBuffer = function(e, t) {
4385
+ return $(Pe, e, { baseOptions: { modelAssetBuffer: t } });
4386
+ }, Pe.createFromOptions = function(e, t) {
4387
+ return $(Pe, e, t);
4388
+ }, Pe.HAND_CONNECTIONS = Ys;
4389
4389
  var Cl = rt([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: [] };
@@ -4395,15 +4395,15 @@ function ra(e) {
4395
4395
  if (!e.D) return e.h;
4396
4396
  e.D(e.h);
4397
4397
  } finally {
4398
- un(e);
4398
+ dn(e);
4399
4399
  }
4400
4400
  }
4401
- function Ar(e, t) {
4402
- e = mr(e), t.push(ln(e));
4401
+ function kr(e, t) {
4402
+ e = fr(e), t.push(cn(e));
4403
4403
  }
4404
- var Z = class extends $e {
4404
+ var Z = class extends We {
4405
4405
  constructor(e, t) {
4406
- super(new nt(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, C(e = this.j = new rl(), 0, 1, t = new oe()), this.I = new Ps(), C(this.j, 0, 2, this.I), this.W = new Ku(), C(this.j, 0, 3, this.W), this.u = new cn(), C(this.j, 0, 4, this.u), this.O = new Kc(), C(this.j, 0, 5, this.O), this.A = new tl(), C(this.j, 0, 6, this.A), this.M = new il(), C(this.j, 0, 7, this.M), N(this.u, 2, 0.5), N(this.u, 3, 0.3), N(this.O, 2, 0.5), N(this.A, 2, 0.5), N(this.A, 3, 0.3), N(this.M, 2, 0.5), N(this.I, 2, 0.5);
4406
+ super(new nt(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, C(e = this.j = new rl(), 0, 1, t = new oe()), this.I = new Ds(), C(this.j, 0, 2, this.I), this.W = new Ku(), C(this.j, 0, 3, this.W), this.u = new an(), C(this.j, 0, 4, this.u), this.O = new Kc(), C(this.j, 0, 5, this.O), this.A = new tl(), C(this.j, 0, 6, this.A), this.M = new il(), C(this.j, 0, 7, this.M), N(this.u, 2, 0.5), N(this.u, 3, 0.3), N(this.O, 2, 0.5), N(this.A, 2, 0.5), N(this.A, 3, 0.3), N(this.M, 2, 0.5), N(this.I, 2, 0.5);
4407
4407
  }
4408
4408
  get baseOptions() {
4409
4409
  return W(this.j, oe, 1);
@@ -4423,55 +4423,55 @@ var Z = class extends $e {
4423
4423
  return this.D = typeof i == "function" ? i : r, ia(this), mt(this, e, n, t), ra(this);
4424
4424
  }
4425
4425
  m() {
4426
- var e = new ze();
4426
+ var e = new He();
4427
4427
  ne(e, "input_frames_image"), z(e, "pose_landmarks"), z(e, "pose_world_landmarks"), z(e, "face_landmarks"), z(e, "left_hand_landmarks"), z(e, "left_hand_world_landmarks"), z(e, "right_hand_landmarks"), z(e, "right_hand_world_landmarks");
4428
- const t = new We(), i = new To();
4429
- Ve(i, 1, "type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), function(n, s) {
4430
- if (s != null) if (Array.isArray(s)) H(n, 2, Kr(s, 0, or));
4428
+ const t = new ze(), i = new To();
4429
+ je(i, 1, "type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), function(n, s) {
4430
+ if (s != null) if (Array.isArray(s)) H(n, 2, qr(s, 0, sr));
4431
4431
  else {
4432
- if (!(typeof s == "string" || s instanceof dt || rs(s))) throw Error("invalid value in Any.value field: " + s + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
4433
- Rt(n, 2, ss(s, !1), Jt());
4432
+ if (!(typeof s == "string" || s instanceof dt || is(s))) throw Error("invalid value in Any.value field: " + s + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
4433
+ Rt(n, 2, ns(s, !1), Qt());
4434
4434
  }
4435
4435
  }(i, this.j.g());
4436
4436
  const r = new Fe();
4437
- Ve(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), vs(r, 8, To, i), te(r, "IMAGE:input_frames_image"), G(r, "POSE_LANDMARKS:pose_landmarks"), G(r, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), G(r, "FACE_LANDMARKS:face_landmarks"), G(r, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), G(r, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), G(r, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), G(r, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), r.o(t), Ze(e, r), dn(this, e), this.g.attachProtoListener("pose_landmarks", (n, s) => {
4438
- Ar(n, this.h.poseLandmarks), x(this, s);
4437
+ je(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), bs(r, 8, To, 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), ln(this, e), this.g.attachProtoListener("pose_landmarks", (n, s) => {
4438
+ kr(n, this.h.poseLandmarks), x(this, s);
4439
4439
  }), this.g.attachEmptyPacketListener("pose_landmarks", (n) => {
4440
4440
  x(this, n);
4441
4441
  }), this.g.attachProtoListener("pose_world_landmarks", (n, s) => {
4442
4442
  var o = this.h.poseWorldLandmarks;
4443
- n = mi(n), o.push(er(n)), x(this, s);
4443
+ n = mi(n), o.push(Zi(n)), x(this, s);
4444
4444
  }), this.g.attachEmptyPacketListener("pose_world_landmarks", (n) => {
4445
4445
  x(this, n);
4446
- }), this.outputPoseSegmentationMasks && (G(r, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"), Ai(this, "pose_segmentation_mask"), this.g.Z("pose_segmentation_mask", (n, s) => {
4446
+ }), this.outputPoseSegmentationMasks && (U(r, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"), Ai(this, "pose_segmentation_mask"), this.g.Z("pose_segmentation_mask", (n, s) => {
4447
4447
  this.h.poseSegmentationMasks = [Ti(this, n, !0, !this.D)], x(this, s);
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, s) => {
4451
- Ar(n, this.h.faceLandmarks), x(this, s);
4451
+ kr(n, this.h.faceLandmarks), x(this, s);
4452
4452
  }), this.g.attachEmptyPacketListener("face_landmarks", (n) => {
4453
4453
  x(this, n);
4454
- }), this.outputFaceBlendshapes && (z(e, "extra_blendshapes"), G(r, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", (n, s) => {
4454
+ }), this.outputFaceBlendshapes && (z(e, "extra_blendshapes"), U(r, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", (n, s) => {
4455
4455
  var o = this.h.faceBlendshapes;
4456
- this.outputFaceBlendshapes && (n = an(n), o.push(Vs(n.g() ?? []))), x(this, s);
4456
+ this.outputFaceBlendshapes && (n = on(n), o.push(Gs(n.g() ?? []))), x(this, s);
4457
4457
  }), this.g.attachEmptyPacketListener("extra_blendshapes", (n) => {
4458
4458
  x(this, n);
4459
4459
  })), this.g.attachProtoListener("left_hand_landmarks", (n, s) => {
4460
- Ar(n, this.h.leftHandLandmarks), x(this, s);
4460
+ kr(n, this.h.leftHandLandmarks), x(this, s);
4461
4461
  }), this.g.attachEmptyPacketListener("left_hand_landmarks", (n) => {
4462
4462
  x(this, n);
4463
4463
  }), this.g.attachProtoListener("left_hand_world_landmarks", (n, s) => {
4464
4464
  var o = this.h.leftHandWorldLandmarks;
4465
- n = mi(n), o.push(er(n)), x(this, s);
4465
+ n = mi(n), o.push(Zi(n)), x(this, s);
4466
4466
  }), this.g.attachEmptyPacketListener("left_hand_world_landmarks", (n) => {
4467
4467
  x(this, n);
4468
4468
  }), this.g.attachProtoListener("right_hand_landmarks", (n, s) => {
4469
- Ar(n, this.h.rightHandLandmarks), x(this, s);
4469
+ kr(n, this.h.rightHandLandmarks), x(this, s);
4470
4470
  }), this.g.attachEmptyPacketListener("right_hand_landmarks", (n) => {
4471
4471
  x(this, n);
4472
4472
  }), this.g.attachProtoListener("right_hand_world_landmarks", (n, s) => {
4473
4473
  var o = this.h.rightHandWorldLandmarks;
4474
- n = mi(n), o.push(er(n)), x(this, s);
4474
+ n = mi(n), o.push(Zi(n)), x(this, s);
4475
4475
  }), this.g.attachEmptyPacketListener("right_hand_world_landmarks", (n) => {
4476
4476
  x(this, n);
4477
4477
  }), e = e.g(), this.setGraph(new Uint8Array(e), !0);
@@ -4483,8 +4483,8 @@ Z.prototype.detectForVideo = Z.prototype.G, Z.prototype.detect = Z.prototype.F,
4483
4483
  return $(Z, e, { baseOptions: { modelAssetBuffer: t } });
4484
4484
  }, Z.createFromOptions = function(e, t) {
4485
4485
  return $(Z, e, t);
4486
- }, Z.HAND_CONNECTIONS = Xs, Z.POSE_CONNECTIONS = Cl, Z.FACE_LANDMARKS_LIPS = Ws, Z.FACE_LANDMARKS_LEFT_EYE = zs, Z.FACE_LANDMARKS_LEFT_EYEBROW = Hs, Z.FACE_LANDMARKS_LEFT_IRIS = kl, Z.FACE_LANDMARKS_RIGHT_EYE = qs, Z.FACE_LANDMARKS_RIGHT_EYEBROW = Ks, Z.FACE_LANDMARKS_RIGHT_IRIS = Al, Z.FACE_LANDMARKS_FACE_OVAL = Ys, Z.FACE_LANDMARKS_CONTOURS = Nl, Z.FACE_LANDMARKS_TESSELATION = Tl;
4487
- var Ye = class extends $e {
4486
+ }, Z.HAND_CONNECTIONS = Ys, Z.POSE_CONNECTIONS = Cl, Z.FACE_LANDMARKS_LIPS = $s, Z.FACE_LANDMARKS_LEFT_EYE = Ws, Z.FACE_LANDMARKS_LEFT_EYEBROW = zs, Z.FACE_LANDMARKS_LEFT_IRIS = kl, Z.FACE_LANDMARKS_RIGHT_EYE = Hs, Z.FACE_LANDMARKS_RIGHT_EYEBROW = qs, Z.FACE_LANDMARKS_RIGHT_IRIS = Al, Z.FACE_LANDMARKS_FACE_OVAL = Ks, Z.FACE_LANDMARKS_CONTOURS = Nl, Z.FACE_LANDMARKS_TESSELATION = Tl;
4487
+ var Ye = class extends We {
4488
4488
  constructor(e, t) {
4489
4489
  super(new nt(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, C(e = this.h = new nl(), 0, 1, t = new oe());
4490
4490
  }
@@ -4495,7 +4495,7 @@ var Ye = class extends $e {
4495
4495
  C(this.h, 0, 1, e);
4496
4496
  }
4497
4497
  o(e) {
4498
- return C(this.h, 0, 2, Gn(e, W(this.h, Ms, 2))), this.l(e);
4498
+ return C(this.h, 0, 2, Un(e, W(this.h, Rs, 2))), this.l(e);
4499
4499
  }
4500
4500
  sa(e, t) {
4501
4501
  return this.j = { classifications: [] }, st(this, e, t), this.j;
@@ -4504,12 +4504,12 @@ var Ye = class extends $e {
4504
4504
  return this.j = { classifications: [] }, mt(this, e, i, t), this.j;
4505
4505
  }
4506
4506
  m() {
4507
- var e = new ze();
4507
+ var e = new He();
4508
4508
  ne(e, "input_image"), ne(e, "norm_rect"), z(e, "classifications");
4509
- const t = new We();
4509
+ const t = new ze();
4510
4510
  wt(t, Yu, this.h);
4511
4511
  const i = new Fe();
4512
- Ve(i, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), te(i, "IMAGE:input_image"), te(i, "NORM_RECT:norm_rect"), G(i, "CLASSIFICATIONS:classifications"), i.o(t), Ze(e, i), this.g.attachProtoListener("classifications", (r, n) => {
4512
+ je(i, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), te(i, "IMAGE:input_image"), te(i, "NORM_RECT:norm_rect"), U(i, "CLASSIFICATIONS:classifications"), i.o(t), Ze(e, i), this.g.attachProtoListener("classifications", (r, n) => {
4513
4513
  this.j = t1(Ou(r)), x(this, n);
4514
4514
  }), this.g.attachEmptyPacketListener("classifications", (r) => {
4515
4515
  x(this, r);
@@ -4523,7 +4523,7 @@ Ye.prototype.classifyForVideo = Ye.prototype.ta, Ye.prototype.classify = Ye.prot
4523
4523
  }, Ye.createFromOptions = function(e, t) {
4524
4524
  return $(Ye, e, t);
4525
4525
  };
4526
- var Pe = class extends $e {
4526
+ var Oe = class extends We {
4527
4527
  constructor(e, t) {
4528
4528
  super(new nt(e, t), "image_in", "norm_rect", !0), this.h = new sl(), this.embeddings = { embeddings: [] }, C(e = this.h, 0, 1, t = new oe());
4529
4529
  }
@@ -4535,7 +4535,7 @@ var Pe = class extends $e {
4535
4535
  }
4536
4536
  o(e) {
4537
4537
  var t = this.h, i = W(this.h, Po, 2);
4538
- return i = i ? i.clone() : new Po(), e.l2Normalize !== void 0 ? H(i, 1, sr(e.l2Normalize)) : "l2Normalize" in e && H(i, 1), e.quantize !== void 0 ? H(i, 2, sr(e.quantize)) : "quantize" in e && H(i, 2), C(t, 0, 2, i), this.l(e);
4538
+ return i = i ? i.clone() : new Po(), e.l2Normalize !== void 0 ? H(i, 1, nr(e.l2Normalize)) : "l2Normalize" in e && H(i, 1), e.quantize !== void 0 ? H(i, 2, nr(e.quantize)) : "quantize" in e && H(i, 2), C(t, 0, 2, i), this.l(e);
4539
4539
  }
4540
4540
  za(e, t) {
4541
4541
  return st(this, e, t), this.embeddings;
@@ -4544,18 +4544,18 @@ var Pe = class extends $e {
4544
4544
  return mt(this, e, i, t), this.embeddings;
4545
4545
  }
4546
4546
  m() {
4547
- var e = new ze();
4547
+ var e = new He();
4548
4548
  ne(e, "image_in"), ne(e, "norm_rect"), z(e, "embeddings_out");
4549
- const t = new We();
4549
+ const t = new ze();
4550
4550
  wt(t, Xu, this.h);
4551
4551
  const i = new Fe();
4552
- Ve(i, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), G(i, "EMBEDDINGS:embeddings_out"), i.o(t), Ze(e, i), this.g.attachProtoListener("embeddings_out", (r, n) => {
4552
+ je(i, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), U(i, "EMBEDDINGS:embeddings_out"), i.o(t), Ze(e, i), this.g.attachProtoListener("embeddings_out", (r, n) => {
4553
4553
  r = Gu(r), this.embeddings = function(s) {
4554
4554
  return { embeddings: xt(s, Uu, 1).map((o) => {
4555
4555
  var u, d;
4556
- const a = { headIndex: Qe(o, 3) ?? 0 ?? -1, headName: _e(ee(o, 4)) ?? "" ?? "" };
4556
+ const a = { headIndex: Qe(o, 3) ?? 0 ?? -1, headName: Ee(ee(o, 4)) ?? "" ?? "" };
4557
4557
  var l = o.v;
4558
- return tc(l, 0 | l[E], Do, bn(o, 1)) !== void 0 ? (o = Ht(o = W(o, Do, bn(o, 1), void 0), 1, lt, zt()), a.floatEmbedding = o.slice()) : (l = new Uint8Array(0), a.quantizedEmbedding = ((d = (u = W(o, Bu, bn(o, 2), void 0)) == null ? void 0 : u.na()) == null ? void 0 : d.h()) ?? l), a;
4558
+ return tc(l, 0 | l[_], Do, yn(o, 1)) !== void 0 ? (o = zt(o = W(o, Do, yn(o, 1), void 0), 1, lt, Wt()), a.floatEmbedding = o.slice()) : (l = new Uint8Array(0), a.quantizedEmbedding = ((d = (u = W(o, Bu, yn(o, 2), void 0)) == null ? void 0 : u.na()) == null ? void 0 : d.h()) ?? l), a;
4559
4559
  }), timestampMs: hl(nc(s)) };
4560
4560
  }(r), x(this, n);
4561
4561
  }), this.g.attachEmptyPacketListener("embeddings_out", (r) => {
@@ -4563,21 +4563,21 @@ var Pe = class extends $e {
4563
4563
  }), e = e.g(), this.setGraph(new Uint8Array(e), !0);
4564
4564
  }
4565
4565
  };
4566
- Pe.cosineSimilarity = function(e, t) {
4566
+ Oe.cosineSimilarity = function(e, t) {
4567
4567
  if (e.floatEmbedding && t.floatEmbedding) e = jo(e.floatEmbedding, t.floatEmbedding);
4568
4568
  else {
4569
4569
  if (!e.quantizedEmbedding || !t.quantizedEmbedding) throw Error("Cannot compute cosine similarity between quantized and float embeddings.");
4570
4570
  e = jo(Vo(e.quantizedEmbedding), Vo(t.quantizedEmbedding));
4571
4571
  }
4572
4572
  return e;
4573
- }, Pe.prototype.embedForVideo = Pe.prototype.Aa, Pe.prototype.embed = Pe.prototype.za, Pe.prototype.setOptions = Pe.prototype.o, Pe.createFromModelPath = function(e, t) {
4574
- return $(Pe, e, { baseOptions: { modelAssetPath: t } });
4575
- }, Pe.createFromModelBuffer = function(e, t) {
4576
- return $(Pe, e, { baseOptions: { modelAssetBuffer: t } });
4577
- }, Pe.createFromOptions = function(e, t) {
4578
- return $(Pe, e, t);
4573
+ }, Oe.prototype.embedForVideo = Oe.prototype.Aa, Oe.prototype.embed = Oe.prototype.za, Oe.prototype.setOptions = Oe.prototype.o, Oe.createFromModelPath = function(e, t) {
4574
+ return $(Oe, e, { baseOptions: { modelAssetPath: t } });
4575
+ }, Oe.createFromModelBuffer = function(e, t) {
4576
+ return $(Oe, e, { baseOptions: { modelAssetBuffer: t } });
4577
+ }, Oe.createFromOptions = function(e, t) {
4578
+ return $(Oe, e, t);
4579
4579
  };
4580
- var Wn = class {
4580
+ var $n = class {
4581
4581
  constructor(e, t, i) {
4582
4582
  this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = i;
4583
4583
  }
@@ -4592,10 +4592,10 @@ function c1(e) {
4592
4592
  var i, r;
4593
4593
  const t = function(n) {
4594
4594
  return xt(n, Fe, 1);
4595
- }(e.ca()).filter((n) => (_e(ee(n, 1)) ?? "").includes("mediapipe.tasks.TensorsToSegmentationCalculator"));
4595
+ }(e.ca()).filter((n) => (Ee(ee(n, 1)) ?? "").includes("mediapipe.tasks.TensorsToSegmentationCalculator"));
4596
4596
  if (e.u = [], t.length > 1) throw Error("The graph has more than one mediapipe.tasks.TensorsToSegmentationCalculator.");
4597
- t.length === 1 && (((r = (i = W(t[0], We, 7)) == null ? void 0 : i.j()) == null ? void 0 : r.g()) ?? /* @__PURE__ */ new Map()).forEach((n, s) => {
4598
- e.u[Number(s)] = _e(ee(n, 1)) ?? "";
4597
+ t.length === 1 && (((r = (i = W(t[0], ze, 7)) == null ? void 0 : i.j()) == null ? void 0 : r.g()) ?? /* @__PURE__ */ new Map()).forEach((n, s) => {
4598
+ e.u[Number(s)] = Ee(ee(n, 1)) ?? "";
4599
4599
  });
4600
4600
  }
4601
4601
  function na(e) {
@@ -4603,17 +4603,17 @@ function na(e) {
4603
4603
  }
4604
4604
  function sa(e) {
4605
4605
  try {
4606
- const t = new Wn(e.confidenceMasks, e.categoryMask, e.qualityScores);
4606
+ const t = new $n(e.confidenceMasks, e.categoryMask, e.qualityScores);
4607
4607
  if (!e.j) return t;
4608
4608
  e.j(t);
4609
4609
  } finally {
4610
- un(e);
4610
+ dn(e);
4611
4611
  }
4612
4612
  }
4613
- Wn.prototype.close = Wn.prototype.close;
4614
- var Se = class extends $e {
4613
+ $n.prototype.close = $n.prototype.close;
4614
+ var Se = class extends We {
4615
4615
  constructor(e, t) {
4616
- super(new nt(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Gs(), this.A = new ol(), C(this.h, 0, 3, this.A), C(e = this.h, 0, 1, t = new oe());
4616
+ super(new nt(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Us(), this.A = new ol(), C(this.h, 0, 3, this.A), C(e = this.h, 0, 1, t = new oe());
4617
4617
  }
4618
4618
  get baseOptions() {
4619
4619
  return W(this.h, oe, 1);
@@ -4622,7 +4622,7 @@ var Se = class extends $e {
4622
4622
  C(this.h, 0, 1, e);
4623
4623
  }
4624
4624
  o(e) {
4625
- return e.displayNamesLocale !== void 0 ? H(this.h, 2, hr(e.displayNamesLocale)) : "displayNamesLocale" in e && H(this.h, 2), "outputCategoryMask" in e && (this.outputCategoryMask = e.outputCategoryMask ?? !1), "outputConfidenceMasks" in e && (this.outputConfidenceMasks = e.outputConfidenceMasks ?? !0), super.l(e);
4625
+ return e.displayNamesLocale !== void 0 ? H(this.h, 2, ur(e.displayNamesLocale)) : "displayNamesLocale" in e && H(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
4628
  c1(this);
@@ -4639,20 +4639,20 @@ var Se = class extends $e {
4639
4639
  return this.u;
4640
4640
  }
4641
4641
  m() {
4642
- var e = new ze();
4642
+ var e = new He();
4643
4643
  ne(e, "image_in"), ne(e, "norm_rect");
4644
- const t = new We();
4644
+ const t = new ze();
4645
4645
  wt(t, cl, this.h);
4646
4646
  const i = new Fe();
4647
- Ve(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), dn(this, e), this.outputConfidenceMasks && (z(e, "confidence_masks"), G(i, "CONFIDENCE_MASKS:confidence_masks"), Ai(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), ln(this, e), this.outputConfidenceMasks && (z(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((s) => Ti(this, s, !0, !this.j)), x(this, n);
4649
4649
  }), this.g.attachEmptyPacketListener("confidence_masks", (r) => {
4650
4650
  this.confidenceMasks = [], x(this, r);
4651
- })), this.outputCategoryMask && (z(e, "category_mask"), G(i, "CATEGORY_MASK:category_mask"), Ai(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
4651
+ })), this.outputCategoryMask && (z(e, "category_mask"), U(i, "CATEGORY_MASK:category_mask"), Ai(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
4652
4652
  this.categoryMask = Ti(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);
4655
- })), z(e, "quality_scores"), G(i, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (r, n) => {
4655
+ })), z(e, "quality_scores"), U(i, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (r, n) => {
4656
4656
  this.qualityScores = r, x(this, n);
4657
4657
  }), this.g.attachEmptyPacketListener("quality_scores", (r) => {
4658
4658
  this.categoryMask = void 0, x(this, r);
@@ -4666,7 +4666,7 @@ Se.prototype.getLabels = Se.prototype.Da, Se.prototype.segmentForVideo = Se.prot
4666
4666
  }, Se.createFromOptions = function(e, t) {
4667
4667
  return $(Se, e, t);
4668
4668
  };
4669
- var zn = class {
4669
+ var Wn = class {
4670
4670
  constructor(e, t, i) {
4671
4671
  this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = i;
4672
4672
  }
@@ -4677,10 +4677,10 @@ var zn = class {
4677
4677
  }), (t = this.categoryMask) == null || t.close();
4678
4678
  }
4679
4679
  };
4680
- zn.prototype.close = zn.prototype.close;
4681
- var at = class extends $e {
4680
+ Wn.prototype.close = Wn.prototype.close;
4681
+ var at = class extends We {
4682
4682
  constructor(e, t) {
4683
- super(new nt(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Gs(), this.u = new ol(), C(this.h, 0, 3, this.u), C(e = this.h, 0, 1, t = new oe());
4683
+ super(new nt(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Us(), this.u = new ol(), C(this.h, 0, 3, this.u), C(e = this.h, 0, 1, t = new oe());
4684
4684
  }
4685
4685
  get baseOptions() {
4686
4686
  return W(this.h, oe, 1);
@@ -4696,46 +4696,46 @@ var at = class extends $e {
4696
4696
  if (this.j = typeof i == "function" ? i : r, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, i = this.C + 1, r = new ll(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
4697
4697
  if (t.keypoint) {
4698
4698
  var s = new En();
4699
- Rt(s, 3, sr(!0), !1), Rt(s, 1, Qi(t.keypoint.x), 0), Rt(s, 2, Qi(t.keypoint.y), 0), Ji(r, 1, Un, s);
4699
+ Rt(s, 3, nr(!0), !1), Rt(s, 1, Xi(t.keypoint.x), 0), Rt(s, 2, Xi(t.keypoint.y), 0), Qi(r, 1, Bn, s);
4700
4700
  } else {
4701
4701
  if (!t.scribble) throw Error("Must provide either a keypoint or a scribble.");
4702
4702
  {
4703
4703
  const a = new Ju();
4704
- for (s of t.scribble) Rt(t = new En(), 3, sr(!0), !1), Rt(t, 1, Qi(s.x), 0), Rt(t, 2, Qi(s.y), 0), vs(a, 1, En, t);
4705
- Ji(r, 2, Un, a);
4704
+ for (s of t.scribble) Rt(t = new En(), 3, nr(!0), !1), Rt(t, 1, Xi(s.x), 0), Rt(t, 2, Xi(s.y), 0), bs(a, 1, En, t);
4705
+ Qi(r, 2, Bn, a);
4706
4706
  }
4707
4707
  }
4708
4708
  this.g.addProtoToStream(r.g(), "mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest", "roi_in", i), st(this, e, n);
4709
4709
  e: {
4710
4710
  try {
4711
- const a = new zn(this.confidenceMasks, this.categoryMask, this.qualityScores);
4711
+ const a = new Wn(this.confidenceMasks, this.categoryMask, this.qualityScores);
4712
4712
  if (!this.j) {
4713
4713
  var o = a;
4714
4714
  break e;
4715
4715
  }
4716
4716
  this.j(a);
4717
4717
  } finally {
4718
- un(this);
4718
+ dn(this);
4719
4719
  }
4720
4720
  o = void 0;
4721
4721
  }
4722
4722
  return o;
4723
4723
  }
4724
4724
  m() {
4725
- var e = new ze();
4725
+ var e = new He();
4726
4726
  ne(e, "image_in"), ne(e, "roi_in"), ne(e, "norm_rect_in");
4727
- const t = new We();
4727
+ const t = new ze();
4728
4728
  wt(t, cl, this.h);
4729
4729
  const i = new Fe();
4730
- Ve(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), dn(this, e), this.outputConfidenceMasks && (z(e, "confidence_masks"), G(i, "CONFIDENCE_MASKS:confidence_masks"), Ai(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), ln(this, e), this.outputConfidenceMasks && (z(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((s) => Ti(this, s, !0, !this.j)), x(this, n);
4732
4732
  }), this.g.attachEmptyPacketListener("confidence_masks", (r) => {
4733
4733
  this.confidenceMasks = [], x(this, r);
4734
- })), this.outputCategoryMask && (z(e, "category_mask"), G(i, "CATEGORY_MASK:category_mask"), Ai(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
4734
+ })), this.outputCategoryMask && (z(e, "category_mask"), U(i, "CATEGORY_MASK:category_mask"), Ai(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
4735
4735
  this.categoryMask = Ti(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);
4738
- })), z(e, "quality_scores"), G(i, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (r, n) => {
4738
+ })), z(e, "quality_scores"), U(i, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (r, n) => {
4739
4739
  this.qualityScores = r, x(this, n);
4740
4740
  }), this.g.attachEmptyPacketListener("quality_scores", (r) => {
4741
4741
  this.categoryMask = void 0, x(this, r);
@@ -4749,7 +4749,7 @@ at.prototype.segment = at.prototype.segment, at.prototype.setOptions = at.protot
4749
4749
  }, at.createFromOptions = function(e, t) {
4750
4750
  return $(at, e, t);
4751
4751
  };
4752
- var Xe = class extends $e {
4752
+ var Xe = class extends We {
4753
4753
  constructor(e, t) {
4754
4754
  super(new nt(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, C(e = this.h = new dl(), 0, 1, t = new oe());
4755
4755
  }
@@ -4760,7 +4760,7 @@ var Xe = class extends $e {
4760
4760
  C(this.h, 0, 1, e);
4761
4761
  }
4762
4762
  o(e) {
4763
- return e.displayNamesLocale !== void 0 ? H(this.h, 2, hr(e.displayNamesLocale)) : "displayNamesLocale" in e && H(this.h, 2), e.maxResults !== void 0 ? _t(this.h, 3, e.maxResults) : "maxResults" in e && H(this.h, 3), e.scoreThreshold !== void 0 ? N(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && H(this.h, 4), e.categoryAllowlist !== void 0 ? Lr(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && H(this.h, 5), e.categoryDenylist !== void 0 ? Lr(this.h, 6, e.categoryDenylist) : "categoryDenylist" in e && H(this.h, 6), this.l(e);
4763
+ return e.displayNamesLocale !== void 0 ? H(this.h, 2, ur(e.displayNamesLocale)) : "displayNamesLocale" in e && H(this.h, 2), e.maxResults !== void 0 ? Et(this.h, 3, e.maxResults) : "maxResults" in e && H(this.h, 3), e.scoreThreshold !== void 0 ? N(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && H(this.h, 4), e.categoryAllowlist !== void 0 ? Fr(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && H(this.h, 5), e.categoryDenylist !== void 0 ? Fr(this.h, 6, e.categoryDenylist) : "categoryDenylist" in e && H(this.h, 6), this.l(e);
4764
4764
  }
4765
4765
  F(e, t) {
4766
4766
  return this.j = { detections: [] }, st(this, e, t), this.j;
@@ -4769,12 +4769,12 @@ var Xe = class extends $e {
4769
4769
  return this.j = { detections: [] }, mt(this, e, i, t), this.j;
4770
4770
  }
4771
4771
  m() {
4772
- var e = new ze();
4772
+ var e = new He();
4773
4773
  ne(e, "input_frame_gpu"), ne(e, "norm_rect"), z(e, "detections");
4774
- const t = new We();
4774
+ const t = new ze();
4775
4775
  wt(t, Zu, this.h);
4776
4776
  const i = new Fe();
4777
- Ve(i, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), te(i, "IMAGE:input_frame_gpu"), te(i, "NORM_RECT:norm_rect"), G(i, "DETECTIONS:detections"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("detections", (r, n) => {
4777
+ je(i, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), te(i, "IMAGE:input_frame_gpu"), te(i, "NORM_RECT:norm_rect"), U(i, "DETECTIONS:detections"), i.o(t), Ze(e, i), this.g.attachProtoVectorListener("detections", (r, n) => {
4778
4778
  for (const s of r) r = Vc(s), this.j.detections.push(wl(r));
4779
4779
  x(this, n);
4780
4780
  }), this.g.attachEmptyPacketListener("detections", (r) => {
@@ -4789,7 +4789,7 @@ Xe.prototype.detectForVideo = Xe.prototype.G, Xe.prototype.detect = Xe.prototype
4789
4789
  }, Xe.createFromOptions = function(e, t) {
4790
4790
  return $(Xe, e, t);
4791
4791
  };
4792
- var Hn = class {
4792
+ var zn = class {
4793
4793
  constructor(e, t, i) {
4794
4794
  this.landmarks = e, this.worldLandmarks = t, this.segmentationMasks = i;
4795
4795
  }
@@ -4805,17 +4805,17 @@ function oa(e) {
4805
4805
  }
4806
4806
  function aa(e) {
4807
4807
  try {
4808
- const t = new Hn(e.landmarks, e.worldLandmarks, e.segmentationMasks);
4808
+ const t = new zn(e.landmarks, e.worldLandmarks, e.segmentationMasks);
4809
4809
  if (!e.u) return t;
4810
4810
  e.u(t);
4811
4811
  } finally {
4812
- un(e);
4812
+ dn(e);
4813
4813
  }
4814
4814
  }
4815
- Hn.prototype.close = Hn.prototype.close;
4816
- var Oe = class extends $e {
4815
+ zn.prototype.close = zn.prototype.close;
4816
+ var Be = class extends We {
4817
4817
  constructor(e, t) {
4818
- super(new nt(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, C(e = this.h = new ul(), 0, 1, t = new oe()), this.A = new il(), C(this.h, 0, 3, this.A), this.j = new tl(), C(this.h, 0, 2, this.j), _t(this.j, 4, 1), N(this.j, 2, 0.5), N(this.A, 2, 0.5), N(this.h, 4, 0.5);
4818
+ super(new nt(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, C(e = this.h = new ul(), 0, 1, t = new oe()), this.A = new il(), C(this.h, 0, 3, this.A), this.j = new tl(), C(this.h, 0, 2, this.j), Et(this.j, 4, 1), N(this.j, 2, 0.5), N(this.A, 2, 0.5), N(this.h, 4, 0.5);
4819
4819
  }
4820
4820
  get baseOptions() {
4821
4821
  return W(this.h, oe, 1);
@@ -4824,7 +4824,7 @@ var Oe = class extends $e {
4824
4824
  C(this.h, 0, 1, e);
4825
4825
  }
4826
4826
  o(e) {
4827
- return "numPoses" in e && _t(this.j, 4, e.numPoses ?? 1), "minPoseDetectionConfidence" in e && N(this.j, 2, e.minPoseDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && N(this.h, 4, e.minTrackingConfidence ?? 0.5), "minPosePresenceConfidence" in e && N(this.A, 2, e.minPosePresenceConfidence ?? 0.5), "outputSegmentationMasks" in e && (this.outputSegmentationMasks = e.outputSegmentationMasks ?? !1), this.l(e);
4827
+ return "numPoses" in e && Et(this.j, 4, e.numPoses ?? 1), "minPoseDetectionConfidence" in e && N(this.j, 2, e.minPoseDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && N(this.h, 4, e.minTrackingConfidence ?? 0.5), "minPosePresenceConfidence" in e && N(this.A, 2, e.minPosePresenceConfidence ?? 0.5), "outputSegmentationMasks" in e && (this.outputSegmentationMasks = e.outputSegmentationMasks ?? !1), this.l(e);
4828
4828
  }
4829
4829
  F(e, t, i) {
4830
4830
  const r = typeof t != "function" ? t : {};
@@ -4835,39 +4835,39 @@ var Oe = class extends $e {
4835
4835
  return this.u = typeof i == "function" ? i : r, oa(this), mt(this, e, n, t), aa(this);
4836
4836
  }
4837
4837
  m() {
4838
- var e = new ze();
4838
+ var e = new He();
4839
4839
  ne(e, "image_in"), ne(e, "norm_rect"), z(e, "normalized_landmarks"), z(e, "world_landmarks"), z(e, "segmentation_masks");
4840
- const t = new We();
4840
+ const t = new ze();
4841
4841
  wt(t, e1, this.h);
4842
4842
  const i = new Fe();
4843
- Ve(i, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), G(i, "NORM_LANDMARKS:normalized_landmarks"), G(i, "WORLD_LANDMARKS:world_landmarks"), i.o(t), Ze(e, i), dn(this, e), this.g.attachProtoVectorListener("normalized_landmarks", (r, n) => {
4843
+ je(i, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), te(i, "IMAGE:image_in"), te(i, "NORM_RECT:norm_rect"), U(i, "NORM_LANDMARKS:normalized_landmarks"), U(i, "WORLD_LANDMARKS:world_landmarks"), i.o(t), Ze(e, i), ln(this, e), this.g.attachProtoVectorListener("normalized_landmarks", (r, n) => {
4844
4844
  this.landmarks = [];
4845
- for (const s of r) r = mr(s), this.landmarks.push(ln(r));
4845
+ for (const s of r) r = fr(s), this.landmarks.push(cn(r));
4846
4846
  x(this, n);
4847
4847
  }), this.g.attachEmptyPacketListener("normalized_landmarks", (r) => {
4848
4848
  this.landmarks = [], x(this, r);
4849
4849
  }), this.g.attachProtoVectorListener("world_landmarks", (r, n) => {
4850
4850
  this.worldLandmarks = [];
4851
- for (const s of r) r = mi(s), this.worldLandmarks.push(er(r));
4851
+ for (const s of r) r = mi(s), this.worldLandmarks.push(Zi(r));
4852
4852
  x(this, n);
4853
4853
  }), this.g.attachEmptyPacketListener("world_landmarks", (r) => {
4854
4854
  this.worldLandmarks = [], x(this, r);
4855
- }), this.outputSegmentationMasks && (G(i, "SEGMENTATION_MASK:segmentation_masks"), Ai(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((s) => Ti(this, s, !0, !this.u)), x(this, n);
4857
4857
  }), this.g.attachEmptyPacketListener("segmentation_masks", (r) => {
4858
4858
  this.segmentationMasks = [], x(this, r);
4859
4859
  })), e = e.g(), this.setGraph(new Uint8Array(e), !0);
4860
4860
  }
4861
4861
  };
4862
- Oe.prototype.detectForVideo = Oe.prototype.G, Oe.prototype.detect = Oe.prototype.F, Oe.prototype.setOptions = Oe.prototype.o, Oe.createFromModelPath = function(e, t) {
4863
- return $(Oe, e, { baseOptions: { modelAssetPath: t } });
4864
- }, Oe.createFromModelBuffer = function(e, t) {
4865
- return $(Oe, e, { baseOptions: { modelAssetBuffer: t } });
4866
- }, Oe.createFromOptions = function(e, t) {
4867
- return $(Oe, e, t);
4868
- }, Oe.POSE_CONNECTIONS = Cl;
4869
- const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task", l1 = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm", d1 = () => {
4870
- const e = F(null), [t, i] = _(!1), [r, n] = _("Initializing..."), [s, o] = _(0), [a, l] = _(!1);
4862
+ Be.prototype.detectForVideo = Be.prototype.G, Be.prototype.detect = Be.prototype.F, Be.prototype.setOptions = Be.prototype.o, Be.createFromModelPath = function(e, t) {
4863
+ return $(Be, e, { baseOptions: { modelAssetPath: t } });
4864
+ }, Be.createFromModelBuffer = function(e, t) {
4865
+ return $(Be, e, { baseOptions: { modelAssetBuffer: t } });
4866
+ }, Be.createFromOptions = function(e, t) {
4867
+ return $(Be, e, t);
4868
+ }, Be.POSE_CONNECTIONS = Cl;
4869
+ const Ar = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task", l1 = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm", d1 = () => {
4870
+ const e = F(null), [t, i] = E(!1), [r, n] = E("Initializing..."), [s, o] = E(0), [a, l] = E(!1);
4871
4871
  L(() => {
4872
4872
  "serviceWorker" in navigator && navigator.serviceWorker.register("/sw.js").then((w) => {
4873
4873
  console.log("ServiceWorker registered:", w);
@@ -4875,9 +4875,9 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4875
4875
  console.log("ServiceWorker registration failed:", w);
4876
4876
  });
4877
4877
  }, []);
4878
- const u = async () => "caches" in window ? await (await caches.open("mediapipe-models-v1")).match(Nr) !== void 0 : !1, d = async () => {
4878
+ const u = async () => "caches" in window ? await (await caches.open("mediapipe-models-v1")).match(Ar) !== void 0 : !1, d = async () => {
4879
4879
  try {
4880
- const w = await fetch(Nr), f = w.headers.get("content-length"), g = f ? parseInt(f, 10) : 0;
4880
+ const w = await fetch(Ar), f = w.headers.get("content-length"), g = f ? parseInt(f, 10) : 0;
4881
4881
  if (!w.body) throw new Error("No response body");
4882
4882
  const b = w.body.getReader();
4883
4883
  let p = 0;
@@ -4891,7 +4891,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4891
4891
  }
4892
4892
  }
4893
4893
  return "caches" in window && await (await caches.open("mediapipe-models-v1")).put(
4894
- Nr,
4894
+ Ar,
4895
4895
  new Response(new Blob(y), {
4896
4896
  headers: { "Content-Type": "application/octet-stream" }
4897
4897
  })
@@ -4904,11 +4904,11 @@ 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 Wt.forVisionTasks(l1);
4907
+ const g = await $t.forVisionTasks(l1);
4908
4908
  n("Creating face landmarker...");
4909
4909
  const b = await ie.createFromOptions(g, {
4910
4910
  baseOptions: {
4911
- modelAssetPath: Nr,
4911
+ modelAssetPath: Ar,
4912
4912
  delegate: "GPU"
4913
4913
  },
4914
4914
  runningMode: "VIDEO",
@@ -4933,7 +4933,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4933
4933
  }
4934
4934
  };
4935
4935
  }, u1 = () => {
4936
- const [e, t] = _(0), i = F({ lastTime: 0, frames: 0, fps: 0 }), r = S(() => {
4936
+ const [e, t] = E(0), i = F({ lastTime: 0, frames: 0, fps: 0 }), r = S(() => {
4937
4937
  const n = performance.now(), s = i.current;
4938
4938
  if (s.frames++, n - s.lastTime >= 1e3) {
4939
4939
  const o = Math.round(s.frames * 1e3 / (n - s.lastTime));
@@ -4985,7 +4985,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
4985
4985
  engagementRef: e
4986
4986
  };
4987
4987
  }, w1 = 50, f1 = () => {
4988
- const [e, t] = _(100), [i, r] = _(!1), n = F(0), s = S(
4988
+ const [e, t] = E(100), [i, r] = E(!1), n = F(0), s = S(
4989
4989
  (o, a, l) => {
4990
4990
  if (!l || o.length < 468)
4991
4991
  return;
@@ -5007,7 +5007,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5007
5007
  setIsLookingAway: r
5008
5008
  };
5009
5009
  }, m1 = 0.05, g1 = () => {
5010
- const [e, t] = _(!1), [i, r] = _(!1), n = S(
5010
+ const [e, t] = E(!1), [i, r] = E(!1), n = S(
5011
5011
  (a, l) => Math.sqrt(Math.pow(a.x - l.x, 2) + Math.pow(a.y - l.y, 2)),
5012
5012
  []
5013
5013
  ), s = S(
@@ -5081,7 +5081,7 @@ const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5081
5081
  setReferenceFaceNotDetected: r
5082
5082
  };
5083
5083
  }, p1 = 500, y1 = (e, t) => {
5084
- const [i, r] = _(!1), [n, s] = _(Ie.MODEL_LOADING), { incrementGazeViolation: o } = _a(), { multipleFacesDetected: a, referenceFaceNotDetected: l, isLookingAway: u } = e;
5084
+ const [i, r] = E(!1), [n, s] = E(Ie.MODEL_LOADING), { incrementGazeViolation: o } = Ea(), { multipleFacesDetected: a, referenceFaceNotDetected: l, isLookingAway: u } = e;
5085
5085
  L(() => {
5086
5086
  let w;
5087
5087
  return (u || a || l) && t ? w = setTimeout(() => {
@@ -5115,11 +5115,11 @@ class se extends Error {
5115
5115
  }
5116
5116
  class b1 {
5117
5117
  constructor(t = {}) {
5118
- Re(this, "config");
5119
- Re(this, "mediaRecorder", null);
5120
- Re(this, "audioChunks", []);
5121
- Re(this, "recordingStream", null);
5122
- Re(this, "autoStopTimeoutId", null);
5118
+ Me(this, "config");
5119
+ Me(this, "mediaRecorder", null);
5120
+ Me(this, "audioChunks", []);
5121
+ Me(this, "recordingStream", null);
5122
+ Me(this, "autoStopTimeoutId", null);
5123
5123
  this.config = {
5124
5124
  baseUrl: "http://localhost:8000",
5125
5125
  provider: "groq",
@@ -5438,12 +5438,12 @@ const hi = new b1(), v1 = (e, t, i, r) => {
5438
5438
  g
5439
5439
  ]);
5440
5440
  return { renderLoop: p, animationFrameRef: b };
5441
- }, _1 = (e, t, i, r) => {
5441
+ }, E1 = (e, t, i, r) => {
5442
5442
  const {
5443
5443
  referenceSet: n,
5444
5444
  referenceRef: s,
5445
5445
  setReferenceData: o
5446
- } = _a(), a = F(s), l = S(() => {
5446
+ } = Ea(), a = F(s), l = S(() => {
5447
5447
  a.current = s;
5448
5448
  }, [s]), u = S(() => {
5449
5449
  var f;
@@ -5483,7 +5483,7 @@ const hi = new b1(), v1 = (e, t, i, r) => {
5483
5483
  syncReference: l
5484
5484
  };
5485
5485
  };
5486
- function E1({
5486
+ function _1({
5487
5487
  onClose: e,
5488
5488
  warningType: t,
5489
5489
  isCheatingModalOpen: i = !1
@@ -5502,7 +5502,7 @@ function E1({
5502
5502
  {
5503
5503
  onClick: e,
5504
5504
  className: "iw-absolute iw-right-3 iw-top-3 iw-text-gray-400 iw-transition-colors iw-hover:iw-text-gray-600",
5505
- children: /* @__PURE__ */ c(Vr, { className: "iw-h-5 iw-w-5" })
5505
+ children: /* @__PURE__ */ c(Gr, { className: "iw-h-5 iw-w-5" })
5506
5506
  }
5507
5507
  ),
5508
5508
  /* @__PURE__ */ m("div", { className: "iw-flex iw-items-start iw-gap-2", children: [
@@ -5523,7 +5523,7 @@ const k1 = ({ status: e }) => {
5523
5523
  const i = e !== "face_detected";
5524
5524
  return /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-items-center iw-gap-0.5", children: [
5525
5525
  /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-2 iw-px-3 iw-py-1 iw-rounded-full iw-backdrop-blur-md iw-shadow-sm transition-colors duration-300 iw-text-white", children: [
5526
- /* @__PURE__ */ c("div", { className: `iw-flex iw-h-4 iw-w-4 iw-items-center iw-size-2.5 iw-justify-center iw-rounded-full iw-text-white ${e === "face_detected" ? "iw-bg-[#22C55E]" : e === "model_loading" ? "iw-bg-[#062260]" : "iw-bg-[#E94315]"}`, children: e === "face_detected" ? /* @__PURE__ */ c(Sr, {}) : e === "model_loading" ? /* @__PURE__ */ c("div", { className: "iw-animate-spin iw-border iw-border-white iw-border-t-transparent iw-rounded-full iw-w-2 iw-h-2" }) : /* @__PURE__ */ c(Vr, {}) }),
5526
+ /* @__PURE__ */ c("div", { className: `iw-flex iw-h-4 iw-w-4 iw-items-center iw-size-2.5 iw-justify-center iw-rounded-full iw-text-white ${e === "face_detected" ? "iw-bg-[#22C55E]" : e === "model_loading" ? "iw-bg-[#062260]" : "iw-bg-[#E94315]"}`, children: e === "face_detected" ? /* @__PURE__ */ c(Cr, {}) : e === "model_loading" ? /* @__PURE__ */ c("div", { className: "iw-animate-spin iw-border iw-border-white iw-border-t-transparent iw-rounded-full iw-w-2 iw-h-2" }) : /* @__PURE__ */ c(Gr, {}) }),
5527
5527
  /* @__PURE__ */ c("span", { className: "iw-text-sm iw-font-medium", children: e === "face_detected" ? "Face detected clearly" : e === "camera_error" ? "Camera not found" : t.title })
5528
5528
  ] }),
5529
5529
  i && /* @__PURE__ */ c("span", { className: "iw-text-white iw-text-center iw-text-xs iw-drop-shadow-sm iw-max-w-[400px] iw-px-3", children: e === "model_loading" ? "Initializing Face models. Please wait..." : e === "no_face_detected" ? "Face not detected. Please position yourself clearly in the frame." : e === "multiple_faces" ? "Multiple faces detected. Please ensure only you are visible." : "Please position your face correctly." })
@@ -5543,79 +5543,79 @@ const k1 = ({ status: e }) => {
5543
5543
  videoAllowed: d = !0
5544
5544
  }, h) => {
5545
5545
  var io;
5546
- const { authToken: w } = ka(), f = w ? ad(w) : null, { borderRadius: g } = Si(), b = g ?? 18, { proctoring: p, capture_screenshots: y } = Jn(), v = !!(p != null && p.gazeAnalysisEnabled), [T, I] = _(!1), [O, M] = _(
5546
+ const { authToken: w } = ka(), f = w ? ad(w) : null, { borderRadius: g } = Si(), b = g ?? 18, { proctoring: p, capture_screenshots: y } = Qn(), v = !!(p != null && p.gazeAnalysisEnabled), [T, I] = E(!1), [O, M] = E(
5547
5547
  (p == null ? void 0 : p.showLandmarks) ?? !1
5548
- ), [B, R] = _(
5548
+ ), [B, R] = E(
5549
5549
  r && ((p == null ? void 0 : p.showEngagementBar) ?? !0)
5550
- ), [P, Y] = _(
5550
+ ), [P, Y] = E(
5551
5551
  v
5552
- ), [xe, X] = _(!1), q = F(null), Q = F(null), V = F(null), J = F(null), et = S(
5553
- async (Ee) => {
5554
- var vr;
5555
- const zi = q.current, Ae = V.current;
5556
- if (!zi || !Ae) return;
5552
+ ), [xe, X] = E(!1), q = F(null), Q = F(null), G = F(null), J = F(null), et = S(
5553
+ async (_e) => {
5554
+ var br;
5555
+ const Wi = q.current, Ae = G.current;
5556
+ if (!Wi || !Ae) return;
5557
5557
  const li = Ae.getContext("2d");
5558
5558
  if (!li) return;
5559
- Ae.width = zi.videoWidth, Ae.height = zi.videoHeight, li.save(), li.scale(-1, 1), li.drawImage(zi, -Ae.width, 0, Ae.width, Ae.height), li.restore();
5560
- const Hi = await new Promise(
5561
- (jt) => Ae.toBlob(jt, "image/jpeg")
5559
+ Ae.width = Wi.videoWidth, Ae.height = Wi.videoHeight, li.save(), li.scale(-1, 1), li.drawImage(Wi, -Ae.width, 0, Ae.width, Ae.height), li.restore();
5560
+ const zi = await new Promise(
5561
+ (Vt) => Ae.toBlob(Vt, "image/jpeg")
5562
5562
  );
5563
- if (Hi && t)
5563
+ if (zi && t)
5564
5564
  try {
5565
- const jt = `${Ee}-${Date.now()}.jpeg`, Ne = await xr.requestScreenshotUploadUrl(
5565
+ const Vt = `${_e}-${Date.now()}.jpeg`, Ne = await vr.requestScreenshotUploadUrl(
5566
5566
  t,
5567
- jt
5567
+ Vt
5568
5568
  );
5569
- Ne.data && Ne.data.upload_url && (await xr.uploadScreenshot(
5570
- (vr = Ne == null ? void 0 : Ne.data) == null ? void 0 : vr.upload_url,
5571
- Hi
5572
- ), Ne.data.asset_id && await xr.confirmScreenshotUpload(
5569
+ Ne.data && Ne.data.upload_url && (await vr.uploadScreenshot(
5570
+ (br = Ne == null ? void 0 : Ne.data) == null ? void 0 : br.upload_url,
5571
+ zi
5572
+ ), Ne.data.asset_id && await vr.confirmScreenshotUpload(
5573
5573
  Ne.data.asset_id
5574
5574
  ));
5575
- } catch (jt) {
5576
- console.error(`Failed to upload screenshot for ${Ee}:`, jt);
5575
+ } catch (Vt) {
5576
+ console.error(`Failed to upload screenshot for ${_e}:`, Vt);
5577
5577
  }
5578
5578
  },
5579
- [xr, t]
5579
+ [vr, t]
5580
5580
  );
5581
5581
  L(() => {
5582
- let Ee;
5583
- return s && (X(!0), Ee = setTimeout(() => X(!1), 1e3)), () => {
5584
- Ee && clearTimeout(Ee);
5582
+ let _e;
5583
+ return s && (X(!0), _e = setTimeout(() => X(!1), 1e3)), () => {
5584
+ _e && clearTimeout(_e);
5585
5585
  };
5586
5586
  }, [s]);
5587
5587
  const {
5588
5588
  faceLandmarkerRef: gt,
5589
5589
  isModelLoaded: Ce,
5590
5590
  statusMessage: kt,
5591
- setStatusMessage: He,
5592
- loadingProgress: ni,
5591
+ setStatusMessage: qe,
5592
+ loadingProgress: ri,
5593
5593
  permissionDenied: At,
5594
- clearCache: si
5595
- } = d1(), { fps: oi, updateFPS: Le } = u1(), { drawWithEngagementBar: Nt, clearCanvas: ae, engagementRef: tt } = h1(), {
5596
- engagement: Ut,
5597
- isLookingAway: Gt,
5598
- analyzeGaze: wn,
5599
- setEngagement: gr,
5594
+ clearCache: ni
5595
+ } = d1(), { fps: si, updateFPS: Le } = u1(), { drawWithEngagementBar: Nt, clearCanvas: ae, engagementRef: tt } = h1(), {
5596
+ engagement: oi,
5597
+ isLookingAway: Ut,
5598
+ analyzeGaze: hn,
5599
+ setEngagement: mr,
5600
5600
  setIsLookingAway: ai
5601
5601
  } = f1(), {
5602
5602
  multipleFacesDetected: ji,
5603
- referenceFaceNotDetected: Vt,
5604
- analyzeFace: pr,
5603
+ referenceFaceNotDetected: Gt,
5604
+ analyzeFace: gr,
5605
5605
  setMultipleFacesDetected: $i,
5606
5606
  setReferenceFaceNotDetected: ci
5607
- } = g1(), { referenceSet: Wi, referenceRef: D, setReference: U, resetReference: qe, syncReference: yr } = _1(
5607
+ } = g1(), { referenceSet: D, referenceRef: V, setReference: Re, resetReference: pr, syncReference: Qs } = E1(
5608
5608
  gt,
5609
5609
  q,
5610
- He,
5610
+ qe,
5611
5611
  n
5612
5612
  ), Rl = {
5613
5613
  multipleFacesDetected: ji,
5614
- referenceFaceNotDetected: Vt,
5615
- isLookingAway: Gt
5614
+ referenceFaceNotDetected: Gt,
5615
+ isLookingAway: Ut
5616
5616
  }, {
5617
5617
  showGazeWarningModal: Js,
5618
- getWarningType: br,
5618
+ getWarningType: yr,
5619
5619
  closeWarningModal: Zs,
5620
5620
  setShowGazeWarningModal: eo,
5621
5621
  setFaceDetectionState: to
@@ -5634,17 +5634,17 @@ const k1 = ({ status: e }) => {
5634
5634
  o("camera_error");
5635
5635
  return;
5636
5636
  }
5637
- const Ee = br() || Ie.NO_FACE;
5638
- o(Ee);
5637
+ const _e = yr() || Ie.NO_FACE;
5638
+ o(_e);
5639
5639
  }
5640
5640
  }, [
5641
5641
  Ce,
5642
5642
  u,
5643
5643
  d,
5644
5644
  ji,
5645
- Vt,
5646
5645
  Gt,
5647
- br,
5646
+ Ut,
5647
+ yr,
5648
5648
  o
5649
5649
  ]);
5650
5650
  const { renderLoop: Ml } = x1(
@@ -5652,28 +5652,28 @@ const k1 = ({ status: e }) => {
5652
5652
  Q,
5653
5653
  gt,
5654
5654
  Le,
5655
- pr,
5655
+ gr,
5656
5656
  Nt,
5657
5657
  ae,
5658
- wn,
5659
- Wi,
5658
+ hn,
5660
5659
  D,
5660
+ V,
5661
5661
  O,
5662
5662
  B,
5663
5663
  v,
5664
- He,
5664
+ qe,
5665
5665
  ci
5666
5666
  );
5667
- v1(q, Ce, Ml, He), L(() => {
5668
- yr();
5669
- }, [yr]), L(() => {
5670
- tt && tt.current && (tt.current.value = Ut, tt.current.isLookingAway = Gt);
5671
- }, [Ut, Gt, tt]);
5667
+ v1(q, Ce, Ml, qe), L(() => {
5668
+ Qs();
5669
+ }, [Qs]), L(() => {
5670
+ tt && tt.current && (tt.current.value = oi, tt.current.isLookingAway = Ut);
5671
+ }, [oi, Ut, tt]);
5672
5672
  const Dl = S(
5673
- (Ee) => {
5674
- Y(Ee), Ee || (gr(100), ai(!1));
5673
+ (_e) => {
5674
+ Y(_e), _e || (mr(100), ai(!1));
5675
5675
  },
5676
- [gr, ai]
5676
+ [mr, ai]
5677
5677
  ), Pl = S(() => {
5678
5678
  ai(!1), $i(!1), ci(!1), to("face_detected"), eo(!1), Zs();
5679
5679
  }, [
@@ -5684,15 +5684,15 @@ const k1 = ({ status: e }) => {
5684
5684
  eo,
5685
5685
  Zs
5686
5686
  ]), Ol = {
5687
- engagement: Ut,
5688
- fps: oi,
5689
- isLookingAway: Gt,
5687
+ engagement: oi,
5688
+ fps: si,
5689
+ isLookingAway: Ut,
5690
5690
  multipleFacesDetected: ji,
5691
- referenceFaceNotDetected: Vt
5691
+ referenceFaceNotDetected: Gt
5692
5692
  };
5693
5693
  return L(() => {
5694
5694
  if (!y) return;
5695
- const Ee = [];
5695
+ const _e = [];
5696
5696
  return (async () => {
5697
5697
  try {
5698
5698
  const Ae = await navigator.mediaDevices.getUserMedia({
@@ -5700,39 +5700,39 @@ const k1 = ({ status: e }) => {
5700
5700
  audio: !1
5701
5701
  });
5702
5702
  J.current = Ae, q.current && (q.current.srcObject = Ae);
5703
- const Hi = (i ?? Br) * 60 * 1e3 / 3, vr = [0, 1, 2].map((Ne, Tt) => ({
5703
+ const zi = (i ?? Or) * 60 * 1e3 / 3, br = [0, 1, 2].map((Ne, Tt) => ({
5704
5704
  label: `capture-${Tt + 1}`,
5705
- start: Tt * Hi,
5706
- end: (Tt + 1) * Hi
5707
- })), jt = (Ne, Tt) => Ne === Tt ? Ne : Math.random() * (Tt - Ne) + Ne;
5708
- vr.forEach(({ label: Ne, start: Tt, end: Bl }, Ul) => {
5709
- let fn;
5710
- Ul === 0 ? fn = 3e3 : fn = jt(Tt, Bl), Ee.push(
5705
+ start: Tt * zi,
5706
+ end: (Tt + 1) * zi
5707
+ })), Vt = (Ne, Tt) => Ne === Tt ? Ne : Math.random() * (Tt - Ne) + Ne;
5708
+ br.forEach(({ label: Ne, start: Tt, end: Bl }, Ul) => {
5709
+ let wn;
5710
+ Ul === 0 ? wn = 3e3 : wn = Vt(Tt, Bl), _e.push(
5711
5711
  setTimeout(() => {
5712
5712
  et(Ne);
5713
- }, fn)
5713
+ }, wn)
5714
5714
  );
5715
5715
  });
5716
5716
  } catch (Ae) {
5717
5717
  console.error("Error accessing camera:", Ae);
5718
5718
  }
5719
5719
  })(), () => {
5720
- J.current && J.current.getTracks().forEach((Ae) => Ae.stop()), Ee.forEach(clearTimeout);
5720
+ J.current && J.current.getTracks().forEach((Ae) => Ae.stop()), _e.forEach(clearTimeout);
5721
5721
  };
5722
5722
  }, [et, y]), ya(
5723
5723
  h,
5724
5724
  () => ({
5725
5725
  setReference: () => {
5726
- U();
5726
+ Re();
5727
5727
  },
5728
5728
  resetReference: () => {
5729
- qe();
5729
+ pr();
5730
5730
  },
5731
5731
  stopCamera: () => {
5732
- J.current && (J.current.getTracks().forEach((Ee) => Ee.stop()), J.current = null);
5732
+ J.current && (J.current.getTracks().forEach((_e) => _e.stop()), J.current = null);
5733
5733
  }
5734
5734
  }),
5735
- [U, qe]
5735
+ [Re, pr]
5736
5736
  ), /* @__PURE__ */ m("div", { className: `iw-relative iw-h-full iw-w-full ${e}`, children: [
5737
5737
  At ? /* @__PURE__ */ m("div", { className: "iw-rounded-md iw-border iw-border-red-600 iw-p-5 iw-text-red-600", children: [
5738
5738
  /* @__PURE__ */ c("h2", { children: "Camera Permission Denied" }),
@@ -5775,23 +5775,23 @@ const k1 = ({ status: e }) => {
5775
5775
  }
5776
5776
  }
5777
5777
  ),
5778
- /* @__PURE__ */ c("canvas", { ref: V, style: { display: "none" } }),
5778
+ /* @__PURE__ */ c("canvas", { ref: G, style: { display: "none" } }),
5779
5779
  r && /* @__PURE__ */ m("div", { className: "iw-absolute iw-top-4 iw-right-4 iw-inline-flex iw-items-center iw-gap-2 iw-rounded-lg iw-border iw-border-white/10 iw-bg-[#FFEBE6] iw-px-2 iw-py-1 iw-backdrop-blur-md", children: [
5780
5780
  /* @__PURE__ */ c("div", { className: "iw-size-2 iw-animate-pulse iw-rounded-full iw-bg-red-500" }),
5781
5781
  /* @__PURE__ */ c("span", { className: "iw-font-medium iw-text-xs iw-text-[#E94315]", children: "RECORDING" })
5782
5782
  ] }),
5783
5783
  r && ((io = f == null ? void 0 : f.data) == null ? void 0 : io.user_name) && /* @__PURE__ */ c("div", { className: "iw-absolute iw-z-50 iw-bottom-4 iw-right-4 iw-inline-flex iw-items-center iw-gap-2 iw-rounded-lg iw-border iw-border-white/10 iw-bg-[#F1F5FE] iw-px-3 iw-py-1 iw-backdrop-blur-md", children: /* @__PURE__ */ c("span", { className: "iw-font-medium iw-text-xs iw-text-[#062260]", children: f.data.user_name }) }),
5784
5784
  r && /* @__PURE__ */ c("div", { className: "iw-absolute iw-bottom-4 iw-right-4", children: /* @__PURE__ */ c(
5785
- _d,
5785
+ Ed,
5786
5786
  {
5787
5787
  showControls: (p == null ? void 0 : p.showControls) ?? !1,
5788
5788
  isBubbleOpen: T,
5789
5789
  setIsBubbleOpen: I,
5790
- setReference: U,
5791
- clearCache: si,
5790
+ setReference: Re,
5791
+ clearCache: ni,
5792
5792
  isModelLoaded: Ce,
5793
5793
  gazeAnalysisEnabled: P && v,
5794
- referenceSet: Wi,
5794
+ referenceSet: D,
5795
5795
  showLandmarks: O,
5796
5796
  setShowLandmarks: M,
5797
5797
  showEngagementBar: B,
@@ -5799,7 +5799,7 @@ const k1 = ({ status: e }) => {
5799
5799
  handleToggleGazeAnalysis: Dl,
5800
5800
  stats: Ol,
5801
5801
  statusMessage: kt,
5802
- loadingProgress: ni
5802
+ loadingProgress: ri
5803
5803
  }
5804
5804
  ) }),
5805
5805
  a && /* @__PURE__ */ m(yt, { children: [
@@ -5815,7 +5815,7 @@ const k1 = ({ status: e }) => {
5815
5815
  /* @__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(
5816
5816
  k1,
5817
5817
  {
5818
- status: d ? u || !Ce ? "model_loading" : br() ?? "no_face_detected" : "camera_error"
5818
+ status: d ? u || !Ce ? "model_loading" : yr() ?? "no_face_detected" : "camera_error"
5819
5819
  }
5820
5820
  ) })
5821
5821
  ] })
@@ -5823,17 +5823,17 @@ const k1 = ({ status: e }) => {
5823
5823
  }
5824
5824
  ) }),
5825
5825
  v && Js && !a && /* @__PURE__ */ c(
5826
- E1,
5826
+ _1,
5827
5827
  {
5828
5828
  isOpen: Js,
5829
5829
  onClose: Pl,
5830
- warningType: br(),
5830
+ warningType: yr(),
5831
5831
  isCheatingModalOpen: l
5832
5832
  }
5833
5833
  )
5834
5834
  ] });
5835
5835
  }
5836
- ), Or = ({
5836
+ ), Pr = ({
5837
5837
  children: e,
5838
5838
  variant: t = "primary",
5839
5839
  size: i = "md",
@@ -5929,7 +5929,7 @@ const k1 = ({ status: e }) => {
5929
5929
  stream: o = null,
5930
5930
  hasPermission: a = !0
5931
5931
  }) => {
5932
- const { baseColor: l } = Si(), [u, d] = _(!1), h = F(null);
5932
+ const { baseColor: l } = Si(), [u, d] = E(!1), h = F(null);
5933
5933
  L(() => {
5934
5934
  const g = (b) => {
5935
5935
  h.current && !h.current.contains(b.target) && d(!1);
@@ -5941,18 +5941,18 @@ const k1 = ({ status: e }) => {
5941
5941
  /* @__PURE__ */ m(
5942
5942
  "div",
5943
5943
  {
5944
- className: `iw-flex iw-items-center iw-justify-between iw-bg-white iw-border iw-border-gray-200 iw-rounded-xl iw-px-3 iw-py-3 iw-transition-colors ${a ? "iw-cursor-pointer hover:iw-border-blue-500" : "iw-cursor-not-allowed"}`,
5944
+ className: `iw-max-w-[300px] iw-flex iw-items-center iw-justify-between iw-bg-white iw-border iw-border-gray-200 iw-rounded-xl iw-px-3 iw-py-3 iw-transition-colors ${a ? "iw-cursor-pointer hover:iw-border-blue-500" : "iw-cursor-not-allowed"}`,
5945
5945
  onClick: () => a && d(!u),
5946
5946
  title: a ? "" : "Permission denied or device not found",
5947
5947
  children: [
5948
- /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-3 iw-min-w-0", children: [
5948
+ /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-3 iw-min-w-0 iw-max-w-[210px]", children: [
5949
5949
  /* @__PURE__ */ c(e, { className: "iw-w-5 iw-h-5 iw-text-[#062260] iw-flex-shrink-0" }),
5950
5950
  /* @__PURE__ */ c("span", { className: "iw-text-sm iw-text-[#062260] iw-font-medium iw-truncate", children: f })
5951
5951
  ] }),
5952
5952
  /* @__PURE__ */ c("div", { className: "iw-flex iw-items-center iw-gap-2", children: a ? /* @__PURE__ */ m(yt, { children: [
5953
5953
  /* @__PURE__ */ c(hd, { className: `iw-w-4 iw-h-4 iw-text-gray-400 iw-transition-transform ${u ? "iw-rotate-180" : ""}` }),
5954
- i && /* @__PURE__ */ c("div", { className: "iw-bg-[#22C55E] iw-rounded-full iw-p-0.5", children: /* @__PURE__ */ c(Sr, { className: "iw-w-3 iw-h-3 iw-text-white" }) })
5955
- ] }) : /* @__PURE__ */ c("div", { className: "iw-text-[#E94315] iw-relative", children: /* @__PURE__ */ c(Gr, { className: "iw-size-5" }) }) })
5954
+ i && /* @__PURE__ */ c("div", { className: "iw-bg-[#22C55E] iw-rounded-full iw-p-0.5", children: /* @__PURE__ */ c(Cr, { className: "iw-w-3 iw-h-3 iw-text-white" }) })
5955
+ ] }) : /* @__PURE__ */ c("div", { className: "iw-text-[#E94315] iw-relative", children: /* @__PURE__ */ c(Ur, { className: "iw-size-5" }) }) })
5956
5956
  ]
5957
5957
  }
5958
5958
  ),
@@ -5986,7 +5986,7 @@ const k1 = ({ status: e }) => {
5986
5986
  r == null || r(g.deviceId), d(!1);
5987
5987
  },
5988
5988
  children: [
5989
- i === g.deviceId && /* @__PURE__ */ c(Sr, { className: "iw-w-4 iw-h-4 iw-text-[#062260] iw-mr-1" }),
5989
+ i === g.deviceId && /* @__PURE__ */ c(Cr, { className: "iw-w-4 iw-h-4 iw-text-[#062260] iw-mr-1" }),
5990
5990
  /* @__PURE__ */ c("span", { className: "iw-truncate", children: g.label || `Device ${g.deviceId.slice(0, 5)}...` })
5991
5991
  ]
5992
5992
  },
@@ -6024,7 +6024,7 @@ const k1 = ({ status: e }) => {
6024
6024
  onClick: (v) => {
6025
6025
  v.stopPropagation(), s(!n);
6026
6026
  },
6027
- children: n && /* @__PURE__ */ c(Sr, { className: "iw-size-3 iw-text-white" })
6027
+ children: n && /* @__PURE__ */ c(Cr, { className: "iw-size-3 iw-text-white" })
6028
6028
  }
6029
6029
  ),
6030
6030
  /* @__PURE__ */ c(
@@ -6064,7 +6064,7 @@ const k1 = ({ status: e }) => {
6064
6064
  ] }) }),
6065
6065
  /* @__PURE__ */ m("div", { className: "iw-relative iw-group iw-w-full iw-max-w-[280px] iw-mx-auto", children: [
6066
6066
  /* @__PURE__ */ c(
6067
- Or,
6067
+ Pr,
6068
6068
  {
6069
6069
  onClick: r,
6070
6070
  disabled: y,
@@ -6093,7 +6093,7 @@ const k1 = ({ status: e }) => {
6093
6093
  ) }) });
6094
6094
  }, T1 = ({ 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) => {
6095
6095
  const n = r < t, s = r === t;
6096
- return /* @__PURE__ */ m(qn.Fragment, { children: [
6096
+ return /* @__PURE__ */ m(Hn.Fragment, { children: [
6097
6097
  /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-3", children: [
6098
6098
  /* @__PURE__ */ c(
6099
6099
  "div",
@@ -6137,7 +6137,7 @@ const k1 = ({ status: e }) => {
6137
6137
  gazeEnabled: i = !1,
6138
6138
  videoFeedRef: r,
6139
6139
  interviewId: n = "",
6140
- interview_duration: s = Br
6140
+ interview_duration: s = Or
6141
6141
  }) => {
6142
6142
  const {
6143
6143
  audioAllowed: o,
@@ -6152,20 +6152,20 @@ const k1 = ({ status: e }) => {
6152
6152
  handleAudioChange: b,
6153
6153
  handleVideoChange: p,
6154
6154
  stopStream: y
6155
- } = ld(e), [v, T] = _(!1), [I, O] = _(0), [M, B] = _(!1), R = F(null), P = F(null), Y = (V) => {
6156
- R.current = V, r && (typeof r == "function" ? r(V) : r.current = V);
6155
+ } = ld(e), [v, T] = E(!1), [I, O] = E(0), [M, B] = E(!1), R = F(null), P = F(null), Y = (G) => {
6156
+ R.current = G, r && (typeof r == "function" ? r(G) : r.current = G);
6157
6157
  };
6158
6158
  if (L(() => () => {
6159
6159
  P.current && (clearInterval(P.current), P.current = null);
6160
6160
  }, []), !e) return null;
6161
- const [xe, X] = _(Ie.MODEL_LOADING), q = async () => {
6161
+ const [xe, X] = E(Ie.MODEL_LOADING), q = async () => {
6162
6162
  var J;
6163
6163
  T(!0), (J = R.current) == null || J.resetReference();
6164
- const V = () => {
6164
+ const G = () => {
6165
6165
  var et;
6166
6166
  return (et = R.current) == null ? void 0 : et.setReference();
6167
6167
  };
6168
- V(), P.current && clearInterval(P.current), P.current = setInterval(V, 500);
6168
+ G(), P.current && clearInterval(P.current), P.current = setInterval(G, 500);
6169
6169
  };
6170
6170
  return /* @__PURE__ */ c("div", { className: "iw-fixed iw-inset-0 iw-z-50 iw-flex iw-items-center iw-justify-center iw-bg-gray-900/40 iw-backdrop-blur-sm iw-p-4 iw-pt-5 iw-overflow-auto", children: /* @__PURE__ */ m("div", { className: "iw-w-full iw-max-w-[700px] iw-max-h-[900px] iw-my-4 iw-bg-white iw-rounded-xl iw-shadow-2xl iw-overflow-auto", children: [
6171
6171
  /* @__PURE__ */ m("div", { className: "iw-px-5 iw-pt-3", children: [
@@ -6227,9 +6227,9 @@ const k1 = ({ status: e }) => {
6227
6227
  }
6228
6228
  )
6229
6229
  ] }) : /* @__PURE__ */ m("div", { className: "iw-w-full iw-flex iw-flex-col iw-gap-6", children: [
6230
- /* @__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: C1.map((V, J) => /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-4", children: [
6230
+ /* @__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: C1.map((G, J) => /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-4", children: [
6231
6231
  /* @__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 }),
6232
- /* @__PURE__ */ c("span", { className: "iw-text-[#5C6686] iw-font-medium", children: V })
6232
+ /* @__PURE__ */ c("span", { className: "iw-text-[#5C6686] iw-font-medium", children: G })
6233
6233
  ] }, J)) }),
6234
6234
  /* @__PURE__ */ c(
6235
6235
  la,
@@ -6283,11 +6283,11 @@ const Il = {
6283
6283
  };
6284
6284
  class I1 {
6285
6285
  constructor(t = {}, i = {}) {
6286
- Re(this, "config");
6287
- Re(this, "state");
6288
- Re(this, "phaseIntervalId", null);
6289
- Re(this, "globalIntervalId", null);
6290
- Re(this, "callbacks");
6286
+ Me(this, "config");
6287
+ Me(this, "state");
6288
+ Me(this, "phaseIntervalId", null);
6289
+ Me(this, "globalIntervalId", null);
6290
+ Me(this, "callbacks");
6291
6291
  this.config = { ...Il, ...t }, this.callbacks = i, this.state = {
6292
6292
  phase: "idle",
6293
6293
  currentPhaseTimeRemaining: 0,
@@ -6403,7 +6403,7 @@ class I1 {
6403
6403
  function F1(e = {}) {
6404
6404
  const { config: t = {}, callbacks: i = {} } = e, r = F(null);
6405
6405
  r.current || (r.current = new I1(t, {}));
6406
- const n = r.current, [s, o] = _(n.getState()), a = S(() => {
6406
+ const n = r.current, [s, o] = E(n.getState()), a = S(() => {
6407
6407
  o(n.getState());
6408
6408
  }, [n]);
6409
6409
  L(() => {
@@ -6443,7 +6443,7 @@ function F1(e = {}) {
6443
6443
  };
6444
6444
  }
6445
6445
  function L1(e, t = {}) {
6446
- const [i, r] = _({
6446
+ const [i, r] = E({
6447
6447
  data: null,
6448
6448
  loading: !1,
6449
6449
  error: null
@@ -6482,7 +6482,7 @@ function L1(e, t = {}) {
6482
6482
  };
6483
6483
  }
6484
6484
  const R1 = (e) => {
6485
- const [t, i] = _(null), [r, n] = _(!1), s = document, o = () => !!(s.fullscreenEnabled || s.webkitFullscreenEnabled || s.mozFullScreenEnabled || s.msFullscreenEnabled), a = () => s.fullscreenElement || s.webkitFullscreenElement || s.mozFullScreenElement || s.msFullscreenElement, l = async (f) => {
6485
+ const [t, i] = E(null), [r, n] = E(!1), s = document, o = () => !!(s.fullscreenEnabled || s.webkitFullscreenEnabled || s.mozFullScreenEnabled || s.msFullscreenEnabled), a = () => s.fullscreenElement || s.webkitFullscreenElement || s.mozFullScreenElement || s.msFullscreenElement, l = async (f) => {
6486
6486
  var g;
6487
6487
  try {
6488
6488
  if (!o())
@@ -6542,8 +6542,8 @@ const R1 = (e) => {
6542
6542
  };
6543
6543
  };
6544
6544
  function Fl() {
6545
- const e = Ur();
6546
- return tr(() => {
6545
+ const e = Br();
6546
+ return er(() => {
6547
6547
  const i = e.api || {};
6548
6548
  return new Ca(i);
6549
6549
  }, [e.api]);
@@ -6588,7 +6588,7 @@ const M1 = (e) => {
6588
6588
  };
6589
6589
  }, [e]);
6590
6590
  }, D1 = (e = {}) => {
6591
- const [t, i] = _(!1), [r, n] = _(!1), [s, o] = _(null), [a, l] = _(null), [u, d] = _(null);
6591
+ const [t, i] = E(!1), [r, n] = E(!1), [s, o] = E(null), [a, l] = E(null), [u, d] = E(null);
6592
6592
  e.config && hi.updateConfig(e.config);
6593
6593
  const h = S(async (b) => {
6594
6594
  var p;
@@ -6716,7 +6716,7 @@ const M1 = (e) => {
6716
6716
  };
6717
6717
  class B1 {
6718
6718
  constructor() {
6719
- Re(this, "currentAudio", null);
6719
+ Me(this, "currentAudio", null);
6720
6720
  }
6721
6721
  /**
6722
6722
  * Play base64 audio data
@@ -6770,7 +6770,7 @@ class B1 {
6770
6770
  }
6771
6771
  }
6772
6772
  const ua = new B1(), U1 = (e = {}) => {
6773
- const [t, i] = _(!1), [r, n] = _(!1), [s, o] = _(null), a = S(
6773
+ const [t, i] = E(!1), [r, n] = E(!1), [s, o] = E(null), a = S(
6774
6774
  async (u) => {
6775
6775
  var d;
6776
6776
  try {
@@ -6921,10 +6921,10 @@ const ua = new B1(), U1 = (e = {}) => {
6921
6921
  clearInterval(r), document.removeEventListener("keydown", n), document.removeEventListener("contextmenu", s), delete window.showStats, delete window.interviewTips;
6922
6922
  };
6923
6923
  }, []);
6924
- }, Qs = (e) => {
6924
+ }, Xs = (e) => {
6925
6925
  const { baseColor: t, borderRadius: i } = Si(), { loading: r, children: n, ...s } = e;
6926
6926
  return /* @__PURE__ */ c(
6927
- Or,
6927
+ Pr,
6928
6928
  {
6929
6929
  style: {
6930
6930
  background: sd(t),
@@ -6937,7 +6937,7 @@ const ua = new B1(), U1 = (e = {}) => {
6937
6937
  }, j1 = (e, t, i) => Math.max(t, Math.min(i, e)), ha = (e) => {
6938
6938
  const t = Math.max(0, Math.floor(e)), i = Math.floor(t / 60).toString().padStart(2, "0"), r = (t % 60).toString().padStart(2, "0");
6939
6939
  return `${i}:${r}`;
6940
- }, hn = ({
6940
+ }, un = ({
6941
6941
  total: e,
6942
6942
  remaining: t,
6943
6943
  size: i = 64,
@@ -6945,10 +6945,10 @@ const ua = new B1(), U1 = (e = {}) => {
6945
6945
  className: n = "",
6946
6946
  showLabel: s = !0
6947
6947
  }) => {
6948
- const o = Math.max(1, e || 1), a = j1(t / o, 0, 1), { radius: l, circumference: u, dashOffset: d, center: h } = tr(() => {
6948
+ const o = Math.max(1, e || 1), a = j1(t / o, 0, 1), { radius: l, circumference: u, dashOffset: d, center: h } = er(() => {
6949
6949
  const g = (i - r) / 2, b = 2 * Math.PI * g, p = b * (1 - a), y = Math.round(r) % 2 === 1, v = i / 2 + (y ? 0.5 : 0);
6950
6950
  return { radius: g, circumference: b, dashOffset: p, center: v };
6951
- }, [i, r, a]), w = tr(() => a <= 0.25 ? "iw-stroke-red-500" : a <= 0.5 ? "iw-stroke-yellow-500" : "iw-stroke-green-500", [a]), f = a <= 0.25 ? "iw-animate-pulse" : "";
6951
+ }, [i, r, a]), w = er(() => a <= 0.25 ? "iw-stroke-red-500" : a <= 0.5 ? "iw-stroke-yellow-500" : "iw-stroke-green-500", [a]), f = a <= 0.25 ? "iw-animate-pulse" : "";
6952
6952
  return /* @__PURE__ */ m(
6953
6953
  "div",
6954
6954
  {
@@ -7018,7 +7018,7 @@ const ua = new B1(), U1 = (e = {}) => {
7018
7018
  const i = (e == null ? void 0 : e.currentPhaseTimeRemaining) || 0, r = t || Il.answeringDuration;
7019
7019
  return /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-3", children: [
7020
7020
  /* @__PURE__ */ c(
7021
- hn,
7021
+ un,
7022
7022
  {
7023
7023
  total: r,
7024
7024
  remaining: i,
@@ -7031,7 +7031,7 @@ const ua = new B1(), U1 = (e = {}) => {
7031
7031
  /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col", children: [
7032
7032
  /* @__PURE__ */ c("span", { className: "iw-text-[#5C6686]", children: "Time left to answer" }),
7033
7033
  /* @__PURE__ */ m("span", { className: "iw-text-xl iw-font-bold iw-text-[#062260]", children: [
7034
- Zn(i, !0),
7034
+ Jn(i, !0),
7035
7035
  i >= 60 ? " min" : " sec"
7036
7036
  ] })
7037
7037
  ] })
@@ -7060,7 +7060,7 @@ const ua = new B1(), U1 = (e = {}) => {
7060
7060
  style: {
7061
7061
  backgroundImage: "linear-gradient(#B5D0FD, #FFFFFF)"
7062
7062
  },
7063
- children: /* @__PURE__ */ c(es, { brandLogo: n, brandName: r })
7063
+ children: /* @__PURE__ */ c(Zn, { brandLogo: n, brandName: r })
7064
7064
  }
7065
7065
  )
7066
7066
  }
@@ -7178,7 +7178,7 @@ const ua = new B1(), U1 = (e = {}) => {
7178
7178
  /* @__PURE__ */ c("span", { className: "iw-text-[#062260] iw-text-sm iw-font-medium iw-line-clamp-1", children: "Time left to edit answer" }),
7179
7179
  /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-2", children: [
7180
7180
  /* @__PURE__ */ c(
7181
- hn,
7181
+ un,
7182
7182
  {
7183
7183
  total: r,
7184
7184
  remaining: i.currentPhaseTimeRemaining,
@@ -7187,7 +7187,7 @@ const ua = new B1(), U1 = (e = {}) => {
7187
7187
  showLabel: !1
7188
7188
  }
7189
7189
  ),
7190
- /* @__PURE__ */ c("span", { className: "iw-text-[#062260] iw-text-sm iw-font-bold", children: `${Zn(i.currentPhaseTimeRemaining)} mins` })
7190
+ /* @__PURE__ */ c("span", { className: "iw-text-[#062260] iw-text-sm iw-font-bold", children: `${Jn(i.currentPhaseTimeRemaining, !0)}${i.currentPhaseTimeRemaining >= 60 ? " min" : " sec"}` })
7191
7191
  ] })
7192
7192
  ] })
7193
7193
  ] }), wa = ({
@@ -7379,7 +7379,7 @@ const ua = new B1(), U1 = (e = {}) => {
7379
7379
  timerState: a,
7380
7380
  editingTime: l
7381
7381
  }) => {
7382
- const u = Fl(), [d, h] = _([]), [w, f] = _(!0), g = qn.useRef(null);
7382
+ const u = Fl(), [d, h] = E([]), [w, f] = E(!0), g = Hn.useRef(null);
7383
7383
  return L(() => {
7384
7384
  var b;
7385
7385
  (b = g.current) == null || b.scrollIntoView({ behavior: "smooth" });
@@ -7433,7 +7433,7 @@ const ua = new B1(), U1 = (e = {}) => {
7433
7433
  editingTime: l
7434
7434
  }
7435
7435
  );
7436
- }, An = 5, Nn = 5;
7436
+ }, kn = 5, An = 5;
7437
7437
  function t2({
7438
7438
  isOpen: e,
7439
7439
  onClose: t,
@@ -7441,17 +7441,17 @@ function t2({
7441
7441
  violationType: r,
7442
7442
  onDisqualify: n
7443
7443
  }) {
7444
- const [, s] = _(Nn), o = F(t), a = F(n), l = F(i);
7444
+ const [, s] = E(An), o = F(t), a = F(n), l = F(i);
7445
7445
  if (L(() => {
7446
7446
  o.current = t, a.current = n, l.current = i;
7447
7447
  }, [t, n, i]), L(() => {
7448
7448
  if (!e) return;
7449
7449
  const w = setInterval(() => {
7450
- s((f) => f <= 1 ? (l.current + 1 > An ? a.current() : o.current(), Nn) : f - 1);
7450
+ s((f) => f <= 1 ? (l.current + 1 > kn ? a.current() : o.current(), An) : f - 1);
7451
7451
  }, 1e3);
7452
7452
  return () => clearInterval(w);
7453
7453
  }, [e]), L(() => {
7454
- e && s(Nn);
7454
+ e && s(An);
7455
7455
  }, [e]), !e) return null;
7456
7456
  const u = () => {
7457
7457
  switch (r) {
@@ -7472,7 +7472,7 @@ function t2({
7472
7472
  default:
7473
7473
  return "Attempted right click/tab switch";
7474
7474
  }
7475
- }, d = An - i;
7475
+ }, d = kn - i;
7476
7476
  return /* @__PURE__ */ c(
7477
7477
  "div",
7478
7478
  {
@@ -7486,14 +7486,14 @@ function t2({
7486
7486
  "button",
7487
7487
  {
7488
7488
  onClick: () => {
7489
- i + 1 > An ? n() : t();
7489
+ i + 1 > kn ? n() : t();
7490
7490
  },
7491
7491
  className: "iw-absolute iw-right-3 iw-top-3 iw-text-gray-400 iw-transition-colors iw-hover:iw-text-gray-600",
7492
- children: /* @__PURE__ */ c(Vr, { className: "iw-h-5 iw-w-5" })
7492
+ children: /* @__PURE__ */ c(Gr, { className: "iw-h-5 iw-w-5" })
7493
7493
  }
7494
7494
  ),
7495
7495
  /* @__PURE__ */ m("div", { className: "iw-flex iw-items-start iw-gap-3", children: [
7496
- /* @__PURE__ */ c("div", { className: "iw-flex iw-h-10 iw-w-10 iw-flex-shrink-0 iw-items-center iw-justify-center iw-rounded-full iw-border iw-border-[#FDCBBD]", children: /* @__PURE__ */ c(Gr, { className: "iw-h-5 iw-w-5 iw-text-red-500" }) }),
7496
+ /* @__PURE__ */ c("div", { className: "iw-flex iw-h-10 iw-w-10 iw-flex-shrink-0 iw-items-center iw-justify-center iw-rounded-full iw-border iw-border-[#FDCBBD]", children: /* @__PURE__ */ c(Ur, { className: "iw-h-5 iw-w-5 iw-text-red-500" }) }),
7497
7497
  /* @__PURE__ */ m("div", { className: "iw-flex-1 iw-pt-0.5", children: [
7498
7498
  /* @__PURE__ */ m("h2", { className: "iw-text-[20px] iw-font-semibold iw-leading-tight iw-text-[#E94315]", children: [
7499
7499
  "You have ",
@@ -7628,7 +7628,7 @@ const i2 = ({
7628
7628
  children: [
7629
7629
  /* @__PURE__ */ c("div", { className: "iw-absolute iw-inset-x-0 iw-top-0 iw-h-1 iw-bg-gradient-to-r iw-from-red-500 iw-to-red-600" }),
7630
7630
  /* @__PURE__ */ c("div", { className: "iw-space-y-1 iw-pb-2 iw-pt-3", children: /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-2", children: [
7631
- /* @__PURE__ */ c(Gr, { className: "iw-w-5 iw-h-5 iw-text-red-500" }),
7631
+ /* @__PURE__ */ c(Ur, { className: "iw-w-5 iw-h-5 iw-text-red-500" }),
7632
7632
  /* @__PURE__ */ c("h3", { className: "iw-text-xl iw-font-semibold iw-text-red-500", children: "Full Screen Exit Detected" })
7633
7633
  ] }) }),
7634
7634
  /* @__PURE__ */ c("div", { className: "iw-pt-4 iw-pb-6", children: /* @__PURE__ */ c("p", { className: "iw-text-center iw-text-sm iw-leading-relaxed iw-text-gray-500/90", children: "Exiting full screen mode or reloading this page during the session is strictly prohibited. Any attempt to do so will be recorded and may lead to penalties." }) }),
@@ -7646,14 +7646,14 @@ const i2 = ({
7646
7646
  ]
7647
7647
  }
7648
7648
  );
7649
- }, Ll = Kn(null), s2 = () => {
7649
+ }, Ll = qn(null), s2 = () => {
7650
7650
  const e = Ci(Ll);
7651
7651
  if (!e)
7652
7652
  throw new Error("useProctoring must be used within InterviewProctoring");
7653
7653
  return e;
7654
7654
  }, o2 = pa(
7655
7655
  ({ children: e, onDisqualify: t, isCompleted: i }, r) => {
7656
- const [n, s] = _(!1), [o, a] = _(!1), [l, u] = _(!1), [d, h] = _("fullscreen_exit"), { logViolation: w, violationCount: f } = G1({
7656
+ const [n, s] = E(!1), [o, a] = E(!1), [l, u] = E(!1), [d, h] = E("fullscreen_exit"), { logViolation: w, violationCount: f } = G1({
7657
7657
  maxViolations: 5,
7658
7658
  onViolation: (v) => {
7659
7659
  !o && !i && !l && (s(!0), h(v.type));
@@ -7752,7 +7752,7 @@ const i2 = ({
7752
7752
  phase: n,
7753
7753
  className: s = "",
7754
7754
  interviewId: o = "",
7755
- interview_duration: a = Br,
7755
+ interview_duration: a = Or,
7756
7756
  videoFeedRef: l,
7757
7757
  lastSubmittedAnswer: u,
7758
7758
  onNextPhase: d,
@@ -7951,7 +7951,7 @@ const i2 = ({
7951
7951
  /* @__PURE__ */ c("div", { className: "iw-my-0 iw-h-px iw-m-6 iw-border-t iw-border-dashed iw-border-[#B3B9CB]" }),
7952
7952
  /* @__PURE__ */ m("div", { className: "iw-flex iw-justify-center iw-gap-4 iw-p-4", children: [
7953
7953
  /* @__PURE__ */ c(
7954
- Or,
7954
+ Pr,
7955
7955
  {
7956
7956
  className: "iw-px-8 iw-py-3 iw-rounded-xl !iw-bg-[#E94315] !iw-text-white !iw-font-bold !iw-shadow-md !hover:iw-opacity-70",
7957
7957
  onClick: e,
@@ -7959,7 +7959,7 @@ const i2 = ({
7959
7959
  }
7960
7960
  ),
7961
7961
  /* @__PURE__ */ c(
7962
- Or,
7962
+ Pr,
7963
7963
  {
7964
7964
  onClick: i,
7965
7965
  className: "iw-px-6 iw-py-3 iw-rounded-xl !iw-bg-[#F1F5FE] !iw-text-[#062260] !iw-font-bold !iw-border !iw-border-[#E7EAF1] !iw-shadow-md hover:iw-opacity-70",
@@ -7977,11 +7977,11 @@ const i2 = ({
7977
7977
  totalDuration: n = 30,
7978
7978
  elapsedTime: s = 0
7979
7979
  }) => {
7980
- const [o, a] = _(!1), l = Math.min(s / (n * 60) * 100, 100);
7980
+ const [o, a] = E(!1), l = Math.min(s / (n * 60) * 100, 100);
7981
7981
  return /* @__PURE__ */ m("header", { className: "iw-w-full iw-text-gray-900 iw-shadow-sm", children: [
7982
7982
  /* @__PURE__ */ m("div", { className: "iw-mx-auto iw-flex iw-items-center iw-justify-between iw-p-4 iw-pt-1 iw-mb-2 iw-border-b iw-border-[#B3B9CB] iw-border-dashed", children: [
7983
7983
  /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-space-x-2", children: [
7984
- /* @__PURE__ */ c(es, { brandLogo: i, brandName: t }),
7984
+ /* @__PURE__ */ c(Zn, { brandLogo: i, brandName: t }),
7985
7985
  /* @__PURE__ */ c("p", { className: "iw-text-xl iw-font-semibold", children: t })
7986
7986
  ] }),
7987
7987
  /* @__PURE__ */ c("h1", { className: "iw-text-2xl iw-font-semibold iw-text-gradient-silver", children: e }),
@@ -7991,7 +7991,7 @@ const i2 = ({
7991
7991
  className: "iw-text-sm iw-text-[#E94315] iw-min-w-10 iw-rounded-md hover:iw-bg-orange-100 iw-p-2",
7992
7992
  onClick: () => a(!0),
7993
7993
  children: /* @__PURE__ */ m("span", { className: "iw-flex iw-items-center iw-gap-1 iw-text-[18px] iw-font-semibold iw-whitespace-nowrap", children: [
7994
- /* @__PURE__ */ c(Vr, { className: "iw-text-[#E94315] iw-size-5" }),
7994
+ /* @__PURE__ */ c(Gr, { className: "iw-text-[#E94315] iw-size-5" }),
7995
7995
  "Leave interview"
7996
7996
  ] })
7997
7997
  }
@@ -8006,7 +8006,7 @@ const i2 = ({
8006
8006
  }
8007
8007
  ) }),
8008
8008
  /* @__PURE__ */ m("div", { className: "iw-text-sm iw-font-medium iw-whitespace-nowrap", children: [
8009
- /* @__PURE__ */ c("span", { className: "iw-text-[#062260]", children: Zn(s) }),
8009
+ /* @__PURE__ */ c("span", { className: "iw-text-[#062260]", children: Jn(s) }),
8010
8010
  /* @__PURE__ */ m("span", { className: "iw-text-[#667085]", children: [
8011
8011
  "/",
8012
8012
  n,
@@ -8037,7 +8037,7 @@ const i2 = ({
8037
8037
  mediaStream: a,
8038
8038
  startOnMount: l = !0
8039
8039
  }) => {
8040
- const { baseColor: u } = Si(), d = F(null), h = F(null), w = F(null), f = F(null), g = F(null), b = F(null), p = F(!1), [y, v] = _(null);
8040
+ const { baseColor: u } = Si(), d = F(null), h = F(null), w = F(null), f = F(null), g = F(null), b = F(null), p = F(!1), [y, v] = E(null);
8041
8041
  L(() => {
8042
8042
  if (t || !h.current) return;
8043
8043
  const I = h.current, O = () => {
@@ -8100,12 +8100,12 @@ const i2 = ({
8100
8100
  if (!M) return;
8101
8101
  const B = window.devicePixelRatio || 1, R = I.width, P = I.height, Y = O.frequencyBinCount, xe = new Uint8Array(Y), X = () => {
8102
8102
  b.current = requestAnimationFrame(X), O.getByteTimeDomainData(xe), M.clearRect(0, 0, R, P), M.fillStyle = "rgba(0,0,0,0)", M.fillRect(0, 0, R, P);
8103
- const q = Math.max(1, Math.floor(r * B)), Q = Math.max(1, Math.floor(n * B)), V = q + Q, J = Math.max(8, Math.floor((R + Q) / V)), et = Math.floor(xe.length / J);
8103
+ const q = Math.max(1, Math.floor(r * B)), Q = Math.max(1, Math.floor(n * B)), G = q + Q, J = Math.max(8, Math.floor((R + Q) / G)), et = Math.floor(xe.length / J);
8104
8104
  for (let gt = 0; gt < J; gt++) {
8105
- const Ce = Math.min(xe.length - 1, gt * et), kt = xe[Ce] / 128 - 1, He = Math.abs(kt), ni = Math.pow(He, 0.6), At = Math.max(P * 0.06, ni * (P * 0.9)), si = gt * V, oi = (P - At) / 2, Le = 140 - Math.min(140, 140 * He), Nt = 85, ae = 48 + Math.floor(12 * (1 - He));
8106
- M.fillStyle = `${u}`, M.shadowColor = `hsla(${Le}, ${Nt}%, ${ae}%, ${0.25 * He})`, M.shadowBlur = 8 * He;
8105
+ const Ce = Math.min(xe.length - 1, gt * et), kt = xe[Ce] / 128 - 1, qe = Math.abs(kt), ri = Math.pow(qe, 0.6), At = Math.max(P * 0.06, ri * (P * 0.9)), ni = gt * G, si = (P - At) / 2, Le = 140 - Math.min(140, 140 * qe), Nt = 85, ae = 48 + Math.floor(12 * (1 - qe));
8106
+ M.fillStyle = `${u}`, M.shadowColor = `hsla(${Le}, ${Nt}%, ${ae}%, ${0.25 * qe})`, M.shadowBlur = 8 * qe;
8107
8107
  const tt = Math.min(q / 2, At / 2);
8108
- u2(M, si, oi, q, At, tt), M.fill();
8108
+ u2(M, ni, si, q, At, tt), M.fill();
8109
8109
  }
8110
8110
  };
8111
8111
  X();
@@ -8142,7 +8142,7 @@ const h2 = ({
8142
8142
  /* @__PURE__ */ c("p", { className: "iw-text-gray-700 iw-text-sm", children: "Time to talk: " })
8143
8143
  ] }),
8144
8144
  /* @__PURE__ */ c(
8145
- hn,
8145
+ un,
8146
8146
  {
8147
8147
  total: t,
8148
8148
  remaining: e.currentPhaseTimeRemaining,
@@ -8162,7 +8162,7 @@ const h2 = ({
8162
8162
  ] })
8163
8163
  ] }),
8164
8164
  /* @__PURE__ */ c("div", { className: "iw-w-full iw-grid iw-grid-cols-1", children: /* @__PURE__ */ c(
8165
- Qs,
8165
+ Xs,
8166
8166
  {
8167
8167
  onClick: () => {
8168
8168
  i();
@@ -8172,7 +8172,7 @@ const h2 = ({
8172
8172
  ) })
8173
8173
  ] });
8174
8174
  function w2() {
8175
- const [e, t] = _(!0), i = tr(
8175
+ const [e, t] = E(!0), i = er(
8176
8176
  () => [0, 1, 2].map((r) => ({ id: r })),
8177
8177
  []
8178
8178
  );
@@ -8372,7 +8372,7 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8372
8372
  /* @__PURE__ */ c("p", { className: "iw-text-gray-700 iw-text-sm", children: "Time to think: " })
8373
8373
  ] }),
8374
8374
  /* @__PURE__ */ c(
8375
- hn,
8375
+ un,
8376
8376
  {
8377
8377
  total: t,
8378
8378
  remaining: e.currentPhaseTimeRemaining,
@@ -8382,7 +8382,7 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8382
8382
  )
8383
8383
  ] }),
8384
8384
  /* @__PURE__ */ c("div", { className: "iw-w-full iw-grid iw-grid-cols-1", children: /* @__PURE__ */ c(
8385
- Qs,
8385
+ Xs,
8386
8386
  {
8387
8387
  onClick: () => {
8388
8388
  i();
@@ -8448,34 +8448,39 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8448
8448
  className: o = "",
8449
8449
  videoFeedRef: a
8450
8450
  }) => {
8451
- var $i, ci, Wi;
8452
- const l = Fl(), { baseUrl: u, authToken: d } = ka(), { timers: h, stt: w, proctoring: f } = Jn(), g = F(null), [b, p] = _(null), [y, v] = _(""), [T, I] = _(null), [O, M] = _(
8453
- Br
8454
- ), [B, R] = _(!0), P = F(""), Y = F(null), xe = {
8451
+ var $i, ci;
8452
+ const l = Fl(), { baseUrl: u, authToken: d } = ka(), { timers: h, stt: w, proctoring: f } = Qn(), g = F(null), [b, p] = E(null), [y, v] = E(""), [T, I] = E(null), [O, M] = E(
8453
+ Or
8454
+ ), [B, R] = E(!0), P = F(""), Y = F(null), xe = {
8455
8455
  thinkingTime: (h == null ? void 0 : h.thinkingDuration) || 0,
8456
- answeringTime: (($i = Y.current) == null ? void 0 : $i.estimated_answer_duration_in_seconds) || (h == null ? void 0 : h.answeringDuration) || 120,
8456
+ // TODO: Use this to use the estimated answer duration from response
8457
+ // answeringTime:
8458
+ // currentQuestionRef.current?.estimated_answer_duration_in_seconds ||
8459
+ // timers?.answeringDuration ||
8460
+ // 120,
8461
+ answeringTime: (h == null ? void 0 : h.answeringDuration) || 120,
8457
8462
  editingTime: B ? (h == null ? void 0 : h.editingDuration) || 30 : 0
8458
8463
  }, { thinkingTime: X, answeringTime: q, editingTime: Q } = xe;
8459
8464
  L(() => {
8460
8465
  P.current = y;
8461
8466
  }, [y]);
8462
- const V = F(!1), {
8467
+ const G = F(!1), {
8463
8468
  speak: J,
8464
8469
  stop: et,
8465
8470
  error: gt
8466
8471
  } = U1({
8467
8472
  onEnd: () => {
8468
- V.current = !1, ae();
8473
+ G.current = !1, ae();
8469
8474
  },
8470
8475
  onError: () => {
8471
- V.current || (V.current = !0, ae());
8476
+ G.current || (G.current = !0, ae());
8472
8477
  }
8473
8478
  }), Ce = F(!1), kt = F(!1), {
8474
- startRecording: He,
8475
- stopRecording: ni,
8479
+ startRecording: qe,
8480
+ stopRecording: ri,
8476
8481
  transcribe: At,
8477
- cancelRecording: si,
8478
- error: oi
8482
+ cancelRecording: ni,
8483
+ error: si
8479
8484
  } = D1({
8480
8485
  config: {
8481
8486
  baseUrl: u,
@@ -8483,7 +8488,7 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8483
8488
  model: w == null ? void 0 : w.model,
8484
8489
  language: w == null ? void 0 : w.language,
8485
8490
  authToken: d,
8486
- qnaId: ((ci = Y.current) == null ? void 0 : ci.qna_id) || "",
8491
+ qnaId: (($i = Y.current) == null ? void 0 : $i.qna_id) || "",
8487
8492
  interviewId: r
8488
8493
  },
8489
8494
  onStart: () => {
@@ -8492,13 +8497,13 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8492
8497
  onStop: () => {
8493
8498
  },
8494
8499
  onTranscriptionComplete: (D) => {
8495
- const U = D.transcript;
8496
- v(U), P.current = U, kt.current || (kt.current = !0, ae());
8500
+ const V = D.transcript;
8501
+ v(V), P.current = V, kt.current || (kt.current = !0, ae());
8497
8502
  },
8498
8503
  onError: (D) => {
8499
8504
  console.error("STT Error:", D), Ce.current || (Ce.current = !0, ae());
8500
8505
  }
8501
- }), { state: Le, startQuestion: Nt, nextPhase: ae, completeInterview: tt, timerService: Ut } = F1({
8506
+ }), { state: Le, startQuestion: Nt, nextPhase: ae, completeInterview: tt, timerService: oi } = F1({
8502
8507
  config: {
8503
8508
  // thinkingDuration: thinkingTime,
8504
8509
  answeringDuration: q,
@@ -8508,10 +8513,10 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8508
8513
  onPhaseChange: (D) => {
8509
8514
  switch (D) {
8510
8515
  case j.FETCHING_QUESTION:
8511
- Gt();
8516
+ Ut();
8512
8517
  break;
8513
8518
  case j.READING_QUESTION:
8514
- gr();
8519
+ mr();
8515
8520
  break;
8516
8521
  case j.ANSWERING:
8517
8522
  ai();
@@ -8520,7 +8525,7 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8520
8525
  ji();
8521
8526
  break;
8522
8527
  case j.SUBMITTING:
8523
- wn();
8528
+ hn();
8524
8529
  break;
8525
8530
  }
8526
8531
  },
@@ -8534,19 +8539,19 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8534
8539
  }, []), L(() => {
8535
8540
  (async () => {
8536
8541
  try {
8537
- const U = await l.getInterviewConfig(r);
8538
- if (U != null && U.data && (U.data.duration_in_minutes && M(U.data.duration_in_minutes), typeof U.data.allow_answer_editing == "boolean" && R(U.data.allow_answer_editing), typeof U.data.elapsed_time_in_minutes == "number")) {
8539
- const qe = Math.floor(
8540
- U.data.elapsed_time_in_minutes * 60
8542
+ const V = await l.getInterviewConfig(r);
8543
+ if (V != null && V.data && (V.data.duration_in_minutes && M(V.data.duration_in_minutes), typeof V.data.allow_answer_editing == "boolean" && R(V.data.allow_answer_editing), typeof V.data.elapsed_time_in_minutes == "number")) {
8544
+ const Re = Math.floor(
8545
+ V.data.elapsed_time_in_minutes * 60
8541
8546
  );
8542
- Ut.setTotalTimeElapsed(qe);
8547
+ oi.setTotalTimeElapsed(Re);
8543
8548
  }
8544
- } catch (U) {
8545
- console.error("Failed to fetch interview config:", U);
8549
+ } catch (V) {
8550
+ console.error("Failed to fetch interview config:", V);
8546
8551
  }
8547
8552
  })();
8548
- }, [r, Ut]);
8549
- const { execute: Gt } = L1(
8553
+ }, [r, oi]);
8554
+ const { execute: Ut } = L1(
8550
8555
  async () => {
8551
8556
  const D = await l.generateQuestion({
8552
8557
  interviewId: r
@@ -8558,40 +8563,38 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8558
8563
  },
8559
8564
  {
8560
8565
  onSuccess: async (D) => {
8561
- D && D.data && (v(""), P.current = "", p(D.data), Ut.updateConfig({
8562
- answeringDuration: D.data.estimated_answer_duration_in_seconds || (h == null ? void 0 : h.answeringDuration) || 120
8563
- }), ae());
8566
+ D && D.data && (v(""), P.current = "", p(D.data), ae());
8564
8567
  },
8565
8568
  onError: (D) => {
8566
8569
  console.error("Failed to fetch questions:", D);
8567
8570
  }
8568
8571
  }
8569
- ), wn = S(async () => {
8572
+ ), hn = S(async () => {
8570
8573
  var D;
8571
8574
  try {
8572
- const U = P.current, qe = ((D = Y.current) == null ? void 0 : D.qna_id) || "";
8575
+ const V = P.current, Re = ((D = Y.current) == null ? void 0 : D.qna_id) || "";
8573
8576
  B && await l.submitAnswer({
8574
8577
  interviewId: r,
8575
- qnaId: qe,
8576
- answer: U
8578
+ qnaId: Re,
8579
+ answer: V
8577
8580
  }), I({
8578
- qnaId: qe,
8579
- answer: U
8581
+ qnaId: Re,
8582
+ answer: V
8580
8583
  });
8581
- } catch (U) {
8582
- console.error("Failed to submit answer:", U);
8584
+ } catch (V) {
8585
+ console.error("Failed to submit answer:", V);
8583
8586
  }
8584
8587
  Nt();
8585
- }, [l, r, Nt, B]), gr = S(async () => {
8586
- var D, U;
8588
+ }, [l, r, Nt, B]), mr = S(async () => {
8589
+ var D, V;
8587
8590
  if ((D = Y.current) != null && D.question)
8588
8591
  if (Y.current.question_audio_data_base64)
8589
8592
  try {
8590
- V.current = !1, await J(
8593
+ G.current = !1, await J(
8591
8594
  Y.current.question_audio_data_base64
8592
- ), Y.current.is_interview_done && (et(), si(), a && "current" in a && ((U = a.current) == null || U.stopCamera()), tt());
8593
- } catch (qe) {
8594
- console.error("Failed to speak question:", qe), ae();
8595
+ ), Y.current.is_interview_done && (et(), ni(), a && "current" in a && ((V = a.current) == null || V.stopCamera()), tt());
8596
+ } catch (Re) {
8597
+ console.error("Failed to speak question:", Re), ae();
8595
8598
  }
8596
8599
  else
8597
8600
  console.warn("No audio data available for question"), await nd(2e3), ae();
@@ -8599,38 +8602,38 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8599
8602
  ae();
8600
8603
  }, [J, ae, tt]), ai = S(async () => {
8601
8604
  try {
8602
- await He(q);
8605
+ await qe(q);
8603
8606
  } catch (D) {
8604
8607
  console.error("Failed to start recording:", D), ae();
8605
8608
  }
8606
- }, [He, ae]), ji = S(async () => {
8609
+ }, [qe, ae]), ji = S(async () => {
8607
8610
  try {
8608
- const D = await ni();
8611
+ const D = await ri();
8609
8612
  await At(D);
8610
8613
  } catch (D) {
8611
8614
  console.error("STT processing failed:", D), !Ce.current && !kt.current && (Ce.current = !0, ae());
8612
8615
  }
8613
- }, [ni, At, ae]), Vt = S(
8616
+ }, [ri, At, ae]), Gt = S(
8614
8617
  async (D) => {
8615
- var U, qe;
8616
- et(), si(), a && "current" in a && ((U = a.current) == null || U.stopCamera()), await ((qe = g.current) == null ? void 0 : qe.exitFullScreenIntentionally());
8618
+ var V, Re;
8619
+ et(), ni(), a && "current" in a && ((V = a.current) == null || V.stopCamera()), await ((Re = g.current) == null ? void 0 : Re.exitFullScreenIntentionally());
8617
8620
  try {
8618
8621
  await l.exitInterview(r);
8619
- } catch (yr) {
8620
- console.error("API call failed:", yr);
8622
+ } catch (pr) {
8623
+ console.error("API call failed:", pr);
8621
8624
  } finally {
8622
- D == null || D(), tt(), sessionStorage.removeItem(Xn);
8625
+ D == null || D(), tt(), sessionStorage.removeItem(Yn);
8623
8626
  }
8624
8627
  },
8625
8628
  [r, et, l]
8626
- ), pr = () => {
8629
+ ), gr = () => {
8627
8630
  const { phase: D } = Le;
8628
8631
  switch (D) {
8629
8632
  case j.IDLE:
8630
8633
  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: [
8631
8634
  /* @__PURE__ */ c("h3", { className: "iw-text-lg iw-font-semibold iw-text-gray-900 iw-mb-1", children: "Ready to start the Interview?" }),
8632
8635
  /* @__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.` }),
8633
- /* @__PURE__ */ c(Qs, { onClick: Nt, className: "iw-mt-2 iw-w-40", children: "Start Interview" })
8636
+ /* @__PURE__ */ c(Xs, { onClick: Nt, className: "iw-mt-2 iw-w-40", children: "Start Interview" })
8634
8637
  ] });
8635
8638
  case j.FETCHING_QUESTION:
8636
8639
  return /* @__PURE__ */ c(w2, {});
@@ -8652,14 +8655,14 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8652
8655
  state: Le,
8653
8656
  answeringTime: q,
8654
8657
  nextPhase: ae,
8655
- sttError: oi
8658
+ sttError: si
8656
8659
  }
8657
8660
  );
8658
8661
  case j.TRANSCRIBING:
8659
8662
  return /* @__PURE__ */ c(
8660
8663
  p2,
8661
8664
  {
8662
- sttError: oi,
8665
+ sttError: si,
8663
8666
  editingDuration: Q
8664
8667
  }
8665
8668
  );
@@ -8676,8 +8679,8 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8676
8679
  o2,
8677
8680
  {
8678
8681
  ref: g,
8679
- onDisqualify: () => Vt(s),
8680
- isCompleted: ((Wi = Y == null ? void 0 : Y.current) == null ? void 0 : Wi.is_interview_done) ?? !1,
8682
+ onDisqualify: () => Gt(s),
8683
+ isCompleted: ((ci = Y == null ? void 0 : Y.current) == null ? void 0 : ci.is_interview_done) ?? !1,
8681
8684
  children: [
8682
8685
  /* @__PURE__ */ c(
8683
8686
  ga,
@@ -8687,7 +8690,7 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8687
8690
  brandLogo: i,
8688
8691
  totalDuration: O,
8689
8692
  elapsedTime: Le.totalTimeElapsed,
8690
- onExit: () => Vt()
8693
+ onExit: () => Gt()
8691
8694
  }
8692
8695
  ),
8693
8696
  /* @__PURE__ */ c(
@@ -8706,12 +8709,12 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8706
8709
  onNextPhase: ae,
8707
8710
  answerText: y,
8708
8711
  onAnswerChange: (D) => {
8709
- const U = D.target.value;
8710
- v(U), P.current = U;
8712
+ const V = D.target.value;
8713
+ v(V), P.current = V;
8711
8714
  },
8712
8715
  editingTime: Q,
8713
8716
  answeringTime: q,
8714
- children: pr()
8717
+ children: gr()
8715
8718
  }
8716
8719
  )
8717
8720
  ]
@@ -8725,7 +8728,7 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8725
8728
  brandLogo: i,
8726
8729
  totalDuration: O,
8727
8730
  elapsedTime: Le.totalTimeElapsed,
8728
- onExit: () => Vt()
8731
+ onExit: () => Gt()
8729
8732
  }
8730
8733
  ),
8731
8734
  /* @__PURE__ */ c(
@@ -8744,12 +8747,12 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8744
8747
  onNextPhase: ae,
8745
8748
  answerText: y,
8746
8749
  onAnswerChange: (D) => {
8747
- const U = D.target.value;
8748
- v(U), P.current = U;
8750
+ const V = D.target.value;
8751
+ v(V), P.current = V;
8749
8752
  },
8750
8753
  editingTime: Q,
8751
8754
  answeringTime: q,
8752
- children: pr()
8755
+ children: gr()
8753
8756
  }
8754
8757
  )
8755
8758
  ] }) });
@@ -8762,7 +8765,7 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8762
8765
  onInterviewDisqualify: s,
8763
8766
  className: o = ""
8764
8767
  }) => {
8765
- const [a, l] = _(!1), [u, d] = _(!0), [h, w] = _(!1), { proctoring: f } = Jn(), g = F(null), b = F(null), p = (f == null ? void 0 : f.gazeAnalysisEnabled) === !0, y = () => {
8768
+ const [a, l] = E(!1), [u, d] = E(!0), [h, w] = E(!1), { proctoring: f } = Qn(), g = F(null), b = F(null), p = (f == null ? void 0 : f.gazeAnalysisEnabled) === !0, y = () => {
8766
8769
  l(!0), d(!1);
8767
8770
  };
8768
8771
  return L(() => {
@@ -8794,7 +8797,7 @@ const g2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
8794
8797
  }
8795
8798
  ) }) : /* @__PURE__ */ m("div", { className: "interview-widget-container", children: [
8796
8799
  /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-space-x-2 iw-mx-auto iw-p-2 iw-max-w-[1800px]", children: [
8797
- /* @__PURE__ */ c(es, { brandLogo: i, brandName: t }),
8800
+ /* @__PURE__ */ c(Zn, { brandLogo: i, brandName: t }),
8798
8801
  /* @__PURE__ */ c("p", { className: "iw-text-xl iw-font-semibold", children: t })
8799
8802
  ] }),
8800
8803
  /* @__PURE__ */ c(