@ekyc_qoobiss/qbs-ect-cmp 3.6.65 → 3.6.67

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.
@@ -4795,10 +4795,19 @@ const ErrorEnd = class {
4795
4795
  };
4796
4796
  ErrorEnd.style = errorEndCss;
4797
4797
 
4798
+ var IDPose;
4799
+ (function (IDPose) {
4800
+ IDPose[IDPose["Straight"] = 0] = "Straight";
4801
+ IDPose[IDPose["Tilted"] = 1] = "Tilted";
4802
+ IDPose[IDPose["Rotate"] = 2] = "Rotate";
4803
+ IDPose[IDPose["BackStraight"] = 3] = "BackStraight";
4804
+ IDPose[IDPose["BackTilted"] = 4] = "BackTilted";
4805
+ })(IDPose || (IDPose = {}));
4806
+
4798
4807
  const howToInfoCss = "";
4799
4808
 
4800
4809
  const HowToInfo = class {
4801
- constructor(hostRef) { index.registerInstance(this, hostRef); this.apiErrorEvent = index.createEvent(this, "apiError", 7); this.topTitle = undefined; this.subTitle = undefined; this.imagePath = undefined; this.buttonText = undefined; this.buttonEnabled = undefined; }
4810
+ constructor(hostRef) { index.registerInstance(this, hostRef); this.apiErrorEvent = index.createEvent(this, "apiError", 7); this.showVideo = undefined; this.topTitle = undefined; this.subTitle = undefined; this.imagePath = undefined; this.buttonText = undefined; this.buttonEnabled = undefined; this.demoVideo = undefined; }
4802
4811
  async componentDidLoad() {
4803
4812
  await BaseComponent.initialize(this.currentStep);
4804
4813
  }
@@ -4810,21 +4819,28 @@ const HowToInfo = class {
4810
4819
  TranslationUtils.state.flowStatus = await TranslationUtils.ApiCall.instance.GetNextFlowState();
4811
4820
  }
4812
4821
  async componentWillLoad() {
4822
+ this.showVideo = false;
4813
4823
  this.translations = await TranslationUtils.Translations.getValues();
4814
4824
  this.subTitle = '';
4815
4825
  this.buttonEnabled = true;
4816
- this.topTitle = this.translations.HowToValues.IdTitile;
4817
- this.imagePath = 'https://ekyc.blob.core.windows.net/$web/howto_id.png';
4818
4826
  this.buttonText = this.translations.HowToValues.IdButton;
4819
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDFRONT) {
4827
+ if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDFRONTHOWTO) {
4828
+ this.topTitle = this.translations.HowToValues.IdTitile;
4829
+ this.imagePath = 'https://ekyc.blob.core.windows.net/$web/howto_id.png';
4820
4830
  this.currentStep = TranslationUtils.FlowSteps.CiFrontHowTo;
4821
4831
  this.subTitle = this.translations.HowToValues.IdSubTitileFace;
4822
4832
  }
4823
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDBACK) {
4833
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDBACKHOWTO) {
4824
4834
  this.currentStep = TranslationUtils.FlowSteps.CiBackHowTo;
4825
- this.subTitle = this.translations.HowToValues.IdSubTitileBack;
4835
+ this.subTitle = '';
4836
+ this.topTitle = this.translations.IdCaptureValues.TitleBack;
4837
+ this.demoVideo.src = TranslationUtils.IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
4838
+ this.demoVideo.play();
4839
+ this.showVideo = true;
4840
+ await delay(this.translations.GlobalValues.VideoLenght);
4841
+ await this.buttonClick();
4826
4842
  }
4827
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESS) {
4843
+ else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSHOWTO) {
4828
4844
  this.currentStep = TranslationUtils.FlowSteps.SelfieHowTo;
4829
4845
  this.topTitle = this.translations.HowToValues.SelfieTitile;
4830
4846
  this.subTitle = this.translations.HowToValues.SelfieSubTitile;
@@ -4833,8 +4849,7 @@ const HowToInfo = class {
4833
4849
  }
4834
4850
  }
