react-svg-credit-card-payment-icons
Version:
React components library with 6 styles, 108 icons, TypeScript support, and a variety of types and formats for easy integration into React applications.
1,077 lines (894 loc) • 48.7 kB
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
var _chunkCFPQINKUjs = require('./chunk-CFPQINKU.js');
var _chunkJFTE6FXGjs = require('./chunk-JFTE6FXG.js');
require('./chunk-35ASMPZK.js');
require('./chunk-3RTVITQX.js');
require('./chunk-JRP3TRYQ.js');
require('./chunk-GA5CDH6P.js');
require('./chunk-HJZSDYLT.js');
require('./chunk-VZKBND76.js');
require('./chunk-KNNPQ22K.js');
require('./chunk-EVSOUZD5.js');
require('./chunk-4YKFA36I.js');
require('./chunk-UHZ5WL4L.js');
require('./chunk-4D3T5LG2.js');
require('./chunk-ZEN7DWVW.js');
require('./chunk-EGW7MYU7.js');
require('./chunk-EXZXXEFG.js');
require('./chunk-IUSFPKXJ.js');
var _chunkOFWBEBZ2js = require('./chunk-OFWBEBZ2.js');
require('./chunk-VL2FOFST.js');
require('./chunk-GKLNECQX.js');
require('./chunk-SUUITHFF.js');
require('./chunk-SLCYTLYM.js');
require('./chunk-FGQ2GXWL.js');
require('./chunk-CHG3EAWZ.js');
require('./chunk-UEOZOB3I.js');
require('./chunk-JDOB2HLW.js');
var _chunkXY7DRXRSjs = require('./chunk-XY7DRXRS.js');
require('./chunk-YN25HA6E.js');
require('./chunk-E2TENAYC.js');
require('./chunk-522ACDVF.js');
require('./chunk-HW7LLCJG.js');
require('./chunk-ZJ2FQ67Z.js');
require('./chunk-TD3RWRYL.js');
var _chunkQ6SCWNGHjs = require('./chunk-Q6SCWNGH.js');
require('./chunk-YTZTDLG3.js');
require('./chunk-7OTPUJXD.js');
require('./chunk-BXQZYYR2.js');
require('./chunk-V5JRTFJ4.js');
require('./chunk-VHO52ZK5.js');
require('./chunk-3VR3UFCW.js');
require('./chunk-FSIO5TUR.js');
require('./chunk-5EEFFMXL.js');
require('./chunk-4W47EX2Y.js');
require('./chunk-7WFSODWG.js');
require('./chunk-DOS4YQRO.js');
require('./chunk-7RUZUXAK.js');
require('./chunk-GGJ43L3A.js');
require('./chunk-J6RIVE5T.js');
require('./chunk-P6SQ5B7C.js');
var _chunkMOJHIWSHjs = require('./chunk-MOJHIWSH.js');
require('./chunk-6YOPTPZT.js');
require('./chunk-23QWS3ZK.js');
require('./chunk-HA5U4LFE.js');
require('./chunk-2KGD3PQ6.js');
require('./chunk-U7OLWWWO.js');
require('./chunk-MSVNMDVX.js');
require('./chunk-D4ZJXSK4.js');
require('./chunk-C7HTPAU2.js');
require('./chunk-QOVUVU5O.js');
require('./chunk-4XISJK6M.js');
require('./chunk-F55VDIJ7.js');
require('./chunk-P6ZLVC5X.js');
require('./chunk-LPZVIAQU.js');
require('./chunk-QFNSIQKN.js');
require('./chunk-Y43JUJ3K.js');
var _chunkBHZ7PMX6js = require('./chunk-BHZ7PMX6.js');
require('./chunk-7UEXPUEG.js');
require('./chunk-RDP66T5X.js');
require('./chunk-E7FUJ2WE.js');
require('./chunk-UCSXDSNK.js');
require('./chunk-ONY3YIXH.js');
require('./chunk-FJHFCNYZ.js');
require('./chunk-NKJJ64HS.js');
require('./chunk-ZY4R5ZND.js');
require('./chunk-LHFQX3JF.js');
require('./chunk-TFOFI5B2.js');
require('./chunk-NL3B756E.js');
require('./chunk-ELUDNRFX.js');
require('./chunk-JD6IGLOV.js');
require('./chunk-UUT2Z2XT.js');
require('./chunk-DLZ6XDMJ.js');
var _chunkWS4ACWEZjs = require('./chunk-WS4ACWEZ.js');
require('./chunk-V5NF3LFO.js');
require('./chunk-7I55SQLE.js');
require('./chunk-5OGKM7WE.js');
require('./chunk-MHBUO6X3.js');
require('./chunk-MAALIGXH.js');
require('./chunk-GWKX54X4.js');
require('./chunk-IAPGSNGD.js');
require('./chunk-XFMWFDBH.js');
require('./chunk-NQ4DM6HR.js');
require('./chunk-PSHQTWLT.js');
require('./chunk-X5OSLVE3.js');
require('./chunk-CDRIIMKG.js');
require('./chunk-MEVXWQEX.js');
require('./chunk-XZ7THVLG.js');
require('./chunk-LVMSF27V.js');
require('./chunk-MLKGABMK.js');
// src/index.tsx
var _react = require('react'); var React = _interopRequireWildcard(_react);
// generated/unifiedIcons.tsx
var formatMappings = {
flat: _chunkJFTE6FXGjs.flat_exports,
flatRounded: _chunkOFWBEBZ2js.flat_rounded_exports,
logo: _chunkQ6SCWNGHjs.logo_exports,
logoBorder: _chunkMOJHIWSHjs.logo_border_exports,
mono: _chunkBHZ7PMX6js.mono_exports,
monoOutline: _chunkWS4ACWEZjs.mono_outline_exports
};
var AVAILABLE_FORMATS = ["flat", "flatRounded", "logo", "logoBorder", "mono", "monoOutline"];
function AlipayIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _ => _[format], 'optionalAccess', _2 => _2.Alipay]);
if (!Component) throw new Error(`Alipay not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AlipayFlatIcon(props) {
const Component = formatMappings.flat.Alipay;
if (!Component) throw new Error(`Alipay not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AlipayFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Alipay;
if (!Component) throw new Error(`Alipay not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AlipayLogoIcon(props) {
const Component = formatMappings.logo.Alipay;
if (!Component) throw new Error(`Alipay not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AlipayLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Alipay;
if (!Component) throw new Error(`Alipay not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AlipayMonoIcon(props) {
const Component = formatMappings.mono.Alipay;
if (!Component) throw new Error(`Alipay not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AlipayMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Alipay;
if (!Component) throw new Error(`Alipay not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AmericanExpressIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _3 => _3[format], 'optionalAccess', _4 => _4.AmericanExpress]);
if (!Component) throw new Error(`AmericanExpress not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AmericanExpressFlatIcon(props) {
const Component = formatMappings.flat.AmericanExpress;
if (!Component) throw new Error(`AmericanExpress not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AmericanExpressFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.AmericanExpress;
if (!Component) throw new Error(`AmericanExpress not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AmericanExpressLogoIcon(props) {
const Component = formatMappings.logo.AmericanExpress;
if (!Component) throw new Error(`AmericanExpress not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AmericanExpressLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.AmericanExpress;
if (!Component) throw new Error(`AmericanExpress not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AmericanExpressMonoIcon(props) {
const Component = formatMappings.mono.AmericanExpress;
if (!Component) throw new Error(`AmericanExpress not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AmericanExpressMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.AmericanExpress;
if (!Component) throw new Error(`AmericanExpress not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function AmericanexpressIcon(props) {
return /* @__PURE__ */ React.createElement(AmericanExpressIcon, { ...props });
}
function AmexIcon(props) {
return /* @__PURE__ */ React.createElement(AmericanExpressIcon, { ...props });
}
function DinersClubIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _5 => _5[format], 'optionalAccess', _6 => _6.DinersClub]);
if (!Component) throw new Error(`DinersClub not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DinersClubFlatIcon(props) {
const Component = formatMappings.flat.DinersClub;
if (!Component) throw new Error(`DinersClub not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DinersClubFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.DinersClub;
if (!Component) throw new Error(`DinersClub not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DinersClubLogoIcon(props) {
const Component = formatMappings.logo.DinersClub;
if (!Component) throw new Error(`DinersClub not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DinersClubLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.DinersClub;
if (!Component) throw new Error(`DinersClub not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DinersClubMonoIcon(props) {
const Component = formatMappings.mono.DinersClub;
if (!Component) throw new Error(`DinersClub not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DinersClubMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.DinersClub;
if (!Component) throw new Error(`DinersClub not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DinersIcon(props) {
return /* @__PURE__ */ React.createElement(DinersClubIcon, { ...props });
}
function DiscoverIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _7 => _7[format], 'optionalAccess', _8 => _8.Discover]);
if (!Component) throw new Error(`Discover not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DiscoverFlatIcon(props) {
const Component = formatMappings.flat.Discover;
if (!Component) throw new Error(`Discover not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DiscoverFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Discover;
if (!Component) throw new Error(`Discover not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DiscoverLogoIcon(props) {
const Component = formatMappings.logo.Discover;
if (!Component) throw new Error(`Discover not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DiscoverLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Discover;
if (!Component) throw new Error(`Discover not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DiscoverMonoIcon(props) {
const Component = formatMappings.mono.Discover;
if (!Component) throw new Error(`Discover not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function DiscoverMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Discover;
if (!Component) throw new Error(`Discover not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function EloIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _9 => _9[format], 'optionalAccess', _10 => _10.Elo]);
if (!Component) throw new Error(`Elo not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function EloFlatIcon(props) {
const Component = formatMappings.flat.Elo;
if (!Component) throw new Error(`Elo not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function EloFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Elo;
if (!Component) throw new Error(`Elo not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function EloLogoIcon(props) {
const Component = formatMappings.logo.Elo;
if (!Component) throw new Error(`Elo not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function EloLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Elo;
if (!Component) throw new Error(`Elo not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function EloMonoIcon(props) {
const Component = formatMappings.mono.Elo;
if (!Component) throw new Error(`Elo not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function EloMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Elo;
if (!Component) throw new Error(`Elo not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function GenericIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _11 => _11[format], 'optionalAccess', _12 => _12.Generic]);
if (!Component) throw new Error(`Generic not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function GenericFlatIcon({ variant, ...props }) {
const componentKey = variant || "Generic";
const Component = formatMappings.flat[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function GenericFlatRoundedIcon({ variant, ...props }) {
const componentKey = variant || "Generic";
const Component = formatMappings.flatRounded[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function GenericLogoIcon({ variant, ...props }) {
const componentKey = variant || "Generic";
const Component = formatMappings.logo[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function GenericLogoBorderIcon({ variant, ...props }) {
const componentKey = variant || "Generic";
const Component = formatMappings.logoBorder[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function GenericMonoIcon({ variant, ...props }) {
const componentKey = variant || "Generic";
const Component = formatMappings.mono[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function GenericMonoOutlineIcon({ variant, ...props }) {
const componentKey = variant || "Generic";
const Component = formatMappings.monoOutline[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function GenericCardIcon(props) {
return /* @__PURE__ */ React.createElement(GenericIcon, { ...props });
}
function GenericCardFrontIcon(props) {
return /* @__PURE__ */ React.createElement(GenericIcon, { ...props });
}
function CodeIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _13 => _13[format], 'optionalAccess', _14 => _14.Code]);
if (!Component) throw new Error(`Code not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFlatIcon(props) {
const Component = formatMappings.flat.Code;
if (!Component) throw new Error(`Code not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Code;
if (!Component) throw new Error(`Code not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeLogoIcon(props) {
const Component = formatMappings.logo.Code;
if (!Component) throw new Error(`Code not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Code;
if (!Component) throw new Error(`Code not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeMonoIcon(props) {
const Component = formatMappings.mono.Code;
if (!Component) throw new Error(`Code not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Code;
if (!Component) throw new Error(`Code not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFrontIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _15 => _15[format], 'optionalAccess', _16 => _16.CodeFront]);
if (!Component) throw new Error(`CodeFront not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFrontFlatIcon(props) {
const Component = formatMappings.flat.CodeFront;
if (!Component) throw new Error(`CodeFront not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFrontFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.CodeFront;
if (!Component) throw new Error(`CodeFront not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFrontLogoIcon(props) {
const Component = formatMappings.logo.CodeFront;
if (!Component) throw new Error(`CodeFront not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFrontLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.CodeFront;
if (!Component) throw new Error(`CodeFront not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFrontMonoIcon(props) {
const Component = formatMappings.mono.CodeFront;
if (!Component) throw new Error(`CodeFront not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function CodeFrontMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.CodeFront;
if (!Component) throw new Error(`CodeFront not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HipercardIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _17 => _17[format], 'optionalAccess', _18 => _18.Hipercard]);
if (!Component) throw new Error(`Hipercard not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HipercardFlatIcon({ variant, ...props }) {
const componentKey = variant || "Hipercard";
const Component = formatMappings.flat[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HipercardFlatRoundedIcon({ variant, ...props }) {
const componentKey = variant || "Hipercard";
const Component = formatMappings.flatRounded[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HipercardLogoIcon({ variant, ...props }) {
const componentKey = variant || "Hipercard";
const Component = formatMappings.logo[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HipercardLogoBorderIcon({ variant, ...props }) {
const componentKey = variant || "Hipercard";
const Component = formatMappings.logoBorder[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HipercardMonoIcon({ variant, ...props }) {
const componentKey = variant || "Hipercard";
const Component = formatMappings.mono[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HipercardMonoOutlineIcon({ variant, ...props }) {
const componentKey = variant || "Hipercard";
const Component = formatMappings.monoOutline[componentKey];
if (!Component) throw new Error(`${componentKey} not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HiperIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _19 => _19[format], 'optionalAccess', _20 => _20.Hiper]);
if (!Component) throw new Error(`Hiper not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HiperFlatIcon(props) {
const Component = formatMappings.flat.Hiper;
if (!Component) throw new Error(`Hiper not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HiperFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Hiper;
if (!Component) throw new Error(`Hiper not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HiperLogoIcon(props) {
const Component = formatMappings.logo.Hiper;
if (!Component) throw new Error(`Hiper not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HiperLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Hiper;
if (!Component) throw new Error(`Hiper not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HiperMonoIcon(props) {
const Component = formatMappings.mono.Hiper;
if (!Component) throw new Error(`Hiper not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function HiperMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Hiper;
if (!Component) throw new Error(`Hiper not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function JCBIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _21 => _21[format], 'optionalAccess', _22 => _22.JCB]);
if (!Component) throw new Error(`JCB not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function JCBFlatIcon(props) {
const Component = formatMappings.flat.JCB;
if (!Component) throw new Error(`JCB not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function JCBFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.JCB;
if (!Component) throw new Error(`JCB not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function JCBLogoIcon(props) {
const Component = formatMappings.logo.JCB;
if (!Component) throw new Error(`JCB not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function JCBLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.JCB;
if (!Component) throw new Error(`JCB not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function JCBMonoIcon(props) {
const Component = formatMappings.mono.JCB;
if (!Component) throw new Error(`JCB not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function JCBMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.JCB;
if (!Component) throw new Error(`JCB not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function JcbIcon(props) {
return /* @__PURE__ */ React.createElement(JCBIcon, { ...props });
}
function MaestroIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _23 => _23[format], 'optionalAccess', _24 => _24.Maestro]);
if (!Component) throw new Error(`Maestro not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MaestroFlatIcon(props) {
const Component = formatMappings.flat.Maestro;
if (!Component) throw new Error(`Maestro not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MaestroFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Maestro;
if (!Component) throw new Error(`Maestro not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MaestroLogoIcon(props) {
const Component = formatMappings.logo.Maestro;
if (!Component) throw new Error(`Maestro not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MaestroLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Maestro;
if (!Component) throw new Error(`Maestro not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MaestroMonoIcon(props) {
const Component = formatMappings.mono.Maestro;
if (!Component) throw new Error(`Maestro not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MaestroMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Maestro;
if (!Component) throw new Error(`Maestro not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MastercardIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _25 => _25[format], 'optionalAccess', _26 => _26.Mastercard]);
if (!Component) throw new Error(`Mastercard not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MastercardFlatIcon(props) {
const Component = formatMappings.flat.Mastercard;
if (!Component) throw new Error(`Mastercard not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MastercardFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Mastercard;
if (!Component) throw new Error(`Mastercard not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MastercardLogoIcon(props) {
const Component = formatMappings.logo.Mastercard;
if (!Component) throw new Error(`Mastercard not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MastercardLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Mastercard;
if (!Component) throw new Error(`Mastercard not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MastercardMonoIcon(props) {
const Component = formatMappings.mono.Mastercard;
if (!Component) throw new Error(`Mastercard not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MastercardMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Mastercard;
if (!Component) throw new Error(`Mastercard not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MirIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _27 => _27[format], 'optionalAccess', _28 => _28.Mir]);
if (!Component) throw new Error(`Mir not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MirFlatIcon(props) {
const Component = formatMappings.flat.Mir;
if (!Component) throw new Error(`Mir not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MirFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Mir;
if (!Component) throw new Error(`Mir not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MirLogoIcon(props) {
const Component = formatMappings.logo.Mir;
if (!Component) throw new Error(`Mir not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MirLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Mir;
if (!Component) throw new Error(`Mir not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MirMonoIcon(props) {
const Component = formatMappings.mono.Mir;
if (!Component) throw new Error(`Mir not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function MirMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Mir;
if (!Component) throw new Error(`Mir not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function PayPalIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _29 => _29[format], 'optionalAccess', _30 => _30.PayPal]);
if (!Component) throw new Error(`PayPal not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function PayPalFlatIcon(props) {
const Component = formatMappings.flat.PayPal;
if (!Component) throw new Error(`PayPal not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function PayPalFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.PayPal;
if (!Component) throw new Error(`PayPal not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function PayPalLogoIcon(props) {
const Component = formatMappings.logo.PayPal;
if (!Component) throw new Error(`PayPal not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function PayPalLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.PayPal;
if (!Component) throw new Error(`PayPal not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function PayPalMonoIcon(props) {
const Component = formatMappings.mono.PayPal;
if (!Component) throw new Error(`PayPal not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function PayPalMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.PayPal;
if (!Component) throw new Error(`PayPal not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function PaypalIcon(props) {
return /* @__PURE__ */ React.createElement(PayPalIcon, { ...props });
}
function SwishIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _31 => _31[format], 'optionalAccess', _32 => _32.Swish]);
if (!Component) throw new Error(`Swish not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function SwishFlatIcon(props) {
const Component = formatMappings.flat.Swish;
if (!Component) throw new Error(`Swish not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function SwishFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Swish;
if (!Component) throw new Error(`Swish not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function SwishLogoIcon(props) {
const Component = formatMappings.logo.Swish;
if (!Component) throw new Error(`Swish not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function SwishLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Swish;
if (!Component) throw new Error(`Swish not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function SwishMonoIcon(props) {
const Component = formatMappings.mono.Swish;
if (!Component) throw new Error(`Swish not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function SwishMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Swish;
if (!Component) throw new Error(`Swish not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function UnionPayIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _33 => _33[format], 'optionalAccess', _34 => _34.UnionPay]);
if (!Component) throw new Error(`UnionPay not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function UnionPayFlatIcon(props) {
const Component = formatMappings.flat.UnionPay;
if (!Component) throw new Error(`UnionPay not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function UnionPayFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.UnionPay;
if (!Component) throw new Error(`UnionPay not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function UnionPayLogoIcon(props) {
const Component = formatMappings.logo.UnionPay;
if (!Component) throw new Error(`UnionPay not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function UnionPayLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.UnionPay;
if (!Component) throw new Error(`UnionPay not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function UnionPayMonoIcon(props) {
const Component = formatMappings.mono.UnionPay;
if (!Component) throw new Error(`UnionPay not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function UnionPayMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.UnionPay;
if (!Component) throw new Error(`UnionPay not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function UnionpayIcon(props) {
return /* @__PURE__ */ React.createElement(UnionPayIcon, { ...props });
}
function VisaIcon({
format = "flat",
...props
}) {
const Component = _optionalChain([formatMappings, 'access', _35 => _35[format], 'optionalAccess', _36 => _36.Visa]);
if (!Component) throw new Error(`Visa not available in format: ${format}`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function VisaFlatIcon(props) {
const Component = formatMappings.flat.Visa;
if (!Component) throw new Error(`Visa not available in format: flat`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function VisaFlatRoundedIcon(props) {
const Component = formatMappings.flatRounded.Visa;
if (!Component) throw new Error(`Visa not available in format: flatRounded`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function VisaLogoIcon(props) {
const Component = formatMappings.logo.Visa;
if (!Component) throw new Error(`Visa not available in format: logo`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function VisaLogoBorderIcon(props) {
const Component = formatMappings.logoBorder.Visa;
if (!Component) throw new Error(`Visa not available in format: logoBorder`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function VisaMonoIcon(props) {
const Component = formatMappings.mono.Visa;
if (!Component) throw new Error(`Visa not available in format: mono`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
function VisaMonoOutlineIcon(props) {
const Component = formatMappings.monoOutline.Visa;
if (!Component) throw new Error(`Visa not available in format: monoOutline`);
return /* @__PURE__ */ React.createElement(Component, { ...props });
}
// src/index.tsx
var categoryMappings = {
flat: _chunkJFTE6FXGjs.flat_exports,
flatRounded: _chunkOFWBEBZ2js.flat_rounded_exports,
logo: _chunkQ6SCWNGHjs.logo_exports,
logoBorder: _chunkMOJHIWSHjs.logo_border_exports,
mono: _chunkBHZ7PMX6js.mono_exports,
monoOutline: _chunkWS4ACWEZjs.mono_outline_exports
};
var defaultType = "generic";
var defaultCategory = "flat";
var aspectRatio = 780 / 500;
var defaultWidth = 40;
function resolveAlias(input) {
for (const card of _chunkCFPQINKUjs.CARD_METADATA) {
if (card.type === input) {
return { type: card.type };
}
if (card.aliases.some((alias) => alias === input)) {
return { type: card.type };
}
if (card.variants) {
for (const [variantAlias, variantDef] of Object.entries(card.variants)) {
if (variantAlias === input) {
return { type: card.type, variant: variantDef.slug };
}
}
}
}
return { type: input };
}
function PaymentIcon(props) {
const category = props.format || defaultCategory;
if (!categoryMappings[category])
throw new Error(
`Invalid category: ${category} please use one of ${Object.keys(categoryMappings).join(", ")}`
);
const inputType = props.type || defaultType;
const resolved = resolveAlias(inputType);
const sanitizedType = resolved.type.replace(/[-_]/g, "");
const normalizedType = sanitizedType.charAt(0).toUpperCase() + sanitizedType.slice(1);
const categoryComponents = categoryMappings[category];
let Component;
if (resolved.variant && !props.variant) {
const sanitizedInput = inputType.replace(/[-_]/g, "");
const normalizedInput = sanitizedInput.charAt(0).toUpperCase() + sanitizedInput.slice(1);
Component = categoryComponents[normalizedInput];
} else if (props.variant) {
const sanitizedVariant = props.variant.replace(/[-_]/g, "");
const normalizedVariant = sanitizedVariant.charAt(0).toUpperCase() + sanitizedVariant.slice(1);
const compositeKey = `${normalizedType}${normalizedVariant}`;
Component = _nullishCoalesce(categoryComponents[compositeKey], () => ( categoryComponents[normalizedVariant]));
} else {
Component = categoryComponents[normalizedType];
}
if (!Component) {
Component = _chunkXY7DRXRSjs.Generic_default;
}
const width = _nullishCoalesce(props.width, () => ( (props.height ? props.height * aspectRatio : defaultWidth)));
const height = _nullishCoalesce(props.height, () => ( width / aspectRatio));
return /* @__PURE__ */ React.default.createElement(Component, { ...props, width, height, viewBox: "0 0 780 500" });
}
exports.AVAILABLE_FORMATS = AVAILABLE_FORMATS; exports.AlipayFlatIcon = AlipayFlatIcon; exports.AlipayFlatRoundedIcon = AlipayFlatRoundedIcon; exports.AlipayIcon = AlipayIcon; exports.AlipayLogoBorderIcon = AlipayLogoBorderIcon; exports.AlipayLogoIcon = AlipayLogoIcon; exports.AlipayMonoIcon = AlipayMonoIcon; exports.AlipayMonoOutlineIcon = AlipayMonoOutlineIcon; exports.AmericanExpressFlatIcon = AmericanExpressFlatIcon; exports.AmericanExpressFlatRoundedIcon = AmericanExpressFlatRoundedIcon; exports.AmericanExpressIcon = AmericanExpressIcon; exports.AmericanExpressLogoBorderIcon = AmericanExpressLogoBorderIcon; exports.AmericanExpressLogoIcon = AmericanExpressLogoIcon; exports.AmericanExpressMonoIcon = AmericanExpressMonoIcon; exports.AmericanExpressMonoOutlineIcon = AmericanExpressMonoOutlineIcon; exports.AmericanexpressIcon = AmericanexpressIcon; exports.AmexIcon = AmexIcon; exports.CodeFlatIcon = CodeFlatIcon; exports.CodeFlatRoundedIcon = CodeFlatRoundedIcon; exports.CodeFrontFlatIcon = CodeFrontFlatIcon; exports.CodeFrontFlatRoundedIcon = CodeFrontFlatRoundedIcon; exports.CodeFrontIcon = CodeFrontIcon; exports.CodeFrontLogoBorderIcon = CodeFrontLogoBorderIcon; exports.CodeFrontLogoIcon = CodeFrontLogoIcon; exports.CodeFrontMonoIcon = CodeFrontMonoIcon; exports.CodeFrontMonoOutlineIcon = CodeFrontMonoOutlineIcon; exports.CodeIcon = CodeIcon; exports.CodeLogoBorderIcon = CodeLogoBorderIcon; exports.CodeLogoIcon = CodeLogoIcon; exports.CodeMonoIcon = CodeMonoIcon; exports.CodeMonoOutlineIcon = CodeMonoOutlineIcon; exports.DinersClubFlatIcon = DinersClubFlatIcon; exports.DinersClubFlatRoundedIcon = DinersClubFlatRoundedIcon; exports.DinersClubIcon = DinersClubIcon; exports.DinersClubLogoBorderIcon = DinersClubLogoBorderIcon; exports.DinersClubLogoIcon = DinersClubLogoIcon; exports.DinersClubMonoIcon = DinersClubMonoIcon; exports.DinersClubMonoOutlineIcon = DinersClubMonoOutlineIcon; exports.DinersIcon = DinersIcon; exports.DiscoverFlatIcon = DiscoverFlatIcon; exports.DiscoverFlatRoundedIcon = DiscoverFlatRoundedIcon; exports.DiscoverIcon = DiscoverIcon; exports.DiscoverLogoBorderIcon = DiscoverLogoBorderIcon; exports.DiscoverLogoIcon = DiscoverLogoIcon; exports.DiscoverMonoIcon = DiscoverMonoIcon; exports.DiscoverMonoOutlineIcon = DiscoverMonoOutlineIcon; exports.EloFlatIcon = EloFlatIcon; exports.EloFlatRoundedIcon = EloFlatRoundedIcon; exports.EloIcon = EloIcon; exports.EloLogoBorderIcon = EloLogoBorderIcon; exports.EloLogoIcon = EloLogoIcon; exports.EloMonoIcon = EloMonoIcon; exports.EloMonoOutlineIcon = EloMonoOutlineIcon; exports.GenericCardFrontIcon = GenericCardFrontIcon; exports.GenericCardIcon = GenericCardIcon; exports.GenericFlatIcon = GenericFlatIcon; exports.GenericFlatRoundedIcon = GenericFlatRoundedIcon; exports.GenericIcon = GenericIcon; exports.GenericLogoBorderIcon = GenericLogoBorderIcon; exports.GenericLogoIcon = GenericLogoIcon; exports.GenericMonoIcon = GenericMonoIcon; exports.GenericMonoOutlineIcon = GenericMonoOutlineIcon; exports.HiperFlatIcon = HiperFlatIcon; exports.HiperFlatRoundedIcon = HiperFlatRoundedIcon; exports.HiperIcon = HiperIcon; exports.HiperLogoBorderIcon = HiperLogoBorderIcon; exports.HiperLogoIcon = HiperLogoIcon; exports.HiperMonoIcon = HiperMonoIcon; exports.HiperMonoOutlineIcon = HiperMonoOutlineIcon; exports.HipercardFlatIcon = HipercardFlatIcon; exports.HipercardFlatRoundedIcon = HipercardFlatRoundedIcon; exports.HipercardIcon = HipercardIcon; exports.HipercardLogoBorderIcon = HipercardLogoBorderIcon; exports.HipercardLogoIcon = HipercardLogoIcon; exports.HipercardMonoIcon = HipercardMonoIcon; exports.HipercardMonoOutlineIcon = HipercardMonoOutlineIcon; exports.JCBFlatIcon = JCBFlatIcon; exports.JCBFlatRoundedIcon = JCBFlatRoundedIcon; exports.JCBIcon = JCBIcon; exports.JCBLogoBorderIcon = JCBLogoBorderIcon; exports.JCBLogoIcon = JCBLogoIcon; exports.JCBMonoIcon = JCBMonoIcon; exports.JCBMonoOutlineIcon = JCBMonoOutlineIcon; exports.JcbIcon = JcbIcon; exports.MaestroFlatIcon = MaestroFlatIcon; exports.MaestroFlatRoundedIcon = MaestroFlatRoundedIcon; exports.MaestroIcon = MaestroIcon; exports.MaestroLogoBorderIcon = MaestroLogoBorderIcon; exports.MaestroLogoIcon = MaestroLogoIcon; exports.MaestroMonoIcon = MaestroMonoIcon; exports.MaestroMonoOutlineIcon = MaestroMonoOutlineIcon; exports.MastercardFlatIcon = MastercardFlatIcon; exports.MastercardFlatRoundedIcon = MastercardFlatRoundedIcon; exports.MastercardIcon = MastercardIcon; exports.MastercardLogoBorderIcon = MastercardLogoBorderIcon; exports.MastercardLogoIcon = MastercardLogoIcon; exports.MastercardMonoIcon = MastercardMonoIcon; exports.MastercardMonoOutlineIcon = MastercardMonoOutlineIcon; exports.MirFlatIcon = MirFlatIcon; exports.MirFlatRoundedIcon = MirFlatRoundedIcon; exports.MirIcon = MirIcon; exports.MirLogoBorderIcon = MirLogoBorderIcon; exports.MirLogoIcon = MirLogoIcon; exports.MirMonoIcon = MirMonoIcon; exports.MirMonoOutlineIcon = MirMonoOutlineIcon; exports.PayPalFlatIcon = PayPalFlatIcon; exports.PayPalFlatRoundedIcon = PayPalFlatRoundedIcon; exports.PayPalIcon = PayPalIcon; exports.PayPalLogoBorderIcon = PayPalLogoBorderIcon; exports.PayPalLogoIcon = PayPalLogoIcon; exports.PayPalMonoIcon = PayPalMonoIcon; exports.PayPalMonoOutlineIcon = PayPalMonoOutlineIcon; exports.PaymentIcon = PaymentIcon; exports.PaypalIcon = PaypalIcon; exports.SwishFlatIcon = SwishFlatIcon; exports.SwishFlatRoundedIcon = SwishFlatRoundedIcon; exports.SwishIcon = SwishIcon; exports.SwishLogoBorderIcon = SwishLogoBorderIcon; exports.SwishLogoIcon = SwishLogoIcon; exports.SwishMonoIcon = SwishMonoIcon; exports.SwishMonoOutlineIcon = SwishMonoOutlineIcon; exports.UnionPayFlatIcon = UnionPayFlatIcon; exports.UnionPayFlatRoundedIcon = UnionPayFlatRoundedIcon; exports.UnionPayIcon = UnionPayIcon; exports.UnionPayLogoBorderIcon = UnionPayLogoBorderIcon; exports.UnionPayLogoIcon = UnionPayLogoIcon; exports.UnionPayMonoIcon = UnionPayMonoIcon; exports.UnionPayMonoOutlineIcon = UnionPayMonoOutlineIcon; exports.UnionpayIcon = UnionpayIcon; exports.VisaFlatIcon = VisaFlatIcon; exports.VisaFlatRoundedIcon = VisaFlatRoundedIcon; exports.VisaIcon = VisaIcon; exports.VisaLogoBorderIcon = VisaLogoBorderIcon; exports.VisaLogoIcon = VisaLogoIcon; exports.VisaMonoIcon = VisaMonoIcon; exports.VisaMonoOutlineIcon = VisaMonoOutlineIcon; exports.detectCardType = _chunkCFPQINKUjs.detectCardType; exports.flat = _chunkJFTE6FXGjs.flat_exports; exports.flatRounded = _chunkOFWBEBZ2js.flat_rounded_exports; exports.formatCardNumber = _chunkCFPQINKUjs.formatCardNumber; exports.getCardLengthRange = _chunkCFPQINKUjs.getCardLengthRange; exports.getCardType = _chunkCFPQINKUjs.getCardType; exports.getCardsByCountry = _chunkCFPQINKUjs.getCardsByCountry; exports.isCardNumberPotentiallyValid = _chunkCFPQINKUjs.isCardNumberPotentiallyValid; exports.logo = _chunkQ6SCWNGHjs.logo_exports; exports.logoBorder = _chunkMOJHIWSHjs.logo_border_exports; exports.maskCardNumber = _chunkCFPQINKUjs.maskCardNumber; exports.mono = _chunkBHZ7PMX6js.mono_exports; exports.monoOutline = _chunkWS4ACWEZjs.mono_outline_exports; exports.sanitizeCardNumber = _chunkCFPQINKUjs.sanitizeCardNumber; exports.validateCardForType = _chunkCFPQINKUjs.validateCardForType; exports.validateCardNumber = _chunkCFPQINKUjs.validateCardNumber;