@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
14 lines (13 loc) • 1.05 kB
JavaScript
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] = "7f8ff170-e1a1-4621-9623-3f54500d79a9", e._sentryDebugIdIdentifier = "sentry-dbid-7f8ff170-e1a1-4621-9623-3f54500d79a9");
} catch (e) {}
import { n as HK_SG_COUNTRIES, r as euCountries } from "./country-code-CJk2hdPu.js";
import { n as LOW_RISK_COUNTRIES, t as EEA_Countries } from "./countries-CPj8hkLs.js";
//#region src/utils/country.ts
var isEuCountry = (country) => !!country && euCountries.includes(country);
var isEeaCountry = (country) => !!country && EEA_Countries.includes(country);
var isLowRiskCountry = (country) => !!country && LOW_RISK_COUNTRIES.includes(country);
var isHkSgCountry = (country) => !!country && HK_SG_COUNTRIES.includes(country);
//#endregion
export { isLowRiskCountry as i, isEuCountry as n, isHkSgCountry as r, isEeaCountry as t };