@ekyc_qoobiss/qbs-ect-cmp 3.6.52 → 3.6.53

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.
@@ -5147,7 +5147,7 @@ function v4(options, buf, offset) {
5147
5147
  }
5148
5148
 
5149
5149
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5150
- const version$1 = "3.6.52";
5150
+ const version$1 = "3.6.53";
5151
5151
  const description = "Person Identification Component";
5152
5152
  const main = "./dist/index.cjs.js";
5153
5153
  const module$1 = "./dist/index.js";
@@ -5462,34 +5462,43 @@ const IdentificationComponent = class {
5462
5462
  if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LANDING) {
5463
5463
  currentBlock = index.h("landing-validation", null);
5464
5464
  }
5465
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.MOBILE) {
5465
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.MOBILE) {
5466
5466
  currentBlock = index.h("mobile-redirect", null);
5467
5467
  }
5468
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.AGREEMENT) {
5468
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.AGREEMENT) {
5469
5469
  currentBlock = index.h("agreement-info", null);
5470
5470
  }
5471
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.PHONE) {
5471
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.PHONE) {
5472
5472
  currentBlock = index.h("sms-send", null);
5473
5473
  }
5474
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.CODE) {
5474
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.CODE) {
5475
5475
  currentBlock = index.h("sms-code-validation", null);
5476
5476
  }
5477
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.CODEERROR) {
5477
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.CODEERROR) {
5478
5478
  currentBlock = index.h("sms-code-validation", null);
5479
5479
  }
5480
- if ([TranslationUtils.FlowStatus.IDFRONT, TranslationUtils.FlowStatus.IDBACK, TranslationUtils.FlowStatus.IDTILT].includes(TranslationUtils.state.flowStatus)) {
5481
- currentBlock = index.h("process-id", null);
5480
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDFRONT) {
5481
+ currentBlock = index.h("process-id", { mode: "front" });
5482
+ }
5483
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDBACK) {
5484
+ currentBlock = index.h("process-id", { mode: "back" });
5485
+ }
5486
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDTILT) {
5487
+ currentBlock = index.h("process-id", { mode: "tilt" });
5488
+ }
5489
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESS) {
5490
+ currentBlock = index.h("user-liveness", { mode: "selfie" });
5482
5491
  }
5483
- if ([TranslationUtils.FlowStatus.LIVENESS, TranslationUtils.FlowStatus.LIVENESSGESTURE].includes(TranslationUtils.state.flowStatus)) {
5484
- currentBlock = index.h("user-liveness", null);
5492
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSGESTURE) {
5493
+ currentBlock = index.h("user-liveness", { mode: "selfieGesture" });
5485
5494
  }
5486
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.COMPLETE) {
5495
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.COMPLETE) {
5487
5496
  currentBlock = index.h("end-redirect", null);
5488
5497
  }
5489
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.ERROREND) {
5498
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.ERROREND) {
5490
5499
  currentBlock = index.h("error-end", { errorTitle: this.errorTitle, message: this.errorMessage });
5491
5500
  }
5492
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.CAMERAERROR) {
5501
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.CAMERAERROR) {
5493
5502
  currentBlock = index.h("camera-error", null);
5494
5503
  }
5495
5504
  return index.h("div", null, currentBlock);
