"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _excluded = ["size", "height", "width"];

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

var Visa = function Visa(_ref) {
  var _ref$size = _ref.size,
      size = _ref$size === void 0 ? 24 : _ref$size,
      height = _ref.height,
      width = _ref.width,
      props = _objectWithoutProperties(_ref, _excluded);

  height = height || size;
  width = width || size;
  return /*#__PURE__*/_react.default.createElement("svg", _extends({
    width: width,
    height: height,
    fill: "none",
    viewBox: "0 0 100 100"
  }, props), /*#__PURE__*/_react.default.createElement("mask", {
    id: "Visa_js__a",
    width: 92,
    height: 30,
    x: 4,
    y: 35,
    maskUnits: "userSpaceOnUse",
    style: {
      maskType: "luminance"
    }
  }, /*#__PURE__*/_react.default.createElement("path", {
    fill: "#fff",
    d: "M51.58 44.789c-.052 4.138 3.688 6.447 6.506 7.82 2.895 1.41 3.868 2.313 3.857 3.572-.022 1.929-2.31 2.78-4.45 2.813-3.736.058-5.907-1.008-7.634-1.815l-1.345 6.296c1.732.798 4.94 1.494 8.265 1.525 7.807 0 12.916-3.854 12.943-9.83.03-7.583-10.49-8.003-10.418-11.392.025-1.028 1.006-2.125 3.155-2.404 1.064-.14 4-.249 7.33 1.285l1.306-6.092c-1.79-.652-4.091-1.276-6.956-1.276-7.348 0-12.517 3.906-12.559 9.498Zm32.071-8.973a3.388 3.388 0 0 0-3.163 2.107l-11.153 26.63h7.802l1.553-4.291h9.533l.9 4.29H96l-6-28.736H83.65Zm1.091 7.763 2.252 10.79h-6.166l3.914-10.79Zm-42.62-7.763-6.15 28.736h7.434l6.147-28.736H42.12Zm-10.999 0-7.738 19.559-3.13-16.631c-.367-1.856-1.818-2.928-3.428-2.928H4.177L4 36.65c2.597.564 5.547 1.473 7.335 2.445 1.094.594 1.406 1.113 1.765 2.525l5.929 22.932h7.856L38.93 35.816h-7.807Z"
  })), /*#__PURE__*/_react.default.createElement("g", {
    mask: "url(#Visa_js__a)"
  }, /*#__PURE__*/_react.default.createElement("path", {
    fill: "url(#Visa_js__b)",
    d: "M-5.634 38.839 85.013 5.456l20.622 55.996-90.646 33.384"
  })), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
    id: "Visa_js__b",
    x1: 12.334,
    x2: 89.87,
    y1: 64.097,
    y2: 35.541,
    gradientUnits: "userSpaceOnUse"
  }, /*#__PURE__*/_react.default.createElement("stop", {
    stopColor: "#222357"
  }), /*#__PURE__*/_react.default.createElement("stop", {
    offset: 1,
    stopColor: "#254AA5"
  }))));
};

var _default = Visa;
exports.default = _default;
//# sourceMappingURL=Visa.js.map