@simprints/simface-sdk 0.14.1 → 0.16.1

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.
@@ -1,4 +1,13 @@
1
- class ko {
1
+ async function fs(e, t) {
2
+ try {
3
+ const r = await e.json();
4
+ if (typeof r.error == "string" && r.error.trim())
5
+ return r.error.trim();
6
+ } catch {
7
+ }
8
+ return `${t} (HTTP ${e.status})`;
9
+ }
10
+ class So {
2
11
  constructor(t) {
3
12
  this.apiUrl = t.apiUrl.replace(/\/$/, ""), this.projectId = t.projectId, this.apiKey = t.apiKey;
4
13
  }
@@ -11,10 +20,8 @@ class ko {
11
20
  apiKey: this.apiKey
12
21
  })
13
22
  });
14
- if (!t.ok) {
15
- const r = await t.json();
16
- throw new Error(r.error || "API key validation failed");
17
- }
23
+ if (!t.ok)
24
+ throw new Error(await fs(t, "API key validation failed"));
18
25
  return t.json();
19
26
  }
20
27
  async enroll(t, r) {
@@ -26,10 +33,8 @@ class ko {
26
33
  });
27
34
  if (n.status === 409)
28
35
  return { success: !1, clientId: t, alreadyEnrolled: !0, message: "User already enrolled" };
29
- if (!n.ok) {
30
- const i = await n.json();
31
- throw new Error(i.error || "Enrollment failed");
32
- }
36
+ if (!n.ok)
37
+ throw new Error(await fs(n, "Enrollment failed"));
33
38
  return n.json();
34
39
  }
35
40
  async verify(t, r) {
@@ -41,10 +46,8 @@ class ko {
41
46
  });
42
47
  if (n.status === 404)
43
48
  return { match: !1, score: 0, threshold: 0, notEnrolled: !0, message: "User not enrolled" };
44
- if (!n.ok) {
45
- const i = await n.json();
46
- throw new Error(i.error || "Verification failed");
47
- }
49
+ if (!n.ok)
50
+ throw new Error(await fs(n, "Verification failed"));
48
51
  return n.json();
49
52
  }
50
53
  }
