PageSourceSearch

https://burlingtonbooks.es/wp-content/plugins/acf-bsp/lib/modules/…/script.js?ver=1789712605

js burlingtonbooks.es collected 2026-10-01 23:50:42 UTC 3,150 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(e){"use strict";e("#cb-select-all").on("click",function(){var i=e(this).prop("checked");e('input[name="price_ids[]"]').prop("checked",i)}),e("#bulk-action-form").on("submit",function(i){var t=e("#bulk-action-selector-top").val(),l=e('input[name="price_ids[]"]:checked').length;return"-1"===t?(i.preventDefault(),!1):0===l?(i.preventDefault(),alert(webbookPrices.selectItems),!1):"delete"!==t||confirm(webbookPrices.confirmBulkDelete)?void 0:(i.preventDefault(),!1)}),e(".delete-price").on("click",function(e){if(!confirm(webbookPrices.confirmDelete))return e.preventDefault(),!1}),e(".edit-price").on("click",function(i){i.preventDefault();var t=e(this).closest("tr");t.find(".display-value").hide(),t.find(".edit-input").show(),t.find(".display-actions").hide(),t.find(".edit-actions").show()}),e(document).on("click",".cancel-edit",function(){var i=e(this).closest("tr");i.find(".center-cell .edit-input").val(i.find(".center-cell").data("value")),i.find(".valid-from-cell .edit-input").val(i.find(".valid-from-cell").data("value")),i.find(".valid-to-cell .edit-input").val(i.find(".valid-to-cell").data("value")),i.find(".isbn-cell .edit-input").val(i.find(".isbn-cell").data("value")),i.find(".price-cell .edit-input").val(i.find(".price-cell").data("value")),i.find(".edit-input").hide(),i.find(".display-value").show(),i.find(".edit-actions").hide(),i.find(".display-actions").show()}),e(document).on("click",".save-price",function(){var i=e(this),t=i.closest("tr"),l=i.data("id"),a=t.find(".center-cell .edit-input").val(),d=t.find(".valid-from-cell .edit-input").val(),n=t.find(".valid-to-cell .edit-input").val(),c=t.find(".
1isbn-cell .edit-input").val(),r=t.find(".price-cell .edit-input").val();a&&d&&n&&c&&r?13===c.length?isNaN(r)||parseFloat(r)<=0?alert("Price must be a valid positive number"):new Date(d)>=new Date(n)?alert("Valid From date must be before Valid To date"):(i.prop("disabled",!0).text("Saving..."),e.ajax({url:webbookPrices.ajaxurl,type:"POST",data:{action:"webbook_edit_price",nonce:webbookPrices.editNonce,id:l,center:a,valid_from:d,valid_to:n,isbn:c,price:r},success:function(l){l.success?(t.find(".center-cell .display-value").text(a),t.find(".valid-from-cell .display-value").text(d),t.find(".valid-to-cell .display-value").text(n),t.find(".isbn-cell .display-value").text(c),t.find(".price-cell .display-value").text(parseFloat(r).toFixed(2)),t.find(".center-cell").data("value",a),t.find(".valid-from-cell").data("value",d),t.find(".valid-to-cell").data("value",n),t.find(".isbn-cell").data("value",c),t.find(".price-cell").data("value",r),t.find(".edit-input").hide(),t.find(".display-value").show(),t.find(".edit-actions").hide(),t.find(".display-actions").show(),e('<div class="notice notice-success is-dismissible"><p>Price updated successfully</p></div>').insertAfter(".wrap h1").delay(3e3).fadeOut()):alert("Error: "+(l.data.message||"Failed to update price")),i.prop("disabled",!1).text("Save")},error:function(){alert("Network error. Please try again."),i.prop("disabled",!1).text("Save")}})):alert("ISBN must be exactly 13 characters"):alert("All fields are required")})});

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.