4835
4851
  render() {
4836
- let sub = this.subTitle != '' ? index.h("p", { class: "font-size-2" }, this.subTitle) : null;
4837
- return (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { class: "div-ci align-center" }, index.h("img", { src: this.imagePath })), index.h("div", { class: "text-center" }, index.h("h1", null, this.topTitle), sub), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
4852
+ return (index.h("div", { class: "container" }, index.h("div", { class: "row", hidden: TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSGESTUREHOWTO }, index.h("div", { class: "div-ci align-center", hidden: this.showVideo }, index.h("img", { src: this.imagePath })), index.h("div", { hidden: this.showVideo == false }, index.h("video", { id: "howTo", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, index.h("source", { type: "video/mp4" }))), index.h("div", { class: "text-center" }, index.h("h1", null, this.topTitle), index.h("p", { class: "font-size-2", hidden: this.subTitle == '' }, this.subTitle)), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(), hidden: this.showVideo == true }, this.buttonText), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
4838
4853
  }
4839
4854
  };
4840
4855
  HowToInfo.style = howToInfoCss;
@@ -4981,15 +4996,6 @@ class Cameras {
4981
4996
  }
4982
4997
  }
4983
4998
 
4984
- var IDPose;
4985
- (function (IDPose) {
4986
- IDPose[IDPose["Straight"] = 0] = "Straight";
4987
- IDPose[IDPose["Tilted"] = 1] = "Tilted";
4988
- IDPose[IDPose["Rotate"] = 2] = "Rotate";
4989
- IDPose[IDPose["BackStraight"] = 3] = "BackStraight";
4990
- IDPose[IDPose["BackTilted"] = 4] = "BackTilted";
4991
- })(IDPose || (IDPose = {}));
4992
-
4993
4999
  const idCaptureCss = ".logo{max-height:450px;max-width:450px}.canvas-on-video{max-width:100%;max-height:100%;position:absolute;z-index:2;transform:scale(-1, 1)}";
4994
5000
 
