- 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>
2 lines
2.3 KiB
JavaScript
Executable File
2 lines
2.3 KiB
JavaScript
Executable File
(function(){"use strict";var c={};(function(){c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t}})(),function(){c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var d={};c.d(d,{default:function(){return O}});var f=Object(window.WPD).AjaxSearchPro,l=c.n(f);function h(e){try{return decodeURIComponent(e)}catch{return e}}function g(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch{}if(t)return t}function _(e,t,r){const a=t.length,s=a-1;for(let n=0;n<a;n++){let o=t[n];!o&&Array.isArray(e)&&(o=e.length.toString()),o=["__proto__","constructor","prototype"].includes(o)?o.toUpperCase():o;const i=!isNaN(Number(t[n+1]));e[o]=n===s?r:e[o]||(i?[]:{}),Array.isArray(e[o])&&!i&&(e[o]={...e[o]}),e=e[o]}}function p(e){return(g(e)||"").replace(/\+/g,"%20").split("&").reduce((t,r)=>{const[a,s=""]=r.split("=").filter(Boolean).map(h);if(a){const n=a.replace(/\]/g,"").split("[");_(t,n,s)}return t},Object.create(null))}function y(e){let t="";const r=Object.entries(e);let a;for(;a=r.shift();){let[s,n]=a;if(Array.isArray(n)||n&&n.constructor===Object){const i=Object.entries(n).reverse();for(const[u,S]of i)r.unshift([`${s}[${u}]`,S])}else n!==void 0&&(n===null&&(n=""),t+="&"+[s,n].map(encodeURIComponent).join("="))}return t.substr(1)}function b(e,...t){const r=e.replace(/^[^#]*/,"");e=e.replace(/#.*/,"");const a=e.indexOf("?");if(a===-1)return e+r;const s=p(e),n=e.substr(0,a);t.forEach(u=>delete s[u]);const o=y(s);return(o?n+"?"+o:n)+r}function m(e){const t=/^\S+?(#[^\s\?]*)/.exec(e);if(t)return t[1]}function x(e="",t){if(!t||!Object.keys(t).length)return e;const r=m(e)||"";let a=e.replace(r,"");const s=e.indexOf("?");return s!==-1&&(t=Object.assign(p(e),t),a=a.substr(0,s)),a+"?"+y(t)+r}const v=l().helpers;class A{name="Elementor Widget Fixes";init(){const{Hooks:t}=v;t.addFilter("asp/live_load/url",this.addQueryIdToUrl.bind(this),11,this)}addQueryIdToUrl(t,r,a,s){return!s.classList.contains("wp-block-blocksy-query")||s.dataset.id===void 0?t:(t=b(t,"query-"+s.dataset.id),x(t,{unique_id:s.dataset.id}))}}l().addons.add(new A);var w=null,O=f;Object(window.WPD).AjaxSearchPro=d.default})();
|