interview-widget 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/widget.es.js +804 -802
- package/dist/widget.umd.js +6 -6
- package/package.json +1 -1
package/dist/widget.es.js
CHANGED
|
@@ -2,9 +2,9 @@ var Bl = Object.defineProperty;
|
|
|
2
2
|
var Ul = (e, t, i) => t in e ? Bl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
|
|
3
3
|
var Ne = (e, t, i) => Ul(e, typeof t != "symbol" ? t + "" : t, i);
|
|
4
4
|
import { jsx as c, jsxs as w, Fragment as mt } from "react/jsx-runtime";
|
|
5
|
-
import
|
|
5
|
+
import zn, { createContext as Hn, useContext as Ni, useSyncExternalStore as qn, useRef as M, useCallback as I, useMemo as tr, useState as N, useEffect as F, forwardRef as ga, useImperativeHandle as pa } from "react";
|
|
6
6
|
import { createPortal as ya } from "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const fn = {}, ot = {
|
|
8
8
|
api: {
|
|
9
9
|
baseUrl: "/api",
|
|
10
10
|
retryConfig: {
|
|
@@ -38,28 +38,28 @@ const hn = {}, ot = {
|
|
|
38
38
|
gazeAnalysisEnabled: !0
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
},
|
|
41
|
+
}, Kn = "iw-storage";
|
|
42
42
|
function Gl() {
|
|
43
|
-
if (!(typeof import.meta < "u" && (
|
|
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 ba = Gl(),
|
|
46
|
+
const ba = Gl(), Br = 30, Vl = {
|
|
47
47
|
SCREENSHOT: "screenshot"
|
|
48
|
-
},
|
|
48
|
+
}, Yn = "AES-GCM", An = 12;
|
|
49
49
|
async function va(e) {
|
|
50
50
|
const i = new TextEncoder().encode(e), r = await crypto.subtle.digest("SHA-256", i);
|
|
51
|
-
return crypto.subtle.importKey("raw", r,
|
|
51
|
+
return crypto.subtle.importKey("raw", r, Yn, !1, [
|
|
52
52
|
"encrypt",
|
|
53
53
|
"decrypt"
|
|
54
54
|
]);
|
|
55
55
|
}
|
|
56
56
|
function jl() {
|
|
57
|
-
return crypto.getRandomValues(new Uint8Array(
|
|
57
|
+
return crypto.getRandomValues(new Uint8Array(An));
|
|
58
58
|
}
|
|
59
59
|
async function Wl(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 va(t), o = jl(), a = await crypto.subtle.encrypt(
|
|
62
|
-
{ name:
|
|
62
|
+
{ name: Yn, iv: o },
|
|
63
63
|
s,
|
|
64
64
|
n
|
|
65
65
|
), l = new Uint8Array(o.length + a.byteLength);
|
|
@@ -73,8 +73,8 @@ async function $l(e, t = "default-seed") {
|
|
|
73
73
|
const i = atob(e), r = new Uint8Array(i.length);
|
|
74
74
|
for (let d = 0; d < i.length; d++)
|
|
75
75
|
r[d] = i.charCodeAt(d);
|
|
76
|
-
const n = r.slice(0,
|
|
77
|
-
{ name:
|
|
76
|
+
const n = r.slice(0, An), s = r.slice(An), o = await va(t), a = await crypto.subtle.decrypt(
|
|
77
|
+
{ name: Yn, iv: n },
|
|
78
78
|
o,
|
|
79
79
|
s
|
|
80
80
|
);
|
|
@@ -94,9 +94,9 @@ async function Hl(e, t = "default-seed") {
|
|
|
94
94
|
return i;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
const
|
|
97
|
+
const ar = Hn(null), ql = async () => {
|
|
98
98
|
try {
|
|
99
|
-
const e = sessionStorage.getItem(
|
|
99
|
+
const e = sessionStorage.getItem(Kn);
|
|
100
100
|
if (e) {
|
|
101
101
|
const i = (await Hl(e, ba)).state;
|
|
102
102
|
return {
|
|
@@ -135,7 +135,7 @@ const sr = zn(null), ql = async () => {
|
|
|
135
135
|
referenceSet: !1,
|
|
136
136
|
referenceRef: { x: 0.5, y: 0.5, noseX: 0.5, noseY: 0.5 }
|
|
137
137
|
};
|
|
138
|
-
},
|
|
138
|
+
}, qi = async (e) => {
|
|
139
139
|
try {
|
|
140
140
|
const t = await zl(
|
|
141
141
|
{
|
|
@@ -144,7 +144,7 @@ const sr = zn(null), ql = async () => {
|
|
|
144
144
|
},
|
|
145
145
|
ba
|
|
146
146
|
);
|
|
147
|
-
sessionStorage.setItem(
|
|
147
|
+
sessionStorage.setItem(Kn, 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 sr = zn(null), ql = async () => {
|
|
|
163
163
|
referenceSet: !1,
|
|
164
164
|
referenceRef: { x: 0.5, y: 0.5, noseX: 0.5, noseY: 0.5 }
|
|
165
165
|
}), i = M(/* @__PURE__ */ new Set());
|
|
166
|
-
|
|
166
|
+
zn.useEffect(() => {
|
|
167
167
|
ql().then((f) => {
|
|
168
168
|
t.current = f, r();
|
|
169
169
|
});
|
|
@@ -178,7 +178,7 @@ const sr = zn(null), ql = async () => {
|
|
|
178
178
|
...t.current,
|
|
179
179
|
logViolations: [...t.current.logViolations, f],
|
|
180
180
|
totalViolations: t.current.totalViolations + 1
|
|
181
|
-
},
|
|
181
|
+
}, qi(t.current), r();
|
|
182
182
|
},
|
|
183
183
|
[r]
|
|
184
184
|
), a = I(
|
|
@@ -187,7 +187,7 @@ const sr = zn(null), ql = async () => {
|
|
|
187
187
|
f === "looking_away" && (m.lookingAwayCount += 1), f === "no_face_detected" && (m.noFaceDetectedCount += 1), f === "multiple_faces" && (m.multipleFacesCount += 1), m.totalGazeViolations = m.lookingAwayCount + m.noFaceDetectedCount + m.multipleFacesCount, t.current = {
|
|
188
188
|
...t.current,
|
|
189
189
|
gazeViolationCounters: m
|
|
190
|
-
},
|
|
190
|
+
}, qi(t.current), r();
|
|
191
191
|
},
|
|
192
192
|
[r]
|
|
193
193
|
), l = I(() => {
|
|
@@ -195,7 +195,7 @@ const sr = zn(null), ql = async () => {
|
|
|
195
195
|
...t.current,
|
|
196
196
|
logViolations: [],
|
|
197
197
|
totalViolations: 0
|
|
198
|
-
},
|
|
198
|
+
}, qi(t.current), r();
|
|
199
199
|
}, [r]), d = I(() => {
|
|
200
200
|
t.current = {
|
|
201
201
|
...t.current,
|
|
@@ -205,17 +205,17 @@ const sr = zn(null), ql = async () => {
|
|
|
205
205
|
multipleFacesCount: 0,
|
|
206
206
|
totalGazeViolations: 0
|
|
207
207
|
}
|
|
208
|
-
},
|
|
208
|
+
}, qi(t.current), r();
|
|
209
209
|
}, [r]), u = I(
|
|
210
210
|
(f, m) => {
|
|
211
211
|
t.current = {
|
|
212
212
|
...t.current,
|
|
213
213
|
referenceSet: f,
|
|
214
214
|
referenceRef: m
|
|
215
|
-
},
|
|
215
|
+
}, qi(t.current), r();
|
|
216
216
|
},
|
|
217
217
|
[r]
|
|
218
|
-
), h =
|
|
218
|
+
), h = tr(
|
|
219
219
|
() => ({
|
|
220
220
|
getState: s,
|
|
221
221
|
addViolation: o,
|
|
@@ -235,14 +235,14 @@ const sr = zn(null), ql = async () => {
|
|
|
235
235
|
u
|
|
236
236
|
]
|
|
237
237
|
);
|
|
238
|
-
return /* @__PURE__ */ c(
|
|
238
|
+
return /* @__PURE__ */ c(ar.Provider, { value: h, children: e });
|
|
239
239
|
}, xa = () => {
|
|
240
|
-
const e =
|
|
240
|
+
const e = Ni(ar);
|
|
241
241
|
if (!e)
|
|
242
242
|
throw new Error(
|
|
243
243
|
"useProctoringStore must be used within a ProctoringProvider"
|
|
244
244
|
);
|
|
245
|
-
const t =
|
|
245
|
+
const t = qn(
|
|
246
246
|
e.subscribe,
|
|
247
247
|
// how React listens for changes
|
|
248
248
|
e.getState,
|
|
@@ -263,27 +263,27 @@ const sr = zn(null), ql = async () => {
|
|
|
263
263
|
setReferenceData: e.setReferenceData
|
|
264
264
|
};
|
|
265
265
|
}, Yl = () => {
|
|
266
|
-
const e =
|
|
266
|
+
const e = Ni(ar);
|
|
267
267
|
if (!e)
|
|
268
268
|
throw new Error("useViolations must be used within a ProctoringProvider");
|
|
269
|
-
return
|
|
269
|
+
return qn(
|
|
270
270
|
e.subscribe,
|
|
271
271
|
() => e.getState().logViolations,
|
|
272
272
|
() => e.getState().logViolations
|
|
273
273
|
);
|
|
274
274
|
}, Xl = () => {
|
|
275
|
-
const e =
|
|
275
|
+
const e = Ni(ar);
|
|
276
276
|
if (!e)
|
|
277
277
|
throw new Error(
|
|
278
278
|
"useTotalViolations must be used within a ProctoringProvider"
|
|
279
279
|
);
|
|
280
|
-
return
|
|
280
|
+
return qn(
|
|
281
281
|
e.subscribe,
|
|
282
282
|
() => e.getState().totalViolations,
|
|
283
283
|
() => e.getState().totalViolations
|
|
284
284
|
);
|
|
285
285
|
}, Ql = () => {
|
|
286
|
-
const e =
|
|
286
|
+
const e = Ni(ar);
|
|
287
287
|
if (!e)
|
|
288
288
|
throw new Error(
|
|
289
289
|
"useProctoringActions must be used within a ProctoringProvider"
|
|
@@ -292,7 +292,7 @@ const sr = zn(null), ql = async () => {
|
|
|
292
292
|
addViolation: e.addViolation,
|
|
293
293
|
clearViolations: e.clearViolations
|
|
294
294
|
};
|
|
295
|
-
}, _a =
|
|
295
|
+
}, _a = Hn(
|
|
296
296
|
null
|
|
297
297
|
);
|
|
298
298
|
function Jl({
|
|
@@ -332,8 +332,8 @@ function Jl({
|
|
|
332
332
|
};
|
|
333
333
|
return /* @__PURE__ */ c(_a.Provider, { value: i, children: /* @__PURE__ */ c(Kl, { children: t }) });
|
|
334
334
|
}
|
|
335
|
-
function
|
|
336
|
-
const e =
|
|
335
|
+
function Ur() {
|
|
336
|
+
const e = Ni(_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 Or() {
|
|
|
341
341
|
return e;
|
|
342
342
|
}
|
|
343
343
|
function Ea() {
|
|
344
|
-
return
|
|
344
|
+
return Ur().api || ot.api;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
return
|
|
346
|
+
function Ci() {
|
|
347
|
+
return Ur().ui || ot.ui;
|
|
348
348
|
}
|
|
349
|
-
function
|
|
350
|
-
return
|
|
349
|
+
function Xn() {
|
|
350
|
+
return Ur().interview || ot.interview;
|
|
351
351
|
}
|
|
352
352
|
function Zl(e) {
|
|
353
353
|
const t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
|
|
@@ -393,19 +393,19 @@ function su(e) {
|
|
|
393
393
|
const ou = (e) => {
|
|
394
394
|
var t;
|
|
395
395
|
return !e || typeof e != "string" ? "" : (t = e.charAt(0)) == null ? void 0 : t.toUpperCase();
|
|
396
|
-
},
|
|
396
|
+
}, Qn = (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
|
-
},
|
|
402
|
+
}, Jn = ({
|
|
403
403
|
brandLogo: e,
|
|
404
404
|
brandName: t,
|
|
405
405
|
className: i = "",
|
|
406
406
|
showFallbackStyles: r = !0
|
|
407
407
|
}) => {
|
|
408
|
-
const { baseColor: n } =
|
|
408
|
+
const { baseColor: n } = Ci();
|
|
409
409
|
return e ? /* @__PURE__ */ c("div", { className: i, children: e }) : /* @__PURE__ */ c(
|
|
410
410
|
"div",
|
|
411
411
|
{
|
|
@@ -696,7 +696,7 @@ class ka {
|
|
|
696
696
|
return await i.json();
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
|
-
const
|
|
699
|
+
const _r = new ka(), lu = ({
|
|
700
700
|
gazeAnalysisEnabled: e,
|
|
701
701
|
isModelLoaded: t,
|
|
702
702
|
stats: i,
|
|
@@ -773,7 +773,7 @@ const vr = new ka(), lu = ({
|
|
|
773
773
|
/* @__PURE__ */ c("br", {}),
|
|
774
774
|
"Enable to track engagement and attention levels."
|
|
775
775
|
] })
|
|
776
|
-
] }) }),
|
|
776
|
+
] }) }), Zn = (e) => /* @__PURE__ */ w(
|
|
777
777
|
"svg",
|
|
778
778
|
{
|
|
779
779
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -826,7 +826,7 @@ const vr = new ka(), lu = ({
|
|
|
826
826
|
/* @__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" })
|
|
827
827
|
]
|
|
828
828
|
}
|
|
829
|
-
),
|
|
829
|
+
), es = (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" }) }), Aa = (e) => /* @__PURE__ */ w(
|
|
830
830
|
"svg",
|
|
831
831
|
{
|
|
832
832
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -848,7 +848,7 @@ const vr = new ka(), lu = ({
|
|
|
848
848
|
/* @__PURE__ */ c("path", { d: "M8.644 21.42a10 10 0 0 0 7.631-.38" })
|
|
849
849
|
]
|
|
850
850
|
}
|
|
851
|
-
),
|
|
851
|
+
), cr = (e) => /* @__PURE__ */ c(
|
|
852
852
|
"svg",
|
|
853
853
|
{
|
|
854
854
|
className: "iw-w-5 iw-h-5",
|
|
@@ -1117,10 +1117,10 @@ const vr = new ka(), lu = ({
|
|
|
1117
1117
|
)
|
|
1118
1118
|
] })
|
|
1119
1119
|
] }) : null;
|
|
1120
|
-
var
|
|
1121
|
-
function
|
|
1120
|
+
var mi = typeof self < "u" ? self : {};
|
|
1121
|
+
function ir(e, t) {
|
|
1122
1122
|
e: {
|
|
1123
|
-
for (var i = ["CLOSURE_FLAGS"], r =
|
|
1123
|
+
for (var i = ["CLOSURE_FLAGS"], r = mi, n = 0; n < i.length; n++) if ((r = r[i[n]]) == null) {
|
|
1124
1124
|
i = null;
|
|
1125
1125
|
break e;
|
|
1126
1126
|
}
|
|
@@ -1134,7 +1134,7 @@ function Ut() {
|
|
|
1134
1134
|
function ro(e, t) {
|
|
1135
1135
|
return t = String.fromCharCode.apply(null, t), e == null ? t : e + t;
|
|
1136
1136
|
}
|
|
1137
|
-
let
|
|
1137
|
+
let Er, wn;
|
|
1138
1138
|
const vu = typeof TextDecoder < "u";
|
|
1139
1139
|
let xu;
|
|
1140
1140
|
const _u = typeof TextEncoder < "u";
|
|
@@ -1170,23 +1170,23 @@ function Na(e) {
|
|
|
1170
1170
|
return e;
|
|
1171
1171
|
}
|
|
1172
1172
|
function Ca(e) {
|
|
1173
|
-
|
|
1173
|
+
mi.setTimeout(() => {
|
|
1174
1174
|
throw e;
|
|
1175
1175
|
}, 0);
|
|
1176
1176
|
}
|
|
1177
|
-
var
|
|
1177
|
+
var Tn, Eu = ir(610401301, !1), no = ir(748402147, !0), ts = ir(824648567, !0), is = ir(824656860, ir(1, !0));
|
|
1178
1178
|
function so() {
|
|
1179
|
-
var e =
|
|
1179
|
+
var e = mi.navigator;
|
|
1180
1180
|
return e && (e = e.userAgent) ? e : "";
|
|
1181
1181
|
}
|
|
1182
|
-
const oo =
|
|
1183
|
-
function
|
|
1184
|
-
return
|
|
1182
|
+
const oo = mi.navigator;
|
|
1183
|
+
function Gr(e) {
|
|
1184
|
+
return Gr[" "](e), e;
|
|
1185
1185
|
}
|
|
1186
|
-
|
|
1186
|
+
Tn = oo && oo.userAgentData || null, Gr[" "] = function() {
|
|
1187
1187
|
};
|
|
1188
1188
|
const Sa = {};
|
|
1189
|
-
let
|
|
1189
|
+
let Xi = null;
|
|
1190
1190
|
function ku(e) {
|
|
1191
1191
|
const t = e.length;
|
|
1192
1192
|
let i = 3 * t / 4;
|
|
@@ -1196,7 +1196,7 @@ function ku(e) {
|
|
|
1196
1196
|
return function(s, o) {
|
|
1197
1197
|
function a(d) {
|
|
1198
1198
|
for (; l < s.length; ) {
|
|
1199
|
-
const u = s.charAt(l++), h =
|
|
1199
|
+
const u = s.charAt(l++), h = Xi[u];
|
|
1200
1200
|
if (h != null) return h;
|
|
1201
1201
|
if (!/^[\s\xa0]*$/.test(u)) throw Error("Unknown base64 encoding at char: " + u);
|
|
1202
1202
|
}
|
|
@@ -1214,20 +1214,20 @@ function ku(e) {
|
|
|
1214
1214
|
}), n !== i ? r.subarray(0, n) : r;
|
|
1215
1215
|
}
|
|
1216
1216
|
function Ia() {
|
|
1217
|
-
if (!
|
|
1218
|
-
|
|
1217
|
+
if (!Xi) {
|
|
1218
|
+
Xi = {};
|
|
1219
1219
|
var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), t = ["+/=", "+/", "-_=", "-_.", "-_"];
|
|
1220
1220
|
for (let i = 0; i < 5; i++) {
|
|
1221
1221
|
const r = e.concat(t[i].split(""));
|
|
1222
1222
|
Sa[i] = r;
|
|
1223
1223
|
for (let n = 0; n < r.length; n++) {
|
|
1224
1224
|
const s = r[n];
|
|
1225
|
-
|
|
1225
|
+
Xi[s] === void 0 && (Xi[s] = n);
|
|
1226
1226
|
}
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
|
-
var Au = typeof Uint8Array < "u", Fa = !(!(Eu &&
|
|
1230
|
+
var Au = typeof Uint8Array < "u", Fa = !(!(Eu && Tn && Tn.brands.length > 0) && (so().indexOf("Trident") != -1 || so().indexOf("MSIE") != -1)) && typeof btoa == "function";
|
|
1231
1231
|
const ao = /[-_.]/g, Tu = { "-": "+", _: "/", ".": "=" };
|
|
1232
1232
|
function Nu(e) {
|
|
1233
1233
|
return Tu[e] || "";
|
|
@@ -1239,21 +1239,21 @@ function La(e) {
|
|
|
1239
1239
|
for (let i = 0; i < e.length; i++) t[i] = e.charCodeAt(i);
|
|
1240
1240
|
return t;
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function rs(e) {
|
|
1243
1243
|
return Au && e != null && e instanceof Uint8Array;
|
|
1244
1244
|
}
|
|
1245
|
-
var
|
|
1245
|
+
var gi = {};
|
|
1246
1246
|
function Kt() {
|
|
1247
|
-
return Cu || (Cu = new ct(null,
|
|
1247
|
+
return Cu || (Cu = new ct(null, gi));
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1250
|
-
Ra(
|
|
1249
|
+
function ns(e) {
|
|
1250
|
+
Ra(gi);
|
|
1251
1251
|
var t = e.g;
|
|
1252
|
-
return (t = t == null ||
|
|
1252
|
+
return (t = t == null || rs(t) ? t : typeof t == "string" ? La(t) : null) == null ? t : e.g = t;
|
|
1253
1253
|
}
|
|
1254
1254
|
var ct = class {
|
|
1255
1255
|
h() {
|
|
1256
|
-
return new Uint8Array(
|
|
1256
|
+
return new Uint8Array(ns(this) || 0);
|
|
1257
1257
|
}
|
|
1258
1258
|
constructor(e, t) {
|
|
1259
1259
|
if (Ra(t), this.g = e, e != null && e.length === 0) throw Error("ByteString should be constructed with non-empty values");
|
|
@@ -1261,53 +1261,53 @@ var ct = class {
|
|
|
1261
1261
|
};
|
|
1262
1262
|
let Cu, Su;
|
|
1263
1263
|
function Ra(e) {
|
|
1264
|
-
if (e !==
|
|
1264
|
+
if (e !== gi) throw Error("illegal external caller");
|
|
1265
1265
|
}
|
|
1266
1266
|
function Ma(e, t) {
|
|
1267
1267
|
e.__closure__error__context__984382 || (e.__closure__error__context__984382 = {}), e.__closure__error__context__984382.severity = t;
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function Nn(e) {
|
|
1270
1270
|
return Ma(e = Error(e), "warning"), e;
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function pi(e, t) {
|
|
1273
1273
|
if (e != null) {
|
|
1274
1274
|
var i = Su ?? (Su = {}), r = i[e] || 0;
|
|
1275
1275
|
r >= t || (i[e] = r + 1, Ma(e = Error(), "incident"), Ca(e));
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function Si() {
|
|
1279
1279
|
return typeof BigInt == "function";
|
|
1280
1280
|
}
|
|
1281
|
-
var
|
|
1281
|
+
var Ii = typeof Symbol == "function" && typeof Symbol() == "symbol";
|
|
1282
1282
|
function lt(e, t, i = !1) {
|
|
1283
1283
|
return typeof Symbol == "function" && typeof Symbol() == "symbol" ? i && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
|
|
1284
1284
|
}
|
|
1285
|
-
var Iu = lt("jas", void 0, !0), co = lt(void 0, "0di"),
|
|
1286
|
-
const Pa = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Da = Object.defineProperties, _ =
|
|
1285
|
+
var Iu = lt("jas", void 0, !0), co = lt(void 0, "0di"), Ki = lt(void 0, "1oa"), Le = lt(void 0, Symbol()), Fu = lt(void 0, "0ub"), Lu = lt(void 0, "0ubs"), Cn = lt(void 0, "0ubsb"), Ru = lt(void 0, "0actk"), yi = lt("m_m", "Pa", !0), lo = lt();
|
|
1286
|
+
const Pa = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Da = Object.defineProperties, _ = Ii ? Iu : "Ga";
|
|
1287
1287
|
var Qt;
|
|
1288
1288
|
const uo = [];
|
|
1289
|
-
function
|
|
1290
|
-
|
|
1289
|
+
function lr(e, t) {
|
|
1290
|
+
Ii || _ in e || Da(e, Pa), e[_] |= t;
|
|
1291
1291
|
}
|
|
1292
1292
|
function ue(e, t) {
|
|
1293
|
-
|
|
1293
|
+
Ii || _ in e || Da(e, Pa), e[_] = t;
|
|
1294
1294
|
}
|
|
1295
|
-
function
|
|
1296
|
-
return
|
|
1295
|
+
function ur(e) {
|
|
1296
|
+
return lr(e, 34), e;
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1299
|
-
return
|
|
1298
|
+
function rr(e) {
|
|
1299
|
+
return lr(e, 8192), e;
|
|
1300
1300
|
}
|
|
1301
1301
|
ue(uo, 7), Qt = Object.freeze(uo);
|
|
1302
|
-
var
|
|
1302
|
+
var bi = {};
|
|
1303
1303
|
function Me(e, t) {
|
|
1304
1304
|
return t === void 0 ? e.h !== Yt && !!(2 & (0 | e.v[_])) : !!(2 & t) && e.h !== Yt;
|
|
1305
1305
|
}
|
|
1306
1306
|
const Yt = {};
|
|
1307
|
-
function
|
|
1307
|
+
function ss(e, t) {
|
|
1308
1308
|
if (e != null) {
|
|
1309
|
-
if (typeof e == "string") e = e ? new ct(e,
|
|
1310
|
-
else if (e.constructor !== ct) if (
|
|
1309
|
+
if (typeof e == "string") e = e ? new ct(e, gi) : Kt();
|
|
1310
|
+
else if (e.constructor !== ct) if (rs(e)) e = e.length ? new ct(new Uint8Array(e), gi) : Kt();
|
|
1311
1311
|
else {
|
|
1312
1312
|
if (!t) throw Error();
|
|
1313
1313
|
e = void 0;
|
|
@@ -1340,22 +1340,22 @@ function Oa(e, t, i) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
var Ba = {};
|
|
1343
|
-
function
|
|
1343
|
+
function Fi(e) {
|
|
1344
1344
|
return 128 & e ? Ba : void 0;
|
|
1345
1345
|
}
|
|
1346
|
-
function
|
|
1346
|
+
function Vr(e) {
|
|
1347
1347
|
return e.Na = !0, e;
|
|
1348
1348
|
}
|
|
1349
|
-
var Pu =
|
|
1349
|
+
var Pu = Vr((e) => typeof e == "number"), fo = Vr((e) => typeof e == "string"), Du = Vr((e) => typeof e == "boolean"), jr = typeof mi.BigInt == "function" && typeof mi.BigInt(0) == "bigint";
|
|
1350
1350
|
function Re(e) {
|
|
1351
1351
|
var t = e;
|
|
1352
1352
|
if (fo(t)) {
|
|
1353
1353
|
if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t)) throw Error(String(t));
|
|
1354
1354
|
} else if (Pu(t) && !Number.isSafeInteger(t)) throw Error(String(t));
|
|
1355
|
-
return
|
|
1355
|
+
return jr ? BigInt(e) : e = Du(e) ? e ? "1" : "0" : fo(e) ? e.trim() || "0" : String(e);
|
|
1356
1356
|
}
|
|
1357
|
-
var
|
|
1358
|
-
const Ou = Number.MIN_SAFE_INTEGER.toString(), Bu =
|
|
1357
|
+
var Sn = Vr((e) => jr ? e >= Bu && e <= Gu : e[0] === "-" ? wo(e, Ou) : wo(e, Uu));
|
|
1358
|
+
const Ou = Number.MIN_SAFE_INTEGER.toString(), Bu = jr ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, Uu = Number.MAX_SAFE_INTEGER.toString(), Gu = jr ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
|
|
1359
1359
|
function wo(e, t) {
|
|
1360
1360
|
if (e.length > t.length) return !1;
|
|
1361
1361
|
if (e.length < t.length || e === t) return !0;
|
|
@@ -1371,51 +1371,51 @@ function mo(e) {
|
|
|
1371
1371
|
const t = e >>> 0;
|
|
1372
1372
|
J = t, se = (e - t) / 4294967296 >>> 0;
|
|
1373
1373
|
}
|
|
1374
|
-
function
|
|
1374
|
+
function vi(e) {
|
|
1375
1375
|
if (e < 0) {
|
|
1376
1376
|
mo(-e);
|
|
1377
|
-
const [t, i] =
|
|
1377
|
+
const [t, i] = ls(J, se);
|
|
1378
1378
|
J = t >>> 0, se = i >>> 0;
|
|
1379
1379
|
} else mo(e);
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1381
|
+
function os(e) {
|
|
1382
1382
|
const t = ju || (ju = new DataView(new ArrayBuffer(8)));
|
|
1383
1383
|
t.setFloat32(0, +e, !0), se = 0, J = t.getUint32(0, !0);
|
|
1384
1384
|
}
|
|
1385
|
-
function
|
|
1385
|
+
function In(e, t) {
|
|
1386
1386
|
const i = 4294967296 * t + (e >>> 0);
|
|
1387
|
-
return Number.isSafeInteger(i) ? i :
|
|
1387
|
+
return Number.isSafeInteger(i) ? i : nr(e, t);
|
|
1388
1388
|
}
|
|
1389
1389
|
function Wu(e, t) {
|
|
1390
|
-
return Re(
|
|
1390
|
+
return Re(Si() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : nr(e, t));
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1392
|
+
function as(e, t) {
|
|
1393
1393
|
const i = 2147483648 & t;
|
|
1394
|
-
return i && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e =
|
|
1394
|
+
return i && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e = In(e, t)) == "number" ? i ? -e : e : i ? "-" + e : e;
|
|
1395
1395
|
}
|
|
1396
1396
|
function Ua(e, t) {
|
|
1397
|
-
return
|
|
1397
|
+
return Si() ? Re(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : Re(cs(e, t));
|
|
1398
1398
|
}
|
|
1399
|
-
function
|
|
1399
|
+
function nr(e, t) {
|
|
1400
1400
|
if (e >>>= 0, (t >>>= 0) <= 2097151) var i = "" + (4294967296 * t + e);
|
|
1401
|
-
else
|
|
1401
|
+
else Si() ? 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 + go(i) + go(e));
|
|
1402
1402
|
return i;
|
|
1403
1403
|
}
|
|
1404
1404
|
function go(e) {
|
|
1405
1405
|
return e = String(e), "0000000".slice(e.length) + e;
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1408
|
-
if (2147483648 & t) if (
|
|
1407
|
+
function cs(e, t) {
|
|
1408
|
+
if (2147483648 & t) if (Si()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
|
|
1409
1409
|
else {
|
|
1410
|
-
const [i, r] =
|
|
1411
|
-
e = "-" +
|
|
1410
|
+
const [i, r] = ls(e, t);
|
|
1411
|
+
e = "-" + nr(i, r);
|
|
1412
1412
|
}
|
|
1413
|
-
else e =
|
|
1413
|
+
else e = nr(e, t);
|
|
1414
1414
|
return e;
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1417
|
-
if (e.length < 16)
|
|
1418
|
-
else if (
|
|
1416
|
+
function Wr(e) {
|
|
1417
|
+
if (e.length < 16) vi(Number(e));
|
|
1418
|
+
else if (Si()) e = BigInt(e), J = Number(e & BigInt(4294967295)) >>> 0, se = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
1419
1419
|
else {
|
|
1420
1420
|
const t = +(e[0] === "-");
|
|
1421
1421
|
se = J = 0;
|
|
@@ -1425,26 +1425,26 @@ function Vr(e) {
|
|
|
1425
1425
|
se *= 1e6, J = 1e6 * J + s, J >= 4294967296 && (se += Math.trunc(J / 4294967296), se >>>= 0, J >>>= 0);
|
|
1426
1426
|
}
|
|
1427
1427
|
if (t) {
|
|
1428
|
-
const [r, n] =
|
|
1428
|
+
const [r, n] = ls(J, se);
|
|
1429
1429
|
J = r, se = n;
|
|
1430
1430
|
}
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function ls(e, t) {
|
|
1434
1434
|
return t = ~t, e ? e = 1 + ~e : t += 1, [e, t];
|
|
1435
1435
|
}
|
|
1436
1436
|
function Qe(e) {
|
|
1437
1437
|
return Array.prototype.slice.call(e);
|
|
1438
1438
|
}
|
|
1439
|
-
const
|
|
1440
|
-
function
|
|
1439
|
+
const dr = typeof BigInt == "function" ? BigInt.asIntN : void 0, $u = typeof BigInt == "function" ? BigInt.asUintN : void 0, Xt = Number.isSafeInteger, $r = Number.isFinite, xi = Math.trunc, zu = Re(0);
|
|
1440
|
+
function Qi(e) {
|
|
1441
1441
|
if (e != null && typeof e != "number") throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);
|
|
1442
1442
|
return e;
|
|
1443
1443
|
}
|
|
1444
1444
|
function at(e) {
|
|
1445
1445
|
return e == null || typeof e == "number" ? e : e === "NaN" || e === "Infinity" || e === "-Infinity" ? Number(e) : void 0;
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function sr(e) {
|
|
1448
1448
|
if (e != null && typeof e != "boolean") {
|
|
1449
1449
|
var t = typeof e;
|
|
1450
1450
|
throw Error(`Expected boolean but got ${t != "object" ? t : e ? Array.isArray(e) ? "array" : t : "null"}: ${e}`);
|
|
@@ -1455,90 +1455,90 @@ function Ga(e) {
|
|
|
1455
1455
|
return e == null || typeof e == "boolean" ? e : typeof e == "number" ? !!e : void 0;
|
|
1456
1456
|
}
|
|
1457
1457
|
const Hu = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
|
|
1458
|
-
function
|
|
1458
|
+
function hr(e) {
|
|
1459
1459
|
switch (typeof e) {
|
|
1460
1460
|
case "bigint":
|
|
1461
1461
|
return !0;
|
|
1462
1462
|
case "number":
|
|
1463
|
-
return
|
|
1463
|
+
return $r(e);
|
|
1464
1464
|
case "string":
|
|
1465
1465
|
return Hu.test(e);
|
|
1466
1466
|
default:
|
|
1467
1467
|
return !1;
|
|
1468
1468
|
}
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function Li(e) {
|
|
1471
1471
|
if (e == null) return e;
|
|
1472
1472
|
if (typeof e == "string" && e) e = +e;
|
|
1473
1473
|
else if (typeof e != "number") return;
|
|
1474
|
-
return
|
|
1474
|
+
return $r(e) ? 0 | e : void 0;
|
|
1475
1475
|
}
|
|
1476
1476
|
function Va(e) {
|
|
1477
1477
|
if (e == null) return e;
|
|
1478
1478
|
if (typeof e == "string" && e) e = +e;
|
|
1479
1479
|
else if (typeof e != "number") return;
|
|
1480
|
-
return
|
|
1480
|
+
return $r(e) ? e >>> 0 : void 0;
|
|
1481
1481
|
}
|
|
1482
1482
|
function ja(e) {
|
|
1483
1483
|
const t = e.length;
|
|
1484
|
-
return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (
|
|
1484
|
+
return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (Wr(e), cs(J, se));
|
|
1485
1485
|
}
|
|
1486
|
-
function
|
|
1487
|
-
return e =
|
|
1486
|
+
function us(e) {
|
|
1487
|
+
return e = xi(e), Xt(e) || (vi(e), e = as(J, se)), e;
|
|
1488
1488
|
}
|
|
1489
1489
|
function Wa(e) {
|
|
1490
|
-
var t =
|
|
1490
|
+
var t = xi(Number(e));
|
|
1491
1491
|
return Xt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), ja(e));
|
|
1492
1492
|
}
|
|
1493
1493
|
function $a(e) {
|
|
1494
|
-
var t =
|
|
1495
|
-
return Xt(t) ? Re(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)),
|
|
1494
|
+
var t = xi(Number(e));
|
|
1495
|
+
return Xt(t) ? Re(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Si() ? Re(dr(64, BigInt(e))) : Re(ja(e)));
|
|
1496
1496
|
}
|
|
1497
1497
|
function za(e) {
|
|
1498
|
-
return Xt(e) ? e = Re(
|
|
1498
|
+
return Xt(e) ? e = Re(us(e)) : (e = xi(e), Xt(e) ? e = String(e) : (vi(e), e = cs(J, se)), e = Re(e)), e;
|
|
1499
1499
|
}
|
|
1500
1500
|
function qu(e) {
|
|
1501
|
-
return e == null ? e : typeof e == "bigint" ? (
|
|
1501
|
+
return e == null ? e : typeof e == "bigint" ? (Sn(e) ? e = Number(e) : (e = dr(64, e), e = Sn(e) ? Number(e) : String(e)), e) : hr(e) ? typeof e == "number" ? us(e) : Wa(e) : void 0;
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1503
|
+
function Ir(e) {
|
|
1504
1504
|
const t = typeof e;
|
|
1505
|
-
return e == null ? e : t === "bigint" ? Re(
|
|
1505
|
+
return e == null ? e : t === "bigint" ? Re(dr(64, e)) : hr(e) ? t === "string" ? $a(e) : za(e) : void 0;
|
|
1506
1506
|
}
|
|
1507
1507
|
function Ha(e) {
|
|
1508
1508
|
if (typeof e != "string") throw Error();
|
|
1509
1509
|
return e;
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function fr(e) {
|
|
1512
1512
|
if (e != null && typeof e != "string") throw Error();
|
|
1513
1513
|
return e;
|
|
1514
1514
|
}
|
|
1515
1515
|
function pe(e) {
|
|
1516
1516
|
return e == null || typeof e == "string" ? e : void 0;
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1519
|
-
return e != null && e[
|
|
1518
|
+
function ds(e, t, i, r) {
|
|
1519
|
+
return e != null && e[yi] === bi ? e : Array.isArray(e) ? ((r = (i = 0 | e[_]) | 32 & r | 2 & r) !== i && ue(e, r), new t(e)) : (i ? 2 & r ? ((e = t[co]) || (ur((e = new t()).v), e = t[co] = e), t = e) : t = new t() : t = void 0, t);
|
|
1520
1520
|
}
|
|
1521
1521
|
function Ku(e, t, i) {
|
|
1522
1522
|
if (t) e: {
|
|
1523
|
-
if (!
|
|
1523
|
+
if (!hr(t = e)) throw Nn("int64");
|
|
1524
1524
|
switch (typeof t) {
|
|
1525
1525
|
case "string":
|
|
1526
1526
|
t = $a(t);
|
|
1527
1527
|
break e;
|
|
1528
1528
|
case "bigint":
|
|
1529
|
-
t = Re(
|
|
1529
|
+
t = Re(dr(64, t));
|
|
1530
1530
|
break e;
|
|
1531
1531
|
default:
|
|
1532
1532
|
t = za(t);
|
|
1533
1533
|
}
|
|
1534
1534
|
}
|
|
1535
|
-
else t =
|
|
1535
|
+
else t = Ir(e);
|
|
1536
1536
|
return (e = t) == null ? i ? zu : void 0 : e;
|
|
1537
1537
|
}
|
|
1538
1538
|
const Yu = {};
|
|
1539
1539
|
let Xu = function() {
|
|
1540
1540
|
try {
|
|
1541
|
-
return
|
|
1541
|
+
return Gr(new class extends Map {
|
|
1542
1542
|
constructor() {
|
|
1543
1543
|
super();
|
|
1544
1544
|
}
|
|
@@ -1547,7 +1547,7 @@ let Xu = function() {
|
|
|
1547
1547
|
return !0;
|
|
1548
1548
|
}
|
|
1549
1549
|
}();
|
|
1550
|
-
class
|
|
1550
|
+
class mn {
|
|
1551
1551
|
constructor() {
|
|
1552
1552
|
this.g = /* @__PURE__ */ new Map();
|
|
1553
1553
|
}
|
|
@@ -1582,7 +1582,7 @@ class wn {
|
|
|
1582
1582
|
return this.entries();
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
|
-
const Qu = Xu ? (Object.setPrototypeOf(
|
|
1585
|
+
const Qu = Xu ? (Object.setPrototypeOf(mn.prototype, Map.prototype), Object.defineProperties(mn.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), mn) : class extends Map {
|
|
1586
1586
|
constructor() {
|
|
1587
1587
|
super();
|
|
1588
1588
|
}
|
|
@@ -1590,7 +1590,7 @@ const Qu = Xu ? (Object.setPrototypeOf(wn.prototype, Map.prototype), Object.defi
|
|
|
1590
1590
|
function po(e) {
|
|
1591
1591
|
return e;
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function gn(e) {
|
|
1594
1594
|
if (2 & e.J) throw Error("Cannot mutate an immutable Map");
|
|
1595
1595
|
}
|
|
1596
1596
|
var gt = class extends Qu {
|
|
@@ -1603,13 +1603,13 @@ var gt = class extends Qu {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
}
|
|
1605
1605
|
V(e) {
|
|
1606
|
-
return
|
|
1606
|
+
return rr(Array.from(super.entries(), e));
|
|
1607
1607
|
}
|
|
1608
1608
|
clear() {
|
|
1609
|
-
|
|
1609
|
+
gn(this), super.clear();
|
|
1610
1610
|
}
|
|
1611
1611
|
delete(e) {
|
|
1612
|
-
return
|
|
1612
|
+
return gn(this), super.delete(this.S(e, !0, !1));
|
|
1613
1613
|
}
|
|
1614
1614
|
entries() {
|
|
1615
1615
|
if (this.K) {
|
|
@@ -1631,7 +1631,7 @@ var gt = class extends Qu {
|
|
|
1631
1631
|
}) : super.forEach(e, t);
|
|
1632
1632
|
}
|
|
1633
1633
|
set(e, t) {
|
|
1634
|
-
return
|
|
1634
|
+
return gn(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));
|
|
1635
1635
|
}
|
|
1636
1636
|
Ma(e) {
|
|
1637
1637
|
const t = this.S(e[0], !1, !0);
|
|
@@ -1653,33 +1653,33 @@ var gt = class extends Qu {
|
|
|
1653
1653
|
}
|
|
1654
1654
|
};
|
|
1655
1655
|
function Ju(e, t, i, r, n, s) {
|
|
1656
|
-
return e =
|
|
1656
|
+
return e = ds(e, r, i, s), n && (e = fs(e)), e;
|
|
1657
1657
|
}
|
|
1658
1658
|
function Zu(e) {
|
|
1659
1659
|
return [e, this.get(e)];
|
|
1660
1660
|
}
|
|
1661
1661
|
let ed;
|
|
1662
1662
|
function yo() {
|
|
1663
|
-
return ed || (ed = new gt(
|
|
1663
|
+
return ed || (ed = new gt(ur([]), void 0, void 0, void 0, Yu));
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function zr(e) {
|
|
1666
1666
|
return Le ? e[Le] : void 0;
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function Fr(e, t) {
|
|
1669
1669
|
for (const i in e) !isNaN(i) && t(e, +i, e[i]);
|
|
1670
1670
|
}
|
|
1671
1671
|
gt.prototype.toJSON = void 0;
|
|
1672
|
-
var
|
|
1672
|
+
var Fn = class {
|
|
1673
1673
|
};
|
|
1674
1674
|
const td = { Ka: !0 };
|
|
1675
1675
|
function id(e, t) {
|
|
1676
|
-
t < 100 ||
|
|
1676
|
+
t < 100 || pi(Lu, 1);
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function Hr(e, t, i, r) {
|
|
1679
1679
|
const n = r !== void 0;
|
|
1680
1680
|
r = !!r;
|
|
1681
1681
|
var s, o = Le;
|
|
1682
|
-
!n &&
|
|
1682
|
+
!n && Ii && o && (s = e[o]) && Fr(s, id), o = [];
|
|
1683
1683
|
var a = e.length;
|
|
1684
1684
|
let l;
|
|
1685
1685
|
s = 4294967295;
|
|
@@ -1698,30 +1698,30 @@ function $r(e, t, i, r) {
|
|
|
1698
1698
|
let g;
|
|
1699
1699
|
f = +m, u && !Number.isNaN(f) && (g = f + h) < s ? o[g] = a : (t ?? (t = {}))[m] = a;
|
|
1700
1700
|
}
|
|
1701
|
-
return t && (d ? o.push(t) : o[s] = t), n && Le && (e =
|
|
1702
|
-
const g = new
|
|
1703
|
-
return
|
|
1701
|
+
return t && (d ? o.push(t) : o[s] = t), n && Le && (e = zr(e)) && e instanceof Fn && (o[Le] = function(m) {
|
|
1702
|
+
const g = new Fn();
|
|
1703
|
+
return Fr(m, (b, y, p) => {
|
|
1704
1704
|
g[y] = Qe(p);
|
|
1705
1705
|
}), g.da = m.da, g;
|
|
1706
1706
|
}(e)), o;
|
|
1707
1707
|
}
|
|
1708
1708
|
function rd(e) {
|
|
1709
|
-
return e[0] =
|
|
1709
|
+
return e[0] = or(e[0]), e[1] = or(e[1]), e;
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1711
|
+
function or(e) {
|
|
1712
1712
|
switch (typeof e) {
|
|
1713
1713
|
case "number":
|
|
1714
1714
|
return Number.isFinite(e) ? e : "" + e;
|
|
1715
1715
|
case "bigint":
|
|
1716
|
-
return
|
|
1716
|
+
return Sn(e) ? Number(e) : "" + e;
|
|
1717
1717
|
case "boolean":
|
|
1718
1718
|
return e ? 1 : 0;
|
|
1719
1719
|
case "object":
|
|
1720
1720
|
if (Array.isArray(e)) {
|
|
1721
1721
|
var t = 0 | e[_];
|
|
1722
|
-
return e.length === 0 && 1 & t ? void 0 :
|
|
1722
|
+
return e.length === 0 && 1 & t ? void 0 : Hr(e, t, or);
|
|
1723
1723
|
}
|
|
1724
|
-
if (e != null && e[
|
|
1724
|
+
if (e != null && e[yi] === bi) return qa(e);
|
|
1725
1725
|
if (e instanceof ct) {
|
|
1726
1726
|
if ((t = e.g) == null) e = "";
|
|
1727
1727
|
else if (typeof t == "string") e = t;
|
|
@@ -1753,7 +1753,7 @@ function nr(e) {
|
|
|
1753
1753
|
return e;
|
|
1754
1754
|
}
|
|
1755
1755
|
function qa(e) {
|
|
1756
|
-
return
|
|
1756
|
+
return Hr(e = e.v, 0 | e[_], or);
|
|
1757
1757
|
}
|
|
1758
1758
|
let nd, sd;
|
|
1759
1759
|
function Wt(e, t) {
|
|
@@ -1768,7 +1768,7 @@ function Ka(e, t, i, r = 0) {
|
|
|
1768
1768
|
if (n = 0 | e[_], no && 1 & n) throw Error("rfarr");
|
|
1769
1769
|
if (2048 & n && !(2 & n) && function() {
|
|
1770
1770
|
if (no) throw Error("carr");
|
|
1771
|
-
|
|
1771
|
+
pi(Ru, 5);
|
|
1772
1772
|
}(), 256 & n) throw Error("farr");
|
|
1773
1773
|
if (64 & n) return (n | r) !== n && ue(e, n | r), e;
|
|
1774
1774
|
if (i && (n |= 128, i !== e[0])) throw Error("mid");
|
|
@@ -1799,48 +1799,48 @@ function od(e, t) {
|
|
|
1799
1799
|
var i = 0 | e[_];
|
|
1800
1800
|
return e.length === 0 && 1 & i ? void 0 : bo(e, i, t);
|
|
1801
1801
|
}
|
|
1802
|
-
if (e != null && e[
|
|
1802
|
+
if (e != null && e[yi] === bi) return vo(e);
|
|
1803
1803
|
if (e instanceof gt) {
|
|
1804
1804
|
if (2 & (t = e.J)) return e;
|
|
1805
1805
|
if (!e.size) return;
|
|
1806
|
-
if (i =
|
|
1806
|
+
if (i = ur(e.V()), e.K) for (e = 0; e < i.length; e++) {
|
|
1807
1807
|
const r = i[e];
|
|
1808
1808
|
let n = r[1];
|
|
1809
|
-
n = n == null || typeof n != "object" ? void 0 : n != null && n[
|
|
1809
|
+
n = n == null || typeof n != "object" ? void 0 : n != null && n[yi] === bi ? vo(n) : Array.isArray(n) ? bo(n, 0 | n[_], !!(32 & t)) : void 0, r[1] = n;
|
|
1810
1810
|
}
|
|
1811
1811
|
return i;
|
|
1812
1812
|
}
|
|
1813
1813
|
return e instanceof ct ? e : void 0;
|
|
1814
1814
|
}
|
|
1815
1815
|
function bo(e, t, i) {
|
|
1816
|
-
return 2 & t || (!i || 4096 & t || 16 & t ? e =
|
|
1816
|
+
return 2 & t || (!i || 4096 & t || 16 & t ? e = Ri(e, t, !1, i && !(16 & t)) : (lr(e, 34), 4 & t && Object.freeze(e))), e;
|
|
1817
1817
|
}
|
|
1818
|
-
function
|
|
1818
|
+
function hs(e, t, i) {
|
|
1819
1819
|
return e = new e.constructor(t), i && (e.h = Yt), e.m = Yt, e;
|
|
1820
1820
|
}
|
|
1821
1821
|
function vo(e) {
|
|
1822
1822
|
const t = e.v, i = 0 | t[_];
|
|
1823
|
-
return Me(e, i) ? e :
|
|
1823
|
+
return Me(e, i) ? e : ws(e, t, i) ? hs(e, t) : Ri(t, i);
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1826
|
-
return r ?? (r = !!(34 & t)), e =
|
|
1825
|
+
function Ri(e, t, i, r) {
|
|
1826
|
+
return r ?? (r = !!(34 & t)), e = Hr(e, t, od, r), r = 32, i && (r |= 2), ue(e, t = 16769217 & t | r), e;
|
|
1827
1827
|
}
|
|
1828
|
-
function
|
|
1828
|
+
function fs(e) {
|
|
1829
1829
|
const t = e.v, i = 0 | t[_];
|
|
1830
|
-
return Me(e, i) ?
|
|
1830
|
+
return Me(e, i) ? ws(e, t, i) ? hs(e, t, !0) : new e.constructor(Ri(t, i, !1)) : e;
|
|
1831
1831
|
}
|
|
1832
|
-
function
|
|
1832
|
+
function Mi(e) {
|
|
1833
1833
|
if (e.h !== Yt) return !1;
|
|
1834
1834
|
var t = e.v;
|
|
1835
|
-
return
|
|
1835
|
+
return lr(t = Ri(t, 0 | t[_]), 2048), e.v = t, e.h = void 0, e.m = void 0, !0;
|
|
1836
1836
|
}
|
|
1837
|
-
function
|
|
1838
|
-
if (!
|
|
1837
|
+
function Pi(e) {
|
|
1838
|
+
if (!Mi(e) && Me(e, 0 | e.v[_])) throw Error();
|
|
1839
1839
|
}
|
|
1840
1840
|
function Jt(e, t) {
|
|
1841
1841
|
t === void 0 && (t = 0 | e[_]), 32 & t && !(4096 & t) && ue(e, 4096 | t);
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function ws(e, t, i) {
|
|
1844
1844
|
return !!(2 & i) || !(!(32 & i) || 4096 & i) && (ue(t, 2 | i), e.h = Yt, !0);
|
|
1845
1845
|
}
|
|
1846
1846
|
const ad = Re(0), Nt = {};
|
|
@@ -1866,7 +1866,7 @@ function pt(e, t, i, r) {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
1868
|
function W(e, t, i, r) {
|
|
1869
|
-
|
|
1869
|
+
Pi(e), ce(e = e.v, 0 | e[_], t, i, r);
|
|
1870
1870
|
}
|
|
1871
1871
|
function ce(e, t, i, r, n) {
|
|
1872
1872
|
const s = i + (n ? 0 : -1);
|
|
@@ -1882,8 +1882,8 @@ function Vt() {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
function jt(e, t, i, r, n) {
|
|
1884
1884
|
let s = e.v, o = 0 | s[_];
|
|
1885
|
-
r = Me(e, o) ? 1 : r, n = !!n || r === 3, r === 2 &&
|
|
1886
|
-
let a = (e =
|
|
1885
|
+
r = Me(e, o) ? 1 : r, n = !!n || r === 3, r === 2 && Mi(e) && (s = e.v, o = 0 | s[_]);
|
|
1886
|
+
let a = (e = ms(s, t)) === Qt ? 7 : 0 | e[_], l = gs(a, o);
|
|
1887
1887
|
var d = !(4 & l);
|
|
1888
1888
|
if (d) {
|
|
1889
1889
|
4 & l && (e = Qe(e), a = 0, l = zt(l, o), o = ce(s, o, t, e));
|
|
@@ -1900,50 +1900,50 @@ function Ya(e, t, i, r, n, s, o, a) {
|
|
|
1900
1900
|
let l = t;
|
|
1901
1901
|
return s === 1 || s === 4 && (2 & t || !(16 & t) && 32 & r) ? $t(t) || ((t |= !e.length || o && !(4096 & t) || 32 & r && !(4096 & t || 16 & t) ? 2 : 256) !== l && ue(e, t), Object.freeze(e)) : (s === 2 && $t(t) && (e = Qe(e), l = 0, t = zt(t, r), r = ce(i, r, n, e)), $t(t) || (a || (t |= 16), t !== l && ue(e, t))), 2 & t || !(4096 & t || 16 & t) || Jt(i, r), e;
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1903
|
+
function ms(e, t, i) {
|
|
1904
1904
|
return e = pt(e, t, i), Array.isArray(e) ? e : Qt;
|
|
1905
1905
|
}
|
|
1906
|
-
function
|
|
1906
|
+
function gs(e, t) {
|
|
1907
1907
|
return 2 & t && (e |= 2), 1 | e;
|
|
1908
1908
|
}
|
|
1909
1909
|
function $t(e) {
|
|
1910
1910
|
return !!(2 & e) && !!(4 & e) || !!(256 & e);
|
|
1911
1911
|
}
|
|
1912
1912
|
function Xa(e) {
|
|
1913
|
-
return
|
|
1913
|
+
return ss(e, !0);
|
|
1914
1914
|
}
|
|
1915
1915
|
function Qa(e) {
|
|
1916
1916
|
e = Qe(e);
|
|
1917
1917
|
for (let t = 0; t < e.length; t++) {
|
|
1918
1918
|
const i = e[t] = Qe(e[t]);
|
|
1919
|
-
Array.isArray(i[1]) && (i[1] =
|
|
1919
|
+
Array.isArray(i[1]) && (i[1] = ur(i[1]));
|
|
1920
1920
|
}
|
|
1921
|
-
return
|
|
1921
|
+
return rr(e);
|
|
1922
1922
|
}
|
|
1923
1923
|
function Ft(e, t, i, r) {
|
|
1924
|
-
|
|
1924
|
+
Pi(e), ce(e = e.v, 0 | e[_], t, (r === "0" ? Number(i) === 0 : i === r) ? void 0 : i);
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function Di(e, t, i) {
|
|
1927
1927
|
if (2 & t) throw Error();
|
|
1928
|
-
const r =
|
|
1929
|
-
let n =
|
|
1928
|
+
const r = Fi(t);
|
|
1929
|
+
let n = ms(e, i, r), s = n === Qt ? 7 : 0 | n[_], o = gs(s, t);
|
|
1930
1930
|
return (2 & o || $t(o) || 16 & o) && (o === s || $t(o) || ue(n, o), n = Qe(n), s = 0, o = zt(o, t), ce(e, t, i, n, r)), o &= -13, o !== s && ue(n, o), n;
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1932
|
+
function pn(e, t) {
|
|
1933
1933
|
var i = Wc;
|
|
1934
|
-
return ps(
|
|
1934
|
+
return ys(ps(e = e.v), e, void 0, i) === t ? t : -1;
|
|
1935
1935
|
}
|
|
1936
|
-
function
|
|
1937
|
-
if (
|
|
1938
|
-
if (
|
|
1936
|
+
function ps(e) {
|
|
1937
|
+
if (Ii) return e[Ki] ?? (e[Ki] = /* @__PURE__ */ new Map());
|
|
1938
|
+
if (Ki in e) return e[Ki];
|
|
1939
1939
|
const t = /* @__PURE__ */ new Map();
|
|
1940
|
-
return Object.defineProperty(e,
|
|
1940
|
+
return Object.defineProperty(e, Ki, { value: t }), t;
|
|
1941
1941
|
}
|
|
1942
1942
|
function Ja(e, t, i, r, n) {
|
|
1943
|
-
const s =
|
|
1943
|
+
const s = ps(e), o = ys(s, e, t, i, n);
|
|
1944
1944
|
return o !== r && (o && (t = ce(e, t, o, void 0, n)), s.set(i, r)), t;
|
|
1945
1945
|
}
|
|
1946
|
-
function
|
|
1946
|
+
function ys(e, t, i, r, n) {
|
|
1947
1947
|
let s = e.get(r);
|
|
1948
1948
|
if (s != null) return s;
|
|
1949
1949
|
s = 0;
|
|
@@ -1953,24 +1953,24 @@ function ps(e, t, i, r, n) {
|
|
|
1953
1953
|
}
|
|
1954
1954
|
return e.set(r, s), s;
|
|
1955
1955
|
}
|
|
1956
|
-
function
|
|
1956
|
+
function bs(e, t, i) {
|
|
1957
1957
|
let r = 0 | e[_];
|
|
1958
|
-
const n =
|
|
1958
|
+
const n = Fi(r), s = pt(e, i, n);
|
|
1959
1959
|
let o;
|
|
1960
|
-
if (s != null && s[
|
|
1961
|
-
if (!Me(s)) return
|
|
1960
|
+
if (s != null && s[yi] === bi) {
|
|
1961
|
+
if (!Me(s)) return Mi(s), s.v;
|
|
1962
1962
|
o = s.v;
|
|
1963
1963
|
} else Array.isArray(s) && (o = s);
|
|
1964
1964
|
if (o) {
|
|
1965
1965
|
const a = 0 | o[_];
|
|
1966
|
-
2 & a && (o =
|
|
1966
|
+
2 & a && (o = Ri(o, a));
|
|
1967
1967
|
}
|
|
1968
1968
|
return o = Wt(o, t), o !== s && ce(e, r, i, o, n), o;
|
|
1969
1969
|
}
|
|
1970
1970
|
function Za(e, t, i, r, n) {
|
|
1971
1971
|
let s = !1;
|
|
1972
1972
|
if ((r = pt(e, r, n, (o) => {
|
|
1973
|
-
const a =
|
|
1973
|
+
const a = ds(o, i, !1, t);
|
|
1974
1974
|
return s = a !== o && a != null, a;
|
|
1975
1975
|
})) != null) return s && !Me(r) && Jt(e, t), r;
|
|
1976
1976
|
}
|
|
@@ -1978,22 +1978,22 @@ function G(e, t, i, r) {
|
|
|
1978
1978
|
let n = e.v, s = 0 | n[_];
|
|
1979
1979
|
if ((t = Za(n, s, t, i, r)) == null) return t;
|
|
1980
1980
|
if (s = 0 | n[_], !Me(e, s)) {
|
|
1981
|
-
const o =
|
|
1982
|
-
o !== t && (
|
|
1981
|
+
const o = fs(t);
|
|
1982
|
+
o !== t && (Mi(e) && (n = e.v, s = 0 | n[_]), s = ce(n, s, i, t = o, r), Jt(n, s));
|
|
1983
1983
|
}
|
|
1984
1984
|
return t;
|
|
1985
1985
|
}
|
|
1986
1986
|
function ec(e, t, i, r, n, s, o, a) {
|
|
1987
1987
|
var l = Me(e, i);
|
|
1988
|
-
s = l ? 1 : s, o = !!o || s === 3, l = a && !l, (s === 2 || l) &&
|
|
1989
|
-
var d = (e =
|
|
1988
|
+
s = l ? 1 : s, o = !!o || s === 3, l = a && !l, (s === 2 || l) && Mi(e) && (i = 0 | (t = e.v)[_]);
|
|
1989
|
+
var d = (e = ms(t, n)) === Qt ? 7 : 0 | e[_], u = gs(d, i);
|
|
1990
1990
|
if (a = !(4 & u)) {
|
|
1991
1991
|
var h = e, f = i;
|
|
1992
1992
|
const m = !!(2 & u);
|
|
1993
1993
|
m && (f |= 2);
|
|
1994
1994
|
let g = !m, b = !0, y = 0, p = 0;
|
|
1995
1995
|
for (; y < h.length; y++) {
|
|
1996
|
-
const x =
|
|
1996
|
+
const x = ds(h[y], r, !1, f);
|
|
1997
1997
|
if (x instanceof r) {
|
|
1998
1998
|
if (!m) {
|
|
1999
1999
|
const S = Me(x);
|
|
@@ -2005,7 +2005,7 @@ function ec(e, t, i, r, n, s, o, a) {
|
|
|
2005
2005
|
p < y && (h.length = p), u |= 4, u = b ? -4097 & u : 4096 | u, u = g ? 8 | u : -9 & u;
|
|
2006
2006
|
}
|
|
2007
2007
|
if (u !== d && (ue(e, u), 2 & u && Object.freeze(e)), l && !(8 & u || !e.length && (s === 1 || s === 4 && (2 & u || !(16 & u) && 32 & i)))) {
|
|
2008
|
-
for ($t(u) && (e = Qe(e), u = zt(u, i), i = ce(t, i, n, e)), r = e, l = u, d = 0; d < r.length; d++) (h = r[d]) !== (u =
|
|
2008
|
+
for ($t(u) && (e = Qe(e), u = zt(u, i), i = ce(t, i, n, e)), r = e, l = u, d = 0; d < r.length; d++) (h = r[d]) !== (u = fs(h)) && (r[d] = u);
|
|
2009
2009
|
l |= 8, ue(e, u = l = r.length ? 4096 | l : -4097 & l);
|
|
2010
2010
|
}
|
|
2011
2011
|
return Ya(e, u, t, i, n, s, a, o);
|
|
@@ -2020,15 +2020,15 @@ function tc(e) {
|
|
|
2020
2020
|
function T(e, t, i, r, n) {
|
|
2021
2021
|
return W(e, i, r = tc(r), n), r && !Me(r) && Jt(e.v), e;
|
|
2022
2022
|
}
|
|
2023
|
-
function
|
|
2023
|
+
function Ji(e, t, i, r) {
|
|
2024
2024
|
e: {
|
|
2025
2025
|
var n = r = tc(r);
|
|
2026
|
-
|
|
2026
|
+
Pi(e);
|
|
2027
2027
|
const s = e.v;
|
|
2028
2028
|
let o = 0 | s[_];
|
|
2029
2029
|
if (n == null) {
|
|
2030
|
-
const a =
|
|
2031
|
-
if (
|
|
2030
|
+
const a = ps(s);
|
|
2031
|
+
if (ys(a, s, o, i) !== t) break e;
|
|
2032
2032
|
a.set(i, 0);
|
|
2033
2033
|
} else o = Ja(s, o, i, t);
|
|
2034
2034
|
ce(s, o, t, n);
|
|
@@ -2038,41 +2038,41 @@ function Xi(e, t, i, r) {
|
|
|
2038
2038
|
function zt(e, t) {
|
|
2039
2039
|
return -273 & (2 & t ? 2 | e : -3 & e);
|
|
2040
2040
|
}
|
|
2041
|
-
function
|
|
2041
|
+
function vs(e, t, i, r) {
|
|
2042
2042
|
var n = r;
|
|
2043
|
-
|
|
2043
|
+
Pi(e), e = ec(e, r = e.v, 0 | r[_], i, t, 2, !0), n = n ?? new i(), e.push(n), t = i = e === Qt ? 7 : 0 | e[_], (n = Me(n)) ? (i &= -9, e.length === 1 && (i &= -4097)) : i |= 4096, i !== t && ue(e, i), n || Jt(r);
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2045
|
+
function ze(e, t, i) {
|
|
2046
|
+
return Li(q(e, t, void 0, i));
|
|
2047
2047
|
}
|
|
2048
2048
|
function ic(e) {
|
|
2049
|
-
return (
|
|
2049
|
+
return (is ? q(e, 2, void 0, void 0, Ir) : Ir(q(e, 2))) ?? ad;
|
|
2050
2050
|
}
|
|
2051
2051
|
function re(e, t) {
|
|
2052
2052
|
return q(e, t, void 0, void 0, at) ?? 0;
|
|
2053
2053
|
}
|
|
2054
2054
|
function bt(e, t, i) {
|
|
2055
2055
|
if (i != null) {
|
|
2056
|
-
if (typeof i != "number" ||
|
|
2056
|
+
if (typeof i != "number" || !$r(i)) throw Nn("int32");
|
|
2057
2057
|
i |= 0;
|
|
2058
2058
|
}
|
|
2059
2059
|
W(e, t, i);
|
|
2060
2060
|
}
|
|
2061
2061
|
function A(e, t, i) {
|
|
2062
|
-
W(e, t,
|
|
2062
|
+
W(e, t, Qi(i));
|
|
2063
2063
|
}
|
|
2064
2064
|
function Pe(e, t, i) {
|
|
2065
|
-
Ft(e, t,
|
|
2065
|
+
Ft(e, t, fr(i), "");
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function Lr(e, t, i) {
|
|
2068
2068
|
{
|
|
2069
|
-
|
|
2069
|
+
Pi(e);
|
|
2070
2070
|
const o = e.v;
|
|
2071
2071
|
let a = 0 | o[_];
|
|
2072
2072
|
if (i == null) ce(o, a, t);
|
|
2073
2073
|
else {
|
|
2074
2074
|
var r = e = i === Qt ? 7 : 0 | i[_], n = $t(e), s = n || Object.isFrozen(i);
|
|
2075
|
-
for (n || (e = 0), s || (i = Qe(i), r = 0, e = zt(e, a), s = !1), e |= 5, e |= (4 & e ? 512 & e ? 512 : 1024 & e ? 1024 : 0 : void 0) ?? (
|
|
2075
|
+
for (n || (e = 0), s || (i = Qe(i), r = 0, e = zt(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++) {
|
|
2076
2076
|
const l = i[n], d = Ha(l);
|
|
2077
2077
|
Object.is(l, d) || (s && (i = Qe(i), r = 0, e = zt(e, a), s = !1), i[n] = d);
|
|
2078
2078
|
}
|
|
@@ -2080,25 +2080,25 @@ function Ir(e, t, i) {
|
|
|
2080
2080
|
}
|
|
2081
2081
|
}
|
|
2082
2082
|
}
|
|
2083
|
-
function
|
|
2084
|
-
|
|
2083
|
+
function qr(e, t, i) {
|
|
2084
|
+
Pi(e), jt(e, t, pe, 2, !0).push(Ha(i));
|
|
2085
2085
|
}
|
|
2086
|
-
var
|
|
2086
|
+
var ci = class {
|
|
2087
2087
|
constructor(e, t, i) {
|
|
2088
2088
|
if (this.buffer = e, i && !t) throw Error();
|
|
2089
2089
|
this.g = t;
|
|
2090
2090
|
}
|
|
2091
2091
|
};
|
|
2092
|
-
function
|
|
2093
|
-
if (typeof e == "string") return new
|
|
2094
|
-
if (Array.isArray(e)) return new
|
|
2095
|
-
if (e.constructor === Uint8Array) return new
|
|
2096
|
-
if (e.constructor === ArrayBuffer) return e = new Uint8Array(e), new
|
|
2097
|
-
if (e.constructor === ct) return t =
|
|
2098
|
-
if (e instanceof Uint8Array) return e = e.constructor === Uint8Array ? e : new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new
|
|
2092
|
+
function xs(e, t) {
|
|
2093
|
+
if (typeof e == "string") return new ci(La(e), t);
|
|
2094
|
+
if (Array.isArray(e)) return new ci(new Uint8Array(e), t);
|
|
2095
|
+
if (e.constructor === Uint8Array) return new ci(e, !1);
|
|
2096
|
+
if (e.constructor === ArrayBuffer) return e = new Uint8Array(e), new ci(e, !1);
|
|
2097
|
+
if (e.constructor === ct) return t = ns(e) || new Uint8Array(0), new ci(t, !0, e);
|
|
2098
|
+
if (e instanceof Uint8Array) return e = e.constructor === Uint8Array ? e : new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new ci(e, !1);
|
|
2099
2099
|
throw Error();
|
|
2100
2100
|
}
|
|
2101
|
-
function
|
|
2101
|
+
function _i(e, t) {
|
|
2102
2102
|
let i, r = 0, n = 0, s = 0;
|
|
2103
2103
|
const o = e.h;
|
|
2104
2104
|
let a = e.g;
|
|
@@ -2109,7 +2109,7 @@ function xi(e, t) {
|
|
|
2109
2109
|
if (Ht(e, a), !(128 & i)) return t(r >>> 0, n >>> 0);
|
|
2110
2110
|
throw Error();
|
|
2111
2111
|
}
|
|
2112
|
-
function
|
|
2112
|
+
function _s(e) {
|
|
2113
2113
|
let t = 0, i = e.g;
|
|
2114
2114
|
const r = i + 10, n = e.h;
|
|
2115
2115
|
for (; i < r; ) {
|
|
@@ -2127,7 +2127,7 @@ function Mt(e) {
|
|
|
2127
2127
|
function vt(e) {
|
|
2128
2128
|
return Mt(e) >>> 0;
|
|
2129
2129
|
}
|
|
2130
|
-
function
|
|
2130
|
+
function Rr(e) {
|
|
2131
2131
|
var t = e.h;
|
|
2132
2132
|
const i = e.g;
|
|
2133
2133
|
var r = t[i], n = t[i + 1];
|
|
@@ -2149,18 +2149,18 @@ function rc(e, t) {
|
|
|
2149
2149
|
function nc(e, t) {
|
|
2150
2150
|
if (t == 0) return Kt();
|
|
2151
2151
|
var i = rc(e, t);
|
|
2152
|
-
return e.Y && e.j ? i = e.h.subarray(i, i + t) : (e = e.h, i = i === (t = i + t) ? new Uint8Array(0) : Vu ? e.slice(i, t) : new Uint8Array(e.subarray(i, t))), i.length == 0 ? Kt() : new ct(i,
|
|
2152
|
+
return e.Y && e.j ? i = e.h.subarray(i, i + t) : (e = e.h, i = i === (t = i + t) ? new Uint8Array(0) : Vu ? e.slice(i, t) : new Uint8Array(e.subarray(i, t))), i.length == 0 ? Kt() : new ct(i, gi);
|
|
2153
2153
|
}
|
|
2154
2154
|
var xo = [];
|
|
2155
2155
|
function sc(e, t, i, r) {
|
|
2156
|
-
if (
|
|
2157
|
-
const n =
|
|
2156
|
+
if (Mr.length) {
|
|
2157
|
+
const n = Mr.pop();
|
|
2158
2158
|
return n.o(r), n.g.init(e, t, i, r), n;
|
|
2159
2159
|
}
|
|
2160
2160
|
return new ld(e, t, i, r);
|
|
2161
2161
|
}
|
|
2162
2162
|
function oc(e) {
|
|
2163
|
-
e.g.clear(), e.l = -1, e.h = -1,
|
|
2163
|
+
e.g.clear(), e.l = -1, e.h = -1, Mr.length < 100 && Mr.push(e);
|
|
2164
2164
|
}
|
|
2165
2165
|
function ac(e) {
|
|
2166
2166
|
var t = e.g;
|
|
@@ -2170,16 +2170,16 @@ function ac(e) {
|
|
|
2170
2170
|
if (t = i >>> 3, !((i &= 7) >= 0 && i <= 5) || t < 1) throw Error();
|
|
2171
2171
|
return e.l = t, e.h = i, !0;
|
|
2172
2172
|
}
|
|
2173
|
-
function
|
|
2173
|
+
function Cr(e) {
|
|
2174
2174
|
switch (e.h) {
|
|
2175
2175
|
case 0:
|
|
2176
|
-
e.h != 0 ?
|
|
2176
|
+
e.h != 0 ? Cr(e) : _s(e.g);
|
|
2177
2177
|
break;
|
|
2178
2178
|
case 1:
|
|
2179
2179
|
Ht(e = e.g, e.g + 8);
|
|
2180
2180
|
break;
|
|
2181
2181
|
case 2:
|
|
2182
|
-
if (e.h != 2)
|
|
2182
|
+
if (e.h != 2) Cr(e);
|
|
2183
2183
|
else {
|
|
2184
2184
|
var t = vt(e.g);
|
|
2185
2185
|
Ht(e = e.g, e.g + t);
|
|
@@ -2195,40 +2195,40 @@ function Tr(e) {
|
|
|
2195
2195
|
if (e.l != t) throw Error();
|
|
2196
2196
|
break;
|
|
2197
2197
|
}
|
|
2198
|
-
|
|
2198
|
+
Cr(e);
|
|
2199
2199
|
}
|
|
2200
2200
|
break;
|
|
2201
2201
|
default:
|
|
2202
2202
|
throw Error();
|
|
2203
2203
|
}
|
|
2204
2204
|
}
|
|
2205
|
-
function
|
|
2205
|
+
function wr(e, t, i) {
|
|
2206
2206
|
const r = e.g.l;
|
|
2207
2207
|
var n = vt(e.g);
|
|
2208
2208
|
let s = (n = e.g.g + n) - r;
|
|
2209
2209
|
if (s <= 0 && (e.g.l = n, i(t, e, void 0, void 0, void 0), s = n - e.g.g), s) throw Error();
|
|
2210
2210
|
return e.g.g = n, e.g.l = r, t;
|
|
2211
2211
|
}
|
|
2212
|
-
function
|
|
2212
|
+
function Es(e) {
|
|
2213
2213
|
var t = vt(e.g), i = rc(e = e.g, t);
|
|
2214
2214
|
if (e = e.h, vu) {
|
|
2215
2215
|
var r, n = e;
|
|
2216
|
-
(r =
|
|
2216
|
+
(r = wn) || (r = wn = new TextDecoder("utf-8", { fatal: !0 })), t = i + t, n = i === 0 && t === n.length ? n : n.subarray(i, t);
|
|
2217
2217
|
try {
|
|
2218
2218
|
var s = r.decode(n);
|
|
2219
2219
|
} catch (a) {
|
|
2220
|
-
if (
|
|
2220
|
+
if (Er === void 0) {
|
|
2221
2221
|
try {
|
|
2222
2222
|
r.decode(new Uint8Array([128]));
|
|
2223
2223
|
} catch {
|
|
2224
2224
|
}
|
|
2225
2225
|
try {
|
|
2226
|
-
r.decode(new Uint8Array([97])),
|
|
2226
|
+
r.decode(new Uint8Array([97])), Er = !0;
|
|
2227
2227
|
} catch {
|
|
2228
|
-
|
|
2228
|
+
Er = !1;
|
|
2229
2229
|
}
|
|
2230
2230
|
}
|
|
2231
|
-
throw !
|
|
2231
|
+
throw !Er && (wn = void 0), a;
|
|
2232
2232
|
}
|
|
2233
2233
|
} else {
|
|
2234
2234
|
t = (s = i) + t, i = [];
|
|
@@ -2245,7 +2245,7 @@ function cc(e) {
|
|
|
2245
2245
|
const t = vt(e.g);
|
|
2246
2246
|
return nc(e.g, t);
|
|
2247
2247
|
}
|
|
2248
|
-
function
|
|
2248
|
+
function Kr(e, t, i) {
|
|
2249
2249
|
var r = vt(e.g);
|
|
2250
2250
|
for (r = e.g.g + r; e.g.g < r; ) i.push(t(e.g));
|
|
2251
2251
|
}
|
|
@@ -2259,7 +2259,7 @@ var ld = class {
|
|
|
2259
2259
|
this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.init(n, s, o, a);
|
|
2260
2260
|
}
|
|
2261
2261
|
init(n, s, o, { Y: a = !1, ea: l = !1 } = {}) {
|
|
2262
|
-
this.Y = a, this.ea = l, n && (n =
|
|
2262
|
+
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);
|
|
2263
2263
|
}
|
|
2264
2264
|
clear() {
|
|
2265
2265
|
this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.Y = !1;
|
|
@@ -2270,63 +2270,63 @@ var ld = class {
|
|
|
2270
2270
|
o({ ha: e = !1 } = {}) {
|
|
2271
2271
|
this.ha = e;
|
|
2272
2272
|
}
|
|
2273
|
-
},
|
|
2273
|
+
}, Mr = [];
|
|
2274
2274
|
function _o(e) {
|
|
2275
|
-
return e ? /^\d+$/.test(e) ? (
|
|
2275
|
+
return e ? /^\d+$/.test(e) ? (Wr(e), new Ln(J, se)) : null : ud || (ud = new Ln(0, 0));
|
|
2276
2276
|
}
|
|
2277
|
-
var
|
|
2277
|
+
var Ln = class {
|
|
2278
2278
|
constructor(e, t) {
|
|
2279
2279
|
this.h = e >>> 0, this.g = t >>> 0;
|
|
2280
2280
|
}
|
|
2281
2281
|
};
|
|
2282
2282
|
let ud;
|
|
2283
2283
|
function Eo(e) {
|
|
2284
|
-
return e ? /^-?\d+$/.test(e) ? (
|
|
2284
|
+
return e ? /^-?\d+$/.test(e) ? (Wr(e), new Rn(J, se)) : null : dd || (dd = new Rn(0, 0));
|
|
2285
2285
|
}
|
|
2286
|
-
var
|
|
2286
|
+
var Rn = class {
|
|
2287
2287
|
constructor(e, t) {
|
|
2288
2288
|
this.h = e >>> 0, this.g = t >>> 0;
|
|
2289
2289
|
}
|
|
2290
2290
|
};
|
|
2291
2291
|
let dd;
|
|
2292
|
-
function
|
|
2292
|
+
function fi(e, t, i) {
|
|
2293
2293
|
for (; i > 0 || t > 127; ) e.g.push(127 & t | 128), t = (t >>> 7 | i << 25) >>> 0, i >>>= 7;
|
|
2294
2294
|
e.g.push(t);
|
|
2295
2295
|
}
|
|
2296
|
-
function
|
|
2296
|
+
function Oi(e, t) {
|
|
2297
2297
|
for (; t > 127; ) e.g.push(127 & t | 128), t >>>= 7;
|
|
2298
2298
|
e.g.push(t);
|
|
2299
2299
|
}
|
|
2300
|
-
function
|
|
2301
|
-
if (t >= 0)
|
|
2300
|
+
function Yr(e, t) {
|
|
2301
|
+
if (t >= 0) Oi(e, t);
|
|
2302
2302
|
else {
|
|
2303
2303
|
for (let i = 0; i < 9; i++) e.g.push(127 & t | 128), t >>= 7;
|
|
2304
2304
|
e.g.push(1);
|
|
2305
2305
|
}
|
|
2306
2306
|
}
|
|
2307
|
-
function
|
|
2307
|
+
function ks(e) {
|
|
2308
2308
|
var t = J;
|
|
2309
2309
|
e.g.push(t >>> 0 & 255), e.g.push(t >>> 8 & 255), e.g.push(t >>> 16 & 255), e.g.push(t >>> 24 & 255);
|
|
2310
2310
|
}
|
|
2311
|
-
function
|
|
2311
|
+
function Ei(e, t) {
|
|
2312
2312
|
t.length !== 0 && (e.l.push(t), e.h += t.length);
|
|
2313
2313
|
}
|
|
2314
|
-
function
|
|
2315
|
-
|
|
2316
|
-
}
|
|
2317
|
-
function ks(e, t) {
|
|
2318
|
-
return qe(e, t, 2), t = e.g.end(), _i(e, t), t.push(e.h), t;
|
|
2314
|
+
function He(e, t, i) {
|
|
2315
|
+
Oi(e.g, 8 * t + i);
|
|
2319
2316
|
}
|
|
2320
2317
|
function As(e, t) {
|
|
2318
|
+
return He(e, t, 2), t = e.g.end(), Ei(e, t), t.push(e.h), t;
|
|
2319
|
+
}
|
|
2320
|
+
function Ts(e, t) {
|
|
2321
2321
|
var i = t.pop();
|
|
2322
2322
|
for (i = e.h + e.g.length() - i; i > 127; ) t.push(127 & i | 128), i >>>= 7, e.h++;
|
|
2323
2323
|
t.push(i), e.h++;
|
|
2324
2324
|
}
|
|
2325
|
-
function
|
|
2326
|
-
|
|
2325
|
+
function Xr(e, t, i) {
|
|
2326
|
+
He(e, t, 2), Oi(e.g, i.length), Ei(e, e.g.end()), Ei(e, i);
|
|
2327
2327
|
}
|
|
2328
|
-
function
|
|
2329
|
-
i != null && (t =
|
|
2328
|
+
function Pr(e, t, i, r) {
|
|
2329
|
+
i != null && (t = As(e, t), r(i, e), Ts(e, t));
|
|
2330
2330
|
}
|
|
2331
2331
|
function ut() {
|
|
2332
2332
|
const e = class {
|
|
@@ -2336,7 +2336,7 @@ function ut() {
|
|
|
2336
2336
|
};
|
|
2337
2337
|
return Object.setPrototypeOf(e, e.prototype), e;
|
|
2338
2338
|
}
|
|
2339
|
-
var
|
|
2339
|
+
var Ns = ut(), lc = ut(), Cs = ut(), Ss = ut(), uc = ut(), dc = ut(), hd = ut(), Qr = ut(), hc = ut(), fc = ut();
|
|
2340
2340
|
function dt(e, t, i) {
|
|
2341
2341
|
var r = e.v;
|
|
2342
2342
|
Le && Le in r && (r = r[Le]) && delete r[t.g], t.h ? t.j(e, t.h, t.g, i, t.l) : t.j(e, t.g, i, t.l);
|
|
@@ -2351,7 +2351,7 @@ var E = class {
|
|
|
2351
2351
|
j() {
|
|
2352
2352
|
var n;
|
|
2353
2353
|
var e = Kd, t = this.v, i = e.g, r = Le;
|
|
2354
|
-
if (
|
|
2354
|
+
if (Ii && r && ((n = t[r]) == null ? void 0 : n[i]) != null && pi(Fu, 3), t = e.g, lo && Le && lo === void 0 && (r = (i = this.v)[Le]) && (r = r.da)) try {
|
|
2355
2355
|
r(i, t, td);
|
|
2356
2356
|
} catch (s) {
|
|
2357
2357
|
Ca(s);
|
|
@@ -2360,29 +2360,29 @@ var E = class {
|
|
|
2360
2360
|
}
|
|
2361
2361
|
clone() {
|
|
2362
2362
|
const e = this.v, t = 0 | e[_];
|
|
2363
|
-
return
|
|
2363
|
+
return ws(this, e, t) ? hs(this, e, !0) : new this.constructor(Ri(e, t, !1));
|
|
2364
2364
|
}
|
|
2365
2365
|
};
|
|
2366
|
-
E.prototype[
|
|
2366
|
+
E.prototype[yi] = bi, E.prototype.toString = function() {
|
|
2367
2367
|
return this.v.toString();
|
|
2368
2368
|
};
|
|
2369
|
-
var
|
|
2369
|
+
var Bi = class {
|
|
2370
2370
|
constructor(e, t, i) {
|
|
2371
|
-
this.g = e, this.h = t, e =
|
|
2371
|
+
this.g = e, this.h = t, e = Ns, this.l = !!e && i === e || !1;
|
|
2372
2372
|
}
|
|
2373
2373
|
};
|
|
2374
|
-
function
|
|
2375
|
-
return new
|
|
2374
|
+
function Jr(e, t) {
|
|
2375
|
+
return new Bi(e, t, Ns);
|
|
2376
2376
|
}
|
|
2377
2377
|
function wc(e, t, i, r, n) {
|
|
2378
|
-
|
|
2378
|
+
Pr(e, i, yc(t, r), n);
|
|
2379
2379
|
}
|
|
2380
|
-
const fd =
|
|
2381
|
-
return e.h === 2 && (
|
|
2382
|
-
}, wc), wd =
|
|
2383
|
-
return e.h === 2 && (
|
|
2380
|
+
const fd = Jr(function(e, t, i, r, n) {
|
|
2381
|
+
return e.h === 2 && (wr(e, bs(t, r, i), n), !0);
|
|
2382
|
+
}, wc), wd = Jr(function(e, t, i, r, n) {
|
|
2383
|
+
return e.h === 2 && (wr(e, bs(t, r, i), n), !0);
|
|
2384
2384
|
}, wc);
|
|
2385
|
-
var
|
|
2385
|
+
var Zr = Symbol(), en = Symbol(), Mn = Symbol(), ko = Symbol(), Ao = Symbol();
|
|
2386
2386
|
let mc, gc;
|
|
2387
2387
|
function Zt(e, t, i, r) {
|
|
2388
2388
|
var n = r[e];
|
|
@@ -2411,7 +2411,7 @@ function Zt(e, t, i, r) {
|
|
|
2411
2411
|
let h;
|
|
2412
2412
|
typeof s == "number" && (l += s, s = r[++o]);
|
|
2413
2413
|
var d = void 0;
|
|
2414
|
-
if (s instanceof
|
|
2414
|
+
if (s instanceof Bi ? h = s : (h = fd, o--), h == null ? void 0 : h.l) {
|
|
2415
2415
|
s = r[++o], d = r;
|
|
2416
2416
|
var u = o;
|
|
2417
2417
|
typeof s == "function" && (s = s(), d[u] = s), d = s;
|
|
@@ -2424,24 +2424,24 @@ function Zt(e, t, i, r) {
|
|
|
2424
2424
|
return r[e] = n;
|
|
2425
2425
|
}
|
|
2426
2426
|
function pc(e) {
|
|
2427
|
-
return Array.isArray(e) ? e[0] instanceof
|
|
2427
|
+
return Array.isArray(e) ? e[0] instanceof Bi ? e : [wd, e] : [e, void 0];
|
|
2428
2428
|
}
|
|
2429
2429
|
function yc(e, t) {
|
|
2430
2430
|
return e instanceof E ? e.v : Array.isArray(e) ? Wt(e, t) : void 0;
|
|
2431
2431
|
}
|
|
2432
|
-
function
|
|
2432
|
+
function Is(e, t, i, r) {
|
|
2433
2433
|
const n = i.g;
|
|
2434
2434
|
e[t] = r ? (s, o, a) => n(s, o, a, r) : n;
|
|
2435
2435
|
}
|
|
2436
|
-
function
|
|
2436
|
+
function Fs(e, t, i, r, n) {
|
|
2437
2437
|
const s = i.g;
|
|
2438
2438
|
let o, a;
|
|
2439
|
-
e[t] = (l, d, u) => s(l, d, u, a || (a = Zt(
|
|
2439
|
+
e[t] = (l, d, u) => s(l, d, u, a || (a = Zt(en, Is, Fs, r).T), o || (o = Ls(r)), n);
|
|
2440
2440
|
}
|
|
2441
|
-
function
|
|
2442
|
-
let t = e[
|
|
2441
|
+
function Ls(e) {
|
|
2442
|
+
let t = e[Mn];
|
|
2443
2443
|
if (t != null) return t;
|
|
2444
|
-
const i = Zt(
|
|
2444
|
+
const i = Zt(en, Is, Fs, e);
|
|
2445
2445
|
return t = i.ma ? (r, n) => mc(r, n, i) : (r, n) => {
|
|
2446
2446
|
for (; ac(n) && n.h != 4; ) {
|
|
2447
2447
|
var s = n.l, o = i[s];
|
|
@@ -2450,17 +2450,17 @@ function Fs(e) {
|
|
|
2450
2450
|
a && (a = a[s]) && (a = gd(a)) != null && (o = i[s] = a);
|
|
2451
2451
|
}
|
|
2452
2452
|
if (o == null || !o(n, r, s)) {
|
|
2453
|
-
if (o = (a = n).m,
|
|
2453
|
+
if (o = (a = n).m, Cr(a), a.ha) var l = void 0;
|
|
2454
2454
|
else l = a.g.g - o, a.g.g = o, l = nc(a.g, l);
|
|
2455
|
-
o = void 0, a = r, l && ((o = a[Le] ?? (a[Le] = new
|
|
2455
|
+
o = void 0, a = r, l && ((o = a[Le] ?? (a[Le] = new Fn()))[s] ?? (o[s] = [])).push(l);
|
|
2456
2456
|
}
|
|
2457
2457
|
}
|
|
2458
|
-
return (r =
|
|
2459
|
-
}, e[
|
|
2458
|
+
return (r = zr(r)) && (r.da = i.qa[Ao]), !0;
|
|
2459
|
+
}, e[Mn] = t, e[Ao] = md.bind(e), t;
|
|
2460
2460
|
}
|
|
2461
2461
|
function md(e, t, i, r) {
|
|
2462
|
-
var n = this[
|
|
2463
|
-
const s = this[
|
|
2462
|
+
var n = this[en];
|
|
2463
|
+
const s = this[Mn], o = Wt(void 0, n.T), a = zr(e);
|
|
2464
2464
|
if (a) {
|
|
2465
2465
|
var l = !1, d = n.ba;
|
|
2466
2466
|
if (d) {
|
|
@@ -2474,7 +2474,7 @@ function md(e, t, i, r) {
|
|
|
2474
2474
|
}
|
|
2475
2475
|
}
|
|
2476
2476
|
else r == null || r(e, h, f);
|
|
2477
|
-
}, t == null)
|
|
2477
|
+
}, t == null) Fr(a, n);
|
|
2478
2478
|
else if (a != null) {
|
|
2479
2479
|
const u = a[t];
|
|
2480
2480
|
u && n(a, t, u);
|
|
@@ -2482,7 +2482,7 @@ function md(e, t, i, r) {
|
|
|
2482
2482
|
if (l) {
|
|
2483
2483
|
let u = 0 | e[_];
|
|
2484
2484
|
if (2 & u && 2048 & u && !(i != null && i.Ka)) throw Error();
|
|
2485
|
-
const h =
|
|
2485
|
+
const h = Fi(u), f = (m, g) => {
|
|
2486
2486
|
if (pt(e, m, h) != null) {
|
|
2487
2487
|
if ((i == null ? void 0 : i.Qa) === 1) return;
|
|
2488
2488
|
throw Error();
|
|
@@ -2499,23 +2499,23 @@ function md(e, t, i, r) {
|
|
|
2499
2499
|
function gd(e) {
|
|
2500
2500
|
const t = (e = pc(e))[0].g;
|
|
2501
2501
|
if (e = e[1]) {
|
|
2502
|
-
const i =
|
|
2502
|
+
const i = Ls(e), r = Zt(en, Is, Fs, e).T;
|
|
2503
2503
|
return (n, s, o) => t(n, s, o, r, i);
|
|
2504
2504
|
}
|
|
2505
2505
|
return t;
|
|
2506
2506
|
}
|
|
2507
|
-
function
|
|
2507
|
+
function tn(e, t, i) {
|
|
2508
2508
|
e[t] = i.h;
|
|
2509
2509
|
}
|
|
2510
|
-
function
|
|
2510
|
+
function rn(e, t, i, r) {
|
|
2511
2511
|
let n, s;
|
|
2512
2512
|
const o = i.h;
|
|
2513
|
-
e[t] = (a, l, d) => o(a, l, d, s || (s = Zt(
|
|
2513
|
+
e[t] = (a, l, d) => o(a, l, d, s || (s = Zt(Zr, tn, rn, r).T), n || (n = bc(r)));
|
|
2514
2514
|
}
|
|
2515
2515
|
function bc(e) {
|
|
2516
2516
|
let t = e[ko];
|
|
2517
2517
|
if (!t) {
|
|
2518
|
-
const i = Zt(
|
|
2518
|
+
const i = Zt(Zr, tn, rn, e);
|
|
2519
2519
|
t = (r, n) => vc(r, n, i), e[ko] = t;
|
|
2520
2520
|
}
|
|
2521
2521
|
return t;
|
|
@@ -2529,20 +2529,20 @@ function vc(e, t, i) {
|
|
|
2529
2529
|
if ((l = o.ba) && (l = l[a])) {
|
|
2530
2530
|
var d = (l = pc(l))[0].h;
|
|
2531
2531
|
if (l = l[1]) {
|
|
2532
|
-
const u = bc(l), h = Zt(
|
|
2532
|
+
const u = bc(l), h = Zt(Zr, tn, rn, l).T;
|
|
2533
2533
|
l = o.ma ? gc(h, u) : (f, m, g) => d(f, m, g, h, u);
|
|
2534
2534
|
} else l = d;
|
|
2535
2535
|
return o[a] = l;
|
|
2536
2536
|
}
|
|
2537
2537
|
}(i, r);
|
|
2538
|
-
s ? s(t, n, r) : r < 500 ||
|
|
2538
|
+
s ? s(t, n, r) : r < 500 || pi(Cn, 3);
|
|
2539
2539
|
}
|
|
2540
|
-
}), (e =
|
|
2541
|
-
for (
|
|
2540
|
+
}), (e = zr(e)) && Fr(e, (r, n, s) => {
|
|
2541
|
+
for (Ei(t, t.g.end()), r = 0; r < s.length; r++) Ei(t, ns(s[r]) || new Uint8Array(0));
|
|
2542
2542
|
});
|
|
2543
2543
|
}
|
|
2544
2544
|
const pd = Re(0);
|
|
2545
|
-
function
|
|
2545
|
+
function Ui(e, t) {
|
|
2546
2546
|
if (Array.isArray(t)) {
|
|
2547
2547
|
var i = 0 | t[_];
|
|
2548
2548
|
if (4 & i) return t;
|
|
@@ -2554,175 +2554,175 @@ function Bi(e, t) {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
2556
2556
|
function _e(e, t, i) {
|
|
2557
|
-
return new
|
|
2557
|
+
return new Bi(e, t, i);
|
|
2558
2558
|
}
|
|
2559
|
-
function
|
|
2560
|
-
return new
|
|
2559
|
+
function Gi(e, t, i) {
|
|
2560
|
+
return new Bi(e, t, i);
|
|
2561
2561
|
}
|
|
2562
2562
|
function me(e, t, i) {
|
|
2563
|
-
ce(e, 0 | e[_], t, i,
|
|
2563
|
+
ce(e, 0 | e[_], t, i, Fi(0 | e[_]));
|
|
2564
2564
|
}
|
|
2565
|
-
var yd =
|
|
2565
|
+
var yd = Jr(function(e, t, i, r, n) {
|
|
2566
2566
|
if (e.h !== 2) return !1;
|
|
2567
|
-
if (e = Qe(e =
|
|
2567
|
+
if (e = Qe(e = wr(e, Wt([void 0, void 0], r), n)), n = Fi(r = 0 | t[_]), 2 & r) throw Error();
|
|
2568
2568
|
let s = pt(t, i, n);
|
|
2569
2569
|
if (s instanceof gt) 2 & s.J ? (s = s.V(), s.push(e), ce(t, r, i, s, n)) : s.Ma(e);
|
|
2570
2570
|
else if (Array.isArray(s)) {
|
|
2571
2571
|
var o = 0 | s[_];
|
|
2572
2572
|
8192 & o || ue(s, o |= 8192), 2 & o && (s = Qa(s), ce(t, r, i, s, n)), s.push(e);
|
|
2573
|
-
} else ce(t, r, i,
|
|
2573
|
+
} else ce(t, r, i, rr([e]), n);
|
|
2574
2574
|
return !0;
|
|
2575
2575
|
}, function(e, t, i, r, n) {
|
|
2576
2576
|
if (t instanceof gt) t.forEach((s, o) => {
|
|
2577
|
-
|
|
2577
|
+
Pr(e, i, Wt([o, s], r), n);
|
|
2578
2578
|
});
|
|
2579
2579
|
else if (Array.isArray(t)) {
|
|
2580
2580
|
for (let s = 0; s < t.length; s++) {
|
|
2581
2581
|
const o = t[s];
|
|
2582
|
-
Array.isArray(o) &&
|
|
2582
|
+
Array.isArray(o) && Pr(e, i, Wt(o, r), n);
|
|
2583
2583
|
}
|
|
2584
|
-
|
|
2584
|
+
rr(t);
|
|
2585
2585
|
}
|
|
2586
2586
|
});
|
|
2587
2587
|
function xc(e, t, i) {
|
|
2588
|
-
(t = at(t)) != null && (
|
|
2588
|
+
(t = at(t)) != null && (He(e, i, 5), e = e.g, os(t), ks(e));
|
|
2589
2589
|
}
|
|
2590
2590
|
function _c(e, t, i) {
|
|
2591
2591
|
if (t = function(r) {
|
|
2592
2592
|
if (r == null) return r;
|
|
2593
2593
|
const n = typeof r;
|
|
2594
|
-
if (n === "bigint") return String(
|
|
2595
|
-
if (
|
|
2594
|
+
if (n === "bigint") return String(dr(64, r));
|
|
2595
|
+
if (hr(r)) {
|
|
2596
2596
|
if (n === "string") return Wa(r);
|
|
2597
|
-
if (n === "number") return
|
|
2597
|
+
if (n === "number") return us(r);
|
|
2598
2598
|
}
|
|
2599
2599
|
}(t), t != null && (typeof t == "string" && Eo(t), t != null))
|
|
2600
|
-
switch (
|
|
2600
|
+
switch (He(e, i, 0), typeof t) {
|
|
2601
2601
|
case "number":
|
|
2602
|
-
e = e.g,
|
|
2602
|
+
e = e.g, vi(t), fi(e, J, se);
|
|
2603
2603
|
break;
|
|
2604
2604
|
case "bigint":
|
|
2605
|
-
i = BigInt.asUintN(64, t), i = new
|
|
2605
|
+
i = BigInt.asUintN(64, t), i = new Rn(Number(i & BigInt(4294967295)), Number(i >> BigInt(32))), fi(e.g, i.h, i.g);
|
|
2606
2606
|
break;
|
|
2607
2607
|
default:
|
|
2608
|
-
i = Eo(t),
|
|
2608
|
+
i = Eo(t), fi(e.g, i.h, i.g);
|
|
2609
2609
|
}
|
|
2610
2610
|
}
|
|
2611
2611
|
function Ec(e, t, i) {
|
|
2612
|
-
(t =
|
|
2612
|
+
(t = Li(t)) != null && t != null && (He(e, i, 0), Yr(e.g, t));
|
|
2613
2613
|
}
|
|
2614
2614
|
function kc(e, t, i) {
|
|
2615
|
-
(t = Ga(t)) != null && (
|
|
2615
|
+
(t = Ga(t)) != null && (He(e, i, 0), e.g.g.push(t ? 1 : 0));
|
|
2616
2616
|
}
|
|
2617
2617
|
function Ac(e, t, i) {
|
|
2618
|
-
(t = pe(t)) != null &&
|
|
2618
|
+
(t = pe(t)) != null && Xr(e, i, Na(t));
|
|
2619
2619
|
}
|
|
2620
2620
|
function Tc(e, t, i, r, n) {
|
|
2621
|
-
|
|
2621
|
+
Pr(e, i, yc(t, r), n);
|
|
2622
2622
|
}
|
|
2623
2623
|
function Nc(e, t, i) {
|
|
2624
|
-
(t = t == null || typeof t == "string" || t instanceof ct ? t : void 0) != null &&
|
|
2624
|
+
(t = t == null || typeof t == "string" || t instanceof ct ? t : void 0) != null && Xr(e, i, xs(t, !0).buffer);
|
|
2625
2625
|
}
|
|
2626
2626
|
function Cc(e, t, i) {
|
|
2627
|
-
return (e.h === 5 || e.h === 2) && (t =
|
|
2627
|
+
return (e.h === 5 || e.h === 2) && (t = Di(t, 0 | t[_], i), e.h == 2 ? Kr(e, Rr, t) : t.push(Rr(e.g)), !0);
|
|
2628
2628
|
}
|
|
2629
2629
|
var oe = _e(function(e, t, i) {
|
|
2630
|
-
return e.h === 5 && (me(t, i,
|
|
2631
|
-
}, xc,
|
|
2632
|
-
if ((t =
|
|
2630
|
+
return e.h === 5 && (me(t, i, Rr(e.g)), !0);
|
|
2631
|
+
}, xc, Qr), bd = Gi(Cc, function(e, t, i) {
|
|
2632
|
+
if ((t = Ui(at, t)) != null) for (let o = 0; o < t.length; o++) {
|
|
2633
2633
|
var r = e, n = i, s = t[o];
|
|
2634
|
-
s != null && (
|
|
2635
|
-
}
|
|
2636
|
-
},
|
|
2637
|
-
if ((t =
|
|
2638
|
-
|
|
2639
|
-
for (let r = 0; r < t.length; r++) i = e.g,
|
|
2640
|
-
}
|
|
2641
|
-
},
|
|
2642
|
-
return e.h === 5 && (me(t, i, (e =
|
|
2643
|
-
}, xc,
|
|
2644
|
-
return
|
|
2645
|
-
}, _c, dc),
|
|
2646
|
-
return
|
|
2634
|
+
s != null && (He(r, n, 5), r = r.g, os(s), ks(r));
|
|
2635
|
+
}
|
|
2636
|
+
}, Qr), Rs = Gi(Cc, function(e, t, i) {
|
|
2637
|
+
if ((t = Ui(at, t)) != null && t.length) {
|
|
2638
|
+
He(e, i, 2), Oi(e.g, 4 * t.length);
|
|
2639
|
+
for (let r = 0; r < t.length; r++) i = e.g, os(t[r]), ks(i);
|
|
2640
|
+
}
|
|
2641
|
+
}, Qr), vd = _e(function(e, t, i) {
|
|
2642
|
+
return e.h === 5 && (me(t, i, (e = Rr(e.g)) === 0 ? void 0 : e), !0);
|
|
2643
|
+
}, xc, Qr), Pt = _e(function(e, t, i) {
|
|
2644
|
+
return ts ? (e.h !== 0 ? e = !1 : (me(t, i, _i(e.g, Ua)), e = !0), e) : e.h === 0 && (me(t, i, _i(e.g, as)), !0);
|
|
2645
|
+
}, _c, dc), yn = _e(function(e, t, i) {
|
|
2646
|
+
return ts ? (e.h !== 0 ? t = !1 : (me(t, i, (e = _i(e.g, Ua)) === pd ? void 0 : e), t = !0), t) : e.h === 0 && (me(t, i, (e = _i(e.g, as)) === 0 ? void 0 : e), !0);
|
|
2647
2647
|
}, _c, dc), xd = _e(function(e, t, i) {
|
|
2648
|
-
return
|
|
2648
|
+
return ts ? (e.h !== 0 ? e = !1 : (me(t, i, _i(e.g, Wu)), e = !0), e) : e.h === 0 && (me(t, i, _i(e.g, In)), !0);
|
|
2649
2649
|
}, function(e, t, i) {
|
|
2650
2650
|
if (t = function(r) {
|
|
2651
2651
|
if (r == null) return r;
|
|
2652
2652
|
var n = typeof r;
|
|
2653
2653
|
if (n === "bigint") return String($u(64, r));
|
|
2654
|
-
if (
|
|
2655
|
-
if (n === "string") return n =
|
|
2656
|
-
if (n === "number") return (r =
|
|
2654
|
+
if (hr(r)) {
|
|
2655
|
+
if (n === "string") return n = xi(Number(r)), Xt(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 = nr(J, se))), r;
|
|
2656
|
+
if (n === "number") return (r = xi(r)) >= 0 && Xt(r) || (vi(r), r = In(J, se)), r;
|
|
2657
2657
|
}
|
|
2658
2658
|
}(t), t != null && (typeof t == "string" && _o(t), t != null))
|
|
2659
|
-
switch (
|
|
2659
|
+
switch (He(e, i, 0), typeof t) {
|
|
2660
2660
|
case "number":
|
|
2661
|
-
e = e.g,
|
|
2661
|
+
e = e.g, vi(t), fi(e, J, se);
|
|
2662
2662
|
break;
|
|
2663
2663
|
case "bigint":
|
|
2664
|
-
i = BigInt.asUintN(64, t), i = new
|
|
2664
|
+
i = BigInt.asUintN(64, t), i = new Ln(Number(i & BigInt(4294967295)), Number(i >> BigInt(32))), fi(e.g, i.h, i.g);
|
|
2665
2665
|
break;
|
|
2666
2666
|
default:
|
|
2667
|
-
i = _o(t),
|
|
2667
|
+
i = _o(t), fi(e.g, i.h, i.g);
|
|
2668
2668
|
}
|
|
2669
2669
|
}, hd), we = _e(function(e, t, i) {
|
|
2670
2670
|
return e.h === 0 && (me(t, i, Mt(e.g)), !0);
|
|
2671
|
-
}, Ec,
|
|
2672
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
2671
|
+
}, Ec, Ss), mr = Gi(function(e, t, i) {
|
|
2672
|
+
return (e.h === 0 || e.h === 2) && (t = Di(t, 0 | t[_], i), e.h == 2 ? Kr(e, Mt, t) : t.push(Mt(e.g)), !0);
|
|
2673
2673
|
}, function(e, t, i) {
|
|
2674
|
-
if ((t =
|
|
2675
|
-
i =
|
|
2676
|
-
for (let r = 0; r < t.length; r++)
|
|
2677
|
-
|
|
2674
|
+
if ((t = Ui(Li, t)) != null && t.length) {
|
|
2675
|
+
i = As(e, i);
|
|
2676
|
+
for (let r = 0; r < t.length; r++) Yr(e.g, t[r]);
|
|
2677
|
+
Ts(e, i);
|
|
2678
2678
|
}
|
|
2679
|
-
},
|
|
2679
|
+
}, Ss), hi = _e(function(e, t, i) {
|
|
2680
2680
|
return e.h === 0 && (me(t, i, (e = Mt(e.g)) === 0 ? void 0 : e), !0);
|
|
2681
|
-
}, Ec,
|
|
2682
|
-
return e.h === 0 && (me(t, i,
|
|
2681
|
+
}, Ec, Ss), ne = _e(function(e, t, i) {
|
|
2682
|
+
return e.h === 0 && (me(t, i, _s(e.g)), !0);
|
|
2683
2683
|
}, kc, lc), qt = _e(function(e, t, i) {
|
|
2684
|
-
return e.h === 0 && (me(t, i, (e =
|
|
2685
|
-
}, kc, lc), be =
|
|
2686
|
-
return e.h === 2 && (e =
|
|
2684
|
+
return e.h === 0 && (me(t, i, (e = _s(e.g)) === !1 ? void 0 : e), !0);
|
|
2685
|
+
}, kc, lc), be = Gi(function(e, t, i) {
|
|
2686
|
+
return e.h === 2 && (e = Es(e), Di(t, 0 | t[_], i).push(e), !0);
|
|
2687
2687
|
}, function(e, t, i) {
|
|
2688
|
-
if ((t =
|
|
2688
|
+
if ((t = Ui(pe, t)) != null) for (let o = 0; o < t.length; o++) {
|
|
2689
2689
|
var r = e, n = i, s = t[o];
|
|
2690
|
-
s != null &&
|
|
2691
|
-
}
|
|
2692
|
-
},
|
|
2693
|
-
return e.h === 2 && (me(t, i, (e =
|
|
2694
|
-
}, Ac,
|
|
2695
|
-
return e.h === 2 && (me(t, i,
|
|
2696
|
-
}, Ac,
|
|
2697
|
-
return new
|
|
2690
|
+
s != null && Xr(r, n, Na(s));
|
|
2691
|
+
}
|
|
2692
|
+
}, Cs), Lt = _e(function(e, t, i) {
|
|
2693
|
+
return e.h === 2 && (me(t, i, (e = Es(e)) === "" ? void 0 : e), !0);
|
|
2694
|
+
}, Ac, Cs), z = _e(function(e, t, i) {
|
|
2695
|
+
return e.h === 2 && (me(t, i, Es(e)), !0);
|
|
2696
|
+
}, Ac, Cs), fe = function(e, t, i = Ns) {
|
|
2697
|
+
return new Bi(e, t, i);
|
|
2698
2698
|
}(function(e, t, i, r, n) {
|
|
2699
|
-
return e.h === 2 && (r = Wt(void 0, r),
|
|
2699
|
+
return e.h === 2 && (r = Wt(void 0, r), Di(t, 0 | t[_], i).push(r), wr(e, r, n), !0);
|
|
2700
2700
|
}, function(e, t, i, r, n) {
|
|
2701
2701
|
if (Array.isArray(t)) {
|
|
2702
2702
|
for (let s = 0; s < t.length; s++) Tc(e, t[s], i, r, n);
|
|
2703
2703
|
1 & (e = 0 | t[_]) || ue(t, 1 | e);
|
|
2704
2704
|
}
|
|
2705
|
-
}), ie =
|
|
2705
|
+
}), ie = Jr(function(e, t, i, r, n, s) {
|
|
2706
2706
|
if (e.h !== 2) return !1;
|
|
2707
2707
|
let o = 0 | t[_];
|
|
2708
|
-
return Ja(t, o, s, i,
|
|
2708
|
+
return Ja(t, o, s, i, Fi(o)), wr(e, t = bs(t, r, i), n), !0;
|
|
2709
2709
|
}, Tc), Sc = _e(function(e, t, i) {
|
|
2710
2710
|
return e.h === 2 && (me(t, i, cc(e)), !0);
|
|
2711
|
-
}, Nc, hc), _d =
|
|
2712
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
2711
|
+
}, Nc, hc), _d = Gi(function(e, t, i) {
|
|
2712
|
+
return (e.h === 0 || e.h === 2) && (t = Di(t, 0 | t[_], i), e.h == 2 ? Kr(e, vt, t) : t.push(vt(e.g)), !0);
|
|
2713
2713
|
}, function(e, t, i) {
|
|
2714
|
-
if ((t =
|
|
2714
|
+
if ((t = Ui(Va, t)) != null) for (let o = 0; o < t.length; o++) {
|
|
2715
2715
|
var r = e, n = i, s = t[o];
|
|
2716
|
-
s != null && (
|
|
2716
|
+
s != null && (He(r, n, 0), Oi(r.g, s));
|
|
2717
2717
|
}
|
|
2718
2718
|
}, uc), Ed = _e(function(e, t, i) {
|
|
2719
2719
|
return e.h === 0 && (me(t, i, (e = vt(e.g)) === 0 ? void 0 : e), !0);
|
|
2720
2720
|
}, function(e, t, i) {
|
|
2721
|
-
(t = Va(t)) != null && t != null && (
|
|
2721
|
+
(t = Va(t)) != null && t != null && (He(e, i, 0), Oi(e.g, t));
|
|
2722
2722
|
}, uc), De = _e(function(e, t, i) {
|
|
2723
2723
|
return e.h === 0 && (me(t, i, Mt(e.g)), !0);
|
|
2724
2724
|
}, function(e, t, i) {
|
|
2725
|
-
(t =
|
|
2725
|
+
(t = Li(t)) != null && (t = parseInt(t, 10), He(e, i, 0), Yr(e.g, t));
|
|
2726
2726
|
}, fc);
|
|
2727
2727
|
class kd {
|
|
2728
2728
|
constructor(t, i) {
|
|
@@ -2730,7 +2730,7 @@ class kd {
|
|
|
2730
2730
|
this.g = t, this.h = i, this.m = G, this.j = T, this.defaultValue = void 0, this.l = r.Oa != null ? Ba : void 0;
|
|
2731
2731
|
}
|
|
2732
2732
|
register() {
|
|
2733
|
-
|
|
2733
|
+
Gr(this);
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
2736
2736
|
function ht(e, t) {
|
|
@@ -2743,7 +2743,7 @@ function Dt(e, t) {
|
|
|
2743
2743
|
r && Object.assign(s, r), i = sc(i, void 0, void 0, s);
|
|
2744
2744
|
try {
|
|
2745
2745
|
const o = new e(), a = o.v;
|
|
2746
|
-
|
|
2746
|
+
Ls(t)(a, i);
|
|
2747
2747
|
var n = o;
|
|
2748
2748
|
} finally {
|
|
2749
2749
|
oc(i);
|
|
@@ -2752,7 +2752,7 @@ function Dt(e, t) {
|
|
|
2752
2752
|
return n;
|
|
2753
2753
|
};
|
|
2754
2754
|
}
|
|
2755
|
-
function
|
|
2755
|
+
function nn(e) {
|
|
2756
2756
|
return function() {
|
|
2757
2757
|
const t = new class {
|
|
2758
2758
|
constructor() {
|
|
@@ -2770,7 +2770,7 @@ function tn(e) {
|
|
|
2770
2770
|
}();
|
|
2771
2771
|
}
|
|
2772
2772
|
}();
|
|
2773
|
-
vc(this.v, t, Zt(
|
|
2773
|
+
vc(this.v, t, Zt(Zr, tn, rn, e)), Ei(t, t.g.end());
|
|
2774
2774
|
const i = new Uint8Array(t.h), r = t.l, n = r.length;
|
|
2775
2775
|
let s = 0;
|
|
2776
2776
|
for (let o = 0; o < n; o++) {
|
|
@@ -2790,16 +2790,16 @@ var To = class extends E {
|
|
|
2790
2790
|
if (t != null) {
|
|
2791
2791
|
if (t instanceof E) {
|
|
2792
2792
|
const r = t.Ra;
|
|
2793
|
-
return void (r ? (t = r(t), t != null &&
|
|
2793
|
+
return void (r ? (t = r(t), t != null && Xr(e, i, xs(t, !0).buffer)) : pi(Cn, 3));
|
|
2794
2794
|
}
|
|
2795
|
-
if (Array.isArray(t)) return void
|
|
2795
|
+
if (Array.isArray(t)) return void pi(Cn, 3);
|
|
2796
2796
|
}
|
|
2797
2797
|
Nc(e, t, i);
|
|
2798
2798
|
}, hc)];
|
|
2799
|
-
let
|
|
2799
|
+
let bn, Co = globalThis.trustedTypes;
|
|
2800
2800
|
function So(e) {
|
|
2801
2801
|
var t;
|
|
2802
|
-
return
|
|
2802
|
+
return bn === void 0 && (bn = function() {
|
|
2803
2803
|
let i = null;
|
|
2804
2804
|
if (!Co) return i;
|
|
2805
2805
|
try {
|
|
@@ -2808,7 +2808,7 @@ function So(e) {
|
|
|
2808
2808
|
} catch {
|
|
2809
2809
|
}
|
|
2810
2810
|
return i;
|
|
2811
|
-
}()), e = (t =
|
|
2811
|
+
}()), e = (t = bn) ? t.createScriptURL(e) : e, new class {
|
|
2812
2812
|
constructor(i) {
|
|
2813
2813
|
this.g = i;
|
|
2814
2814
|
}
|
|
@@ -2823,17 +2823,17 @@ function Ad(e, ...t) {
|
|
|
2823
2823
|
for (let r = 0; r < t.length; r++) i += encodeURIComponent(t[r]) + e[r + 1];
|
|
2824
2824
|
return So(i);
|
|
2825
2825
|
}
|
|
2826
|
-
var Ic = [0, we, De, ne, -1,
|
|
2826
|
+
var Ic = [0, we, De, ne, -1, mr, De, -1, ne], Td = class extends E {
|
|
2827
2827
|
constructor(e) {
|
|
2828
2828
|
super(e);
|
|
2829
2829
|
}
|
|
2830
|
-
}, Fc = [0, ne, z, ne, De, -1,
|
|
2831
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
2830
|
+
}, Fc = [0, ne, z, ne, De, -1, Gi(function(e, t, i) {
|
|
2831
|
+
return (e.h === 0 || e.h === 2) && (t = Di(t, 0 | t[_], i), e.h == 2 ? Kr(e, cd, t) : t.push(Mt(e.g)), !0);
|
|
2832
2832
|
}, function(e, t, i) {
|
|
2833
|
-
if ((t =
|
|
2834
|
-
i =
|
|
2835
|
-
for (let r = 0; r < t.length; r++)
|
|
2836
|
-
|
|
2833
|
+
if ((t = Ui(Li, t)) != null && t.length) {
|
|
2834
|
+
i = As(e, i);
|
|
2835
|
+
for (let r = 0; r < t.length; r++) Yr(e.g, t[r]);
|
|
2836
|
+
Ts(e, i);
|
|
2837
2837
|
}
|
|
2838
2838
|
}, fc), z, -1, [0, ne, -1], De, ne, -1], Lc = [0, 3, ne, -1, 2, [0, we], [0, De, ne], [0, z, -1], [0]], Rc = [0, z, -2], Io = class extends E {
|
|
2839
2839
|
constructor(e) {
|
|
@@ -2844,13 +2844,13 @@ var Ic = [0, we, De, ne, -1, fr, De, -1, ne], Td = class extends E {
|
|
|
2844
2844
|
super(e, 2);
|
|
2845
2845
|
}
|
|
2846
2846
|
}, le = {};
|
|
2847
|
-
le[336783863] = [0, z, ne, -1, we, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], ie, Mc, ie, Fc, ie, Rc, ie, Pc, ie, Ic, ie, [0, z, -2], ie, [0, z, De], ie, Lc, ie, [0, De, -1, ne]], [0, z], ne, [0, [1, 3], [2, 4], ie, [0,
|
|
2848
|
-
var Fo = [0,
|
|
2847
|
+
le[336783863] = [0, z, ne, -1, we, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], ie, Mc, ie, Fc, ie, Rc, ie, Pc, ie, Ic, ie, [0, z, -2], ie, [0, z, De], ie, Lc, ie, [0, De, -1, ne]], [0, z], ne, [0, [1, 3], [2, 4], ie, [0, mr], -1, ie, [0, be], -1, fe, [0, z, -1]], z];
|
|
2848
|
+
var Fo = [0, yn, -1, qt, -3, yn, mr, Lt, hi, yn, -1, qt, hi, qt, -2, Lt];
|
|
2849
2849
|
function K(e, t) {
|
|
2850
|
-
|
|
2850
|
+
qr(e, 3, t);
|
|
2851
2851
|
}
|
|
2852
2852
|
function O(e, t) {
|
|
2853
|
-
|
|
2853
|
+
qr(e, 4, t);
|
|
2854
2854
|
}
|
|
2855
2855
|
var Ae = class extends E {
|
|
2856
2856
|
constructor(e) {
|
|
@@ -2859,15 +2859,15 @@ var Ae = class extends E {
|
|
|
2859
2859
|
o(e) {
|
|
2860
2860
|
return T(this, 0, 7, e);
|
|
2861
2861
|
}
|
|
2862
|
-
},
|
|
2863
|
-
function
|
|
2864
|
-
|
|
2862
|
+
}, Zi = [-1, {}], Lo = [0, z, 1, Zi], Ro = [0, z, be, Zi];
|
|
2863
|
+
function qe(e, t) {
|
|
2864
|
+
vs(e, 1, Ae, t);
|
|
2865
2865
|
}
|
|
2866
2866
|
function Z(e, t) {
|
|
2867
|
-
|
|
2867
|
+
qr(e, 10, t);
|
|
2868
2868
|
}
|
|
2869
2869
|
function V(e, t) {
|
|
2870
|
-
|
|
2870
|
+
qr(e, 15, t);
|
|
2871
2871
|
}
|
|
2872
2872
|
var Ue = class extends E {
|
|
2873
2873
|
constructor(e) {
|
|
@@ -2876,8 +2876,8 @@ var Ue = class extends E {
|
|
|
2876
2876
|
o(e) {
|
|
2877
2877
|
return T(this, 0, 1001, e);
|
|
2878
2878
|
}
|
|
2879
|
-
}, Dc = [-500, fe, [-500, Lt, -1, be, -3, [-2, le, ne], fe, No,
|
|
2880
|
-
Ue.prototype.g =
|
|
2879
|
+
}, Dc = [-500, fe, [-500, Lt, -1, be, -3, [-2, le, ne], fe, No, hi, -1, Lo, Ro, fe, [0, Lt, qt], Lt, Fo, hi, be, 987, be], 4, fe, [-500, z, -1, [-1, {}], 998, z], fe, [-500, z, be, -1, [-2, {}, ne], 997, be, -1], hi, fe, [-500, z, be, Zi, 998, be], be, hi, Lo, Ro, fe, [0, Lt, -1, Zi], be, -2, Fo, Lt, -1, qt, [0, qt, Ed], 978, Zi, fe, No];
|
|
2880
|
+
Ue.prototype.g = nn(Dc);
|
|
2881
2881
|
var Nd = Dt(Ue, Dc), Cd = class extends E {
|
|
2882
2882
|
constructor(e) {
|
|
2883
2883
|
super(e);
|
|
@@ -2889,7 +2889,7 @@ var Nd = Dt(Ue, Dc), Cd = class extends E {
|
|
|
2889
2889
|
g() {
|
|
2890
2890
|
return yt(this, Cd, 1);
|
|
2891
2891
|
}
|
|
2892
|
-
}, Bc = [0, fe, [0, we, oe, z, -1]],
|
|
2892
|
+
}, Bc = [0, fe, [0, we, oe, z, -1]], sn = Dt(Oc, Bc), Sd = class extends E {
|
|
2893
2893
|
constructor(e) {
|
|
2894
2894
|
super(e);
|
|
2895
2895
|
}
|
|
@@ -2897,7 +2897,7 @@ var Nd = Dt(Ue, Dc), Cd = class extends E {
|
|
|
2897
2897
|
constructor(e) {
|
|
2898
2898
|
super(e);
|
|
2899
2899
|
}
|
|
2900
|
-
},
|
|
2900
|
+
}, vn = class extends E {
|
|
2901
2901
|
constructor(e) {
|
|
2902
2902
|
super(e);
|
|
2903
2903
|
}
|
|
@@ -2911,11 +2911,11 @@ var Nd = Dt(Ue, Dc), Cd = class extends E {
|
|
|
2911
2911
|
constructor(e) {
|
|
2912
2912
|
super(e);
|
|
2913
2913
|
}
|
|
2914
|
-
}, [0, be,
|
|
2914
|
+
}, [0, be, mr, Rs, [0, De, [0, we, -3], [0, oe, -3], [0, we, -1, [0, fe, [0, we, -2]]], fe, [0, oe, -1, z, oe]], z, -1, Pt, fe, [0, we, oe], be, Pt]), Gc = class extends E {
|
|
2915
2915
|
constructor(e) {
|
|
2916
2916
|
super(e);
|
|
2917
2917
|
}
|
|
2918
|
-
},
|
|
2918
|
+
}, wi = Dt(class extends E {
|
|
2919
2919
|
constructor(e) {
|
|
2920
2920
|
super(e);
|
|
2921
2921
|
}
|
|
@@ -2923,7 +2923,7 @@ var Nd = Dt(Ue, Dc), Cd = class extends E {
|
|
|
2923
2923
|
constructor(e) {
|
|
2924
2924
|
super(e);
|
|
2925
2925
|
}
|
|
2926
|
-
},
|
|
2926
|
+
}, gr = Dt(class extends E {
|
|
2927
2927
|
constructor(e) {
|
|
2928
2928
|
super(e);
|
|
2929
2929
|
}
|
|
@@ -2931,12 +2931,12 @@ var Nd = Dt(Ue, Dc), Cd = class extends E {
|
|
|
2931
2931
|
constructor(e) {
|
|
2932
2932
|
super(e);
|
|
2933
2933
|
}
|
|
2934
|
-
}, Ld = [0, we, -1,
|
|
2934
|
+
}, Ld = [0, we, -1, Rs, De], jc = class extends E {
|
|
2935
2935
|
constructor(e) {
|
|
2936
2936
|
super(e);
|
|
2937
2937
|
}
|
|
2938
2938
|
};
|
|
2939
|
-
jc.prototype.g =
|
|
2939
|
+
jc.prototype.g = nn([0, oe, -4, Pt]);
|
|
2940
2940
|
var Rd = class extends E {
|
|
2941
2941
|
constructor(e) {
|
|
2942
2942
|
super(e);
|
|
@@ -2965,7 +2965,7 @@ var Rd = class extends E {
|
|
|
2965
2965
|
constructor(e) {
|
|
2966
2966
|
super(e);
|
|
2967
2967
|
}
|
|
2968
|
-
}, [0, fe, [0, Wc, ie, [0,
|
|
2968
|
+
}, [0, fe, [0, Wc, ie, [0, Rs], ie, [0, Sc], we, z], Pt]), Ms = class extends E {
|
|
2969
2969
|
constructor(e) {
|
|
2970
2970
|
super(e);
|
|
2971
2971
|
}
|
|
@@ -2977,7 +2977,7 @@ var Rd = class extends E {
|
|
|
2977
2977
|
constructor(e) {
|
|
2978
2978
|
super(e);
|
|
2979
2979
|
}
|
|
2980
|
-
},
|
|
2980
|
+
}, Sr = [1, 2, 3, 4, 5, 6], Dr = class extends E {
|
|
2981
2981
|
constructor(e) {
|
|
2982
2982
|
super(e);
|
|
2983
2983
|
}
|
|
@@ -2994,12 +2994,12 @@ var Rd = class extends E {
|
|
|
2994
2994
|
g() {
|
|
2995
2995
|
return Ga(q(this, 2)) ?? !1;
|
|
2996
2996
|
}
|
|
2997
|
-
}, zc = [0, Sc, z, [0, we, Pt, -1], [0, xd, Pt]], ae = [0, zc, ne, [0,
|
|
2997
|
+
}, zc = [0, Sc, z, [0, we, Pt, -1], [0, xd, Pt]], ae = [0, zc, ne, [0, Sr, ie, Pc, ie, Fc, ie, Ic, ie, Mc, ie, Rc, ie, Lc], De], on = class extends E {
|
|
2998
2998
|
constructor(e) {
|
|
2999
2999
|
super(e);
|
|
3000
3000
|
}
|
|
3001
|
-
},
|
|
3002
|
-
le[502141897] =
|
|
3001
|
+
}, Ps = [0, ae, oe, -1, we], Ud = ht(502141897, on);
|
|
3002
|
+
le[502141897] = Ps;
|
|
3003
3003
|
var Gd = Dt(class extends E {
|
|
3004
3004
|
constructor(e) {
|
|
3005
3005
|
super(e);
|
|
@@ -3012,14 +3012,14 @@ var Gd = Dt(class extends E {
|
|
|
3012
3012
|
constructor(e) {
|
|
3013
3013
|
super(e);
|
|
3014
3014
|
}
|
|
3015
|
-
},
|
|
3016
|
-
le[508968150] = [0, ae,
|
|
3017
|
-
var
|
|
3015
|
+
}, Pn = [0, ae, oe, [0, ae], ne], Vd = ht(508968150, qc);
|
|
3016
|
+
le[508968150] = [0, ae, Ps, Pn, oe, [0, [0, zc]]], le[508968149] = Pn;
|
|
3017
|
+
var li = class extends E {
|
|
3018
3018
|
constructor(e) {
|
|
3019
3019
|
super(e);
|
|
3020
3020
|
}
|
|
3021
3021
|
l() {
|
|
3022
|
-
return G(this,
|
|
3022
|
+
return G(this, Ms, 2);
|
|
3023
3023
|
}
|
|
3024
3024
|
g() {
|
|
3025
3025
|
W(this, 2);
|
|
@@ -3034,11 +3034,11 @@ var jd = class extends E {
|
|
|
3034
3034
|
constructor(e) {
|
|
3035
3035
|
super(e);
|
|
3036
3036
|
}
|
|
3037
|
-
},
|
|
3037
|
+
}, Ds = class extends E {
|
|
3038
3038
|
constructor(e) {
|
|
3039
3039
|
super(e);
|
|
3040
3040
|
}
|
|
3041
|
-
},
|
|
3041
|
+
}, Os = class extends E {
|
|
3042
3042
|
constructor(e) {
|
|
3043
3043
|
super(e);
|
|
3044
3044
|
}
|
|
@@ -3046,10 +3046,10 @@ var jd = class extends E {
|
|
|
3046
3046
|
constructor(e) {
|
|
3047
3047
|
super(e);
|
|
3048
3048
|
}
|
|
3049
|
-
}, Oo = [0, ae, [0, ae], Kc, -1], Qc = [0, ae, oe, we],
|
|
3049
|
+
}, Oo = [0, ae, [0, ae], Kc, -1], Qc = [0, ae, oe, we], Bs = [0, ae, oe], Jc = [0, ae, Qc, Bs, oe], Wd = ht(479097054, Xc);
|
|
3050
3050
|
le[479097054] = [0, ae, Jc, Oo], le[463370452] = Oo, le[464864288] = Qc;
|
|
3051
|
-
var $d = ht(462713202,
|
|
3052
|
-
le[462713202] = Jc, le[474472470] =
|
|
3051
|
+
var $d = ht(462713202, Os);
|
|
3052
|
+
le[462713202] = Jc, le[474472470] = Bs;
|
|
3053
3053
|
var zd = class extends E {
|
|
3054
3054
|
constructor(e) {
|
|
3055
3055
|
super(e);
|
|
@@ -3066,8 +3066,8 @@ var zd = class extends E {
|
|
|
3066
3066
|
constructor(e) {
|
|
3067
3067
|
super(e);
|
|
3068
3068
|
}
|
|
3069
|
-
},
|
|
3070
|
-
tl.prototype.g =
|
|
3069
|
+
}, Us = [0, ae, oe, -1, we], Dn = [0, ae, oe, ne];
|
|
3070
|
+
tl.prototype.g = nn([0, ae, Bs, [0, ae], Ps, Pn, Us, Dn]);
|
|
3071
3071
|
var il = class extends E {
|
|
3072
3072
|
constructor(e) {
|
|
3073
3073
|
super(e);
|
|
@@ -3098,7 +3098,7 @@ var nl = class extends E {
|
|
|
3098
3098
|
const i = 0 | t[_];
|
|
3099
3099
|
return e = Me(this, i), t = function(r, n, s, o) {
|
|
3100
3100
|
var a = Bo;
|
|
3101
|
-
!o &&
|
|
3101
|
+
!o && Mi(r) && (s = 0 | (n = r.v)[_]);
|
|
3102
3102
|
var l = pt(n, 2);
|
|
3103
3103
|
if (r = !1, l == null) {
|
|
3104
3104
|
if (o) return yo();
|
|
@@ -3109,20 +3109,20 @@ var nl = class extends E {
|
|
|
3109
3109
|
} else Array.isArray(l) ? r = !!(2 & (0 | l[_])) : l = [];
|
|
3110
3110
|
if (o) {
|
|
3111
3111
|
if (!l.length) return yo();
|
|
3112
|
-
r || (r = !0,
|
|
3113
|
-
} else r && (r = !1,
|
|
3114
|
-
return !r && 32 & s &&
|
|
3112
|
+
r || (r = !0, ur(l));
|
|
3113
|
+
} else r && (r = !1, rr(l), l = Qa(l));
|
|
3114
|
+
return !r && 32 & s && lr(l, 32), s = ce(n, s, 2, o = new gt(l, a, Ku, void 0)), r || Jt(n, s), o;
|
|
3115
3115
|
}(this, t, i, e), !e && Bo && (t.ra = !0), t;
|
|
3116
3116
|
}
|
|
3117
3117
|
});
|
|
3118
|
-
le[458105876] = [0, sl, yd, [!0, Pt, [0, z, -1, be]], [0,
|
|
3119
|
-
var
|
|
3118
|
+
le[458105876] = [0, sl, yd, [!0, Pt, [0, z, -1, be]], [0, mr, ne, De]];
|
|
3119
|
+
var Gs = class extends E {
|
|
3120
3120
|
constructor(e) {
|
|
3121
3121
|
super(e);
|
|
3122
3122
|
}
|
|
3123
|
-
}, ol = ht(458105758,
|
|
3123
|
+
}, ol = ht(458105758, Gs);
|
|
3124
3124
|
le[458105758] = [0, ae, z, sl];
|
|
3125
|
-
var
|
|
3125
|
+
var xn = class extends E {
|
|
3126
3126
|
constructor(e) {
|
|
3127
3127
|
super(e);
|
|
3128
3128
|
}
|
|
@@ -3134,52 +3134,52 @@ var vn = class extends E {
|
|
|
3134
3134
|
constructor(e) {
|
|
3135
3135
|
super(e);
|
|
3136
3136
|
}
|
|
3137
|
-
},
|
|
3138
|
-
al.prototype.g =
|
|
3137
|
+
}, On = [1, 2];
|
|
3138
|
+
al.prototype.g = nn([0, On, ie, Uo, ie, [0, fe, Uo]]);
|
|
3139
3139
|
var cl = class extends E {
|
|
3140
3140
|
constructor(e) {
|
|
3141
3141
|
super(e);
|
|
3142
3142
|
}
|
|
3143
3143
|
}, Xd = ht(443442058, cl);
|
|
3144
|
-
le[443442058] = [0, ae, z, we, oe, be, -1, ne, oe], le[514774813] =
|
|
3144
|
+
le[443442058] = [0, ae, z, we, oe, be, -1, ne, oe], le[514774813] = Us;
|
|
3145
3145
|
var ll = class extends E {
|
|
3146
3146
|
constructor(e) {
|
|
3147
3147
|
super(e);
|
|
3148
3148
|
}
|
|
3149
3149
|
}, Qd = ht(516587230, ll);
|
|
3150
|
-
function
|
|
3151
|
-
return t = t ? t.clone() : new
|
|
3150
|
+
function Bn(e, t) {
|
|
3151
|
+
return t = t ? t.clone() : new Ms(), e.displayNamesLocale !== void 0 ? W(t, 1, fr(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && W(t, 1), e.maxResults !== void 0 ? bt(t, 2, e.maxResults) : "maxResults" in e && W(t, 2), e.scoreThreshold !== void 0 ? A(t, 3, e.scoreThreshold) : "scoreThreshold" in e && W(t, 3), e.categoryAllowlist !== void 0 ? Lr(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && W(t, 4), e.categoryDenylist !== void 0 ? Lr(t, 5, e.categoryDenylist) : "categoryDenylist" in e && W(t, 5), t;
|
|
3152
3152
|
}
|
|
3153
3153
|
function ul(e) {
|
|
3154
3154
|
const t = Number(e);
|
|
3155
3155
|
return Number.isSafeInteger(t) ? t : String(e);
|
|
3156
3156
|
}
|
|
3157
|
-
function
|
|
3158
|
-
return { categories: e.map((r) => ({ index:
|
|
3157
|
+
function Vs(e, t = -1, i = "") {
|
|
3158
|
+
return { categories: e.map((r) => ({ index: ze(r, 1) ?? 0 ?? -1, score: re(r, 2) ?? 0, categoryName: pe(q(r, 3)) ?? "" ?? "", displayName: pe(q(r, 4)) ?? "" ?? "" })), headIndex: t, headName: i };
|
|
3159
3159
|
}
|
|
3160
3160
|
function Jd(e) {
|
|
3161
3161
|
const t = { classifications: yt(e, Rd, 1).map((i) => {
|
|
3162
3162
|
var r;
|
|
3163
|
-
return
|
|
3163
|
+
return Vs(((r = G(i, Oc, 4)) == null ? void 0 : r.g()) ?? [], ze(i, 2) ?? 0, pe(q(i, 3)) ?? "");
|
|
3164
3164
|
}) };
|
|
3165
3165
|
return function(i) {
|
|
3166
|
-
return qu(
|
|
3166
|
+
return qu(is ? q(i, 2, void 0, void 0, Ir) : q(i, 2));
|
|
3167
3167
|
}(e) != null && (t.timestampMs = ul(ic(e))), t;
|
|
3168
3168
|
}
|
|
3169
3169
|
function dl(e) {
|
|
3170
3170
|
var o, a;
|
|
3171
|
-
var t = jt(e, 3, at, Vt()), i = jt(e, 2,
|
|
3171
|
+
var t = jt(e, 3, at, Vt()), i = jt(e, 2, Li, Vt()), r = jt(e, 1, pe, Vt()), n = jt(e, 9, pe, Vt());
|
|
3172
3172
|
const s = { categories: [], keypoints: [] };
|
|
3173
3173
|
for (let l = 0; l < t.length; l++) s.categories.push({ score: t[l], index: i[l] ?? -1, categoryName: r[l] ?? "", displayName: n[l] ?? "" });
|
|
3174
|
-
if ((t = (o = G(e,
|
|
3174
|
+
if ((t = (o = G(e, vn, 4)) == null ? void 0 : o.l()) && (s.boundingBox = { originX: ze(t, 1, Nt) ?? 0, originY: ze(t, 2, Nt) ?? 0, width: ze(t, 3, Nt) ?? 0, height: ze(t, 4, Nt) ?? 0, angle: 0 }), (a = G(e, vn, 4)) == null ? void 0 : a.g().length) for (const l of G(e, vn, 4).g()) s.keypoints.push({ x: q(l, 1, void 0, Nt, at) ?? 0, y: q(l, 2, void 0, Nt, at) ?? 0, score: q(l, 4, void 0, Nt, at) ?? 0, label: pe(q(l, 3, void 0, Nt)) ?? "" });
|
|
3175
3175
|
return s;
|
|
3176
3176
|
}
|
|
3177
|
-
function
|
|
3177
|
+
function an(e) {
|
|
3178
3178
|
const t = [];
|
|
3179
3179
|
for (const i of yt(e, Vc, 1)) t.push({ x: re(i, 1) ?? 0, y: re(i, 2) ?? 0, z: re(i, 3) ?? 0, visibility: re(i, 4) ?? 0 });
|
|
3180
3180
|
return t;
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3182
|
+
function er(e) {
|
|
3183
3183
|
const t = [];
|
|
3184
3184
|
for (const i of yt(e, Gc, 1)) t.push({ x: re(i, 1) ?? 0, y: re(i, 2) ?? 0, z: re(i, 3) ?? 0, visibility: re(i, 4) ?? 0 });
|
|
3185
3185
|
return t;
|
|
@@ -3194,18 +3194,18 @@ function Vo(e, t) {
|
|
|
3194
3194
|
if (r <= 0 || n <= 0) throw Error("Cannot compute cosine similarity on embedding with 0 norm.");
|
|
3195
3195
|
return i / Math.sqrt(r * n);
|
|
3196
3196
|
}
|
|
3197
|
-
let
|
|
3198
|
-
le[516587230] = [0, ae,
|
|
3197
|
+
let kr;
|
|
3198
|
+
le[516587230] = [0, ae, Us, Dn, oe], le[518928384] = Dn;
|
|
3199
3199
|
const Zd = 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]);
|
|
3200
3200
|
async function hl() {
|
|
3201
|
-
if (
|
|
3202
|
-
await WebAssembly.instantiate(Zd),
|
|
3201
|
+
if (kr === void 0) try {
|
|
3202
|
+
await WebAssembly.instantiate(Zd), kr = !0;
|
|
3203
3203
|
} catch {
|
|
3204
|
-
|
|
3204
|
+
kr = !1;
|
|
3205
3205
|
}
|
|
3206
|
-
return
|
|
3206
|
+
return kr;
|
|
3207
3207
|
}
|
|
3208
|
-
async function
|
|
3208
|
+
async function Yi(e, t = Ad``) {
|
|
3209
3209
|
const i = await hl() ? "wasm_internal" : "wasm_nosimd_internal";
|
|
3210
3210
|
return { wasmLoaderPath: `${t}/${e}_${i}.js`, wasmBinaryPath: `${t}/${e}_${i}.wasm` };
|
|
3211
3211
|
}
|
|
@@ -3266,15 +3266,15 @@ function Ct(e, t, i) {
|
|
|
3266
3266
|
};
|
|
3267
3267
|
}
|
|
3268
3268
|
Gt.forVisionTasks = function(e) {
|
|
3269
|
-
return
|
|
3269
|
+
return Yi("vision", e);
|
|
3270
3270
|
}, Gt.forTextTasks = function(e) {
|
|
3271
|
-
return
|
|
3271
|
+
return Yi("text", e);
|
|
3272
3272
|
}, Gt.forGenAiExperimentalTasks = function(e) {
|
|
3273
|
-
return
|
|
3273
|
+
return Yi("genai_experimental", e);
|
|
3274
3274
|
}, Gt.forGenAiTasks = function(e) {
|
|
3275
|
-
return
|
|
3275
|
+
return Yi("genai", e);
|
|
3276
3276
|
}, Gt.forAudioTasks = function(e) {
|
|
3277
|
-
return
|
|
3277
|
+
return Yi("audio", e);
|
|
3278
3278
|
}, Gt.isSimdSupported = function() {
|
|
3279
3279
|
return hl();
|
|
3280
3280
|
};
|
|
@@ -3284,9 +3284,9 @@ async function e2(e, t, i, r) {
|
|
|
3284
3284
|
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);
|
|
3285
3285
|
})(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;
|
|
3286
3286
|
}
|
|
3287
|
-
function
|
|
3288
|
-
const i = G(e.baseOptions,
|
|
3289
|
-
typeof t == "string" ? (W(i, 2,
|
|
3287
|
+
function _n(e, t) {
|
|
3288
|
+
const i = G(e.baseOptions, Dr, 1) || new Dr();
|
|
3289
|
+
typeof t == "string" ? (W(i, 2, fr(t)), W(i, 1)) : t instanceof Uint8Array && (W(i, 1, ss(t, !1)), W(i, 2)), T(e.baseOptions, 0, 1, i);
|
|
3290
3290
|
}
|
|
3291
3291
|
function zo(e) {
|
|
3292
3292
|
try {
|
|
@@ -3300,16 +3300,16 @@ function zo(e) {
|
|
|
3300
3300
|
function v(e, t) {
|
|
3301
3301
|
e.C = Math.max(e.C, t);
|
|
3302
3302
|
}
|
|
3303
|
-
function
|
|
3304
|
-
e.B = new Ae(), Pe(e.B, 2, "PassThroughCalculator"), K(e.B, "free_memory"), O(e.B, "free_memory_unused_out"), Z(t, "free_memory"),
|
|
3303
|
+
function cn(e, t) {
|
|
3304
|
+
e.B = new Ae(), Pe(e.B, 2, "PassThroughCalculator"), K(e.B, "free_memory"), O(e.B, "free_memory_unused_out"), Z(t, "free_memory"), qe(t, e.B);
|
|
3305
3305
|
}
|
|
3306
|
-
function
|
|
3306
|
+
function ki(e, t) {
|
|
3307
3307
|
K(e.B, t), O(e.B, t + "_unused_out");
|
|
3308
3308
|
}
|
|
3309
|
-
function
|
|
3309
|
+
function ln(e) {
|
|
3310
3310
|
e.g.addBoolToStream(!0, "free_memory", e.C);
|
|
3311
3311
|
}
|
|
3312
|
-
var
|
|
3312
|
+
var Un = class {
|
|
3313
3313
|
constructor(e) {
|
|
3314
3314
|
this.g = e, this.H = [], this.C = 0, this.g.setAutoRenderToScreen(!1);
|
|
3315
3315
|
}
|
|
@@ -3318,14 +3318,14 @@ var Bn = class {
|
|
|
3318
3318
|
if (t) {
|
|
3319
3319
|
const l = e.baseOptions || {};
|
|
3320
3320
|
if ((i = e.baseOptions) != null && i.modelAssetBuffer && ((r = e.baseOptions) != null && r.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
|
|
3321
|
-
if (!((n = G(this.baseOptions,
|
|
3321
|
+
if (!((n = G(this.baseOptions, Dr, 1)) != null && n.g() || (s = G(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");
|
|
3322
3322
|
if (function(d, u) {
|
|
3323
3323
|
let h = G(d.baseOptions, Do, 3);
|
|
3324
3324
|
if (!h) {
|
|
3325
3325
|
var f = h = new Do(), m = new Io();
|
|
3326
|
-
|
|
3326
|
+
Ji(f, 4, Sr, m);
|
|
3327
3327
|
}
|
|
3328
|
-
"delegate" in u && (u.delegate === "GPU" ? (u = h, f = new Td(),
|
|
3328
|
+
"delegate" in u && (u.delegate === "GPU" ? (u = h, f = new Td(), Ji(u, 2, Sr, f)) : (u = h, f = new Io(), Ji(u, 4, Sr, f))), T(d.baseOptions, 0, 3, h);
|
|
3329
3329
|
}(this, l), l.modelAssetPath) return fetch(l.modelAssetPath.toString()).then((d) => {
|
|
3330
3330
|
if (d.ok) return d.arrayBuffer();
|
|
3331
3331
|
throw Error(`Failed to fetch model: ${l.modelAssetPath} (${d.status})`);
|
|
@@ -3334,9 +3334,9 @@ var Bn = class {
|
|
|
3334
3334
|
this.g.i.FS_unlink("/model.dat");
|
|
3335
3335
|
} catch {
|
|
3336
3336
|
}
|
|
3337
|
-
this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(d), !0, !1, !1),
|
|
3337
|
+
this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(d), !0, !1, !1), _n(this, "/model.dat"), this.m(), this.L();
|
|
3338
3338
|
});
|
|
3339
|
-
if (l.modelAssetBuffer instanceof Uint8Array)
|
|
3339
|
+
if (l.modelAssetBuffer instanceof Uint8Array) _n(this, l.modelAssetBuffer);
|
|
3340
3340
|
else if (l.modelAssetBuffer) return async function(d) {
|
|
3341
3341
|
const u = [];
|
|
3342
3342
|
for (var h = 0; ; ) {
|
|
@@ -3350,7 +3350,7 @@ var Bn = class {
|
|
|
3350
3350
|
for (const f of u) d.set(f, h), h += f.length;
|
|
3351
3351
|
return d;
|
|
3352
3352
|
}(l.modelAssetBuffer).then((d) => {
|
|
3353
|
-
|
|
3353
|
+
_n(this, d), this.m(), this.L();
|
|
3354
3354
|
});
|
|
3355
3355
|
}
|
|
3356
3356
|
return this.m(), this.L(), Promise.resolve();
|
|
@@ -3380,7 +3380,7 @@ function Rt(e, t) {
|
|
|
3380
3380
|
if (!e) throw Error(`Unable to obtain required WebGL resource: ${t}`);
|
|
3381
3381
|
return e;
|
|
3382
3382
|
}
|
|
3383
|
-
|
|
3383
|
+
Un.prototype.close = Un.prototype.close;
|
|
3384
3384
|
class t2 {
|
|
3385
3385
|
constructor(t, i, r, n) {
|
|
3386
3386
|
this.g = t, this.h = i, this.m = r, this.l = n;
|
|
@@ -3405,19 +3405,19 @@ function qo(e, t) {
|
|
|
3405
3405
|
const s = Rt(i.createBuffer(), "Failed to create buffer");
|
|
3406
3406
|
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 t2(i, r, n, s);
|
|
3407
3407
|
}
|
|
3408
|
-
function
|
|
3408
|
+
function js(e, t) {
|
|
3409
3409
|
if (e.g) {
|
|
3410
3410
|
if (t !== e.g) throw Error("Cannot change GL context once initialized");
|
|
3411
3411
|
} else e.g = t;
|
|
3412
3412
|
}
|
|
3413
3413
|
function i2(e, t, i, r) {
|
|
3414
|
-
return
|
|
3414
|
+
return js(e, t), e.h || (e.m(), e.D()), i ? (e.u || (e.u = qo(e, !0)), i = e.u) : (e.A || (e.A = qo(e, !1)), i = e.A), t.useProgram(e.h), i.bind(), e.l(), e = r(), i.g.bindVertexArray(null), e;
|
|
3415
3415
|
}
|
|
3416
3416
|
function ml(e, t, i) {
|
|
3417
|
-
return
|
|
3417
|
+
return js(e, t), e = Rt(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;
|
|
3418
3418
|
}
|
|
3419
3419
|
function gl(e, t, i) {
|
|
3420
|
-
|
|
3420
|
+
js(e, t), e.B || (e.B = Rt(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, i, 0);
|
|
3421
3421
|
}
|
|
3422
3422
|
function r2(e) {
|
|
3423
3423
|
var t;
|
|
@@ -3470,14 +3470,14 @@ function wt(e, t) {
|
|
|
3470
3470
|
throw Error(`Type is not supported: ${t}`);
|
|
3471
3471
|
}
|
|
3472
3472
|
}
|
|
3473
|
-
function
|
|
3473
|
+
function Gn(e) {
|
|
3474
3474
|
var t = wt(e, 1);
|
|
3475
3475
|
if (!t) {
|
|
3476
3476
|
if (t = wt(e, 0)) t = new Float32Array(t).map((r) => r / 255);
|
|
3477
3477
|
else {
|
|
3478
3478
|
t = new Float32Array(e.width * e.height);
|
|
3479
|
-
const r =
|
|
3480
|
-
var i =
|
|
3479
|
+
const r = Ai(e);
|
|
3480
|
+
var i = Ws(e);
|
|
3481
3481
|
if (gl(i, r, yl(e)), "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform) || navigator.userAgent.includes("Mac") && "document" in self && "ontouchend" in self.document) {
|
|
3482
3482
|
i = new Float32Array(e.width * e.height * 4), r.readPixels(0, 0, e.width, e.height, r.RGBA, r.FLOAT, i);
|
|
3483
3483
|
for (let n = 0, s = 0; n < t.length; ++n, s += 4) t[n] = i[s];
|
|
@@ -3490,38 +3490,38 @@ function Un(e) {
|
|
|
3490
3490
|
function yl(e) {
|
|
3491
3491
|
let t = wt(e, 2);
|
|
3492
3492
|
if (!t) {
|
|
3493
|
-
const i =
|
|
3493
|
+
const i = Ai(e);
|
|
3494
3494
|
t = vl(e);
|
|
3495
|
-
const r =
|
|
3496
|
-
i.texImage2D(i.TEXTURE_2D, 0, n, e.width, e.height, 0, i.RED, i.FLOAT, r),
|
|
3495
|
+
const r = Gn(e), n = bl(e);
|
|
3496
|
+
i.texImage2D(i.TEXTURE_2D, 0, n, e.width, e.height, 0, i.RED, i.FLOAT, r), Vn(e);
|
|
3497
3497
|
}
|
|
3498
3498
|
return t;
|
|
3499
3499
|
}
|
|
3500
|
-
function
|
|
3500
|
+
function Ai(e) {
|
|
3501
3501
|
if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
|
|
3502
3502
|
return e.h || (e.h = Rt(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
|
|
3503
3503
|
}
|
|
3504
3504
|
function bl(e) {
|
|
3505
|
-
if (e =
|
|
3505
|
+
if (e = Ai(e), !Ar) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) Ar = e.R32F;
|
|
3506
3506
|
else {
|
|
3507
3507
|
if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
|
|
3508
|
-
|
|
3508
|
+
Ar = e.R16F;
|
|
3509
3509
|
}
|
|
3510
|
-
return
|
|
3510
|
+
return Ar;
|
|
3511
3511
|
}
|
|
3512
|
-
function
|
|
3512
|
+
function Ws(e) {
|
|
3513
3513
|
return e.l || (e.l = new pl()), e.l;
|
|
3514
3514
|
}
|
|
3515
3515
|
function vl(e) {
|
|
3516
|
-
const t =
|
|
3516
|
+
const t = Ai(e);
|
|
3517
3517
|
t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
|
|
3518
3518
|
let i = wt(e, 2);
|
|
3519
|
-
return i || (i = ml(
|
|
3519
|
+
return i || (i = ml(Ws(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(i), e.j = !0), t.bindTexture(t.TEXTURE_2D, i), i;
|
|
3520
3520
|
}
|
|
3521
|
-
function
|
|
3521
|
+
function Vn(e) {
|
|
3522
3522
|
e.h.bindTexture(e.h.TEXTURE_2D, null);
|
|
3523
3523
|
}
|
|
3524
|
-
var
|
|
3524
|
+
var Ar, he = class {
|
|
3525
3525
|
constructor(e, t, i, r, n, s, o) {
|
|
3526
3526
|
this.g = e, this.m = t, this.j = i, this.canvas = r, this.l = n, this.width = s, this.height = o, this.j && --Ko === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
|
|
3527
3527
|
}
|
|
@@ -3535,11 +3535,11 @@ var Er, he = class {
|
|
|
3535
3535
|
return !!wt(this, 2);
|
|
3536
3536
|
}
|
|
3537
3537
|
ja() {
|
|
3538
|
-
return (t = wt(e = this, 0)) || (t =
|
|
3538
|
+
return (t = wt(e = this, 0)) || (t = Gn(e), t = new Uint8Array(t.map((i) => Math.round(255 * i))), e.g.push(t)), t;
|
|
3539
3539
|
var e, t;
|
|
3540
3540
|
}
|
|
3541
3541
|
ia() {
|
|
3542
|
-
return
|
|
3542
|
+
return Gn(this);
|
|
3543
3543
|
}
|
|
3544
3544
|
N() {
|
|
3545
3545
|
return yl(this);
|
|
@@ -3553,12 +3553,12 @@ var Er, he = class {
|
|
|
3553
3553
|
else {
|
|
3554
3554
|
if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
|
|
3555
3555
|
{
|
|
3556
|
-
const r =
|
|
3556
|
+
const r = Ai(this), n = Ws(this);
|
|
3557
3557
|
r.activeTexture(r.TEXTURE1), i = ml(n, r, this.m ? r.LINEAR : r.NEAREST), r.bindTexture(r.TEXTURE_2D, i);
|
|
3558
3558
|
const s = bl(this);
|
|
3559
3559
|
r.texImage2D(r.TEXTURE_2D, 0, s, this.width, this.height, 0, r.RED, r.FLOAT, null), r.bindTexture(r.TEXTURE_2D, null), gl(n, r, i), i2(n, r, !1, () => {
|
|
3560
|
-
vl(this), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLE_FAN, 0, 4),
|
|
3561
|
-
}), r2(n),
|
|
3560
|
+
vl(this), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLE_FAN, 0, 4), Vn(this);
|
|
3561
|
+
}), r2(n), Vn(this);
|
|
3562
3562
|
}
|
|
3563
3563
|
}
|
|
3564
3564
|
e.push(i);
|
|
@@ -3566,7 +3566,7 @@ var Er, he = class {
|
|
|
3566
3566
|
return new he(e, this.m, this.R(), this.canvas, this.l, this.width, this.height);
|
|
3567
3567
|
}
|
|
3568
3568
|
close() {
|
|
3569
|
-
this.j &&
|
|
3569
|
+
this.j && Ai(this).deleteTexture(wt(this, 2)), Ko = -1;
|
|
3570
3570
|
}
|
|
3571
3571
|
};
|
|
3572
3572
|
he.prototype.close = he.prototype.close, he.prototype.clone = he.prototype.clone, he.prototype.getAsWebGLTexture = he.prototype.N, he.prototype.getAsFloat32Array = he.prototype.ia, he.prototype.getAsUint8Array = he.prototype.ja, he.prototype.hasWebGLTexture = he.prototype.R, he.prototype.hasFloat32Array = he.prototype.ka, he.prototype.hasUint8Array = he.prototype.Fa;
|
|
@@ -3975,18 +3975,18 @@ function ft(e, t, i, r) {
|
|
|
3975
3975
|
if (!((n = e.baseOptions) != null && n.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
|
|
3976
3976
|
xl(e, t, i, r);
|
|
3977
3977
|
}
|
|
3978
|
-
function
|
|
3978
|
+
function Ti(e, t, i, r) {
|
|
3979
3979
|
var n = t.data;
|
|
3980
3980
|
const s = t.width, o = s * (t = t.height);
|
|
3981
3981
|
if ((n instanceof Uint8Array || n instanceof Float32Array) && n.length !== o) throw Error("Unsupported channel count: " + n.length / o);
|
|
3982
3982
|
return e = new he([n], i, !1, e.g.i.canvas, e.P, s, t), r ? e.clone() : e;
|
|
3983
3983
|
}
|
|
3984
|
-
var Oe = class extends
|
|
3984
|
+
var Oe = class extends Un {
|
|
3985
3985
|
constructor(e, t, i, r) {
|
|
3986
3986
|
super(e), this.g = e, this.X = t, this.U = i, this.oa = r, this.P = new pl();
|
|
3987
3987
|
}
|
|
3988
3988
|
l(e, t = !0) {
|
|
3989
|
-
if ("runningMode" in e && W(this.baseOptions, 2,
|
|
3989
|
+
if ("runningMode" in e && W(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.");
|
|
3990
3990
|
return super.l(e, t);
|
|
3991
3991
|
}
|
|
3992
3992
|
close() {
|
|
@@ -3994,9 +3994,9 @@ var Oe = class extends Bn {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
};
|
|
3996
3996
|
Oe.prototype.close = Oe.prototype.close;
|
|
3997
|
-
var
|
|
3997
|
+
var je = class extends Oe {
|
|
3998
3998
|
constructor(e, t) {
|
|
3999
|
-
super(new Ze(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, T(e = this.h = new
|
|
3999
|
+
super(new Ze(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, T(e = this.h = new on(), 0, 1, t = new te()), A(this.h, 2, 0.5), A(this.h, 3, 0.3);
|
|
4000
4000
|
}
|
|
4001
4001
|
get baseOptions() {
|
|
4002
4002
|
return G(this.h, te, 1);
|
|
@@ -4019,7 +4019,7 @@ var We = class extends Oe {
|
|
|
4019
4019
|
const t = new Be();
|
|
4020
4020
|
dt(t, Ud, this.h);
|
|
4021
4021
|
const i = new Ae();
|
|
4022
|
-
Pe(i, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect_in"), O(i, "DETECTIONS:detections"), i.o(t),
|
|
4022
|
+
Pe(i, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect_in"), O(i, "DETECTIONS:detections"), i.o(t), qe(e, i), this.g.attachProtoVectorListener("detections", (r, n) => {
|
|
4023
4023
|
for (const s of r) r = Uc(s), this.j.detections.push(dl(r));
|
|
4024
4024
|
v(this, n);
|
|
4025
4025
|
}), this.g.attachEmptyPacketListener("detections", (r) => {
|
|
@@ -4027,20 +4027,20 @@ var We = class extends Oe {
|
|
|
4027
4027
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
4028
4028
|
}
|
|
4029
4029
|
};
|
|
4030
|
-
|
|
4031
|
-
return U(
|
|
4032
|
-
},
|
|
4033
|
-
return U(
|
|
4034
|
-
},
|
|
4035
|
-
return U(
|
|
4030
|
+
je.prototype.detectForVideo = je.prototype.G, je.prototype.detect = je.prototype.F, je.prototype.setOptions = je.prototype.o, je.createFromModelPath = async function(e, t) {
|
|
4031
|
+
return U(je, e, { baseOptions: { modelAssetPath: t } });
|
|
4032
|
+
}, je.createFromModelBuffer = function(e, t) {
|
|
4033
|
+
return U(je, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4034
|
+
}, je.createFromOptions = function(e, t) {
|
|
4035
|
+
return U(je, e, t);
|
|
4036
4036
|
};
|
|
4037
|
-
var Ws = Je([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]), $s = Je([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 = Je([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), _l = Je([474, 475], [475, 476], [476, 477], [477, 474]), Hs = Je([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 = Je([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), El = Je([469, 470], [470, 471], [471, 472], [472, 469]), Ks = Je([10, 338], [338, 297], [297, 332], [332, 284], [284, 251], [251, 389], [389, 356], [356, 454], [454, 323], [323, 361], [361, 288], [288, 397], [397, 365], [365, 379], [379, 378], [378, 400], [400, 377], [377, 152], [152, 148], [148, 176], [176, 149], [149, 150], [150, 136], [136, 172], [172, 58], [58, 132], [132, 93], [93, 234], [234, 127], [127, 162], [162, 21], [21, 54], [54, 103], [103, 67], [67, 109], [109, 10]), kl = [...Ws, ...$s, ...zs, ...Hs, ...qs, ...Ks], Al = Je([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]);
|
|
4037
|
+
var $s = Je([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 = Je([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 = Je([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), _l = Je([474, 475], [475, 476], [476, 477], [477, 474]), qs = Je([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 = Je([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), El = Je([469, 470], [470, 471], [471, 472], [472, 469]), Ys = Je([10, 338], [338, 297], [297, 332], [332, 284], [284, 251], [251, 389], [389, 356], [356, 454], [454, 323], [323, 361], [361, 288], [288, 397], [397, 365], [365, 379], [379, 378], [378, 400], [400, 377], [377, 152], [152, 148], [148, 176], [176, 149], [149, 150], [150, 136], [136, 172], [172, 58], [58, 132], [132, 93], [93, 234], [234, 127], [127, 162], [162, 21], [21, 54], [54, 103], [103, 67], [67, 109], [109, 10]), kl = [...$s, ...zs, ...Hs, ...qs, ...Ks, ...Ys], Al = Je([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]);
|
|
4038
4038
|
function Xo(e) {
|
|
4039
4039
|
e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
|
|
4040
4040
|
}
|
|
4041
4041
|
var Q = class extends Oe {
|
|
4042
4042
|
constructor(e, t) {
|
|
4043
|
-
super(new Ze(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, T(e = this.h = new qc(), 0, 1, t = new te()), this.A = new Hc(), T(this.h, 0, 3, this.A), this.u = new
|
|
4043
|
+
super(new Ze(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, T(e = this.h = new qc(), 0, 1, t = new te()), this.A = new Hc(), T(this.h, 0, 3, this.A), this.u = new on(), T(this.h, 0, 2, this.u), bt(this.u, 4, 1), A(this.u, 2, 0.5), A(this.A, 2, 0.5), A(this.h, 4, 0.5);
|
|
4044
4044
|
}
|
|
4045
4045
|
get baseOptions() {
|
|
4046
4046
|
return G(this.h, te, 1);
|
|
@@ -4063,18 +4063,18 @@ var Q = class extends Oe {
|
|
|
4063
4063
|
const t = new Be();
|
|
4064
4064
|
dt(t, Vd, this.h);
|
|
4065
4065
|
const i = new Ae();
|
|
4066
|
-
Pe(i, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "NORM_LANDMARKS:face_landmarks"), i.o(t),
|
|
4067
|
-
for (const s of r) r =
|
|
4066
|
+
Pe(i, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "NORM_LANDMARKS:face_landmarks"), i.o(t), qe(e, i), this.g.attachProtoVectorListener("face_landmarks", (r, n) => {
|
|
4067
|
+
for (const s of r) r = gr(s), this.j.faceLandmarks.push(an(r));
|
|
4068
4068
|
v(this, n);
|
|
4069
4069
|
}), this.g.attachEmptyPacketListener("face_landmarks", (r) => {
|
|
4070
4070
|
v(this, r);
|
|
4071
4071
|
}), this.outputFaceBlendshapes && (V(e, "blendshapes"), O(i, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", (r, n) => {
|
|
4072
|
-
if (this.outputFaceBlendshapes) for (const s of r) r =
|
|
4072
|
+
if (this.outputFaceBlendshapes) for (const s of r) r = sn(s), this.j.faceBlendshapes.push(Vs(r.g() ?? []));
|
|
4073
4073
|
v(this, n);
|
|
4074
4074
|
}), this.g.attachEmptyPacketListener("blendshapes", (r) => {
|
|
4075
4075
|
v(this, r);
|
|
4076
4076
|
})), this.outputFacialTransformationMatrixes && (V(e, "face_geometry"), O(i, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", (r, n) => {
|
|
4077
|
-
if (this.outputFacialTransformationMatrixes) for (const s of r) (r = G(r = Gd(s), Fd, 2)) && this.j.facialTransformationMatrixes.push({ rows:
|
|
4077
|
+
if (this.outputFacialTransformationMatrixes) for (const s of r) (r = G(r = Gd(s), Fd, 2)) && this.j.facialTransformationMatrixes.push({ rows: ze(r, 1) ?? 0 ?? 0, columns: ze(r, 2) ?? 0 ?? 0, data: jt(r, 3, at, Vt()).slice() ?? [] });
|
|
4078
4078
|
v(this, n);
|
|
4079
4079
|
}), this.g.attachEmptyPacketListener("face_geometry", (r) => {
|
|
4080
4080
|
v(this, r);
|
|
@@ -4087,8 +4087,8 @@ Q.prototype.detectForVideo = Q.prototype.G, Q.prototype.detect = Q.prototype.F,
|
|
|
4087
4087
|
return U(Q, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4088
4088
|
}, Q.createFromOptions = function(e, t) {
|
|
4089
4089
|
return U(Q, e, t);
|
|
4090
|
-
}, Q.FACE_LANDMARKS_LIPS =
|
|
4091
|
-
var
|
|
4090
|
+
}, Q.FACE_LANDMARKS_LIPS = $s, Q.FACE_LANDMARKS_LEFT_EYE = zs, Q.FACE_LANDMARKS_LEFT_EYEBROW = Hs, Q.FACE_LANDMARKS_LEFT_IRIS = _l, Q.FACE_LANDMARKS_RIGHT_EYE = qs, Q.FACE_LANDMARKS_RIGHT_EYEBROW = Ks, Q.FACE_LANDMARKS_RIGHT_IRIS = El, Q.FACE_LANDMARKS_FACE_OVAL = Ys, Q.FACE_LANDMARKS_CONTOURS = kl, Q.FACE_LANDMARKS_TESSELATION = Al;
|
|
4091
|
+
var Xs = Je([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]);
|
|
4092
4092
|
function Qo(e) {
|
|
4093
4093
|
e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
|
|
4094
4094
|
}
|
|
@@ -4098,16 +4098,16 @@ function Jo(e) {
|
|
|
4098
4098
|
function Zo(e, t = !0) {
|
|
4099
4099
|
const i = [];
|
|
4100
4100
|
for (const n of e) {
|
|
4101
|
-
var r =
|
|
4101
|
+
var r = sn(n);
|
|
4102
4102
|
e = [];
|
|
4103
|
-
for (const s of r.g()) r = t &&
|
|
4103
|
+
for (const s of r.g()) r = t && ze(s, 1) != null ? ze(s, 1) ?? 0 : -1, e.push({ score: re(s, 2) ?? 0, index: r, categoryName: pe(q(s, 3)) ?? "" ?? "", displayName: pe(q(s, 4)) ?? "" ?? "" });
|
|
4104
4104
|
i.push(e);
|
|
4105
4105
|
}
|
|
4106
4106
|
return i;
|
|
4107
4107
|
}
|
|
4108
4108
|
var Ce = class extends Oe {
|
|
4109
4109
|
constructor(e, t) {
|
|
4110
|
-
super(new Ze(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], T(e = this.j = new Xc(), 0, 1, t = new te()), this.u = new
|
|
4110
|
+
super(new Ze(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], T(e = this.j = new Xc(), 0, 1, t = new te()), this.u = new Os(), T(this.j, 0, 2, this.u), this.D = new Ds(), T(this.u, 0, 3, this.D), this.A = new Yc(), T(this.u, 0, 2, this.A), this.h = new jd(), T(this.j, 0, 3, this.h), A(this.A, 2, 0.5), A(this.u, 4, 0.5), A(this.D, 2, 0.5);
|
|
4111
4111
|
}
|
|
4112
4112
|
get baseOptions() {
|
|
4113
4113
|
return G(this.j, te, 1);
|
|
@@ -4118,10 +4118,10 @@ var Ce = class extends Oe {
|
|
|
4118
4118
|
o(e) {
|
|
4119
4119
|
var n, s, o, a;
|
|
4120
4120
|
if (bt(this.A, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && A(this.A, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && A(this.u, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && A(this.D, 2, e.minHandPresenceConfidence ?? 0.5), e.cannedGesturesClassifierOptions) {
|
|
4121
|
-
var t = new
|
|
4121
|
+
var t = new li(), i = t, r = Bn(e.cannedGesturesClassifierOptions, (n = G(this.h, li, 3)) == null ? void 0 : n.l());
|
|
4122
4122
|
T(i, 0, 2, r), T(this.h, 0, 3, t);
|
|
4123
|
-
} else e.cannedGesturesClassifierOptions === void 0 && ((s = G(this.h,
|
|
4124
|
-
return e.customGesturesClassifierOptions ? (T(i = t = new
|
|
4123
|
+
} else e.cannedGesturesClassifierOptions === void 0 && ((s = G(this.h, li, 3)) == null || s.g());
|
|
4124
|
+
return e.customGesturesClassifierOptions ? (T(i = t = new li(), 0, 2, r = Bn(e.customGesturesClassifierOptions, (o = G(this.h, li, 4)) == null ? void 0 : o.l())), T(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = G(this.h, li, 4)) == null || a.g()), this.l(e);
|
|
4125
4125
|
}
|
|
4126
4126
|
Ha(e, t) {
|
|
4127
4127
|
return Qo(this), et(this, e, t), Jo(this);
|
|
@@ -4135,9 +4135,9 @@ var Ce = class extends Oe {
|
|
|
4135
4135
|
const t = new Be();
|
|
4136
4136
|
dt(t, Wd, this.j);
|
|
4137
4137
|
const i = new Ae();
|
|
4138
|
-
Pe(i, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "HAND_GESTURES:hand_gestures"), O(i, "LANDMARKS:hand_landmarks"), O(i, "WORLD_LANDMARKS:world_hand_landmarks"), O(i, "HANDEDNESS:handedness"), i.o(t),
|
|
4138
|
+
Pe(i, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "HAND_GESTURES:hand_gestures"), O(i, "LANDMARKS:hand_landmarks"), O(i, "WORLD_LANDMARKS:world_hand_landmarks"), O(i, "HANDEDNESS:handedness"), i.o(t), qe(e, i), this.g.attachProtoVectorListener("hand_landmarks", (r, n) => {
|
|
4139
4139
|
for (const s of r) {
|
|
4140
|
-
r =
|
|
4140
|
+
r = gr(s);
|
|
4141
4141
|
const o = [];
|
|
4142
4142
|
for (const a of yt(r, Vc, 1)) o.push({ x: re(a, 1) ?? 0, y: re(a, 2) ?? 0, z: re(a, 3) ?? 0, visibility: re(a, 4) ?? 0 });
|
|
4143
4143
|
this.landmarks.push(o);
|
|
@@ -4147,7 +4147,7 @@ var Ce = class extends Oe {
|
|
|
4147
4147
|
v(this, r);
|
|
4148
4148
|
}), this.g.attachProtoVectorListener("world_hand_landmarks", (r, n) => {
|
|
4149
4149
|
for (const s of r) {
|
|
4150
|
-
r =
|
|
4150
|
+
r = wi(s);
|
|
4151
4151
|
const o = [];
|
|
4152
4152
|
for (const a of yt(r, Gc, 1)) o.push({ x: re(a, 1) ?? 0, y: re(a, 2) ?? 0, z: re(a, 3) ?? 0, visibility: re(a, 4) ?? 0 });
|
|
4153
4153
|
this.worldLandmarks.push(o);
|
|
@@ -4175,10 +4175,10 @@ Ce.prototype.recognizeForVideo = Ce.prototype.Ia, Ce.prototype.recognize = Ce.pr
|
|
|
4175
4175
|
return U(Ce, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4176
4176
|
}, Ce.createFromOptions = function(e, t) {
|
|
4177
4177
|
return U(Ce, e, t);
|
|
4178
|
-
}, Ce.HAND_CONNECTIONS =
|
|
4178
|
+
}, Ce.HAND_CONNECTIONS = Xs;
|
|
4179
4179
|
var Se = class extends Oe {
|
|
4180
4180
|
constructor(e, t) {
|
|
4181
|
-
super(new Ze(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], T(e = this.h = new
|
|
4181
|
+
super(new Ze(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], T(e = this.h = new Os(), 0, 1, t = new te()), this.u = new Ds(), T(this.h, 0, 3, this.u), this.j = new Yc(), T(this.h, 0, 2, this.j), bt(this.j, 3, 1), A(this.j, 2, 0.5), A(this.u, 2, 0.5), A(this.h, 4, 0.5);
|
|
4182
4182
|
}
|
|
4183
4183
|
get baseOptions() {
|
|
4184
4184
|
return G(this.h, te, 1);
|
|
@@ -4201,13 +4201,13 @@ var Se = class extends Oe {
|
|
|
4201
4201
|
const t = new Be();
|
|
4202
4202
|
dt(t, $d, this.h);
|
|
4203
4203
|
const i = new Ae();
|
|
4204
|
-
Pe(i, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "LANDMARKS:hand_landmarks"), O(i, "WORLD_LANDMARKS:world_hand_landmarks"), O(i, "HANDEDNESS:handedness"), i.o(t),
|
|
4205
|
-
for (const s of r) r =
|
|
4204
|
+
Pe(i, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "LANDMARKS:hand_landmarks"), O(i, "WORLD_LANDMARKS:world_hand_landmarks"), O(i, "HANDEDNESS:handedness"), i.o(t), qe(e, i), this.g.attachProtoVectorListener("hand_landmarks", (r, n) => {
|
|
4205
|
+
for (const s of r) r = gr(s), this.landmarks.push(an(r));
|
|
4206
4206
|
v(this, n);
|
|
4207
4207
|
}), this.g.attachEmptyPacketListener("hand_landmarks", (r) => {
|
|
4208
4208
|
v(this, r);
|
|
4209
4209
|
}), this.g.attachProtoVectorListener("world_hand_landmarks", (r, n) => {
|
|
4210
|
-
for (const s of r) r =
|
|
4210
|
+
for (const s of r) r = wi(s), this.worldLandmarks.push(er(r));
|
|
4211
4211
|
v(this, n);
|
|
4212
4212
|
}), this.g.attachEmptyPacketListener("world_hand_landmarks", (r) => {
|
|
4213
4213
|
v(this, r);
|
|
@@ -4215,9 +4215,9 @@ var Se = class extends Oe {
|
|
|
4215
4215
|
var s = this.handedness, o = s.push;
|
|
4216
4216
|
const a = [];
|
|
4217
4217
|
for (const l of r) {
|
|
4218
|
-
r =
|
|
4218
|
+
r = sn(l);
|
|
4219
4219
|
const d = [];
|
|
4220
|
-
for (const u of r.g()) d.push({ score: re(u, 2) ?? 0, index:
|
|
4220
|
+
for (const u of r.g()) d.push({ score: re(u, 2) ?? 0, index: ze(u, 1) ?? 0 ?? -1, categoryName: pe(q(u, 3)) ?? "" ?? "", displayName: pe(q(u, 4)) ?? "" ?? "" });
|
|
4221
4221
|
a.push(d);
|
|
4222
4222
|
}
|
|
4223
4223
|
o.call(s, ...a), v(this, n);
|
|
@@ -4232,7 +4232,7 @@ Se.prototype.detectForVideo = Se.prototype.G, Se.prototype.detect = Se.prototype
|
|
|
4232
4232
|
return U(Se, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4233
4233
|
}, Se.createFromOptions = function(e, t) {
|
|
4234
4234
|
return U(Se, e, t);
|
|
4235
|
-
}, Se.HAND_CONNECTIONS =
|
|
4235
|
+
}, Se.HAND_CONNECTIONS = Xs;
|
|
4236
4236
|
var Tl = Je([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]);
|
|
4237
4237
|
function ta(e) {
|
|
4238
4238
|
e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
|
|
@@ -4242,15 +4242,15 @@ function ia(e) {
|
|
|
4242
4242
|
if (!e.D) return e.h;
|
|
4243
4243
|
e.D(e.h);
|
|
4244
4244
|
} finally {
|
|
4245
|
-
|
|
4245
|
+
ln(e);
|
|
4246
4246
|
}
|
|
4247
4247
|
}
|
|
4248
|
-
function
|
|
4249
|
-
e =
|
|
4248
|
+
function Tr(e, t) {
|
|
4249
|
+
e = gr(e), t.push(an(e));
|
|
4250
4250
|
}
|
|
4251
4251
|
var H = class extends Oe {
|
|
4252
4252
|
constructor(e, t) {
|
|
4253
|
-
super(new Ze(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, T(e = this.j = new tl(), 0, 1, t = new te()), this.I = new
|
|
4253
|
+
super(new Ze(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, T(e = this.j = new tl(), 0, 1, t = new te()), this.I = new Ds(), T(this.j, 0, 2, this.I), this.W = new zd(), T(this.j, 0, 3, this.W), this.u = new on(), T(this.j, 0, 4, this.u), this.O = new Hc(), T(this.j, 0, 5, this.O), this.A = new Zc(), T(this.j, 0, 6, this.A), this.M = new el(), T(this.j, 0, 7, this.M), A(this.u, 2, 0.5), A(this.u, 3, 0.3), A(this.O, 2, 0.5), A(this.A, 2, 0.5), A(this.A, 3, 0.3), A(this.M, 2, 0.5), A(this.I, 2, 0.5);
|
|
4254
4254
|
}
|
|
4255
4255
|
get baseOptions() {
|
|
4256
4256
|
return G(this.j, te, 1);
|
|
@@ -4274,51 +4274,51 @@ var H = class extends Oe {
|
|
|
4274
4274
|
Z(e, "input_frames_image"), V(e, "pose_landmarks"), V(e, "pose_world_landmarks"), V(e, "face_landmarks"), V(e, "left_hand_landmarks"), V(e, "left_hand_world_landmarks"), V(e, "right_hand_landmarks"), V(e, "right_hand_world_landmarks");
|
|
4275
4275
|
const t = new Be(), i = new To();
|
|
4276
4276
|
Pe(i, 1, "type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), function(n, s) {
|
|
4277
|
-
if (s != null) if (Array.isArray(s)) W(n, 2,
|
|
4277
|
+
if (s != null) if (Array.isArray(s)) W(n, 2, Hr(s, 0, or));
|
|
4278
4278
|
else {
|
|
4279
|
-
if (!(typeof s == "string" || s instanceof ct ||
|
|
4280
|
-
Ft(n, 2,
|
|
4279
|
+
if (!(typeof s == "string" || s instanceof ct || rs(s))) throw Error("invalid value in Any.value field: " + s + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
|
|
4280
|
+
Ft(n, 2, ss(s, !1), Kt());
|
|
4281
4281
|
}
|
|
4282
4282
|
}(i, this.j.g());
|
|
4283
4283
|
const r = new Ae();
|
|
4284
|
-
Pe(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"),
|
|
4285
|
-
|
|
4284
|
+
Pe(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), vs(r, 8, To, i), K(r, "IMAGE:input_frames_image"), O(r, "POSE_LANDMARKS:pose_landmarks"), O(r, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), O(r, "FACE_LANDMARKS:face_landmarks"), O(r, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), O(r, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), O(r, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), O(r, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), r.o(t), qe(e, r), cn(this, e), this.g.attachProtoListener("pose_landmarks", (n, s) => {
|
|
4285
|
+
Tr(n, this.h.poseLandmarks), v(this, s);
|
|
4286
4286
|
}), this.g.attachEmptyPacketListener("pose_landmarks", (n) => {
|
|
4287
4287
|
v(this, n);
|
|
4288
4288
|
}), this.g.attachProtoListener("pose_world_landmarks", (n, s) => {
|
|
4289
4289
|
var o = this.h.poseWorldLandmarks;
|
|
4290
|
-
n =
|
|
4290
|
+
n = wi(n), o.push(er(n)), v(this, s);
|
|
4291
4291
|
}), this.g.attachEmptyPacketListener("pose_world_landmarks", (n) => {
|
|
4292
4292
|
v(this, n);
|
|
4293
|
-
}), this.outputPoseSegmentationMasks && (O(r, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"),
|
|
4294
|
-
this.h.poseSegmentationMasks = [
|
|
4293
|
+
}), this.outputPoseSegmentationMasks && (O(r, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"), ki(this, "pose_segmentation_mask"), this.g.Z("pose_segmentation_mask", (n, s) => {
|
|
4294
|
+
this.h.poseSegmentationMasks = [Ti(this, n, !0, !this.D)], v(this, s);
|
|
4295
4295
|
}), this.g.attachEmptyPacketListener("pose_segmentation_mask", (n) => {
|
|
4296
4296
|
this.h.poseSegmentationMasks = [], v(this, n);
|
|
4297
4297
|
})), this.g.attachProtoListener("face_landmarks", (n, s) => {
|
|
4298
|
-
|
|
4298
|
+
Tr(n, this.h.faceLandmarks), v(this, s);
|
|
4299
4299
|
}), this.g.attachEmptyPacketListener("face_landmarks", (n) => {
|
|
4300
4300
|
v(this, n);
|
|
4301
4301
|
}), this.outputFaceBlendshapes && (V(e, "extra_blendshapes"), O(r, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", (n, s) => {
|
|
4302
4302
|
var o = this.h.faceBlendshapes;
|
|
4303
|
-
this.outputFaceBlendshapes && (n =
|
|
4303
|
+
this.outputFaceBlendshapes && (n = sn(n), o.push(Vs(n.g() ?? []))), v(this, s);
|
|
4304
4304
|
}), this.g.attachEmptyPacketListener("extra_blendshapes", (n) => {
|
|
4305
4305
|
v(this, n);
|
|
4306
4306
|
})), this.g.attachProtoListener("left_hand_landmarks", (n, s) => {
|
|
4307
|
-
|
|
4307
|
+
Tr(n, this.h.leftHandLandmarks), v(this, s);
|
|
4308
4308
|
}), this.g.attachEmptyPacketListener("left_hand_landmarks", (n) => {
|
|
4309
4309
|
v(this, n);
|
|
4310
4310
|
}), this.g.attachProtoListener("left_hand_world_landmarks", (n, s) => {
|
|
4311
4311
|
var o = this.h.leftHandWorldLandmarks;
|
|
4312
|
-
n =
|
|
4312
|
+
n = wi(n), o.push(er(n)), v(this, s);
|
|
4313
4313
|
}), this.g.attachEmptyPacketListener("left_hand_world_landmarks", (n) => {
|
|
4314
4314
|
v(this, n);
|
|
4315
4315
|
}), this.g.attachProtoListener("right_hand_landmarks", (n, s) => {
|
|
4316
|
-
|
|
4316
|
+
Tr(n, this.h.rightHandLandmarks), v(this, s);
|
|
4317
4317
|
}), this.g.attachEmptyPacketListener("right_hand_landmarks", (n) => {
|
|
4318
4318
|
v(this, n);
|
|
4319
4319
|
}), this.g.attachProtoListener("right_hand_world_landmarks", (n, s) => {
|
|
4320
4320
|
var o = this.h.rightHandWorldLandmarks;
|
|
4321
|
-
n =
|
|
4321
|
+
n = wi(n), o.push(er(n)), v(this, s);
|
|
4322
4322
|
}), this.g.attachEmptyPacketListener("right_hand_world_landmarks", (n) => {
|
|
4323
4323
|
v(this, n);
|
|
4324
4324
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
@@ -4330,8 +4330,8 @@ H.prototype.detectForVideo = H.prototype.G, H.prototype.detect = H.prototype.F,
|
|
|
4330
4330
|
return U(H, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4331
4331
|
}, H.createFromOptions = function(e, t) {
|
|
4332
4332
|
return U(H, e, t);
|
|
4333
|
-
}, H.HAND_CONNECTIONS =
|
|
4334
|
-
var
|
|
4333
|
+
}, H.HAND_CONNECTIONS = Xs, H.POSE_CONNECTIONS = Tl, H.FACE_LANDMARKS_LIPS = $s, H.FACE_LANDMARKS_LEFT_EYE = zs, H.FACE_LANDMARKS_LEFT_EYEBROW = Hs, H.FACE_LANDMARKS_LEFT_IRIS = _l, H.FACE_LANDMARKS_RIGHT_EYE = qs, H.FACE_LANDMARKS_RIGHT_EYEBROW = Ks, H.FACE_LANDMARKS_RIGHT_IRIS = El, H.FACE_LANDMARKS_FACE_OVAL = Ys, H.FACE_LANDMARKS_CONTOURS = kl, H.FACE_LANDMARKS_TESSELATION = Al;
|
|
4334
|
+
var We = class extends Oe {
|
|
4335
4335
|
constructor(e, t) {
|
|
4336
4336
|
super(new Ze(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, T(e = this.h = new il(), 0, 1, t = new te());
|
|
4337
4337
|
}
|
|
@@ -4342,7 +4342,7 @@ var $e = class extends Oe {
|
|
|
4342
4342
|
T(this.h, 0, 1, e);
|
|
4343
4343
|
}
|
|
4344
4344
|
o(e) {
|
|
4345
|
-
return T(this.h, 0, 2,
|
|
4345
|
+
return T(this.h, 0, 2, Bn(e, G(this.h, Ms, 2))), this.l(e);
|
|
4346
4346
|
}
|
|
4347
4347
|
sa(e, t) {
|
|
4348
4348
|
return this.j = { classifications: [] }, et(this, e, t), this.j;
|
|
@@ -4356,19 +4356,19 @@ var $e = class extends Oe {
|
|
|
4356
4356
|
const t = new Be();
|
|
4357
4357
|
dt(t, Hd, this.h);
|
|
4358
4358
|
const i = new Ae();
|
|
4359
|
-
Pe(i, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), K(i, "IMAGE:input_image"), K(i, "NORM_RECT:norm_rect"), O(i, "CLASSIFICATIONS:classifications"), i.o(t),
|
|
4359
|
+
Pe(i, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), K(i, "IMAGE:input_image"), K(i, "NORM_RECT:norm_rect"), O(i, "CLASSIFICATIONS:classifications"), i.o(t), qe(e, i), this.g.attachProtoListener("classifications", (r, n) => {
|
|
4360
4360
|
this.j = Jd(Md(r)), v(this, n);
|
|
4361
4361
|
}), this.g.attachEmptyPacketListener("classifications", (r) => {
|
|
4362
4362
|
v(this, r);
|
|
4363
4363
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
4364
4364
|
}
|
|
4365
4365
|
};
|
|
4366
|
-
|
|
4367
|
-
return U(
|
|
4368
|
-
},
|
|
4369
|
-
return U(
|
|
4370
|
-
},
|
|
4371
|
-
return U(
|
|
4366
|
+
We.prototype.classifyForVideo = We.prototype.ta, We.prototype.classify = We.prototype.sa, We.prototype.setOptions = We.prototype.o, We.createFromModelPath = function(e, t) {
|
|
4367
|
+
return U(We, e, { baseOptions: { modelAssetPath: t } });
|
|
4368
|
+
}, We.createFromModelBuffer = function(e, t) {
|
|
4369
|
+
return U(We, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4370
|
+
}, We.createFromOptions = function(e, t) {
|
|
4371
|
+
return U(We, e, t);
|
|
4372
4372
|
};
|
|
4373
4373
|
var Ie = class extends Oe {
|
|
4374
4374
|
constructor(e, t) {
|
|
@@ -4382,7 +4382,7 @@ var Ie = class extends Oe {
|
|
|
4382
4382
|
}
|
|
4383
4383
|
o(e) {
|
|
4384
4384
|
var t = this.h, i = G(this.h, Po, 2);
|
|
4385
|
-
return i = i ? i.clone() : new Po(), e.l2Normalize !== void 0 ? W(i, 1,
|
|
4385
|
+
return i = i ? i.clone() : new Po(), e.l2Normalize !== void 0 ? W(i, 1, sr(e.l2Normalize)) : "l2Normalize" in e && W(i, 1), e.quantize !== void 0 ? W(i, 2, sr(e.quantize)) : "quantize" in e && W(i, 2), T(t, 0, 2, i), this.l(e);
|
|
4386
4386
|
}
|
|
4387
4387
|
za(e, t) {
|
|
4388
4388
|
return et(this, e, t), this.embeddings;
|
|
@@ -4396,13 +4396,13 @@ var Ie = class extends Oe {
|
|
|
4396
4396
|
const t = new Be();
|
|
4397
4397
|
dt(t, qd, this.h);
|
|
4398
4398
|
const i = new Ae();
|
|
4399
|
-
Pe(i, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "EMBEDDINGS:embeddings_out"), i.o(t),
|
|
4399
|
+
Pe(i, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "EMBEDDINGS:embeddings_out"), i.o(t), qe(e, i), this.g.attachProtoListener("embeddings_out", (r, n) => {
|
|
4400
4400
|
r = Od(r), this.embeddings = function(s) {
|
|
4401
4401
|
return { embeddings: yt(s, Dd, 1).map((o) => {
|
|
4402
4402
|
var d, u;
|
|
4403
|
-
const a = { headIndex:
|
|
4403
|
+
const a = { headIndex: ze(o, 3) ?? 0 ?? -1, headName: pe(q(o, 4)) ?? "" ?? "" };
|
|
4404
4404
|
var l = o.v;
|
|
4405
|
-
return Za(l, 0 | l[_], Mo,
|
|
4405
|
+
return Za(l, 0 | l[_], Mo, pn(o, 1)) !== void 0 ? (o = jt(o = G(o, Mo, pn(o, 1), void 0), 1, at, Vt()), a.floatEmbedding = o.slice()) : (l = new Uint8Array(0), a.quantizedEmbedding = ((u = (d = G(o, Pd, pn(o, 2), void 0)) == null ? void 0 : d.na()) == null ? void 0 : u.h()) ?? l), a;
|
|
4406
4406
|
}), timestampMs: ul(ic(s)) };
|
|
4407
4407
|
}(r), v(this, n);
|
|
4408
4408
|
}), this.g.attachEmptyPacketListener("embeddings_out", (r) => {
|
|
@@ -4424,7 +4424,7 @@ Ie.cosineSimilarity = function(e, t) {
|
|
|
4424
4424
|
}, Ie.createFromOptions = function(e, t) {
|
|
4425
4425
|
return U(Ie, e, t);
|
|
4426
4426
|
};
|
|
4427
|
-
var
|
|
4427
|
+
var jn = class {
|
|
4428
4428
|
constructor(e, t, i) {
|
|
4429
4429
|
this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = i;
|
|
4430
4430
|
}
|
|
@@ -4450,17 +4450,17 @@ function ra(e) {
|
|
|
4450
4450
|
}
|
|
4451
4451
|
function na(e) {
|
|
4452
4452
|
try {
|
|
4453
|
-
const t = new
|
|
4453
|
+
const t = new jn(e.confidenceMasks, e.categoryMask, e.qualityScores);
|
|
4454
4454
|
if (!e.j) return t;
|
|
4455
4455
|
e.j(t);
|
|
4456
4456
|
} finally {
|
|
4457
|
-
|
|
4457
|
+
ln(e);
|
|
4458
4458
|
}
|
|
4459
4459
|
}
|
|
4460
|
-
|
|
4460
|
+
jn.prototype.close = jn.prototype.close;
|
|
4461
4461
|
var ke = class extends Oe {
|
|
4462
4462
|
constructor(e, t) {
|
|
4463
|
-
super(new Ze(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new
|
|
4463
|
+
super(new Ze(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Gs(), this.A = new nl(), T(this.h, 0, 3, this.A), T(e = this.h, 0, 1, t = new te());
|
|
4464
4464
|
}
|
|
4465
4465
|
get baseOptions() {
|
|
4466
4466
|
return G(this.h, te, 1);
|
|
@@ -4469,7 +4469,7 @@ var ke = class extends Oe {
|
|
|
4469
4469
|
T(this.h, 0, 1, e);
|
|
4470
4470
|
}
|
|
4471
4471
|
o(e) {
|
|
4472
|
-
return e.displayNamesLocale !== void 0 ? W(this.h, 2,
|
|
4472
|
+
return e.displayNamesLocale !== void 0 ? W(this.h, 2, fr(e.displayNamesLocale)) : "displayNamesLocale" in e && W(this.h, 2), "outputCategoryMask" in e && (this.outputCategoryMask = e.outputCategoryMask ?? !1), "outputConfidenceMasks" in e && (this.outputConfidenceMasks = e.outputConfidenceMasks ?? !0), super.l(e);
|
|
4473
4473
|
}
|
|
4474
4474
|
L() {
|
|
4475
4475
|
s2(this);
|
|
@@ -4491,12 +4491,12 @@ var ke = class extends Oe {
|
|
|
4491
4491
|
const t = new Be();
|
|
4492
4492
|
dt(t, ol, this.h);
|
|
4493
4493
|
const i = new Ae();
|
|
4494
|
-
Pe(i, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), i.o(t),
|
|
4495
|
-
this.confidenceMasks = r.map((s) =>
|
|
4494
|
+
Pe(i, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), i.o(t), qe(e, i), cn(this, e), this.outputConfidenceMasks && (V(e, "confidence_masks"), O(i, "CONFIDENCE_MASKS:confidence_masks"), ki(this, "confidence_masks"), this.g.aa("confidence_masks", (r, n) => {
|
|
4495
|
+
this.confidenceMasks = r.map((s) => Ti(this, s, !0, !this.j)), v(this, n);
|
|
4496
4496
|
}), this.g.attachEmptyPacketListener("confidence_masks", (r) => {
|
|
4497
4497
|
this.confidenceMasks = [], v(this, r);
|
|
4498
|
-
})), this.outputCategoryMask && (V(e, "category_mask"), O(i, "CATEGORY_MASK:category_mask"),
|
|
4499
|
-
this.categoryMask =
|
|
4498
|
+
})), this.outputCategoryMask && (V(e, "category_mask"), O(i, "CATEGORY_MASK:category_mask"), ki(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
|
|
4499
|
+
this.categoryMask = Ti(this, r, !1, !this.j), v(this, n);
|
|
4500
4500
|
}), this.g.attachEmptyPacketListener("category_mask", (r) => {
|
|
4501
4501
|
this.categoryMask = void 0, v(this, r);
|
|
4502
4502
|
})), V(e, "quality_scores"), O(i, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (r, n) => {
|
|
@@ -4513,7 +4513,7 @@ ke.prototype.getLabels = ke.prototype.Da, ke.prototype.segmentForVideo = ke.prot
|
|
|
4513
4513
|
}, ke.createFromOptions = function(e, t) {
|
|
4514
4514
|
return U(ke, e, t);
|
|
4515
4515
|
};
|
|
4516
|
-
var
|
|
4516
|
+
var Wn = class {
|
|
4517
4517
|
constructor(e, t, i) {
|
|
4518
4518
|
this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = i;
|
|
4519
4519
|
}
|
|
@@ -4524,10 +4524,10 @@ var jn = class {
|
|
|
4524
4524
|
}), (t = this.categoryMask) == null || t.close();
|
|
4525
4525
|
}
|
|
4526
4526
|
};
|
|
4527
|
-
|
|
4527
|
+
Wn.prototype.close = Wn.prototype.close;
|
|
4528
4528
|
var st = class extends Oe {
|
|
4529
4529
|
constructor(e, t) {
|
|
4530
|
-
super(new Ze(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new
|
|
4530
|
+
super(new Ze(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Gs(), this.u = new nl(), T(this.h, 0, 3, this.u), T(e = this.h, 0, 1, t = new te());
|
|
4531
4531
|
}
|
|
4532
4532
|
get baseOptions() {
|
|
4533
4533
|
return G(this.h, te, 1);
|
|
@@ -4542,27 +4542,27 @@ var st = class extends Oe {
|
|
|
4542
4542
|
const n = typeof i != "function" ? i : {};
|
|
4543
4543
|
if (this.j = typeof i == "function" ? i : r, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, i = this.C + 1, r = new al(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
|
|
4544
4544
|
if (t.keypoint) {
|
|
4545
|
-
var s = new
|
|
4546
|
-
Ft(s, 3,
|
|
4545
|
+
var s = new xn();
|
|
4546
|
+
Ft(s, 3, sr(!0), !1), Ft(s, 1, Qi(t.keypoint.x), 0), Ft(s, 2, Qi(t.keypoint.y), 0), Ji(r, 1, On, s);
|
|
4547
4547
|
} else {
|
|
4548
4548
|
if (!t.scribble) throw Error("Must provide either a keypoint or a scribble.");
|
|
4549
4549
|
{
|
|
4550
4550
|
const a = new Yd();
|
|
4551
|
-
for (s of t.scribble) Ft(t = new
|
|
4552
|
-
|
|
4551
|
+
for (s of t.scribble) Ft(t = new xn(), 3, sr(!0), !1), Ft(t, 1, Qi(s.x), 0), Ft(t, 2, Qi(s.y), 0), vs(a, 1, xn, t);
|
|
4552
|
+
Ji(r, 2, On, a);
|
|
4553
4553
|
}
|
|
4554
4554
|
}
|
|
4555
4555
|
this.g.addProtoToStream(r.g(), "mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest", "roi_in", i), et(this, e, n);
|
|
4556
4556
|
e: {
|
|
4557
4557
|
try {
|
|
4558
|
-
const a = new
|
|
4558
|
+
const a = new Wn(this.confidenceMasks, this.categoryMask, this.qualityScores);
|
|
4559
4559
|
if (!this.j) {
|
|
4560
4560
|
var o = a;
|
|
4561
4561
|
break e;
|
|
4562
4562
|
}
|
|
4563
4563
|
this.j(a);
|
|
4564
4564
|
} finally {
|
|
4565
|
-
|
|
4565
|
+
ln(this);
|
|
4566
4566
|
}
|
|
4567
4567
|
o = void 0;
|
|
4568
4568
|
}
|
|
@@ -4574,12 +4574,12 @@ var st = class extends Oe {
|
|
|
4574
4574
|
const t = new Be();
|
|
4575
4575
|
dt(t, ol, this.h);
|
|
4576
4576
|
const i = new Ae();
|
|
4577
|
-
Pe(i, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), K(i, "IMAGE:image_in"), K(i, "ROI:roi_in"), K(i, "NORM_RECT:norm_rect_in"), i.o(t),
|
|
4578
|
-
this.confidenceMasks = r.map((s) =>
|
|
4577
|
+
Pe(i, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), K(i, "IMAGE:image_in"), K(i, "ROI:roi_in"), K(i, "NORM_RECT:norm_rect_in"), i.o(t), qe(e, i), cn(this, e), this.outputConfidenceMasks && (V(e, "confidence_masks"), O(i, "CONFIDENCE_MASKS:confidence_masks"), ki(this, "confidence_masks"), this.g.aa("confidence_masks", (r, n) => {
|
|
4578
|
+
this.confidenceMasks = r.map((s) => Ti(this, s, !0, !this.j)), v(this, n);
|
|
4579
4579
|
}), this.g.attachEmptyPacketListener("confidence_masks", (r) => {
|
|
4580
4580
|
this.confidenceMasks = [], v(this, r);
|
|
4581
|
-
})), this.outputCategoryMask && (V(e, "category_mask"), O(i, "CATEGORY_MASK:category_mask"),
|
|
4582
|
-
this.categoryMask =
|
|
4581
|
+
})), this.outputCategoryMask && (V(e, "category_mask"), O(i, "CATEGORY_MASK:category_mask"), ki(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
|
|
4582
|
+
this.categoryMask = Ti(this, r, !1, !this.j), v(this, n);
|
|
4583
4583
|
}), this.g.attachEmptyPacketListener("category_mask", (r) => {
|
|
4584
4584
|
this.categoryMask = void 0, v(this, r);
|
|
4585
4585
|
})), V(e, "quality_scores"), O(i, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (r, n) => {
|
|
@@ -4596,7 +4596,7 @@ st.prototype.segment = st.prototype.segment, st.prototype.setOptions = st.protot
|
|
|
4596
4596
|
}, st.createFromOptions = function(e, t) {
|
|
4597
4597
|
return U(st, e, t);
|
|
4598
4598
|
};
|
|
4599
|
-
var
|
|
4599
|
+
var $e = class extends Oe {
|
|
4600
4600
|
constructor(e, t) {
|
|
4601
4601
|
super(new Ze(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, T(e = this.h = new cl(), 0, 1, t = new te());
|
|
4602
4602
|
}
|
|
@@ -4607,7 +4607,7 @@ var ze = class extends Oe {
|
|
|
4607
4607
|
T(this.h, 0, 1, e);
|
|
4608
4608
|
}
|
|
4609
4609
|
o(e) {
|
|
4610
|
-
return e.displayNamesLocale !== void 0 ? W(this.h, 2,
|
|
4610
|
+
return e.displayNamesLocale !== void 0 ? W(this.h, 2, fr(e.displayNamesLocale)) : "displayNamesLocale" in e && W(this.h, 2), e.maxResults !== void 0 ? bt(this.h, 3, e.maxResults) : "maxResults" in e && W(this.h, 3), e.scoreThreshold !== void 0 ? A(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && W(this.h, 4), e.categoryAllowlist !== void 0 ? Lr(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && W(this.h, 5), e.categoryDenylist !== void 0 ? Lr(this.h, 6, e.categoryDenylist) : "categoryDenylist" in e && W(this.h, 6), this.l(e);
|
|
4611
4611
|
}
|
|
4612
4612
|
F(e, t) {
|
|
4613
4613
|
return this.j = { detections: [] }, et(this, e, t), this.j;
|
|
@@ -4621,7 +4621,7 @@ var ze = class extends Oe {
|
|
|
4621
4621
|
const t = new Be();
|
|
4622
4622
|
dt(t, Xd, this.h);
|
|
4623
4623
|
const i = new Ae();
|
|
4624
|
-
Pe(i, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), K(i, "IMAGE:input_frame_gpu"), K(i, "NORM_RECT:norm_rect"), O(i, "DETECTIONS:detections"), i.o(t),
|
|
4624
|
+
Pe(i, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), K(i, "IMAGE:input_frame_gpu"), K(i, "NORM_RECT:norm_rect"), O(i, "DETECTIONS:detections"), i.o(t), qe(e, i), this.g.attachProtoVectorListener("detections", (r, n) => {
|
|
4625
4625
|
for (const s of r) r = Uc(s), this.j.detections.push(dl(r));
|
|
4626
4626
|
v(this, n);
|
|
4627
4627
|
}), this.g.attachEmptyPacketListener("detections", (r) => {
|
|
@@ -4629,14 +4629,14 @@ var ze = class extends Oe {
|
|
|
4629
4629
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
4630
4630
|
}
|
|
4631
4631
|
};
|
|
4632
|
-
|
|
4633
|
-
return U(
|
|
4634
|
-
},
|
|
4635
|
-
return U(
|
|
4636
|
-
},
|
|
4637
|
-
return U(
|
|
4632
|
+
$e.prototype.detectForVideo = $e.prototype.G, $e.prototype.detect = $e.prototype.F, $e.prototype.setOptions = $e.prototype.o, $e.createFromModelPath = async function(e, t) {
|
|
4633
|
+
return U($e, e, { baseOptions: { modelAssetPath: t } });
|
|
4634
|
+
}, $e.createFromModelBuffer = function(e, t) {
|
|
4635
|
+
return U($e, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4636
|
+
}, $e.createFromOptions = function(e, t) {
|
|
4637
|
+
return U($e, e, t);
|
|
4638
4638
|
};
|
|
4639
|
-
var
|
|
4639
|
+
var $n = class {
|
|
4640
4640
|
constructor(e, t, i) {
|
|
4641
4641
|
this.landmarks = e, this.worldLandmarks = t, this.segmentationMasks = i;
|
|
4642
4642
|
}
|
|
@@ -4652,14 +4652,14 @@ function sa(e) {
|
|
|
4652
4652
|
}
|
|
4653
4653
|
function oa(e) {
|
|
4654
4654
|
try {
|
|
4655
|
-
const t = new
|
|
4655
|
+
const t = new $n(e.landmarks, e.worldLandmarks, e.segmentationMasks);
|
|
4656
4656
|
if (!e.u) return t;
|
|
4657
4657
|
e.u(t);
|
|
4658
4658
|
} finally {
|
|
4659
|
-
|
|
4659
|
+
ln(e);
|
|
4660
4660
|
}
|
|
4661
4661
|
}
|
|
4662
|
-
|
|
4662
|
+
$n.prototype.close = $n.prototype.close;
|
|
4663
4663
|
var Fe = class extends Oe {
|
|
4664
4664
|
constructor(e, t) {
|
|
4665
4665
|
super(new Ze(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, T(e = this.h = new ll(), 0, 1, t = new te()), this.A = new el(), T(this.h, 0, 3, this.A), this.j = new Zc(), T(this.h, 0, 2, this.j), bt(this.j, 4, 1), A(this.j, 2, 0.5), A(this.A, 2, 0.5), A(this.h, 4, 0.5);
|
|
@@ -4687,20 +4687,20 @@ var Fe = class extends Oe {
|
|
|
4687
4687
|
const t = new Be();
|
|
4688
4688
|
dt(t, Qd, this.h);
|
|
4689
4689
|
const i = new Ae();
|
|
4690
|
-
Pe(i, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "NORM_LANDMARKS:normalized_landmarks"), O(i, "WORLD_LANDMARKS:world_landmarks"), i.o(t),
|
|
4690
|
+
Pe(i, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), K(i, "IMAGE:image_in"), K(i, "NORM_RECT:norm_rect"), O(i, "NORM_LANDMARKS:normalized_landmarks"), O(i, "WORLD_LANDMARKS:world_landmarks"), i.o(t), qe(e, i), cn(this, e), this.g.attachProtoVectorListener("normalized_landmarks", (r, n) => {
|
|
4691
4691
|
this.landmarks = [];
|
|
4692
|
-
for (const s of r) r =
|
|
4692
|
+
for (const s of r) r = gr(s), this.landmarks.push(an(r));
|
|
4693
4693
|
v(this, n);
|
|
4694
4694
|
}), this.g.attachEmptyPacketListener("normalized_landmarks", (r) => {
|
|
4695
4695
|
this.landmarks = [], v(this, r);
|
|
4696
4696
|
}), this.g.attachProtoVectorListener("world_landmarks", (r, n) => {
|
|
4697
4697
|
this.worldLandmarks = [];
|
|
4698
|
-
for (const s of r) r =
|
|
4698
|
+
for (const s of r) r = wi(s), this.worldLandmarks.push(er(r));
|
|
4699
4699
|
v(this, n);
|
|
4700
4700
|
}), this.g.attachEmptyPacketListener("world_landmarks", (r) => {
|
|
4701
4701
|
this.worldLandmarks = [], v(this, r);
|
|
4702
|
-
}), this.outputSegmentationMasks && (O(i, "SEGMENTATION_MASK:segmentation_masks"),
|
|
4703
|
-
this.segmentationMasks = r.map((s) =>
|
|
4702
|
+
}), this.outputSegmentationMasks && (O(i, "SEGMENTATION_MASK:segmentation_masks"), ki(this, "segmentation_masks"), this.g.aa("segmentation_masks", (r, n) => {
|
|
4703
|
+
this.segmentationMasks = r.map((s) => Ti(this, s, !0, !this.u)), v(this, n);
|
|
4704
4704
|
}), this.g.attachEmptyPacketListener("segmentation_masks", (r) => {
|
|
4705
4705
|
this.segmentationMasks = [], v(this, r);
|
|
4706
4706
|
})), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
@@ -4713,7 +4713,7 @@ Fe.prototype.detectForVideo = Fe.prototype.G, Fe.prototype.detect = Fe.prototype
|
|
|
4713
4713
|
}, Fe.createFromOptions = function(e, t) {
|
|
4714
4714
|
return U(Fe, e, t);
|
|
4715
4715
|
}, Fe.POSE_CONNECTIONS = Tl;
|
|
4716
|
-
const
|
|
4716
|
+
const Nr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task", o2 = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm", a2 = () => {
|
|
4717
4717
|
const e = M(null), [t, i] = N(!1), [r, n] = N("Initializing..."), [s, o] = N(0), [a, l] = N(!1);
|
|
4718
4718
|
F(() => {
|
|
4719
4719
|
"serviceWorker" in navigator && navigator.serviceWorker.register("/sw.js").then((f) => {
|
|
@@ -4722,9 +4722,9 @@ const Ar = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4722
4722
|
console.log("ServiceWorker registration failed:", f);
|
|
4723
4723
|
});
|
|
4724
4724
|
}, []);
|
|
4725
|
-
const d = async () => "caches" in window ? await (await caches.open("mediapipe-models-v1")).match(
|
|
4725
|
+
const d = async () => "caches" in window ? await (await caches.open("mediapipe-models-v1")).match(Nr) !== void 0 : !1, u = async () => {
|
|
4726
4726
|
try {
|
|
4727
|
-
const f = await fetch(
|
|
4727
|
+
const f = await fetch(Nr), m = f.headers.get("content-length"), g = m ? parseInt(m, 10) : 0;
|
|
4728
4728
|
if (!f.body) throw new Error("No response body");
|
|
4729
4729
|
const b = f.body.getReader();
|
|
4730
4730
|
let y = 0;
|
|
@@ -4738,7 +4738,7 @@ const Ar = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4738
4738
|
}
|
|
4739
4739
|
}
|
|
4740
4740
|
return "caches" in window && await (await caches.open("mediapipe-models-v1")).put(
|
|
4741
|
-
|
|
4741
|
+
Nr,
|
|
4742
4742
|
new Response(new Blob(p), {
|
|
4743
4743
|
headers: { "Content-Type": "application/octet-stream" }
|
|
4744
4744
|
})
|
|
@@ -4755,7 +4755,7 @@ const Ar = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4755
4755
|
n("Creating face landmarker...");
|
|
4756
4756
|
const b = await Q.createFromOptions(g, {
|
|
4757
4757
|
baseOptions: {
|
|
4758
|
-
modelAssetPath:
|
|
4758
|
+
modelAssetPath: Nr,
|
|
4759
4759
|
delegate: "GPU"
|
|
4760
4760
|
},
|
|
4761
4761
|
runningMode: "VIDEO",
|
|
@@ -5201,7 +5201,7 @@ class g2 {
|
|
|
5201
5201
|
this.recordingStream && (this.recordingStream.getTracks().forEach((t) => t.stop()), this.recordingStream = null), this.mediaRecorder = null, this.audioChunks = [], this.autoStopTimeoutId && (clearTimeout(this.autoStopTimeoutId), this.autoStopTimeoutId = null);
|
|
5202
5202
|
}
|
|
5203
5203
|
}
|
|
5204
|
-
const
|
|
5204
|
+
const di = new g2(), p2 = (e, t, i, r) => {
|
|
5205
5205
|
const n = M(null);
|
|
5206
5206
|
return F(() => {
|
|
5207
5207
|
if (!t) return;
|
|
@@ -5225,7 +5225,7 @@ const ui = new g2(), p2 = (e, t, i, r) => {
|
|
|
5225
5225
|
o && cancelAnimationFrame(o), a != null && a.srcObject && a.srcObject.getTracks().forEach((d) => d.stop());
|
|
5226
5226
|
};
|
|
5227
5227
|
}, [t, i]), F(() => {
|
|
5228
|
-
const s =
|
|
5228
|
+
const s = di.getRecordingStream();
|
|
5229
5229
|
if (s && e.current) {
|
|
5230
5230
|
e.current.srcObject = s;
|
|
5231
5231
|
const o = s.getVideoTracks(), a = s.getAudioTracks(), l = () => {
|
|
@@ -5329,7 +5329,7 @@ const ui = new g2(), p2 = (e, t, i, r) => {
|
|
|
5329
5329
|
resetReference: u,
|
|
5330
5330
|
syncReference: l
|
|
5331
5331
|
};
|
|
5332
|
-
},
|
|
5332
|
+
}, ui = {
|
|
5333
5333
|
FACE_DETECTED: "face_detected",
|
|
5334
5334
|
NO_FACE: "no_face_detected",
|
|
5335
5335
|
MULTIPLE_FACES: "multiple_faces",
|
|
@@ -5337,7 +5337,7 @@ const ui = new g2(), p2 = (e, t, i, r) => {
|
|
|
5337
5337
|
CAMERA_ERROR: "camera_error",
|
|
5338
5338
|
MODEL_LOADING: "model_loading"
|
|
5339
5339
|
}, Nl = {
|
|
5340
|
-
[
|
|
5340
|
+
[ui.FACE_DETECTED]: {
|
|
5341
5341
|
icon: hu,
|
|
5342
5342
|
iconColor: "iw-text-green-600",
|
|
5343
5343
|
iconBg: "iw-bg-green-50",
|
|
@@ -5347,7 +5347,7 @@ const ui = new g2(), p2 = (e, t, i, r) => {
|
|
|
5347
5347
|
description: "Your gaze is properly focused on the screen. Continue with your interview.",
|
|
5348
5348
|
buttonText: "Continue"
|
|
5349
5349
|
},
|
|
5350
|
-
[
|
|
5350
|
+
[ui.NO_FACE]: {
|
|
5351
5351
|
icon: du,
|
|
5352
5352
|
iconColor: "iw-text-orange-600",
|
|
5353
5353
|
iconBg: "iw-bg-orange-50",
|
|
@@ -5357,7 +5357,7 @@ const ui = new g2(), p2 = (e, t, i, r) => {
|
|
|
5357
5357
|
description: "Please ensure you're positioned properly in front of the camera and that your face is clearly visible.",
|
|
5358
5358
|
buttonText: "I Understood"
|
|
5359
5359
|
},
|
|
5360
|
-
[
|
|
5360
|
+
[ui.MULTIPLE_FACES]: {
|
|
5361
5361
|
icon: gu,
|
|
5362
5362
|
iconColor: "iw-text-red-600",
|
|
5363
5363
|
iconBg: "iw-bg-red-50",
|
|
@@ -5368,7 +5368,7 @@ const ui = new g2(), p2 = (e, t, i, r) => {
|
|
|
5368
5368
|
// "For interview integrity, please ensure you are alone in the room and only your face is visible to the camera.",
|
|
5369
5369
|
buttonText: "I Understood"
|
|
5370
5370
|
},
|
|
5371
|
-
[
|
|
5371
|
+
[ui.LOOKING_AWAY]: {
|
|
5372
5372
|
icon: io,
|
|
5373
5373
|
iconColor: "iw-text-amber-600",
|
|
5374
5374
|
iconBg: "iw-bg-amber-50",
|
|
@@ -5377,8 +5377,8 @@ const ui = new g2(), p2 = (e, t, i, r) => {
|
|
|
5377
5377
|
subtitle: "You looked away from the screen. Maintain focus to continue.",
|
|
5378
5378
|
buttonText: "I Understood"
|
|
5379
5379
|
},
|
|
5380
|
-
[
|
|
5381
|
-
icon:
|
|
5380
|
+
[ui.CAMERA_ERROR]: {
|
|
5381
|
+
icon: Zn,
|
|
5382
5382
|
iconColor: "iw-text-red-600",
|
|
5383
5383
|
iconBg: "iw-bg-red-50",
|
|
5384
5384
|
iconBorder: "iw-border-red-100",
|
|
@@ -5387,7 +5387,7 @@ const ui = new g2(), p2 = (e, t, i, r) => {
|
|
|
5387
5387
|
description: "Please check your camera connection and permissions, contact support if the problem continues.",
|
|
5388
5388
|
buttonText: "I Understood"
|
|
5389
5389
|
},
|
|
5390
|
-
[
|
|
5390
|
+
[ui.MODEL_LOADING]: {
|
|
5391
5391
|
icon: io,
|
|
5392
5392
|
iconColor: "iw-text-blue-600",
|
|
5393
5393
|
iconBg: "iw-bg-blue-50",
|
|
@@ -5417,7 +5417,7 @@ function v2({
|
|
|
5417
5417
|
{
|
|
5418
5418
|
onClick: e,
|
|
5419
5419
|
className: "iw-absolute iw-right-3 iw-top-3 iw-text-gray-400 iw-transition-colors iw-hover:iw-text-gray-600",
|
|
5420
|
-
children: /* @__PURE__ */ c(
|
|
5420
|
+
children: /* @__PURE__ */ c(cr, { className: "iw-h-5 iw-w-5" })
|
|
5421
5421
|
}
|
|
5422
5422
|
),
|
|
5423
5423
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-items-start iw-gap-2", children: [
|
|
@@ -5438,7 +5438,7 @@ const x2 = ({ status: e }) => {
|
|
|
5438
5438
|
const i = e !== "face_detected";
|
|
5439
5439
|
return /* @__PURE__ */ w("div", { className: "iw-flex iw-flex-col iw-items-center iw-gap-0.5", children: [
|
|
5440
5440
|
/* @__PURE__ */ w("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: [
|
|
5441
|
-
/* @__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(
|
|
5441
|
+
/* @__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(es, {}) : 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(cr, {}) }),
|
|
5442
5442
|
/* @__PURE__ */ c("span", { className: "iw-text-sm iw-font-medium", children: e === "face_detected" ? "Face detected clearly" : t.title })
|
|
5443
5443
|
] }),
|
|
5444
5444
|
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 AI 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." })
|
|
@@ -5456,7 +5456,7 @@ const x2 = ({ status: e }) => {
|
|
|
5456
5456
|
cheatingWarningVisible: l = !1
|
|
5457
5457
|
}, d) => {
|
|
5458
5458
|
var to;
|
|
5459
|
-
const { authToken: u } = Ea(), h = u ? su(u) : null, { borderRadius: f } =
|
|
5459
|
+
const { authToken: u } = Ea(), h = u ? su(u) : null, { borderRadius: f } = Ci(), m = f ?? 18, { proctoring: g, capture_screenshots: b } = Xn(), y = !!(g != null && g.gazeAnalysisEnabled), [p, x] = N(!1), [S, R] = N(
|
|
5460
5460
|
(g == null ? void 0 : g.showLandmarks) ?? !1
|
|
5461
5461
|
), [$, P] = N(
|
|
5462
5462
|
r && ((g == null ? void 0 : g.showEngagementBar) ?? !0)
|
|
@@ -5464,32 +5464,32 @@ const x2 = ({ status: e }) => {
|
|
|
5464
5464
|
y
|
|
5465
5465
|
), [C, j] = N(!1), ge = M(null), Ot = M(null), Ge = M(null), Ee = M(null), tt = I(
|
|
5466
5466
|
async (ye) => {
|
|
5467
|
-
var
|
|
5468
|
-
const
|
|
5469
|
-
if (!
|
|
5470
|
-
const
|
|
5471
|
-
if (!
|
|
5472
|
-
ve.width =
|
|
5473
|
-
const
|
|
5467
|
+
var xr;
|
|
5468
|
+
const zi = ge.current, ve = Ge.current;
|
|
5469
|
+
if (!zi || !ve) return;
|
|
5470
|
+
const ai = ve.getContext("2d");
|
|
5471
|
+
if (!ai) return;
|
|
5472
|
+
ve.width = zi.videoWidth, ve.height = zi.videoHeight, ai.save(), ai.scale(-1, 1), ai.drawImage(zi, -ve.width, 0, ve.width, ve.height), ai.restore();
|
|
5473
|
+
const Hi = await new Promise(
|
|
5474
5474
|
(Bt) => ve.toBlob(Bt, "image/jpeg")
|
|
5475
5475
|
);
|
|
5476
|
-
if (
|
|
5476
|
+
if (Hi && t)
|
|
5477
5477
|
try {
|
|
5478
|
-
const Bt = `${ye}-${Date.now()}.jpeg`, xe = await
|
|
5478
|
+
const Bt = `${ye}-${Date.now()}.jpeg`, xe = await _r.requestScreenshotUploadUrl(
|
|
5479
5479
|
t,
|
|
5480
5480
|
Bt
|
|
5481
5481
|
);
|
|
5482
|
-
xe.data && xe.data.upload_url && (await
|
|
5483
|
-
(
|
|
5484
|
-
|
|
5485
|
-
), xe.data.asset_id && await
|
|
5482
|
+
xe.data && xe.data.upload_url && (await _r.uploadScreenshot(
|
|
5483
|
+
(xr = xe == null ? void 0 : xe.data) == null ? void 0 : xr.upload_url,
|
|
5484
|
+
Hi
|
|
5485
|
+
), xe.data.asset_id && await _r.confirmScreenshotUpload(
|
|
5486
5486
|
xe.data.asset_id
|
|
5487
5487
|
));
|
|
5488
5488
|
} catch (Bt) {
|
|
5489
5489
|
console.error(`Failed to upload screenshot for ${ye}:`, Bt);
|
|
5490
5490
|
}
|
|
5491
5491
|
},
|
|
5492
|
-
[
|
|
5492
|
+
[_r, t]
|
|
5493
5493
|
);
|
|
5494
5494
|
F(() => {
|
|
5495
5495
|
let ye;
|
|
@@ -5501,39 +5501,39 @@ const x2 = ({ status: e }) => {
|
|
|
5501
5501
|
faceLandmarkerRef: xt,
|
|
5502
5502
|
isModelLoaded: it,
|
|
5503
5503
|
statusMessage: _t,
|
|
5504
|
-
setStatusMessage:
|
|
5504
|
+
setStatusMessage: Ke,
|
|
5505
5505
|
loadingProgress: Et,
|
|
5506
5506
|
permissionDenied: rt,
|
|
5507
5507
|
clearCache: ei
|
|
5508
5508
|
} = a2(), { fps: kt, updateFPS: ti } = c2(), { drawWithEngagementBar: ii, clearCanvas: Te, engagementRef: Ve } = l2(), {
|
|
5509
5509
|
engagement: X,
|
|
5510
|
-
isLookingAway:
|
|
5511
|
-
analyzeGaze:
|
|
5512
|
-
setEngagement:
|
|
5510
|
+
isLookingAway: Ye,
|
|
5511
|
+
analyzeGaze: Vi,
|
|
5512
|
+
setEngagement: pr,
|
|
5513
5513
|
setIsLookingAway: ri
|
|
5514
5514
|
} = d2(), {
|
|
5515
|
-
multipleFacesDetected:
|
|
5516
|
-
referenceFaceNotDetected:
|
|
5517
|
-
analyzeFace:
|
|
5515
|
+
multipleFacesDetected: ji,
|
|
5516
|
+
referenceFaceNotDetected: Wi,
|
|
5517
|
+
analyzeFace: dn,
|
|
5518
5518
|
setMultipleFacesDetected: ni,
|
|
5519
5519
|
setReferenceFaceNotDetected: si
|
|
5520
|
-
} = f2(), { referenceSet:
|
|
5520
|
+
} = f2(), { referenceSet: $i, referenceRef: yr, setReference: oi, resetReference: L, syncReference: D } = b2(
|
|
5521
5521
|
xt,
|
|
5522
5522
|
ge,
|
|
5523
|
-
|
|
5523
|
+
Ke,
|
|
5524
5524
|
n
|
|
5525
|
-
),
|
|
5526
|
-
multipleFacesDetected:
|
|
5527
|
-
referenceFaceNotDetected:
|
|
5528
|
-
isLookingAway:
|
|
5525
|
+
), Xe = {
|
|
5526
|
+
multipleFacesDetected: ji,
|
|
5527
|
+
referenceFaceNotDetected: Wi,
|
|
5528
|
+
isLookingAway: Ye
|
|
5529
5529
|
}, {
|
|
5530
|
-
showGazeWarningModal:
|
|
5531
|
-
getWarningType:
|
|
5530
|
+
showGazeWarningModal: br,
|
|
5531
|
+
getWarningType: vr,
|
|
5532
5532
|
closeWarningModal: Js,
|
|
5533
5533
|
setShowGazeWarningModal: Zs,
|
|
5534
5534
|
setFaceDetectionState: eo
|
|
5535
5535
|
} = m2(
|
|
5536
|
-
|
|
5536
|
+
Xe,
|
|
5537
5537
|
y && !a
|
|
5538
5538
|
// Disable warning manager modal triggers if overlay is on
|
|
5539
5539
|
);
|
|
@@ -5543,15 +5543,15 @@ const x2 = ({ status: e }) => {
|
|
|
5543
5543
|
o("model_loading");
|
|
5544
5544
|
return;
|
|
5545
5545
|
}
|
|
5546
|
-
const ye =
|
|
5546
|
+
const ye = vr() || "face_detected";
|
|
5547
5547
|
o(ye);
|
|
5548
5548
|
}
|
|
5549
5549
|
}, [
|
|
5550
5550
|
it,
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5551
|
+
ji,
|
|
5552
|
+
Wi,
|
|
5553
|
+
Ye,
|
|
5554
|
+
vr,
|
|
5555
5555
|
o
|
|
5556
5556
|
]);
|
|
5557
5557
|
const { renderLoop: Ll } = y2(
|
|
@@ -5559,28 +5559,28 @@ const x2 = ({ status: e }) => {
|
|
|
5559
5559
|
Ot,
|
|
5560
5560
|
xt,
|
|
5561
5561
|
ti,
|
|
5562
|
-
|
|
5562
|
+
dn,
|
|
5563
5563
|
ii,
|
|
5564
5564
|
Te,
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5565
|
+
Vi,
|
|
5566
|
+
$i,
|
|
5567
|
+
yr,
|
|
5568
5568
|
S,
|
|
5569
5569
|
$,
|
|
5570
5570
|
y,
|
|
5571
|
-
|
|
5571
|
+
Ke,
|
|
5572
5572
|
si
|
|
5573
5573
|
);
|
|
5574
|
-
p2(ge, it, Ll,
|
|
5575
|
-
|
|
5576
|
-
}, [
|
|
5577
|
-
Ve && Ve.current && (Ve.current.value = X, Ve.current.isLookingAway =
|
|
5578
|
-
}, [X,
|
|
5574
|
+
p2(ge, it, Ll, Ke), F(() => {
|
|
5575
|
+
D();
|
|
5576
|
+
}, [D]), F(() => {
|
|
5577
|
+
Ve && Ve.current && (Ve.current.value = X, Ve.current.isLookingAway = Ye);
|
|
5578
|
+
}, [X, Ye, Ve]);
|
|
5579
5579
|
const Rl = I(
|
|
5580
5580
|
(ye) => {
|
|
5581
|
-
de(ye), ye || (
|
|
5581
|
+
de(ye), ye || (pr(100), ri(!1));
|
|
5582
5582
|
},
|
|
5583
|
-
[
|
|
5583
|
+
[pr, ri]
|
|
5584
5584
|
), Ml = I(() => {
|
|
5585
5585
|
ri(!1), ni(!1), si(!1), eo("face_detected"), Zs(!1), Js();
|
|
5586
5586
|
}, [
|
|
@@ -5593,9 +5593,9 @@ const x2 = ({ status: e }) => {
|
|
|
5593
5593
|
]), Pl = {
|
|
5594
5594
|
engagement: X,
|
|
5595
5595
|
fps: kt,
|
|
5596
|
-
isLookingAway:
|
|
5597
|
-
multipleFacesDetected:
|
|
5598
|
-
referenceFaceNotDetected:
|
|
5596
|
+
isLookingAway: Ye,
|
|
5597
|
+
multipleFacesDetected: ji,
|
|
5598
|
+
referenceFaceNotDetected: Wi
|
|
5599
5599
|
};
|
|
5600
5600
|
return F(() => {
|
|
5601
5601
|
if (!b) return;
|
|
@@ -5607,17 +5607,17 @@ const x2 = ({ status: e }) => {
|
|
|
5607
5607
|
audio: !1
|
|
5608
5608
|
});
|
|
5609
5609
|
Ee.current = ve, ge.current && (ge.current.srcObject = ve);
|
|
5610
|
-
const
|
|
5610
|
+
const Hi = (i ?? Br) * 60 * 1e3 / 3, xr = [0, 1, 2].map((xe, At) => ({
|
|
5611
5611
|
label: `capture-${At + 1}`,
|
|
5612
|
-
start: At *
|
|
5613
|
-
end: (At + 1) *
|
|
5612
|
+
start: At * Hi,
|
|
5613
|
+
end: (At + 1) * Hi
|
|
5614
5614
|
})), Bt = (xe, At) => xe === At ? xe : Math.random() * (At - xe) + xe;
|
|
5615
|
-
|
|
5616
|
-
let
|
|
5617
|
-
Ol === 0 ?
|
|
5615
|
+
xr.forEach(({ label: xe, start: At, end: Dl }, Ol) => {
|
|
5616
|
+
let hn;
|
|
5617
|
+
Ol === 0 ? hn = 3e3 : hn = Bt(At, Dl), ye.push(
|
|
5618
5618
|
setTimeout(() => {
|
|
5619
5619
|
tt(xe);
|
|
5620
|
-
},
|
|
5620
|
+
}, hn)
|
|
5621
5621
|
);
|
|
5622
5622
|
});
|
|
5623
5623
|
} catch (ve) {
|
|
@@ -5630,16 +5630,16 @@ const x2 = ({ status: e }) => {
|
|
|
5630
5630
|
d,
|
|
5631
5631
|
() => ({
|
|
5632
5632
|
setReference: () => {
|
|
5633
|
-
|
|
5633
|
+
oi();
|
|
5634
5634
|
},
|
|
5635
5635
|
resetReference: () => {
|
|
5636
|
-
|
|
5636
|
+
L();
|
|
5637
5637
|
},
|
|
5638
5638
|
stopCamera: () => {
|
|
5639
5639
|
Ee.current && (Ee.current.getTracks().forEach((ye) => ye.stop()), Ee.current = null);
|
|
5640
5640
|
}
|
|
5641
5641
|
}),
|
|
5642
|
-
[
|
|
5642
|
+
[oi, L]
|
|
5643
5643
|
), /* @__PURE__ */ w("div", { className: `iw-relative iw-h-full iw-w-full ${e}`, children: [
|
|
5644
5644
|
rt ? /* @__PURE__ */ w("div", { className: "iw-rounded-md iw-border iw-border-red-600 iw-p-5 iw-text-red-600", children: [
|
|
5645
5645
|
/* @__PURE__ */ c("h2", { children: "Camera Permission Denied" }),
|
|
@@ -5687,11 +5687,11 @@ const x2 = ({ status: e }) => {
|
|
|
5687
5687
|
showControls: (g == null ? void 0 : g.showControls) ?? !1,
|
|
5688
5688
|
isBubbleOpen: p,
|
|
5689
5689
|
setIsBubbleOpen: x,
|
|
5690
|
-
setReference:
|
|
5690
|
+
setReference: oi,
|
|
5691
5691
|
clearCache: ei,
|
|
5692
5692
|
isModelLoaded: it,
|
|
5693
5693
|
gazeAnalysisEnabled: Y && y,
|
|
5694
|
-
referenceSet:
|
|
5694
|
+
referenceSet: $i,
|
|
5695
5695
|
showLandmarks: S,
|
|
5696
5696
|
setShowLandmarks: R,
|
|
5697
5697
|
showEngagementBar: $,
|
|
@@ -5712,23 +5712,23 @@ const x2 = ({ status: e }) => {
|
|
|
5712
5712
|
}
|
|
5713
5713
|
}
|
|
5714
5714
|
),
|
|
5715
|
-
/* @__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(x2, { status:
|
|
5715
|
+
/* @__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(x2, { status: vr() ?? "face_detected" }) })
|
|
5716
5716
|
] })
|
|
5717
5717
|
]
|
|
5718
5718
|
}
|
|
5719
5719
|
) }),
|
|
5720
|
-
y &&
|
|
5720
|
+
y && br && !a && /* @__PURE__ */ c(
|
|
5721
5721
|
v2,
|
|
5722
5722
|
{
|
|
5723
|
-
isOpen:
|
|
5723
|
+
isOpen: br,
|
|
5724
5724
|
onClose: Ml,
|
|
5725
|
-
warningType:
|
|
5725
|
+
warningType: vr(),
|
|
5726
5726
|
isCheatingModalOpen: l
|
|
5727
5727
|
}
|
|
5728
5728
|
)
|
|
5729
5729
|
] });
|
|
5730
5730
|
}
|
|
5731
|
-
),
|
|
5731
|
+
), Or = ({
|
|
5732
5732
|
children: e,
|
|
5733
5733
|
variant: t = "primary",
|
|
5734
5734
|
size: i = "md",
|
|
@@ -5762,10 +5762,10 @@ const x2 = ({ status: e }) => {
|
|
|
5762
5762
|
}
|
|
5763
5763
|
);
|
|
5764
5764
|
}, aa = ({ enabled: e, OnIcon: t, OffIcon: i, label: r }) => {
|
|
5765
|
-
const { baseColor: n } =
|
|
5765
|
+
const { baseColor: n } = Ci();
|
|
5766
5766
|
return /* @__PURE__ */ w("div", { className: "iw-relative iw-group", children: [
|
|
5767
5767
|
/* @__PURE__ */ c("div", { className: "iw-flex iw-h-12 iw-w-16 iw-items-center iw-justify-center iw-rounded-xl iw-border iw-transition-all iw-border-[#E7EAF1] iw-bg-white iw-text-[#062260]", children: e ? /* @__PURE__ */ c(t, { className: "iw-h-6 iw-w-6" }) : /* @__PURE__ */ c(i, { className: "iw-h-6 iw-w-6" }) }),
|
|
5768
|
-
e ? /* @__PURE__ */ c("div", { className: "iw-absolute -iw-right-1 -iw-top-1 iw-flex iw-h-4 iw-w-4 iw-items-center iw-justify-center iw-rounded-full iw-bg-[#22C55E] iw-text-white", children: /* @__PURE__ */ c(
|
|
5768
|
+
e ? /* @__PURE__ */ c("div", { className: "iw-absolute -iw-right-1 -iw-top-1 iw-flex iw-h-4 iw-w-4 iw-items-center iw-justify-center iw-rounded-full iw-bg-[#22C55E] iw-text-white", children: /* @__PURE__ */ c(es, { className: "iw-h-2.5 iw-w-2.5" }) }) : /* @__PURE__ */ w(mt, { children: [
|
|
5769
5769
|
/* @__PURE__ */ c("div", { className: "iw-absolute -iw-right-2 -iw-top-2 iw-z-10", children: /* @__PURE__ */ w("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5770
5770
|
/* @__PURE__ */ c(
|
|
5771
5771
|
"path",
|
|
@@ -5787,7 +5787,7 @@ const x2 = ({ status: e }) => {
|
|
|
5787
5787
|
children: [
|
|
5788
5788
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-justify-between iw-items-start iw-mb-1", children: [
|
|
5789
5789
|
/* @__PURE__ */ c("h4", { className: "iw-text-sm iw-font-bold iw-mr-2", children: r }),
|
|
5790
|
-
/* @__PURE__ */ c(
|
|
5790
|
+
/* @__PURE__ */ c(cr, { className: "iw-w-4 iw-h-4 iw-text-white/70 hover:iw-text-white iw-cursor-pointer iw-shrink-0" })
|
|
5791
5791
|
] }),
|
|
5792
5792
|
/* @__PURE__ */ c("p", { className: "iw-text-xs iw-opacity-90 iw-leading-tight", children: "We need permission to access your device. Go to your privacy settings to allow it" }),
|
|
5793
5793
|
/* @__PURE__ */ c("div", { className: "iw-absolute iw-top-full iw-left-1/2 -iw-translate-x-1/2 -iw-mt-1 iw-border-4 iw-border-transparent iw-border-t-[#5865F2]" })
|
|
@@ -5817,7 +5817,7 @@ const x2 = ({ status: e }) => {
|
|
|
5817
5817
|
onClick: (u) => {
|
|
5818
5818
|
u.stopPropagation(), s(!n);
|
|
5819
5819
|
},
|
|
5820
|
-
children: n && /* @__PURE__ */ c(
|
|
5820
|
+
children: n && /* @__PURE__ */ c(es, { className: "iw-size-3 iw-text-white" })
|
|
5821
5821
|
}
|
|
5822
5822
|
),
|
|
5823
5823
|
/* @__PURE__ */ c(
|
|
@@ -5852,7 +5852,7 @@ const x2 = ({ status: e }) => {
|
|
|
5852
5852
|
] }),
|
|
5853
5853
|
/* @__PURE__ */ w("div", { className: "iw-relative iw-group iw-flex-1 iw-max-w-[220px]", children: [
|
|
5854
5854
|
/* @__PURE__ */ c(
|
|
5855
|
-
|
|
5855
|
+
Or,
|
|
5856
5856
|
{
|
|
5857
5857
|
onClick: r,
|
|
5858
5858
|
disabled: d,
|
|
@@ -5865,7 +5865,7 @@ const x2 = ({ status: e }) => {
|
|
|
5865
5865
|
] })
|
|
5866
5866
|
] });
|
|
5867
5867
|
}, _2 = () => {
|
|
5868
|
-
const { baseColor: e } =
|
|
5868
|
+
const { baseColor: e } = Ci();
|
|
5869
5869
|
return /* @__PURE__ */ c(mt, { children: /* @__PURE__ */ c("div", { className: "iw-hidden group-hover:iw-block iw-absolute iw-bottom-full iw-mb-3 iw-left-1/5 -iw-translate-x-1/2 iw-w-64 iw-z-50", children: /* @__PURE__ */ w(
|
|
5870
5870
|
"div",
|
|
5871
5871
|
{
|
|
@@ -5882,7 +5882,7 @@ const x2 = ({ status: e }) => {
|
|
|
5882
5882
|
) }) });
|
|
5883
5883
|
}, E2 = ({ steps: e, currentStepIndex: t }) => /* @__PURE__ */ c("div", { className: "iw-flex iw-items-center iw-justify-center iw-gap-4 iw-w-full iw-py-6", children: e.map((i, r) => {
|
|
5884
5884
|
const n = r < t, s = r === t;
|
|
5885
|
-
return /* @__PURE__ */ w(
|
|
5885
|
+
return /* @__PURE__ */ w(zn.Fragment, { children: [
|
|
5886
5886
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-items-center iw-gap-3", children: [
|
|
5887
5887
|
/* @__PURE__ */ c(
|
|
5888
5888
|
"div",
|
|
@@ -5926,7 +5926,7 @@ const x2 = ({ status: e }) => {
|
|
|
5926
5926
|
gazeEnabled: i = !1,
|
|
5927
5927
|
videoFeedRef: r,
|
|
5928
5928
|
interviewId: n = "",
|
|
5929
|
-
interview_duration: s =
|
|
5929
|
+
interview_duration: s = Br
|
|
5930
5930
|
}) => {
|
|
5931
5931
|
const o = M(null), a = M(null), [l, d] = N(!1), [u, h] = N(!1), [f, m] = N(0), [g, b] = N(!1), y = M(null), p = M(null), x = (C) => {
|
|
5932
5932
|
y.current = C, r && (typeof r == "function" ? r(C) : r.current = C);
|
|
@@ -6336,8 +6336,8 @@ const S2 = (e) => {
|
|
|
6336
6336
|
};
|
|
6337
6337
|
};
|
|
6338
6338
|
function Il() {
|
|
6339
|
-
const e =
|
|
6340
|
-
return
|
|
6339
|
+
const e = Ur();
|
|
6340
|
+
return tr(() => {
|
|
6341
6341
|
const i = e.api || {};
|
|
6342
6342
|
return new ka(i);
|
|
6343
6343
|
}, [e.api]);
|
|
@@ -6383,11 +6383,11 @@ const I2 = (e) => {
|
|
|
6383
6383
|
}, [e]);
|
|
6384
6384
|
}, F2 = (e = {}) => {
|
|
6385
6385
|
const [t, i] = N(!1), [r, n] = N(!1), [s, o] = N(null), [a, l] = N(null), [d, u] = N(null);
|
|
6386
|
-
e.config &&
|
|
6386
|
+
e.config && di.updateConfig(e.config);
|
|
6387
6387
|
const h = I(async (b) => {
|
|
6388
6388
|
var y;
|
|
6389
6389
|
try {
|
|
6390
|
-
l(null), o(null), u(null), await
|
|
6390
|
+
l(null), o(null), u(null), await di.startRecording(b, {
|
|
6391
6391
|
onStart: () => {
|
|
6392
6392
|
var p;
|
|
6393
6393
|
i(!0), (p = e.onStart) == null || p.call(e);
|
|
@@ -6413,7 +6413,7 @@ const I2 = (e) => {
|
|
|
6413
6413
|
}, []), f = I(async () => {
|
|
6414
6414
|
var b, y;
|
|
6415
6415
|
try {
|
|
6416
|
-
const p = await
|
|
6416
|
+
const p = await di.stopRecording();
|
|
6417
6417
|
return u(p), i(!1), (b = e.onStop) == null || b.call(e), p;
|
|
6418
6418
|
} catch (p) {
|
|
6419
6419
|
const x = p instanceof ee ? p : new ee(
|
|
@@ -6431,7 +6431,7 @@ const I2 = (e) => {
|
|
|
6431
6431
|
const S = {
|
|
6432
6432
|
audioBlob: b,
|
|
6433
6433
|
...y
|
|
6434
|
-
}, R = await
|
|
6434
|
+
}, R = await di.transcribe(S);
|
|
6435
6435
|
return o(R.transcript), n(!1), (p = e.onTranscriptionComplete) == null || p.call(e, R), R;
|
|
6436
6436
|
} catch (S) {
|
|
6437
6437
|
const R = S instanceof ee ? S : new ee(
|
|
@@ -6444,7 +6444,7 @@ const I2 = (e) => {
|
|
|
6444
6444
|
},
|
|
6445
6445
|
[]
|
|
6446
6446
|
), g = I(() => {
|
|
6447
|
-
|
|
6447
|
+
di.cancelRecording(), i(!1), u(null);
|
|
6448
6448
|
}, []);
|
|
6449
6449
|
return {
|
|
6450
6450
|
startRecording: h,
|
|
@@ -6715,10 +6715,10 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
6715
6715
|
clearInterval(r), document.removeEventListener("keydown", n), document.removeEventListener("contextmenu", s), delete window.showStats, delete window.interviewTips;
|
|
6716
6716
|
};
|
|
6717
6717
|
}, []);
|
|
6718
|
-
},
|
|
6719
|
-
const { baseColor: t, borderRadius: i } =
|
|
6718
|
+
}, Qs = (e) => {
|
|
6719
|
+
const { baseColor: t, borderRadius: i } = Ci(), { loading: r, children: n, ...s } = e;
|
|
6720
6720
|
return /* @__PURE__ */ c(
|
|
6721
|
-
|
|
6721
|
+
Or,
|
|
6722
6722
|
{
|
|
6723
6723
|
style: {
|
|
6724
6724
|
background: ru(t),
|
|
@@ -6731,7 +6731,7 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
6731
6731
|
}, B2 = (e, t, i) => Math.max(t, Math.min(i, e)), da = (e) => {
|
|
6732
6732
|
const t = Math.max(0, Math.floor(e)), i = Math.floor(t / 60).toString().padStart(2, "0"), r = (t % 60).toString().padStart(2, "0");
|
|
6733
6733
|
return `${i}:${r}`;
|
|
6734
|
-
},
|
|
6734
|
+
}, un = ({
|
|
6735
6735
|
total: e,
|
|
6736
6736
|
remaining: t,
|
|
6737
6737
|
size: i = 64,
|
|
@@ -6739,10 +6739,10 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
6739
6739
|
className: n = "",
|
|
6740
6740
|
showLabel: s = !0
|
|
6741
6741
|
}) => {
|
|
6742
|
-
const o = Math.max(1, e || 1), a = B2(t / o, 0, 1), { radius: l, circumference: d, dashOffset: u, center: h } =
|
|
6742
|
+
const o = Math.max(1, e || 1), a = B2(t / o, 0, 1), { radius: l, circumference: d, dashOffset: u, center: h } = tr(() => {
|
|
6743
6743
|
const g = (i - r) / 2, b = 2 * Math.PI * g, y = b * (1 - a), p = Math.round(r) % 2 === 1, x = i / 2 + (p ? 0.5 : 0);
|
|
6744
6744
|
return { radius: g, circumference: b, dashOffset: y, center: x };
|
|
6745
|
-
}, [i, r, a]), f =
|
|
6745
|
+
}, [i, r, a]), f = tr(() => a <= 0.25 ? "iw-stroke-red-500" : a <= 0.5 ? "iw-stroke-yellow-500" : "iw-stroke-green-500", [a]), m = a <= 0.25 ? "iw-animate-pulse" : "";
|
|
6746
6746
|
return /* @__PURE__ */ w(
|
|
6747
6747
|
"div",
|
|
6748
6748
|
{
|
|
@@ -6812,7 +6812,7 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
6812
6812
|
const i = (e == null ? void 0 : e.currentPhaseTimeRemaining) || 0, r = t || Sl.answeringDuration;
|
|
6813
6813
|
return /* @__PURE__ */ w("div", { className: "iw-flex iw-items-center iw-gap-3", children: [
|
|
6814
6814
|
/* @__PURE__ */ c(
|
|
6815
|
-
|
|
6815
|
+
un,
|
|
6816
6816
|
{
|
|
6817
6817
|
total: r,
|
|
6818
6818
|
remaining: i,
|
|
@@ -6825,7 +6825,7 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
6825
6825
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-flex-col", children: [
|
|
6826
6826
|
/* @__PURE__ */ c("span", { className: "iw-text-[#5C6686]", children: "Time left to answer" }),
|
|
6827
6827
|
/* @__PURE__ */ w("span", { className: "iw-text-xl iw-font-bold iw-text-[#062260]", children: [
|
|
6828
|
-
|
|
6828
|
+
Qn(i, !0),
|
|
6829
6829
|
i >= 60 ? " min" : " sec"
|
|
6830
6830
|
] })
|
|
6831
6831
|
] })
|
|
@@ -6854,7 +6854,7 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
6854
6854
|
style: {
|
|
6855
6855
|
backgroundImage: "linear-gradient(#B5D0FD, #FFFFFF)"
|
|
6856
6856
|
},
|
|
6857
|
-
children: /* @__PURE__ */ c(
|
|
6857
|
+
children: /* @__PURE__ */ c(Jn, { brandLogo: n, brandName: r })
|
|
6858
6858
|
}
|
|
6859
6859
|
)
|
|
6860
6860
|
}
|
|
@@ -6972,7 +6972,7 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
6972
6972
|
/* @__PURE__ */ c("span", { className: "iw-text-[#062260] iw-text-sm iw-font-medium iw-line-clamp-1", children: "Time left to edit answer" }),
|
|
6973
6973
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-items-center iw-gap-2", children: [
|
|
6974
6974
|
/* @__PURE__ */ c(
|
|
6975
|
-
|
|
6975
|
+
un,
|
|
6976
6976
|
{
|
|
6977
6977
|
total: r,
|
|
6978
6978
|
remaining: i.currentPhaseTimeRemaining,
|
|
@@ -6981,7 +6981,7 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
6981
6981
|
showLabel: !1
|
|
6982
6982
|
}
|
|
6983
6983
|
),
|
|
6984
|
-
/* @__PURE__ */ c("span", { className: "iw-text-[#062260] iw-text-sm iw-font-bold", children: `${
|
|
6984
|
+
/* @__PURE__ */ c("span", { className: "iw-text-[#062260] iw-text-sm iw-font-bold", children: `${Qn(i.currentPhaseTimeRemaining)} mins` })
|
|
6985
6985
|
] })
|
|
6986
6986
|
] })
|
|
6987
6987
|
] }), ha = ({
|
|
@@ -7173,7 +7173,7 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
7173
7173
|
timerState: a,
|
|
7174
7174
|
editingTime: l
|
|
7175
7175
|
}) => {
|
|
7176
|
-
const d = Il(), [u, h] = N([]), [f, m] = N(!0), g =
|
|
7176
|
+
const d = Il(), [u, h] = N([]), [f, m] = N(!0), g = zn.useRef(null);
|
|
7177
7177
|
return F(() => {
|
|
7178
7178
|
var b;
|
|
7179
7179
|
(b = g.current) == null || b.scrollIntoView({ behavior: "smooth" });
|
|
@@ -7227,7 +7227,7 @@ const ua = new M2(), P2 = (e = {}) => {
|
|
|
7227
7227
|
editingTime: l
|
|
7228
7228
|
}
|
|
7229
7229
|
);
|
|
7230
|
-
},
|
|
7230
|
+
}, En = 5, kn = 5;
|
|
7231
7231
|
function Q2({
|
|
7232
7232
|
isOpen: e,
|
|
7233
7233
|
onClose: t,
|
|
@@ -7235,17 +7235,17 @@ function Q2({
|
|
|
7235
7235
|
violationType: r,
|
|
7236
7236
|
onDisqualify: n
|
|
7237
7237
|
}) {
|
|
7238
|
-
const [, s] = N(
|
|
7238
|
+
const [, s] = N(kn), o = M(t), a = M(n), l = M(i);
|
|
7239
7239
|
if (F(() => {
|
|
7240
7240
|
o.current = t, a.current = n, l.current = i;
|
|
7241
7241
|
}, [t, n, i]), F(() => {
|
|
7242
7242
|
if (!e) return;
|
|
7243
7243
|
const f = setInterval(() => {
|
|
7244
|
-
s((m) => m <= 1 ? (l.current + 1 >
|
|
7244
|
+
s((m) => m <= 1 ? (l.current + 1 > En ? a.current() : o.current(), kn) : m - 1);
|
|
7245
7245
|
}, 1e3);
|
|
7246
7246
|
return () => clearInterval(f);
|
|
7247
7247
|
}, [e]), F(() => {
|
|
7248
|
-
e && s(
|
|
7248
|
+
e && s(kn);
|
|
7249
7249
|
}, [e]), !e) return null;
|
|
7250
7250
|
const d = () => {
|
|
7251
7251
|
switch (r) {
|
|
@@ -7266,7 +7266,7 @@ function Q2({
|
|
|
7266
7266
|
default:
|
|
7267
7267
|
return "Attempted right click/tab switch";
|
|
7268
7268
|
}
|
|
7269
|
-
}, u =
|
|
7269
|
+
}, u = En - i;
|
|
7270
7270
|
return /* @__PURE__ */ c(
|
|
7271
7271
|
"div",
|
|
7272
7272
|
{
|
|
@@ -7280,14 +7280,14 @@ function Q2({
|
|
|
7280
7280
|
"button",
|
|
7281
7281
|
{
|
|
7282
7282
|
onClick: () => {
|
|
7283
|
-
i + 1 >
|
|
7283
|
+
i + 1 > En ? n() : t();
|
|
7284
7284
|
},
|
|
7285
7285
|
className: "iw-absolute iw-right-3 iw-top-3 iw-text-gray-400 iw-transition-colors iw-hover:iw-text-gray-600",
|
|
7286
|
-
children: /* @__PURE__ */ c(
|
|
7286
|
+
children: /* @__PURE__ */ c(cr, { className: "iw-h-5 iw-w-5" })
|
|
7287
7287
|
}
|
|
7288
7288
|
),
|
|
7289
7289
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-items-start iw-gap-3", children: [
|
|
7290
|
-
/* @__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(
|
|
7290
|
+
/* @__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(Zn, { className: "iw-h-5 iw-w-5 iw-text-red-500" }) }),
|
|
7291
7291
|
/* @__PURE__ */ w("div", { className: "iw-flex-1 iw-pt-0.5", children: [
|
|
7292
7292
|
/* @__PURE__ */ w("h2", { className: "iw-text-[20px] iw-font-semibold iw-leading-tight iw-text-[#E94315]", children: [
|
|
7293
7293
|
"You have ",
|
|
@@ -7422,7 +7422,7 @@ const J2 = ({
|
|
|
7422
7422
|
children: [
|
|
7423
7423
|
/* @__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" }),
|
|
7424
7424
|
/* @__PURE__ */ c("div", { className: "iw-space-y-1 iw-pb-2 iw-pt-3", children: /* @__PURE__ */ w("div", { className: "iw-flex iw-items-center iw-gap-2", children: [
|
|
7425
|
-
/* @__PURE__ */ c(
|
|
7425
|
+
/* @__PURE__ */ c(Zn, { className: "iw-w-5 iw-h-5 iw-text-red-500" }),
|
|
7426
7426
|
/* @__PURE__ */ c("h3", { className: "iw-text-xl iw-font-semibold iw-text-red-500", children: "Full Screen Exit Detected" })
|
|
7427
7427
|
] }) }),
|
|
7428
7428
|
/* @__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." }) }),
|
|
@@ -7440,8 +7440,8 @@ const J2 = ({
|
|
|
7440
7440
|
]
|
|
7441
7441
|
}
|
|
7442
7442
|
);
|
|
7443
|
-
}, Fl =
|
|
7444
|
-
const e =
|
|
7443
|
+
}, Fl = Hn(null), t1 = () => {
|
|
7444
|
+
const e = Ni(Fl);
|
|
7445
7445
|
if (!e)
|
|
7446
7446
|
throw new Error("useProctoring must be used within InterviewProctoring");
|
|
7447
7447
|
return e;
|
|
@@ -7546,7 +7546,7 @@ const J2 = ({
|
|
|
7546
7546
|
phase: n,
|
|
7547
7547
|
className: s = "",
|
|
7548
7548
|
interviewId: o = "",
|
|
7549
|
-
interview_duration: a =
|
|
7549
|
+
interview_duration: a = Br,
|
|
7550
7550
|
videoFeedRef: l,
|
|
7551
7551
|
lastSubmittedAnswer: d,
|
|
7552
7552
|
onNextPhase: u,
|
|
@@ -7745,7 +7745,7 @@ const J2 = ({
|
|
|
7745
7745
|
/* @__PURE__ */ c("div", { className: "iw-my-0 iw-h-px iw-m-6 iw-border-t iw-border-dashed iw-border-[#B3B9CB]" }),
|
|
7746
7746
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-justify-center iw-gap-4 iw-p-4", children: [
|
|
7747
7747
|
/* @__PURE__ */ c(
|
|
7748
|
-
|
|
7748
|
+
Or,
|
|
7749
7749
|
{
|
|
7750
7750
|
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",
|
|
7751
7751
|
onClick: e,
|
|
@@ -7753,7 +7753,7 @@ const J2 = ({
|
|
|
7753
7753
|
}
|
|
7754
7754
|
),
|
|
7755
7755
|
/* @__PURE__ */ c(
|
|
7756
|
-
|
|
7756
|
+
Or,
|
|
7757
7757
|
{
|
|
7758
7758
|
onClick: i,
|
|
7759
7759
|
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",
|
|
@@ -7775,7 +7775,7 @@ const J2 = ({
|
|
|
7775
7775
|
return /* @__PURE__ */ w("header", { className: "iw-w-full iw-text-gray-900 iw-shadow-sm", children: [
|
|
7776
7776
|
/* @__PURE__ */ w("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: [
|
|
7777
7777
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-items-center iw-space-x-2", children: [
|
|
7778
|
-
/* @__PURE__ */ c(
|
|
7778
|
+
/* @__PURE__ */ c(Jn, { brandLogo: i, brandName: t }),
|
|
7779
7779
|
/* @__PURE__ */ c("p", { className: "iw-text-xl iw-font-semibold", children: t })
|
|
7780
7780
|
] }),
|
|
7781
7781
|
/* @__PURE__ */ c("h1", { className: "iw-text-2xl iw-font-semibold iw-text-gradient-silver", children: e }),
|
|
@@ -7785,7 +7785,7 @@ const J2 = ({
|
|
|
7785
7785
|
className: "iw-text-sm iw-text-[#E94315] iw-min-w-10 iw-rounded-md hover:iw-bg-orange-100 iw-p-2",
|
|
7786
7786
|
onClick: () => a(!0),
|
|
7787
7787
|
children: /* @__PURE__ */ w("span", { className: "iw-flex iw-items-center iw-gap-1 iw-text-[18px] iw-font-semibold iw-whitespace-nowrap", children: [
|
|
7788
|
-
/* @__PURE__ */ c(
|
|
7788
|
+
/* @__PURE__ */ c(cr, { className: "iw-text-[#E94315] iw-size-5" }),
|
|
7789
7789
|
"Leave interview"
|
|
7790
7790
|
] })
|
|
7791
7791
|
}
|
|
@@ -7800,7 +7800,7 @@ const J2 = ({
|
|
|
7800
7800
|
}
|
|
7801
7801
|
) }),
|
|
7802
7802
|
/* @__PURE__ */ w("div", { className: "iw-text-sm iw-font-medium iw-whitespace-nowrap", children: [
|
|
7803
|
-
/* @__PURE__ */ c("span", { className: "iw-text-[#062260]", children:
|
|
7803
|
+
/* @__PURE__ */ c("span", { className: "iw-text-[#062260]", children: Qn(s) }),
|
|
7804
7804
|
/* @__PURE__ */ w("span", { className: "iw-text-[#667085]", children: [
|
|
7805
7805
|
"/",
|
|
7806
7806
|
n,
|
|
@@ -7831,7 +7831,7 @@ const J2 = ({
|
|
|
7831
7831
|
mediaStream: a,
|
|
7832
7832
|
startOnMount: l = !0
|
|
7833
7833
|
}) => {
|
|
7834
|
-
const { baseColor: d } =
|
|
7834
|
+
const { baseColor: d } = Ci(), u = M(null), h = M(null), f = M(null), m = M(null), g = M(null), b = M(null), y = M(!1), [p, x] = N(null);
|
|
7835
7835
|
F(() => {
|
|
7836
7836
|
if (t || !h.current) return;
|
|
7837
7837
|
const R = h.current, $ = () => {
|
|
@@ -7896,10 +7896,10 @@ const J2 = ({
|
|
|
7896
7896
|
b.current = requestAnimationFrame(Ot), $.getByteTimeDomainData(ge), P.clearRect(0, 0, de, C), P.fillStyle = "rgba(0,0,0,0)", P.fillRect(0, 0, de, C);
|
|
7897
7897
|
const Ge = Math.max(1, Math.floor(r * Y)), Ee = Math.max(1, Math.floor(n * Y)), tt = Ge + Ee, xt = Math.max(8, Math.floor((de + Ee) / tt)), it = Math.floor(ge.length / xt);
|
|
7898
7898
|
for (let _t = 0; _t < xt; _t++) {
|
|
7899
|
-
const
|
|
7899
|
+
const Ke = Math.min(ge.length - 1, _t * it), Et = ge[Ke] / 128 - 1, rt = Math.abs(Et), ei = Math.pow(rt, 0.6), kt = Math.max(C * 0.06, ei * (C * 0.9)), ti = _t * tt, ii = (C - kt) / 2, Te = 140 - Math.min(140, 140 * rt), Ve = 85, X = 48 + Math.floor(12 * (1 - rt));
|
|
7900
7900
|
P.fillStyle = `${d}`, P.shadowColor = `hsla(${Te}, ${Ve}%, ${X}%, ${0.25 * rt})`, P.shadowBlur = 8 * rt;
|
|
7901
|
-
const
|
|
7902
|
-
a1(P, ti, ii, Ge, kt,
|
|
7901
|
+
const Ye = Math.min(Ge / 2, kt / 2);
|
|
7902
|
+
a1(P, ti, ii, Ge, kt, Ye), P.fill();
|
|
7903
7903
|
}
|
|
7904
7904
|
};
|
|
7905
7905
|
Ot();
|
|
@@ -7936,7 +7936,7 @@ const c1 = ({
|
|
|
7936
7936
|
/* @__PURE__ */ c("p", { className: "iw-text-gray-700 iw-text-sm", children: "Time to talk: " })
|
|
7937
7937
|
] }),
|
|
7938
7938
|
/* @__PURE__ */ c(
|
|
7939
|
-
|
|
7939
|
+
un,
|
|
7940
7940
|
{
|
|
7941
7941
|
total: t,
|
|
7942
7942
|
remaining: e.currentPhaseTimeRemaining,
|
|
@@ -7956,7 +7956,7 @@ const c1 = ({
|
|
|
7956
7956
|
] })
|
|
7957
7957
|
] }),
|
|
7958
7958
|
/* @__PURE__ */ c("div", { className: "iw-w-full iw-grid iw-grid-cols-1", children: /* @__PURE__ */ c(
|
|
7959
|
-
|
|
7959
|
+
Qs,
|
|
7960
7960
|
{
|
|
7961
7961
|
onClick: () => {
|
|
7962
7962
|
i();
|
|
@@ -7966,7 +7966,7 @@ const c1 = ({
|
|
|
7966
7966
|
) })
|
|
7967
7967
|
] });
|
|
7968
7968
|
function l1() {
|
|
7969
|
-
const [e, t] = N(!0), i =
|
|
7969
|
+
const [e, t] = N(!0), i = tr(
|
|
7970
7970
|
() => [0, 1, 2].map((r) => ({ id: r })),
|
|
7971
7971
|
[]
|
|
7972
7972
|
);
|
|
@@ -8166,7 +8166,7 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8166
8166
|
/* @__PURE__ */ c("p", { className: "iw-text-gray-700 iw-text-sm", children: "Time to think: " })
|
|
8167
8167
|
] }),
|
|
8168
8168
|
/* @__PURE__ */ c(
|
|
8169
|
-
|
|
8169
|
+
un,
|
|
8170
8170
|
{
|
|
8171
8171
|
total: t,
|
|
8172
8172
|
remaining: e.currentPhaseTimeRemaining,
|
|
@@ -8176,7 +8176,7 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8176
8176
|
)
|
|
8177
8177
|
] }),
|
|
8178
8178
|
/* @__PURE__ */ c("div", { className: "iw-w-full iw-grid iw-grid-cols-1", children: /* @__PURE__ */ c(
|
|
8179
|
-
|
|
8179
|
+
Qs,
|
|
8180
8180
|
{
|
|
8181
8181
|
onClick: () => {
|
|
8182
8182
|
i();
|
|
@@ -8242,12 +8242,12 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8242
8242
|
className: o = "",
|
|
8243
8243
|
videoFeedRef: a
|
|
8244
8244
|
}) => {
|
|
8245
|
-
var
|
|
8246
|
-
const l = Il(), { baseUrl: d, authToken: u } = Ea(), { timers: h, stt: f, proctoring: m } =
|
|
8247
|
-
|
|
8245
|
+
var $i, yr, oi;
|
|
8246
|
+
const l = Il(), { baseUrl: d, authToken: u } = Ea(), { timers: h, stt: f, proctoring: m } = Xn(), g = M(null), [b, y] = N(null), [p, x] = N(""), [S, R] = N(null), [$, P] = N(
|
|
8247
|
+
Br
|
|
8248
8248
|
), [Y, de] = N(!0), C = M(""), j = M(null), ge = {
|
|
8249
8249
|
thinkingTime: (h == null ? void 0 : h.thinkingDuration) || 0,
|
|
8250
|
-
answeringTime: (h == null ? void 0 : h.answeringDuration) || 120,
|
|
8250
|
+
answeringTime: (($i = j.current) == null ? void 0 : $i.estimated_answer_duration_in_seconds) || (h == null ? void 0 : h.answeringDuration) || 120,
|
|
8251
8251
|
editingTime: Y ? (h == null ? void 0 : h.editingDuration) || 30 : 0
|
|
8252
8252
|
}, { thinkingTime: Ot, answeringTime: Ge, editingTime: Ee } = ge;
|
|
8253
8253
|
F(() => {
|
|
@@ -8264,7 +8264,7 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8264
8264
|
onError: () => {
|
|
8265
8265
|
tt.current || (tt.current = !0, X());
|
|
8266
8266
|
}
|
|
8267
|
-
}),
|
|
8267
|
+
}), Ke = M(!1), Et = M(!1), {
|
|
8268
8268
|
startRecording: rt,
|
|
8269
8269
|
stopRecording: ei,
|
|
8270
8270
|
transcribe: kt,
|
|
@@ -8277,11 +8277,11 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8277
8277
|
model: f == null ? void 0 : f.model,
|
|
8278
8278
|
language: f == null ? void 0 : f.language,
|
|
8279
8279
|
authToken: u,
|
|
8280
|
-
qnaId: ((
|
|
8280
|
+
qnaId: ((yr = j.current) == null ? void 0 : yr.qna_id) || "",
|
|
8281
8281
|
interviewId: r
|
|
8282
8282
|
},
|
|
8283
8283
|
onStart: () => {
|
|
8284
|
-
|
|
8284
|
+
Ke.current = !1, Et.current = !1;
|
|
8285
8285
|
},
|
|
8286
8286
|
onStop: () => {
|
|
8287
8287
|
},
|
|
@@ -8290,9 +8290,9 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8290
8290
|
x(D), C.current = D, Et.current || (Et.current = !0, X());
|
|
8291
8291
|
},
|
|
8292
8292
|
onError: (L) => {
|
|
8293
|
-
console.error("STT Error:", L),
|
|
8293
|
+
console.error("STT Error:", L), Ke.current || (Ke.current = !0, X());
|
|
8294
8294
|
}
|
|
8295
|
-
}), { state: Te, startQuestion: Ve, nextPhase: X, completeInterview:
|
|
8295
|
+
}), { state: Te, startQuestion: Ve, nextPhase: X, completeInterview: Ye, timerService: Vi } = N2({
|
|
8296
8296
|
config: {
|
|
8297
8297
|
// thinkingDuration: thinkingTime,
|
|
8298
8298
|
answeringDuration: Ge,
|
|
@@ -8302,16 +8302,16 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8302
8302
|
onPhaseChange: (L) => {
|
|
8303
8303
|
switch (L) {
|
|
8304
8304
|
case B.FETCHING_QUESTION:
|
|
8305
|
-
|
|
8305
|
+
pr();
|
|
8306
8306
|
break;
|
|
8307
8307
|
case B.READING_QUESTION:
|
|
8308
|
-
|
|
8308
|
+
ji();
|
|
8309
8309
|
break;
|
|
8310
8310
|
case B.ANSWERING:
|
|
8311
|
-
|
|
8311
|
+
Wi();
|
|
8312
8312
|
break;
|
|
8313
8313
|
case B.TRANSCRIBING:
|
|
8314
|
-
|
|
8314
|
+
dn();
|
|
8315
8315
|
break;
|
|
8316
8316
|
case B.SUBMITTING:
|
|
8317
8317
|
ri();
|
|
@@ -8330,17 +8330,17 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8330
8330
|
try {
|
|
8331
8331
|
const D = await l.getInterviewConfig(r);
|
|
8332
8332
|
if (D != null && D.data && (D.data.duration_in_minutes && P(D.data.duration_in_minutes), typeof D.data.allow_answer_editing == "boolean" && de(D.data.allow_answer_editing), typeof D.data.elapsed_time_in_minutes == "number")) {
|
|
8333
|
-
const
|
|
8333
|
+
const Xe = Math.floor(
|
|
8334
8334
|
D.data.elapsed_time_in_minutes * 60
|
|
8335
8335
|
);
|
|
8336
|
-
|
|
8336
|
+
Vi.setTotalTimeElapsed(Xe);
|
|
8337
8337
|
}
|
|
8338
8338
|
} catch (D) {
|
|
8339
8339
|
console.error("Failed to fetch interview config:", D);
|
|
8340
8340
|
}
|
|
8341
8341
|
})();
|
|
8342
|
-
}, [r,
|
|
8343
|
-
const { execute:
|
|
8342
|
+
}, [r, Vi]);
|
|
8343
|
+
const { execute: pr } = C2(
|
|
8344
8344
|
async () => {
|
|
8345
8345
|
const L = await l.generateQuestion({
|
|
8346
8346
|
interviewId: r
|
|
@@ -8352,7 +8352,9 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8352
8352
|
},
|
|
8353
8353
|
{
|
|
8354
8354
|
onSuccess: async (L) => {
|
|
8355
|
-
L && L.data && (x(""), C.current = "", y(L.data),
|
|
8355
|
+
L && L.data && (x(""), C.current = "", y(L.data), Vi.updateConfig({
|
|
8356
|
+
answeringDuration: L.data.estimated_answer_duration_in_seconds || (h == null ? void 0 : h.answeringDuration) || 120
|
|
8357
|
+
}), X());
|
|
8356
8358
|
},
|
|
8357
8359
|
onError: (L) => {
|
|
8358
8360
|
console.error("Failed to fetch questions:", L);
|
|
@@ -8361,57 +8363,57 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8361
8363
|
), ri = I(async () => {
|
|
8362
8364
|
var L;
|
|
8363
8365
|
try {
|
|
8364
|
-
const D = C.current,
|
|
8366
|
+
const D = C.current, Xe = ((L = j.current) == null ? void 0 : L.qna_id) || "";
|
|
8365
8367
|
Y && await l.submitAnswer({
|
|
8366
8368
|
interviewId: r,
|
|
8367
|
-
qnaId:
|
|
8369
|
+
qnaId: Xe,
|
|
8368
8370
|
answer: D
|
|
8369
8371
|
}), R({
|
|
8370
|
-
qnaId:
|
|
8372
|
+
qnaId: Xe,
|
|
8371
8373
|
answer: D
|
|
8372
8374
|
});
|
|
8373
8375
|
} catch (D) {
|
|
8374
8376
|
console.error("Failed to submit answer:", D);
|
|
8375
8377
|
}
|
|
8376
8378
|
Ve();
|
|
8377
|
-
}, [l, r, Ve, Y]),
|
|
8379
|
+
}, [l, r, Ve, Y]), ji = I(async () => {
|
|
8378
8380
|
var L, D;
|
|
8379
8381
|
if ((L = j.current) != null && L.question)
|
|
8380
8382
|
if (j.current.question_audio_data_base64)
|
|
8381
8383
|
try {
|
|
8382
8384
|
tt.current = !1, await xt(
|
|
8383
8385
|
j.current.question_audio_data_base64
|
|
8384
|
-
), j.current.is_interview_done && (it(), ti(), a && "current" in a && ((D = a.current) == null || D.stopCamera()),
|
|
8385
|
-
} catch (
|
|
8386
|
-
console.error("Failed to speak question:",
|
|
8386
|
+
), j.current.is_interview_done && (it(), ti(), a && "current" in a && ((D = a.current) == null || D.stopCamera()), Ye());
|
|
8387
|
+
} catch (Xe) {
|
|
8388
|
+
console.error("Failed to speak question:", Xe), X();
|
|
8387
8389
|
}
|
|
8388
8390
|
else
|
|
8389
8391
|
console.warn("No audio data available for question"), await iu(2e3), X();
|
|
8390
8392
|
else
|
|
8391
8393
|
X();
|
|
8392
|
-
}, [xt, X,
|
|
8394
|
+
}, [xt, X, Ye]), Wi = I(async () => {
|
|
8393
8395
|
try {
|
|
8394
8396
|
await rt(Ge);
|
|
8395
8397
|
} catch (L) {
|
|
8396
8398
|
console.error("Failed to start recording:", L), X();
|
|
8397
8399
|
}
|
|
8398
|
-
}, [rt, X]),
|
|
8400
|
+
}, [rt, X]), dn = I(async () => {
|
|
8399
8401
|
try {
|
|
8400
8402
|
const L = await ei();
|
|
8401
8403
|
await kt(L);
|
|
8402
8404
|
} catch (L) {
|
|
8403
|
-
console.error("STT processing failed:", L), !
|
|
8405
|
+
console.error("STT processing failed:", L), !Ke.current && !Et.current && (Ke.current = !0, X());
|
|
8404
8406
|
}
|
|
8405
8407
|
}, [ei, kt, X]), ni = I(
|
|
8406
8408
|
async (L) => {
|
|
8407
|
-
var D,
|
|
8408
|
-
it(), ti(), a && "current" in a && ((D = a.current) == null || D.stopCamera()), await ((
|
|
8409
|
+
var D, Xe;
|
|
8410
|
+
it(), ti(), a && "current" in a && ((D = a.current) == null || D.stopCamera()), await ((Xe = g.current) == null ? void 0 : Xe.exitFullScreenIntentionally());
|
|
8409
8411
|
try {
|
|
8410
8412
|
await l.exitInterview(r);
|
|
8411
|
-
} catch (
|
|
8412
|
-
console.error("API call failed:",
|
|
8413
|
+
} catch (br) {
|
|
8414
|
+
console.error("API call failed:", br);
|
|
8413
8415
|
} finally {
|
|
8414
|
-
L == null || L(),
|
|
8416
|
+
L == null || L(), Ye(), sessionStorage.removeItem(Kn);
|
|
8415
8417
|
}
|
|
8416
8418
|
},
|
|
8417
8419
|
[r, it, l]
|
|
@@ -8422,7 +8424,7 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8422
8424
|
return /* @__PURE__ */ w("div", { className: "iw-text-center iw-flex iw-flex-col iw-items-center iw-justify-center iw-gap-2 iw-h-full", children: [
|
|
8423
8425
|
/* @__PURE__ */ c("h3", { className: "iw-text-lg iw-font-semibold iw-text-gray-900 iw-mb-1", children: "Ready to start the Interview?" }),
|
|
8424
8426
|
/* @__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.` }),
|
|
8425
|
-
/* @__PURE__ */ c(
|
|
8427
|
+
/* @__PURE__ */ c(Qs, { onClick: Ve, className: "iw-mt-2 iw-w-40", children: "Start Interview" })
|
|
8426
8428
|
] });
|
|
8427
8429
|
case B.FETCHING_QUESTION:
|
|
8428
8430
|
return /* @__PURE__ */ c(l1, {});
|
|
@@ -8469,7 +8471,7 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8469
8471
|
{
|
|
8470
8472
|
ref: g,
|
|
8471
8473
|
onDisqualify: () => ni(s),
|
|
8472
|
-
isCompleted: ((
|
|
8474
|
+
isCompleted: ((oi = j == null ? void 0 : j.current) == null ? void 0 : oi.is_interview_done) ?? !1,
|
|
8473
8475
|
children: [
|
|
8474
8476
|
/* @__PURE__ */ c(
|
|
8475
8477
|
ma,
|
|
@@ -8554,7 +8556,7 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8554
8556
|
onInterviewDisqualify: s,
|
|
8555
8557
|
className: o = ""
|
|
8556
8558
|
}) => {
|
|
8557
|
-
const [a, l] = N(!1), [d, u] = N(!0), [h, f] = N(!1), { proctoring: m } =
|
|
8559
|
+
const [a, l] = N(!1), [d, u] = N(!0), [h, f] = N(!1), { proctoring: m } = Xn(), g = M(null), b = M(null), y = (m == null ? void 0 : m.gazeAnalysisEnabled) === !0, p = () => {
|
|
8558
8560
|
l(!0), u(!1);
|
|
8559
8561
|
};
|
|
8560
8562
|
return F(() => {
|
|
@@ -8586,7 +8588,7 @@ const h1 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ w("d
|
|
|
8586
8588
|
}
|
|
8587
8589
|
) }) : /* @__PURE__ */ w("div", { className: "interview-widget-container", children: [
|
|
8588
8590
|
/* @__PURE__ */ w("div", { className: "iw-flex iw-items-center iw-space-x-2 iw-mx-auto iw-p-2 iw-max-w-[1800px]", children: [
|
|
8589
|
-
/* @__PURE__ */ c(
|
|
8591
|
+
/* @__PURE__ */ c(Jn, { brandLogo: i, brandName: t }),
|
|
8590
8592
|
/* @__PURE__ */ c("p", { className: "iw-text-xl iw-font-semibold", children: t })
|
|
8591
8593
|
] }),
|
|
8592
8594
|
/* @__PURE__ */ c(
|