idmission-web-sdk 2.3.74 → 2.3.76

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.
Files changed (38) hide show
  1. package/dist/components/customer_flows/SignatureKYC.d.ts +2 -0
  2. package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
  3. package/dist/components/video_signature_capture/VideoSignatureGuides.d.ts +2 -1
  4. package/dist/components/video_signature_capture/VideoSignatureGuides.d.ts.map +1 -1
  5. package/dist/components/video_signature_capture/VideoSignaturePad.d.ts +1 -0
  6. package/dist/components/video_signature_capture/VideoSignaturePad.d.ts.map +1 -1
  7. package/dist/components/video_signature_capture/VideoSignatureWizard.d.ts +2 -1
  8. package/dist/components/video_signature_capture/VideoSignatureWizard.d.ts.map +1 -1
  9. package/dist/lib/locales/de.d.ts +1 -0
  10. package/dist/lib/locales/de.d.ts.map +1 -1
  11. package/dist/lib/locales/es.d.ts +1 -0
  12. package/dist/lib/locales/es.d.ts.map +1 -1
  13. package/dist/lib/locales/fr.d.ts +1 -0
  14. package/dist/lib/locales/fr.d.ts.map +1 -1
  15. package/dist/lib/locales/index.d.ts +8 -0
  16. package/dist/lib/locales/index.d.ts.map +1 -1
  17. package/dist/lib/locales/it.d.ts +1 -0
  18. package/dist/lib/locales/it.d.ts.map +1 -1
  19. package/dist/lib/locales/ja.d.ts +1 -0
  20. package/dist/lib/locales/ja.d.ts.map +1 -1
  21. package/dist/lib/locales/pt.d.ts +1 -0
  22. package/dist/lib/locales/pt.d.ts.map +1 -1
  23. package/dist/lib/locales/ru.d.ts +1 -0
  24. package/dist/lib/locales/ru.d.ts.map +1 -1
  25. package/dist/lib/locales/zh.d.ts +1 -0
  26. package/dist/lib/locales/zh.d.ts.map +1 -1
  27. package/dist/sdk2.cjs.development.js +125 -84
  28. package/dist/sdk2.cjs.development.js.map +1 -1
  29. package/dist/sdk2.cjs.production.js +1 -1
  30. package/dist/sdk2.cjs.production.js.map +1 -1
  31. package/dist/sdk2.esm.js +125 -84
  32. package/dist/sdk2.esm.js.map +1 -1
  33. package/dist/sdk2.umd.development.js +125 -84
  34. package/dist/sdk2.umd.development.js.map +1 -1
  35. package/dist/sdk2.umd.production.js +1 -1
  36. package/dist/sdk2.umd.production.js.map +1 -1
  37. package/dist/version.d.ts +1 -1
  38. package/package.json +1 -1
@@ -236,7 +236,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
236
236
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
237
237
  };
238
238
 
239
- var webSdkVersion = '2.3.74';
239
+ var webSdkVersion = '2.3.76';
240
240
 
