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,208 @@
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/ // The require scope
/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ !function() {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function() { return module['default']; } :
/******/ function() { return module; };
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ }();
/******/
/******/ /* 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_blocksy; }
});
;// external "AjaxSearchPro"
var external_AjaxSearchPro_namespaceObject = Object(window.WPD)["AjaxSearchPro"];
var external_AjaxSearchPro_default = /*#__PURE__*/__webpack_require__.n(external_AjaxSearchPro_namespaceObject);
;// ./node_modules/@wordpress/url/build-module/safe-decode-uri-component.js
function safeDecodeURIComponent(uriComponent) {
try {
return decodeURIComponent(uriComponent);
} catch (uriComponentError) {
return uriComponent;
}
}
;// ./node_modules/@wordpress/url/build-module/get-query-string.js
function getQueryString(url) {
let query;
try {
query = new URL(url, "http://example.com").search.substring(1);
} catch (error) {
}
if (query) {
return query;
}
}
;// ./node_modules/@wordpress/url/build-module/get-query-args.js
function setPath(object, path, value) {
const length = path.length;
const lastIndex = length - 1;
for (let i = 0; i < length; i++) {
let key = path[i];
if (!key && Array.isArray(object)) {
key = object.length.toString();
}
key = ["__proto__", "constructor", "prototype"].includes(key) ? key.toUpperCase() : key;
const isNextKeyArrayIndex = !isNaN(Number(path[i + 1]));
object[key] = i === lastIndex ? (
// If at end of path, assign the intended value.
value
) : (
// Otherwise, advance to the next object in the path, creating
// it if it does not yet exist.
object[key] || (isNextKeyArrayIndex ? [] : {})
);
if (Array.isArray(object[key]) && !isNextKeyArrayIndex) {
object[key] = {
...object[key]
};
}
object = object[key];
}
}
function getQueryArgs(url) {
return (getQueryString(url) || "").replace(/\+/g, "%20").split("&").reduce((accumulator, keyValue) => {
const [key, value = ""] = keyValue.split("=").filter(Boolean).map(safeDecodeURIComponent);
if (key) {
const segments = key.replace(/\]/g, "").split("[");
setPath(accumulator, segments, value);
}
return accumulator;
}, /* @__PURE__ */ Object.create(null));
}
;// ./node_modules/@wordpress/url/build-module/build-query-string.js
function buildQueryString(data) {
let string = "";
const stack = Object.entries(data);
let pair;
while (pair = stack.shift()) {
let [key, value] = pair;
const hasNestedData = Array.isArray(value) || value && value.constructor === Object;
if (hasNestedData) {
const valuePairs = Object.entries(value).reverse();
for (const [member, memberValue] of valuePairs) {
stack.unshift([`${key}[${member}]`, memberValue]);
}
} else if (value !== void 0) {
if (value === null) {
value = "";
}
string += "&" + [key, value].map(encodeURIComponent).join("=");
}
}
return string.substr(1);
}
;// ./node_modules/@wordpress/url/build-module/remove-query-args.js
function removeQueryArgs(url, ...args) {
const fragment = url.replace(/^[^#]*/, "");
url = url.replace(/#.*/, "");
const queryStringIndex = url.indexOf("?");
if (queryStringIndex === -1) {
return url + fragment;
}
const query = getQueryArgs(url);
const baseURL = url.substr(0, queryStringIndex);
args.forEach((arg) => delete query[arg]);
const queryString = buildQueryString(query);
const updatedUrl = queryString ? baseURL + "?" + queryString : baseURL;
return updatedUrl + fragment;
}
;// ./node_modules/@wordpress/url/build-module/get-fragment.js
function getFragment(url) {
const matches = /^\S+?(#[^\s\?]*)/.exec(url);
if (matches) {
return matches[1];
}
}
;// ./node_modules/@wordpress/url/build-module/add-query-args.js
function addQueryArgs(url = "", args) {
if (!args || !Object.keys(args).length) {
return url;
}
const fragment = getFragment(url) || "";
let baseUrl = url.replace(fragment, "");
const queryStringIndex = url.indexOf("?");
if (queryStringIndex !== -1) {
args = Object.assign(getQueryArgs(url), args);
baseUrl = baseUrl.substr(0, queryStringIndex);
}
return baseUrl + "?" + buildQueryString(args) + fragment;
}
;// ./src/client/addons/blocksy.ts
const helpers = (external_AjaxSearchPro_default()).helpers;
class BricksAddon {
name = "Elementor Widget Fixes";
init() {
const { Hooks } = helpers;
Hooks.addFilter("asp/live_load/url", this.addQueryIdToUrl.bind(this), 11, this);
}
addQueryIdToUrl(url, obj, selector, el) {
if (!el.classList.contains("wp-block-blocksy-query")) {
return url;
}
if (el.dataset.id === void 0) {
return url;
}
url = removeQueryArgs(url, "query-" + el.dataset.id);
return addQueryArgs(url, { "unique_id": el.dataset.id });
}
}
external_AjaxSearchPro_default().addons.add(new BricksAddon());
/* harmony default export */ var blocksy = ((/* unused pure expression or super */ null && (AjaxSearchPro)));
;// ./src/client/bundle/optimized/asp-addons-blocksy.js
/* harmony default export */ var asp_addons_blocksy = (external_AjaxSearchPro_namespaceObject);
Object(window.WPD).AjaxSearchPro = __webpack_exports__["default"];
/******/ })()
;