text: class ComponentsToasts{constructor(){this._liveToast=null,this._selectToastPlacement=null,this._initLiveToast(),this._initToastPlacement()}_initLiveToast(){const t=document.getElementById("liveToast"),e=document.getElementById("liveToastBtn");t&&e&&(this._liveToast=new bootstrap.Toast(document.getElementById("liveToast")),e.addEventListener("click",(t=>{this._liveToast&&this._liveToast.show()})))}_initToastPlacement(){const t=document.getElementById("selectToastPlacement"),e=document.getElementById("toastPlacement");t&&e&&t.addEventListener("change",(s=>{e.className=`toast-container position-absolute p-3 ${t.value}`}))}}