@@ -8551,6 +8560,7 @@ const ProcessId = class {
8551
8560
  index.registerInstance(this, hostRef);
8552
8561
  this.apiErrorEvent = index.createEvent(this, "apiError", 7);
8553
8562
  this.recordingResultCount = 0;
8563
+ this.mode = undefined;
8554
8564
  this.showTimeout = undefined;
8555
8565
  this.showInvalid = undefined;
8556
8566
  this.flow = undefined;
@@ -8560,7 +8570,7 @@ const ProcessId = class {
8560
8570
  this.initFlow();
8561
8571
  }
8562
8572
  initFlow() {
8563
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDFRONT) {
8573
+ if (this.mode == 'front') {
8564
8574
  this.currentStep = TranslationUtils.FlowSteps.CiFront;
8565
8575
  this.flow = {
8566
8576
  capture: {
@@ -8572,7 +8582,7 @@ const ProcessId = class {
8572
8582
  howToDone: false,
8573
8583
  };
8574
8584
  }
8575
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDBACK) {
8585
+ else if (this.mode == 'back') {
8576
8586
  this.currentStep = TranslationUtils.FlowSteps.CiBack;
8577
8587
  this.flow = {
8578
8588
  capture: {
@@ -8584,7 +8594,7 @@ const ProcessId = class {
8584
8594
  howToDone: false,
8585
8595
  };
8586
8596
  }
8587
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDTILT) {
8597
+ else if (this.mode == 'tilt') {
8588
8598
  this.currentStep = TranslationUtils.FlowSteps.CiTilt;
8589
8599
  this.flow = {
8590
8600
  capture: {
@@ -8907,6 +8917,7 @@ const UserLiveness = class {
8907
8917
  this.apiErrorEvent = index.createEvent(this, "apiError", 7);
8908
8918
  this.recordingResultCount = 0;
8909
8919
  this.recordingRetryCount = 0;
8920
+ this.mode = undefined;
8910
8921
  this.showError = undefined;
8911
8922
  this.showTimeout = undefined;
8912
8923
  this.flow = undefined;
@@ -8914,7 +8925,7 @@ const UserLiveness = class {
8914
8925
  }
8915
8926
  async componentDidLoad() { }
8916
8927
  componentWillLoad() {
8917
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESS) {
8928
+ if (this.mode == 'selfie') {
8918
8929
  this.currentStep = TranslationUtils.FlowSteps.Selfie;
8919
8930
  this.flow = {
8920
8931
  capture: {
@@ -8926,7 +8937,7 @@ const UserLiveness = class {
8926
8937
  howToDone: false,
8927
8938
  };
8928
8939
  }
8929
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSGESTURE) {
8940
+ else if (this.mode == 'selfieGesture') {
8930
8941
  this.currentStep = TranslationUtils.FlowSteps.SelfieTilt;
8931
8942
  this.flow = {
8932
8943
  capture: {
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_17.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
17
+ return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_17.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_17.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
20
+ return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_17.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
21
21
  });
22
22
 
23
23
  exports.setNonce = index.setNonce;
@@ -11,6 +11,7 @@ import { ApiCall } from '../../../helpers/ApiCall';
11
11
  export class ProcessId {
12
12
  constructor() {
13
13
  this.recordingResultCount = 0;
14
+ this.mode = undefined;
14
15
  this.showTimeout = undefined;
15
16
  this.showInvalid = undefined;
16
17
  this.flow = undefined;
@@ -20,7 +21,7 @@ export class ProcessId {
20
21
  this.initFlow();
21
22
  }
22
23
  initFlow() {
23
- if (store.flowStatus == FlowStatus.IDFRONT) {
24
+ if (this.mode == 'front') {
24
25
  this.currentStep = FlowSteps.CiFront;
25
26
  this.flow = {
26
27
  capture: {
@@ -32,7 +33,7 @@ export class ProcessId {
32
33
  howToDone: false,
33
34
  };
34
35
  }
35
- else if (store.flowStatus == FlowStatus.IDBACK) {
36
+ else if (this.mode == 'back') {
36
37
  this.currentStep = FlowSteps.CiBack;
37
38
  this.flow = {
38
39
  capture: {
@@ -44,7 +45,7 @@ export class ProcessId {
44
45
  howToDone: false,
45
46
  };
46
47
  }
47
- else if (store.flowStatus == FlowStatus.IDTILT) {
48
+ else if (this.mode == 'tilt') {
48
49
  this.currentStep = FlowSteps.CiTilt;
49
50
  this.flow = {
50
51
  capture: {
@@ -155,6 +156,27 @@ export class ProcessId {
155
156
  "$": ["process-id.css"]
156
157
  };
157
158
  }
159
+ static get properties() {
160
+ return {
161
+ "mode": {
162
+ "type": "string",
163
+ "mutable": false,
164
+ "complexType": {
165
+ "original": "string",
166
+ "resolved": "string",
167
+ "references": {}
168
+ },
169
+ "required": false,
170
+ "optional": false,
171
+ "docs": {
172
+ "tags": [],
173
+ "text": ""
174
+ },
175
+ "attribute": "mode",
176
+ "reflect": false
177
+ }
178
+ };
179
+ }
158
180
  static get states() {
159
181
  return {
160
182
  "showTimeout": {},
@@ -11,6 +11,7 @@ export class UserLiveness {
11
11
  constructor() {
12
12
  this.recordingResultCount = 0;
13
13
  this.recordingRetryCount = 0;
14
+ this.mode = undefined;
14
15
  this.showError = undefined;
15
16
  this.showTimeout = undefined;
16
17
  this.flow = undefined;
@@ -18,7 +19,7 @@ export class UserLiveness {
18
19
  }
19
20
  async componentDidLoad() { }
20
21
  componentWillLoad() {
21
- if (store.flowStatus == FlowStatus.LIVENESS) {
22
+ if (this.mode == 'selfie') {
22
23
  this.currentStep = FlowSteps.Selfie;
23
24
  this.flow = {
24
25
  capture: {
@@ -30,7 +31,7 @@ export class UserLiveness {
30
31
  howToDone: false,
31
32
  };
32
33
  }
33
- else if (store.flowStatus == FlowStatus.LIVENESSGESTURE) {
34
+ else if (this.mode == 'selfieGesture') {
34
35
  this.currentStep = FlowSteps.SelfieTilt;
35
36
  this.flow = {
36
37
  capture: {
@@ -140,6 +141,27 @@ export class UserLiveness {
140
141
  "$": ["user-liveness.css"]
141
142
  };
142
143
  }
144
+ static get properties() {
145
+ return {
146
+ "mode": {
147
+ "type": "string",
148
+ "mutable": false,
149
+ "complexType": {
150
+ "original": "string",
151
+ "resolved": "string",
152
+ "references": {}
153
+ },
154
+ "required": false,
155
+ "optional": false,
156
+ "docs": {
157
+ "tags": [],
158
+ "text": ""
159
+ },
160
+ "attribute": "mode",
161
+ "reflect": false
162
+ }
163
+ };
164
+ }
143
165
  static get states() {
144
166
  return {
145
167
  "showError": {},
@@ -174,34 +174,43 @@ export class IdentificationComponent {
174
174
  if (store.flowStatus == FlowStatus.LANDING) {
175
175
  currentBlock = h("landing-validation", null);
176
176
  }
177
- if (store.flowStatus == FlowStatus.MOBILE) {
177
+ else if (store.flowStatus == FlowStatus.MOBILE) {
178
178
  currentBlock = h("mobile-redirect", null);
179
179
  }
180
- if (store.flowStatus == FlowStatus.AGREEMENT) {
180
+ else if (store.flowStatus == FlowStatus.AGREEMENT) {
181
181
  currentBlock = h("agreement-info", null);
182
182
  }
183
- if (store.flowStatus == FlowStatus.PHONE) {
183
+ else if (store.flowStatus == FlowStatus.PHONE) {
184
184
  currentBlock = h("sms-send", null);
185
185
  }
186
- if (store.flowStatus == FlowStatus.CODE) {
186
+ else if (store.flowStatus == FlowStatus.CODE) {
187
187
  currentBlock = h("sms-code-validation", null);
188
188
  }
189
- if (store.flowStatus == FlowStatus.CODEERROR) {
189
+ else if (store.flowStatus == FlowStatus.CODEERROR) {
190
190
  currentBlock = h("sms-code-validation", null);
191
191
  }
192
- if ([FlowStatus.IDFRONT, FlowStatus.IDBACK, FlowStatus.IDTILT].includes(store.flowStatus)) {
193
- currentBlock = h("process-id", null);
192
+ else if (store.flowStatus == FlowStatus.IDFRONT) {
193
+ currentBlock = h("process-id", { mode: "front" });
194
194
  }
195
- if ([FlowStatus.LIVENESS, FlowStatus.LIVENESSGESTURE].includes(store.flowStatus)) {
196
- currentBlock = h("user-liveness", null);
195
+ else if (store.flowStatus == FlowStatus.IDBACK) {
196
+ currentBlock = h("process-id", { mode: "back" });
197
197
  }
198
- if (store.flowStatus == FlowStatus.COMPLETE) {
198
+ else if (store.flowStatus == FlowStatus.IDTILT) {
199
+ currentBlock = h("process-id", { mode: "tilt" });
200
+ }
201
+ else if (store.flowStatus == FlowStatus.LIVENESS) {
202
+ currentBlock = h("user-liveness", { mode: "selfie" });
203
+ }
204
+ else if (store.flowStatus == FlowStatus.LIVENESSGESTURE) {
205
+ currentBlock = h("user-liveness", { mode: "selfieGesture" });
206
+ }
207
+ else if (store.flowStatus == FlowStatus.COMPLETE) {
199
208
  currentBlock = h("end-redirect", null);
200
209
  }
201
- if (store.flowStatus == FlowStatus.ERROREND) {
210
+ else if (store.flowStatus == FlowStatus.ERROREND) {
202
211
  currentBlock = h("error-end", { errorTitle: this.errorTitle, message: this.errorMessage });
203
212
  }
204
- if (store.flowStatus == FlowStatus.CAMERAERROR) {
213
+ else if (store.flowStatus == FlowStatus.CAMERAERROR) {
205
214
  currentBlock = h("camera-error", null);
206
215
  }
207
216
  return h("div", null, currentBlock);
@@ -5143,7 +5143,7 @@ function v4(options, buf, offset) {
5143
5143
  }
5144
5144
 
5145
5145
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5146
- const version$1 = "3.6.52";
5146
+ const version$1 = "3.6.53";
5147
5147
  const description = "Person Identification Component";
5148
5148
  const main = "./dist/index.cjs.js";
5149
5149
  const module = "./dist/index.js";
@@ -5458,34 +5458,43 @@ const IdentificationComponent = class {
5458
5458
  if (state.flowStatus == FlowStatus.LANDING) {
5459
5459
  currentBlock = h("landing-validation", null);
5460
5460
  }
5461
- if (state.flowStatus == FlowStatus.MOBILE) {
5461
+ else if (state.flowStatus == FlowStatus.MOBILE) {
5462
5462
  currentBlock = h("mobile-redirect", null);
5463
5463
  }
5464
- if (state.flowStatus == FlowStatus.AGREEMENT) {
5464
+ else if (state.flowStatus == FlowStatus.AGREEMENT) {
5465
5465
  currentBlock = h("agreement-info", null);
5466
5466
  }
5467
- if (state.flowStatus == FlowStatus.PHONE) {
5467
+ else if (state.flowStatus == FlowStatus.PHONE) {
5468
5468
  currentBlock = h("sms-send", null);
5469
5469
  }
5470
- if (state.flowStatus == FlowStatus.CODE) {
5470
+ else if (state.flowStatus == FlowStatus.CODE) {
5471
5471
  currentBlock = h("sms-code-validation", null);
5472
5472
  }
5473
- if (state.flowStatus == FlowStatus.CODEERROR) {
5473
+ else if (state.flowStatus == FlowStatus.CODEERROR) {
5474
5474
  currentBlock = h("sms-code-validation", null);
5475
5475
  }
5476
- if ([FlowStatus.IDFRONT, FlowStatus.IDBACK, FlowStatus.IDTILT].includes(state.flowStatus)) {
5477
- currentBlock = h("process-id", null);
5476
+ else if (state.flowStatus == FlowStatus.IDFRONT) {
5477
+ currentBlock = h("process-id", { mode: "front" });
5478
+ }
5479
+ else if (state.flowStatus == FlowStatus.IDBACK) {
5480
+ currentBlock = h("process-id", { mode: "back" });
5481
+ }
5482
+ else if (state.flowStatus == FlowStatus.IDTILT) {
5483
+ currentBlock = h("process-id", { mode: "tilt" });
5484
+ }
5485
+ else if (state.flowStatus == FlowStatus.LIVENESS) {
5486
+ currentBlock = h("user-liveness", { mode: "selfie" });
5478
5487
  }
5479
- if ([FlowStatus.LIVENESS, FlowStatus.LIVENESSGESTURE].includes(state.flowStatus)) {
5480
- currentBlock = h("user-liveness", null);
5488
+ else if (state.flowStatus == FlowStatus.LIVENESSGESTURE) {
5489
+ currentBlock = h("user-liveness", { mode: "selfieGesture" });
5481
5490
  }
5482
- if (state.flowStatus == FlowStatus.COMPLETE) {
5491
+ else if (state.flowStatus == FlowStatus.COMPLETE) {
5483
5492
  currentBlock = h("end-redirect", null);
5484
5493
  }
5485
- if (state.flowStatus == FlowStatus.ERROREND) {
5494
+ else if (state.flowStatus == FlowStatus.ERROREND) {
5486
5495
  currentBlock = h("error-end", { errorTitle: this.errorTitle, message: this.errorMessage });
5487
5496
  }
5488
- if (state.flowStatus == FlowStatus.CAMERAERROR) {
5497
+ else if (state.flowStatus == FlowStatus.CAMERAERROR) {
5489
5498
  currentBlock = h("camera-error", null);
5490
5499
  }
5491
5500
  return h("div", null, currentBlock);
@@ -8547,6 +8556,7 @@ const ProcessId = class {
8547
8556
  registerInstance(this, hostRef);
8548
8557
  this.apiErrorEvent = createEvent(this, "apiError", 7);
8549
8558
  this.recordingResultCount = 0;
8559
+ this.mode = undefined;
8550
8560
  this.showTimeout = undefined;
8551
8561
  this.showInvalid = undefined;
8552
8562
  this.flow = undefined;
@@ -8556,7 +8566,7 @@ const ProcessId = class {
8556
8566
  this.initFlow();
8557
8567
  }
8558
8568
  initFlow() {
8559
- if (state.flowStatus == FlowStatus.IDFRONT) {
8569
+ if (this.mode == 'front') {
8560
8570
  this.currentStep = FlowSteps.CiFront;
8561
8571
  this.flow = {
8562
8572
  capture: {
@@ -8568,7 +8578,7 @@ const ProcessId = class {
8568
8578
  howToDone: false,
8569
8579
  };
8570
8580
  }
8571
- else if (state.flowStatus == FlowStatus.IDBACK) {
8581
+ else if (this.mode == 'back') {
8572
8582
  this.currentStep = FlowSteps.CiBack;
8573
8583
  this.flow = {
8574
8584
  capture: {
@@ -8580,7 +8590,7 @@ const ProcessId = class {
8580
8590
  howToDone: false,
8581
8591
  };
8582
8592
  }
8583
- else if (state.flowStatus == FlowStatus.IDTILT) {
8593
+ else if (this.mode == 'tilt') {
8584
8594
  this.currentStep = FlowSteps.CiTilt;
8585
8595
  this.flow = {
8586
8596
  capture: {
@@ -8903,6 +8913,7 @@ const UserLiveness = class {
8903
8913
  this.apiErrorEvent = createEvent(this, "apiError", 7);
8904
8914
  this.recordingResultCount = 0;
8905
8915
  this.recordingRetryCount = 0;
8916
+ this.mode = undefined;
8906
8917
  this.showError = undefined;
8907
8918
  this.showTimeout = undefined;
8908
8919
  this.flow = undefined;
@@ -8910,7 +8921,7 @@ const UserLiveness = class {
8910
8921
  }
8911
8922
  async componentDidLoad() { }
8912
8923
  componentWillLoad() {
8913
- if (state.flowStatus == FlowStatus.LIVENESS) {
8924
+ if (this.mode == 'selfie') {
8914
8925
  this.currentStep = FlowSteps.Selfie;
8915
8926
  this.flow = {
8916
8927
  capture: {
@@ -8922,7 +8933,7 @@ const UserLiveness = class {
8922
8933
  howToDone: false,
8923
8934
  };
8924
8935
  }
8925
- else if (state.flowStatus == FlowStatus.LIVENESSGESTURE) {
8936
+ else if (this.mode == 'selfieGesture') {
8926
8937
  this.currentStep = FlowSteps.SelfieTilt;
8927
8938
  this.flow = {
8928
8939
  capture: {
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_17",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
14
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_17",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
15
15
  });
16
16
  };
17
17
 
@@ -14,5 +14,5 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_17",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
17
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_17",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
18
18
  });