UNPKG

@adyen/kyc-components

Version:

`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar

32 lines (31 loc) 1.25 kB
; { try { let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack; n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a159fa50-ede4-4f62-9545-7c6dcaa02598", e._sentryDebugIdIdentifier = "sentry-dbid-a159fa50-ede4-4f62-9545-7c6dcaa02598"); } catch (e) { } } ; import { c as cssProps } from "./DebugModal-Bv0myReE.js"; const definitions = { any: { regex: /.*/g, css: cssProps.text }, number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number }, boolean: { regex: /\b(true|false)\b/g, css: cssProps.boolean }, null: { regex: /\bnull\b/g, css: cssProps.null }, objectBrackets: { regex: /[{}]/g, css: cssProps.curlyBrackets }, arrayBrackets: { regex: /[[\]]/g, css: cssProps.squareBrackets }, string: { regex: /"(?:[^"\\]*(?:\\.[^"\\]*)*)"/g, css: cssProps.string }, key: { regex: /"([^"\\]*(\\.[^"\\]*)*)"\s*:/g, css: cssProps.key } }; const format = (content) => { try { return JSON.stringify(JSON.parse(content), null, 2); } catch { return content; } }; const json = { definitions, format }; export { json as default };