jQuery(document).ready((function(n){n(".adbc-rating-dismiss, #adbc-rating-btn-remind-me").on("click",(function(t){t.preventDefault();var e=n(this).hasClass("adbc-rating-dismiss")?"/dismiss-notification":"/delay-rating-notice";n.ajax({url:adbc_global_settings.rest_url+e,method:"POST",cache:!1,data:{notificationKey:"rating_notice"},beforeSend:function(n){n.setRequestHeader("X-WP-Nonce",adbc_global_settings.nonce)},success:function(t){t.success&&n("#adbc-rating-notice").fadeOut(300,(function(){n(this).remove()}))}})}))}));