WordPress/wp-includes/js/dist/hooks.min.js

2 lines
7.5 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.hooks=function(e){var r={};function n(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)n.d(t,o,function(r){return e[r]}.bind(null,o));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s="./node_modules/@wordpress/hooks/build-module/index.js")}({"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":function(e,r,n){"use strict";function t(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}n.d(r,"a",(function(){return t}))},"./node_modules/@babel/runtime/helpers/esm/classCallCheck.js":function(e,r,n){"use strict";function t(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}n.d(r,"a",(function(){return t}))},"./node_modules/@babel/runtime/helpers/esm/iterableToArray.js":function(e,r,n){"use strict";function t(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(r,"a",(function(){return t}))},"./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js":function(e,r,n){"use strict";n.d(r,"a",(function(){return s}));var t=n("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");var o=n("./node_modules/@babel/runtime/helpers/esm/iterableToArray.js"),i=n("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");function s(e){return function(e){if(Array.isArray(e))return Object(t.a)(e)}(e)||Object(o.a)(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":function(e,r,n){"use strict";n.d(r,"a",(function(){return o}));var t=n("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function o(e,r){if(e){if("string"==typeof e)return Object(t.a)(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(t.a)(e,r):void 0}}},"./node_modules/@wordpress/hooks/build-module/index.js":function(e,r,n){"use strict";n.r(r),n.d(r,"createHooks",(function(){return m})),n.d(r,"addAction",(function(){return b})),n.d(r,"addFilter",(function(){return v})),n.d(r,"removeAction",(function(){return y})),n.d(r,"removeFilter",(function(){return A})),n.d(r,"hasAction",(function(){return _})),n.d(r,"hasFilter",(function(){return g})),n.d(r,"removeAllActions",(function(){return j})),n.d(r,"removeAllFilters",(function(){return F})),n.d(r,"doAction",(function(){return k})),n.d(r,"applyFilters",(function(){return O})),n.d(r,"currentAction",(function(){return T})),n.d(r,"currentFilter",(function(){return x})),n.d(r,"doingAction",(function(){return w})),n.d(r,"doingFilter",(function(){return I})),n.d(r,"didAction",(function(){return S})),n.d(r,"didFilter",(function(){return C})),n.d(r,"actions",(function(){return M})),n.d(r,"filters",(function(){return P}));var t=n("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");var o=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),