idmission-web-sdk 2.6.3-changeset-release-develop-8c2f951 → 2.6.3-changeset-release-develop-c045c91
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/index.d.ts +1 -1
- package/dist/props.json +1 -1
- package/dist/sdk2.cjs.development.js +141 -124
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +141 -124
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +141 -124
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/package.json +1 -1
package/dist/sdk2.esm.js
CHANGED
|
@@ -18,7 +18,7 @@ import { isWebGPUSupported, loadAndCompile, loadLiteRt, Tensor } from '@litertjs
|
|
|
18
18
|
|
|
19
19
|
// Extracted from the barrel so modules inside this package can read the
|
|
20
20
|
// version without importing index.ts (which would be circular).
|
|
21
|
-
var webSdkUiVersion = '0.5.
|
|
21
|
+
var webSdkUiVersion = '0.5.1';
|
|
22
22
|
|
|
23
23
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
24
24
|
try {
|
|
@@ -484,7 +484,7 @@ function _toConsumableArray(r) {
|
|
|
484
484
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$v(r) || _nonIterableSpread();
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
var webSdkCoreVersion = '0.5.
|
|
487
|
+
var webSdkCoreVersion = '0.5.1';
|
|
488
488
|
|
|
489
489
|
var maxTime = 86400000;
|
|
490
490
|
var maxCount = 1000000;
|
|
@@ -7788,7 +7788,7 @@ function ScalingCameraFeed(_ref2) {
|
|
|
7788
7788
|
});
|
|
7789
7789
|
}
|
|
7790
7790
|
|
|
7791
|
-
var _templateObject$_, _templateObject2$Q, _templateObject3$
|
|
7791
|
+
var _templateObject$_, _templateObject2$Q, _templateObject3$E, _templateObject4$z, _templateObject5$t, _templateObject6$l;
|
|
7792
7792
|
function _createForOfIteratorHelperLoose$r(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray$r(r)) || e) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: true } : { done: false, value: r[o++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
7793
7793
|
function _unsupportedIterableToArray$r(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$r(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$r(r, a) : void 0; } }
|
|
7794
7794
|
function _arrayLikeToArray$r(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
@@ -7815,7 +7815,7 @@ var ObjectDetectionDebugOverlayDiv = styled.div(_templateObject2$Q || (_template
|
|
|
7815
7815
|
var $flipX = _ref3.$flipX;
|
|
7816
7816
|
return $flipX ? 'transform: scaleX(-1);' : '';
|
|
7817
7817
|
});
|
|
7818
|
-
var ObjectDetectionDebugBox = styled.div(_templateObject3$
|
|
7818
|
+
var ObjectDetectionDebugBox = styled.div(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n font: 10px monospace;\n position: absolute;\n border: 3px solid ", ";\n color: ", ";\n ", "\n transform-style: preserve-3d;\n"])), function (_ref4) {
|
|
7819
7819
|
var $color = _ref4.$color;
|
|
7820
7820
|
return $color != null ? $color : 'green';
|
|
7821
7821
|
}, function (_ref5) {
|
|
@@ -7826,7 +7826,7 @@ var ObjectDetectionDebugBox = styled.div(_templateObject3$D || (_templateObject3
|
|
|
7826
7826
|
return $flipX ? 'transform: scaleX(-1);' : '';
|
|
7827
7827
|
});
|
|
7828
7828
|
var darkColors = new Set(['blue', 'darkblue', 'navy', 'darkgreen', 'purple', 'maroon', 'black', 'darkred', 'indigo']);
|
|
7829
|
-
var ObjectDetectionDebugLabel = styled.span(_templateObject4$
|
|
7829
|
+
var ObjectDetectionDebugLabel = styled.span(_templateObject4$z || (_templateObject4$z = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: -1px;\n left: -1px;\n background: ", ";\n color: ", ";\n font: bold 9px monospace;\n padding: 1px 3px;\n white-space: nowrap;\n transform: translateY(-100%);\n"])), function (_ref7) {
|
|
7830
7830
|
var $color = _ref7.$color;
|
|
7831
7831
|
return $color != null ? $color : 'green';
|
|
7832
7832
|
}, function (_ref8) {
|
|
@@ -8352,13 +8352,13 @@ var PlacedGuidanceMessageContainer = function PlacedGuidanceMessageContainer(_re
|
|
|
8352
8352
|
});
|
|
8353
8353
|
};
|
|
8354
8354
|
|
|
8355
|
-
var _templateObject$V, _templateObject2$N, _templateObject3$
|
|
8355
|
+
var _templateObject$V, _templateObject2$N, _templateObject3$D, _templateObject4$y;
|
|
8356
8356
|
var wavesAnimation = keyframes(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n 0% {\n opacity: 0;\n transform: scale3d(1, 1, 1);\n }\n 80% {\n opacity: 1;\n }\n 100% {\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n"])));
|
|
8357
8357
|
var progressBarAnimation = keyframes(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n"])));
|
|
8358
|
-
keyframes(_templateObject3$
|
|
8359
|
-
keyframes(_templateObject4$
|
|
8358
|
+
keyframes(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
|
|
8359
|
+
keyframes(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n to {\n stroke-dashoffset: 0;\n }\n"])));
|
|
8360
8360
|
|
|
8361
|
-
var _templateObject$U, _templateObject2$M, _templateObject3$
|
|
8361
|
+
var _templateObject$U, _templateObject2$M, _templateObject3$C, _templateObject4$x, _templateObject5$s, _templateObject6$k, _templateObject7$h, _templateObject8$d, _templateObject9$d, _templateObject0$b, _templateObject1$a, _templateObject10$9, _templateObject11$7, _templateObject12$6, _templateObject13$6, _templateObject14$6, _templateObject15$5, _templateObject16$4, _templateObject17$3, _templateObject18$3, _templateObject19$3, _templateObject20$3;
|
|
8362
8362
|
var OverlayContainer = styled.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n\n display: flex;\n flex-direction: column;\n\n overflow-x: hidden;\n overflow-y: auto;\n\n background: ", ";\n ", "\n\n z-index: 10000;\n"])), function (props) {
|
|
8363
8363
|
return props.theme.background ? "" + props.theme.background : "white";
|
|
8364
8364
|
}, function (props) {
|
|
@@ -8370,8 +8370,8 @@ var OverlayInner$2 = styled.div(_templateObject2$M || (_templateObject2$M = _tag
|
|
|
8370
8370
|
}, function (props) {
|
|
8371
8371
|
return props.theme.padding ? "box-sizing: border-box; padding: " + props.theme.padding + ";" : "";
|
|
8372
8372
|
});
|
|
8373
|
-
var OverlayImageContainer = styled.div(_templateObject3$
|
|
8374
|
-
var OverlayImageRow = styled.div(_templateObject4$
|
|
8373
|
+
var OverlayImageContainer = styled.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\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"])));
|
|
8374
|
+
var OverlayImageRow = styled.div(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\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"])));
|
|
8375
8375
|
/**
|
|
8376
8376
|
* The review screens' background. Exported so a surface that must MATCH it —
|
|
8377
8377
|
* the browser-chrome tint in `BrowserEdgeTint` — reads the same value rather
|
|
@@ -8534,7 +8534,7 @@ var error = function error() {
|
|
|
8534
8534
|
|
|
8535
8535
|
var _excluded$g = ["children", "status", "borderWidth", "borderRadius", "borderColor", "aspectRatio", "progress", "guideBoxDisabled"],
|
|
8536
8536
|
_excluded2$5 = ["borderRadius", "borderColor", "borderWidth", "borderOpacity", "progress", "isProgressBar", "scaleBorderRadius"];
|
|
8537
|
-
var _templateObject$T, _templateObject2$L, _templateObject3$
|
|
8537
|
+
var _templateObject$T, _templateObject2$L, _templateObject3$B, _templateObject4$w, _templateObject5$r, _templateObject6$j, _templateObject7$g;
|
|
8538
8538
|
var IdCardGuideImageContainer = styled(IdCardBorder)(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n position: relative;\n ", "\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n ", ";\n"])), function (props) {
|
|
8539
8539
|
return props.$isVisible ? '' : 'opacity: 0;';
|
|
8540
8540
|
}, function (props) {
|
|
@@ -8702,8 +8702,8 @@ function IdCardBorderSvg(_ref2) {
|
|
|
8702
8702
|
})]
|
|
8703
8703
|
}));
|
|
8704
8704
|
}
|
|
8705
|
-
var IdCardBorderContainer = styled.div(_templateObject3$
|
|
8706
|
-
var IdCardBorderInner = styled.div(_templateObject4$
|
|
8705
|
+
var IdCardBorderContainer = styled.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\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);
|
|
8706
|
+
var IdCardBorderInner = styled.div(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\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"])));
|
|
8707
8707
|
var SvgOverlay = styled.svg(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"])));
|
|
8708
8708
|
var IdCardBorderRect = styled.rect(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n &.idmSdkProgressBorder {\n transition: stroke-dashoffset 0.3s ease-out;\n }\n"])));
|
|
8709
8709
|
// Ported dep (sdk2's video_id/IdVideoCaptureFlipIdPrompt.tsx:136-148 —
|
|
@@ -8932,7 +8932,7 @@ var Wrapper$1 = styled.div(_templateObject$S || (_templateObject$S = _taggedTemp
|
|
|
8932
8932
|
return props.$isMobile ? props.$isLandscape ? 'height: 100%;' : 'width: 80%;' : props.$isLandscape ? 'height: 70%;' : 'width: 82%;';
|
|
8933
8933
|
});
|
|
8934
8934
|
|
|
8935
|
-
var _templateObject$R, _templateObject2$K, _templateObject3$
|
|
8935
|
+
var _templateObject$R, _templateObject2$K, _templateObject3$A, _templateObject4$v, _templateObject5$q, _templateObject6$i, _templateObject7$f, _templateObject8$c, _templateObject9$c;
|
|
8936
8936
|
var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_ref) {
|
|
8937
8937
|
var _theme$idCapture$guid, _theme$idCapture, _theme$idCapture$guid2, _theme$idCapture2, _theme$idCapture$guid3, _theme$idCapture3, _theme$idCapture$guid4, _theme$idCapture4, _theme$idCapture$guid5, _theme$idCapture5;
|
|
8938
8938
|
var _ref$classNames = _ref.classNames,
|
|
@@ -9090,8 +9090,8 @@ var regionClsx = function regionClsx(classNames, which) {
|
|
|
9090
9090
|
};
|
|
9091
9091
|
var StyledPageContainer = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1000;\n overflow: hidden;\n"])));
|
|
9092
9092
|
var GuidesContainer = styled.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n height: 100%;\n"])));
|
|
9093
|
-
var GuideCenterRow = styled.div(_templateObject3$
|
|
9094
|
-
var GuideRegion = styled.div(_templateObject4$
|
|
9093
|
+
var GuideCenterRow = styled.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-items: center;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n min-height: 0;\n flex: 1;\n"])));
|
|
9094
|
+
var GuideRegion = styled.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: end;\n width: 100%;\n position: relative;\n z-index: 1000;\n background: ", ";\n color: ", ";\n text-align: center;\n ", "\n ", "\n"])), function (props) {
|
|
9095
9095
|
var _ref2, _props$$maskColor, _props$theme;
|
|
9096
9096
|
return (_ref2 = (_props$$maskColor = props.$maskColor) != null ? _props$$maskColor : (_props$theme = props.theme) == null || (_props$theme = _props$theme.idCapture) == null || (_props$theme = _props$theme.guideOverlay) == null ? void 0 : _props$theme.backgroundColor) != null ? _ref2 : OVERLAY_GUIDE_MASK_DEFAULT;
|
|
9097
9097
|
}, function (props) {
|
|
@@ -9121,7 +9121,7 @@ var GuideCenterInner = styled.div(_templateObject9$c || (_templateObject9$c = _t
|
|
|
9121
9121
|
/** The mask colour when neither the prop nor the theme sets one. */
|
|
9122
9122
|
var OVERLAY_GUIDE_MASK_DEFAULT = 'rgba(0, 0, 0, 0.5)';
|
|
9123
9123
|
|
|
9124
|
-
var _templateObject$Q, _templateObject2$J, _templateObject3$
|
|
9124
|
+
var _templateObject$Q, _templateObject2$J, _templateObject3$z, _templateObject4$u;
|
|
9125
9125
|
var IdCaptureFitGuide = function IdCaptureFitGuide(_ref) {
|
|
9126
9126
|
var _theme$idCapture$guid, _theme$idCapture, _theme$idCapture$guid5, _theme$idCapture5, _theme$idCapture$guid6, _theme$idCapture6, _theme$idCapture$guid7, _theme$idCapture7;
|
|
9127
9127
|
var aspectRatio = _ref.aspectRatio,
|
|
@@ -9362,7 +9362,7 @@ var CanvasWrapper$1 = styled.div(_templateObject$Q || (_templateObject$Q = _tagg
|
|
|
9362
9362
|
return props.$aboveCameraFeed ? "z-index: 1;" : "box-shadow: inset 0 0 0 2px " + props.$maskColor + ";\n z-index: -1;";
|
|
9363
9363
|
});
|
|
9364
9364
|
var Canvas$2 = styled.canvas(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
9365
|
-
var CaptureAreaProgress = styled.div(_templateObject3$
|
|
9365
|
+
var CaptureAreaProgress = styled.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", "px;\n top: ", "px;\n width: ", "px;\n height: ", "px;\n pointer-events: none;\n"])), function (props) {
|
|
9366
9366
|
return props.$x;
|
|
9367
9367
|
}, function (props) {
|
|
9368
9368
|
return props.$y;
|
|
@@ -9371,7 +9371,7 @@ var CaptureAreaProgress = styled.div(_templateObject3$y || (_templateObject3$y =
|
|
|
9371
9371
|
}, function (props) {
|
|
9372
9372
|
return props.$height;
|
|
9373
9373
|
});
|
|
9374
|
-
var GuideBoxLayer = styled(CaptureAreaProgress)(_templateObject4$
|
|
9374
|
+
var GuideBoxLayer = styled(CaptureAreaProgress)(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n z-index: 1000;\n"])));
|
|
9375
9375
|
/** The mask colour when neither the prop nor the theme sets one. */
|
|
9376
9376
|
var FIT_GUIDE_MASK_DEFAULT = '#708090';
|
|
9377
9377
|
|
|
@@ -9440,7 +9440,7 @@ var ExitCaptureButton = function ExitCaptureButton(_ref) {
|
|
|
9440
9440
|
});
|
|
9441
9441
|
};
|
|
9442
9442
|
|
|
9443
|
-
var _templateObject$O, _templateObject2$I, _templateObject3$
|
|
9443
|
+
var _templateObject$O, _templateObject2$I, _templateObject3$y, _templateObject4$t;
|
|
9444
9444
|
function IdCaptureLoadingGraphic(props) {
|
|
9445
9445
|
var isMobile = window.innerHeight > window.innerWidth;
|
|
9446
9446
|
return isMobile ? jsx(IdCaptureLoadingGraphicMobile, _extends({}, props)) : jsx(IdCaptureLoadingGraphicDesktop, _extends({}, props));
|
|
@@ -9945,10 +9945,10 @@ var LoadingGraphicSvg = styled.svg(_templateObject2$I || (_templateObject2$I = _
|
|
|
9945
9945
|
}, function (props) {
|
|
9946
9946
|
return props.$borderColor;
|
|
9947
9947
|
});
|
|
9948
|
-
var LoadingGraphicCardGroup = styled.g(_templateObject3$
|
|
9948
|
+
var LoadingGraphicCardGroup = styled.g(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n transform: translate(", ", 0);\n transform-style: preserve-3d;\n transition: transform 0.3s linear;\n"])), function (props) {
|
|
9949
9949
|
return props.$offScreen ? '-500px' : '0';
|
|
9950
9950
|
});
|
|
9951
|
-
var LoadingGraphicPhoneGroup = styled.g(_templateObject4$
|
|
9951
|
+
var LoadingGraphicPhoneGroup = styled.g(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n transform: translate(", ", 0);\n transform-style: preserve-3d;\n transition: transform 0.3s linear;\n"])), function (props) {
|
|
9952
9952
|
return props.$offScreen ? '40px' : '0';
|
|
9953
9953
|
});
|
|
9954
9954
|
|
|
@@ -10206,7 +10206,7 @@ function CustomerLoadingSpinner(_ref2) {
|
|
|
10206
10206
|
// parent's gap/padding, which would offset the fallback it sits next to.
|
|
10207
10207
|
var SpinnerSlot = styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:empty {\n display: contents;\n }\n"])));
|
|
10208
10208
|
|
|
10209
|
-
var _templateObject$M, _templateObject2$H, _templateObject3$
|
|
10209
|
+
var _templateObject$M, _templateObject2$H, _templateObject3$x, _templateObject4$s, _templateObject5$p;
|
|
10210
10210
|
var legacyInstructionImageUrl$1 = DEFAULT_CDN_URL$1 + "/WebSDK-Instruction-DL-Capture-3-Portrait.png";
|
|
10211
10211
|
// Module-level so the default `now` prop has a stable identity across
|
|
10212
10212
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
@@ -10409,14 +10409,14 @@ var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(_templateObject2$H || (_temp
|
|
|
10409
10409
|
var _props$theme4, _props$theme5;
|
|
10410
10410
|
return (_props$theme4 = props.theme) != null && (_props$theme4 = _props$theme4.idCapture) != null && (_props$theme4 = _props$theme4.loadingOverlay) != null && _props$theme4.progressBarFontSize ? "font-size: " + ((_props$theme5 = props.theme) == null || (_props$theme5 = _props$theme5.idCapture) == null || (_props$theme5 = _props$theme5.loadingOverlay) == null ? void 0 : _props$theme5.progressBarFontSize) + ";" : '';
|
|
10411
10411
|
});
|
|
10412
|
-
var ProgressBarBackground$1 = styled(LoadingOverlayProgressBarBackground)(_templateObject3$
|
|
10412
|
+
var ProgressBarBackground$1 = styled(LoadingOverlayProgressBarBackground)(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
|
|
10413
10413
|
var _props$theme$idCaptur4, _props$theme6;
|
|
10414
10414
|
return (_props$theme$idCaptur4 = (_props$theme6 = props.theme) == null || (_props$theme6 = _props$theme6.idCapture) == null || (_props$theme6 = _props$theme6.loadingOverlay) == null ? void 0 : _props$theme6.progressBarBackgroundColor) != null ? _props$theme$idCaptur4 : PROGRESS_TRACK_DEFAULT$1;
|
|
10415
10415
|
}, function (props) {
|
|
10416
10416
|
var _props$theme$idCaptur5, _props$theme7;
|
|
10417
10417
|
return (_props$theme$idCaptur5 = (_props$theme7 = props.theme) == null || (_props$theme7 = _props$theme7.idCapture) == null || (_props$theme7 = _props$theme7.loadingOverlay) == null ? void 0 : _props$theme7.progressBarBackgroundOpacity) != null ? _props$theme$idCaptur5 : PROGRESS_TRACK_OPACITY_DEFAULT$1;
|
|
10418
10418
|
});
|
|
10419
|
-
var ProgressIndicator$1 = styled(LoadingOverlayProgressIndicator)(_templateObject4$
|
|
10419
|
+
var ProgressIndicator$1 = styled(LoadingOverlayProgressIndicator)(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n background: ", ";\n"])), function (props) {
|
|
10420
10420
|
var _props$theme$idCaptur6, _props$theme8;
|
|
10421
10421
|
return (_props$theme$idCaptur6 = (_props$theme8 = props.theme) == null || (_props$theme8 = _props$theme8.idCapture) == null || (_props$theme8 = _props$theme8.loadingOverlay) == null ? void 0 : _props$theme8.progressBarIndicatorColor) != null ? _props$theme$idCaptur6 : PROGRESS_INDICATOR_DEFAULT$1;
|
|
10422
10422
|
});
|
|
@@ -19061,7 +19061,7 @@ function instructionVerbiage(bag, code) {
|
|
|
19061
19061
|
return bag == null ? void 0 : bag[instructionVerbiageKeys[code]];
|
|
19062
19062
|
}
|
|
19063
19063
|
|
|
19064
|
-
var _templateObject$L, _templateObject2$G, _templateObject3$
|
|
19064
|
+
var _templateObject$L, _templateObject2$G, _templateObject3$w, _templateObject4$r, _templateObject5$o;
|
|
19065
19065
|
var PDF417_ASPECT_RATIO = 3 / 1;
|
|
19066
19066
|
function BarcodeGuideOverlay(_ref) {
|
|
19067
19067
|
var _ref$aspectRatio = _ref.aspectRatio,
|
|
@@ -19193,15 +19193,15 @@ function BarcodeGuideOverlay(_ref) {
|
|
|
19193
19193
|
}
|
|
19194
19194
|
var Wrapper = styled.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n z-index: 1;\n"])));
|
|
19195
19195
|
var Canvas$1 = styled.canvas(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
19196
|
-
var TextOverlay = styled.div(_templateObject3$
|
|
19197
|
-
var HeaderText = styled.div(_templateObject4$
|
|
19196
|
+
var TextOverlay = styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n padding-top: 48px;\n pointer-events: none;\n z-index: 2;\n"])));
|
|
19197
|
+
var HeaderText = styled.div(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n color: white;\n font-size: 24px;\n font-weight: 700;\n text-align: center;\n text-transform: uppercase;\n letter-spacing: 2px;\n margin-bottom: 16px;\n"])));
|
|
19198
19198
|
var InstructionText = styled.div(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n color: white;\n font-size: 16px;\n font-weight: 400;\n text-align: center;\n max-width: 300px;\n line-height: 1.4;\n opacity: 0.9;\n"])));
|
|
19199
19199
|
|
|
19200
|
-
var _templateObject$K, _templateObject2$F, _templateObject3$
|
|
19200
|
+
var _templateObject$K, _templateObject2$F, _templateObject3$v, _templateObject4$q, _templateObject5$n, _templateObject6$h;
|
|
19201
19201
|
var scaleIn = keyframes(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(0);\n opacity: 0;\n }\n 50% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n"])));
|
|
19202
19202
|
var drawCheck = keyframes(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n 0% {\n stroke-dashoffset: 24;\n }\n 100% {\n stroke-dashoffset: 0;\n }\n"])));
|
|
19203
|
-
styled.div(_templateObject3$
|
|
19204
|
-
styled.div(_templateObject4$
|
|
19203
|
+
styled.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\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 pointer-events: none;\n z-index: 3;\n"])));
|
|
19204
|
+
styled.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n width: 80px;\n height: 80px;\n border-radius: 50%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n animation: ", " 0.4s ease-out forwards;\n"])), function (props) {
|
|
19205
19205
|
return props.$color;
|
|
19206
19206
|
}, scaleIn);
|
|
19207
19207
|
styled.svg(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 48px;\n height: 48px;\n"])));
|
|
@@ -19299,7 +19299,7 @@ function IdCaptureGuides(_ref) {
|
|
|
19299
19299
|
});
|
|
19300
19300
|
}
|
|
19301
19301
|
|
|
19302
|
-
var _templateObject$J, _templateObject2$E, _templateObject3$
|
|
19302
|
+
var _templateObject$J, _templateObject2$E, _templateObject3$u, _templateObject4$p, _templateObject5$m;
|
|
19303
19303
|
function OverrideWrongDocumentTypeDialog(_ref) {
|
|
19304
19304
|
var visible = _ref.visible,
|
|
19305
19305
|
onOverride = _ref.onOverride,
|
|
@@ -19339,8 +19339,8 @@ var Container$3 = styled.div(_templateObject$J || (_templateObject$J = _taggedTe
|
|
|
19339
19339
|
return (_props$theme$idCaptur3 = (_props$theme$idCaptur4 = props.theme.idCapture) == null || (_props$theme$idCaptur4 = _props$theme$idCaptur4.overrideWrongDocumentTypeGuidance) == null ? void 0 : _props$theme$idCaptur4.textColor) != null ? _props$theme$idCaptur3 : 'black';
|
|
19340
19340
|
});
|
|
19341
19341
|
var InnerContainer = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n padding: 16px 24px;\n margin: auto 0;\n width: 100%;\n"])));
|
|
19342
|
-
var Message = styled.span(_templateObject3$
|
|
19343
|
-
var ButtonContainer = styled.div(_templateObject4$
|
|
19342
|
+
var Message = styled.span(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n display: block;\n margin: auto 12px auto 0;\n"])));
|
|
19343
|
+
var ButtonContainer = styled.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-left: auto;\n"])));
|
|
19344
19344
|
var Button = styled(LoaderButton)(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n margin: auto;\n"])));
|
|
19345
19345
|
|
|
19346
19346
|
var IdCaptureLoadingOverlayLegacy = function IdCaptureLoadingOverlayLegacy(_ref) {
|
|
@@ -19509,7 +19509,7 @@ var selectRingStatusKey = function selectRingStatusKey(_ref) {
|
|
|
19509
19509
|
return 'warming';
|
|
19510
19510
|
};
|
|
19511
19511
|
|
|
19512
|
-
var _templateObject$H, _templateObject2$C, _templateObject3$
|
|
19512
|
+
var _templateObject$H, _templateObject2$C, _templateObject3$t, _templateObject4$o, _templateObject5$l, _templateObject6$g, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject0$a, _templateObject1$9;
|
|
19513
19513
|
/**
|
|
19514
19514
|
* The ring overlay's priming cover page (CEO prototype `#v-prime`): camera
|
|
19515
19515
|
* badge, title/subtitle, step chips, reassurance chip, "Enable camera &
|
|
@@ -19589,12 +19589,12 @@ var RingIntroScreen = function RingIntroScreen(_ref) {
|
|
|
19589
19589
|
};
|
|
19590
19590
|
var _float = keyframes(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-7px); }\n"])));
|
|
19591
19591
|
var IntroLayout = styled.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 14px;\n padding: 34px;\n text-align: center;\n"])));
|
|
19592
|
-
var Badge = styled.div(_templateObject3$
|
|
19592
|
+
var Badge = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: 84px;\n height: 84px;\n border-radius: 28px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 12px 28px\n color-mix(in srgb, ", " 35%, transparent);\n margin-bottom: 8px;\n animation: ", " 3s ease-in-out infinite;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n\n svg {\n width: 40px;\n height: 40px;\n fill: #ffffff;\n }\n"])), function (props) {
|
|
19593
19593
|
return props.$color;
|
|
19594
19594
|
}, function (props) {
|
|
19595
19595
|
return props.$color;
|
|
19596
19596
|
}, _float);
|
|
19597
|
-
var Title$4 = styled.div(_templateObject4$
|
|
19597
|
+
var Title$4 = styled.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n font-size: 22px;\n font-weight: 700;\n"])));
|
|
19598
19598
|
var Subtitle$3 = styled.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n opacity: 0.65;\n line-height: 1.5;\n"])));
|
|
19599
19599
|
var Steps = styled.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 26px;\n margin: 16px 0 6px;\n"])));
|
|
19600
19600
|
var Step = styled.div(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 6px;\n font-size: 11px;\n opacity: 0.75;\n width: 90px;\n"])));
|
|
@@ -19635,7 +19635,7 @@ var selectRingOverlayStage = function selectRingOverlayStage(_ref) {
|
|
|
19635
19635
|
return requesting ? 'requesting' : 'intro';
|
|
19636
19636
|
};
|
|
19637
19637
|
|
|
19638
|
-
var _templateObject$G, _templateObject2$B, _templateObject3$
|
|
19638
|
+
var _templateObject$G, _templateObject2$B, _templateObject3$s, _templateObject4$n, _templateObject5$k, _templateObject6$f, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject0$9, _templateObject1$8, _templateObject10$8, _templateObject11$6, _templateObject12$5, _templateObject13$5, _templateObject14$5, _templateObject15$4;
|
|
19639
19639
|
/** Minimum time a stage handoff stays on screen so its message is
|
|
19640
19640
|
* legible even when everything preloaded and readiness is instant. */
|
|
19641
19641
|
var STAGE_TRANSITION_HOLD_MS = 1600;
|
|
@@ -19696,8 +19696,8 @@ var RingStageTransition = function RingStageTransition(_ref) {
|
|
|
19696
19696
|
};
|
|
19697
19697
|
var badgePop = keyframes(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n 0% { transform: scale(0.4); opacity: 0; }\n 60% { transform: scale(1.08); opacity: 1; }\n 100% { transform: scale(1); opacity: 1; }\n"])));
|
|
19698
19698
|
var cardFlip = keyframes(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n from { transform: rotateY(0deg); }\n to { transform: rotateY(180deg); }\n"])));
|
|
19699
|
-
var microcopyBeat = keyframes(_templateObject3$
|
|
19700
|
-
var rise = keyframes(_templateObject4$
|
|
19699
|
+
var microcopyBeat = keyframes(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n 0% { opacity: 0; transform: translateY(6px); }\n 18% { opacity: 1; transform: translateY(0); }\n 60% { opacity: 1; transform: translateY(0); }\n 80% { opacity: 0; transform: translateY(-6px); }\n 100% { opacity: 0; }\n"])));
|
|
19700
|
+
var rise = keyframes(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 1; transform: translateY(0); }\n"])));
|
|
19701
19701
|
var riseSubtle = keyframes(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 0.65; transform: translateY(0); }\n"])));
|
|
19702
19702
|
var TransitionLayout = styled.div(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 14px;\n"])));
|
|
19703
19703
|
/* The drop shadow lives on the static parent: filter on the flipping card
|
|
@@ -19726,7 +19726,7 @@ var LoadingRow = styled.div(_templateObject15$4 || (_templateObject15$4 = _tagge
|
|
|
19726
19726
|
return props.$visible ? 1 : 0;
|
|
19727
19727
|
});
|
|
19728
19728
|
|
|
19729
|
-
var _templateObject$F, _templateObject2$A, _templateObject3$
|
|
19729
|
+
var _templateObject$F, _templateObject2$A, _templateObject3$r, _templateObject4$m, _templateObject5$j, _templateObject6$e, _templateObject7$c;
|
|
19730
19730
|
// Module-level so the default `now` prop has a stable identity across
|
|
19731
19731
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
19732
19732
|
var defaultNow$2 = function defaultNow() {
|
|
@@ -20009,9 +20009,9 @@ var RingOverlayInner$1 = styled(LoadingOverlayInner)(_templateObject2$A || (_tem
|
|
|
20009
20009
|
var _props$theme$idCaptur2, _props$theme2;
|
|
20010
20010
|
return (_props$theme$idCaptur2 = (_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.idCapture) == null || (_props$theme2 = _props$theme2.loadingOverlay) == null ? void 0 : _props$theme2.textColor) != null ? _props$theme$idCaptur2 : '#12211d';
|
|
20011
20011
|
}, function (props) {
|
|
20012
|
-
return props.$softEntry ? css(_templateObject3$
|
|
20012
|
+
return props.$softEntry ? css(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n animation: ", " 250ms ease-out both;\n "])), overlayFadeIn$1) : '';
|
|
20013
20013
|
});
|
|
20014
|
-
var RingLayout$1 = styled.div(_templateObject4$
|
|
20014
|
+
var RingLayout$1 = styled.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 14px;\n padding: 40px;\n text-align: center;\n"])));
|
|
20015
20015
|
var StatusLine$1 = styled.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n font-weight: 600;\n min-height: 22px;\n"])));
|
|
20016
20016
|
var SubText$1 = styled.div(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n opacity: 0.65;\n"])));
|
|
20017
20017
|
var ContinueButton$2 = styled(LoaderButton)(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteralLoose(["\n margin-top: 10px;\n white-space: nowrap;\n ", "\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n }\n"])), function (props) {
|
|
@@ -20109,7 +20109,7 @@ var _templateObject$E, _templateObject2$z;
|
|
|
20109
20109
|
var Card = styled.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n background: white;\n border-radius: 8px;\n padding: 24px;\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);\n margin: auto;\n max-width: min(500px, 100% - 48px);\n max-height: 100%;\n overflow: auto;\n box-sizing: border-box;\n"])));
|
|
20110
20110
|
var FlexCard = styled(Card)(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
|
|
20111
20111
|
|
|
20112
|
-
var _templateObject$D, _templateObject2$y, _templateObject3$
|
|
20112
|
+
var _templateObject$D, _templateObject2$y, _templateObject3$q, _templateObject4$l, _templateObject5$i, _templateObject6$d, _templateObject7$b, _templateObject8$9, _templateObject9$9, _templateObject0$8, _templateObject1$7, _templateObject10$7, _templateObject11$5, _templateObject12$4, _templateObject13$4, _templateObject14$4, _templateObject15$3, _templateObject16$3, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2, _templateObject22$2, _templateObject23$2, _templateObject24$1, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44;
|
|
20113
20113
|
function ReviewDocumentDiagnostics(_ref) {
|
|
20114
20114
|
var _document$detectionSc, _document$detectionSc2, _document$focusScore, _document$focusScore2;
|
|
20115
20115
|
var document = _ref.document,
|
|
@@ -20570,8 +20570,8 @@ function RotationAttemptRow(_ref3) {
|
|
|
20570
20570
|
}
|
|
20571
20571
|
var DebugInfoContainer = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n margin-top: 0.5rem;\n margin-bottom: 1rem;\n padding: 0.625rem;\n background: #f8f9fa;\n border-radius: 6px;\n border: 1px solid #e9ecef;\n font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;\n font-size: 0.8125rem;\n line-height: 1.35;\n text-align: left;\n"])));
|
|
20572
20572
|
var DebugSection = styled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0;\n"])));
|
|
20573
|
-
var DebugLabel = styled.span(_templateObject3$
|
|
20574
|
-
var DebugValue = styled.span(_templateObject4$
|
|
20573
|
+
var DebugLabel = styled.span(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n width: 110px;\n flex-shrink: 0;\n color: #495057;\n font-size: 0.8125rem;\n font-weight: 600;\n"])));
|
|
20574
|
+
var DebugValue = styled.span(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n color: #212529;\n font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;\n font-size: 0.8125rem;\n"])));
|
|
20575
20575
|
var ScoreBadge = styled.span(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n padding: 0.1875rem 0.5rem;\n border: 1px solid\n ", ";\n border-radius: 4px;\n background: ", ";\n color: ", ";\n font-size: 0.75rem;\n font-weight: 600;\n"])), function (_ref4) {
|
|
20576
20576
|
var $score = _ref4.$score,
|
|
20577
20577
|
$type = _ref4.$type;
|
|
@@ -20684,7 +20684,7 @@ var DiagnosticsBadge = styled.span(_templateObject44 || (_templateObject44 = _ta
|
|
|
20684
20684
|
return $highlight ? '#004085' : $ok ? '#155724' : '#721c24';
|
|
20685
20685
|
});
|
|
20686
20686
|
|
|
20687
|
-
var _templateObject$C, _templateObject2$x, _templateObject3$
|
|
20687
|
+
var _templateObject$C, _templateObject2$x, _templateObject3$p, _templateObject4$k, _templateObject5$h;
|
|
20688
20688
|
var imageDisplayOrder = ['idCardFront', 'idCardBack', 'idBarcodeImage', 'passport', 'singlePage', 'idFrontIrImage', 'idBackIrImage', 'idFrontUvImage', 'idBackUvImage'];
|
|
20689
20689
|
var ReviewScreen = function ReviewScreen(_ref) {
|
|
20690
20690
|
var capturedDocuments = _ref.capturedDocuments,
|
|
@@ -20777,11 +20777,11 @@ var ReviewScreen = function ReviewScreen(_ref) {
|
|
|
20777
20777
|
};
|
|
20778
20778
|
var Heading$9 = styled.h1(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1.5rem;\n"])));
|
|
20779
20779
|
var ImagesContainer = styled(OverlayImageContainer)(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"])));
|
|
20780
|
-
var ImageRow = styled(OverlayImageRow)(_templateObject3$
|
|
20781
|
-
var ImageCol$1 = styled.div(_templateObject4$
|
|
20780
|
+
var ImageRow = styled(OverlayImageRow)(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"])));
|
|
20781
|
+
var ImageCol$1 = styled.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"])));
|
|
20782
20782
|
var StyledImage = styled(CapturedDocumentImg)(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-radius: 12px;\n"])));
|
|
20783
20783
|
|
|
20784
|
-
var _templateObject$B, _templateObject2$w, _templateObject3$
|
|
20784
|
+
var _templateObject$B, _templateObject2$w, _templateObject3$o, _templateObject4$j;
|
|
20785
20785
|
var CameraAccessDeniedOverlay = function CameraAccessDeniedOverlay(_ref) {
|
|
20786
20786
|
var _assets$imageUrl, _classNames$container;
|
|
20787
20787
|
var onRetry = _ref.onRetry,
|
|
@@ -20842,10 +20842,10 @@ var CameraAccessDeniedOverlay = function CameraAccessDeniedOverlay(_ref) {
|
|
|
20842
20842
|
};
|
|
20843
20843
|
var StyledOverlayInner$2 = styled(OverlayInner$2)(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n max-width: 500px;\n height: auto;\n margin: auto;\n"])));
|
|
20844
20844
|
var StyledOverlayImageContainer = styled(OverlayImageContainer)(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n"])));
|
|
20845
|
-
var Description$3 = styled.p(_templateObject3$
|
|
20846
|
-
var RetryButton$1 = styled(LoaderButton)(_templateObject4$
|
|
20845
|
+
var Description$3 = styled.p(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 50px;\n"])));
|
|
20846
|
+
var RetryButton$1 = styled(LoaderButton)(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 0 auto;\n"])));
|
|
20847
20847
|
|
|
20848
|
-
var _templateObject$A, _templateObject2$v, _templateObject3$
|
|
20848
|
+
var _templateObject$A, _templateObject2$v, _templateObject3$n;
|
|
20849
20849
|
var ErrorScreen = function ErrorScreen(_ref) {
|
|
20850
20850
|
var error = _ref.error,
|
|
20851
20851
|
onRetry = _ref.onRetry,
|
|
@@ -21038,7 +21038,7 @@ var cameraFailureClassNames = function cameraFailureClassNames(own, bag) {
|
|
|
21038
21038
|
// same here rather than inherit a foreground meant for the dark overlays.
|
|
21039
21039
|
var ErrorCard = styled(FlexCard)(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n color: black;\n"])));
|
|
21040
21040
|
var Heading$8 = styled.h1(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1rem;\n"])));
|
|
21041
|
-
var Description$2 = styled.p(_templateObject3$
|
|
21041
|
+
var Description$2 = styled.p(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 1.5rem;\n"])));
|
|
21042
21042
|
|
|
21043
21043
|
function reasonFor(code) {
|
|
21044
21044
|
if (code === 'CAMERA_PERMISSION_DENIED') return 'permissionDenied';
|
|
@@ -21107,7 +21107,7 @@ function fallbackCaptureMoreLabelForStep(idCaptureRequirement, idCardBackCapture
|
|
|
21107
21107
|
return key === 'third' ? 'ID page of passport' : 'back of ID card';
|
|
21108
21108
|
}
|
|
21109
21109
|
|
|
21110
|
-
var _templateObject$z, _templateObject2$u, _templateObject3$
|
|
21110
|
+
var _templateObject$z, _templateObject2$u, _templateObject3$m, _templateObject4$i, _templateObject5$g, _templateObject6$c, _templateObject7$a;
|
|
21111
21111
|
function IdCaptureFallback(_ref) {
|
|
21112
21112
|
var _ref$captureRequireme = _ref.captureRequirement,
|
|
21113
21113
|
captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
|
|
@@ -21278,13 +21278,13 @@ function IdCaptureFallback(_ref) {
|
|
|
21278
21278
|
}
|
|
21279
21279
|
var StyledOverlayInner$1 = styled(OverlayInner$2)(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
|
|
21280
21280
|
var Heading$7 = styled.h3(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
21281
|
-
var Description$1 = styled.p(_templateObject3$
|
|
21282
|
-
var Instruction = styled.p(_templateObject4$
|
|
21281
|
+
var Description$1 = styled.p(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
21282
|
+
var Instruction = styled.p(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
|
|
21283
21283
|
var ReadFailed$1 = styled.p(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
|
|
21284
21284
|
var ImageCol = styled.div(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"])));
|
|
21285
21285
|
var StyledButtonsRow$6 = styled(ButtonsRow$2)(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
|
|
21286
21286
|
|
|
21287
|
-
var _templateObject$y, _templateObject2$t, _templateObject3$
|
|
21287
|
+
var _templateObject$y, _templateObject2$t, _templateObject3$l, _templateObject4$h, _templateObject5$f, _templateObject6$b, _templateObject7$9, _templateObject8$8, _templateObject9$8, _templateObject0$7, _templateObject1$6, _templateObject10$6;
|
|
21288
21288
|
function IdCaptureOrUploadScreen(_ref) {
|
|
21289
21289
|
var _ref$captureRequireme = _ref.captureRequirement,
|
|
21290
21290
|
captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
|
|
@@ -21536,8 +21536,8 @@ var ScreenContainer = styled.div(_templateObject$y || (_templateObject$y = _tagg
|
|
|
21536
21536
|
return (_props$theme$backgrou = (_props$theme = props.theme) == null ? void 0 : _props$theme.background) != null ? _props$theme$backgrou : '#fff';
|
|
21537
21537
|
});
|
|
21538
21538
|
var ScreenPanel = styled.div(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12px;\n width: 100%;\n max-width: 320px;\n"])));
|
|
21539
|
-
var DashedSeparator = styled.div(_templateObject3$
|
|
21540
|
-
var OrWrapper = styled.span(_templateObject4$
|
|
21539
|
+
var DashedSeparator = styled.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n max-width: 320px;\n border-top: 1px dashed currentColor;\n opacity: 0.4;\n"])));
|
|
21540
|
+
var OrWrapper = styled.span(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n transform: translateY(-50%);\n padding: 0 8px;\n background: ", ";\n"])), function (props) {
|
|
21541
21541
|
var _props$theme$backgrou2, _props$theme2;
|
|
21542
21542
|
return (_props$theme$backgrou2 = (_props$theme2 = props.theme) == null ? void 0 : _props$theme2.background) != null ? _props$theme$backgrou2 : '#fff';
|
|
21543
21543
|
});
|
|
@@ -26103,7 +26103,7 @@ function SelfieCameraFeed(_ref) {
|
|
|
26103
26103
|
});
|
|
26104
26104
|
}
|
|
26105
26105
|
|
|
26106
|
-
var _templateObject$v, _templateObject2$s, _templateObject3$
|
|
26106
|
+
var _templateObject$v, _templateObject2$s, _templateObject3$k, _templateObject4$g;
|
|
26107
26107
|
var _excluded$c = ["borderColor", "borderOpacity", "borderWidth", "status"],
|
|
26108
26108
|
_excluded2$4 = ["status", "guideStyle"],
|
|
26109
26109
|
_excluded3 = ["frame", "borderWidth", "borderColor", "borderOpacity", "verticalAlign", "status", "guideStyle"],
|
|
@@ -26242,8 +26242,8 @@ function HeadGuide(_ref2) {
|
|
|
26242
26242
|
}))]
|
|
26243
26243
|
});
|
|
26244
26244
|
}
|
|
26245
|
-
var AbsoluteSvg = styled.svg(_templateObject3$
|
|
26246
|
-
var RelativeSvgContainer = styled.div(_templateObject4$
|
|
26245
|
+
var AbsoluteSvg = styled.svg(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n"])));
|
|
26246
|
+
var RelativeSvgContainer = styled.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 100%;\n display: flex;\n align-items: ", ";\n"])), function (props) {
|
|
26247
26247
|
return props.$verticalAlign === 'bottom' ? 'flex-end' : 'center';
|
|
26248
26248
|
});
|
|
26249
26249
|
function SelfieCaptureAnimatedMask(_ref3) {
|
|
@@ -26806,7 +26806,7 @@ function SelfieCaptureLoadingGraphic(_ref) {
|
|
|
26806
26806
|
});
|
|
26807
26807
|
}
|
|
26808
26808
|
|
|
26809
|
-
var _templateObject$t, _templateObject2$q, _templateObject3$
|
|
26809
|
+
var _templateObject$t, _templateObject2$q, _templateObject3$j, _templateObject4$f, _templateObject5$e;
|
|
26810
26810
|
var legacyInstructionImageUrl = DEFAULT_CDN_URL$1 + "/Selfie-Image-1.png";
|
|
26811
26811
|
// Module-level so the default `now` prop has a stable identity across
|
|
26812
26812
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
@@ -26991,14 +26991,14 @@ var ButtonsRow = styled(LoadingOverlayButtonsRow)(_templateObject2$q || (_templa
|
|
|
26991
26991
|
var _props$theme4, _props$theme5;
|
|
26992
26992
|
return (_props$theme4 = props.theme) != null && (_props$theme4 = _props$theme4.selfieCapture) != null && (_props$theme4 = _props$theme4.loadingOverlay) != null && _props$theme4.progressBarFontSize ? "font-size: " + ((_props$theme5 = props.theme) == null || (_props$theme5 = _props$theme5.selfieCapture) == null || (_props$theme5 = _props$theme5.loadingOverlay) == null ? void 0 : _props$theme5.progressBarFontSize) + ";" : '';
|
|
26993
26993
|
});
|
|
26994
|
-
var ProgressBarBackground = styled(LoadingOverlayProgressBarBackground)(_templateObject3$
|
|
26994
|
+
var ProgressBarBackground = styled(LoadingOverlayProgressBarBackground)(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
|
|
26995
26995
|
var _props$theme$selfieCa4, _props$theme6;
|
|
26996
26996
|
return (_props$theme$selfieCa4 = (_props$theme6 = props.theme) == null || (_props$theme6 = _props$theme6.selfieCapture) == null || (_props$theme6 = _props$theme6.loadingOverlay) == null ? void 0 : _props$theme6.progressBarBackgroundColor) != null ? _props$theme$selfieCa4 : PROGRESS_TRACK_DEFAULT;
|
|
26997
26997
|
}, function (props) {
|
|
26998
26998
|
var _props$theme$selfieCa5, _props$theme7;
|
|
26999
26999
|
return (_props$theme$selfieCa5 = (_props$theme7 = props.theme) == null || (_props$theme7 = _props$theme7.selfieCapture) == null || (_props$theme7 = _props$theme7.loadingOverlay) == null ? void 0 : _props$theme7.progressBarBackgroundOpacity) != null ? _props$theme$selfieCa5 : PROGRESS_TRACK_OPACITY_DEFAULT;
|
|
27000
27000
|
});
|
|
27001
|
-
var ProgressIndicator = styled(LoadingOverlayProgressIndicator)(_templateObject4$
|
|
27001
|
+
var ProgressIndicator = styled(LoadingOverlayProgressIndicator)(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n background: ", ";\n"])), function (props) {
|
|
27002
27002
|
var _props$theme$selfieCa6, _props$theme8;
|
|
27003
27003
|
return (_props$theme$selfieCa6 = (_props$theme8 = props.theme) == null || (_props$theme8 = _props$theme8.selfieCapture) == null || (_props$theme8 = _props$theme8.loadingOverlay) == null ? void 0 : _props$theme8.progressBarIndicatorColor) != null ? _props$theme$selfieCa6 : PROGRESS_INDICATOR_DEFAULT;
|
|
27004
27004
|
});
|
|
@@ -27122,7 +27122,7 @@ var SelfieCaptureLoadingOverlayLegacy = function SelfieCaptureLoadingOverlayLega
|
|
|
27122
27122
|
var StyledGuidanceMessage = styled(GuidanceMessage)(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n padding: 12px 24px;\n font-weight: normal;\n line-height: 1.5;\n margin-bottom: -30px;\n"])));
|
|
27123
27123
|
var StyledButtonsRow$5 = styled(ButtonsRow$2)(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n flex-direction: column;\n padding-top: 25px;\n"])));
|
|
27124
27124
|
|
|
27125
|
-
var _templateObject$r, _templateObject2$o, _templateObject3$
|
|
27125
|
+
var _templateObject$r, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$d, _templateObject6$a, _templateObject7$8;
|
|
27126
27126
|
// Module-level so the default `now` prop has a stable identity across
|
|
27127
27127
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
27128
27128
|
var defaultNow = function defaultNow() {
|
|
@@ -27389,9 +27389,9 @@ var RingOverlayInner = styled(LoadingOverlayInner)(_templateObject2$o || (_templ
|
|
|
27389
27389
|
var _props$theme$selfieCa2, _props$theme2;
|
|
27390
27390
|
return (_props$theme$selfieCa2 = (_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.selfieCapture) == null || (_props$theme2 = _props$theme2.loadingOverlay) == null ? void 0 : _props$theme2.textColor) != null ? _props$theme$selfieCa2 : '#12211d';
|
|
27391
27391
|
}, function (props) {
|
|
27392
|
-
return props.$softEntry ? css(_templateObject3$
|
|
27392
|
+
return props.$softEntry ? css(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n animation: ", " 250ms ease-out both;\n "])), overlayFadeIn) : '';
|
|
27393
27393
|
});
|
|
27394
|
-
var RingLayout = styled.div(_templateObject4$
|
|
27394
|
+
var RingLayout = styled.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 14px;\n padding: 40px;\n text-align: center;\n"])));
|
|
27395
27395
|
var StatusLine = styled.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n font-weight: 600;\n min-height: 22px;\n"])));
|
|
27396
27396
|
var SubText = styled.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n opacity: 0.65;\n"])));
|
|
27397
27397
|
var ContinueButton = styled(LoaderButton)(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose(["\n margin-top: 10px;\n white-space: nowrap;\n ", "\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n }\n"])), function (props) {
|
|
@@ -27423,7 +27423,7 @@ var SelfieCaptureLoadingOverlay = function SelfieCaptureLoadingOverlay(_ref) {
|
|
|
27423
27423
|
return jsx(Component, _extends({}, props));
|
|
27424
27424
|
};
|
|
27425
27425
|
|
|
27426
|
-
var _templateObject$q, _templateObject2$n, _templateObject3$
|
|
27426
|
+
var _templateObject$q, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$c, _templateObject6$9;
|
|
27427
27427
|
function SelfieCaptureFallback(_ref) {
|
|
27428
27428
|
var _ref$silentFallback = _ref.silentFallback,
|
|
27429
27429
|
silentFallback = _ref$silentFallback === void 0 ? false : _ref$silentFallback,
|
|
@@ -27579,8 +27579,8 @@ function SelfieCaptureFallback(_ref) {
|
|
|
27579
27579
|
}
|
|
27580
27580
|
var StyledOverlayInner = styled(OverlayInner$2)(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n justify-content: center;\n padding: 24px;\n box-sizing: border-box;\n"])));
|
|
27581
27581
|
var Heading$6 = styled.h1(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin: 0 0 1rem;\n"])));
|
|
27582
|
-
var Description = styled.p(_templateObject3$
|
|
27583
|
-
var ImageContainer$4 = styled.div(_templateObject4$
|
|
27582
|
+
var Description = styled.p(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin: 0 0 1.5rem;\n"])));
|
|
27583
|
+
var ImageContainer$4 = styled.div(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin-bottom: 1.5rem;\n\n & > img {\n max-width: 100%;\n max-height: 40vh;\n border-radius: 8px;\n }\n"])));
|
|
27584
27584
|
var ReadFailed = styled.p(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n margin: 0 0 1rem;\n"])));
|
|
27585
27585
|
var StyledButtonsRow$4 = styled(ButtonsRow$2)(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 12px;\n justify-content: center;\n"])));
|
|
27586
27586
|
|
|
@@ -32396,7 +32396,7 @@ function useSignatureCapture(controller) {
|
|
|
32396
32396
|
return useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
32397
32397
|
}
|
|
32398
32398
|
|
|
32399
|
-
var _templateObject$j, _templateObject2$j, _templateObject3$
|
|
32399
|
+
var _templateObject$j, _templateObject2$j, _templateObject3$g, _templateObject4$c, _templateObject5$b, _templateObject6$8;
|
|
32400
32400
|
var _excluded$a = ["device", "frameDecode"];
|
|
32401
32401
|
var ASSUMED_TRIM_PADDING = {
|
|
32402
32402
|
startMs: TRIM_PADDING_START_MS,
|
|
@@ -32677,8 +32677,8 @@ function Row$1(_ref1) {
|
|
|
32677
32677
|
var MONO = "'Monaco', 'Menlo', 'Ubuntu Mono', monospace";
|
|
32678
32678
|
var Panel = styled.div(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n width: min(720px, 90vw);\n margin-top: 0.75rem;\n padding: 0.625rem;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n text-align: left;\n overflow-x: auto;\n"])));
|
|
32679
32679
|
var Table = styled.table(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-collapse: collapse;\n font-family: ", ";\n font-size: 0.8125rem;\n line-height: 1.35;\n"])), MONO);
|
|
32680
|
-
var SectionCell = styled.th(_templateObject3$
|
|
32681
|
-
var LabelCell = styled.td(_templateObject4$
|
|
32680
|
+
var SectionCell = styled.th(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n padding: 0.5rem 0 0.25rem;\n border-bottom: 1px solid #e9ecef;\n color: #495057;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.04em;\n text-align: left;\n text-transform: uppercase;\n"])));
|
|
32681
|
+
var LabelCell = styled.td(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n width: 45%;\n padding: 0.1875rem 0.5rem 0.1875rem 0;\n color: #495057;\n font-weight: 600;\n vertical-align: top;\n"])));
|
|
32682
32682
|
var ValueCell = styled.td(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n padding: 0.1875rem 0;\n color: ", ";\n font-weight: ", ";\n vertical-align: top;\n word-break: break-word;\n"])), function (props) {
|
|
32683
32683
|
return props.$suspect ? '#842029' : '#212529';
|
|
32684
32684
|
}, function (props) {
|
|
@@ -32686,7 +32686,7 @@ var ValueCell = styled.td(_templateObject5$b || (_templateObject5$b = _taggedTem
|
|
|
32686
32686
|
});
|
|
32687
32687
|
var Note = styled.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n display: block;\n color: #6c757d;\n font-weight: 400;\n"])));
|
|
32688
32688
|
|
|
32689
|
-
var _templateObject$i, _templateObject2$i, _templateObject3$
|
|
32689
|
+
var _templateObject$i, _templateObject2$i, _templateObject3$f, _templateObject4$b, _templateObject5$a;
|
|
32690
32690
|
function MessageOverlay(_ref) {
|
|
32691
32691
|
var heading = _ref.heading,
|
|
32692
32692
|
children = _ref.children,
|
|
@@ -32908,11 +32908,11 @@ function SubmissionErrorOverlay(_ref1) {
|
|
|
32908
32908
|
}
|
|
32909
32909
|
var CenteredInner = styled(OverlayInner$2)(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n justify-content: center;\n align-items: center;\n max-width: 640px;\n height: auto;\n min-height: 100%;\n margin: auto;\n padding: 32px;\n"])));
|
|
32910
32910
|
var Content = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n max-width: 540px;\n line-height: 1.55;\n"])));
|
|
32911
|
-
var Details = styled.p(_templateObject3$
|
|
32912
|
-
var PermissionImage = styled(OverlayImageContainer)(_templateObject4$
|
|
32911
|
+
var Details = styled.p(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n margin: 12px 0 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 0.875rem;\n"])));
|
|
32912
|
+
var PermissionImage = styled(OverlayImageContainer)(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n width: min(180px, 45vw);\n"])));
|
|
32913
32913
|
var RetryButton = styled(LoaderButton)(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 32px auto 0;\n"])));
|
|
32914
32914
|
|
|
32915
|
-
var _templateObject$h, _templateObject2$h, _templateObject3$
|
|
32915
|
+
var _templateObject$h, _templateObject2$h, _templateObject3$e, _templateObject4$a, _templateObject5$9, _templateObject6$7, _templateObject7$7, _templateObject8$7, _templateObject9$7, _templateObject0$6, _templateObject1$5, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$2, _templateObject16$2, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1;
|
|
32916
32916
|
var FALLBACKS = {
|
|
32917
32917
|
headingText: "Please sign the box below",
|
|
32918
32918
|
signHereText: "Sign here",
|
|
@@ -33507,10 +33507,10 @@ var LiveDiagnostics = styled.div(_templateObject2$h || (_templateObject2$h = _ta
|
|
|
33507
33507
|
* screen's bezel and matches the letterbox bars the KYC flow shows while the
|
|
33508
33508
|
* camera is up.
|
|
33509
33509
|
*/
|
|
33510
|
-
var CameraLayer$1 = styled.div(_templateObject3$
|
|
33510
|
+
var CameraLayer$1 = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: ", ";\n isolation: isolate;\n overflow: hidden;\n background: #000;\n"])), function (props) {
|
|
33511
33511
|
return props.$visible ? "flex" : "none";
|
|
33512
33512
|
});
|
|
33513
|
-
var CaptureContent = styled.div(_templateObject4$
|
|
33513
|
+
var CaptureContent = styled.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n z-index: 1;\n display: ", ";\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: ", ";\n padding: ", ";\n background: ", ";\n box-sizing: border-box;\n\n /* Reserve a band above the face guide on phones and narrow embeds. */\n @container signature-capture (max-width: 1024px) {\n top: ", ";\n }\n\n"])), function (props) {
|
|
33514
33514
|
return props.$visible ? "flex" : "none";
|
|
33515
33515
|
}, function (props) {
|
|
33516
33516
|
return props.$legacyVideoLayout ? "0" : "16px";
|
|
@@ -35021,7 +35021,7 @@ function useVideoIdCapture(controller) {
|
|
|
35021
35021
|
return useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
35022
35022
|
}
|
|
35023
35023
|
|
|
35024
|
-
var _templateObject$g, _templateObject2$g, _templateObject3$
|
|
35024
|
+
var _templateObject$g, _templateObject2$g, _templateObject3$d, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject0$5;
|
|
35025
35025
|
/**
|
|
35026
35026
|
* The combined face-over-document guide used by SDK2's Video ID recording
|
|
35027
35027
|
* stage. Unlike the standalone ID overlay, both subjects remain framed in a
|
|
@@ -35237,8 +35237,8 @@ var Container = styled.div(_templateObject$g || (_templateObject$g = _taggedTemp
|
|
|
35237
35237
|
return (_props$theme = props.theme) == null ? void 0 : _props$theme.fontFamily;
|
|
35238
35238
|
});
|
|
35239
35239
|
var Inner$1 = styled.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n max-height: 1280px;\n margin: auto;\n"])));
|
|
35240
|
-
var FaceGuideContainer = styled.div(_templateObject3$
|
|
35241
|
-
var IdCardGuideContainer = styled.div(_templateObject4$
|
|
35240
|
+
var FaceGuideContainer = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 65%;\n"])));
|
|
35241
|
+
var IdCardGuideContainer = styled.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n max-width: 100%;\n height: 35%;\n margin: 0 auto;\n"])));
|
|
35242
35242
|
var IdCardGuideInner = styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n"])));
|
|
35243
35243
|
var StyledIdCardGuideImageContainer = styled(IdCardGuideImageContainer)(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteralLoose(["\n width: auto;\n height: 100%;\n"])));
|
|
35244
35244
|
var InstructionsContainer = styled.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 0;\n bottom: 16px;\n left: 0;\n display: flex;\n flex-direction: column;\n justify-content: end;\n width: 100%;\n box-sizing: border-box;\n color: white;\n text-align: center;\n"])));
|
|
@@ -35267,7 +35267,7 @@ var VIDEO_ID_FALLBACKS = {
|
|
|
35267
35267
|
};
|
|
35268
35268
|
(_VIDEO_ID_GUIDANCE_FA = {}, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.SHOW_ID_FRONT] = VIDEO_ID_FALLBACKS.idFrontInstructionText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.SHOW_ID_BACK] = VIDEO_ID_FALLBACKS.idBackInstructionText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.SHOW_PASSPORT] = VIDEO_ID_FALLBACKS.passportInstructionText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.FLIP_ID] = VIDEO_ID_FALLBACKS.flipIdInstructionText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.SEARCHING_FOR_ID] = VIDEO_ID_FALLBACKS.searchingForIdCardText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.HOLD_STEADY] = VIDEO_ID_FALLBACKS.idFrontInstructionText, _VIDEO_ID_GUIDANCE_FA);
|
|
35269
35269
|
|
|
35270
|
-
var _templateObject$f, _templateObject2$f, _templateObject3$
|
|
35270
|
+
var _templateObject$f, _templateObject2$f, _templateObject3$c, _templateObject4$8, _templateObject5$7, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5;
|
|
35271
35271
|
function VideoIdCaptureView(props) {
|
|
35272
35272
|
var _props$lang;
|
|
35273
35273
|
return jsx(SdkLanguageProvider, {
|
|
@@ -35618,8 +35618,8 @@ var Root$1 = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplat
|
|
|
35618
35618
|
var CameraLayer = styled.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: ", ";\n isolation: isolate;\n"])), function (props) {
|
|
35619
35619
|
return props.$visible ? 'flex' : 'none';
|
|
35620
35620
|
});
|
|
35621
|
-
var ReadTextPrompt = styled.div(_templateObject3$
|
|
35622
|
-
var ReadTextHeading = styled.h3(_templateObject4$
|
|
35621
|
+
var ReadTextPrompt = styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12px;\n padding: 24px;\n"])));
|
|
35622
|
+
var ReadTextHeading = styled.h3(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n margin: 0;\n text-align: center;\n"])));
|
|
35623
35623
|
var ReadTextSentence = styled.div(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n font-weight: 600;\n text-align: center;\n"])));
|
|
35624
35624
|
var Countdown = styled.div(_templateObject6$5 || (_templateObject6$5 = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n z-index: 20;\n display: grid;\n place-items: center;\n color: white;\n font-size: 64px;\n font-weight: 700;\n pointer-events: none;\n"])));
|
|
35625
35625
|
var Review = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n z-index: 30;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 16px;\n padding: 24px;\n overflow: auto;\n background: ", ";\n\n > video {\n width: min(100%, 720px);\n max-height: 52vh;\n }\n"])), function (props) {
|
|
@@ -35639,7 +35639,7 @@ function useDocumentCapture(controller) {
|
|
|
35639
35639
|
return useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
35640
35640
|
}
|
|
35641
35641
|
|
|
35642
|
-
var _templateObject$e, _templateObject2$e, _templateObject3$
|
|
35642
|
+
var _templateObject$e, _templateObject2$e, _templateObject3$b, _templateObject4$7, _templateObject5$6;
|
|
35643
35643
|
/** Human wording for each gate, in the order the engine reports them. */
|
|
35644
35644
|
/** Short enough that the triple fits one line on a phone. */
|
|
35645
35645
|
var GUIDANCE_LABELS = {
|
|
@@ -35942,8 +35942,8 @@ var PaneAnchor = styled.div(_templateObject$e || (_templateObject$e = _taggedTem
|
|
|
35942
35942
|
// swallow a capture tap. This one has to be tappable, so it re-enables them on
|
|
35943
35943
|
// its own subtree only.
|
|
35944
35944
|
var InteractivePane = styled.span(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n pointer-events: auto;\n display: block;\n cursor: pointer;\n user-select: none;\n"])));
|
|
35945
|
-
var Row = styled.span(_templateObject3$
|
|
35946
|
-
var Controls = styled.span(_templateObject4$
|
|
35945
|
+
var Row = styled.span(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
35946
|
+
var Controls = styled.span(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 6px;\n margin-top: 6px;\n"])));
|
|
35947
35947
|
var Chip = styled.button(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose(["\n font: bold 11px monospace;\n padding: 4px 8px;\n border: 1px solid limegreen;\n border-radius: 3px;\n background: ", ";\n color: ", ";\n cursor: pointer;\n"])), function (_ref5) {
|
|
35948
35948
|
var $active = _ref5.$active;
|
|
35949
35949
|
return $active ? 'limegreen' : 'transparent';
|
|
@@ -35952,7 +35952,7 @@ var Chip = styled.button(_templateObject5$6 || (_templateObject5$6 = _taggedTemp
|
|
|
35952
35952
|
return $active ? 'black' : 'limegreen';
|
|
35953
35953
|
});
|
|
35954
35954
|
|
|
35955
|
-
var _templateObject$d, _templateObject2$d, _templateObject3$
|
|
35955
|
+
var _templateObject$d, _templateObject2$d, _templateObject3$a;
|
|
35956
35956
|
/**
|
|
35957
35957
|
* Which verbiage member renders each code.
|
|
35958
35958
|
*
|
|
@@ -36067,9 +36067,9 @@ function DocumentCaptureManualCaptureHint(_ref6) {
|
|
|
36067
36067
|
* competed the applicant would read the wrong one. No dot, lower contrast, no
|
|
36068
36068
|
* background of its own beyond what legibility over video requires.
|
|
36069
36069
|
*/
|
|
36070
|
-
var ManualCaptureHint = styled.div(_templateObject3$
|
|
36070
|
+
var ManualCaptureHint = styled.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n max-width: min(88%, 38ch);\n padding: 7px 14px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 500;\n line-height: 1.4;\n text-align: center;\n color: rgba(255, 255, 255, 0.86);\n background: rgba(10, 14, 19, 0.7);\n"])));
|
|
36071
36071
|
|
|
36072
|
-
var _templateObject$c, _templateObject2$c, _templateObject3$
|
|
36072
|
+
var _templateObject$c, _templateObject2$c, _templateObject3$9;
|
|
36073
36073
|
function DocumentCaptureReviewScreen(_ref) {
|
|
36074
36074
|
var contentUrl = _ref.contentUrl,
|
|
36075
36075
|
headingText = _ref.headingText,
|
|
@@ -36129,7 +36129,7 @@ var ReviewHeading = styled.h2(_templateObject$c || (_templateObject$c = _taggedT
|
|
|
36129
36129
|
// without it the default `min-height: auto` floors the wrapper at the image's
|
|
36130
36130
|
// intrinsic height and the buttons get pushed off the bottom of a phone.
|
|
36131
36131
|
var ImageWrap = styled.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n flex: 1;\n min-height: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 18px;\n"])));
|
|
36132
|
-
var PreviewImage$1 = styled.img(_templateObject3$
|
|
36132
|
+
var PreviewImage$1 = styled.img(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n border-radius: 4px;\n border: 1px solid #e2e2e8;\n"])));
|
|
36133
36133
|
|
|
36134
36134
|
function computeGuideRect$1(_ref) {
|
|
36135
36135
|
var wrapperWidth = _ref.wrapperWidth,
|
|
@@ -36408,7 +36408,7 @@ var CanvasWrapper = styled.div(_templateObject$b || (_templateObject$b = _tagged
|
|
|
36408
36408
|
});
|
|
36409
36409
|
var Canvas = styled.canvas(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
36410
36410
|
|
|
36411
|
-
var _templateObject$a, _templateObject2$a, _templateObject3$
|
|
36411
|
+
var _templateObject$a, _templateObject2$a, _templateObject3$8, _templateObject4$6, _templateObject5$5, _templateObject6$4, _templateObject7$4, _templateObject8$4, _templateObject9$4, _templateObject0$4, _templateObject1$4, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2;
|
|
36412
36412
|
/** The verbiage fallbacks, exported so the i18n parity test reads the real
|
|
36413
36413
|
* literals rather than a second copy that could drift from them. */
|
|
36414
36414
|
var DOCUMENT_CAPTURE_FALLBACK_VERBIAGE = {
|
|
@@ -36998,11 +36998,11 @@ var GuidedBottomStack = styled.div(_templateObject2$a || (_templateObject2$a = _
|
|
|
36998
36998
|
* the mechanism that just gave up, and a disabled-looking disc would refuse a
|
|
36999
36999
|
* tap the applicant is entitled to make.
|
|
37000
37000
|
*/
|
|
37001
|
-
var GuidedShutterDock = styled.div(_templateObject3$
|
|
37001
|
+
var GuidedShutterDock = styled.div(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n z-index: 10001;\n display: flex;\n justify-content: center;\n pointer-events: none;\n\n /* Straddling the guide box's bottom edge EXACTLY, when we know where that\n edge is. Anchoring to the surface bottom instead left it wherever the\n letterboxing happened to put it \u2014 near the edge on a phone, floating well\n below it on a desktop, and half-overlapping at sizes in between, which\n reads as a mistake rather than a choice.\n\n Centred on the edge is a decision the geometry can state: the disc sits\n half on the frame and half on the surround, at every viewport. */\n ", "\n"])), function (_ref3) {
|
|
37002
37002
|
var $centreY = _ref3.$centreY;
|
|
37003
37003
|
return $centreY === null ? 'bottom: max(20px, env(safe-area-inset-bottom));' : "top: " + $centreY + "px; transform: translateY(-50%);";
|
|
37004
37004
|
});
|
|
37005
|
-
var GuidedShutter = styled.button(_templateObject4$
|
|
37005
|
+
var GuidedShutter = styled.button(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteralLoose(["\n pointer-events: auto;\n position: relative;\n width: ", "px;\n height: ", "px;\n border: 0;\n border-radius: 50%;\n background: #fff;\n cursor: pointer;\n padding: 0;\n\n /* The camera app's ring, drawn outside the disc so the tappable area is the\n disc itself and the ring cannot swallow an edge tap. */\n /* The camera app's ring, drawn outside the disc so the tappable area is the\n disc itself and the ring cannot swallow an edge tap. It dims to a TRACK\n while a tap is pending, so the sweep drawn over it reads as filling. */\n &::after {\n content: '';\n position: absolute;\n inset: -", "px;\n border: ", "px solid\n ", ";\n border-radius: 50%;\n }\n\n &:active {\n transform: scale(0.94);\n }\n\n /* Held down for the length of the burst window. A one-shot state change, not\n an animation: a spinner or a pulse here would repaint every frame on top\n of live video for the exact interval the applicant is holding still. */\n ", "\n\n &:disabled {\n cursor: default;\n /* A pending shutter is working, not refusing. Only the not-yet-ready case\n is dimmed far enough to read as unavailable. */\n opacity: ", ";\n }\n"])), GUIDED_SHUTTER_SIZE_PX, GUIDED_SHUTTER_SIZE_PX, GUIDED_SHUTTER_RING_PX, GUIDED_SHUTTER_RING_WIDTH_PX, function (_ref4) {
|
|
37006
37006
|
var $pending = _ref4.$pending;
|
|
37007
37007
|
return $pending ? 'rgba(255, 255, 255, 0.25)' : 'rgba(255, 255, 255, 0.9)';
|
|
37008
37008
|
}, function (_ref5) {
|
|
@@ -37322,7 +37322,7 @@ var ThemeProvider = function ThemeProvider(_ref) {
|
|
|
37322
37322
|
});
|
|
37323
37323
|
};
|
|
37324
37324
|
|
|
37325
|
-
var _templateObject$9, _templateObject2$9, _templateObject3$
|
|
37325
|
+
var _templateObject$9, _templateObject2$9, _templateObject3$7, _templateObject4$5, _templateObject5$4;
|
|
37326
37326
|
// The `useTranslations` fallback defaults, exported so the i18n parity
|
|
37327
37327
|
// guard (additionalDocumentStrings.test.ts) can assert every non-English
|
|
37328
37328
|
// locale carries these exact literals by reading them from here rather than
|
|
@@ -37492,8 +37492,8 @@ function AdditionalDocumentCapture(_ref) {
|
|
|
37492
37492
|
}
|
|
37493
37493
|
var Inner = styled(OverlayInner$2)(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
|
|
37494
37494
|
var Heading$2 = styled.h3(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37495
|
-
var DescriptionText = styled.p(_templateObject3$
|
|
37496
|
-
var ErrorText = styled.p(_templateObject4$
|
|
37495
|
+
var DescriptionText = styled.p(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37496
|
+
var ErrorText = styled.p(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37497
37497
|
var StyledButtonsRow$2 = styled(ButtonsRow$2)(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
|
|
37498
37498
|
|
|
37499
37499
|
function additionalDocumentProgress(documents, results) {
|
|
@@ -37617,7 +37617,7 @@ function AdditionalDocumentCaptureWizard(_ref) {
|
|
|
37617
37617
|
}, index);
|
|
37618
37618
|
}
|
|
37619
37619
|
|
|
37620
|
-
var _templateObject$8, _templateObject2$8, _templateObject3$
|
|
37620
|
+
var _templateObject$8, _templateObject2$8, _templateObject3$6, _templateObject4$4, _templateObject5$3, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3;
|
|
37621
37621
|
var CONFETTI_COUNT = 44;
|
|
37622
37622
|
var CONFETTI_LIFETIME_MS = 4500;
|
|
37623
37623
|
/**
|
|
@@ -37740,8 +37740,8 @@ var RingSuccessScreen = function RingSuccessScreen(_ref) {
|
|
|
37740
37740
|
};
|
|
37741
37741
|
var fadeIn$1 = keyframes(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
37742
37742
|
var popCheck = keyframes(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n to { transform: scale(1); opacity: 1; }\n"])));
|
|
37743
|
-
var drawTick = keyframes(_templateObject3$
|
|
37744
|
-
var confettiFall = keyframes(_templateObject4$
|
|
37743
|
+
var drawTick = keyframes(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n to { stroke-dashoffset: 0; }\n"])));
|
|
37744
|
+
var confettiFall = keyframes(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n to { transform: translateY(110vh) rotate(720deg); opacity: 0.7; }\n"])));
|
|
37745
37745
|
// Light surface whatever the theme says — see RingFailureScreen's FailureInner
|
|
37746
37746
|
// for why the foreground is pinned rather than read from the theme.
|
|
37747
37747
|
var SuccessInner$1 = styled(LoadingOverlayInner)(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n overflow: hidden;\n"])), function (props) {
|
|
@@ -37761,7 +37761,7 @@ var StatList = styled.div(_templateObject0$3 || (_templateObject0$3 = _taggedTem
|
|
|
37761
37761
|
var StatChip = styled.div(_templateObject1$3 || (_templateObject1$3 = _taggedTemplateLiteralLoose(["\n background: #ffffff;\n border: 1px solid rgb(0 0 0 / 0.08);\n border-radius: 12px;\n padding: 9px 14px;\n font-size: 11.5px;\n opacity: 0.9;\n display: flex;\n flex-direction: column;\n gap: 2px;\n\n b {\n font-size: 14px;\n }\n"])));
|
|
37762
37762
|
var ConfettiPiece = styled.div(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 9px;\n height: 14px;\n top: -20px;\n opacity: 0.95;\n z-index: 5;\n animation-name: ", ";\n animation-timing-function: linear;\n animation-fill-mode: forwards;\n\n @media (prefers-reduced-motion: reduce) {\n display: none;\n }\n"])), confettiFall);
|
|
37763
37763
|
|
|
37764
|
-
var _templateObject$7, _templateObject2$7, _templateObject3$
|
|
37764
|
+
var _templateObject$7, _templateObject2$7, _templateObject3$5, _templateObject4$3, _templateObject5$2, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1;
|
|
37765
37765
|
var toDataUrl$2 = function toDataUrl(value) {
|
|
37766
37766
|
return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
|
|
37767
37767
|
};
|
|
@@ -37951,10 +37951,10 @@ var markIn = keyframes(_templateObject2$7 || (_templateObject2$7 = _taggedTempla
|
|
|
37951
37951
|
// loading overlay, and inheriting it painted white text on this white surface:
|
|
37952
37952
|
// the tips panel (`rgb(255 255 255 / 0.62)`) went fully invisible. Same rule,
|
|
37953
37953
|
// and the same reason, as `ErrorScreen`'s `ErrorCard`.
|
|
37954
|
-
var FailureInner = styled(LoadingOverlayInner)(_templateObject3$
|
|
37954
|
+
var FailureInner = styled(LoadingOverlayInner)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n overflow-y: auto;\n"])), function (props) {
|
|
37955
37955
|
return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + props.$tintBase + " 45%, #ffffff))";
|
|
37956
37956
|
});
|
|
37957
|
-
var FailureLayout = styled.div(_templateObject4$
|
|
37957
|
+
var FailureLayout = styled.div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteralLoose(["\n position: relative;\n min-height: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 12px;\n padding: 34px;\n text-align: center;\n\n @media (max-height: 650px) {\n justify-content: flex-start;\n gap: 9px;\n padding-top: 24px;\n padding-bottom: 24px;\n }\n"])));
|
|
37958
37958
|
var VisualSlot = styled.div(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteralLoose(["\n min-height: 120px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 6px;\n animation: ", " 420ms cubic-bezier(0.2, 0, 0, 1) both;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n\n @media (max-height: 650px) {\n min-height: 88px;\n margin-bottom: 0;\n }\n"])), markIn);
|
|
37959
37959
|
var SelfieThumb$1 = styled.div(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 96px;\n height: 120px;\n border-radius: 16px;\n box-shadow:\n 0 0 0 1px rgb(0 0 0 / 0.08),\n 0 12px 30px rgb(0 0 0 / 0.18);\n\n @media (max-height: 650px) {\n width: 70px;\n height: 88px;\n }\n\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n border-radius: inherit;\n outline: 1px solid rgb(255 255 255 / 0.22);\n outline-offset: -1px;\n }\n"])));
|
|
37960
37960
|
var ThumbStatus = styled.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 6px;\n bottom: 6px;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: ", ";\n color: #ffffff;\n box-shadow:\n 0 0 0 3px rgb(255 255 255 / 0.9),\n 0 4px 10px rgb(0 0 0 / 0.2);\n\n svg {\n width: 17px;\n height: 17px;\n fill: currentColor;\n stroke: currentColor;\n stroke-width: 2.25;\n stroke-linecap: round;\n }\n"])), function (props) {
|
|
@@ -37986,7 +37986,7 @@ var PrimaryAction = styled(LoaderButton)(_templateObject15$1 || (_templateObject
|
|
|
37986
37986
|
});
|
|
37987
37987
|
var SecondaryAction = styled(LoaderButton)(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteralLoose(["\n && {\n min-height: 44px;\n border: none;\n border-radius: 22px;\n padding: 10px 22px;\n background-color: transparent;\n color: #26312e;\n font-size: 14px;\n font-weight: 600;\n opacity: 0.7;\n box-shadow: none;\n transition-property: transform, opacity, background-color;\n transition-duration: 150ms;\n transition-timing-function: ease-out;\n\n &:hover:not(.disabled) {\n opacity: 1;\n background-color: rgb(255 255 255 / 0.45);\n }\n\n &:active:not(.disabled) {\n transform: scale(0.96);\n }\n\n &:focus-visible {\n outline: none;\n opacity: 1;\n box-shadow: 0 0 0 3px rgb(0 0 0 / 0.09);\n }\n\n @media (prefers-reduced-motion: reduce) {\n &:hover:not(.disabled),\n &:active:not(.disabled) {\n transform: none;\n }\n }\n }\n"])));
|
|
37988
37988
|
|
|
37989
|
-
var _templateObject$6, _templateObject2$6, _templateObject3$
|
|
37989
|
+
var _templateObject$6, _templateObject2$6, _templateObject3$4, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1;
|
|
37990
37990
|
var toDataUrl$1 = function toDataUrl(value) {
|
|
37991
37991
|
return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
|
|
37992
37992
|
};
|
|
@@ -38096,10 +38096,10 @@ var fadeIn = keyframes(_templateObject$6 || (_templateObject$6 = _taggedTemplate
|
|
|
38096
38096
|
var spin = keyframes(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n to { transform: rotate(360deg); }\n"])));
|
|
38097
38097
|
// Light surface whatever the theme says — see RingFailureScreen's FailureInner
|
|
38098
38098
|
// for why the foreground is pinned rather than read from the theme.
|
|
38099
|
-
var FinishingInner = styled(LoadingOverlayInner)(_templateObject3$
|
|
38099
|
+
var FinishingInner = styled(LoadingOverlayInner)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n"])), function (props) {
|
|
38100
38100
|
return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + props.$tintBase + " 45%, #ffffff))";
|
|
38101
38101
|
}, fadeIn);
|
|
38102
|
-
var FinishingLayout = styled.div(_templateObject4$
|
|
38102
|
+
var FinishingLayout = styled.div(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 16px;\n padding: 34px;\n text-align: center;\n"])));
|
|
38103
38103
|
var SelfieThumb = styled.div(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 96px;\n height: 120px;\n border-radius: 16px;\n background-size: cover;\n background-position: center;\n box-shadow: 0 12px 30px rgb(0 0 0 / 0.25);\n"])));
|
|
38104
38104
|
var ThumbBadge = styled.div(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 6px;\n right: 6px;\n width: 26px;\n height: 26px;\n border-radius: 50%;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n color: #ffffff;\n font-size: 13px;\n box-shadow: 0 3px 8px rgb(0 0 0 / 0.3);\n"])), function (props) {
|
|
38105
38105
|
return props.$accent;
|
|
@@ -38146,7 +38146,7 @@ var readFlowElapsedMs = function readFlowElapsedMs() {
|
|
|
38146
38146
|
return flowStartedAt === null ? null : Date.now() - flowStartedAt;
|
|
38147
38147
|
};
|
|
38148
38148
|
|
|
38149
|
-
var _templateObject$5, _templateObject2$5, _templateObject3$
|
|
38149
|
+
var _templateObject$5, _templateObject2$5, _templateObject3$3;
|
|
38150
38150
|
var DEFAULT_HEADING$1 = {
|
|
38151
38151
|
identification: 'Customer has been identified!',
|
|
38152
38152
|
verification: 'Customer has been verified!'
|
|
@@ -38205,9 +38205,9 @@ function CustomerMatchSuccess(_ref) {
|
|
|
38205
38205
|
}
|
|
38206
38206
|
var Heading$1 = styled.h3(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
|
|
38207
38207
|
var ImageContainer$1 = styled(ButtonsRow$2)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
38208
|
-
var StyledButtonsRow$1 = styled(ButtonsRow$2)(_templateObject3$
|
|
38208
|
+
var StyledButtonsRow$1 = styled(ButtonsRow$2)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
|
|
38209
38209
|
|
|
38210
|
-
var _templateObject$4, _templateObject2$4, _templateObject3$
|
|
38210
|
+
var _templateObject$4, _templateObject2$4, _templateObject3$2;
|
|
38211
38211
|
var DEFAULT_HEADING = {
|
|
38212
38212
|
identification: 'Customer not found',
|
|
38213
38213
|
verification: 'Customer not verified'
|
|
@@ -38269,7 +38269,7 @@ function CustomerMatchFailure(_ref) {
|
|
|
38269
38269
|
}
|
|
38270
38270
|
var Heading = styled.h3(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
|
|
38271
38271
|
var ImageContainer = styled(ButtonsRow$2)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
38272
|
-
var StyledButtonsRow = styled(ButtonsRow$2)(_templateObject3$
|
|
38272
|
+
var StyledButtonsRow = styled(ButtonsRow$2)(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
|
|
38273
38273
|
|
|
38274
38274
|
var SubmissionContext = /*#__PURE__*/createContext(null);
|
|
38275
38275
|
var EMPTY_SUBMISSION_OPTIONS = {};
|
|
@@ -38661,7 +38661,7 @@ var highlightJson = function highlightJson(str) {
|
|
|
38661
38661
|
return elements;
|
|
38662
38662
|
};
|
|
38663
38663
|
|
|
38664
|
-
var _templateObject$3, _templateObject2$3, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
|
|
38664
|
+
var _templateObject$3, _templateObject2$3, _templateObject3$1, _templateObject4$1, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
|
|
38665
38665
|
function _createForOfIteratorHelperLoose$c(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray$c(r)) || e) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: true } : { done: false, value: r[o++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
38666
38666
|
function _unsupportedIterableToArray$c(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$c(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$c(r, a) : void 0; } }
|
|
38667
38667
|
function _arrayLikeToArray$c(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
@@ -39228,8 +39228,8 @@ function TimingFact(_ref9) {
|
|
|
39228
39228
|
}
|
|
39229
39229
|
var SuccessInner = styled(OverlayInner$2)(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n max-width: 900px;\n height: auto;\n min-height: 100%;\n margin: auto;\n padding: 40px;\n text-align: left;\n"])));
|
|
39230
39230
|
var Header = styled.header(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n"])));
|
|
39231
|
-
var Eyebrow = styled.p(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n margin: 0 0 6px;\n color: #277553;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n"])));
|
|
39232
|
-
var TimingGrid = styled.dl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: 12px;\n margin: 16px 0 24px;\n"])));
|
|
39231
|
+
var Eyebrow = styled.p(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n margin: 0 0 6px;\n color: #277553;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n"])));
|
|
39232
|
+
var TimingGrid = styled.dl(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: 12px;\n margin: 16px 0 24px;\n"])));
|
|
39233
39233
|
var TimingCard = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n padding: 14px;\n border: 1px solid #d9e2dc;\n border-radius: 8px;\n\n dt {\n color: #62706a;\n font-size: 0.75rem;\n }\n\n dd {\n margin: 6px 0 0;\n font-variant-numeric: tabular-nums;\n font-weight: 700;\n }\n"])));
|
|
39234
39234
|
var UploadSubheader = styled.h4(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n margin: 20px 0 8px;\n font-size: 0.8125rem;\n"])));
|
|
39235
39235
|
var UploadList = styled.dl(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n margin: 0 0 24px;\n"])));
|
|
@@ -40272,8 +40272,8 @@ function RemoteDiagnosticsMount(_ref) {
|
|
|
40272
40272
|
return null;
|
|
40273
40273
|
}
|
|
40274
40274
|
|
|
40275
|
-
var _templateObject$1, _templateObject2$1;
|
|
40276
|
-
var _excluded$9 = ["client", "action", "submission", "theme", "className", "geolocationEnabled", "geolocationRequired", "captureProgress", "remoteDiagnostics", "loadingSpinner", "children"];
|
|
40275
|
+
var _templateObject$1, _templateObject2$1, _templateObject3, _templateObject4;
|
|
40276
|
+
var _excluded$9 = ["client", "action", "submission", "theme", "className", "geolocationEnabled", "geolocationRequired", "captureProgress", "remoteDiagnostics", "loadingSpinner", "showEnrollmentId", "children"];
|
|
40277
40277
|
function FlowChassis(_ref) {
|
|
40278
40278
|
var client = _ref.client,
|
|
40279
40279
|
action = _ref.action,
|
|
@@ -40288,6 +40288,8 @@ function FlowChassis(_ref) {
|
|
|
40288
40288
|
captureProgress = _ref.captureProgress,
|
|
40289
40289
|
remoteDiagnostics = _ref.remoteDiagnostics,
|
|
40290
40290
|
loadingSpinner = _ref.loadingSpinner,
|
|
40291
|
+
_ref$showEnrollmentId = _ref.showEnrollmentId,
|
|
40292
|
+
showEnrollmentId = _ref$showEnrollmentId === void 0 ? false : _ref$showEnrollmentId,
|
|
40291
40293
|
children = _ref.children,
|
|
40292
40294
|
callbacks = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
40293
40295
|
var geolocation = useGeolocation(geolocationEnabled);
|
|
@@ -40309,6 +40311,7 @@ function FlowChassis(_ref) {
|
|
|
40309
40311
|
}, callbacks, {
|
|
40310
40312
|
children: jsx(FlowPage, {
|
|
40311
40313
|
className: className,
|
|
40314
|
+
enrollmentId: showEnrollmentId ? submission == null ? void 0 : submission.enrollmentId : undefined,
|
|
40312
40315
|
children: jsx(AuthGate, {
|
|
40313
40316
|
children: geolocationRequired && geolocation.blocked ? jsx(GeolocationAccessDeniedOverlay, {
|
|
40314
40317
|
onRetry: geolocation.retry
|
|
@@ -40369,23 +40372,35 @@ function AuthGate(_ref2) {
|
|
|
40369
40372
|
/**
|
|
40370
40373
|
* The flow's page surface: `theme.header` and `theme.footer` (2.x's
|
|
40371
40374
|
* SdkPage.tsx:41) frame a body that takes the remaining height and is the
|
|
40372
|
-
* positioned ancestor every flow stage lays out against.
|
|
40375
|
+
* positioned ancestor every flow stage lays out against. The debug
|
|
40376
|
+
* enrollment-ID banner sits outside that body, so stages and their in-body
|
|
40377
|
+
* overlays lay out below it instead of over it.
|
|
40373
40378
|
*/
|
|
40374
40379
|
function FlowPage(_ref3) {
|
|
40375
40380
|
var className = _ref3.className,
|
|
40381
|
+
enrollmentId = _ref3.enrollmentId,
|
|
40376
40382
|
children = _ref3.children;
|
|
40377
40383
|
var _useTheme = useTheme(),
|
|
40378
40384
|
Header = _useTheme.header,
|
|
40379
40385
|
Footer = _useTheme.footer;
|
|
40380
40386
|
return jsxs(FlowPageOuter, {
|
|
40381
40387
|
className: className,
|
|
40382
|
-
children: [Header && jsx(Header, {}),
|
|
40388
|
+
children: [Header && jsx(Header, {}), enrollmentId && jsxs(EnrollmentIdBanner, {
|
|
40389
|
+
"data-testid": "idmission-debug-enrollment-id",
|
|
40390
|
+
children: ["Enrollment ID: ", jsx(EnrollmentIdValue, {
|
|
40391
|
+
children: enrollmentId
|
|
40392
|
+
})]
|
|
40393
|
+
}), jsx(FlowPageBody, {
|
|
40383
40394
|
children: children
|
|
40384
40395
|
}), Footer && jsx(Footer, {})]
|
|
40385
40396
|
});
|
|
40386
40397
|
}
|
|
40387
|
-
|
|
40388
|
-
|
|
40398
|
+
// Debug-only chrome, so it ignores the theme on purpose: it has to read the
|
|
40399
|
+
// same on every customer skin.
|
|
40400
|
+
var EnrollmentIdBanner = styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n flex: none;\n padding: 6px 12px;\n font: 600 14px/1.3 monospace;\n text-align: center;\n color: #000;\n background: #facc15;\n overflow-wrap: anywhere;\n"])));
|
|
40401
|
+
var EnrollmentIdValue = styled.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n user-select: all;\n"])));
|
|
40402
|
+
var FlowPageBody = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n isolation: isolate;\n"])));
|
|
40403
|
+
var FlowPageOuter = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 320px;\n overflow: hidden;\n isolation: isolate;\n background: ", ";\n ", "\n ", "\n"])), function (props) {
|
|
40389
40404
|
var _props$theme$backgrou;
|
|
40390
40405
|
return (_props$theme$backgrou = props.theme.background) != null ? _props$theme$backgrou : '#fff';
|
|
40391
40406
|
}, function (props) {
|
|
@@ -44895,6 +44910,7 @@ function CustomerBiometricsEnrollmentFlow(_ref) {
|
|
|
44895
44910
|
client: client,
|
|
44896
44911
|
action: SubmissionAction.ENROLL,
|
|
44897
44912
|
submission: submission,
|
|
44913
|
+
showEnrollmentId: showDiagnostics,
|
|
44898
44914
|
theme: theme,
|
|
44899
44915
|
className: className
|
|
44900
44916
|
}, callbacks, {
|
|
@@ -45176,6 +45192,7 @@ function CustomerIdAndBiometricsEnrollmentFlow(_ref) {
|
|
|
45176
45192
|
client: client,
|
|
45177
45193
|
action: SubmissionAction.ENROLL,
|
|
45178
45194
|
submission: submission,
|
|
45195
|
+
showEnrollmentId: showDiagnostics,
|
|
45179
45196
|
theme: theme,
|
|
45180
45197
|
className: className
|
|
45181
45198
|
}, callbacks, {
|
|
@@ -48573,7 +48590,7 @@ function mapCustomerIdAndBiometricsEnrollmentProps(props, ctx) {
|
|
|
48573
48590
|
});
|
|
48574
48591
|
}
|
|
48575
48592
|
|
|
48576
|
-
var webSdkVersion = '2.6.3-changeset-release-develop-
|
|
48593
|
+
var webSdkVersion = '2.6.3-changeset-release-develop-c045c91';
|
|
48577
48594
|
|
|
48578
48595
|
// GENERATED by scripts/styleBagTypes.mjs from
|
|
48579
48596
|
// src/__fixtures__/sdk2StyleBags.json and the mapper sweep — do not
|