import{taggedTemplateLiteral as n}from"../../_virtual/_rollupPluginBabelHelpers.esm.js";import"react";import{Modal as r,Box as e}from"@mui/material";import o from"styled-components";import i from"../../_virtual/index.esm.js";import{jsx as l}from"react/jsx-runtime";var t,a;function s(n){return l(c,{"aria-labelledby":"spring-modal-title","aria-describedby":"spring-modal-description",open:n.isOpen,onClose:n.onClose,closeAfterTransition:!0,children:l(d,{children:n.children})})}s.propTypes={onClose:i.func,isOpen:i.bool,children:i.node};var c=o(r)(t||(t=n(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n"]))),d=o(e)(a||(a=n(["\n  padding: 20px;\n  max-width: 80%;\n  max-height: 80%;\n  background-color: #f1f1f1;\n\n  overflow: auto;\n  scrollbar-width: thin;\n  scrollbar-color: #888 #f1f1f1;\n\n  &::-webkit-scrollbar {\n    width: 10px;\n  }\n\n  &::-webkit-scrollbar-track {\n    background: #f1f1f1;\n  }\n\n  &::-webkit-scrollbar-thumb {\n    background: #888;\n    border-radius: 5px;\n  }\n\n  &::-webkit-scrollbar-corner {\n    background: #f1f1f1;\n  }\n"])));export{s as default};
//# sourceMappingURL=Modal.esm.js.map
