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