!function(){const e=document.querySelectorAll(".wptravelengine-admin-notice");0!==e.length&&e.forEach((e=>{e.addEventListener("click",(function(n){if(n.target.closest(".notice-dismiss")){const{ajaxurl:n,action:t,last_updated:a,nonce:o}=window.WPTravelEngineAdminGlobal,c=new URLSearchParams({action:t,last_updated:a,nonce:o,type:e.classList.contains("local")?"local":"server"});e.style.display="none",fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:c})}}))}))}();