"use strict";

exports.__esModule = true;
exports.TitleIcon = exports.Title = exports.Header = exports.Dialog = exports.Content = exports.Body = exports.Actions = void 0;
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _icon = require("../icon");
var _modal = _interopRequireWildcard(require("../modal"));
var _typography = require("../typography");
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var Actions = exports.Actions = (0, _styledComponents["default"])(_modal.ModalFooter).attrs({
  gap: 3,
  hasBorder: false,
  parentPadding: [0],
  padding: [0]
}).withConfig({
  displayName: "styled__Actions",
  componentId: "sc-bc708g-0"
})([""]);
var Content = exports.Content = (0, _styledComponents["default"])(_typography.Text).attrs({
  as: _modal.ModalContent,
  background: "dropdown",
  gap: 4,
  height: {
    max: "calc(100vh - 32px)"
  },
  padding: [4],
  width: {
    base: 128,
    max: 140,
    min: 70
  }
}).withConfig({
  displayName: "styled__Content",
  componentId: "sc-bc708g-1"
})([""]);
var Body = exports.Body = (0, _styledComponents["default"])(_modal.ModalBody).attrs({
  column: false,
  padding: [0]
}).withConfig({
  displayName: "styled__Body",
  componentId: "sc-bc708g-2"
})(["display:block;strong{font-weight:bold;}"]);
var Dialog = exports.Dialog = (0, _styledComponents["default"])(_modal["default"]).attrs(function (props) {
  return _objectSpread({
    backdropProps: {
      backdropBlur: 8
    }
  }, props);
}).withConfig({
  displayName: "styled__Dialog",
  componentId: "sc-bc708g-3"
})(["box-shadow:0 11px 15px -7px rgb(0 0 0 / 20%),0px 24px 38px 3px rgb(0 0 0 / 14%),0px 9px 46px 8px rgb(0 0 0 / 12%);"]);
var Header = exports.Header = (0, _styledComponents["default"])(_modal.ModalHeader).attrs({
  alignItems: "center",
  padding: [0],
  background: ""
}).withConfig({
  displayName: "styled__Header",
  componentId: "sc-bc708g-4"
})([""]);
var Title = exports.Title = (0, _styledComponents["default"])(_typography.H3).attrs({
  margin: [0]
}).withConfig({
  displayName: "styled__Title",
  componentId: "sc-bc708g-5"
})([""]);
var TitleIcon = exports.TitleIcon = (0, _styledComponents["default"])(_icon.Icon).attrs({
  color: "main",
  height: "24px",
  width: "24px"
}).withConfig({
  displayName: "styled__TitleIcon",
  componentId: "sc-bc708g-6"
})([""]);