@rsuite/icon-font
Version:
All rsuite icon resource file and icon fonts
32 lines (24 loc) • 6.23 kB
JavaScript
;
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcard(require("react"));
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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 CcMastercard(props, svgRef) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: "1em",
height: "1em",
viewBox: "0 0 41 32",
fill: "currentColor",
ref: svgRef
}, props), /*#__PURE__*/React.createElement("path", {
d: "M19.982 6.089a9.105 9.105 0 00-5.018-1.518c-5.018 0-9.089 4.071-9.089 9.071 0 5.018 4.071 9.089 9.089 9.089a9.105 9.105 0 005.018-1.518c-4.786-3.893-4.75-11.232 0-15.125zm.589.429c-4.607 3.625-4.625 10.661 0 14.268 4.625-3.607 4.607-10.643 0-14.268zm.59-.429c4.732 3.893 4.804 11.25 0 15.125a9.15 9.15 0 005.018 1.518c5.018 0 9.089-4.071 9.089-9.089 0-5-4.071-9.071-9.089-9.071a9.105 9.105 0 00-5.018 1.518zm13.232 12.893h.125v-.054h-.304v.054h.125v.304h.054v-.304zm.518.304h.071v-.357h-.089l-.107.232-.107-.232h-.089v.357h.054v-.268l.107.232h.071l.089-.232v.268zm-.143 7.857v.036h-.089v-.054h.089v.018zm0 .161h.054l-.071-.089c.036 0 .036-.018.054-.018.018-.018.018-.036.018-.054s0-.036-.018-.054c-.018 0-.036-.018-.071-.018h-.107v.232h.054v-.089h.018zm-22.536-1.215c0-.429.268-.768.732-.768.429 0 .714.339.714.768 0 .446-.286.768-.714.768-.464 0-.732-.339-.732-.768zm8.447-.785c.339 0 .571.196.625.571h-1.25c.054-.339.268-.571.625-.571zm6.357.785c0-.429.268-.768.714-.768s.732.339.732.768c0 .446-.286.768-.732.768s-.714-.339-.714-.768zm4.857 0c0-.429.286-.768.732-.768.429 0 .732.339.732.768 0 .446-.304.768-.732.768-.446 0-.732-.339-.732-.768zm2.821 1.286c-.018 0-.036 0-.071-.018-.018 0-.036-.018-.054-.036s-.036-.036-.036-.054-.018-.054-.018-.071 0-.054.018-.071c0-.036.018-.054.036-.071s.036-.018.054-.036.054-.018.071-.018.054 0 .071.018.054.018.071.036.018.036.036.071c0 .018.018.036.018.071 0 .018-.018.036-.018.071-.018.018-.018.036-.036.054s-.036.036-.071.036c-.018.018-.036.018-.071.018zm-24.018-.071h.536v-1.518c0-.571-.375-.946-.964-.964-.304 0-.625.089-.839.429-.161-.268-.429-.429-.804-.429-.25 0-.5.089-.696.357v-.286h-.536v2.411h.536v-1.339c0-.429.232-.643.589-.643s.536.232.536.643v1.339h.518v-1.339c0-.429.25-.643.589-.643.357 0 .536.232.536.643v1.339zm2.965 0h.518v-2.411h-.518v.286a.961.961 0 00-.768-.357c-.679 0-1.196.536-1.196 1.268s.518 1.268 1.196 1.268c.339 0 .589-.125.768-.357v.304zm3.178-.733c0-.429-.321-.643-.839-.714l-.25-.036c-.232-.036-.411-.089-.411-.25s.161-.268.446-.268c.321 0 .607.107.768.196l.214-.429c-.25-.161-.589-.25-.982-.25-.607 0-1 .304-1 .786 0 .393.286.625.839.696l.232.036c.304.054.429.125.429.25 0 .196-.196.304-.554.304s-.625-.125-.804-.25l-.232.411a1.82 1.82 0 001.036.304c.696 0 1.107-.321 1.107-.786zm2.322.608l-.143-.446a.959.959 0 01-.464.125c-.268 0-.339-.161-.339-.393v-1.089h.857v-.482h-.857v-.732h-.536v.732h-.5v.482h.5v1.089c0 .554.214.893.839.893.214 0 .482-.071.643-.179zm1.535-2.358c-.696 0-1.196.518-1.196 1.268 0 .768.518 1.268 1.232 1.268.357 0 .696-.089.982-.339l-.25-.393a1.166 1.166 0 01-.696.268c-.339 0-.643-.161-.732-.589h1.804v-.214c0-.75-.464-1.268-1.143-1.268zm2.84 0c-.304 0-.5.143-.625.357v-.286h-.536v2.411h.536v-1.357c0-.393.161-.625.518-.625.107 0 .214.018.321.071l.161-.5a.983.983 0 00-.375-.071zm.535 1.268c0 .732.5 1.268 1.286 1.268.357 0 .607-.071.857-.286l-.25-.429c-.196.143-.393.232-.625.214-.429 0-.732-.304-.732-.768s.304-.768.732-.768c.232 0 .429.071.625.214l.25-.429c-.25-.196-.5-.286-.857-.286-.786 0-1.286.536-1.286 1.268zm4.375 1.215h.536v-2.411h-.536v.286a.9.9 0 00-.75-.357c-.679 0-1.214.536-1.214 1.268s.536 1.268 1.214 1.268c.339 0 .589-.125.75-.357v.304zm2.375-2.483c-.304 0-.5.143-.625.357v-.286h-.518v2.411h.518v-1.357c0-.393.179-.625.518-.625.107 0 .214.018.321.071l.161-.5a.925.925 0 00-.375-.071zm2.5 2.483h.518v-3.393h-.518v1.268c-.161-.214-.411-.357-.768-.357-.661 0-1.196.536-1.196 1.268s.536 1.268 1.196 1.268c.357 0 .607-.125.768-.357v.304zm1.393-.358c-.018 0-.054.018-.089.018a.23.23 0 00-.071.054c-.036.018-.054.054-.054.071-.018.036-.018.071-.018.107 0 .018 0 .054.018.089 0 .018.018.054.054.071.018.018.036.036.071.054s.071.018.089.018c.036 0 .071 0 .107-.018.018-.018.054-.036.071-.054s.036-.054.054-.071c.018-.036.018-.071.018-.089 0-.036 0-.071-.018-.107-.018-.018-.036-.054-.054-.071s-.054-.036-.071-.054c-.036 0-.071-.018-.107-.018zm6.429-22.375v22.857a2.302 2.302 0 01-2.286 2.286H2.286A2.302 2.302 0 010 27.428V4.571a2.302 2.302 0 012.286-2.286h36.571a2.302 2.302 0 012.286 2.286z"
}));
}
var ForwardRef = /*#__PURE__*/React.forwardRef(CcMastercard);
var _default = ForwardRef;
exports["default"] = _default;