idmission-web-sdk 2.3.75 → 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.
package/dist/sdk2.esm.js CHANGED
@@ -205,7 +205,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
205
205
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
206
206
  };
207
207
 
208
- var webSdkVersion = '2.3.75';
208
+ var webSdkVersion = '2.3.76';
209
209
 
210
210
  function getPlatform() {
211
211
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -494,7 +494,7 @@ var OverlayInner$2 = styled.div(templateObject_2$G || (templateObject_2$G = __ma
494
494
  });
495
495
  var OverlayImageContainer = styled.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"])));
496
496
  var OverlayImageRow = styled.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"])));
497
- var GrayOverlayContainer = styled(OverlayContainer)(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n background: #f7f6fb;\n"], ["\n background: #f7f6fb;\n"])));
497
+ var GrayOverlayContainer = styled(OverlayContainer)(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["\n background: #f7f6fb;\n"], ["\n background: #f7f6fb;\n"])));
498
498
  var ButtonsColumn = styled.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"])));
499
499
  var WideButton = styled(LoaderButton)(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n width: 100%;\n border-radius: 30px;\n"], ["\n width: 100%;\n border-radius: 30px;\n"])));
500
500
  var WideBorderButton = styled(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) {
@@ -534,7 +534,7 @@ var LoadingOverlayLoadingListItem = styled.li(templateObject_19 || (templateObje
534
534
  var LoadingOverlayProgressContainer = styled.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"])));
535
535
  var LoadingOverlayCustomLoadingGraphic = styled.img(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n transform-style: preserve-3d;\n"], ["\n transform-style: preserve-3d;\n"])));
536
536
  var LoadingOverlayContinueButtonContainer = styled.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
537
- 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;
537
+ 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;
538
538
 
539
539
  var GeolocationAccessDeniedOverlay = function GeolocationAccessDeniedOverlay(_a) {
540
540
  var accessBlockedImageUrl = _a.accessBlockedImageUrl;
@@ -3860,7 +3860,8 @@ var es = {
3860
3860
  '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',
3861
3861
  'Camera tampering detected': 'Se ha detectado un intento de manipulación de la cámara',
3862
3862
  "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.',
3863
- 'Position your face in the circle and click to capture.': 'Enfoca tu cara en el círculo y da clic en capturar.'
3863
+ 'Position your face in the circle and click to capture.': 'Enfoca tu cara en el círculo y da clic en capturar.',
3864
+ 'Sign here': 'Firma aquí'
3864
3865
  };
3865
3866
 
3866
3867
  var de = {
@@ -3990,7 +3991,8 @@ var de = {
3990
3991
  '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.',
3991
3992
  'Camera tampering detected': 'Kamera manipuliert',
3992
3993
  "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.',
3993
- 'Position your face in the circle and click to capture.': 'Stellen Sie Ihr Gesicht im Kreis ein und klicken Sie auf Erfassen.'
3994
+ 'Position your face in the circle and click to capture.': 'Stellen Sie Ihr Gesicht im Kreis ein und klicken Sie auf Erfassen.',
3995
+ 'Sign here': 'Hier unterschreiben'
3994
3996
  };
3995
3997
 
3996
3998
  var fr = {
@@ -4120,7 +4122,8 @@ var fr = {
4120
4122
  '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.",
4121
4123
  'Camera tampering detected': 'Manipulation de la caméra détectée',
4122
4124
  "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.',
4123
- 'Position your face in the circle and click to capture.': 'Positionnez votre visage dans le cercle et cliquez pour capturer.'
4125
+ 'Position your face in the circle and click to capture.': 'Positionnez votre visage dans le cercle et cliquez pour capturer.',
4126
+ 'Sign here': 'Signer ici'
4124
4127
  };
4125
4128
 
4126
4129
  var it = {
@@ -4250,7 +4253,8 @@ var it = {
4250
4253
  '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.",
4251
4254
  'Camera tampering detected': 'Manipolazione della fotocamera rilevata',
4252
4255
  "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.',
4253
- 'Position your face in the circle and click to capture.': 'Posiziona il tuo volto nel cerchio e clicca per acquisire.'
4256
+ 'Position your face in the circle and click to capture.': 'Posiziona il tuo volto nel cerchio e clicca per acquisire.',
4257
+ 'Sign here': 'Firma qui'
4254
4258
  };
4255
4259
 
4256
4260
  var ja = {
@@ -4380,7 +4384,8 @@ var ja = {
4380
4384
  'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。',
4381
4385
  'Camera tampering detected': 'カメラの操作が検出されました',
4382
4386
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'カメラの操作が検出されました。デバイスを確認し、ページを再読み込みしてください。',
4383
- 'Position your face in the circle and click to capture.': '顔を円の中に合わせてクリックして撮影してください。'
4387
+ 'Position your face in the circle and click to capture.': '顔を円の中に合わせてクリックして撮影してください。',
4388
+ 'Sign here': 'ここに署名'
4384
4389
  };
4385
4390
 
4386
4391
  var pt = {
@@ -4510,7 +4515,8 @@ var pt = {
4510
4515
  '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.',
4511
4516
  'Camera tampering detected': 'Manipulação da câmera detectada',
4512
4517
  "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.',
4513
- 'Position your face in the circle and click to capture.': 'Posicione seu rosto no círculo e clique para capturar.'
4518
+ 'Position your face in the circle and click to capture.': 'Posicione seu rosto no círculo e clique para capturar.',
4519
+ 'Sign here': 'Assinar aqui'
4514
4520
  };
4515
4521
 
4516
4522
  var ru = {
@@ -4640,7 +4646,8 @@ var ru = {
4640
4646
  'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней стороны.',
4641
4647
  'Camera tampering detected': 'Обнаружена манипуляция с камерой',
4642
4648
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'К сожалению, кажется, что камера подвергается манипуляциям. Пожалуйста, проверьте свое устройство и попробуйте снова, перезагрузив страницу.',
4643
- 'Position your face in the circle and click to capture.': 'Поместите свое лицо в круг и нажмите для съемки.'
4649
+ 'Position your face in the circle and click to capture.': 'Поместите свое лицо в круг и нажмите для съемки.',
4650
+ 'Sign here': 'Подписать здесь'
4644
4651
  };
4645
4652
 
4646
4653
  var zh = {
@@ -4770,7 +4777,8 @@ var zh = {
4770
4777
  'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。',
4771
4778
  'Camera tampering detected': '檢測到相機被篡改',
4772
4779
  "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": '很抱歉,看起來相機被篡改了。請檢查您的設備並重新載入頁面。',
4773
- 'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。'
4780
+ 'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。',
4781
+ 'Sign here': '在此簽名'
4774
4782
  };
4775
4783
 
4776
4784
  function renderVerbiage(verbiage) {
@@ -6581,8 +6589,8 @@ var Container$7 = styled.div(templateObject_1$J || (templateObject_1$J = __makeT
6581
6589
  var InnerContainer = styled.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"])));
6582
6590
  var Message = styled.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"])));
6583
6591
  var ButtonContainer = styled.div(templateObject_4$l || (templateObject_4$l = __makeTemplateObject(["\n display: flex;\n margin-left: auto;\n"], ["\n display: flex;\n margin-left: auto;\n"])));
6584
- var Button$1 = styled(LoaderButton)(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n white-space: nowrap;\n margin: auto;\n"], ["\n white-space: nowrap;\n margin: auto;\n"])));
6585
- var templateObject_1$J, templateObject_2$D, templateObject_3$r, templateObject_4$l, templateObject_5$d;
6592
+ var Button$1 = styled(LoaderButton)(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n white-space: nowrap;\n margin: auto;\n"], ["\n white-space: nowrap;\n margin: auto;\n"])));
6593
+ var templateObject_1$J, templateObject_2$D, templateObject_3$r, templateObject_4$l, templateObject_5$e;
6586
6594
 
6587
6595
  // This is a simplified version of https://github.com/ZeeCoder/use-resize-observer.
6588
6596
  // We have removed all options and made it compliant with React Compiler/React 19.
@@ -7713,7 +7721,7 @@ var OverlayInner$1 = styled(LoadingOverlayInner)(templateObject_1$F || (template
7713
7721
  var ContinuityCameraCheckboxContainer$1 = styled.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"])));
7714
7722
  var ContinuityCameraCheckboxInner = styled(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"])));
7715
7723
  var ContinuityCameraCheckbox$1 = styled.input(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
7716
- var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n color: ", ";\n ", "\n"], ["\n color: ", ";\n ", "\n"])), function (props) {
7724
+ var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n color: ", ";\n ", "\n"], ["\n color: ", ";\n ", "\n"])), function (props) {
7717
7725
  var _a, _b, _c, _d;
7718
7726
  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';
7719
7727
  }, function (props) {
@@ -7750,7 +7758,7 @@ var ContinueButton$1 = styled(LoaderButton)(templateObject_8$3 || (templateObjec
7750
7758
  var _a, _b, _c, _d;
7751
7759
  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';
7752
7760
  });
7753
- 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;
7761
+ 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;
7754
7762
 
7755
7763
  var ContinuityCameraCheckboxContainer = styled.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"])));
7756
7764
  var ContinuityCameraCheckbox = styled.input(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n margin-right: 8px;\n"], ["\n margin-right: 8px;\n"])));
@@ -8000,9 +8008,9 @@ var Heading$a = styled.h1(templateObject_1$C || (templateObject_1$C = __makeTemp
8000
8008
  var ImagesContainer = styled(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"])));
8001
8009
  var ImageRow = styled(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"])));
8002
8010
  var ImageCol$1 = styled.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"])));
8003
- var StyledImage = styled(CapturedDocumentImg)(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n width: 100%;\n border-radius: 12px;\n"], ["\n width: 100%;\n border-radius: 12px;\n"])));
8011
+ var StyledImage = styled(CapturedDocumentImg)(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n width: 100%;\n border-radius: 12px;\n"], ["\n width: 100%;\n border-radius: 12px;\n"])));
8004
8012
  var DebugPre = styled.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"])));
8005
- var templateObject_1$C, templateObject_2$x, templateObject_3$n, templateObject_4$h, templateObject_5$b, templateObject_6$7;
8013
+ var templateObject_1$C, templateObject_2$x, templateObject_3$n, templateObject_4$h, templateObject_5$c, templateObject_6$7;
8006
8014
 
8007
8015
  function useShowSuccessScreen(skipSuccessScreen, successScreenReady, onDoneCallback) {
8008
8016
  var _this = this;
@@ -8211,7 +8219,7 @@ function IdCardBorderSvg(_a) {
8211
8219
  }
8212
8220
  var IdCardBorderContainer = styled.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);
8213
8221
  var IdCardBorderInner = styled.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"])));
8214
- var SvgOverlay = styled.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"])));
8222
+ var SvgOverlay = styled.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"])));
8215
8223
  var IdCardBorderRect = styled.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) {
8216
8224
  var _a;
8217
8225
  return (_a = props.$speed) !== null && _a !== void 0 ? _a : '3s';
@@ -8219,7 +8227,7 @@ var IdCardBorderRect = styled.rect(templateObject_6$6 || (templateObject_6$6 = _
8219
8227
  var _a;
8220
8228
  return (_a = props.$fillMode) !== null && _a !== void 0 ? _a : 'forwards';
8221
8229
  });
8222
- var templateObject_1$B, templateObject_2$w, templateObject_3$m, templateObject_4$g, templateObject_5$a, templateObject_6$6;
8230
+ var templateObject_1$B, templateObject_2$w, templateObject_3$m, templateObject_4$g, templateObject_5$b, templateObject_6$6;
8223
8231
 
8224
8232
  var defaultIdCaptureGuideImages = {
8225
8233
  portrait: {
@@ -8718,7 +8726,7 @@ var GuideRegion = styled.div(templateObject_4$f || (templateObject_4$f = __makeT
8718
8726
  }, function (props) {
8719
8727
  return props.$minHeight ? "min-height: ".concat(props.$minHeight, "px;") : "";
8720
8728
  });
8721
- var Spacer = styled(GuideRegion)(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n display: block;\n width: auto;\n"], ["\n display: block;\n width: auto;\n"])));
8729
+ var Spacer = styled(GuideRegion)(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n display: block;\n width: auto;\n"], ["\n display: block;\n width: auto;\n"])));
8722
8730
  var GuideCenterRegion = styled.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) {
8723
8731
  return props.$minWidth ? "min-width: ".concat(props.$minWidth, "px;") : "";
8724
8732
  }, function (props) {
@@ -8734,7 +8742,7 @@ var GuideText = styled.span(templateObject_8$2 || (templateObject_8$2 = __makeTe
8734
8742
  var GuideCenterInner = styled.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) {
8735
8743
  return props.$isLandscape ? 'height: 100%;' : 'width: 90%;';
8736
8744
  });
8737
- 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;
8745
+ 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;
8738
8746
 
8739
8747
  var IdCaptureFitGuide = function IdCaptureFitGuide(_a) {
8740
8748
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
@@ -9598,13 +9606,13 @@ var Heading$9 = styled.h1(templateObject_3$j || (templateObject_3$j = __makeTemp
9598
9606
  var FooterRow = styled.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) {
9599
9607
  return props.$maskColor;
9600
9608
  });
9601
- var Instructions = styled.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) {
9609
+ var Instructions = styled.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) {
9602
9610
  var _a, _b, _c;
9603
9611
  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';
9604
9612
  });
9605
9613
  var StyledButtonsRow$8 = styled(ButtonsRow$2)(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n padding-top: 20px;\n"], ["\n padding-top: 20px;\n"])));
9606
9614
  var PreviewImage = styled.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"])));
9607
- var templateObject_1$r, templateObject_2$p, templateObject_3$j, templateObject_4$d, templateObject_5$8, templateObject_6$4, templateObject_7$2;
9615
+ var templateObject_1$r, templateObject_2$p, templateObject_3$j, templateObject_4$d, templateObject_5$9, templateObject_6$4, templateObject_7$2;
9608
9616
 
9609
9617
  var DocumentCaptureWizard = function DocumentCaptureWizard(_a) {
9610
9618
  var onSuccess = _a.onSuccess,
@@ -9879,9 +9887,9 @@ var StyledOverlayInner$2 = styled(OverlayInner$2)(templateObject_1$q || (templat
9879
9887
  var Heading$8 = styled.h3(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
9880
9888
  var Description$3 = styled.p(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
9881
9889
  var Instruction = styled.p(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n font-weight: bold;\n"], ["\n font-weight: bold;\n"])));
9882
- var ImageCol = styled.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"])));
9890
+ var ImageCol = styled.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"])));
9883
9891
  var StyledButtonsRow$7 = styled(ButtonsRow$2)(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
9884
- var templateObject_1$q, templateObject_2$o, templateObject_3$i, templateObject_4$c, templateObject_5$7, templateObject_6$3;
9892
+ var templateObject_1$q, templateObject_2$o, templateObject_3$i, templateObject_4$c, templateObject_5$8, templateObject_6$3;
9885
9893
 
9886
9894
  function ScalingCameraFeed() {
9887
9895
  var _a = useIdCaptureStore(),
@@ -10240,7 +10248,7 @@ var ScreenContainer = styled.div(templateObject_1$p || (templateObject_1$p = __m
10240
10248
  var ScreenPanel = styled.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"])));
10241
10249
  var SelectIdCardScreenPanel = styled(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"])));
10242
10250
  var ScreenPanelHeading = styled.h3(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n margin: 0 0 30px;\n"], ["\n margin: 0 0 30px;\n"])));
10243
- var ScreenActionsBar = styled.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"])));
10251
+ var ScreenActionsBar = styled.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"])));
10244
10252
  var DashedSeparator = styled.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"])));
10245
10253
  var OrWrapper = styled.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"])));
10246
10254
  var UploadIdBackHelpText = styled.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"])));
@@ -10522,7 +10530,7 @@ function humanFileSize(bytes, si, dp) {
10522
10530
  } while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);
10523
10531
  return bytes.toFixed(dp) + ' ' + units[u];
10524
10532
  }
10525
- 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;
10533
+ 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;
10526
10534
 
10527
10535
  var lastDocumentDetectedAtDefaults = {
10528
10536
  idCardFront: null,
@@ -11907,8 +11915,8 @@ var StyledOverlayInner$1 = styled(OverlayInner$2)(templateObject_1$m || (templat
11907
11915
  var Heading$7 = styled.h3(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
11908
11916
  var Description$2 = styled.p(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
11909
11917
  var ImageContainer$6 = styled(OverlayImageContainer)(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
11910
- var StyledButtonsRow$6 = styled(ButtonsRow$2)(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
11911
- var templateObject_1$m, templateObject_2$k, templateObject_3$f, templateObject_4$a, templateObject_5$5;
11918
+ var StyledButtonsRow$6 = styled(ButtonsRow$2)(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n margin-top: 32px;\n"], ["\n margin-top: 32px;\n"])));
11919
+ var templateObject_1$m, templateObject_2$k, templateObject_3$f, templateObject_4$a, templateObject_5$6;
11912
11920
 
11913
11921
  var initialState$4 = {
11914
11922
  busy: false,
@@ -12875,7 +12883,7 @@ var ProgressIndicator = styled(LoadingOverlayProgressIndicator)(templateObject_4
12875
12883
  var _a, _b, _c, _d;
12876
12884
  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)';
12877
12885
  });
12878
- var ContinueButton = styled(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) {
12886
+ var ContinueButton = styled(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) {
12879
12887
  var _a, _b, _c, _d, _e, _f;
12880
12888
  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, ";") : '';
12881
12889
  }, function (props) {
@@ -12894,7 +12902,7 @@ var ContinueButton = styled(LoaderButton)(templateObject_5$4 || (templateObject_
12894
12902
  var _a, _b, _c, _d;
12895
12903
  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';
12896
12904
  });
12897
- var templateObject_1$g, templateObject_2$e, templateObject_3$c, templateObject_4$8, templateObject_5$4;
12905
+ var templateObject_1$g, templateObject_2$e, templateObject_3$c, templateObject_4$8, templateObject_5$5;
12898
12906
 
12899
12907
  var components = {
12900
12908
  "default": SelfieCaptureLoadingOverlayDefault,
@@ -13973,7 +13981,8 @@ function VideoSignaturePad(_a) {
13973
13981
  signaturePadEmptyText: '',
13974
13982
  headTrackingUnsatisfiedText: '',
13975
13983
  clearSignatureBtnText: 'Clear',
13976
- acceptSignatureBtnText: 'Accept'
13984
+ acceptSignatureBtnText: 'Accept',
13985
+ signHereText: 'Sign here'
13977
13986
  });
13978
13987
  return /*#__PURE__*/React__default.createElement(SignatureCanvasContainer, {
13979
13988
  className: cn(classNames.signatureCanvasContainer, disabled && classNames.signatureCanvasContainerDisabled),
@@ -14011,7 +14020,7 @@ function VideoSignaturePad(_a) {
14011
14020
  }
14012
14021
  }, /*#__PURE__*/React__default.createElement(SignaturePadContentInner, {
14013
14022
  className: classNames.emptyContentInner
14014
- }, verbiage.signaturePadEmptyText)))), /*#__PURE__*/React__default.createElement(SignatureButtonsContainer, {
14023
+ }, verbiage.signaturePadEmptyText))), /*#__PURE__*/React__default.createElement(SignHereText, null, verbiage.signHereText)), /*#__PURE__*/React__default.createElement(SignatureButtonsContainer, {
14015
14024
  className: classNames.signatureButtonsRow
14016
14025
  }, /*#__PURE__*/React__default.createElement(LoaderButton, {
14017
14026
  variant: "secondary",
@@ -14038,7 +14047,8 @@ var SignaturePadContentInner = styled.div(templateObject_4$5 || (templateObject_
14038
14047
  var _a, _b, _c;
14039
14048
  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';
14040
14049
  });
14041
- var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$5;
14050
+ var SignHereText = styled.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"])));
14051
+ var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$5, templateObject_5$4;
14042
14052
 
14043
14053
  function VideoSignatureGuides(_a) {
14044
14054
  var onAcceptBtnClicked = _a.onAcceptBtnClicked,