import{r as c}from"./p-5a5e7c99.js";const t=class{constructor(t){c(this,t)}async create(c){const t=document.createElement("materials-dialog");return t.dialogTitle=c.title,t.actions=c.actions,t.body=c.body,t.closeButton=c.closeButton,t.addEventListener("accept",()=>t.remove()),t.addEventListener("cancel",()=>t.remove()),document.body.appendChild(t),t}};export{t as materials_dialog_controller};