'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var clsx = require('clsx');
var logoAssets = require('./logo-assets.js');
var jsxRuntime = require('react/jsx-runtime');

const svgPaths = {
  WISE: logoAssets.LogoWise,
  WISE_BUSINESS: logoAssets.LogoWise,
  WISE_INVERSE: logoAssets.LogoWiseInverse,
  WISE_BUSINESS_INVERSE: logoAssets.LogoWiseInverse,
  WISE_PLATFORM: logoAssets.LogoWisePlatform,
  WISE_PLATFORM_INVERSE: logoAssets.LogoWisePlatformInverse,
  WISE_FLAG: logoAssets.LogoFlag,
  WISE_FLAG_INVERSE: logoAssets.LogoFlagInverse,
  WISE_FLAG_PLATFORM: logoAssets.LogoFlagPlatform,
  WISE_FLAG_PLATFORM_INVERSE: logoAssets.LogoFlagPlatformInverse
};
exports.LogoType = void 0;
(function (LogoType) {
  LogoType["WISE"] = "WISE";
  LogoType["WISE_BUSINESS"] = "WISE_BUSINESS";
  LogoType["WISE_PLATFORM"] = "WISE_PLATFORM";
})(exports.LogoType || (exports.LogoType = {}));
const labelByType = {
  WISE: 'Wise',
  WISE_BUSINESS: 'Wise Business',
  WISE_PLATFORM: 'Wise Platform'
};
function Logo({
  className,
  inverse,
  type = 'WISE'
}) {
  const LogoSm = svgPaths[`WISE_FLAG${type === 'WISE_PLATFORM' ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
  const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
  return /*#__PURE__*/jsxRuntime.jsxs("span", {
    "aria-label": labelByType[type],
    role: "img",
    className: clsx.clsx(className, 'np-logo'),
    children: [/*#__PURE__*/jsxRuntime.jsx(LogoSm, {
      className: "np-logo-svg np-logo-svg--size-sm"
    }), /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
      className: "np-logo-svg np-logo-svg--size-md"
    })]
  });
}

exports.default = Logo;
//# sourceMappingURL=Logo.js.map
