(()=>{"use strict";var e={n:n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return e.d(t,{a:t}),t},d:(n,t)=>{for(var d in t)e.o(t,d)&&!e.o(n,d)&&Object.defineProperty(n,d,{enumerable:!0,get:t[d]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=window.jQuery;var t=e.n(n);const d=window.wp.apiFetch;var o=e.n(d);t()(function(){const e=window.inlineEditPost.edit;window.inlineEditPost.edit=function(n){e.apply(this,arguments),"object"==typeof n&&function(e){o()({path:`/advanced-ads/v1/page_quick_edit?id=${e}&nonce=${window.advancedAds.page_quick_edit.nonce}`,method:"GET"}).then(function(n){!function(e,n){const d=t()(`#edit-${e}`),o=d.find('[name="advads-disable-ads"]');o.closest("fieldset").prop("disabled",!1),o.prop("checked",Boolean(n.disable_ads));const i=d.find('[name="advads-disable-the-content"]');i.length&&i.prop("disabled",!1).prop("checked",Boolean(n.disable_the_content))}(e,n)})}(parseInt(this.getId(n)))}})})();