@@ -62,15 +65,15 @@ function cr(e, t) {
62
65
  function Qe() {
63
66
  throw Error("Invalid UTF8");
64
67
  }
65
- function Zn(e, t) {
68
+ function ei(e, t) {
66
69
  return t = String.fromCharCode.apply(null, t), e == null ? t : e + t;
67
70
  }
68
- let Sr, fs;
69
- const qc = typeof TextDecoder < "u";
70
- let Xc;
71
- const Yc = typeof TextEncoder < "u";
72
- function So(e) {
73
- if (Yc) e = (Xc || (Xc = new TextEncoder())).encode(e);
71
+ let Sr, ps;
72
+ const Xc = typeof TextDecoder < "u";
73
+ let Yc;
74
+ const Qc = typeof TextEncoder < "u";
75
+ function To(e) {
76
+ if (Qc) e = (Yc || (Yc = new TextEncoder())).encode(e);
74
77
  else {
75
78
  let r = 0;
76
79
  const s = new Uint8Array(3 * e.length);
@@ -100,25 +103,25 @@ function So(e) {
100
103
  }
101
104
  return e;
102
105
  }
103
- function To(e) {
106
+ function Co(e) {
104
107
  kt.setTimeout((() => {
105
108
  throw e;
106
109
  }), 0);
107
110
  }
108
- var Cs, Qc = cr(610401301, !1), ei = cr(748402147, !0), Qs = cr(824648567, !0), Js = cr(824656860, cr(1, !0));
109
- function ti() {
111
+ var Ls, Jc = cr(610401301, !1), ti = cr(748402147, !0), Js = cr(824648567, !0), Zs = cr(824656860, cr(1, !0));
112
+ function ri() {
110
113
  var e = kt.navigator;
111
114
  return e && (e = e.userAgent) ? e : "";
112
115
  }
113
- const ri = kt.navigator;
116
+ const si = kt.navigator;
114
117
  function jr(e) {
115
118
  return jr[" "](e), e;
116
119
  }
117
- Cs = ri && ri.userAgentData || null, jr[" "] = function() {
120
+ Ls = si && si.userAgentData || null, jr[" "] = function() {
118
121
  };
119
- const Co = {};
122
+ const Lo = {};
120
123
  let er = null;
121
- function Jc(e) {
124
+ function Zc(e) {
122
125
  const t = e.length;
123
126
  let r = 3 * t / 4;
124
127
  r % 3 ? r = Math.floor(r) : "=.".indexOf(e[t - 1]) != -1 && (r = "=.".indexOf(e[t - 2]) != -1 ? r - 2 : r - 1);
@@ -133,7 +136,7 @@ function Jc(e) {
133
136
  }
134
137
  return u;
135
138
  }
136
- Lo();
139
+ Po();
137
140
  let c = 0;
138
141
  for (; ; ) {
139
142
  const u = a(-1), h = a(0), l = a(64), d = a(64);
@@ -144,13 +147,13 @@ function Jc(e) {
144
147
  s[n++] = i;
145
148
  })), n !== r ? s.subarray(0, n) : s;
146
149
  }
147
- function Lo() {
150
+ function Po() {
148
151
  if (!er) {
149
152
  er = {};
150
153
  var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), t = ["+/=", "+/", "-_=", "-_.", "-_"];
151
154
  for (let r = 0; r < 5; r++) {
152
155
  const s = e.concat(t[r].split(""));
153
- Co[r] = s;
156
+ Lo[r] = s;
154
157
  for (let n = 0; n < s.length; n++) {
155
158
  const i = s[n];
156
159
  er[i] === void 0 && (er[i] = n);
@@ -158,52 +161,52 @@ function Lo() {
158
161
  }
159
162
  }
160
163
  }
161
- var Zc = typeof Uint8Array < "u", Po = !(!(Qc && Cs && Cs.brands.length > 0) && (ti().indexOf("Trident") != -1 || ti().indexOf("MSIE") != -1)) && typeof btoa == "function";
162
- const si = /[-_.]/g, eh = { "-": "+", _: "/", ".": "=" };
163
- function th(e) {
164
- return eh[e] || "";
164
+ var eh = typeof Uint8Array < "u", Mo = !(!(Jc && Ls && Ls.brands.length > 0) && (ri().indexOf("Trident") != -1 || ri().indexOf("MSIE") != -1)) && typeof btoa == "function";
165
+ const ni = /[-_.]/g, th = { "-": "+", _: "/", ".": "=" };
166
+ function rh(e) {
167
+ return th[e] || "";
165
168
  }
166
- function Mo(e) {
167
- if (!Po) return Jc(e);
168
- e = si.test(e) ? e.replace(si, th) : e, e = atob(e);
169
+ function xo(e) {
170
+ if (!Mo) return Zc(e);
171
+ e = ni.test(e) ? e.replace(ni, rh) : e, e = atob(e);
169
172
  const t = new Uint8Array(e.length);
170
173
  for (let r = 0; r < e.length; r++) t[r] = e.charCodeAt(r);
171
174
  return t;
172
175
  }
173
- function Zs(e) {
174
- return Zc && e != null && e instanceof Uint8Array;
176
+ function en(e) {
177
+ return eh && e != null && e instanceof Uint8Array;
175
178
  }
176
179
  var St = {};
177
180
  function ut() {
178
- return rh || (rh = new Ce(null, St));
181
+ return sh || (sh = new Ce(null, St));
179
182
  }
180
- function en(e) {
181
- xo(St);
183
+ function tn(e) {
184
+ Fo(St);
182
185
  var t = e.g;
183
- return (t = t == null || Zs(t) ? t : typeof t == "string" ? Mo(t) : null) == null ? t : e.g = t;
186
+ return (t = t == null || en(t) ? t : typeof t == "string" ? xo(t) : null) == null ? t : e.g = t;
184
187
  }
185
188
  var Ce = class {
186
189
  h() {
187
- return new Uint8Array(en(this) || 0);
190
+ return new Uint8Array(tn(this) || 0);
188
191
  }
189
192
  constructor(t, r) {
190
- if (xo(r), this.g = t, t != null && t.length === 0) throw Error("ByteString should be constructed with non-empty values");
193
+ if (Fo(r), this.g = t, t != null && t.length === 0) throw Error("ByteString should be constructed with non-empty values");
191
194
  }
192
195
  };
193
- let rh, sh;
194
- function xo(e) {
196
+ let sh, nh;
197
+ function Fo(e) {
195
198
  if (e !== St) throw Error("illegal external caller");
196
199
  }
197
- function Fo(e, t) {
200
+ function $o(e, t) {
198
201
  e.__closure__error__context__984382 || (e.__closure__error__context__984382 = {}), e.__closure__error__context__984382.severity = t;
199
202
  }
200
- function Ls(e) {
201
- return Fo(e = Error(e), "warning"), e;
203
+ function Ps(e) {
204
+ return $o(e = Error(e), "warning"), e;
202
205
  }
203
206
  function Tt(e, t) {
204
207
  if (e != null) {
205
- var r = sh ?? (sh = {}), s = r[e] || 0;
206
- s >= t || (r[e] = s + 1, Fo(e = Error(), "incident"), To(e));
208
+ var r = nh ?? (nh = {}), s = r[e] || 0;
209
+ s >= t || (r[e] = s + 1, $o(e = Error(), "incident"), Co(e));
207
210
  }
208
211
  }
209
212
  function Bt() {
@@ -213,15 +216,15 @@ var Ut = typeof Symbol == "function" && typeof Symbol() == "symbol";
213
216
  function Le(e, t, r = !1) {
214
217
  return typeof Symbol == "function" && typeof Symbol() == "symbol" ? r && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
215
218
  }
216
- var nh = Le("jas", void 0, !0), ni = Le(void 0, "0di"), Qt = Le(void 0, "1oa"), oe = Le(void 0, Symbol()), ih = Le(void 0, "0ub"), oh = Le(void 0, "0ubs"), Ps = Le(void 0, "0ubsb"), ah = Le(void 0, "0actk"), Ct = Le("m_m", "Pa", !0), ii = Le();
217
- const $o = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Oo = Object.defineProperties, p = Ut ? nh : "Ga";
219
+ var ih = Le("jas", void 0, !0), ii = Le(void 0, "0di"), Qt = Le(void 0, "1oa"), oe = Le(void 0, Symbol()), oh = Le(void 0, "0ub"), ah = Le(void 0, "0ubs"), Ms = Le(void 0, "0ubsb"), ch = Le(void 0, "0actk"), Ct = Le("m_m", "Pa", !0), oi = Le();
220
+ const Oo = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Ro = Object.defineProperties, p = Ut ? ih : "Ga";
218
221
  var pt;
219
- const oi = [];
222
+ const ai = [];
220
223
  function mr(e, t) {
221
- Ut || p in e || Oo(e, $o), e[p] |= t;
224
+ Ut || p in e || Ro(e, Oo), e[p] |= t;
222
225
  }
223
226
  function H(e, t) {
224
- Ut || p in e || Oo(e, $o), e[p] = t;
227
+ Ut || p in e || Ro(e, Oo), e[p] = t;
225
228
  }
226
229
  function yr(e) {
227
230
  return mr(e, 34), e;
@@ -229,16 +232,16 @@ function yr(e) {
229
232
  function hr(e) {
230
233
  return mr(e, 8192), e;
231
234
  }
232
- H(oi, 7), pt = Object.freeze(oi);
235
+ H(ai, 7), pt = Object.freeze(ai);
233
236
  var Lt = {};
234
237
  function ce(e, t) {
235
238
  return t === void 0 ? e.h !== lt && !!(2 & (0 | e.v[p])) : !!(2 & t) && e.h !== lt;
236
239
  }
237
240
  const lt = {};
238
- function tn(e, t) {
241
+ function rn(e, t) {
239
242
  if (e != null) {
240
243
  if (typeof e == "string") e = e ? new Ce(e, St) : ut();
241
- else if (e.constructor !== Ce) if (Zs(e)) e = e.length ? new Ce(new Uint8Array(e), St) : ut();
244
+ else if (e.constructor !== Ce) if (en(e)) e = e.length ? new Ce(new Uint8Array(e), St) : ut();
242
245
  else {
243
246
  if (!t) throw Error();
244
247
  e = void 0;
@@ -246,7 +249,7 @@ function tn(e, t) {
246
249
  }
247
250
  return e;
248
251
  }
249
- class ai {
252
+ class ci {
250
253
  constructor(t, r, s) {
251
254
  this.g = t, this.h = r, this.l = s;
252
255
  }
@@ -258,8 +261,8 @@ class ai {
258
261
  return this;
259
262
  }
260
263
  }
261
- var ch = Object.freeze({});
262
- function Ro(e, t, r) {
264
+ var hh = Object.freeze({});
265
+ function Io(e, t, r) {
263
266
  const s = 128 & t ? 0 : -1, n = e.length;
264
267
  var i;
265
268
  (i = !!n) && (i = (i = e[n - 1]) != null && typeof i == "object" && i.constructor === Object);
@@ -270,24 +273,24 @@ function Ro(e, t, r) {
270
273
  for (const a in e) !isNaN(a) && r(+a, e[a]);
271
274
  }
272
275
  }
273
- var Io = {};
276
+ var No = {};
274
277
  function Dt(e) {
275
- return 128 & e ? Io : void 0;
278
+ return 128 & e ? No : void 0;
276
279
  }
277
280
  function Vr(e) {
278
281
  return e.Na = !0, e;
279
282
  }
280
- var hh = Vr(((e) => typeof e == "number")), ci = Vr(((e) => typeof e == "string")), uh = Vr(((e) => typeof e == "boolean")), Gr = typeof kt.BigInt == "function" && typeof kt.BigInt(0) == "bigint";
283
+ var uh = Vr(((e) => typeof e == "number")), hi = Vr(((e) => typeof e == "string")), lh = Vr(((e) => typeof e == "boolean")), Gr = typeof kt.BigInt == "function" && typeof kt.BigInt(0) == "bigint";
281
284
  function ae(e) {
282
285
  var t = e;
283
- if (ci(t)) {
286
+ if (hi(t)) {
284
287
  if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t)) throw Error(String(t));
285
- } else if (hh(t) && !Number.isSafeInteger(t)) throw Error(String(t));
286
- return Gr ? BigInt(e) : e = uh(e) ? e ? "1" : "0" : ci(e) ? e.trim() || "0" : String(e);
288
+ } else if (uh(t) && !Number.isSafeInteger(t)) throw Error(String(t));
289
+ return Gr ? BigInt(e) : e = lh(e) ? e ? "1" : "0" : hi(e) ? e.trim() || "0" : String(e);
287
290
  }
288
- var Ms = Vr(((e) => Gr ? e >= dh && e <= ph : e[0] === "-" ? hi(e, lh) : hi(e, fh)));
289
- const lh = Number.MIN_SAFE_INTEGER.toString(), dh = Gr ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, fh = Number.MAX_SAFE_INTEGER.toString(), ph = Gr ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
290
- function hi(e, t) {
291
+ var xs = Vr(((e) => Gr ? e >= fh && e <= gh : e[0] === "-" ? ui(e, dh) : ui(e, ph)));
292
+ const dh = Number.MIN_SAFE_INTEGER.toString(), fh = Gr ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, ph = Number.MAX_SAFE_INTEGER.toString(), gh = Gr ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
293
+ function ui(e, t) {
291
294
  if (e.length > t.length) return !1;
292
295
  if (e.length < t.length || e === t) return !0;
293
296
  for (let r = 0; r < e.length; r++) {
@@ -296,49 +299,49 @@ function hi(e, t) {
296
299
  if (s < n) return !0;
297
300
  }
298
301
  }
299
- const gh = typeof Uint8Array.prototype.slice == "function";
300
- let mh, M = 0, B = 0;
301
- function ui(e) {
302
+ const mh = typeof Uint8Array.prototype.slice == "function";
303
+ let yh, M = 0, B = 0;
304
+ function li(e) {
302
305
  const t = e >>> 0;
303
306
  M = t, B = (e - t) / 4294967296 >>> 0;
304
307
  }
305
308
  function Pt(e) {
306
309
  if (e < 0) {
307
- ui(-e);
308
- const [t, r] = on(M, B);
310
+ li(-e);
311
+ const [t, r] = an(M, B);
309
312
  M = t >>> 0, B = r >>> 0;
310
- } else ui(e);
313
+ } else li(e);
311
314
  }
312
- function rn(e) {
313
- const t = mh || (mh = new DataView(new ArrayBuffer(8)));
315
+ function sn(e) {
316
+ const t = yh || (yh = new DataView(new ArrayBuffer(8)));
314
317
  t.setFloat32(0, +e, !0), B = 0, M = t.getUint32(0, !0);
315
318
  }
316
- function xs(e, t) {
319
+ function Fs(e, t) {
317
320
  const r = 4294967296 * t + (e >>> 0);
318
321
  return Number.isSafeInteger(r) ? r : ur(e, t);
319
322
  }
320
- function yh(e, t) {
323
+ function bh(e, t) {
321
324
  return ae(Bt() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : ur(e, t));
322
325
  }
323
- function sn(e, t) {
326
+ function nn(e, t) {
324
327
  const r = 2147483648 & t;
325
- return r && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e = xs(e, t)) == "number" ? r ? -e : e : r ? "-" + e : e;
328
+ return r && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e = Fs(e, t)) == "number" ? r ? -e : e : r ? "-" + e : e;
326
329
  }
327
- function No(e, t) {
328
- return Bt() ? ae(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : ae(nn(e, t));
330
+ function Bo(e, t) {
331
+ return Bt() ? ae(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : ae(on(e, t));
329
332
  }
330
333
  function ur(e, t) {
331
334
  if (e >>>= 0, (t >>>= 0) <= 2097151) var r = "" + (4294967296 * t + e);
332
- else Bt() ? r = "" + (BigInt(t) << BigInt(32) | BigInt(e)) : (e = (16777215 & e) + 6777216 * (r = 16777215 & (e >>> 24 | t << 8)) + 6710656 * (t = t >> 16 & 65535), r += 8147497 * t, t *= 2, e >= 1e7 && (r += e / 1e7 >>> 0, e %= 1e7), r >= 1e7 && (t += r / 1e7 >>> 0, r %= 1e7), r = t + li(r) + li(e));
335
+ else Bt() ? r = "" + (BigInt(t) << BigInt(32) | BigInt(e)) : (e = (16777215 & e) + 6777216 * (r = 16777215 & (e >>> 24 | t << 8)) + 6710656 * (t = t >> 16 & 65535), r += 8147497 * t, t *= 2, e >= 1e7 && (r += e / 1e7 >>> 0, e %= 1e7), r >= 1e7 && (t += r / 1e7 >>> 0, r %= 1e7), r = t + di(r) + di(e));
333
336
  return r;
334
337
  }
335
- function li(e) {
338
+ function di(e) {
336
339
  return e = String(e), "0000000".slice(e.length) + e;
337
340
  }
338
- function nn(e, t) {
341
+ function on(e, t) {
339
342
  if (2147483648 & t) if (Bt()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
340
343
  else {
341
- const [r, s] = on(e, t);
344
+ const [r, s] = an(e, t);
342
345
  e = "-" + ur(r, s);
343
346
  }
344
347
  else e = ur(e, t);
@@ -356,18 +359,18 @@ function Hr(e) {
356
359
  B *= 1e6, M = 1e6 * M + i, M >= 4294967296 && (B += Math.trunc(M / 4294967296), B >>>= 0, M >>>= 0);
357
360
  }
358
361
  if (t) {
359
- const [s, n] = on(M, B);
362
+ const [s, n] = an(M, B);
360
363
  M = s, B = n;
361
364
  }
362
365
  }
363
366
  }
364
- function on(e, t) {
367
+ function an(e, t) {
365
368
  return t = ~t, e ? e = 1 + ~e : t += 1, [e, t];
366
369
  }
367
370
  function ve(e) {
368
371
  return Array.prototype.slice.call(e);
369
372
  }
370
- const br = typeof BigInt == "function" ? BigInt.asIntN : void 0, bh = typeof BigInt == "function" ? BigInt.asUintN : void 0, dt = Number.isSafeInteger, zr = Number.isFinite, Mt = Math.trunc, vh = ae(0);
373
+ const br = typeof BigInt == "function" ? BigInt.asIntN : void 0, vh = typeof BigInt == "function" ? BigInt.asUintN : void 0, dt = Number.isSafeInteger, zr = Number.isFinite, Mt = Math.trunc, _h = ae(0);
371
374
  function tr(e) {
372
375
  if (e != null && typeof e != "number") throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);
373
376
  return e;
@@ -382,10 +385,10 @@ function lr(e) {
382
385
  }
383
386
  return e;
384
387
  }
385
- function Bo(e) {
388
+ function Uo(e) {
386
389
  return e == null || typeof e == "boolean" ? e : typeof e == "number" ? !!e : void 0;
387
390
  }
388
- const _h = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
391
+ const wh = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
389
392
  function vr(e) {
390
393
  switch (typeof e) {
391
394
  case "bigint":
@@ -393,7 +396,7 @@ function vr(e) {
393
396
  case "number":
394
397
  return zr(e);
395
398
  case "string":
396
- return _h.test(e);
399
+ return wh.test(e);
397
400
  default:
398
401
  return !1;
399
402
  }
@@ -404,38 +407,38 @@ function jt(e) {
404
407
  else if (typeof e != "number") return;
405
408
  return zr(e) ? 0 | e : void 0;
406
409
  }
407
- function Uo(e) {
410
+ function Do(e) {
408
411
  if (e == null) return e;
409
412
  if (typeof e == "string" && e) e = +e;
410
413
  else if (typeof e != "number") return;
411
414
  return zr(e) ? e >>> 0 : void 0;
412
415
  }
413
- function Do(e) {
416
+ function jo(e) {
414
417
  const t = e.length;
415
- return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (Hr(e), nn(M, B));
418
+ return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (Hr(e), on(M, B));
416
419
  }
417
- function an(e) {
418
- return e = Mt(e), dt(e) || (Pt(e), e = sn(M, B)), e;
419
- }
420
- function jo(e) {
421
- var t = Mt(Number(e));
422
- return dt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Do(e));
420
+ function cn(e) {
421
+ return e = Mt(e), dt(e) || (Pt(e), e = nn(M, B)), e;
423
422
  }
424
423
  function Vo(e) {
425
424
  var t = Mt(Number(e));
426
- return dt(t) ? ae(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Bt() ? ae(br(64, BigInt(e))) : ae(Do(e)));
425
+ return dt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), jo(e));
427
426
  }
428
427
  function Go(e) {
429
- return dt(e) ? e = ae(an(e)) : (e = Mt(e), dt(e) ? e = String(e) : (Pt(e), e = nn(M, B)), e = ae(e)), e;
428
+ var t = Mt(Number(e));
429
+ return dt(t) ? ae(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Bt() ? ae(br(64, BigInt(e))) : ae(jo(e)));
430
430
  }
431
- function wh(e) {
432
- return e == null ? e : typeof e == "bigint" ? (Ms(e) ? e = Number(e) : (e = br(64, e), e = Ms(e) ? Number(e) : String(e)), e) : vr(e) ? typeof e == "number" ? an(e) : jo(e) : void 0;
431
+ function Ho(e) {
432
+ return dt(e) ? e = ae(cn(e)) : (e = Mt(e), dt(e) ? e = String(e) : (Pt(e), e = on(M, B)), e = ae(e)), e;
433
+ }
434
+ function Ah(e) {
435
+ return e == null ? e : typeof e == "bigint" ? (xs(e) ? e = Number(e) : (e = br(64, e), e = xs(e) ? Number(e) : String(e)), e) : vr(e) ? typeof e == "number" ? cn(e) : Vo(e) : void 0;
433
436
  }
434
437
  function Fr(e) {
435
438
  const t = typeof e;
436
- return e == null ? e : t === "bigint" ? ae(br(64, e)) : vr(e) ? t === "string" ? Vo(e) : Go(e) : void 0;
439
+ return e == null ? e : t === "bigint" ? ae(br(64, e)) : vr(e) ? t === "string" ? Go(e) : Ho(e) : void 0;
437
440
  }
438
- function Ho(e) {
441
+ function zo(e) {
439
442
  if (typeof e != "string") throw Error();
440
443
  return e;
441
444
  }
@@ -446,28 +449,28 @@ function _r(e) {
446
449
  function Y(e) {
447
450
  return e == null || typeof e == "string" ? e : void 0;
448
451
  }
449
- function cn(e, t, r, s) {
450
- return e != null && e[Ct] === Lt ? e : Array.isArray(e) ? ((s = (r = 0 | e[p]) | 32 & s | 2 & s) !== r && H(e, s), new t(e)) : (r ? 2 & s ? ((e = t[ni]) || (yr((e = new t()).v), e = t[ni] = e), t = e) : t = new t() : t = void 0, t);
452
+ function hn(e, t, r, s) {
453
+ return e != null && e[Ct] === Lt ? e : Array.isArray(e) ? ((s = (r = 0 | e[p]) | 32 & s | 2 & s) !== r && H(e, s), new t(e)) : (r ? 2 & s ? ((e = t[ii]) || (yr((e = new t()).v), e = t[ii] = e), t = e) : t = new t() : t = void 0, t);
451
454
  }
452
- function Ah(e, t, r) {
455
+ function Eh(e, t, r) {
453
456
  if (t) e: {
454
- if (!vr(t = e)) throw Ls("int64");
457
+ if (!vr(t = e)) throw Ps("int64");
455
458
  switch (typeof t) {
456
459
  case "string":
457
- t = Vo(t);
460
+ t = Go(t);
458
461
  break e;
459
462
  case "bigint":
460
463
  t = ae(br(64, t));
461
464
  break e;
462
465
  default:
463
- t = Go(t);
466
+ t = Ho(t);
464
467
  }
465
468
  }
466
469
  else t = Fr(e);
467
- return (e = t) == null ? r ? vh : void 0 : e;
470
+ return (e = t) == null ? r ? _h : void 0 : e;
468
471
  }
469
- const Eh = {};
470
- let kh = (function() {
472
+ const kh = {};
473
+ let Sh = (function() {
471
474
  try {
472
475
  return jr(new class extends Map {
473
476
  constructor() {
@@ -478,7 +481,7 @@ let kh = (function() {
478
481
  return !0;
479
482
  }
480
483
  })();
481
- class ps {
484
+ class gs {
482
485
  constructor() {
483
486
  this.g = /* @__PURE__ */ new Map();
484
487
  }
@@ -513,20 +516,20 @@ class ps {
513
516
  return this.entries();
514
517
  }
515
518
  }
516
- const Sh = kh ? (Object.setPrototypeOf(ps.prototype, Map.prototype), Object.defineProperties(ps.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), ps) : class extends Map {
519
+ const Th = Sh ? (Object.setPrototypeOf(gs.prototype, Map.prototype), Object.defineProperties(gs.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), gs) : class extends Map {
517
520
  constructor() {
518
521
  super();
519
522
  }
520
523
  };
521
- function di(e) {
524
+ function fi(e) {
522
525
  return e;
523
526
  }
524
- function gs(e) {
527
+ function ms(e) {
525
528
  if (2 & e.J) throw Error("Cannot mutate an immutable Map");
526
529
  }
527
- var Re = class extends Sh {
528
- constructor(e, t, r = di, s = di) {
529
- super(), this.J = 0 | e[p], this.K = t, this.S = r, this.fa = this.K ? Th : s;
530
+ var Re = class extends Th {
531
+ constructor(e, t, r = fi, s = fi) {
532
+ super(), this.J = 0 | e[p], this.K = t, this.S = r, this.fa = this.K ? Ch : s;
530
533
  for (let n = 0; n < e.length; n++) {
531
534
  const i = e[n], o = r(i[0], !1, !0);
532
535
  let a = i[1];
@@ -537,22 +540,22 @@ var Re = class extends Sh {
537
540
  return hr(Array.from(super.entries(), e));
538
541
  }
539
542
  clear() {
540
- gs(this), super.clear();
543
+ ms(this), super.clear();
541
544
  }
542
545
  delete(e) {
543
- return gs(this), super.delete(this.S(e, !0, !1));
546
+ return ms(this), super.delete(this.S(e, !0, !1));
544
547
  }
545
548
  entries() {
546
549
  if (this.K) {
547
550
  var e = super.keys();
548
- e = new ai(e, Ch, this);
551
+ e = new ci(e, Lh, this);
549
552
  } else e = super.entries();
550
553
  return e;
551
554
  }
552
555
  values() {
553
556
  if (this.K) {
554
557
  var e = super.keys();
555
- e = new ai(e, Re.prototype.get, this);
558
+ e = new ci(e, Re.prototype.get, this);
556
559
  } else e = super.values();
557
560
  return e;
558
561
  }
@@ -562,7 +565,7 @@ var Re = class extends Sh {
562
565
  })) : super.forEach(e, t);
563
566
  }
564
567
  set(e, t) {
565
- return gs(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));
568
+ return ms(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));
566
569
  }
567
570
  Ma(e) {
568
571
  const t = this.S(e[0], !1, !0);
@@ -583,15 +586,15 @@ var Re = class extends Sh {
583
586
  return this.entries();
584
587
  }
585
588
  };
586
- function Th(e, t, r, s, n, i) {
587
- return e = cn(e, s, r, i), n && (e = un(e)), e;
589
+ function Ch(e, t, r, s, n, i) {
590
+ return e = hn(e, s, r, i), n && (e = ln(e)), e;
588
591
  }
589
- function Ch(e) {
592
+ function Lh(e) {
590
593
  return [e, this.get(e)];
591
594
  }
592
- let Lh;
593
- function fi() {
594
- return Lh || (Lh = new Re(yr([]), void 0, void 0, void 0, Eh));
595
+ let Ph;
596
+ function pi() {
597
+ return Ph || (Ph = new Re(yr([]), void 0, void 0, void 0, kh));
595
598
  }
596
599
  function Wr(e) {
597
600
  return oe ? e[oe] : void 0;
@@ -600,17 +603,17 @@ function $r(e, t) {
600
603
  for (const r in e) !isNaN(r) && t(e, +r, e[r]);
601
604
  }
602
605
  Re.prototype.toJSON = void 0;
603
- var Fs = class {
606
+ var $s = class {
604
607
  };
605
- const Ph = { Ka: !0 };
606
- function Mh(e, t) {
607
- t < 100 || Tt(oh, 1);
608
+ const Mh = { Ka: !0 };
609
+ function xh(e, t) {
610
+ t < 100 || Tt(ah, 1);
608
611
  }
609
612
  function Kr(e, t, r, s) {
610
613
  const n = s !== void 0;
611
614
  s = !!s;
612
615
  var i, o = oe;
613
- !n && Ut && o && (i = e[o]) && $r(i, Mh), o = [];
616
+ !n && Ut && o && (i = e[o]) && $r(i, xh), o = [];
614
617
  var a = e.length;
615
618
  let c;
616
619
  i = 4294967295;
@@ -629,14 +632,14 @@ function Kr(e, t, r, s) {
629
632
  let S;
630
633
  d = +b, h && !Number.isNaN(d) && (S = d + l) < i ? o[S] = a : (t ?? (t = {}))[b] = a;
631
634
  }
632
- return t && (u ? o.push(t) : o[i] = t), n && oe && (e = Wr(e)) && e instanceof Fs && (o[oe] = (function(b) {
633
- const S = new Fs();
635
+ return t && (u ? o.push(t) : o[i] = t), n && oe && (e = Wr(e)) && e instanceof $s && (o[oe] = (function(b) {
636
+ const S = new $s();
634
637
  return $r(b, ((ls, yt, Yt) => {
635
638
  S[yt] = ve(Yt);
636
639
  })), S.da = b.da, S;
637
640
  })(e)), o;
638
641
  }
639
- function xh(e) {
642
+ function Fh(e) {
640
643
  return e[0] = dr(e[0]), e[1] = dr(e[1]), e;
641
644
  }
642
645
  function dr(e) {
@@ -644,7 +647,7 @@ function dr(e) {
644
647
  case "number":
645
648
  return Number.isFinite(e) ? e : "" + e;
646
649
  case "bigint":
647
- return Ms(e) ? Number(e) : "" + e;
650
+ return xs(e) ? Number(e) : "" + e;
648
651
  case "boolean":
649
652
  return e ? 1 : 0;
650
653
  case "object":
@@ -652,16 +655,16 @@ function dr(e) {
652
655
  var t = 0 | e[p];
653
656
  return e.length === 0 && 1 & t ? void 0 : Kr(e, t, dr);
654
657
  }
655
- if (e != null && e[Ct] === Lt) return zo(e);
658
+ if (e != null && e[Ct] === Lt) return Wo(e);
656
659
  if (e instanceof Ce) {
657
660
  if ((t = e.g) == null) e = "";
658
661
  else if (typeof t == "string") e = t;
659
662
  else {
660
- if (Po) {
663
+ if (Mo) {
661
664
  for (var r = "", s = 0, n = t.length - 10240; s < n; ) r += String.fromCharCode.apply(null, t.subarray(s, s += 10240));
662
665
  r += String.fromCharCode.apply(null, s ? t.subarray(s) : t), t = btoa(r);
663
666
  } else {
664
- r === void 0 && (r = 0), Lo(), r = Co[r], s = Array(Math.floor(t.length / 3)), n = r[64] || "";
667
+ r === void 0 && (r = 0), Po(), r = Lo[r], s = Array(Math.floor(t.length / 3)), n = r[64] || "";
665
668
  let u = 0, h = 0;
666
669
  for (; u < t.length - 2; u += 3) {
667
670
  var i = t[u], o = t[u + 1], a = t[u + 2], c = r[i >> 2];
@@ -679,27 +682,27 @@ function dr(e) {
679
682
  }
680
683
  return e;
681
684
  }
682
- return e instanceof Re ? e = e.size !== 0 ? e.V(xh) : void 0 : void 0;
685
+ return e instanceof Re ? e = e.size !== 0 ? e.V(Fh) : void 0 : void 0;
683
686
  }
684
687
  return e;
685
688
  }
686
- function zo(e) {
689
+ function Wo(e) {
687
690
  return Kr(e = e.v, 0 | e[p], dr);
688
691
  }
689
- let Fh, $h;
692
+ let $h, Oh;
690
693
  function nt(e, t) {
691
- return Wo(e, t[0], t[1]);
694
+ return Ko(e, t[0], t[1]);
692
695
  }
693
- function Wo(e, t, r, s = 0) {
696
+ function Ko(e, t, r, s = 0) {
694
697
  if (e == null) {
695
698
  var n = 32;
696
699
  r ? (e = [r], n |= 128) : e = [], t && (n = -16760833 & n | (1023 & t) << 14);
697
700
  } else {
698
701
  if (!Array.isArray(e)) throw Error("narr");
699
- if (n = 0 | e[p], ei && 1 & n) throw Error("rfarr");
702
+ if (n = 0 | e[p], ti && 1 & n) throw Error("rfarr");
700
703
  if (2048 & n && !(2 & n) && (function() {
701
- if (ei) throw Error("carr");
702
- Tt(ah, 5);
704
+ if (ti) throw Error("carr");
705
+ Tt(ch, 5);
703
706
  })(), 256 & n) throw Error("farr");
704
707
  if (64 & n) return (n | s) !== n && H(e, n | s), e;
705
708
  if (r && (n |= 128, r !== e[0])) throw Error("mid");
@@ -724,41 +727,41 @@ function Wo(e, t, r, s = 0) {
724
727
  }
725
728
  return H(e, 64 | n | s), e;
726
729
  }
727
- function Oh(e, t) {
730
+ function Rh(e, t) {
728
731
  if (typeof e != "object") return e;
729
732
  if (Array.isArray(e)) {
730
733
  var r = 0 | e[p];
731
- return e.length === 0 && 1 & r ? void 0 : pi(e, r, t);
734
+ return e.length === 0 && 1 & r ? void 0 : gi(e, r, t);
732
735
  }
733
- if (e != null && e[Ct] === Lt) return gi(e);
736
+ if (e != null && e[Ct] === Lt) return mi(e);
734
737
  if (e instanceof Re) {
735
738
  if (2 & (t = e.J)) return e;
736
739
  if (!e.size) return;
737
740
  if (r = yr(e.V()), e.K) for (e = 0; e < r.length; e++) {
738
741
  const s = r[e];
739
742
  let n = s[1];
740
- n = n == null || typeof n != "object" ? void 0 : n != null && n[Ct] === Lt ? gi(n) : Array.isArray(n) ? pi(n, 0 | n[p], !!(32 & t)) : void 0, s[1] = n;
743
+ n = n == null || typeof n != "object" ? void 0 : n != null && n[Ct] === Lt ? mi(n) : Array.isArray(n) ? gi(n, 0 | n[p], !!(32 & t)) : void 0, s[1] = n;
741
744
  }
742
745
  return r;
743
746
  }
744
747
  return e instanceof Ce ? e : void 0;
745
748
  }
746
- function pi(e, t, r) {
749
+ function gi(e, t, r) {
747
750
  return 2 & t || (!r || 4096 & t || 16 & t ? e = Vt(e, t, !1, r && !(16 & t)) : (mr(e, 34), 4 & t && Object.freeze(e))), e;
748
751
  }
749
- function hn(e, t, r) {
752
+ function un(e, t, r) {
750
753
  return e = new e.constructor(t), r && (e.h = lt), e.m = lt, e;
751
754
  }
752
- function gi(e) {
755
+ function mi(e) {
753
756
  const t = e.v, r = 0 | t[p];
754
- return ce(e, r) ? e : ln(e, t, r) ? hn(e, t) : Vt(t, r);
757
+ return ce(e, r) ? e : dn(e, t, r) ? un(e, t) : Vt(t, r);
755
758
  }
756
759
  function Vt(e, t, r, s) {
757
- return s ?? (s = !!(34 & t)), e = Kr(e, t, Oh, s), s = 32, r && (s |= 2), H(e, t = 16769217 & t | s), e;
760
+ return s ?? (s = !!(34 & t)), e = Kr(e, t, Rh, s), s = 32, r && (s |= 2), H(e, t = 16769217 & t | s), e;
758
761
  }
759
- function un(e) {
762
+ function ln(e) {
760
763
  const t = e.v, r = 0 | t[p];
761
- return ce(e, r) ? ln(e, t, r) ? hn(e, t, !0) : new e.constructor(Vt(t, r, !1)) : e;
764
+ return ce(e, r) ? dn(e, t, r) ? un(e, t, !0) : new e.constructor(Vt(t, r, !1)) : e;
762
765
  }
763
766
  function Gt(e) {
764
767
  if (e.h !== lt) return !1;
@@ -771,10 +774,10 @@ function Ht(e) {
771
774
  function gt(e, t) {
772
775
  t === void 0 && (t = 0 | e[p]), 32 & t && !(4096 & t) && H(e, 4096 | t);
773
776
  }
774
- function ln(e, t, r) {
777
+ function dn(e, t, r) {
775
778
  return !!(2 & r) || !(!(32 & r) || 4096 & r) && (H(t, 2 | r), e.h = lt, !0);
776
779
  }
777
- const Rh = ae(0), De = {};
780
+ const Ih = ae(0), De = {};
778
781
  function L(e, t, r, s, n) {
779
782
  if ((t = Ie(e.v, t, r, n)) !== null || s && e.m !== lt) return t;
780
783
  }
@@ -809,12 +812,12 @@ function V(e, t, r, s, n) {
809
812
  return i <= o ? (e[i] = s, t) : (s !== void 0 && (r >= (o = (t ?? (t = 0 | e[p])) >> 14 & 1023 || 536870912) ? s != null && (e[o + (n ? 0 : -1)] = { [r]: s }) : e[i] = s), t);
810
813
  }
811
814
  function tt() {
812
- return ch === void 0 ? 2 : 4;
815
+ return hh === void 0 ? 2 : 4;
813
816
  }
814
817
  function rt(e, t, r, s, n) {
815
818
  let i = e.v, o = 0 | i[p];
816
819
  s = ce(e, o) ? 1 : s, n = !!n || s === 3, s === 2 && Gt(e) && (i = e.v, o = 0 | i[p]);
817
- let a = (e = dn(i, t)) === pt ? 7 : 0 | e[p], c = fn(a, o);
820
+ let a = (e = fn(i, t)) === pt ? 7 : 0 | e[p], c = pn(a, o);
818
821
  var u = !(4 & c);
819
822
  if (u) {
820
823
  4 & c && (e = ve(e), a = 0, c = ot(c, o), o = V(i, o, t, e));
@@ -825,25 +828,25 @@ function rt(e, t, r, s, n) {
825
828
  }
826
829
  l < h && (e.length = l), r = -513 & (4 | c), c = r &= -1025, c &= -4097;
827
830
  }
828
- return c !== a && (H(e, c), 2 & c && Object.freeze(e)), Ko(e, c, i, o, t, s, u, n);
831
+ return c !== a && (H(e, c), 2 & c && Object.freeze(e)), qo(e, c, i, o, t, s, u, n);
829
832
  }
830
- function Ko(e, t, r, s, n, i, o, a) {
833
+ function qo(e, t, r, s, n, i, o, a) {
831
834
  let c = t;
832
835
  return i === 1 || i === 4 && (2 & t || !(16 & t) && 32 & s) ? it(t) || ((t |= !e.length || o && !(4096 & t) || 32 & s && !(4096 & t || 16 & t) ? 2 : 256) !== c && H(e, t), Object.freeze(e)) : (i === 2 && it(t) && (e = ve(e), c = 0, t = ot(t, s), s = V(r, s, n, e)), it(t) || (a || (t |= 16), t !== c && H(e, t))), 2 & t || !(4096 & t || 16 & t) || gt(r, s), e;
833
836
  }
834
- function dn(e, t, r) {
837
+ function fn(e, t, r) {
835
838
  return e = Ie(e, t, r), Array.isArray(e) ? e : pt;
836
839
  }
837
- function fn(e, t) {
840
+ function pn(e, t) {
838
841
  return 2 & t && (e |= 2), 1 | e;
839
842
  }
840
843
  function it(e) {
841
844
  return !!(2 & e) && !!(4 & e) || !!(256 & e);
842
845
  }
843
- function qo(e) {
844
- return tn(e, !0);
845
- }
846
846
  function Xo(e) {
847
+ return rn(e, !0);
848
+ }
849
+ function Yo(e) {
847
850
  e = ve(e);
848
851
  for (let t = 0; t < e.length; t++) {
849
852
  const r = e[t] = ve(e[t]);
@@ -857,24 +860,24 @@ function Ve(e, t, r, s) {
857
860
  function zt(e, t, r) {
858
861
  if (2 & t) throw Error();
859
862
  const s = Dt(t);
860
- let n = dn(e, r, s), i = n === pt ? 7 : 0 | n[p], o = fn(i, t);
863
+ let n = fn(e, r, s), i = n === pt ? 7 : 0 | n[p], o = pn(i, t);
861
864
  return (2 & o || it(o) || 16 & o) && (o === i || it(o) || H(n, o), n = ve(n), i = 0, o = ot(o, t), V(e, t, r, n, s)), o &= -13, o !== i && H(n, o), n;
862
865
  }
863
- function ms(e, t) {
864
- var r = ja;
865
- return gn(pn(e = e.v), e, void 0, r) === t ? t : -1;
866
+ function ys(e, t) {
867
+ var r = Va;
868
+ return mn(gn(e = e.v), e, void 0, r) === t ? t : -1;
866
869
  }
867
- function pn(e) {
870
+ function gn(e) {
868
871
  if (Ut) return e[Qt] ?? (e[Qt] = /* @__PURE__ */ new Map());
869
872
  if (Qt in e) return e[Qt];
870
873
  const t = /* @__PURE__ */ new Map();
871
874
  return Object.defineProperty(e, Qt, { value: t }), t;
872
875
  }
873
- function Yo(e, t, r, s, n) {
874
- const i = pn(e), o = gn(i, e, t, r, n);
876
+ function Qo(e, t, r, s, n) {
877
+ const i = gn(e), o = mn(i, e, t, r, n);
875
878
  return o !== s && (o && (t = V(e, t, o, void 0, n)), i.set(r, s)), t;
876
879
  }
877
- function gn(e, t, r, s, n) {
880
+ function mn(e, t, r, s, n) {
878
881
  let i = e.get(s);
879
882
  if (i != null) return i;
880
883
  i = 0;
@@ -884,7 +887,7 @@ function gn(e, t, r, s, n) {
884
887
  }
885
888
  return e.set(s, i), i;
886
889
  }
887
- function mn(e, t, r) {
890
+ function yn(e, t, r) {
888
891
  let s = 0 | e[p];
889
892
  const n = Dt(s), i = Ie(e, r, n);
890
893
  let o;
@@ -898,37 +901,37 @@ function mn(e, t, r) {
898
901
  }
899
902
  return o = nt(o, t), o !== i && V(e, s, r, o, n), o;
900
903
  }
901
- function Qo(e, t, r, s, n) {
904
+ function Jo(e, t, r, s, n) {
902
905
  let i = !1;
903
906
  if ((s = Ie(e, s, n, ((o) => {
904
- const a = cn(o, r, !1, t);
907
+ const a = hn(o, r, !1, t);
905
908
  return i = a !== o && a != null, a;
906
909
  }))) != null) return i && !ce(s) && gt(e, t), s;
907
910
  }
908
911
  function A(e, t, r, s) {
909
912
  let n = e.v, i = 0 | n[p];
910
- if ((t = Qo(n, i, t, r, s)) == null) return t;
913
+ if ((t = Jo(n, i, t, r, s)) == null) return t;
911
914
  if (i = 0 | n[p], !ce(e, i)) {
912
- const o = un(t);
915
+ const o = ln(t);
913
916
  o !== t && (Gt(e) && (n = e.v, i = 0 | n[p]), i = V(n, i, r, t = o, s), gt(n, i));
914
917
  }
915
918
  return t;
916
919
  }
917
- function Jo(e, t, r, s, n, i, o, a) {
920
+ function Zo(e, t, r, s, n, i, o, a) {
918
921
  var c = ce(e, r);
919
922
  i = c ? 1 : i, o = !!o || i === 3, c = a && !c, (i === 2 || c) && Gt(e) && (r = 0 | (t = e.v)[p]);
920
- var u = (e = dn(t, n)) === pt ? 7 : 0 | e[p], h = fn(u, r);
923
+ var u = (e = fn(t, n)) === pt ? 7 : 0 | e[p], h = pn(u, r);
921
924
  if (a = !(4 & h)) {
922
925
  var l = e, d = r;
923
926
  const b = !!(2 & h);
924
927
  b && (d |= 2);
925
928
  let S = !b, ls = !0, yt = 0, Yt = 0;
926
929
  for (; yt < l.length; yt++) {
927
- const ds = cn(l[yt], s, !1, d);
930
+ const ds = hn(l[yt], s, !1, d);
928
931
  if (ds instanceof s) {
929
932
  if (!b) {
930
- const Jn = ce(ds);
931
- S && (S = !Jn), ls && (ls = Jn);
933
+ const Zn = ce(ds);
934
+ S && (S = !Zn), ls && (ls = Zn);
932
935
  }
933
936
  l[Yt++] = ds;
934
937
  }
@@ -936,32 +939,32 @@ function Jo(e, t, r, s, n, i, o, a) {
936
939
  Yt < yt && (l.length = Yt), h |= 4, h = ls ? -4097 & h : 4096 | h, h = S ? 8 | h : -9 & h;
937
940
  }
938
941
  if (h !== u && (H(e, h), 2 & h && Object.freeze(e)), c && !(8 & h || !e.length && (i === 1 || i === 4 && (2 & h || !(16 & h) && 32 & r)))) {
939
- for (it(h) && (e = ve(e), h = ot(h, r), r = V(t, r, n, e)), s = e, c = h, u = 0; u < s.length; u++) (l = s[u]) !== (h = un(l)) && (s[u] = h);
942
+ for (it(h) && (e = ve(e), h = ot(h, r), r = V(t, r, n, e)), s = e, c = h, u = 0; u < s.length; u++) (l = s[u]) !== (h = ln(l)) && (s[u] = h);
940
943
  c |= 8, H(e, h = c = s.length ? 4096 | c : -4097 & c);
941
944
  }
942
- return Ko(e, h, t, r, n, i, a, o);
945
+ return qo(e, h, t, r, n, i, a, o);
943
946
  }
944
947
  function Ne(e, t, r) {
945
948
  const s = e.v;
946
- return Jo(e, s, 0 | s[p], t, r, tt(), !1, !0);
949
+ return Zo(e, s, 0 | s[p], t, r, tt(), !1, !0);
947
950
  }
948
- function Zo(e) {
951
+ function ea(e) {
949
952
  return e == null && (e = void 0), e;
950
953
  }
951
954
  function v(e, t, r, s, n) {
952
- return k(e, r, s = Zo(s), n), s && !ce(s) && gt(e.v), e;
955
+ return k(e, r, s = ea(s), n), s && !ce(s) && gt(e.v), e;
953
956
  }
954
957
  function rr(e, t, r, s) {
955
958
  e: {
956
- var n = s = Zo(s);
959
+ var n = s = ea(s);
957
960
  Ht(e);
958
961
  const i = e.v;
959
962
  let o = 0 | i[p];
960
963
  if (n == null) {
961
- const a = pn(i);
962
- if (gn(a, i, o, r) !== t) break e;
964
+ const a = gn(i);
965
+ if (mn(a, i, o, r) !== t) break e;
963
966
  a.set(r, 0);
964
- } else o = Yo(i, o, r, t);
967
+ } else o = Qo(i, o, r, t);
965
968
  V(i, o, t, n);
966
969
  }
967
970
  s && !ce(s) && gt(e.v);
@@ -969,22 +972,22 @@ function rr(e, t, r, s) {
969
972
  function ot(e, t) {
970
973
  return -273 & (2 & t ? 2 | e : -3 & e);
971
974
  }
972
- function yn(e, t, r, s) {
975
+ function bn(e, t, r, s) {
973
976
  var n = s;
974
- Ht(e), e = Jo(e, s = e.v, 0 | s[p], r, t, 2, !0), n = n ?? new r(), e.push(n), t = r = e === pt ? 7 : 0 | e[p], (n = ce(n)) ? (r &= -9, e.length === 1 && (r &= -4097)) : r |= 4096, r !== t && H(e, r), n || gt(s);
977
+ Ht(e), e = Zo(e, s = e.v, 0 | s[p], r, t, 2, !0), n = n ?? new r(), e.push(n), t = r = e === pt ? 7 : 0 | e[p], (n = ce(n)) ? (r &= -9, e.length === 1 && (r &= -4097)) : r |= 4096, r !== t && H(e, r), n || gt(s);
975
978
  }
976
979
  function me(e, t, r) {
977
980
  return jt(L(e, t, void 0, r));
978
981
  }
979
- function ea(e) {
980
- return (Js ? L(e, 2, void 0, void 0, Fr) : Fr(L(e, 2))) ?? Rh;
982
+ function ta(e) {
983
+ return (Zs ? L(e, 2, void 0, void 0, Fr) : Fr(L(e, 2))) ?? Ih;
981
984
  }
982
985
  function I(e, t) {
983
986
  return L(e, t, void 0, void 0, Te) ?? 0;
984
987
  }
985
988
  function Be(e, t, r) {
986
989
  if (r != null) {
987
- if (typeof r != "number" || !zr(r)) throw Ls("int32");
990
+ if (typeof r != "number" || !zr(r)) throw Ps("int32");
988
991
  r |= 0;
989
992
  }
990
993
  k(e, t, r);
@@ -1003,8 +1006,8 @@ function Or(e, t, r) {
1003
1006
  if (r == null) V(o, a, t);
1004
1007
  else {
1005
1008
  var s = e = r === pt ? 7 : 0 | r[p], n = it(e), i = n || Object.isFrozen(r);
1006
- for (n || (e = 0), i || (r = ve(r), s = 0, e = ot(e, a), i = !1), e |= 5, e |= (4 & e ? 512 & e ? 512 : 1024 & e ? 1024 : 0 : void 0) ?? (Js ? 1024 : 0), n = 0; n < r.length; n++) {
1007
- const c = r[n], u = Ho(c);
1009
+ for (n || (e = 0), i || (r = ve(r), s = 0, e = ot(e, a), i = !1), e |= 5, e |= (4 & e ? 512 & e ? 512 : 1024 & e ? 1024 : 0 : void 0) ?? (Zs ? 1024 : 0), n = 0; n < r.length; n++) {
1010
+ const c = r[n], u = zo(c);
1008
1011
  Object.is(c, u) || (i && (r = ve(r), s = 0, e = ot(e, a), i = !1), r[n] = u);
1009
1012
  }
1010
1013
  e !== s && (i && (r = ve(r), e = ot(e, a)), H(r, e)), V(o, a, t, r);
@@ -1012,7 +1015,7 @@ function Or(e, t, r) {
1012
1015
  }
1013
1016
  }
1014
1017
  function qr(e, t, r) {
1015
- Ht(e), rt(e, t, Y, 2, !0).push(Ho(r));
1018
+ Ht(e), rt(e, t, Y, 2, !0).push(zo(r));
1016
1019
  }
1017
1020
  var bt = class {
1018
1021
  constructor(e, t, r) {
@@ -1020,12 +1023,12 @@ var bt = class {
1020
1023
  this.g = t;
1021
1024
  }
1022
1025
  };
1023
- function bn(e, t) {
1024
- if (typeof e == "string") return new bt(Mo(e), t);
1026
+ function vn(e, t) {
1027
+ if (typeof e == "string") return new bt(xo(e), t);
1025
1028
  if (Array.isArray(e)) return new bt(new Uint8Array(e), t);
1026
1029
  if (e.constructor === Uint8Array) return new bt(e, !1);
1027
1030
  if (e.constructor === ArrayBuffer) return e = new Uint8Array(e), new bt(e, !1);
1028
- if (e.constructor === Ce) return t = en(e) || new Uint8Array(0), new bt(t, !0, e);
1031
+ if (e.constructor === Ce) return t = tn(e) || new Uint8Array(0), new bt(t, !0, e);
1029
1032
  if (e instanceof Uint8Array) return e = e.constructor === Uint8Array ? e : new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new bt(e, !1);
1030
1033
  throw Error();
1031
1034
  }
@@ -1040,7 +1043,7 @@ function xt(e, t) {
1040
1043
  if (at(e, a), !(128 & r)) return t(s >>> 0, n >>> 0);
1041
1044
  throw Error();
1042
1045
  }
1043
- function vn(e) {
1046
+ function _n(e) {
1044
1047
  let t = 0, r = e.g;
1045
1048
  const s = r + 10, n = e.h;
1046
1049
  for (; r < s; ) {
@@ -1065,35 +1068,35 @@ function Rr(e) {
1065
1068
  const i = t[r + 2];
1066
1069
  return t = t[r + 3], at(e, e.g + 4), e = 2 * ((n = (s << 0 | n << 8 | i << 16 | t << 24) >>> 0) >> 31) + 1, s = n >>> 23 & 255, n &= 8388607, s == 255 ? n ? NaN : e * (1 / 0) : s == 0 ? 1401298464324817e-60 * e * n : e * Math.pow(2, s - 150) * (n + 8388608);
1067
1070
  }
1068
- function Ih(e) {
1071
+ function Nh(e) {
1069
1072
  return Ke(e);
1070
1073
  }
1071
1074
  function at(e, t) {
1072
1075
  if (e.g = t, t > e.l) throw Error();
1073
1076
  }
1074
- function ta(e, t) {
1077
+ function ra(e, t) {
1075
1078
  if (t < 0) throw Error();
1076
1079
  const r = e.g;
1077
1080
  if ((t = r + t) > e.l) throw Error();
1078
1081
  return e.g = t, r;
1079
1082
  }
1080
- function ra(e, t) {
1083
+ function sa(e, t) {
1081
1084
  if (t == 0) return ut();
1082
- var r = ta(e, t);
1083
- return e.Y && e.j ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) : gh ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ? ut() : new Ce(r, St);
1085
+ var r = ra(e, t);
1086
+ return e.Y && e.j ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) : mh ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ? ut() : new Ce(r, St);
1084
1087
  }
1085
- var mi = [];
1086
- function sa(e, t, r, s) {
1088
+ var yi = [];
1089
+ function na(e, t, r, s) {
1087
1090
  if (Ir.length) {
1088
1091
  const n = Ir.pop();
1089
1092
  return n.o(s), n.g.init(e, t, r, s), n;
1090
1093
  }
1091
- return new Nh(e, t, r, s);
1094
+ return new Bh(e, t, r, s);
1092
1095
  }
1093
- function na(e) {
1096
+ function ia(e) {
1094
1097
  e.g.clear(), e.l = -1, e.h = -1, Ir.length < 100 && Ir.push(e);
1095
1098
  }
1096
- function ia(e) {
1099
+ function oa(e) {
1097
1100
  var t = e.g;
1098
1101
  if (t.g == t.l) return !1;
1099
1102
  e.m = e.g.g;
@@ -1104,7 +1107,7 @@ function ia(e) {
1104
1107
  function Pr(e) {
1105
1108
  switch (e.h) {
1106
1109
  case 0:
1107
- e.h != 0 ? Pr(e) : vn(e.g);
1110
+ e.h != 0 ? Pr(e) : _n(e.g);
1108
1111
  break;
1109
1112
  case 1:
1110
1113
  at(e = e.g, e.g + 8);
@@ -1121,7 +1124,7 @@ function Pr(e) {
1121
1124
  break;
1122
1125
  case 3:
1123
1126
  for (t = e.l; ; ) {
1124
- if (!ia(e)) throw Error();
1127
+ if (!oa(e)) throw Error();
1125
1128
  if (e.h == 4) {
1126
1129
  if (e.l != t) throw Error();
1127
1130
  break;
@@ -1140,11 +1143,11 @@ function wr(e, t, r) {
1140
1143
  if (i <= 0 && (e.g.l = n, r(t, e, void 0, void 0, void 0), i = n - e.g.g), i) throw Error();
1141
1144
  return e.g.g = n, e.g.l = s, t;
1142
1145
  }
1143
- function _n(e) {
1144
- var t = Ue(e.g), r = ta(e = e.g, t);
1145
- if (e = e.h, qc) {
1146
+ function wn(e) {
1147
+ var t = Ue(e.g), r = ra(e = e.g, t);
1148
+ if (e = e.h, Xc) {
1146
1149
  var s, n = e;
1147
- (s = fs) || (s = fs = new TextDecoder("utf-8", { fatal: !0 })), t = r + t, n = r === 0 && t === n.length ? n : n.subarray(r, t);
1150
+ (s = ps) || (s = ps = new TextDecoder("utf-8", { fatal: !0 })), t = r + t, n = r === 0 && t === n.length ? n : n.subarray(r, t);
1148
1151
  try {
1149
1152
  var i = s.decode(n);
1150
1153
  } catch (a) {
@@ -1159,38 +1162,38 @@ function _n(e) {
1159
1162
  Sr = !1;
1160
1163
  }
1161
1164
  }
1162
- throw !Sr && (fs = void 0), a;
1165
+ throw !Sr && (ps = void 0), a;
1163
1166
  }
1164
1167
  } else {
1165
1168
  t = (i = r) + t, r = [];
1166
1169
  let a, c = null;
1167
1170
  for (; i < t; ) {
1168
1171
  var o = e[i++];
1169
- o < 128 ? r.push(o) : o < 224 ? i >= t ? Qe() : (a = e[i++], o < 194 || (192 & a) != 128 ? (i--, Qe()) : r.push((31 & o) << 6 | 63 & a)) : o < 240 ? i >= t - 1 ? Qe() : (a = e[i++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (s = e[i++])) != 128 ? (i--, Qe()) : r.push((15 & o) << 12 | (63 & a) << 6 | 63 & s)) : o <= 244 ? i >= t - 2 ? Qe() : (a = e[i++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 != 0 || (192 & (s = e[i++])) != 128 || (192 & (n = e[i++])) != 128 ? (i--, Qe()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & s) << 6 | 63 & n, o -= 65536, r.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Qe(), r.length >= 8192 && (c = Zn(c, r), r.length = 0);
1172
+ o < 128 ? r.push(o) : o < 224 ? i >= t ? Qe() : (a = e[i++], o < 194 || (192 & a) != 128 ? (i--, Qe()) : r.push((31 & o) << 6 | 63 & a)) : o < 240 ? i >= t - 1 ? Qe() : (a = e[i++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (s = e[i++])) != 128 ? (i--, Qe()) : r.push((15 & o) << 12 | (63 & a) << 6 | 63 & s)) : o <= 244 ? i >= t - 2 ? Qe() : (a = e[i++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 != 0 || (192 & (s = e[i++])) != 128 || (192 & (n = e[i++])) != 128 ? (i--, Qe()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & s) << 6 | 63 & n, o -= 65536, r.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Qe(), r.length >= 8192 && (c = ei(c, r), r.length = 0);
1170
1173
  }
1171
- i = Zn(c, r);
1174
+ i = ei(c, r);
1172
1175
  }
1173
1176
  return i;
1174
1177
  }
1175
- function oa(e) {
1178
+ function aa(e) {
1176
1179
  const t = Ue(e.g);
1177
- return ra(e.g, t);
1180
+ return sa(e.g, t);
1178
1181
  }
1179
1182
  function Xr(e, t, r) {
1180
1183
  var s = Ue(e.g);
1181
1184
  for (s = e.g.g + s; e.g.g < s; ) r.push(t(e.g));
1182
1185
  }
1183
- var Nh = class {
1186
+ var Bh = class {
1184
1187
  constructor(e, t, r, s) {
1185
- if (mi.length) {
1186
- const n = mi.pop();
1188
+ if (yi.length) {
1189
+ const n = yi.pop();
1187
1190
  n.init(e, t, r, s), e = n;
1188
1191
  } else e = new class {
1189
1192
  constructor(n, i, o, a) {
1190
1193
  this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.init(n, i, o, a);
1191
1194
  }
1192
1195
  init(n, i, o, { Y: a = !1, ea: c = !1 } = {}) {
1193
- this.Y = a, this.ea = c, n && (n = bn(n, this.ea), this.h = n.buffer, this.j = n.g, this.m = i || 0, this.l = o !== void 0 ? this.m + o : this.h.length, this.g = this.m);
1196
+ this.Y = a, this.ea = c, n && (n = vn(n, this.ea), this.h = n.buffer, this.j = n.g, this.m = i || 0, this.l = o !== void 0 ? this.m + o : this.h.length, this.g = this.m);
1194
1197
  }
1195
1198
  clear() {
1196
1199
  this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.Y = !1;
@@ -1202,24 +1205,24 @@ var Nh = class {
1202
1205
  this.ha = e;
1203
1206
  }
1204
1207
  }, Ir = [];
1205
- function yi(e) {
1206
- return e ? /^\d+$/.test(e) ? (Hr(e), new $s(M, B)) : null : Bh || (Bh = new $s(0, 0));
1208
+ function bi(e) {
1209
+ return e ? /^\d+$/.test(e) ? (Hr(e), new Os(M, B)) : null : Uh || (Uh = new Os(0, 0));
1207
1210
  }
1208
- var $s = class {
1211
+ var Os = class {
1209
1212
  constructor(e, t) {
1210
1213
  this.h = e >>> 0, this.g = t >>> 0;
1211
1214
  }
1212
1215
  };
1213
- let Bh;
1214
- function bi(e) {
1215
- return e ? /^-?\d+$/.test(e) ? (Hr(e), new Os(M, B)) : null : Uh || (Uh = new Os(0, 0));
1216
+ let Uh;
1217
+ function vi(e) {
1218
+ return e ? /^-?\d+$/.test(e) ? (Hr(e), new Rs(M, B)) : null : Dh || (Dh = new Rs(0, 0));
1216
1219
  }
1217
- var Os = class {
1220
+ var Rs = class {
1218
1221
  constructor(e, t) {
1219
1222
  this.h = e >>> 0, this.g = t >>> 0;
1220
1223
  }
1221
1224
  };
1222
- let Uh;
1225
+ let Dh;
1223
1226
  function At(e, t, r) {
1224
1227
  for (; r > 0 || t > 127; ) e.g.push(127 & t | 128), t = (t >>> 7 | r << 25) >>> 0, r >>>= 7;
1225
1228
  e.g.push(t);
@@ -1235,7 +1238,7 @@ function Yr(e, t) {
1235
1238
  e.g.push(1);
1236
1239
  }
1237
1240
  }
1238
- function wn(e) {
1241
+ function An(e) {
1239
1242
  var t = M;
1240
1243
  e.g.push(t >>> 0 & 255), e.g.push(t >>> 8 & 255), e.g.push(t >>> 16 & 255), e.g.push(t >>> 24 & 255);
1241
1244
  }
@@ -1245,10 +1248,10 @@ function Ft(e, t) {
1245
1248
  function ye(e, t, r) {
1246
1249
  Wt(e.g, 8 * t + r);
1247
1250
  }
1248
- function An(e, t) {
1251
+ function En(e, t) {
1249
1252
  return ye(e, t, 2), t = e.g.end(), Ft(e, t), t.push(e.h), t;
1250
1253
  }
1251
- function En(e, t) {
1254
+ function kn(e, t) {
1252
1255
  var r = t.pop();
1253
1256
  for (r = e.h + e.g.length() - r; r > 127; ) t.push(127 & r | 128), r >>>= 7, e.h++;
1254
1257
  t.push(r), e.h++;
@@ -1257,7 +1260,7 @@ function Qr(e, t, r) {
1257
1260
  ye(e, t, 2), Wt(e.g, r.length), Ft(e, e.g.end()), Ft(e, r);
1258
1261
  }
1259
1262
  function Nr(e, t, r, s) {
1260
- r != null && (t = An(e, t), s(r, e), En(e, t));
1263
+ r != null && (t = En(e, t), s(r, e), kn(e, t));
1261
1264
  }
1262
1265
  function Pe() {
1263
1266
  const e = class {
@@ -1267,31 +1270,31 @@ function Pe() {
1267
1270
  };
1268
1271
  return Object.setPrototypeOf(e, e.prototype), e;
1269
1272
  }
1270
- var kn = Pe(), aa = Pe(), Sn = Pe(), Tn = Pe(), ca = Pe(), ha = Pe(), Dh = Pe(), Jr = Pe(), ua = Pe(), la = Pe();
1273
+ var Sn = Pe(), ca = Pe(), Tn = Pe(), Cn = Pe(), ha = Pe(), ua = Pe(), jh = Pe(), Jr = Pe(), la = Pe(), da = Pe();
1271
1274
  function Me(e, t, r) {
1272
1275
  var s = e.v;
1273
1276
  oe && oe in s && (s = s[oe]) && delete s[t.g], t.h ? t.j(e, t.h, t.g, r, t.l) : t.j(e, t.g, r, t.l);
1274
1277
  }
1275
1278
  var g = class {
1276
1279
  constructor(e, t) {
1277
- this.v = Wo(e, t, void 0, 2048);
1280
+ this.v = Ko(e, t, void 0, 2048);
1278
1281
  }
1279
1282
  toJSON() {
1280
- return zo(this);
1283
+ return Wo(this);
1281
1284
  }
1282
1285
  j() {
1283
1286
  var n;
1284
- var e = Au, t = this.v, r = e.g, s = oe;
1285
- if (Ut && s && ((n = t[s]) == null ? void 0 : n[r]) != null && Tt(ih, 3), t = e.g, ii && oe && ii === void 0 && (s = (r = this.v)[oe]) && (s = s.da)) try {
1286
- s(r, t, Ph);
1287
+ var e = Eu, t = this.v, r = e.g, s = oe;
1288
+ if (Ut && s && ((n = t[s]) == null ? void 0 : n[r]) != null && Tt(oh, 3), t = e.g, oi && oe && oi === void 0 && (s = (r = this.v)[oe]) && (s = s.da)) try {
1289
+ s(r, t, Mh);
1287
1290
  } catch (i) {
1288
- To(i);
1291
+ Co(i);
1289
1292
  }
1290
1293
  return e.h ? e.m(this, e.h, e.g, e.l) : e.m(this, e.g, e.defaultValue, e.l);
1291
1294
  }
1292
1295
  clone() {
1293
1296
  const e = this.v, t = 0 | e[p];
1294
- return ln(this, e, t) ? hn(this, e, !0) : new this.constructor(Vt(e, t, !1));
1297
+ return dn(this, e, t) ? un(this, e, !0) : new this.constructor(Vt(e, t, !1));
1295
1298
  }
1296
1299
  };
1297
1300
  g.prototype[Ct] = Lt, g.prototype.toString = function() {
@@ -1299,31 +1302,31 @@ g.prototype[Ct] = Lt, g.prototype.toString = function() {
1299
1302
  };
1300
1303
  var Kt = class {
1301
1304
  constructor(e, t, r) {
1302
- this.g = e, this.h = t, e = kn, this.l = !!e && r === e || !1;
1305
+ this.g = e, this.h = t, e = Sn, this.l = !!e && r === e || !1;
1303
1306
  }
1304
1307
  };
1305
1308
  function Zr(e, t) {
1306
- return new Kt(e, t, kn);
1307
- }
1308
- function da(e, t, r, s, n) {
1309
- Nr(e, r, ma(t, s), n);
1310
- }
1311
- const jh = Zr((function(e, t, r, s, n) {
1312
- return e.h === 2 && (wr(e, mn(t, s, r), n), !0);
1313
- }), da), Vh = Zr((function(e, t, r, s, n) {
1314
- return e.h === 2 && (wr(e, mn(t, s, r), n), !0);
1315
- }), da);
1316
- var es = Symbol(), ts = Symbol(), Rs = Symbol(), vi = Symbol(), _i = Symbol();
1317
- let fa, pa;
1309
+ return new Kt(e, t, Sn);
1310
+ }
1311
+ function fa(e, t, r, s, n) {
1312
+ Nr(e, r, ya(t, s), n);
1313
+ }
1314
+ const Vh = Zr((function(e, t, r, s, n) {
1315
+ return e.h === 2 && (wr(e, yn(t, s, r), n), !0);
1316
+ }), fa), Gh = Zr((function(e, t, r, s, n) {
1317
+ return e.h === 2 && (wr(e, yn(t, s, r), n), !0);
1318
+ }), fa);
1319
+ var es = Symbol(), ts = Symbol(), Is = Symbol(), _i = Symbol(), wi = Symbol();
1320
+ let pa, ga;
1318
1321
  function mt(e, t, r, s) {
1319
1322
  var n = s[e];
1320
1323
  if (n) return n;
1321
1324
  (n = {}).qa = s, n.T = (function(l) {
1322
1325
  switch (typeof l) {
1323
1326
  case "boolean":
1324
- return Fh || (Fh = [0, void 0, !0]);
1327
+ return $h || ($h = [0, void 0, !0]);
1325
1328
  case "number":
1326
- return l > 0 ? void 0 : l === 0 ? $h || ($h = [0, void 0]) : [-l, void 0];
1329
+ return l > 0 ? void 0 : l === 0 ? Oh || (Oh = [0, void 0]) : [-l, void 0];
1327
1330
  case "string":
1328
1331
  return [0, l];
1329
1332
  case "object":
@@ -1332,7 +1335,7 @@ function mt(e, t, r, s) {
1332
1335
  })(s[0]);
1333
1336
  var i = s[1];
1334
1337
  let o = 1;
1335
- i && i.constructor === Object && (n.ba = i, typeof (i = s[++o]) == "function" && (n.ma = !0, fa ?? (fa = i), pa ?? (pa = s[o + 1]), i = s[o += 2]));
1338
+ i && i.constructor === Object && (n.ba = i, typeof (i = s[++o]) == "function" && (n.ma = !0, pa ?? (pa = i), ga ?? (ga = s[o + 1]), i = s[o += 2]));
1336
1339
  const a = {};
1337
1340
  for (; i && Array.isArray(i) && i.length && typeof i[0] == "number" && i[0] > 0; ) {
1338
1341
  for (var c = 0; c < i.length; c++) a[i[c]] = i;
@@ -1342,7 +1345,7 @@ function mt(e, t, r, s) {
1342
1345
  let l;
1343
1346
  typeof i == "number" && (c += i, i = s[++o]);
1344
1347
  var u = void 0;
1345
- if (i instanceof Kt ? l = i : (l = jh, o--), l == null ? void 0 : l.l) {
1348
+ if (i instanceof Kt ? l = i : (l = Vh, o--), l == null ? void 0 : l.l) {
1346
1349
  i = s[++o], u = s;
1347
1350
  var h = o;
1348
1351
  typeof i == "function" && (i = i(), u[h] = i), u = i;
@@ -1354,54 +1357,54 @@ function mt(e, t, r, s) {
1354
1357
  }
1355
1358
  return s[e] = n;
1356
1359
  }
1357
- function ga(e) {
1358
- return Array.isArray(e) ? e[0] instanceof Kt ? e : [Vh, e] : [e, void 0];
1360
+ function ma(e) {
1361
+ return Array.isArray(e) ? e[0] instanceof Kt ? e : [Gh, e] : [e, void 0];
1359
1362
  }
1360
- function ma(e, t) {
1363
+ function ya(e, t) {
1361
1364
  return e instanceof g ? e.v : Array.isArray(e) ? nt(e, t) : void 0;
1362
1365
  }
1363
- function Cn(e, t, r, s) {
1366
+ function Ln(e, t, r, s) {
1364
1367
  const n = r.g;
1365
1368
  e[t] = s ? (i, o, a) => n(i, o, a, s) : n;
1366
1369
  }
1367
- function Ln(e, t, r, s, n) {
1370
+ function Pn(e, t, r, s, n) {
1368
1371
  const i = r.g;
1369
1372
  let o, a;
1370
- e[t] = (c, u, h) => i(c, u, h, a || (a = mt(ts, Cn, Ln, s).T), o || (o = Pn(s)), n);
1373
+ e[t] = (c, u, h) => i(c, u, h, a || (a = mt(ts, Ln, Pn, s).T), o || (o = Mn(s)), n);
1371
1374
  }
1372
- function Pn(e) {
1373
- let t = e[Rs];
1375
+ function Mn(e) {
1376
+ let t = e[Is];
1374
1377
  if (t != null) return t;
1375
- const r = mt(ts, Cn, Ln, e);
1376
- return t = r.ma ? (s, n) => fa(s, n, r) : (s, n) => {
1377
- for (; ia(n) && n.h != 4; ) {
1378
+ const r = mt(ts, Ln, Pn, e);
1379
+ return t = r.ma ? (s, n) => pa(s, n, r) : (s, n) => {
1380
+ for (; oa(n) && n.h != 4; ) {
1378
1381
  var i = n.l, o = r[i];
1379
1382
  if (o == null) {
1380
1383
  var a = r.ba;
1381
- a && (a = a[i]) && (a = Hh(a)) != null && (o = r[i] = a);
1384
+ a && (a = a[i]) && (a = zh(a)) != null && (o = r[i] = a);
1382
1385
  }
1383
1386
  if (o == null || !o(n, s, i)) {
1384
1387
  if (o = (a = n).m, Pr(a), a.ha) var c = void 0;
1385
- else c = a.g.g - o, a.g.g = o, c = ra(a.g, c);
1386
- o = void 0, a = s, c && ((o = a[oe] ?? (a[oe] = new Fs()))[i] ?? (o[i] = [])).push(c);
1388
+ else c = a.g.g - o, a.g.g = o, c = sa(a.g, c);
1389
+ o = void 0, a = s, c && ((o = a[oe] ?? (a[oe] = new $s()))[i] ?? (o[i] = [])).push(c);
1387
1390
  }
1388
1391
  }
1389
- return (s = Wr(s)) && (s.da = r.qa[_i]), !0;
1390
- }, e[Rs] = t, e[_i] = Gh.bind(e), t;
1392
+ return (s = Wr(s)) && (s.da = r.qa[wi]), !0;
1393
+ }, e[Is] = t, e[wi] = Hh.bind(e), t;
1391
1394
  }
1392
- function Gh(e, t, r, s) {
1395
+ function Hh(e, t, r, s) {
1393
1396
  var n = this[ts];
1394
- const i = this[Rs], o = nt(void 0, n.T), a = Wr(e);
1397
+ const i = this[Is], o = nt(void 0, n.T), a = Wr(e);
1395
1398
  if (a) {
1396
1399
  var c = !1, u = n.ba;
1397
1400
  if (u) {
1398
1401
  if (n = (h, l, d) => {
1399
1402
  if (d.length !== 0) if (u[l]) for (const b of d) {
1400
- h = sa(b);
1403
+ h = na(b);
1401
1404
  try {
1402
1405
  c = !0, i(o, h);
1403
1406
  } finally {
1404
- na(h);
1407
+ ia(h);
1405
1408
  }
1406
1409
  }
1407
1410
  else s == null || s(e, l, d);
@@ -1420,17 +1423,17 @@ function Gh(e, t, r, s) {
1420
1423
  }
1421
1424
  S != null && (h = V(e, h, b, S, l)), delete a[b];
1422
1425
  };
1423
- t == null ? Ro(o, 0 | o[p], ((b, S) => {
1426
+ t == null ? Io(o, 0 | o[p], ((b, S) => {
1424
1427
  d(b, S);
1425
1428
  })) : d(t, Ie(o, t, l));
1426
1429
  }
1427
1430
  }
1428
1431
  }
1429
1432
  }
1430
- function Hh(e) {
1431
- const t = (e = ga(e))[0].g;
1433
+ function zh(e) {
1434
+ const t = (e = ma(e))[0].g;
1432
1435
  if (e = e[1]) {
1433
- const r = Pn(e), s = mt(ts, Cn, Ln, e).T;
1436
+ const r = Mn(e), s = mt(ts, Ln, Pn, e).T;
1434
1437
  return (n, i, o) => t(n, i, o, s, r);
1435
1438
  }
1436
1439
  return t;
@@ -1441,38 +1444,38 @@ function rs(e, t, r) {
1441
1444
  function ss(e, t, r, s) {
1442
1445
  let n, i;
1443
1446
  const o = r.h;
1444
- e[t] = (a, c, u) => o(a, c, u, i || (i = mt(es, rs, ss, s).T), n || (n = ya(s)));
1447
+ e[t] = (a, c, u) => o(a, c, u, i || (i = mt(es, rs, ss, s).T), n || (n = ba(s)));
1445
1448
  }
1446
- function ya(e) {
1447
- let t = e[vi];
1449
+ function ba(e) {
1450
+ let t = e[_i];
1448
1451
  if (!t) {
1449
1452
  const r = mt(es, rs, ss, e);
1450
- t = (s, n) => ba(s, n, r), e[vi] = t;
1453
+ t = (s, n) => va(s, n, r), e[_i] = t;
1451
1454
  }
1452
1455
  return t;
1453
1456
  }
1454
- function ba(e, t, r) {
1455
- Ro(e, 0 | e[p], ((s, n) => {
1457
+ function va(e, t, r) {
1458
+ Io(e, 0 | e[p], ((s, n) => {
1456
1459
  if (n != null) {
1457
1460
  var i = (function(o, a) {
1458
1461
  var c = o[a];
1459
1462
  if (c) return c;
1460
1463
  if ((c = o.ba) && (c = c[a])) {
1461
- var u = (c = ga(c))[0].h;
1464
+ var u = (c = ma(c))[0].h;
1462
1465
  if (c = c[1]) {
1463
- const h = ya(c), l = mt(es, rs, ss, c).T;
1464
- c = o.ma ? pa(l, h) : (d, b, S) => u(d, b, S, l, h);
1466
+ const h = ba(c), l = mt(es, rs, ss, c).T;
1467
+ c = o.ma ? ga(l, h) : (d, b, S) => u(d, b, S, l, h);
1465
1468
  } else c = u;
1466
1469
  return o[a] = c;
1467
1470
  }
1468
1471
  })(r, s);
1469
- i ? i(t, n, s) : s < 500 || Tt(Ps, 3);
1472
+ i ? i(t, n, s) : s < 500 || Tt(Ms, 3);
1470
1473
  }
1471
1474
  })), (e = Wr(e)) && $r(e, ((s, n, i) => {
1472
- for (Ft(t, t.g.end()), s = 0; s < i.length; s++) Ft(t, en(i[s]) || new Uint8Array(0));
1475
+ for (Ft(t, t.g.end()), s = 0; s < i.length; s++) Ft(t, tn(i[s]) || new Uint8Array(0));
1473
1476
  }));
1474
1477
  }
1475
- const zh = ae(0);
1478
+ const Wh = ae(0);
1476
1479
  function qt(e, t) {
1477
1480
  if (Array.isArray(t)) {
1478
1481
  var r = 0 | t[p];
@@ -1493,14 +1496,14 @@ function Xt(e, t, r) {
1493
1496
  function X(e, t, r) {
1494
1497
  V(e, 0 | e[p], t, r, Dt(0 | e[p]));
1495
1498
  }
1496
- var Wh = Zr((function(e, t, r, s, n) {
1499
+ var Kh = Zr((function(e, t, r, s, n) {
1497
1500
  if (e.h !== 2) return !1;
1498
1501
  if (e = ve(e = wr(e, nt([void 0, void 0], s), n)), n = Dt(s = 0 | t[p]), 2 & s) throw Error();
1499
1502
  let i = Ie(t, r, n);
1500
1503
  if (i instanceof Re) (2 & i.J) != 0 ? (i = i.V(), i.push(e), V(t, s, r, i, n)) : i.Ma(e);
1501
1504
  else if (Array.isArray(i)) {
1502
1505
  var o = 0 | i[p];
1503
- 8192 & o || H(i, o |= 8192), 2 & o && (i = Xo(i), V(t, s, r, i, n)), i.push(e);
1506
+ 8192 & o || H(i, o |= 8192), 2 & o && (i = Yo(i), V(t, s, r, i, n)), i.push(e);
1504
1507
  } else V(t, s, r, hr([e]), n);
1505
1508
  return !0;
1506
1509
  }), (function(e, t, r, s, n) {
@@ -1515,169 +1518,169 @@ var Wh = Zr((function(e, t, r, s, n) {
1515
1518
  hr(t);
1516
1519
  }
1517
1520
  }));
1518
- function va(e, t, r) {
1519
- (t = Te(t)) != null && (ye(e, r, 5), e = e.g, rn(t), wn(e));
1520
- }
1521
1521
  function _a(e, t, r) {
1522
+ (t = Te(t)) != null && (ye(e, r, 5), e = e.g, sn(t), An(e));
1523
+ }
1524
+ function wa(e, t, r) {
1522
1525
  if (t = (function(s) {
1523
1526
  if (s == null) return s;
1524
1527
  const n = typeof s;
1525
1528
  if (n === "bigint") return String(br(64, s));
1526
1529
  if (vr(s)) {
1527
- if (n === "string") return jo(s);
1528
- if (n === "number") return an(s);
1530
+ if (n === "string") return Vo(s);
1531
+ if (n === "number") return cn(s);
1529
1532
  }
1530
- })(t), t != null && (typeof t == "string" && bi(t), t != null))
1533
+ })(t), t != null && (typeof t == "string" && vi(t), t != null))
1531
1534
  switch (ye(e, r, 0), typeof t) {
1532
1535
  case "number":
1533
1536
  e = e.g, Pt(t), At(e, M, B);
1534
1537
  break;
1535
1538
  case "bigint":
1536
- r = BigInt.asUintN(64, t), r = new Os(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
1539
+ r = BigInt.asUintN(64, t), r = new Rs(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
1537
1540
  break;
1538
1541
  default:
1539
- r = bi(t), At(e.g, r.h, r.g);
1542
+ r = vi(t), At(e.g, r.h, r.g);
1540
1543
  }
1541
1544
  }
1542
- function wa(e, t, r) {
1543
- (t = jt(t)) != null && t != null && (ye(e, r, 0), Yr(e.g, t));
1544
- }
1545
1545
  function Aa(e, t, r) {
1546
- (t = Bo(t)) != null && (ye(e, r, 0), e.g.g.push(t ? 1 : 0));
1546
+ (t = jt(t)) != null && t != null && (ye(e, r, 0), Yr(e.g, t));
1547
1547
  }
1548
1548
  function Ea(e, t, r) {
1549
- (t = Y(t)) != null && Qr(e, r, So(t));
1549
+ (t = Uo(t)) != null && (ye(e, r, 0), e.g.g.push(t ? 1 : 0));
1550
1550
  }
1551
- function ka(e, t, r, s, n) {
1552
- Nr(e, r, ma(t, s), n);
1551
+ function ka(e, t, r) {
1552
+ (t = Y(t)) != null && Qr(e, r, To(t));
1553
1553
  }
1554
- function Sa(e, t, r) {
1555
- (t = t == null || typeof t == "string" || t instanceof Ce ? t : void 0) != null && Qr(e, r, bn(t, !0).buffer);
1554
+ function Sa(e, t, r, s, n) {
1555
+ Nr(e, r, ya(t, s), n);
1556
1556
  }
1557
1557
  function Ta(e, t, r) {
1558
+ (t = t == null || typeof t == "string" || t instanceof Ce ? t : void 0) != null && Qr(e, r, vn(t, !0).buffer);
1559
+ }
1560
+ function Ca(e, t, r) {
1558
1561
  return (e.h === 5 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Rr, t) : t.push(Rr(e.g)), !0);
1559
1562
  }
1560
1563
  var U = J((function(e, t, r) {
1561
1564
  return e.h === 5 && (X(t, r, Rr(e.g)), !0);
1562
- }), va, Jr), Kh = Xt(Ta, (function(e, t, r) {
1565
+ }), _a, Jr), qh = Xt(Ca, (function(e, t, r) {
1563
1566
  if ((t = qt(Te, t)) != null) for (let o = 0; o < t.length; o++) {
1564
1567
  var s = e, n = r, i = t[o];
1565
- i != null && (ye(s, n, 5), s = s.g, rn(i), wn(s));
1568
+ i != null && (ye(s, n, 5), s = s.g, sn(i), An(s));
1566
1569
  }
1567
- }), Jr), Mn = Xt(Ta, (function(e, t, r) {
1570
+ }), Jr), xn = Xt(Ca, (function(e, t, r) {
1568
1571
  if ((t = qt(Te, t)) != null && t.length) {
1569
1572
  ye(e, r, 2), Wt(e.g, 4 * t.length);
1570
- for (let s = 0; s < t.length; s++) r = e.g, rn(t[s]), wn(r);
1573
+ for (let s = 0; s < t.length; s++) r = e.g, sn(t[s]), An(r);
1571
1574
  }
1572
- }), Jr), qh = J((function(e, t, r) {
1575
+ }), Jr), Xh = J((function(e, t, r) {
1573
1576
  return e.h === 5 && (X(t, r, (e = Rr(e.g)) === 0 ? void 0 : e), !0);
1574
- }), va, Jr), qe = J((function(e, t, r) {
1575
- return Qs ? (e.h !== 0 ? e = !1 : (X(t, r, xt(e.g, No)), e = !0), e) : e.h === 0 && (X(t, r, xt(e.g, sn)), !0);
1576
- }), _a, ha), ys = J((function(e, t, r) {
1577
- return Qs ? (e.h !== 0 ? t = !1 : (X(t, r, (e = xt(e.g, No)) === zh ? void 0 : e), t = !0), t) : e.h === 0 && (X(t, r, (e = xt(e.g, sn)) === 0 ? void 0 : e), !0);
1578
- }), _a, ha), Xh = J((function(e, t, r) {
1579
- return Qs ? (e.h !== 0 ? e = !1 : (X(t, r, xt(e.g, yh)), e = !0), e) : e.h === 0 && (X(t, r, xt(e.g, xs)), !0);
1577
+ }), _a, Jr), qe = J((function(e, t, r) {
1578
+ return Js ? (e.h !== 0 ? e = !1 : (X(t, r, xt(e.g, Bo)), e = !0), e) : e.h === 0 && (X(t, r, xt(e.g, nn)), !0);
1579
+ }), wa, ua), bs = J((function(e, t, r) {
1580
+ return Js ? (e.h !== 0 ? t = !1 : (X(t, r, (e = xt(e.g, Bo)) === Wh ? void 0 : e), t = !0), t) : e.h === 0 && (X(t, r, (e = xt(e.g, nn)) === 0 ? void 0 : e), !0);
1581
+ }), wa, ua), Yh = J((function(e, t, r) {
1582
+ return Js ? (e.h !== 0 ? e = !1 : (X(t, r, xt(e.g, bh)), e = !0), e) : e.h === 0 && (X(t, r, xt(e.g, Fs)), !0);
1580
1583
  }), (function(e, t, r) {
1581
1584
  if (t = (function(s) {
1582
1585
  if (s == null) return s;
1583
1586
  var n = typeof s;
1584
- if (n === "bigint") return String(bh(64, s));
1587
+ if (n === "bigint") return String(vh(64, s));
1585
1588
  if (vr(s)) {
1586
1589
  if (n === "string") return n = Mt(Number(s)), dt(n) && n >= 0 ? s = String(n) : ((n = s.indexOf(".")) !== -1 && (s = s.substring(0, n)), (n = s[0] !== "-" && ((n = s.length) < 20 || n === 20 && s <= "18446744073709551615")) || (Hr(s), s = ur(M, B))), s;
1587
- if (n === "number") return (s = Mt(s)) >= 0 && dt(s) || (Pt(s), s = xs(M, B)), s;
1590
+ if (n === "number") return (s = Mt(s)) >= 0 && dt(s) || (Pt(s), s = Fs(M, B)), s;
1588
1591
  }
1589
- })(t), t != null && (typeof t == "string" && yi(t), t != null))
1592
+ })(t), t != null && (typeof t == "string" && bi(t), t != null))
1590
1593
  switch (ye(e, r, 0), typeof t) {
1591
1594
  case "number":
1592
1595
  e = e.g, Pt(t), At(e, M, B);
1593
1596
  break;
1594
1597
  case "bigint":
1595
- r = BigInt.asUintN(64, t), r = new $s(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
1598
+ r = BigInt.asUintN(64, t), r = new Os(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
1596
1599
  break;
1597
1600
  default:
1598
- r = yi(t), At(e.g, r.h, r.g);
1601
+ r = bi(t), At(e.g, r.h, r.g);
1599
1602
  }
1600
- }), Dh), q = J((function(e, t, r) {
1603
+ }), jh), q = J((function(e, t, r) {
1601
1604
  return e.h === 0 && (X(t, r, Ke(e.g)), !0);
1602
- }), wa, Tn), Ar = Xt((function(e, t, r) {
1605
+ }), Aa, Cn), Ar = Xt((function(e, t, r) {
1603
1606
  return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Ke, t) : t.push(Ke(e.g)), !0);
1604
1607
  }), (function(e, t, r) {
1605
1608
  if ((t = qt(jt, t)) != null && t.length) {
1606
- r = An(e, r);
1609
+ r = En(e, r);
1607
1610
  for (let s = 0; s < t.length; s++) Yr(e.g, t[s]);
1608
- En(e, r);
1611
+ kn(e, r);
1609
1612
  }
1610
- }), Tn), wt = J((function(e, t, r) {
1613
+ }), Cn), wt = J((function(e, t, r) {
1611
1614
  return e.h === 0 && (X(t, r, (e = Ke(e.g)) === 0 ? void 0 : e), !0);
1612
- }), wa, Tn), N = J((function(e, t, r) {
1613
- return e.h === 0 && (X(t, r, vn(e.g)), !0);
1614
- }), Aa, aa), ct = J((function(e, t, r) {
1615
- return e.h === 0 && (X(t, r, (e = vn(e.g)) === !1 ? void 0 : e), !0);
1616
- }), Aa, aa), Q = Xt((function(e, t, r) {
1617
- return e.h === 2 && (e = _n(e), zt(t, 0 | t[p], r).push(e), !0);
1615
+ }), Aa, Cn), N = J((function(e, t, r) {
1616
+ return e.h === 0 && (X(t, r, _n(e.g)), !0);
1617
+ }), Ea, ca), ct = J((function(e, t, r) {
1618
+ return e.h === 0 && (X(t, r, (e = _n(e.g)) === !1 ? void 0 : e), !0);
1619
+ }), Ea, ca), Q = Xt((function(e, t, r) {
1620
+ return e.h === 2 && (e = wn(e), zt(t, 0 | t[p], r).push(e), !0);
1618
1621
  }), (function(e, t, r) {
1619
1622
  if ((t = qt(Y, t)) != null) for (let o = 0; o < t.length; o++) {
1620
1623
  var s = e, n = r, i = t[o];
1621
- i != null && Qr(s, n, So(i));
1624
+ i != null && Qr(s, n, To(i));
1622
1625
  }
1623
- }), Sn), Ge = J((function(e, t, r) {
1624
- return e.h === 2 && (X(t, r, (e = _n(e)) === "" ? void 0 : e), !0);
1625
- }), Ea, Sn), T = J((function(e, t, r) {
1626
- return e.h === 2 && (X(t, r, _n(e)), !0);
1627
- }), Ea, Sn), W = (function(e, t, r = kn) {
1626
+ }), Tn), Ge = J((function(e, t, r) {
1627
+ return e.h === 2 && (X(t, r, (e = wn(e)) === "" ? void 0 : e), !0);
1628
+ }), ka, Tn), T = J((function(e, t, r) {
1629
+ return e.h === 2 && (X(t, r, wn(e)), !0);
1630
+ }), ka, Tn), W = (function(e, t, r = Sn) {
1628
1631
  return new Kt(e, t, r);
1629
1632
  })((function(e, t, r, s, n) {
1630
1633
  return e.h === 2 && (s = nt(void 0, s), zt(t, 0 | t[p], r).push(s), wr(e, s, n), !0);
1631
1634
  }), (function(e, t, r, s, n) {
1632
1635
  if (Array.isArray(t)) {
1633
- for (let i = 0; i < t.length; i++) ka(e, t[i], r, s, n);
1636
+ for (let i = 0; i < t.length; i++) Sa(e, t[i], r, s, n);
1634
1637
  1 & (e = 0 | t[p]) || H(t, 1 | e);
1635
1638
  }
1636
1639
  })), R = Zr((function(e, t, r, s, n, i) {
1637
1640
  if (e.h !== 2) return !1;
1638
1641
  let o = 0 | t[p];
1639
- return Yo(t, o, i, r, Dt(o)), wr(e, t = mn(t, s, r), n), !0;
1640
- }), ka), Ca = J((function(e, t, r) {
1641
- return e.h === 2 && (X(t, r, oa(e)), !0);
1642
- }), Sa, ua), Yh = Xt((function(e, t, r) {
1642
+ return Qo(t, o, i, r, Dt(o)), wr(e, t = yn(t, s, r), n), !0;
1643
+ }), Sa), La = J((function(e, t, r) {
1644
+ return e.h === 2 && (X(t, r, aa(e)), !0);
1645
+ }), Ta, la), Qh = Xt((function(e, t, r) {
1643
1646
  return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Ue, t) : t.push(Ue(e.g)), !0);
1644
1647
  }), (function(e, t, r) {
1645
- if ((t = qt(Uo, t)) != null) for (let o = 0; o < t.length; o++) {
1648
+ if ((t = qt(Do, t)) != null) for (let o = 0; o < t.length; o++) {
1646
1649
  var s = e, n = r, i = t[o];
1647
1650
  i != null && (ye(s, n, 0), Wt(s.g, i));
1648
1651
  }
1649
- }), ca), Qh = J((function(e, t, r) {
1652
+ }), ha), Jh = J((function(e, t, r) {
1650
1653
  return e.h === 0 && (X(t, r, (e = Ue(e.g)) === 0 ? void 0 : e), !0);
1651
1654
  }), (function(e, t, r) {
1652
- (t = Uo(t)) != null && t != null && (ye(e, r, 0), Wt(e.g, t));
1653
- }), ca), ue = J((function(e, t, r) {
1655
+ (t = Do(t)) != null && t != null && (ye(e, r, 0), Wt(e.g, t));
1656
+ }), ha), ue = J((function(e, t, r) {
1654
1657
  return e.h === 0 && (X(t, r, Ke(e.g)), !0);
1655
1658
  }), (function(e, t, r) {
1656
1659
  (t = jt(t)) != null && (t = parseInt(t, 10), ye(e, r, 0), Yr(e.g, t));
1657
- }), la);
1658
- class Jh {
1660
+ }), da);
1661
+ class Zh {
1659
1662
  constructor(t, r) {
1660
1663
  var s = de;
1661
- this.g = t, this.h = r, this.m = A, this.j = v, this.defaultValue = void 0, this.l = s.Oa != null ? Io : void 0;
1664
+ this.g = t, this.h = r, this.m = A, this.j = v, this.defaultValue = void 0, this.l = s.Oa != null ? No : void 0;
1662
1665
  }
1663
1666
  register() {
1664
1667
  jr(this);
1665
1668
  }
1666
1669
  }
1667
1670
  function xe(e, t) {
1668
- return new Jh(e, t);
1671
+ return new Zh(e, t);
1669
1672
  }
1670
1673
  function Xe(e, t) {
1671
1674
  return (r, s) => {
1672
1675
  {
1673
1676
  const i = { ea: !0 };
1674
- s && Object.assign(i, s), r = sa(r, void 0, void 0, i);
1677
+ s && Object.assign(i, s), r = na(r, void 0, void 0, i);
1675
1678
  try {
1676
1679
  const o = new e(), a = o.v;
1677
- Pn(t)(a, r);
1680
+ Mn(t)(a, r);
1678
1681
  var n = o;
1679
1682
  } finally {
1680
- na(r);
1683
+ ia(r);
1681
1684
  }
1682
1685
  }
1683
1686
  return n;
@@ -1701,7 +1704,7 @@ function ns(e) {
1701
1704
  }();
1702
1705
  }
1703
1706
  }();
1704
- ba(this.v, t, mt(es, rs, ss, e)), Ft(t, t.g.end());
1707
+ va(this.v, t, mt(es, rs, ss, e)), Ft(t, t.g.end());
1705
1708
  const r = new Uint8Array(t.h), s = t.l, n = s.length;
1706
1709
  let i = 0;
1707
1710
  for (let o = 0; o < n; o++) {
@@ -1711,35 +1714,35 @@ function ns(e) {
1711
1714
  return t.l = [r], r;
1712
1715
  };
1713
1716
  }
1714
- var wi = class extends g {
1717
+ var Ai = class extends g {
1715
1718
  constructor(e) {
1716
1719
  super(e);
1717
1720
  }
1718
- }, Ai = [0, Ge, J((function(e, t, r) {
1719
- return e.h === 2 && (X(t, r, (e = oa(e)) === ut() ? void 0 : e), !0);
1721
+ }, Ei = [0, Ge, J((function(e, t, r) {
1722
+ return e.h === 2 && (X(t, r, (e = aa(e)) === ut() ? void 0 : e), !0);
1720
1723
  }), (function(e, t, r) {
1721
1724
  if (t != null) {
1722
1725
  if (t instanceof g) {
1723
1726
  const s = t.Ra;
1724
- return void (s ? (t = s(t), t != null && Qr(e, r, bn(t, !0).buffer)) : Tt(Ps, 3));
1727
+ return void (s ? (t = s(t), t != null && Qr(e, r, vn(t, !0).buffer)) : Tt(Ms, 3));
1725
1728
  }
1726
- if (Array.isArray(t)) return void Tt(Ps, 3);
1729
+ if (Array.isArray(t)) return void Tt(Ms, 3);
1727
1730
  }
1728
- Sa(e, t, r);
1729
- }), ua)];
1730
- let bs, Ei = globalThis.trustedTypes;
1731
- function ki(e) {
1731
+ Ta(e, t, r);
1732
+ }), la)];
1733
+ let vs, ki = globalThis.trustedTypes;
1734
+ function Si(e) {
1732
1735
  var t;
1733
- return bs === void 0 && (bs = (function() {
1736
+ return vs === void 0 && (vs = (function() {
1734
1737
  let r = null;
1735
- if (!Ei) return r;
1738
+ if (!ki) return r;
1736
1739
  try {
1737
1740
  const s = (n) => n;
1738
- r = Ei.createPolicy("goog#html", { createHTML: s, createScript: s, createScriptURL: s });
1741
+ r = ki.createPolicy("goog#html", { createHTML: s, createScript: s, createScriptURL: s });
1739
1742
  } catch {
1740
1743
  }
1741
1744
  return r;
1742
- })()), e = (t = bs) ? t.createScriptURL(e) : e, new class {
1745
+ })()), e = (t = vs) ? t.createScriptURL(e) : e, new class {
1743
1746
  constructor(r) {
1744
1747
  this.g = r;
1745
1748
  }
@@ -1748,35 +1751,35 @@ function ki(e) {
1748
1751
  }
1749
1752
  }(e);
1750
1753
  }
1751
- function Zh(e, ...t) {
1752
- if (t.length === 0) return ki(e[0]);
1754
+ function eu(e, ...t) {
1755
+ if (t.length === 0) return Si(e[0]);
1753
1756
  let r = e[0];
1754
1757
  for (let s = 0; s < t.length; s++) r += encodeURIComponent(t[s]) + e[s + 1];
1755
- return ki(r);
1758
+ return Si(r);
1756
1759
  }
1757
- var La = [0, q, ue, N, -1, Ar, ue, -1, N], eu = class extends g {
1760
+ var Pa = [0, q, ue, N, -1, Ar, ue, -1, N], tu = class extends g {
1758
1761
  constructor(e) {
1759
1762
  super(e);
1760
1763
  }
1761
- }, Pa = [0, N, T, N, ue, -1, Xt((function(e, t, r) {
1762
- return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Ih, t) : t.push(Ke(e.g)), !0);
1764
+ }, Ma = [0, N, T, N, ue, -1, Xt((function(e, t, r) {
1765
+ return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Nh, t) : t.push(Ke(e.g)), !0);
1763
1766
  }), (function(e, t, r) {
1764
1767
  if ((t = qt(jt, t)) != null && t.length) {
1765
- r = An(e, r);
1768
+ r = En(e, r);
1766
1769
  for (let s = 0; s < t.length; s++) Yr(e.g, t[s]);
1767
- En(e, r);
1770
+ kn(e, r);
1768
1771
  }
1769
- }), la), T, -1, [0, N, -1], ue, N, -1], Ma = [0, 3, N, -1, 2, [0, q], [0, ue, N], [0, T, -1], [0]], xa = [0, T, -2], Si = class extends g {
1772
+ }), da), T, -1, [0, N, -1], ue, N, -1], xa = [0, 3, N, -1, 2, [0, q], [0, ue, N], [0, T, -1], [0]], Fa = [0, T, -2], Ti = class extends g {
1770
1773
  constructor(e) {
1771
1774
  super(e);
1772
1775
  }
1773
- }, Fa = [0], $a = [0, q, N, 1, N, -4], de = class extends g {
1776
+ }, $a = [0], Oa = [0, q, N, 1, N, -4], de = class extends g {
1774
1777
  constructor(e) {
1775
1778
  super(e, 2);
1776
1779
  }
1777
1780
  }, G = {};
1778
- G[336783863] = [0, T, N, -1, q, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], R, Fa, R, Pa, R, xa, R, $a, R, La, R, [0, T, -2], R, [0, T, ue], R, Ma, R, [0, ue, -1, N]], [0, T], N, [0, [1, 3], [2, 4], R, [0, Ar], -1, R, [0, Q], -1, W, [0, T, -1]], T];
1779
- var Ti = [0, ys, -1, ct, -3, ys, Ar, Ge, wt, ys, -1, ct, wt, ct, -2, Ge];
1781
+ G[336783863] = [0, T, N, -1, q, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], R, $a, R, Ma, R, Fa, R, Oa, R, Pa, R, [0, T, -2], R, [0, T, ue], R, xa, R, [0, ue, -1, N]], [0, T], N, [0, [1, 3], [2, 4], R, [0, Ar], -1, R, [0, Q], -1, W, [0, T, -1]], T];
1782
+ var Ci = [0, bs, -1, ct, -3, bs, Ar, Ge, wt, bs, -1, ct, wt, ct, -2, Ge];
1780
1783
  function P(e, t) {
1781
1784
  qr(e, 3, t);
1782
1785
  }
@@ -1790,9 +1793,9 @@ var ee = class extends g {
1790
1793
  o(e) {
1791
1794
  return v(this, 0, 7, e);
1792
1795
  }
1793
- }, sr = [-1, {}], Ci = [0, T, 1, sr], Li = [0, T, Q, sr];
1796
+ }, sr = [-1, {}], Li = [0, T, 1, sr], Pi = [0, T, Q, sr];
1794
1797
  function be(e, t) {
1795
- yn(e, 1, ee, t);
1798
+ bn(e, 1, ee, t);
1796
1799
  }
1797
1800
  function x(e, t) {
1798
1801
  qr(e, 10, t);
@@ -1807,42 +1810,42 @@ var fe = class extends g {
1807
1810
  o(e) {
1808
1811
  return v(this, 0, 1001, e);
1809
1812
  }
1810
- }, Oa = [-500, W, [-500, Ge, -1, Q, -3, [-2, G, N], W, Ai, wt, -1, Ci, Li, W, [0, Ge, ct], Ge, Ti, wt, Q, 987, Q], 4, W, [-500, T, -1, [-1, {}], 998, T], W, [-500, T, Q, -1, [-2, {}, N], 997, Q, -1], wt, W, [-500, T, Q, sr, 998, Q], Q, wt, Ci, Li, W, [0, Ge, -1, sr], Q, -2, Ti, Ge, -1, ct, [0, ct, Qh], 978, sr, W, Ai];
1811
- fe.prototype.g = ns(Oa);
1812
- var tu = Xe(fe, Oa), ru = class extends g {
1813
+ }, Ra = [-500, W, [-500, Ge, -1, Q, -3, [-2, G, N], W, Ei, wt, -1, Li, Pi, W, [0, Ge, ct], Ge, Ci, wt, Q, 987, Q], 4, W, [-500, T, -1, [-1, {}], 998, T], W, [-500, T, Q, -1, [-2, {}, N], 997, Q, -1], wt, W, [-500, T, Q, sr, 998, Q], Q, wt, Li, Pi, W, [0, Ge, -1, sr], Q, -2, Ci, Ge, -1, ct, [0, ct, Jh], 978, sr, W, Ei];
1814
+ fe.prototype.g = ns(Ra);
1815
+ var ru = Xe(fe, Ra), su = class extends g {
1813
1816
  constructor(e) {
1814
1817
  super(e);
1815
1818
  }
1816
- }, Ra = class extends g {
1819
+ }, Ia = class extends g {
1817
1820
  constructor(e) {
1818
1821
  super(e);
1819
1822
  }
1820
1823
  g() {
1821
- return Ne(this, ru, 1);
1824
+ return Ne(this, su, 1);
1822
1825
  }
1823
- }, Ia = [0, W, [0, q, U, T, -1]], is = Xe(Ra, Ia), su = class extends g {
1826
+ }, Na = [0, W, [0, q, U, T, -1]], is = Xe(Ia, Na), nu = class extends g {
1824
1827
  constructor(e) {
1825
1828
  super(e);
1826
1829
  }
1827
- }, nu = class extends g {
1830
+ }, iu = class extends g {
1828
1831
  constructor(e) {
1829
1832
  super(e);
1830
1833
  }
1831
- }, vs = class extends g {
1834
+ }, _s = class extends g {
1832
1835
  constructor(e) {
1833
1836
  super(e);
1834
1837
  }
1835
1838
  l() {
1836
- return A(this, su, 2);
1839
+ return A(this, nu, 2);
1837
1840
  }
1838
1841
  g() {
1839
- return Ne(this, nu, 5);
1842
+ return Ne(this, iu, 5);
1840
1843
  }
1841
- }, Na = Xe(class extends g {
1844
+ }, Ba = Xe(class extends g {
1842
1845
  constructor(e) {
1843
1846
  super(e);
1844
1847
  }
1845
- }, [0, Q, Ar, Mn, [0, ue, [0, q, -3], [0, U, -3], [0, q, -1, [0, W, [0, q, -2]]], W, [0, U, -1, T, U]], T, -1, qe, W, [0, q, U], Q, qe]), Ba = class extends g {
1848
+ }, [0, Q, Ar, xn, [0, ue, [0, q, -3], [0, U, -3], [0, q, -1, [0, W, [0, q, -2]]], W, [0, U, -1, T, U]], T, -1, qe, W, [0, q, U], Q, qe]), Ua = class extends g {
1846
1849
  constructor(e) {
1847
1850
  super(e);
1848
1851
  }
@@ -1850,7 +1853,7 @@ var tu = Xe(fe, Oa), ru = class extends g {
1850
1853
  constructor(e) {
1851
1854
  super(e);
1852
1855
  }
1853
- }, [0, W, [0, U, -4]]), Ua = class extends g {
1856
+ }, [0, W, [0, U, -4]]), Da = class extends g {
1854
1857
  constructor(e) {
1855
1858
  super(e);
1856
1859
  }
@@ -1858,53 +1861,53 @@ var tu = Xe(fe, Oa), ru = class extends g {
1858
1861
  constructor(e) {
1859
1862
  super(e);
1860
1863
  }
1861
- }, [0, W, [0, U, -4]]), iu = class extends g {
1864
+ }, [0, W, [0, U, -4]]), ou = class extends g {
1862
1865
  constructor(e) {
1863
1866
  super(e);
1864
1867
  }
1865
- }, ou = [0, q, -1, Mn, ue], Da = class extends g {
1868
+ }, au = [0, q, -1, xn, ue], ja = class extends g {
1866
1869
  constructor(e) {
1867
1870
  super(e);
1868
1871
  }
1869
1872
  };
1870
- Da.prototype.g = ns([0, U, -4, qe]);
1871
- var au = class extends g {
1873
+ ja.prototype.g = ns([0, U, -4, qe]);
1874
+ var cu = class extends g {
1872
1875
  constructor(e) {
1873
1876
  super(e);
1874
1877
  }
1875
- }, cu = Xe(class extends g {
1878
+ }, hu = Xe(class extends g {
1876
1879
  constructor(e) {
1877
1880
  super(e);
1878
1881
  }
1879
- }, [0, W, [0, 1, q, T, Ia], qe]), Pi = class extends g {
1882
+ }, [0, W, [0, 1, q, T, Na], qe]), Mi = class extends g {
1880
1883
  constructor(e) {
1881
1884
  super(e);
1882
1885
  }
1883
- }, hu = class extends g {
1886
+ }, uu = class extends g {
1884
1887
  constructor(e) {
1885
1888
  super(e);
1886
1889
  }
1887
1890
  na() {
1888
- const e = L(this, 1, void 0, void 0, qo);
1891
+ const e = L(this, 1, void 0, void 0, Xo);
1889
1892
  return e ?? ut();
1890
1893
  }
1891
- }, uu = class extends g {
1894
+ }, lu = class extends g {
1892
1895
  constructor(e) {
1893
1896
  super(e);
1894
1897
  }
1895
- }, ja = [1, 2], lu = Xe(class extends g {
1898
+ }, Va = [1, 2], du = Xe(class extends g {
1896
1899
  constructor(e) {
1897
1900
  super(e);
1898
1901
  }
1899
- }, [0, W, [0, ja, R, [0, Mn], R, [0, Ca], q, T], qe]), xn = class extends g {
1902
+ }, [0, W, [0, Va, R, [0, xn], R, [0, La], q, T], qe]), Fn = class extends g {
1900
1903
  constructor(e) {
1901
1904
  super(e);
1902
1905
  }
1903
- }, Va = [0, T, q, U, Q, -1], Mi = class extends g {
1906
+ }, Ga = [0, T, q, U, Q, -1], xi = class extends g {
1904
1907
  constructor(e) {
1905
1908
  super(e);
1906
1909
  }
1907
- }, du = [0, N, -1], xi = class extends g {
1910
+ }, fu = [0, N, -1], Fi = class extends g {
1908
1911
  constructor(e) {
1909
1912
  super(e);
1910
1913
  }
@@ -1913,7 +1916,7 @@ var au = class extends g {
1913
1916
  super(e);
1914
1917
  }
1915
1918
  g() {
1916
- return L(this, 1, void 0, void 0, qo) != null;
1919
+ return L(this, 1, void 0, void 0, Xo) != null;
1917
1920
  }
1918
1921
  l() {
1919
1922
  return Y(L(this, 2)) != null;
@@ -1923,49 +1926,45 @@ var au = class extends g {
1923
1926
  super(e);
1924
1927
  }
1925
1928
  g() {
1926
- return Bo(L(this, 2)) ?? !1;
1929
+ return Uo(L(this, 2)) ?? !1;
1927
1930
  }
1928
- }, Ga = [0, Ca, T, [0, q, qe, -1], [0, Xh, qe]], D = [0, Ga, N, [0, Mr, R, $a, R, Pa, R, La, R, Fa, R, xa, R, Ma], ue], os = class extends g {
1931
+ }, Ha = [0, La, T, [0, q, qe, -1], [0, Yh, qe]], D = [0, Ha, N, [0, Mr, R, Oa, R, Ma, R, Pa, R, $a, R, Fa, R, xa], ue], os = class extends g {
1929
1932
  constructor(e) {
1930
1933
  super(e);
1931
1934
  }
1932
- }, Fn = [0, D, U, -1, q], fu = xe(502141897, os);
1933
- G[502141897] = Fn;
1934
- var pu = Xe(class extends g {
1935
+ }, $n = [0, D, U, -1, q], pu = xe(502141897, os);
1936
+ G[502141897] = $n;
1937
+ var gu = Xe(class extends g {
1935
1938
  constructor(e) {
1936
1939
  super(e);
1937
1940
  }
1938
- }, [0, [0, ue, -1, Kh, Yh], ou]), Ha = class extends g {
1941
+ }, [0, [0, ue, -1, qh, Qh], au]), za = class extends g {
1939
1942
  constructor(e) {
1940
1943
  super(e);
1941
1944
  }
1942
- }, za = class extends g {
1945
+ }, Wa = class extends g {
1943
1946
  constructor(e) {
1944
1947
  super(e);
1945
1948
  }
1946
- }, Is = [0, D, U, [0, D], N], gu = xe(508968150, za);
1947
- G[508968150] = [0, D, Fn, Is, U, [0, [0, Ga]]], G[508968149] = Is;
1949
+ }, Ns = [0, D, U, [0, D], N], mu = xe(508968150, Wa);
1950
+ G[508968150] = [0, D, $n, Ns, U, [0, [0, Ha]]], G[508968149] = Ns;
1948
1951
  var vt = class extends g {
1949
1952
  constructor(e) {
1950
1953
  super(e);
1951
1954
  }
1952
1955
  l() {
1953
- return A(this, xn, 2);
1956
+ return A(this, Fn, 2);
1954
1957
  }
1955
1958
  g() {
1956
1959
  k(this, 2);
1957
1960
  }
1958
- }, Wa = [0, D, Va];
1959
- G[478825465] = Wa;
1960
- var mu = class extends g {
1961
- constructor(e) {
1962
- super(e);
1963
- }
1964
- }, Ka = class extends g {
1961
+ }, Ka = [0, D, Ga];
1962
+ G[478825465] = Ka;
1963
+ var yu = class extends g {
1965
1964
  constructor(e) {
1966
1965
  super(e);
1967
1966
  }
1968
- }, $n = class extends g {
1967
+ }, qa = class extends g {
1969
1968
  constructor(e) {
1970
1969
  super(e);
1971
1970
  }
@@ -1973,19 +1972,19 @@ var mu = class extends g {
1973
1972
  constructor(e) {
1974
1973
  super(e);
1975
1974
  }
1976
- }, qa = class extends g {
1975
+ }, Rn = class extends g {
1977
1976
  constructor(e) {
1978
1977
  super(e);
1979
1978
  }
1980
- }, Fi = [0, D, [0, D], Wa, -1], Xa = [0, D, U, q], Rn = [0, D, U], Ya = [0, D, Xa, Rn, U], yu = xe(479097054, qa);
1981
- G[479097054] = [0, D, Ya, Fi], G[463370452] = Fi, G[464864288] = Xa;
1982
- var bu = xe(462713202, On);
1983
- G[462713202] = Ya, G[474472470] = Rn;
1984
- var vu = class extends g {
1979
+ }, Xa = class extends g {
1985
1980
  constructor(e) {
1986
1981
  super(e);
1987
1982
  }
1988
- }, Qa = class extends g {
1983
+ }, $i = [0, D, [0, D], Ka, -1], Ya = [0, D, U, q], In = [0, D, U], Qa = [0, D, Ya, In, U], bu = xe(479097054, Xa);
1984
+ G[479097054] = [0, D, Qa, $i], G[463370452] = $i, G[464864288] = Ya;
1985
+ var vu = xe(462713202, Rn);
1986
+ G[462713202] = Qa, G[474472470] = In;
1987
+ var _u = class extends g {
1989
1988
  constructor(e) {
1990
1989
  super(e);
1991
1990
  }
@@ -1997,29 +1996,33 @@ var vu = class extends g {
1997
1996
  constructor(e) {
1998
1997
  super(e);
1999
1998
  }
2000
- }, In = [0, D, U, -1, q], Ns = [0, D, U, N];
2001
- Za.prototype.g = ns([0, D, Rn, [0, D], Fn, Is, In, Ns]);
2002
- var ec = class extends g {
1999
+ }, ec = class extends g {
2003
2000
  constructor(e) {
2004
2001
  super(e);
2005
2002
  }
2006
- }, _u = xe(456383383, ec);
2007
- G[456383383] = [0, D, Va];
2003
+ }, Nn = [0, D, U, -1, q], Bs = [0, D, U, N];
2004
+ ec.prototype.g = ns([0, D, In, [0, D], $n, Ns, Nn, Bs]);
2008
2005
  var tc = class extends g {
2009
2006
  constructor(e) {
2010
2007
  super(e);
2011
2008
  }
2012
- }, wu = xe(476348187, tc);
2013
- G[476348187] = [0, D, du];
2009
+ }, wu = xe(456383383, tc);
2010
+ G[456383383] = [0, D, Ga];
2014
2011
  var rc = class extends g {
2015
2012
  constructor(e) {
2016
2013
  super(e);
2017
2014
  }
2018
- }, $i = class extends g {
2015
+ }, Au = xe(476348187, rc);
2016
+ G[476348187] = [0, D, fu];
2017
+ var sc = class extends g {
2018
+ constructor(e) {
2019
+ super(e);
2020
+ }
2021
+ }, Oi = class extends g {
2019
2022
  constructor(e) {
2020
2023
  super(e);
2021
2024
  }
2022
- }, sc = [0, ue, -1], Au = xe(458105876, class extends g {
2025
+ }, nc = [0, ue, -1], Eu = xe(458105876, class extends g {
2023
2026
  constructor(e) {
2024
2027
  super(e);
2025
2028
  }
@@ -2028,97 +2031,97 @@ var rc = class extends g {
2028
2031
  var t = this.v;
2029
2032
  const r = 0 | t[p];
2030
2033
  return e = ce(this, r), t = (function(s, n, i, o) {
2031
- var a = $i;
2034
+ var a = Oi;
2032
2035
  !o && Gt(s) && (i = 0 | (n = s.v)[p]);
2033
2036
  var c = Ie(n, 2);
2034
2037
  if (s = !1, c == null) {
2035
- if (o) return fi();
2038
+ if (o) return pi();
2036
2039
  c = [];
2037
2040
  } else if (c.constructor === Re) {
2038
2041
  if (!(2 & c.J) || o) return c;
2039
2042
  c = c.V();
2040
2043
  } else Array.isArray(c) ? s = !!(2 & (0 | c[p])) : c = [];
2041
2044
  if (o) {
2042
- if (!c.length) return fi();
2045
+ if (!c.length) return pi();
2043
2046
  s || (s = !0, yr(c));
2044
- } else s && (s = !1, hr(c), c = Xo(c));
2045
- return !s && 32 & i && mr(c, 32), i = V(n, i, 2, o = new Re(c, a, Ah, void 0)), s || gt(n, i), o;
2046
- })(this, t, r, e), !e && $i && (t.ra = !0), t;
2047
+ } else s && (s = !1, hr(c), c = Yo(c));
2048
+ return !s && 32 & i && mr(c, 32), i = V(n, i, 2, o = new Re(c, a, Eh, void 0)), s || gt(n, i), o;
2049
+ })(this, t, r, e), !e && Oi && (t.ra = !0), t;
2047
2050
  }
2048
2051
  });
2049
- G[458105876] = [0, sc, Wh, [!0, qe, [0, T, -1, Q]], [0, Ar, N, ue]];
2050
- var Nn = class extends g {
2052
+ G[458105876] = [0, nc, Kh, [!0, qe, [0, T, -1, Q]], [0, Ar, N, ue]];
2053
+ var Bn = class extends g {
2051
2054
  constructor(e) {
2052
2055
  super(e);
2053
2056
  }
2054
- }, nc = xe(458105758, Nn);
2055
- G[458105758] = [0, D, T, sc];
2056
- var _s = class extends g {
2057
+ }, ic = xe(458105758, Bn);
2058
+ G[458105758] = [0, D, T, nc];
2059
+ var ws = class extends g {
2057
2060
  constructor(e) {
2058
2061
  super(e);
2059
2062
  }
2060
- }, Oi = [0, qh, -1, ct], Eu = class extends g {
2063
+ }, Ri = [0, Xh, -1, ct], ku = class extends g {
2061
2064
  constructor(e) {
2062
2065
  super(e);
2063
2066
  }
2064
- }, ic = class extends g {
2067
+ }, oc = class extends g {
2065
2068
  constructor(e) {
2066
2069
  super(e);
2067
2070
  }
2068
- }, Bs = [1, 2];
2069
- ic.prototype.g = ns([0, Bs, R, Oi, R, [0, W, Oi]]);
2070
- var oc = class extends g {
2071
+ }, Us = [1, 2];
2072
+ oc.prototype.g = ns([0, Us, R, Ri, R, [0, W, Ri]]);
2073
+ var ac = class extends g {
2071
2074
  constructor(e) {
2072
2075
  super(e);
2073
2076
  }
2074
- }, ku = xe(443442058, oc);
2075
- G[443442058] = [0, D, T, q, U, Q, -1, N, U], G[514774813] = In;
2076
- var ac = class extends g {
2077
+ }, Su = xe(443442058, ac);
2078
+ G[443442058] = [0, D, T, q, U, Q, -1, N, U], G[514774813] = Nn;
2079
+ var cc = class extends g {
2077
2080
  constructor(e) {
2078
2081
  super(e);
2079
2082
  }
2080
- }, Su = xe(516587230, ac);
2081
- function Us(e, t) {
2082
- return t = t ? t.clone() : new xn(), e.displayNamesLocale !== void 0 ? k(t, 1, _r(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && k(t, 1), e.maxResults !== void 0 ? Be(t, 2, e.maxResults) : "maxResults" in e && k(t, 2), e.scoreThreshold !== void 0 ? y(t, 3, e.scoreThreshold) : "scoreThreshold" in e && k(t, 3), e.categoryAllowlist !== void 0 ? Or(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && k(t, 4), e.categoryDenylist !== void 0 ? Or(t, 5, e.categoryDenylist) : "categoryDenylist" in e && k(t, 5), t;
2083
+ }, Tu = xe(516587230, cc);
2084
+ function Ds(e, t) {
2085
+ return t = t ? t.clone() : new Fn(), e.displayNamesLocale !== void 0 ? k(t, 1, _r(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && k(t, 1), e.maxResults !== void 0 ? Be(t, 2, e.maxResults) : "maxResults" in e && k(t, 2), e.scoreThreshold !== void 0 ? y(t, 3, e.scoreThreshold) : "scoreThreshold" in e && k(t, 3), e.categoryAllowlist !== void 0 ? Or(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && k(t, 4), e.categoryDenylist !== void 0 ? Or(t, 5, e.categoryDenylist) : "categoryDenylist" in e && k(t, 5), t;
2083
2086
  }
2084
- function cc(e) {
2087
+ function hc(e) {
2085
2088
  const t = Number(e);
2086
2089
  return Number.isSafeInteger(t) ? t : String(e);
2087
2090
  }
2088
- function Bn(e, t = -1, r = "") {
2091
+ function Un(e, t = -1, r = "") {
2089
2092
  return { categories: e.map(((s) => ({ index: me(s, 1) ?? 0 ?? -1, score: I(s, 2) ?? 0, categoryName: Y(L(s, 3)) ?? "" ?? "", displayName: Y(L(s, 4)) ?? "" ?? "" }))), headIndex: t, headName: r };
2090
2093
  }
2091
- function Tu(e) {
2092
- const t = { classifications: Ne(e, au, 1).map(((r) => {
2094
+ function Cu(e) {
2095
+ const t = { classifications: Ne(e, cu, 1).map(((r) => {
2093
2096
  var s;
2094
- return Bn(((s = A(r, Ra, 4)) == null ? void 0 : s.g()) ?? [], me(r, 2) ?? 0, Y(L(r, 3)) ?? "");
2097
+ return Un(((s = A(r, Ia, 4)) == null ? void 0 : s.g()) ?? [], me(r, 2) ?? 0, Y(L(r, 3)) ?? "");
2095
2098
  })) };
2096
2099
  return (function(r) {
2097
- return wh(Js ? L(r, 2, void 0, void 0, Fr) : L(r, 2));
2098
- })(e) != null && (t.timestampMs = cc(ea(e))), t;
2100
+ return Ah(Zs ? L(r, 2, void 0, void 0, Fr) : L(r, 2));
2101
+ })(e) != null && (t.timestampMs = hc(ta(e))), t;
2099
2102
  }
2100
- function hc(e) {
2103
+ function uc(e) {
2101
2104
  var o, a;
2102
2105
  var t = rt(e, 3, Te, tt()), r = rt(e, 2, jt, tt()), s = rt(e, 1, Y, tt()), n = rt(e, 9, Y, tt());
2103
2106
  const i = { categories: [], keypoints: [] };
2104
2107
  for (let c = 0; c < t.length; c++) i.categories.push({ score: t[c], index: r[c] ?? -1, categoryName: s[c] ?? "", displayName: n[c] ?? "" });
2105
- if ((t = (o = A(e, vs, 4)) == null ? void 0 : o.l()) && (i.boundingBox = { originX: me(t, 1, De) ?? 0, originY: me(t, 2, De) ?? 0, width: me(t, 3, De) ?? 0, height: me(t, 4, De) ?? 0, angle: 0 }), (a = A(e, vs, 4)) == null ? void 0 : a.g().length) for (const c of A(e, vs, 4).g()) i.keypoints.push({ x: L(c, 1, void 0, De, Te) ?? 0, y: L(c, 2, void 0, De, Te) ?? 0, score: L(c, 4, void 0, De, Te) ?? 0, label: Y(L(c, 3, void 0, De)) ?? "" });
2108
+ if ((t = (o = A(e, _s, 4)) == null ? void 0 : o.l()) && (i.boundingBox = { originX: me(t, 1, De) ?? 0, originY: me(t, 2, De) ?? 0, width: me(t, 3, De) ?? 0, height: me(t, 4, De) ?? 0, angle: 0 }), (a = A(e, _s, 4)) == null ? void 0 : a.g().length) for (const c of A(e, _s, 4).g()) i.keypoints.push({ x: L(c, 1, void 0, De, Te) ?? 0, y: L(c, 2, void 0, De, Te) ?? 0, score: L(c, 4, void 0, De, Te) ?? 0, label: Y(L(c, 3, void 0, De)) ?? "" });
2106
2109
  return i;
2107
2110
  }
2108
2111
  function as(e) {
2109
2112
  const t = [];
2110
- for (const r of Ne(e, Ua, 1)) t.push({ x: I(r, 1) ?? 0, y: I(r, 2) ?? 0, z: I(r, 3) ?? 0, visibility: I(r, 4) ?? 0 });
2113
+ for (const r of Ne(e, Da, 1)) t.push({ x: I(r, 1) ?? 0, y: I(r, 2) ?? 0, z: I(r, 3) ?? 0, visibility: I(r, 4) ?? 0 });
2111
2114
  return t;
2112
2115
  }
2113
2116
  function nr(e) {
2114
2117
  const t = [];
2115
- for (const r of Ne(e, Ba, 1)) t.push({ x: I(r, 1) ?? 0, y: I(r, 2) ?? 0, z: I(r, 3) ?? 0, visibility: I(r, 4) ?? 0 });
2118
+ for (const r of Ne(e, Ua, 1)) t.push({ x: I(r, 1) ?? 0, y: I(r, 2) ?? 0, z: I(r, 3) ?? 0, visibility: I(r, 4) ?? 0 });
2116
2119
  return t;
2117
2120
  }
2118
- function Ri(e) {
2121
+ function Ii(e) {
2119
2122
  return Array.from(e, ((t) => t > 127 ? t - 256 : t));
2120
2123
  }
2121
- function Ii(e, t) {
2124
+ function Ni(e, t) {
2122
2125
  if (e.length !== t.length) throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${e.length} vs. ${t.length}).`);
2123
2126
  let r = 0, s = 0, n = 0;
2124
2127
  for (let i = 0; i < e.length; i++) r += e[i] * t[i], s += e[i] * e[i], n += t[i] * t[i];
@@ -2126,29 +2129,29 @@ function Ii(e, t) {
2126
2129
  return r / Math.sqrt(s * n);
2127
2130
  }
2128
2131
  let Tr;
2129
- G[516587230] = [0, D, In, Ns, U], G[518928384] = Ns;
2130
- const Cu = 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]);
2131
- async function uc() {
2132
+ G[516587230] = [0, D, Nn, Bs, U], G[518928384] = Bs;
2133
+ const Lu = 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]);
2134
+ async function lc() {
2132
2135
  if (Tr === void 0) try {
2133
- await WebAssembly.instantiate(Cu), Tr = !0;
2136
+ await WebAssembly.instantiate(Lu), Tr = !0;
2134
2137
  } catch {
2135
2138
  Tr = !1;
2136
2139
  }
2137
2140
  return Tr;
2138
2141
  }
2139
- async function Jt(e, t = Zh``) {
2140
- const r = await uc() ? "wasm_internal" : "wasm_nosimd_internal";
2142
+ async function Jt(e, t = eu``) {
2143
+ const r = await lc() ? "wasm_internal" : "wasm_nosimd_internal";
2141
2144
  return { wasmLoaderPath: `${t}/${e}_${r}.js`, wasmBinaryPath: `${t}/${e}_${r}.wasm` };
2142
2145
  }
2143
2146
  var et = class {
2144
2147
  };
2145
- function lc() {
2148
+ function dc() {
2146
2149
  var e = navigator;
2147
2150
  return typeof OffscreenCanvas < "u" && (!(function(t = navigator) {
2148
2151
  return (t = t.userAgent).includes("Safari") && !t.includes("Chrome");
2149
2152
  })(e) || !!((e = e.userAgent.match(/Version\/([\d]+).*Safari/)) && e.length >= 1 && Number(e[1]) >= 17));
2150
2153
  }
2151
- async function Ni(e) {
2154
+ async function Bi(e) {
2152
2155
  if (typeof importScripts != "function") {
2153
2156
  const t = document.createElement("script");
2154
2157
  return t.src = e.toString(), t.crossOrigin = "anonymous", new Promise(((r, s) => {
@@ -2166,20 +2169,20 @@ async function Ni(e) {
2166
2169
  await self.import(e.toString());
2167
2170
  }
2168
2171
  }
2169
- function dc(e) {
2172
+ function fc(e) {
2170
2173
  return e.videoWidth !== void 0 ? [e.videoWidth, e.videoHeight] : e.naturalWidth !== void 0 ? [e.naturalWidth, e.naturalHeight] : e.displayWidth !== void 0 ? [e.displayWidth, e.displayHeight] : [e.width, e.height];
2171
2174
  }
2172
2175
  function m(e, t, r) {
2173
2176
  e.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"), r(t = e.i.stringToNewUTF8(t)), e.i._free(t);
2174
2177
  }
2175
- function Bi(e, t, r) {
2178
+ function Ui(e, t, r) {
2176
2179
  if (!e.i.canvas) throw Error("No OpenGL canvas configured.");
2177
2180
  if (r ? e.i._bindTextureToStream(r) : e.i._bindTextureToCanvas(), !(r = e.i.canvas.getContext("webgl2") || e.i.canvas.getContext("webgl"))) throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");
2178
2181
  e.i.gpuOriginForWebTexturesIsBottomLeft && r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, !0), r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, r.RGBA, r.UNSIGNED_BYTE, t), e.i.gpuOriginForWebTexturesIsBottomLeft && r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, !1);
2179
- const [s, n] = dc(t);
2182
+ const [s, n] = fc(t);
2180
2183
  return !e.l || s === e.i.canvas.width && n === e.i.canvas.height || (e.i.canvas.width = s, e.i.canvas.height = n), [s, n];
2181
2184
  }
2182
- function Ui(e, t, r) {
2185
+ function Di(e, t, r) {
2183
2186
  e.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");
2184
2187
  const s = new Uint32Array(t.length);
2185
2188
  for (let n = 0; n < t.length; n++) s[n] = e.i.stringToNewUTF8(t[n]);
@@ -2207,19 +2210,19 @@ et.forVisionTasks = function(e) {
2207
2210
  }, et.forAudioTasks = function(e) {
2208
2211
  return Jt("audio", e);
2209
2212
  }, et.isSimdSupported = function() {
2210
- return uc();
2213
+ return lc();
2211
2214
  };
2212
- async function Lu(e, t, r, s) {
2215
+ async function Pu(e, t, r, s) {
2213
2216
  return e = await (async (n, i, o, a, c) => {
2214
- if (i && await Ni(i), !self.ModuleFactory || o && (await Ni(o), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
2217
+ if (i && await Bi(i), !self.ModuleFactory || o && (await Bi(o), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
2215
2218
  return self.Module && c && ((i = self.Module).locateFile = c.locateFile, c.mainScriptUrlOrBlob && (i.mainScriptUrlOrBlob = c.mainScriptUrlOrBlob)), c = await self.ModuleFactory(self.Module || c), self.ModuleFactory = self.Module = void 0, new n(c, a);
2216
2219
  })(e, r.wasmLoaderPath, r.assetLoaderPath, t, { locateFile: (n) => n.endsWith(".wasm") ? r.wasmBinaryPath.toString() : r.assetBinaryPath && n.endsWith(".data") ? r.assetBinaryPath.toString() : n }), await e.o(s), e;
2217
2220
  }
2218
- function ws(e, t) {
2221
+ function As(e, t) {
2219
2222
  const r = A(e.baseOptions, Br, 1) || new Br();
2220
- typeof t == "string" ? (k(r, 2, _r(t)), k(r, 1)) : t instanceof Uint8Array && (k(r, 1, tn(t, !1)), k(r, 2)), v(e.baseOptions, 0, 1, r);
2223
+ typeof t == "string" ? (k(r, 2, _r(t)), k(r, 1)) : t instanceof Uint8Array && (k(r, 1, rn(t, !1)), k(r, 2)), v(e.baseOptions, 0, 1, r);
2221
2224
  }
2222
- function Di(e) {
2225
+ function ji(e) {
2223
2226
  try {
2224
2227
  const t = e.H.length;
2225
2228
  if (t === 1) throw Error(e.H[0].message);
@@ -2240,7 +2243,7 @@ function $t(e, t) {
2240
2243
  function hs(e) {
2241
2244
  e.g.addBoolToStream(!0, "free_memory", e.C);
2242
2245
  }
2243
- var Ds = class {
2246
+ var js = class {
2244
2247
  constructor(e) {
2245
2248
  this.g = e, this.H = [], this.C = 0, this.g.setAutoRenderToScreen(!1);
2246
2249
  }
@@ -2251,12 +2254,12 @@ var Ds = class {
2251
2254
  if ((r = e.baseOptions) != null && r.modelAssetBuffer && ((s = e.baseOptions) != null && s.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
2252
2255
  if (!((n = A(this.baseOptions, Br, 1)) != null && n.g() || (i = A(this.baseOptions, Br, 1)) != null && i.l() || (o = e.baseOptions) != null && o.modelAssetBuffer || (a = e.baseOptions) != null && a.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
2253
2256
  if ((function(u, h) {
2254
- let l = A(u.baseOptions, xi, 3);
2257
+ let l = A(u.baseOptions, Fi, 3);
2255
2258
  if (!l) {
2256
- var d = l = new xi(), b = new Si();
2259
+ var d = l = new Fi(), b = new Ti();
2257
2260
  rr(d, 4, Mr, b);
2258
2261
  }
2259
- "delegate" in h && (h.delegate === "GPU" ? (h = l, d = new eu(), rr(h, 2, Mr, d)) : (h = l, d = new Si(), rr(h, 4, Mr, d))), v(u.baseOptions, 0, 3, l);
2262
+ "delegate" in h && (h.delegate === "GPU" ? (h = l, d = new tu(), rr(h, 2, Mr, d)) : (h = l, d = new Ti(), rr(h, 4, Mr, d))), v(u.baseOptions, 0, 3, l);
2260
2263
  })(this, c), c.modelAssetPath) return fetch(c.modelAssetPath.toString()).then(((u) => {
2261
2264
  if (u.ok) return u.arrayBuffer();
2262
2265
  throw Error(`Failed to fetch model: ${c.modelAssetPath} (${u.status})`);
@@ -2265,9 +2268,9 @@ var Ds = class {
2265
2268
  this.g.i.FS_unlink("/model.dat");
2266
2269
  } catch {
2267
2270
  }
2268
- this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), ws(this, "/model.dat"), this.m(), this.L();
2271
+ this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), As(this, "/model.dat"), this.m(), this.L();
2269
2272
  }));
2270
- if (c.modelAssetBuffer instanceof Uint8Array) ws(this, c.modelAssetBuffer);
2273
+ if (c.modelAssetBuffer instanceof Uint8Array) As(this, c.modelAssetBuffer);
2271
2274
  else if (c.modelAssetBuffer) return (async function(u) {
2272
2275
  const h = [];
2273
2276
  for (var l = 0; ; ) {
@@ -2281,7 +2284,7 @@ var Ds = class {
2281
2284
  for (const d of h) u.set(d, l), l += d.length;
2282
2285
  return u;
2283
2286
  })(c.modelAssetBuffer).then(((u) => {
2284
- ws(this, u), this.m(), this.L();
2287
+ As(this, u), this.m(), this.L();
2285
2288
  }));
2286
2289
  }
2287
2290
  return this.m(), this.L(), Promise.resolve();
@@ -2291,17 +2294,17 @@ var Ds = class {
2291
2294
  ca() {
2292
2295
  let e;
2293
2296
  if (this.g.ca(((t) => {
2294
- e = tu(t);
2297
+ e = ru(t);
2295
2298
  })), !e) throw Error("Failed to retrieve CalculatorGraphConfig");
2296
2299
  return e;
2297
2300
  }
2298
2301
  setGraph(e, t) {
2299
2302
  this.g.attachErrorListener(((r, s) => {
2300
2303
  this.H.push(Error(s));
2301
- })), this.g.Ja(), this.g.setGraph(e, t), this.B = void 0, Di(this);
2304
+ })), this.g.Ja(), this.g.setGraph(e, t), this.B = void 0, ji(this);
2302
2305
  }
2303
2306
  finishProcessing() {
2304
- this.g.finishProcessing(), Di(this);
2307
+ this.g.finishProcessing(), ji(this);
2305
2308
  }
2306
2309
  close() {
2307
2310
  this.B = void 0, this.g.closeGraph();
@@ -2311,8 +2314,8 @@ function ze(e, t) {
2311
2314
  if (!e) throw Error(`Unable to obtain required WebGL resource: ${t}`);
2312
2315
  return e;
2313
2316
  }
2314
- Ds.prototype.close = Ds.prototype.close;
2315
- class Pu {
2317
+ js.prototype.close = js.prototype.close;
2318
+ class Mu {
2316
2319
  constructor(t, r, s, n) {
2317
2320
  this.g = t, this.h = r, this.m = s, this.l = n;
2318
2321
  }
@@ -2323,38 +2326,38 @@ class Pu {
2323
2326
  this.g.deleteVertexArray(this.h), this.g.deleteBuffer(this.m), this.g.deleteBuffer(this.l);
2324
2327
  }
2325
2328
  }
2326
- function ji(e, t, r) {
2329
+ function Vi(e, t, r) {
2327
2330
  const s = e.g;
2328
2331
  if (r = ze(s.createShader(r), "Failed to create WebGL shader"), s.shaderSource(r, t), s.compileShader(r), !s.getShaderParameter(r, s.COMPILE_STATUS)) throw Error(`Could not compile WebGL shader: ${s.getShaderInfoLog(r)}`);
2329
2332
  return s.attachShader(e.h, r), r;
2330
2333
  }
2331
- function Vi(e, t) {
2334
+ function Gi(e, t) {
2332
2335
  const r = e.g, s = ze(r.createVertexArray(), "Failed to create vertex array");
2333
2336
  r.bindVertexArray(s);
2334
2337
  const n = ze(r.createBuffer(), "Failed to create buffer");
2335
2338
  r.bindBuffer(r.ARRAY_BUFFER, n), r.enableVertexAttribArray(e.O), r.vertexAttribPointer(e.O, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), r.STATIC_DRAW);
2336
2339
  const i = ze(r.createBuffer(), "Failed to create buffer");
2337
- return r.bindBuffer(r.ARRAY_BUFFER, i), r.enableVertexAttribArray(e.L), r.vertexAttribPointer(e.L, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), r.STATIC_DRAW), r.bindBuffer(r.ARRAY_BUFFER, null), r.bindVertexArray(null), new Pu(r, s, n, i);
2340
+ return r.bindBuffer(r.ARRAY_BUFFER, i), r.enableVertexAttribArray(e.L), r.vertexAttribPointer(e.L, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), r.STATIC_DRAW), r.bindBuffer(r.ARRAY_BUFFER, null), r.bindVertexArray(null), new Mu(r, s, n, i);
2338
2341
  }
2339
- function Un(e, t) {
2342
+ function Dn(e, t) {
2340
2343
  if (e.g) {
2341
2344
  if (t !== e.g) throw Error("Cannot change GL context once initialized");
2342
2345
  } else e.g = t;
2343
2346
  }
2344
- function Mu(e, t, r, s) {
2345
- return Un(e, t), e.h || (e.m(), e.D()), r ? (e.u || (e.u = Vi(e, !0)), r = e.u) : (e.A || (e.A = Vi(e, !1)), r = e.A), t.useProgram(e.h), r.bind(), e.l(), e = s(), r.g.bindVertexArray(null), e;
2346
- }
2347
- function fc(e, t, r) {
2348
- return Un(e, t), e = ze(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, r ?? t.LINEAR), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, r ?? t.LINEAR), t.bindTexture(t.TEXTURE_2D, null), e;
2347
+ function xu(e, t, r, s) {
2348
+ return Dn(e, t), e.h || (e.m(), e.D()), r ? (e.u || (e.u = Gi(e, !0)), r = e.u) : (e.A || (e.A = Gi(e, !1)), r = e.A), t.useProgram(e.h), r.bind(), e.l(), e = s(), r.g.bindVertexArray(null), e;
2349
2349
  }
2350
2350
  function pc(e, t, r) {
2351
- Un(e, t), e.B || (e.B = ze(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, r, 0);
2351
+ return Dn(e, t), e = ze(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, r ?? t.LINEAR), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, r ?? t.LINEAR), t.bindTexture(t.TEXTURE_2D, null), e;
2352
+ }
2353
+ function gc(e, t, r) {
2354
+ Dn(e, t), e.B || (e.B = ze(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, r, 0);
2352
2355
  }
2353
- function xu(e) {
2356
+ function Fu(e) {
2354
2357
  var t;
2355
2358
  (t = e.g) == null || t.bindFramebuffer(e.g.FRAMEBUFFER, null);
2356
2359
  }
2357
- var gc = class {
2360
+ var mc = class {
2358
2361
  H() {
2359
2362
  return `
2360
2363
  precision mediump float;
@@ -2367,14 +2370,14 @@ var gc = class {
2367
2370
  }
2368
2371
  m() {
2369
2372
  const e = this.g;
2370
- if (this.h = ze(e.createProgram(), "Failed to create WebGL program"), this.X = ji(this, `
2373
+ if (this.h = ze(e.createProgram(), "Failed to create WebGL program"), this.X = Vi(this, `
2371
2374
  attribute vec2 aVertex;
2372
2375
  attribute vec2 aTex;
2373
2376
  varying vec2 vTex;
2374
2377
  void main(void) {
2375
2378
  gl_Position = vec4(aVertex, 0.0, 1.0);
2376
2379
  vTex = aTex;
2377
- }`, e.VERTEX_SHADER), this.W = ji(this, this.H(), e.FRAGMENT_SHADER), e.linkProgram(this.h), !e.getProgramParameter(this.h, e.LINK_STATUS)) throw Error(`Error during program linking: ${e.getProgramInfoLog(this.h)}`);
2380
+ }`, e.VERTEX_SHADER), this.W = Vi(this, this.H(), e.FRAGMENT_SHADER), e.linkProgram(this.h), !e.getProgramParameter(this.h, e.LINK_STATUS)) throw Error(`Error during program linking: ${e.getProgramInfoLog(this.h)}`);
2378
2381
  this.O = e.getAttribLocation(this.h, "aVertex"), this.L = e.getAttribLocation(this.h, "aTex");
2379
2382
  }
2380
2383
  D() {
@@ -2401,15 +2404,15 @@ function Oe(e, t) {
2401
2404
  throw Error(`Type is not supported: ${t}`);
2402
2405
  }
2403
2406
  }
2404
- function js(e) {
2407
+ function Vs(e) {
2405
2408
  var t = Oe(e, 1);
2406
2409
  if (!t) {
2407
2410
  if (t = Oe(e, 0)) t = new Float32Array(t).map(((s) => s / 255));
2408
2411
  else {
2409
2412
  t = new Float32Array(e.width * e.height);
2410
2413
  const s = Ot(e);
2411
- var r = Dn(e);
2412
- if (pc(r, s, mc(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) {
2414
+ var r = jn(e);
2415
+ if (gc(r, s, yc(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) {
2413
2416
  r = new Float32Array(e.width * e.height * 4), s.readPixels(0, 0, e.width, e.height, s.RGBA, s.FLOAT, r);
2414
2417
  for (let n = 0, i = 0; n < t.length; ++n, i += 4) t[n] = r[i];
2415
2418
  } else s.readPixels(0, 0, e.width, e.height, s.RED, s.FLOAT, t);
@@ -2418,13 +2421,13 @@ function js(e) {
2418
2421
  }
2419
2422
  return t;
2420
2423
  }
2421
- function mc(e) {
2424
+ function yc(e) {
2422
2425
  let t = Oe(e, 2);
2423
2426
  if (!t) {
2424
2427
  const r = Ot(e);
2425
- t = bc(e);
2426
- const s = js(e), n = yc(e);
2427
- r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, s), Vs(e);
2428
+ t = vc(e);
2429
+ const s = Vs(e), n = bc(e);
2430
+ r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, s), Gs(e);
2428
2431
  }
2429
2432
  return t;
2430
2433
  }
@@ -2432,7 +2435,7 @@ function Ot(e) {
2432
2435
  if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
2433
2436
  return e.h || (e.h = ze(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
2434
2437
  }
2435
- function yc(e) {
2438
+ function bc(e) {
2436
2439
  if (e = Ot(e), !Cr) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) Cr = e.R32F;
2437
2440
  else {
2438
2441
  if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
@@ -2440,21 +2443,21 @@ function yc(e) {
2440
2443
  }
2441
2444
  return Cr;
2442
2445
  }
2443
- function Dn(e) {
2444
- return e.l || (e.l = new gc()), e.l;
2446
+ function jn(e) {
2447
+ return e.l || (e.l = new mc()), e.l;
2445
2448
  }
2446
- function bc(e) {
2449
+ function vc(e) {
2447
2450
  const t = Ot(e);
2448
2451
  t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
2449
2452
  let r = Oe(e, 2);
2450
- return r || (r = fc(Dn(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(r), e.j = !0), t.bindTexture(t.TEXTURE_2D, r), r;
2453
+ return r || (r = pc(jn(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(r), e.j = !0), t.bindTexture(t.TEXTURE_2D, r), r;
2451
2454
  }
2452
- function Vs(e) {
2455
+ function Gs(e) {
2453
2456
  e.h.bindTexture(e.h.TEXTURE_2D, null);
2454
2457
  }
2455
2458
  var Cr, z = class {
2456
2459
  constructor(e, t, r, s, n, i, o) {
2457
- this.g = e, this.m = t, this.j = r, this.canvas = s, this.l = n, this.width = i, this.height = o, this.j && --Gi === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
2460
+ this.g = e, this.m = t, this.j = r, this.canvas = s, this.l = n, this.width = i, this.height = o, this.j && --Hi === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
2458
2461
  }
2459
2462
  Fa() {
2460
2463
  return !!Oe(this, 0);
@@ -2466,14 +2469,14 @@ var Cr, z = class {
2466
2469
  return !!Oe(this, 2);
2467
2470
  }
2468
2471
  ja() {
2469
- return (t = Oe(e = this, 0)) || (t = js(e), t = new Uint8Array(t.map(((r) => Math.round(255 * r)))), e.g.push(t)), t;
2472
+ return (t = Oe(e = this, 0)) || (t = Vs(e), t = new Uint8Array(t.map(((r) => Math.round(255 * r)))), e.g.push(t)), t;
2470
2473
  var e, t;
2471
2474
  }
2472
2475
  ia() {
2473
- return js(this);
2476
+ return Vs(this);
2474
2477
  }
2475
2478
  N() {
2476
- return mc(this);
2479
+ return yc(this);
2477
2480
  }
2478
2481
  clone() {
2479
2482
  const e = [];
@@ -2484,12 +2487,12 @@ var Cr, z = class {
2484
2487
  else {
2485
2488
  if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
2486
2489
  {
2487
- const s = Ot(this), n = Dn(this);
2488
- s.activeTexture(s.TEXTURE1), r = fc(n, s, this.m ? s.LINEAR : s.NEAREST), s.bindTexture(s.TEXTURE_2D, r);
2489
- const i = yc(this);
2490
- s.texImage2D(s.TEXTURE_2D, 0, i, this.width, this.height, 0, s.RED, s.FLOAT, null), s.bindTexture(s.TEXTURE_2D, null), pc(n, s, r), Mu(n, s, !1, (() => {
2491
- bc(this), s.clearColor(0, 0, 0, 0), s.clear(s.COLOR_BUFFER_BIT), s.drawArrays(s.TRIANGLE_FAN, 0, 4), Vs(this);
2492
- })), xu(n), Vs(this);
2490
+ const s = Ot(this), n = jn(this);
2491
+ s.activeTexture(s.TEXTURE1), r = pc(n, s, this.m ? s.LINEAR : s.NEAREST), s.bindTexture(s.TEXTURE_2D, r);
2492
+ const i = bc(this);
2493
+ s.texImage2D(s.TEXTURE_2D, 0, i, this.width, this.height, 0, s.RED, s.FLOAT, null), s.bindTexture(s.TEXTURE_2D, null), gc(n, s, r), xu(n, s, !1, (() => {
2494
+ vc(this), s.clearColor(0, 0, 0, 0), s.clear(s.COLOR_BUFFER_BIT), s.drawArrays(s.TRIANGLE_FAN, 0, 4), Gs(this);
2495
+ })), Fu(n), Gs(this);
2493
2496
  }
2494
2497
  }
2495
2498
  e.push(r);
@@ -2497,23 +2500,23 @@ var Cr, z = class {
2497
2500
  return new z(e, this.m, this.R(), this.canvas, this.l, this.width, this.height);
2498
2501
  }
2499
2502
  close() {
2500
- this.j && Ot(this).deleteTexture(Oe(this, 2)), Gi = -1;
2503
+ this.j && Ot(this).deleteTexture(Oe(this, 2)), Hi = -1;
2501
2504
  }
2502
2505
  };
2503
2506
  z.prototype.close = z.prototype.close, z.prototype.clone = z.prototype.clone, z.prototype.getAsWebGLTexture = z.prototype.N, z.prototype.getAsFloat32Array = z.prototype.ia, z.prototype.getAsUint8Array = z.prototype.ja, z.prototype.hasWebGLTexture = z.prototype.R, z.prototype.hasFloat32Array = z.prototype.ka, z.prototype.hasUint8Array = z.prototype.Fa;
2504
- var Gi = 250;
2507
+ var Hi = 250;
2505
2508
  function _e(...e) {
2506
2509
  return e.map((([t, r]) => ({ start: t, end: r })));
2507
2510
  }
2508
- const Fu = /* @__PURE__ */ (function(e) {
2511
+ const $u = /* @__PURE__ */ (function(e) {
2509
2512
  return class extends e {
2510
2513
  Ja() {
2511
2514
  this.i._registerModelResourcesGraphService();
2512
2515
  }
2513
2516
  };
2514
- })((Hi = class {
2517
+ })((zi = class {
2515
2518
  constructor(e, t) {
2516
- this.l = !0, this.i = e, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", t !== void 0 ? this.i.canvas = t : lc() ? this.i.canvas = new OffscreenCanvas(1, 1) : (console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."), this.i.canvas = document.createElement("canvas"));
2519
+ this.l = !0, this.i = e, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", t !== void 0 ? this.i.canvas = t : dc() ? this.i.canvas = new OffscreenCanvas(1, 1) : (console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."), this.i.canvas = document.createElement("canvas"));
2517
2520
  }
2518
2521
  async initializeGraph(e) {
2519
2522
  const t = await (await fetch(e)).arrayBuffer();
@@ -2566,7 +2569,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2566
2569
  }
2567
2570
  addGpuBufferToStream(e, t, r) {
2568
2571
  m(this, t, ((s) => {
2569
- const [n, i] = Bi(this, e, s);
2572
+ const [n, i] = Ui(this, e, s);
2570
2573
  this.i._addBoundTextureToStream(s, n, i, r);
2571
2574
  }));
2572
2575
  }
@@ -2604,8 +2607,8 @@ const Fu = /* @__PURE__ */ (function(e) {
2604
2607
  }
2605
2608
  addStringRecordToStream(e, t, r) {
2606
2609
  m(this, t, ((s) => {
2607
- Ui(this, Object.keys(e), ((n) => {
2608
- Ui(this, Object.values(e), ((i) => {
2610
+ Di(this, Object.keys(e), ((n) => {
2611
+ Di(this, Object.values(e), ((i) => {
2609
2612
  this.i._addFlatHashMapToInputStream(n, i, Object.keys(e).length, s, r);
2610
2613
  }));
2611
2614
  }));
@@ -2847,13 +2850,13 @@ const Fu = /* @__PURE__ */ (function(e) {
2847
2850
  closeGraph() {
2848
2851
  this.i._closeGraph(), this.i.simpleListeners = void 0, this.i.emptyPacketListeners = void 0;
2849
2852
  }
2850
- }, class extends Hi {
2853
+ }, class extends zi {
2851
2854
  get ga() {
2852
2855
  return this.i;
2853
2856
  }
2854
2857
  pa(e, t, r) {
2855
2858
  m(this, t, ((s) => {
2856
- const [n, i] = Bi(this, e, s);
2859
+ const [n, i] = Ui(this, e, s);
2857
2860
  this.ga._addBoundTextureAsImageToStream(s, n, i, r);
2858
2861
  }));
2859
2862
  }
@@ -2868,16 +2871,16 @@ const Fu = /* @__PURE__ */ (function(e) {
2868
2871
  }));
2869
2872
  }
2870
2873
  }));
2871
- var Hi, we = class extends Fu {
2874
+ var zi, we = class extends $u {
2872
2875
  };
2873
2876
  async function w(e, t, r) {
2874
2877
  return (async function(s, n, i, o) {
2875
- return Lu(s, n, i, o);
2876
- })(e, r.canvas ?? (lc() ? void 0 : document.createElement("canvas")), t, r);
2878
+ return Pu(s, n, i, o);
2879
+ })(e, r.canvas ?? (dc() ? void 0 : document.createElement("canvas")), t, r);
2877
2880
  }
2878
- function vc(e, t, r, s) {
2881
+ function _c(e, t, r, s) {
2879
2882
  if (e.U) {
2880
- const i = new Da();
2883
+ const i = new ja();
2881
2884
  if (r != null && r.regionOfInterest) {
2882
2885
  if (!e.oa) throw Error("This task doesn't support region-of-interest.");
2883
2886
  var n = r.regionOfInterest;
@@ -2888,7 +2891,7 @@ function vc(e, t, r, s) {
2888
2891
  if (r != null && r.rotationDegrees) {
2889
2892
  if ((r == null ? void 0 : r.rotationDegrees) % 90 != 0) throw Error("Expected rotation to be a multiple of 90°.");
2890
2893
  if (y(i, 5, -Math.PI * r.rotationDegrees / 180), (r == null ? void 0 : r.rotationDegrees) % 180 != 0) {
2891
- const [o, a] = dc(t);
2894
+ const [o, a] = fc(t);
2892
2895
  r = I(i, 3) * a / o, n = I(i, 4) * o / a, y(i, 4, r), y(i, 3, n);
2893
2896
  }
2894
2897
  }
@@ -2899,12 +2902,12 @@ function vc(e, t, r, s) {
2899
2902
  function Ae(e, t, r) {
2900
2903
  var s;
2901
2904
  if ((s = e.baseOptions) != null && s.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
2902
- vc(e, t, r, e.C + 1);
2905
+ _c(e, t, r, e.C + 1);
2903
2906
  }
2904
2907
  function Fe(e, t, r, s) {
2905
2908
  var n;
2906
2909
  if (!((n = e.baseOptions) != null && n.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
2907
- vc(e, t, r, s);
2910
+ _c(e, t, r, s);
2908
2911
  }
2909
2912
  function Rt(e, t, r, s) {
2910
2913
  var n = t.data;
@@ -2912,9 +2915,9 @@ function Rt(e, t, r, s) {
2912
2915
  if ((n instanceof Uint8Array || n instanceof Float32Array) && n.length !== o) throw Error("Unsupported channel count: " + n.length / o);
2913
2916
  return e = new z([n], r, !1, e.g.i.canvas, e.P, i, t), s ? e.clone() : e;
2914
2917
  }
2915
- var le = class extends Ds {
2918
+ var le = class extends js {
2916
2919
  constructor(e, t, r, s) {
2917
- super(e), this.g = e, this.X = t, this.U = r, this.oa = s, this.P = new gc();
2920
+ super(e), this.g = e, this.X = t, this.U = r, this.oa = s, this.P = new mc();
2918
2921
  }
2919
2922
  l(e, t = !0) {
2920
2923
  if ("runningMode" in e && k(this.baseOptions, 2, lr(!!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.");
@@ -2948,10 +2951,10 @@ var ie = class extends le {
2948
2951
  var e = new fe();
2949
2952
  x(e, "image_in"), x(e, "norm_rect_in"), E(e, "detections");
2950
2953
  const t = new de();
2951
- Me(t, fu, this.h);
2954
+ Me(t, pu, this.h);
2952
2955
  const r = new ee();
2953
2956
  he(r, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect_in"), _(r, "DETECTIONS:detections"), r.o(t), be(e, r), this.g.attachProtoVectorListener("detections", ((s, n) => {
2954
- for (const i of s) s = Na(i), this.j.detections.push(hc(s));
2957
+ for (const i of s) s = Ba(i), this.j.detections.push(uc(s));
2955
2958
  f(this, n);
2956
2959
  })), this.g.attachEmptyPacketListener("detections", ((s) => {
2957
2960
  f(this, s);
@@ -2965,13 +2968,13 @@ ie.prototype.detectForVideo = ie.prototype.G, ie.prototype.detect = ie.prototype
2965
2968
  }, ie.createFromOptions = function(e, t) {
2966
2969
  return w(ie, e, t);
2967
2970
  };
2968
- var jn = _e([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]), Vn = _e([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]), Gn = _e([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), _c = _e([474, 475], [475, 476], [476, 477], [477, 474]), Hn = _e([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]), zn = _e([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), wc = _e([469, 470], [470, 471], [471, 472], [472, 469]), Wn = _e([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]), Ac = [...jn, ...Vn, ...Gn, ...Hn, ...zn, ...Wn], Ec = _e([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]);
2969
- function zi(e) {
2971
+ var Vn = _e([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]), Gn = _e([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]), Hn = _e([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), wc = _e([474, 475], [475, 476], [476, 477], [477, 474]), zn = _e([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]), Wn = _e([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Ac = _e([469, 470], [470, 471], [471, 472], [472, 469]), Kn = _e([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]), Ec = [...Vn, ...Gn, ...Hn, ...zn, ...Wn, ...Kn], kc = _e([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]);
2972
+ function Wi(e) {
2970
2973
  e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
2971
2974
  }
2972
2975
  var $ = class extends le {
2973
2976
  constructor(e, t) {
2974
- super(new we(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, v(e = this.h = new za(), 0, 1, t = new O()), this.A = new Ha(), v(this.h, 0, 3, this.A), this.u = new os(), v(this.h, 0, 2, this.u), Be(this.u, 4, 1), y(this.u, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
2977
+ super(new we(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, v(e = this.h = new Wa(), 0, 1, t = new O()), this.A = new za(), v(this.h, 0, 3, this.A), this.u = new os(), v(this.h, 0, 2, this.u), Be(this.u, 4, 1), y(this.u, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
2975
2978
  }
2976
2979
  get baseOptions() {
2977
2980
  return A(this.h, O, 1);
@@ -2983,16 +2986,16 @@ var $ = class extends le {
2983
2986
  return "numFaces" in e && Be(this.u, 4, e.numFaces ?? 1), "minFaceDetectionConfidence" in e && y(this.u, 2, e.minFaceDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.h, 4, e.minTrackingConfidence ?? 0.5), "minFacePresenceConfidence" in e && y(this.A, 2, e.minFacePresenceConfidence ?? 0.5), "outputFaceBlendshapes" in e && (this.outputFaceBlendshapes = !!e.outputFaceBlendshapes), "outputFacialTransformationMatrixes" in e && (this.outputFacialTransformationMatrixes = !!e.outputFacialTransformationMatrixes), this.l(e);
2984
2987
  }
2985
2988
  F(e, t) {
2986
- return zi(this), Ae(this, e, t), this.j;
2989
+ return Wi(this), Ae(this, e, t), this.j;
2987
2990
  }
2988
2991
  G(e, t, r) {
2989
- return zi(this), Fe(this, e, r, t), this.j;
2992
+ return Wi(this), Fe(this, e, r, t), this.j;
2990
2993
  }
2991
2994
  m() {
2992
2995
  var e = new fe();
2993
2996
  x(e, "image_in"), x(e, "norm_rect"), E(e, "face_landmarks");
2994
2997
  const t = new de();
2995
- Me(t, gu, this.h);
2998
+ Me(t, mu, this.h);
2996
2999
  const r = new ee();
2997
3000
  he(r, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "NORM_LANDMARKS:face_landmarks"), r.o(t), be(e, r), this.g.attachProtoVectorListener("face_landmarks", ((s, n) => {
2998
3001
  for (const i of s) s = Er(i), this.j.faceLandmarks.push(as(s));
@@ -3000,12 +3003,12 @@ var $ = class extends le {
3000
3003
  })), this.g.attachEmptyPacketListener("face_landmarks", ((s) => {
3001
3004
  f(this, s);
3002
3005
  })), this.outputFaceBlendshapes && (E(e, "blendshapes"), _(r, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", ((s, n) => {
3003
- if (this.outputFaceBlendshapes) for (const i of s) s = is(i), this.j.faceBlendshapes.push(Bn(s.g() ?? []));
3006
+ if (this.outputFaceBlendshapes) for (const i of s) s = is(i), this.j.faceBlendshapes.push(Un(s.g() ?? []));
3004
3007
  f(this, n);
3005
3008
  })), this.g.attachEmptyPacketListener("blendshapes", ((s) => {
3006
3009
  f(this, s);
3007
3010
  }))), this.outputFacialTransformationMatrixes && (E(e, "face_geometry"), _(r, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", ((s, n) => {
3008
- if (this.outputFacialTransformationMatrixes) for (const i of s) (s = A(s = pu(i), iu, 2)) && this.j.facialTransformationMatrixes.push({ rows: me(s, 1) ?? 0 ?? 0, columns: me(s, 2) ?? 0 ?? 0, data: rt(s, 3, Te, tt()).slice() ?? [] });
3011
+ if (this.outputFacialTransformationMatrixes) for (const i of s) (s = A(s = gu(i), ou, 2)) && this.j.facialTransformationMatrixes.push({ rows: me(s, 1) ?? 0 ?? 0, columns: me(s, 2) ?? 0 ?? 0, data: rt(s, 3, Te, tt()).slice() ?? [] });
3009
3012
  f(this, n);
3010
3013
  })), this.g.attachEmptyPacketListener("face_geometry", ((s) => {
3011
3014
  f(this, s);
@@ -3018,15 +3021,15 @@ $.prototype.detectForVideo = $.prototype.G, $.prototype.detect = $.prototype.F,
3018
3021
  return w($, e, { baseOptions: { modelAssetBuffer: t } });
3019
3022
  }, $.createFromOptions = function(e, t) {
3020
3023
  return w($, e, t);
3021
- }, $.FACE_LANDMARKS_LIPS = jn, $.FACE_LANDMARKS_LEFT_EYE = Vn, $.FACE_LANDMARKS_LEFT_EYEBROW = Gn, $.FACE_LANDMARKS_LEFT_IRIS = _c, $.FACE_LANDMARKS_RIGHT_EYE = Hn, $.FACE_LANDMARKS_RIGHT_EYEBROW = zn, $.FACE_LANDMARKS_RIGHT_IRIS = wc, $.FACE_LANDMARKS_FACE_OVAL = Wn, $.FACE_LANDMARKS_CONTOURS = Ac, $.FACE_LANDMARKS_TESSELATION = Ec;
3022
- var Kn = _e([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]);
3023
- function Wi(e) {
3024
+ }, $.FACE_LANDMARKS_LIPS = Vn, $.FACE_LANDMARKS_LEFT_EYE = Gn, $.FACE_LANDMARKS_LEFT_EYEBROW = Hn, $.FACE_LANDMARKS_LEFT_IRIS = wc, $.FACE_LANDMARKS_RIGHT_EYE = zn, $.FACE_LANDMARKS_RIGHT_EYEBROW = Wn, $.FACE_LANDMARKS_RIGHT_IRIS = Ac, $.FACE_LANDMARKS_FACE_OVAL = Kn, $.FACE_LANDMARKS_CONTOURS = Ec, $.FACE_LANDMARKS_TESSELATION = kc;
3025
+ var qn = _e([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]);
3026
+ function Ki(e) {
3024
3027
  e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
3025
3028
  }
3026
- function Ki(e) {
3029
+ function qi(e) {
3027
3030
  return e.gestures.length === 0 ? { gestures: [], landmarks: [], worldLandmarks: [], handedness: [], handednesses: [] } : { gestures: e.gestures, landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handedness: e.handedness, handednesses: e.handedness };
3028
3031
  }
3029
- function qi(e, t = !0) {
3032
+ function Xi(e, t = !0) {
3030
3033
  const r = [];
3031
3034
  for (const n of e) {
3032
3035
  var s = is(n);
@@ -3038,7 +3041,7 @@ function qi(e, t = !0) {
3038
3041
  }
3039
3042
  var te = class extends le {
3040
3043
  constructor(e, t) {
3041
- super(new we(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.j = new qa(), 0, 1, t = new O()), this.u = new On(), v(this.j, 0, 2, this.u), this.D = new $n(), v(this.u, 0, 3, this.D), this.A = new Ka(), v(this.u, 0, 2, this.A), this.h = new mu(), v(this.j, 0, 3, this.h), y(this.A, 2, 0.5), y(this.u, 4, 0.5), y(this.D, 2, 0.5);
3044
+ super(new we(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.j = new Xa(), 0, 1, t = new O()), this.u = new Rn(), v(this.j, 0, 2, this.u), this.D = new On(), v(this.u, 0, 3, this.D), this.A = new qa(), v(this.u, 0, 2, this.A), this.h = new yu(), v(this.j, 0, 3, this.h), y(this.A, 2, 0.5), y(this.u, 4, 0.5), y(this.D, 2, 0.5);
3042
3045
  }
3043
3046
  get baseOptions() {
3044
3047
  return A(this.j, O, 1);
@@ -3049,28 +3052,28 @@ var te = class extends le {
3049
3052
  o(e) {
3050
3053
  var n, i, o, a;
3051
3054
  if (Be(this.A, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && y(this.A, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.u, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && y(this.D, 2, e.minHandPresenceConfidence ?? 0.5), e.cannedGesturesClassifierOptions) {
3052
- var t = new vt(), r = t, s = Us(e.cannedGesturesClassifierOptions, (n = A(this.h, vt, 3)) == null ? void 0 : n.l());
3055
+ var t = new vt(), r = t, s = Ds(e.cannedGesturesClassifierOptions, (n = A(this.h, vt, 3)) == null ? void 0 : n.l());
3053
3056
  v(r, 0, 2, s), v(this.h, 0, 3, t);
3054
3057
  } else e.cannedGesturesClassifierOptions === void 0 && ((i = A(this.h, vt, 3)) == null || i.g());
3055
- return e.customGesturesClassifierOptions ? (v(r = t = new vt(), 0, 2, s = Us(e.customGesturesClassifierOptions, (o = A(this.h, vt, 4)) == null ? void 0 : o.l())), v(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = A(this.h, vt, 4)) == null || a.g()), this.l(e);
3058
+ return e.customGesturesClassifierOptions ? (v(r = t = new vt(), 0, 2, s = Ds(e.customGesturesClassifierOptions, (o = A(this.h, vt, 4)) == null ? void 0 : o.l())), v(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = A(this.h, vt, 4)) == null || a.g()), this.l(e);
3056
3059
  }
3057
3060
  Ha(e, t) {
3058
- return Wi(this), Ae(this, e, t), Ki(this);
3061
+ return Ki(this), Ae(this, e, t), qi(this);
3059
3062
  }
3060
3063
  Ia(e, t, r) {
3061
- return Wi(this), Fe(this, e, r, t), Ki(this);
3064
+ return Ki(this), Fe(this, e, r, t), qi(this);
3062
3065
  }
3063
3066
  m() {
3064
3067
  var e = new fe();
3065
3068
  x(e, "image_in"), x(e, "norm_rect"), E(e, "hand_gestures"), E(e, "hand_landmarks"), E(e, "world_hand_landmarks"), E(e, "handedness");
3066
3069
  const t = new de();
3067
- Me(t, yu, this.j);
3070
+ Me(t, bu, this.j);
3068
3071
  const r = new ee();
3069
3072
  he(r, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "HAND_GESTURES:hand_gestures"), _(r, "LANDMARKS:hand_landmarks"), _(r, "WORLD_LANDMARKS:world_hand_landmarks"), _(r, "HANDEDNESS:handedness"), r.o(t), be(e, r), this.g.attachProtoVectorListener("hand_landmarks", ((s, n) => {
3070
3073
  for (const i of s) {
3071
3074
  s = Er(i);
3072
3075
  const o = [];
3073
- for (const a of Ne(s, Ua, 1)) o.push({ x: I(a, 1) ?? 0, y: I(a, 2) ?? 0, z: I(a, 3) ?? 0, visibility: I(a, 4) ?? 0 });
3076
+ for (const a of Ne(s, Da, 1)) o.push({ x: I(a, 1) ?? 0, y: I(a, 2) ?? 0, z: I(a, 3) ?? 0, visibility: I(a, 4) ?? 0 });
3074
3077
  this.landmarks.push(o);
3075
3078
  }
3076
3079
  f(this, n);
@@ -3080,24 +3083,24 @@ var te = class extends le {
3080
3083
  for (const i of s) {
3081
3084
  s = Et(i);
3082
3085
  const o = [];
3083
- for (const a of Ne(s, Ba, 1)) o.push({ x: I(a, 1) ?? 0, y: I(a, 2) ?? 0, z: I(a, 3) ?? 0, visibility: I(a, 4) ?? 0 });
3086
+ for (const a of Ne(s, Ua, 1)) o.push({ x: I(a, 1) ?? 0, y: I(a, 2) ?? 0, z: I(a, 3) ?? 0, visibility: I(a, 4) ?? 0 });
3084
3087
  this.worldLandmarks.push(o);
3085
3088
  }
3086
3089
  f(this, n);
3087
3090
  })), this.g.attachEmptyPacketListener("world_hand_landmarks", ((s) => {
3088
3091
  f(this, s);
3089
3092
  })), this.g.attachProtoVectorListener("hand_gestures", ((s, n) => {
3090
- this.gestures.push(...qi(s, !1)), f(this, n);
3093
+ this.gestures.push(...Xi(s, !1)), f(this, n);
3091
3094
  })), this.g.attachEmptyPacketListener("hand_gestures", ((s) => {
3092
3095
  f(this, s);
3093
3096
  })), this.g.attachProtoVectorListener("handedness", ((s, n) => {
3094
- this.handedness.push(...qi(s)), f(this, n);
3097
+ this.handedness.push(...Xi(s)), f(this, n);
3095
3098
  })), this.g.attachEmptyPacketListener("handedness", ((s) => {
3096
3099
  f(this, s);
3097
3100
  })), e = e.g(), this.setGraph(new Uint8Array(e), !0);
3098
3101
  }
3099
3102
  };
3100
- function Xi(e) {
3103
+ function Yi(e) {
3101
3104
  return { landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handednesses: e.handedness, handedness: e.handedness };
3102
3105
  }
3103
3106
  te.prototype.recognizeForVideo = te.prototype.Ia, te.prototype.recognize = te.prototype.Ha, te.prototype.setOptions = te.prototype.o, te.createFromModelPath = function(e, t) {
@@ -3106,10 +3109,10 @@ te.prototype.recognizeForVideo = te.prototype.Ia, te.prototype.recognize = te.pr
3106
3109
  return w(te, e, { baseOptions: { modelAssetBuffer: t } });
3107
3110
  }, te.createFromOptions = function(e, t) {
3108
3111
  return w(te, e, t);
3109
- }, te.HAND_CONNECTIONS = Kn;
3112
+ }, te.HAND_CONNECTIONS = qn;
3110
3113
  var re = class extends le {
3111
3114
  constructor(e, t) {
3112
- super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.h = new On(), 0, 1, t = new O()), this.u = new $n(), v(this.h, 0, 3, this.u), this.j = new Ka(), v(this.h, 0, 2, this.j), Be(this.j, 3, 1), y(this.j, 2, 0.5), y(this.u, 2, 0.5), y(this.h, 4, 0.5);
3115
+ super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.h = new Rn(), 0, 1, t = new O()), this.u = new On(), v(this.h, 0, 3, this.u), this.j = new qa(), v(this.h, 0, 2, this.j), Be(this.j, 3, 1), y(this.j, 2, 0.5), y(this.u, 2, 0.5), y(this.h, 4, 0.5);
3113
3116
  }
3114
3117
  get baseOptions() {
3115
3118
  return A(this.h, O, 1);
@@ -3121,16 +3124,16 @@ var re = class extends le {
3121
3124
  return "numHands" in e && Be(this.j, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && y(this.j, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.h, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && y(this.u, 2, e.minHandPresenceConfidence ?? 0.5), this.l(e);
3122
3125
  }
3123
3126
  F(e, t) {
3124
- return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ae(this, e, t), Xi(this);
3127
+ return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ae(this, e, t), Yi(this);
3125
3128
  }
3126
3129
  G(e, t, r) {
3127
- return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Fe(this, e, r, t), Xi(this);
3130
+ return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Fe(this, e, r, t), Yi(this);
3128
3131
  }
3129
3132
  m() {
3130
3133
  var e = new fe();
3131
3134
  x(e, "image_in"), x(e, "norm_rect"), E(e, "hand_landmarks"), E(e, "world_hand_landmarks"), E(e, "handedness");
3132
3135
  const t = new de();
3133
- Me(t, bu, this.h);
3136
+ Me(t, vu, this.h);
3134
3137
  const r = new ee();
3135
3138
  he(r, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "LANDMARKS:hand_landmarks"), _(r, "WORLD_LANDMARKS:world_hand_landmarks"), _(r, "HANDEDNESS:handedness"), r.o(t), be(e, r), this.g.attachProtoVectorListener("hand_landmarks", ((s, n) => {
3136
3139
  for (const i of s) s = Er(i), this.landmarks.push(as(s));
@@ -3163,12 +3166,12 @@ re.prototype.detectForVideo = re.prototype.G, re.prototype.detect = re.prototype
3163
3166
  return w(re, e, { baseOptions: { modelAssetBuffer: t } });
3164
3167
  }, re.createFromOptions = function(e, t) {
3165
3168
  return w(re, e, t);
3166
- }, re.HAND_CONNECTIONS = Kn;
3167
- var kc = _e([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]);
3168
- function Yi(e) {
3169
+ }, re.HAND_CONNECTIONS = qn;
3170
+ var Sc = _e([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]);
3171
+ function Qi(e) {
3169
3172
  e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
3170
3173
  }
3171
- function Qi(e) {
3174
+ function Ji(e) {
3172
3175
  try {
3173
3176
  if (!e.D) return e.h;
3174
3177
  e.D(e.h);
@@ -3181,7 +3184,7 @@ function Lr(e, t) {
3181
3184
  }
3182
3185
  var C = class extends le {
3183
3186
  constructor(e, t) {
3184
- super(new we(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, v(e = this.j = new Za(), 0, 1, t = new O()), this.I = new $n(), v(this.j, 0, 2, this.I), this.W = new vu(), v(this.j, 0, 3, this.W), this.u = new os(), v(this.j, 0, 4, this.u), this.O = new Ha(), v(this.j, 0, 5, this.O), this.A = new Qa(), v(this.j, 0, 6, this.A), this.M = new Ja(), v(this.j, 0, 7, this.M), y(this.u, 2, 0.5), y(this.u, 3, 0.3), y(this.O, 2, 0.5), y(this.A, 2, 0.5), y(this.A, 3, 0.3), y(this.M, 2, 0.5), y(this.I, 2, 0.5);
3187
+ super(new we(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, v(e = this.j = new ec(), 0, 1, t = new O()), this.I = new On(), v(this.j, 0, 2, this.I), this.W = new _u(), v(this.j, 0, 3, this.W), this.u = new os(), v(this.j, 0, 4, this.u), this.O = new za(), v(this.j, 0, 5, this.O), this.A = new Ja(), v(this.j, 0, 6, this.A), this.M = new Za(), v(this.j, 0, 7, this.M), y(this.u, 2, 0.5), y(this.u, 3, 0.3), y(this.O, 2, 0.5), y(this.A, 2, 0.5), y(this.A, 3, 0.3), y(this.M, 2, 0.5), y(this.I, 2, 0.5);
3185
3188
  }
3186
3189
  get baseOptions() {
3187
3190
  return A(this.j, O, 1);
@@ -3194,25 +3197,25 @@ var C = class extends le {
3194
3197
  }
3195
3198
  F(e, t, r) {
3196
3199
  const s = typeof t != "function" ? t : {};
3197
- return this.D = typeof t == "function" ? t : r, Yi(this), Ae(this, e, s), Qi(this);
3200
+ return this.D = typeof t == "function" ? t : r, Qi(this), Ae(this, e, s), Ji(this);
3198
3201
  }
3199
3202
  G(e, t, r, s) {
3200
3203
  const n = typeof r != "function" ? r : {};
3201
- return this.D = typeof r == "function" ? r : s, Yi(this), Fe(this, e, n, t), Qi(this);
3204
+ return this.D = typeof r == "function" ? r : s, Qi(this), Fe(this, e, n, t), Ji(this);
3202
3205
  }
3203
3206
  m() {
3204
3207
  var e = new fe();
3205
3208
  x(e, "input_frames_image"), E(e, "pose_landmarks"), E(e, "pose_world_landmarks"), E(e, "face_landmarks"), E(e, "left_hand_landmarks"), E(e, "left_hand_world_landmarks"), E(e, "right_hand_landmarks"), E(e, "right_hand_world_landmarks");
3206
- const t = new de(), r = new wi();
3209
+ const t = new de(), r = new Ai();
3207
3210
  he(r, 1, "type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), (function(n, i) {
3208
3211
  if (i != null) if (Array.isArray(i)) k(n, 2, Kr(i, 0, dr));
3209
3212
  else {
3210
- if (!(typeof i == "string" || i instanceof Ce || Zs(i))) throw Error("invalid value in Any.value field: " + i + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
3211
- Ve(n, 2, tn(i, !1), ut());
3213
+ if (!(typeof i == "string" || i instanceof Ce || en(i))) throw Error("invalid value in Any.value field: " + i + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
3214
+ Ve(n, 2, rn(i, !1), ut());
3212
3215
  }
3213
3216
  })(r, this.j.g());
3214
3217
  const s = new ee();
3215
- he(s, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), yn(s, 8, wi, r), P(s, "IMAGE:input_frames_image"), _(s, "POSE_LANDMARKS:pose_landmarks"), _(s, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), _(s, "FACE_LANDMARKS:face_landmarks"), _(s, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), _(s, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), _(s, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), _(s, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), s.o(t), be(e, s), cs(this, e), this.g.attachProtoListener("pose_landmarks", ((n, i) => {
3218
+ he(s, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), bn(s, 8, Ai, r), P(s, "IMAGE:input_frames_image"), _(s, "POSE_LANDMARKS:pose_landmarks"), _(s, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), _(s, "FACE_LANDMARKS:face_landmarks"), _(s, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), _(s, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), _(s, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), _(s, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), s.o(t), be(e, s), cs(this, e), this.g.attachProtoListener("pose_landmarks", ((n, i) => {
3216
3219
  Lr(n, this.h.poseLandmarks), f(this, i);
3217
3220
  })), this.g.attachEmptyPacketListener("pose_landmarks", ((n) => {
3218
3221
  f(this, n);
@@ -3231,7 +3234,7 @@ var C = class extends le {
3231
3234
  f(this, n);
3232
3235
  })), this.outputFaceBlendshapes && (E(e, "extra_blendshapes"), _(s, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", ((n, i) => {
3233
3236
  var o = this.h.faceBlendshapes;
3234
- this.outputFaceBlendshapes && (n = is(n), o.push(Bn(n.g() ?? []))), f(this, i);
3237
+ this.outputFaceBlendshapes && (n = is(n), o.push(Un(n.g() ?? []))), f(this, i);
3235
3238
  })), this.g.attachEmptyPacketListener("extra_blendshapes", ((n) => {
3236
3239
  f(this, n);
3237
3240
  }))), this.g.attachProtoListener("left_hand_landmarks", ((n, i) => {
@@ -3261,10 +3264,10 @@ C.prototype.detectForVideo = C.prototype.G, C.prototype.detect = C.prototype.F,
3261
3264
  return w(C, e, { baseOptions: { modelAssetBuffer: t } });
3262
3265
  }, C.createFromOptions = function(e, t) {
3263
3266
  return w(C, e, t);
3264
- }, C.HAND_CONNECTIONS = Kn, C.POSE_CONNECTIONS = kc, C.FACE_LANDMARKS_LIPS = jn, C.FACE_LANDMARKS_LEFT_EYE = Vn, C.FACE_LANDMARKS_LEFT_EYEBROW = Gn, C.FACE_LANDMARKS_LEFT_IRIS = _c, C.FACE_LANDMARKS_RIGHT_EYE = Hn, C.FACE_LANDMARKS_RIGHT_EYEBROW = zn, C.FACE_LANDMARKS_RIGHT_IRIS = wc, C.FACE_LANDMARKS_FACE_OVAL = Wn, C.FACE_LANDMARKS_CONTOURS = Ac, C.FACE_LANDMARKS_TESSELATION = Ec;
3267
+ }, C.HAND_CONNECTIONS = qn, C.POSE_CONNECTIONS = Sc, C.FACE_LANDMARKS_LIPS = Vn, C.FACE_LANDMARKS_LEFT_EYE = Gn, C.FACE_LANDMARKS_LEFT_EYEBROW = Hn, C.FACE_LANDMARKS_LEFT_IRIS = wc, C.FACE_LANDMARKS_RIGHT_EYE = zn, C.FACE_LANDMARKS_RIGHT_EYEBROW = Wn, C.FACE_LANDMARKS_RIGHT_IRIS = Ac, C.FACE_LANDMARKS_FACE_OVAL = Kn, C.FACE_LANDMARKS_CONTOURS = Ec, C.FACE_LANDMARKS_TESSELATION = kc;
3265
3268
  var pe = class extends le {
3266
3269
  constructor(e, t) {
3267
- super(new we(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, v(e = this.h = new ec(), 0, 1, t = new O());
3270
+ super(new we(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, v(e = this.h = new tc(), 0, 1, t = new O());
3268
3271
  }
3269
3272
  get baseOptions() {
3270
3273
  return A(this.h, O, 1);
@@ -3273,7 +3276,7 @@ var pe = class extends le {
3273
3276
  v(this.h, 0, 1, e);
3274
3277
  }
3275
3278
  o(e) {
3276
- return v(this.h, 0, 2, Us(e, A(this.h, xn, 2))), this.l(e);
3279
+ return v(this.h, 0, 2, Ds(e, A(this.h, Fn, 2))), this.l(e);
3277
3280
  }
3278
3281
  sa(e, t) {
3279
3282
  return this.j = { classifications: [] }, Ae(this, e, t), this.j;
@@ -3285,10 +3288,10 @@ var pe = class extends le {
3285
3288
  var e = new fe();
3286
3289
  x(e, "input_image"), x(e, "norm_rect"), E(e, "classifications");
3287
3290
  const t = new de();
3288
- Me(t, _u, this.h);
3291
+ Me(t, wu, this.h);
3289
3292
  const r = new ee();
3290
3293
  he(r, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), P(r, "IMAGE:input_image"), P(r, "NORM_RECT:norm_rect"), _(r, "CLASSIFICATIONS:classifications"), r.o(t), be(e, r), this.g.attachProtoListener("classifications", ((s, n) => {
3291
- this.j = Tu(cu(s)), f(this, n);
3294
+ this.j = Cu(hu(s)), f(this, n);
3292
3295
  })), this.g.attachEmptyPacketListener("classifications", ((s) => {
3293
3296
  f(this, s);
3294
3297
  })), e = e.g(), this.setGraph(new Uint8Array(e), !0);
@@ -3303,7 +3306,7 @@ pe.prototype.classifyForVideo = pe.prototype.ta, pe.prototype.classify = pe.prot
3303
3306
  };
3304
3307
  var se = class extends le {
3305
3308
  constructor(e, t) {
3306
- super(new we(e, t), "image_in", "norm_rect", !0), this.h = new tc(), this.embeddings = { embeddings: [] }, v(e = this.h, 0, 1, t = new O());
3309
+ super(new we(e, t), "image_in", "norm_rect", !0), this.h = new rc(), this.embeddings = { embeddings: [] }, v(e = this.h, 0, 1, t = new O());
3307
3310
  }
3308
3311
  get baseOptions() {
3309
3312
  return A(this.h, O, 1);
@@ -3312,8 +3315,8 @@ var se = class extends le {
3312
3315
  v(this.h, 0, 1, e);
3313
3316
  }
3314
3317
  o(e) {
3315
- var t = this.h, r = A(this.h, Mi, 2);
3316
- return r = r ? r.clone() : new Mi(), e.l2Normalize !== void 0 ? k(r, 1, lr(e.l2Normalize)) : "l2Normalize" in e && k(r, 1), e.quantize !== void 0 ? k(r, 2, lr(e.quantize)) : "quantize" in e && k(r, 2), v(t, 0, 2, r), this.l(e);
3318
+ var t = this.h, r = A(this.h, xi, 2);
3319
+ return r = r ? r.clone() : new xi(), e.l2Normalize !== void 0 ? k(r, 1, lr(e.l2Normalize)) : "l2Normalize" in e && k(r, 1), e.quantize !== void 0 ? k(r, 2, lr(e.quantize)) : "quantize" in e && k(r, 2), v(t, 0, 2, r), this.l(e);
3317
3320
  }
3318
3321
  za(e, t) {
3319
3322
  return Ae(this, e, t), this.embeddings;
@@ -3325,16 +3328,16 @@ var se = class extends le {
3325
3328
  var e = new fe();
3326
3329
  x(e, "image_in"), x(e, "norm_rect"), E(e, "embeddings_out");
3327
3330
  const t = new de();
3328
- Me(t, wu, this.h);
3331
+ Me(t, Au, this.h);
3329
3332
  const r = new ee();
3330
3333
  he(r, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "EMBEDDINGS:embeddings_out"), r.o(t), be(e, r), this.g.attachProtoListener("embeddings_out", ((s, n) => {
3331
- s = lu(s), this.embeddings = (function(i) {
3332
- return { embeddings: Ne(i, uu, 1).map(((o) => {
3334
+ s = du(s), this.embeddings = (function(i) {
3335
+ return { embeddings: Ne(i, lu, 1).map(((o) => {
3333
3336
  var u, h;
3334
3337
  const a = { headIndex: me(o, 3) ?? 0 ?? -1, headName: Y(L(o, 4)) ?? "" ?? "" };
3335
3338
  var c = o.v;
3336
- return Qo(c, 0 | c[p], Pi, ms(o, 1)) !== void 0 ? (o = rt(o = A(o, Pi, ms(o, 1), void 0), 1, Te, tt()), a.floatEmbedding = o.slice()) : (c = new Uint8Array(0), a.quantizedEmbedding = ((h = (u = A(o, hu, ms(o, 2), void 0)) == null ? void 0 : u.na()) == null ? void 0 : h.h()) ?? c), a;
3337
- })), timestampMs: cc(ea(i)) };
3339
+ return Jo(c, 0 | c[p], Mi, ys(o, 1)) !== void 0 ? (o = rt(o = A(o, Mi, ys(o, 1), void 0), 1, Te, tt()), a.floatEmbedding = o.slice()) : (c = new Uint8Array(0), a.quantizedEmbedding = ((h = (u = A(o, uu, ys(o, 2), void 0)) == null ? void 0 : u.na()) == null ? void 0 : h.h()) ?? c), a;
3340
+ })), timestampMs: hc(ta(i)) };
3338
3341
  })(s), f(this, n);
3339
3342
  })), this.g.attachEmptyPacketListener("embeddings_out", ((s) => {
3340
3343
  f(this, s);
@@ -3342,10 +3345,10 @@ var se = class extends le {
3342
3345
  }
3343
3346
  };
3344
3347
  se.cosineSimilarity = function(e, t) {
3345
- if (e.floatEmbedding && t.floatEmbedding) e = Ii(e.floatEmbedding, t.floatEmbedding);
3348
+ if (e.floatEmbedding && t.floatEmbedding) e = Ni(e.floatEmbedding, t.floatEmbedding);
3346
3349
  else {
3347
3350
  if (!e.quantizedEmbedding || !t.quantizedEmbedding) throw Error("Cannot compute cosine similarity between quantized and float embeddings.");
3348
- e = Ii(Ri(e.quantizedEmbedding), Ri(t.quantizedEmbedding));
3351
+ e = Ni(Ii(e.quantizedEmbedding), Ii(t.quantizedEmbedding));
3349
3352
  }
3350
3353
  return e;
3351
3354
  }, se.prototype.embedForVideo = se.prototype.Aa, se.prototype.embed = se.prototype.za, se.prototype.setOptions = se.prototype.o, se.createFromModelPath = function(e, t) {
@@ -3355,7 +3358,7 @@ se.cosineSimilarity = function(e, t) {
3355
3358
  }, se.createFromOptions = function(e, t) {
3356
3359
  return w(se, e, t);
3357
3360
  };
3358
- var Gs = class {
3361
+ var Hs = class {
3359
3362
  constructor(e, t, r) {
3360
3363
  this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = r;
3361
3364
  }
@@ -3366,7 +3369,7 @@ var Gs = class {
3366
3369
  })), (t = this.categoryMask) == null || t.close();
3367
3370
  }
3368
3371
  };
3369
- function $u(e) {
3372
+ function Ou(e) {
3370
3373
  var r, s;
3371
3374
  const t = (function(n) {
3372
3375
  return Ne(n, ee, 1);
@@ -3376,22 +3379,22 @@ function $u(e) {
3376
3379
  e.u[Number(i)] = Y(L(n, 1)) ?? "";
3377
3380
  }));
3378
3381
  }
3379
- function Ji(e) {
3382
+ function Zi(e) {
3380
3383
  e.categoryMask = void 0, e.confidenceMasks = void 0, e.qualityScores = void 0;
3381
3384
  }
3382
- function Zi(e) {
3385
+ function eo(e) {
3383
3386
  try {
3384
- const t = new Gs(e.confidenceMasks, e.categoryMask, e.qualityScores);
3387
+ const t = new Hs(e.confidenceMasks, e.categoryMask, e.qualityScores);
3385
3388
  if (!e.j) return t;
3386
3389
  e.j(t);
3387
3390
  } finally {
3388
3391
  hs(e);
3389
3392
  }
3390
3393
  }
3391
- Gs.prototype.close = Gs.prototype.close;
3394
+ Hs.prototype.close = Hs.prototype.close;
3392
3395
  var Z = class extends le {
3393
3396
  constructor(e, t) {
3394
- super(new we(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Nn(), this.A = new rc(), v(this.h, 0, 3, this.A), v(e = this.h, 0, 1, t = new O());
3397
+ super(new we(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Bn(), this.A = new sc(), v(this.h, 0, 3, this.A), v(e = this.h, 0, 1, t = new O());
3395
3398
  }
3396
3399
  get baseOptions() {
3397
3400
  return A(this.h, O, 1);
@@ -3403,15 +3406,15 @@ var Z = class extends le {
3403
3406
  return e.displayNamesLocale !== void 0 ? k(this.h, 2, _r(e.displayNamesLocale)) : "displayNamesLocale" in e && k(this.h, 2), "outputCategoryMask" in e && (this.outputCategoryMask = e.outputCategoryMask ?? !1), "outputConfidenceMasks" in e && (this.outputConfidenceMasks = e.outputConfidenceMasks ?? !0), super.l(e);
3404
3407
  }
3405
3408
  L() {
3406
- $u(this);
3409
+ Ou(this);
3407
3410
  }
3408
3411
  segment(e, t, r) {
3409
3412
  const s = typeof t != "function" ? t : {};
3410
- return this.j = typeof t == "function" ? t : r, Ji(this), Ae(this, e, s), Zi(this);
3413
+ return this.j = typeof t == "function" ? t : r, Zi(this), Ae(this, e, s), eo(this);
3411
3414
  }
3412
3415
  La(e, t, r, s) {
3413
3416
  const n = typeof r != "function" ? r : {};
3414
- return this.j = typeof r == "function" ? r : s, Ji(this), Fe(this, e, n, t), Zi(this);
3417
+ return this.j = typeof r == "function" ? r : s, Zi(this), Fe(this, e, n, t), eo(this);
3415
3418
  }
3416
3419
  Da() {
3417
3420
  return this.u;
@@ -3420,7 +3423,7 @@ var Z = class extends le {
3420
3423
  var e = new fe();
3421
3424
  x(e, "image_in"), x(e, "norm_rect");
3422
3425
  const t = new de();
3423
- Me(t, nc, this.h);
3426
+ Me(t, ic, this.h);
3424
3427
  const r = new ee();
3425
3428
  he(r, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), r.o(t), be(e, r), cs(this, e), this.outputConfidenceMasks && (E(e, "confidence_masks"), _(r, "CONFIDENCE_MASKS:confidence_masks"), $t(this, "confidence_masks"), this.g.aa("confidence_masks", ((s, n) => {
3426
3429
  this.confidenceMasks = s.map(((i) => Rt(this, i, !0, !this.j))), f(this, n);
@@ -3444,7 +3447,7 @@ Z.prototype.getLabels = Z.prototype.Da, Z.prototype.segmentForVideo = Z.prototyp
3444
3447
  }, Z.createFromOptions = function(e, t) {
3445
3448
  return w(Z, e, t);
3446
3449
  };
3447
- var Hs = class {
3450
+ var zs = class {
3448
3451
  constructor(e, t, r) {
3449
3452
  this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = r;
3450
3453
  }
@@ -3455,10 +3458,10 @@ var Hs = class {
3455
3458
  })), (t = this.categoryMask) == null || t.close();
3456
3459
  }
3457
3460
  };
3458
- Hs.prototype.close = Hs.prototype.close;
3461
+ zs.prototype.close = zs.prototype.close;
3459
3462
  var Se = class extends le {
3460
3463
  constructor(e, t) {
3461
- super(new we(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Nn(), this.u = new rc(), v(this.h, 0, 3, this.u), v(e = this.h, 0, 1, t = new O());
3464
+ super(new we(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Bn(), this.u = new sc(), v(this.h, 0, 3, this.u), v(e = this.h, 0, 1, t = new O());
3462
3465
  }
3463
3466
  get baseOptions() {
3464
3467
  return A(this.h, O, 1);
@@ -3471,22 +3474,22 @@ var Se = class extends le {
3471
3474
  }
3472
3475
  segment(e, t, r, s) {
3473
3476
  const n = typeof r != "function" ? r : {};
3474
- if (this.j = typeof r == "function" ? r : s, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.C + 1, s = new ic(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
3477
+ if (this.j = typeof r == "function" ? r : s, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.C + 1, s = new oc(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
3475
3478
  if (t.keypoint) {
3476
- var i = new _s();
3477
- Ve(i, 3, lr(!0), !1), Ve(i, 1, tr(t.keypoint.x), 0), Ve(i, 2, tr(t.keypoint.y), 0), rr(s, 1, Bs, i);
3479
+ var i = new ws();
3480
+ Ve(i, 3, lr(!0), !1), Ve(i, 1, tr(t.keypoint.x), 0), Ve(i, 2, tr(t.keypoint.y), 0), rr(s, 1, Us, i);
3478
3481
  } else {
3479
3482
  if (!t.scribble) throw Error("Must provide either a keypoint or a scribble.");
3480
3483
  {
3481
- const a = new Eu();
3482
- for (i of t.scribble) Ve(t = new _s(), 3, lr(!0), !1), Ve(t, 1, tr(i.x), 0), Ve(t, 2, tr(i.y), 0), yn(a, 1, _s, t);
3483
- rr(s, 2, Bs, a);
3484
+ const a = new ku();
3485
+ for (i of t.scribble) Ve(t = new ws(), 3, lr(!0), !1), Ve(t, 1, tr(i.x), 0), Ve(t, 2, tr(i.y), 0), bn(a, 1, ws, t);
3486
+ rr(s, 2, Us, a);
3484
3487
  }
3485
3488
  }
3486
3489
  this.g.addProtoToStream(s.g(), "mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest", "roi_in", r), Ae(this, e, n);
3487
3490
  e: {
3488
3491
  try {
3489
- const a = new Hs(this.confidenceMasks, this.categoryMask, this.qualityScores);
3492
+ const a = new zs(this.confidenceMasks, this.categoryMask, this.qualityScores);
3490
3493
  if (!this.j) {
3491
3494
  var o = a;
3492
3495
  break e;
@@ -3503,7 +3506,7 @@ var Se = class extends le {
3503
3506
  var e = new fe();
3504
3507
  x(e, "image_in"), x(e, "roi_in"), x(e, "norm_rect_in");
3505
3508
  const t = new de();
3506
- Me(t, nc, this.h);
3509
+ Me(t, ic, this.h);
3507
3510
  const r = new ee();
3508
3511
  he(r, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), P(r, "IMAGE:image_in"), P(r, "ROI:roi_in"), P(r, "NORM_RECT:norm_rect_in"), r.o(t), be(e, r), cs(this, e), this.outputConfidenceMasks && (E(e, "confidence_masks"), _(r, "CONFIDENCE_MASKS:confidence_masks"), $t(this, "confidence_masks"), this.g.aa("confidence_masks", ((s, n) => {
3509
3512
  this.confidenceMasks = s.map(((i) => Rt(this, i, !0, !this.j))), f(this, n);
@@ -3529,7 +3532,7 @@ Se.prototype.segment = Se.prototype.segment, Se.prototype.setOptions = Se.protot
3529
3532
  };
3530
3533
  var ge = class extends le {
3531
3534
  constructor(e, t) {
3532
- super(new we(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, v(e = this.h = new oc(), 0, 1, t = new O());
3535
+ super(new we(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, v(e = this.h = new ac(), 0, 1, t = new O());
3533
3536
  }
3534
3537
  get baseOptions() {
3535
3538
  return A(this.h, O, 1);
@@ -3550,10 +3553,10 @@ var ge = class extends le {
3550
3553
  var e = new fe();
3551
3554
  x(e, "input_frame_gpu"), x(e, "norm_rect"), E(e, "detections");
3552
3555
  const t = new de();
3553
- Me(t, ku, this.h);
3556
+ Me(t, Su, this.h);
3554
3557
  const r = new ee();
3555
3558
  he(r, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), P(r, "IMAGE:input_frame_gpu"), P(r, "NORM_RECT:norm_rect"), _(r, "DETECTIONS:detections"), r.o(t), be(e, r), this.g.attachProtoVectorListener("detections", ((s, n) => {
3556
- for (const i of s) s = Na(i), this.j.detections.push(hc(s));
3559
+ for (const i of s) s = Ba(i), this.j.detections.push(uc(s));
3557
3560
  f(this, n);
3558
3561
  })), this.g.attachEmptyPacketListener("detections", ((s) => {
3559
3562
  f(this, s);
@@ -3567,7 +3570,7 @@ ge.prototype.detectForVideo = ge.prototype.G, ge.prototype.detect = ge.prototype
3567
3570
  }, ge.createFromOptions = function(e, t) {
3568
3571
  return w(ge, e, t);
3569
3572
  };
3570
- var zs = class {
3573
+ var Ws = class {
3571
3574
  constructor(e, t, r) {
3572
3575
  this.landmarks = e, this.worldLandmarks = t, this.segmentationMasks = r;
3573
3576
  }
@@ -3578,22 +3581,22 @@ var zs = class {
3578
3581
  }));
3579
3582
  }
3580
3583
  };
3581
- function eo(e) {
3584
+ function to(e) {
3582
3585
  e.landmarks = [], e.worldLandmarks = [], e.segmentationMasks = void 0;
3583
3586
  }
3584
- function to(e) {
3587
+ function ro(e) {
3585
3588
  try {
3586
- const t = new zs(e.landmarks, e.worldLandmarks, e.segmentationMasks);
3589
+ const t = new Ws(e.landmarks, e.worldLandmarks, e.segmentationMasks);
3587
3590
  if (!e.u) return t;
3588
3591
  e.u(t);
3589
3592
  } finally {
3590
3593
  hs(e);
3591
3594
  }
3592
3595
  }
3593
- zs.prototype.close = zs.prototype.close;
3596
+ Ws.prototype.close = Ws.prototype.close;
3594
3597
  var ne = class extends le {
3595
3598
  constructor(e, t) {
3596
- super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, v(e = this.h = new ac(), 0, 1, t = new O()), this.A = new Ja(), v(this.h, 0, 3, this.A), this.j = new Qa(), v(this.h, 0, 2, this.j), Be(this.j, 4, 1), y(this.j, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
3599
+ super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, v(e = this.h = new cc(), 0, 1, t = new O()), this.A = new Za(), v(this.h, 0, 3, this.A), this.j = new Ja(), v(this.h, 0, 2, this.j), Be(this.j, 4, 1), y(this.j, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
3597
3600
  }
3598
3601
  get baseOptions() {
3599
3602
  return A(this.h, O, 1);
@@ -3606,17 +3609,17 @@ var ne = class extends le {
3606
3609
  }
3607
3610
  F(e, t, r) {
3608
3611
  const s = typeof t != "function" ? t : {};
3609
- return this.u = typeof t == "function" ? t : r, eo(this), Ae(this, e, s), to(this);
3612
+ return this.u = typeof t == "function" ? t : r, to(this), Ae(this, e, s), ro(this);
3610
3613
  }
3611
3614
  G(e, t, r, s) {
3612
3615
  const n = typeof r != "function" ? r : {};
3613
- return this.u = typeof r == "function" ? r : s, eo(this), Fe(this, e, n, t), to(this);
3616
+ return this.u = typeof r == "function" ? r : s, to(this), Fe(this, e, n, t), ro(this);
3614
3617
  }
3615
3618
  m() {
3616
3619
  var e = new fe();
3617
3620
  x(e, "image_in"), x(e, "norm_rect"), E(e, "normalized_landmarks"), E(e, "world_landmarks"), E(e, "segmentation_masks");
3618
3621
  const t = new de();
3619
- Me(t, Su, this.h);
3622
+ Me(t, Tu, this.h);
3620
3623
  const r = new ee();
3621
3624
  he(r, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "NORM_LANDMARKS:normalized_landmarks"), _(r, "WORLD_LANDMARKS:world_landmarks"), r.o(t), be(e, r), cs(this, e), this.g.attachProtoVectorListener("normalized_landmarks", ((s, n) => {
3622
3625
  this.landmarks = [];
@@ -3643,9 +3646,9 @@ ne.prototype.detectForVideo = ne.prototype.G, ne.prototype.detect = ne.prototype
3643
3646
  return w(ne, e, { baseOptions: { modelAssetBuffer: t } });
3644
3647
  }, ne.createFromOptions = function(e, t) {
3645
3648
  return w(ne, e, t);
3646
- }, ne.POSE_CONNECTIONS = kc;
3647
- const Ou = 800, Ru = 1.5, Iu = 0.15, ro = /* @__PURE__ */ new WeakMap();
3648
- function Nu(e, t, r) {
3649
+ }, ne.POSE_CONNECTIONS = Sc;
3650
+ const Ru = 800, Iu = 1.5, Nu = 0.15, so = /* @__PURE__ */ new WeakMap();
3651
+ function Bu(e, t, r) {
3649
3652
  const s = r ?? document.createElement("canvas");
3650
3653
  s.width = t.width, s.height = t.height;
3651
3654
  const n = s.getContext("2d");
@@ -3661,10 +3664,10 @@ function Nu(e, t, r) {
3661
3664
  t.width,
3662
3665
  t.height
3663
3666
  );
3664
- const i = n.getImageData(0, 0, t.width, t.height), o = r ? Uu(r, t.width * t.height) : void 0, a = Math.max(Bu(i, o), 0);
3665
- return Math.min(Math.max(a / Ou, 0), 1);
3667
+ const i = n.getImageData(0, 0, t.width, t.height), o = r ? Du(r, t.width * t.height) : void 0, a = Math.max(Uu(i, o), 0);
3668
+ return Math.min(Math.max(a / Ru, 0), 1);
3666
3669
  }
3667
- function Bu(e, t) {
3670
+ function Uu(e, t) {
3668
3671
  const { data: r, width: s, height: n } = e, i = s * n, o = t && t.length >= i ? t : new Float32Array(i);
3669
3672
  for (let l = 0; l < i; l++) {
3670
3673
  const d = l * 4;
@@ -3685,15 +3688,15 @@ function Bu(e, t) {
3685
3688
  const h = c / a;
3686
3689
  return Math.max(u / a - h * h, 0);
3687
3690
  }
3688
- function Uu(e, t) {
3689
- const r = ro.get(e);
3691
+ function Du(e, t) {
3692
+ const r = so.get(e);
3690
3693
  if (r && r.length >= t)
3691
3694
  return r;
3692
- const s = r ? Math.max(t, Math.ceil(r.length * Ru)) : t, n = new Float32Array(s);
3693
- return ro.set(e, n), n;
3695
+ const s = r ? Math.max(t, Math.ceil(r.length * Iu)) : t, n = new Float32Array(s);
3696
+ return so.set(e, n), n;
3694
3697
  }
3695
- const Sc = 0.1, Tc = 0.42, As = 0.24, Ws = 0.14, Ks = 0.18, so = 0.12, no = 0.2, Du = 0.95, ju = 0.2, Vu = 1, Gu = 0, Hu = 1, zu = 2;
3696
- function Cc(e) {
3698
+ const Tc = 0.1, Cc = 0.42, Es = 0.24, Ks = 0.14, qs = 0.18, no = 0.12, io = 0.2, ju = 0.95, Vu = 0.2, Gu = 1, Hu = 0, zu = 1, Wu = 2;
3699
+ function Lc(e) {
3697
3700
  var b;
3698
3701
  const { detections: t, width: r, height: s, sharpnessScore: n, resolveSharpnessScore: i } = e;
3699
3702
  if (t.length === 0)
@@ -3734,28 +3737,28 @@ function Cc(e) {
3734
3737
  message: "Face detected, but the frame is unclear. Hold still and try again."
3735
3738
  };
3736
3739
  const c = a.width * a.height / (r * s);
3737
- if (c < Sc)
3740
+ if (c < Tc)
3738
3741
  return Je(o.confidence, "too-far", "Move closer to the camera.");
3739
- if (c > Tc)
3742
+ if (c > Cc)
3740
3743
  return Je(o.confidence, "too-close", "Move slightly farther away.");
3741
3744
  const u = (a.originX + a.width / 2) / r, h = (a.originY + a.height / 2) / s;
3742
- if (u < 0.5 - Ws)
3745
+ if (u < 0.5 - Ks)
3743
3746
  return Je(o.confidence, "move-left", "Move your face a little to the left.");
3744
- if (u > 0.5 + Ws)
3747
+ if (u > 0.5 + Ks)
3745
3748
  return Je(o.confidence, "move-right", "Move your face a little to the right.");
3746
- if (h < 0.5 - Ks)
3749
+ if (h < 0.5 - qs)
3747
3750
  return Je(o.confidence, "move-down", "Move your face slightly down.");
3748
- if (h > 0.5 + Ks)
3751
+ if (h > 0.5 + qs)
3749
3752
  return Je(o.confidence, "move-up", "Move your face slightly up.");
3750
- const l = Wu(o.keypoints);
3753
+ const l = Ku(o.keypoints);
3751
3754
  if (l)
3752
3755
  return Je(o.confidence, l.feedback, l.message);
3753
- const d = n ?? (i == null ? void 0 : i()) ?? Vu;
3754
- return d < Iu ? {
3756
+ const d = n ?? (i == null ? void 0 : i()) ?? Gu;
3757
+ return d < Nu ? {
3755
3758
  hasFace: !0,
3756
3759
  faceCount: 1,
3757
3760
  confidence: o.confidence,
3758
- captureScore: io(o.confidence, u, h, c, d),
3761
+ captureScore: oo(o.confidence, u, h, c, d),
3759
3762
  sharpnessScore: d,
3760
3763
  isCentered: !0,
3761
3764
  passesQualityChecks: !1,
@@ -3765,7 +3768,7 @@ function Cc(e) {
3765
3768
  hasFace: !0,
3766
3769
  faceCount: 1,
3767
3770
  confidence: o.confidence,
3768
- captureScore: io(o.confidence, u, h, c, d),
3771
+ captureScore: oo(o.confidence, u, h, c, d),
3769
3772
  sharpnessScore: d,
3770
3773
  isCentered: !0,
3771
3774
  passesQualityChecks: !0,
@@ -3773,40 +3776,40 @@ function Cc(e) {
3773
3776
  message: "Hold still. Capturing automatically..."
3774
3777
  };
3775
3778
  }
3776
- function Wu(e) {
3777
- const t = e[Gu], r = e[Hu], s = e[zu];
3779
+ function Ku(e) {
3780
+ const t = e[Hu], r = e[zu], s = e[Wu];
3778
3781
  if (!t || !r || !s)
3779
3782
  return null;
3780
3783
  const n = Math.abs(r.x - t.x);
3781
3784
  if (n === 0)
3782
3785
  return null;
3783
3786
  const i = (t.x + r.x) / 2, o = (s.x - i) / n;
3784
- if (o <= -so)
3787
+ if (o <= -no)
3785
3788
  return {
3786
3789
  feedback: "turn-left",
3787
3790
  message: "Turn slightly left so your face points at the camera."
3788
3791
  };
3789
- if (o >= so)
3792
+ if (o >= no)
3790
3793
  return {
3791
3794
  feedback: "turn-right",
3792
3795
  message: "Turn slightly right so your face points at the camera."
3793
3796
  };
3794
3797
  const a = (t.y - r.y) / n;
3795
- if (a >= no)
3798
+ if (a >= io)
3796
3799
  return {
3797
3800
  feedback: "tilt-left",
3798
3801
  message: "Straighten your head — it is tilting to the right."
3799
3802
  };
3800
- if (a <= -no)
3803
+ if (a <= -io)
3801
3804
  return {
3802
3805
  feedback: "tilt-right",
3803
3806
  message: "Straighten your head — it is tilting to the left."
3804
3807
  };
3805
3808
  const c = (t.y + r.y) / 2, u = (s.y - c) / n;
3806
- return u >= Du ? {
3809
+ return u >= ju ? {
3807
3810
  feedback: "look-up",
3808
3811
  message: "Raise your chin slightly so your face points at the camera."
3809
- } : u <= ju ? {
3812
+ } : u <= Vu ? {
3810
3813
  feedback: "look-down",
3811
3814
  message: "Lower your chin slightly so your face points at the camera."
3812
3815
  } : null;
@@ -3824,52 +3827,52 @@ function Je(e, t, r) {
3824
3827
  message: r
3825
3828
  };
3826
3829
  }
3827
- function io(e, t, r, s, n) {
3828
- const i = Math.abs(t - 0.5) / Ws, o = Math.abs(r - 0.5) / Ks, a = 1 - Math.min((i + o) / 2, 1), c = Math.max(
3829
- Math.abs(As - Sc),
3830
- Math.abs(Tc - As)
3831
- ), u = 1 - Math.min(Math.abs(s - As) / c, 1);
3830
+ function oo(e, t, r, s, n) {
3831
+ const i = Math.abs(t - 0.5) / Ks, o = Math.abs(r - 0.5) / qs, a = 1 - Math.min((i + o) / 2, 1), c = Math.max(
3832
+ Math.abs(Es - Tc),
3833
+ Math.abs(Cc - Es)
3834
+ ), u = 1 - Math.min(Math.abs(s - Es) / c, 1);
3832
3835
  return Number(
3833
3836
  (e * 0.4 + a * 0.25 + u * 0.1 + n * 0.25).toFixed(4)
3834
3837
  );
3835
3838
  }
3836
- const Ku = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision/wasm", qu = "https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite", Xu = 0.7;
3837
- let oo = null, ao = null, co = null;
3838
- function Yu() {
3839
- return oo ?? (oo = et.forVisionTasks(Ku)), oo;
3840
- }
3839
+ const qu = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision/wasm", Xu = "https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite", Yu = 0.7;
3840
+ let ao = null, co = null, ho = null;
3841
3841
  function Qu() {
3842
- return ao ?? (ao = Pc("IMAGE")), ao;
3842
+ return ao ?? (ao = et.forVisionTasks(qu)), ao;
3843
3843
  }
3844
- function Lc() {
3845
- return co ?? (co = Pc("VIDEO")), co;
3844
+ function Ju() {
3845
+ return co ?? (co = Mc("IMAGE")), co;
3846
3846
  }
3847
- async function Pc(e) {
3848
- const t = await Yu();
3847
+ function Pc() {
3848
+ return ho ?? (ho = Mc("VIDEO")), ho;
3849
+ }
3850
+ async function Mc(e) {
3851
+ const t = await Qu();
3849
3852
  return ie.createFromOptions(t, {
3850
- baseOptions: { modelAssetPath: qu },
3853
+ baseOptions: { modelAssetPath: Xu },
3851
3854
  runningMode: e,
3852
- minDetectionConfidence: Xu
3855
+ minDetectionConfidence: Yu
3853
3856
  });
3854
3857
  }
3855
- async function Mc(e) {
3856
- const r = (await Qu()).detect(e);
3857
- return Cc({
3858
- detections: xc(r.detections),
3858
+ async function xc(e) {
3859
+ const r = (await Ju()).detect(e);
3860
+ return Lc({
3861
+ detections: Fc(r.detections),
3859
3862
  width: e.naturalWidth,
3860
3863
  height: e.naturalHeight
3861
3864
  });
3862
3865
  }
3863
- let ho = null;
3864
- async function Ju(e, t) {
3865
- const s = (await Lc()).detectForVideo(e, t), n = xc(s.detections);
3866
- return Cc({
3866
+ let uo = null;
3867
+ async function Zu(e, t) {
3868
+ const s = (await Pc()).detectForVideo(e, t), n = Fc(s.detections);
3869
+ return Lc({
3867
3870
  detections: n,
3868
3871
  width: e.videoWidth,
3869
3872
  height: e.videoHeight,
3870
3873
  resolveSharpnessScore: n.length === 1 && n[0].boundingBox ? () => {
3871
3874
  const i = n[0].boundingBox;
3872
- return ho ?? (ho = document.createElement("canvas")), Nu(
3875
+ return uo ?? (uo = document.createElement("canvas")), Bu(
3873
3876
  e,
3874
3877
  {
3875
3878
  x: i.originX,
@@ -3877,12 +3880,12 @@ async function Ju(e, t) {
3877
3880
  width: i.width,
3878
3881
  height: i.height
3879
3882
  },
3880
- ho
3883
+ uo
3881
3884
  );
3882
3885
  } : void 0
3883
3886
  });
3884
3887
  }
3885
- function xc(e) {
3888
+ function Fc(e) {
3886
3889
  return e.map((t) => {
3887
3890
  var r;
3888
3891
  return {
@@ -3900,47 +3903,47 @@ function xc(e) {
3900
3903
  };
3901
3904
  });
3902
3905
  }
3903
- const Fc = "Capturing Face", $c = "Accept", Oc = "Take photo", Rc = "Retake", Ic = "Try again", qs = "Start a capture to see camera guidance here.";
3904
- function Nc(e, t) {
3906
+ const $c = "Capturing Face", Oc = "Accept", Rc = "Take photo", Ic = "Retake", Nc = "Try again", Xs = "Start a capture to see camera guidance here.";
3907
+ function Bc(e, t) {
3905
3908
  return {
3906
3909
  capturePreference: (e == null ? void 0 : e.capturePreference) ?? "auto-preferred",
3907
3910
  allowMediaPickerFallback: (e == null ? void 0 : e.allowMediaPickerFallback) ?? !0,
3908
3911
  component: t,
3909
- label: Fc,
3910
- idleFeedbackLabel: qs,
3911
- confirmLabel: $c,
3912
- captureLabel: Oc,
3913
- retakeLabel: Rc,
3914
- retryLabel: Ic
3912
+ label: $c,
3913
+ idleFeedbackLabel: Xs,
3914
+ confirmLabel: Oc,
3915
+ captureLabel: Rc,
3916
+ retakeLabel: Ic,
3917
+ retryLabel: Nc
3915
3918
  };
3916
3919
  }
3917
- async function Zu(e) {
3920
+ async function el(e) {
3918
3921
  var n, i;
3919
3922
  const t = /WhatsApp/i.test(e.userAgent ?? navigator.userAgent), r = e.hasMediaDevices ?? typeof ((n = navigator.mediaDevices) == null ? void 0 : n.getUserMedia) == "function";
3920
3923
  let s = !1;
3921
- return !t && r && e.capturePreference === "auto-preferred" && (s = await (((i = e.probeAutoCapture) == null ? void 0 : i.call(e)) ?? tl())), {
3924
+ return !t && r && e.capturePreference === "auto-preferred" && (s = await (((i = e.probeAutoCapture) == null ? void 0 : i.call(e)) ?? rl())), {
3922
3925
  prefersMediaPicker: t,
3923
3926
  supportsMediaDevices: r,
3924
3927
  supportsAutoCapture: s
3925
3928
  };
3926
3929
  }
3927
- function el(e, t) {
3930
+ function tl(e, t) {
3928
3931
  const r = [];
3929
3932
  return t.supportsMediaDevices && (e.capturePreference === "auto-preferred" && t.supportsAutoCapture && r.push("auto-camera"), r.push("manual-camera")), e.allowMediaPickerFallback && (r.length === 0 || r[r.length - 1] !== "media-picker") && r.push("media-picker"), {
3930
3933
  steps: r,
3931
3934
  capabilities: t
3932
3935
  };
3933
3936
  }
3934
- async function tl() {
3937
+ async function rl() {
3935
3938
  if (typeof window.requestAnimationFrame != "function" || typeof window.cancelAnimationFrame != "function" || !document.createElement("canvas").getContext("2d"))
3936
3939
  return !1;
3937
3940
  try {
3938
- return await Lc(), !0;
3941
+ return await Pc(), !0;
3939
3942
  } catch {
3940
3943
  return !1;
3941
3944
  }
3942
3945
  }
3943
- class Xs extends Error {
3946
+ class Ys extends Error {
3944
3947
  constructor(t, r) {
3945
3948
  super(t), this.name = "CameraAccessError", (r == null ? void 0 : r.cause) !== void 0 && Object.defineProperty(this, "cause", {
3946
3949
  configurable: !0,
@@ -3948,20 +3951,20 @@ class Xs extends Error {
3948
3951
  });
3949
3952
  }
3950
3953
  }
3951
- async function rl() {
3954
+ async function sl() {
3952
3955
  var e;
3953
3956
  if (!((e = navigator.mediaDevices) != null && e.getUserMedia))
3954
- throw new Xs("In-browser camera capture is not supported in this browser.");
3957
+ throw new Ys("In-browser camera capture is not supported in this browser.");
3955
3958
  try {
3956
3959
  return await navigator.mediaDevices.getUserMedia({
3957
3960
  video: { facingMode: { ideal: "user" } },
3958
3961
  audio: !1
3959
3962
  });
3960
3963
  } catch (t) {
3961
- throw new Xs(ol(t), { cause: t });
3964
+ throw new Ys(al(t), { cause: t });
3962
3965
  }
3963
3966
  }
3964
- async function sl(e, t = "Failed to start the camera preview.") {
3967
+ async function nl(e, t = "Failed to start the camera preview.") {
3965
3968
  if (e.readyState >= HTMLMediaElement.HAVE_CURRENT_DATA) {
3966
3969
  await e.play();
3967
3970
  return;
@@ -3977,11 +3980,11 @@ async function sl(e, t = "Failed to start the camera preview.") {
3977
3980
  e.addEventListener("loadedmetadata", n, { once: !0 }), e.addEventListener("error", i, { once: !0 });
3978
3981
  }), await e.play();
3979
3982
  }
3980
- function nl(e) {
3983
+ function il(e) {
3981
3984
  e.play().catch(() => {
3982
3985
  });
3983
3986
  }
3984
- function il() {
3987
+ function ol() {
3985
3988
  const e = document.createElement("canvas"), t = document.createElement("canvas");
3986
3989
  let r = !1;
3987
3990
  const s = (i) => {
@@ -3996,7 +3999,7 @@ function il() {
3996
3999
  };
3997
4000
  return {
3998
4001
  async captureBlob(i) {
3999
- return n(i, e), uo(e);
4002
+ return n(i, e), lo(e);
4000
4003
  },
4001
4004
  captureWorkingFrame(i) {
4002
4005
  n(i, e);
@@ -4015,14 +4018,14 @@ function il() {
4015
4018
  async storedBestFrameToBlob() {
4016
4019
  if (!r)
4017
4020
  throw new Error("No best frame is available.");
4018
- return uo(t);
4021
+ return lo(t);
4019
4022
  },
4020
4023
  resetStoredBestFrame() {
4021
4024
  r = !1, t.width = 0, t.height = 0;
4022
4025
  }
4023
4026
  };
4024
4027
  }
4025
- function Bc() {
4028
+ function Uc() {
4026
4029
  return new Promise((e) => {
4027
4030
  const t = document.createElement("input");
4028
4031
  t.type = "file", t.accept = "image/*", t.capture = "user", t.style.display = "none", t.addEventListener("change", () => {
@@ -4043,7 +4046,7 @@ function Bc() {
4043
4046
  document.body.appendChild(t), t.click();
4044
4047
  });
4045
4048
  }
4046
- function Uc(e) {
4049
+ function Dc(e) {
4047
4050
  return new Promise((t, r) => {
4048
4051
  const s = URL.createObjectURL(e), n = new Image();
4049
4052
  n.onload = () => {
@@ -4053,13 +4056,13 @@ function Uc(e) {
4053
4056
  }, n.src = s;
4054
4057
  });
4055
4058
  }
4056
- function Kl(e) {
4059
+ function ql(e) {
4057
4060
  return new Promise((t, r) => {
4058
4061
  const s = new FileReader();
4059
4062
  s.onload = () => t(s.result), s.onerror = () => r(new Error("Failed to read image")), s.readAsDataURL(e);
4060
4063
  });
4061
4064
  }
4062
- function ol(e) {
4065
+ function al(e) {
4063
4066
  if (e instanceof DOMException)
4064
4067
  switch (e.name) {
4065
4068
  case "NotAllowedError":
@@ -4074,7 +4077,7 @@ function ol(e) {
4074
4077
  }
4075
4078
  return e instanceof Error ? e.message : "Failed to access the camera.";
4076
4079
  }
4077
- function uo(e) {
4080
+ function lo(e) {
4078
4081
  return new Promise((t, r) => {
4079
4082
  e.toBlob((s) => {
4080
4083
  if (!s) {
@@ -4085,22 +4088,22 @@ function uo(e) {
4085
4088
  }, "image/jpeg", 0.92);
4086
4089
  });
4087
4090
  }
4088
- const al = "2147483647";
4089
- async function cl(e, t) {
4091
+ const cl = "2147483647";
4092
+ async function hl(e, t) {
4090
4093
  var n;
4091
- const r = Nc(e, t);
4094
+ const r = Bc(e, t);
4092
4095
  if (t)
4093
- return hl(r);
4096
+ return ul(r);
4094
4097
  if (!(typeof ((n = navigator.mediaDevices) == null ? void 0 : n.getUserMedia) == "function")) {
4095
4098
  if (r.allowMediaPickerFallback)
4096
- return Bc();
4099
+ return Uc();
4097
4100
  throw new Error("No supported capture strategy is available in this environment.");
4098
4101
  }
4099
- return ll(r);
4102
+ return dl(r);
4100
4103
  }
4101
- async function hl(e) {
4102
- await Promise.resolve().then(() => Wc);
4103
- const t = ul(e.component);
4104
+ async function ul(e) {
4105
+ await Promise.resolve().then(() => Kc);
4106
+ const t = ll(e.component);
4104
4107
  return t.embedded = !0, t.capturePreference = e.capturePreference, t.allowMediaPickerFallback = e.allowMediaPickerFallback, new Promise((r, s) => {
4105
4108
  const n = () => {
4106
4109
  t.removeEventListener("simface-captured", i), t.removeEventListener("simface-cancelled", o), t.removeEventListener("simface-error", a), t.active = !1;
@@ -4116,21 +4119,21 @@ async function hl(e) {
4116
4119
  });
4117
4120
  });
4118
4121
  }
4119
- function ul(e) {
4122
+ function ll(e) {
4120
4123
  if (!e)
4121
4124
  throw new Error("Embedded capture requires a simface-capture component.");
4122
4125
  if (e.tagName.toLowerCase() !== "simface-capture")
4123
4126
  throw new Error("Embedded capture requires a simface-capture component.");
4124
4127
  return e;
4125
4128
  }
4126
- async function ll(e) {
4127
- return await Promise.resolve().then(() => Wc), new Promise((t, r) => {
4129
+ async function dl(e) {
4130
+ return await Promise.resolve().then(() => Kc), new Promise((t, r) => {
4128
4131
  let s = !1, n = null;
4129
4132
  const i = document.createElement("div");
4130
- i.setAttribute("data-simface-camera-overlay", "true"), i.setAttribute("role", "dialog"), i.setAttribute("aria-modal", "true"), dl(i, {
4133
+ i.setAttribute("data-simface-camera-overlay", "true"), i.setAttribute("role", "dialog"), i.setAttribute("aria-modal", "true"), fl(i, {
4131
4134
  position: "fixed",
4132
4135
  inset: "0",
4133
- zIndex: al,
4136
+ zIndex: cl,
4134
4137
  display: "flex",
4135
4138
  alignItems: "center",
4136
4139
  justifyContent: "center",
@@ -4164,7 +4167,7 @@ async function ll(e) {
4164
4167
  });
4165
4168
  });
4166
4169
  }
4167
- function dl(e, t) {
4170
+ function fl(e, t) {
4168
4171
  Object.assign(e.style, t);
4169
4172
  }
4170
4173
  /**
@@ -4172,18 +4175,18 @@ function dl(e, t) {
4172
4175
  * Copyright 2019 Google LLC
4173
4176
  * SPDX-License-Identifier: BSD-3-Clause
4174
4177
  */
4175
- const xr = globalThis, qn = xr.ShadowRoot && (xr.ShadyCSS === void 0 || xr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Xn = Symbol(), lo = /* @__PURE__ */ new WeakMap();
4176
- let Dc = class {
4178
+ const xr = globalThis, Xn = xr.ShadowRoot && (xr.ShadyCSS === void 0 || xr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Yn = Symbol(), fo = /* @__PURE__ */ new WeakMap();
4179
+ let jc = class {
4177
4180
  constructor(t, r, s) {
4178
- if (this._$cssResult$ = !0, s !== Xn) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
4181
+ if (this._$cssResult$ = !0, s !== Yn) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
4179
4182
  this.cssText = t, this.t = r;
4180
4183
  }
4181
4184
  get styleSheet() {
4182
4185
  let t = this.o;
4183
4186
  const r = this.t;
4184
- if (qn && t === void 0) {
4187
+ if (Xn && t === void 0) {
4185
4188
  const s = r !== void 0 && r.length === 1;
4186
- s && (t = lo.get(r)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && lo.set(r, t));
4189
+ s && (t = fo.get(r)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && fo.set(r, t));
4187
4190
  }
4188
4191
  return t;
4189
4192
  }
@@ -4191,33 +4194,33 @@ let Dc = class {
4191
4194
  return this.cssText;
4192
4195
  }
4193
4196
  };
4194
- const fl = (e) => new Dc(typeof e == "string" ? e : e + "", void 0, Xn), pl = (e, ...t) => {
4197
+ const pl = (e) => new jc(typeof e == "string" ? e : e + "", void 0, Yn), gl = (e, ...t) => {
4195
4198
  const r = e.length === 1 ? e[0] : t.reduce((s, n, i) => s + ((o) => {
4196
4199
  if (o._$cssResult$ === !0) return o.cssText;
4197
4200
  if (typeof o == "number") return o;
4198
4201
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
4199
4202
  })(n) + e[i + 1], e[0]);
4200
- return new Dc(r, e, Xn);
4201
- }, gl = (e, t) => {
4202
- if (qn) e.adoptedStyleSheets = t.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
4203
+ return new jc(r, e, Yn);
4204
+ }, ml = (e, t) => {
4205
+ if (Xn) e.adoptedStyleSheets = t.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
4203
4206
  else for (const r of t) {
4204
4207
  const s = document.createElement("style"), n = xr.litNonce;
4205
4208
  n !== void 0 && s.setAttribute("nonce", n), s.textContent = r.cssText, e.appendChild(s);
4206
4209
  }
4207
- }, fo = qn ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
4210
+ }, po = Xn ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
4208
4211
  let r = "";
4209
4212
  for (const s of t.cssRules) r += s.cssText;
4210
- return fl(r);
4213
+ return pl(r);
4211
4214
  })(e) : e;
4212
4215
  /**
4213
4216
  * @license
4214
4217
  * Copyright 2017 Google LLC
4215
4218
  * SPDX-License-Identifier: BSD-3-Clause
4216
4219
  */
4217
- const { is: ml, defineProperty: yl, getOwnPropertyDescriptor: bl, getOwnPropertyNames: vl, getOwnPropertySymbols: _l, getPrototypeOf: wl } = Object, We = globalThis, po = We.trustedTypes, Al = po ? po.emptyScript : "", Es = We.reactiveElementPolyfillSupport, ir = (e, t) => e, Ur = { toAttribute(e, t) {
4220
+ const { is: yl, defineProperty: bl, getOwnPropertyDescriptor: vl, getOwnPropertyNames: _l, getOwnPropertySymbols: wl, getPrototypeOf: Al } = Object, We = globalThis, go = We.trustedTypes, El = go ? go.emptyScript : "", ks = We.reactiveElementPolyfillSupport, ir = (e, t) => e, Ur = { toAttribute(e, t) {
4218
4221
  switch (t) {
4219
4222
  case Boolean:
4220
- e = e ? Al : null;
4223
+ e = e ? El : null;
4221
4224
  break;
4222
4225
  case Object:
4223
4226
  case Array:
@@ -4242,7 +4245,7 @@ const { is: ml, defineProperty: yl, getOwnPropertyDescriptor: bl, getOwnProperty
4242
4245
  }
4243
4246
  }
4244
4247
  return r;
4245
- } }, Yn = (e, t) => !ml(e, t), go = { attribute: !0, type: String, converter: Ur, reflect: !1, useDefault: !1, hasChanged: Yn };
4248
+ } }, Qn = (e, t) => !yl(e, t), mo = { attribute: !0, type: String, converter: Ur, reflect: !1, useDefault: !1, hasChanged: Qn };
4246
4249
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), We.litPropertyMetadata ?? (We.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
4247
4250
  let _t = class extends HTMLElement {
4248
4251
  static addInitializer(t) {
@@ -4251,14 +4254,14 @@ let _t = class extends HTMLElement {
4251
4254
  static get observedAttributes() {
4252
4255
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
4253
4256
  }
4254
- static createProperty(t, r = go) {
4257
+ static createProperty(t, r = mo) {
4255
4258
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(t, r), !r.noAccessor) {
4256
4259
  const s = Symbol(), n = this.getPropertyDescriptor(t, s, r);
4257
- n !== void 0 && yl(this.prototype, t, n);
4260
+ n !== void 0 && bl(this.prototype, t, n);
4258
4261
  }
4259
4262
  }
4260
4263
  static getPropertyDescriptor(t, r, s) {
4261
- const { get: n, set: i } = bl(this.prototype, t) ?? { get() {
4264
+ const { get: n, set: i } = vl(this.prototype, t) ?? { get() {
4262
4265
  return this[r];
4263
4266
  }, set(o) {
4264
4267
  this[r] = o;
@@ -4269,17 +4272,17 @@ let _t = class extends HTMLElement {
4269
4272
  }, configurable: !0, enumerable: !0 };
4270
4273
  }
4271
4274
  static getPropertyOptions(t) {
4272
- return this.elementProperties.get(t) ?? go;
4275
+ return this.elementProperties.get(t) ?? mo;
4273
4276
  }
4274
4277
  static _$Ei() {
4275
4278
  if (this.hasOwnProperty(ir("elementProperties"))) return;
4276
- const t = wl(this);
4279
+ const t = Al(this);
4277
4280
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
4278
4281
  }
4279
4282
  static finalize() {
4280
4283
  if (this.hasOwnProperty(ir("finalized"))) return;
4281
4284
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ir("properties"))) {
4282
- const r = this.properties, s = [...vl(r), ..._l(r)];
4285
+ const r = this.properties, s = [..._l(r), ...wl(r)];
4283
4286
  for (const n of s) this.createProperty(n, r[n]);
4284
4287
  }
4285
4288
  const t = this[Symbol.metadata];
@@ -4298,8 +4301,8 @@ let _t = class extends HTMLElement {
4298
4301
  const r = [];
4299
4302
  if (Array.isArray(t)) {
4300
4303
  const s = new Set(t.flat(1 / 0).reverse());
4301
- for (const n of s) r.unshift(fo(n));
4302
- } else t !== void 0 && r.push(fo(t));
4304
+ for (const n of s) r.unshift(po(n));
4305
+ } else t !== void 0 && r.push(po(t));
4303
4306
  return r;
4304
4307
  }
4305
4308
  static _$Eu(t, r) {
@@ -4328,7 +4331,7 @@ let _t = class extends HTMLElement {
4328
4331
  }
4329
4332
  createRenderRoot() {
4330
4333
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
4331
- return gl(t, this.constructor.elementStyles), t;
4334
+ return ml(t, this.constructor.elementStyles), t;
4332
4335
  }
4333
4336
  connectedCallback() {
4334
4337
  var t;
@@ -4371,7 +4374,7 @@ let _t = class extends HTMLElement {
4371
4374
  var o;
4372
4375
  if (t !== void 0) {
4373
4376
  const a = this.constructor;
4374
- if (n === !1 && (i = this[t]), s ?? (s = a.getPropertyOptions(t)), !((s.hasChanged ?? Yn)(i, r) || s.useDefault && s.reflect && i === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(a._$Eu(t, s)))) return;
4377
+ if (n === !1 && (i = this[t]), s ?? (s = a.getPropertyOptions(t)), !((s.hasChanged ?? Qn)(i, r) || s.useDefault && s.reflect && i === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(a._$Eu(t, s)))) return;
4375
4378
  this.C(t, r, s);
4376
4379
  }
4377
4380
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -4447,48 +4450,48 @@ let _t = class extends HTMLElement {
4447
4450
  firstUpdated(t) {
4448
4451
  }
4449
4452
  };
4450
- _t.elementStyles = [], _t.shadowRootOptions = { mode: "open" }, _t[ir("elementProperties")] = /* @__PURE__ */ new Map(), _t[ir("finalized")] = /* @__PURE__ */ new Map(), Es == null || Es({ ReactiveElement: _t }), (We.reactiveElementVersions ?? (We.reactiveElementVersions = [])).push("2.1.2");
4453
+ _t.elementStyles = [], _t.shadowRootOptions = { mode: "open" }, _t[ir("elementProperties")] = /* @__PURE__ */ new Map(), _t[ir("finalized")] = /* @__PURE__ */ new Map(), ks == null || ks({ ReactiveElement: _t }), (We.reactiveElementVersions ?? (We.reactiveElementVersions = [])).push("2.1.2");
4451
4454
  /**
4452
4455
  * @license
4453
4456
  * Copyright 2017 Google LLC
4454
4457
  * SPDX-License-Identifier: BSD-3-Clause
4455
4458
  */
4456
- const or = globalThis, mo = (e) => e, Dr = or.trustedTypes, yo = Dr ? Dr.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, jc = "$lit$", He = `lit$${Math.random().toFixed(9).slice(2)}$`, Vc = "?" + He, El = `<${Vc}>`, ft = document, fr = () => ft.createComment(""), pr = (e) => e === null || typeof e != "object" && typeof e != "function", Qn = Array.isArray, kl = (e) => Qn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ks = `[
4457
- \f\r]`, Zt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, bo = /-->/g, vo = />/g, Ze = RegExp(`>|${ks}(?:([^\\s"'>=/]+)(${ks}*=${ks}*(?:[^
4458
- \f\r"'\`<>=]|("|')|))|$)`, "g"), _o = /'/g, wo = /"/g, Gc = /^(?:script|style|textarea|title)$/i, Sl = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), $e = Sl(1), It = Symbol.for("lit-noChange"), K = Symbol.for("lit-nothing"), Ao = /* @__PURE__ */ new WeakMap(), st = ft.createTreeWalker(ft, 129);
4459
- function Hc(e, t) {
4460
- if (!Qn(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
4461
- return yo !== void 0 ? yo.createHTML(t) : t;
4462
- }
4463
- const Tl = (e, t) => {
4459
+ const or = globalThis, yo = (e) => e, Dr = or.trustedTypes, bo = Dr ? Dr.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Vc = "$lit$", He = `lit$${Math.random().toFixed(9).slice(2)}$`, Gc = "?" + He, kl = `<${Gc}>`, ft = document, fr = () => ft.createComment(""), pr = (e) => e === null || typeof e != "object" && typeof e != "function", Jn = Array.isArray, Sl = (e) => Jn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", Ss = `[
4460
+ \f\r]`, Zt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, vo = /-->/g, _o = />/g, Ze = RegExp(`>|${Ss}(?:([^\\s"'>=/]+)(${Ss}*=${Ss}*(?:[^
4461
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), wo = /'/g, Ao = /"/g, Hc = /^(?:script|style|textarea|title)$/i, Tl = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), $e = Tl(1), It = Symbol.for("lit-noChange"), K = Symbol.for("lit-nothing"), Eo = /* @__PURE__ */ new WeakMap(), st = ft.createTreeWalker(ft, 129);
4462
+ function zc(e, t) {
4463
+ if (!Jn(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
4464
+ return bo !== void 0 ? bo.createHTML(t) : t;
4465
+ }
4466
+ const Cl = (e, t) => {
4464
4467
  const r = e.length - 1, s = [];
4465
4468
  let n, i = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = Zt;
4466
4469
  for (let a = 0; a < r; a++) {
4467
4470
  const c = e[a];
4468
4471
  let u, h, l = -1, d = 0;
4469
- for (; d < c.length && (o.lastIndex = d, h = o.exec(c), h !== null); ) d = o.lastIndex, o === Zt ? h[1] === "!--" ? o = bo : h[1] !== void 0 ? o = vo : h[2] !== void 0 ? (Gc.test(h[2]) && (n = RegExp("</" + h[2], "g")), o = Ze) : h[3] !== void 0 && (o = Ze) : o === Ze ? h[0] === ">" ? (o = n ?? Zt, l = -1) : h[1] === void 0 ? l = -2 : (l = o.lastIndex - h[2].length, u = h[1], o = h[3] === void 0 ? Ze : h[3] === '"' ? wo : _o) : o === wo || o === _o ? o = Ze : o === bo || o === vo ? o = Zt : (o = Ze, n = void 0);
4472
+ for (; d < c.length && (o.lastIndex = d, h = o.exec(c), h !== null); ) d = o.lastIndex, o === Zt ? h[1] === "!--" ? o = vo : h[1] !== void 0 ? o = _o : h[2] !== void 0 ? (Hc.test(h[2]) && (n = RegExp("</" + h[2], "g")), o = Ze) : h[3] !== void 0 && (o = Ze) : o === Ze ? h[0] === ">" ? (o = n ?? Zt, l = -1) : h[1] === void 0 ? l = -2 : (l = o.lastIndex - h[2].length, u = h[1], o = h[3] === void 0 ? Ze : h[3] === '"' ? Ao : wo) : o === Ao || o === wo ? o = Ze : o === vo || o === _o ? o = Zt : (o = Ze, n = void 0);
4470
4473
  const b = o === Ze && e[a + 1].startsWith("/>") ? " " : "";
4471
- i += o === Zt ? c + El : l >= 0 ? (s.push(u), c.slice(0, l) + jc + c.slice(l) + He + b) : c + He + (l === -2 ? a : b);
4474
+ i += o === Zt ? c + kl : l >= 0 ? (s.push(u), c.slice(0, l) + Vc + c.slice(l) + He + b) : c + He + (l === -2 ? a : b);
4472
4475
  }
4473
- return [Hc(e, i + (e[r] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
4476
+ return [zc(e, i + (e[r] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
4474
4477
  };
4475
4478
  class gr {
4476
4479
  constructor({ strings: t, _$litType$: r }, s) {
4477
4480
  let n;
4478
4481
  this.parts = [];
4479
4482
  let i = 0, o = 0;
4480
- const a = t.length - 1, c = this.parts, [u, h] = Tl(t, r);
4483
+ const a = t.length - 1, c = this.parts, [u, h] = Cl(t, r);
4481
4484
  if (this.el = gr.createElement(u, s), st.currentNode = this.el.content, r === 2 || r === 3) {
4482
4485
  const l = this.el.content.firstChild;
4483
4486
  l.replaceWith(...l.childNodes);
4484
4487
  }
4485
4488
  for (; (n = st.nextNode()) !== null && c.length < a; ) {
4486
4489
  if (n.nodeType === 1) {
4487
- if (n.hasAttributes()) for (const l of n.getAttributeNames()) if (l.endsWith(jc)) {
4490
+ if (n.hasAttributes()) for (const l of n.getAttributeNames()) if (l.endsWith(Vc)) {
4488
4491
  const d = h[o++], b = n.getAttribute(l).split(He), S = /([.?@])?(.*)/.exec(d);
4489
- c.push({ type: 1, index: i, name: S[2], strings: b, ctor: S[1] === "." ? Ll : S[1] === "?" ? Pl : S[1] === "@" ? Ml : us }), n.removeAttribute(l);
4492
+ c.push({ type: 1, index: i, name: S[2], strings: b, ctor: S[1] === "." ? Pl : S[1] === "?" ? Ml : S[1] === "@" ? xl : us }), n.removeAttribute(l);
4490
4493
  } else l.startsWith(He) && (c.push({ type: 6, index: i }), n.removeAttribute(l));
4491
- if (Gc.test(n.tagName)) {
4494
+ if (Hc.test(n.tagName)) {
4492
4495
  const l = n.textContent.split(He), d = l.length - 1;
4493
4496
  if (d > 0) {
4494
4497
  n.textContent = Dr ? Dr.emptyScript : "";
@@ -4496,7 +4499,7 @@ class gr {
4496
4499
  n.append(l[d], fr());
4497
4500
  }
4498
4501
  }
4499
- } else if (n.nodeType === 8) if (n.data === Vc) c.push({ type: 2, index: i });
4502
+ } else if (n.nodeType === 8) if (n.data === Gc) c.push({ type: 2, index: i });
4500
4503
  else {
4501
4504
  let l = -1;
4502
4505
  for (; (l = n.data.indexOf(He, l + 1)) !== -1; ) c.push({ type: 7, index: i }), l += He.length - 1;
@@ -4516,7 +4519,7 @@ function Nt(e, t, r = e, s) {
4516
4519
  const i = pr(t) ? void 0 : t._$litDirective$;
4517
4520
  return (n == null ? void 0 : n.constructor) !== i && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), i === void 0 ? n = void 0 : (n = new i(e), n._$AT(e, r, s)), s !== void 0 ? (r._$Co ?? (r._$Co = []))[s] = n : r._$Cl = n), n !== void 0 && (t = Nt(e, n._$AS(e, t.values), n, s)), t;
4518
4521
  }
4519
- class Cl {
4522
+ class Ll {
4520
4523
  constructor(t, r) {
4521
4524
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = r;
4522
4525
  }
@@ -4533,7 +4536,7 @@ class Cl {
4533
4536
  for (; c !== void 0; ) {
4534
4537
  if (o === c.index) {
4535
4538
  let u;
4536
- c.type === 2 ? u = new kr(i, i.nextSibling, this, t) : c.type === 1 ? u = new c.ctor(i, c.name, c.strings, this, t) : c.type === 6 && (u = new xl(i, this, t)), this._$AV.push(u), c = s[++a];
4539
+ c.type === 2 ? u = new kr(i, i.nextSibling, this, t) : c.type === 1 ? u = new c.ctor(i, c.name, c.strings, this, t) : c.type === 6 && (u = new Fl(i, this, t)), this._$AV.push(u), c = s[++a];
4537
4540
  }
4538
4541
  o !== (c == null ? void 0 : c.index) && (i = st.nextNode(), o++);
4539
4542
  }
@@ -4564,7 +4567,7 @@ class kr {
4564
4567
  return this._$AB;
4565
4568
  }
4566
4569
  _$AI(t, r = this) {
4567
- t = Nt(this, t, r), pr(t) ? t === K || t == null || t === "" ? (this._$AH !== K && this._$AR(), this._$AH = K) : t !== this._$AH && t !== It && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : kl(t) ? this.k(t) : this._(t);
4570
+ t = Nt(this, t, r), pr(t) ? t === K || t == null || t === "" ? (this._$AH !== K && this._$AR(), this._$AH = K) : t !== this._$AH && t !== It && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Sl(t) ? this.k(t) : this._(t);
4568
4571
  }
4569
4572
  O(t) {
4570
4573
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -4577,19 +4580,19 @@ class kr {
4577
4580
  }
4578
4581
  $(t) {
4579
4582
  var i;
4580
- const { values: r, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = gr.createElement(Hc(s.h, s.h[0]), this.options)), s);
4583
+ const { values: r, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = gr.createElement(zc(s.h, s.h[0]), this.options)), s);
4581
4584
  if (((i = this._$AH) == null ? void 0 : i._$AD) === n) this._$AH.p(r);
4582
4585
  else {
4583
- const o = new Cl(n, this), a = o.u(this.options);
4586
+ const o = new Ll(n, this), a = o.u(this.options);
4584
4587
  o.p(r), this.T(a), this._$AH = o;
4585
4588
  }
4586
4589
  }
4587
4590
  _$AC(t) {
4588
- let r = Ao.get(t.strings);
4589
- return r === void 0 && Ao.set(t.strings, r = new gr(t)), r;
4591
+ let r = Eo.get(t.strings);
4592
+ return r === void 0 && Eo.set(t.strings, r = new gr(t)), r;
4590
4593
  }
4591
4594
  k(t) {
4592
- Qn(this._$AH) || (this._$AH = [], this._$AR());
4595
+ Jn(this._$AH) || (this._$AH = [], this._$AR());
4593
4596
  const r = this._$AH;
4594
4597
  let s, n = 0;
4595
4598
  for (const i of t) n === r.length ? r.push(s = new kr(this.O(fr()), this.O(fr()), this, this.options)) : s = r[n], s._$AI(i), n++;
@@ -4598,8 +4601,8 @@ class kr {
4598
4601
  _$AR(t = this._$AA.nextSibling, r) {
4599
4602
  var s;
4600
4603
  for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, r); t !== this._$AB; ) {
4601
- const n = mo(t).nextSibling;
4602
- mo(t).remove(), t = n;
4604
+ const n = yo(t).nextSibling;
4605
+ yo(t).remove(), t = n;
4603
4606
  }
4604
4607
  }
4605
4608
  setConnected(t) {
@@ -4632,7 +4635,7 @@ class us {
4632
4635
  t === K ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
4633
4636
  }
4634
4637
  }
4635
- class Ll extends us {
4638
+ class Pl extends us {
4636
4639
  constructor() {
4637
4640
  super(...arguments), this.type = 3;
4638
4641
  }
@@ -4640,7 +4643,7 @@ class Ll extends us {
4640
4643
  this.element[this.name] = t === K ? void 0 : t;
4641
4644
  }
4642
4645
  }
4643
- class Pl extends us {
4646
+ class Ml extends us {
4644
4647
  constructor() {
4645
4648
  super(...arguments), this.type = 4;
4646
4649
  }
@@ -4648,7 +4651,7 @@ class Pl extends us {
4648
4651
  this.element.toggleAttribute(this.name, !!t && t !== K);
4649
4652
  }
4650
4653
  }
4651
- class Ml extends us {
4654
+ class xl extends us {
4652
4655
  constructor(t, r, s, n, i) {
4653
4656
  super(t, r, s, n, i), this.type = 5;
4654
4657
  }
@@ -4662,7 +4665,7 @@ class Ml extends us {
4662
4665
  typeof this._$AH == "function" ? this._$AH.call(((r = this.options) == null ? void 0 : r.host) ?? this.element, t) : this._$AH.handleEvent(t);
4663
4666
  }
4664
4667
  }
4665
- class xl {
4668
+ class Fl {
4666
4669
  constructor(t, r, s) {
4667
4670
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = s;
4668
4671
  }
@@ -4673,9 +4676,9 @@ class xl {
4673
4676
  Nt(this, t);
4674
4677
  }
4675
4678
  }
4676
- const Ss = or.litHtmlPolyfillSupport;
4677
- Ss == null || Ss(gr, kr), (or.litHtmlVersions ?? (or.litHtmlVersions = [])).push("3.3.2");
4678
- const Fl = (e, t, r) => {
4679
+ const Ts = or.litHtmlPolyfillSupport;
4680
+ Ts == null || Ts(gr, kr), (or.litHtmlVersions ?? (or.litHtmlVersions = [])).push("3.3.2");
4681
+ const $l = (e, t, r) => {
4679
4682
  const s = (r == null ? void 0 : r.renderBefore) ?? t;
4680
4683
  let n = s._$litPart$;
4681
4684
  if (n === void 0) {
@@ -4701,7 +4704,7 @@ class ar extends _t {
4701
4704
  }
4702
4705
  update(t) {
4703
4706
  const r = this.render();
4704
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Fl(r, this.renderRoot, this.renderOptions);
4707
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = $l(r, this.renderRoot, this.renderOptions);
4705
4708
  }
4706
4709
  connectedCallback() {
4707
4710
  var t;
@@ -4715,17 +4718,17 @@ class ar extends _t {
4715
4718
  return It;
4716
4719
  }
4717
4720
  }
4718
- var Eo;
4719
- ar._$litElement$ = !0, ar.finalized = !0, (Eo = ht.litElementHydrateSupport) == null || Eo.call(ht, { LitElement: ar });
4720
- const Ts = ht.litElementPolyfillSupport;
4721
- Ts == null || Ts({ LitElement: ar });
4721
+ var ko;
4722
+ ar._$litElement$ = !0, ar.finalized = !0, (ko = ht.litElementHydrateSupport) == null || ko.call(ht, { LitElement: ar });
4723
+ const Cs = ht.litElementPolyfillSupport;
4724
+ Cs == null || Cs({ LitElement: ar });
4722
4725
  (ht.litElementVersions ?? (ht.litElementVersions = [])).push("4.2.2");
4723
4726
  /**
4724
4727
  * @license
4725
4728
  * Copyright 2017 Google LLC
4726
4729
  * SPDX-License-Identifier: BSD-3-Clause
4727
4730
  */
4728
- const $l = (e) => (t, r) => {
4731
+ const Ol = (e) => (t, r) => {
4729
4732
  r !== void 0 ? r.addInitializer(() => {
4730
4733
  customElements.define(e, t);
4731
4734
  }) : customElements.define(e, t);
@@ -4735,7 +4738,7 @@ const $l = (e) => (t, r) => {
4735
4738
  * Copyright 2017 Google LLC
4736
4739
  * SPDX-License-Identifier: BSD-3-Clause
4737
4740
  */
4738
- const Ol = { attribute: !0, type: String, converter: Ur, reflect: !1, hasChanged: Yn }, Rl = (e = Ol, t, r) => {
4741
+ const Rl = { attribute: !0, type: String, converter: Ur, reflect: !1, hasChanged: Qn }, Il = (e = Rl, t, r) => {
4739
4742
  const { kind: s, metadata: n } = r;
4740
4743
  let i = globalThis.litPropertyMetadata.get(n);
4741
4744
  if (i === void 0 && globalThis.litPropertyMetadata.set(n, i = /* @__PURE__ */ new Map()), s === "setter" && ((e = Object.create(e)).wrapped = !0), i.set(r.name, e), s === "accessor") {
@@ -4757,7 +4760,7 @@ const Ol = { attribute: !0, type: String, converter: Ur, reflect: !1, hasChanged
4757
4760
  throw Error("Unsupported decorator location: " + s);
4758
4761
  };
4759
4762
  function Ee(e) {
4760
- return (t, r) => typeof r == "object" ? Rl(e, t, r) : ((s, n, i) => {
4763
+ return (t, r) => typeof r == "object" ? Il(e, t, r) : ((s, n, i) => {
4761
4764
  const o = n.hasOwnProperty(i);
4762
4765
  return n.constructor.createProperty(i, s), o ? Object.getOwnPropertyDescriptor(n, i) : void 0;
4763
4766
  })(e, t, r);
@@ -4775,37 +4778,37 @@ function Ye(e) {
4775
4778
  * Copyright 2017 Google LLC
4776
4779
  * SPDX-License-Identifier: BSD-3-Clause
4777
4780
  */
4778
- const Il = (e, t, r) => (r.configurable = !0, r.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, r), r);
4781
+ const Nl = (e, t, r) => (r.configurable = !0, r.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, r), r);
4779
4782
  /**
4780
4783
  * @license
4781
4784
  * Copyright 2017 Google LLC
4782
4785
  * SPDX-License-Identifier: BSD-3-Clause
4783
4786
  */
4784
- function Nl(e, t) {
4787
+ function Bl(e, t) {
4785
4788
  return (r, s, n) => {
4786
4789
  const i = (o) => {
4787
4790
  var a;
4788
4791
  return ((a = o.renderRoot) == null ? void 0 : a.querySelector(e)) ?? null;
4789
4792
  };
4790
- return Il(r, s, { get() {
4793
+ return Nl(r, s, { get() {
4791
4794
  return i(this);
4792
4795
  } });
4793
4796
  };
4794
4797
  }
4795
- const Bl = 180, zc = 5e3, Ys = "M 50 17 C 60 17 68 19.5 74 25 C 79 29.5 81.5 36.5 81.5 46.5 V 54.5 C 81.5 63.5 78.5 71 71.5 76.5 C 65 81.5 57.5 84 50 84 C 42.5 84 35 81.5 28.5 76.5 C 21.5 71 18.5 63.5 18.5 54.5 V 46.5 C 18.5 36.5 21 29.5 26 25 C 32 19.5 40 17 50 17 Z", Ul = `M 0 0 H 100 V 100 H 0 Z ${Ys}`;
4796
- function Dl(e, t, r) {
4798
+ const Ul = 180, Wc = 5e3, Qs = "M 50 17 C 60 17 68 19.5 74 25 C 79 29.5 81.5 36.5 81.5 46.5 V 54.5 C 81.5 63.5 78.5 71 71.5 76.5 C 65 81.5 57.5 84 50 84 C 42.5 84 35 81.5 28.5 76.5 C 21.5 71 18.5 63.5 18.5 54.5 V 46.5 C 18.5 36.5 21 29.5 26 25 C 32 19.5 40 17 50 17 Z", Dl = `M 0 0 H 100 V 100 H 0 Z ${Qs}`;
4799
+ function jl(e, t, r) {
4797
4800
  if (t === null)
4798
4801
  return "Center your face in the oval. We will capture automatically when framing looks good.";
4799
- const s = Math.max(zc - (e - t), 0), n = Math.max(Math.ceil(s / 1e3), 0);
4802
+ const s = Math.max(Wc - (e - t), 0), n = Math.max(Math.ceil(s / 1e3), 0);
4800
4803
  return r.passesQualityChecks ? `Hold steady. Capturing the best frame in ${n}s.` : `${r.message} Best frame selection finishes in ${n}s.`;
4801
4804
  }
4802
- function jl(e) {
4805
+ function Vl(e) {
4803
4806
  const t = e == null ? void 0 : e.captureScore;
4804
4807
  return typeof t == "number" && t > 0 ? "Best frame captured. Review and confirm this photo." : "Capture complete. Review and confirm this photo.";
4805
4808
  }
4806
- class Vl {
4809
+ class Gl {
4807
4810
  constructor(t) {
4808
- this.frameCapture = il(), this.stopped = !1, this.animationFrameId = null, this.analysisTimerId = null, this.analysisInFlight = !1, this.lastAnalysisTimestamp = 0, this.countdownStartedAt = null, this.bestCaptureScore = -1, this.bestQualityResult = null, this.videoElement = t.videoElement, this.copy = t.copy, this.onStateChange = t.onStateChange, this.waitForReady = t.waitForReady ?? ((r) => sl(r)), this.assessLiveQuality = t.assessLiveQuality ?? Ju, this.assessPreviewBlob = t.assessPreviewBlob ?? Gl, this.mode = t.initialMode, this.state = this.createStartingState(), this.emit(this.state);
4811
+ this.frameCapture = ol(), this.stopped = !1, this.animationFrameId = null, this.analysisTimerId = null, this.analysisInFlight = !1, this.lastAnalysisTimestamp = 0, this.countdownStartedAt = null, this.bestCaptureScore = -1, this.bestQualityResult = null, this.videoElement = t.videoElement, this.copy = t.copy, this.onStateChange = t.onStateChange, this.waitForReady = t.waitForReady ?? ((r) => nl(r)), this.assessLiveQuality = t.assessLiveQuality ?? Zu, this.assessPreviewBlob = t.assessPreviewBlob ?? Hl, this.mode = t.initialMode, this.state = this.createStartingState(), this.emit(this.state);
4809
4812
  }
4810
4813
  getState() {
4811
4814
  return this.state;
@@ -4826,7 +4829,7 @@ class Vl {
4826
4829
  this.stopped || this.emit(this.createPreviewState(t, r));
4827
4830
  }
4828
4831
  async retake() {
4829
- this.stopped || this.state.phase !== "preview" || (this.resetAutoState(), nl(this.videoElement), this.emit(this.createLiveState({
4832
+ this.stopped || this.state.phase !== "preview" || (this.resetAutoState(), il(this.videoElement), this.emit(this.createLiveState({
4830
4833
  feedbackMessage: this.mode === "auto" ? this.copy.autoReadyMessage : this.copy.retakeReadyMessage ?? this.copy.manualReadyMessage,
4831
4834
  feedbackTone: this.mode === "auto" ? "neutral" : "manual"
4832
4835
  })), this.mode === "auto" && this.scheduleAutoAnalysis());
@@ -4905,7 +4908,7 @@ class Vl {
4905
4908
  scheduleAutoAnalysis() {
4906
4909
  if (this.stopped || this.mode !== "auto" || this.state.phase !== "live")
4907
4910
  return;
4908
- const t = performance.now(), r = Math.max(Bl - (t - this.lastAnalysisTimestamp), 0);
4911
+ const t = performance.now(), r = Math.max(Ul - (t - this.lastAnalysisTimestamp), 0);
4909
4912
  this.cancelScheduledAnalysis(), this.analysisTimerId = window.setTimeout(() => {
4910
4913
  this.analysisTimerId = null, this.animationFrameId = window.requestAnimationFrame((s) => {
4911
4914
  this.runAutoAnalysis(s);
@@ -4925,7 +4928,7 @@ class Vl {
4925
4928
  if (this.stopped || this.mode !== "auto" || this.state.phase !== "live") return;
4926
4929
  if (r.passesQualityChecks && (this.countdownStartedAt === null && (this.countdownStartedAt = t), r.captureScore > this.bestCaptureScore && (this.frameCapture.promoteWorkingToBest(), this.bestCaptureScore = r.captureScore, this.bestQualityResult = r)), this.countdownStartedAt !== null) {
4927
4930
  const s = Math.min(
4928
- (t - this.countdownStartedAt) / zc,
4931
+ (t - this.countdownStartedAt) / Wc,
4929
4932
  1
4930
4933
  );
4931
4934
  if (s >= 1) {
@@ -4933,7 +4936,7 @@ class Vl {
4933
4936
  return;
4934
4937
  }
4935
4938
  this.emit(this.createLiveState({
4936
- feedbackMessage: Dl(
4939
+ feedbackMessage: jl(
4937
4940
  t,
4938
4941
  this.countdownStartedAt,
4939
4942
  r
@@ -4962,7 +4965,7 @@ class Vl {
4962
4965
  if (this.stopped || this.mode !== "auto" || this.state.phase !== "live") return;
4963
4966
  const r = this.bestQualityResult ?? await this.assessPreviewBlob(t);
4964
4967
  this.stopped || this.mode !== "auto" || this.state.phase !== "live" || this.emit(this.createPreviewState(t, r, {
4965
- feedbackMessage: jl(r),
4968
+ feedbackMessage: Vl(r),
4966
4969
  feedbackTone: (r == null ? void 0 : r.passesQualityChecks) === !1 ? "error" : "success"
4967
4970
  }));
4968
4971
  }
@@ -4980,22 +4983,22 @@ class Vl {
4980
4983
  this.cancelScheduledAnalysis(), this.countdownStartedAt = null, this.bestCaptureScore = -1, this.bestQualityResult = null, this.frameCapture.resetStoredBestFrame();
4981
4984
  }
4982
4985
  }
4983
- async function Gl(e) {
4986
+ async function Hl(e) {
4984
4987
  try {
4985
- const t = await Uc(e);
4986
- return await Mc(t);
4988
+ const t = await Dc(e);
4989
+ return await xc(t);
4987
4990
  } catch {
4988
4991
  return null;
4989
4992
  }
4990
4993
  }
4991
- var Hl = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, j = (e, t, r, s) => {
4992
- for (var n = s > 1 ? void 0 : s ? zl(t, r) : t, i = e.length - 1, o; i >= 0; i--)
4994
+ var zl = Object.defineProperty, Wl = Object.getOwnPropertyDescriptor, j = (e, t, r, s) => {
4995
+ for (var n = s > 1 ? void 0 : s ? Wl(t, r) : t, i = e.length - 1, o; i >= 0; i--)
4993
4996
  (o = e[i]) && (n = (s ? o(t, r, n) : o(n)) || n);
4994
- return s && n && Hl(t, r, n), n;
4997
+ return s && n && zl(t, r, n), n;
4995
4998
  };
4996
4999
  let F = class extends ar {
4997
5000
  constructor() {
4998
- super(...arguments), this.label = Fc, this.idleFeedbackLabel = qs, this.embedded = !1, this.active = !1, this.confirmLabel = $c, this.captureLabel = Oc, this.retakeLabel = Rc, this.retryLabel = Ic, this.capturePreference = "auto-preferred", this.allowMediaPickerFallback = !0, this.captureState = "idle", this.errorMessage = "", this.feedbackMessage = qs, this.feedbackTone = "neutral", this.previewUrl = "", this.qualityResult = null, this.canTakePhoto = !0, this.captureMode = "auto", this.stream = null, this.sessionController = null, this.currentCaptureStep = null, this.capturedBlob = null, this.pendingActiveSync = !1;
5001
+ super(...arguments), this.label = $c, this.idleFeedbackLabel = Xs, this.embedded = !1, this.active = !1, this.confirmLabel = Oc, this.captureLabel = Rc, this.retakeLabel = Ic, this.retryLabel = Nc, this.capturePreference = "auto-preferred", this.allowMediaPickerFallback = !0, this.captureState = "idle", this.errorMessage = "", this.feedbackMessage = Xs, this.feedbackTone = "neutral", this.previewUrl = "", this.qualityResult = null, this.canTakePhoto = !0, this.captureMode = "auto", this.stream = null, this.sessionController = null, this.currentCaptureStep = null, this.capturedBlob = null, this.pendingActiveSync = !1;
4999
5002
  }
5000
5003
  disconnectedCallback() {
5001
5004
  super.disconnectedCallback(), this.stopSession();
@@ -5054,9 +5057,9 @@ let F = class extends ar {
5054
5057
  class="guide-overlay ${this.captureState === "live" || this.captureState === "starting" ? "" : "hidden"}"
5055
5058
  >
5056
5059
  <svg viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true">
5057
- <path class="guide-mask" d=${Ul}></path>
5058
- <path class="ring-outline" d=${Ys}></path>
5059
- <path class="ring-progress" d=${Ys} pathLength="100"></path>
5060
+ <path class="guide-mask" d=${Dl}></path>
5061
+ <path class="ring-outline" d=${Qs}></path>
5062
+ <path class="ring-progress" d=${Qs} pathLength="100"></path>
5060
5063
  </svg>
5061
5064
  </div>
5062
5065
  </div>
@@ -5084,22 +5087,22 @@ let F = class extends ar {
5084
5087
  if (!this.active || this.captureState === "starting" || this.captureState === "live")
5085
5088
  return;
5086
5089
  this.stopSession(), this.resetState(), this.captureState = "starting", this.feedbackMessage = "Requesting camera access...", this.feedbackTone = "neutral";
5087
- const e = Nc({
5090
+ const e = Bc({
5088
5091
  capturePreference: this.capturePreference,
5089
5092
  allowMediaPickerFallback: this.allowMediaPickerFallback
5090
5093
  }, this);
5091
5094
  e.label = this.label, e.idleFeedbackLabel = this.idleFeedbackLabel, e.confirmLabel = this.confirmLabel, e.captureLabel = this.captureLabel, e.retakeLabel = this.retakeLabel, e.retryLabel = this.retryLabel;
5092
- const t = await Zu({
5095
+ const t = await el({
5093
5096
  capturePreference: e.capturePreference
5094
- }), r = el(e, t), s = r.steps.find((o) => o === "auto-camera" || o === "manual-camera") ?? null, n = r.steps.includes("media-picker");
5097
+ }), r = tl(e, t), s = r.steps.find((o) => o === "auto-camera" || o === "manual-camera") ?? null, n = r.steps.includes("media-picker");
5095
5098
  if (!s) {
5096
5099
  await this.startMediaPicker();
5097
5100
  return;
5098
5101
  }
5099
5102
  try {
5100
- this.stream = await rl();
5103
+ this.stream = await sl();
5101
5104
  } catch (o) {
5102
- if (o instanceof Xs && n) {
5105
+ if (o instanceof Ys && n) {
5103
5106
  await this.startMediaPicker();
5104
5107
  return;
5105
5108
  }
@@ -5115,7 +5118,7 @@ let F = class extends ar {
5115
5118
  this.handleCaptureError(new Error("Inline camera preview could not be created."));
5116
5119
  return;
5117
5120
  }
5118
- i.srcObject = this.stream, this.currentCaptureStep = s, this.sessionController = new Vl({
5121
+ i.srcObject = this.stream, this.currentCaptureStep = s, this.sessionController = new Gl({
5119
5122
  videoElement: i,
5120
5123
  initialMode: s === "auto-camera" ? "auto" : "manual",
5121
5124
  copy: {
@@ -5135,7 +5138,7 @@ let F = class extends ar {
5135
5138
  async startMediaPicker() {
5136
5139
  this.stopSession(), this.currentCaptureStep = "media-picker", this.captureState = "starting", this.feedbackMessage = "Opening media picker...", this.feedbackTone = "neutral";
5137
5140
  try {
5138
- const e = await Bc();
5141
+ const e = await Uc();
5139
5142
  if (!e) {
5140
5143
  this.handleCancel();
5141
5144
  return;
@@ -5230,14 +5233,14 @@ let F = class extends ar {
5230
5233
  }
5231
5234
  async assessPickedBlob(e) {
5232
5235
  try {
5233
- const t = await Uc(e);
5234
- return await Mc(t);
5236
+ const t = await Dc(e);
5237
+ return await xc(t);
5235
5238
  } catch {
5236
5239
  return null;
5237
5240
  }
5238
5241
  }
5239
5242
  };
5240
- F.styles = pl`
5243
+ F.styles = gl`
5241
5244
  :host {
5242
5245
  display: block;
5243
5246
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
@@ -5542,43 +5545,43 @@ j([
5542
5545
  Ye()
5543
5546
  ], F.prototype, "captureMode", 2);
5544
5547
  j([
5545
- Nl("#embedded-video")
5548
+ Bl("#embedded-video")
5546
5549
  ], F.prototype, "embeddedVideoElement", 2);
5547
5550
  F = j([
5548
- $l("simface-capture")
5551
+ Ol("simface-capture")
5549
5552
  ], F);
5550
- const Wc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5553
+ const Kc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5551
5554
  __proto__: null,
5552
5555
  get SimFaceCapture() {
5553
5556
  return F;
5554
5557
  }
5555
5558
  }, Symbol.toStringTag, { value: "Module" }));
5556
- async function Yl(e, t, r, s) {
5557
- const n = new ko(e);
5559
+ async function Ql(e, t, r, s) {
5560
+ const n = new So(e);
5558
5561
  await n.validateAPIKey();
5559
- const i = await Kc(r, s);
5562
+ const i = await qc(r, s);
5560
5563
  if (!i)
5561
5564
  return { success: !1, clientId: t, message: "Capture cancelled by user" };
5562
5565
  const o = await n.enroll(t, i);
5563
5566
  return o.alreadyEnrolled, o;
5564
5567
  }
5565
- async function Ql(e, t, r, s) {
5566
- const n = new ko(e);
5568
+ async function Jl(e, t, r, s) {
5569
+ const n = new So(e);
5567
5570
  await n.validateAPIKey();
5568
- const i = await Kc(r, s);
5571
+ const i = await qc(r, s);
5569
5572
  return i ? n.verify(t, i) : { match: !1, score: 0, threshold: 0, message: "Capture cancelled by user" };
5570
5573
  }
5571
- async function Kc(e, t) {
5572
- return cl(e, t);
5574
+ async function qc(e, t) {
5575
+ return hl(e, t);
5573
5576
  }
5574
5577
  export {
5575
- ko as SimFaceAPIClient,
5578
+ So as SimFaceAPIClient,
5576
5579
  F as SimFaceCapture,
5577
- Mc as assessFaceQuality,
5578
- Ju as assessFaceQualityForVideo,
5579
- Kl as blobToDataURL,
5580
- Uc as blobToImage,
5581
- cl as captureFromCamera,
5582
- Yl as enroll,
5583
- Ql as verify
5580
+ xc as assessFaceQuality,
5581
+ Zu as assessFaceQualityForVideo,
5582
+ ql as blobToDataURL,
5583
+ Dc as blobToImage,
5584
+ hl as captureFromCamera,
5585
+ Ql as enroll,
5586
+ Jl as verify
5584
5587
  };