document.addEventListener("DOMContentLoaded",(function(){new class{constructor(){this.isEmpty(gutenaFormsDashboard)?console.log(" gutenaFormsDashboard not found"):(this.select_change_url(),this.confirm_delete(),this.read_entries_status_update(),this.goToEntryListPage(),this.goToEntryViewPage(),setTimeout((()=>{this.gutenaFormsModal(),this.accordions(),this.scrollToSectionFromUrl()}),500),this.makeDashboardVisible())}scrollToSectionFromUrl(){let e=window.location.hash;null!=e&&""!==e&&void 0!==document.querySelector(e)&&(location.hash="#",location.hash=e)}makeDashboardVisible(){document.getElementById("gutena-forms-dashboard-page").style.display="block"}accordions(){let e=document.querySelectorAll("#gutena-forms-dashboard-page .gf-accordions .gf-title-icon");if(0-1}isEmpty(e){return null==e||""===e}getParents(e,t){let n=[];for(;e.parentNode!==document.body;)e.matches(t)&&n.push(e),e=e.parentNode;return 0e.json())).then((e=>{!1!==n&&(n.classList.remove("unread"),n.classList.add("read"),n.setAttribute("currentstatus","read"))})).catch((e=>(console.error("Error:",e),!1)))}))}}confirm_delete(){let e=document.querySelectorAll(".gutena-forms-dashboard .gf-delete");if(0