idmission-web-sdk 2.5.61 → 2.5.62
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 +124 -105
- 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 +124 -105
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +124 -105
- 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
|
@@ -7630,7 +7630,7 @@ function useGuideOrientationContext() {
|
|
|
7630
7630
|
return ctx;
|
|
7631
7631
|
}
|
|
7632
7632
|
|
|
7633
|
-
var _templateObject$_, _templateObject2$
|
|
7633
|
+
var _templateObject$_, _templateObject2$Q;
|
|
7634
7634
|
var _excluded$i = ["isRearFacing"];
|
|
7635
7635
|
var CameraVideoTag = /*#__PURE__*/React.forwardRef(function CameraVideoTag(_ref, ref) {
|
|
7636
7636
|
var isRearFacing = _ref.isRearFacing,
|
|
@@ -7646,7 +7646,7 @@ var CameraVideoTag = /*#__PURE__*/React.forwardRef(function CameraVideoTag(_ref,
|
|
|
7646
7646
|
var FullscreenVideoTag = styledComponents.styled.video(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n transform: ", ";\n transform-style: preserve-3d;\n min-width: 100%;\n min-height: 100%;\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n object-fit: cover;\n background: black;\n z-index: -2;\n"])), function (props) {
|
|
7647
7647
|
return props.$isRearFacing ? '' : 'scaleX(-1)';
|
|
7648
7648
|
});
|
|
7649
|
-
var CameraFeedWrapper = styledComponents.styled.div(_templateObject2$
|
|
7649
|
+
var CameraFeedWrapper = styledComponents.styled.div(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose(["\n /* Keep CameraVideoTag's legacy negative z-index above opaque flow shells. */\n isolation: isolate;\n\n ", "\n\n /* Last, so it wins over both branches' display. */\n ", "\n"])), function (props) {
|
|
7650
7650
|
return props.$mode === 'snapToGuides' ? "display: flex;\n position: absolute;\n z-index: -2;\n left: " + props.$x + "px;\n top: " + props.$y + "px;\n width: " + props.$w + "px;\n height: " + props.$h + "px;\n /* Match the mask's hole when the guide publishes a radius. The mask\n sits above this feed (-1 vs -2), so square corners here show through\n as dimmed wedges outside the rounded hole. Guides that publish no\n radius keep the previous unclipped behaviour. */\n " + (props.$radius ? "border-radius: " + props.$radius + "px; overflow: hidden;" : '') : "display: flex;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;";
|
|
7651
7651
|
}, function (props) {
|
|
7652
7652
|
return props.$hidden ? 'display: none;' : '';
|
|
@@ -7701,7 +7701,7 @@ function ScalingCameraFeed(_ref2) {
|
|
|
7701
7701
|
});
|
|
7702
7702
|
}
|
|
7703
7703
|
|
|
7704
|
-
var _templateObject$Z, _templateObject2$
|
|
7704
|
+
var _templateObject$Z, _templateObject2$P, _templateObject3$D, _templateObject4$y, _templateObject5$t, _templateObject6$l;
|
|
7705
7705
|
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."); }
|
|
7706
7706
|
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; } }
|
|
7707
7707
|
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; }
|
|
@@ -7724,7 +7724,7 @@ function DebugStatsPane(_ref2) {
|
|
|
7724
7724
|
return /*#__PURE__*/reactDom.createPortal(element, portalLocation);
|
|
7725
7725
|
}
|
|
7726
7726
|
var DebugStatsPaneDiv = styledComponents.styled.span(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n font-family: monospace;\n position: absolute;\n left: 20px;\n bottom: 20px;\n margin-right: 20px;\n padding: 8px;\n color: limegreen;\n background: rgba(0, 0, 0, 0.5);\n z-index: 10002;\n pointer-events: none;\n"])));
|
|
7727
|
-
var ObjectDetectionDebugOverlayDiv = styledComponents.styled.div(_templateObject2$
|
|
7727
|
+
var ObjectDetectionDebugOverlayDiv = styledComponents.styled.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 1001;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n max-width: 100%;\n max-height: 100%;\n overflow: hidden;\n pointer-events: none;\n ", "\n transform-style: preserve-3d;\n"])), function (_ref3) {
|
|
7728
7728
|
var $flipX = _ref3.$flipX;
|
|
7729
7729
|
return $flipX ? 'transform: scaleX(-1);' : '';
|
|
7730
7730
|
});
|
|
@@ -8226,7 +8226,7 @@ var StyledButton = styledComponents.styled.button(_templateObject$X || (_templat
|
|
|
8226
8226
|
var _templateObject$W;
|
|
8227
8227
|
var ButtonsRow$2 = styledComponents.styled.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 0 15px;\n justify-content: center;\n text-align: left;\n"])));
|
|
8228
8228
|
|
|
8229
|
-
var _templateObject$V, _templateObject2$
|
|
8229
|
+
var _templateObject$V, _templateObject2$O;
|
|
8230
8230
|
var GuidanceMessageContainerDiv = styledComponents.styled.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: calc(", ");\n ", "\n font-weight: bold;\n width: 100%;\n display: flex;\n padding: 0 10%;\n box-sizing: border-box;\n"])), function (_ref) {
|
|
8231
8231
|
var $top = _ref.$top;
|
|
8232
8232
|
return $top != null ? $top : '10%';
|
|
@@ -8240,7 +8240,7 @@ var GuidanceMessageContainer = function GuidanceMessageContainer(props) {
|
|
|
8240
8240
|
if (!portalLocation) return element;
|
|
8241
8241
|
return /*#__PURE__*/reactDom.createPortal(element, portalLocation);
|
|
8242
8242
|
};
|
|
8243
|
-
var GuidanceMessage = styledComponents.styled.div(_templateObject2$
|
|
8243
|
+
var GuidanceMessage = styledComponents.styled.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n margin-left: auto;\n margin-right: auto;\n background: ", ";\n color: ", ";\n border-radius: 8px;\n z-index: 10001;\n padding: 16px 24px;\n font-size: 18px;\n font-weight: bold;\n box-shadow:\n 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n"])), function (props) {
|
|
8244
8244
|
var _ref3, _props$$background, _props$theme, _props$$variant;
|
|
8245
8245
|
return (_ref3 = (_props$$background = props.$background) != null ? _props$$background : (_props$theme = props.theme) == null || (_props$theme = _props$theme.guidanceMessages) == null || (_props$theme = _props$theme[(_props$$variant = props.$variant) != null ? _props$$variant : 'default']) == null ? void 0 : _props$theme.backgroundColor) != null ? _ref3 : 'white';
|
|
8246
8246
|
}, function (props) {
|
|
@@ -8292,19 +8292,19 @@ var PlacedGuidanceMessageContainer = function PlacedGuidanceMessageContainer(_re
|
|
|
8292
8292
|
});
|
|
8293
8293
|
};
|
|
8294
8294
|
|
|
8295
|
-
var _templateObject$U, _templateObject2$
|
|
8295
|
+
var _templateObject$U, _templateObject2$N, _templateObject3$C, _templateObject4$x;
|
|
8296
8296
|
var wavesAnimation = styledComponents.keyframes(_templateObject$U || (_templateObject$U = _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"])));
|
|
8297
|
-
var progressBarAnimation = styledComponents.keyframes(_templateObject2$
|
|
8297
|
+
var progressBarAnimation = styledComponents.keyframes(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n"])));
|
|
8298
8298
|
styledComponents.keyframes(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
|
|
8299
8299
|
styledComponents.keyframes(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n to {\n stroke-dashoffset: 0;\n }\n"])));
|
|
8300
8300
|
|
|
8301
|
-
var _templateObject$T, _templateObject2$
|
|
8301
|
+
var _templateObject$T, _templateObject2$M, _templateObject3$B, _templateObject4$w, _templateObject5$s, _templateObject6$k, _templateObject7$h, _templateObject8$d, _templateObject9$d, _templateObject0$b, _templateObject1$a, _templateObject10$a, _templateObject11$7, _templateObject12$6, _templateObject13$6, _templateObject14$6, _templateObject15$5, _templateObject16$4, _templateObject17$3, _templateObject18$3, _templateObject19$3, _templateObject20$3;
|
|
8302
8302
|
var OverlayContainer = styledComponents.styled.div(_templateObject$T || (_templateObject$T = _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) {
|
|
8303
8303
|
return props.theme.background ? "" + props.theme.background : "white";
|
|
8304
8304
|
}, function (props) {
|
|
8305
8305
|
return props.theme.textColor ? "color: " + props.theme.textColor + ";" : "";
|
|
8306
8306
|
});
|
|
8307
|
-
var OverlayInner$2 = styledComponents.styled.div(_templateObject2$
|
|
8307
|
+
var OverlayInner$2 = styledComponents.styled.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n width: 100%;\n height: 100%;\n ", "\n"])), function (props) {
|
|
8308
8308
|
var _props$theme$textAlig;
|
|
8309
8309
|
return (_props$theme$textAlig = props.theme.textAlign) != null ? _props$theme$textAlig : 'center';
|
|
8310
8310
|
}, function (props) {
|
|
@@ -8474,13 +8474,13 @@ var error = function error() {
|
|
|
8474
8474
|
|
|
8475
8475
|
var _excluded$g = ["children", "status", "borderWidth", "borderRadius", "borderColor", "aspectRatio", "progress", "guideBoxDisabled"],
|
|
8476
8476
|
_excluded2$5 = ["borderRadius", "borderColor", "borderWidth", "borderOpacity", "progress", "isProgressBar", "scaleBorderRadius"];
|
|
8477
|
-
var _templateObject$S, _templateObject2$
|
|
8477
|
+
var _templateObject$S, _templateObject2$L, _templateObject3$A, _templateObject4$v, _templateObject5$r, _templateObject6$j, _templateObject7$g;
|
|
8478
8478
|
var IdCardGuideImageContainer = styledComponents.styled(IdCardBorder)(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n position: relative;\n ", "\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n ", ";\n"])), function (props) {
|
|
8479
8479
|
return props.$isVisible ? '' : 'opacity: 0;';
|
|
8480
8480
|
}, function (props) {
|
|
8481
8481
|
return props.$isMobile ? props.$isLandscape ? 'height: 100%;' : 'width: 80%;' : props.$isLandscape ? 'height: 70%;' : 'width: 82%;';
|
|
8482
8482
|
});
|
|
8483
|
-
var IdCardGuideImage = styledComponents.styled.img(_templateObject2$
|
|
8483
|
+
var IdCardGuideImage = styledComponents.styled.img(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n max-height: 100%;\n transform-style: preserve-3d;\n ", "\n ", "\n"])), function (props) {
|
|
8484
8484
|
return props.$isMirrored ? 'transform: scaleX(-1);' : '';
|
|
8485
8485
|
}, function (props) {
|
|
8486
8486
|
return props.$isInvisible ? 'opacity: 0;' : '';
|
|
@@ -8872,7 +8872,7 @@ var Wrapper$1 = styledComponents.styled.div(_templateObject$R || (_templateObjec
|
|
|
8872
8872
|
return props.$isMobile ? props.$isLandscape ? 'height: 100%;' : 'width: 80%;' : props.$isLandscape ? 'height: 70%;' : 'width: 82%;';
|
|
8873
8873
|
});
|
|
8874
8874
|
|
|
8875
|
-
var _templateObject$Q, _templateObject2$
|
|
8875
|
+
var _templateObject$Q, _templateObject2$K, _templateObject3$z, _templateObject4$u, _templateObject5$q, _templateObject6$i, _templateObject7$f, _templateObject8$c, _templateObject9$c;
|
|
8876
8876
|
var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_ref) {
|
|
8877
8877
|
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;
|
|
8878
8878
|
var _ref$classNames = _ref.classNames,
|
|
@@ -9029,7 +9029,7 @@ var regionClsx = function regionClsx(classNames, which) {
|
|
|
9029
9029
|
}).join(' ');
|
|
9030
9030
|
};
|
|
9031
9031
|
var StyledPageContainer = styledComponents.styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1000;\n overflow: hidden;\n"])));
|
|
9032
|
-
var GuidesContainer = styledComponents.styled.div(_templateObject2$
|
|
9032
|
+
var GuidesContainer = styledComponents.styled.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n height: 100%;\n"])));
|
|
9033
9033
|
var GuideCenterRow = styledComponents.styled.div(_templateObject3$z || (_templateObject3$z = _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"])));
|
|
9034
9034
|
var GuideRegion = styledComponents.styled.div(_templateObject4$u || (_templateObject4$u = _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) {
|
|
9035
9035
|
var _ref2, _props$$maskColor, _props$theme;
|
|
@@ -9061,7 +9061,7 @@ var GuideCenterInner = styledComponents.styled.div(_templateObject9$c || (_templ
|
|
|
9061
9061
|
/** The mask colour when neither the prop nor the theme sets one. */
|
|
9062
9062
|
var OVERLAY_GUIDE_MASK_DEFAULT = 'rgba(0, 0, 0, 0.5)';
|
|
9063
9063
|
|
|
9064
|
-
var _templateObject$P, _templateObject2$
|
|
9064
|
+
var _templateObject$P, _templateObject2$J, _templateObject3$y, _templateObject4$t;
|
|
9065
9065
|
var IdCaptureFitGuide = function IdCaptureFitGuide(_ref) {
|
|
9066
9066
|
var _theme$idCapture$guid, _theme$idCapture, _theme$idCapture$guid5, _theme$idCapture5, _theme$idCapture$guid6, _theme$idCapture6, _theme$idCapture$guid7, _theme$idCapture7;
|
|
9067
9067
|
var aspectRatio = _ref.aspectRatio,
|
|
@@ -9301,7 +9301,7 @@ var IdCaptureFitGuide = function IdCaptureFitGuide(_ref) {
|
|
|
9301
9301
|
var CanvasWrapper$1 = styledComponents.styled.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n flex-grow: 1;\n background-clip: padding-box;\n /* The default -1 puts the mask behind a 'fullscreen' camera feed, which hides\n the dimming entirely; it only works because 'snapToGuides' clips the feed to\n the guide rect. Lifting it is opt-in so existing integrations are untouched. */\n ", "\n"])), function (props) {
|
|
9302
9302
|
return props.$aboveCameraFeed ? "z-index: 1;" : "box-shadow: inset 0 0 0 2px " + props.$maskColor + ";\n z-index: -1;";
|
|
9303
9303
|
});
|
|
9304
|
-
var Canvas$2 = styledComponents.styled.canvas(_templateObject2$
|
|
9304
|
+
var Canvas$2 = styledComponents.styled.canvas(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
9305
9305
|
var CaptureAreaProgress = styledComponents.styled.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", "px;\n top: ", "px;\n width: ", "px;\n height: ", "px;\n pointer-events: none;\n"])), function (props) {
|
|
9306
9306
|
return props.$x;
|
|
9307
9307
|
}, function (props) {
|
|
@@ -9380,7 +9380,7 @@ var ExitCaptureButton = function ExitCaptureButton(_ref) {
|
|
|
9380
9380
|
});
|
|
9381
9381
|
};
|
|
9382
9382
|
|
|
9383
|
-
var _templateObject$N, _templateObject2$
|
|
9383
|
+
var _templateObject$N, _templateObject2$I, _templateObject3$x, _templateObject4$s;
|
|
9384
9384
|
function IdCaptureLoadingGraphic(props) {
|
|
9385
9385
|
var isMobile = window.innerHeight > window.innerWidth;
|
|
9386
9386
|
return isMobile ? jsxRuntime.jsx(IdCaptureLoadingGraphicMobile, _extends({}, props)) : jsxRuntime.jsx(IdCaptureLoadingGraphicDesktop, _extends({}, props));
|
|
@@ -9878,7 +9878,7 @@ function IdCaptureLoadingGraphicMobile(_ref2) {
|
|
|
9878
9878
|
});
|
|
9879
9879
|
}
|
|
9880
9880
|
var LoadingGraphicWrapper = styledComponents.styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n height: 100%;\n"])));
|
|
9881
|
-
var LoadingGraphicSvg = styledComponents.styled.svg(_templateObject2$
|
|
9881
|
+
var LoadingGraphicSvg = styledComponents.styled.svg(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n margin: auto;\n transform: scale(\n ", "\n );\n transform-style: preserve-3d;\n transition:\n transform 0.2s linear,\n border-width 0.2s linear;\n border: ", "px solid\n ", ";\n max-height: 80%;\n max-width: 80%;\n"])), function (props) {
|
|
9882
9882
|
return props.$frame > 1 ? 1 : props.$frame === 1 ? 1.25 : 0.75;
|
|
9883
9883
|
}, function (props) {
|
|
9884
9884
|
return props.$frame >= 5 ? 10 : 0;
|
|
@@ -10146,7 +10146,7 @@ function CustomerLoadingSpinner(_ref2) {
|
|
|
10146
10146
|
// parent's gap/padding, which would offset the fallback it sits next to.
|
|
10147
10147
|
var SpinnerSlot = styledComponents.styled.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:empty {\n display: contents;\n }\n"])));
|
|
10148
10148
|
|
|
10149
|
-
var _templateObject$L, _templateObject2$
|
|
10149
|
+
var _templateObject$L, _templateObject2$H, _templateObject3$w, _templateObject4$r, _templateObject5$p;
|
|
10150
10150
|
var legacyInstructionImageUrl$1 = DEFAULT_CDN_URL$1 + "/WebSDK-Instruction-DL-Capture-3-Portrait.png";
|
|
10151
10151
|
// Module-level so the default `now` prop has a stable identity across
|
|
10152
10152
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
@@ -10342,7 +10342,7 @@ var OverlayInner$1 = styledComponents.styled(LoadingOverlayInner)(_templateObjec
|
|
|
10342
10342
|
var _props$theme$idCaptur2, _props$theme2;
|
|
10343
10343
|
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 : 'black';
|
|
10344
10344
|
});
|
|
10345
|
-
var ButtonsRow$1 = styledComponents.styled(LoadingOverlayButtonsRow)(_templateObject2$
|
|
10345
|
+
var ButtonsRow$1 = styledComponents.styled(LoadingOverlayButtonsRow)(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n color: ", ";\n ", "\n"])), function (props) {
|
|
10346
10346
|
var _props$theme$idCaptur3, _props$theme3;
|
|
10347
10347
|
return (_props$theme$idCaptur3 = (_props$theme3 = props.theme) == null || (_props$theme3 = _props$theme3.idCapture) == null || (_props$theme3 = _props$theme3.loadingOverlay) == null ? void 0 : _props$theme3.progressBarTextColor) != null ? _props$theme$idCaptur3 : 'white';
|
|
10348
10348
|
}, function (props) {
|
|
@@ -18996,7 +18996,7 @@ function instructionVerbiage(bag, code) {
|
|
|
18996
18996
|
return bag == null ? void 0 : bag[instructionVerbiageKeys[code]];
|
|
18997
18997
|
}
|
|
18998
18998
|
|
|
18999
|
-
var _templateObject$K, _templateObject2$
|
|
18999
|
+
var _templateObject$K, _templateObject2$G, _templateObject3$v, _templateObject4$q, _templateObject5$o;
|
|
19000
19000
|
var PDF417_ASPECT_RATIO = 3 / 1;
|
|
19001
19001
|
function BarcodeGuideOverlay(_ref) {
|
|
19002
19002
|
var _ref$aspectRatio = _ref.aspectRatio,
|
|
@@ -19127,14 +19127,14 @@ function BarcodeGuideOverlay(_ref) {
|
|
|
19127
19127
|
});
|
|
19128
19128
|
}
|
|
19129
19129
|
var Wrapper = styledComponents.styled.div(_templateObject$K || (_templateObject$K = _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"])));
|
|
19130
|
-
var Canvas$1 = styledComponents.styled.canvas(_templateObject2$
|
|
19130
|
+
var Canvas$1 = styledComponents.styled.canvas(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
19131
19131
|
var TextOverlay = styledComponents.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 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"])));
|
|
19132
19132
|
var HeaderText = styledComponents.styled.div(_templateObject4$q || (_templateObject4$q = _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"])));
|
|
19133
19133
|
var InstructionText = styledComponents.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"])));
|
|
19134
19134
|
|
|
19135
|
-
var _templateObject$J, _templateObject2$
|
|
19135
|
+
var _templateObject$J, _templateObject2$F, _templateObject3$u, _templateObject4$p, _templateObject5$n, _templateObject6$h;
|
|
19136
19136
|
var scaleIn = styledComponents.keyframes(_templateObject$J || (_templateObject$J = _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"])));
|
|
19137
|
-
var drawCheck = styledComponents.keyframes(_templateObject2$
|
|
19137
|
+
var drawCheck = styledComponents.keyframes(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n 0% {\n stroke-dashoffset: 24;\n }\n 100% {\n stroke-dashoffset: 0;\n }\n"])));
|
|
19138
19138
|
styledComponents.styled.div(_templateObject3$u || (_templateObject3$u = _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"])));
|
|
19139
19139
|
styledComponents.styled.div(_templateObject4$p || (_templateObject4$p = _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) {
|
|
19140
19140
|
return props.$color;
|
|
@@ -19234,7 +19234,7 @@ function IdCaptureGuides(_ref) {
|
|
|
19234
19234
|
});
|
|
19235
19235
|
}
|
|
19236
19236
|
|
|
19237
|
-
var _templateObject$I, _templateObject2$
|
|
19237
|
+
var _templateObject$I, _templateObject2$E, _templateObject3$t, _templateObject4$o, _templateObject5$m;
|
|
19238
19238
|
function OverrideWrongDocumentTypeDialog(_ref) {
|
|
19239
19239
|
var visible = _ref.visible,
|
|
19240
19240
|
onOverride = _ref.onOverride,
|
|
@@ -19273,7 +19273,7 @@ var Container$3 = styledComponents.styled.div(_templateObject$I || (_templateObj
|
|
|
19273
19273
|
var _props$theme$idCaptur3, _props$theme$idCaptur4;
|
|
19274
19274
|
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';
|
|
19275
19275
|
});
|
|
19276
|
-
var InnerContainer = styledComponents.styled.div(_templateObject2$
|
|
19276
|
+
var InnerContainer = styledComponents.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"])));
|
|
19277
19277
|
var Message = styledComponents.styled.span(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n display: block;\n margin: auto 12px auto 0;\n"])));
|
|
19278
19278
|
var ButtonContainer = styledComponents.styled.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-left: auto;\n"])));
|
|
19279
19279
|
var Button = styledComponents.styled(LoaderButton)(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n margin: auto;\n"])));
|
|
@@ -19383,7 +19383,7 @@ var IdCaptureLoadingOverlayLegacy = function IdCaptureLoadingOverlayLegacy(_ref)
|
|
|
19383
19383
|
});
|
|
19384
19384
|
};
|
|
19385
19385
|
|
|
19386
|
-
var _templateObject$H, _templateObject2$
|
|
19386
|
+
var _templateObject$H, _templateObject2$D;
|
|
19387
19387
|
var RING_SIZE = 74;
|
|
19388
19388
|
var RADIUS = 32;
|
|
19389
19389
|
var CIRCUMFERENCE = 2 * Math.PI * RADIUS;
|
|
@@ -19429,7 +19429,7 @@ var RingProgress = function RingProgress(_ref) {
|
|
|
19429
19429
|
});
|
|
19430
19430
|
};
|
|
19431
19431
|
var RingSvg = styledComponents.styled.svg(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n width: ", "px;\n height: ", "px;\n transform: rotate(-90deg);\n"])), RING_SIZE, RING_SIZE);
|
|
19432
|
-
var FillCircle = styledComponents.styled.circle(_templateObject2$
|
|
19432
|
+
var FillCircle = styledComponents.styled.circle(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n transition: stroke-dashoffset 0.3s linear;\n"])));
|
|
19433
19433
|
|
|
19434
19434
|
var selectRingStatusKey = function selectRingStatusKey(_ref) {
|
|
19435
19435
|
var ready = _ref.ready,
|
|
@@ -19444,7 +19444,7 @@ var selectRingStatusKey = function selectRingStatusKey(_ref) {
|
|
|
19444
19444
|
return 'warming';
|
|
19445
19445
|
};
|
|
19446
19446
|
|
|
19447
|
-
var _templateObject$G, _templateObject2$
|
|
19447
|
+
var _templateObject$G, _templateObject2$C, _templateObject3$s, _templateObject4$n, _templateObject5$l, _templateObject6$g, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject0$a, _templateObject1$9, _templateObject10$9;
|
|
19448
19448
|
/**
|
|
19449
19449
|
* The ring overlay's priming cover page (CEO prototype `#v-prime`): camera
|
|
19450
19450
|
* badge, title/subtitle, step chips, reassurance chip, "Enable camera &
|
|
@@ -19524,7 +19524,7 @@ var RingIntroScreen = function RingIntroScreen(_ref) {
|
|
|
19524
19524
|
});
|
|
19525
19525
|
};
|
|
19526
19526
|
var _float = styledComponents.keyframes(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-7px); }\n"])));
|
|
19527
|
-
var sweep = styledComponents.keyframes(_templateObject2$
|
|
19527
|
+
var sweep = styledComponents.keyframes(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n from { transform: translateX(-100%); }\n to { transform: translateX(100%); }\n"])));
|
|
19528
19528
|
var IntroLayout = styledComponents.styled.div(_templateObject3$s || (_templateObject3$s = _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"])));
|
|
19529
19529
|
var Badge = styledComponents.styled.div(_templateObject4$n || (_templateObject4$n = _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) {
|
|
19530
19530
|
return props.$color;
|
|
@@ -19574,7 +19574,7 @@ var selectRingOverlayStage = function selectRingOverlayStage(_ref) {
|
|
|
19574
19574
|
return requesting ? 'requesting' : 'intro';
|
|
19575
19575
|
};
|
|
19576
19576
|
|
|
19577
|
-
var _templateObject$F, _templateObject2$
|
|
19577
|
+
var _templateObject$F, _templateObject2$B, _templateObject3$r, _templateObject4$m, _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;
|
|
19578
19578
|
/** Minimum time a stage handoff stays on screen so its message is
|
|
19579
19579
|
* legible even when everything preloaded and readiness is instant. */
|
|
19580
19580
|
var STAGE_TRANSITION_HOLD_MS = 1600;
|
|
@@ -19634,7 +19634,7 @@ var RingStageTransition = function RingStageTransition(_ref) {
|
|
|
19634
19634
|
});
|
|
19635
19635
|
};
|
|
19636
19636
|
var badgePop = styledComponents.keyframes(_templateObject$F || (_templateObject$F = _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"])));
|
|
19637
|
-
var cardFlip = styledComponents.keyframes(_templateObject2$
|
|
19637
|
+
var cardFlip = styledComponents.keyframes(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n from { transform: rotateY(0deg); }\n to { transform: rotateY(180deg); }\n"])));
|
|
19638
19638
|
var microcopyBeat = styledComponents.keyframes(_templateObject3$r || (_templateObject3$r = _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"])));
|
|
19639
19639
|
var rise = styledComponents.keyframes(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 1; transform: translateY(0); }\n"])));
|
|
19640
19640
|
var riseSubtle = styledComponents.keyframes(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 0.65; transform: translateY(0); }\n"])));
|
|
@@ -19665,7 +19665,7 @@ var LoadingRow = styledComponents.styled.div(_templateObject15$4 || (_templateOb
|
|
|
19665
19665
|
return props.$visible ? 1 : 0;
|
|
19666
19666
|
});
|
|
19667
19667
|
|
|
19668
|
-
var _templateObject$E, _templateObject2$
|
|
19668
|
+
var _templateObject$E, _templateObject2$A, _templateObject3$q, _templateObject4$l, _templateObject5$j, _templateObject6$e, _templateObject7$c;
|
|
19669
19669
|
// Module-level so the default `now` prop has a stable identity across
|
|
19670
19670
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
19671
19671
|
var defaultNow$2 = function defaultNow() {
|
|
@@ -19940,7 +19940,7 @@ var IdCaptureLoadingOverlayRing = function IdCaptureLoadingOverlayRing(_ref) {
|
|
|
19940
19940
|
});
|
|
19941
19941
|
};
|
|
19942
19942
|
var overlayFadeIn$1 = styledComponents.keyframes(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
19943
|
-
var RingOverlayInner$1 = styledComponents.styled(LoadingOverlayInner)(_templateObject2$
|
|
19943
|
+
var RingOverlayInner$1 = styledComponents.styled(LoadingOverlayInner)(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n ", "\n"])), function (props) {
|
|
19944
19944
|
var _props$theme$idCaptur, _props$theme;
|
|
19945
19945
|
var tintBase = (_props$theme$idCaptur = (_props$theme = props.theme) == null || (_props$theme = _props$theme.idCapture) == null || (_props$theme = _props$theme.loadingOverlay) == null ? void 0 : _props$theme.backgroundColor) != null ? _props$theme$idCaptur : 'var(--idm-color-primary-500)';
|
|
19946
19946
|
return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + tintBase + " 45%, #ffffff))";
|
|
@@ -20044,11 +20044,11 @@ var CapturedDocumentImg = function CapturedDocumentImg(_ref) {
|
|
|
20044
20044
|
});
|
|
20045
20045
|
};
|
|
20046
20046
|
|
|
20047
|
-
var _templateObject$D, _templateObject2$
|
|
20047
|
+
var _templateObject$D, _templateObject2$z;
|
|
20048
20048
|
var Card = styledComponents.styled.div(_templateObject$D || (_templateObject$D = _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"])));
|
|
20049
|
-
var FlexCard = styledComponents.styled(Card)(_templateObject2$
|
|
20049
|
+
var FlexCard = styledComponents.styled(Card)(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
|
|
20050
20050
|
|
|
20051
|
-
var _templateObject$C, _templateObject2$
|
|
20051
|
+
var _templateObject$C, _templateObject2$y, _templateObject3$p, _templateObject4$k, _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;
|
|
20052
20052
|
function ReviewDocumentDiagnostics(_ref) {
|
|
20053
20053
|
var _document$detectionSc, _document$detectionSc2, _document$focusScore, _document$focusScore2;
|
|
20054
20054
|
var document = _ref.document,
|
|
@@ -20508,7 +20508,7 @@ function RotationAttemptRow(_ref3) {
|
|
|
20508
20508
|
});
|
|
20509
20509
|
}
|
|
20510
20510
|
var DebugInfoContainer = styledComponents.styled.div(_templateObject$C || (_templateObject$C = _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"])));
|
|
20511
|
-
var DebugSection = styledComponents.styled.div(_templateObject2$
|
|
20511
|
+
var DebugSection = styledComponents.styled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0;\n"])));
|
|
20512
20512
|
var DebugLabel = styledComponents.styled.span(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n width: 110px;\n flex-shrink: 0;\n color: #495057;\n font-size: 0.8125rem;\n font-weight: 600;\n"])));
|
|
20513
20513
|
var DebugValue = styledComponents.styled.span(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n color: #212529;\n font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;\n font-size: 0.8125rem;\n"])));
|
|
20514
20514
|
var ScoreBadge = styledComponents.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) {
|
|
@@ -20623,7 +20623,7 @@ var DiagnosticsBadge = styledComponents.styled.span(_templateObject44 || (_templ
|
|
|
20623
20623
|
return $highlight ? '#004085' : $ok ? '#155724' : '#721c24';
|
|
20624
20624
|
});
|
|
20625
20625
|
|
|
20626
|
-
var _templateObject$B, _templateObject2$
|
|
20626
|
+
var _templateObject$B, _templateObject2$x, _templateObject3$o, _templateObject4$j, _templateObject5$h;
|
|
20627
20627
|
var imageDisplayOrder = ['idCardFront', 'idCardBack', 'idBarcodeImage', 'passport', 'singlePage', 'idFrontIrImage', 'idBackIrImage', 'idFrontUvImage', 'idBackUvImage'];
|
|
20628
20628
|
var ReviewScreen = function ReviewScreen(_ref) {
|
|
20629
20629
|
var capturedDocuments = _ref.capturedDocuments,
|
|
@@ -20711,12 +20711,12 @@ var ReviewScreen = function ReviewScreen(_ref) {
|
|
|
20711
20711
|
});
|
|
20712
20712
|
};
|
|
20713
20713
|
var Heading$9 = styledComponents.styled.h1(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1.5rem;\n"])));
|
|
20714
|
-
var ImagesContainer = styledComponents.styled(OverlayImageContainer)(_templateObject2$
|
|
20714
|
+
var ImagesContainer = styledComponents.styled(OverlayImageContainer)(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"])));
|
|
20715
20715
|
var ImageRow = styledComponents.styled(OverlayImageRow)(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"])));
|
|
20716
20716
|
var ImageCol$1 = styledComponents.styled.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"])));
|
|
20717
20717
|
var StyledImage = styledComponents.styled(CapturedDocumentImg)(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-radius: 12px;\n"])));
|
|
20718
20718
|
|
|
20719
|
-
var _templateObject$A, _templateObject2$
|
|
20719
|
+
var _templateObject$A, _templateObject2$w, _templateObject3$n, _templateObject4$i;
|
|
20720
20720
|
var CameraAccessDeniedOverlay = function CameraAccessDeniedOverlay(_ref) {
|
|
20721
20721
|
var _assets$imageUrl, _classNames$container;
|
|
20722
20722
|
var onRetry = _ref.onRetry,
|
|
@@ -20776,11 +20776,11 @@ var CameraAccessDeniedOverlay = function CameraAccessDeniedOverlay(_ref) {
|
|
|
20776
20776
|
});
|
|
20777
20777
|
};
|
|
20778
20778
|
var StyledOverlayInner$2 = styledComponents.styled(OverlayInner$2)(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n max-width: 500px;\n height: auto;\n margin: auto;\n"])));
|
|
20779
|
-
var StyledOverlayImageContainer = styledComponents.styled(OverlayImageContainer)(_templateObject2$
|
|
20779
|
+
var StyledOverlayImageContainer = styledComponents.styled(OverlayImageContainer)(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n"])));
|
|
20780
20780
|
var Description$3 = styledComponents.styled.p(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 50px;\n"])));
|
|
20781
20781
|
var RetryButton$1 = styledComponents.styled(LoaderButton)(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 0 auto;\n"])));
|
|
20782
20782
|
|
|
20783
|
-
var _templateObject$z, _templateObject2$
|
|
20783
|
+
var _templateObject$z, _templateObject2$v, _templateObject3$m;
|
|
20784
20784
|
var ErrorScreen = function ErrorScreen(_ref) {
|
|
20785
20785
|
var error = _ref.error,
|
|
20786
20786
|
onRetry = _ref.onRetry,
|
|
@@ -20972,7 +20972,7 @@ var cameraFailureClassNames = function cameraFailureClassNames(own, bag) {
|
|
|
20972
20972
|
// IdCaptureLoadingOverlayDefault's `theme...textColor ?? 'black'`); do the
|
|
20973
20973
|
// same here rather than inherit a foreground meant for the dark overlays.
|
|
20974
20974
|
var ErrorCard = styledComponents.styled(FlexCard)(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n color: black;\n"])));
|
|
20975
|
-
var Heading$8 = styledComponents.styled.h1(_templateObject2$
|
|
20975
|
+
var Heading$8 = styledComponents.styled.h1(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1rem;\n"])));
|
|
20976
20976
|
var Description$2 = styledComponents.styled.p(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 1.5rem;\n"])));
|
|
20977
20977
|
|
|
20978
20978
|
// The one file-read both fallback screens use.
|
|
@@ -21014,7 +21014,7 @@ function fallbackCaptureMoreLabelForStep(idCaptureRequirement, idCardBackCapture
|
|
|
21014
21014
|
return key === 'third' ? 'ID page of passport' : 'back of ID card';
|
|
21015
21015
|
}
|
|
21016
21016
|
|
|
21017
|
-
var _templateObject$y, _templateObject2$
|
|
21017
|
+
var _templateObject$y, _templateObject2$u, _templateObject3$l, _templateObject4$h, _templateObject5$g, _templateObject6$c, _templateObject7$a;
|
|
21018
21018
|
function IdCaptureFallback(_ref) {
|
|
21019
21019
|
var _ref$captureRequireme = _ref.captureRequirement,
|
|
21020
21020
|
captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
|
|
@@ -21184,14 +21184,14 @@ function IdCaptureFallback(_ref) {
|
|
|
21184
21184
|
});
|
|
21185
21185
|
}
|
|
21186
21186
|
var StyledOverlayInner$1 = styledComponents.styled(OverlayInner$2)(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
|
|
21187
|
-
var Heading$7 = styledComponents.styled.h3(_templateObject2$
|
|
21187
|
+
var Heading$7 = styledComponents.styled.h3(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
21188
21188
|
var Description$1 = styledComponents.styled.p(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
21189
21189
|
var Instruction = styledComponents.styled.p(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
|
|
21190
21190
|
var ReadFailed$1 = styledComponents.styled.p(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
|
|
21191
21191
|
var ImageCol = styledComponents.styled.div(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"])));
|
|
21192
21192
|
var StyledButtonsRow$6 = styledComponents.styled(ButtonsRow$2)(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
|
|
21193
21193
|
|
|
21194
|
-
var _templateObject$x, _templateObject2$
|
|
21194
|
+
var _templateObject$x, _templateObject2$t, _templateObject3$k, _templateObject4$g, _templateObject5$f, _templateObject6$b, _templateObject7$9, _templateObject8$8, _templateObject9$8, _templateObject0$7, _templateObject1$6, _templateObject10$6;
|
|
21195
21195
|
function IdCaptureOrUploadScreen(_ref) {
|
|
21196
21196
|
var _ref$captureRequireme = _ref.captureRequirement,
|
|
21197
21197
|
captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
|
|
@@ -21442,7 +21442,7 @@ var ScreenContainer = styledComponents.styled.div(_templateObject$x || (_templat
|
|
|
21442
21442
|
var _props$theme$backgrou, _props$theme;
|
|
21443
21443
|
return (_props$theme$backgrou = (_props$theme = props.theme) == null ? void 0 : _props$theme.background) != null ? _props$theme$backgrou : '#fff';
|
|
21444
21444
|
});
|
|
21445
|
-
var ScreenPanel = styledComponents.styled.div(_templateObject2$
|
|
21445
|
+
var ScreenPanel = styledComponents.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"])));
|
|
21446
21446
|
var DashedSeparator = styledComponents.styled.div(_templateObject3$k || (_templateObject3$k = _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"])));
|
|
21447
21447
|
var OrWrapper = styledComponents.styled.span(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n transform: translateY(-50%);\n padding: 0 8px;\n background: ", ";\n"])), function (props) {
|
|
21448
21448
|
var _props$theme$backgrou2, _props$theme2;
|
|
@@ -25944,7 +25944,7 @@ function SelfieCameraFeed(_ref) {
|
|
|
25944
25944
|
});
|
|
25945
25945
|
}
|
|
25946
25946
|
|
|
25947
|
-
var _templateObject$u, _templateObject2$
|
|
25947
|
+
var _templateObject$u, _templateObject2$s, _templateObject3$j, _templateObject4$f;
|
|
25948
25948
|
var _excluded$c = ["borderColor", "borderOpacity", "borderWidth", "status"],
|
|
25949
25949
|
_excluded2$4 = ["status", "guideStyle"],
|
|
25950
25950
|
_excluded3 = ["frame", "borderWidth", "borderColor", "borderOpacity", "verticalAlign", "status", "guideStyle"],
|
|
@@ -26022,7 +26022,7 @@ HeadGuideSvg.displayName = 'HeadGuideSvg';
|
|
|
26022
26022
|
// while also running the camera and face model. Waves only render while the
|
|
26023
26023
|
// status is 'ready', so the pulse replays each time the face leaves the guide.
|
|
26024
26024
|
var headGuideWavesAnimation = styledComponents.keyframes(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n 0% {\n opacity: 0;\n transform: scale(1);\n }\n 60% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: scale(1.3);\n }\n"])));
|
|
26025
|
-
var PulsingHeadGuideContainer = styledComponents.styled.div(_templateObject2$
|
|
26025
|
+
var PulsingHeadGuideContainer = styledComponents.styled.div(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n height: 100%;\n max-height: 100%;\n\n & > .idmSdkWaves {\n position: absolute;\n opacity: 0;\n animation: ", " 2s ease-out 3;\n\n @media (prefers-reduced-motion: reduce) {\n display: none;\n }\n }\n\n /* Paints far past its box; the nearest clipping ancestor bounds it\n (FaceCaptureGuideOverlay clips to the capture surface). */\n & > .idmSdkSpotlight {\n position: absolute;\n overflow: visible;\n pointer-events: none;\n }\n\n & > .idmSdkWavesOrigin {\n position: relative;\n }\n"])), headGuideWavesAnimation);
|
|
26026
26026
|
function HeadGuide(_ref2) {
|
|
26027
26027
|
var _theme$selfieCapture$, _theme$selfieCapture, _theme$selfieCapture$2, _theme$selfieCapture2, _theme$selfieCapture$3, _theme$selfieCapture3, _props$className;
|
|
26028
26028
|
var _ref2$status = _ref2.status,
|
|
@@ -26331,11 +26331,11 @@ function SelfieCaptureAnimatedMaskWithStatus(_ref4) {
|
|
|
26331
26331
|
}));
|
|
26332
26332
|
}
|
|
26333
26333
|
|
|
26334
|
-
var _templateObject$t, _templateObject2$
|
|
26334
|
+
var _templateObject$t, _templateObject2$r;
|
|
26335
26335
|
var FaceCaptureGuideContainer = styledComponents.styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 1000;\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 padding: 40px;\n box-sizing: border-box;\n /* Keeps the spotlight dim inside the capture surface when the view is\n embedded rather than full-screen. */\n ", "\n"])), function (props) {
|
|
26336
26336
|
return props.$clip ? 'overflow: hidden;' : '';
|
|
26337
26337
|
});
|
|
26338
|
-
var FaceCaptureGuideInner = styledComponents.styled.div(_templateObject2$
|
|
26338
|
+
var FaceCaptureGuideInner = styledComponents.styled.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 60%;\n"])));
|
|
26339
26339
|
// Memoized: the capture surfaces re-render on every analyzed frame, but the
|
|
26340
26340
|
// guide's props only change when the mask status does.
|
|
26341
26341
|
var FaceCaptureGuideOverlay = /*#__PURE__*/React.memo(function FaceCaptureGuideOverlay(_ref) {
|
|
@@ -26646,7 +26646,7 @@ function SelfieCaptureLoadingGraphic(_ref) {
|
|
|
26646
26646
|
});
|
|
26647
26647
|
}
|
|
26648
26648
|
|
|
26649
|
-
var _templateObject$s, _templateObject2$
|
|
26649
|
+
var _templateObject$s, _templateObject2$q, _templateObject3$i, _templateObject4$e, _templateObject5$e;
|
|
26650
26650
|
var legacyInstructionImageUrl = DEFAULT_CDN_URL$1 + "/Selfie-Image-1.png";
|
|
26651
26651
|
// Module-level so the default `now` prop has a stable identity across
|
|
26652
26652
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
@@ -26824,7 +26824,7 @@ var OverlayInner = styledComponents.styled(LoadingOverlayInner)(_templateObject$
|
|
|
26824
26824
|
var _props$theme$selfieCa2, _props$theme2;
|
|
26825
26825
|
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 : 'black';
|
|
26826
26826
|
});
|
|
26827
|
-
var ButtonsRow = styledComponents.styled(LoadingOverlayButtonsRow)(_templateObject2$
|
|
26827
|
+
var ButtonsRow = styledComponents.styled(LoadingOverlayButtonsRow)(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n color: ", ";\n ", "\n"])), function (props) {
|
|
26828
26828
|
var _props$theme$selfieCa3, _props$theme3;
|
|
26829
26829
|
return (_props$theme$selfieCa3 = (_props$theme3 = props.theme) == null || (_props$theme3 = _props$theme3.selfieCapture) == null || (_props$theme3 = _props$theme3.loadingOverlay) == null ? void 0 : _props$theme3.progressBarTextColor) != null ? _props$theme$selfieCa3 : 'white';
|
|
26830
26830
|
}, function (props) {
|
|
@@ -26883,7 +26883,7 @@ function selfieLoadingOverlayBottomEdgeColor(theme, modelsReady) {
|
|
|
26883
26883
|
});
|
|
26884
26884
|
}
|
|
26885
26885
|
|
|
26886
|
-
var _templateObject$r, _templateObject2$
|
|
26886
|
+
var _templateObject$r, _templateObject2$p;
|
|
26887
26887
|
var SelfieCaptureLoadingOverlayLegacy = function SelfieCaptureLoadingOverlayLegacy(_ref) {
|
|
26888
26888
|
var _assets$instructionIm;
|
|
26889
26889
|
var state = _ref.state,
|
|
@@ -26960,9 +26960,9 @@ var SelfieCaptureLoadingOverlayLegacy = function SelfieCaptureLoadingOverlayLega
|
|
|
26960
26960
|
});
|
|
26961
26961
|
};
|
|
26962
26962
|
var StyledGuidanceMessage = styledComponents.styled(GuidanceMessage)(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n padding: 12px 24px;\n font-weight: normal;\n line-height: 1.5;\n margin-bottom: -30px;\n"])));
|
|
26963
|
-
var StyledButtonsRow$5 = styledComponents.styled(ButtonsRow$2)(_templateObject2$
|
|
26963
|
+
var StyledButtonsRow$5 = styledComponents.styled(ButtonsRow$2)(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n flex-direction: column;\n padding-top: 25px;\n"])));
|
|
26964
26964
|
|
|
26965
|
-
var _templateObject$q, _templateObject2$
|
|
26965
|
+
var _templateObject$q, _templateObject2$o, _templateObject3$h, _templateObject4$d, _templateObject5$d, _templateObject6$a, _templateObject7$8;
|
|
26966
26966
|
// Module-level so the default `now` prop has a stable identity across
|
|
26967
26967
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
26968
26968
|
var defaultNow = function defaultNow() {
|
|
@@ -27221,7 +27221,7 @@ var SelfieCaptureLoadingOverlayRing = function SelfieCaptureLoadingOverlayRing(_
|
|
|
27221
27221
|
});
|
|
27222
27222
|
};
|
|
27223
27223
|
var overlayFadeIn = styledComponents.keyframes(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
27224
|
-
var RingOverlayInner = styledComponents.styled(LoadingOverlayInner)(_templateObject2$
|
|
27224
|
+
var RingOverlayInner = styledComponents.styled(LoadingOverlayInner)(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n ", "\n"])), function (props) {
|
|
27225
27225
|
var _props$theme$selfieCa, _props$theme;
|
|
27226
27226
|
var tintBase = (_props$theme$selfieCa = (_props$theme = props.theme) == null || (_props$theme = _props$theme.selfieCapture) == null || (_props$theme = _props$theme.loadingOverlay) == null ? void 0 : _props$theme.backgroundColor) != null ? _props$theme$selfieCa : 'var(--idm-color-primary-500)';
|
|
27227
27227
|
return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + tintBase + " 45%, #ffffff))";
|
|
@@ -27263,7 +27263,7 @@ var SelfieCaptureLoadingOverlay = function SelfieCaptureLoadingOverlay(_ref) {
|
|
|
27263
27263
|
return jsxRuntime.jsx(Component, _extends({}, props));
|
|
27264
27264
|
};
|
|
27265
27265
|
|
|
27266
|
-
var _templateObject$p, _templateObject2$
|
|
27266
|
+
var _templateObject$p, _templateObject2$n, _templateObject3$g, _templateObject4$c, _templateObject5$c, _templateObject6$9;
|
|
27267
27267
|
function SelfieCaptureFallback(_ref) {
|
|
27268
27268
|
var _ref$silentFallback = _ref.silentFallback,
|
|
27269
27269
|
silentFallback = _ref$silentFallback === void 0 ? false : _ref$silentFallback,
|
|
@@ -27418,13 +27418,13 @@ function SelfieCaptureFallback(_ref) {
|
|
|
27418
27418
|
});
|
|
27419
27419
|
}
|
|
27420
27420
|
var StyledOverlayInner = styledComponents.styled(OverlayInner$2)(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n justify-content: center;\n padding: 24px;\n box-sizing: border-box;\n"])));
|
|
27421
|
-
var Heading$6 = styledComponents.styled.h1(_templateObject2$
|
|
27421
|
+
var Heading$6 = styledComponents.styled.h1(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin: 0 0 1rem;\n"])));
|
|
27422
27422
|
var Description = styledComponents.styled.p(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin: 0 0 1.5rem;\n"])));
|
|
27423
27423
|
var ImageContainer$4 = styledComponents.styled.div(_templateObject4$c || (_templateObject4$c = _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"])));
|
|
27424
27424
|
var ReadFailed = styledComponents.styled.p(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n margin: 0 0 1rem;\n"])));
|
|
27425
27425
|
var StyledButtonsRow$4 = styledComponents.styled(ButtonsRow$2)(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 12px;\n justify-content: center;\n"])));
|
|
27426
27426
|
|
|
27427
|
-
var _templateObject$o, _templateObject2$
|
|
27427
|
+
var _templateObject$o, _templateObject2$m;
|
|
27428
27428
|
function SelfieCaptureSurface(_ref) {
|
|
27429
27429
|
var _state$error, _state$error2, _state$captureRecover, _state$error5, _state$captureRecover2, _state$prediction, _state$prediction$sam, _state$prediction2, _state$prediction3, _state$prediction4, _state$prediction5, _state$prediction6, _state$prediction7, _state$prediction8, _state$prediction9, _state$prediction0, _state$prediction1, _state$prediction$bri, _state$prediction10, _state$prediction$ran, _state$prediction11, _state$prediction$var, _state$prediction12, _assets$loadingOverla, _classNames$loadingOv, _colors$loadingOverla, _verbiage$loadingOver;
|
|
27430
27430
|
var controller = _ref.controller,
|
|
@@ -27821,7 +27821,7 @@ function EyesOpenDebugLines(_ref2) {
|
|
|
27821
27821
|
}
|
|
27822
27822
|
var ManualCaptureButtonContainer = styledComponents.styled.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 4;\n left: 50%;\n bottom: 24px;\n transform: translateX(-50%);\n"])));
|
|
27823
27823
|
// A footer below the camera keeps the lighting guidance visible above it.
|
|
27824
|
-
var CaptureRecoveryActions = styledComponents.styled.div(_templateObject2$
|
|
27824
|
+
var CaptureRecoveryActions = styledComponents.styled.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 10001;\n inset: auto 0 0;\n padding: 16px 24px max(16px, env(safe-area-inset-bottom));\n background: white;\n color: #333;\n text-align: center;\n display: grid;\n justify-items: center;\n gap: 12px;\n\n p { margin: 0; font-size: 14px; line-height: 1.4; }\n button { width: 100%; max-width: 320px; }\n"])));
|
|
27825
27825
|
|
|
27826
27826
|
// Byte-identical to sdk2's verbiage defaults
|
|
27827
27827
|
// (SelfieCapture.tsx:273-284, FaceLivenessCapture.tsx:845-912), except
|
|
@@ -28150,7 +28150,7 @@ function SelfieCaptureViewContent(_ref) {
|
|
|
28150
28150
|
});
|
|
28151
28151
|
}
|
|
28152
28152
|
|
|
28153
|
-
var _templateObject$m, _templateObject2$
|
|
28153
|
+
var _templateObject$m, _templateObject2$l;
|
|
28154
28154
|
var FaceLivenessSuccess = function FaceLivenessSuccess(_ref) {
|
|
28155
28155
|
var imageUrl = _ref.imageUrl,
|
|
28156
28156
|
onDoneClick = _ref.onDoneClick,
|
|
@@ -28214,9 +28214,9 @@ var FaceLivenessSuccess = function FaceLivenessSuccess(_ref) {
|
|
|
28214
28214
|
});
|
|
28215
28215
|
};
|
|
28216
28216
|
var ImageContainer$3 = styledComponents.styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n position: relative;\n flex-grow: 1;\n margin-bottom: 25px;\n max-width: 100%;\n max-height: 100%;\n overflow-y: auto;\n border-radius: 12px;\n\n & > img,\n & > svg {\n width: 100%;\n max-width: 100%;\n margin: 0 auto;\n display: block;\n border-radius: 12px;\n }\n"])));
|
|
28217
|
-
var Heading$5 = styledComponents.styled.h3(_templateObject2$
|
|
28217
|
+
var Heading$5 = styledComponents.styled.h3(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n font-size: 1.2rem;\n margin: 0;\n"])));
|
|
28218
28218
|
|
|
28219
|
-
var _templateObject$l, _templateObject2$
|
|
28219
|
+
var _templateObject$l, _templateObject2$k;
|
|
28220
28220
|
var FaceLivenessFailure = function FaceLivenessFailure(_ref) {
|
|
28221
28221
|
var _assets$imageUrl;
|
|
28222
28222
|
var _ref$canRetry = _ref.canRetry,
|
|
@@ -28275,7 +28275,7 @@ var FaceLivenessFailure = function FaceLivenessFailure(_ref) {
|
|
|
28275
28275
|
});
|
|
28276
28276
|
};
|
|
28277
28277
|
var ImageContainer$2 = styledComponents.styled(OverlayImageContainer)(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
28278
|
-
var Heading$4 = styledComponents.styled.h3(_templateObject2$
|
|
28278
|
+
var Heading$4 = styledComponents.styled.h3(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n margin-bottom: 36px;\n"])));
|
|
28279
28279
|
|
|
28280
28280
|
var _templateObject$k;
|
|
28281
28281
|
// The FaceMessageCode a ladder resolved -> the FaceLivenessGuidanceVerbiage
|
|
@@ -32202,7 +32202,7 @@ function useSignatureCapture(controller) {
|
|
|
32202
32202
|
return shim.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
32203
32203
|
}
|
|
32204
32204
|
|
|
32205
|
-
var _templateObject$j, _templateObject2$
|
|
32205
|
+
var _templateObject$j, _templateObject2$j, _templateObject3$f, _templateObject4$b, _templateObject5$b, _templateObject6$8;
|
|
32206
32206
|
var _excluded$a = ["device", "frameDecode"];
|
|
32207
32207
|
var ASSUMED_TRIM_PADDING = {
|
|
32208
32208
|
startMs: TRIM_PADDING_START_MS,
|
|
@@ -32482,7 +32482,7 @@ function Row$1(_ref1) {
|
|
|
32482
32482
|
}
|
|
32483
32483
|
var MONO = "'Monaco', 'Menlo', 'Ubuntu Mono', monospace";
|
|
32484
32484
|
var Panel = styledComponents.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"])));
|
|
32485
|
-
var Table = styledComponents.styled.table(_templateObject2$
|
|
32485
|
+
var Table = styledComponents.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);
|
|
32486
32486
|
var SectionCell = styledComponents.styled.th(_templateObject3$f || (_templateObject3$f = _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"])));
|
|
32487
32487
|
var LabelCell = styledComponents.styled.td(_templateObject4$b || (_templateObject4$b = _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"])));
|
|
32488
32488
|
var ValueCell = styledComponents.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) {
|
|
@@ -32492,7 +32492,7 @@ var ValueCell = styledComponents.styled.td(_templateObject5$b || (_templateObjec
|
|
|
32492
32492
|
});
|
|
32493
32493
|
var Note = styledComponents.styled.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n display: block;\n color: #6c757d;\n font-weight: 400;\n"])));
|
|
32494
32494
|
|
|
32495
|
-
var _templateObject$i, _templateObject2$
|
|
32495
|
+
var _templateObject$i, _templateObject2$i, _templateObject3$e, _templateObject4$a, _templateObject5$a;
|
|
32496
32496
|
function MessageOverlay(_ref) {
|
|
32497
32497
|
var heading = _ref.heading,
|
|
32498
32498
|
children = _ref.children,
|
|
@@ -32713,12 +32713,12 @@ function SubmissionErrorOverlay(_ref1) {
|
|
|
32713
32713
|
});
|
|
32714
32714
|
}
|
|
32715
32715
|
var CenteredInner = styledComponents.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"])));
|
|
32716
|
-
var Content = styledComponents.styled.div(_templateObject2$
|
|
32716
|
+
var Content = styledComponents.styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n max-width: 540px;\n line-height: 1.55;\n"])));
|
|
32717
32717
|
var Details = styledComponents.styled.p(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n margin: 12px 0 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 0.875rem;\n"])));
|
|
32718
32718
|
var PermissionImage = styledComponents.styled(OverlayImageContainer)(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n width: min(180px, 45vw);\n"])));
|
|
32719
32719
|
var RetryButton = styledComponents.styled(LoaderButton)(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 32px auto 0;\n"])));
|
|
32720
32720
|
|
|
32721
|
-
var _templateObject$h, _templateObject2$
|
|
32721
|
+
var _templateObject$h, _templateObject2$h, _templateObject3$d, _templateObject4$9, _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;
|
|
32722
32722
|
var FALLBACKS = {
|
|
32723
32723
|
headingText: "Please sign the box below",
|
|
32724
32724
|
signHereText: "Sign here",
|
|
@@ -33298,7 +33298,7 @@ var Root$2 = styledComponents.styled.div(_templateObject$h || (_templateObject$h
|
|
|
33298
33298
|
return (_props$theme$textColo = props.theme.textColor) != null ? _props$theme$textColo : "#26332e";
|
|
33299
33299
|
});
|
|
33300
33300
|
/** Sits below the pad's stacking context and never receives signing input. */
|
|
33301
|
-
var LiveDiagnostics = styledComponents.styled.div(_templateObject2$
|
|
33301
|
+
var LiveDiagnostics = styledComponents.styled.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 0;\n top: 64px;\n left: 20px;\n display: grid;\n padding: 8px;\n color: limegreen;\n background: rgba(0, 0, 0, 0.65);\n font: 14px/20px monospace;\n pointer-events: none;\n\n @container signature-capture (max-width: 1024px) {\n top: 12px;\n left: 12px;\n right: 12px;\n grid-template-columns: repeat(2, max-content);\n column-gap: 12px;\n font-size: clamp(11px, 3cqw, 12px);\n line-height: 18px;\n\n > :first-child {\n grid-column: 1 / -1;\n }\n }\n"])));
|
|
33302
33302
|
/**
|
|
33303
33303
|
* Black behind the feed. WebKit snaps the mirrored front-camera video's layer
|
|
33304
33304
|
* to device pixels and can leave one column uncovered along an edge, which
|
|
@@ -34820,7 +34820,7 @@ function useVideoIdCapture(controller) {
|
|
|
34820
34820
|
return shim.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
34821
34821
|
}
|
|
34822
34822
|
|
|
34823
|
-
var _templateObject$g, _templateObject2$
|
|
34823
|
+
var _templateObject$g, _templateObject2$g, _templateObject3$c, _templateObject4$8, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject0$5;
|
|
34824
34824
|
/**
|
|
34825
34825
|
* The combined face-over-document guide used by SDK2's Video ID recording
|
|
34826
34826
|
* stage. Unlike the standalone ID overlay, both subjects remain framed in a
|
|
@@ -35035,7 +35035,7 @@ var Container = styledComponents.styled.div(_templateObject$g || (_templateObjec
|
|
|
35035
35035
|
var _props$theme;
|
|
35036
35036
|
return (_props$theme = props.theme) == null ? void 0 : _props$theme.fontFamily;
|
|
35037
35037
|
});
|
|
35038
|
-
var Inner$1 = styledComponents.styled.div(_templateObject2$
|
|
35038
|
+
var Inner$1 = styledComponents.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"])));
|
|
35039
35039
|
var FaceGuideContainer = styledComponents.styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 65%;\n"])));
|
|
35040
35040
|
var IdCardGuideContainer = styledComponents.styled.div(_templateObject4$8 || (_templateObject4$8 = _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"])));
|
|
35041
35041
|
var IdCardGuideInner = styledComponents.styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n"])));
|
|
@@ -35066,7 +35066,7 @@ var VIDEO_ID_FALLBACKS = {
|
|
|
35066
35066
|
};
|
|
35067
35067
|
(_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);
|
|
35068
35068
|
|
|
35069
|
-
var _templateObject$f, _templateObject2$
|
|
35069
|
+
var _templateObject$f, _templateObject2$f, _templateObject3$b, _templateObject4$7, _templateObject5$7, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5;
|
|
35070
35070
|
function VideoIdCaptureView(props) {
|
|
35071
35071
|
var _props$lang;
|
|
35072
35072
|
return jsxRuntime.jsx(SdkLanguageProvider, {
|
|
@@ -35403,7 +35403,7 @@ function VideoIdCaptureDebugLayer(_ref2) {
|
|
|
35403
35403
|
});
|
|
35404
35404
|
}
|
|
35405
35405
|
var Root$1 = styledComponents.styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n overflow: hidden;\n"])));
|
|
35406
|
-
var CameraLayer = styledComponents.styled.div(_templateObject2$
|
|
35406
|
+
var CameraLayer = styledComponents.styled.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: ", ";\n isolation: isolate;\n"])), function (props) {
|
|
35407
35407
|
return props.$visible ? 'flex' : 'none';
|
|
35408
35408
|
});
|
|
35409
35409
|
var ReadTextPrompt = styledComponents.styled.div(_templateObject3$b || (_templateObject3$b = _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"])));
|
|
@@ -35427,7 +35427,7 @@ function useDocumentCapture(controller) {
|
|
|
35427
35427
|
return shim.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
35428
35428
|
}
|
|
35429
35429
|
|
|
35430
|
-
var _templateObject$e, _templateObject2$
|
|
35430
|
+
var _templateObject$e, _templateObject2$e, _templateObject3$a, _templateObject4$6, _templateObject5$6;
|
|
35431
35431
|
/** Human wording for each gate, in the order the engine reports them. */
|
|
35432
35432
|
/** Short enough that the triple fits one line on a phone. */
|
|
35433
35433
|
var GUIDANCE_LABELS = {
|
|
@@ -35729,7 +35729,7 @@ var PaneAnchor = styledComponents.styled.div(_templateObject$e || (_templateObje
|
|
|
35729
35729
|
// `DebugStatsPaneDiv` sets `pointer-events: none` so the shared pane can never
|
|
35730
35730
|
// swallow a capture tap. This one has to be tappable, so it re-enables them on
|
|
35731
35731
|
// its own subtree only.
|
|
35732
|
-
var InteractivePane = styledComponents.styled.span(_templateObject2$
|
|
35732
|
+
var InteractivePane = styledComponents.styled.span(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n pointer-events: auto;\n display: block;\n cursor: pointer;\n user-select: none;\n"])));
|
|
35733
35733
|
var Row = styledComponents.styled.span(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
35734
35734
|
var Controls = styledComponents.styled.span(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 6px;\n margin-top: 6px;\n"])));
|
|
35735
35735
|
var Chip = styledComponents.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) {
|
|
@@ -35740,7 +35740,7 @@ var Chip = styledComponents.styled.button(_templateObject5$6 || (_templateObject
|
|
|
35740
35740
|
return $active ? 'black' : 'limegreen';
|
|
35741
35741
|
});
|
|
35742
35742
|
|
|
35743
|
-
var _templateObject$d, _templateObject2$
|
|
35743
|
+
var _templateObject$d, _templateObject2$d, _templateObject3$9;
|
|
35744
35744
|
/**
|
|
35745
35745
|
* Which verbiage member renders each code.
|
|
35746
35746
|
*
|
|
@@ -35826,7 +35826,7 @@ var GuidanceChip = styledComponents.styled.div(_templateObject$d || (_templateOb
|
|
|
35826
35826
|
* Follows the text colour while unsatisfied, so a themed chip needs no dot
|
|
35827
35827
|
* colour of its own.
|
|
35828
35828
|
*/
|
|
35829
|
-
var StateDot = styledComponents.styled.span(_templateObject2$
|
|
35829
|
+
var StateDot = styledComponents.styled.span(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n flex: none;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: ", ";\n opacity: ", ";\n transition:\n background-color 160ms ease-out,\n opacity 160ms ease-out;\n"])), function (_ref4) {
|
|
35830
35830
|
var $satisfied = _ref4.$satisfied;
|
|
35831
35831
|
return $satisfied ? '#7ef0d2' : 'currentColor';
|
|
35832
35832
|
}, function (_ref5) {
|
|
@@ -35857,7 +35857,7 @@ function DocumentCaptureManualCaptureHint(_ref6) {
|
|
|
35857
35857
|
*/
|
|
35858
35858
|
var ManualCaptureHint = styledComponents.styled.div(_templateObject3$9 || (_templateObject3$9 = _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"])));
|
|
35859
35859
|
|
|
35860
|
-
var _templateObject$c, _templateObject2$
|
|
35860
|
+
var _templateObject$c, _templateObject2$c, _templateObject3$8;
|
|
35861
35861
|
function DocumentCaptureReviewScreen(_ref) {
|
|
35862
35862
|
var contentUrl = _ref.contentUrl,
|
|
35863
35863
|
headingText = _ref.headingText,
|
|
@@ -35916,7 +35916,7 @@ var ReviewHeading = styledComponents.styled.h2(_templateObject$c || (_templateOb
|
|
|
35916
35916
|
// `min-height: 0` is what actually lets this shrink inside the flex card —
|
|
35917
35917
|
// without it the default `min-height: auto` floors the wrapper at the image's
|
|
35918
35918
|
// intrinsic height and the buttons get pushed off the bottom of a phone.
|
|
35919
|
-
var ImageWrap = styledComponents.styled.div(_templateObject2$
|
|
35919
|
+
var ImageWrap = styledComponents.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"])));
|
|
35920
35920
|
var PreviewImage$1 = styledComponents.styled.img(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n border-radius: 4px;\n border: 1px solid #e2e2e8;\n"])));
|
|
35921
35921
|
|
|
35922
35922
|
function computeGuideRect$1(_ref) {
|
|
@@ -35954,7 +35954,7 @@ function computeGuideRect$1(_ref) {
|
|
|
35954
35954
|
};
|
|
35955
35955
|
}
|
|
35956
35956
|
|
|
35957
|
-
var _templateObject$b, _templateObject2$
|
|
35957
|
+
var _templateObject$b, _templateObject2$b;
|
|
35958
35958
|
/**
|
|
35959
35959
|
* How far the camera feed overhangs the guide box on each side, in CSS pixels.
|
|
35960
35960
|
*
|
|
@@ -36194,9 +36194,9 @@ function drawCornerBrackets(ctx, rect, opts) {
|
|
|
36194
36194
|
var CanvasWrapper = styledComponents.styled.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose(["\n flex-grow: 1;\n /* REQUIRED, not tidying. setCanvasDimensions puts an explicit pixel height on\n the child canvas, and a flex item's default min-height of auto floors it at\n its content \u2014 so this wrapper can grow but can never shrink back.\n\n It bit on exactly one transition: while auto-capture is guiding, the header\n is absolutely positioned and out of flow, so the wrapper is measured at the\n FULL surface height and the canvas is pinned there. Accepting the manual\n fallback swaps in the in-flow heading bar, the column then needs this item\n to give back that height, an auto min-height refuses, and the surface\n overflows by the header's height \u2014 carrying the footer, and the Capture\n button the applicant just asked for, below the fold with nothing to\n scroll.\n\n No backticks in this comment: it lives inside a styled-components template\n literal, where one would end the template. */\n min-height: 0;\n background-clip: padding-box;\n box-shadow: inset 0 0 0 2px ", ";\n"])), function (props) {
|
|
36195
36195
|
return props.$maskColor;
|
|
36196
36196
|
});
|
|
36197
|
-
var Canvas = styledComponents.styled.canvas(_templateObject2$
|
|
36197
|
+
var Canvas = styledComponents.styled.canvas(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
36198
36198
|
|
|
36199
|
-
var _templateObject$a, _templateObject2$
|
|
36199
|
+
var _templateObject$a, _templateObject2$a, _templateObject3$7, _templateObject4$5, _templateObject5$5, _templateObject6$4, _templateObject7$4, _templateObject8$4, _templateObject9$4, _templateObject0$4, _templateObject1$4, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2;
|
|
36200
36200
|
/** The verbiage fallbacks, exported so the i18n parity test reads the real
|
|
36201
36201
|
* literals rather than a second copy that could drift from them. */
|
|
36202
36202
|
var DOCUMENT_CAPTURE_FALLBACK_VERBIAGE = {
|
|
@@ -36768,7 +36768,7 @@ var GUIDED_STACK_GAP_PX = 12;
|
|
|
36768
36768
|
* `pointer-events: none` because nothing in here is tappable and the shutter
|
|
36769
36769
|
* is centred directly below it.
|
|
36770
36770
|
*/
|
|
36771
|
-
var GuidedBottomStack = styledComponents.styled.div(_templateObject2$
|
|
36771
|
+
var GuidedBottomStack = styledComponents.styled.div(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n z-index: 10001;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n pointer-events: none;\n\n ", "\n"])), function (_ref2) {
|
|
36772
36772
|
var $centreY = _ref2.$centreY,
|
|
36773
36773
|
$aboveShutter = _ref2.$aboveShutter;
|
|
36774
36774
|
if (!$aboveShutter) {
|
|
@@ -37123,7 +37123,7 @@ var ThemeProvider = function ThemeProvider(_ref) {
|
|
|
37123
37123
|
});
|
|
37124
37124
|
};
|
|
37125
37125
|
|
|
37126
|
-
var _templateObject$9, _templateObject2$
|
|
37126
|
+
var _templateObject$9, _templateObject2$9, _templateObject3$6, _templateObject4$4, _templateObject5$4;
|
|
37127
37127
|
// The `useTranslations` fallback defaults, exported so the i18n parity
|
|
37128
37128
|
// guard (additionalDocumentStrings.test.ts) can assert every non-English
|
|
37129
37129
|
// locale carries these exact literals by reading them from here rather than
|
|
@@ -37292,7 +37292,7 @@ function AdditionalDocumentCapture(_ref) {
|
|
|
37292
37292
|
});
|
|
37293
37293
|
}
|
|
37294
37294
|
var Inner = styledComponents.styled(OverlayInner$2)(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
|
|
37295
|
-
var Heading$2 = styledComponents.styled.h3(_templateObject2$
|
|
37295
|
+
var Heading$2 = styledComponents.styled.h3(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37296
37296
|
var DescriptionText = styledComponents.styled.p(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37297
37297
|
var ErrorText = styledComponents.styled.p(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37298
37298
|
var StyledButtonsRow$2 = styledComponents.styled(ButtonsRow$2)(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
|
|
@@ -37418,7 +37418,7 @@ function AdditionalDocumentCaptureWizard(_ref) {
|
|
|
37418
37418
|
}, index);
|
|
37419
37419
|
}
|
|
37420
37420
|
|
|
37421
|
-
var _templateObject$8, _templateObject2$
|
|
37421
|
+
var _templateObject$8, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3;
|
|
37422
37422
|
var CONFETTI_COUNT = 44;
|
|
37423
37423
|
var CONFETTI_LIFETIME_MS = 4500;
|
|
37424
37424
|
/**
|
|
@@ -37540,7 +37540,7 @@ var RingSuccessScreen = function RingSuccessScreen(_ref) {
|
|
|
37540
37540
|
});
|
|
37541
37541
|
};
|
|
37542
37542
|
var fadeIn$1 = styledComponents.keyframes(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
37543
|
-
var popCheck = styledComponents.keyframes(_templateObject2$
|
|
37543
|
+
var popCheck = styledComponents.keyframes(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n to { transform: scale(1); opacity: 1; }\n"])));
|
|
37544
37544
|
var drawTick = styledComponents.keyframes(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n to { stroke-dashoffset: 0; }\n"])));
|
|
37545
37545
|
var confettiFall = styledComponents.keyframes(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteralLoose(["\n to { transform: translateY(110vh) rotate(720deg); opacity: 0.7; }\n"])));
|
|
37546
37546
|
// Light surface whatever the theme says — see RingFailureScreen's FailureInner
|
|
@@ -37562,7 +37562,7 @@ var StatList = styledComponents.styled.div(_templateObject0$3 || (_templateObjec
|
|
|
37562
37562
|
var StatChip = styledComponents.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"])));
|
|
37563
37563
|
var ConfettiPiece = styledComponents.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);
|
|
37564
37564
|
|
|
37565
|
-
var _templateObject$7, _templateObject2$
|
|
37565
|
+
var _templateObject$7, _templateObject2$7, _templateObject3$4, _templateObject4$2, _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;
|
|
37566
37566
|
var toDataUrl$2 = function toDataUrl(value) {
|
|
37567
37567
|
return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
|
|
37568
37568
|
};
|
|
@@ -37745,7 +37745,7 @@ var RingFailureScreen = function RingFailureScreen(_ref) {
|
|
|
37745
37745
|
});
|
|
37746
37746
|
};
|
|
37747
37747
|
var enter = styledComponents.keyframes(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(12px); filter: blur(4px); }\n to { opacity: 1; transform: translateY(0); filter: blur(0); }\n"])));
|
|
37748
|
-
var markIn = styledComponents.keyframes(_templateObject2$
|
|
37748
|
+
var markIn = styledComponents.keyframes(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: scale(0.25); filter: blur(4px); }\n to { opacity: 1; transform: scale(1); filter: blur(0); }\n"])));
|
|
37749
37749
|
// The gradient is light WHATEVER the theme says — it mixes the tint into white
|
|
37750
37750
|
// rather than replacing it — so the foreground is pinned here instead of taken
|
|
37751
37751
|
// from `loadingOverlay.textColor`. A 2.x theme sets that key for the DARK
|
|
@@ -37787,7 +37787,7 @@ var PrimaryAction = styledComponents.styled(LoaderButton)(_templateObject15$1 ||
|
|
|
37787
37787
|
});
|
|
37788
37788
|
var SecondaryAction = styledComponents.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"])));
|
|
37789
37789
|
|
|
37790
|
-
var _templateObject$6, _templateObject2$
|
|
37790
|
+
var _templateObject$6, _templateObject2$6, _templateObject3$3, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1;
|
|
37791
37791
|
var toDataUrl$1 = function toDataUrl(value) {
|
|
37792
37792
|
return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
|
|
37793
37793
|
};
|
|
@@ -37894,7 +37894,7 @@ var RingFinishingScreen = function RingFinishingScreen(_ref) {
|
|
|
37894
37894
|
});
|
|
37895
37895
|
};
|
|
37896
37896
|
var fadeIn = styledComponents.keyframes(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
37897
|
-
var spin = styledComponents.keyframes(_templateObject2$
|
|
37897
|
+
var spin = styledComponents.keyframes(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n to { transform: rotate(360deg); }\n"])));
|
|
37898
37898
|
// Light surface whatever the theme says — see RingFailureScreen's FailureInner
|
|
37899
37899
|
// for why the foreground is pinned rather than read from the theme.
|
|
37900
37900
|
var FinishingInner = styledComponents.styled(LoadingOverlayInner)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n"])), function (props) {
|
|
@@ -37947,7 +37947,7 @@ var readFlowElapsedMs = function readFlowElapsedMs() {
|
|
|
37947
37947
|
return flowStartedAt === null ? null : Date.now() - flowStartedAt;
|
|
37948
37948
|
};
|
|
37949
37949
|
|
|
37950
|
-
var _templateObject$5, _templateObject2$
|
|
37950
|
+
var _templateObject$5, _templateObject2$5, _templateObject3$2;
|
|
37951
37951
|
var DEFAULT_HEADING$1 = {
|
|
37952
37952
|
identification: 'Customer has been identified!',
|
|
37953
37953
|
verification: 'Customer has been verified!'
|
|
@@ -38005,10 +38005,10 @@ function CustomerMatchSuccess(_ref) {
|
|
|
38005
38005
|
});
|
|
38006
38006
|
}
|
|
38007
38007
|
var Heading$1 = styledComponents.styled.h3(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
|
|
38008
|
-
var ImageContainer$1 = styledComponents.styled(ButtonsRow$2)(_templateObject2$
|
|
38008
|
+
var ImageContainer$1 = styledComponents.styled(ButtonsRow$2)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
38009
38009
|
var StyledButtonsRow$1 = styledComponents.styled(ButtonsRow$2)(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
|
|
38010
38010
|
|
|
38011
|
-
var _templateObject$4, _templateObject2$
|
|
38011
|
+
var _templateObject$4, _templateObject2$4, _templateObject3$1;
|
|
38012
38012
|
var DEFAULT_HEADING = {
|
|
38013
38013
|
identification: 'Customer not found',
|
|
38014
38014
|
verification: 'Customer not verified'
|
|
@@ -38069,7 +38069,7 @@ function CustomerMatchFailure(_ref) {
|
|
|
38069
38069
|
});
|
|
38070
38070
|
}
|
|
38071
38071
|
var Heading = styledComponents.styled.h3(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
|
|
38072
|
-
var ImageContainer = styledComponents.styled(ButtonsRow$2)(_templateObject2$
|
|
38072
|
+
var ImageContainer = styledComponents.styled(ButtonsRow$2)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
38073
38073
|
var StyledButtonsRow = styledComponents.styled(ButtonsRow$2)(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
|
|
38074
38074
|
|
|
38075
38075
|
var SubmissionContext = /*#__PURE__*/React.createContext(null);
|
|
@@ -38462,7 +38462,7 @@ var highlightJson = function highlightJson(str) {
|
|
|
38462
38462
|
return elements;
|
|
38463
38463
|
};
|
|
38464
38464
|
|
|
38465
|
-
var _templateObject$3, _templateObject2$
|
|
38465
|
+
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;
|
|
38466
38466
|
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."); }
|
|
38467
38467
|
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; } }
|
|
38468
38468
|
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; }
|
|
@@ -39028,7 +39028,7 @@ function TimingFact(_ref9) {
|
|
|
39028
39028
|
});
|
|
39029
39029
|
}
|
|
39030
39030
|
var SuccessInner = styledComponents.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"])));
|
|
39031
|
-
var Header = styledComponents.styled.header(_templateObject2$
|
|
39031
|
+
var Header = styledComponents.styled.header(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n"])));
|
|
39032
39032
|
var Eyebrow = styledComponents.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"])));
|
|
39033
39033
|
var TimingGrid = styledComponents.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"])));
|
|
39034
39034
|
var TimingCard = styledComponents.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"])));
|
|
@@ -39054,7 +39054,7 @@ var JsonBlockHeader = styledComponents.styled.div(_templateObject22 || (_templat
|
|
|
39054
39054
|
var JsonBlockActions = styledComponents.styled.div(_templateObject23 || (_templateObject23 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 8px;\n"])));
|
|
39055
39055
|
var ResponsePre = styledComponents.styled.pre(_templateObject24 || (_templateObject24 = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n padding: 18px;\n border-radius: 8px;\n background: #17211d;\n color: #dff9e9;\n font-size: 0.8rem;\n line-height: 1.55;\n text-align: left;\n"])));
|
|
39056
39056
|
|
|
39057
|
-
var _templateObject$2, _templateObject2$
|
|
39057
|
+
var _templateObject$2, _templateObject2$2;
|
|
39058
39058
|
function OrbStatusScreen(_ref) {
|
|
39059
39059
|
var state = _ref.state,
|
|
39060
39060
|
text = _ref.text,
|
|
@@ -39116,7 +39116,7 @@ var Root = styledComponents.styled.div(_templateObject$2 || (_templateObject$2 =
|
|
|
39116
39116
|
var _props$theme$textColo;
|
|
39117
39117
|
return (_props$theme$textColo = props.theme.textColor) != null ? _props$theme$textColo : '#26332e';
|
|
39118
39118
|
});
|
|
39119
|
-
var Label = styledComponents.styled.span(_templateObject2$
|
|
39119
|
+
var Label = styledComponents.styled.span(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteralLoose(["\n max-width: 32rem;\n text-align: center;\n text-wrap: pretty;\n font-size: 14px;\n font-weight: 600;\n letter-spacing: 0.01em;\n"])));
|
|
39120
39120
|
|
|
39121
39121
|
function CompositeWizard(_ref) {
|
|
39122
39122
|
var _successScreen$isAppr;
|
|
@@ -40076,7 +40076,7 @@ function RemoteDiagnosticsMount(_ref) {
|
|
|
40076
40076
|
return null;
|
|
40077
40077
|
}
|
|
40078
40078
|
|
|
40079
|
-
var _templateObject$1;
|
|
40079
|
+
var _templateObject$1, _templateObject2$1;
|
|
40080
40080
|
var _excluded$9 = ["client", "action", "submission", "theme", "className", "geolocationEnabled", "geolocationRequired", "captureProgress", "remoteDiagnostics", "loadingSpinner", "children"];
|
|
40081
40081
|
function FlowChassis(_ref) {
|
|
40082
40082
|
var client = _ref.client,
|
|
@@ -40170,7 +40170,26 @@ function AuthGate(_ref2) {
|
|
|
40170
40170
|
return null;
|
|
40171
40171
|
}
|
|
40172
40172
|
}
|
|
40173
|
-
|
|
40173
|
+
/**
|
|
40174
|
+
* The flow's page surface: `theme.header` and `theme.footer` (2.x's
|
|
40175
|
+
* SdkPage.tsx:41) frame a body that takes the remaining height and is the
|
|
40176
|
+
* positioned ancestor every flow stage lays out against.
|
|
40177
|
+
*/
|
|
40178
|
+
function FlowPage(_ref3) {
|
|
40179
|
+
var className = _ref3.className,
|
|
40180
|
+
children = _ref3.children;
|
|
40181
|
+
var _useTheme = styledComponents.useTheme(),
|
|
40182
|
+
Header = _useTheme.header,
|
|
40183
|
+
Footer = _useTheme.footer;
|
|
40184
|
+
return jsxRuntime.jsxs(FlowPageOuter, {
|
|
40185
|
+
className: className,
|
|
40186
|
+
children: [Header && jsxRuntime.jsx(Header, {}), jsxRuntime.jsx(FlowPageBody, {
|
|
40187
|
+
children: children
|
|
40188
|
+
}), Footer && jsxRuntime.jsx(Footer, {})]
|
|
40189
|
+
});
|
|
40190
|
+
}
|
|
40191
|
+
var FlowPageBody = styledComponents.styled.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n isolation: isolate;\n"])));
|
|
40192
|
+
var FlowPageOuter = styledComponents.styled.div(_templateObject2$1 || (_templateObject2$1 = _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) {
|
|
40174
40193
|
var _props$theme$backgrou;
|
|
40175
40194
|
return (_props$theme$backgrou = props.theme.background) != null ? _props$theme$backgrou : '#fff';
|
|
40176
40195
|
}, function (props) {
|
|
@@ -48027,7 +48046,7 @@ function mapCustomerIdAndBiometricsEnrollmentProps(props, ctx) {
|
|
|
48027
48046
|
});
|
|
48028
48047
|
}
|
|
48029
48048
|
|
|
48030
|
-
var webSdkVersion = '2.5.
|
|
48049
|
+
var webSdkVersion = '2.5.62';
|
|
48031
48050
|
|
|
48032
48051
|
var MAPPED = 'mapped';
|
|
48033
48052
|
var NOOP = 'dropped-noop';
|