"use strict";

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.RevealTextShow = void 0;

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

var _styledComponents = require("styled-components");

var _branding = require("../../../../mixins/branding");

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; }

var RevealTextShow = function RevealTextShow(_ref) {
  var colorName = _ref.colorName;
  var theme = (0, _react.useContext)(_styledComponents.ThemeContext);
  return /*#__PURE__*/_react["default"].createElement("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    width: "24",
    height: "24",
    fill: "none",
    viewBox: "0 0 24 24"
  }, /*#__PURE__*/_react["default"].createElement("mask", {
    id: "path-1-inside-1",
    fill: "#fff"
  }, /*#__PURE__*/_react["default"].createElement("path", {
    fillRule: "evenodd",
    d: "M1.605 12C3.68 8.413 7.558 6 12 6c4.442 0 8.32 2.413 10.395 6A11.995 11.995 0 0112 18c-4.442 0-8.32-2.413-10.395-6z",
    clipRule: "evenodd"
  })), /*#__PURE__*/_react["default"].createElement("path", {
    fill: (0, _branding.getPaletteColor)(colorName)({
      theme: theme
    }),
    d: "M1.605 12l-1.73-1.002a2 2 0 000 2.004L1.604 12zm20.79 0l1.73 1.002a2 2 0 000-2.003L22.396 12zM3.337 13.002A9.995 9.995 0 0112 8V4C6.816 4 2.292 6.82-.126 10.998l3.463 2.004zM12 8a9.995 9.995 0 018.663 5.002l3.463-2.003A13.995 13.995 0 0012 4v4zm8.663 2.999A9.995 9.995 0 0112 16v4c5.184 0 9.708-2.82 12.126-6.998l-3.463-2.003zM12 16a9.995 9.995 0 01-8.663-5.002l-3.463 2.004A13.995 13.995 0 0012 20v-4z",
    mask: "url(#path-1-inside-1)"
  }), /*#__PURE__*/_react["default"].createElement("circle", {
    cx: "12",
    cy: "12",
    r: "3",
    fill: (0, _branding.getPaletteColor)(colorName)({
      theme: theme
    })
  }));
};

exports.RevealTextShow = RevealTextShow;