241
241
  function getPlatform() {
242
242
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -525,7 +525,7 @@ var OverlayInner$2 = styled__default.default.div(templateObject_2$G || (template
525
525
  });
526
526
  var OverlayImageContainer = styled__default.default.div(templateObject_3$t || (templateObject_3$t = __makeTemplateObject(["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"], ["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"])));
527
527
  var OverlayImageRow = styled__default.default.div(templateObject_4$n || (templateObject_4$n = __makeTemplateObject(["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100% - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n object-fit: contain;\n }\n }\n"], ["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100% - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n object-fit: contain;\n }\n }\n"])));
528
- var GrayOverlayContainer = styled__default.default(OverlayContainer)(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n background: #f7f6fb;\n"], ["\n background: #f7f6fb;\n"])));
528
+ var GrayOverlayContainer = styled__default.default(OverlayContainer)(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["\n background: #f7f6fb;\n"], ["\n background: #f7f6fb;\n"])));
529
529
  var ButtonsColumn = styled__default.default.div(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 15px 0;\n justify-content: center;\n margin-top: 24px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 15px 0;\n justify-content: center;\n margin-top: 24px;\n"])));
530
530
  var WideButton = styled__default.default(LoaderButton)(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n width: 100%;\n border-radius: 30px;\n"], ["\n width: 100%;\n border-radius: 30px;\n"])));
531
531
  var WideBorderButton = styled__default.default(WideButton)(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n color: ", ";\n background: ", ";\n border: 1px solid\n ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n background: ", ";\n border: 1px solid\n ", ";\n box-sizing: border-box;\n"])), function (props) {
@@ -565,7 +565,7 @@ var LoadingOverlayLoadingListItem = styled__default.default.li(templateObject_19
565
565
  var LoadingOverlayProgressContainer = styled__default.default.div(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
566
566
  var LoadingOverlayCustomLoadingGraphic = styled__default.default.img(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n transform-style: preserve-3d;\n"], ["\n transform-style: preserve-3d;\n"])));
567
567
  var LoadingOverlayContinueButtonContainer = styled__default.default.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
568
- var templateObject_1$N, templateObject_2$G, templateObject_3$t, templateObject_4$n, templateObject_5$e, templateObject_6$9, templateObject_7$5, templateObject_8$4, templateObject_9$2, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22;
568
+ var templateObject_1$N, templateObject_2$G, templateObject_3$t, templateObject_4$n, templateObject_5$f, templateObject_6$9, templateObject_7$5, templateObject_8$4, templateObject_9$2, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22;
569
569
 
570
570
  var GeolocationAccessDeniedOverlay = function GeolocationAccessDeniedOverlay(_a) {
571
571
  var accessBlockedImageUrl = _a.accessBlockedImageUrl;
@@ -3891,7 +3891,8 @@ var es = {
3891
3891
  'Upload the back of the ID if it is not included in the front image.': 'Adjuntar el reverso de la ID si no se incluye en la imagen del frente',
3892
3892
  'Camera tampering detected': 'Se ha detectado un intento de manipulación de la cámara',
3893
3893
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Lo sentimos, pero parece que la cámara está siendo manipulada. Por favor, verifique su dispositivo y vuelva a intentarlo recargando la página.',
3894
- 'Position your face in the circle and click to capture.': 'Enfoca tu cara en el círculo y da clic en capturar.'
3894
+ 'Position your face in the circle and click to capture.': 'Enfoca tu cara en el círculo y da clic en capturar.',
3895
+ 'Sign here': 'Firma aquí'
3895
3896
  };
3896
3897
 
3897
3898
  var de = {
@@ -4021,7 +4022,8 @@ var de = {
4021
4022
  'Upload the back of the ID if it is not included in the front image.': 'Laden Sie die Rückseite des Ausweises hoch, wenn diese nicht im Bild der Vorderseite enthalten ist.',
4022
4023
  'Camera tampering detected': 'Kamera manipuliert',
4023
4024
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Leider scheint die Kamera manipuliert zu werden. Bitte prüfen Sie Ihr Gerät und laden Sie die Seite neu.',
4024
- 'Position your face in the circle and click to capture.': 'Stellen Sie Ihr Gesicht im Kreis ein und klicken Sie auf Erfassen.'
4025
+ 'Position your face in the circle and click to capture.': 'Stellen Sie Ihr Gesicht im Kreis ein und klicken Sie auf Erfassen.',
4026
+ 'Sign here': 'Hier unterschreiben'
4025
4027
  };
4026
4028
 
4027
4029
  var fr = {
@@ -4151,7 +4153,8 @@ var fr = {
4151
4153
  'Upload the back of the ID if it is not included in the front image.': "Téléchargez le verso de la pièce d'identité si ce n'est pas inclus dans l'image du recto.",
4152
4154
  'Camera tampering detected': 'Manipulation de la caméra détectée',
4153
4155
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Nous sommes désolés, mais il semble que la caméra soit manipulée. Veuillez vérifier votre appareil et réessayer en rechargeant la page.',
4154
- 'Position your face in the circle and click to capture.': 'Positionnez votre visage dans le cercle et cliquez pour capturer.'
4156
+ 'Position your face in the circle and click to capture.': 'Positionnez votre visage dans le cercle et cliquez pour capturer.',
4157
+ 'Sign here': 'Signer ici'
4155
4158
  };
4156
4159
 
4157
4160
  var it = {
@@ -4281,7 +4284,8 @@ var it = {
4281
4284
  'Upload the back of the ID if it is not included in the front image.': "Carica il retro dell'ID se non è incluso nell'immagine del fronte.",
4282
4285
  'Camera tampering detected': 'Manipolazione della fotocamera rilevata',
4283
4286
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Siamo spiacenti, ma sembra che la fotocamera stia venendo manipolata. Controlla il tuo dispositivo e riprova ricaricando la pagina.',
4284
- 'Position your face in the circle and click to capture.': 'Posiziona il tuo volto nel cerchio e clicca per acquisire.'
4287
+ 'Position your face in the circle and click to capture.': 'Posiziona il tuo volto nel cerchio e clicca per acquisire.',
4288
+ 'Sign here': 'Firma qui'
4285
4289
  };
4286
4290
 
4287
4291
  var ja = {
@@ -4411,7 +4415,8 @@ var ja = {
4411
4415
  'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。',
4412
4416
  'Camera tampering detected': 'カメラの操作が検出されました',
4413
4417
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'カメラの操作が検出されました。デバイスを確認し、ページを再読み込みしてください。',
4414
- 'Position your face in the circle and click to capture.': '顔を円の中に合わせてクリックして撮影してください。'
4418
+ 'Position your face in the circle and click to capture.': '顔を円の中に合わせてクリックして撮影してください。',
4419
+ 'Sign here': 'ここに署名'
4415
4420
  };
4416
4421
 
4417
4422
  var pt = {
@@ -4541,7 +4546,8 @@ var pt = {
4541
4546
  'Upload the back of the ID if it is not included in the front image.': 'Carregue o verso do ID se não estiver incluído na imagem da frente.',
4542
4547
  'Camera tampering detected': 'Manipulação da câmera detectada',
4543
4548
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Lamentamos, mas parece que a câmera está sendo manipulada. Verifique seu dispositivo e tente novamente recarregando a página.',
4544
- 'Position your face in the circle and click to capture.': 'Posicione seu rosto no círculo e clique para capturar.'
4549
+ 'Position your face in the circle and click to capture.': 'Posicione seu rosto no círculo e clique para capturar.',
4550
+ 'Sign here': 'Assinar aqui'
4545
4551
  };
4546
4552
 
4547
4553
  var ru = {
@@ -4671,7 +4677,8 @@ var ru = {
4671
4677
  'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней стороны.',
4672
4678
  'Camera tampering detected': 'Обнаружена манипуляция с камерой',
4673
4679
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'К сожалению, кажется, что камера подвергается манипуляциям. Пожалуйста, проверьте свое устройство и попробуйте снова, перезагрузив страницу.',
4674
- 'Position your face in the circle and click to capture.': 'Поместите свое лицо в круг и нажмите для съемки.'
4680
+ 'Position your face in the circle and click to capture.': 'Поместите свое лицо в круг и нажмите для съемки.',
4681
+ 'Sign here': 'Подписать здесь'
4675
4682
  };
4676
4683
 
4677
4684
  var zh = {
@@ -4801,7 +4808,8 @@ var zh = {
4801
4808
  'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。',
4802
4809
  'Camera tampering detected': '檢測到相機被篡改',
4803
4810
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": '很抱歉,看起來相機被篡改了。請檢查您的設備並重新載入頁面。',
4804
- 'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。'
4811
+ 'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。',
4812
+ 'Sign here': '在此簽名'
4805
4813
  };
4806
4814
 
4807
4815
  function renderVerbiage(verbiage) {
@@ -6612,8 +6620,8 @@ var Container$7 = styled__default.default.div(templateObject_1$J || (templateObj
6612
6620
  var InnerContainer = styled__default.default.div(templateObject_2$D || (templateObject_2$D = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n padding: 16px 24px;\n margin: auto 0;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: row;\n padding: 16px 24px;\n margin: auto 0;\n width: 100%;\n"])));
6613
6621
  var Message = styled__default.default.span(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n display: block;\n margin: auto 12px auto 0;\n"], ["\n display: block;\n margin: auto 12px auto 0;\n"])));
6614
6622
  var ButtonContainer = styled__default.default.div(templateObject_4$l || (templateObject_4$l = __makeTemplateObject(["\n display: flex;\n margin-left: auto;\n"], ["\n display: flex;\n margin-left: auto;\n"])));
6615
- var Button$1 = styled__default.default(LoaderButton)(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n white-space: nowrap;\n margin: auto;\n"], ["\n white-space: nowrap;\n margin: auto;\n"])));
6616
- var templateObject_1$J, templateObject_2$D, templateObject_3$r, templateObject_4$l, templateObject_5$d;
6623
+ var Button$1 = styled__default.default(LoaderButton)(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n white-space: nowrap;\n margin: auto;\n"], ["\n white-space: nowrap;\n margin: auto;\n"])));
6624
+ var templateObject_1$J, templateObject_2$D, templateObject_3$r, templateObject_4$l, templateObject_5$e;
6617
6625
 
6618
6626
  // This is a simplified version of https://github.com/ZeeCoder/use-resize-observer.
6619
6627
  // We have removed all options and made it compliant with React Compiler/React 19.
@@ -7744,7 +7752,7 @@ var OverlayInner$1 = styled__default.default(LoadingOverlayInner)(templateObject
7744
7752
  var ContinuityCameraCheckboxContainer$1 = styled__default.default.div(templateObject_2$A || (templateObject_2$A = __makeTemplateObject(["\n position: absolute;\n bottom: 120px;\n width: 100%;\n display: flex;\n"], ["\n position: absolute;\n bottom: 120px;\n width: 100%;\n display: flex;\n"])));
7745
7753
  var ContinuityCameraCheckboxInner = styled__default.default(GuidanceMessage)(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 12px 18px;\n margin: 0 auto;\n font-size: 14px;\n font-weight: bold;\n background: white;\n box-shadow:\n 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n"], ["\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 12px 18px;\n margin: 0 auto;\n font-size: 14px;\n font-weight: bold;\n background: white;\n box-shadow:\n 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n"])));
7746
7754
  var ContinuityCameraCheckbox$1 = styled__default.default.input(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
7747
- var ButtonsRow$1 = styled__default.default(LoadingOverlayButtonsRow)(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n color: ", ";\n ", "\n"], ["\n color: ", ";\n ", "\n"])), function (props) {
7755
+ var ButtonsRow$1 = styled__default.default(LoadingOverlayButtonsRow)(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n color: ", ";\n ", "\n"], ["\n color: ", ";\n ", "\n"])), function (props) {
7748
7756
  var _a, _b, _c, _d;
7749
7757
  return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarTextColor) !== null && _d !== void 0 ? _d : 'white';
7750
7758
  }, function (props) {
@@ -7781,7 +7789,7 @@ var ContinueButton$1 = styled__default.default(LoaderButton)(templateObject_8$3
7781
7789
  var _a, _b, _c, _d;
7782
7790
  return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.idCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.continueBtnDisabledBorder) !== null && _d !== void 0 ? _d : 'none';
7783
7791
  });
7784
- var templateObject_1$F, templateObject_2$A, templateObject_3$o, templateObject_4$i, templateObject_5$c, templateObject_6$8, templateObject_7$4, templateObject_8$3;
7792
+ var templateObject_1$F, templateObject_2$A, templateObject_3$o, templateObject_4$i, templateObject_5$d, templateObject_6$8, templateObject_7$4, templateObject_8$3;
7785
7793
 
7786
7794
  var ContinuityCameraCheckboxContainer = styled__default.default.div(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n margin-top: 15px;\n margin-bottom: 15px;\n"], ["\n margin-top: 15px;\n margin-bottom: 15px;\n"])));
7787
7795
  var ContinuityCameraCheckbox = styled__default.default.input(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n margin-right: 8px;\n"], ["\n margin-right: 8px;\n"])));
@@ -8031,9 +8039,9 @@ var Heading$a = styled__default.default.h1(templateObject_1$C || (templateObject
8031
8039
  var ImagesContainer = styled__default.default(OverlayImageContainer)(templateObject_2$x || (templateObject_2$x = __makeTemplateObject(["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"], ["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"])));
8032
8040
  var ImageRow = styled__default.default(OverlayImageRow)(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"], ["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"])));
8033
8041
  var ImageCol$1 = styled__default.default.div(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"], ["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"])));
8034
- var StyledImage = styled__default.default(CapturedDocumentImg)(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n width: 100%;\n border-radius: 12px;\n"], ["\n width: 100%;\n border-radius: 12px;\n"])));
8042
+ var StyledImage = styled__default.default(CapturedDocumentImg)(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n width: 100%;\n border-radius: 12px;\n"], ["\n width: 100%;\n border-radius: 12px;\n"])));
8035
8043
  var DebugPre = styled__default.default.pre(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n display: block;\n text-align: left;\n width: 100%;\n max-width: 100%;\n overflow-x: auto;\n"], ["\n display: block;\n text-align: left;\n width: 100%;\n max-width: 100%;\n overflow-x: auto;\n"])));
8036
- var templateObject_1$C, templateObject_2$x, templateObject_3$n, templateObject_4$h, templateObject_5$b, templateObject_6$7;
8044
+ var templateObject_1$C, templateObject_2$x, templateObject_3$n, templateObject_4$h, templateObject_5$c, templateObject_6$7;
8037
8045
 
8038
8046
  function useShowSuccessScreen(skipSuccessScreen, successScreenReady, onDoneCallback) {
8039
8047
  var _this = this;
@@ -8242,7 +8250,7 @@ function IdCardBorderSvg(_a) {
8242
8250
  }
8243
8251
  var IdCardBorderContainer = styled__default.default.div(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n align-items: center;\n justify-content: center;\n display: flex;\n position: relative;\n margin: auto;\n\n & .idmSdkWaves {\n position: absolute;\n animation: ", " 2s ease-out infinite;\n transform-style: preserve-3d;\n\n &:nth-child(3) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(4) {\n animation-delay: 1.33s;\n }\n }\n"], ["\n align-items: center;\n justify-content: center;\n display: flex;\n position: relative;\n margin: auto;\n\n & .idmSdkWaves {\n position: absolute;\n animation: ", " 2s ease-out infinite;\n transform-style: preserve-3d;\n\n &:nth-child(3) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(4) {\n animation-delay: 1.33s;\n }\n }\n"])), wavesAnimation);
8244
8252
  var IdCardBorderInner = styled__default.default.div(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n max-height: 100%;\n max-width: 100%;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n"], ["\n max-height: 100%;\n max-width: 100%;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n"])));
8245
- var SvgOverlay = styled__default.default.svg(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"])));
8253
+ var SvgOverlay = styled__default.default.svg(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"])));
8246
8254
  var IdCardBorderRect = styled__default.default.rect(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n &.idmSdkProgressBorder {\n animation: ", " ", "\n ", ";\n }\n\n &.idmSdkProgressPaused {\n animation-play-state: paused;\n }\n"], ["\n &.idmSdkProgressBorder {\n animation: ", " ", "\n ", ";\n }\n\n &.idmSdkProgressPaused {\n animation-play-state: paused;\n }\n"])), progressBorderAnimation, function (props) {
8247
8255
  var _a;
8248
8256
  return (_a = props.$speed) !== null && _a !== void 0 ? _a : '3s';
@@ -8250,7 +8258,7 @@ var IdCardBorderRect = styled__default.default.rect(templateObject_6$6 || (templ
8250
8258
  var _a;
8251
8259
  return (_a = props.$fillMode) !== null && _a !== void 0 ? _a : 'forwards';
8252
8260
  });
8253
- var templateObject_1$B, templateObject_2$w, templateObject_3$m, templateObject_4$g, templateObject_5$a, templateObject_6$6;
8261
+ var templateObject_1$B, templateObject_2$w, templateObject_3$m, templateObject_4$g, templateObject_5$b, templateObject_6$6;
8254
8262
 
8255
8263
  var defaultIdCaptureGuideImages = {
8256
8264
  portrait: {
@@ -8749,7 +8757,7 @@ var GuideRegion = styled__default.default.div(templateObject_4$f || (templateObj
8749
8757
  }, function (props) {
8750
8758
  return props.$minHeight ? "min-height: ".concat(props.$minHeight, "px;") : "";
8751
8759
  });
8752
- var Spacer = styled__default.default(GuideRegion)(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n display: block;\n width: auto;\n"], ["\n display: block;\n width: auto;\n"])));
8760
+ var Spacer = styled__default.default(GuideRegion)(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n display: block;\n width: auto;\n"], ["\n display: block;\n width: auto;\n"])));
8753
8761
  var GuideCenterRegion = styled__default.default.div(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n ", "\n ", "\n transform-style: preserve-3d;\n box-sizing: border-box;\n display: flex;\n flex: 1;\n max-height: 100%;\n height: 100%;\n"], ["\n ", "\n ", "\n transform-style: preserve-3d;\n box-sizing: border-box;\n display: flex;\n flex: 1;\n max-height: 100%;\n height: 100%;\n"])), function (props) {
8754
8762
  return props.$minWidth ? "min-width: ".concat(props.$minWidth, "px;") : "";
8755
8763
  }, function (props) {
@@ -8765,7 +8773,7 @@ var GuideText = styled__default.default.span(templateObject_8$2 || (templateObje
8765
8773
  var GuideCenterInner = styled__default.default.div(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n position: relative;\n top: 0;\n margin: auto;\n ", "\n max-height: 100%;\n max-width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n position: relative;\n top: 0;\n margin: auto;\n ", "\n max-height: 100%;\n max-width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (props) {
8766
8774
  return props.$isLandscape ? 'height: 100%;' : 'width: 90%;';
8767
8775
  });
8768
- var templateObject_1$y, templateObject_2$u, templateObject_3$l, templateObject_4$f, templateObject_5$9, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1;
8776
+ var templateObject_1$y, templateObject_2$u, templateObject_3$l, templateObject_4$f, templateObject_5$a, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1;
8769
8777
 
8770
8778
  var IdCaptureFitGuide = function IdCaptureFitGuide(_a) {
8771
8779
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
@@ -9629,13 +9637,13 @@ var Heading$9 = styled__default.default.h1(templateObject_3$j || (templateObject
9629
9637
  var FooterRow = styled__default.default.div(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n background: ", ";\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 0 20px 20px;\n height: auto;\n color: white;\n"], ["\n background: ", ";\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 0 20px 20px;\n height: auto;\n color: white;\n"])), function (props) {
9630
9638
  return props.$maskColor;
9631
9639
  });
9632
- var Instructions = styled__default.default.div(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n max-height: ", ";\n overflow-y: auto;\n"], ["\n max-height: ", ";\n overflow-y: auto;\n"])), function (props) {
9640
+ var Instructions = styled__default.default.div(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n max-height: ", ";\n overflow-y: auto;\n"], ["\n max-height: ", ";\n overflow-y: auto;\n"])), function (props) {
9633
9641
  var _a, _b, _c;
9634
9642
  return (_c = (_b = (_a = props.theme.documentCapture) === null || _a === void 0 ? void 0 : _a.instructions) === null || _b === void 0 ? void 0 : _b.maxHeight) !== null && _c !== void 0 ? _c : '8rem';
9635
9643
  });
9636
9644
  var StyledButtonsRow$8 = styled__default.default(ButtonsRow$2)(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n padding-top: 20px;\n"], ["\n padding-top: 20px;\n"])));
9637
9645
  var PreviewImage = styled__default.default.img(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n"])));
9638
- var templateObject_1$r, templateObject_2$p, templateObject_3$j, templateObject_4$d, templateObject_5$8, templateObject_6$4, templateObject_7$2;
9646
+ var templateObject_1$r, templateObject_2$p, templateObject_3$j, templateObject_4$d, templateObject_5$9, templateObject_6$4, templateObject_7$2;
9639
9647
 
9640
9648
  var DocumentCaptureWizard = function DocumentCaptureWizard(_a) {
9641
9649
  var onSuccess = _a.onSuccess,
@@ -9910,9 +9918,9 @@ var StyledOverlayInner$2 = styled__default.default(OverlayInner$2)(templateObjec
9910
9918
  var Heading$8 = styled__default.default.h3(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
9911
9919
  var Description$3 = styled__default.default.p(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
9912
9920
  var Instruction = styled__default.default.p(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n font-weight: bold;\n"], ["\n font-weight: bold;\n"])));
9913
- var ImageCol = styled__default.default.div(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"], ["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"])));
9921
+ var ImageCol = styled__default.default.div(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"], ["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"])));
9914
9922
  var StyledButtonsRow$7 = styled__default.default(ButtonsRow$2)(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
9915
- var templateObject_1$q, templateObject_2$o, templateObject_3$i, templateObject_4$c, templateObject_5$7, templateObject_6$3;
9923
+ var templateObject_1$q, templateObject_2$o, templateObject_3$i, templateObject_4$c, templateObject_5$8, templateObject_6$3;
9916
9924
 
9917
9925
  function ScalingCameraFeed() {
9918
9926
  var _a = useIdCaptureStore(),
@@ -10271,7 +10279,7 @@ var ScreenContainer = styled__default.default.div(templateObject_1$p || (templat
10271
10279
  var ScreenPanel = styled__default.default.div(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n flex-grow: 1;\n background: #f7f6fb;\n box-sizing: border-box;\n padding: 40px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n flex-grow: 1;\n background: #f7f6fb;\n box-sizing: border-box;\n padding: 40px;\n"])));
10272
10280
  var SelectIdCardScreenPanel = styled__default.default(ScreenPanel)(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n background: white;\n padding: 80px 0;\n\n @media (max-height: 1000px) {\n padding: 40px 0;\n }\n"], ["\n background: white;\n padding: 80px 0;\n\n @media (max-height: 1000px) {\n padding: 40px 0;\n }\n"])));
10273
10281
  var ScreenPanelHeading = styled__default.default.h3(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n margin: 0 0 30px;\n"], ["\n margin: 0 0 30px;\n"])));
10274
- var ScreenActionsBar = styled__default.default.div(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 20px;\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n border-top: 1px solid #ccc;\n\n @media (max-width: 600px) {\n justify-content: center;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 20px;\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n border-top: 1px solid #ccc;\n\n @media (max-width: 600px) {\n justify-content: center;\n }\n"])));
10282
+ var ScreenActionsBar = styled__default.default.div(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 20px;\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n border-top: 1px solid #ccc;\n\n @media (max-width: 600px) {\n justify-content: center;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 20px;\n padding: 20px;\n width: 100%;\n box-sizing: border-box;\n border-top: 1px solid #ccc;\n\n @media (max-width: 600px) {\n justify-content: center;\n }\n"])));
10275
10283
  var DashedSeparator = styled__default.default.div(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n width: 100%;\n height: 0;\n border-top: 2px solid #606060;\n border-top-style: dashed;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n width: 100%;\n height: 0;\n border-top: 2px solid #606060;\n border-top-style: dashed;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
10276
10284
  var OrWrapper = styled__default.default.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n color: #323232;\n font-weight: bold;\n background: white;\n border-radius: 50%;\n top: -2px;\n position: relative;\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n color: #323232;\n font-weight: bold;\n background: white;\n border-radius: 50%;\n top: -2px;\n position: relative;\n width: 60px;\n height: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
10277
10285
  var UploadIdBackHelpText = styled__default.default.p(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n color: #323232;\n font-style: italic;\n margin: 30px 0 0;\n"], ["\n color: #323232;\n font-style: italic;\n margin: 30px 0 0;\n"])));
@@ -10553,7 +10561,7 @@ function humanFileSize(bytes, si, dp) {
10553
10561
  } while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);
10554
10562
  return bytes.toFixed(dp) + ' ' + units[u];
10555
10563
  }
10556
- var templateObject_1$p, templateObject_2$n, templateObject_3$h, templateObject_4$b, templateObject_5$6, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
10564
+ var templateObject_1$p, templateObject_2$n, templateObject_3$h, templateObject_4$b, templateObject_5$7, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
10557
10565
 
10558
10566
  var lastDocumentDetectedAtDefaults = {
10559
10567
  idCardFront: null,
@@ -11938,8 +11946,8 @@ var StyledOverlayInner$1 = styled__default.default(OverlayInner$2)(templateObjec
11938
11946
  var Heading$7 = styled__default.default.h3(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
11939
11947
  var Description$2 = styled__default.default.p(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
11940
11948
  var ImageContainer$6 = styled__default.default(OverlayImageContainer)(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
11941
- var StyledButtonsRow$6 = styled__default.default(ButtonsRow$2)(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
11942
- var templateObject_1$m, templateObject_2$k, templateObject_3$f, templateObject_4$a, templateObject_5$5;
11949
+ var StyledButtonsRow$6 = styled__default.default(ButtonsRow$2)(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
11950
+ var templateObject_1$m, templateObject_2$k, templateObject_3$f, templateObject_4$a, templateObject_5$6;
11943
11951
 
11944
11952
  var initialState$4 = {
11945
11953
  busy: false,
@@ -12906,7 +12914,7 @@ var ProgressIndicator = styled__default.default(LoadingOverlayProgressIndicator)
12906
12914
  var _a, _b, _c, _d;
12907
12915
  return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarIndicatorColor) !== null && _d !== void 0 ? _d : 'var(--idm-color-positive-600)';
12908
12916
  });
12909
- var ContinueButton = styled__default.default(LoaderButton)(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n box-shadow: none;\n }\n"], ["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n box-shadow: none;\n }\n"])), function (props) {
12917
+ var ContinueButton = styled__default.default(LoaderButton)(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n box-shadow: none;\n }\n"], ["\n margin: auto;\n white-space: nowrap;\n ", "\n ", "\n \n &:focus-visible {\n ", "\n box-shadow: none;\n }\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n box-shadow: none;\n }\n"])), function (props) {
12910
12918
  var _a, _b, _c, _d, _e, _f;
12911
12919
  return ((_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.progressBarFontSize) ? "font-size: ".concat((_f = (_e = (_d = props.theme) === null || _d === void 0 ? void 0 : _d.selfieCapture) === null || _e === void 0 ? void 0 : _e.loadingOverlay) === null || _f === void 0 ? void 0 : _f.progressBarFontSize, ";") : '';
12912
12920
  }, function (props) {
@@ -12925,7 +12933,7 @@ var ContinueButton = styled__default.default(LoaderButton)(templateObject_5$4 ||
12925
12933
  var _a, _b, _c, _d;
12926
12934
  return (_d = (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.selfieCapture) === null || _b === void 0 ? void 0 : _b.loadingOverlay) === null || _c === void 0 ? void 0 : _c.continueBtnBorder) !== null && _d !== void 0 ? _d : 'none';
12927
12935
  });
12928
- var templateObject_1$g, templateObject_2$e, templateObject_3$c, templateObject_4$8, templateObject_5$4;
12936
+ var templateObject_1$g, templateObject_2$e, templateObject_3$c, templateObject_4$8, templateObject_5$5;
12929
12937
 
12930
12938
  var components = {
12931
12939
  "default": SelfieCaptureLoadingOverlayDefault,
@@ -14004,11 +14012,10 @@ function VideoSignaturePad(_a) {
14004
14012
  signaturePadEmptyText: '',
14005
14013
  headTrackingUnsatisfiedText: '',
14006
14014
  clearSignatureBtnText: 'Clear',
14007
- acceptSignatureBtnText: 'Accept'
14015
+ acceptSignatureBtnText: 'Accept',
14016
+ signHereText: 'Sign here'
14008
14017
  });
14009
- return /*#__PURE__*/React__namespace.default.createElement(SignaturePadContainer, {
14010
- className: classNames.signaturePadContainer
14011
- }, /*#__PURE__*/React__namespace.default.createElement(SignatureCanvasContainer, {
14018
+ return /*#__PURE__*/React__namespace.default.createElement(SignatureCanvasContainer, {
14012
14019
  className: cn__default.default(classNames.signatureCanvasContainer, disabled && classNames.signatureCanvasContainerDisabled),
14013
14020
  "$disabled": disabled,
14014
14021
  "$headTrackingUnsatisfied": !headTrackingSatisfied
@@ -14044,7 +14051,7 @@ function VideoSignaturePad(_a) {
14044
14051
  }
14045
14052
  }, /*#__PURE__*/React__namespace.default.createElement(SignaturePadContentInner, {
14046
14053
  className: classNames.emptyContentInner
14047
- }, verbiage.signaturePadEmptyText)))), /*#__PURE__*/React__namespace.default.createElement(SignatureButtonsContainer, {
14054
+ }, verbiage.signaturePadEmptyText))), /*#__PURE__*/React__namespace.default.createElement(SignHereText, null, verbiage.signHereText)), /*#__PURE__*/React__namespace.default.createElement(SignatureButtonsContainer, {
14048
14055
  className: classNames.signatureButtonsRow
14049
14056
  }, /*#__PURE__*/React__namespace.default.createElement(LoaderButton, {
14050
14057
  variant: "secondary",
@@ -14058,21 +14065,21 @@ function VideoSignaturePad(_a) {
14058
14065
  disabled: !canSubmit,
14059
14066
  onClick: onAcceptBtnClicked,
14060
14067
  finished: true
14061
- }, verbiage.acceptSignatureBtnText))));
14068
+ }, verbiage.acceptSignatureBtnText)));
14062
14069
  }
14063
- var SignaturePadContainer = styled__default.default.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n position: relative;\n max-width: 100%;\n height: 50%;\n aspect-ratio: 2;\n"], ["\n position: relative;\n max-width: 100%;\n height: 50%;\n aspect-ratio: 2;\n"])));
14064
- var SignatureCanvasContainer = styled__default.default.div(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: calc(100% - 67px);\n ", "\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: calc(100% - 67px);\n ", "\n ", "\n"])), function (props) {
14070
+ var SignatureCanvasContainer = styled__default.default.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: calc(100% - 67px);\n ", "\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: calc(100% - 67px);\n ", "\n ", "\n"])), function (props) {
14065
14071
  return props.$disabled ? 'opacity: 0.5; pointer-events: none;' : '';
14066
14072
  }, function (props) {
14067
14073
  return props.$headTrackingUnsatisfied ? 'pointer-events: none;' : '';
14068
14074
  });
14069
- var AcceptBtn = styled__default.default(LoaderButton)(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n margin-left: auto;\n"], ["\n margin-left: auto;\n"])));
14070
- var SignaturePadContentContainer = styled__default.default.div(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
14071
- var SignaturePadContentInner = styled__default.default.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n pointer-events: none;\n color: ", ";\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n pointer-events: none;\n color: ", ";\n"])), function (props) {
14075
+ var AcceptBtn = styled__default.default(LoaderButton)(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n margin-left: auto;\n"], ["\n margin-left: auto;\n"])));
14076
+ var SignaturePadContentContainer = styled__default.default.div(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
14077
+ var SignaturePadContentInner = styled__default.default.div(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n pointer-events: none;\n color: ", ";\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n pointer-events: none;\n color: ", ";\n"])), function (props) {
14072
14078
  var _a, _b, _c;
14073
14079
  return (_c = (_b = (_a = props.theme.signatureCapture) === null || _a === void 0 ? void 0 : _a.canvas) === null || _b === void 0 ? void 0 : _b.emptyTextColor) !== null && _c !== void 0 ? _c : 'black';
14074
14080
  });
14075
- var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$5, templateObject_5$3;
14081
+ var SignHereText = styled__default.default.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n position: absolute;\n bottom: 18px;\n left: 0;\n right: 0;\n width: 90%;\n color: black;\n display: flex;\n justify-content: center;\n border-top: 2px solid black;\n margin: 0 auto;\n padding-top: 18px;\n font-size: 18px;\n font-weight: bold;\n pointer-events: none;\n"], ["\n position: absolute;\n bottom: 18px;\n left: 0;\n right: 0;\n width: 90%;\n color: black;\n display: flex;\n justify-content: center;\n border-top: 2px solid black;\n margin: 0 auto;\n padding-top: 18px;\n font-size: 18px;\n font-weight: bold;\n pointer-events: none;\n"])));
14082
+ var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$5, templateObject_5$4;
14076
14083
 
14077
14084
  function VideoSignatureGuides(_a) {
14078
14085
  var onAcceptBtnClicked = _a.onAcceptBtnClicked,
@@ -14089,12 +14096,29 @@ function VideoSignatureGuides(_a) {
14089
14096
  headTrackingSatisfied = _e === void 0 ? true : _e,
14090
14097
  _f = _a.classNames,
14091
14098
  classNames = _f === void 0 ? {} : _f,
14092
- verbiage = _a.verbiage;
14099
+ verbiage = _a.verbiage,
14100
+ guideToDisplay = _a.guideToDisplay;
14101
+ var _g = React.useState(guideToDisplay ? 'face' : 'both'),
14102
+ mode = _g[0],
14103
+ setMode = _g[1];
14104
+ React.useEffect(function () {
14105
+ var delayedTransition = setTimeout(function () {
14106
+ if (guideToDisplay) setMode(guideToDisplay);
14107
+ }, 2000);
14108
+ return function () {
14109
+ return clearTimeout(delayedTransition);
14110
+ };
14111
+ }, [guideToDisplay]);
14093
14112
  return /*#__PURE__*/React__namespace.default.createElement(Container$3, {
14094
14113
  className: classNames.container
14095
14114
  }, /*#__PURE__*/React__namespace.default.createElement(Inner$1, {
14096
14115
  className: classNames.inner
14097
14116
  }, /*#__PURE__*/React__namespace.default.createElement(FaceGuideContainer$1, {
14117
+ style: {
14118
+ opacity: mode === 'both' || mode === 'face' ? 1 : 0,
14119
+ transitionDelay: '2s',
14120
+ transition: 'opacity 500ms ease-in-out'
14121
+ },
14098
14122
  className: classNames.faceGuideContainer
14099
14123
  }, /*#__PURE__*/React__namespace.default.createElement(StyledSelfieCaptureAnimatedMask, {
14100
14124
  className: classNames.faceGuide,
@@ -14102,7 +14126,14 @@ function VideoSignatureGuides(_a) {
14102
14126
  borderWidth: faceGuideBorderWidth,
14103
14127
  borderColor: faceGuideBorderColor,
14104
14128
  verticalAlign: "bottom"
14105
- })), /*#__PURE__*/React__namespace.default.createElement(VideoSignaturePad, {
14129
+ })), /*#__PURE__*/React__namespace.default.createElement(SignaturePadContainer, {
14130
+ style: {
14131
+ opacity: mode === 'both' || mode === 'signature' ? 1 : 0,
14132
+ transitionDelay: '2s',
14133
+ transition: 'opacity 500ms ease-in-out'
14134
+ },
14135
+ className: classNames.signaturePadContainer
14136
+ }, /*#__PURE__*/React__namespace.default.createElement(VideoSignaturePad, {
14106
14137
  onAcceptBtnClicked: onAcceptBtnClicked,
14107
14138
  onClearBtnClicked: onClearBtnClicked,
14108
14139
  disabled: requestedAction !== 'CAPTURE_SIGNATURE',
@@ -14110,7 +14141,7 @@ function VideoSignatureGuides(_a) {
14110
14141
  minSignaturePadPoints: minSignaturePadPoints,
14111
14142
  classNames: classNames,
14112
14143
  verbiage: verbiage
14113
- })));
14144
+ }))));
14114
14145
  }
14115
14146
  var Container$3 = styled__default.default.div(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n display: flex;\n max-height: 100%;\n position: absolute;\n z-index: 1000;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n font-family: ", ";\n box-sizing: border-box;\n overflow: hidden;\n padding: 40px;\n"], ["\n display: flex;\n max-height: 100%;\n position: absolute;\n z-index: 1000;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n font-family: ", ";\n box-sizing: border-box;\n overflow: hidden;\n padding: 40px;\n"])), function (props) {
14116
14147
  var _a;
@@ -14119,7 +14150,8 @@ var Container$3 = styled__default.default.div(templateObject_1$a || (templateObj
14119
14150
  var Inner$1 = styled__default.default.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n max-height: 1280px;\n display: flex;\n margin: auto;\n align-items: center;\n flex-direction: column;\n"], ["\n width: 100%;\n height: 100%;\n max-height: 1280px;\n display: flex;\n margin: auto;\n align-items: center;\n flex-direction: column;\n"])));
14120
14151
  var FaceGuideContainer$1 = styled__default.default.div(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n position: relative;\n height: 50%;\n"], ["\n position: relative;\n height: 50%;\n"])));
14121
14152
  var StyledSelfieCaptureAnimatedMask = styled__default.default(SelfieCaptureAnimatedMaskWithStatus)(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["\n max-width: 100%;\n height: 100%;\n"], ["\n max-width: 100%;\n height: 100%;\n"])));
14122
- var templateObject_1$a, templateObject_2$9, templateObject_3$8, templateObject_4$4;
14153
+ var SignaturePadContainer = styled__default.default.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n position: relative;\n max-width: 100%;\n height: 50%;\n aspect-ratio: 2;\n"], ["\n position: relative;\n max-width: 100%;\n height: 50%;\n aspect-ratio: 2;\n"])));
14154
+ var templateObject_1$a, templateObject_2$9, templateObject_3$8, templateObject_4$4, templateObject_5$3;
14123
14155
 
14124
14156
  var DEFAULT_MIN_SIGNATURE_PAD_POINTS = 10;
14125
14157
  var DEFAULT_HEAD_TRACKING_BOUNDARY_PERCENTAGE = 0.01;
@@ -14561,37 +14593,39 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
14561
14593
  allowManualSelfieCaptureOnLoadingError = _m === void 0 ? false : _m,
14562
14594
  faceLivenessProps = _a.faceLivenessProps,
14563
14595
  guidesComponent = _a.guidesComponent,
14564
- _o = _a.assets,
14565
- assets = _o === void 0 ? {} : _o,
14566
- _p = _a.classNames,
14567
- classNames = _p === void 0 ? {} : _p,
14568
- _q = _a.colors,
14569
- colors = _q === void 0 ? {} : _q,
14570
- _r = _a.verbiage,
14571
- verbiage = _r === void 0 ? {} : _r,
14572
- _s = _a.debugMode,
14573
- debugMode = _s === void 0 ? false : _s;
14574
- var _t = useSubmissionContext(),
14575
- selfieImage = _t.selfieImage,
14576
- setSelfieImage = _t.setSelfieImage,
14577
- setSignatureData = _t.setSignatureData,
14578
- setSignatureVideoUrl = _t.setSignatureVideoUrl,
14579
- logSelfieCaptureAttempt = _t.logSelfieCaptureAttempt,
14580
- uploadDocument = _t.uploadDocument;
14596
+ _o = _a.showFaceGuideThenSignaturePad,
14597
+ showFaceGuideThenSignaturePad = _o === void 0 ? false : _o,
14598
+ _p = _a.assets,
14599
+ assets = _p === void 0 ? {} : _p,
14600
+ _q = _a.classNames,
14601
+ classNames = _q === void 0 ? {} : _q,
14602
+ _r = _a.colors,
14603
+ colors = _r === void 0 ? {} : _r,
14604
+ _s = _a.verbiage,
14605
+ verbiage = _s === void 0 ? {} : _s,
14606
+ _t = _a.debugMode,
14607
+ debugMode = _t === void 0 ? false : _t;
14608
+ var _u = useSubmissionContext(),
14609
+ selfieImage = _u.selfieImage,
14610
+ setSelfieImage = _u.setSelfieImage,
14611
+ setSignatureData = _u.setSignatureData,
14612
+ setSignatureVideoUrl = _u.setSignatureVideoUrl,
14613
+ logSelfieCaptureAttempt = _u.logSelfieCaptureAttempt,
14614
+ uploadDocument = _u.uploadDocument;
14581
14615
  var cameraAccessDenied = useCameraStore(shallow.useShallow(function (state) {
14582
14616
  return {
14583
14617
  cameraAccessDenied: state.cameraAccessDenied
14584
14618
  };
14585
14619
  })).cameraAccessDenied;
14586
- var _u = React.useState(skipLivenessValidation ? 'CAPTURING_SELFIE' : 'CHECKING_LIVENESS'),
14587
- captureState = _u[0],
14588
- setCaptureState = _u[1];
14620
+ var _v = React.useState(skipLivenessValidation ? 'CAPTURING_SELFIE' : 'CHECKING_LIVENESS'),
14621
+ captureState = _v[0],
14622
+ setCaptureState = _v[1];
14589
14623
  var operationStartedAt = React.useRef();
14590
14624
  var captureStartedAt = React.useRef();
14591
14625
  var captureEndedAt = React.useRef();
14592
- var _v = useSelfieGuidanceModelsContext(),
14593
- start = _v.start,
14594
- stop = _v.stop;
14626
+ var _w = useSelfieGuidanceModelsContext(),
14627
+ start = _w.start,
14628
+ stop = _w.stop;
14595
14629
  React.useEffect(function () {
14596
14630
  operationStartedAt.current = new Date();
14597
14631
  }, []);
@@ -14641,17 +14675,17 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
14641
14675
  setCaptureState('SUCCESS');
14642
14676
  onVideoCaptured === null || onVideoCaptured === void 0 ? void 0 : onVideoCaptured(videoData, signatureData, signatureImageData);
14643
14677
  }, [onVideoCaptured, setSignatureData, setSignatureVideoUrl]);
14644
- var _w = React.useState(true),
14645
- showLoadingOverlay = _w[0],
14646
- setShowLoadingOverlay = _w[1];
14678
+ var _x = React.useState(true),
14679
+ showLoadingOverlay = _x[0],
14680
+ setShowLoadingOverlay = _x[1];
14647
14681
  var onSignatureCaptureFacesNotDetected = React.useCallback(function () {
14648
14682
  setShowLoadingOverlay(false);
14649
14683
  setCaptureState(skipLivenessValidation ? 'CAPTURING_SELFIE' : 'CHECKING_LIVENESS');
14650
14684
  useVideoSignatureStore.getState().clearRecordedData();
14651
14685
  }, [skipLivenessValidation]);
14652
- var _x = React.useState(0),
14653
- attempt = _x[0],
14654
- setAttempt = _x[1];
14686
+ var _y = React.useState(0),
14687
+ attempt = _y[0],
14688
+ setAttempt = _y[1];
14655
14689
  var onRetry = React.useCallback(function () {
14656
14690
  onRetryClicked === null || onRetryClicked === void 0 ? void 0 : onRetryClicked();
14657
14691
  setAttempt(function (n) {
@@ -14682,7 +14716,8 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
14682
14716
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.guides,
14683
14717
  restartVideoOnSignaturePadCleared: restartVideoOnSignaturePadCleared,
14684
14718
  captureAudio: captureAudio,
14685
- component: guidesComponent
14719
+ component: guidesComponent,
14720
+ showFaceGuideThenSignaturePad: showFaceGuideThenSignaturePad
14686
14721
  }));
14687
14722
  }, [captureAudio, classNames === null || classNames === void 0 ? void 0 : classNames.guides, guidesComponent, restartVideoOnSignaturePadCleared, verbiage === null || verbiage === void 0 ? void 0 : verbiage.guides]);
14688
14723
  var onExitAfterFailureProp = faceLivenessProps === null || faceLivenessProps === void 0 ? void 0 : faceLivenessProps.onExitAfterFailure;
@@ -14791,7 +14826,9 @@ function VideoSignatureWizardGuides(_a) {
14791
14826
  _c = _a.captureAudio,
14792
14827
  captureAudio = _c === void 0 ? false : _c,
14793
14828
  component = _a.component,
14794
- props = __rest(_a, ["status", "restartVideoOnSignaturePadCleared", "captureAudio", "component"]);
14829
+ _d = _a.showFaceGuideThenSignaturePad,
14830
+ showFaceGuideThenSignaturePad = _d === void 0 ? false : _d,
14831
+ props = __rest(_a, ["status", "restartVideoOnSignaturePadCleared", "captureAudio", "component", "showFaceGuideThenSignaturePad"]);
14795
14832
  var Component = component !== null && component !== void 0 ? component : VideoSignatureGuides;
14796
14833
  var onAcceptBtnClicked = React.useCallback(function () {
14797
14834
  var signaturePad = useVideoSignatureStore.getState().signaturePad;
@@ -14823,7 +14860,8 @@ function VideoSignatureWizardGuides(_a) {
14823
14860
  faceGuideStatus: status,
14824
14861
  onAcceptBtnClicked: onAcceptBtnClicked,
14825
14862
  onClearBtnClicked: onClearBtnClicked,
14826
- requestedAction: status === 'success' ? 'CAPTURE_SIGNATURE' : 'VERIFY_LIVENESS'
14863
+ requestedAction: status === 'success' ? 'CAPTURE_SIGNATURE' : 'VERIFY_LIVENESS',
14864
+ guideToDisplay: !showFaceGuideThenSignaturePad ? undefined : status === 'success' ? 'signature' : 'face'
14827
14865
  }));
14828
14866
  }
14829
14867
  var VideoSignatureWizardWithProviders = function VideoSignatureWizardWithProviders(props) {
@@ -18604,15 +18642,17 @@ var SignatureKYC = function SignatureKYC(_a) {
18604
18642
  _p = _a.allowManualSelfieCaptureOnLoadingError,
18605
18643
  allowManualSelfieCaptureOnLoadingError = _p === void 0 ? false : _p,
18606
18644
  guidesComponent = _a.guidesComponent,
18607
- _q = _a.theme,
18608
- theme = _q === void 0 ? 'default' : _q,
18645
+ _q = _a.showFaceGuideThenSignaturePad,
18646
+ showFaceGuideThenSignaturePad = _q === void 0 ? false : _q,
18647
+ _r = _a.theme,
18648
+ theme = _r === void 0 ? 'default' : _r,
18609
18649
  classNames = _a.classNames,
18610
18650
  colors = _a.colors,
18611
18651
  verbiage = _a.verbiage,
18612
18652
  geolocationEnabled = _a.geolocationEnabled,
18613
18653
  geolocationRequired = _a.geolocationRequired,
18614
- _r = _a.debugMode,
18615
- debugMode = _r === void 0 ? false : _r;
18654
+ _s = _a.debugMode,
18655
+ debugMode = _s === void 0 ? false : _s;
18616
18656
  useLanguage(lang);
18617
18657
  useDebugLogging(debugMode);
18618
18658
  return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
@@ -18673,6 +18713,7 @@ var SignatureKYC = function SignatureKYC(_a) {
18673
18713
  skipLivenessValidation: skipLivenessValidation,
18674
18714
  allowManualSelfieCaptureOnLoadingError: allowManualSelfieCaptureOnLoadingError,
18675
18715
  guidesComponent: guidesComponent,
18716
+ showFaceGuideThenSignaturePad: showFaceGuideThenSignaturePad,
18676
18717
  classNames: classNames,
18677
18718
  colors: colors,
18678
18719
  debugMode: debugMode,
@@ -18680,7 +18721,7 @@ var SignatureKYC = function SignatureKYC(_a) {
18680
18721
  onModelError: onModelError,
18681
18722
  onUserCancel: onUserCancel
18682
18723
  };
18683
- }, [onLoadingStarted, onLoadingProgress, onLoadingCompleted, onLoadingFailed, onSelfieCaptured, customOverlayContent, onLoadingOverlayDismissed, loadingOverlayMode, skipSuccessScreen, captureAudio, minSignaturePadPoints, headTrackingDisabled, headTrackingBoundaryPercentage, headTrackingBoundaryType, modelLoadTimeoutMs, faceLivenessProps, allowSignatureAfterLivenessCheckFailure, restartVideoOnSignaturePadCleared, skipLivenessValidation, allowManualSelfieCaptureOnLoadingError, guidesComponent, classNames, colors, debugMode, verbiage, onModelError, onUserCancel])
18724
+ }, [onLoadingStarted, onLoadingProgress, onLoadingCompleted, onLoadingFailed, onSelfieCaptured, customOverlayContent, onLoadingOverlayDismissed, loadingOverlayMode, skipSuccessScreen, captureAudio, minSignaturePadPoints, headTrackingDisabled, headTrackingBoundaryPercentage, headTrackingBoundaryType, modelLoadTimeoutMs, faceLivenessProps, allowSignatureAfterLivenessCheckFailure, restartVideoOnSignaturePadCleared, skipLivenessValidation, allowManualSelfieCaptureOnLoadingError, guidesComponent, showFaceGuideThenSignaturePad, classNames, colors, debugMode, verbiage, onModelError, onUserCancel])
18684
18725
  })))));
18685
18726
  };
18686
18727