Files

1 line
23 KiB
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
this.wp=this.wp||{},this.wp.apiFetch=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=355)}({101:function(e,t,r){"use strict";var n=r(102),o=r(103),i=r(67);e.exports={formats:i,parse:o,stringify:n}},102:function(e,t,r){"use strict";var n=r(66),o=r(67),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Date.prototype.toISOString,a={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},c=function e(t,r,o,i,u,c,l,s,f,d,p,y){var v=t;if("function"==typeof l)v=l(r,v);else if(v instanceof Date)v=d(v);else if(null===v){if(i)return c&&!y?c(r,a.encoder):r;v=""}if("string"==typeof v||"number"==typeof v||"boolean"==typeof v||n.isBuffer(v))return c?[p(y?r:c(r,a.encoder))+"="+p(c(v,a.encoder))]:[p(r)+"="+p(String(v))];var h,b=[];if(void 0===v)return b;if(Array.isArray(l))h=l;else{var g=Object.keys(v);h=s?g.sort(s):g}for(var m=0;m<h.length;++m){var _=h[m];u&&null===v[_]||(b=Array.isArray(v)?b.concat(e(v[_],o(r,_),o,i,u,c,l,s,f,d,p,y)):b.concat(e(v[_],r+(f?"."+_:"["+_+"]"),o,i,u,c,l,s,f,d,p,y)))}return b};e.exports=function(e,t){var r=e,u=t?n.assign({},t):{};if(null!==u.encoder&&void 0!==u.encoder&&"function"!=typeof u.encoder)throw new TypeError("Encoder has to be a function.");var l=void 0===u.delimiter?a.delimiter:u.delimiter,s="boolean"==typeof u.strictNullHandling?u.strictNullHandling:a.strictNullHandling,f="boolean"==typeof u.skipNulls?u.skipNulls:a.skipNulls,d="boolean"==typeof u.encode?u.encode:a.encode,p="function"==typeof u.encoder?u.encoder:a.encoder,y="function"==typeof u.sort?u.sort:null,v=void 0!==u.allowDots&&u.allowDots,h="function"==typeof u.serializeDate?u.serializeDate:a.serializeDate,b="boolean"==typeof u.encodeValuesOnly?u.encodeValuesOnly:a.encodeValuesOnly;if(void 0===u.format)u.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,u.format))throw new TypeError("Unknown format option provided.");var g,m,_=o.formatters[u.format];"function"==typeof u.filter?r=(m=u.filter)("",r):Array.isArray(u.filter)&&(g=m=u.filter);var O,j=[];if("object"!=typeof r||null===r)return"";O=u.arrayFormat in i?u.arrayFormat:"indices"in u?u.indices?"indices":"repeat":"indices";var A=i[O];g||(g=Object.keys(r)),y&&g.sort(y);for(var w=0;w<g.length;++w){var P=g[w];f&&null===r[P]||(j=j.concat(c(r[P],P,A,s,f,d?p:null,m,y,v,h,_,b)))}var x=j.join(l),F=!0===u.addQueryPrefix?"?":"";return x.length>0?F+x:""}},103:function(e,t,r){"use strict";var n=r(66),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},u=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,u=/(\[[^[\]]*])/.exec(n),a=u?n.slice(0,u.index):n,c=[];if(a){if(!r.plainObjects&&o.call(Object.prototype,a)&&!r.allowPrototypes)return;c.push(a)}for(var l=0;null!==(u=i.exec(n))&&l<r.depth;){if(l+=1,!r.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+n.slice(u.index)+"]"),function(e,t,r){for(var n=t,o=e.length-1;o>=0;--o){var i,u=e[o];if("[]"===u)i=