@regulaforensics/vp-frontend-face-components 8.5.2437-nightly → 8.5.2441-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/main.js CHANGED
@@ -6410,7 +6410,7 @@ var Dc = xc.create("main"), Oc = {
6410
6410
  livenessType: Ds.ACTIVE,
6411
6411
  holdStillDuration: void 0,
6412
6412
  timeoutInterval: void 0,
6413
- workerPath: "https://wasm-development.regulaforensics.com/face/nightly/8.5/e8637252-b98fd4bc6",
6413
+ workerPath: "https://wasm-development.regulaforensics.com/face/nightly/8.5/0abb4356-00800ce9",
6414
6414
  detectOcclusion: !0,
6415
6415
  captureButton: !1
6416
6416
  }, kc = (e) => Cc(Cc({}, Oc), {}, {
@@ -7032,6 +7032,7 @@ var Tl = {
7032
7032
  "zh-hans-cn": "zh-hans",
7033
7033
  "zh-hans-sg": "zh-hans",
7034
7034
  "zh-chs": "zh-hans",
7035
+ tw: "zh-hant",
7035
7036
  "zh-tw": "zh-hant",
7036
7037
  "zh-hk": "zh-hant",
7037
7038
  "zh-mo": "zh-hant",
@@ -9476,7 +9477,7 @@ var Of = xc.create("wasm"), kf = class {
9476
9477
  });
9477
9478
  return;
9478
9479
  }
9479
- let r = wf(n), i = Q.getState().workerPath === "https://wasm-development.regulaforensics.com/face/nightly/8.5/e8637252-b98fd4bc6";
9480
+ let r = wf(n), i = Q.getState().workerPath === "https://wasm-development.regulaforensics.com/face/nightly/8.5/0abb4356-00800ce9";
9480
9481
  try {
9481
9482
  let e = yield (yield fetch(r + "/Liveness.worker.js")).text();
9482
9483
  i || (e = Us(e, r));
@@ -9497,7 +9498,7 @@ var Of = xc.create("wasm"), kf = class {
9497
9498
  }), t.worker.postMessage({
9498
9499
  target: "worker-init",
9499
9500
  URL: document.URL,
9500
- currentScriptUrl: "https://wasm-development.regulaforensics.com/face/nightly/8.5/e8637252-b98fd4bc6",
9501
+ currentScriptUrl: "https://wasm-development.regulaforensics.com/face/nightly/8.5/0abb4356-00800ce9",
9501
9502
  preMain: !0
9502
9503
  }));
9503
9504
  })();
@@ -9860,7 +9861,7 @@ var Zf = 1500, Qf = (e) => e * 1e3, $f = xc.create("main"), ep = (e) => e === Ds
9860
9861
  metadata: {
9861
9862
  serviceUrl: p || "https://faceapi.regulaforensics.com",
9862
9863
  hostAppId: rs(),
9863
- sdkVersion: Vs("8.5.2437-nightly"),
9864
+ sdkVersion: Vs("8.5.2441-nightly"),
9864
9865
  deviceModel: `${aa.osName}/${aa.osVersion} ${aa.browserName}/${aa.fullBrowserVersion}`,
9865
9866
  camera: y.camera
9866
9867
  }
@@ -9873,7 +9874,7 @@ var Zf = 1500, Qf = (e) => e * 1e3, $f = xc.create("main"), ep = (e) => e === Ds
9873
9874
  let n = yield is({
9874
9875
  cameras: [...y.sortedDevices.frontCameras, ...y.sortedDevices.backCameras],
9875
9876
  cameraID: y.camera.deviceId,
9876
- sdkVersion: Vs("8.5.2437-nightly"),
9877
+ sdkVersion: Vs("8.5.2441-nightly"),
9877
9878
  serviceUrl: p || "https://faceapi.regulaforensics.com",
9878
9879
  customMetadata: T
9879
9880
  });
@@ -9920,7 +9921,7 @@ var Zf = 1500, Qf = (e) => e * 1e3, $f = xc.create("main"), ep = (e) => e === Ds
9920
9921
  let e = yield is({
9921
9922
  cameras: [...y.sortedDevices.frontCameras, ...y.sortedDevices.backCameras],
9922
9923
  cameraID: y.camera.deviceId,
9923
- sdkVersion: Vs("8.5.2437-nightly"),
9924
+ sdkVersion: Vs("8.5.2441-nightly"),
9924
9925
  serviceUrl: p || "https://faceapi.regulaforensics.com",
9925
9926
  customMetadata: T
9926
9927
  });
@@ -9967,7 +9968,7 @@ var Zf = 1500, Qf = (e) => e * 1e3, $f = xc.create("main"), ep = (e) => e === Ds
9967
9968
  let e = yield is({
9968
9969
  cameras: [...y.sortedDevices.frontCameras, ...y.sortedDevices.backCameras],
9969
9970
  cameraID: y.camera.deviceId,
9970
- sdkVersion: Vs("8.5.2437-nightly"),
9971
+ sdkVersion: Vs("8.5.2441-nightly"),
9971
9972
  serviceUrl: p || "https://faceapi.regulaforensics.com",
9972
9973
  customMetadata: T
9973
9974
  });
@@ -10706,14 +10707,15 @@ function Zp(e) {
10706
10707
  });
10707
10708
  }
10708
10709
  var Qp = {
10709
- "retry-screen": "_retry-screen_440ej_1",
10710
- text: "_text_440ej_15",
10711
- title: "_title_440ej_19",
10712
- subtitle: "_subtitle_440ej_31",
10713
- icons: "_icons_440ej_41",
10714
- "icon-item": "_icon-item_440ej_49",
10715
- "icon-subtitle": "_icon-subtitle_440ej_70",
10716
- "icon-bg": "_icon-bg_440ej_111"
10710
+ "retry-screen": "_retry-screen_aru0q_1",
10711
+ text: "_text_aru0q_15",
10712
+ title: "_title_aru0q_19",
10713
+ subtitle: "_subtitle_aru0q_31",
10714
+ icons: "_icons_aru0q_41",
10715
+ "icon-item": "_icon-item_aru0q_49",
10716
+ "icon-subtitle": "_icon-subtitle_aru0q_70",
10717
+ "icon-bg": "_icon-bg_aru0q_111",
10718
+ "icon-block": "_icon-block_aru0q_117"
10717
10719
  }, $p = () => {
10718
10720
  let e = Vi().translate;
10719
10721
  return J("div", {
@@ -10773,11 +10775,36 @@ var Qp = {
10773
10775
  children: e("makeFaceFullyVisible")
10774
10776
  })]
10775
10777
  });
10778
+ }, rm = () => {
10779
+ let e = Vi().translate;
10780
+ return J("div", {
10781
+ className: Qp["icon-item"],
10782
+ children: [J("div", {
10783
+ className: Qp["icon-block"],
10784
+ children: [J(Pa, {
10785
+ type: "too-many-faces",
10786
+ part: "retry-screen-too-many-faces-image",
10787
+ width: "118px",
10788
+ height: "118px",
10789
+ className: Qp["icon-bg"]
10790
+ }), J(Pa, {
10791
+ type: "single-face",
10792
+ part: "retry-screen-single-face-image",
10793
+ width: "118px",
10794
+ height: "118px",
10795
+ className: Qp["icon-bg"]
10796
+ })]
10797
+ }), J("p", {
10798
+ part: "retry-screen-too-many-faces-text",
10799
+ className: Qp["icon-subtitle"],
10800
+ children: e("tooManyFaces")
10801
+ })]
10802
+ });
10776
10803
  };
10777
10804
  //#endregion
10778
10805
  //#region src/components/retry-screen/index.tsx
10779
10806
  xr();
