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); }
import styled from "styled-components";
import { Icon } from "../icon";
import Modal, { ModalBody, ModalContent, ModalFooter, ModalHeader } from "../modal";
import { H3, Text } from "../typography";
export var Actions = styled(ModalFooter).attrs({
  gap: 3,
  hasBorder: false,
  parentPadding: [0],
  padding: [0]
}).withConfig({
  displayName: "styled__Actions",
  componentId: "sc-bc708g-0"
})([""]);
export var Content = styled(Text).attrs({
  as: 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"
})([""]);
export var Body = styled(ModalBody).attrs({
  column: false,
  padding: [0]
}).withConfig({
  displayName: "styled__Body",
  componentId: "sc-bc708g-2"
})(["display:block;strong{font-weight:bold;}"]);
export var Dialog = styled(Modal).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%);"]);
export var Header = styled(ModalHeader).attrs({
  alignItems: "center",
  padding: [0],
  background: ""
}).withConfig({
  displayName: "styled__Header",
  componentId: "sc-bc708g-4"
})([""]);
export var Title = styled(H3).attrs({
  margin: [0]
}).withConfig({
  displayName: "styled__Title",
  componentId: "sc-bc708g-5"
})([""]);
export var TitleIcon = styled(Icon).attrs({
  color: "main",
  height: "24px",
  width: "24px"
}).withConfig({
  displayName: "styled__TitleIcon",
  componentId: "sc-bc708g-6"
})([""]);