"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.PageDivider = exports.PageSectionActionWrap = exports.PageSectionWrap = exports.PageShowOnLoaded = exports.PageContentWrap = exports.PageActionWrap = exports.PageVHWrap = exports.PageWrap = void 0;

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

var _styles = require("@vincent_za/styles");

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

function _templateObject9() {
  var data = _taggedTemplateLiteral(["\n  height: 3.2rem;\n"]);

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

  return data;
}

function _templateObject8() {
  var data = _taggedTemplateLiteral(["\n  display: flex;\n  align-items: center;\n  margin-left: auto;\n"]);

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

  return data;
}

function _templateObject7() {
  var data = _taggedTemplateLiteral(["\n  display: ", ";\n  flex-direction: column;\n"]);

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

  return data;
}

function _templateObject6() {
  var data = _taggedTemplateLiteral(["\n  display: ", ";\n"]);

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

  return data;
}

function _templateObject5() {
  var data = _taggedTemplateLiteral(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  flex-grow: 1;\n  padding: 0;\n  background-color: ", ";\n"]);

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

  return data;
}

function _templateObject4() {
  var data = _taggedTemplateLiteral(["\n  display: flex;\n  align-items: center;\n  margin-right: ", ";\n  margin-bottom: ", ";\n  margin-left: auto;\n  line-height: 1;\n"]);

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

  return data;
}

function _templateObject3() {
  var data = _taggedTemplateLiteral(["\n  "]);

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

  return data;
}

function _templateObject2() {
  var data = _taggedTemplateLiteral(["\n  display: flex;\n\n  ", ";\n"]);

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

  return data;
}

function _templateObject() {
  var data = _taggedTemplateLiteral(["\n  display: ", ";\n  position: relative;\n  flex-direction: column;\n  flex-grow: 1;\n  overflow: ", ";\n"]);

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

  return data;
}

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

var PageWrap = _styledComponents.default.div(_templateObject(), function (props) {
  return !props.isDisplayOnLoaded || props.isDisplayOnLoaded && props.isLoaded ? 'flex' : 'none';
}, function (props) {
  return props.isHideOverflow ? 'hidden' : 'visible';
});

exports.PageWrap = PageWrap;

var PageVHWrap = _styledComponents.default.div(_templateObject2(), _styles.media.sm(_templateObject3()));

exports.PageVHWrap = PageVHWrap;

var PageActionWrap = _styledComponents.default.div(_templateObject4(), _styles.REM_UNIT_MD, _styles.REM_UNIT_MD);

exports.PageActionWrap = PageActionWrap;

var PageContentWrap = _styledComponents.default.div(_templateObject5(), function (props) {
  return props.displayPageBackground ? 'rgba(255, 255, 255, 0.05)' : 'transparent';
});

exports.PageContentWrap = PageContentWrap;

var PageShowOnLoaded = _styledComponents.default.div(_templateObject6(), function (props) {
  return props.isBusy ? 'none' : 'block';
});

exports.PageShowOnLoaded = PageShowOnLoaded;

var PageSectionWrap = _styledComponents.default.div(_templateObject7(), function (props) {
  return props.isHidden ? 'none' : 'flex';
});

exports.PageSectionWrap = PageSectionWrap;

var PageSectionActionWrap = _styledComponents.default.div(_templateObject8());

exports.PageSectionActionWrap = PageSectionActionWrap;

var PageDivider = _styledComponents.default.div(_templateObject9());

exports.PageDivider = PageDivider;