10780
- function rm(e) {
10807
+ function im(e) {
10781
10808
  var t, n;
10782
10809
  let r = e.errorCode, i = e.onRetry, a = Vi().translate, o = Q((e) => e.decreaseRetryCount), s = Q((e) => e.faceSnapshot);
10783
10810
  return q(() => {
@@ -10802,7 +10829,7 @@ function rm(e) {
10802
10829
  }),
10803
10830
  J("div", {
10804
10831
  className: Qp.icons,
10805
- children: r === 247 ? J(tm, {}) : r === 240 ? J(nm, {}) : J(Xt, { children: [((t = _s[r]) == null ? void 0 : t.type) !== 1 && J(em, {}), ((n = _s[r]) == null ? void 0 : n.type) !== 2 && J($p, {})] })
10832
+ children: r === 247 ? J(tm, {}) : r === 240 ? J(nm, {}) : r === 263 ? J(rm, {}) : J(Xt, { children: [((t = _s[r]) == null ? void 0 : t.type) !== 1 && J(em, {}), ((n = _s[r]) == null ? void 0 : n.type) !== 2 && J($p, {})] })
10806
10833
  }),
10807
10834
  J(fl, {
10808
10835
  part: "retry-screen-retry-button",
@@ -10812,7 +10839,7 @@ function rm(e) {
10812
10839
  ]
10813
10840
  });
10814
10841
  }
10815
- var im = {
10842
+ var am = {
10816
10843
  "bad-quality-window": "_bad-quality-window_1be0m_1",
10817
10844
  container: "_container_1be0m_22",
10818
10845
  title: "_title_1be0m_30",
@@ -10825,62 +10852,62 @@ var im = {
10825
10852
  //#endregion
10826
10853
  //#region src/components/face-quality-screen/index.tsx
10827
10854
  xr();
10828
- function am(e) {
10855
+ function om(e) {
10829
10856
  let t = e.onRetry, n = Vi().translate, r = Q((e) => e.decreaseRetryCount), i = Q((e) => e.faceSnapshot);
10830
10857
  return q(() => {
10831
10858
  i || r();
10832
10859
  }, []), J("div", {
10833
10860
  "aria-live": "polite",
10834
- className: im["bad-quality-window"],
10861
+ className: am["bad-quality-window"],
10835
10862
  children: J("div", {
10836
- className: im.container,
10863
+ className: am.container,
10837
10864
  children: [
10838
10865
  J(Pa, {
10839
10866
  type: "face-quality",
10840
10867
  part: "face-quality-screen-main-image",
10841
- className: im["main-image"]
10868
+ className: am["main-image"]
10842
10869
  }),
10843
10870
  J("div", {
10844
- className: im.text,
10871
+ className: am.text,
10845
10872
  children: J("div", {
10846
10873
  part: "face-quality-screen-title",
10847
- className: im.title,
10874
+ className: am.title,
10848
10875
  children: n("notSufficientQuality")
10849
10876
  })
10850
10877
  }),
10851
10878
  J("div", {
10852
- className: im["icon-container"],
10879
+ className: am["icon-container"],
10853
10880
  children: [
10854
10881
  J("div", {
10855
- className: im["icon-block"],
10882
+ className: am["icon-block"],
10856
10883
  children: [J(Pa, {
10857
10884
  type: "clean-lens",
10858
10885
  part: "face-quality-screen-clean-lens-image",
10859
- className: im.icon
10886
+ className: am.icon
10860
10887
  }), n("cleanCameraLens")]
10861
10888
  }),
10862
10889
  J("div", {
10863
- className: im["icon-block"],
10890
+ className: am["icon-block"],
10864
10891
  children: [J(Pa, {
10865
10892
  type: "face-quality-illumination",
10866
10893
  part: "face-quality-screen-illumination-image",
10867
- className: im.icon
10894
+ className: am.icon
10868
10895
  }), n("addMoreLight")]
10869
10896
  }),
10870
10897
  J("div", {
10871
- className: im["icon-block"],
10898
+ className: am["icon-block"],
10872
10899
  children: [J(Pa, {
10873
10900
  type: "face-quality-no-accessories",
10874
10901
  part: "face-quality-screen-accessories-image",
10875
- className: im.icon
10902
+ className: am.icon
10876
10903
  }), n("wipeOutOcclusions")]
10877
10904
  }),
10878
10905
  J("div", {
10879
- className: im["icon-block"],
10906
+ className: am["icon-block"],
10880
10907
  children: [J(Pa, {
10881
10908
  type: "change-background",
10882
10909
  part: "face-quality-screen-change-background-image",
10883
- className: im.icon
10910
+ className: am.icon
10884
10911
  }), n("changeBackground")]
10885
10912
  })
10886
10913
  ]
@@ -10894,74 +10921,8 @@ function am(e) {
10894
10921
  })
10895
10922
  });
10896
10923
  }
10897
- var om = {
10898
- screen: "_screen_lzzd9_1",
10899
- text: "_text_lzzd9_9",
10900
- title: "_title_lzzd9_12",
10901
- subtitle: "_subtitle_lzzd9_20",
10902
- "icon-subtitle": "_icon-subtitle_lzzd9_31",
10903
- "icon-bg": "_icon-bg_lzzd9_41",
10904
- "icon-block": "_icon-block_lzzd9_47",
10905
- icons: "_icons_lzzd9_55",
10906
- "icon-item": "_icon-item_lzzd9_58"
10907
- };
10908
- //#endregion
10909
- //#region src/components/too-many-faces-screen/index.tsx
10910
- xr();
10911
- function sm(e) {
10912
- let t = e.onRetry, n = Vi().translate, r = Q((e) => e.decreaseRetryCount), i = Q((e) => e.faceSnapshot);
10913
- return q(() => {
10914
- i || r();
10915
- }, []), J("div", {
10916
- part: "retry-screen",
10917
- "aria-live": "assertive",
10918
- className: om.screen,
10919
- children: [
10920
- J("div", {
10921
- className: om.text,
10922
- children: [J("p", {
10923
- part: "retry-screen-title-text",
10924
- "data-e2e": "retry-msg-title",
10925
- className: om.title,
10926
- children: n("letsTryAgainTitle")
10927
- }), J("p", {
10928
- part: "retry-screen-subtitle-text",
10929
- className: om.subtitle,
10930
- children: n("followGuidelinesText")
10931
- })]
10932
- }),
10933
- J("div", {
10934
- className: om.icons,
10935
- children: J("div", {
10936
- className: om["icon-item"],
10937
- children: [J("div", {
10938
- className: om["icon-block"],
10939
- children: [J(Pa, {
10940
- type: "too-many-faces",
10941
- part: "retry-screen-too-many-faces-image",
10942
- className: om["icon-bg"]
10943
- }), J(Pa, {
10944
- type: "single-face",
10945
- part: "retry-screen-single-face-image",
10946
- className: om["icon-bg"]
10947
- })]
10948
- }), J("p", {
10949
- part: "retry-screen-too-many-faces-text",
10950
- className: om["icon-subtitle"],
10951
- children: n("tooManyFaces")
10952
- })]
10953
- })
10954
- }),
10955
- J(fl, {
10956
- part: "retry-screen-retry-button",
10957
- onClick: t,
10958
- children: n("tryAgain")
10959
- })
10960
- ]
10961
- });
10962
- }
10963
10924
  xr(), Ci();
10964
- var cm = jr(() => {
10925
+ var sm = jr(() => {
10965
10926
  let e = Q(), t = e.finishScreen, n = t === void 0 || t, r = e.abortProcess, i = e.completionStatus, a = e.response, o = e.cameraId, s = e.onRestart, c = e.onEvent, l = Vi().translate, u = Xn(() => {
10966
10927
  c({
10967
10928
  action: us.PRESS_RETRY_BUTTON,
@@ -10976,7 +10937,10 @@ var cm = jr(() => {
10976
10937
  btnText: l("goButton")
10977
10938
  });
10978
10939
  }
10979
- return i === Z.CAPTURING || r ? J(Jp, {}) : i === Z.TOO_MANY_FACES && n ? J(sm, { onRetry: u }) : i === Z.BAD_FACE_QUALITY && n ? J(am, { onRetry: u }) : i == Z.BAD_FRAME_SIZE ? J(ml, {
10940
+ return i === Z.CAPTURING || r ? J(Jp, {}) : i === Z.TOO_MANY_FACES && n ? J(im, {
10941
+ errorCode: 263,
10942
+ onRetry: u
10943
+ }) : i === Z.BAD_FACE_QUALITY && n ? J(om, { onRetry: u }) : i == Z.BAD_FRAME_SIZE ? J(ml, {
10980
10944
  title: l("processCompleted"),
10981
10945
  icon: J(Pa, {
10982
10946
  type: "warning",
@@ -11076,7 +11040,7 @@ var cm = jr(() => {
11076
11040
  }),
11077
11041
  title: l("somethingWentWrong"),
11078
11042
  errorCode: 200
11079
- }) : J(rm, {
11043
+ }) : J(im, {
11080
11044
  errorCode: a.code,
11081
11045
  onRetry: u
11082
11046
  }) : J(ml, {
@@ -11091,8 +11055,8 @@ var cm = jr(() => {
11091
11055
  });
11092
11056
  //#endregion
11093
11057
  //#region src/components/face-detection/index.tsx
11094
- cm.displayName = "ScreenManager", xr();
11095
- function lm(e) {
11058
+ sm.displayName = "ScreenManager", xr();
11059
+ function cm(e) {
11096
11060
  let t = e.direction, n = Q(), r = n.images, i = n.onEvent, a = n.startScreen, o = a === void 0 || a, s = n.abortSessionStatus, c = n.setAbortProcess, l = n.setAbortSessionStatus, u = n.completionStatus, d = n.setCompletionStatus, f = n.onRestart, p = n.onRotateDevice, m = n.onError, h = Jc(), g = h.orientation, _ = h.isLandscape, v = qs() && _ && window.innerHeight < 640, y = qn(!0), b = Xn(() => {
11097
11061
  i({
11098
11062
  action: us.CLOSE,
@@ -11120,15 +11084,15 @@ function lm(e) {
11120
11084
  children: J(_l, {
11121
11085
  onClose: b,
11122
11086
  direction: t,
11123
- children: J(cm, {})
11087
+ children: J(sm, {})
11124
11088
  })
11125
11089
  });
11126
11090
  }
11127
- var um = Ro(El)(lm), dm = "*,:before,:after{box-sizing:border-box}._window_ra07n_7{color:#fff;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;width:640px;height:360px;font-family:var(--font-family);font-size:var(--font-size);background:#fff;border-radius:16px;margin:0 auto;position:relative;overflow:hidden;-webkit-transform:translate(0,0);-moz-transform:translate(0,0);box-shadow:0 2px 4px rgba(0,0,0,.15)}._windowRotate_ra07n_26{width:360px!important;height:640px!important}._window_ra07n_7[data-direction=rtl]{direction:rtl}._window_ra07n_7[data-direction=ltr]{direction:ltr}._window_ra07n_7[data-device=mobile]{width:360px;height:640px}._window_ra07n_7[data-device=desktop][data-capture-button=true]{height:450px}._header_ra07n_48{z-index:1;justify-content:flex-end;padding:16px;display:flex;position:absolute;top:0;right:0}div[data-direction=rtl] ._header_ra07n_48{left:0}div[data-direction=ltr] ._header_ra07n_48{right:0}._header_ra07n_48 button,._footer_ra07n_67 button{cursor:pointer;text-align:center;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;background:0 0;border:none;justify-content:center;align-items:center;margin:0;padding:0;text-decoration:none;transition:background .25s ease-in-out,transform .15s;display:flex}._header_ra07n_48 button:focus-visible{outline:2px solid #00f}._footer_ra07n_67{align-items:center;padding:0 16px 8px;display:flex;position:absolute;bottom:0}div[data-device=mobile] ._footer_ra07n_67{left:50%;transform:translate(-50%)}div[data-direction=rtl]:not([data-device=mobile]) ._footer_ra07n_67{right:0}div[data-direction=ltr]:not([data-device=mobile]) ._footer_ra07n_67{left:0}._copyright_ra07n_109{direction:ltr;justify-content:center;align-items:center;gap:3px;display:flex}._copyright_ra07n_109 span{letter-spacing:-.1px;color:#8c8c8c;font-size:10px;font-weight:500}._copyright_ra07n_109 div{margin-top:3px}@media (max-width:360px){._window_ra07n_7[data-device=mobile]{width:100%}}@media (max-height:640px){._window_ra07n_7[data-device=mobile]{height:100%}}@media (max-width:360px) and (max-height:640px){._window_ra07n_7[data-device=mobile]{border-radius:0}}@media (max-width:640px){._window_ra07n_7[data-device=desktop]{border-radius:0;width:100%;height:100%}}", fm = "._instruction-window_154gs_1{flex-direction:column;justify-content:center;align-items:center;height:100%;padding:24px 16px;display:flex}div[data-device=mobile] ._instruction-window_154gs_1{justify-content:center;padding:4em 1em}._text_154gs_15{text-align:center;color:#000;flex-direction:column;align-items:center;margin-bottom:4px;display:flex}div[data-device=mobile] ._text_154gs_15{margin-bottom:0}._title_154gs_28{color:#000;margin-top:14px;margin-bottom:34px;font-size:1.563em;font-weight:600;line-height:1}div[data-device=mobile] ._title_154gs_28{margin-top:0;margin-bottom:55px;font-size:2.125em}._subtitle_154gs_43{text-align:center;color:#262626;font-size:1.063em;font-weight:600;line-height:1.1}div[data-device=mobile] ._subtitle_154gs_43{font-size:1.375em}._container_154gs_55{flex-direction:column;align-items:center;width:280px;height:100%;display:flex}div[data-locale=en] ._container_154gs_55{width:13.375em;min-width:214px}div[data-locale=es] ._container_154gs_55{width:19.375em;min-width:285px}div[data-locale=de] ._container_154gs_55{width:13.938em;min-width:223px}div[data-locale=fr] ._container_154gs_55{width:17.813em;min-width:285px}div[data-device=mobile] ._container_154gs_55{justify-content:center;width:280px}._icon-block_154gs_88{color:#000;letter-spacing:.4px;align-items:center;margin-bottom:1px;font-size:.875em;display:flex}div[data-direction=ltr] ._icon-block_154gs_88{text-align:left}div[data-device=mobile] ._icon-block_154gs_88{letter-spacing:0;margin-bottom:5px;font-size:1.125em}div[data-device=mobile][data-locale=en] ._icon-block_154gs_88{padding-right:10px}._icon-container_154gs_111{flex-direction:column;margin-bottom:25px;display:flex}div[data-device=mobile] ._icon-container_154gs_111{margin-top:8px;margin-bottom:45px;padding-left:12px}._icon_154gs_88{flex:0 0 43px;width:43px;height:43px;margin-right:9px}div[data-device=mobile] ._icon_154gs_88{flex:0 0 50px;width:50px;height:50px;margin-right:8px}._instruction-window_154gs_1 button{background:var(--onboarding-screen-start-button-background);width:100%;height:50px;color:var(--onboarding-screen-start-button-title);font-size:1.375em;font-weight:700;position:relative;overflow:hidden}._instruction-window_154gs_1 button:hover{background:var(--onboarding-screen-start-button-background-hover);color:var(--onboarding-screen-start-button-title-hover)}._instruction-window_154gs_1 button:after{content:\"\";z-index:1;background:linear-gradient(269.72deg,rgba(255,255,255,0) -4.26%,rgba(255,255,255,.22) 47.3%,rgba(255,255,255,0) 105.48%);width:120%;height:100%;animation:5.5s forwards _buttonAnimation_154gs_1;position:absolute;top:0;left:0;transform:translate(-120%)}@keyframes _buttonAnimation_154gs_1{0%{transform:translate(-120%)}25%{transform:translate(120%)}26%{opacity:0;transform:translate(120%)}27%{opacity:0;transform:translate(-120%)}28%{opacity:1;transform:translate(-120%)}40%{opacity:1;transform:translate(-120%)}65%{opacity:1;transform:translate(120%)}66%{opacity:0;transform:translate(120%)}67%{opacity:0;transform:translate(-120%)}68%{opacity:1;transform:translate(-120%)}75%{opacity:1;transform:translate(-120%)}to{opacity:1;transform:translate(120%)}}", pm = "._container_kltad_1{color:#fff;width:100%;height:100%;display:flex;position:relative}div[data-device=desktop][data-capture-button=true] ._container_kltad_1{height:80%}button:focus{outline:none}._debug-canvas_kltad_18{position:absolute;top:0;left:0}._mirror-x_kltad_24{transform:scaleX(-1)}._translateY_kltad_28{width:100%;height:100%;position:absolute;top:0;left:0;transform:translateY(-30px)}div[data-device=mobile] ._translateY_kltad_28{transform:translateY(-25%)}", mm = "._process-message_1sunm_1{flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}._process-message_1sunm_1 ._message_1sunm_9{color:#444;padding-top:.875em;font-size:.875em;font-weight:400;line-height:1.43em;display:block}._info-message_1sunm_18{flex-direction:column;justify-content:center;align-items:center;height:100%;padding:0 1.5em;display:flex}._text-container_1sunm_27{word-break:break-word;flex-direction:column;align-items:center;max-width:350px;display:flex}._info-message_1sunm_18 ._title_1sunm_35{color:#262626;text-align:center;margin:0 0 .3em;font-size:1.25em;font-weight:700;line-height:1.4em}._info-message_1sunm_18 ._title_1sunm_35._title-gap_1sunm_43{margin-top:1.12em}._info-message_1sunm_18 ._subtitle_1sunm_48{color:#262626;text-align:center;margin:0 0 .2em;font-size:1em;font-style:normal;font-weight:400;line-height:1.375em}._info-message_1sunm_18 ._errorCode_1sunm_58{color:#262626;text-align:center;opacity:.7;margin:0 0 1.15em;font-size:.9em;font-style:normal;font-weight:400;line-height:1.375em}._button_1sunm_69{margin-top:1em}", hm = "._message-container_hwrhw_2{color:var(--camera-screen-front-hint-label-text);background:var(--camera-screen-front-hint-label-background);border-radius:16px;padding:.595em .87em;font-style:normal;font-weight:400;line-height:1em;display:inline-block}._container_hwrhw_14{width:100%;height:100%;position:relative}._container_hwrhw_14:after{content:\"\";background:#fff;width:100%;height:10px;position:absolute;bottom:-5px;left:0}._translateY_hwrhw_31{transform:translateY(-30px)}div[data-device=mobile] ._translateY_hwrhw_31{transform:translateY(-25%)}._videoContainer_hwrhw_39{width:100%;height:100%;overflow:hidden}._videoContainerRotation_hwrhw_44{--rotatedWidth:640px;--rotatedHeight:360px;width:var(--rotatedWidth);height:var(--rotatedHeight);transform-origin:50%}._videoContainerRotation-90-rev_hwrhw_52{transform:rotate(90deg) translateY(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2)) translateX(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2))}._videoContainerRotation-90_hwrhw_52{transform:rotate(-90deg) translateY(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2)) translateX(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2))}._videoContainerRotation-180_hwrhw_60{transform:rotate(-180deg)}._videoContainerBlur_hwrhw_64{flex:1;width:100%;height:100%;transition:-webkit-filter .3s linear,filter .3s linear;display:flex}._backgroundSvg_hwrhw_72{width:100%;height:100%;position:absolute;top:0;left:0}._hide_hwrhw_80{opacity:0}._frame_hwrhw_84{stroke-dasharray:100;animation:10s linear infinite reverse _dash_hwrhw_1}._done_hwrhw_90{animation:1s ease-in-out infinite _pulse_hwrhw_1}@keyframes _pulse_hwrhw_1{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}._hintArrowAnimation_hwrhw_106{animation:1s ease-in-out infinite _pulseHintArrow_hwrhw_1}@keyframes _pulseHintArrow_hwrhw_1{0%{opacity:.3;transform:translate(20px)}50%{opacity:1;transform:translate(25px)}to{opacity:.3;transform:translate(20px)}}._primaryMessage_hwrhw_125{text-align:center;z-index:1;width:100%;font-size:1.125em;position:absolute;bottom:8%}._secondaryMessage_hwrhw_134{text-align:center;z-index:1;width:100%;padding:.2em;font-size:1em;transition:all .5s;position:absolute;bottom:-7px;transform:translateZ(0)}._centreMessage_hwrhw_146{bottom:50%;transform:translateY(50%)}div[data-device=mobile] ._secondaryMessage_hwrhw_134{padding:3em 1em;font-size:1.25em;transition-delay:.1s;transform:translateZ(0)translateY(0)}div[data-device=mobile] ._centreMessage_hwrhw_146{bottom:-7px;transform:translateY(-150px)}._functionalButtons_hwrhw_163{z-index:1;justify-content:flex-end;align-items:flex-end;padding:20px;display:flex;position:absolute;bottom:0;transform:translateY(30px)}div[data-device=mobile] ._functionalButtons_hwrhw_163{transform:translateY(120px)}div[data-direction=rtl] ._functionalButtons_hwrhw_163{left:0}div[data-direction=ltr] ._functionalButtons_hwrhw_163{right:0}._functionalButtons_hwrhw_163 button:not(:disabled):hover{transform:scale(1.1)}._functionalButtons_hwrhw_163 button{cursor:pointer;text-align:center;background:0 0;border:none;justify-content:center;align-items:center;margin:0;padding:0;text-decoration:none;transition:transform .15s;display:flex}._functionalButtons_hwrhw_163 button:focus-visible{outline:1px solid #00f}._functionalButtons_hwrhw_163 button:disabled{opacity:.5}._captureButton_hwrhw_212{cursor:pointer;z-index:2;background:0 0;border:none;width:60px;height:60px;padding:0;position:absolute;bottom:-17%;left:calc(50% - 30px)}div[data-device=desktop][data-capture-button=true] ._captureButton_hwrhw_212{bottom:-25%}div[data-device=desktop][data-capture-button=true] ._functionalButtons_hwrhw_163{bottom:-19%}div[data-device=mobile][data-capture-button=true] ._functionalButtons_hwrhw_163{bottom:-18%;transform:translateY(0)}._captureButton_hwrhw_212 svg{color:#7e57c5}._captureButton_hwrhw_212:disabled svg circle{color:gray}._backgroundSvg_hwrhw_72 ellipse{transition:rx .5s,ry .5s}._targetSector_hwrhw_251{--sector-rotate:rotate(0deg);transform:var(--sector-rotate)}._currentSector_hwrhw_256{opacity:.8;transition:opacity .5s}._backgroundSvg_hwrhw_72._firstStepAnimation_hwrhw_261 ._targetSector_hwrhw_251{animation:.4s forwards _targetSectorFirstStepAnimation_hwrhw_1}._backgroundSvg_hwrhw_72._firstStepAnimation_hwrhw_261 ._currentSector_hwrhw_256{animation:.4s forwards _currentSectorFirstStepAnimation_hwrhw_1}._backgroundSvg_hwrhw_72._firstStepAnimation_hwrhw_261 ellipse{transform-origin:50%;animation:.2s forwards _ellipseFirstStepAnimation_hwrhw_1}@keyframes _ellipseFirstStepAnimation_hwrhw_1{0%{transform:scale(1)}50%{transform:scale(.8)}to{transform:scale(1)}}._face-hint_hwrhw_286{--from-left:0;--from-top:0}._face-hint-container_hwrhw_291{justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .5s;display:flex;position:absolute;top:0;left:0}._face-hint-round_hwrhw_303{justify-content:center;align-items:center;transition:all .8s;display:flex;position:relative;overflow:hidden}._face-hint-target_hwrhw_312{background-position:0 0;background-repeat:no-repeat;background-size:100%;animation:.4s steps(7,end) forwards _spriteAnimation_hwrhw_1}._face-hint-animation-14_hwrhw_319{animation:.5s steps(3,end) alternate _spriteAnimation_hwrhw_1}._face-hint-animation-9_hwrhw_324{animation:1s steps(12,end) forwards _spriteAnimation_hwrhw_1}._face-hint-animation-10_hwrhw_329,._face-hint-animation-11_hwrhw_330,._face-hint-animation-12_hwrhw_331,._face-hint-animation-13_hwrhw_332{animation:.4s steps(7,end) reverse forwards _spriteAnimation_hwrhw_1}._face-hint-animation-3_hwrhw_337{animation:1s forwards _moveCloser_hwrhw_1}._face-hint-animation-4_hwrhw_342{animation:1s forwards _moveAway_hwrhw_1}._face-hint-animation-1_hwrhw_319{animation:1s forwards _fitYourFace_hwrhw_1}@keyframes _fitYourFace_hwrhw_1{0%{top:var(--from-top);left:var(--from-left)}30%{top:var(--from-top);left:var(--from-left)}to{top:0;left:0}}@keyframes _moveCloser_hwrhw_1{0%{transform:scale(.5)}to{transform:scale(1)}}@keyframes _moveAway_hwrhw_1{0%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes _targetSectorFirstStepAnimation_hwrhw_1{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes _currentSectorFirstStepAnimation_hwrhw_1{0%{visibility:hidden}80%{visibility:hidden}to{visibility:visible}}@keyframes _spriteAnimation_hwrhw_1{0%{background-position:0 0}to{background-position:0 100%}}", gm = "._container_17sg4_1{flex:1;align-items:center;display:flex;position:relative}._video_17sg4_8{object-fit:contain;background-color:#fff;width:100%;height:100%}", _m = "._button_19w9m_1{background:var(--onboarding-screen-start-button-background);cursor:pointer;text-align:center;font-family:var(--font-family);color:var(--onboarding-screen-start-button-title);-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:none;border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;width:180px;height:42px;margin:0;padding:0;font-size:1em;font-weight:400;text-decoration:none;transition:background .25s ease-in-out,transform .15s;display:inline-flex}._button_19w9m_1:hover{background:var(--onboarding-screen-start-button-background-hover);color:var(--onboarding-screen-start-button-title-hover)}._button_19w9m_1:active{background:var(--onboarding-screen-start-button-background)}._button_19w9m_1:focus-visible{outline:2px solid #00f}", vm = "._container_e810x_1{width:50px;height:50px}@keyframes _spin_e810x_15{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._spinner_e810x_15{clip:rect(22px, 44px, 44px, 0);width:50px;height:50px;animation:1.5s cubic-bezier(.77,0,.175,1) infinite _spin_e810x_15;position:relative}._spinner_e810x_15:before,._spinner_e810x_15:after{content:\"\";border-radius:50%;width:44px;height:44px;margin:auto;display:block;position:absolute;top:0;bottom:0;left:0;right:0}._spinner_e810x_15:before{border:3px solid transparent;border-top:3px solid var(--processing-screen-progress);animation:1.5s cubic-bezier(.77,0,.175,1) infinite _spin_e810x_15}._spinner_e810x_15:after{border:3px solid rgba(49,49,49,.1)}", ym = "._retry-screen_440ej_1{flex-direction:column;justify-content:space-between;align-items:center;height:100%;padding:1em;display:flex}div[data-device=mobile] ._retry-screen_440ej_1{justify-content:center;padding:4em 1em 6em}._text_440ej_15{text-align:center}._text_440ej_15 ._title_440ej_19{color:#262626;margin:0 0 .4em;font-size:1.25em;font-weight:700;line-height:1.4em}div[data-device=mobile] ._text_440ej_15 ._title_440ej_19{line-height:1.25em}._text_440ej_15 ._subtitle_440ej_31{color:#262626;opacity:.7;margin:0 0 16px;font-size:.875em;font-style:normal;font-weight:400;line-height:1.25em}._retry-screen_440ej_1 ._icons_440ej_41{display:flex}div[data-device=mobile] ._icons_440ej_41{flex-direction:column}._icons_440ej_41 ._icon-item_440ej_49{flex-direction:column;align-items:center;display:flex}._icons_440ej_41 ._icon-item_440ej_49+._icon-item_440ej_49{margin-left:2em;margin-right:0}div[data-direction=rtl] ._icons_440ej_41 ._icon-item_440ej_49+._icon-item_440ej_49{margin-left:0;margin-right:2em}div[data-device=mobile] ._icons_440ej_41 ._icon-item_440ej_49+._icon-item_440ej_49{margin-left:0;margin-right:0}._icon-subtitle_440ej_70{color:#262626;text-align:center;margin:0 0 1.15em;font-size:.8em;font-style:normal;font-weight:400;line-height:1.43em}._icon-item_440ej_49>p{word-break:break-word;text-align:center;max-width:280px}div[data-device=mobile] ._icon-item_440ej_49>p{max-width:300px}div[data-device=mobile] ._icon-subtitle_440ej_70{font-size:.8125em}._retry-screen_440ej_1 button{color:var(--retry-screen-retry-button-title);background:var(--retry-screen-retry-button-background)}._retry-screen_440ej_1 button:hover{color:var(--retry-screen-retry-button-title-hover);background:var(--retry-screen-retry-button-background-hover)}div[data-device=mobile] ._retry-screen_440ej_1 button{width:calc(100% - 32px);position:absolute;bottom:55px;left:16px}._icon-bg_440ej_111{width:140px;height:100px;margin-bottom:8px}@media (max-width:400px){div[data-device=mobile] ._retry-screen_440ej_1{padding:3em 1em 5.5em}div[data-device=mobile] ._retry-screen_440ej_1 button{bottom:45px}}@media (max-width:360px){div[data-device=mobile] ._retry-screen_440ej_1 ._icons_440ej_41 ._icon-bg_440ej_111{width:100%}}", bm = "._bad-quality-window_1be0m_1{flex-direction:column;justify-content:center;align-items:center;height:100%;padding:24px 16px;display:flex}._bad-quality-window_1be0m_1 button{color:var(--retry-screen-retry-button-title);background:var(--retry-screen-retry-button-background);font-size:1em;position:relative;overflow:hidden}._bad-quality-window_1be0m_1 button:hover{color:var(--retry-screen-retry-button-title-hover);background:var(--retry-screen-retry-button-background-hover)}._container_1be0m_22{flex-direction:column;align-items:center;width:430px;height:100%;display:flex}._title_1be0m_30{color:#000;font-size:1.5625em;font-weight:600;line-height:130%}._text_1be0m_37{text-align:center;color:#000;flex-direction:column;align-items:center;margin-top:18px;margin-bottom:8px;display:flex}div[data-locale=en] ._container_1be0m_22{width:22em;min-width:214px}div[data-locale=es] ._container_1be0m_22{width:23em;min-width:285px}div[data-locale=de] ._container_1be0m_22{width:26em;min-width:223px}div[data-locale=fr] ._container_1be0m_22{width:25.1em;min-width:285px}._icon-block_1be0m_67{color:#000;letter-spacing:-.01em;align-items:center;margin-bottom:1px;font-size:.8125em;display:flex}div[data-direction=ltr] ._icon-block_1be0m_67{text-align:left}._icon-container_1be0m_80{grid-template-columns:repeat(2,1fr);gap:4px 16px;margin-bottom:24px;display:grid}._main-image_1be0m_88{aspect-ratio:1;flex:0 auto;width:100%;max-width:80px;height:auto;max-height:80px}._icon_1be0m_67{background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 48px;height:48px;margin-right:8px}div[data-device=mobile] ._bad-quality-window_1be0m_1{justify-content:center;padding:3em 1em 4em}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._container_1be0m_22{width:200px}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._main-image_1be0m_88{max-width:140px;max-height:140px}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._text_1be0m_37{margin-top:24px;margin-bottom:16px}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._title_1be0m_30{letter-spacing:-.01em;margin-top:0;font-size:1.5em;font-weight:700;line-height:140%}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._icon-container_1be0m_80{grid-template-columns:1fr;gap:8px 0}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._icon-block_1be0m_67{letter-spacing:0;font-size:.8125em}div[data-device=mobile] ._bad-quality-window_1be0m_1 button{width:calc(100% - 32px);height:50px;font-size:1.125em;position:absolute;bottom:55px;left:16px}", xm = "._announcer_1qj2e_1{clip:rect(0 0 0 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}", Sm = "._screen_lzzd9_1{flex-direction:column;justify-content:space-between;align-items:center;height:100%;padding:1em;display:flex}._screen_lzzd9_1 ._text_lzzd9_9{text-align:center}._screen_lzzd9_1 ._text_lzzd9_9 ._title_lzzd9_12{color:#262626;margin:0 0 .4em;font-size:1.25em;font-weight:700;line-height:1.4em}._screen_lzzd9_1 ._text_lzzd9_9 ._subtitle_lzzd9_20{color:#262626;opacity:.7;margin:0 0 16px;font-size:.875em;font-style:normal;font-weight:400;line-height:1.25em}._screen_lzzd9_1 ._icon-subtitle_lzzd9_31{color:#262626;text-align:center;margin:0 0 1.15em;font-size:.8em;font-style:normal;font-weight:400;line-height:1.43em}._screen_lzzd9_1 ._icon-bg_lzzd9_41{width:118px;height:118px;margin-bottom:8px}._screen_lzzd9_1 ._icon-block_lzzd9_47{flex-direction:row;justify-content:center;align-items:center;gap:1px;display:flex}._screen_lzzd9_1 ._icons_lzzd9_55{display:flex}._screen_lzzd9_1 ._icons_lzzd9_55 ._icon-item_lzzd9_58{flex-direction:column;align-items:center;display:flex}._screen_lzzd9_1 ._icons_lzzd9_55 ._icon-item_lzzd9_58>p{word-break:break-word;text-align:center;max-width:280px}._screen_lzzd9_1 ._icons_lzzd9_55 ._icon-item_lzzd9_58+._icon-item_lzzd9_58{margin-left:2em;margin-right:0}._screen_lzzd9_1 button{color:var(--retry-screen-retry-button-title);background:var(--retry-screen-retry-button-background)}._screen_lzzd9_1 button:hover{color:var(--retry-screen-retry-button-title-hover);background:var(--retry-screen-retry-button-background-hover)}div[data-device=mobile] ._screen_lzzd9_1{justify-content:center;padding:4em 1em 6em}div[data-device=mobile] ._screen_lzzd9_1 button{width:calc(100% - 32px);position:absolute;bottom:55px;left:16px}div[data-device=mobile] ._text_lzzd9_9 ._title_lzzd9_12{line-height:1.25em}div[data-device=mobile] ._icons_lzzd9_55{flex-direction:column}div[data-device=mobile] ._icon-item_lzzd9_58+._icon-item_lzzd9_58{margin-left:0;margin-right:0}div[data-device=mobile] ._icon-item_lzzd9_58>p{max-width:300px}div[data-device=mobile] ._icon-subtitle_lzzd9_31{font-size:.8125em}div[data-direction=rtl] ._icons_lzzd9_55 ._icon-item_lzzd9_58+._icon-item_lzzd9_58{margin-left:0;margin-right:2em}@media (max-width:400px){div[data-device=mobile] ._screen_lzzd9_1{padding:3em 1em 5.5em}div[data-device=mobile] ._screen_lzzd9_1 button{bottom:45px}}@media (max-width:360px){div[data-device=mobile] ._screen_lzzd9_1 ._icons_lzzd9_55 ._icon-bg_lzzd9_41{width:100%}}", Cm = /* @__PURE__ */ function(e) {
11091
+ var lm = Ro(El)(cm), um = "*,:before,:after{box-sizing:border-box}._window_ra07n_7{color:#fff;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;width:640px;height:360px;font-family:var(--font-family);font-size:var(--font-size);background:#fff;border-radius:16px;margin:0 auto;position:relative;overflow:hidden;-webkit-transform:translate(0,0);-moz-transform:translate(0,0);box-shadow:0 2px 4px rgba(0,0,0,.15)}._windowRotate_ra07n_26{width:360px!important;height:640px!important}._window_ra07n_7[data-direction=rtl]{direction:rtl}._window_ra07n_7[data-direction=ltr]{direction:ltr}._window_ra07n_7[data-device=mobile]{width:360px;height:640px}._window_ra07n_7[data-device=desktop][data-capture-button=true]{height:450px}._header_ra07n_48{z-index:1;justify-content:flex-end;padding:16px;display:flex;position:absolute;top:0;right:0}div[data-direction=rtl] ._header_ra07n_48{left:0}div[data-direction=ltr] ._header_ra07n_48{right:0}._header_ra07n_48 button,._footer_ra07n_67 button{cursor:pointer;text-align:center;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;background:0 0;border:none;justify-content:center;align-items:center;margin:0;padding:0;text-decoration:none;transition:background .25s ease-in-out,transform .15s;display:flex}._header_ra07n_48 button:focus-visible{outline:2px solid #00f}._footer_ra07n_67{align-items:center;padding:0 16px 8px;display:flex;position:absolute;bottom:0}div[data-device=mobile] ._footer_ra07n_67{left:50%;transform:translate(-50%)}div[data-direction=rtl]:not([data-device=mobile]) ._footer_ra07n_67{right:0}div[data-direction=ltr]:not([data-device=mobile]) ._footer_ra07n_67{left:0}._copyright_ra07n_109{direction:ltr;justify-content:center;align-items:center;gap:3px;display:flex}._copyright_ra07n_109 span{letter-spacing:-.1px;color:#8c8c8c;font-size:10px;font-weight:500}._copyright_ra07n_109 div{margin-top:3px}@media (max-width:360px){._window_ra07n_7[data-device=mobile]{width:100%}}@media (max-height:640px){._window_ra07n_7[data-device=mobile]{height:100%}}@media (max-width:360px) and (max-height:640px){._window_ra07n_7[data-device=mobile]{border-radius:0}}@media (max-width:640px){._window_ra07n_7[data-device=desktop]{border-radius:0;width:100%;height:100%}}", dm = "._instruction-window_154gs_1{flex-direction:column;justify-content:center;align-items:center;height:100%;padding:24px 16px;display:flex}div[data-device=mobile] ._instruction-window_154gs_1{justify-content:center;padding:4em 1em}._text_154gs_15{text-align:center;color:#000;flex-direction:column;align-items:center;margin-bottom:4px;display:flex}div[data-device=mobile] ._text_154gs_15{margin-bottom:0}._title_154gs_28{color:#000;margin-top:14px;margin-bottom:34px;font-size:1.563em;font-weight:600;line-height:1}div[data-device=mobile] ._title_154gs_28{margin-top:0;margin-bottom:55px;font-size:2.125em}._subtitle_154gs_43{text-align:center;color:#262626;font-size:1.063em;font-weight:600;line-height:1.1}div[data-device=mobile] ._subtitle_154gs_43{font-size:1.375em}._container_154gs_55{flex-direction:column;align-items:center;width:280px;height:100%;display:flex}div[data-locale=en] ._container_154gs_55{width:13.375em;min-width:214px}div[data-locale=es] ._container_154gs_55{width:19.375em;min-width:285px}div[data-locale=de] ._container_154gs_55{width:13.938em;min-width:223px}div[data-locale=fr] ._container_154gs_55{width:17.813em;min-width:285px}div[data-device=mobile] ._container_154gs_55{justify-content:center;width:280px}._icon-block_154gs_88{color:#000;letter-spacing:.4px;align-items:center;margin-bottom:1px;font-size:.875em;display:flex}div[data-direction=ltr] ._icon-block_154gs_88{text-align:left}div[data-device=mobile] ._icon-block_154gs_88{letter-spacing:0;margin-bottom:5px;font-size:1.125em}div[data-device=mobile][data-locale=en] ._icon-block_154gs_88{padding-right:10px}._icon-container_154gs_111{flex-direction:column;margin-bottom:25px;display:flex}div[data-device=mobile] ._icon-container_154gs_111{margin-top:8px;margin-bottom:45px;padding-left:12px}._icon_154gs_88{flex:0 0 43px;width:43px;height:43px;margin-right:9px}div[data-device=mobile] ._icon_154gs_88{flex:0 0 50px;width:50px;height:50px;margin-right:8px}._instruction-window_154gs_1 button{background:var(--onboarding-screen-start-button-background);width:100%;height:50px;color:var(--onboarding-screen-start-button-title);font-size:1.375em;font-weight:700;position:relative;overflow:hidden}._instruction-window_154gs_1 button:hover{background:var(--onboarding-screen-start-button-background-hover);color:var(--onboarding-screen-start-button-title-hover)}._instruction-window_154gs_1 button:after{content:\"\";z-index:1;background:linear-gradient(269.72deg,rgba(255,255,255,0) -4.26%,rgba(255,255,255,.22) 47.3%,rgba(255,255,255,0) 105.48%);width:120%;height:100%;animation:5.5s forwards _buttonAnimation_154gs_1;position:absolute;top:0;left:0;transform:translate(-120%)}@keyframes _buttonAnimation_154gs_1{0%{transform:translate(-120%)}25%{transform:translate(120%)}26%{opacity:0;transform:translate(120%)}27%{opacity:0;transform:translate(-120%)}28%{opacity:1;transform:translate(-120%)}40%{opacity:1;transform:translate(-120%)}65%{opacity:1;transform:translate(120%)}66%{opacity:0;transform:translate(120%)}67%{opacity:0;transform:translate(-120%)}68%{opacity:1;transform:translate(-120%)}75%{opacity:1;transform:translate(-120%)}to{opacity:1;transform:translate(120%)}}", fm = "._container_kltad_1{color:#fff;width:100%;height:100%;display:flex;position:relative}div[data-device=desktop][data-capture-button=true] ._container_kltad_1{height:80%}button:focus{outline:none}._debug-canvas_kltad_18{position:absolute;top:0;left:0}._mirror-x_kltad_24{transform:scaleX(-1)}._translateY_kltad_28{width:100%;height:100%;position:absolute;top:0;left:0;transform:translateY(-30px)}div[data-device=mobile] ._translateY_kltad_28{transform:translateY(-25%)}", pm = "._process-message_1sunm_1{flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}._process-message_1sunm_1 ._message_1sunm_9{color:#444;padding-top:.875em;font-size:.875em;font-weight:400;line-height:1.43em;display:block}._info-message_1sunm_18{flex-direction:column;justify-content:center;align-items:center;height:100%;padding:0 1.5em;display:flex}._text-container_1sunm_27{word-break:break-word;flex-direction:column;align-items:center;max-width:350px;display:flex}._info-message_1sunm_18 ._title_1sunm_35{color:#262626;text-align:center;margin:0 0 .3em;font-size:1.25em;font-weight:700;line-height:1.4em}._info-message_1sunm_18 ._title_1sunm_35._title-gap_1sunm_43{margin-top:1.12em}._info-message_1sunm_18 ._subtitle_1sunm_48{color:#262626;text-align:center;margin:0 0 .2em;font-size:1em;font-style:normal;font-weight:400;line-height:1.375em}._info-message_1sunm_18 ._errorCode_1sunm_58{color:#262626;text-align:center;opacity:.7;margin:0 0 1.15em;font-size:.9em;font-style:normal;font-weight:400;line-height:1.375em}._button_1sunm_69{margin-top:1em}", mm = "._message-container_hwrhw_2{color:var(--camera-screen-front-hint-label-text);background:var(--camera-screen-front-hint-label-background);border-radius:16px;padding:.595em .87em;font-style:normal;font-weight:400;line-height:1em;display:inline-block}._container_hwrhw_14{width:100%;height:100%;position:relative}._container_hwrhw_14:after{content:\"\";background:#fff;width:100%;height:10px;position:absolute;bottom:-5px;left:0}._translateY_hwrhw_31{transform:translateY(-30px)}div[data-device=mobile] ._translateY_hwrhw_31{transform:translateY(-25%)}._videoContainer_hwrhw_39{width:100%;height:100%;overflow:hidden}._videoContainerRotation_hwrhw_44{--rotatedWidth:640px;--rotatedHeight:360px;width:var(--rotatedWidth);height:var(--rotatedHeight);transform-origin:50%}._videoContainerRotation-90-rev_hwrhw_52{transform:rotate(90deg) translateY(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2)) translateX(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2))}._videoContainerRotation-90_hwrhw_52{transform:rotate(-90deg) translateY(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2)) translateX(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2))}._videoContainerRotation-180_hwrhw_60{transform:rotate(-180deg)}._videoContainerBlur_hwrhw_64{flex:1;width:100%;height:100%;transition:-webkit-filter .3s linear,filter .3s linear;display:flex}._backgroundSvg_hwrhw_72{width:100%;height:100%;position:absolute;top:0;left:0}._hide_hwrhw_80{opacity:0}._frame_hwrhw_84{stroke-dasharray:100;animation:10s linear infinite reverse _dash_hwrhw_1}._done_hwrhw_90{animation:1s ease-in-out infinite _pulse_hwrhw_1}@keyframes _pulse_hwrhw_1{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}._hintArrowAnimation_hwrhw_106{animation:1s ease-in-out infinite _pulseHintArrow_hwrhw_1}@keyframes _pulseHintArrow_hwrhw_1{0%{opacity:.3;transform:translate(20px)}50%{opacity:1;transform:translate(25px)}to{opacity:.3;transform:translate(20px)}}._primaryMessage_hwrhw_125{text-align:center;z-index:1;width:100%;font-size:1.125em;position:absolute;bottom:8%}._secondaryMessage_hwrhw_134{text-align:center;z-index:1;width:100%;padding:.2em;font-size:1em;transition:all .5s;position:absolute;bottom:-7px;transform:translateZ(0)}._centreMessage_hwrhw_146{bottom:50%;transform:translateY(50%)}div[data-device=mobile] ._secondaryMessage_hwrhw_134{padding:3em 1em;font-size:1.25em;transition-delay:.1s;transform:translateZ(0)translateY(0)}div[data-device=mobile] ._centreMessage_hwrhw_146{bottom:-7px;transform:translateY(-150px)}._functionalButtons_hwrhw_163{z-index:1;justify-content:flex-end;align-items:flex-end;padding:20px;display:flex;position:absolute;bottom:0;transform:translateY(30px)}div[data-device=mobile] ._functionalButtons_hwrhw_163{transform:translateY(120px)}div[data-direction=rtl] ._functionalButtons_hwrhw_163{left:0}div[data-direction=ltr] ._functionalButtons_hwrhw_163{right:0}._functionalButtons_hwrhw_163 button:not(:disabled):hover{transform:scale(1.1)}._functionalButtons_hwrhw_163 button{cursor:pointer;text-align:center;background:0 0;border:none;justify-content:center;align-items:center;margin:0;padding:0;text-decoration:none;transition:transform .15s;display:flex}._functionalButtons_hwrhw_163 button:focus-visible{outline:1px solid #00f}._functionalButtons_hwrhw_163 button:disabled{opacity:.5}._captureButton_hwrhw_212{cursor:pointer;z-index:2;background:0 0;border:none;width:60px;height:60px;padding:0;position:absolute;bottom:-17%;left:calc(50% - 30px)}div[data-device=desktop][data-capture-button=true] ._captureButton_hwrhw_212{bottom:-25%}div[data-device=desktop][data-capture-button=true] ._functionalButtons_hwrhw_163{bottom:-19%}div[data-device=mobile][data-capture-button=true] ._functionalButtons_hwrhw_163{bottom:-18%;transform:translateY(0)}._captureButton_hwrhw_212 svg{color:#7e57c5}._captureButton_hwrhw_212:disabled svg circle{color:gray}._backgroundSvg_hwrhw_72 ellipse{transition:rx .5s,ry .5s}._targetSector_hwrhw_251{--sector-rotate:rotate(0deg);transform:var(--sector-rotate)}._currentSector_hwrhw_256{opacity:.8;transition:opacity .5s}._backgroundSvg_hwrhw_72._firstStepAnimation_hwrhw_261 ._targetSector_hwrhw_251{animation:.4s forwards _targetSectorFirstStepAnimation_hwrhw_1}._backgroundSvg_hwrhw_72._firstStepAnimation_hwrhw_261 ._currentSector_hwrhw_256{animation:.4s forwards _currentSectorFirstStepAnimation_hwrhw_1}._backgroundSvg_hwrhw_72._firstStepAnimation_hwrhw_261 ellipse{transform-origin:50%;animation:.2s forwards _ellipseFirstStepAnimation_hwrhw_1}@keyframes _ellipseFirstStepAnimation_hwrhw_1{0%{transform:scale(1)}50%{transform:scale(.8)}to{transform:scale(1)}}._face-hint_hwrhw_286{--from-left:0;--from-top:0}._face-hint-container_hwrhw_291{justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .5s;display:flex;position:absolute;top:0;left:0}._face-hint-round_hwrhw_303{justify-content:center;align-items:center;transition:all .8s;display:flex;position:relative;overflow:hidden}._face-hint-target_hwrhw_312{background-position:0 0;background-repeat:no-repeat;background-size:100%;animation:.4s steps(7,end) forwards _spriteAnimation_hwrhw_1}._face-hint-animation-14_hwrhw_319{animation:.5s steps(3,end) alternate _spriteAnimation_hwrhw_1}._face-hint-animation-9_hwrhw_324{animation:1s steps(12,end) forwards _spriteAnimation_hwrhw_1}._face-hint-animation-10_hwrhw_329,._face-hint-animation-11_hwrhw_330,._face-hint-animation-12_hwrhw_331,._face-hint-animation-13_hwrhw_332{animation:.4s steps(7,end) reverse forwards _spriteAnimation_hwrhw_1}._face-hint-animation-3_hwrhw_337{animation:1s forwards _moveCloser_hwrhw_1}._face-hint-animation-4_hwrhw_342{animation:1s forwards _moveAway_hwrhw_1}._face-hint-animation-1_hwrhw_319{animation:1s forwards _fitYourFace_hwrhw_1}@keyframes _fitYourFace_hwrhw_1{0%{top:var(--from-top);left:var(--from-left)}30%{top:var(--from-top);left:var(--from-left)}to{top:0;left:0}}@keyframes _moveCloser_hwrhw_1{0%{transform:scale(.5)}to{transform:scale(1)}}@keyframes _moveAway_hwrhw_1{0%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes _targetSectorFirstStepAnimation_hwrhw_1{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes _currentSectorFirstStepAnimation_hwrhw_1{0%{visibility:hidden}80%{visibility:hidden}to{visibility:visible}}@keyframes _spriteAnimation_hwrhw_1{0%{background-position:0 0}to{background-position:0 100%}}", hm = "._container_17sg4_1{flex:1;align-items:center;display:flex;position:relative}._video_17sg4_8{object-fit:contain;background-color:#fff;width:100%;height:100%}", gm = "._button_19w9m_1{background:var(--onboarding-screen-start-button-background);cursor:pointer;text-align:center;font-family:var(--font-family);color:var(--onboarding-screen-start-button-title);-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:none;border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;width:180px;height:42px;margin:0;padding:0;font-size:1em;font-weight:400;text-decoration:none;transition:background .25s ease-in-out,transform .15s;display:inline-flex}._button_19w9m_1:hover{background:var(--onboarding-screen-start-button-background-hover);color:var(--onboarding-screen-start-button-title-hover)}._button_19w9m_1:active{background:var(--onboarding-screen-start-button-background)}._button_19w9m_1:focus-visible{outline:2px solid #00f}", _m = "._container_e810x_1{width:50px;height:50px}@keyframes _spin_e810x_15{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._spinner_e810x_15{clip:rect(22px, 44px, 44px, 0);width:50px;height:50px;animation:1.5s cubic-bezier(.77,0,.175,1) infinite _spin_e810x_15;position:relative}._spinner_e810x_15:before,._spinner_e810x_15:after{content:\"\";border-radius:50%;width:44px;height:44px;margin:auto;display:block;position:absolute;top:0;bottom:0;left:0;right:0}._spinner_e810x_15:before{border:3px solid transparent;border-top:3px solid var(--processing-screen-progress);animation:1.5s cubic-bezier(.77,0,.175,1) infinite _spin_e810x_15}._spinner_e810x_15:after{border:3px solid rgba(49,49,49,.1)}", vm = "._retry-screen_aru0q_1{flex-direction:column;justify-content:space-between;align-items:center;height:100%;padding:1em;display:flex}div[data-device=mobile] ._retry-screen_aru0q_1{justify-content:center;padding:4em 1em 6em}._text_aru0q_15{text-align:center}._text_aru0q_15 ._title_aru0q_19{color:#262626;margin:0 0 .4em;font-size:1.25em;font-weight:700;line-height:1.4em}div[data-device=mobile] ._text_aru0q_15 ._title_aru0q_19{line-height:1.25em}._text_aru0q_15 ._subtitle_aru0q_31{color:#262626;opacity:.7;margin:0 0 16px;font-size:.875em;font-style:normal;font-weight:400;line-height:1.25em}._retry-screen_aru0q_1 ._icons_aru0q_41{display:flex}div[data-device=mobile] ._icons_aru0q_41{flex-direction:column}._icons_aru0q_41 ._icon-item_aru0q_49{flex-direction:column;align-items:center;display:flex}._icons_aru0q_41 ._icon-item_aru0q_49+._icon-item_aru0q_49{margin-left:2em;margin-right:0}div[data-direction=rtl] ._icons_aru0q_41 ._icon-item_aru0q_49+._icon-item_aru0q_49{margin-left:0;margin-right:2em}div[data-device=mobile] ._icons_aru0q_41 ._icon-item_aru0q_49+._icon-item_aru0q_49{margin-left:0;margin-right:0}._icon-subtitle_aru0q_70{color:#262626;text-align:center;margin:0 0 1.15em;font-size:.8em;font-style:normal;font-weight:400;line-height:1.43em}._icon-item_aru0q_49>p{word-break:break-word;text-align:center;max-width:280px}div[data-device=mobile] ._icon-item_aru0q_49>p{max-width:300px}div[data-device=mobile] ._icon-subtitle_aru0q_70{font-size:.8125em}._retry-screen_aru0q_1 button{color:var(--retry-screen-retry-button-title);background:var(--retry-screen-retry-button-background)}._retry-screen_aru0q_1 button:hover{color:var(--retry-screen-retry-button-title-hover);background:var(--retry-screen-retry-button-background-hover)}div[data-device=mobile] ._retry-screen_aru0q_1 button{width:calc(100% - 32px);position:absolute;bottom:55px;left:16px}._icon-bg_aru0q_111{width:140px;height:100px;margin-bottom:8px}._icon-block_aru0q_117{flex-direction:row;justify-content:center;align-items:center;gap:1px;display:flex}@media (max-width:400px){div[data-device=mobile] ._retry-screen_aru0q_1{padding:3em 1em 5.5em}div[data-device=mobile] ._retry-screen_aru0q_1 button{bottom:45px}}@media (max-width:360px){div[data-device=mobile] ._retry-screen_aru0q_1 ._icons_aru0q_41 ._icon-bg_aru0q_111{width:100%}}", ym = "._bad-quality-window_1be0m_1{flex-direction:column;justify-content:center;align-items:center;height:100%;padding:24px 16px;display:flex}._bad-quality-window_1be0m_1 button{color:var(--retry-screen-retry-button-title);background:var(--retry-screen-retry-button-background);font-size:1em;position:relative;overflow:hidden}._bad-quality-window_1be0m_1 button:hover{color:var(--retry-screen-retry-button-title-hover);background:var(--retry-screen-retry-button-background-hover)}._container_1be0m_22{flex-direction:column;align-items:center;width:430px;height:100%;display:flex}._title_1be0m_30{color:#000;font-size:1.5625em;font-weight:600;line-height:130%}._text_1be0m_37{text-align:center;color:#000;flex-direction:column;align-items:center;margin-top:18px;margin-bottom:8px;display:flex}div[data-locale=en] ._container_1be0m_22{width:22em;min-width:214px}div[data-locale=es] ._container_1be0m_22{width:23em;min-width:285px}div[data-locale=de] ._container_1be0m_22{width:26em;min-width:223px}div[data-locale=fr] ._container_1be0m_22{width:25.1em;min-width:285px}._icon-block_1be0m_67{color:#000;letter-spacing:-.01em;align-items:center;margin-bottom:1px;font-size:.8125em;display:flex}div[data-direction=ltr] ._icon-block_1be0m_67{text-align:left}._icon-container_1be0m_80{grid-template-columns:repeat(2,1fr);gap:4px 16px;margin-bottom:24px;display:grid}._main-image_1be0m_88{aspect-ratio:1;flex:0 auto;width:100%;max-width:80px;height:auto;max-height:80px}._icon_1be0m_67{background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 48px;height:48px;margin-right:8px}div[data-device=mobile] ._bad-quality-window_1be0m_1{justify-content:center;padding:3em 1em 4em}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._container_1be0m_22{width:200px}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._main-image_1be0m_88{max-width:140px;max-height:140px}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._text_1be0m_37{margin-top:24px;margin-bottom:16px}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._title_1be0m_30{letter-spacing:-.01em;margin-top:0;font-size:1.5em;font-weight:700;line-height:140%}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._icon-container_1be0m_80{grid-template-columns:1fr;gap:8px 0}div[data-device=mobile] ._bad-quality-window_1be0m_1 ._icon-block_1be0m_67{letter-spacing:0;font-size:.8125em}div[data-device=mobile] ._bad-quality-window_1be0m_1 button{width:calc(100% - 32px);height:50px;font-size:1.125em;position:absolute;bottom:55px;left:16px}", bm = "._announcer_1qj2e_1{clip:rect(0 0 0 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}", xm = /* @__PURE__ */ function(e) {
11128
11092
  return e.url = "url", e.debug = "debug", e.locale = "locale", e.copyright = "copyright", e.cameraId = "camera-id", e.changeCamera = "change-camera", e.startScreen = "start-screen", e.deviceOrientation = "device-orientation", e.closeDisabled = "close-disabled", e.finishScreen = "finish-screen", e;
11129
- }({}), wm = /* @__PURE__ */ function(e) {
11093
+ }({}), Sm = /* @__PURE__ */ function(e) {
11130
11094
  return e.locale = "locale", e.copyright = "copyright", e.cameraId = "camera-id", e.changeCamera = "change-camera", e.startScreen = "start-screen", e.closeDisabled = "close-disabled", e.finishScreen = "finish-screen", e;
11131
- }({}), Tm = {
11095
+ }({}), Cm = {
11132
11096
  "ru-ru": {
11133
11097
  showOnlyOneFace: "Убедитесь, что на экране присутствует только одно лицо.",
11134
11098
  preparingCamera: "Подготовка камеры",
@@ -13489,7 +13453,7 @@ var um = Ro(El)(lm), dm = "*,:before,:after{box-sizing:border-box}._window_ra07n
13489
13453
  //#endregion
13490
13454
  //#region src/web-components/FaceDetection.tsx
13491
13455
  Hn();
13492
- function Em(e, t) {
13456
+ function wm(e, t) {
13493
13457
  var n = Object.keys(e);
13494
13458
  if (Object.getOwnPropertySymbols) {
13495
13459
  var r = Object.getOwnPropertySymbols(e);
@@ -13499,30 +13463,30 @@ function Em(e, t) {
13499
13463
  }
13500
13464
  return n;
13501
13465
  }
13502
- function Dm(e) {
13466
+ function Tm(e) {
13503
13467
  for (var t = 1; t < arguments.length; t++) {
13504
13468
  var n = arguments[t] == null ? {} : arguments[t];
13505
- t % 2 ? Em(Object(n), !0).forEach(function(t) {
13506
- Om(e, t, n[t]);
13507
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Em(Object(n)).forEach(function(t) {
13469
+ t % 2 ? wm(Object(n), !0).forEach(function(t) {
13470
+ Em(e, t, n[t]);
13471
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wm(Object(n)).forEach(function(t) {
13508
13472
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
13509
13473
  });
13510
13474
  }
13511
13475
  return e;
13512
13476
  }
13513
- function Om(e, t, n) {
13514
- return (t = km(t)) in e ? Object.defineProperty(e, t, {
13477
+ function Em(e, t, n) {
13478
+ return (t = Dm(t)) in e ? Object.defineProperty(e, t, {
13515
13479
  value: n,
13516
13480
  enumerable: !0,
13517
13481
  configurable: !0,
13518
13482
  writable: !0
13519
13483
  }) : e[t] = n, e;
13520
13484
  }
13521
- function km(e) {
13522
- var t = Am(e, "string");
13485
+ function Dm(e) {
13486
+ var t = Om(e, "string");
13523
13487
  return typeof t == "symbol" ? t : t + "";
13524
13488
  }
13525
- function Am(e, t) {
13489
+ function Om(e, t) {
13526
13490
  if (typeof e != "object" || !e) return e;
13527
13491
  var n = e[Symbol.toPrimitive];
13528
13492
  if (n !== void 0) {
@@ -13532,7 +13496,8 @@ function Am(e, t) {
13532
13496
  }
13533
13497
  return (t === "string" ? String : Number)(e);
13534
13498
  }
13535
- var jm = xc.create("main"), Mm = [
13499
+ var km = xc.create("main"), Am = [
13500
+ um,
13536
13501
  dm,
13537
13502
  fm,
13538
13503
  pm,
@@ -13542,22 +13507,20 @@ var jm = xc.create("main"), Mm = [
13542
13507
  _m,
13543
13508
  vm,
13544
13509
  ym,
13545
- bm,
13546
- xm,
13547
- Sm
13548
- ], Nm = Ps({}, Mm), Pm = class extends HTMLElement {
13510
+ bm
13511
+ ], jm = Ps({}, Am), Mm = class extends HTMLElement {
13549
13512
  constructor() {
13550
- super(), Om(this, "_root", this.attachShadow({ mode: "open" })), Om(this, "_mounted", !1), Om(this, "_translations", null);
13513
+ super(), Em(this, "_root", this.attachShadow({ mode: "open" })), Em(this, "_mounted", !1), Em(this, "_translations", null);
13551
13514
  }
13552
13515
  static get observedAttributes() {
13553
- return Object.values(wm);
13516
+ return Object.values(Sm);
13554
13517
  }
13555
13518
  onEvent(e) {
13556
13519
  let t = Bo(ps, e);
13557
- this.dispatchEvent(t), jm(`Component event: ${JSON.stringify(t.detail)}`);
13520
+ this.dispatchEvent(t), km(`Component event: ${JSON.stringify(t.detail)}`);
13558
13521
  }
13559
13522
  get version() {
13560
- return "8.5.2437-nightly";
13523
+ return "8.5.2441-nightly";
13561
13524
  }
13562
13525
  set translations(e) {
13563
13526
  this._translations = e, this._mounted && this.render();
@@ -13568,33 +13531,33 @@ var jm = xc.create("main"), Mm = [
13568
13531
  set settings(e) {
13569
13532
  if (Object.keys(e).length === 0) return;
13570
13533
  let t = Zo(Q.getState(), e);
13571
- e.customization && (Nm = Ps(e.customization, Mm)), e.rotationAngle && typeof e.rotationAngle == "number" && (t.rotationAngle = Is(e.rotationAngle)), e.workerPath && typeof e.workerPath == "string" && (t.workerPath = e.workerPath), t && Q.setState(t), this._mounted && this.render();
13534
+ e.customization && (jm = Ps(e.customization, Am)), e.rotationAngle && typeof e.rotationAngle == "number" && (t.rotationAngle = Is(e.rotationAngle)), e.workerPath && typeof e.workerPath == "string" && (t.workerPath = e.workerPath), t && Q.setState(t), this._mounted && this.render();
13572
13535
  }
13573
13536
  get settings() {
13574
- let e = Object.keys(wm), t = Q.getState();
13537
+ let e = Object.keys(Sm), t = Q.getState();
13575
13538
  return [
13576
13539
  ...e,
13577
13540
  "customization",
13578
13541
  "workerPath"
13579
- ].reduce((e, n) => Dm(Dm({}, e), {}, { [n]: t[n] }), {});
13542
+ ].reduce((e, n) => Tm(Tm({}, e), {}, { [n]: t[n] }), {});
13580
13543
  }
13581
13544
  attributeChangedCallback(e) {
13582
13545
  let t = this.getAttribute(e), n = Lo(t), r = {
13583
- [wm.locale]: () => t && Q.setState({ locale: t }),
13584
- [wm.copyright]: () => {
13546
+ [Sm.locale]: () => t && Q.setState({ locale: t }),
13547
+ [Sm.copyright]: () => {
13585
13548
  Q.setState({ copyright: n });
13586
13549
  },
13587
- [wm.changeCamera]: () => {
13550
+ [Sm.changeCamera]: () => {
13588
13551
  Q.setState({ changeCamera: n });
13589
13552
  },
13590
- [wm.cameraId]: () => t && Q.setState({ cameraId: t }),
13591
- [wm.closeDisabled]: () => {
13553
+ [Sm.cameraId]: () => t && Q.setState({ cameraId: t }),
13554
+ [Sm.closeDisabled]: () => {
13592
13555
  Q.setState({ closeDisabled: n });
13593
13556
  },
13594
- [wm.startScreen]: () => {
13557
+ [Sm.startScreen]: () => {
13595
13558
  Q.setState({ startScreen: n });
13596
13559
  },
13597
- [wm.finishScreen]: () => {
13560
+ [Sm.finishScreen]: () => {
13598
13561
  Q.setState({ finishScreen: n });
13599
13562
  }
13600
13563
  };
@@ -13611,7 +13574,7 @@ var jm = xc.create("main"), Mm = [
13611
13574
  closeDisabled: Lo(this.getAttribute("close-disabled")),
13612
13575
  finishScreen: Lo(this.getAttribute("finish-screen"))
13613
13576
  };
13614
- Q.setState(Dm(Dm({}, e), {}, { faceSnapshot: !0 })), this.render(), this._mounted = !0, this.onEvent({
13577
+ Q.setState(Tm(Tm({}, e), {}, { faceSnapshot: !0 })), this.render(), this._mounted = !0, this.onEvent({
13615
13578
  action: us.ELEMENT_VISIBLE,
13616
13579
  data: null
13617
13580
  });
@@ -13619,25 +13582,25 @@ var jm = xc.create("main"), Mm = [
13619
13582
  render() {
13620
13583
  bn(J(Xt, { children: [J("style", {
13621
13584
  nonce: Q.getState().nonce,
13622
- children: Nm
13623
- }), J(um, {
13585
+ children: jm
13586
+ }), J(lm, {
13624
13587
  locale: Q.getState().locale,
13625
- dictionaries: Tm,
13588
+ dictionaries: Cm,
13626
13589
  translations: this._translations || void 0
13627
13590
  })] }), this._root);
13628
13591
  }
13629
13592
  disconnectedCallback() {
13630
13593
  Q.getState().resetAttributes(), Q.getState().resetProps(!0), setTimeout(() => bn(null, this._root)), xc.saveLogs();
13631
13594
  }
13632
- }, Fm = /* @__PURE__ */ s(((e, t) => {
13595
+ }, Nm = /* @__PURE__ */ s(((e, t) => {
13633
13596
  t.exports = f().Promise;
13634
- })), Im = /* @__PURE__ */ s(((e, t) => {
13597
+ })), Pm = /* @__PURE__ */ s(((e, t) => {
13635
13598
  var n = G(), r = Dd(), i = S(), a = W()("species");
13636
13599
  t.exports = function(e, t) {
13637
13600
  var o = n(e).constructor, s;
13638
13601
  return o === void 0 || i(s = n(o)[a]) ? t : r(s);
13639
13602
  };
13640
- })), Lm = /* @__PURE__ */ s(((e, t) => {
13603
+ })), Fm = /* @__PURE__ */ s(((e, t) => {
13641
13604
  var n = P(), r = TypeError, i = function(e) {
13642
13605
  var t, i;
13643
13606
  this.promise = new e(function(e, n) {
@@ -13648,8 +13611,8 @@ var jm = xc.create("main"), Mm = [
13648
13611
  t.exports.f = function(e) {
13649
13612
  return new i(e);
13650
13613
  };
13651
- })), Rm = /* @__PURE__ */ s(((e, t) => {
13652
- var n = G(), r = E(), i = Lm();
13614
+ })), Im = /* @__PURE__ */ s(((e, t) => {
13615
+ var n = G(), r = E(), i = Fm();
13653
13616
  t.exports = function(e, t) {
13654
13617
  if (n(e), r(t) && t.constructor === e) return t;
13655
13618
  var a = i.f(e), o = a.resolve;
@@ -13657,7 +13620,7 @@ var jm = xc.create("main"), Mm = [
13657
13620
  };
13658
13621
  }));
13659
13622
  (/* @__PURE__ */ s((() => {
13660
- var e = Ae(), t = L(), n = Fm(), r = p(), i = D(), a = T(), o = Im(), s = Rm(), c = ge(), l = n && n.prototype;
13623
+ var e = Ae(), t = L(), n = Nm(), r = p(), i = D(), a = T(), o = Pm(), s = Im(), c = ge(), l = n && n.prototype;
13661
13624
  if (e({
13662
13625
  target: "Promise",
13663
13626
  proto: !0,
@@ -13681,7 +13644,7 @@ var jm = xc.create("main"), Mm = [
13681
13644
  l.finally !== u && c(l, "finally", u, { unsafe: !0 });
13682
13645
  }
13683
13646
  })))(), xr();
13684
- function zm(e, t) {
13647
+ function Lm(e, t) {
13685
13648
  var n = Object.keys(e);
13686
13649
  if (Object.getOwnPropertySymbols) {
13687
13650
  var r = Object.getOwnPropertySymbols(e);
@@ -13691,30 +13654,30 @@ function zm(e, t) {
13691
13654
  }
13692
13655
  return n;
13693
13656
  }
13694
- function Bm(e) {
13657
+ function Rm(e) {
13695
13658
  for (var t = 1; t < arguments.length; t++) {
13696
13659
  var n = arguments[t] == null ? {} : arguments[t];
13697
- t % 2 ? zm(Object(n), !0).forEach(function(t) {
13698
- Vm(e, t, n[t]);
13699
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zm(Object(n)).forEach(function(t) {
13660
+ t % 2 ? Lm(Object(n), !0).forEach(function(t) {
13661
+ zm(e, t, n[t]);
13662
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Lm(Object(n)).forEach(function(t) {
13700
13663
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
13701
13664
  });
13702
13665
  }
13703
13666
  return e;
13704
13667
  }
13705
- function Vm(e, t, n) {
13706
- return (t = Hm(t)) in e ? Object.defineProperty(e, t, {
13668
+ function zm(e, t, n) {
13669
+ return (t = Bm(t)) in e ? Object.defineProperty(e, t, {
13707
13670
  value: n,
13708
13671
  enumerable: !0,
13709
13672
  configurable: !0,
13710
13673
  writable: !0
13711
13674
  }) : e[t] = n, e;
13712
13675
  }
13713
- function Hm(e) {
13714
- var t = Um(e, "string");
13676
+ function Bm(e) {
13677
+ var t = Vm(e, "string");
13715
13678
  return typeof t == "symbol" ? t : t + "";
13716
13679
  }
13717
- function Um(e, t) {
13680
+ function Vm(e, t) {
13718
13681
  if (typeof e != "object" || !e) return e;
13719
13682
  var n = e[Symbol.toPrimitive];
13720
13683
  if (n !== void 0) {
@@ -13724,25 +13687,25 @@ function Um(e, t) {
13724
13687
  }
13725
13688
  return (t === "string" ? String : Number)(e);
13726
13689
  }
13727
- function Wm(e, t) {
13728
- return Ym(e) || Jm(e, t) || Km(e, t) || Gm();
13690
+ function Hm(e, t) {
13691
+ return qm(e) || Km(e, t) || Wm(e, t) || Um();
13729
13692
  }
13730
- function Gm() {
13693
+ function Um() {
13731
13694
  throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13732
13695
  }
13733
- function Km(e, t) {
13696
+ function Wm(e, t) {
13734
13697
  if (e) {
13735
- if (typeof e == "string") return qm(e, t);
13698
+ if (typeof e == "string") return Gm(e, t);
13736
13699
  var n = {}.toString.call(e).slice(8, -1);
13737
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qm(e, t) : void 0;
13700
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Gm(e, t) : void 0;
13738
13701
  }
13739
13702
  }
13740
- function qm(e, t) {
13703
+ function Gm(e, t) {
13741
13704
  (t == null || t > e.length) && (t = e.length);
13742
13705
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
13743
13706
  return r;
13744
13707
  }
13745
- function Jm(e, t) {
13708
+ function Km(e, t) {
13746
13709
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
13747
13710
  if (n != null) {
13748
13711
  var r, i, a, o, s = [], c = !0, l = !1;
@@ -13763,11 +13726,11 @@ function Jm(e, t) {
13763
13726
  return s;
13764
13727
  }
13765
13728
  }
13766
- function Ym(e) {
13729
+ function qm(e) {
13767
13730
  if (Array.isArray(e)) return e;
13768
13731
  }
13769
- function Xm(e) {
13770
- let t = e.direction, n = Q(), r = n.setAbortProcess, i = n.setAbortSessionStatus, a = n.images, o = n.abortSessionStatus, s = n.abortProcess, c = n.transactionId, l = n.publicKey, u = n.onEvent, d = n.url, f = n.debug, p = n.headers, m = n.tag, h = n.startScreen, g = h === void 0 || h, _ = n.deviceOrientation, v = _ !== void 0 && _, y = n.completionStatus, b = n.setCompletionStatus, x = n.onRestart, S = n.request, C = n.setResponse, w = n.onRotateDevice, T = n.onError, E = n.sha256, D = n.faceSnapshot, O = n.isFaceEnroll, k = n.isFaceVerify, A = Jc(), j = A.orientation, M = A.isLandscape, ee = qs() && M && window.innerHeight < 640, N = Wm(Wn(!1), 2), P = N[0], F = N[1], I = qn(!0), L = Xn(() => {
13732
+ function Jm(e) {
13733
+ let t = e.direction, n = Q(), r = n.setAbortProcess, i = n.setAbortSessionStatus, a = n.images, o = n.abortSessionStatus, s = n.abortProcess, c = n.transactionId, l = n.publicKey, u = n.onEvent, d = n.url, f = n.debug, p = n.headers, m = n.tag, h = n.startScreen, g = h === void 0 || h, _ = n.deviceOrientation, v = _ !== void 0 && _, y = n.completionStatus, b = n.setCompletionStatus, x = n.onRestart, S = n.request, C = n.setResponse, w = n.onRotateDevice, T = n.onError, E = n.sha256, D = n.faceSnapshot, O = n.isFaceEnroll, k = n.isFaceVerify, A = Jc(), j = A.orientation, M = A.isLandscape, ee = qs() && M && window.innerHeight < 640, N = Hm(Wn(!1), 2), P = N[0], F = N[1], I = qn(!0), L = Xn(() => {
13771
13734
  y === Z.CAPTURING && c ? (r(!0), i(ds.CLOSE_BUTTON)) : (r(!1), b(g ? Z.INSTRUCTION : Z.FAILED)), F(!0);
13772
13735
  }, [y, c]);
13773
13736
  return q(() => {
@@ -13788,7 +13751,7 @@ function Xm(e) {
13788
13751
  }).then((e) => {
13789
13752
  var t;
13790
13753
  C(e), b(e.status === As.CONFIRMED ? Z.SUCCESS : Z.FAILED);
13791
- let n = Bm({
13754
+ let n = Rm({
13792
13755
  code: e.code,
13793
13756
  metadata: e.metadata,
13794
13757
  status: e.status,
@@ -13821,7 +13784,7 @@ function Xm(e) {
13821
13784
  }).then((e) => {
13822
13785
  var t;
13823
13786
  C(e), b(e.status === As.CONFIRMED ? Z.SUCCESS : Z.FAILED);
13824
- let n = Bm({
13787
+ let n = Rm({
13825
13788
  code: e.code,
13826
13789
  metadata: e.metadata,
13827
13790
  status: e.status,
@@ -13883,7 +13846,7 @@ function Xm(e) {
13883
13846
  }
13884
13847
  y === Z.BAD_FRAME_SIZE && S && (u({
13885
13848
  action: us.PROCESS_FINISHED,
13886
- data: Bm({
13849
+ data: Rm({
13887
13850
  status: ks.ERROR,
13888
13851
  reason: as.BAD_FRAME_SIZE
13889
13852
  }, !D && c ? { transactionId: c } : {})
@@ -13894,7 +13857,7 @@ function Xm(e) {
13894
13857
  signature: E
13895
13858
  })), y === Z.BAD_FACE_QUALITY && S && (u({
13896
13859
  action: us.PROCESS_FINISHED,
13897
- data: Bm({
13860
+ data: Rm({
13898
13861
  status: ks.ERROR,
13899
13862
  reason: as.BAD_FACE_QUALITY
13900
13863
  }, !D && c ? { transactionId: c } : {})
@@ -13920,7 +13883,7 @@ function Xm(e) {
13920
13883
  ]), q(() => {
13921
13884
  !s && P && (Ff.abortLivenessRequest(), u({
13922
13885
  action: us.CLOSE,
13923
- data: Bm({
13886
+ data: Rm({
13924
13887
  status: ks.ERROR,
13925
13888
  reason: as.CANCELLED
13926
13889
  }, !D && c ? { transactionId: c } : {})
@@ -13935,15 +13898,15 @@ function Xm(e) {
13935
13898
  children: J(_l, {
13936
13899
  onClose: L,
13937
13900
  direction: t,
13938
- children: J(cm, {})
13901
+ children: J(sm, {})
13939
13902
  })
13940
13903
  });
13941
13904
  }
13942
- var Zm = Ro(El)(Xm);
13905
+ var Ym = Ro(El)(Jm);
13943
13906
  //#endregion
13944
13907
  //#region src/web-components/FaceLiveness.tsx
13945
13908
  Hn();
13946
- function Qm(e, t) {
13909
+ function Xm(e, t) {
13947
13910
  var n = Object.keys(e);
13948
13911
  if (Object.getOwnPropertySymbols) {
13949
13912
  var r = Object.getOwnPropertySymbols(e);
@@ -13953,30 +13916,30 @@ function Qm(e, t) {
13953
13916
  }
13954
13917
  return n;
13955
13918
  }
13956
- function $m(e) {
13919
+ function Zm(e) {
13957
13920
  for (var t = 1; t < arguments.length; t++) {
13958
13921
  var n = arguments[t] == null ? {} : arguments[t];
13959
- t % 2 ? Qm(Object(n), !0).forEach(function(t) {
13960
- eh(e, t, n[t]);
13961
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qm(Object(n)).forEach(function(t) {
13922
+ t % 2 ? Xm(Object(n), !0).forEach(function(t) {
13923
+ Qm(e, t, n[t]);
13924
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xm(Object(n)).forEach(function(t) {
13962
13925
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
13963
13926
  });
13964
13927
  }
13965
13928
  return e;
13966
13929
  }
13967
- function eh(e, t, n) {
13968
- return (t = th(t)) in e ? Object.defineProperty(e, t, {
13930
+ function Qm(e, t, n) {
13931
+ return (t = $m(t)) in e ? Object.defineProperty(e, t, {
13969
13932
  value: n,
13970
13933
  enumerable: !0,
13971
13934
  configurable: !0,
13972
13935
  writable: !0
13973
13936
  }) : e[t] = n, e;
13974
13937
  }
13975
- function th(e) {
13976
- var t = nh(e, "string");
13938
+ function $m(e) {
13939
+ var t = eh(e, "string");
13977
13940
  return typeof t == "symbol" ? t : t + "";
13978
13941
  }
13979
- function nh(e, t) {
13942
+ function eh(e, t) {
13980
13943
  if (typeof e != "object" || !e) return e;
13981
13944
  var n = e[Symbol.toPrimitive];
13982
13945
  if (n !== void 0) {
@@ -13986,7 +13949,8 @@ function nh(e, t) {
13986
13949
  }
13987
13950
  return (t === "string" ? String : Number)(e);
13988
13951
  }
13989
- var rh = xc.create("main"), ih = [
13952
+ var th = xc.create("main"), nh = [
13953
+ um,
13990
13954
  dm,
13991
13955
  fm,
13992
13956
  pm,
@@ -13996,41 +13960,39 @@ var rh = xc.create("main"), ih = [
13996
13960
  _m,
13997
13961
  vm,
13998
13962
  ym,
13999
- bm,
14000
- xm,
14001
- Sm
14002
- ], ah = Ps({}, ih), oh = class extends HTMLElement {
13963
+ bm
13964
+ ], rh = Ps({}, nh), ih = class extends HTMLElement {
14003
13965
  constructor() {
14004
- super(), eh(this, "_root", this.attachShadow({ mode: "open" })), eh(this, "_mounted", !1), eh(this, "_translations", null);
13966
+ super(), Qm(this, "_root", this.attachShadow({ mode: "open" })), Qm(this, "_mounted", !1), Qm(this, "_translations", null);
14005
13967
  }
14006
13968
  static get observedAttributes() {
14007
- return Object.values(Cm);
13969
+ return Object.values(xm);
14008
13970
  }
14009
13971
  onEvent(e) {
14010
13972
  let t = Bo(fs, e);
14011
- this.dispatchEvent(t), rh(`Component event: ${JSON.stringify(t.detail)}`);
13973
+ this.dispatchEvent(t), th(`Component event: ${JSON.stringify(t.detail)}`);
14012
13974
  }
14013
13975
  attributeChangedCallback(e) {
14014
13976
  let t = this.getAttribute(e), n = Lo(t), r = {
14015
- [Cm.locale]: () => t && Q.setState({ locale: t }),
14016
- [Cm.url]: () => t && Q.setState({ url: t }),
14017
- [Cm.copyright]: () => {
13977
+ [xm.locale]: () => t && Q.setState({ locale: t }),
13978
+ [xm.url]: () => t && Q.setState({ url: t }),
13979
+ [xm.copyright]: () => {
14018
13980
  Q.setState({ copyright: n });
14019
13981
  },
14020
- [Cm.changeCamera]: () => {
13982
+ [xm.changeCamera]: () => {
14021
13983
  Q.setState({ changeCamera: n });
14022
13984
  },
14023
- [Cm.cameraId]: () => t && Q.setState({ cameraId: t }),
14024
- [Cm.closeDisabled]: () => {
13985
+ [xm.cameraId]: () => t && Q.setState({ cameraId: t }),
13986
+ [xm.closeDisabled]: () => {
14025
13987
  Q.setState({ closeDisabled: n });
14026
13988
  },
14027
- [Cm.startScreen]: () => {
13989
+ [xm.startScreen]: () => {
14028
13990
  Q.setState({ startScreen: n });
14029
13991
  },
14030
- [Cm.finishScreen]: () => {
13992
+ [xm.finishScreen]: () => {
14031
13993
  Q.setState({ finishScreen: n });
14032
13994
  },
14033
- [Cm.deviceOrientation]: () => {
13995
+ [xm.deviceOrientation]: () => {
14034
13996
  Q.setState({ deviceOrientation: n });
14035
13997
  }
14036
13998
  };
@@ -14052,13 +14014,13 @@ var rh = xc.create("main"), ih = [
14052
14014
  closeDisabled: Lo(this.getAttribute("close-disabled")),
14053
14015
  finishScreen: Lo(this.getAttribute("finish-screen"))
14054
14016
  };
14055
- Q.setState($m($m({}, e), {}, { faceSnapshot: !1 })), this.render(), this._mounted = !0, this.onEvent({
14017
+ Q.setState(Zm(Zm({}, e), {}, { faceSnapshot: !1 })), this.render(), this._mounted = !0, this.onEvent({
14056
14018
  action: us.ELEMENT_VISIBLE,
14057
14019
  data: null
14058
14020
  });
14059
14021
  }
14060
14022
  get version() {
14061
- return "8.5.2437-nightly";
14023
+ return "8.5.2441-nightly";
14062
14024
  }
14063
14025
  set translations(e) {
14064
14026
  this._translations = e, this._mounted && this.render();
@@ -14069,12 +14031,12 @@ var rh = xc.create("main"), ih = [
14069
14031
  set settings(e) {
14070
14032
  if (Object.keys(e).length === 0) return;
14071
14033
  let t = Q.getState(), n = Object.assign({}, e);
14072
- typeof n.retryCount == "number" && n.retryCount <= 0 && (n.retryCount = void 0), e.rotationAngle && typeof e.rotationAngle == "number" && (n.rotationAngle = Is(e.rotationAngle)), e.workerPath && typeof e.workerPath == "string" && (n.workerPath = e.workerPath), e.livenessType === Ds.BLINK && (n.captureButton = !1), n.customization && (ah = Ps(n.customization, ih));
14034
+ typeof n.retryCount == "number" && n.retryCount <= 0 && (n.retryCount = void 0), e.rotationAngle && typeof e.rotationAngle == "number" && (n.rotationAngle = Is(e.rotationAngle)), e.workerPath && typeof e.workerPath == "string" && (n.workerPath = e.workerPath), e.livenessType === Ds.BLINK && (n.captureButton = !1), n.customization && (rh = Ps(n.customization, nh));
14073
14035
  let r = Zo(t, n);
14074
14036
  r && Q.setState(r), this._mounted && this.render();
14075
14037
  }
14076
14038
  get settings() {
14077
- let e = Object.keys(Cm), t = Q.getState();
14039
+ let e = Object.keys(xm), t = Q.getState();
14078
14040
  return [
14079
14041
  ...e,
14080
14042
  "retryCount",
@@ -14087,15 +14049,15 @@ var rh = xc.create("main"), ih = [
14087
14049
  "workerPath",
14088
14050
  "tenant",
14089
14051
  "env"
14090
- ].reduce((e, n) => $m($m({}, e), {}, { [n]: t[n] }), {});
14052
+ ].reduce((e, n) => Zm(Zm({}, e), {}, { [n]: t[n] }), {});
14091
14053
  }
14092
14054
  render() {
14093
14055
  bn(J(Xt, { children: [J("style", {
14094
14056
  nonce: Q.getState().nonce,
14095
- children: ah
14096
- }), J(Zm, {
14057
+ children: rh
14058
+ }), J(Ym, {
14097
14059
  locale: Q.getState().locale,
14098
- dictionaries: Tm,
14060
+ dictionaries: Cm,
14099
14061
  translations: this._translations || void 0
14100
14062
  })] }), this._root);
14101
14063
  }
@@ -14106,7 +14068,7 @@ var rh = xc.create("main"), ih = [
14106
14068
  //#endregion
14107
14069
  //#region src/web-components/FaceEnroll.tsx
14108
14070
  Hn();
14109
- function sh(e, t) {
14071
+ function ah(e, t) {
14110
14072
  var n = Object.keys(e);
14111
14073
  if (Object.getOwnPropertySymbols) {
14112
14074
  var r = Object.getOwnPropertySymbols(e);
@@ -14116,30 +14078,30 @@ function sh(e, t) {
14116
14078
  }
14117
14079
  return n;
14118
14080
  }
14119
- function ch(e) {
14081
+ function oh(e) {
14120
14082
  for (var t = 1; t < arguments.length; t++) {
14121
14083
  var n = arguments[t] == null ? {} : arguments[t];
14122
- t % 2 ? sh(Object(n), !0).forEach(function(t) {
14123
- lh(e, t, n[t]);
14124
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sh(Object(n)).forEach(function(t) {
14084
+ t % 2 ? ah(Object(n), !0).forEach(function(t) {
14085
+ sh(e, t, n[t]);
14086
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ah(Object(n)).forEach(function(t) {
14125
14087
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
14126
14088
  });
14127
14089
  }
14128
14090
  return e;
14129
14091
  }
14130
- function lh(e, t, n) {
14131
- return (t = uh(t)) in e ? Object.defineProperty(e, t, {
14092
+ function sh(e, t, n) {
14093
+ return (t = ch(t)) in e ? Object.defineProperty(e, t, {
14132
14094
  value: n,
14133
14095
  enumerable: !0,
14134
14096
  configurable: !0,
14135
14097
  writable: !0
14136
14098
  }) : e[t] = n, e;
14137
14099
  }
14138
- function uh(e) {
14139
- var t = dh(e, "string");
14100
+ function ch(e) {
14101
+ var t = lh(e, "string");
14140
14102
  return typeof t == "symbol" ? t : t + "";
14141
14103
  }
14142
- function dh(e, t) {
14104
+ function lh(e, t) {
14143
14105
  if (typeof e != "object" || !e) return e;
14144
14106
  var n = e[Symbol.toPrimitive];
14145
14107
  if (n !== void 0) {
@@ -14149,7 +14111,8 @@ function dh(e, t) {
14149
14111
  }
14150
14112
  return (t === "string" ? String : Number)(e);
14151
14113
  }
14152
- var fh = xc.create("main"), ph = [
14114
+ var uh = xc.create("main"), dh = [
14115
+ um,
14153
14116
  dm,
14154
14117
  fm,
14155
14118
  pm,
@@ -14159,41 +14122,39 @@ var fh = xc.create("main"), ph = [
14159
14122
  _m,
14160
14123
  vm,
14161
14124
  ym,
14162
- bm,
14163
- xm,
14164
- Sm
14165
- ], mh = Ps({}, ph), hh = class extends HTMLElement {
14125
+ bm
14126
+ ], fh = Ps({}, dh), ph = class extends HTMLElement {
14166
14127
  constructor() {
14167
- super(), lh(this, "_root", this.attachShadow({ mode: "open" })), lh(this, "_mounted", !1), lh(this, "_translations", null);
14128
+ super(), sh(this, "_root", this.attachShadow({ mode: "open" })), sh(this, "_mounted", !1), sh(this, "_translations", null);
14168
14129
  }
14169
14130
  static get observedAttributes() {
14170
- return Object.values(Cm);
14131
+ return Object.values(xm);
14171
14132
  }
14172
14133
  onEvent(e) {
14173
14134
  let t = Bo(ms, e);
14174
- this.dispatchEvent(t), fh(`Component event: ${JSON.stringify(t.detail)}`);
14135
+ this.dispatchEvent(t), uh(`Component event: ${JSON.stringify(t.detail)}`);
14175
14136
  }
14176
14137
  attributeChangedCallback(e) {
14177
14138
  let t = this.getAttribute(e), n = Lo(t), r = {
14178
- [Cm.locale]: () => t && Q.setState({ locale: t }),
14179
- [Cm.url]: () => t && Q.setState({ url: t }),
14180
- [Cm.copyright]: () => {
14139
+ [xm.locale]: () => t && Q.setState({ locale: t }),
14140
+ [xm.url]: () => t && Q.setState({ url: t }),
14141
+ [xm.copyright]: () => {
14181
14142
  Q.setState({ copyright: n });
14182
14143
  },
14183
- [Cm.changeCamera]: () => {
14144
+ [xm.changeCamera]: () => {
14184
14145
  Q.setState({ changeCamera: n });
14185
14146
  },
14186
- [Cm.cameraId]: () => t && Q.setState({ cameraId: t }),
14187
- [Cm.closeDisabled]: () => {
14147
+ [xm.cameraId]: () => t && Q.setState({ cameraId: t }),
14148
+ [xm.closeDisabled]: () => {
14188
14149
  Q.setState({ closeDisabled: n });
14189
14150
  },
14190
- [Cm.startScreen]: () => {
14151
+ [xm.startScreen]: () => {
14191
14152
  Q.setState({ startScreen: n });
14192
14153
  },
14193
- [Cm.finishScreen]: () => {
14154
+ [xm.finishScreen]: () => {
14194
14155
  Q.setState({ finishScreen: n });
14195
14156
  },
14196
- [Cm.deviceOrientation]: () => {
14157
+ [xm.deviceOrientation]: () => {
14197
14158
  Q.setState({ deviceOrientation: n });
14198
14159
  }
14199
14160
  };
@@ -14215,7 +14176,7 @@ var fh = xc.create("main"), ph = [
14215
14176
  closeDisabled: Lo(this.getAttribute("close-disabled")),
14216
14177
  finishScreen: Lo(this.getAttribute("finish-screen"))
14217
14178
  };
14218
- Q.setState(ch(ch({}, e), {}, {
14179
+ Q.setState(oh(oh({}, e), {}, {
14219
14180
  faceSnapshot: !1,
14220
14181
  isFaceEnroll: !0
14221
14182
  })), this.render(), this._mounted = !0, this.onEvent({
@@ -14224,7 +14185,7 @@ var fh = xc.create("main"), ph = [
14224
14185
  });
14225
14186
  }
14226
14187
  get version() {
14227
- return "8.5.2437-nightly";
14188
+ return "8.5.2441-nightly";
14228
14189
  }
14229
14190
  set translations(e) {
14230
14191
  this._translations = e, this._mounted && this.render();
@@ -14235,12 +14196,12 @@ var fh = xc.create("main"), ph = [
14235
14196
  set settings(e) {
14236
14197
  if (Object.keys(e).length === 0) return;
14237
14198
  let t = Q.getState(), n = Object.assign({}, e);
14238
- typeof n.retryCount == "number" && n.retryCount <= 0 && (n.retryCount = void 0), e.rotationAngle && typeof e.rotationAngle == "number" && (n.rotationAngle = Is(e.rotationAngle)), e.workerPath && typeof e.workerPath == "string" && (n.workerPath = e.workerPath), e.livenessType === Ds.BLINK && (n.captureButton = !1), n.customization && (mh = Ps(n.customization, ph));
14199
+ typeof n.retryCount == "number" && n.retryCount <= 0 && (n.retryCount = void 0), e.rotationAngle && typeof e.rotationAngle == "number" && (n.rotationAngle = Is(e.rotationAngle)), e.workerPath && typeof e.workerPath == "string" && (n.workerPath = e.workerPath), e.livenessType === Ds.BLINK && (n.captureButton = !1), n.customization && (fh = Ps(n.customization, dh));
14239
14200
  let r = Zo(t, n);
14240
14201
  r && Q.setState(r), this._mounted && this.render();
14241
14202
  }
14242
14203
  get settings() {
14243
- let e = Object.keys(Cm), t = Q.getState();
14204
+ let e = Object.keys(xm), t = Q.getState();
14244
14205
  return [
14245
14206
  ...e,
14246
14207
  "retryCount",
@@ -14254,15 +14215,15 @@ var fh = xc.create("main"), ph = [
14254
14215
  "tenant",
14255
14216
  "env",
14256
14217
  "enroll"
14257
- ].reduce((e, n) => ch(ch({}, e), {}, { [n]: t[n] }), {});
14218
+ ].reduce((e, n) => oh(oh({}, e), {}, { [n]: t[n] }), {});
14258
14219
  }
14259
14220
  render() {
14260
14221
  bn(J(Xt, { children: [J("style", {
14261
14222
  nonce: Q.getState().nonce,
14262
- children: mh
14263
- }), J(Zm, {
14223
+ children: fh
14224
+ }), J(Ym, {
14264
14225
  locale: Q.getState().locale,
14265
- dictionaries: Tm,
14226
+ dictionaries: Cm,
14266
14227
  translations: this._translations || void 0
14267
14228
  })] }), this._root);
14268
14229
  }
@@ -14273,7 +14234,7 @@ var fh = xc.create("main"), ph = [
14273
14234
  //#endregion
14274
14235
  //#region src/web-components/FaceVerify.tsx
14275
14236
  Hn();
14276
- function gh(e, t) {
14237
+ function mh(e, t) {
14277
14238
  var n = Object.keys(e);
14278
14239
  if (Object.getOwnPropertySymbols) {
14279
14240
  var r = Object.getOwnPropertySymbols(e);
@@ -14283,30 +14244,30 @@ function gh(e, t) {
14283
14244
  }
14284
14245
  return n;
14285
14246
  }
14286
- function _h(e) {
14247
+ function hh(e) {
14287
14248
  for (var t = 1; t < arguments.length; t++) {
14288
14249
  var n = arguments[t] == null ? {} : arguments[t];
14289
- t % 2 ? gh(Object(n), !0).forEach(function(t) {
14290
- vh(e, t, n[t]);
14291
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gh(Object(n)).forEach(function(t) {
14250
+ t % 2 ? mh(Object(n), !0).forEach(function(t) {
14251
+ gh(e, t, n[t]);
14252
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mh(Object(n)).forEach(function(t) {
14292
14253
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
14293
14254
  });
14294
14255
  }
14295
14256
  return e;
14296
14257
  }
14297
- function vh(e, t, n) {
14298
- return (t = yh(t)) in e ? Object.defineProperty(e, t, {
14258
+ function gh(e, t, n) {
14259
+ return (t = _h(t)) in e ? Object.defineProperty(e, t, {
14299
14260
  value: n,
14300
14261
  enumerable: !0,
14301
14262
  configurable: !0,
14302
14263
  writable: !0
14303
14264
  }) : e[t] = n, e;
14304
14265
  }
14305
- function yh(e) {
14306
- var t = bh(e, "string");
14266
+ function _h(e) {
14267
+ var t = vh(e, "string");
14307
14268
  return typeof t == "symbol" ? t : t + "";
14308
14269
  }
14309
- function bh(e, t) {
14270
+ function vh(e, t) {
14310
14271
  if (typeof e != "object" || !e) return e;
14311
14272
  var n = e[Symbol.toPrimitive];
14312
14273
  if (n !== void 0) {
@@ -14316,7 +14277,8 @@ function bh(e, t) {
14316
14277
  }
14317
14278
  return (t === "string" ? String : Number)(e);
14318
14279
  }
14319
- var xh = xc.create("main"), Sh = [
14280
+ var yh = xc.create("main"), bh = [
14281
+ um,
14320
14282
  dm,
14321
14283
  fm,
14322
14284
  pm,
@@ -14326,41 +14288,39 @@ var xh = xc.create("main"), Sh = [
14326
14288
  _m,
14327
14289
  vm,
14328
14290
  ym,
14329
- bm,
14330
- xm,
14331
- Sm
14332
- ], Ch = Ps({}, Sh), wh = class extends HTMLElement {
14291
+ bm
14292
+ ], xh = Ps({}, bh), Sh = class extends HTMLElement {
14333
14293
  constructor() {
14334
- super(), vh(this, "_root", this.attachShadow({ mode: "open" })), vh(this, "_mounted", !1), vh(this, "_translations", null);
14294
+ super(), gh(this, "_root", this.attachShadow({ mode: "open" })), gh(this, "_mounted", !1), gh(this, "_translations", null);
14335
14295
  }
14336
14296
  static get observedAttributes() {
14337
- return Object.values(Cm);
14297
+ return Object.values(xm);
14338
14298
  }
14339
14299
  onEvent(e) {
14340
14300
  let t = Bo(hs, e);
14341
- this.dispatchEvent(t), xh(`Component event: ${JSON.stringify(t.detail)}`);
14301
+ this.dispatchEvent(t), yh(`Component event: ${JSON.stringify(t.detail)}`);
14342
14302
  }
14343
14303
  attributeChangedCallback(e) {
14344
14304
  let t = this.getAttribute(e), n = Lo(t), r = {
14345
- [Cm.locale]: () => t && Q.setState({ locale: t }),
14346
- [Cm.url]: () => t && Q.setState({ url: t }),
14347
- [Cm.copyright]: () => {
14305
+ [xm.locale]: () => t && Q.setState({ locale: t }),
14306
+ [xm.url]: () => t && Q.setState({ url: t }),
14307
+ [xm.copyright]: () => {
14348
14308
  Q.setState({ copyright: n });
14349
14309
  },
14350
- [Cm.changeCamera]: () => {
14310
+ [xm.changeCamera]: () => {
14351
14311
  Q.setState({ changeCamera: n });
14352
14312
  },
14353
- [Cm.cameraId]: () => t && Q.setState({ cameraId: t }),
14354
- [Cm.closeDisabled]: () => {
14313
+ [xm.cameraId]: () => t && Q.setState({ cameraId: t }),
14314
+ [xm.closeDisabled]: () => {
14355
14315
  Q.setState({ closeDisabled: n });
14356
14316
  },
14357
- [Cm.startScreen]: () => {
14317
+ [xm.startScreen]: () => {
14358
14318
  Q.setState({ startScreen: n });
14359
14319
  },
14360
- [Cm.finishScreen]: () => {
14320
+ [xm.finishScreen]: () => {
14361
14321
  Q.setState({ finishScreen: n });
14362
14322
  },
14363
- [Cm.deviceOrientation]: () => {
14323
+ [xm.deviceOrientation]: () => {
14364
14324
  Q.setState({ deviceOrientation: n });
14365
14325
  }
14366
14326
  };
@@ -14382,7 +14342,7 @@ var xh = xc.create("main"), Sh = [
14382
14342
  closeDisabled: Lo(this.getAttribute("close-disabled")),
14383
14343
  finishScreen: Lo(this.getAttribute("finish-screen"))
14384
14344
  };
14385
- Q.setState(_h(_h({}, e), {}, {
14345
+ Q.setState(hh(hh({}, e), {}, {
14386
14346
  faceSnapshot: !1,
14387
14347
  isFaceVerify: !0
14388
14348
  })), this.render(), this._mounted = !0, this.onEvent({
@@ -14391,7 +14351,7 @@ var xh = xc.create("main"), Sh = [
14391
14351
  });
14392
14352
  }
14393
14353
  get version() {
14394
- return "8.5.2437-nightly";
14354
+ return "8.5.2441-nightly";
14395
14355
  }
14396
14356
  set translations(e) {
14397
14357
  this._translations = e, this._mounted && this.render();
@@ -14402,12 +14362,12 @@ var xh = xc.create("main"), Sh = [
14402
14362
  set settings(e) {
14403
14363
  if (Object.keys(e).length === 0) return;
14404
14364
  let t = Q.getState(), n = Object.assign({}, e);
14405
- typeof n.retryCount == "number" && n.retryCount <= 0 && (n.retryCount = void 0), e.rotationAngle && typeof e.rotationAngle == "number" && (n.rotationAngle = Is(e.rotationAngle)), e.workerPath && typeof e.workerPath == "string" && (n.workerPath = e.workerPath), e.livenessType === Ds.BLINK && (n.captureButton = !1), n.customization && (Ch = Ps(n.customization, Sh));
14365
+ typeof n.retryCount == "number" && n.retryCount <= 0 && (n.retryCount = void 0), e.rotationAngle && typeof e.rotationAngle == "number" && (n.rotationAngle = Is(e.rotationAngle)), e.workerPath && typeof e.workerPath == "string" && (n.workerPath = e.workerPath), e.livenessType === Ds.BLINK && (n.captureButton = !1), n.customization && (xh = Ps(n.customization, bh));
14406
14366
  let r = Zo(t, n);
14407
14367
  r && Q.setState(r), this._mounted && this.render();
14408
14368
  }
14409
14369
  get settings() {
14410
- let e = Object.keys(Cm), t = Q.getState();
14370
+ let e = Object.keys(xm), t = Q.getState();
14411
14371
  return [
14412
14372
  ...e,
14413
14373
  "retryCount",
@@ -14421,15 +14381,15 @@ var xh = xc.create("main"), Sh = [
14421
14381
  "tenant",
14422
14382
  "env",
14423
14383
  "verify"
14424
- ].reduce((e, n) => _h(_h({}, e), {}, { [n]: t[n] }), {});
14384
+ ].reduce((e, n) => hh(hh({}, e), {}, { [n]: t[n] }), {});
14425
14385
  }
14426
14386
  render() {
14427
14387
  bn(J(Xt, { children: [J("style", {
14428
14388
  nonce: Q.getState().nonce,
14429
- children: Ch
14430
- }), J(Zm, {
14389
+ children: xh
14390
+ }), J(Ym, {
14431
14391
  locale: Q.getState().locale,
14432
- dictionaries: Tm,
14392
+ dictionaries: Cm,
14433
14393
  translations: this._translations || void 0
14434
14394
  })] }), this._root);
14435
14395
  }
@@ -14439,19 +14399,19 @@ var xh = xc.create("main"), Sh = [
14439
14399
  };
14440
14400
  //#endregion
14441
14401
  //#region ../../common/web-components/FullScreenContainer.tsx
14442
- function Th(e, t, n) {
14443
- return (t = Eh(t)) in e ? Object.defineProperty(e, t, {
14402
+ function Ch(e, t, n) {
14403
+ return (t = wh(t)) in e ? Object.defineProperty(e, t, {
14444
14404
  value: n,
14445
14405
  enumerable: !0,
14446
14406
  configurable: !0,
14447
14407
  writable: !0
14448
14408
  }) : e[t] = n, e;
14449
14409
  }
14450
- function Eh(e) {
14451
- var t = Dh(e, "string");
14410
+ function wh(e) {
14411
+ var t = Th(e, "string");
14452
14412
  return typeof t == "symbol" ? t : t + "";
14453
14413
  }
14454
- function Dh(e, t) {
14414
+ function Th(e, t) {
14455
14415
  if (typeof e != "object" || !e) return e;
14456
14416
  var n = e[Symbol.toPrimitive];
14457
14417
  if (n !== void 0) {
@@ -14461,11 +14421,11 @@ function Dh(e, t) {
14461
14421
  }
14462
14422
  return (t === "string" ? String : Number)(e);
14463
14423
  }
14464
- var Oh = class extends HTMLElement {
14424
+ var Eh = class extends HTMLElement {
14465
14425
  constructor() {
14466
- super(), Th(this, "_root", void 0), this._root = this.attachShadow({ mode: "open" }), this._root.innerHTML = "\n <style>\n *, *::before, *::after {\n box-sizing: border-box;\n }\n :host {\n display: block;\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n overflow: auto;\n z-index: 100;\n }\n </style>\n <slot />\n ";
14426
+ super(), Ch(this, "_root", void 0), this._root = this.attachShadow({ mode: "open" }), this._root.innerHTML = "\n <style>\n *, *::before, *::after {\n box-sizing: border-box;\n }\n :host {\n display: block;\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n overflow: auto;\n z-index: 100;\n }\n </style>\n <slot />\n ";
14467
14427
  }
14468
- }, kh = window.customElements.get("face-capture"), Ah = window.customElements.get("face-liveness"), jh = window.customElements.get("fullscreen-container"), Mh = window.customElements.get("face-enroll"), Nh = window.customElements.get("face-verify");
14469
- kh || window.customElements.define("face-capture", Pm), Ah || window.customElements.define("face-liveness", oh), jh || window.customElements.define("fullscreen-container", Oh), Mh || window.customElements.define("face-enroll", hh), Nh || window.customElements.define("face-verify", wh);
14428
+ }, Dh = window.customElements.get("face-capture"), Oh = window.customElements.get("face-liveness"), kh = window.customElements.get("fullscreen-container"), Ah = window.customElements.get("face-enroll"), jh = window.customElements.get("face-verify");
14429
+ Dh || window.customElements.define("face-capture", Mm), Oh || window.customElements.define("face-liveness", ih), kh || window.customElements.define("fullscreen-container", Eh), Ah || window.customElements.define("face-enroll", ph), jh || window.customElements.define("face-verify", Sh);
14470
14430
  //#endregion
14471
- export { as as ErrorTypes, Pm as FaceDetectionWebComponent, hh as FaceEnrollWebComponent, us as FaceEventActions, As as FaceLivenessResultStatus, Ds as FaceLivenessType, oh as FaceLivenessWebComponent, wh as FaceVerifyWebComponent, Oh as FullScreenContainer, ls as RecordingProcess, ks as ResponseCode };
14431
+ export { as as ErrorTypes, Mm as FaceDetectionWebComponent, ph as FaceEnrollWebComponent, us as FaceEventActions, As as FaceLivenessResultStatus, Ds as FaceLivenessType, ih as FaceLivenessWebComponent, Sh as FaceVerifyWebComponent, Eh as FullScreenContainer, ls as RecordingProcess, ks as ResponseCode };