Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e={n:a=>{var n=a&&a.__esModule?()=>a.default:()=>a;return e.d(n,{a:n}),n},d:(a,n)=>{for(var t in n)e.o(n,t)&&!e.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:n[t]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)};const a=jQuery;var n=e.n(a);n()((function(){!function(){var e=n()(".advads-tab-menu",".advads-tab-container");e.on("click","a",(function(e){e.preventDefault();var a=n()(this),t=a.closest(".advads-tab-container"),s=n()(a.attr("href"));t.find("a.is-active").removeClass("is-active"),a.addClass("is-active"),t.find(".advads-tab-target").hide(),s.show()})),e.each((function(){var e=n()(this),a=window.location.hash,t=void 0!==a&&a,s=e.find("a:first");t&&e.find("a[href="+t+"]").length>0&&(s=e.find("a[href="+t+"]")),s.trigger("click")}))}(),n()("#advads-show-filters").on("click",(function(){var e=n()(this).find(".dashicons"),a=e.hasClass("dashicons-arrow-up");e.toggleClass("dashicons-filter",a),e.toggleClass("dashicons-arrow-up",!a)})),document.querySelectorAll(".advads-multiple-subscribe_button").forEach((function(e){e.addEventListener("click",(function(){var a=e.closest(".advads-multiple-subscribe"),n=Array.from(a.querySelectorAll('input[name="advads-multiple-subscribe"]:checked')).map((function(e){return e.value}));if(0!==n.length){var t=document.createElement("span");t.className="spinner advads-spinner",e.insertAdjacentElement("afterend",t);var s=new FormData;s.append("action","advads-multiple-subscribe"),s.append("groups",JSON.stringify(n)),s.append("nonce",advadsglobal.ajax_nonce),fetch(ajaxurl,{method:"POST",body:s}).then((function(e){return e.json()})).then((function(n){e.style.display="none";var t=document.createElement("p");t.innerHTML=n.data.message,a.innerHTML="",a.appendChild(t),a.classList.add("notice-success","notice")})).catch((function(e){var n,t=document.createElement("p");t.innerHTML=(null===(n=e.responseJSON)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.message)||"An error occurred",a.innerHTML="",a.appendChild(t),a.classList.add("notice-error","notice")}))}}))}))}))})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,33 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*!
* Select2 4.1.0-rc.0
* https://select2.github.io
*
* Released under the MIT license
* https://github.com/select2/select2/blob/master/LICENSE.md
*/
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e={n:n=>{var i=n&&n.__esModule?()=>n.default:()=>n;return e.d(i,{a:i}),i},d:(n,i)=>{for(var t in i)e.o(i,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:i[t]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=jQuery;var i=e.n(n);function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function o(e){var n="ad_json_".concat(e);!function(e,n){var t=i()("#edit-".concat(e));if(t.find(".advads-quick-edit").prop("disabled",!1),t.find('[name="debugmode"]').prop("checked",n.debug_mode),n.expiry.expires){t.find('[name="enable_expiry"]').prop("checked",!0);var o=t.find(".expiry-inputs").show();for(var a in n.expiry.expiry_date)o.find('[name="'.concat(a,'"]')).val(n.expiry.expiry_date[a])}var r=t.find('[name="ignore_privacy"]');r.length&&r.prop("checked",n.ignore_privacy);var c=t.find('[name="ad_label"]');c.length&&c.val(n.ad_label);wp.hooks.doAction("advanced-ads-quick-edit-fields-init",e,n)}(e,window[n])}var a=function(){i()(".search-box").toggle(),i()(".tablenav.top .alignleft.actions:not(.bulkactions)").toggle()};function r(){i()("#advads-show-filters").on("click",a),i()("#advads-reset-filters").length&&a()}function c(){i()("#advads-ad-filter-customize").on("click",(function(){i()("#show-settings-link").trigger("click")}))}i()((function(){var e;e=window.inlineEditPost.edit,window.inlineEditPost.edit=function(n){e.apply(this,arguments),"object"===t(n)&&o(parseInt(this.getId(n),10))},i()(document).on("change",'.advads-bulk-edit [name="expiry_date"]',(function(){var e=i()(this);e.closest("fieldset").find(".expiry-inputs").css("display","on"===e.val()?"block":"none")})),i()(document).on("click",'[name="enable_expiry"]',(function(){var e=i()(this);e.closest("fieldset").find(".expiry-inputs").css("display",e.prop("checked")?"block":"none")})),i()((function(){i()('.inline-edit-group select option[value="private"]').remove()})),r(),c()}))})();

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e={n:t=>{var a=t&&t.__esModule?()=>t.default:()=>t;return e.d(a,{a}),a},d:(t,a)=>{for(var n in a)e.o(a,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:a[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=jQuery;var a=e.n(t);function n(){var e=document.getElementById("advads_overview_addons");e&&e.addEventListener("click",(function(e){var t=e.target;if("a"===t.tagName.toLowerCase()&&t.classList.contains("disabled"))e.preventDefault();else if(t.classList.contains("button")&&t.classList.contains("subscribe")&&(e.preventDefault(),t.disabled=!0,t.classList.add("disabled"),wp.ajax.post("advads_newsletter",{nonce:t.dataset.nonce}).done((function(e){e&&(t.closest(".item-details").querySelector(".description").innerHTML='<p style="font-weight: 600;">'.concat(e,"</p>"))})).fail((function(e){try{t.closest(".item-details").querySelector(".description").innerHTML='<p style="font-weight: 600;">'.concat(e.responseJSON.data.message,"</p>")}catch(e){}}))),t.classList.contains("button")&&t.classList.contains("installed")){var a=t.href?t.href:"";if(-1!==a.indexOf("#activate-aaplugin_")){e.preventDefault();var n=a.split("_");!function(e,t,a,n){n.classList.add("disabled");var s=e.substring(e.indexOf("/")+1,e.indexOf("."));wp.ajax.post("advads_activate_addon",{_ajax_nonce:a,plugin:e,slug:s,name:t}).done((function(){n.className="button active disabled",n.innerText=window.advadstxt.active;var e=document.createElement("i");e.className="dashicons",e.style.cssText='content:"\\f147"',n.insertBefore(e,n.firstChild)})).fail((function(e){void 0!==e.errorMessage&&(n.closest(".cta").parentNode.querySelector(".description").innerText=e.errorMessage)}))}(n[2],decodeURIComponent(n[3]),n[1],t)}}}))}function s(e,t,n){var s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=a()('<div class="notice notice-'.concat(t,' is-dismissible" />'));i.html('<div class="py-3">'+e+"</div>"),n.after(i),s&&setTimeout((function(){i.fadeOut(500,(function(){i.remove()}))}),3e3),a()(document).trigger("wp-notice-added")}a()((function(){a()(document).on("click","#dismiss-welcome i",(function(){a().ajax(window.ajaxurl,{method:"POST",data:{action:"advads_dismiss_welcome"},success:function(){a()("#welcome").remove()}})})),a()("#advads-overview").on("click",".notice-dismiss",(function(e){e.preventDefault();var t=a()(this).parent();t.fadeOut(500,(function(){t.remove()}))})),n(),a()(document).on("click",".js-btn-backup-adstxt",(function(){var e=a()(this),t=e.closest(".notice");e.prop("disabled",!0),e.html(e.data("loading")),a().ajax({url:advancedAds.endpoints.ajaxUrl,method:"POST",data:{action:"pubguru_backup_ads_txt",security:e.data("security")}}).always((function(){e.prop("disabled",!1),e.html(e.data("text"))})).done((function(e){e.success?(s(e.data,"success",t,!0),t.remove()):(s(e.data,"error",t),t.remove())}))}))}))})();

View File

@@ -0,0 +1 @@
(()=>{"use strict";var a={n:t=>{var d=t&&t.__esModule?()=>t.default:()=>t;return a.d(d,{a:d}),d},d:(t,d)=>{for(var o in d)a.o(d,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:d[o]})},o:(a,t)=>Object.prototype.hasOwnProperty.call(a,t)};const t=jQuery;var d=a.n(t);var o=d();function e(){var a=o(this).closest(".advads-ad-group-form"),t=a.find(".advads-group-add-ad-list-ads option:selected"),d=a.find(".advads-group-add-ad-list-weights").last(),e=a.find(".advads-group-ads tbody"),n=t.val().match(/\d+/g),s="";n&&(s=advancedAds.endpoints.editAd+n.pop());var i=t.data("status"),r=t.data("status-string");t.length&&d.length&&!e.find('[name="'+t.val()+'"]').length&&e.append(o("<tr></tr>").append(o("<td></td>").html('<a target="_blank" href="'.concat(s,'">').concat(t.text(),"</a>")),o("<td></td>").html('<span class="advads-help advads-help-no-icon advads-ad-status-icon advads-ad-status-icon-'.concat(i,'">\n\t\t\t\t\t\t<span class="advads-tooltip">').concat(r,"</span>\n\t\t\t\t\t</span>")),o("<td></td>").append(d.clone().removeClass().val(d.val()).prop("name",t.val())),'<td><button type="button" class="advads-remove-ad-from-group button">x</button></td>'))}function n(){o(this).closest("tr").remove()}function s(a){a.each((function(){var a=d()(this);a.closest(".advads-ad-group-form").find(".advads-option:not(.static)").hide();var t=a.val();a.parents(".advads-ad-group-form").find(".advads-group-type-"+t).show()}))}const i=wp.apiFetch;var r=a.n(i);function c(a,t){void 0===t&&(t=!0),a.useableInputs||(a.useableInputs=d()(a).closest("dialog").find("select,input,textarea,button,a.button").not(":disabled")),a.useableInputs.prop("disabled",t)}function u(a){var t=d()(a).serialize();c(a),r()({path:"/advanced-ads/v1/group",method:"PUT",data:{fields:t}}).then((function(t){if(t.error)return c(a,!1),a.closest("dialog").close(),void window.advancedAds.notifications.addError(t.error);var d=a.closest("dialog");if(d.advadsTermination.resetInitialValues(),t.reload)return localStorage.setItem("advadsUpdateMessage",JSON.stringify({type:"success",message:window.advadstxt.group_forms.updated})),void window.location.reload();window.advancedAds.notifications.addSuccess(window.advadstxt.group_forms.updated),d.close()}))}function l(a){var t=d()(a).serialize();c(a),r()({path:"/advanced-ads/v1/group",method:"POST",data:{fields:t}}).then((function(t){if(t.error)return c(a,!1),a.closest("dialog").close(),void window.advancedAds.notifications.addError(t.error);a.closest("dialog").advadsTermination.resetInitialValues(),document.location.href="#modal-group-edit-".concat(t.group_data.id),localStorage.setItem("advadsUpdateMessage",JSON.stringify({type:"success",message:window.advadstxt.group_forms.save_new})),document.location.reload()}))}d()((function(){var a;a=d()("#advads-group-filter"),d()("#advads-show-filters").on("click",(function(){return a.toggle()})),d()("#advads-reset-filters").length&&a.show(),o(".advads-group-add-ad button").on("click",e),o("#advads-ad-group-list").on("click",".advads-remove-ad-from-group",n),o(".advads-ad-group-type input").on("click",(function(){s(o(this))})),s(o(".advads-ad-group-type input:checked")),wp.hooks.addFilter("advanced-ads-submit-modal-form","advancedAds",(function(a,t){return"advads-group-new-form"===t.id?(l(t),!1):a})),wp.hooks.addFilter("advanced-ads-submit-modal-form","advancedAds",(function(a,t){return"update-group"===t.name?(u(t),!1):a})),d()('[id^="modal-group-edit-"]').each((function(){d()(this).find(".tablenav.bottom").html('<button class="button button-primary submit-edit-group">'.concat(window.advadstxt.group_forms.save,"</button>"))})),d()("#modal-group-new").find(".tablenav.bottom").html('<button class="button button-primary" id="submit-new-group">'.concat(window.advadstxt.group_forms.save_new,"</button>")),d()(document).on("click",".submit-edit-group",(function(){u(d()(this).closest("dialog").find("form")[0])})),d()(document).on("click","#submit-new-group",(function(){var a=d()("#advads-group-new-form"),t=a.closest("dialog")[0].closeValidation;window[t.function](t.modal_id)&&l(a[0])})),d()(document).on("click","#advads-ad-group-list .delete-tag",(function(a){if(a.preventDefault(),confirm(window.advadstxt.group_forms.confirmation.replace("%s",d()(this).closest("div").siblings(".advads-table-name").find("a").text()))){var t=new URLSearchParams(d()(this).attr("href")),o=d()(this).closest("tr");r()({path:"/advanced-ads/v1/group",method:"DELETE",data:{id:t.get("group_id"),nonce:t.get("_wpnonce")}}).then((function(a){a.done&&(o.remove(),window.advancedAds.notifications.addSuccess(window.advadstxt.group_forms.deleted))}))}}))}))})();

View File

@@ -0,0 +1,6 @@
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/
/******/
/******/ })()
;

