!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={4325:e=>{e.exports=require("@mui/icons-material/Close")},8619:e=>{e.exports=require("@mui/material")},9870:e=>{e.exports=require("i18n-react")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};o.r(r),o.d(r,{default:()=>m});var n=o(2015),i=o.n(n),l=o(9825),a=o.n(l),u=o(9870),s=o.n(u),c=o(8619),p=o(4325),d=o.n(p);const f=({title:e,message:t,open:o,onClose:r})=>i().createElement(c.Dialog,{open:o,onClose:r,maxWidth:"sm",fullWidth:!0},i().createElement(c.DialogTitle,null,e),i().createElement(c.IconButton,{"aria-label":"close",onClick:r,sx:e=>({position:"absolute",right:8,top:8,color:e.palette.grey[500]})},i().createElement(d(),null)),i().createElement(c.Divider,null),i().createElement(c.DialogContent,null,i().createElement(c.DialogContentText,null,t)),i().createElement(c.Divider,null),i().createElement(c.DialogActions,null,i().createElement(c.Button,{onClick:r,variant:"contained",fullWidth:!0},s().translate("general.ok"))));f.propTypes={title:a().string.isRequired,message:a().string.isRequired,open:a().bool.isRequired,onClose:a().func.isRequired};const m=f;return r})()));
//# sourceMappingURL=alert-modal.js.map