| Server IP : 60.247.133.247 / Your IP : 216.73.217.108 Web Server : Apache System : Linux ebs-119054 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 User : goodwill ( 65985) PHP Version : 8.2.20 Disable Function : link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/wwwroot/goodwill/wwwroot/wp-content/plugins/gutena-forms/assets/minify/js/ |
Upload File : |
document.addEventListener("DOMContentLoaded",function(){new class{constructor(){"undefined"!=typeof gutenaFormsAdmin&&null!==gutenaFormsAdmin&&""!==gutenaFormsAdmin&&setTimeout(()=>{this.dismissAdminNotice()},100)}isEmpty(e){return null==e||""===e}getParents(e,n){for(var t=[];e.parentNode!==document.body;)e.matches(n)&&t.push(e),e=e.parentNode;return 0<t.length&&t[0]}dismissAdminNotice(){var n=document.querySelectorAll(".gutena-forms-admin-notice .notice-dismiss");if(0<n.length){let t=this;for(let e=0;e<n.length;e++)n[e].addEventListener("click",function(){let n=t.getParents(this,".gutena-forms-admin-notice");var e;t.isEmpty(n)||(e=n.getAttribute("id"),fetch(gutenaFormsAdmin.ajax_url,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","X-WP-Nonce":gutenaFormsAdmin.nonce},body:new URLSearchParams({action:gutenaFormsAdmin.dismiss_notice_action,gfnonce:gutenaFormsAdmin.nonce,notice_id:e})}).then(e=>e.json()).then(e=>{n.remove()}).catch(e=>{console.error("Error:",e)}))})}}}});