@smileid/web-components 11.0.1 → 11.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/{DocumentCaptureScreens-DmH2JZDA.js → DocumentCaptureScreens-C5BhNB-0.js} +2 -2
- package/dist/esm/{DocumentCaptureScreens-DmH2JZDA.js.map → DocumentCaptureScreens-C5BhNB-0.js.map} +1 -1
- package/dist/esm/{SelfieCaptureScreens-DbdN2zNk.js → SelfieCaptureScreens-KoQpCxtc.js} +274 -275
- package/dist/esm/SelfieCaptureScreens-KoQpCxtc.js.map +1 -0
- package/dist/esm/document.js +1 -1
- package/dist/esm/main.js +2 -2
- package/dist/esm/{package-bgeQiff6.js → package-B-UwEdv7.js} +2 -2
- package/dist/esm/{package-bgeQiff6.js.map → package-B-UwEdv7.js.map} +1 -1
- package/dist/esm/selfie.js +1 -1
- package/dist/esm/smart-camera-web.js +3 -3
- package/dist/smart-camera-web.js +20 -45
- package/dist/smart-camera-web.js.map +1 -1
- package/lib/components/selfie/src/selfie-capture-wrapper/SelfieCaptureWrapper.tsx +25 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/mediapipeManager.ts +42 -1
- package/lib/components/signature-pad/package-lock.json +11 -9
- package/lib/components/signature-pad/package.json +1 -1
- package/package.json +2 -2
- package/dist/esm/SelfieCaptureScreens-DbdN2zNk.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as Ii } from "./styles-BOEZtbuc.js";
|
|
2
2
|
import "./Navigation-CTjK6tLU.js";
|
|
3
|
-
import { p as ko, S as fe, I as Ds } from "./package-
|
|
3
|
+
import { p as ko, S as fe, I as Ds } from "./package-B-UwEdv7.js";
|
|
4
4
|
import "./PoweredBySmileId-CxbaihMu.js";
|
|
5
|
-
function
|
|
5
|
+
function m1() {
|
|
6
6
|
return `
|
|
7
7
|
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
|
8
8
|
<link
|
|
@@ -601,9 +601,9 @@ function ml() {
|
|
|
601
601
|
</div>
|
|
602
602
|
`;
|
|
603
603
|
}
|
|
604
|
-
class
|
|
604
|
+
class g1 extends HTMLElement {
|
|
605
605
|
constructor() {
|
|
606
|
-
super(), this.templateString =
|
|
606
|
+
super(), this.templateString = m1.bind(this), this.render = () => this.templateString(), this.attachShadow({ mode: "open" });
|
|
607
607
|
}
|
|
608
608
|
connectedCallback() {
|
|
609
609
|
this.pages = [];
|
|
@@ -648,9 +648,9 @@ class gl extends HTMLElement {
|
|
|
648
648
|
}
|
|
649
649
|
"customElements" in window && !window.customElements.get("selfie-capture-instructions") && window.customElements.define(
|
|
650
650
|
"selfie-capture-instructions",
|
|
651
|
-
|
|
651
|
+
g1
|
|
652
652
|
);
|
|
653
|
-
function
|
|
653
|
+
function v1() {
|
|
654
654
|
return `
|
|
655
655
|
<style>
|
|
656
656
|
.retake-photo.button[data-variant~="ghost"] {
|
|
@@ -734,9 +734,9 @@ function vl() {
|
|
|
734
734
|
</div>
|
|
735
735
|
`;
|
|
736
736
|
}
|
|
737
|
-
class
|
|
737
|
+
class _1 extends HTMLElement {
|
|
738
738
|
constructor() {
|
|
739
|
-
super(), this.templateString =
|
|
739
|
+
super(), this.templateString = v1.bind(this), this.render = () => this.templateString(), this.attachShadow({ mode: "open" });
|
|
740
740
|
}
|
|
741
741
|
connectedCallback() {
|
|
742
742
|
const t = document.createElement("template");
|
|
@@ -807,8 +807,8 @@ class _l extends HTMLElement {
|
|
|
807
807
|
});
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
|
-
"customElements" in window && !customElements.get("selfie-capture-review") && window.customElements.define("selfie-capture-review",
|
|
811
|
-
var Yr, U, Mc, Ic, Ut, Us, Fc, Rc, Oc, Ao, Zn, Yn, jr = {}, Pc = [],
|
|
810
|
+
"customElements" in window && !customElements.get("selfie-capture-review") && window.customElements.define("selfie-capture-review", _1);
|
|
811
|
+
var Yr, U, Mc, Ic, Ut, Us, Fc, Rc, Oc, Ao, Zn, Yn, jr = {}, Pc = [], y1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Kr = Array.isArray;
|
|
812
812
|
function ot(e, t) {
|
|
813
813
|
for (var r in t) e[r] = t[r];
|
|
814
814
|
return e;
|
|
@@ -856,12 +856,12 @@ function wi() {
|
|
|
856
856
|
}
|
|
857
857
|
function Dc(e, t, r, i, n, o, s, a, c, l, h) {
|
|
858
858
|
var u, d, f, m, y, p, _ = i && i.__k || Pc, g = t.length;
|
|
859
|
-
for (c =
|
|
859
|
+
for (c = b1(r, t, _, c, g), u = 0; u < g; u++) (f = r.__k[u]) != null && (d = f.__i == -1 ? jr : _[f.__i] || jr, f.__i = u, p = To(e, f, d, n, o, s, a, c, l, h), m = f.__e, f.ref && d.ref != f.ref && (d.ref && So(d.ref, null, f), h.push(f.ref, f.__c || m, f)), y == null && m != null && (y = m), 4 & f.__u || d.__k === f.__k ? c = Uc(f, c, e) : typeof f.type == "function" && p !== void 0 ? c = p : m && (c = m.nextSibling), f.__u &= -7);
|
|
860
860
|
return r.__e = y, c;
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function b1(e, t, r, i, n) {
|
|
863
863
|
var o, s, a, c, l, h = r.length, u = h, d = 0;
|
|
864
|
-
for (e.__k = new Array(n), o = 0; o < n; o++) (s = t[o]) != null && typeof s != "boolean" && typeof s != "function" ? (c = o + d, (s = e.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? Pr(null, s, null, null, null) : Kr(s) ? Pr(It, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? Pr(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = e, s.__b = e.__b + 1, a = null, (l = s.__i =
|
|
864
|
+
for (e.__k = new Array(n), o = 0; o < n; o++) (s = t[o]) != null && typeof s != "boolean" && typeof s != "function" ? (c = o + d, (s = e.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? Pr(null, s, null, null, null) : Kr(s) ? Pr(It, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? Pr(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = e, s.__b = e.__b + 1, a = null, (l = s.__i = w1(s, r, c, u)) != -1 && (u--, (a = r[l]) && (a.__u |= 2)), a == null || a.__v == null ? (l == -1 && (n > h ? d-- : n < h && d++), typeof s.type != "function" && (s.__u |= 4)) : l != c && (l == c - 1 ? d-- : l == c + 1 ? d++ : (l > c ? d-- : d++, s.__u |= 4))) : e.__k[o] = null;
|
|
865
865
|
if (u) for (o = 0; o < h; o++) (a = r[o]) != null && (2 & a.__u) == 0 && (a.__e == i && (i = nr(a)), Hc(a, a));
|
|
866
866
|
return i;
|
|
867
867
|
}
|
|
@@ -882,7 +882,7 @@ function Bc(e, t) {
|
|
|
882
882
|
Bc(r, t);
|
|
883
883
|
}) : t.push(e)), t;
|
|
884
884
|
}
|
|
885
|
-
function
|
|
885
|
+
function w1(e, t, r, i) {
|
|
886
886
|
var n, o, s, a = e.key, c = e.type, l = t[r], h = l != null && (2 & l.__u) == 0;
|
|
887
887
|
if (l === null && e.key == null || h && a == l.key && c == l.type) return r;
|
|
888
888
|
if (i > (h ? 1 : 0)) {
|
|
@@ -891,7 +891,7 @@ function wl(e, t, r, i) {
|
|
|
891
891
|
return -1;
|
|
892
892
|
}
|
|
893
893
|
function $s(e, t, r) {
|
|
894
|
-
t[0] == "-" ? e.setProperty(t, r ?? "") : e[t] = r == null ? "" : typeof r != "number" ||
|
|
894
|
+
t[0] == "-" ? e.setProperty(t, r ?? "") : e[t] = r == null ? "" : typeof r != "number" || y1.test(t) ? r : r + "px";
|
|
895
895
|
}
|
|
896
896
|
function ai(e, t, r, i, n) {
|
|
897
897
|
var o, s;
|
|
@@ -926,7 +926,7 @@ function To(e, t, r, i, n, o, s, a, c, l) {
|
|
|
926
926
|
if (t.constructor != null) return null;
|
|
927
927
|
128 & r.__u && (c = !!(32 & r.__u), o = [a = t.__e = r.__e]), (h = U.__b) && h(t);
|
|
928
928
|
e: if (typeof Q == "function") try {
|
|
929
|
-
if (_ = t.props, g = "prototype" in Q && Q.prototype.render, x = (h = Q.contextType) && i[h.__c], T = h ? x ? x.props.value : h.__ : i, r.__c ? p = (u = t.__c = r.__c).__ = u.__E : (g ? t.__c = u = new Q(_, T) : (t.__c = u = new Nr(_, T), u.constructor = Q, u.render =
|
|
929
|
+
if (_ = t.props, g = "prototype" in Q && Q.prototype.render, x = (h = Q.contextType) && i[h.__c], T = h ? x ? x.props.value : h.__ : i, r.__c ? p = (u = t.__c = r.__c).__ = u.__E : (g ? t.__c = u = new Q(_, T) : (t.__c = u = new Nr(_, T), u.constructor = Q, u.render = C1), x && x.sub(u), u.props = _, u.state || (u.state = {}), u.context = T, u.__n = i, d = u.__d = !0, u.__h = [], u._sb = []), g && u.__s == null && (u.__s = u.state), g && Q.getDerivedStateFromProps != null && (u.__s == u.state && (u.__s = ot({}, u.__s)), ot(u.__s, Q.getDerivedStateFromProps(_, u.__s))), f = u.props, m = u.state, u.__v = t, d) g && Q.getDerivedStateFromProps == null && u.componentWillMount != null && u.componentWillMount(), g && u.componentDidMount != null && u.__h.push(u.componentDidMount);
|
|
930
930
|
else {
|
|
931
931
|
if (g && Q.getDerivedStateFromProps == null && _ !== f && u.componentWillReceiveProps != null && u.componentWillReceiveProps(_, T), !u.__e && u.shouldComponentUpdate != null && u.shouldComponentUpdate(_, u.__s, T) === !1 || t.__v == r.__v) {
|
|
932
932
|
for (t.__v != r.__v && (u.props = _, u.state = u.__s, u.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.some(function(K) {
|
|
@@ -957,7 +957,7 @@ function To(e, t, r, i, n, o, s, a, c, l) {
|
|
|
957
957
|
else t.__e = r.__e, t.__k = r.__k, K.then || Kn(t);
|
|
958
958
|
U.__e(K, t, r);
|
|
959
959
|
}
|
|
960
|
-
else o == null && t.__v == r.__v ? (t.__k = r.__k, t.__e = r.__e) : a = t.__e =
|
|
960
|
+
else o == null && t.__v == r.__v ? (t.__k = r.__k, t.__e = r.__e) : a = t.__e = E1(r.__e, t, r, i, n, o, s, c, l);
|
|
961
961
|
return (h = U.diffed) && h(t), 128 & t.__u ? void 0 : a;
|
|
962
962
|
}
|
|
963
963
|
function Kn(e) {
|
|
@@ -978,7 +978,7 @@ function $c(e, t, r) {
|
|
|
978
978
|
function jc(e) {
|
|
979
979
|
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Kr(e) ? e.map(jc) : ot({}, e);
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function E1(e, t, r, i, n, o, s, a, c) {
|
|
982
982
|
var l, h, u, d, f, m, y, p = r.props, _ = t.props, g = t.type;
|
|
983
983
|
if (g == "svg" ? n = "http://www.w3.org/2000/svg" : g == "math" ? n = "http://www.w3.org/1998/Math/MathML" : n || (n = "http://www.w3.org/1999/xhtml"), o != null) {
|
|
984
984
|
for (l = 0; l < o.length; l++) if ((f = o[l]) && "setAttribute" in f == !!g && (g ? f.localName == g : f.nodeType == 3)) {
|
|
@@ -1030,7 +1030,7 @@ function Hc(e, t, r) {
|
|
|
1030
1030
|
if (i = e.__k) for (n = 0; n < i.length; n++) i[n] && Hc(i[n], t, r || typeof e.type != "function");
|
|
1031
1031
|
r || xo(e.__e), e.__c = e.__ = e.__e = void 0;
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function C1(e, t, r) {
|
|
1034
1034
|
return this.constructor(e, r);
|
|
1035
1035
|
}
|
|
1036
1036
|
function Fi(e, t, r) {
|
|
@@ -1062,12 +1062,12 @@ Yr = Pc.slice, U = { __e: function(e, t, r, i) {
|
|
|
1062
1062
|
}, Nr.prototype.render = It, Ut = [], Fc = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Rc = function(e, t) {
|
|
1063
1063
|
return e.__v.__b - t.__v.__b;
|
|
1064
1064
|
}, wi.__r = 0, Oc = /(PointerCapture)$|Capture$/i, Ao = 0, Zn = js(!1), Yn = js(!0);
|
|
1065
|
-
var
|
|
1065
|
+
var k1 = 0;
|
|
1066
1066
|
function L(e, t, r, i, n, o) {
|
|
1067
1067
|
t || (t = {});
|
|
1068
1068
|
var s, a, c = t;
|
|
1069
1069
|
if ("ref" in c) for (a in c = {}, t) a == "ref" ? s = t[a] : c[a] = t[a];
|
|
1070
|
-
var l = { type: e, props: c, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --
|
|
1070
|
+
var l = { type: e, props: c, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --k1, __i: -1, __u: 0, __source: n, __self: o };
|
|
1071
1071
|
if (typeof e == "function" && (s = e.defaultProps)) for (a in s) c[a] === void 0 && (c[a] = s[a]);
|
|
1072
1072
|
return U.vnode && U.vnode(l), l;
|
|
1073
1073
|
}
|
|
@@ -1078,9 +1078,9 @@ function Lo(e, t) {
|
|
|
1078
1078
|
return e >= r.__.length && r.__.push({}), r.__[e];
|
|
1079
1079
|
}
|
|
1080
1080
|
function Bt(e) {
|
|
1081
|
-
return Ei = 1,
|
|
1081
|
+
return Ei = 1, A1(qc, e);
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function A1(e, t, r) {
|
|
1084
1084
|
var i = Lo(Hr++, 2);
|
|
1085
1085
|
if (i.t = e, !i.__c && (i.__ = [qc(void 0, t), function(a) {
|
|
1086
1086
|
var c = i.__N ? i.__N[0] : i.__[0], l = i.t(c, a);
|
|
@@ -1127,7 +1127,7 @@ function Ri(e, t) {
|
|
|
1127
1127
|
var r = Lo(Hr++, 7);
|
|
1128
1128
|
return zc(r.__H, t) && (r.__ = e(), r.__H = t, r.__h = e), r.__;
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function x1() {
|
|
1131
1131
|
for (var e; e = Wc.shift(); ) if (e.__P && e.__H) try {
|
|
1132
1132
|
e.__H.__h.forEach(mi), e.__H.__h.forEach(Jn), e.__H.__h = [];
|
|
1133
1133
|
} catch (t) {
|
|
@@ -1147,7 +1147,7 @@ ce.__b = function(e) {
|
|
|
1147
1147
|
}, ce.diffed = function(e) {
|
|
1148
1148
|
Ws && Ws(e);
|
|
1149
1149
|
var t = e.__c;
|
|
1150
|
-
t && t.__H && (t.__H.__h.length && (Wc.push(t) !== 1 && Hs === ce.requestAnimationFrame || ((Hs = ce.requestAnimationFrame) ||
|
|
1150
|
+
t && t.__H && (t.__H.__h.length && (Wc.push(t) !== 1 && Hs === ce.requestAnimationFrame || ((Hs = ce.requestAnimationFrame) || T1)(x1)), t.__H.__.forEach(function(r) {
|
|
1151
1151
|
r.u && (r.__H = r.u), r.u = void 0;
|
|
1152
1152
|
})), vn = se = null;
|
|
1153
1153
|
}, ce.__c = function(e, t) {
|
|
@@ -1174,7 +1174,7 @@ ce.__b = function(e) {
|
|
|
1174
1174
|
}), r.__H = void 0, t && ce.__e(t, r.__v));
|
|
1175
1175
|
};
|
|
1176
1176
|
var Zs = typeof requestAnimationFrame == "function";
|
|
1177
|
-
function
|
|
1177
|
+
function T1(e) {
|
|
1178
1178
|
var t, r = function() {
|
|
1179
1179
|
clearTimeout(i), Zs && cancelAnimationFrame(t), setTimeout(e);
|
|
1180
1180
|
}, i = setTimeout(r, 35);
|
|
@@ -1196,13 +1196,7 @@ function zc(e, t) {
|
|
|
1196
1196
|
function qc(e, t) {
|
|
1197
1197
|
return typeof t == "function" ? t(e) : t;
|
|
1198
1198
|
}
|
|
1199
|
-
|
|
1200
|
-
* @license @tabler/icons-preact v3.34.1 - MIT
|
|
1201
|
-
*
|
|
1202
|
-
* This source code is licensed under the MIT license.
|
|
1203
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1204
|
-
*/
|
|
1205
|
-
var Sl = {
|
|
1199
|
+
var S1 = {
|
|
1206
1200
|
outline: {
|
|
1207
1201
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1208
1202
|
width: 24,
|
|
@@ -1223,13 +1217,7 @@ var Sl = {
|
|
|
1223
1217
|
stroke: "none"
|
|
1224
1218
|
}
|
|
1225
1219
|
};
|
|
1226
|
-
|
|
1227
|
-
* @license @tabler/icons-preact v3.34.1 - MIT
|
|
1228
|
-
*
|
|
1229
|
-
* This source code is licensed under the MIT license.
|
|
1230
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1231
|
-
*/
|
|
1232
|
-
const Ll = (e, t, r, i) => {
|
|
1220
|
+
const L1 = (e, t, r, i) => {
|
|
1233
1221
|
const n = ({
|
|
1234
1222
|
color: o = "currentColor",
|
|
1235
1223
|
size: s = 24,
|
|
@@ -1243,7 +1231,7 @@ const Ll = (e, t, r, i) => {
|
|
|
1243
1231
|
}) => dt(
|
|
1244
1232
|
"svg",
|
|
1245
1233
|
{
|
|
1246
|
-
...
|
|
1234
|
+
...S1[e],
|
|
1247
1235
|
width: String(s),
|
|
1248
1236
|
height: String(s),
|
|
1249
1237
|
class: ["tabler-icon", `tabler-icon-${t}`, u, h].join(" "),
|
|
@@ -1260,13 +1248,7 @@ const Ll = (e, t, r, i) => {
|
|
|
1260
1248
|
);
|
|
1261
1249
|
return n.displayName = `${r}`, n;
|
|
1262
1250
|
};
|
|
1263
|
-
|
|
1264
|
-
* @license @tabler/icons-preact v3.34.1 - MIT
|
|
1265
|
-
*
|
|
1266
|
-
* This source code is licensed under the MIT license.
|
|
1267
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1268
|
-
*/
|
|
1269
|
-
var Ml = Ll("outline", "loader-2", "Loader2", [["path", { d: "M12 3a9 9 0 1 0 9 9", key: "svg-0" }]]);
|
|
1251
|
+
var M1 = L1("outline", "loader-2", "Loader2", [["path", { d: "M12 3a9 9 0 1 0 9 9", key: "svg-0" }]]);
|
|
1270
1252
|
function Mo() {
|
|
1271
1253
|
return (Mo = Object.assign ? Object.assign.bind() : function(e) {
|
|
1272
1254
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -1276,8 +1258,8 @@ function Mo() {
|
|
|
1276
1258
|
return e;
|
|
1277
1259
|
}).apply(this, arguments);
|
|
1278
1260
|
}
|
|
1279
|
-
var
|
|
1280
|
-
function
|
|
1261
|
+
var I1 = ["context", "children"];
|
|
1262
|
+
function F1(e) {
|
|
1281
1263
|
this.getChildContext = function() {
|
|
1282
1264
|
return e.context;
|
|
1283
1265
|
};
|
|
@@ -1286,12 +1268,12 @@ function Fl(e) {
|
|
|
1286
1268
|
var o, s, a = {}, c = Object.keys(i);
|
|
1287
1269
|
for (s = 0; s < c.length; s++) n.indexOf(o = c[s]) >= 0 || (a[o] = i[o]);
|
|
1288
1270
|
return a;
|
|
1289
|
-
}(e,
|
|
1271
|
+
}(e, I1);
|
|
1290
1272
|
return Vc(t, r);
|
|
1291
1273
|
}
|
|
1292
|
-
function
|
|
1274
|
+
function R1() {
|
|
1293
1275
|
var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
|
|
1294
|
-
this.dispatchEvent(e), this._vdom = dt(
|
|
1276
|
+
this.dispatchEvent(e), this._vdom = dt(F1, Mo({}, this._props, { context: e.detail.context }), function t(r, i) {
|
|
1295
1277
|
if (r.nodeType === 3) return r.data;
|
|
1296
1278
|
if (r.nodeType !== 1) return null;
|
|
1297
1279
|
var n = [], o = {}, s = 0, a = r.attributes, c = r.childNodes;
|
|
@@ -1309,13 +1291,13 @@ function Xc(e) {
|
|
|
1309
1291
|
return r ? r.toUpperCase() : "";
|
|
1310
1292
|
});
|
|
1311
1293
|
}
|
|
1312
|
-
function
|
|
1294
|
+
function O1(e, t, r) {
|
|
1313
1295
|
if (this._vdom) {
|
|
1314
1296
|
var i = {};
|
|
1315
1297
|
i[e] = r = r ?? void 0, i[Xc(e)] = r, this._vdom = Vc(this._vdom, i), Fi(this._vdom, this._root);
|
|
1316
1298
|
}
|
|
1317
1299
|
}
|
|
1318
|
-
function
|
|
1300
|
+
function P1() {
|
|
1319
1301
|
Fi(this._vdom = null, this._root);
|
|
1320
1302
|
}
|
|
1321
1303
|
function Ys(e, t) {
|
|
@@ -1331,7 +1313,7 @@ function Zc(e, t, r, i) {
|
|
|
1331
1313
|
var o = Reflect.construct(HTMLElement, [], n);
|
|
1332
1314
|
return o._vdomComponent = e, o._root = i && i.shadow ? o.attachShadow({ mode: i.mode || "open" }) : o, o;
|
|
1333
1315
|
}
|
|
1334
|
-
return (n.prototype = Object.create(HTMLElement.prototype)).constructor = n, n.prototype.connectedCallback =
|
|
1316
|
+
return (n.prototype = Object.create(HTMLElement.prototype)).constructor = n, n.prototype.connectedCallback = R1, n.prototype.attributeChangedCallback = O1, n.prototype.disconnectedCallback = P1, r = r || e.observedAttributes || Object.keys(e.propTypes || {}), n.observedAttributes = r, r.forEach(function(o) {
|
|
1335
1317
|
Object.defineProperty(n.prototype, o, { get: function() {
|
|
1336
1318
|
return this._vdom.props[o];
|
|
1337
1319
|
}, set: function(s) {
|
|
@@ -1342,7 +1324,7 @@ function Zc(e, t, r, i) {
|
|
|
1342
1324
|
}), customElements.define(t || e.tagName || e.displayName || e.name, n);
|
|
1343
1325
|
}
|
|
1344
1326
|
const Qt = (e, t = !1) => typeof e == "boolean" ? e : typeof e == "string" ? e === "true" || e === "" : t;
|
|
1345
|
-
var
|
|
1327
|
+
var N1 = Symbol.for("preact-signals");
|
|
1346
1328
|
function Oi() {
|
|
1347
1329
|
if (Ct > 1)
|
|
1348
1330
|
Ct--;
|
|
@@ -1362,7 +1344,7 @@ function Oi() {
|
|
|
1362
1344
|
if (Qn = 0, Ct--, t) throw e;
|
|
1363
1345
|
}
|
|
1364
1346
|
}
|
|
1365
|
-
function
|
|
1347
|
+
function D1(e) {
|
|
1366
1348
|
if (Ct > 0) return e();
|
|
1367
1349
|
Ct++;
|
|
1368
1350
|
try {
|
|
@@ -1394,7 +1376,7 @@ function Kc(e) {
|
|
|
1394
1376
|
function ve(e, t) {
|
|
1395
1377
|
this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.W = t?.watched, this.Z = t?.unwatched;
|
|
1396
1378
|
}
|
|
1397
|
-
ve.prototype.brand =
|
|
1379
|
+
ve.prototype.brand = N1;
|
|
1398
1380
|
ve.prototype.h = function() {
|
|
1399
1381
|
return !0;
|
|
1400
1382
|
};
|
|
@@ -1548,7 +1530,7 @@ function Io(e) {
|
|
|
1548
1530
|
for (var t = e.s; t !== void 0; t = t.n) t.S.U(t);
|
|
1549
1531
|
e.x = void 0, e.s = void 0, r2(e);
|
|
1550
1532
|
}
|
|
1551
|
-
function
|
|
1533
|
+
function U1(e) {
|
|
1552
1534
|
if (N !== this) throw new Error("Out-of-order effect");
|
|
1553
1535
|
t2(this), N = e, this.f &= -2, 8 & this.f && Io(this), Oi();
|
|
1554
1536
|
}
|
|
@@ -1569,7 +1551,7 @@ gr.prototype.S = function() {
|
|
|
1569
1551
|
if (1 & this.f) throw new Error("Cycle detected");
|
|
1570
1552
|
this.f |= 1, this.f &= -9, r2(this), e2(this), Ct++;
|
|
1571
1553
|
var e = N;
|
|
1572
|
-
return N = this,
|
|
1554
|
+
return N = this, U1.bind(this, e);
|
|
1573
1555
|
};
|
|
1574
1556
|
gr.prototype.N = function() {
|
|
1575
1557
|
2 & this.f || (this.f |= 2, this.o = Dr, Dr = this);
|
|
@@ -1673,13 +1655,13 @@ vr("diffed", function(e, t) {
|
|
|
1673
1655
|
o = {}, r.U = o;
|
|
1674
1656
|
for (var c in i) {
|
|
1675
1657
|
var l = o[c], h = i[c];
|
|
1676
|
-
l === void 0 ? (l =
|
|
1658
|
+
l === void 0 ? (l = B1(r, c, h, n), o[c] = l) : l.o(h, n);
|
|
1677
1659
|
}
|
|
1678
1660
|
}
|
|
1679
1661
|
}
|
|
1680
1662
|
e(t);
|
|
1681
1663
|
});
|
|
1682
|
-
function
|
|
1664
|
+
function B1(e, t, r, i) {
|
|
1683
1665
|
var n = t in e && e.ownerSVGElement === void 0, o = Jc(r);
|
|
1684
1666
|
return { o: function(s, a) {
|
|
1685
1667
|
o.value = s, i = a;
|
|
@@ -1738,21 +1720,21 @@ function yn(e, t) {
|
|
|
1738
1720
|
}, t);
|
|
1739
1721
|
}, []);
|
|
1740
1722
|
}
|
|
1741
|
-
var $
|
|
1723
|
+
var $1 = function(e) {
|
|
1742
1724
|
queueMicrotask(function() {
|
|
1743
1725
|
queueMicrotask(e);
|
|
1744
1726
|
});
|
|
1745
1727
|
};
|
|
1746
|
-
function
|
|
1747
|
-
|
|
1728
|
+
function j1() {
|
|
1729
|
+
D1(function() {
|
|
1748
1730
|
for (var e; e = n2.shift(); ) i2.call(e);
|
|
1749
1731
|
});
|
|
1750
1732
|
}
|
|
1751
1733
|
function s2() {
|
|
1752
|
-
n2.push(this) === 1 && (U.requestAnimationFrame || $
|
|
1734
|
+
n2.push(this) === 1 && (U.requestAnimationFrame || $1)(j1);
|
|
1753
1735
|
}
|
|
1754
1736
|
var ci = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1755
|
-
function
|
|
1737
|
+
function H1(e) {
|
|
1756
1738
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1757
1739
|
}
|
|
1758
1740
|
var bn, Ks;
|
|
@@ -1766,7 +1748,7 @@ function Fo() {
|
|
|
1766
1748
|
return bn = e, bn;
|
|
1767
1749
|
}
|
|
1768
1750
|
var wn, Js;
|
|
1769
|
-
function
|
|
1751
|
+
function G1() {
|
|
1770
1752
|
if (Js) return wn;
|
|
1771
1753
|
Js = 1;
|
|
1772
1754
|
var e = typeof ci == "object" && ci && ci.Object === Object && ci;
|
|
@@ -1776,11 +1758,11 @@ var En, Qs;
|
|
|
1776
1758
|
function a2() {
|
|
1777
1759
|
if (Qs) return En;
|
|
1778
1760
|
Qs = 1;
|
|
1779
|
-
var e =
|
|
1761
|
+
var e = G1(), t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
|
|
1780
1762
|
return En = r, En;
|
|
1781
1763
|
}
|
|
1782
1764
|
var Cn, ea;
|
|
1783
|
-
function
|
|
1765
|
+
function V1() {
|
|
1784
1766
|
if (ea) return Cn;
|
|
1785
1767
|
ea = 1;
|
|
1786
1768
|
var e = a2(), t = function() {
|
|
@@ -1789,7 +1771,7 @@ function Vl() {
|
|
|
1789
1771
|
return Cn = t, Cn;
|
|
1790
1772
|
}
|
|
1791
1773
|
var kn, ta;
|
|
1792
|
-
function
|
|
1774
|
+
function W1() {
|
|
1793
1775
|
if (ta) return kn;
|
|
1794
1776
|
ta = 1;
|
|
1795
1777
|
var e = /\s/;
|
|
@@ -1801,10 +1783,10 @@ function Wl() {
|
|
|
1801
1783
|
return kn = t, kn;
|
|
1802
1784
|
}
|
|
1803
1785
|
var An, ra;
|
|
1804
|
-
function
|
|
1786
|
+
function z1() {
|
|
1805
1787
|
if (ra) return An;
|
|
1806
1788
|
ra = 1;
|
|
1807
|
-
var e =
|
|
1789
|
+
var e = W1(), t = /^\s+/;
|
|
1808
1790
|
function r(i) {
|
|
1809
1791
|
return i && i.slice(0, e(i) + 1).replace(t, "");
|
|
1810
1792
|
}
|
|
@@ -1818,7 +1800,7 @@ function c2() {
|
|
|
1818
1800
|
return xn = t, xn;
|
|
1819
1801
|
}
|
|
1820
1802
|
var Tn, na;
|
|
1821
|
-
function
|
|
1803
|
+
function q1() {
|
|
1822
1804
|
if (na) return Tn;
|
|
1823
1805
|
na = 1;
|
|
1824
1806
|
var e = c2(), t = Object.prototype, r = t.hasOwnProperty, i = t.toString, n = e ? e.toStringTag : void 0;
|
|
@@ -1835,7 +1817,7 @@ function ql() {
|
|
|
1835
1817
|
return Tn = o, Tn;
|
|
1836
1818
|
}
|
|
1837
1819
|
var Sn, oa;
|
|
1838
|
-
function
|
|
1820
|
+
function X1() {
|
|
1839
1821
|
if (oa) return Sn;
|
|
1840
1822
|
oa = 1;
|
|
1841
1823
|
var e = Object.prototype, t = e.toString;
|
|
@@ -1845,17 +1827,17 @@ function Xl() {
|
|
|
1845
1827
|
return Sn = r, Sn;
|
|
1846
1828
|
}
|
|
1847
1829
|
var Ln, sa;
|
|
1848
|
-
function
|
|
1830
|
+
function Z1() {
|
|
1849
1831
|
if (sa) return Ln;
|
|
1850
1832
|
sa = 1;
|
|
1851
|
-
var e = c2(), t =
|
|
1833
|
+
var e = c2(), t = q1(), r = X1(), i = "[object Null]", n = "[object Undefined]", o = e ? e.toStringTag : void 0;
|
|
1852
1834
|
function s(a) {
|
|
1853
1835
|
return a == null ? a === void 0 ? n : i : o && o in Object(a) ? t(a) : r(a);
|
|
1854
1836
|
}
|
|
1855
1837
|
return Ln = s, Ln;
|
|
1856
1838
|
}
|
|
1857
1839
|
var Mn, aa;
|
|
1858
|
-
function
|
|
1840
|
+
function Y1() {
|
|
1859
1841
|
if (aa) return Mn;
|
|
1860
1842
|
aa = 1;
|
|
1861
1843
|
function e(t) {
|
|
@@ -1864,20 +1846,20 @@ function Yl() {
|
|
|
1864
1846
|
return Mn = e, Mn;
|
|
1865
1847
|
}
|
|
1866
1848
|
var In, ca;
|
|
1867
|
-
function
|
|
1849
|
+
function K1() {
|
|
1868
1850
|
if (ca) return In;
|
|
1869
1851
|
ca = 1;
|
|
1870
|
-
var e =
|
|
1852
|
+
var e = Z1(), t = Y1(), r = "[object Symbol]";
|
|
1871
1853
|
function i(n) {
|
|
1872
1854
|
return typeof n == "symbol" || t(n) && e(n) == r;
|
|
1873
1855
|
}
|
|
1874
1856
|
return In = i, In;
|
|
1875
1857
|
}
|
|
1876
1858
|
var Fn, la;
|
|
1877
|
-
function
|
|
1859
|
+
function J1() {
|
|
1878
1860
|
if (la) return Fn;
|
|
1879
1861
|
la = 1;
|
|
1880
|
-
var e =
|
|
1862
|
+
var e = z1(), t = Fo(), r = K1(), i = NaN, n = /^[-+]0x[0-9a-f]+$/i, o = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt;
|
|
1881
1863
|
function c(l) {
|
|
1882
1864
|
if (typeof l == "number")
|
|
1883
1865
|
return l;
|
|
@@ -1896,10 +1878,10 @@ function Jl() {
|
|
|
1896
1878
|
return Fn = c, Fn;
|
|
1897
1879
|
}
|
|
1898
1880
|
var Rn, ua;
|
|
1899
|
-
function
|
|
1881
|
+
function Q1() {
|
|
1900
1882
|
if (ua) return Rn;
|
|
1901
1883
|
ua = 1;
|
|
1902
|
-
var e = Fo(), t =
|
|
1884
|
+
var e = Fo(), t = V1(), r = J1(), i = "Expected a function", n = Math.max, o = Math.min;
|
|
1903
1885
|
function s(a, c, l) {
|
|
1904
1886
|
var h, u, d, f, m, y, p = 0, _ = !1, g = !1, x = !0;
|
|
1905
1887
|
if (typeof a != "function")
|
|
@@ -1953,7 +1935,7 @@ var On, ha;
|
|
|
1953
1935
|
function eu() {
|
|
1954
1936
|
if (ha) return On;
|
|
1955
1937
|
ha = 1;
|
|
1956
|
-
var e =
|
|
1938
|
+
var e = Q1(), t = Fo(), r = "Expected a function";
|
|
1957
1939
|
function i(n, o, s) {
|
|
1958
1940
|
var a = !0, c = !0;
|
|
1959
1941
|
if (typeof n != "function")
|
|
@@ -1967,7 +1949,7 @@ function eu() {
|
|
|
1967
1949
|
return On = i, On;
|
|
1968
1950
|
}
|
|
1969
1951
|
var tu = eu();
|
|
1970
|
-
const l2 = /* @__PURE__ */
|
|
1952
|
+
const l2 = /* @__PURE__ */ H1(tu), ru = (e = "user") => {
|
|
1971
1953
|
const t = be(null), r = be(null), [i, n] = Bt(e), [o, s] = Bt(!1), a = be(null), c = be(!1), l = be(/* @__PURE__ */ new Set()), h = (p) => {
|
|
1972
1954
|
a.current = p;
|
|
1973
1955
|
};
|
|
@@ -2883,7 +2865,7 @@ function Er(e, t, r, i) {
|
|
|
2883
2865
|
return n;
|
|
2884
2866
|
}
|
|
2885
2867
|
function jn(e, t) {
|
|
2886
|
-
var r =
|
|
2868
|
+
var r = El;
|
|
2887
2869
|
return Zo(Xo(e = e.u), e, 0 | e[C], r) === t ? t : -1;
|
|
2888
2870
|
}
|
|
2889
2871
|
function Xo(e) {
|
|
@@ -3396,17 +3378,17 @@ function en(e, t, r) {
|
|
|
3396
3378
|
function tn(e, t, r, i) {
|
|
3397
3379
|
let n, o;
|
|
3398
3380
|
const s = r.h;
|
|
3399
|
-
e[t] = (a, c, l) => s(a, c, l, o ||= qt(Qi, en, tn, i).T, n ||=
|
|
3381
|
+
e[t] = (a, c, l) => s(a, c, l, o ||= qt(Qi, en, tn, i).T, n ||= el(i));
|
|
3400
3382
|
}
|
|
3401
|
-
function
|
|
3383
|
+
function el(e) {
|
|
3402
3384
|
let t = e[Oa];
|
|
3403
3385
|
if (!t) {
|
|
3404
3386
|
const r = qt(Qi, en, tn, e);
|
|
3405
|
-
t = (i, n) =>
|
|
3387
|
+
t = (i, n) => tl(i, n, r), e[Oa] = t;
|
|
3406
3388
|
}
|
|
3407
3389
|
return t;
|
|
3408
3390
|
}
|
|
3409
|
-
function
|
|
3391
|
+
function tl(e, t, r) {
|
|
3410
3392
|
(function(i, n, o) {
|
|
3411
3393
|
const s = 512 & n ? 0 : -1, a = i.length, c = a + ((n = 64 & n ? 256 & n : !!a && $i(i[a - 1])) ? -1 : 0);
|
|
3412
3394
|
for (let l = 0; l < c; l++) o(l - s, i[l]);
|
|
@@ -3422,7 +3404,7 @@ function t1(e, t, r) {
|
|
|
3422
3404
|
if ((c = s.ga) && (c = c[a])) {
|
|
3423
3405
|
var l = (c = J2(c))[0].h;
|
|
3424
3406
|
if (c = c[1]) {
|
|
3425
|
-
const h =
|
|
3407
|
+
const h = el(c), u = qt(Qi, en, tn, c).T;
|
|
3426
3408
|
c = s.la ? K2(u, h) : (d, f, m) => l(d, f, m, u, h);
|
|
3427
3409
|
} else c = l;
|
|
3428
3410
|
return s[a] = c;
|
|
@@ -3466,7 +3448,7 @@ var Vu = Ji(function(e, t, r, i, n) {
|
|
|
3466
3448
|
Array.isArray(s) && Si(e, r, xt(s, i, !1), n);
|
|
3467
3449
|
}
|
|
3468
3450
|
});
|
|
3469
|
-
function
|
|
3451
|
+
function rl(e, t, r) {
|
|
3470
3452
|
if (t = function(i) {
|
|
3471
3453
|
if (i == null) return i;
|
|
3472
3454
|
const n = typeof i;
|
|
@@ -3487,22 +3469,22 @@ function r1(e, t, r) {
|
|
|
3487
3469
|
r = Fa(t), tr(e.g, r.h, r.g);
|
|
3488
3470
|
}
|
|
3489
3471
|
}
|
|
3490
|
-
function
|
|
3472
|
+
function il(e, t, r) {
|
|
3491
3473
|
(t = br(t)) != null && t != null && (Be(e, r, 0), Yi(e.g, t));
|
|
3492
3474
|
}
|
|
3493
|
-
function
|
|
3475
|
+
function nl(e, t, r) {
|
|
3494
3476
|
(t = C2(t)) != null && (Be(e, r, 0), e.g.g.push(t ? 1 : 0));
|
|
3495
3477
|
}
|
|
3496
|
-
function
|
|
3478
|
+
function ol(e, t, r) {
|
|
3497
3479
|
(t = lr(t)) != null && Ki(e, r, u2(t));
|
|
3498
3480
|
}
|
|
3499
|
-
function
|
|
3481
|
+
function sl(e, t, r, i, n) {
|
|
3500
3482
|
Si(e, r, Q2(t, i), n);
|
|
3501
3483
|
}
|
|
3502
|
-
function
|
|
3484
|
+
function al(e, t, r) {
|
|
3503
3485
|
t == null || typeof t == "string" || t instanceof pt || (Gt(t) ? Gt(t) && Po(_2) : t = void 0), t != null && Ki(e, r, Jo(t).buffer);
|
|
3504
3486
|
}
|
|
3505
|
-
function
|
|
3487
|
+
function cl(e, t, r) {
|
|
3506
3488
|
return (e.h === 5 || e.h === 2) && (t = Er(t, 0 | t[C], r, !1), e.h == 2 ? Zi(e, uo, t) : t.push(uo(e.g)), !0);
|
|
3507
3489
|
}
|
|
3508
3490
|
var ut = Ae(function(e, t, r) {
|
|
@@ -3519,21 +3501,21 @@ var ut = Ae(function(e, t, r) {
|
|
|
3519
3501
|
return e.h === 5 && (xe(t, r, uo(e.g)), !0);
|
|
3520
3502
|
}, function(e, t, r) {
|
|
3521
3503
|
(t = Rt(t)) != null && (Be(e, r, 5), e = e.g, Bo(t), Xr(e, G));
|
|
3522
|
-
}, as), Wu = xr(
|
|
3504
|
+
}, as), Wu = xr(cl, function(e, t, r) {
|
|
3523
3505
|
if ((t = Ar(Rt, t)) != null) for (let s = 0; s < t.length; s++) {
|
|
3524
3506
|
var i = e, n = r, o = t[s];
|
|
3525
3507
|
o != null && (Be(i, n, 5), i = i.g, Bo(o), Xr(i, G));
|
|
3526
3508
|
}
|
|
3527
|
-
}, as), ds = xr(
|
|
3509
|
+
}, as), ds = xr(cl, function(e, t, r) {
|
|
3528
3510
|
if ((t = Ar(Rt, t)) != null && t.length) {
|
|
3529
3511
|
Be(e, r, 2), Cr(e.g, 4 * t.length);
|
|
3530
3512
|
for (let i = 0; i < t.length; i++) r = e.g, Bo(t[i]), Xr(r, G);
|
|
3531
3513
|
}
|
|
3532
3514
|
}, as), Lt = Ae(function(e, t, r) {
|
|
3533
3515
|
return e.h === 0 && (xe(t, r, Qo(e.g, jo)), !0);
|
|
3534
|
-
},
|
|
3516
|
+
}, rl, z2), Gn = Ae(function(e, t, r) {
|
|
3535
3517
|
return e.h === 0 && (xe(t, r, (e = Qo(e.g, jo)) === 0 ? void 0 : e), !0);
|
|
3536
|
-
},
|
|
3518
|
+
}, rl, z2), zu = Ae(function(e, t, r) {
|
|
3537
3519
|
return e.h === 0 && (xe(t, r, Qo(e.g, $o)), !0);
|
|
3538
3520
|
}, function(e, t, r) {
|
|
3539
3521
|
if ((t = xu(t)) != null && (typeof t == "string" && Ia(t), t != null))
|
|
@@ -3549,7 +3531,7 @@ var ut = Ae(function(e, t, r) {
|
|
|
3549
3531
|
}
|
|
3550
3532
|
}, Je()), re = Ae(function(e, t, r) {
|
|
3551
3533
|
return e.h === 0 && (xe(t, r, St(e.g)), !0);
|
|
3552
|
-
},
|
|
3534
|
+
}, il, ss), rn = xr(function(e, t, r) {
|
|
3553
3535
|
return (e.h === 0 || e.h === 2) && (t = Er(t, 0 | t[C], r, !1), e.h == 2 ? Zi(e, St, t) : t.push(St(e.g)), !0);
|
|
3554
3536
|
}, function(e, t, r) {
|
|
3555
3537
|
if ((t = Ar(br, t)) != null && t.length) {
|
|
@@ -3559,11 +3541,11 @@ var ut = Ae(function(e, t, r) {
|
|
|
3559
3541
|
}
|
|
3560
3542
|
}, ss), er = Ae(function(e, t, r) {
|
|
3561
3543
|
return e.h === 0 && (xe(t, r, (e = St(e.g)) === 0 ? void 0 : e), !0);
|
|
3562
|
-
},
|
|
3544
|
+
}, il, ss), Z = Ae(function(e, t, r) {
|
|
3563
3545
|
return e.h === 0 && (xe(t, r, es(e.g)), !0);
|
|
3564
|
-
},
|
|
3546
|
+
}, nl, V2), rr = Ae(function(e, t, r) {
|
|
3565
3547
|
return e.h === 0 && (xe(t, r, (e = es(e.g)) === !1 ? void 0 : e), !0);
|
|
3566
|
-
},
|
|
3548
|
+
}, nl, V2), ye = xr(function(e, t, r) {
|
|
3567
3549
|
return e.h === 2 && (e = ts(e), Er(t, 0 | t[C], r, !1).push(e), !0);
|
|
3568
3550
|
}, function(e, t, r) {
|
|
3569
3551
|
if ((t = Ar(lr, t)) != null) for (let s = 0; s < t.length; s++) {
|
|
@@ -3572,19 +3554,19 @@ var ut = Ae(function(e, t, r) {
|
|
|
3572
3554
|
}
|
|
3573
3555
|
}, os), Et = Ae(function(e, t, r) {
|
|
3574
3556
|
return e.h === 2 && (xe(t, r, (e = ts(e)) === "" ? void 0 : e), !0);
|
|
3575
|
-
},
|
|
3557
|
+
}, ol, os), D = Ae(function(e, t, r) {
|
|
3576
3558
|
return e.h === 2 && (xe(t, r, ts(e)), !0);
|
|
3577
|
-
},
|
|
3559
|
+
}, ol, os), pe = function(e, t, r = ns) {
|
|
3578
3560
|
return new kr(e, t, r);
|
|
3579
3561
|
}(function(e, t, r, i, n) {
|
|
3580
3562
|
return e.h === 2 && (i = xt(void 0, i, !0), Er(t, 0 | t[C], r, !0).push(i), ei(e, i, n), !0);
|
|
3581
3563
|
}, function(e, t, r, i, n) {
|
|
3582
|
-
if (Array.isArray(t)) for (let o = 0; o < t.length; o++)
|
|
3564
|
+
if (Array.isArray(t)) for (let o = 0; o < t.length; o++) sl(e, t[o], r, i, n);
|
|
3583
3565
|
}), P = Ji(function(e, t, r, i, n, o) {
|
|
3584
3566
|
return e.h === 2 && (P2(t, 0 | t[C], o, r), ei(e, t = Yo(t, i, r), n), !0);
|
|
3585
|
-
},
|
|
3567
|
+
}, sl), ll = Ae(function(e, t, r) {
|
|
3586
3568
|
return e.h === 2 && (xe(t, r, G2(e)), !0);
|
|
3587
|
-
},
|
|
3569
|
+
}, al, q2), qu = xr(function(e, t, r) {
|
|
3588
3570
|
return (e.h === 0 || e.h === 2) && (t = Er(t, 0 | t[C], r, !1), e.h == 2 ? Zi(e, vt, t) : t.push(vt(e.g)), !0);
|
|
3589
3571
|
}, function(e, t, r) {
|
|
3590
3572
|
if ((t = Ar(k2, t)) != null) for (let s = 0; s < t.length; s++) {
|
|
@@ -3663,7 +3645,7 @@ function nn(e) {
|
|
|
3663
3645
|
}();
|
|
3664
3646
|
}
|
|
3665
3647
|
}();
|
|
3666
|
-
|
|
3648
|
+
tl(this.u, t, qt(Qi, en, tn, e)), hr(t, t.g.end());
|
|
3667
3649
|
const r = new Uint8Array(t.h), i = t.l, n = i.length;
|
|
3668
3650
|
let o = 0;
|
|
3669
3651
|
for (let s = 0; s < n; s++) {
|
|
@@ -3687,7 +3669,7 @@ var Pa = class extends b {
|
|
|
3687
3669
|
}
|
|
3688
3670
|
if (Array.isArray(t)) return;
|
|
3689
3671
|
}
|
|
3690
|
-
|
|
3672
|
+
al(e, t, r);
|
|
3691
3673
|
}, q2)];
|
|
3692
3674
|
let Vn, Da = globalThis.trustedTypes;
|
|
3693
3675
|
function Ua(e) {
|
|
@@ -3717,11 +3699,11 @@ function Yu(e, ...t) {
|
|
|
3717
3699
|
for (let i = 0; i < t.length; i++) r += encodeURIComponent(t[i]) + e[i + 1];
|
|
3718
3700
|
return Ua(r);
|
|
3719
3701
|
}
|
|
3720
|
-
var
|
|
3702
|
+
var ul = [0, re, De, Z, -1, rn, De, -1], Ku = class extends b {
|
|
3721
3703
|
constructor(e) {
|
|
3722
3704
|
super(e);
|
|
3723
3705
|
}
|
|
3724
|
-
},
|
|
3706
|
+
}, hl = [0, Z, D, Z, De, -1, xr(function(e, t, r) {
|
|
3725
3707
|
return (e.h === 0 || e.h === 2) && (t = Er(t, 0 | t[C], r, !1), e.h == 2 ? Zi(e, Uu, t) : t.push(St(e.g)), !0);
|
|
3726
3708
|
}, function(e, t, r) {
|
|
3727
3709
|
if ((t = Ar(br, t)) != null && t.length) {
|
|
@@ -3729,16 +3711,16 @@ var u1 = [0, re, De, Z, -1, rn, De, -1], Ku = class extends b {
|
|
|
3729
3711
|
for (let i = 0; i < t.length; i++) Yi(e.g, t[i]);
|
|
3730
3712
|
is(e, r);
|
|
3731
3713
|
}
|
|
3732
|
-
}, X2), D, -1, [0, Z, -1], De, Z, -1],
|
|
3714
|
+
}, X2), D, -1, [0, Z, -1], De, Z, -1], dl = [0, D, -2], Ba = class extends b {
|
|
3733
3715
|
constructor(e) {
|
|
3734
3716
|
super(e);
|
|
3735
3717
|
}
|
|
3736
|
-
},
|
|
3718
|
+
}, fl = [0], pl = [0, re, Z, 1, Z, -3], Ue = class extends b {
|
|
3737
3719
|
constructor(e) {
|
|
3738
3720
|
super(e, 2);
|
|
3739
3721
|
}
|
|
3740
3722
|
}, he = {};
|
|
3741
|
-
he[336783863] = [0, D, Z, -1, re, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], P,
|
|
3723
|
+
he[336783863] = [0, D, Z, -1, re, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], P, fl, P, hl, P, dl, P, pl, P, ul, P, [0, D, -2], P, [0, D, De], P, [0, De, D, -1], P, [0, De, -1]], [0, D], Z, [0, [1, 3], [2, 4], P, [0, rn], -1, P, [0, ye], -1, pe, [0, D, -1]], D];
|
|
3742
3724
|
var $a = [0, Gn, -1, rr, -3, Gn, rn, Et, er, Gn, -1, rr, er, rr, -2, Et];
|
|
3743
3725
|
function $e(e, t) {
|
|
3744
3726
|
co(e, 2, wr(t), "");
|
|
@@ -3773,20 +3755,20 @@ var Ie = class extends b {
|
|
|
3773
3755
|
o(e) {
|
|
3774
3756
|
return A(this, 0, 1001, e);
|
|
3775
3757
|
}
|
|
3776
|
-
},
|
|
3777
|
-
Ie.prototype.g = nn(
|
|
3778
|
-
var Ju = Ot(Ie,
|
|
3758
|
+
}, ml = [-500, pe, [-500, Et, -1, ye, -3, [-2, he, Z], pe, Na, er, -1, ja, Ha, pe, [0, Et, rr], Et, $a, er, ye, 987, ye], 4, pe, [-500, D, -1, [-1, {}], 998, D], pe, [-500, D, ye, -1, [-2, {}, Z], 997, ye, -1], er, pe, [-500, D, ye, Br, 998, ye], ye, er, ja, Ha, pe, [0, Et, -1, Br], ye, -2, $a, Et, -1, rr, [0, rr, Xu], 978, Br, pe, Na];
|
|
3759
|
+
Ie.prototype.g = nn(ml);
|
|
3760
|
+
var Ju = Ot(Ie, ml), Qu = class extends b {
|
|
3779
3761
|
constructor(e) {
|
|
3780
3762
|
super(e);
|
|
3781
3763
|
}
|
|
3782
|
-
},
|
|
3764
|
+
}, gl = class extends b {
|
|
3783
3765
|
constructor(e) {
|
|
3784
3766
|
super(e);
|
|
3785
3767
|
}
|
|
3786
3768
|
g() {
|
|
3787
3769
|
return gt(this, Qu, 1);
|
|
3788
3770
|
}
|
|
3789
|
-
},
|
|
3771
|
+
}, vl = [0, pe, [0, re, ue, D, -1]], on = Ot(gl, vl), eh = class extends b {
|
|
3790
3772
|
constructor(e) {
|
|
3791
3773
|
super(e);
|
|
3792
3774
|
}
|
|
@@ -3804,11 +3786,11 @@ var Ju = Ot(Ie, m1), Qu = class extends b {
|
|
|
3804
3786
|
g() {
|
|
3805
3787
|
return gt(this, th, 5);
|
|
3806
3788
|
}
|
|
3807
|
-
},
|
|
3789
|
+
}, _l = Ot(class extends b {
|
|
3808
3790
|
constructor(e) {
|
|
3809
3791
|
super(e);
|
|
3810
3792
|
}
|
|
3811
|
-
}, [0, ye, rn, ds, [0, De, [0, re, -3], [0, ue, -3], [0, re, -1, [0, pe, [0, re, -2]]], pe, [0, ue, -1, D, ue]], D, -1, Lt, pe, [0, re, ue], ye, Lt]),
|
|
3793
|
+
}, [0, ye, rn, ds, [0, De, [0, re, -3], [0, ue, -3], [0, re, -1, [0, pe, [0, re, -2]]], pe, [0, ue, -1, D, ue]], D, -1, Lt, pe, [0, re, ue], ye, Lt]), yl = class extends b {
|
|
3812
3794
|
constructor(e) {
|
|
3813
3795
|
super(e);
|
|
3814
3796
|
}
|
|
@@ -3816,7 +3798,7 @@ var Ju = Ot(Ie, m1), Qu = class extends b {
|
|
|
3816
3798
|
constructor(e) {
|
|
3817
3799
|
super(e);
|
|
3818
3800
|
}
|
|
3819
|
-
}, [0, pe, [0, ue, -4]]),
|
|
3801
|
+
}, [0, pe, [0, ue, -4]]), bl = class extends b {
|
|
3820
3802
|
constructor(e) {
|
|
3821
3803
|
super(e);
|
|
3822
3804
|
}
|
|
@@ -3828,12 +3810,12 @@ var Ju = Ot(Ie, m1), Qu = class extends b {
|
|
|
3828
3810
|
constructor(e) {
|
|
3829
3811
|
super(e);
|
|
3830
3812
|
}
|
|
3831
|
-
}, ih = [0, re, -1, ds, De],
|
|
3813
|
+
}, ih = [0, re, -1, ds, De], wl = class extends b {
|
|
3832
3814
|
constructor(e) {
|
|
3833
3815
|
super(e);
|
|
3834
3816
|
}
|
|
3835
3817
|
};
|
|
3836
|
-
|
|
3818
|
+
wl.prototype.g = nn([0, ue, -4, Lt]);
|
|
3837
3819
|
var nh = class extends b {
|
|
3838
3820
|
constructor(e) {
|
|
3839
3821
|
super(e);
|
|
@@ -3842,7 +3824,7 @@ var nh = class extends b {
|
|
|
3842
3824
|
constructor(e) {
|
|
3843
3825
|
super(e);
|
|
3844
3826
|
}
|
|
3845
|
-
}, [0, pe, [0, 1, re, D,
|
|
3827
|
+
}, [0, pe, [0, 1, re, D, vl], Lt]), Ga = class extends b {
|
|
3846
3828
|
constructor(e) {
|
|
3847
3829
|
super(e);
|
|
3848
3830
|
}
|
|
@@ -3858,15 +3840,15 @@ var nh = class extends b {
|
|
|
3858
3840
|
constructor(e) {
|
|
3859
3841
|
super(e);
|
|
3860
3842
|
}
|
|
3861
|
-
},
|
|
3843
|
+
}, El = [1, 2], ch = Ot(class extends b {
|
|
3862
3844
|
constructor(e) {
|
|
3863
3845
|
super(e);
|
|
3864
3846
|
}
|
|
3865
|
-
}, [0, pe, [0,
|
|
3847
|
+
}, [0, pe, [0, El, P, [0, ds], P, [0, ll], re, D], Lt]), fs = class extends b {
|
|
3866
3848
|
constructor(e) {
|
|
3867
3849
|
super(e);
|
|
3868
3850
|
}
|
|
3869
|
-
},
|
|
3851
|
+
}, Cl = [0, D, re, ue, ye, -1], Va = class extends b {
|
|
3870
3852
|
constructor(e) {
|
|
3871
3853
|
super(e);
|
|
3872
3854
|
}
|
|
@@ -3891,7 +3873,7 @@ var nh = class extends b {
|
|
|
3891
3873
|
g() {
|
|
3892
3874
|
return C2(ur(this, 2)) ?? !1;
|
|
3893
3875
|
}
|
|
3894
|
-
},
|
|
3876
|
+
}, kl = [0, ll, D, [0, re, Lt, -1], [0, zu, Lt]], ae = [0, kl, Z, [0, _i, P, pl, P, hl, P, ul, P, fl, P, dl], De], sn = class extends b {
|
|
3895
3877
|
constructor(e) {
|
|
3896
3878
|
super(e);
|
|
3897
3879
|
}
|
|
@@ -3901,22 +3883,22 @@ var hh = Ot(class extends b {
|
|
|
3901
3883
|
constructor(e) {
|
|
3902
3884
|
super(e);
|
|
3903
3885
|
}
|
|
3904
|
-
}, [0, [0, De, -1, Wu, qu], ih]),
|
|
3886
|
+
}, [0, [0, De, -1, Wu, qu], ih]), Al = class extends b {
|
|
3905
3887
|
constructor(e) {
|
|
3906
3888
|
super(e);
|
|
3907
3889
|
}
|
|
3908
|
-
},
|
|
3890
|
+
}, xl = class extends b {
|
|
3909
3891
|
constructor(e) {
|
|
3910
3892
|
super(e);
|
|
3911
3893
|
}
|
|
3912
|
-
}, ms = [0, ae, ue, [0, ae], Z],
|
|
3913
|
-
he[508968150] =
|
|
3914
|
-
var
|
|
3894
|
+
}, ms = [0, ae, ue, [0, ae], Z], Tl = [0, ae, ps, ms, ue, [0, [0, kl]]], dh = Qe(508968150, xl);
|
|
3895
|
+
he[508968150] = Tl, he[508968149] = ms;
|
|
3896
|
+
var Sl = class extends b {
|
|
3915
3897
|
constructor(e) {
|
|
3916
3898
|
super(e);
|
|
3917
3899
|
}
|
|
3918
|
-
}, fh = Qe(513916220,
|
|
3919
|
-
he[513916220] = [0, ae,
|
|
3900
|
+
}, fh = Qe(513916220, Sl);
|
|
3901
|
+
he[513916220] = [0, ae, Tl, re];
|
|
3920
3902
|
var Kt = class extends b {
|
|
3921
3903
|
constructor(e) {
|
|
3922
3904
|
super(e);
|
|
@@ -3927,13 +3909,13 @@ var Kt = class extends b {
|
|
|
3927
3909
|
g() {
|
|
3928
3910
|
V(this, 2);
|
|
3929
3911
|
}
|
|
3930
|
-
},
|
|
3931
|
-
he[478825465] =
|
|
3912
|
+
}, Ll = [0, ae, Cl];
|
|
3913
|
+
he[478825465] = Ll;
|
|
3932
3914
|
var ph = class extends b {
|
|
3933
3915
|
constructor(e) {
|
|
3934
3916
|
super(e);
|
|
3935
3917
|
}
|
|
3936
|
-
},
|
|
3918
|
+
}, Ml = class extends b {
|
|
3937
3919
|
constructor(e) {
|
|
3938
3920
|
super(e);
|
|
3939
3921
|
}
|
|
@@ -3945,45 +3927,45 @@ var ph = class extends b {
|
|
|
3945
3927
|
constructor(e) {
|
|
3946
3928
|
super(e);
|
|
3947
3929
|
}
|
|
3948
|
-
},
|
|
3930
|
+
}, Il = class extends b {
|
|
3949
3931
|
constructor(e) {
|
|
3950
3932
|
super(e);
|
|
3951
3933
|
}
|
|
3952
|
-
}, za = [0, ae, [0, ae],
|
|
3953
|
-
he[479097054] = [0, ae,
|
|
3934
|
+
}, za = [0, ae, [0, ae], Ll, -1], Fl = [0, ae, ue, re], _s = [0, ae, ue], Rl = [0, ae, Fl, _s, ue], mh = Qe(479097054, Il);
|
|
3935
|
+
he[479097054] = [0, ae, Rl, za], he[463370452] = za, he[464864288] = Fl;
|
|
3954
3936
|
var gh = Qe(462713202, vs);
|
|
3955
|
-
he[462713202] =
|
|
3937
|
+
he[462713202] = Rl, he[474472470] = _s;
|
|
3956
3938
|
var vh = class extends b {
|
|
3957
3939
|
constructor(e) {
|
|
3958
3940
|
super(e);
|
|
3959
3941
|
}
|
|
3960
|
-
},
|
|
3942
|
+
}, Ol = class extends b {
|
|
3961
3943
|
constructor(e) {
|
|
3962
3944
|
super(e);
|
|
3963
3945
|
}
|
|
3964
|
-
},
|
|
3946
|
+
}, Pl = class extends b {
|
|
3965
3947
|
constructor(e) {
|
|
3966
3948
|
super(e);
|
|
3967
3949
|
}
|
|
3968
|
-
},
|
|
3950
|
+
}, Nl = class extends b {
|
|
3969
3951
|
constructor(e) {
|
|
3970
3952
|
super(e);
|
|
3971
3953
|
}
|
|
3972
3954
|
}, ys = [0, ae, ue, -1, re], po = [0, ae, ue, Z];
|
|
3973
|
-
|
|
3974
|
-
var
|
|
3955
|
+
Nl.prototype.g = nn([0, ae, _s, [0, ae], ps, ms, ys, po]);
|
|
3956
|
+
var Dl = class extends b {
|
|
3975
3957
|
constructor(e) {
|
|
3976
3958
|
super(e);
|
|
3977
3959
|
}
|
|
3978
|
-
}, _h = Qe(456383383,
|
|
3979
|
-
he[456383383] = [0, ae,
|
|
3980
|
-
var
|
|
3960
|
+
}, _h = Qe(456383383, Dl);
|
|
3961
|
+
he[456383383] = [0, ae, Cl];
|
|
3962
|
+
var Ul = class extends b {
|
|
3981
3963
|
constructor(e) {
|
|
3982
3964
|
super(e);
|
|
3983
3965
|
}
|
|
3984
|
-
}, yh = Qe(476348187,
|
|
3966
|
+
}, yh = Qe(476348187, Ul);
|
|
3985
3967
|
he[476348187] = [0, ae, lh];
|
|
3986
|
-
var
|
|
3968
|
+
var Bl = class extends b {
|
|
3987
3969
|
constructor(e) {
|
|
3988
3970
|
super(e);
|
|
3989
3971
|
}
|
|
@@ -3991,7 +3973,7 @@ var B1 = class extends b {
|
|
|
3991
3973
|
constructor(e) {
|
|
3992
3974
|
super(e);
|
|
3993
3975
|
}
|
|
3994
|
-
}, $
|
|
3976
|
+
}, $l = [0, De, -1], bh = Qe(458105876, class extends b {
|
|
3995
3977
|
constructor(e) {
|
|
3996
3978
|
super(e);
|
|
3997
3979
|
}
|
|
@@ -4017,31 +3999,31 @@ var B1 = class extends b {
|
|
|
4017
3999
|
}(e, t, _t(e, t, 2)), !r && qa && (e.pa = !0), e;
|
|
4018
4000
|
}
|
|
4019
4001
|
});
|
|
4020
|
-
he[458105876] = [0, $
|
|
4002
|
+
he[458105876] = [0, $l, Vu, [!0, Lt, [0, D, -1, ye]]];
|
|
4021
4003
|
var bs = class extends b {
|
|
4022
4004
|
constructor(e) {
|
|
4023
4005
|
super(e);
|
|
4024
4006
|
}
|
|
4025
|
-
},
|
|
4026
|
-
he[458105758] = [0, ae, D, $
|
|
4027
|
-
var
|
|
4007
|
+
}, jl = Qe(458105758, bs);
|
|
4008
|
+
he[458105758] = [0, ae, D, $l];
|
|
4009
|
+
var Hl = class extends b {
|
|
4028
4010
|
constructor(e) {
|
|
4029
4011
|
super(e);
|
|
4030
4012
|
}
|
|
4031
|
-
}, wh = Qe(443442058,
|
|
4013
|
+
}, wh = Qe(443442058, Hl);
|
|
4032
4014
|
he[443442058] = [0, ae, D, re, ue, ye, -1, Z, ue], he[514774813] = ys;
|
|
4033
|
-
var
|
|
4015
|
+
var Gl = class extends b {
|
|
4034
4016
|
constructor(e) {
|
|
4035
4017
|
super(e);
|
|
4036
4018
|
}
|
|
4037
|
-
}, Eh = Qe(516587230,
|
|
4019
|
+
}, Eh = Qe(516587230, Gl);
|
|
4038
4020
|
function mo(e, t) {
|
|
4039
4021
|
return t = t ? t.clone() : new fs(), e.displayNamesLocale !== void 0 ? V(t, 1, wr(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && V(t, 1), e.maxResults !== void 0 ? at(t, 2, e.maxResults) : "maxResults" in e && V(t, 2), e.scoreThreshold !== void 0 ? w(t, 3, e.scoreThreshold) : "scoreThreshold" in e && V(t, 3), e.categoryAllowlist !== void 0 ? Ti(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && V(t, 4), e.categoryDenylist !== void 0 ? Ti(t, 5, e.categoryDenylist) : "categoryDenylist" in e && V(t, 5), t;
|
|
4040
4022
|
}
|
|
4041
4023
|
function ws(e, t = -1, r = "") {
|
|
4042
4024
|
return { categories: e.map((i) => ({ index: ze(i, 1) ?? 0 ?? -1, score: oe(i, 2) ?? 0, categoryName: qe(i, 3) ?? "" ?? "", displayName: qe(i, 4) ?? "" ?? "" })), headIndex: t, headName: r };
|
|
4043
4025
|
}
|
|
4044
|
-
function
|
|
4026
|
+
function Vl(e) {
|
|
4045
4027
|
var t = jt(e, 3, Rt, $t()), r = jt(e, 2, br, $t()), i = jt(e, 1, lr, $t()), n = jt(e, 9, lr, $t());
|
|
4046
4028
|
const o = { categories: [], keypoints: [] };
|
|
4047
4029
|
for (let s = 0; s < t.length; s++) o.categories.push({ score: t[s], index: r[s] ?? -1, categoryName: i[s] ?? "", displayName: n[s] ?? "" });
|
|
@@ -4050,12 +4032,12 @@ function V1(e) {
|
|
|
4050
4032
|
}
|
|
4051
4033
|
function an(e) {
|
|
4052
4034
|
const t = [];
|
|
4053
|
-
for (const r of gt(e,
|
|
4035
|
+
for (const r of gt(e, bl, 1)) t.push({ x: oe(r, 1) ?? 0, y: oe(r, 2) ?? 0, z: oe(r, 3) ?? 0, visibility: oe(r, 4) ?? 0 });
|
|
4054
4036
|
return t;
|
|
4055
4037
|
}
|
|
4056
4038
|
function $r(e) {
|
|
4057
4039
|
const t = [];
|
|
4058
|
-
for (const r of gt(e,
|
|
4040
|
+
for (const r of gt(e, yl, 1)) t.push({ x: oe(r, 1) ?? 0, y: oe(r, 2) ?? 0, z: oe(r, 3) ?? 0, visibility: oe(r, 4) ?? 0 });
|
|
4059
4041
|
return t;
|
|
4060
4042
|
}
|
|
4061
4043
|
function Xa(e) {
|
|
@@ -4071,7 +4053,7 @@ function Za(e, t) {
|
|
|
4071
4053
|
let hi;
|
|
4072
4054
|
he[516587230] = [0, ae, ys, po, ue], he[518928384] = po;
|
|
4073
4055
|
const Ch = 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]);
|
|
4074
|
-
async function
|
|
4056
|
+
async function Wl() {
|
|
4075
4057
|
if (hi === void 0) try {
|
|
4076
4058
|
await WebAssembly.instantiate(Ch), hi = !0;
|
|
4077
4059
|
} catch {
|
|
@@ -4080,12 +4062,12 @@ async function W1() {
|
|
|
4080
4062
|
return hi;
|
|
4081
4063
|
}
|
|
4082
4064
|
async function Mr(e, t = Yu``) {
|
|
4083
|
-
const r = await
|
|
4065
|
+
const r = await Wl() ? "wasm_internal" : "wasm_nosimd_internal";
|
|
4084
4066
|
return { wasmLoaderPath: `${t}/${e}_${r}.js`, wasmBinaryPath: `${t}/${e}_${r}.wasm` };
|
|
4085
4067
|
}
|
|
4086
4068
|
var Dt = class {
|
|
4087
4069
|
};
|
|
4088
|
-
function
|
|
4070
|
+
function zl() {
|
|
4089
4071
|
var e = navigator;
|
|
4090
4072
|
return typeof OffscreenCanvas < "u" && (!function(t = navigator) {
|
|
4091
4073
|
return (t = t.userAgent).includes("Safari") && !t.includes("Chrome");
|
|
@@ -4104,7 +4086,7 @@ async function Ya(e) {
|
|
|
4104
4086
|
}
|
|
4105
4087
|
importScripts(e.toString());
|
|
4106
4088
|
}
|
|
4107
|
-
function
|
|
4089
|
+
function ql(e) {
|
|
4108
4090
|
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];
|
|
4109
4091
|
}
|
|
4110
4092
|
function E(e, t, r) {
|
|
@@ -4114,7 +4096,7 @@ function Ka(e, t, r) {
|
|
|
4114
4096
|
if (!e.i.canvas) throw Error("No OpenGL canvas configured.");
|
|
4115
4097
|
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`.");
|
|
4116
4098
|
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);
|
|
4117
|
-
const [i, n] =
|
|
4099
|
+
const [i, n] = ql(t);
|
|
4118
4100
|
return !e.l || i === e.i.canvas.width && n === e.i.canvas.height || (e.i.canvas.width = i, e.i.canvas.height = n), [i, n];
|
|
4119
4101
|
}
|
|
4120
4102
|
function Ja(e, t, r) {
|
|
@@ -4145,7 +4127,7 @@ Dt.forVisionTasks = function(e) {
|
|
|
4145
4127
|
}, Dt.forAudioTasks = function(e) {
|
|
4146
4128
|
return Mr("audio", e);
|
|
4147
4129
|
}, Dt.isSimdSupported = function() {
|
|
4148
|
-
return
|
|
4130
|
+
return Wl();
|
|
4149
4131
|
};
|
|
4150
4132
|
async function kh(e, t, r, i) {
|
|
4151
4133
|
return e = await (async (n, o, s, a, c) => {
|
|
@@ -4413,7 +4395,7 @@ function vo(e) {
|
|
|
4413
4395
|
t = new Float32Array(e.width * e.height);
|
|
4414
4396
|
const i = fr(e);
|
|
4415
4397
|
var r = ks(e);
|
|
4416
|
-
if (un(r, i,
|
|
4398
|
+
if (un(r, i, Xl(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) {
|
|
4417
4399
|
r = new Float32Array(e.width * e.height * 4), i.readPixels(0, 0, e.width, e.height, i.RGBA, i.FLOAT, r);
|
|
4418
4400
|
for (let n = 0, o = 0; n < t.length; ++n, o += 4) t[n] = r[o];
|
|
4419
4401
|
} else i.readPixels(0, 0, e.width, e.height, i.RED, i.FLOAT, t);
|
|
@@ -4422,12 +4404,12 @@ function vo(e) {
|
|
|
4422
4404
|
}
|
|
4423
4405
|
return t;
|
|
4424
4406
|
}
|
|
4425
|
-
function
|
|
4407
|
+
function Xl(e) {
|
|
4426
4408
|
let t = ht(e, 2);
|
|
4427
4409
|
if (!t) {
|
|
4428
4410
|
const r = fr(e);
|
|
4429
|
-
t =
|
|
4430
|
-
const i = vo(e), n =
|
|
4411
|
+
t = Yl(e);
|
|
4412
|
+
const i = vo(e), n = Zl(e);
|
|
4431
4413
|
r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, i), _o(e);
|
|
4432
4414
|
}
|
|
4433
4415
|
return t;
|
|
@@ -4436,7 +4418,7 @@ function fr(e) {
|
|
|
4436
4418
|
if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
|
|
4437
4419
|
return e.h || (e.h = Ce(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
|
|
4438
4420
|
}
|
|
4439
|
-
function
|
|
4421
|
+
function Zl(e) {
|
|
4440
4422
|
if (e = fr(e), !di) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) di = e.R32F;
|
|
4441
4423
|
else {
|
|
4442
4424
|
if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
|
|
@@ -4447,7 +4429,7 @@ function Z1(e) {
|
|
|
4447
4429
|
function ks(e) {
|
|
4448
4430
|
return e.l || (e.l = new Tr()), e.l;
|
|
4449
4431
|
}
|
|
4450
|
-
function
|
|
4432
|
+
function Yl(e) {
|
|
4451
4433
|
const t = fr(e);
|
|
4452
4434
|
t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
|
|
4453
4435
|
let r = ht(e, 2);
|
|
@@ -4477,7 +4459,7 @@ var di, de = class {
|
|
|
4477
4459
|
return vo(this);
|
|
4478
4460
|
}
|
|
4479
4461
|
N() {
|
|
4480
|
-
return
|
|
4462
|
+
return Xl(this);
|
|
4481
4463
|
}
|
|
4482
4464
|
clone() {
|
|
4483
4465
|
const e = [];
|
|
@@ -4490,9 +4472,9 @@ var di, de = class {
|
|
|
4490
4472
|
{
|
|
4491
4473
|
const i = fr(this), n = ks(this);
|
|
4492
4474
|
i.activeTexture(i.TEXTURE1), r = Mt(n, i, this.m ? i.LINEAR : i.NEAREST), i.bindTexture(i.TEXTURE_2D, r);
|
|
4493
|
-
const o =
|
|
4475
|
+
const o = Zl(this);
|
|
4494
4476
|
i.texImage2D(i.TEXTURE_2D, 0, o, this.width, this.height, 0, i.RED, i.FLOAT, null), i.bindTexture(i.TEXTURE_2D, null), un(n, i, r), ri(n, i, !1, () => {
|
|
4495
|
-
|
|
4477
|
+
Yl(this), i.clearColor(0, 0, 0, 0), i.clear(i.COLOR_BUFFER_BIT), i.drawArrays(i.TRIANGLE_FAN, 0, 4), _o(this);
|
|
4496
4478
|
}), Cs(n), _o(this);
|
|
4497
4479
|
}
|
|
4498
4480
|
}
|
|
@@ -4637,7 +4619,7 @@ function nt(e, t) {
|
|
|
4637
4619
|
throw Error(`Type is not supported: ${t}`);
|
|
4638
4620
|
}
|
|
4639
4621
|
}
|
|
4640
|
-
function
|
|
4622
|
+
function Kl(e) {
|
|
4641
4623
|
var t = nt(e, 0);
|
|
4642
4624
|
if (!t) {
|
|
4643
4625
|
t = pr(e);
|
|
@@ -4651,7 +4633,7 @@ function yi(e) {
|
|
|
4651
4633
|
if (!t) {
|
|
4652
4634
|
const r = pr(e);
|
|
4653
4635
|
t = bi(e);
|
|
4654
|
-
const i = nt(e, 1) ||
|
|
4636
|
+
const i = nt(e, 1) || Kl(e);
|
|
4655
4637
|
r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, r.RGBA, r.UNSIGNED_BYTE, i), Or(e);
|
|
4656
4638
|
}
|
|
4657
4639
|
return t;
|
|
@@ -4701,7 +4683,7 @@ var me = class {
|
|
|
4701
4683
|
return !!nt(this, 2);
|
|
4702
4684
|
}
|
|
4703
4685
|
Aa() {
|
|
4704
|
-
return
|
|
4686
|
+
return Kl(this);
|
|
4705
4687
|
}
|
|
4706
4688
|
za() {
|
|
4707
4689
|
var e = nt(this, 1);
|
|
@@ -4745,7 +4727,7 @@ const Lh = /* @__PURE__ */ function(e) {
|
|
|
4745
4727
|
};
|
|
4746
4728
|
}((lc = class {
|
|
4747
4729
|
constructor(e, t) {
|
|
4748
|
-
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 :
|
|
4730
|
+
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 : zl() ? 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"));
|
|
4749
4731
|
}
|
|
4750
4732
|
async initializeGraph(e) {
|
|
4751
4733
|
const t = await (await fetch(e)).arrayBuffer();
|
|
@@ -5105,11 +5087,11 @@ var lc, Xe = class extends Lh {
|
|
|
5105
5087
|
async function M(e, t, r) {
|
|
5106
5088
|
return async function(i, n, o, s) {
|
|
5107
5089
|
return kh(i, n, o, s);
|
|
5108
|
-
}(e, r.canvas ?? (
|
|
5090
|
+
}(e, r.canvas ?? (zl() ? void 0 : document.createElement("canvas")), t, r);
|
|
5109
5091
|
}
|
|
5110
|
-
function
|
|
5092
|
+
function Jl(e, t, r, i) {
|
|
5111
5093
|
if (e.U) {
|
|
5112
|
-
const o = new
|
|
5094
|
+
const o = new wl();
|
|
5113
5095
|
if (r?.regionOfInterest) {
|
|
5114
5096
|
if (!e.na) throw Error("This task doesn't support region-of-interest.");
|
|
5115
5097
|
var n = r.regionOfInterest;
|
|
@@ -5120,7 +5102,7 @@ function J1(e, t, r, i) {
|
|
|
5120
5102
|
if (r?.rotationDegrees) {
|
|
5121
5103
|
if (r?.rotationDegrees % 90 != 0) throw Error("Expected rotation to be a multiple of 90°.");
|
|
5122
5104
|
if (w(o, 5, -Math.PI * r.rotationDegrees / 180), r?.rotationDegrees % 180 != 0) {
|
|
5123
|
-
const [s, a] =
|
|
5105
|
+
const [s, a] = ql(t);
|
|
5124
5106
|
r = oe(o, 3) * a / s, n = oe(o, 4) * s / a, w(o, 4, r), w(o, 3, n);
|
|
5125
5107
|
}
|
|
5126
5108
|
}
|
|
@@ -5130,11 +5112,11 @@ function J1(e, t, r, i) {
|
|
|
5130
5112
|
}
|
|
5131
5113
|
function Ze(e, t, r) {
|
|
5132
5114
|
if (e.baseOptions?.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
|
|
5133
|
-
|
|
5115
|
+
Jl(e, t, r, e.B + 1);
|
|
5134
5116
|
}
|
|
5135
5117
|
function ct(e, t, r, i) {
|
|
5136
5118
|
if (!e.baseOptions?.g()) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
|
|
5137
|
-
|
|
5119
|
+
Jl(e, t, r, i);
|
|
5138
5120
|
}
|
|
5139
5121
|
function mr(e, t, r, i) {
|
|
5140
5122
|
var n = t.data;
|
|
@@ -5181,7 +5163,7 @@ var He = class extends Me {
|
|
|
5181
5163
|
Ke(t, uh, this.h);
|
|
5182
5164
|
const r = new ke();
|
|
5183
5165
|
$e(r, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), W(r, "IMAGE:image_in"), W(r, "NORM_RECT:norm_rect_in"), I(r, "DETECTIONS:detections"), r.o(t), je(e, r), this.g.attachProtoVectorListener("detections", (i, n) => {
|
|
5184
|
-
for (const o of i) i =
|
|
5166
|
+
for (const o of i) i = _l(o), this.j.detections.push(Vl(i));
|
|
5185
5167
|
v(this, n);
|
|
5186
5168
|
}), this.g.attachEmptyPacketListener("detections", (i) => {
|
|
5187
5169
|
v(this, i);
|
|
@@ -5195,13 +5177,13 @@ He.prototype.detectForVideo = He.prototype.F, He.prototype.detect = He.prototype
|
|
|
5195
5177
|
}, He.createFromOptions = function(e, t) {
|
|
5196
5178
|
return M(He, e, t);
|
|
5197
5179
|
};
|
|
5198
|
-
var As = et([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]), xs = et([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]), Ts = et([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), Q1 = et([474, 475], [475, 476], [476, 477], [477, 474]), Ss = et([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]), Ls = et([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), el = et([469, 470], [470, 471], [471, 472], [472, 469]), Ms = et([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]), tl = [...As, ...xs, ...Ts, ...Ss, ...Ls, ...Ms], rl = et([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]);
|
|
5180
|
+
var As = et([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]), xs = et([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]), Ts = et([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), Ql = et([474, 475], [475, 476], [476, 477], [477, 474]), Ss = et([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]), Ls = et([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), e1 = et([469, 470], [470, 471], [471, 472], [472, 469]), Ms = et([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]), t1 = [...As, ...xs, ...Ts, ...Ss, ...Ls, ...Ms], r1 = et([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]);
|
|
5199
5181
|
function uc(e) {
|
|
5200
5182
|
e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
|
|
5201
5183
|
}
|
|
5202
5184
|
var z = class extends Me {
|
|
5203
5185
|
constructor(e, t) {
|
|
5204
|
-
super(new Xe(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, A(e = this.h = new
|
|
5186
|
+
super(new Xe(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, A(e = this.h = new xl(), 0, 1, t = new Y()), this.v = new Al(), A(this.h, 0, 3, this.v), this.s = new sn(), A(this.h, 0, 2, this.s), at(this.s, 4, 1), w(this.s, 2, 0.5), w(this.v, 2, 0.5), w(this.h, 4, 0.5);
|
|
5205
5187
|
}
|
|
5206
5188
|
get baseOptions() {
|
|
5207
5189
|
return R(this.h, Y, 1);
|
|
@@ -5248,10 +5230,10 @@ z.prototype.detectForVideo = z.prototype.F, z.prototype.detect = z.prototype.D,
|
|
|
5248
5230
|
return M(z, e, { baseOptions: { modelAssetBuffer: t } });
|
|
5249
5231
|
}, z.createFromOptions = function(e, t) {
|
|
5250
5232
|
return M(z, e, t);
|
|
5251
|
-
}, z.FACE_LANDMARKS_LIPS = As, z.FACE_LANDMARKS_LEFT_EYE = xs, z.FACE_LANDMARKS_LEFT_EYEBROW = Ts, z.FACE_LANDMARKS_LEFT_IRIS =
|
|
5233
|
+
}, z.FACE_LANDMARKS_LIPS = As, z.FACE_LANDMARKS_LEFT_EYE = xs, z.FACE_LANDMARKS_LEFT_EYEBROW = Ts, z.FACE_LANDMARKS_LEFT_IRIS = Ql, z.FACE_LANDMARKS_RIGHT_EYE = Ss, z.FACE_LANDMARKS_RIGHT_EYEBROW = Ls, z.FACE_LANDMARKS_RIGHT_IRIS = e1, z.FACE_LANDMARKS_FACE_OVAL = Ms, z.FACE_LANDMARKS_CONTOURS = t1, z.FACE_LANDMARKS_TESSELATION = r1;
|
|
5252
5234
|
var rt = class extends Me {
|
|
5253
5235
|
constructor(e, t) {
|
|
5254
|
-
super(new Xe(e, t), "image_in", "norm_rect", !0), A(e = this.j = new
|
|
5236
|
+
super(new Xe(e, t), "image_in", "norm_rect", !0), A(e = this.j = new Sl(), 0, 1, t = new Y());
|
|
5255
5237
|
}
|
|
5256
5238
|
get baseOptions() {
|
|
5257
5239
|
return R(this.j, Y, 1);
|
|
@@ -5316,7 +5298,7 @@ function fc(e, t = !0) {
|
|
|
5316
5298
|
}
|
|
5317
5299
|
var Re = class extends Me {
|
|
5318
5300
|
constructor(e, t) {
|
|
5319
|
-
super(new Xe(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], A(e = this.j = new
|
|
5301
|
+
super(new Xe(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], A(e = this.j = new Il(), 0, 1, t = new Y()), this.s = new vs(), A(this.j, 0, 2, this.s), this.C = new gs(), A(this.s, 0, 3, this.C), this.v = new Ml(), A(this.s, 0, 2, this.v), this.h = new ph(), A(this.j, 0, 3, this.h), w(this.v, 2, 0.5), w(this.s, 4, 0.5), w(this.C, 2, 0.5);
|
|
5320
5302
|
}
|
|
5321
5303
|
get baseOptions() {
|
|
5322
5304
|
return R(this.j, Y, 1);
|
|
@@ -5347,7 +5329,7 @@ var Re = class extends Me {
|
|
|
5347
5329
|
for (const o of i) {
|
|
5348
5330
|
i = ti(o);
|
|
5349
5331
|
const s = [];
|
|
5350
|
-
for (const a of gt(i,
|
|
5332
|
+
for (const a of gt(i, bl, 1)) s.push({ x: oe(a, 1) ?? 0, y: oe(a, 2) ?? 0, z: oe(a, 3) ?? 0, visibility: oe(a, 4) ?? 0 });
|
|
5351
5333
|
this.landmarks.push(s);
|
|
5352
5334
|
}
|
|
5353
5335
|
v(this, n);
|
|
@@ -5357,7 +5339,7 @@ var Re = class extends Me {
|
|
|
5357
5339
|
for (const o of i) {
|
|
5358
5340
|
i = ir(o);
|
|
5359
5341
|
const s = [];
|
|
5360
|
-
for (const a of gt(i,
|
|
5342
|
+
for (const a of gt(i, yl, 1)) s.push({ x: oe(a, 1) ?? 0, y: oe(a, 2) ?? 0, z: oe(a, 3) ?? 0, visibility: oe(a, 4) ?? 0 });
|
|
5361
5343
|
this.worldLandmarks.push(s);
|
|
5362
5344
|
}
|
|
5363
5345
|
v(this, n);
|
|
@@ -5386,7 +5368,7 @@ Re.prototype.recognizeForVideo = Re.prototype.Ga, Re.prototype.recognize = Re.pr
|
|
|
5386
5368
|
}, Re.HAND_CONNECTIONS = Is;
|
|
5387
5369
|
var Oe = class extends Me {
|
|
5388
5370
|
constructor(e, t) {
|
|
5389
|
-
super(new Xe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], A(e = this.h = new vs(), 0, 1, t = new Y()), this.s = new gs(), A(this.h, 0, 3, this.s), this.j = new
|
|
5371
|
+
super(new Xe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], A(e = this.h = new vs(), 0, 1, t = new Y()), this.s = new gs(), A(this.h, 0, 3, this.s), this.j = new Ml(), A(this.h, 0, 2, this.j), at(this.j, 3, 1), w(this.j, 2, 0.5), w(this.s, 2, 0.5), w(this.h, 4, 0.5);
|
|
5390
5372
|
}
|
|
5391
5373
|
get baseOptions() {
|
|
5392
5374
|
return R(this.h, Y, 1);
|
|
@@ -5441,7 +5423,7 @@ Oe.prototype.detectForVideo = Oe.prototype.F, Oe.prototype.detect = Oe.prototype
|
|
|
5441
5423
|
}, Oe.createFromOptions = function(e, t) {
|
|
5442
5424
|
return M(Oe, e, t);
|
|
5443
5425
|
}, Oe.HAND_CONNECTIONS = Is;
|
|
5444
|
-
var
|
|
5426
|
+
var i1 = et([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]);
|
|
5445
5427
|
function mc(e) {
|
|
5446
5428
|
e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
|
|
5447
5429
|
}
|
|
@@ -5458,7 +5440,7 @@ function fi(e, t) {
|
|
|
5458
5440
|
}
|
|
5459
5441
|
var X = class extends Me {
|
|
5460
5442
|
constructor(e, t) {
|
|
5461
|
-
super(new Xe(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, A(e = this.j = new
|
|
5443
|
+
super(new Xe(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, A(e = this.j = new Nl(), 0, 1, t = new Y()), this.K = new gs(), A(this.j, 0, 2, this.K), this.Y = new vh(), A(this.j, 0, 3, this.Y), this.s = new sn(), A(this.j, 0, 4, this.s), this.H = new Al(), A(this.j, 0, 5, this.H), this.v = new Ol(), A(this.j, 0, 6, this.v), this.L = new Pl(), A(this.j, 0, 7, this.L), w(this.s, 2, 0.5), w(this.s, 3, 0.3), w(this.H, 2, 0.5), w(this.v, 2, 0.5), w(this.v, 3, 0.3), w(this.L, 2, 0.5), w(this.K, 2, 0.5);
|
|
5462
5444
|
}
|
|
5463
5445
|
get baseOptions() {
|
|
5464
5446
|
return R(this.j, Y, 1);
|
|
@@ -5538,10 +5520,10 @@ X.prototype.detectForVideo = X.prototype.F, X.prototype.detect = X.prototype.D,
|
|
|
5538
5520
|
return M(X, e, { baseOptions: { modelAssetBuffer: t } });
|
|
5539
5521
|
}, X.createFromOptions = function(e, t) {
|
|
5540
5522
|
return M(X, e, t);
|
|
5541
|
-
}, X.HAND_CONNECTIONS = Is, X.POSE_CONNECTIONS =
|
|
5523
|
+
}, X.HAND_CONNECTIONS = Is, X.POSE_CONNECTIONS = i1, X.FACE_LANDMARKS_LIPS = As, X.FACE_LANDMARKS_LEFT_EYE = xs, X.FACE_LANDMARKS_LEFT_EYEBROW = Ts, X.FACE_LANDMARKS_LEFT_IRIS = Ql, X.FACE_LANDMARKS_RIGHT_EYE = Ss, X.FACE_LANDMARKS_RIGHT_EYEBROW = Ls, X.FACE_LANDMARKS_RIGHT_IRIS = e1, X.FACE_LANDMARKS_FACE_OVAL = Ms, X.FACE_LANDMARKS_CONTOURS = t1, X.FACE_LANDMARKS_TESSELATION = r1;
|
|
5542
5524
|
var Ge = class extends Me {
|
|
5543
5525
|
constructor(e, t) {
|
|
5544
|
-
super(new Xe(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, A(e = this.h = new
|
|
5526
|
+
super(new Xe(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, A(e = this.h = new Dl(), 0, 1, t = new Y());
|
|
5545
5527
|
}
|
|
5546
5528
|
get baseOptions() {
|
|
5547
5529
|
return R(this.h, Y, 1);
|
|
@@ -5566,7 +5548,7 @@ var Ge = class extends Me {
|
|
|
5566
5548
|
const r = new ke();
|
|
5567
5549
|
$e(r, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), W(r, "IMAGE:input_image"), W(r, "NORM_RECT:norm_rect"), I(r, "CLASSIFICATIONS:classifications"), r.o(t), je(e, r), this.g.attachProtoListener("classifications", (i, n) => {
|
|
5568
5550
|
this.j = function(o) {
|
|
5569
|
-
const s = { classifications: gt(o, nh, 1).map((a) => ws(R(a,
|
|
5551
|
+
const s = { classifications: gt(o, nh, 1).map((a) => ws(R(a, gl, 4)?.g() ?? [], ze(a, 2) ?? 0, qe(a, 3) ?? "")) };
|
|
5570
5552
|
return oo(ur(o, 2)) != null && (s.timestampMs = oo(ur(o, 2)) ?? 0), s;
|
|
5571
5553
|
}(oh(i)), v(this, n);
|
|
5572
5554
|
}), this.g.attachEmptyPacketListener("classifications", (i) => {
|
|
@@ -5583,7 +5565,7 @@ Ge.prototype.classifyForVideo = Ge.prototype.ra, Ge.prototype.classify = Ge.prot
|
|
|
5583
5565
|
};
|
|
5584
5566
|
var Pe = class extends Me {
|
|
5585
5567
|
constructor(e, t) {
|
|
5586
|
-
super(new Xe(e, t), "image_in", "norm_rect", !0), this.h = new
|
|
5568
|
+
super(new Xe(e, t), "image_in", "norm_rect", !0), this.h = new Ul(), this.embeddings = { embeddings: [] }, A(e = this.h, 0, 1, t = new Y());
|
|
5587
5569
|
}
|
|
5588
5570
|
get baseOptions() {
|
|
5589
5571
|
return R(this.h, Y, 1);
|
|
@@ -5663,7 +5645,7 @@ function _c(e) {
|
|
|
5663
5645
|
yo.prototype.close = yo.prototype.close;
|
|
5664
5646
|
var Se = class extends Me {
|
|
5665
5647
|
constructor(e, t) {
|
|
5666
|
-
super(new Xe(e, t), "image_in", "norm_rect", !1), this.s = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new bs(), this.v = new
|
|
5648
|
+
super(new Xe(e, t), "image_in", "norm_rect", !1), this.s = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new bs(), this.v = new Bl(), A(this.h, 0, 3, this.v), A(e = this.h, 0, 1, t = new Y());
|
|
5667
5649
|
}
|
|
5668
5650
|
get baseOptions() {
|
|
5669
5651
|
return R(this.h, Y, 1);
|
|
@@ -5698,7 +5680,7 @@ var Se = class extends Me {
|
|
|
5698
5680
|
var e = new Ie();
|
|
5699
5681
|
q(e, "image_in"), q(e, "norm_rect");
|
|
5700
5682
|
const t = new Ue();
|
|
5701
|
-
Ke(t,
|
|
5683
|
+
Ke(t, jl, this.h);
|
|
5702
5684
|
const r = new ke();
|
|
5703
5685
|
$e(r, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), W(r, "IMAGE:image_in"), W(r, "NORM_RECT:norm_rect"), r.o(t), je(e, r), cn(this, e), this.outputConfidenceMasks && (O(e, "confidence_masks"), I(r, "CONFIDENCE_MASKS:confidence_masks"), dr(this, "confidence_masks"), this.g.ba("confidence_masks", (i, n) => {
|
|
5704
5686
|
this.confidenceMasks = i.map((o) => mr(this, o, !0, !this.j)), v(this, n);
|
|
@@ -5749,15 +5731,15 @@ var Mh = class extends b {
|
|
|
5749
5731
|
constructor(e) {
|
|
5750
5732
|
super(e);
|
|
5751
5733
|
}
|
|
5752
|
-
}, wo = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15],
|
|
5734
|
+
}, wo = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15], n1 = class extends b {
|
|
5753
5735
|
constructor(e) {
|
|
5754
5736
|
super(e);
|
|
5755
5737
|
}
|
|
5756
5738
|
};
|
|
5757
|
-
|
|
5739
|
+
n1.prototype.g = nn([0, pe, [0, wo, P, Mi, P, [0, Mi, Jt], P, yc, P, [0, yc, Jt], P, wc, P, [0, ut, -3, Z, De], P, [0, ut, -3, Z], P, [0, D, ut, -2, Z, re, Z, -1, 2, ut, Jt], P, bc, P, [0, bc, Jt], ut, Jt, D, P, [0, ut, -3, Z, Jt, -1], P, [0, pe, wc]], D, [0, D, re, -1, Z]]);
|
|
5758
5740
|
var it = class extends Me {
|
|
5759
5741
|
constructor(e, t) {
|
|
5760
|
-
super(new Xe(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new bs(), this.s = new
|
|
5742
|
+
super(new Xe(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new bs(), this.s = new Bl(), A(this.h, 0, 3, this.s), A(e = this.h, 0, 1, t = new Y());
|
|
5761
5743
|
}
|
|
5762
5744
|
get baseOptions() {
|
|
5763
5745
|
return R(this.h, Y, 1);
|
|
@@ -5770,7 +5752,7 @@ var it = class extends Me {
|
|
|
5770
5752
|
}
|
|
5771
5753
|
segment(e, t, r, i) {
|
|
5772
5754
|
const n = typeof r != "function" ? r : {};
|
|
5773
|
-
this.j = typeof r == "function" ? r : i, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.B + 1, i = new
|
|
5755
|
+
this.j = typeof r == "function" ? r : i, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.B + 1, i = new n1();
|
|
5774
5756
|
const o = new Ec();
|
|
5775
5757
|
var s = new Mh();
|
|
5776
5758
|
if (at(s, 1, 255), A(o, 0, 12, s), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
|
|
@@ -5802,7 +5784,7 @@ var it = class extends Me {
|
|
|
5802
5784
|
var e = new Ie();
|
|
5803
5785
|
q(e, "image_in"), q(e, "roi_in"), q(e, "norm_rect_in");
|
|
5804
5786
|
const t = new Ue();
|
|
5805
|
-
Ke(t,
|
|
5787
|
+
Ke(t, jl, this.h);
|
|
5806
5788
|
const r = new ke();
|
|
5807
5789
|
$e(r, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraph"), W(r, "IMAGE:image_in"), W(r, "ROI:roi_in"), W(r, "NORM_RECT:norm_rect_in"), r.o(t), je(e, r), cn(this, e), this.outputConfidenceMasks && (O(e, "confidence_masks"), I(r, "CONFIDENCE_MASKS:confidence_masks"), dr(this, "confidence_masks"), this.g.ba("confidence_masks", (i, n) => {
|
|
5808
5790
|
this.confidenceMasks = i.map((o) => mr(this, o, !0, !this.j)), v(this, n);
|
|
@@ -5828,7 +5810,7 @@ it.prototype.segment = it.prototype.segment, it.prototype.setOptions = it.protot
|
|
|
5828
5810
|
};
|
|
5829
5811
|
var Ve = class extends Me {
|
|
5830
5812
|
constructor(e, t) {
|
|
5831
|
-
super(new Xe(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, A(e = this.h = new
|
|
5813
|
+
super(new Xe(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, A(e = this.h = new Hl(), 0, 1, t = new Y());
|
|
5832
5814
|
}
|
|
5833
5815
|
get baseOptions() {
|
|
5834
5816
|
return R(this.h, Y, 1);
|
|
@@ -5852,7 +5834,7 @@ var Ve = class extends Me {
|
|
|
5852
5834
|
Ke(t, wh, this.h);
|
|
5853
5835
|
const r = new ke();
|
|
5854
5836
|
$e(r, "mediapipe.tasks.vision.ObjectDetectorGraph"), W(r, "IMAGE:input_frame_gpu"), W(r, "NORM_RECT:norm_rect"), I(r, "DETECTIONS:detections"), r.o(t), je(e, r), this.g.attachProtoVectorListener("detections", (i, n) => {
|
|
5855
|
-
for (const o of i) i =
|
|
5837
|
+
for (const o of i) i = _l(o), this.j.detections.push(Vl(i));
|
|
5856
5838
|
v(this, n);
|
|
5857
5839
|
}), this.g.attachEmptyPacketListener("detections", (i) => {
|
|
5858
5840
|
v(this, i);
|
|
@@ -5891,7 +5873,7 @@ function kc(e) {
|
|
|
5891
5873
|
Eo.prototype.close = Eo.prototype.close;
|
|
5892
5874
|
var Ne = class extends Me {
|
|
5893
5875
|
constructor(e, t) {
|
|
5894
|
-
super(new Xe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, A(e = this.h = new
|
|
5876
|
+
super(new Xe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, A(e = this.h = new Gl(), 0, 1, t = new Y()), this.v = new Pl(), A(this.h, 0, 3, this.v), this.j = new Ol(), A(this.h, 0, 2, this.j), at(this.j, 4, 1), w(this.j, 2, 0.5), w(this.v, 2, 0.5), w(this.h, 4, 0.5);
|
|
5895
5877
|
}
|
|
5896
5878
|
get baseOptions() {
|
|
5897
5879
|
return R(this.h, Y, 1);
|
|
@@ -5941,7 +5923,7 @@ Ne.prototype.detectForVideo = Ne.prototype.F, Ne.prototype.detect = Ne.prototype
|
|
|
5941
5923
|
return M(Ne, e, { baseOptions: { modelAssetBuffer: t } });
|
|
5942
5924
|
}, Ne.createFromOptions = function(e, t) {
|
|
5943
5925
|
return M(Ne, e, t);
|
|
5944
|
-
}, Ne.POSE_CONNECTIONS =
|
|
5926
|
+
}, Ne.POSE_CONNECTIONS = i1;
|
|
5945
5927
|
const Fh = (e) => {
|
|
5946
5928
|
if (!e || e.length === 0) return 0;
|
|
5947
5929
|
const t = e[0];
|
|
@@ -6069,7 +6051,24 @@ const Fh = (e) => {
|
|
|
6069
6051
|
"smile-required": "Smile!",
|
|
6070
6052
|
"open-mouth-smile": "Wider smile - teeth visible",
|
|
6071
6053
|
initializing: "Initializing..."
|
|
6072
|
-
}, Dh = () => {
|
|
6054
|
+
}, Dh = ["sm-s936", "sm-s931", "sm-s938"], Uh = async () => {
|
|
6055
|
+
if (typeof navigator < "u" && navigator.userAgentData)
|
|
6056
|
+
try {
|
|
6057
|
+
const { model: e } = await navigator.userAgentData.getHighEntropyValues([
|
|
6058
|
+
"model"
|
|
6059
|
+
]);
|
|
6060
|
+
if (!e)
|
|
6061
|
+
return !1;
|
|
6062
|
+
const t = e.toLowerCase();
|
|
6063
|
+
return Dh.some((r) => t.includes(r));
|
|
6064
|
+
} catch (e) {
|
|
6065
|
+
return console.warn(
|
|
6066
|
+
"UA-CH model fetch failed, falling back to UA string check.",
|
|
6067
|
+
e
|
|
6068
|
+
), !1;
|
|
6069
|
+
}
|
|
6070
|
+
return !1;
|
|
6071
|
+
}, Bh = () => {
|
|
6073
6072
|
const e = document.createElement("canvas"), t = e.getContext("webgl") || e.getContext("experimental-webgl");
|
|
6074
6073
|
if (!t) return !1;
|
|
6075
6074
|
const r = t.getExtension("OES_texture_half_float"), i = t.getExtension(
|
|
@@ -6078,7 +6077,7 @@ const Fh = (e) => {
|
|
|
6078
6077
|
"EXT_color_buffer_half_float"
|
|
6079
6078
|
);
|
|
6080
6079
|
return !!(r && n && i);
|
|
6081
|
-
},
|
|
6080
|
+
}, o1 = async () => {
|
|
6082
6081
|
window.__smileIdentityMediapipe || (window.__smileIdentityMediapipe = {
|
|
6083
6082
|
instance: null,
|
|
6084
6083
|
loading: null,
|
|
@@ -6089,21 +6088,21 @@ const Fh = (e) => {
|
|
|
6089
6088
|
try {
|
|
6090
6089
|
const t = await Dt.forVisionTasks(
|
|
6091
6090
|
"https://web-models.smileidentity.com/mediapipe-tasks-vision-wasm"
|
|
6092
|
-
), r = await z.createFromOptions(t, {
|
|
6091
|
+
), r = await Uh(), i = await z.createFromOptions(t, {
|
|
6093
6092
|
baseOptions: {
|
|
6094
6093
|
modelAssetPath: "https://web-models.smileidentity.com/face_landmarker/face_landmarker.task",
|
|
6095
|
-
delegate:
|
|
6094
|
+
delegate: r || !Bh() ? "CPU" : "GPU"
|
|
6096
6095
|
},
|
|
6097
6096
|
outputFaceBlendshapes: !0,
|
|
6098
6097
|
runningMode: "VIDEO",
|
|
6099
6098
|
numFaces: 2
|
|
6100
6099
|
});
|
|
6101
|
-
return e.instance =
|
|
6100
|
+
return e.instance = i, e.loaded = !0, e.loading = null, i;
|
|
6102
6101
|
} catch (t) {
|
|
6103
6102
|
throw e.loading = null, t;
|
|
6104
6103
|
}
|
|
6105
6104
|
})()), e.loading);
|
|
6106
|
-
}, Fr = ko.version,
|
|
6105
|
+
}, Fr = ko.version, $h = ({
|
|
6107
6106
|
videoRef: e,
|
|
6108
6107
|
canvasRef: t,
|
|
6109
6108
|
interval: r,
|
|
@@ -6117,7 +6116,7 @@ const Fh = (e) => {
|
|
|
6117
6116
|
}) => {
|
|
6118
6117
|
const h = be(null), u = be(null), d = be(null), f = be(null), m = ee(!1), y = ee(!1), p = ee("good"), _ = ee(!1), g = ee(16 / 9), x = ee([]), T = ee(0), S = ee(0), k = ee(0), F = ee(0), $ = ee(""), j = ee(!0), we = ee(!1), Q = ee(!1), K = ee(0), B = ee([]), ie = ee(null), ne = ee(1), _e = ee(0), Fs = ee(!1), Xt = yn(
|
|
6119
6118
|
() => Math.floor(ne.value * 0.4)
|
|
6120
|
-
), Rs = yn(() => Math.floor(ne.value * 0.2)),
|
|
6119
|
+
), Rs = yn(() => Math.floor(ne.value * 0.2)), s1 = yn(
|
|
6121
6120
|
() => m.value && y.value && p.value === "good" && !_.value
|
|
6122
6121
|
), dn = (H) => {
|
|
6123
6122
|
H && Sc[H] ? $.value = Sc[H] : $.value = "";
|
|
@@ -6125,22 +6124,22 @@ const Fh = (e) => {
|
|
|
6125
6124
|
l2((H) => {
|
|
6126
6125
|
dn(H);
|
|
6127
6126
|
}, 600)
|
|
6128
|
-
).current,
|
|
6127
|
+
).current, a1 = async () => {
|
|
6129
6128
|
try {
|
|
6130
|
-
window.__smileIdentityMediapipe?.loaded && window.__smileIdentityMediapipe?.instance || (j.value = !0, dn("initializing")), h.current = await
|
|
6129
|
+
window.__smileIdentityMediapipe?.loaded && window.__smileIdentityMediapipe?.instance || (j.value = !0, dn("initializing")), h.current = await o1(), j.value = !1;
|
|
6131
6130
|
} catch (H) {
|
|
6132
6131
|
console.error("Failed to initialize MediaPipe:", H), j.value = !1;
|
|
6133
6132
|
}
|
|
6134
|
-
},
|
|
6133
|
+
}, c1 = () => {
|
|
6135
6134
|
if (e.current && t.current) {
|
|
6136
6135
|
const { videoWidth: H, videoHeight: Te } = e.current;
|
|
6137
6136
|
g.value = H / Te, t.current.width = H, t.current.height = Te, e.current.parentElement && (t.current.style.left = "50%", t.current.style.top = "50%");
|
|
6138
6137
|
}
|
|
6139
|
-
},
|
|
6138
|
+
}, l1 = () => {
|
|
6140
6139
|
const H = _e.value < Rs.value, Te = _e.value >= Xt.value;
|
|
6141
6140
|
H ? $.value = "Capturing..." : Te ? Date.now() - F.value > c ? T.value >= n && k.value < o ? Fe("open-mouth-smile") : Fe("smile-required") : $.value = "Keep smiling!" : Fe(null);
|
|
6142
|
-
},
|
|
6143
|
-
j.value ? dn("initializing") : _.value ? Fe("multiple-faces") : m.value ? p.value === "too-close" ? Fe("too-close") : p.value === "too-far" ? Fe("too-far") : y.value ? we.value ?
|
|
6141
|
+
}, u1 = () => {
|
|
6142
|
+
j.value ? dn("initializing") : _.value ? Fe("multiple-faces") : m.value ? p.value === "too-close" ? Fe("too-close") : p.value === "too-far" ? Fe("too-far") : y.value ? we.value ? l1() : $.value = "Ready to capture" : Fe("out-of-bounds") : Fe("no-face");
|
|
6144
6143
|
}, fn = () => {
|
|
6145
6144
|
u.current && (cancelAnimationFrame(u.current), u.current = null);
|
|
6146
6145
|
}, pn = async () => {
|
|
@@ -6160,8 +6159,8 @@ const Fh = (e) => {
|
|
|
6160
6159
|
);
|
|
6161
6160
|
if (x.value = ge.faceLandmarks || [], ge.faceLandmarks && t.current && e.current)
|
|
6162
6161
|
if (H) {
|
|
6163
|
-
const yt = e.current.videoWidth, Pt = e.current.videoHeight, Zt = Math.min(yt, Pt), mn = (yt - Zt) / (2 * yt), oi = (Pt - Zt) / (2 * Pt), si = Zt / yt, Yt = Zt / Pt,
|
|
6164
|
-
(
|
|
6162
|
+
const yt = e.current.videoWidth, Pt = e.current.videoHeight, Zt = Math.min(yt, Pt), mn = (yt - Zt) / (2 * yt), oi = (Pt - Zt) / (2 * Pt), si = Zt / yt, Yt = Zt / Pt, f1 = ge.faceLandmarks.map(
|
|
6163
|
+
(p1) => p1.map((gn) => ({
|
|
6165
6164
|
x: gn.x * si + mn,
|
|
6166
6165
|
y: gn.y * Yt + oi,
|
|
6167
6166
|
z: gn.z
|
|
@@ -6169,7 +6168,7 @@ const Fh = (e) => {
|
|
|
6169
6168
|
);
|
|
6170
6169
|
Ac(
|
|
6171
6170
|
t.current,
|
|
6172
|
-
|
|
6171
|
+
f1,
|
|
6173
6172
|
_e.value,
|
|
6174
6173
|
Xt.value
|
|
6175
6174
|
);
|
|
@@ -6196,14 +6195,14 @@ const Fh = (e) => {
|
|
|
6196
6195
|
}, 0));
|
|
6197
6196
|
} else
|
|
6198
6197
|
T.value = 0, S.value = 0, k.value = 0, y.value = !1, p.value = "good";
|
|
6199
|
-
|
|
6198
|
+
u1();
|
|
6200
6199
|
} catch {
|
|
6201
6200
|
m.value = !1, y.value = !1, _.value = !1, p.value = "good", k.value = 0, we.value && Fe("no-face");
|
|
6202
6201
|
}
|
|
6203
6202
|
u.current = requestAnimationFrame(pn);
|
|
6204
|
-
},
|
|
6203
|
+
}, h1 = () => {
|
|
6205
6204
|
u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(pn);
|
|
6206
|
-
},
|
|
6205
|
+
}, d1 = () => {
|
|
6207
6206
|
if (!e.current) return;
|
|
6208
6207
|
const H = _e.value === ne.value - 1, Te = Nh(e.current, H);
|
|
6209
6208
|
Te && (H ? ie.value = Te : B.value = [...B.value, Te], _e.value++, K.value = ne.value - _e.value);
|
|
@@ -6254,7 +6253,7 @@ const Fh = (e) => {
|
|
|
6254
6253
|
Sr();
|
|
6255
6254
|
return;
|
|
6256
6255
|
}
|
|
6257
|
-
|
|
6256
|
+
d1();
|
|
6258
6257
|
}, r);
|
|
6259
6258
|
}, Ps = () => {
|
|
6260
6259
|
if (m.value && p.value === "good" && y.value && !_.value) {
|
|
@@ -6276,7 +6275,7 @@ const Fh = (e) => {
|
|
|
6276
6275
|
lastSmileTime: F,
|
|
6277
6276
|
alertTitle: $,
|
|
6278
6277
|
isInitializing: j,
|
|
6279
|
-
isReadyToCapture:
|
|
6278
|
+
isReadyToCapture: s1,
|
|
6280
6279
|
isCapturing: we,
|
|
6281
6280
|
isPaused: Q,
|
|
6282
6281
|
countdown: K,
|
|
@@ -6287,9 +6286,9 @@ const Fh = (e) => {
|
|
|
6287
6286
|
hasFinishedCapture: Fs,
|
|
6288
6287
|
smileCheckpoint: Xt,
|
|
6289
6288
|
neutralZone: Rs,
|
|
6290
|
-
initializeFaceLandmarker:
|
|
6291
|
-
setupCanvas:
|
|
6292
|
-
startDetectionLoop:
|
|
6289
|
+
initializeFaceLandmarker: a1,
|
|
6290
|
+
setupCanvas: c1,
|
|
6291
|
+
startDetectionLoop: h1,
|
|
6293
6292
|
stopDetectionLoop: fn,
|
|
6294
6293
|
updateAlert: Fe,
|
|
6295
6294
|
startCapture: async () => {
|
|
@@ -6340,7 +6339,7 @@ const Fh = (e) => {
|
|
|
6340
6339
|
m.value = !1, y.value = !1, p.value = "good", _.value = !1, x.value = [], T.value = 0, S.value = 0, k.value = 0, F.value = 0, t.current && xc(t.current);
|
|
6341
6340
|
}
|
|
6342
6341
|
};
|
|
6343
|
-
},
|
|
6342
|
+
}, jh = ({
|
|
6344
6343
|
progress: e,
|
|
6345
6344
|
duration: t = 1e3,
|
|
6346
6345
|
themeColor: r = "#001096"
|
|
@@ -6397,7 +6396,7 @@ const Fh = (e) => {
|
|
|
6397
6396
|
)
|
|
6398
6397
|
}
|
|
6399
6398
|
);
|
|
6400
|
-
},
|
|
6399
|
+
}, Hh = ({
|
|
6401
6400
|
videoRef: e,
|
|
6402
6401
|
canvasRef: t,
|
|
6403
6402
|
facingMode: r,
|
|
@@ -6436,7 +6435,7 @@ const Fh = (e) => {
|
|
|
6436
6435
|
}
|
|
6437
6436
|
),
|
|
6438
6437
|
!i && /* @__PURE__ */ L(
|
|
6439
|
-
|
|
6438
|
+
jh,
|
|
6440
6439
|
{
|
|
6441
6440
|
progress: n,
|
|
6442
6441
|
duration: o,
|
|
@@ -6486,7 +6485,7 @@ const Fh = (e) => {
|
|
|
6486
6485
|
pointer-events: none;
|
|
6487
6486
|
}
|
|
6488
6487
|
` })
|
|
6489
|
-
] }),
|
|
6488
|
+
] }), Gh = ({
|
|
6490
6489
|
alertTitle: e
|
|
6491
6490
|
}) => e ? /* @__PURE__ */ L(It, { children: [
|
|
6492
6491
|
/* @__PURE__ */ L("div", { className: "alert-message", children: /* @__PURE__ */ L("div", { className: "alert-title", children: e }) }),
|
|
@@ -6507,7 +6506,7 @@ const Fh = (e) => {
|
|
|
6507
6506
|
text-align: center;
|
|
6508
6507
|
}
|
|
6509
6508
|
` })
|
|
6510
|
-
] }) : null,
|
|
6509
|
+
] }) : null, Vh = ({
|
|
6511
6510
|
isCapturing: e,
|
|
6512
6511
|
hasFinishedCapture: t,
|
|
6513
6512
|
isReadyToCapture: r,
|
|
@@ -6580,7 +6579,7 @@ const Fh = (e) => {
|
|
|
6580
6579
|
l2((F) => {
|
|
6581
6580
|
T.value = F;
|
|
6582
6581
|
}, 100)
|
|
6583
|
-
).current, k =
|
|
6582
|
+
).current, k = $h({
|
|
6584
6583
|
videoRef: x.videoRef,
|
|
6585
6584
|
canvasRef: a,
|
|
6586
6585
|
interval: e,
|
|
@@ -6638,7 +6637,7 @@ const Fh = (e) => {
|
|
|
6638
6637
|
l && // @ts-ignore
|
|
6639
6638
|
/* @__PURE__ */ L("smileid-navigation", { ref: c, "theme-color": r }),
|
|
6640
6639
|
/* @__PURE__ */ L(
|
|
6641
|
-
|
|
6640
|
+
Hh,
|
|
6642
6641
|
{
|
|
6643
6642
|
videoRef: x.videoRef,
|
|
6644
6643
|
canvasRef: a,
|
|
@@ -6649,9 +6648,9 @@ const Fh = (e) => {
|
|
|
6649
6648
|
themeColor: r
|
|
6650
6649
|
}
|
|
6651
6650
|
),
|
|
6652
|
-
/* @__PURE__ */ L(
|
|
6651
|
+
/* @__PURE__ */ L(Gh, { alertTitle: k.alertTitle.value }),
|
|
6653
6652
|
!k.isCapturing.value && !k.hasFinishedCapture.value && /* @__PURE__ */ L(
|
|
6654
|
-
|
|
6653
|
+
Vh,
|
|
6655
6654
|
{
|
|
6656
6655
|
isCapturing: k.isCapturing.value,
|
|
6657
6656
|
hasFinishedCapture: k.hasFinishedCapture.value,
|
|
@@ -6732,15 +6731,15 @@ customElements.get("smartselfie-capture") || Zc(
|
|
|
6732
6731
|
],
|
|
6733
6732
|
{ shadow: !0 }
|
|
6734
6733
|
);
|
|
6735
|
-
const
|
|
6736
|
-
function
|
|
6734
|
+
const Wh = ko.version, zh = 8;
|
|
6735
|
+
function qh(e, t = 16) {
|
|
6737
6736
|
const r = /* @__PURE__ */ new Set();
|
|
6738
6737
|
for (let i = 0; i < Math.min(e.length, 1e4); i += 4)
|
|
6739
6738
|
if (r.add(e[i] << 16 | e[i + 1] << 8 | e[i + 2]), r.size > t)
|
|
6740
6739
|
return !0;
|
|
6741
6740
|
return !1;
|
|
6742
6741
|
}
|
|
6743
|
-
function
|
|
6742
|
+
function Xh(e, t = zh) {
|
|
6744
6743
|
const r = [];
|
|
6745
6744
|
if (e < t)
|
|
6746
6745
|
throw new Error(
|
|
@@ -6754,7 +6753,7 @@ function zh(e, t = Vh) {
|
|
|
6754
6753
|
const s = e - 1;
|
|
6755
6754
|
return r.length < 8 && !r.includes(s) && r.push(s), r;
|
|
6756
6755
|
}
|
|
6757
|
-
function
|
|
6756
|
+
function Zh() {
|
|
6758
6757
|
return `
|
|
6759
6758
|
${Ii(this.themeColor)}
|
|
6760
6759
|
<style>
|
|
@@ -7271,9 +7270,9 @@ async function Lc(e, t = { facingMode: "user" }) {
|
|
|
7271
7270
|
);
|
|
7272
7271
|
}
|
|
7273
7272
|
}
|
|
7274
|
-
class
|
|
7273
|
+
class Yh extends HTMLElement {
|
|
7275
7274
|
constructor() {
|
|
7276
|
-
super(), this.templateString =
|
|
7275
|
+
super(), this.templateString = Zh.bind(this), this.render = () => this.templateString(), this.attachShadow({ mode: "open" }), this.facingMode = "user", this.allowAgentMode && (this.facingMode = "environment");
|
|
7277
7276
|
}
|
|
7278
7277
|
connectedCallback() {
|
|
7279
7278
|
const t = document.createElement("template");
|
|
@@ -7285,7 +7284,7 @@ class Xh extends HTMLElement {
|
|
|
7285
7284
|
this._videoStreamDurationInMS = 7800, this._imageCaptureIntervalInMS = 200, this._data = {
|
|
7286
7285
|
images: [],
|
|
7287
7286
|
meta: {
|
|
7288
|
-
libraryVersion:
|
|
7287
|
+
libraryVersion: Wh
|
|
7289
7288
|
}
|
|
7290
7289
|
}, this._rawImages = [], this.setUpEventListeners();
|
|
7291
7290
|
}
|
|
@@ -7331,7 +7330,7 @@ class Xh extends HTMLElement {
|
|
|
7331
7330
|
clearTimeout(this._videoStreamTimeout), clearInterval(this._imageCaptureInterval), clearInterval(this._drawingInterval), this._capturePOLPhoto(), this._captureReferencePhoto(), fe.stopMedia();
|
|
7332
7331
|
const t = this._rawImages.length;
|
|
7333
7332
|
this._data.referenceImage = this._referenceImage, this._data.previewImage = this._referenceImage;
|
|
7334
|
-
const r =
|
|
7333
|
+
const r = Xh(t);
|
|
7335
7334
|
this._data.images = this._data.images.concat(
|
|
7336
7335
|
r.map((i) => ({
|
|
7337
7336
|
image: this._rawImages[i].split(",")[1],
|
|
@@ -7395,7 +7394,7 @@ class Xh extends HTMLElement {
|
|
|
7395
7394
|
t.height
|
|
7396
7395
|
), r) {
|
|
7397
7396
|
const o = n.getImageData(0, 0, t.width, t.height);
|
|
7398
|
-
if (
|
|
7397
|
+
if (qh(o.data))
|
|
7399
7398
|
return n;
|
|
7400
7399
|
throw new Error(
|
|
7401
7400
|
"Unable to capture webcam images - Please try another device"
|
|
@@ -7518,8 +7517,8 @@ class Xh extends HTMLElement {
|
|
|
7518
7517
|
this.removeAttribute("data-camera-ready"), fe.stopMedia();
|
|
7519
7518
|
}
|
|
7520
7519
|
}
|
|
7521
|
-
"customElements" in window && !customElements.get("selfie-capture") && window.customElements.define("selfie-capture",
|
|
7522
|
-
const
|
|
7520
|
+
"customElements" in window && !customElements.get("selfie-capture") && window.customElements.define("selfie-capture", Yh);
|
|
7521
|
+
const Kh = ({
|
|
7523
7522
|
timeout: e = 2e4,
|
|
7524
7523
|
"start-countdown": t = !1,
|
|
7525
7524
|
hidden: r = !1,
|
|
@@ -7537,7 +7536,7 @@ const Zh = ({
|
|
|
7537
7536
|
(async () => {
|
|
7538
7537
|
y(!0);
|
|
7539
7538
|
try {
|
|
7540
|
-
await
|
|
7539
|
+
await o1(), l(!0);
|
|
7541
7540
|
} catch (x) {
|
|
7542
7541
|
console.error("Failed to load Mediapipe:", x);
|
|
7543
7542
|
}
|
|
@@ -7637,7 +7636,7 @@ const Zh = ({
|
|
|
7637
7636
|
justifyContent: "center"
|
|
7638
7637
|
},
|
|
7639
7638
|
children: /* @__PURE__ */ L(
|
|
7640
|
-
|
|
7639
|
+
M1,
|
|
7641
7640
|
{
|
|
7642
7641
|
size: 48,
|
|
7643
7642
|
style: { animation: "spin 1s linear infinite" }
|
|
@@ -7659,7 +7658,7 @@ const Zh = ({
|
|
|
7659
7658
|
] });
|
|
7660
7659
|
};
|
|
7661
7660
|
customElements.get("selfie-capture-wrapper") || Zc(
|
|
7662
|
-
|
|
7661
|
+
Kh,
|
|
7663
7662
|
"selfie-capture-wrapper",
|
|
7664
7663
|
[
|
|
7665
7664
|
"timeout",
|
|
@@ -7677,7 +7676,7 @@ customElements.get("selfie-capture-wrapper") || Zc(
|
|
|
7677
7676
|
],
|
|
7678
7677
|
{ shadow: !0 }
|
|
7679
7678
|
);
|
|
7680
|
-
const
|
|
7679
|
+
const Jh = ko.version, pi = document.querySelector("smart-camera-web"), Qh = (e, t = 0, r = 0, i = 0.9) => new Promise((n, o) => {
|
|
7681
7680
|
if (!e || typeof e != "string") {
|
|
7682
7681
|
o(new Error("Invalid data URI provided"));
|
|
7683
7682
|
return;
|
|
@@ -7710,7 +7709,7 @@ const Yh = ko.version, pi = document.querySelector("smart-camera-web"), Kh = (e,
|
|
|
7710
7709
|
o(new Error("Failed to load image from data URI"));
|
|
7711
7710
|
}, s.src = e;
|
|
7712
7711
|
});
|
|
7713
|
-
class
|
|
7712
|
+
class ed extends HTMLElement {
|
|
7714
7713
|
constructor() {
|
|
7715
7714
|
super(), this.activeScreen = null, this._remountKey = 0, pi?.dispatchEvent(new CustomEvent("metadata.initialize"));
|
|
7716
7715
|
}
|
|
@@ -7725,7 +7724,7 @@ class Jh extends HTMLElement {
|
|
|
7725
7724
|
`, this._data = {
|
|
7726
7725
|
images: [],
|
|
7727
7726
|
meta: {
|
|
7728
|
-
libraryVersion:
|
|
7727
|
+
libraryVersion: Jh
|
|
7729
7728
|
}
|
|
7730
7729
|
}, this.selfieInstruction = this.querySelector("selfie-capture-instructions"), this.selfieCapture = this.querySelector("selfie-capture-wrapper"), this.selfieReview = this.querySelector("selfie-capture-review"), this.getAttribute("initial-screen") === "selfie-capture" || this.hideInstructions ? this.setActiveScreen(this.selfieCapture) : this.setActiveScreen(this.selfieInstruction), this.setUpEventListeners();
|
|
7731
7730
|
}
|
|
@@ -7812,7 +7811,7 @@ class Jh extends HTMLElement {
|
|
|
7812
7811
|
new CustomEvent("metadata.selfie-capture-end")
|
|
7813
7812
|
), this.selfieReview.setAttribute(
|
|
7814
7813
|
"data-image",
|
|
7815
|
-
await
|
|
7814
|
+
await Qh(n.detail.referenceImage, 20, 20)
|
|
7816
7815
|
);
|
|
7817
7816
|
const o = n.detail.facingMode === "user";
|
|
7818
7817
|
this.selfieReview.setAttribute(
|
|
@@ -7894,8 +7893,8 @@ class Jh extends HTMLElement {
|
|
|
7894
7893
|
}
|
|
7895
7894
|
}
|
|
7896
7895
|
}
|
|
7897
|
-
"customElements" in window && !customElements.get("selfie-capture-screens") && customElements.define("selfie-capture-screens",
|
|
7896
|
+
"customElements" in window && !customElements.get("selfie-capture-screens") && customElements.define("selfie-capture-screens", ed);
|
|
7898
7897
|
export {
|
|
7899
|
-
|
|
7898
|
+
ed as S
|
|
7900
7899
|
};
|
|
7901
|
-
//# sourceMappingURL=SelfieCaptureScreens-
|
|
7900
|
+
//# sourceMappingURL=SelfieCaptureScreens-KoQpCxtc.js.map
|