jQuery(document).ready(function(e){e(document).on("click",".notice.is-dismissible",function(){let t=e(this).attr("id");if(!t||!t.startsWith("dobare-notice-"))return;let i=t.replace("dobare-notice-","");e.ajax({url:DobareNotices.ajax_url,method:"POST",data:{action:"dismiss_dobare_notice",id:i,nonce:DobareNotices.nonce}})})});