4995
5001
  const IdCapture = class {
@@ -5048,12 +5054,6 @@ const IdCapture = class {
5048
5054
  console.log('id-capture | componentDidLoad');
5049
5055
  this.initVariables();
5050
5056
  await BaseComponent.logStep(this.flowStep, TranslationUtils.FlowMoments.Initialized);
5051
- if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDBACK) {
5052
- this.demoVideo.src = TranslationUtils.IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
5053
- this.demoVideo.play();
5054
- await delay(this.translations.GlobalValues.VideoLenght);
5055
- this.titleMesage = this.translations.IdCaptureValues.TitleBack;
5056
- }
5057
5057
  this.demoVideo.src = TranslationUtils.IdCaptureValues.IDPoseDemoMapping[this.pose];
5058
5058
  this.demoVideo.play();
5059
5059
  await delay(this.translations.GlobalValues.VideoLenght);
@@ -5208,7 +5208,7 @@ function v4(options, buf, offset) {
5208
5208
  }
5209
5209
 
5210
5210
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5211
- const version$1 = "3.6.65";
5211
+ const version$1 = "3.6.67";
5212
5212
  const description = "Person Identification Component";
5213
5213
  const main = "./dist/index.cjs.js";
5214
5214
  const module$1 = "./dist/index.js";
@@ -5561,7 +5561,7 @@ const IdentificationComponent = class {
5561
5561
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDTILTHOWTO) {
5562
5562
  if (TranslationUtils.state.debug)
5563
5563
  console.log('identification-component | render | IDTILTHOWTO');
5564
- currentBlock = index.h("how-to-info", null);
5564
+ currentBlock = index.h("state-transition", null);
5565
5565
  }
5566
5566
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDTILT) {
5567
5567
  if (TranslationUtils.state.debug)
@@ -5581,7 +5581,7 @@ const IdentificationComponent = class {
5581
5581
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSGESTUREHOWTO) {
5582
5582
  if (TranslationUtils.state.debug)
5583
5583
  console.log('identification-component | render | LIVENESSGESTUREHOWTO');
5584
- currentBlock = index.h("how-to-info", null);
5584
+ currentBlock = index.h("state-transition", null);
5585
5585
  }
5586
5586
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSGESTURE) {
5587
5587
  if (TranslationUtils.state.debug)
@@ -9043,6 +9043,21 @@ const SmsSend = class {
9043
9043
  };
9044
9044
  SmsSend.style = smsSendCss;
9045
9045
 
9046
+ const stateTransitionCss = "";
9047
+
9048
+ const StateTransition = class {
9049
+ constructor(hostRef) {
9050
+ index.registerInstance(this, hostRef);
9051
+ }
9052
+ async componentWillLoad() {
9053
+ TranslationUtils.state.flowStatus = await TranslationUtils.ApiCall.instance.GetNextFlowState();
9054
+ }
9055
+ render() {
9056
+ return (index.h("div", { class: "container" }, index.h("div", { class: "row" })));
9057
+ }
9058
+ };
9059
+ StateTransition.style = stateTransitionCss;
9060
+
9046
9061
  const userLivenessCss = "";
9047
9062
 
9048
9063
  const UserLiveness = class {
@@ -9205,4 +9220,5 @@ exports.process_id = ProcessId;
9205
9220
  exports.selfie_capture = SelfieCapture;
9206
9221
  exports.sms_code_validation = SmsCodeValidation;
9207
9222
  exports.sms_send = SmsSend;
9223
+ exports.state_transition = StateTransition;
9208
9224
  exports.user_liveness = UserLiveness;
@@ -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",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[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,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[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],"title":[32],"details":[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,"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_18.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,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[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,"how-to-info",{"showVideo":[32],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32],"demoVideo":[32]}],[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],"title":[32],"details":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"state-transition"],[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,"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",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[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,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[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],"title":[32],"details":[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,"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_18.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,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[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,"how-to-info",{"showVideo":[32],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32],"demoVideo":[32]}],[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],"title":[32],"details":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"state-transition"],[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,"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;
@@ -7,6 +7,7 @@
7
7
  "./components/common/id-capture/id-capture.js",
8
8
  "./components/common/random-actions/random-actions.js",
9
9
  "./components/common/selfie-capture/selfie-capture.js",
10
+ "./components/common/state-transition/state-transition.js",
10
11
  "./components/controls/camera/camera.js",
11
12
  "./components/controls/loader-dots/loader-dots.js",
12
13
  "./components/flow/agreement-info/agreement-info.js",
@@ -5,8 +5,11 @@ import { BaseComponent } from '../../base-component';
5
5
  import { FlowSteps } from '../../../models/FlowSteps';
6
6
  import { Translations } from '../../../helpers/TranslationUtils';
7
7
  import { ApiCall } from '../../../helpers/ApiCall';
8
+ import { IdCaptureValues } from '../../../helpers/textValues';
9
+ import { delay } from '../../../utils/utils';
10
+ import { IDPose } from '../../../libs/IDML5Detector/IDPose';
8
11
  export class HowToInfo {
9
- constructor() { this.topTitle = undefined; this.subTitle = undefined; this.imagePath = undefined; this.buttonText = undefined; this.buttonEnabled = undefined; }
12
+ constructor() { this.showVideo = undefined; this.topTitle = undefined; this.subTitle = undefined; this.imagePath = undefined; this.buttonText = undefined; this.buttonEnabled = undefined; this.demoVideo = undefined; }
10
13
  async componentDidLoad() {
11
14
  await BaseComponent.initialize(this.currentStep);
12
15
  }
@@ -18,21 +21,28 @@ export class HowToInfo {
18
21
  store.flowStatus = await ApiCall.instance.GetNextFlowState();
19
22
  }
20
23
  async componentWillLoad() {
24
+ this.showVideo = false;
21
25
  this.translations = await Translations.getValues();
22
26
  this.subTitle = '';
23
27
  this.buttonEnabled = true;
24
- this.topTitle = this.translations.HowToValues.IdTitile;
25
- this.imagePath = 'https://ekyc.blob.core.windows.net/$web/howto_id.png';
26
28
  this.buttonText = this.translations.HowToValues.IdButton;
27
- if (store.flowStatus == FlowStatus.IDFRONT) {
29
+ if (store.flowStatus == FlowStatus.IDFRONTHOWTO) {
30
+ this.topTitle = this.translations.HowToValues.IdTitile;
31
+ this.imagePath = 'https://ekyc.blob.core.windows.net/$web/howto_id.png';
28
32
  this.currentStep = FlowSteps.CiFrontHowTo;
29
33
  this.subTitle = this.translations.HowToValues.IdSubTitileFace;
30
34
  }
31
- else if (store.flowStatus == FlowStatus.IDBACK) {
35
+ else if (store.flowStatus == FlowStatus.IDBACKHOWTO) {
32
36
  this.currentStep = FlowSteps.CiBackHowTo;
33
- this.subTitle = this.translations.HowToValues.IdSubTitileBack;
37
+ this.subTitle = '';
38
+ this.topTitle = this.translations.IdCaptureValues.TitleBack;
39
+ this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
40
+ this.demoVideo.play();
41
+ this.showVideo = true;
42
+ await delay(this.translations.GlobalValues.VideoLenght);
43
+ await this.buttonClick();
34
44
  }
35
- if (store.flowStatus == FlowStatus.LIVENESS) {
45
+ else if (store.flowStatus == FlowStatus.LIVENESSHOWTO) {
36
46
  this.currentStep = FlowSteps.SelfieHowTo;
37
47
  this.topTitle = this.translations.HowToValues.SelfieTitile;
38
48
  this.subTitle = this.translations.HowToValues.SelfieSubTitile;
@@ -41,8 +51,7 @@ export class HowToInfo {
41
51
  }
42
52
  }
43
53
  render() {
44
- let sub = this.subTitle != '' ? h("p", { class: "font-size-2" }, this.subTitle) : null;
45
- return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "div-ci align-center" }, h("img", { src: this.imagePath })), h("div", { class: "text-center" }, h("h1", null, this.topTitle), sub), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
54
+ return (h("div", { class: "container" }, h("div", { class: "row", hidden: store.flowStatus == FlowStatus.LIVENESSGESTUREHOWTO }, h("div", { class: "div-ci align-center", hidden: this.showVideo }, h("img", { src: this.imagePath })), h("div", { hidden: this.showVideo == false }, h("video", { id: "howTo", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "text-center" }, h("h1", null, this.topTitle), h("p", { class: "font-size-2", hidden: this.subTitle == '' }, this.subTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(), hidden: this.showVideo == true }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
46
55
  }
47
56
  static get is() { return "how-to-info"; }
48
57
  static get originalStyleUrls() {
@@ -57,11 +66,13 @@ export class HowToInfo {
57
66
  }
58
67
  static get states() {
59
68
  return {
69
+ "showVideo": {},
60
70
  "topTitle": {},
61
71
  "subTitle": {},
62
72
  "imagePath": {},
63
73
  "buttonText": {},
64
- "buttonEnabled": {}
74
+ "buttonEnabled": {},
75
+ "demoVideo": {}
65
76
  };
66
77
  }
67
78
  static get events() {
@@ -65,12 +65,6 @@ export class IdCapture {
65
65
  console.log('id-capture | componentDidLoad');
66
66
  this.initVariables();
67
67
  await BaseComponent.logStep(this.flowStep, FlowMoments.Initialized);
68
- if (store.flowStatus == FlowStatus.IDBACK) {
69
- this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
70
- this.demoVideo.play();
71
- await delay(this.translations.GlobalValues.VideoLenght);
72
- this.titleMesage = this.translations.IdCaptureValues.TitleBack;
73
- }
74
68
  this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[this.pose];
75
69
  this.demoVideo.play();
76
70
  await delay(this.translations.GlobalValues.VideoLenght);
@@ -0,0 +1,22 @@
1
+ import { h } from '@stencil/core';
2
+ import store from '../../../helpers/store';
3
+ import { ApiCall } from '../../../helpers/ApiCall';
4
+ export class StateTransition {
5
+ async componentWillLoad() {
6
+ store.flowStatus = await ApiCall.instance.GetNextFlowState();
7
+ }
8
+ render() {
9
+ return (h("div", { class: "container" }, h("div", { class: "row" })));
10
+ }
11
+ static get is() { return "state-transition"; }
12
+ static get originalStyleUrls() {
13
+ return {
14
+ "$": ["state-transition.css"]
15
+ };
16
+ }
17
+ static get styleUrls() {
18
+ return {
19
+ "$": ["state-transition.css"]
20
+ };
21
+ }
22
+ }
@@ -212,7 +212,7 @@ export class IdentificationComponent {
212
212
  else if (store.flowStatus == FlowStatus.IDTILTHOWTO) {
213
213
  if (store.debug)
214
214
  console.log('identification-component | render | IDTILTHOWTO');
215
- currentBlock = h("how-to-info", null);
215
+ currentBlock = h("state-transition", null);
216
216
  }
217
217
  else if (store.flowStatus == FlowStatus.IDTILT) {
218
218
  if (store.debug)
@@ -232,7 +232,7 @@ export class IdentificationComponent {
232
232
  else if (store.flowStatus == FlowStatus.LIVENESSGESTUREHOWTO) {
233
233
  if (store.debug)
234
234
  console.log('identification-component | render | LIVENESSGESTUREHOWTO');
235
- currentBlock = h("how-to-info", null);
235
+ currentBlock = h("state-transition", null);
236
236
  }
237
237
  else if (store.flowStatus == FlowStatus.LIVENESSGESTURE) {
238
238
  if (store.debug)
@@ -4791,10 +4791,19 @@ const ErrorEnd = class {
4791
4791
  };
4792
4792
  ErrorEnd.style = errorEndCss;
4793
4793
 
4794
+ var IDPose;
4795
+ (function (IDPose) {
4796
+ IDPose[IDPose["Straight"] = 0] = "Straight";
4797
+ IDPose[IDPose["Tilted"] = 1] = "Tilted";
4798
+ IDPose[IDPose["Rotate"] = 2] = "Rotate";
4799
+ IDPose[IDPose["BackStraight"] = 3] = "BackStraight";
4800
+ IDPose[IDPose["BackTilted"] = 4] = "BackTilted";
4801
+ })(IDPose || (IDPose = {}));
4802
+
4794
4803
  const howToInfoCss = "";
4795
4804
 
4796
4805
  const HowToInfo = class {
4797
- constructor(hostRef) { registerInstance(this, hostRef); this.apiErrorEvent = createEvent(this, "apiError", 7); this.topTitle = undefined; this.subTitle = undefined; this.imagePath = undefined; this.buttonText = undefined; this.buttonEnabled = undefined; }
4806
+ constructor(hostRef) { registerInstance(this, hostRef); this.apiErrorEvent = createEvent(this, "apiError", 7); this.showVideo = undefined; this.topTitle = undefined; this.subTitle = undefined; this.imagePath = undefined; this.buttonText = undefined; this.buttonEnabled = undefined; this.demoVideo = undefined; }
4798
4807
  async componentDidLoad() {
4799
4808
  await BaseComponent.initialize(this.currentStep);
4800
4809
  }
@@ -4806,21 +4815,28 @@ const HowToInfo = class {
4806
4815
  state.flowStatus = await ApiCall.instance.GetNextFlowState();
4807
4816
  }
4808
4817
  async componentWillLoad() {
4818
+ this.showVideo = false;
4809
4819
  this.translations = await Translations.getValues();
4810
4820
  this.subTitle = '';
4811
4821
  this.buttonEnabled = true;
4812
- this.topTitle = this.translations.HowToValues.IdTitile;
4813
- this.imagePath = 'https://ekyc.blob.core.windows.net/$web/howto_id.png';
4814
4822
  this.buttonText = this.translations.HowToValues.IdButton;
4815
- if (state.flowStatus == FlowStatus.IDFRONT) {
4823
+ if (state.flowStatus == FlowStatus.IDFRONTHOWTO) {
4824
+ this.topTitle = this.translations.HowToValues.IdTitile;
4825
+ this.imagePath = 'https://ekyc.blob.core.windows.net/$web/howto_id.png';
4816
4826
  this.currentStep = FlowSteps.CiFrontHowTo;
4817
4827
  this.subTitle = this.translations.HowToValues.IdSubTitileFace;
4818
4828
  }
4819
- else if (state.flowStatus == FlowStatus.IDBACK) {
4829
+ else if (state.flowStatus == FlowStatus.IDBACKHOWTO) {
4820
4830
  this.currentStep = FlowSteps.CiBackHowTo;
4821
- this.subTitle = this.translations.HowToValues.IdSubTitileBack;
4831
+ this.subTitle = '';
4832
+ this.topTitle = this.translations.IdCaptureValues.TitleBack;
4833
+ this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
4834
+ this.demoVideo.play();
4835
+ this.showVideo = true;
4836
+ await delay(this.translations.GlobalValues.VideoLenght);
4837
+ await this.buttonClick();
4822
4838
  }
4823
- if (state.flowStatus == FlowStatus.LIVENESS) {
4839
+ else if (state.flowStatus == FlowStatus.LIVENESSHOWTO) {
4824
4840
  this.currentStep = FlowSteps.SelfieHowTo;
4825
4841
  this.topTitle = this.translations.HowToValues.SelfieTitile;
4826
4842
  this.subTitle = this.translations.HowToValues.SelfieSubTitile;
@@ -4829,8 +4845,7 @@ const HowToInfo = class {
4829
4845
  }
4830
4846
  }
4831
4847
  render() {
4832
- let sub = this.subTitle != '' ? h("p", { class: "font-size-2" }, this.subTitle) : null;
4833
- return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "div-ci align-center" }, h("img", { src: this.imagePath })), h("div", { class: "text-center" }, h("h1", null, this.topTitle), sub), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
4848
+ return (h("div", { class: "container" }, h("div", { class: "row", hidden: state.flowStatus == FlowStatus.LIVENESSGESTUREHOWTO }, h("div", { class: "div-ci align-center", hidden: this.showVideo }, h("img", { src: this.imagePath })), h("div", { hidden: this.showVideo == false }, h("video", { id: "howTo", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "text-center" }, h("h1", null, this.topTitle), h("p", { class: "font-size-2", hidden: this.subTitle == '' }, this.subTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(), hidden: this.showVideo == true }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
4834
4849
  }
4835
4850
  };
4836
4851
  HowToInfo.style = howToInfoCss;
@@ -4977,15 +4992,6 @@ class Cameras {
4977
4992
  }
4978
4993
  }
4979
4994
 
4980
- var IDPose;
4981
- (function (IDPose) {
4982
- IDPose[IDPose["Straight"] = 0] = "Straight";
4983
- IDPose[IDPose["Tilted"] = 1] = "Tilted";
4984
- IDPose[IDPose["Rotate"] = 2] = "Rotate";
4985
- IDPose[IDPose["BackStraight"] = 3] = "BackStraight";
4986
- IDPose[IDPose["BackTilted"] = 4] = "BackTilted";
4987
- })(IDPose || (IDPose = {}));
4988
-
4989
4995
  const idCaptureCss = ".logo{max-height:450px;max-width:450px}.canvas-on-video{max-width:100%;max-height:100%;position:absolute;z-index:2;transform:scale(-1, 1)}";
4990
4996
 
4991
4997
  const IdCapture = class {
@@ -5044,12 +5050,6 @@ const IdCapture = class {
5044
5050
  console.log('id-capture | componentDidLoad');
5045
5051
  this.initVariables();
5046
5052
  await BaseComponent.logStep(this.flowStep, FlowMoments.Initialized);
5047
- if (state.flowStatus == FlowStatus.IDBACK) {
5048
- this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
5049
- this.demoVideo.play();
5050
- await delay(this.translations.GlobalValues.VideoLenght);
5051
- this.titleMesage = this.translations.IdCaptureValues.TitleBack;
5052
- }
5053
5053
  this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[this.pose];
5054
5054
  this.demoVideo.play();
5055
5055
  await delay(this.translations.GlobalValues.VideoLenght);
@@ -5204,7 +5204,7 @@ function v4(options, buf, offset) {
5204
5204
  }
5205
5205
 
5206
5206
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5207
- const version$1 = "3.6.65";
5207
+ const version$1 = "3.6.67";
5208
5208
  const description = "Person Identification Component";
5209
5209
  const main = "./dist/index.cjs.js";
5210
5210
  const module = "./dist/index.js";
@@ -5557,7 +5557,7 @@ const IdentificationComponent = class {
5557
5557
  else if (state.flowStatus == FlowStatus.IDTILTHOWTO) {
5558
5558
  if (state.debug)
5559
5559
  console.log('identification-component | render | IDTILTHOWTO');
5560
- currentBlock = h("how-to-info", null);
5560
+ currentBlock = h("state-transition", null);
5561
5561
  }
5562
5562
  else if (state.flowStatus == FlowStatus.IDTILT) {
5563
5563
  if (state.debug)
@@ -5577,7 +5577,7 @@ const IdentificationComponent = class {
5577
5577
  else if (state.flowStatus == FlowStatus.LIVENESSGESTUREHOWTO) {
5578
5578
  if (state.debug)
5579
5579
  console.log('identification-component | render | LIVENESSGESTUREHOWTO');
5580
- currentBlock = h("how-to-info", null);
5580
+ currentBlock = h("state-transition", null);
5581
5581
  }
5582
5582
  else if (state.flowStatus == FlowStatus.LIVENESSGESTURE) {
5583
5583
  if (state.debug)
@@ -9039,6 +9039,21 @@ const SmsSend = class {
9039
9039
  };
9040
9040
  SmsSend.style = smsSendCss;
9041
9041
 
9042
+ const stateTransitionCss = "";
9043
+
9044
+ const StateTransition = class {
9045
+ constructor(hostRef) {
9046
+ registerInstance(this, hostRef);
9047
+ }
9048
+ async componentWillLoad() {
9049
+ state.flowStatus = await ApiCall.instance.GetNextFlowState();
9050
+ }
9051
+ render() {
9052
+ return (h("div", { class: "container" }, h("div", { class: "row" })));
9053
+ }
9054
+ };
9055
+ StateTransition.style = stateTransitionCss;
9056
+
9042
9057
  const userLivenessCss = "";
9043
9058
 
9044
9059
  const UserLiveness = class {
@@ -9185,4 +9200,4 @@ const UserLiveness = class {
9185
9200
  };
9186
9201
  UserLiveness.style = userLivenessCss;
9187
9202
 
9188
- export { AgreementCheck as agreement_check, AgreementInfo as agreement_info, Camera as camera_comp, CameraError as camera_error, CaptureError as capture_error, EndRedirect as end_redirect, ErrorEnd as error_end, HowToInfo as how_to_info, IdCapture as id_capture, IdentificationComponent as identification_component, LandingValidation as landing_validation, MobileRedirect as mobile_redirect, ProcessId as process_id, SelfieCapture as selfie_capture, SmsCodeValidation as sms_code_validation, SmsSend as sms_send, UserLiveness as user_liveness };
9203
+ export { AgreementCheck as agreement_check, AgreementInfo as agreement_info, Camera as camera_comp, CameraError as camera_error, CaptureError as capture_error, EndRedirect as end_redirect, ErrorEnd as error_end, HowToInfo as how_to_info, IdCapture as id_capture, IdentificationComponent as identification_component, LandingValidation as landing_validation, MobileRedirect as mobile_redirect, ProcessId as process_id, SelfieCapture as selfie_capture, SmsCodeValidation as sms_code_validation, SmsSend as sms_send, StateTransition as state_transition, UserLiveness as user_liveness };
@@ -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",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[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,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[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],"title":[32],"details":[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,"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_18",[[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,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[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,"how-to-info",{"showVideo":[32],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32],"demoVideo":[32]}],[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],"title":[32],"details":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"state-transition"],[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,"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",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[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,"how-to-info",{"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[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],"title":[32],"details":[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,"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_18",[[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,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[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,"how-to-info",{"showVideo":[32],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32],"demoVideo":[32]}],[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],"title":[32],"details":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"state-transition"],[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,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
18
18
  });