"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.jsTileStyles = exports.jsStyles = exports.jsRowStyles = void 0;var _taggedTemplateLiteralLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));var _Emotion = require("../../../lib/theming/Emotion");var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27;


var styles = {
  fileWrapper: function fileWrapper(t) {
    return (0, _Emotion.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteralLoose2.default)(["\n      position: relative;\n      width: 100%;\n      height: max-content;\n      display: flex;\n      align-items: center;\n      box-sizing: border-box;\n      border-radius: ", ";\n      border: ", " solid transparent;\n      box-shadow: 0 0 0 1px transparent;\n      cursor: pointer;\n\n      &::before {\n        position: absolute;\n        content: ' ';\n        width: 100%;\n        height: 100%;\n        border-radius: ", ";\n        border: ", " solid transparent;\n        box-shadow: 0 0 0 1px transparent;\n        top: -1px;\n        left: -1px;\n        z-index: -1;\n      }\n    "])),






    t.fileUploaderBorderRadius,
    t.fileUploaderBorderWidth,








    t.fileUploaderBorderRadius,
    t.fileUploaderBorderWidth);






  },

  fileWrapperFocus: function fileWrapperFocus(t) {
    return (0, _Emotion.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteralLoose2.default)(["\n      border: ", " solid ", ";\n      box-shadow: 0 0 0 1px ", ";\n    "])),
    t.fileUploaderBorderWidth, t.fileUploaderBorderColorFocus,
    t.fileUploaderBorderColorFocus);

  },

  fileWrapperHover: function fileWrapperHover(t) {
    return (0, _Emotion.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n      border-color: ", ";\n    "])),
    t.fileUploaderHoveredBg,
    t.fileUploaderHoveredBorderColor);

  },

  warningFile: function warningFile(t) {
    return (0, _Emotion.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n      color: ", ";\n      &:hover {\n        background: ", ";\n        border-radius: ", ";\n      }\n      &::before {\n        background: ", ";\n      }\n    "])),
    t.fileUploaderWarningBgColor,
    t.fileUploaderValidationTextColor,

    t.fileUploaderWarningBgHoverColor,
    t.fileUploaderBorderRadius,


    t.fileUploaderWarningBgColor);


  },

  errorFile: function errorFile(t) {
    return (0, _Emotion.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n      color: ", ";\n      &:hover {\n        background: ", ";\n        border-radius: ", ";\n      }\n      &::before {\n        background: ", ";\n      }\n    "])),
    t.fileUploaderErrorBgColor,
    t.fileUploaderValidationTextColor,

    t.fileUploaderErrorBgHoverColor,
    t.fileUploaderBorderRadius,


    t.fileUploaderErrorBgColor);


  },

  removeBorderTopRadius: function removeBorderTopRadius() {
    return (0, _Emotion.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteralLoose2.default)(["\n      border-top-right-radius: 0;\n      border-top-left-radius: 0;\n      &::before {\n        border-top-right-radius: 0;\n        border-top-left-radius: 0;\n      }\n    "])));







  },

  removeBorderBottomRadius: function removeBorderBottomRadius() {
    return (0, _Emotion.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteralLoose2.default)(["\n      border-bottom-right-radius: 0;\n      border-bottom-left-radius: 0;\n      &::before {\n        border-bottom-right-radius: 0;\n        border-bottom-left-radius: 0;\n      }\n    "])));







  },

  summary: function summary(t) {
    return (0, _Emotion.css)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteralLoose2.default)(["\n      display: flex;\n      border-bottom: 1px solid ", ";\n      margin-bottom: ", ";\n      order: -1;\n      width: 100%;\n      box-sizing: border-box;\n    "])),

    t.tabColorHover,
    t.fileUploaderListGap);




  },

  summaryErrorText: function summaryErrorText(t) {
    return (0, _Emotion.css)(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteralLoose2.default)(["\n      color: ", ";\n      margin-right: ", ";\n    "])),
    t.fileUploaderErrorTextColor,
    t.fileUploaderListSummaryTextGap);

  },

  summaryWarningText: function summaryWarningText(t) {
    return (0, _Emotion.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteralLoose2.default)(["\n      color: ", ";\n    "])),
    t.fileUploaderWarningTextColor);

  },

  summarySmall: function summarySmall(t) {
    return (0, _Emotion.css)(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteralLoose2.default)(["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " ", ";\n    "])),
    t.fileUploaderFontSizeSmall,
    t.fileUploaderLineHeightSmall,
    t.fileUploaderPaddingYSmall, t.fileUploaderPaddingXSmall);

  },

  summaryMedium: function summaryMedium(t) {
    return (0, _Emotion.css)(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteralLoose2.default)(["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " ", ";\n    "])),
    t.fileUploaderFontSizeMedium,
    t.fileUploaderLineHeightMedium,
    t.fileUploaderPaddingYMedium, t.fileUploaderPaddingXMedium);

  },

  summaryLarge: function summaryLarge(t) {
    return (0, _Emotion.css)(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteralLoose2.default)(["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " ", ";\n    "])),
    t.fileUploaderFontSizeLarge,
    t.fileUploaderLineHeightLarge,
    t.fileUploaderPaddingYLarge, t.fileUploaderPaddingXLarge);

  }
};

var rowStyles = {
  file: function file() {
    return (0, _Emotion.css)(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteralLoose2.default)(["\n      width: 100%;\n    "])));


  },

  fileListWrapper: function fileListWrapper(t) {
    return (0, _Emotion.css)(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteralLoose2.default)(["\n      display: block;\n      width: 100%;\n      margin-top: ", ";\n    "])),


    t.fileUploaderListGap);

  },

  fileWrapperSmall: function fileWrapperSmall(t) {
    return (0, _Emotion.css)(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding: ", " ", ";\n    "])),
    t.fileUploaderPaddingYSmall, t.fileUploaderPaddingXSmall);

  },

  fileWrapperMedium: function fileWrapperMedium(t) {
    return (0, _Emotion.css)(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding: ", " ", ";\n    "])),
    t.fileUploaderPaddingYMedium, t.fileUploaderPaddingXMedium);

  },

  fileWrapperLarge: function fileWrapperLarge(t) {
    return (0, _Emotion.css)(_templateObject18 || (_templateObject18 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding: ", " ", ";\n    "])),
    t.fileUploaderPaddingYLarge, t.fileUploaderPaddingXLarge);

  },

  errorFileFocus: function errorFileFocus(t) {
    return (0, _Emotion.css)(_templateObject19 || (_templateObject19 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n      border: ", " solid ", ";\n      border-radius: ", " !important;\n      box-shadow: 0 0 0 1px ", ";\n    "])),
    t.fileUploaderErrorBgHoverColor,
    t.fileUploaderBorderWidth, t.fileUploaderBorderColorError,
    t.fileUploaderBorderRadius,
    t.fileUploaderBorderColorError);

  },

  warningFileFocus: function warningFileFocus(t) {
    return (0, _Emotion.css)(_templateObject20 || (_templateObject20 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background: ", ";\n      border: ", " solid ", ";\n      border-radius: ", " !important;\n      box-shadow: 0 0 0 1px ", ";\n    "])),
    t.fileUploaderWarningBgHoverColor,
    t.fileUploaderBorderWidth, t.fileUploaderBorderColorWarning,
    t.fileUploaderBorderRadius,
    t.fileUploaderBorderColorWarning);

  }
};

var tileStyles = {
  file: function file() {
    return (0, _Emotion.css)(_templateObject21 || (_templateObject21 = (0, _taggedTemplateLiteralLoose2.default)(["\n      width: 100%;\n      height: 100%;\n    "])));



  },

  fileListWrapper: function fileListWrapper() {
    return (0, _Emotion.css)(_templateObject22 || (_templateObject22 = (0, _taggedTemplateLiteralLoose2.default)(["\n      display: contents;\n    "])));


  },

  fileWrapperSmall: function fileWrapperSmall(t) {
    return (0, _Emotion.css)(_templateObject23 || (_templateObject23 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding: ", ";\n      width: ", ";\n    "])),
    t.fileUploaderTileFilePaddingSmall,
    t.fileUploaderTileWidthSmall);

  },

  fileWrapperMedium: function fileWrapperMedium(t) {
    return (0, _Emotion.css)(_templateObject24 || (_templateObject24 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding: ", ";\n      width: ", ";\n      height: ", ";\n    "])),
    t.fileUploaderTileFilePaddingMedium,
    t.fileUploaderTileWidthMedium,
    t.fileUploaderTileHeightMedium);

  },

  fileWrapperLarge: function fileWrapperLarge(t) {
    return (0, _Emotion.css)(_templateObject25 || (_templateObject25 = (0, _taggedTemplateLiteralLoose2.default)(["\n      padding: ", ";\n      width: ", ";\n      height: ", ";\n    "])),
    t.fileUploaderTileFilePaddingLarge,
    t.fileUploaderTileWidthLarge,
    t.fileUploaderTileHeightLarge);

  },

  errorFileFocus: function errorFileFocus(t) {
    return (0, _Emotion.css)(_templateObject26 || (_templateObject26 = (0, _taggedTemplateLiteralLoose2.default)(["\n      border: ", " solid ", ";\n      border-radius: ", " !important;\n      box-shadow: 0 0 0 1px ", ";\n    "])),
    t.fileUploaderBorderWidth, t.fileUploaderBorderColorError,
    t.fileUploaderBorderRadius,
    t.fileUploaderBorderColorError);

  },

  warningFileFocus: function warningFileFocus(t) {
    return (0, _Emotion.css)(_templateObject27 || (_templateObject27 = (0, _taggedTemplateLiteralLoose2.default)(["\n      border: ", " solid ", ";\n      border-radius: ", " !important;\n      box-shadow: 0 0 0 1px ", ";\n    "])),
    t.fileUploaderBorderWidth, t.fileUploaderBorderColorWarning,
    t.fileUploaderBorderRadius,
    t.fileUploaderBorderColorWarning);

  }
};
var jsStyles = exports.jsStyles = (0, _Emotion.memoizeStyle)(styles);
var jsRowStyles = exports.jsRowStyles = (0, _Emotion.memoizeStyle)(rowStyles);
var jsTileStyles = exports.jsTileStyles = (0, _Emotion.memoizeStyle)(tileStyles);