"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));

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

var _consoleComponents = require("@alicloud/console-components");

var _Header = require("./Header");

function _templateObject2() {
  var data = (0, _taggedTemplateLiteral2.default)(["\n  display: inline-block;\n  height: ", "px;\n  line-height: ", "px;\n  margin-right: 16px;\n  cursor: pointer;\n\n  a {\n    &:active,\n    &:hover,\n    &:link,\n    &:visited {\n      color: inherit;\n      text-decoration: none;\n    }\n  }\n"]);

  _templateObject2 = function _templateObject2() {
    return data;
  };

  return data;
}

function _templateObject() {
  var data = (0, _taggedTemplateLiteral2.default)(["\n  &&& {\n    display: inline-block;\n\n    &:before {\n      width: 24px;\n      font-size: 24px;\n      vertical-align: top;\n    }\n  }\n"]);

  _templateObject = function _templateObject() {
    return data;
  };

  return data;
}

var BackArrowIcon = (0, _styledComponents.default)(_consoleComponents.Icon)(_templateObject());
exports.BackArrowIcon = BackArrowIcon;

var BackArrow = _styledComponents.default.span(_templateObject2(), _Header.headerHeight, _Header.headerHeight);

var _default = BackArrow;
exports.default = _default;