@regulaforensics/idv-face 4.0.665-nightly → 4.0.666-rc
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/index.d.ts +0 -14
- package/dist/main.iife.js +2 -73
- package/dist/main.js +24 -117
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../node_modules/@lit/reactive-element/css-tag.js
|
|
2
2
|
var e = globalThis, t = e.ShadowRoot && (e.ShadyCSS === void 0 || e.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, n = Symbol(), r = /* @__PURE__ */ new WeakMap(), i = class {
|
|
3
3
|
constructor(e, t, r) {
|
|
4
4
|
if (this._$cssResult$ = !0, r !== n) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -30,8 +30,7 @@ var e = globalThis, t = e.ShadowRoot && (e.ShadyCSS === void 0 || e.ShadyCSS.nat
|
|
|
30
30
|
for (let n of e.cssRules) t += n.cssText;
|
|
31
31
|
return a(t);
|
|
32
32
|
})(e) : e;
|
|
33
|
-
|
|
34
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/asyncToGenerator.js
|
|
33
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/asyncToGenerator.js
|
|
35
34
|
function l(e, t, n, r, i, a, o) {
|
|
36
35
|
try {
|
|
37
36
|
var s = e[a](o), c = s.value;
|
|
@@ -56,8 +55,7 @@ function u(e) {
|
|
|
56
55
|
});
|
|
57
56
|
};
|
|
58
57
|
}
|
|
59
|
-
|
|
60
|
-
//#region ../../node_modules/@lit/reactive-element/reactive-element.js
|
|
58
|
+
// ../../node_modules/@lit/reactive-element/reactive-element.js
|
|
61
59
|
var d, f, { is: p, defineProperty: m, getOwnPropertyDescriptor: h, getOwnPropertyNames: g, getOwnPropertySymbols: _, getPrototypeOf: v } = Object, y = globalThis, b = y.trustedTypes, x = b ? b.emptyScript : "", S = y.reactiveElementPolyfillSupport, C = (e, t) => e, w = {
|
|
62
60
|
toAttribute(e, t) {
|
|
63
61
|
switch (t) {
|
|
@@ -311,8 +309,7 @@ var D = class extends HTMLElement {
|
|
|
311
309
|
firstUpdated(e) {}
|
|
312
310
|
};
|
|
313
311
|
D.elementStyles = [], D.shadowRootOptions = { mode: "open" }, D[C("elementProperties")] = /* @__PURE__ */ new Map(), D[C("finalized")] = /* @__PURE__ */ new Map(), S == null || S({ ReactiveElement: D }), ((f = y.reactiveElementVersions) == null ? y.reactiveElementVersions = [] : f).push("2.1.2");
|
|
314
|
-
|
|
315
|
-
//#region ../../node_modules/lit-html/lit-html.js
|
|
312
|
+
// ../../node_modules/lit-html/lit-html.js
|
|
316
313
|
var O, k = globalThis, A = (e) => e, j = k.trustedTypes, M = j ? j.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, N = "$lit$", P = `lit$${Math.random().toFixed(9).slice(2)}$`, F = "?" + P, I = `<${F}>`, L = document, R = () => L.createComment(""), ee = (e) => e === null || typeof e != "object" && typeof e != "function", te = Array.isArray, z = (e) => te(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ne = "[ \n\f\r]", re = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ie = /-->/g, ae = />/g, oe = RegExp(`>|${ne}(?:([^\\s"'>=/]+)(${ne}*=${ne}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), se = /'/g, ce = /"/g, le = /^(?:script|style|textarea|title)$/i, ue = ((e) => (t, ...n) => ({
|
|
317
314
|
_$litType$: e,
|
|
318
315
|
strings: t,
|
|
@@ -598,8 +595,7 @@ var De = (e, t, n) => {
|
|
|
598
595
|
je._$litElement$ = !0, je.finalized = !0, (Oe = Ae.litElementHydrateSupport) == null || Oe.call(Ae, { LitElement: je });
|
|
599
596
|
var Me = Ae.litElementPolyfillSupport;
|
|
600
597
|
Me == null || Me({ LitElement: je }), ((ke = Ae.litElementVersions) == null ? Ae.litElementVersions = [] : ke).push("4.2.2");
|
|
601
|
-
|
|
602
|
-
//#region ../../node_modules/@lit/reactive-element/decorators/property.js
|
|
598
|
+
// ../../node_modules/@lit/reactive-element/decorators/property.js
|
|
603
599
|
var Ne = {
|
|
604
600
|
attribute: !0,
|
|
605
601
|
type: String,
|
|
@@ -635,8 +631,7 @@ function Fe(e) {
|
|
|
635
631
|
return t.constructor.createProperty(n, e), r ? Object.getOwnPropertyDescriptor(t, n) : void 0;
|
|
636
632
|
})(e, t, n);
|
|
637
633
|
}
|
|
638
|
-
|
|
639
|
-
//#region ../../node_modules/lit-html/directive.js
|
|
634
|
+
// ../../node_modules/lit-html/directive.js
|
|
640
635
|
var Ie = (e) => (...t) => ({
|
|
641
636
|
_$litDirective$: e,
|
|
642
637
|
values: t
|
|
@@ -665,8 +660,7 @@ var Ie = (e) => (...t) => ({
|
|
|
665
660
|
return t !== this.key && (Be(e), this.key = t), n;
|
|
666
661
|
}
|
|
667
662
|
});
|
|
668
|
-
|
|
669
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
|
|
663
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/typeof.js
|
|
670
664
|
function He(e) {
|
|
671
665
|
"@babel/helpers - typeof";
|
|
672
666
|
return He = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -675,8 +669,7 @@ function He(e) {
|
|
|
675
669
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
676
670
|
}, He(e);
|
|
677
671
|
}
|
|
678
|
-
|
|
679
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
|
|
672
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/toPrimitive.js
|
|
680
673
|
function Ue(e, t) {
|
|
681
674
|
if (He(e) != "object" || !e) return e;
|
|
682
675
|
var n = e[Symbol.toPrimitive];
|
|
@@ -687,14 +680,12 @@ function Ue(e, t) {
|
|
|
687
680
|
}
|
|
688
681
|
return (t === "string" ? String : Number)(e);
|
|
689
682
|
}
|
|
690
|
-
|
|
691
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
|
|
683
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/toPropertyKey.js
|
|
692
684
|
function We(e) {
|
|
693
685
|
var t = Ue(e, "string");
|
|
694
686
|
return He(t) == "symbol" ? t : t + "";
|
|
695
687
|
}
|
|
696
|
-
|
|
697
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
|
|
688
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/defineProperty.js
|
|
698
689
|
function Ge(e, t, n) {
|
|
699
690
|
return (t = We(t)) in e ? Object.defineProperty(e, t, {
|
|
700
691
|
value: n,
|
|
@@ -703,8 +694,7 @@ function Ge(e, t, n) {
|
|
|
703
694
|
writable: !0
|
|
704
695
|
}) : e[t] = n, e;
|
|
705
696
|
}
|
|
706
|
-
|
|
707
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectSpread2.js
|
|
697
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/objectSpread2.js
|
|
708
698
|
function Ke(e, t) {
|
|
709
699
|
var n = Object.keys(e);
|
|
710
700
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -726,8 +716,7 @@ function qe(e) {
|
|
|
726
716
|
}
|
|
727
717
|
return e;
|
|
728
718
|
}
|
|
729
|
-
|
|
730
|
-
//#region ../interfaces-idv/src/index.ts
|
|
719
|
+
// ../interfaces-idv/src/index.ts
|
|
731
720
|
var Je = class e {
|
|
732
721
|
constructor({ errorCode: e, errorCodeKey: t, message: n, underlyingError: r, underlyingBaseError: i, domain: a, module: o, errorEnumName: s, shortDomainCode: c }) {
|
|
733
722
|
this.errorCode = e, this.errorCodeKey = t, this.message = n, this.underlyingError = r, this.underlyingBaseError = i, this.module = o, this.domain = a, this.errorEnumName = s, this.shortDomainCode = c;
|
|
@@ -840,26 +829,22 @@ var lt = class e extends Je {
|
|
|
840
829
|
}
|
|
841
830
|
};
|
|
842
831
|
st = lt, st.MODULE = rt, st.ERROR_ENUM_NAME = "LivenessError", st.SHORT_CODE = "FML";
|
|
843
|
-
|
|
844
|
-
//#region ../../node_modules/@lit/reactive-element/decorators/custom-element.js
|
|
832
|
+
// ../../node_modules/@lit/reactive-element/decorators/custom-element.js
|
|
845
833
|
var ut = (e) => (t, n) => {
|
|
846
834
|
n === void 0 ? customElements.define(e, t) : n.addInitializer(() => {
|
|
847
835
|
customElements.define(e, t);
|
|
848
836
|
});
|
|
849
837
|
};
|
|
850
|
-
|
|
851
|
-
//#region ../../node_modules/@lit/reactive-element/decorators/state.js
|
|
838
|
+
// ../../node_modules/@lit/reactive-element/decorators/state.js
|
|
852
839
|
function dt(e) {
|
|
853
840
|
return Fe(qe(qe({}, e), {}, {
|
|
854
841
|
state: !0,
|
|
855
842
|
attribute: !1
|
|
856
843
|
}));
|
|
857
844
|
}
|
|
858
|
-
|
|
859
|
-
//#region ../../node_modules/@lit/reactive-element/decorators/base.js
|
|
845
|
+
// ../../node_modules/@lit/reactive-element/decorators/base.js
|
|
860
846
|
var ft = (e, t, n) => (n.configurable = !0, n.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, n), n);
|
|
861
|
-
|
|
862
|
-
//#region ../../node_modules/@lit/reactive-element/decorators/query.js
|
|
847
|
+
// ../../node_modules/@lit/reactive-element/decorators/query.js
|
|
863
848
|
function pt(e, t) {
|
|
864
849
|
return (n, r, i) => {
|
|
865
850
|
let a = (t) => {
|
|
@@ -888,8 +873,7 @@ function pt(e, t) {
|
|
|
888
873
|
} });
|
|
889
874
|
};
|
|
890
875
|
}
|
|
891
|
-
|
|
892
|
-
//#region ../../node_modules/@regulaforensics/vp-frontend-face-components/dist/main.js
|
|
876
|
+
// ../../node_modules/@regulaforensics/vp-frontend-face-components/dist/main.js
|
|
893
877
|
var mt = Object.defineProperty, ht = Object.getOwnPropertySymbols, gt = Object.prototype.hasOwnProperty, _t = Object.prototype.propertyIsEnumerable, vt = (e, t, n) => t in e ? mt(e, t, {
|
|
894
878
|
enumerable: !0,
|
|
895
879
|
configurable: !0,
|
|
@@ -10922,7 +10906,7 @@ function Px(e, t) {
|
|
|
10922
10906
|
let n = Array.isArray(t.customProtocols) ? t.customProtocols : [], r = new Set(n.map((e) => Tx(e)).filter(Boolean)), i = Ex(e);
|
|
10923
10907
|
if (i && !r.has(i)) return e;
|
|
10924
10908
|
let a = e.startsWith("//");
|
|
10925
|
-
|
|
10909
|
+
!a && /^\.*\//.test(e) || i || (e = e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//, t.defaultProtocol));
|
|
10926
10910
|
let o = new URL(e);
|
|
10927
10911
|
if (t.forceHttp && t.forceHttps) throw Error("The `forceHttp` and `forceHttps` options cannot be used together");
|
|
10928
10912
|
if (t.forceHttp && o.protocol === "https:" && (o.protocol = "http:"), t.forceHttps && o.protocol === "http:" && (o.protocol = "https:"), t.stripAuthentication && (o.username = "", o.password = ""), t.stripHash ? o.hash = "" : t.stripTextFragment && (o.hash = o.hash.replace(/#?:~:text.*?$/i, "")), o.pathname) {
|
|
@@ -14496,8 +14480,7 @@ var QC = class extends HTMLElement {
|
|
|
14496
14480
|
}
|
|
14497
14481
|
}, $C = window.customElements.get("face-capture"), ew = window.customElements.get("face-liveness"), tw = window.customElements.get("fullscreen-container");
|
|
14498
14482
|
$C || window.customElements.define("face-capture", _C), ew || window.customElements.define("face-liveness", JC), tw || window.customElements.define("fullscreen-container", QC);
|
|
14499
|
-
|
|
14500
|
-
//#region src/utils/index.ts
|
|
14483
|
+
// src/utils/index.ts
|
|
14501
14484
|
var nw = (e) => {
|
|
14502
14485
|
try {
|
|
14503
14486
|
return new URL(e), !0;
|
|
@@ -14736,21 +14719,18 @@ var nw = (e) => {
|
|
|
14736
14719
|
height: 100%;
|
|
14737
14720
|
}
|
|
14738
14721
|
`;
|
|
14739
|
-
|
|
14740
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/decorateMetadata.js
|
|
14722
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/decorateMetadata.js
|
|
14741
14723
|
function ow(e, t) {
|
|
14742
14724
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
|
|
14743
14725
|
}
|
|
14744
|
-
|
|
14745
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/decorate.js
|
|
14726
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/decorate.js
|
|
14746
14727
|
function sw(e, t, n, r) {
|
|
14747
14728
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
14748
14729
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
14749
14730
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
14750
14731
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
14751
14732
|
}
|
|
14752
|
-
|
|
14753
|
-
//#region src/web-components/face-idv/components/face-liveness-verification/index.ts
|
|
14733
|
+
// src/web-components/face-idv/components/face-liveness-verification/index.ts
|
|
14754
14734
|
var cw = class extends je {
|
|
14755
14735
|
constructor(...e) {
|
|
14756
14736
|
super(...e), this._performType = Ze.DATA, this.props = null, this._isFinishWithExitOnce = !1, this._handleFaceLiveness = (e) => {
|
|
@@ -14833,34 +14813,18 @@ var cw = class extends je {
|
|
|
14833
14813
|
face-liveness::part(onboarding-screen-start-button) {
|
|
14834
14814
|
font-size: ${a(e.onboardingScreenStartButtonFontSize)}px;
|
|
14835
14815
|
}
|
|
14836
|
-
`), e != null && e.onboardingScreenStartButtonFontName && r.push(o`
|
|
14837
|
-
face-liveness::part(onboarding-screen-start-button) {
|
|
14838
|
-
font-family: ${a(e.onboardingScreenStartButtonFontName)};
|
|
14839
|
-
}
|
|
14840
14816
|
`), e != null && e.onboardingScreenTitleLabelFontSize && r.push(o`
|
|
14841
14817
|
face-liveness::part(onboarding-screen-title) {
|
|
14842
14818
|
font-size: ${a(e.onboardingScreenTitleLabelFontSize)}px;
|
|
14843
14819
|
}
|
|
14844
|
-
`), e != null && e.onboardingScreenTitleLabelFontName && r.push(o`
|
|
14845
|
-
face-liveness::part(onboarding-screen-title) {
|
|
14846
|
-
font-family: ${a(e.onboardingScreenTitleLabelFontName)};
|
|
14847
|
-
}
|
|
14848
14820
|
`), e != null && e.onboardingScreenSubtitleLabelFontSize && r.push(o`
|
|
14849
14821
|
face-liveness::part(onboarding-screen-subtitle) {
|
|
14850
14822
|
font-size: ${a(e.onboardingScreenSubtitleLabelFontSize)}px;
|
|
14851
14823
|
}
|
|
14852
|
-
`), e != null && e.onboardingScreenSubtitleLabelFontName && r.push(o`
|
|
14853
|
-
face-liveness::part(onboarding-screen-subtitle) {
|
|
14854
|
-
font-family: ${a(e.onboardingScreenSubtitleLabelFontName)};
|
|
14855
|
-
}
|
|
14856
14824
|
`), e != null && e.onboardingScreenMessageLabelsFontSize && r.push(o`
|
|
14857
14825
|
face-liveness::part(onboarding-screen-detail) {
|
|
14858
14826
|
font-size: ${a(e.onboardingScreenMessageLabelsFontSize)}px;
|
|
14859
14827
|
}
|
|
14860
|
-
`), e != null && e.onboardingScreenMessageLabelsFontName && r.push(o`
|
|
14861
|
-
face-liveness::part(onboarding-screen-detail) {
|
|
14862
|
-
font-family: ${a(e.onboardingScreenMessageLabelsFontName)};
|
|
14863
|
-
}
|
|
14864
14828
|
`), e != null && e.onboardingScreenMessageLabelsTextColor && r.push(o`
|
|
14865
14829
|
face-liveness::part(onboarding-screen-detail) {
|
|
14866
14830
|
color: ${a(e.onboardingScreenMessageLabelsTextColor)};
|
|
@@ -14887,33 +14851,10 @@ var cw = class extends je {
|
|
|
14887
14851
|
face-liveness::part(retry-screen-person-text) {
|
|
14888
14852
|
font-size: ${a(e.retryScreenHintLabelsFontSize)}px;
|
|
14889
14853
|
}
|
|
14890
|
-
face-liveness::part(retry-screen-too-much-turn-text) {
|
|
14891
|
-
font-size: ${a(e.retryScreenHintLabelsFontSize)}px;
|
|
14892
|
-
}
|
|
14893
|
-
face-liveness::part(retry-screen-occlusion-text) {
|
|
14894
|
-
font-size: ${a(e.retryScreenHintLabelsFontSize)}px;
|
|
14895
|
-
}
|
|
14896
|
-
`), e != null && e.retryScreenHintLabelsFontName && r.push(o`
|
|
14897
|
-
face-liveness::part(retry-screen-environment-text) {
|
|
14898
|
-
font-family: ${a(e.retryScreenHintLabelsFontName)};
|
|
14899
|
-
}
|
|
14900
|
-
face-liveness::part(retry-screen-person-text) {
|
|
14901
|
-
font-family: ${a(e.retryScreenHintLabelsFontName)};
|
|
14902
|
-
}
|
|
14903
|
-
face-liveness::part(retry-screen-too-much-turn-text) {
|
|
14904
|
-
font-family: ${a(e.retryScreenHintLabelsFontName)};
|
|
14905
|
-
}
|
|
14906
|
-
face-liveness::part(retry-screen-occlusion-text) {
|
|
14907
|
-
font-family: ${a(e.retryScreenHintLabelsFontName)};
|
|
14908
|
-
}
|
|
14909
14854
|
`), e != null && e.cameraScreenHintLabelFontSize && r.push(o`
|
|
14910
14855
|
face-liveness::part(camera-screen-front-hint-label) {
|
|
14911
14856
|
font-size: ${a(e.cameraScreenHintLabelFontSize)}px;
|
|
14912
14857
|
}
|
|
14913
|
-
`), e != null && e.cameraScreenHintLabelFontName && r.push(o`
|
|
14914
|
-
face-liveness::part(camera-screen-front-hint-label) {
|
|
14915
|
-
font-family: ${a(e.cameraScreenHintLabelFontName)};
|
|
14916
|
-
}
|
|
14917
14858
|
`), e != null && e.retryScreenTitleLabelTextColor && r.push(o`
|
|
14918
14859
|
face-liveness::part(retry-screen-title-text) {
|
|
14919
14860
|
color: ${a(e.retryScreenTitleLabelTextColor)};
|
|
@@ -14922,10 +14863,6 @@ var cw = class extends je {
|
|
|
14922
14863
|
face-liveness::part(retry-screen-title-text) {
|
|
14923
14864
|
font-size: ${a(e.retryScreenTitleLabelFontSize)}px;
|
|
14924
14865
|
}
|
|
14925
|
-
`), e != null && e.retryScreenTitleLabelFontName && r.push(o`
|
|
14926
|
-
face-liveness::part(retry-screen-title-text) {
|
|
14927
|
-
font-family: ${a(e.retryScreenTitleLabelFontName)};
|
|
14928
|
-
}
|
|
14929
14866
|
`), e != null && e.retryScreenSubtitleLabelTextColor && r.push(o`
|
|
14930
14867
|
face-liveness::part(retry-screen-subtitle-text) {
|
|
14931
14868
|
color: ${a(e.retryScreenSubtitleLabelTextColor)};
|
|
@@ -14934,10 +14871,6 @@ var cw = class extends je {
|
|
|
14934
14871
|
face-liveness::part(retry-screen-subtitle-text) {
|
|
14935
14872
|
font-size: ${a(e.retryScreenSubtitleLabelFontSize)}px;
|
|
14936
14873
|
}
|
|
14937
|
-
`), e != null && e.retryScreenSubtitleLabelFontName && r.push(o`
|
|
14938
|
-
face-liveness::part(retry-screen-subtitle-text) {
|
|
14939
|
-
font-family: ${a(e.retryScreenSubtitleLabelFontName)};
|
|
14940
|
-
}
|
|
14941
14874
|
`), e != null && e.retryScreenRetryButtonBackgroundColor && r.push(o`
|
|
14942
14875
|
face-liveness::part(retry-screen-retry-button) {
|
|
14943
14876
|
background-color: ${a(e.retryScreenRetryButtonBackgroundColor)};
|
|
@@ -14948,11 +14881,7 @@ var cw = class extends je {
|
|
|
14948
14881
|
}
|
|
14949
14882
|
`), e != null && e.retryScreenRetryButtonFontSize && r.push(o`
|
|
14950
14883
|
face-liveness::part(retry-screen-retry-button) {
|
|
14951
|
-
font-size: ${a(e.retryScreenRetryButtonFontSize)}
|
|
14952
|
-
}
|
|
14953
|
-
`), e != null && e.retryScreenRetryButtonFontName && r.push(o`
|
|
14954
|
-
face-liveness::part(retry-screen-retry-button) {
|
|
14955
|
-
font-family: ${a(e.retryScreenRetryButtonFontName)};
|
|
14884
|
+
font-size: ${a(e.retryScreenRetryButtonFontSize)};
|
|
14956
14885
|
}
|
|
14957
14886
|
`), e != null && e.infoScreenBackgroundColor && r.push(o`
|
|
14958
14887
|
face-liveness::part(info-screen) {
|
|
@@ -14966,10 +14895,6 @@ var cw = class extends je {
|
|
|
14966
14895
|
face-liveness::part(info-screen-title) {
|
|
14967
14896
|
font-size: ${a(e.infoScreenTitleTextFontSize)}px;
|
|
14968
14897
|
}
|
|
14969
|
-
`), e != null && e.infoScreenTitleTextFontName && r.push(o`
|
|
14970
|
-
face-liveness::part(info-screen-title) {
|
|
14971
|
-
font-family: ${a(e.infoScreenTitleTextFontName)};
|
|
14972
|
-
}
|
|
14973
14898
|
`), e != null && e.infoScreenSubtitleTextColor && r.push(o`
|
|
14974
14899
|
face-liveness::part(info-screen-subtitle) {
|
|
14975
14900
|
color: ${a(e.infoScreenSubtitleTextColor)};
|
|
@@ -14978,10 +14903,6 @@ var cw = class extends je {
|
|
|
14978
14903
|
face-liveness::part(info-screen-subtitle) {
|
|
14979
14904
|
font-size: ${a(e.infoScreenSubtitleTextFontSize)}px;
|
|
14980
14905
|
}
|
|
14981
|
-
`), e != null && e.infoScreenSubtitleTextFontName && r.push(o`
|
|
14982
|
-
face-liveness::part(info-screen-subtitle) {
|
|
14983
|
-
font-family: ${a(e.infoScreenSubtitleTextFontName)};
|
|
14984
|
-
}
|
|
14985
14906
|
`), e != null && e.retryScreenRetryButtonTitleColor && r.push(o`
|
|
14986
14907
|
face-liveness::part(retry-screen-retry-button) {
|
|
14987
14908
|
color: ${a(e.retryScreenRetryButtonTitleColor)};
|
|
@@ -15006,10 +14927,6 @@ var cw = class extends je {
|
|
|
15006
14927
|
face-liveness::part(info-screen-button) {
|
|
15007
14928
|
font-size: ${a(e.infoScreenRetryButtonFontSize)}px;
|
|
15008
14929
|
}
|
|
15009
|
-
`), e != null && e.infoScreenRetryButtonFontName && r.push(o`
|
|
15010
|
-
face-liveness::part(info-screen-button) {
|
|
15011
|
-
font-family: ${a(e.infoScreenRetryButtonFontName)};
|
|
15012
|
-
}
|
|
15013
14930
|
`), e != null && e.infoScreenRetryButtonBackgroundHover && r.push(o`
|
|
15014
14931
|
face-liveness::part(info-screen-button):hover {
|
|
15015
14932
|
background-color: ${a(e.infoScreenRetryButtonBackgroundHover)};
|
|
@@ -15022,10 +14939,6 @@ var cw = class extends je {
|
|
|
15022
14939
|
face-liveness::part(info-screen-error-code) {
|
|
15023
14940
|
font-size: ${a(e.infoScreenErrorCodeTextFontSize)}px;
|
|
15024
14941
|
}
|
|
15025
|
-
`), e != null && e.infoScreenErrorCodeTextFontName && r.push(o`
|
|
15026
|
-
face-liveness::part(info-screen-error-code) {
|
|
15027
|
-
font-family: ${a(e.infoScreenErrorCodeTextFontName)};
|
|
15028
|
-
}
|
|
15029
14942
|
`), e != null && e.processingScreenTitleColor && r.push(o`
|
|
15030
14943
|
face-liveness::part(processing-screen-text) {
|
|
15031
14944
|
color: ${a(e.processingScreenTitleColor)};
|
|
@@ -15034,10 +14947,6 @@ var cw = class extends je {
|
|
|
15034
14947
|
face-liveness::part(processing-screen-text) {
|
|
15035
14948
|
font-size: ${a(e.processingScreenFontSize)}px;
|
|
15036
14949
|
}
|
|
15037
|
-
`), e != null && e.processingScreenFontName && r.push(o`
|
|
15038
|
-
face-liveness::part(processing-screen-text) {
|
|
15039
|
-
font-family: ${a(e.processingScreenFontName)};
|
|
15040
|
-
}
|
|
15041
14950
|
`), e != null && e.retryScreenHintGeo) {
|
|
15042
14951
|
let i = $e(e.retryScreenHintGeo, t, n);
|
|
15043
14952
|
i && r.push(o`
|
|
@@ -15130,8 +15039,7 @@ var cw = class extends je {
|
|
|
15130
15039
|
}
|
|
15131
15040
|
}, lw = (cw.styles = [aw], cw);
|
|
15132
15041
|
sw([dt(), ow("design:type", Object)], lw.prototype, "props", void 0), sw([pt("face-liveness"), ow("design:type", Object)], lw.prototype, "_component", void 0), lw = sw([ut("face-liveness-verification")], lw);
|
|
15133
|
-
|
|
15134
|
-
//#region src/web-components/face-idv/index.ts
|
|
15042
|
+
// src/web-components/face-idv/index.ts
|
|
15135
15043
|
var uw, dw = !1, fw = class extends je {
|
|
15136
15044
|
constructor(...e) {
|
|
15137
15045
|
super(...e), this.props = null, this.renderVersion = 0;
|
|
@@ -15163,5 +15071,4 @@ var uw, dw = !1, fw = class extends je {
|
|
|
15163
15071
|
}
|
|
15164
15072
|
};
|
|
15165
15073
|
uw = fw, uw.getSupportedTemplates = () => [nt.LIVENESS], uw.getIdentifier = () => rt, uw.displayName = rt, sw([Fe({ attribute: !1 }), ow("design:type", Object)], fw.prototype, "props", void 0), sw([Fe({ attribute: !1 }), ow("design:type", Object)], fw.prototype, "renderVersion", void 0), Ye(rt, fw);
|
|
15166
|
-
//#endregion
|
|
15167
15074
|
export { fw as FaceIdv };
|
package/package.json
CHANGED