- 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>
73 lines
2.6 KiB
JavaScript
Executable File
73 lines
2.6 KiB
JavaScript
Executable File
/******/ (function() { // webpackBootstrap
|
|
/******/ "use strict";
|
|
/******/ // The require scope
|
|
/******/ var __webpack_require__ = {};
|
|
/******/
|
|
/************************************************************************/
|
|
/******/ /* webpack/runtime/define property getters */
|
|
/******/ !function() {
|
|
/******/ // define getter functions for harmony exports
|
|
/******/ __webpack_require__.d = function(exports, definition) {
|
|
/******/ for(var key in definition) {
|
|
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
/******/ }
|
|
/******/ }
|
|
/******/ };
|
|
/******/ }();
|
|
/******/
|
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
/******/ !function() {
|
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
/******/ }();
|
|
/******/
|
|
/************************************************************************/
|
|
var __webpack_exports__ = {};
|
|
|
|
// EXPORTS
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
"default": function() { return /* binding */ asp_addons_divi; }
|
|
});
|
|
|
|
;// external "AjaxSearchPro"
|
|
var external_AjaxSearchPro_namespaceObject = Object(window.WPD)["AjaxSearchPro"];
|
|
;// ./src/client/addons/divi.js
|
|
|
|
|
|
const helpers = external_AjaxSearchPro_namespaceObject.helpers;
|
|
class DiviAddon {
|
|
name = "Divi Widget Fixes";
|
|
init() {
|
|
helpers.Hooks.addFilter("asp/init/etc", this.diviBodyCommerceResultsPage, 10, this);
|
|
helpers.Hooks.addFilter("asp/live_load/finished", this.diviBlogModuleTriggerInit.bind(this), 10, this);
|
|
}
|
|
diviBodyCommerceResultsPage($this) {
|
|
if ($this.o.divi.bodycommerce && $this.o.is_results_page) {
|
|
window.WPD.intervalUntilExecute(function($) {
|
|
setTimeout(function() {
|
|
$("#divi_filter_button").trigger("click");
|
|
}, 50);
|
|
}, function() {
|
|
return typeof jQuery !== "undefined" ? jQuery : false;
|
|
});
|
|
}
|
|
return $this;
|
|
}
|
|
diviBlogModuleTriggerInit(url, obj, selector, widget) {
|
|
if (jQuery !== void 0 && jQuery(widget).hasClass("et_pb_module")) {
|
|
jQuery(window).trigger("load");
|
|
}
|
|
}
|
|
}
|
|
external_AjaxSearchPro_namespaceObject.addons.add(new DiviAddon());
|
|
/* harmony default export */ var divi = ((/* unused pure expression or super */ null && (AjaxSearchPro)));
|
|
|
|
;// ./src/client/bundle/optimized/asp-addons-divi.js
|
|
|
|
|
|
|
|
/* harmony default export */ var asp_addons_divi = (external_AjaxSearchPro_namespaceObject);
|
|
|
|
Object(window.WPD).AjaxSearchPro = __webpack_exports__["default"];
|
|
/******/ })()
|
|
; |