@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
53 lines (51 loc) • 1.98 kB
JavaScript
/**
* WARNING: This file is intended to be used within MySheerID.
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
*/
/**
* VERSION: 2.230.0-alpha.0
* BUILD_TIMESTAMP: 1778694697559
* BUILD_DATE: Wed May 13 2026 17:51:37 GMT+0000 (Coordinated Universal Time)
* BUILD_COMMIT: 7af1c105d5485ac4ed1190c56d492bb4590667a9
*/
import { ai as t, bi as p, j as e, b as d, ae as a, bg as n } from "../_mysheerid-preview.js";
const r = d.lazy(
() => import("./StepIDCheckLoopOnfido-djTS20UT.js")
), l = d.lazy(
() => import("./StepIDCheckLoopRegula-B5I-ojjy.js")
), h = ({ verificationService: s }) => {
const c = s.verificationResponse, i = t(
p
) || c.idCheckServiceType;
return /* @__PURE__ */ e.jsx(
d.Suspense,
{
fallback: /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center", children: /* @__PURE__ */ e.jsx(n, { step: "idCheckLoop" }) }),
children: i === a.ID_CHECK ? /* @__PURE__ */ e.jsx(l, { verificationService: s }) : /* @__PURE__ */ e.jsx(r, { verificationService: s })
}
);
}, C = h, m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: C
}, Symbol.toStringTag, { value: "Module" })), _ = ({
icon: s,
title: c,
subtitle: o = void 0,
isHighlighted: i = !1
}) => /* @__PURE__ */ e.jsxs(
"div",
{
className: `sid-id-check-step-card ${i && "sid-id-check-step-card--highlighted"}`,
children: [
/* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__icon", children: s }),
/* @__PURE__ */ e.jsxs("div", { className: "sid-id-check-step-card__description", children: [
/* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__title", children: c }),
o && /* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__subtitle sid-l-space-top-sm", children: o })
] })
]
}
), S = _;
export {
S,
m as i
};