View File

@@ -0,0 +1,27 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e={n:t=>{var a=t&&t.__esModule?()=>t.default:()=>t;return e.d(a,{a}),a},d:(t,a)=>{for(var n in a)e.o(a,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:a[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=jQuery;function a(){var e=document.getElementById("advads_overview_addons");e&&e.addEventListener("click",(function(e){var t=e.target;if("a"===t.tagName.toLowerCase()&&t.classList.contains("disabled"))e.preventDefault();else if(t.classList.contains("button")&&t.classList.contains("subscribe")&&(e.preventDefault(),t.disabled=!0,t.classList.add("disabled"),wp.ajax.post("advads_newsletter",{nonce:t.dataset.nonce}).done((function(e){e&&(t.closest(".item-details").querySelector(".description").innerHTML='<p style="font-weight: 600;">'.concat(e,"</p>"))})).fail((function(e){try{t.closest(".item-details").querySelector(".description").innerHTML='<p style="font-weight: 600;">'.concat(e.responseJSON.data.message,"</p>")}catch(e){}}))),t.classList.contains("button")&&t.classList.contains("installed")){var a=t.href?t.href:"";if(-1!==a.indexOf("#activate-aaplugin_")){e.preventDefault();var n=a.split("_");!function(e,t,a,n){n.classList.add("disabled");var s=e.substring(e.indexOf("/")+1,e.indexOf("."));wp.ajax.post("advads_activate_addon",{_ajax_nonce:a,plugin:e,slug:s,name:t}).done((function(){n.className="button active disabled",n.innerText=window.advadstxt.active;var e=document.createElement("i");e.className="dashicons",e.style.cssText='content:"\\f147"',n.insertBefore(e,n.firstChild)})).fail((function(e){void 0!==e.errorMessage&&(n.closest(".cta").parentNode.querySelector(".description").innerText=e.errorMessage)}))}(n[2],decodeURIComponent(n[3]),n[1],t)}}}))}e.n(t)()((function(){a()}))})();

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e={n:n=>{var a=n&&n.__esModule?()=>n.default:()=>n;return e.d(a,{a}),a},d:(n,a)=>{for(var i in a)e.o(a,i)&&!e.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:a[i]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=jQuery;var a=e.n(n);function i(){a()(document).on("submit","#alternative-version",(function(e){var n,i,o;e.preventDefault(),n=a()(this).serialize(),i=a()("#plugin-version,#install-version").prop("disabled",!0),o=a()("#install-version").siblings(".spinner").css("visibility","visible"),a().ajax({url:ajaxurl,type:"POST",data:{action:"advads_install_alternate_version",vars:n}}).done((function(e){e.data.redirect?document.location.href=e.data.redirect:(i.prop("disabled",!1),o.css("visibility","hidden"))})).fail((function(e){console.error(e),i.prop("disabled",!1),o.css("visibility","hidden")}))}));var e=a()("#plugin-version");e.length&&(e.val()||a().ajax({url:ajaxurl,type:"POST",data:{action:"advads_get_usable_versions",nonce:a()("#version-control-nonce").val()}}).done((function(e){var n=[],i=a()("#plugin-version");for(var o in e.data.order){var t=e.data.order[o],r=0===o?" selected":"";n.push('<option value="'.concat(t+"|"+e.data.versions[t],'"').concat(r,">").concat(t,"</option>"))}i.prop("disabled",!1).html(n.join("\n")),a()("#install-version").prop("disabled",!1)})).fail((function(e){console.error(e)})))}a()((function(){a()(".advads_import_type").on("change",(function(){"xml_content"===this.value?(a()("#advads_xml_file").hide(),a()("#advads_xml_content").show()):(a()("#advads_xml_file").show(),a()("#advads_xml_content").hide())})),i()}))})();

View File

@@ -0,0 +1,99 @@
(function() {
tinymce.create( 'tinymce.plugins.advads_shortcode', {
/**
* Initializes the plugin
*
* @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
* @param {string} url Absolute URL to where the plugin is located.
*/
init : function( ed, url ) {
ed.addButton( 'advads_shortcode_button', {
title: ed.getLang( 'advads_shortcode.title', 'Advanced ads shortcodes' ),
image: ed.getLang( 'advads_shortcode.image' ),
cmd: 'advads_shortcode_command'
});
ed.addCommand( 'advads_shortcode_command', function() {
ed.windowManager.open({
title: ed.getLang( 'advads_shortcode.title', 'Advanced Ads shortcodes' ),
inline: 1,
body: [{
id: 'advads-shortcode-modal-container',
type: 'container',
minWidth: 320,
html: '<span class="spinner advads-ad-parameters-spinner advads-spinner"></span>',
}],
buttons: [{
text: ed.getLang( 'advads_shortcode.ok', 'Add shortcode' ),
id: 'advads-shortcode-button-insert-wrap',
onclick: function( e ) {
if ( jQuery( '#advads-shortcode-modal-container-body #advads-select-for-shortcode' ).length > 0 ) {
var item = jQuery( '#advads-select-for-shortcode option:selected' ).val();
if ( item ) {
item = item.split( '_' );
if ( item.length !== 2 ) {
return;
}
if ( item[0] === "ad" ) {
ed.insertContent( '[the_ad id="' + item[1] + '"]' );
} else if ( item[0] === "group" ) {
ed.insertContent( '[the_ad_group id="' + item[1] + '"]' );
} else if ( item[0] === "placement" ) {
ed.insertContent( '[the_ad_placement id="' + item[1] + '"]' );
}
}
}
ed.windowManager.close();
},
},
{
text: ed.getLang( 'advads_shortcode.cancel', 'Cancel' ),
onclick: 'close'
}],
});
append_select_field();
});
},
});
// Register the plugin
tinymce.PluginManager.add( 'advads_shortcode', tinymce.plugins.advads_shortcode );
function append_select_field() {
var insert_button_wrap = jQuery( '#advads-shortcode-button-insert-wrap' ),
insert_button = jQuery( '#advads-shortcode-button-insert-wrap button' ),
container_body = jQuery( '#advads-shortcode-modal-container-body' );
insert_button_wrap.addClass( 'mce-disabled' );
insert_button.prop( 'disabled', true );
jQuery.ajax({
type: 'POST',
url: ajaxurl,
data: {
'action': 'advads_content_for_shortcode_creator'
}
})
.done( function( data, textStatus, jqXHR ) {
container_body.html( data );
jQuery( '#advads-select-for-shortcode' ).on( 'change', function() {
if ( jQuery( this ).prop( 'selectedIndex' ) === 0 ) {
insert_button_wrap.addClass( 'mce-disabled' );
insert_button.prop( 'disabled', true );
} else {
insert_button_wrap.removeClass( 'mce-disabled' );
insert_button.prop( 'disabled', false );
}
});
})
.fail( function( jqXHR, textStatus, errorThrown ) {
container_body.html( errorThrown );
});
}
})();

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e={n:r=>{var a=r&&r.__esModule?()=>r.default:()=>r;return e.d(a,{a}),a},d:(r,a)=>{for(var n in a)e.o(a,n)&&!e.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:a[n]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r)};const r=jQuery;var a=e.n(r);a()((function(){var e=a()(".advanced-ads-adsense-dashboard");e.find(".report-need-refresh").length&&(e.html('<p style="text-align:center;"><span class="report-need-refresh spinner advads-ad-parameters-spinner advads-spinner"></span></p>'),a().ajax({type:"POST",url:ajaxurl,data:{nonce:Advanced_Ads_Adsense_Report_Helper.nonce,type:"domain",filter:"",action:"advads_adsense_report_refresh"},success:function(r){r.success&&r.data&&r.data.html&&e.html(r.data.html)},error:function(e,r,a){console.log("Refreshing report error: "+a)}}))}))})();