!function(){function i(){let i=document.querySelector(".wpbf-activation-notice.is-dismissible");if(!i)return;let t=i.querySelector(".notice-dismiss");t&&t instanceof HTMLElement&&t.addEventListener("click",e)}function e(i){jQuery.ajax({url:window.ajaxurl,type:"post",data:{action:"wpbf_activation_notice_dismissal",nonce:window.wpbfOpts.activationNotice.dismissalNonce,dismiss:1}}).always(function(i){i.success&&console.log(i.data)})}function t(){let i=document.querySelector(".wpbf-bfcm-notice.is-dismissible .notice-dismiss");i&&i.addEventListener("click",n)}function n(){jQuery.ajax({url:window.ajaxurl,type:"post",data:{action:"wpbf_bfcm_notice_dismissal",nonce:window.wpbfOpts.bfcmNotice.dismissalNonce,dismiss:1}}).always(function(i){i.success&&console.log(i.data)})}window.addEventListener("load",function(e){setTimeout(i,1e3),setTimeout(t,1e3)})}();
