PageSourceSearch

https://musicintervaltheory.academy/wp-content/plugins/gamipress-r…gamipress-restrict-content.min.js?ver=1.3.3

js musicintervaltheory.academy collected 2026-10-05 22:29:35 UTC 3,366 bytes, 3 lines download raw bytes

1(function($){var $body=$('body');$body.on('click','.gamipress-restrict-content-unlock-post-with-points-button',function(e){var button=$(this);var submit_wrap=button.closest('.gamipress-restrict-content-unlock-post-with-points');var confirmation=submit_wrap.find('.gamipress-restrict-content-unlock-post-with-points-confirmation');confirmation.slideDown();submit_wrap.find('.gamipress-restrict-content-unlock-post-with-points-confirm-button').on('click',function(){var spinner=submit_wrap.find('.gamipress-spinner');var data={};data={action:'gamipress_restrict_content_unlock_post_with_points',nonce:gamipress_restrict_content.nonce,post_id:button.data('id')};button.prop('disabled',!0);spinner.show();$.ajax({url:gamipress_restrict_content.ajaxurl,method:'POST',dataType:'json',data:data,success:function(response){if(submit_wrap.find('.gamipress-restrict-content-response').length===0){submit_wrap.prepend('<div class="gamipress-restrict-content-response gamipress-notice" style="display: none;"></div>')}
2var response_wrap=submit_wrap.find('.gamipress-restrict-content-response');response_wrap.addClass('gamipress-notice-'+(response.success===!0?'success':'error'));var message=(response.data.message!==undefined?response.data.message:response.data);response_wrap.html(message);response_wrap.slideDown();spinner.hide();if(response.success===!0){confirmation.slideUp();button.slideUp();if(response.data.redirect!==undefined){window.location.href=response.data.redirect}else{location.reload(!0)}}else{button.prop('disabled',!1)}}})});submit_wrap.find('.gamipress-restrict-content-unlock-post-with-points-cancel-button').on('click',function(){confirmation.slideUp()})});$body.on('click','.gamipress-restrict-content-unlock-content-with-points-button',function(e){var button=$(this);var submit_wrap=button.closest('.gamipress-restrict-content-unlock-content-with-points');var confirmation=submit_wrap.find('.gamipress-restrict-content-unlock-content-with-points-confirmation');confirmation.slideDown();submit_wrap.find('.gamipress-restrict-content-unlock-content-with-points-confirm-button').on('click',function(){var spinner=submit_wrap.find('.gamipress-spinner');var data={};data={action:'gamipress_restrict_content_unlock_content_with_points',nonce:gamipress_restrict_content.nonce,content_id:button.data('id'),post_id:button.data('post-id')};button.prop('disabled',!0);spinner.show();$.ajax({url:gamipress_restrict_content.ajaxurl,method:'POST',dataType:'json',data:data,success:function(response){if(submit_wrap.find('.gamipress-restrict-content-response').length===0){submit_wrap.prepend('<div class="gamipress-restrict-content-response gamipress-notice" style="display: none;"></div>')}
3var response_wrap=submit_wrap.find('.gamipress-restrict-content-response');response_wrap.addClass('gamipress-notice-'+(response.success===!0?'success':'error'));var message=(response.data.message!==undefined?response.data.message:response.data);response_wrap.html(message);response_wrap.slideDown();spinner.hide();if(response.success===!0){confirmation.slideUp();button.slideUp();if(response.data.redirect!==undefined){window.location.href=response.data.redirect}else{location.reload(!0)}}else{button.prop('disabled',!1)}}})});submit_wrap.find('.gamipress-restrict-content-unlock-content-with-points-cancel-button').on('click',function(){confirmation.slideUp()})})})(jQuery)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.