@smileid/web-components 11.0.1 → 11.0.2
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-CRx5ymqY.js} +2 -2
- package/dist/esm/{DocumentCaptureScreens-DmH2JZDA.js.map → DocumentCaptureScreens-CRx5ymqY.js.map} +1 -1
- package/dist/esm/{SelfieCaptureScreens-DbdN2zNk.js → SelfieCaptureScreens-DuQjKt_K.js} +274 -257
- package/dist/esm/SelfieCaptureScreens-DuQjKt_K.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-C_cKNrUu.js} +2 -2
- package/dist/esm/{package-bgeQiff6.js.map → package-C_cKNrUu.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 +23 -23
- 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.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-C_cKNrUu.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);
|
|
@@ -1202,7 +1202,7 @@ function qc(e, t) {
|
|
|
1202
1202
|
* This source code is licensed under the MIT license.
|
|
1203
1203
|
* See the LICENSE file in the root directory of this source tree.
|
|
1204
1204
|
*/
|
|
1205
|
-
var
|
|
1205
|
+
var S1 = {
|
|
1206
1206
|
outline: {
|
|
1207
1207
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1208
1208
|
width: 24,
|
|
@@ -1229,7 +1229,7 @@ var Sl = {
|
|
|
1229
1229
|
* This source code is licensed under the MIT license.
|
|
1230
1230
|
* See the LICENSE file in the root directory of this source tree.
|
|
1231
1231
|
*/
|
|
1232
|
-
const
|
|
1232
|
+
const L1 = (e, t, r, i) => {
|
|
1233
1233
|
const n = ({
|
|
1234
1234
|
color: o = "currentColor",
|
|
1235
1235
|
size: s = 24,
|
|
@@ -1243,7 +1243,7 @@ const Ll = (e, t, r, i) => {
|
|
|
1243
1243
|
}) => dt(
|
|
1244
1244
|
"svg",
|
|
1245
1245
|
{
|
|
1246
|
-
...
|
|
1246
|
+
...S1[e],
|
|
1247
1247
|
width: String(s),
|
|
1248
1248
|
height: String(s),
|
|
1249
1249
|
class: ["tabler-icon", `tabler-icon-${t}`, u, h].join(" "),
|
|
@@ -1266,7 +1266,7 @@ const Ll = (e, t, r, i) => {
|
|
|
1266
1266
|
* This source code is licensed under the MIT license.
|
|
1267
1267
|
* See the LICENSE file in the root directory of this source tree.
|
|
1268
1268
|
*/
|
|
1269
|
-
var
|
|
1269
|
+
var M1 = L1("outline", "loader-2", "Loader2", [["path", { d: "M12 3a9 9 0 1 0 9 9", key: "svg-0" }]]);
|
|
1270
1270
|
function Mo() {
|
|
1271
1271
|
return (Mo = Object.assign ? Object.assign.bind() : function(e) {
|
|
1272
1272
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -1276,8 +1276,8 @@ function Mo() {
|
|
|
1276
1276
|
return e;
|
|
1277
1277
|
}).apply(this, arguments);
|
|
1278
1278
|
}
|
|
1279
|
-
var
|
|
1280
|
-
function
|
|
1279
|
+
var I1 = ["context", "children"];
|
|
1280
|
+
function F1(e) {
|
|
1281
1281
|
this.getChildContext = function() {
|
|
1282
1282
|
return e.context;
|
|
1283
1283
|
};
|
|
@@ -1286,12 +1286,12 @@ function Fl(e) {
|
|
|
1286
1286
|
var o, s, a = {}, c = Object.keys(i);
|
|
1287
1287
|
for (s = 0; s < c.length; s++) n.indexOf(o = c[s]) >= 0 || (a[o] = i[o]);
|
|
1288
1288
|
return a;
|
|
1289
|
-
}(e,
|
|
1289
|
+
}(e, I1);
|
|
1290
1290
|
return Vc(t, r);
|
|
1291
1291
|
}
|
|
1292
|
-
function
|
|
1292
|
+
function R1() {
|
|
1293
1293
|
var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
|
|
1294
|
-
this.dispatchEvent(e), this._vdom = dt(
|
|
1294
|
+
this.dispatchEvent(e), this._vdom = dt(F1, Mo({}, this._props, { context: e.detail.context }), function t(r, i) {
|
|
1295
1295
|
if (r.nodeType === 3) return r.data;
|
|
1296
1296
|
if (r.nodeType !== 1) return null;
|
|
1297
1297
|
var n = [], o = {}, s = 0, a = r.attributes, c = r.childNodes;
|
|
@@ -1309,13 +1309,13 @@ function Xc(e) {
|
|
|
1309
1309
|
return r ? r.toUpperCase() : "";
|
|
1310
1310
|
});
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1312
|
+
function O1(e, t, r) {
|
|
1313
1313
|
if (this._vdom) {
|
|
1314
1314
|
var i = {};
|
|
1315
1315
|
i[e] = r = r ?? void 0, i[Xc(e)] = r, this._vdom = Vc(this._vdom, i), Fi(this._vdom, this._root);
|
|
1316
1316
|
}
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function P1() {
|
|
1319
1319
|
Fi(this._vdom = null, this._root);
|
|
1320
1320
|
}
|
|
1321
1321
|
function Ys(e, t) {
|
|
@@ -1331,7 +1331,7 @@ function Zc(e, t, r, i) {
|
|
|
1331
1331
|
var o = Reflect.construct(HTMLElement, [], n);
|
|
1332
1332
|
return o._vdomComponent = e, o._root = i && i.shadow ? o.attachShadow({ mode: i.mode || "open" }) : o, o;
|
|
1333
1333
|
}
|
|
1334
|
-
return (n.prototype = Object.create(HTMLElement.prototype)).constructor = n, n.prototype.connectedCallback =
|
|
1334
|
+
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
1335
|
Object.defineProperty(n.prototype, o, { get: function() {
|
|
1336
1336
|
return this._vdom.props[o];
|
|
1337
1337
|
}, set: function(s) {
|
|
@@ -1342,7 +1342,7 @@ function Zc(e, t, r, i) {
|
|
|
1342
1342
|
}), customElements.define(t || e.tagName || e.displayName || e.name, n);
|
|
1343
1343
|
}
|
|
1344
1344
|
const Qt = (e, t = !1) => typeof e == "boolean" ? e : typeof e == "string" ? e === "true" || e === "" : t;
|
|
1345
|
-
var
|
|
1345
|
+
var N1 = Symbol.for("preact-signals");
|
|
1346
1346
|
function Oi() {
|
|
1347
1347
|
if (Ct > 1)
|
|
1348
1348
|
Ct--;
|
|
@@ -1362,7 +1362,7 @@ function Oi() {
|
|
|
1362
1362
|
if (Qn = 0, Ct--, t) throw e;
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1365
|
+
function D1(e) {
|
|
1366
1366
|
if (Ct > 0) return e();
|
|
1367
1367
|
Ct++;
|
|
1368
1368
|
try {
|
|
@@ -1394,7 +1394,7 @@ function Kc(e) {
|
|
|
1394
1394
|
function ve(e, t) {
|
|
1395
1395
|
this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.W = t?.watched, this.Z = t?.unwatched;
|
|
1396
1396
|
}
|
|
1397
|
-
ve.prototype.brand =
|
|
1397
|
+
ve.prototype.brand = N1;
|
|
1398
1398
|
ve.prototype.h = function() {
|
|
1399
1399
|
return !0;
|
|
1400
1400
|
};
|
|
@@ -1548,7 +1548,7 @@ function Io(e) {
|
|
|
1548
1548
|
for (var t = e.s; t !== void 0; t = t.n) t.S.U(t);
|
|
1549
1549
|
e.x = void 0, e.s = void 0, r2(e);
|
|
1550
1550
|
}
|
|
1551
|
-
function
|
|
1551
|
+
function U1(e) {
|
|
1552
1552
|
if (N !== this) throw new Error("Out-of-order effect");
|
|
1553
1553
|
t2(this), N = e, this.f &= -2, 8 & this.f && Io(this), Oi();
|
|
1554
1554
|
}
|
|
@@ -1569,7 +1569,7 @@ gr.prototype.S = function() {
|
|
|
1569
1569
|
if (1 & this.f) throw new Error("Cycle detected");
|
|
1570
1570
|
this.f |= 1, this.f &= -9, r2(this), e2(this), Ct++;
|
|
1571
1571
|
var e = N;
|
|
1572
|
-
return N = this,
|
|
1572
|
+
return N = this, U1.bind(this, e);
|
|
1573
1573
|
};
|
|
1574
1574
|
gr.prototype.N = function() {
|
|
1575
1575
|
2 & this.f || (this.f |= 2, this.o = Dr, Dr = this);
|
|
@@ -1673,13 +1673,13 @@ vr("diffed", function(e, t) {
|
|
|
1673
1673
|
o = {}, r.U = o;
|
|
1674
1674
|
for (var c in i) {
|
|
1675
1675
|
var l = o[c], h = i[c];
|
|
1676
|
-
l === void 0 ? (l =
|
|
1676
|
+
l === void 0 ? (l = B1(r, c, h, n), o[c] = l) : l.o(h, n);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
1680
|
e(t);
|
|
1681
1681
|
});
|
|
1682
|
-
function
|
|
1682
|
+
function B1(e, t, r, i) {
|
|
1683
1683
|
var n = t in e && e.ownerSVGElement === void 0, o = Jc(r);
|
|
1684
1684
|
return { o: function(s, a) {
|
|
1685
1685
|
o.value = s, i = a;
|
|
@@ -1738,21 +1738,21 @@ function yn(e, t) {
|
|
|
1738
1738
|
}, t);
|
|
1739
1739
|
}, []);
|
|
1740
1740
|
}
|
|
1741
|
-
var $
|
|
1741
|
+
var $1 = function(e) {
|
|
1742
1742
|
queueMicrotask(function() {
|
|
1743
1743
|
queueMicrotask(e);
|
|
1744
1744
|
});
|
|
1745
1745
|
};
|
|
1746
|
-
function
|
|
1747
|
-
|
|
1746
|
+
function j1() {
|
|
1747
|
+
D1(function() {
|
|
1748
1748
|
for (var e; e = n2.shift(); ) i2.call(e);
|
|
1749
1749
|
});
|
|
1750
1750
|
}
|
|
1751
1751
|
function s2() {
|
|
1752
|
-
n2.push(this) === 1 && (U.requestAnimationFrame || $
|
|
1752
|
+
n2.push(this) === 1 && (U.requestAnimationFrame || $1)(j1);
|
|
1753
1753
|
}
|
|
1754
1754
|
var ci = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1755
|
-
function
|
|
1755
|
+
function H1(e) {
|
|
1756
1756
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1757
1757
|
}
|
|
1758
1758
|
var bn, Ks;
|
|
@@ -1766,7 +1766,7 @@ function Fo() {
|
|
|
1766
1766
|
return bn = e, bn;
|
|
1767
1767
|
}
|
|
1768
1768
|
var wn, Js;
|
|
1769
|
-
function
|
|
1769
|
+
function G1() {
|
|
1770
1770
|
if (Js) return wn;
|
|
1771
1771
|
Js = 1;
|
|
1772
1772
|
var e = typeof ci == "object" && ci && ci.Object === Object && ci;
|
|
@@ -1776,11 +1776,11 @@ var En, Qs;
|
|
|
1776
1776
|
function a2() {
|
|
1777
1777
|
if (Qs) return En;
|
|
1778
1778
|
Qs = 1;
|
|
1779
|
-
var e =
|
|
1779
|
+
var e = G1(), t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
|
|
1780
1780
|
return En = r, En;
|
|
1781
1781
|
}
|
|
1782
1782
|
var Cn, ea;
|
|
1783
|
-
function
|
|
1783
|
+
function V1() {
|
|
1784
1784
|
if (ea) return Cn;
|
|
1785
1785
|
ea = 1;
|
|
1786
1786
|
var e = a2(), t = function() {
|
|
@@ -1789,7 +1789,7 @@ function Vl() {
|
|
|
1789
1789
|
return Cn = t, Cn;
|
|
1790
1790
|
}
|
|
1791
1791
|
var kn, ta;
|
|
1792
|
-
function
|
|
1792
|
+
function W1() {
|
|
1793
1793
|
if (ta) return kn;
|
|
1794
1794
|
ta = 1;
|
|
1795
1795
|
var e = /\s/;
|
|
@@ -1801,10 +1801,10 @@ function Wl() {
|
|
|
1801
1801
|
return kn = t, kn;
|
|
1802
1802
|
}
|
|
1803
1803
|
var An, ra;
|
|
1804
|
-
function
|
|
1804
|
+
function z1() {
|
|
1805
1805
|
if (ra) return An;
|
|
1806
1806
|
ra = 1;
|
|
1807
|
-
var e =
|
|
1807
|
+
var e = W1(), t = /^\s+/;
|
|
1808
1808
|
function r(i) {
|
|
1809
1809
|
return i && i.slice(0, e(i) + 1).replace(t, "");
|
|
1810
1810
|
}
|
|
@@ -1818,7 +1818,7 @@ function c2() {
|
|
|
1818
1818
|
return xn = t, xn;
|
|
1819
1819
|
}
|
|
1820
1820
|
var Tn, na;
|
|
1821
|
-
function
|
|
1821
|
+
function q1() {
|
|
1822
1822
|
if (na) return Tn;
|
|
1823
1823
|
na = 1;
|
|
1824
1824
|
var e = c2(), t = Object.prototype, r = t.hasOwnProperty, i = t.toString, n = e ? e.toStringTag : void 0;
|
|
@@ -1835,7 +1835,7 @@ function ql() {
|
|
|
1835
1835
|
return Tn = o, Tn;
|
|
1836
1836
|
}
|
|
1837
1837
|
var Sn, oa;
|
|
1838
|
-
function
|
|
1838
|
+
function X1() {
|
|
1839
1839
|
if (oa) return Sn;
|
|
1840
1840
|
oa = 1;
|
|
1841
1841
|
var e = Object.prototype, t = e.toString;
|
|
@@ -1845,17 +1845,17 @@ function Xl() {
|
|
|
1845
1845
|
return Sn = r, Sn;
|
|
1846
1846
|
}
|
|
1847
1847
|
var Ln, sa;
|
|
1848
|
-
function
|
|
1848
|
+
function Z1() {
|
|
1849
1849
|
if (sa) return Ln;
|
|
1850
1850
|
sa = 1;
|
|
1851
|
-
var e = c2(), t =
|
|
1851
|
+
var e = c2(), t = q1(), r = X1(), i = "[object Null]", n = "[object Undefined]", o = e ? e.toStringTag : void 0;
|
|
1852
1852
|
function s(a) {
|
|
1853
1853
|
return a == null ? a === void 0 ? n : i : o && o in Object(a) ? t(a) : r(a);
|
|
1854
1854
|
}
|
|
1855
1855
|
return Ln = s, Ln;
|
|
1856
1856
|
}
|
|
1857
1857
|
var Mn, aa;
|
|
1858
|
-
function
|
|
1858
|
+
function Y1() {
|
|
1859
1859
|
if (aa) return Mn;
|
|
1860
1860
|
aa = 1;
|
|
1861
1861
|
function e(t) {
|
|
@@ -1864,20 +1864,20 @@ function Yl() {
|
|
|
1864
1864
|
return Mn = e, Mn;
|
|
1865
1865
|
}
|
|
1866
1866
|
var In, ca;
|
|
1867
|
-
function
|
|
1867
|
+
function K1() {
|
|
1868
1868
|
if (ca) return In;
|
|
1869
1869
|
ca = 1;
|
|
1870
|
-
var e =
|
|
1870
|
+
var e = Z1(), t = Y1(), r = "[object Symbol]";
|
|
1871
1871
|
function i(n) {
|
|
1872
1872
|
return typeof n == "symbol" || t(n) && e(n) == r;
|
|
1873
1873
|
}
|
|
1874
1874
|
return In = i, In;
|
|
1875
1875
|
}
|
|
1876
1876
|
var Fn, la;
|
|
1877
|
-
function
|
|
1877
|
+
function J1() {
|
|
1878
1878
|
if (la) return Fn;
|
|
1879
1879
|
la = 1;
|
|
1880
|
-
var e =
|
|
1880
|
+
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
1881
|
function c(l) {
|
|
1882
1882
|
if (typeof l == "number")
|
|
1883
1883
|
return l;
|
|
@@ -1896,10 +1896,10 @@ function Jl() {
|
|
|
1896
1896
|
return Fn = c, Fn;
|
|
1897
1897
|
}
|
|
1898
1898
|
var Rn, ua;
|
|
1899
|
-
function
|
|
1899
|
+
function Q1() {
|
|
1900
1900
|
if (ua) return Rn;
|
|
1901
1901
|
ua = 1;
|
|
1902
|
-
var e = Fo(), t =
|
|
1902
|
+
var e = Fo(), t = V1(), r = J1(), i = "Expected a function", n = Math.max, o = Math.min;
|
|
1903
1903
|
function s(a, c, l) {
|
|
1904
1904
|
var h, u, d, f, m, y, p = 0, _ = !1, g = !1, x = !0;
|
|
1905
1905
|
if (typeof a != "function")
|
|
@@ -1953,7 +1953,7 @@ var On, ha;
|
|
|
1953
1953
|
function eu() {
|
|
1954
1954
|
if (ha) return On;
|
|
1955
1955
|
ha = 1;
|
|
1956
|
-
var e =
|
|
1956
|
+
var e = Q1(), t = Fo(), r = "Expected a function";
|
|
1957
1957
|
function i(n, o, s) {
|
|
1958
1958
|
var a = !0, c = !0;
|
|
1959
1959
|
if (typeof n != "function")
|
|
@@ -1967,7 +1967,7 @@ function eu() {
|
|
|
1967
1967
|
return On = i, On;
|
|
1968
1968
|
}
|
|
1969
1969
|
var tu = eu();
|
|
1970
|
-
const l2 = /* @__PURE__ */
|
|
1970
|
+
const l2 = /* @__PURE__ */ H1(tu), ru = (e = "user") => {
|
|
1971
1971
|
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
1972
|
a.current = p;
|
|
1973
1973
|
};
|
|
@@ -2883,7 +2883,7 @@ function Er(e, t, r, i) {
|
|
|
2883
2883
|
return n;
|
|
2884
2884
|
}
|
|
2885
2885
|
function jn(e, t) {
|
|
2886
|
-
var r =
|
|
2886
|
+
var r = El;
|
|
2887
2887
|
return Zo(Xo(e = e.u), e, 0 | e[C], r) === t ? t : -1;
|
|
2888
2888
|
}
|
|
2889
2889
|
function Xo(e) {
|
|
@@ -3396,17 +3396,17 @@ function en(e, t, r) {
|
|
|
3396
3396
|
function tn(e, t, r, i) {
|
|
3397
3397
|
let n, o;
|
|
3398
3398
|
const s = r.h;
|
|
3399
|
-
e[t] = (a, c, l) => s(a, c, l, o ||= qt(Qi, en, tn, i).T, n ||=
|
|
3399
|
+
e[t] = (a, c, l) => s(a, c, l, o ||= qt(Qi, en, tn, i).T, n ||= el(i));
|
|
3400
3400
|
}
|
|
3401
|
-
function
|
|
3401
|
+
function el(e) {
|
|
3402
3402
|
let t = e[Oa];
|
|
3403
3403
|
if (!t) {
|
|
3404
3404
|
const r = qt(Qi, en, tn, e);
|
|
3405
|
-
t = (i, n) =>
|
|
3405
|
+
t = (i, n) => tl(i, n, r), e[Oa] = t;
|
|
3406
3406
|
}
|
|
3407
3407
|
return t;
|
|
3408
3408
|
}
|
|
3409
|
-
function
|
|
3409
|
+
function tl(e, t, r) {
|
|
3410
3410
|
(function(i, n, o) {
|
|
3411
3411
|
const s = 512 & n ? 0 : -1, a = i.length, c = a + ((n = 64 & n ? 256 & n : !!a && $i(i[a - 1])) ? -1 : 0);
|
|
3412
3412
|
for (let l = 0; l < c; l++) o(l - s, i[l]);
|
|
@@ -3422,7 +3422,7 @@ function t1(e, t, r) {
|
|
|
3422
3422
|
if ((c = s.ga) && (c = c[a])) {
|
|
3423
3423
|
var l = (c = J2(c))[0].h;
|
|
3424
3424
|
if (c = c[1]) {
|
|
3425
|
-
const h =
|
|
3425
|
+
const h = el(c), u = qt(Qi, en, tn, c).T;
|
|
3426
3426
|
c = s.la ? K2(u, h) : (d, f, m) => l(d, f, m, u, h);
|
|
3427
3427
|
} else c = l;
|
|
3428
3428
|
return s[a] = c;
|
|
@@ -3466,7 +3466,7 @@ var Vu = Ji(function(e, t, r, i, n) {
|
|
|
3466
3466
|
Array.isArray(s) && Si(e, r, xt(s, i, !1), n);
|
|
3467
3467
|
}
|
|
3468
3468
|
});
|
|
3469
|
-
function
|
|
3469
|
+
function rl(e, t, r) {
|
|
3470
3470
|
if (t = function(i) {
|
|
3471
3471
|
if (i == null) return i;
|
|
3472
3472
|
const n = typeof i;
|
|
@@ -3487,22 +3487,22 @@ function r1(e, t, r) {
|
|
|
3487
3487
|
r = Fa(t), tr(e.g, r.h, r.g);
|
|
3488
3488
|
}
|
|
3489
3489
|
}
|
|
3490
|
-
function
|
|
3490
|
+
function il(e, t, r) {
|
|
3491
3491
|
(t = br(t)) != null && t != null && (Be(e, r, 0), Yi(e.g, t));
|
|
3492
3492
|
}
|
|
3493
|
-
function
|
|
3493
|
+
function nl(e, t, r) {
|
|
3494
3494
|
(t = C2(t)) != null && (Be(e, r, 0), e.g.g.push(t ? 1 : 0));
|
|
3495
3495
|
}
|
|
3496
|
-
function
|
|
3496
|
+
function ol(e, t, r) {
|
|
3497
3497
|
(t = lr(t)) != null && Ki(e, r, u2(t));
|
|
3498
3498
|
}
|
|
3499
|
-
function
|
|
3499
|
+
function sl(e, t, r, i, n) {
|
|
3500
3500
|
Si(e, r, Q2(t, i), n);
|
|
3501
3501
|
}
|
|
3502
|
-
function
|
|
3502
|
+
function al(e, t, r) {
|
|
3503
3503
|
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
3504
|
}
|
|
3505
|
-
function
|
|
3505
|
+
function cl(e, t, r) {
|
|
3506
3506
|
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
3507
|
}
|
|
3508
3508
|
var ut = Ae(function(e, t, r) {
|
|
@@ -3519,21 +3519,21 @@ var ut = Ae(function(e, t, r) {
|
|
|
3519
3519
|
return e.h === 5 && (xe(t, r, uo(e.g)), !0);
|
|
3520
3520
|
}, function(e, t, r) {
|
|
3521
3521
|
(t = Rt(t)) != null && (Be(e, r, 5), e = e.g, Bo(t), Xr(e, G));
|
|
3522
|
-
}, as), Wu = xr(
|
|
3522
|
+
}, as), Wu = xr(cl, function(e, t, r) {
|
|
3523
3523
|
if ((t = Ar(Rt, t)) != null) for (let s = 0; s < t.length; s++) {
|
|
3524
3524
|
var i = e, n = r, o = t[s];
|
|
3525
3525
|
o != null && (Be(i, n, 5), i = i.g, Bo(o), Xr(i, G));
|
|
3526
3526
|
}
|
|
3527
|
-
}, as), ds = xr(
|
|
3527
|
+
}, as), ds = xr(cl, function(e, t, r) {
|
|
3528
3528
|
if ((t = Ar(Rt, t)) != null && t.length) {
|
|
3529
3529
|
Be(e, r, 2), Cr(e.g, 4 * t.length);
|
|
3530
3530
|
for (let i = 0; i < t.length; i++) r = e.g, Bo(t[i]), Xr(r, G);
|
|
3531
3531
|
}
|
|
3532
3532
|
}, as), Lt = Ae(function(e, t, r) {
|
|
3533
3533
|
return e.h === 0 && (xe(t, r, Qo(e.g, jo)), !0);
|
|
3534
|
-
},
|
|
3534
|
+
}, rl, z2), Gn = Ae(function(e, t, r) {
|
|
3535
3535
|
return e.h === 0 && (xe(t, r, (e = Qo(e.g, jo)) === 0 ? void 0 : e), !0);
|
|
3536
|
-
},
|
|
3536
|
+
}, rl, z2), zu = Ae(function(e, t, r) {
|
|
3537
3537
|
return e.h === 0 && (xe(t, r, Qo(e.g, $o)), !0);
|
|
3538
3538
|
}, function(e, t, r) {
|
|
3539
3539
|
if ((t = xu(t)) != null && (typeof t == "string" && Ia(t), t != null))
|
|
@@ -3549,7 +3549,7 @@ var ut = Ae(function(e, t, r) {
|
|
|
3549
3549
|
}
|
|
3550
3550
|
}, Je()), re = Ae(function(e, t, r) {
|
|
3551
3551
|
return e.h === 0 && (xe(t, r, St(e.g)), !0);
|
|
3552
|
-
},
|
|
3552
|
+
}, il, ss), rn = xr(function(e, t, r) {
|
|
3553
3553
|
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
3554
|
}, function(e, t, r) {
|
|
3555
3555
|
if ((t = Ar(br, t)) != null && t.length) {
|
|
@@ -3559,11 +3559,11 @@ var ut = Ae(function(e, t, r) {
|
|
|
3559
3559
|
}
|
|
3560
3560
|
}, ss), er = Ae(function(e, t, r) {
|
|
3561
3561
|
return e.h === 0 && (xe(t, r, (e = St(e.g)) === 0 ? void 0 : e), !0);
|
|
3562
|
-
},
|
|
3562
|
+
}, il, ss), Z = Ae(function(e, t, r) {
|
|
3563
3563
|
return e.h === 0 && (xe(t, r, es(e.g)), !0);
|
|
3564
|
-
},
|
|
3564
|
+
}, nl, V2), rr = Ae(function(e, t, r) {
|
|
3565
3565
|
return e.h === 0 && (xe(t, r, (e = es(e.g)) === !1 ? void 0 : e), !0);
|
|
3566
|
-
},
|
|
3566
|
+
}, nl, V2), ye = xr(function(e, t, r) {
|
|
3567
3567
|
return e.h === 2 && (e = ts(e), Er(t, 0 | t[C], r, !1).push(e), !0);
|
|
3568
3568
|
}, function(e, t, r) {
|
|
3569
3569
|
if ((t = Ar(lr, t)) != null) for (let s = 0; s < t.length; s++) {
|
|
@@ -3572,19 +3572,19 @@ var ut = Ae(function(e, t, r) {
|
|
|
3572
3572
|
}
|
|
3573
3573
|
}, os), Et = Ae(function(e, t, r) {
|
|
3574
3574
|
return e.h === 2 && (xe(t, r, (e = ts(e)) === "" ? void 0 : e), !0);
|
|
3575
|
-
},
|
|
3575
|
+
}, ol, os), D = Ae(function(e, t, r) {
|
|
3576
3576
|
return e.h === 2 && (xe(t, r, ts(e)), !0);
|
|
3577
|
-
},
|
|
3577
|
+
}, ol, os), pe = function(e, t, r = ns) {
|
|
3578
3578
|
return new kr(e, t, r);
|
|
3579
3579
|
}(function(e, t, r, i, n) {
|
|
3580
3580
|
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
3581
|
}, function(e, t, r, i, n) {
|
|
3582
|
-
if (Array.isArray(t)) for (let o = 0; o < t.length; o++)
|
|
3582
|
+
if (Array.isArray(t)) for (let o = 0; o < t.length; o++) sl(e, t[o], r, i, n);
|
|
3583
3583
|
}), P = Ji(function(e, t, r, i, n, o) {
|
|
3584
3584
|
return e.h === 2 && (P2(t, 0 | t[C], o, r), ei(e, t = Yo(t, i, r), n), !0);
|
|
3585
|
-
},
|
|
3585
|
+
}, sl), ll = Ae(function(e, t, r) {
|
|
3586
3586
|
return e.h === 2 && (xe(t, r, G2(e)), !0);
|
|
3587
|
-
},
|
|
3587
|
+
}, al, q2), qu = xr(function(e, t, r) {
|
|
3588
3588
|
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
3589
|
}, function(e, t, r) {
|
|
3590
3590
|
if ((t = Ar(k2, t)) != null) for (let s = 0; s < t.length; s++) {
|
|
@@ -3663,7 +3663,7 @@ function nn(e) {
|
|
|
3663
3663
|
}();
|
|
3664
3664
|
}
|
|
3665
3665
|
}();
|
|
3666
|
-
|
|
3666
|
+
tl(this.u, t, qt(Qi, en, tn, e)), hr(t, t.g.end());
|
|
3667
3667
|
const r = new Uint8Array(t.h), i = t.l, n = i.length;
|
|
3668
3668
|
let o = 0;
|
|
3669
3669
|
for (let s = 0; s < n; s++) {
|
|
@@ -3687,7 +3687,7 @@ var Pa = class extends b {
|
|
|
3687
3687
|
}
|
|
3688
3688
|
if (Array.isArray(t)) return;
|
|
3689
3689
|
}
|
|
3690
|
-
|
|
3690
|
+
al(e, t, r);
|
|
3691
3691
|
}, q2)];
|
|
3692
3692
|
let Vn, Da = globalThis.trustedTypes;
|
|
3693
3693
|
function Ua(e) {
|
|
@@ -3717,11 +3717,11 @@ function Yu(e, ...t) {
|
|
|
3717
3717
|
for (let i = 0; i < t.length; i++) r += encodeURIComponent(t[i]) + e[i + 1];
|
|
3718
3718
|
return Ua(r);
|
|
3719
3719
|
}
|
|
3720
|
-
var
|
|
3720
|
+
var ul = [0, re, De, Z, -1, rn, De, -1], Ku = class extends b {
|
|
3721
3721
|
constructor(e) {
|
|
3722
3722
|
super(e);
|
|
3723
3723
|
}
|
|
3724
|
-
},
|
|
3724
|
+
}, hl = [0, Z, D, Z, De, -1, xr(function(e, t, r) {
|
|
3725
3725
|
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
3726
|
}, function(e, t, r) {
|
|
3727
3727
|
if ((t = Ar(br, t)) != null && t.length) {
|
|
@@ -3729,16 +3729,16 @@ var u1 = [0, re, De, Z, -1, rn, De, -1], Ku = class extends b {
|
|
|
3729
3729
|
for (let i = 0; i < t.length; i++) Yi(e.g, t[i]);
|
|
3730
3730
|
is(e, r);
|
|
3731
3731
|
}
|
|
3732
|
-
}, X2), D, -1, [0, Z, -1], De, Z, -1],
|
|
3732
|
+
}, X2), D, -1, [0, Z, -1], De, Z, -1], dl = [0, D, -2], Ba = class extends b {
|
|
3733
3733
|
constructor(e) {
|
|
3734
3734
|
super(e);
|
|
3735
3735
|
}
|
|
3736
|
-
},
|
|
3736
|
+
}, fl = [0], pl = [0, re, Z, 1, Z, -3], Ue = class extends b {
|
|
3737
3737
|
constructor(e) {
|
|
3738
3738
|
super(e, 2);
|
|
3739
3739
|
}
|
|
3740
3740
|
}, he = {};
|
|
3741
|
-
he[336783863] = [0, D, Z, -1, re, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], P,
|
|
3741
|
+
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
3742
|
var $a = [0, Gn, -1, rr, -3, Gn, rn, Et, er, Gn, -1, rr, er, rr, -2, Et];
|
|
3743
3743
|
function $e(e, t) {
|
|
3744
3744
|
co(e, 2, wr(t), "");
|
|
@@ -3773,20 +3773,20 @@ var Ie = class extends b {
|
|
|
3773
3773
|
o(e) {
|
|
3774
3774
|
return A(this, 0, 1001, e);
|
|
3775
3775
|
}
|
|
3776
|
-
},
|
|
3777
|
-
Ie.prototype.g = nn(
|
|
3778
|
-
var Ju = Ot(Ie,
|
|
3776
|
+
}, 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];
|
|
3777
|
+
Ie.prototype.g = nn(ml);
|
|
3778
|
+
var Ju = Ot(Ie, ml), Qu = class extends b {
|
|
3779
3779
|
constructor(e) {
|
|
3780
3780
|
super(e);
|
|
3781
3781
|
}
|
|
3782
|
-
},
|
|
3782
|
+
}, gl = class extends b {
|
|
3783
3783
|
constructor(e) {
|
|
3784
3784
|
super(e);
|
|
3785
3785
|
}
|
|
3786
3786
|
g() {
|
|
3787
3787
|
return gt(this, Qu, 1);
|
|
3788
3788
|
}
|
|
3789
|
-
},
|
|
3789
|
+
}, vl = [0, pe, [0, re, ue, D, -1]], on = Ot(gl, vl), eh = class extends b {
|
|
3790
3790
|
constructor(e) {
|
|
3791
3791
|
super(e);
|
|
3792
3792
|
}
|
|
@@ -3804,11 +3804,11 @@ var Ju = Ot(Ie, m1), Qu = class extends b {
|
|
|
3804
3804
|
g() {
|
|
3805
3805
|
return gt(this, th, 5);
|
|
3806
3806
|
}
|
|
3807
|
-
},
|
|
3807
|
+
}, _l = Ot(class extends b {
|
|
3808
3808
|
constructor(e) {
|
|
3809
3809
|
super(e);
|
|
3810
3810
|
}
|
|
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]),
|
|
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]), yl = class extends b {
|
|
3812
3812
|
constructor(e) {
|
|
3813
3813
|
super(e);
|
|
3814
3814
|
}
|
|
@@ -3816,7 +3816,7 @@ var Ju = Ot(Ie, m1), Qu = class extends b {
|
|
|
3816
3816
|
constructor(e) {
|
|
3817
3817
|
super(e);
|
|
3818
3818
|
}
|
|
3819
|
-
}, [0, pe, [0, ue, -4]]),
|
|
3819
|
+
}, [0, pe, [0, ue, -4]]), bl = class extends b {
|
|
3820
3820
|
constructor(e) {
|
|
3821
3821
|
super(e);
|
|
3822
3822
|
}
|
|
@@ -3828,12 +3828,12 @@ var Ju = Ot(Ie, m1), Qu = class extends b {
|
|
|
3828
3828
|
constructor(e) {
|
|
3829
3829
|
super(e);
|
|
3830
3830
|
}
|
|
3831
|
-
}, ih = [0, re, -1, ds, De],
|
|
3831
|
+
}, ih = [0, re, -1, ds, De], wl = class extends b {
|
|
3832
3832
|
constructor(e) {
|
|
3833
3833
|
super(e);
|
|
3834
3834
|
}
|
|
3835
3835
|
};
|
|
3836
|
-
|
|
3836
|
+
wl.prototype.g = nn([0, ue, -4, Lt]);
|
|
3837
3837
|
var nh = class extends b {
|
|
3838
3838
|
constructor(e) {
|
|
3839
3839
|
super(e);
|
|
@@ -3842,7 +3842,7 @@ var nh = class extends b {
|
|
|
3842
3842
|
constructor(e) {
|
|
3843
3843
|
super(e);
|
|
3844
3844
|
}
|
|
3845
|
-
}, [0, pe, [0, 1, re, D,
|
|
3845
|
+
}, [0, pe, [0, 1, re, D, vl], Lt]), Ga = class extends b {
|
|
3846
3846
|
constructor(e) {
|
|
3847
3847
|
super(e);
|
|
3848
3848
|
}
|
|
@@ -3858,15 +3858,15 @@ var nh = class extends b {
|
|
|
3858
3858
|
constructor(e) {
|
|
3859
3859
|
super(e);
|
|
3860
3860
|
}
|
|
3861
|
-
},
|
|
3861
|
+
}, El = [1, 2], ch = Ot(class extends b {
|
|
3862
3862
|
constructor(e) {
|
|
3863
3863
|
super(e);
|
|
3864
3864
|
}
|
|
3865
|
-
}, [0, pe, [0,
|
|
3865
|
+
}, [0, pe, [0, El, P, [0, ds], P, [0, ll], re, D], Lt]), fs = class extends b {
|
|
3866
3866
|
constructor(e) {
|
|
3867
3867
|
super(e);
|
|
3868
3868
|
}
|
|
3869
|
-
},
|
|
3869
|
+
}, Cl = [0, D, re, ue, ye, -1], Va = class extends b {
|
|
3870
3870
|
constructor(e) {
|
|
3871
3871
|
super(e);
|
|
3872
3872
|
}
|
|
@@ -3891,7 +3891,7 @@ var nh = class extends b {
|
|
|
3891
3891
|
g() {
|
|
3892
3892
|
return C2(ur(this, 2)) ?? !1;
|
|
3893
3893
|
}
|
|
3894
|
-
},
|
|
3894
|
+
}, 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
3895
|
constructor(e) {
|
|
3896
3896
|
super(e);
|
|
3897
3897
|
}
|
|
@@ -3901,22 +3901,22 @@ var hh = Ot(class extends b {
|
|
|
3901
3901
|
constructor(e) {
|
|
3902
3902
|
super(e);
|
|
3903
3903
|
}
|
|
3904
|
-
}, [0, [0, De, -1, Wu, qu], ih]),
|
|
3904
|
+
}, [0, [0, De, -1, Wu, qu], ih]), Al = class extends b {
|
|
3905
3905
|
constructor(e) {
|
|
3906
3906
|
super(e);
|
|
3907
3907
|
}
|
|
3908
|
-
},
|
|
3908
|
+
}, xl = class extends b {
|
|
3909
3909
|
constructor(e) {
|
|
3910
3910
|
super(e);
|
|
3911
3911
|
}
|
|
3912
|
-
}, ms = [0, ae, ue, [0, ae], Z],
|
|
3913
|
-
he[508968150] =
|
|
3914
|
-
var
|
|
3912
|
+
}, ms = [0, ae, ue, [0, ae], Z], Tl = [0, ae, ps, ms, ue, [0, [0, kl]]], dh = Qe(508968150, xl);
|
|
3913
|
+
he[508968150] = Tl, he[508968149] = ms;
|
|
3914
|
+
var Sl = class extends b {
|
|
3915
3915
|
constructor(e) {
|
|
3916
3916
|
super(e);
|
|
3917
3917
|
}
|
|
3918
|
-
}, fh = Qe(513916220,
|
|
3919
|
-
he[513916220] = [0, ae,
|
|
3918
|
+
}, fh = Qe(513916220, Sl);
|
|
3919
|
+
he[513916220] = [0, ae, Tl, re];
|
|
3920
3920
|
var Kt = class extends b {
|
|
3921
3921
|
constructor(e) {
|
|
3922
3922
|
super(e);
|
|
@@ -3927,13 +3927,13 @@ var Kt = class extends b {
|
|
|
3927
3927
|
g() {
|
|
3928
3928
|
V(this, 2);
|
|
3929
3929
|
}
|
|
3930
|
-
},
|
|
3931
|
-
he[478825465] =
|
|
3930
|
+
}, Ll = [0, ae, Cl];
|
|
3931
|
+
he[478825465] = Ll;
|
|
3932
3932
|
var ph = class extends b {
|
|
3933
3933
|
constructor(e) {
|
|
3934
3934
|
super(e);
|
|
3935
3935
|
}
|
|
3936
|
-
},
|
|
3936
|
+
}, Ml = class extends b {
|
|
3937
3937
|
constructor(e) {
|
|
3938
3938
|
super(e);
|
|
3939
3939
|
}
|
|
@@ -3945,45 +3945,45 @@ var ph = class extends b {
|
|
|
3945
3945
|
constructor(e) {
|
|
3946
3946
|
super(e);
|
|
3947
3947
|
}
|
|
3948
|
-
},
|
|
3948
|
+
}, Il = class extends b {
|
|
3949
3949
|
constructor(e) {
|
|
3950
3950
|
super(e);
|
|
3951
3951
|
}
|
|
3952
|
-
}, za = [0, ae, [0, ae],
|
|
3953
|
-
he[479097054] = [0, ae,
|
|
3952
|
+
}, 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);
|
|
3953
|
+
he[479097054] = [0, ae, Rl, za], he[463370452] = za, he[464864288] = Fl;
|
|
3954
3954
|
var gh = Qe(462713202, vs);
|
|
3955
|
-
he[462713202] =
|
|
3955
|
+
he[462713202] = Rl, he[474472470] = _s;
|
|
3956
3956
|
var vh = class extends b {
|
|
3957
3957
|
constructor(e) {
|
|
3958
3958
|
super(e);
|
|
3959
3959
|
}
|
|
3960
|
-
},
|
|
3960
|
+
}, Ol = class extends b {
|
|
3961
3961
|
constructor(e) {
|
|
3962
3962
|
super(e);
|
|
3963
3963
|
}
|
|
3964
|
-
},
|
|
3964
|
+
}, Pl = class extends b {
|
|
3965
3965
|
constructor(e) {
|
|
3966
3966
|
super(e);
|
|
3967
3967
|
}
|
|
3968
|
-
},
|
|
3968
|
+
}, Nl = class extends b {
|
|
3969
3969
|
constructor(e) {
|
|
3970
3970
|
super(e);
|
|
3971
3971
|
}
|
|
3972
3972
|
}, ys = [0, ae, ue, -1, re], po = [0, ae, ue, Z];
|
|
3973
|
-
|
|
3974
|
-
var
|
|
3973
|
+
Nl.prototype.g = nn([0, ae, _s, [0, ae], ps, ms, ys, po]);
|
|
3974
|
+
var Dl = class extends b {
|
|
3975
3975
|
constructor(e) {
|
|
3976
3976
|
super(e);
|
|
3977
3977
|
}
|
|
3978
|
-
}, _h = Qe(456383383,
|
|
3979
|
-
he[456383383] = [0, ae,
|
|
3980
|
-
var
|
|
3978
|
+
}, _h = Qe(456383383, Dl);
|
|
3979
|
+
he[456383383] = [0, ae, Cl];
|
|
3980
|
+
var Ul = class extends b {
|
|
3981
3981
|
constructor(e) {
|
|
3982
3982
|
super(e);
|
|
3983
3983
|
}
|
|
3984
|
-
}, yh = Qe(476348187,
|
|
3984
|
+
}, yh = Qe(476348187, Ul);
|
|
3985
3985
|
he[476348187] = [0, ae, lh];
|
|
3986
|
-
var
|
|
3986
|
+
var Bl = class extends b {
|
|
3987
3987
|
constructor(e) {
|
|
3988
3988
|
super(e);
|
|
3989
3989
|
}
|
|
@@ -3991,7 +3991,7 @@ var B1 = class extends b {
|
|
|
3991
3991
|
constructor(e) {
|
|
3992
3992
|
super(e);
|
|
3993
3993
|
}
|
|
3994
|
-
}, $
|
|
3994
|
+
}, $l = [0, De, -1], bh = Qe(458105876, class extends b {
|
|
3995
3995
|
constructor(e) {
|
|
3996
3996
|
super(e);
|
|
3997
3997
|
}
|
|
@@ -4017,31 +4017,31 @@ var B1 = class extends b {
|
|
|
4017
4017
|
}(e, t, _t(e, t, 2)), !r && qa && (e.pa = !0), e;
|
|
4018
4018
|
}
|
|
4019
4019
|
});
|
|
4020
|
-
he[458105876] = [0, $
|
|
4020
|
+
he[458105876] = [0, $l, Vu, [!0, Lt, [0, D, -1, ye]]];
|
|
4021
4021
|
var bs = class extends b {
|
|
4022
4022
|
constructor(e) {
|
|
4023
4023
|
super(e);
|
|
4024
4024
|
}
|
|
4025
|
-
},
|
|
4026
|
-
he[458105758] = [0, ae, D, $
|
|
4027
|
-
var
|
|
4025
|
+
}, jl = Qe(458105758, bs);
|
|
4026
|
+
he[458105758] = [0, ae, D, $l];
|
|
4027
|
+
var Hl = class extends b {
|
|
4028
4028
|
constructor(e) {
|
|
4029
4029
|
super(e);
|
|
4030
4030
|
}
|
|
4031
|
-
}, wh = Qe(443442058,
|
|
4031
|
+
}, wh = Qe(443442058, Hl);
|
|
4032
4032
|
he[443442058] = [0, ae, D, re, ue, ye, -1, Z, ue], he[514774813] = ys;
|
|
4033
|
-
var
|
|
4033
|
+
var Gl = class extends b {
|
|
4034
4034
|
constructor(e) {
|
|
4035
4035
|
super(e);
|
|
4036
4036
|
}
|
|
4037
|
-
}, Eh = Qe(516587230,
|
|
4037
|
+
}, Eh = Qe(516587230, Gl);
|
|
4038
4038
|
function mo(e, t) {
|
|
4039
4039
|
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
4040
|
}
|
|
4041
4041
|
function ws(e, t = -1, r = "") {
|
|
4042
4042
|
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
4043
|
}
|
|
4044
|
-
function
|
|
4044
|
+
function Vl(e) {
|
|
4045
4045
|
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
4046
|
const o = { categories: [], keypoints: [] };
|
|
4047
4047
|
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 +4050,12 @@ function V1(e) {
|
|
|
4050
4050
|
}
|
|
4051
4051
|
function an(e) {
|
|
4052
4052
|
const t = [];
|
|
4053
|
-
for (const r of gt(e,
|
|
4053
|
+
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
4054
|
return t;
|
|
4055
4055
|
}
|
|
4056
4056
|
function $r(e) {
|
|
4057
4057
|
const t = [];
|
|
4058
|
-
for (const r of gt(e,
|
|
4058
|
+
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
4059
|
return t;
|
|
4060
4060
|
}
|
|
4061
4061
|
function Xa(e) {
|
|
@@ -4071,7 +4071,7 @@ function Za(e, t) {
|
|
|
4071
4071
|
let hi;
|
|
4072
4072
|
he[516587230] = [0, ae, ys, po, ue], he[518928384] = po;
|
|
4073
4073
|
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
|
|
4074
|
+
async function Wl() {
|
|
4075
4075
|
if (hi === void 0) try {
|
|
4076
4076
|
await WebAssembly.instantiate(Ch), hi = !0;
|
|
4077
4077
|
} catch {
|
|
@@ -4080,12 +4080,12 @@ async function W1() {
|
|
|
4080
4080
|
return hi;
|
|
4081
4081
|
}
|
|
4082
4082
|
async function Mr(e, t = Yu``) {
|
|
4083
|
-
const r = await
|
|
4083
|
+
const r = await Wl() ? "wasm_internal" : "wasm_nosimd_internal";
|
|
4084
4084
|
return { wasmLoaderPath: `${t}/${e}_${r}.js`, wasmBinaryPath: `${t}/${e}_${r}.wasm` };
|
|
4085
4085
|
}
|
|
4086
4086
|
var Dt = class {
|
|
4087
4087
|
};
|
|
4088
|
-
function
|
|
4088
|
+
function zl() {
|
|
4089
4089
|
var e = navigator;
|
|
4090
4090
|
return typeof OffscreenCanvas < "u" && (!function(t = navigator) {
|
|
4091
4091
|
return (t = t.userAgent).includes("Safari") && !t.includes("Chrome");
|
|
@@ -4104,7 +4104,7 @@ async function Ya(e) {
|
|
|
4104
4104
|
}
|
|
4105
4105
|
importScripts(e.toString());
|
|
4106
4106
|
}
|
|
4107
|
-
function
|
|
4107
|
+
function ql(e) {
|
|
4108
4108
|
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
4109
|
}
|
|
4110
4110
|
function E(e, t, r) {
|
|
@@ -4114,7 +4114,7 @@ function Ka(e, t, r) {
|
|
|
4114
4114
|
if (!e.i.canvas) throw Error("No OpenGL canvas configured.");
|
|
4115
4115
|
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
4116
|
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] =
|
|
4117
|
+
const [i, n] = ql(t);
|
|
4118
4118
|
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
4119
|
}
|
|
4120
4120
|
function Ja(e, t, r) {
|
|
@@ -4145,7 +4145,7 @@ Dt.forVisionTasks = function(e) {
|
|
|
4145
4145
|
}, Dt.forAudioTasks = function(e) {
|
|
4146
4146
|
return Mr("audio", e);
|
|
4147
4147
|
}, Dt.isSimdSupported = function() {
|
|
4148
|
-
return
|
|
4148
|
+
return Wl();
|
|
4149
4149
|
};
|
|
4150
4150
|
async function kh(e, t, r, i) {
|
|
4151
4151
|
return e = await (async (n, o, s, a, c) => {
|
|
@@ -4413,7 +4413,7 @@ function vo(e) {
|
|
|
4413
4413
|
t = new Float32Array(e.width * e.height);
|
|
4414
4414
|
const i = fr(e);
|
|
4415
4415
|
var r = ks(e);
|
|
4416
|
-
if (un(r, i,
|
|
4416
|
+
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
4417
|
r = new Float32Array(e.width * e.height * 4), i.readPixels(0, 0, e.width, e.height, i.RGBA, i.FLOAT, r);
|
|
4418
4418
|
for (let n = 0, o = 0; n < t.length; ++n, o += 4) t[n] = r[o];
|
|
4419
4419
|
} else i.readPixels(0, 0, e.width, e.height, i.RED, i.FLOAT, t);
|
|
@@ -4422,12 +4422,12 @@ function vo(e) {
|
|
|
4422
4422
|
}
|
|
4423
4423
|
return t;
|
|
4424
4424
|
}
|
|
4425
|
-
function
|
|
4425
|
+
function Xl(e) {
|
|
4426
4426
|
let t = ht(e, 2);
|
|
4427
4427
|
if (!t) {
|
|
4428
4428
|
const r = fr(e);
|
|
4429
|
-
t =
|
|
4430
|
-
const i = vo(e), n =
|
|
4429
|
+
t = Yl(e);
|
|
4430
|
+
const i = vo(e), n = Zl(e);
|
|
4431
4431
|
r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, i), _o(e);
|
|
4432
4432
|
}
|
|
4433
4433
|
return t;
|
|
@@ -4436,7 +4436,7 @@ function fr(e) {
|
|
|
4436
4436
|
if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
|
|
4437
4437
|
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
4438
|
}
|
|
4439
|
-
function
|
|
4439
|
+
function Zl(e) {
|
|
4440
4440
|
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
4441
|
else {
|
|
4442
4442
|
if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
|
|
@@ -4447,7 +4447,7 @@ function Z1(e) {
|
|
|
4447
4447
|
function ks(e) {
|
|
4448
4448
|
return e.l || (e.l = new Tr()), e.l;
|
|
4449
4449
|
}
|
|
4450
|
-
function
|
|
4450
|
+
function Yl(e) {
|
|
4451
4451
|
const t = fr(e);
|
|
4452
4452
|
t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
|
|
4453
4453
|
let r = ht(e, 2);
|
|
@@ -4477,7 +4477,7 @@ var di, de = class {
|
|
|
4477
4477
|
return vo(this);
|
|
4478
4478
|
}
|
|
4479
4479
|
N() {
|
|
4480
|
-
return
|
|
4480
|
+
return Xl(this);
|
|
4481
4481
|
}
|
|
4482
4482
|
clone() {
|
|
4483
4483
|
const e = [];
|
|
@@ -4490,9 +4490,9 @@ var di, de = class {
|
|
|
4490
4490
|
{
|
|
4491
4491
|
const i = fr(this), n = ks(this);
|
|
4492
4492
|
i.activeTexture(i.TEXTURE1), r = Mt(n, i, this.m ? i.LINEAR : i.NEAREST), i.bindTexture(i.TEXTURE_2D, r);
|
|
4493
|
-
const o =
|
|
4493
|
+
const o = Zl(this);
|
|
4494
4494
|
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
|
-
|
|
4495
|
+
Yl(this), i.clearColor(0, 0, 0, 0), i.clear(i.COLOR_BUFFER_BIT), i.drawArrays(i.TRIANGLE_FAN, 0, 4), _o(this);
|
|
4496
4496
|
}), Cs(n), _o(this);
|
|
4497
4497
|
}
|
|
4498
4498
|
}
|
|
@@ -4637,7 +4637,7 @@ function nt(e, t) {
|
|
|
4637
4637
|
throw Error(`Type is not supported: ${t}`);
|
|
4638
4638
|
}
|
|
4639
4639
|
}
|
|
4640
|
-
function
|
|
4640
|
+
function Kl(e) {
|
|
4641
4641
|
var t = nt(e, 0);
|
|
4642
4642
|
if (!t) {
|
|
4643
4643
|
t = pr(e);
|
|
@@ -4651,7 +4651,7 @@ function yi(e) {
|
|
|
4651
4651
|
if (!t) {
|
|
4652
4652
|
const r = pr(e);
|
|
4653
4653
|
t = bi(e);
|
|
4654
|
-
const i = nt(e, 1) ||
|
|
4654
|
+
const i = nt(e, 1) || Kl(e);
|
|
4655
4655
|
r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, r.RGBA, r.UNSIGNED_BYTE, i), Or(e);
|
|
4656
4656
|
}
|
|
4657
4657
|
return t;
|
|
@@ -4701,7 +4701,7 @@ var me = class {
|
|
|
4701
4701
|
return !!nt(this, 2);
|
|
4702
4702
|
}
|
|
4703
4703
|
Aa() {
|
|
4704
|
-
return
|
|
4704
|
+
return Kl(this);
|
|
4705
4705
|
}
|
|
4706
4706
|
za() {
|
|
4707
4707
|
var e = nt(this, 1);
|
|
@@ -4745,7 +4745,7 @@ const Lh = /* @__PURE__ */ function(e) {
|
|
|
4745
4745
|
};
|
|
4746
4746
|
}((lc = class {
|
|
4747
4747
|
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 :
|
|
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 : 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
4749
|
}
|
|
4750
4750
|
async initializeGraph(e) {
|
|
4751
4751
|
const t = await (await fetch(e)).arrayBuffer();
|
|
@@ -5105,11 +5105,11 @@ var lc, Xe = class extends Lh {
|
|
|
5105
5105
|
async function M(e, t, r) {
|
|
5106
5106
|
return async function(i, n, o, s) {
|
|
5107
5107
|
return kh(i, n, o, s);
|
|
5108
|
-
}(e, r.canvas ?? (
|
|
5108
|
+
}(e, r.canvas ?? (zl() ? void 0 : document.createElement("canvas")), t, r);
|
|
5109
5109
|
}
|
|
5110
|
-
function
|
|
5110
|
+
function Jl(e, t, r, i) {
|
|
5111
5111
|
if (e.U) {
|
|
5112
|
-
const o = new
|
|
5112
|
+
const o = new wl();
|
|
5113
5113
|
if (r?.regionOfInterest) {
|
|
5114
5114
|
if (!e.na) throw Error("This task doesn't support region-of-interest.");
|
|
5115
5115
|
var n = r.regionOfInterest;
|
|
@@ -5120,7 +5120,7 @@ function J1(e, t, r, i) {
|
|
|
5120
5120
|
if (r?.rotationDegrees) {
|
|
5121
5121
|
if (r?.rotationDegrees % 90 != 0) throw Error("Expected rotation to be a multiple of 90°.");
|
|
5122
5122
|
if (w(o, 5, -Math.PI * r.rotationDegrees / 180), r?.rotationDegrees % 180 != 0) {
|
|
5123
|
-
const [s, a] =
|
|
5123
|
+
const [s, a] = ql(t);
|
|
5124
5124
|
r = oe(o, 3) * a / s, n = oe(o, 4) * s / a, w(o, 4, r), w(o, 3, n);
|
|
5125
5125
|
}
|
|
5126
5126
|
}
|
|
@@ -5130,11 +5130,11 @@ function J1(e, t, r, i) {
|
|
|
5130
5130
|
}
|
|
5131
5131
|
function Ze(e, t, r) {
|
|
5132
5132
|
if (e.baseOptions?.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
|
|
5133
|
-
|
|
5133
|
+
Jl(e, t, r, e.B + 1);
|
|
5134
5134
|
}
|
|
5135
5135
|
function ct(e, t, r, i) {
|
|
5136
5136
|
if (!e.baseOptions?.g()) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
|
|
5137
|
-
|
|
5137
|
+
Jl(e, t, r, i);
|
|
5138
5138
|
}
|
|
5139
5139
|
function mr(e, t, r, i) {
|
|
5140
5140
|
var n = t.data;
|
|
@@ -5181,7 +5181,7 @@ var He = class extends Me {
|
|
|
5181
5181
|
Ke(t, uh, this.h);
|
|
5182
5182
|
const r = new ke();
|
|
5183
5183
|
$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 =
|
|
5184
|
+
for (const o of i) i = _l(o), this.j.detections.push(Vl(i));
|
|
5185
5185
|
v(this, n);
|
|
5186
5186
|
}), this.g.attachEmptyPacketListener("detections", (i) => {
|
|
5187
5187
|
v(this, i);
|
|
@@ -5195,13 +5195,13 @@ He.prototype.detectForVideo = He.prototype.F, He.prototype.detect = He.prototype
|
|
|
5195
5195
|
}, He.createFromOptions = function(e, t) {
|
|
5196
5196
|
return M(He, e, t);
|
|
5197
5197
|
};
|
|
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]);
|
|
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]), 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
5199
|
function uc(e) {
|
|
5200
5200
|
e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
|
|
5201
5201
|
}
|
|
5202
5202
|
var z = class extends Me {
|
|
5203
5203
|
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
|
|
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 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
5205
|
}
|
|
5206
5206
|
get baseOptions() {
|
|
5207
5207
|
return R(this.h, Y, 1);
|
|
@@ -5248,10 +5248,10 @@ z.prototype.detectForVideo = z.prototype.F, z.prototype.detect = z.prototype.D,
|
|
|
5248
5248
|
return M(z, e, { baseOptions: { modelAssetBuffer: t } });
|
|
5249
5249
|
}, z.createFromOptions = function(e, t) {
|
|
5250
5250
|
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 =
|
|
5251
|
+
}, 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
5252
|
var rt = class extends Me {
|
|
5253
5253
|
constructor(e, t) {
|
|
5254
|
-
super(new Xe(e, t), "image_in", "norm_rect", !0), A(e = this.j = new
|
|
5254
|
+
super(new Xe(e, t), "image_in", "norm_rect", !0), A(e = this.j = new Sl(), 0, 1, t = new Y());
|
|
5255
5255
|
}
|
|
5256
5256
|
get baseOptions() {
|
|
5257
5257
|
return R(this.j, Y, 1);
|
|
@@ -5316,7 +5316,7 @@ function fc(e, t = !0) {
|
|
|
5316
5316
|
}
|
|
5317
5317
|
var Re = class extends Me {
|
|
5318
5318
|
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
|
|
5319
|
+
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
5320
|
}
|
|
5321
5321
|
get baseOptions() {
|
|
5322
5322
|
return R(this.j, Y, 1);
|
|
@@ -5347,7 +5347,7 @@ var Re = class extends Me {
|
|
|
5347
5347
|
for (const o of i) {
|
|
5348
5348
|
i = ti(o);
|
|
5349
5349
|
const s = [];
|
|
5350
|
-
for (const a of gt(i,
|
|
5350
|
+
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
5351
|
this.landmarks.push(s);
|
|
5352
5352
|
}
|
|
5353
5353
|
v(this, n);
|
|
@@ -5357,7 +5357,7 @@ var Re = class extends Me {
|
|
|
5357
5357
|
for (const o of i) {
|
|
5358
5358
|
i = ir(o);
|
|
5359
5359
|
const s = [];
|
|
5360
|
-
for (const a of gt(i,
|
|
5360
|
+
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
5361
|
this.worldLandmarks.push(s);
|
|
5362
5362
|
}
|
|
5363
5363
|
v(this, n);
|
|
@@ -5386,7 +5386,7 @@ Re.prototype.recognizeForVideo = Re.prototype.Ga, Re.prototype.recognize = Re.pr
|
|
|
5386
5386
|
}, Re.HAND_CONNECTIONS = Is;
|
|
5387
5387
|
var Oe = class extends Me {
|
|
5388
5388
|
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
|
|
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 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
5390
|
}
|
|
5391
5391
|
get baseOptions() {
|
|
5392
5392
|
return R(this.h, Y, 1);
|
|
@@ -5441,7 +5441,7 @@ Oe.prototype.detectForVideo = Oe.prototype.F, Oe.prototype.detect = Oe.prototype
|
|
|
5441
5441
|
}, Oe.createFromOptions = function(e, t) {
|
|
5442
5442
|
return M(Oe, e, t);
|
|
5443
5443
|
}, Oe.HAND_CONNECTIONS = Is;
|
|
5444
|
-
var
|
|
5444
|
+
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
5445
|
function mc(e) {
|
|
5446
5446
|
e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
|
|
5447
5447
|
}
|
|
@@ -5458,7 +5458,7 @@ function fi(e, t) {
|
|
|
5458
5458
|
}
|
|
5459
5459
|
var X = class extends Me {
|
|
5460
5460
|
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
|
|
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 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
5462
|
}
|
|
5463
5463
|
get baseOptions() {
|
|
5464
5464
|
return R(this.j, Y, 1);
|
|
@@ -5538,10 +5538,10 @@ X.prototype.detectForVideo = X.prototype.F, X.prototype.detect = X.prototype.D,
|
|
|
5538
5538
|
return M(X, e, { baseOptions: { modelAssetBuffer: t } });
|
|
5539
5539
|
}, X.createFromOptions = function(e, t) {
|
|
5540
5540
|
return M(X, e, t);
|
|
5541
|
-
}, X.HAND_CONNECTIONS = Is, X.POSE_CONNECTIONS =
|
|
5541
|
+
}, 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
5542
|
var Ge = class extends Me {
|
|
5543
5543
|
constructor(e, t) {
|
|
5544
|
-
super(new Xe(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, A(e = this.h = new
|
|
5544
|
+
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
5545
|
}
|
|
5546
5546
|
get baseOptions() {
|
|
5547
5547
|
return R(this.h, Y, 1);
|
|
@@ -5566,7 +5566,7 @@ var Ge = class extends Me {
|
|
|
5566
5566
|
const r = new ke();
|
|
5567
5567
|
$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
5568
|
this.j = function(o) {
|
|
5569
|
-
const s = { classifications: gt(o, nh, 1).map((a) => ws(R(a,
|
|
5569
|
+
const s = { classifications: gt(o, nh, 1).map((a) => ws(R(a, gl, 4)?.g() ?? [], ze(a, 2) ?? 0, qe(a, 3) ?? "")) };
|
|
5570
5570
|
return oo(ur(o, 2)) != null && (s.timestampMs = oo(ur(o, 2)) ?? 0), s;
|
|
5571
5571
|
}(oh(i)), v(this, n);
|
|
5572
5572
|
}), this.g.attachEmptyPacketListener("classifications", (i) => {
|
|
@@ -5583,7 +5583,7 @@ Ge.prototype.classifyForVideo = Ge.prototype.ra, Ge.prototype.classify = Ge.prot
|
|
|
5583
5583
|
};
|
|
5584
5584
|
var Pe = class extends Me {
|
|
5585
5585
|
constructor(e, t) {
|
|
5586
|
-
super(new Xe(e, t), "image_in", "norm_rect", !0), this.h = new
|
|
5586
|
+
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
5587
|
}
|
|
5588
5588
|
get baseOptions() {
|
|
5589
5589
|
return R(this.h, Y, 1);
|
|
@@ -5663,7 +5663,7 @@ function _c(e) {
|
|
|
5663
5663
|
yo.prototype.close = yo.prototype.close;
|
|
5664
5664
|
var Se = class extends Me {
|
|
5665
5665
|
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
|
|
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 Bl(), A(this.h, 0, 3, this.v), A(e = this.h, 0, 1, t = new Y());
|
|
5667
5667
|
}
|
|
5668
5668
|
get baseOptions() {
|
|
5669
5669
|
return R(this.h, Y, 1);
|
|
@@ -5698,7 +5698,7 @@ var Se = class extends Me {
|
|
|
5698
5698
|
var e = new Ie();
|
|
5699
5699
|
q(e, "image_in"), q(e, "norm_rect");
|
|
5700
5700
|
const t = new Ue();
|
|
5701
|
-
Ke(t,
|
|
5701
|
+
Ke(t, jl, this.h);
|
|
5702
5702
|
const r = new ke();
|
|
5703
5703
|
$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
5704
|
this.confidenceMasks = i.map((o) => mr(this, o, !0, !this.j)), v(this, n);
|
|
@@ -5749,15 +5749,15 @@ var Mh = class extends b {
|
|
|
5749
5749
|
constructor(e) {
|
|
5750
5750
|
super(e);
|
|
5751
5751
|
}
|
|
5752
|
-
}, wo = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15],
|
|
5752
|
+
}, wo = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15], n1 = class extends b {
|
|
5753
5753
|
constructor(e) {
|
|
5754
5754
|
super(e);
|
|
5755
5755
|
}
|
|
5756
5756
|
};
|
|
5757
|
-
|
|
5757
|
+
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
5758
|
var it = class extends Me {
|
|
5759
5759
|
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
|
|
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 Bl(), A(this.h, 0, 3, this.s), A(e = this.h, 0, 1, t = new Y());
|
|
5761
5761
|
}
|
|
5762
5762
|
get baseOptions() {
|
|
5763
5763
|
return R(this.h, Y, 1);
|
|
@@ -5770,7 +5770,7 @@ var it = class extends Me {
|
|
|
5770
5770
|
}
|
|
5771
5771
|
segment(e, t, r, i) {
|
|
5772
5772
|
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
|
|
5773
|
+
this.j = typeof r == "function" ? r : i, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.B + 1, i = new n1();
|
|
5774
5774
|
const o = new Ec();
|
|
5775
5775
|
var s = new Mh();
|
|
5776
5776
|
if (at(s, 1, 255), A(o, 0, 12, s), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
|
|
@@ -5802,7 +5802,7 @@ var it = class extends Me {
|
|
|
5802
5802
|
var e = new Ie();
|
|
5803
5803
|
q(e, "image_in"), q(e, "roi_in"), q(e, "norm_rect_in");
|
|
5804
5804
|
const t = new Ue();
|
|
5805
|
-
Ke(t,
|
|
5805
|
+
Ke(t, jl, this.h);
|
|
5806
5806
|
const r = new ke();
|
|
5807
5807
|
$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
5808
|
this.confidenceMasks = i.map((o) => mr(this, o, !0, !this.j)), v(this, n);
|
|
@@ -5828,7 +5828,7 @@ it.prototype.segment = it.prototype.segment, it.prototype.setOptions = it.protot
|
|
|
5828
5828
|
};
|
|
5829
5829
|
var Ve = class extends Me {
|
|
5830
5830
|
constructor(e, t) {
|
|
5831
|
-
super(new Xe(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, A(e = this.h = new
|
|
5831
|
+
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
5832
|
}
|
|
5833
5833
|
get baseOptions() {
|
|
5834
5834
|
return R(this.h, Y, 1);
|
|
@@ -5852,7 +5852,7 @@ var Ve = class extends Me {
|
|
|
5852
5852
|
Ke(t, wh, this.h);
|
|
5853
5853
|
const r = new ke();
|
|
5854
5854
|
$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 =
|
|
5855
|
+
for (const o of i) i = _l(o), this.j.detections.push(Vl(i));
|
|
5856
5856
|
v(this, n);
|
|
5857
5857
|
}), this.g.attachEmptyPacketListener("detections", (i) => {
|
|
5858
5858
|
v(this, i);
|
|
@@ -5891,7 +5891,7 @@ function kc(e) {
|
|
|
5891
5891
|
Eo.prototype.close = Eo.prototype.close;
|
|
5892
5892
|
var Ne = class extends Me {
|
|
5893
5893
|
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
|
|
5894
|
+
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
5895
|
}
|
|
5896
5896
|
get baseOptions() {
|
|
5897
5897
|
return R(this.h, Y, 1);
|
|
@@ -5941,7 +5941,7 @@ Ne.prototype.detectForVideo = Ne.prototype.F, Ne.prototype.detect = Ne.prototype
|
|
|
5941
5941
|
return M(Ne, e, { baseOptions: { modelAssetBuffer: t } });
|
|
5942
5942
|
}, Ne.createFromOptions = function(e, t) {
|
|
5943
5943
|
return M(Ne, e, t);
|
|
5944
|
-
}, Ne.POSE_CONNECTIONS =
|
|
5944
|
+
}, Ne.POSE_CONNECTIONS = i1;
|
|
5945
5945
|
const Fh = (e) => {
|
|
5946
5946
|
if (!e || e.length === 0) return 0;
|
|
5947
5947
|
const t = e[0];
|
|
@@ -6069,7 +6069,24 @@ const Fh = (e) => {
|
|
|
6069
6069
|
"smile-required": "Smile!",
|
|
6070
6070
|
"open-mouth-smile": "Wider smile - teeth visible",
|
|
6071
6071
|
initializing: "Initializing..."
|
|
6072
|
-
}, Dh = () => {
|
|
6072
|
+
}, Dh = ["sm-s936", "sm-s931", "sm-s938"], Uh = async () => {
|
|
6073
|
+
if (typeof navigator < "u" && navigator.userAgentData)
|
|
6074
|
+
try {
|
|
6075
|
+
const { model: e } = await navigator.userAgentData.getHighEntropyValues([
|
|
6076
|
+
"model"
|
|
6077
|
+
]);
|
|
6078
|
+
if (!e)
|
|
6079
|
+
return !1;
|
|
6080
|
+
const t = e.toLowerCase();
|
|
6081
|
+
return Dh.some((r) => t.includes(r));
|
|
6082
|
+
} catch (e) {
|
|
6083
|
+
return console.warn(
|
|
6084
|
+
"UA-CH model fetch failed, falling back to UA string check.",
|
|
6085
|
+
e
|
|
6086
|
+
), !1;
|
|
6087
|
+
}
|
|
6088
|
+
return !1;
|
|
6089
|
+
}, Bh = () => {
|
|
6073
6090
|
const e = document.createElement("canvas"), t = e.getContext("webgl") || e.getContext("experimental-webgl");
|
|
6074
6091
|
if (!t) return !1;
|
|
6075
6092
|
const r = t.getExtension("OES_texture_half_float"), i = t.getExtension(
|
|
@@ -6078,7 +6095,7 @@ const Fh = (e) => {
|
|
|
6078
6095
|
"EXT_color_buffer_half_float"
|
|
6079
6096
|
);
|
|
6080
6097
|
return !!(r && n && i);
|
|
6081
|
-
},
|
|
6098
|
+
}, o1 = async () => {
|
|
6082
6099
|
window.__smileIdentityMediapipe || (window.__smileIdentityMediapipe = {
|
|
6083
6100
|
instance: null,
|
|
6084
6101
|
loading: null,
|
|
@@ -6089,21 +6106,21 @@ const Fh = (e) => {
|
|
|
6089
6106
|
try {
|
|
6090
6107
|
const t = await Dt.forVisionTasks(
|
|
6091
6108
|
"https://web-models.smileidentity.com/mediapipe-tasks-vision-wasm"
|
|
6092
|
-
), r = await z.createFromOptions(t, {
|
|
6109
|
+
), r = await Uh(), i = await z.createFromOptions(t, {
|
|
6093
6110
|
baseOptions: {
|
|
6094
6111
|
modelAssetPath: "https://web-models.smileidentity.com/face_landmarker/face_landmarker.task",
|
|
6095
|
-
delegate:
|
|
6112
|
+
delegate: r || !Bh() ? "CPU" : "GPU"
|
|
6096
6113
|
},
|
|
6097
6114
|
outputFaceBlendshapes: !0,
|
|
6098
6115
|
runningMode: "VIDEO",
|
|
6099
6116
|
numFaces: 2
|
|
6100
6117
|
});
|
|
6101
|
-
return e.instance =
|
|
6118
|
+
return e.instance = i, e.loaded = !0, e.loading = null, i;
|
|
6102
6119
|
} catch (t) {
|
|
6103
6120
|
throw e.loading = null, t;
|
|
6104
6121
|
}
|
|
6105
6122
|
})()), e.loading);
|
|
6106
|
-
}, Fr = ko.version,
|
|
6123
|
+
}, Fr = ko.version, $h = ({
|
|
6107
6124
|
videoRef: e,
|
|
6108
6125
|
canvasRef: t,
|
|
6109
6126
|
interval: r,
|
|
@@ -6117,7 +6134,7 @@ const Fh = (e) => {
|
|
|
6117
6134
|
}) => {
|
|
6118
6135
|
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
6136
|
() => Math.floor(ne.value * 0.4)
|
|
6120
|
-
), Rs = yn(() => Math.floor(ne.value * 0.2)),
|
|
6137
|
+
), Rs = yn(() => Math.floor(ne.value * 0.2)), s1 = yn(
|
|
6121
6138
|
() => m.value && y.value && p.value === "good" && !_.value
|
|
6122
6139
|
), dn = (H) => {
|
|
6123
6140
|
H && Sc[H] ? $.value = Sc[H] : $.value = "";
|
|
@@ -6125,22 +6142,22 @@ const Fh = (e) => {
|
|
|
6125
6142
|
l2((H) => {
|
|
6126
6143
|
dn(H);
|
|
6127
6144
|
}, 600)
|
|
6128
|
-
).current,
|
|
6145
|
+
).current, a1 = async () => {
|
|
6129
6146
|
try {
|
|
6130
|
-
window.__smileIdentityMediapipe?.loaded && window.__smileIdentityMediapipe?.instance || (j.value = !0, dn("initializing")), h.current = await
|
|
6147
|
+
window.__smileIdentityMediapipe?.loaded && window.__smileIdentityMediapipe?.instance || (j.value = !0, dn("initializing")), h.current = await o1(), j.value = !1;
|
|
6131
6148
|
} catch (H) {
|
|
6132
6149
|
console.error("Failed to initialize MediaPipe:", H), j.value = !1;
|
|
6133
6150
|
}
|
|
6134
|
-
},
|
|
6151
|
+
}, c1 = () => {
|
|
6135
6152
|
if (e.current && t.current) {
|
|
6136
6153
|
const { videoWidth: H, videoHeight: Te } = e.current;
|
|
6137
6154
|
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
6155
|
}
|
|
6139
|
-
},
|
|
6156
|
+
}, l1 = () => {
|
|
6140
6157
|
const H = _e.value < Rs.value, Te = _e.value >= Xt.value;
|
|
6141
6158
|
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 ?
|
|
6159
|
+
}, u1 = () => {
|
|
6160
|
+
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
6161
|
}, fn = () => {
|
|
6145
6162
|
u.current && (cancelAnimationFrame(u.current), u.current = null);
|
|
6146
6163
|
}, pn = async () => {
|
|
@@ -6160,8 +6177,8 @@ const Fh = (e) => {
|
|
|
6160
6177
|
);
|
|
6161
6178
|
if (x.value = ge.faceLandmarks || [], ge.faceLandmarks && t.current && e.current)
|
|
6162
6179
|
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
|
-
(
|
|
6180
|
+
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(
|
|
6181
|
+
(p1) => p1.map((gn) => ({
|
|
6165
6182
|
x: gn.x * si + mn,
|
|
6166
6183
|
y: gn.y * Yt + oi,
|
|
6167
6184
|
z: gn.z
|
|
@@ -6169,7 +6186,7 @@ const Fh = (e) => {
|
|
|
6169
6186
|
);
|
|
6170
6187
|
Ac(
|
|
6171
6188
|
t.current,
|
|
6172
|
-
|
|
6189
|
+
f1,
|
|
6173
6190
|
_e.value,
|
|
6174
6191
|
Xt.value
|
|
6175
6192
|
);
|
|
@@ -6196,14 +6213,14 @@ const Fh = (e) => {
|
|
|
6196
6213
|
}, 0));
|
|
6197
6214
|
} else
|
|
6198
6215
|
T.value = 0, S.value = 0, k.value = 0, y.value = !1, p.value = "good";
|
|
6199
|
-
|
|
6216
|
+
u1();
|
|
6200
6217
|
} catch {
|
|
6201
6218
|
m.value = !1, y.value = !1, _.value = !1, p.value = "good", k.value = 0, we.value && Fe("no-face");
|
|
6202
6219
|
}
|
|
6203
6220
|
u.current = requestAnimationFrame(pn);
|
|
6204
|
-
},
|
|
6221
|
+
}, h1 = () => {
|
|
6205
6222
|
u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(pn);
|
|
6206
|
-
},
|
|
6223
|
+
}, d1 = () => {
|
|
6207
6224
|
if (!e.current) return;
|
|
6208
6225
|
const H = _e.value === ne.value - 1, Te = Nh(e.current, H);
|
|
6209
6226
|
Te && (H ? ie.value = Te : B.value = [...B.value, Te], _e.value++, K.value = ne.value - _e.value);
|
|
@@ -6254,7 +6271,7 @@ const Fh = (e) => {
|
|
|
6254
6271
|
Sr();
|
|
6255
6272
|
return;
|
|
6256
6273
|
}
|
|
6257
|
-
|
|
6274
|
+
d1();
|
|
6258
6275
|
}, r);
|
|
6259
6276
|
}, Ps = () => {
|
|
6260
6277
|
if (m.value && p.value === "good" && y.value && !_.value) {
|
|
@@ -6276,7 +6293,7 @@ const Fh = (e) => {
|
|
|
6276
6293
|
lastSmileTime: F,
|
|
6277
6294
|
alertTitle: $,
|
|
6278
6295
|
isInitializing: j,
|
|
6279
|
-
isReadyToCapture:
|
|
6296
|
+
isReadyToCapture: s1,
|
|
6280
6297
|
isCapturing: we,
|
|
6281
6298
|
isPaused: Q,
|
|
6282
6299
|
countdown: K,
|
|
@@ -6287,9 +6304,9 @@ const Fh = (e) => {
|
|
|
6287
6304
|
hasFinishedCapture: Fs,
|
|
6288
6305
|
smileCheckpoint: Xt,
|
|
6289
6306
|
neutralZone: Rs,
|
|
6290
|
-
initializeFaceLandmarker:
|
|
6291
|
-
setupCanvas:
|
|
6292
|
-
startDetectionLoop:
|
|
6307
|
+
initializeFaceLandmarker: a1,
|
|
6308
|
+
setupCanvas: c1,
|
|
6309
|
+
startDetectionLoop: h1,
|
|
6293
6310
|
stopDetectionLoop: fn,
|
|
6294
6311
|
updateAlert: Fe,
|
|
6295
6312
|
startCapture: async () => {
|
|
@@ -6340,7 +6357,7 @@ const Fh = (e) => {
|
|
|
6340
6357
|
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
6358
|
}
|
|
6342
6359
|
};
|
|
6343
|
-
},
|
|
6360
|
+
}, jh = ({
|
|
6344
6361
|
progress: e,
|
|
6345
6362
|
duration: t = 1e3,
|
|
6346
6363
|
themeColor: r = "#001096"
|
|
@@ -6397,7 +6414,7 @@ const Fh = (e) => {
|
|
|
6397
6414
|
)
|
|
6398
6415
|
}
|
|
6399
6416
|
);
|
|
6400
|
-
},
|
|
6417
|
+
}, Hh = ({
|
|
6401
6418
|
videoRef: e,
|
|
6402
6419
|
canvasRef: t,
|
|
6403
6420
|
facingMode: r,
|
|
@@ -6436,7 +6453,7 @@ const Fh = (e) => {
|
|
|
6436
6453
|
}
|
|
6437
6454
|
),
|
|
6438
6455
|
!i && /* @__PURE__ */ L(
|
|
6439
|
-
|
|
6456
|
+
jh,
|
|
6440
6457
|
{
|
|
6441
6458
|
progress: n,
|
|
6442
6459
|
duration: o,
|
|
@@ -6486,7 +6503,7 @@ const Fh = (e) => {
|
|
|
6486
6503
|
pointer-events: none;
|
|
6487
6504
|
}
|
|
6488
6505
|
` })
|
|
6489
|
-
] }),
|
|
6506
|
+
] }), Gh = ({
|
|
6490
6507
|
alertTitle: e
|
|
6491
6508
|
}) => e ? /* @__PURE__ */ L(It, { children: [
|
|
6492
6509
|
/* @__PURE__ */ L("div", { className: "alert-message", children: /* @__PURE__ */ L("div", { className: "alert-title", children: e }) }),
|
|
@@ -6507,7 +6524,7 @@ const Fh = (e) => {
|
|
|
6507
6524
|
text-align: center;
|
|
6508
6525
|
}
|
|
6509
6526
|
` })
|
|
6510
|
-
] }) : null,
|
|
6527
|
+
] }) : null, Vh = ({
|
|
6511
6528
|
isCapturing: e,
|
|
6512
6529
|
hasFinishedCapture: t,
|
|
6513
6530
|
isReadyToCapture: r,
|
|
@@ -6580,7 +6597,7 @@ const Fh = (e) => {
|
|
|
6580
6597
|
l2((F) => {
|
|
6581
6598
|
T.value = F;
|
|
6582
6599
|
}, 100)
|
|
6583
|
-
).current, k =
|
|
6600
|
+
).current, k = $h({
|
|
6584
6601
|
videoRef: x.videoRef,
|
|
6585
6602
|
canvasRef: a,
|
|
6586
6603
|
interval: e,
|
|
@@ -6638,7 +6655,7 @@ const Fh = (e) => {
|
|
|
6638
6655
|
l && // @ts-ignore
|
|
6639
6656
|
/* @__PURE__ */ L("smileid-navigation", { ref: c, "theme-color": r }),
|
|
6640
6657
|
/* @__PURE__ */ L(
|
|
6641
|
-
|
|
6658
|
+
Hh,
|
|
6642
6659
|
{
|
|
6643
6660
|
videoRef: x.videoRef,
|
|
6644
6661
|
canvasRef: a,
|
|
@@ -6649,9 +6666,9 @@ const Fh = (e) => {
|
|
|
6649
6666
|
themeColor: r
|
|
6650
6667
|
}
|
|
6651
6668
|
),
|
|
6652
|
-
/* @__PURE__ */ L(
|
|
6669
|
+
/* @__PURE__ */ L(Gh, { alertTitle: k.alertTitle.value }),
|
|
6653
6670
|
!k.isCapturing.value && !k.hasFinishedCapture.value && /* @__PURE__ */ L(
|
|
6654
|
-
|
|
6671
|
+
Vh,
|
|
6655
6672
|
{
|
|
6656
6673
|
isCapturing: k.isCapturing.value,
|
|
6657
6674
|
hasFinishedCapture: k.hasFinishedCapture.value,
|
|
@@ -6732,15 +6749,15 @@ customElements.get("smartselfie-capture") || Zc(
|
|
|
6732
6749
|
],
|
|
6733
6750
|
{ shadow: !0 }
|
|
6734
6751
|
);
|
|
6735
|
-
const
|
|
6736
|
-
function
|
|
6752
|
+
const Wh = ko.version, zh = 8;
|
|
6753
|
+
function qh(e, t = 16) {
|
|
6737
6754
|
const r = /* @__PURE__ */ new Set();
|
|
6738
6755
|
for (let i = 0; i < Math.min(e.length, 1e4); i += 4)
|
|
6739
6756
|
if (r.add(e[i] << 16 | e[i + 1] << 8 | e[i + 2]), r.size > t)
|
|
6740
6757
|
return !0;
|
|
6741
6758
|
return !1;
|
|
6742
6759
|
}
|
|
6743
|
-
function
|
|
6760
|
+
function Xh(e, t = zh) {
|
|
6744
6761
|
const r = [];
|
|
6745
6762
|
if (e < t)
|
|
6746
6763
|
throw new Error(
|
|
@@ -6754,7 +6771,7 @@ function zh(e, t = Vh) {
|
|
|
6754
6771
|
const s = e - 1;
|
|
6755
6772
|
return r.length < 8 && !r.includes(s) && r.push(s), r;
|
|
6756
6773
|
}
|
|
6757
|
-
function
|
|
6774
|
+
function Zh() {
|
|
6758
6775
|
return `
|
|
6759
6776
|
${Ii(this.themeColor)}
|
|
6760
6777
|
<style>
|
|
@@ -7271,9 +7288,9 @@ async function Lc(e, t = { facingMode: "user" }) {
|
|
|
7271
7288
|
);
|
|
7272
7289
|
}
|
|
7273
7290
|
}
|
|
7274
|
-
class
|
|
7291
|
+
class Yh extends HTMLElement {
|
|
7275
7292
|
constructor() {
|
|
7276
|
-
super(), this.templateString =
|
|
7293
|
+
super(), this.templateString = Zh.bind(this), this.render = () => this.templateString(), this.attachShadow({ mode: "open" }), this.facingMode = "user", this.allowAgentMode && (this.facingMode = "environment");
|
|
7277
7294
|
}
|
|
7278
7295
|
connectedCallback() {
|
|
7279
7296
|
const t = document.createElement("template");
|
|
@@ -7285,7 +7302,7 @@ class Xh extends HTMLElement {
|
|
|
7285
7302
|
this._videoStreamDurationInMS = 7800, this._imageCaptureIntervalInMS = 200, this._data = {
|
|
7286
7303
|
images: [],
|
|
7287
7304
|
meta: {
|
|
7288
|
-
libraryVersion:
|
|
7305
|
+
libraryVersion: Wh
|
|
7289
7306
|
}
|
|
7290
7307
|
}, this._rawImages = [], this.setUpEventListeners();
|
|
7291
7308
|
}
|
|
@@ -7331,7 +7348,7 @@ class Xh extends HTMLElement {
|
|
|
7331
7348
|
clearTimeout(this._videoStreamTimeout), clearInterval(this._imageCaptureInterval), clearInterval(this._drawingInterval), this._capturePOLPhoto(), this._captureReferencePhoto(), fe.stopMedia();
|
|
7332
7349
|
const t = this._rawImages.length;
|
|
7333
7350
|
this._data.referenceImage = this._referenceImage, this._data.previewImage = this._referenceImage;
|
|
7334
|
-
const r =
|
|
7351
|
+
const r = Xh(t);
|
|
7335
7352
|
this._data.images = this._data.images.concat(
|
|
7336
7353
|
r.map((i) => ({
|
|
7337
7354
|
image: this._rawImages[i].split(",")[1],
|
|
@@ -7395,7 +7412,7 @@ class Xh extends HTMLElement {
|
|
|
7395
7412
|
t.height
|
|
7396
7413
|
), r) {
|
|
7397
7414
|
const o = n.getImageData(0, 0, t.width, t.height);
|
|
7398
|
-
if (
|
|
7415
|
+
if (qh(o.data))
|
|
7399
7416
|
return n;
|
|
7400
7417
|
throw new Error(
|
|
7401
7418
|
"Unable to capture webcam images - Please try another device"
|
|
@@ -7518,8 +7535,8 @@ class Xh extends HTMLElement {
|
|
|
7518
7535
|
this.removeAttribute("data-camera-ready"), fe.stopMedia();
|
|
7519
7536
|
}
|
|
7520
7537
|
}
|
|
7521
|
-
"customElements" in window && !customElements.get("selfie-capture") && window.customElements.define("selfie-capture",
|
|
7522
|
-
const
|
|
7538
|
+
"customElements" in window && !customElements.get("selfie-capture") && window.customElements.define("selfie-capture", Yh);
|
|
7539
|
+
const Kh = ({
|
|
7523
7540
|
timeout: e = 2e4,
|
|
7524
7541
|
"start-countdown": t = !1,
|
|
7525
7542
|
hidden: r = !1,
|
|
@@ -7537,7 +7554,7 @@ const Zh = ({
|
|
|
7537
7554
|
(async () => {
|
|
7538
7555
|
y(!0);
|
|
7539
7556
|
try {
|
|
7540
|
-
await
|
|
7557
|
+
await o1(), l(!0);
|
|
7541
7558
|
} catch (x) {
|
|
7542
7559
|
console.error("Failed to load Mediapipe:", x);
|
|
7543
7560
|
}
|
|
@@ -7637,7 +7654,7 @@ const Zh = ({
|
|
|
7637
7654
|
justifyContent: "center"
|
|
7638
7655
|
},
|
|
7639
7656
|
children: /* @__PURE__ */ L(
|
|
7640
|
-
|
|
7657
|
+
M1,
|
|
7641
7658
|
{
|
|
7642
7659
|
size: 48,
|
|
7643
7660
|
style: { animation: "spin 1s linear infinite" }
|
|
@@ -7659,7 +7676,7 @@ const Zh = ({
|
|
|
7659
7676
|
] });
|
|
7660
7677
|
};
|
|
7661
7678
|
customElements.get("selfie-capture-wrapper") || Zc(
|
|
7662
|
-
|
|
7679
|
+
Kh,
|
|
7663
7680
|
"selfie-capture-wrapper",
|
|
7664
7681
|
[
|
|
7665
7682
|
"timeout",
|
|
@@ -7677,7 +7694,7 @@ customElements.get("selfie-capture-wrapper") || Zc(
|
|
|
7677
7694
|
],
|
|
7678
7695
|
{ shadow: !0 }
|
|
7679
7696
|
);
|
|
7680
|
-
const
|
|
7697
|
+
const Jh = ko.version, pi = document.querySelector("smart-camera-web"), Qh = (e, t = 0, r = 0, i = 0.9) => new Promise((n, o) => {
|
|
7681
7698
|
if (!e || typeof e != "string") {
|
|
7682
7699
|
o(new Error("Invalid data URI provided"));
|
|
7683
7700
|
return;
|
|
@@ -7710,7 +7727,7 @@ const Yh = ko.version, pi = document.querySelector("smart-camera-web"), Kh = (e,
|
|
|
7710
7727
|
o(new Error("Failed to load image from data URI"));
|
|
7711
7728
|
}, s.src = e;
|
|
7712
7729
|
});
|
|
7713
|
-
class
|
|
7730
|
+
class ed extends HTMLElement {
|
|
7714
7731
|
constructor() {
|
|
7715
7732
|
super(), this.activeScreen = null, this._remountKey = 0, pi?.dispatchEvent(new CustomEvent("metadata.initialize"));
|
|
7716
7733
|
}
|
|
@@ -7725,7 +7742,7 @@ class Jh extends HTMLElement {
|
|
|
7725
7742
|
`, this._data = {
|
|
7726
7743
|
images: [],
|
|
7727
7744
|
meta: {
|
|
7728
|
-
libraryVersion:
|
|
7745
|
+
libraryVersion: Jh
|
|
7729
7746
|
}
|
|
7730
7747
|
}, 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
7748
|
}
|
|
@@ -7812,7 +7829,7 @@ class Jh extends HTMLElement {
|
|
|
7812
7829
|
new CustomEvent("metadata.selfie-capture-end")
|
|
7813
7830
|
), this.selfieReview.setAttribute(
|
|
7814
7831
|
"data-image",
|
|
7815
|
-
await
|
|
7832
|
+
await Qh(n.detail.referenceImage, 20, 20)
|
|
7816
7833
|
);
|
|
7817
7834
|
const o = n.detail.facingMode === "user";
|
|
7818
7835
|
this.selfieReview.setAttribute(
|
|
@@ -7894,8 +7911,8 @@ class Jh extends HTMLElement {
|
|
|
7894
7911
|
}
|
|
7895
7912
|
}
|
|
7896
7913
|
}
|
|
7897
|
-
"customElements" in window && !customElements.get("selfie-capture-screens") && customElements.define("selfie-capture-screens",
|
|
7914
|
+
"customElements" in window && !customElements.get("selfie-capture-screens") && customElements.define("selfie-capture-screens", ed);
|
|
7898
7915
|
export {
|
|
7899
|
-
|
|
7916
|
+
ed as S
|
|
7900
7917
|
};
|
|
7901
|
-
//# sourceMappingURL=SelfieCaptureScreens-
|
|
7918
|
+
//# sourceMappingURL=SelfieCaptureScreens-DuQjKt_K.js.map
|