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