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