Edit File by line
/home/barbar84/public_h.../wp-inclu.../js/dist
File: warning.js
this["wp"] = this["wp"] || {}; this["wp"]["warning"] =
[0] Fix | Delete
/******/ (function(modules) { // webpackBootstrap
[1] Fix | Delete
/******/ // The module cache
[2] Fix | Delete
/******/ var installedModules = {};
[3] Fix | Delete
/******/
[4] Fix | Delete
/******/ // The require function
[5] Fix | Delete
/******/ function __webpack_require__(moduleId) {
[6] Fix | Delete
/******/
[7] Fix | Delete
/******/ // Check if module is in cache
[8] Fix | Delete
/******/ if(installedModules[moduleId]) {
[9] Fix | Delete
/******/ return installedModules[moduleId].exports;
[10] Fix | Delete
/******/ }
[11] Fix | Delete
/******/ // Create a new module (and put it into the cache)
[12] Fix | Delete
/******/ var module = installedModules[moduleId] = {
[13] Fix | Delete
/******/ i: moduleId,
[14] Fix | Delete
/******/ l: false,
[15] Fix | Delete
/******/ exports: {}
[16] Fix | Delete
/******/ };
[17] Fix | Delete
/******/
[18] Fix | Delete
/******/ // Execute the module function
[19] Fix | Delete
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
[20] Fix | Delete
/******/
[21] Fix | Delete
/******/ // Flag the module as loaded
[22] Fix | Delete
/******/ module.l = true;
[23] Fix | Delete
/******/
[24] Fix | Delete
/******/ // Return the exports of the module
[25] Fix | Delete
/******/ return module.exports;
[26] Fix | Delete
/******/ }
[27] Fix | Delete
/******/
[28] Fix | Delete
/******/
[29] Fix | Delete
/******/ // expose the modules object (__webpack_modules__)
[30] Fix | Delete
/******/ __webpack_require__.m = modules;
[31] Fix | Delete
/******/
[32] Fix | Delete
/******/ // expose the module cache
[33] Fix | Delete
/******/ __webpack_require__.c = installedModules;
[34] Fix | Delete
/******/
[35] Fix | Delete
/******/ // define getter function for harmony exports
[36] Fix | Delete
/******/ __webpack_require__.d = function(exports, name, getter) {
[37] Fix | Delete
/******/ if(!__webpack_require__.o(exports, name)) {
[38] Fix | Delete
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
[39] Fix | Delete
/******/ }
[40] Fix | Delete
/******/ };
[41] Fix | Delete
/******/
[42] Fix | Delete
/******/ // define __esModule on exports
[43] Fix | Delete
/******/ __webpack_require__.r = function(exports) {
[44] Fix | Delete
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
[45] Fix | Delete
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
[46] Fix | Delete
/******/ }
[47] Fix | Delete
/******/ Object.defineProperty(exports, '__esModule', { value: true });
[48] Fix | Delete
/******/ };
[49] Fix | Delete
/******/
[50] Fix | Delete
/******/ // create a fake namespace object
[51] Fix | Delete
/******/ // mode & 1: value is a module id, require it
[52] Fix | Delete
/******/ // mode & 2: merge all properties of value into the ns
[53] Fix | Delete
/******/ // mode & 4: return value when already ns object
[54] Fix | Delete
/******/ // mode & 8|1: behave like require
[55] Fix | Delete
/******/ __webpack_require__.t = function(value, mode) {
[56] Fix | Delete
/******/ if(mode & 1) value = __webpack_require__(value);
[57] Fix | Delete
/******/ if(mode & 8) return value;
[58] Fix | Delete
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
[59] Fix | Delete
/******/ var ns = Object.create(null);
[60] Fix | Delete
/******/ __webpack_require__.r(ns);
[61] Fix | Delete
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
[62] Fix | Delete
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
[63] Fix | Delete
/******/ return ns;
[64] Fix | Delete
/******/ };
[65] Fix | Delete
/******/
[66] Fix | Delete
/******/ // getDefaultExport function for compatibility with non-harmony modules
[67] Fix | Delete
/******/ __webpack_require__.n = function(module) {
[68] Fix | Delete
/******/ var getter = module && module.__esModule ?
[69] Fix | Delete
/******/ function getDefault() { return module['default']; } :
[70] Fix | Delete
/******/ function getModuleExports() { return module; };
[71] Fix | Delete
/******/ __webpack_require__.d(getter, 'a', getter);
[72] Fix | Delete
/******/ return getter;
[73] Fix | Delete
/******/ };
[74] Fix | Delete
/******/
[75] Fix | Delete
/******/ // Object.prototype.hasOwnProperty.call
[76] Fix | Delete
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
[77] Fix | Delete
/******/
[78] Fix | Delete
/******/ // __webpack_public_path__
[79] Fix | Delete
/******/ __webpack_require__.p = "";
[80] Fix | Delete
/******/
[81] Fix | Delete
/******/
[82] Fix | Delete
/******/ // Load entry module and return exports
[83] Fix | Delete
/******/ return __webpack_require__(__webpack_require__.s = "WyMB");
[84] Fix | Delete
/******/ })
[85] Fix | Delete
/************************************************************************/
[86] Fix | Delete
/******/ ({
[87] Fix | Delete
[88] Fix | Delete
/***/ "8oxB":
[89] Fix | Delete
/***/ (function(module, exports) {
[90] Fix | Delete
[91] Fix | Delete
// shim for using process in browser
[92] Fix | Delete
var process = module.exports = {};
[93] Fix | Delete
[94] Fix | Delete
// cached from whatever global is present so that test runners that stub it
[95] Fix | Delete
// don't break things. But we need to wrap it in a try catch in case it is
[96] Fix | Delete
// wrapped in strict mode code which doesn't define any globals. It's inside a
[97] Fix | Delete
// function because try/catches deoptimize in certain engines.
[98] Fix | Delete
[99] Fix | Delete
var cachedSetTimeout;
[100] Fix | Delete
var cachedClearTimeout;
[101] Fix | Delete
[102] Fix | Delete
function defaultSetTimout() {
[103] Fix | Delete
throw new Error('setTimeout has not been defined');
[104] Fix | Delete
}
[105] Fix | Delete
function defaultClearTimeout () {
[106] Fix | Delete
throw new Error('clearTimeout has not been defined');
[107] Fix | Delete
}
[108] Fix | Delete
(function () {
[109] Fix | Delete
try {
[110] Fix | Delete
if (typeof setTimeout === 'function') {
[111] Fix | Delete
cachedSetTimeout = setTimeout;
[112] Fix | Delete
} else {
[113] Fix | Delete
cachedSetTimeout = defaultSetTimout;
[114] Fix | Delete
}
[115] Fix | Delete
} catch (e) {
[116] Fix | Delete
cachedSetTimeout = defaultSetTimout;
[117] Fix | Delete
}
[118] Fix | Delete
try {
[119] Fix | Delete
if (typeof clearTimeout === 'function') {
[120] Fix | Delete
cachedClearTimeout = clearTimeout;
[121] Fix | Delete
} else {
[122] Fix | Delete
cachedClearTimeout = defaultClearTimeout;
[123] Fix | Delete
}
[124] Fix | Delete
} catch (e) {
[125] Fix | Delete
cachedClearTimeout = defaultClearTimeout;
[126] Fix | Delete
}
[127] Fix | Delete
} ())
[128] Fix | Delete
function runTimeout(fun) {
[129] Fix | Delete
if (cachedSetTimeout === setTimeout) {
[130] Fix | Delete
//normal enviroments in sane situations
[131] Fix | Delete
return setTimeout(fun, 0);
[132] Fix | Delete
}
[133] Fix | Delete
// if setTimeout wasn't available but was latter defined
[134] Fix | Delete
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
[135] Fix | Delete
cachedSetTimeout = setTimeout;
[136] Fix | Delete
return setTimeout(fun, 0);
[137] Fix | Delete
}
[138] Fix | Delete
try {
[139] Fix | Delete
// when when somebody has screwed with setTimeout but no I.E. maddness
[140] Fix | Delete
return cachedSetTimeout(fun, 0);
[141] Fix | Delete
} catch(e){
[142] Fix | Delete
try {
[143] Fix | Delete
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
[144] Fix | Delete
return cachedSetTimeout.call(null, fun, 0);
[145] Fix | Delete
} catch(e){
[146] Fix | Delete
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
[147] Fix | Delete
return cachedSetTimeout.call(this, fun, 0);
[148] Fix | Delete
}
[149] Fix | Delete
}
[150] Fix | Delete
[151] Fix | Delete
[152] Fix | Delete
}
[153] Fix | Delete
function runClearTimeout(marker) {
[154] Fix | Delete
if (cachedClearTimeout === clearTimeout) {
[155] Fix | Delete
//normal enviroments in sane situations
[156] Fix | Delete
return clearTimeout(marker);
[157] Fix | Delete
}
[158] Fix | Delete
// if clearTimeout wasn't available but was latter defined
[159] Fix | Delete
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
[160] Fix | Delete
cachedClearTimeout = clearTimeout;
[161] Fix | Delete
return clearTimeout(marker);
[162] Fix | Delete
}
[163] Fix | Delete
try {
[164] Fix | Delete
// when when somebody has screwed with setTimeout but no I.E. maddness
[165] Fix | Delete
return cachedClearTimeout(marker);
[166] Fix | Delete
} catch (e){
[167] Fix | Delete
try {
[168] Fix | Delete
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
[169] Fix | Delete
return cachedClearTimeout.call(null, marker);
[170] Fix | Delete
} catch (e){
[171] Fix | Delete
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
[172] Fix | Delete
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
[173] Fix | Delete
return cachedClearTimeout.call(this, marker);
[174] Fix | Delete
}
[175] Fix | Delete
}
[176] Fix | Delete
[177] Fix | Delete
[178] Fix | Delete
[179] Fix | Delete
}
[180] Fix | Delete
var queue = [];
[181] Fix | Delete
var draining = false;
[182] Fix | Delete
var currentQueue;
[183] Fix | Delete
var queueIndex = -1;
[184] Fix | Delete
[185] Fix | Delete
function cleanUpNextTick() {
[186] Fix | Delete
if (!draining || !currentQueue) {
[187] Fix | Delete
return;
[188] Fix | Delete
}
[189] Fix | Delete
draining = false;
[190] Fix | Delete
if (currentQueue.length) {
[191] Fix | Delete
queue = currentQueue.concat(queue);
[192] Fix | Delete
} else {
[193] Fix | Delete
queueIndex = -1;
[194] Fix | Delete
}
[195] Fix | Delete
if (queue.length) {
[196] Fix | Delete
drainQueue();
[197] Fix | Delete
}
[198] Fix | Delete
}
[199] Fix | Delete
[200] Fix | Delete
function drainQueue() {
[201] Fix | Delete
if (draining) {
[202] Fix | Delete
return;
[203] Fix | Delete
}
[204] Fix | Delete
var timeout = runTimeout(cleanUpNextTick);
[205] Fix | Delete
draining = true;
[206] Fix | Delete
[207] Fix | Delete
var len = queue.length;
[208] Fix | Delete
while(len) {
[209] Fix | Delete
currentQueue = queue;
[210] Fix | Delete
queue = [];
[211] Fix | Delete
while (++queueIndex < len) {
[212] Fix | Delete
if (currentQueue) {
[213] Fix | Delete
currentQueue[queueIndex].run();
[214] Fix | Delete
}
[215] Fix | Delete
}
[216] Fix | Delete
queueIndex = -1;
[217] Fix | Delete
len = queue.length;
[218] Fix | Delete
}
[219] Fix | Delete
currentQueue = null;
[220] Fix | Delete
draining = false;
[221] Fix | Delete
runClearTimeout(timeout);
[222] Fix | Delete
}
[223] Fix | Delete
[224] Fix | Delete
process.nextTick = function (fun) {
[225] Fix | Delete
var args = new Array(arguments.length - 1);
[226] Fix | Delete
if (arguments.length > 1) {
[227] Fix | Delete
for (var i = 1; i < arguments.length; i++) {
[228] Fix | Delete
args[i - 1] = arguments[i];
[229] Fix | Delete
}
[230] Fix | Delete
}
[231] Fix | Delete
queue.push(new Item(fun, args));
[232] Fix | Delete
if (queue.length === 1 && !draining) {
[233] Fix | Delete
runTimeout(drainQueue);
[234] Fix | Delete
}
[235] Fix | Delete
};
[236] Fix | Delete
[237] Fix | Delete
// v8 likes predictible objects
[238] Fix | Delete
function Item(fun, array) {
[239] Fix | Delete
this.fun = fun;
[240] Fix | Delete
this.array = array;
[241] Fix | Delete
}
[242] Fix | Delete
Item.prototype.run = function () {
[243] Fix | Delete
this.fun.apply(null, this.array);
[244] Fix | Delete
};
[245] Fix | Delete
process.title = 'browser';
[246] Fix | Delete
process.browser = true;
[247] Fix | Delete
process.env = {};
[248] Fix | Delete
process.argv = [];
[249] Fix | Delete
process.version = ''; // empty string to avoid regexp issues
[250] Fix | Delete
process.versions = {};
[251] Fix | Delete
[252] Fix | Delete
function noop() {}
[253] Fix | Delete
[254] Fix | Delete
process.on = noop;
[255] Fix | Delete
process.addListener = noop;
[256] Fix | Delete
process.once = noop;
[257] Fix | Delete
process.off = noop;
[258] Fix | Delete
process.removeListener = noop;
[259] Fix | Delete
process.removeAllListeners = noop;
[260] Fix | Delete
process.emit = noop;
[261] Fix | Delete
process.prependListener = noop;
[262] Fix | Delete
process.prependOnceListener = noop;
[263] Fix | Delete
[264] Fix | Delete
process.listeners = function (name) { return [] }
[265] Fix | Delete
[266] Fix | Delete
process.binding = function (name) {
[267] Fix | Delete
throw new Error('process.binding is not supported');
[268] Fix | Delete
};
[269] Fix | Delete
[270] Fix | Delete
process.cwd = function () { return '/' };
[271] Fix | Delete
process.chdir = function (dir) {
[272] Fix | Delete
throw new Error('process.chdir is not supported');
[273] Fix | Delete
};
[274] Fix | Delete
process.umask = function() { return 0; };
[275] Fix | Delete
[276] Fix | Delete
[277] Fix | Delete
/***/ }),
[278] Fix | Delete
[279] Fix | Delete
/***/ "WyMB":
[280] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[281] Fix | Delete
[282] Fix | Delete
"use strict";
[283] Fix | Delete
__webpack_require__.r(__webpack_exports__);
[284] Fix | Delete
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return warning; });
[285] Fix | Delete
function isDev() {
[286] Fix | Delete
return typeof process !== 'undefined' && process.env && "production" !== 'production';
[287] Fix | Delete
}
[288] Fix | Delete
/**
[289] Fix | Delete
* Shows a warning with `message` if environment is not `production`.
[290] Fix | Delete
*
[291] Fix | Delete
* @param {string} message Message to show in the warning.
[292] Fix | Delete
*
[293] Fix | Delete
* @example
[294] Fix | Delete
* ```js
[295] Fix | Delete
* import warning from '@wordpress/warning';
[296] Fix | Delete
*
[297] Fix | Delete
* function MyComponent( props ) {
[298] Fix | Delete
* if ( ! props.title ) {
[299] Fix | Delete
* warning( '`props.title` was not passed' );
[300] Fix | Delete
* }
[301] Fix | Delete
* ...
[302] Fix | Delete
* }
[303] Fix | Delete
* ```
[304] Fix | Delete
*/
[305] Fix | Delete
[306] Fix | Delete
[307] Fix | Delete
function warning(message) {
[308] Fix | Delete
if (!isDev()) {
[309] Fix | Delete
return;
[310] Fix | Delete
} // eslint-disable-next-line no-console
[311] Fix | Delete
[312] Fix | Delete
[313] Fix | Delete
console.warn(message); // Throwing an error and catching it immediately to improve debugging
[314] Fix | Delete
// A consumer can use 'pause on caught exceptions'
[315] Fix | Delete
// https://github.com/facebook/react/issues/4216
[316] Fix | Delete
[317] Fix | Delete
try {
[318] Fix | Delete
throw Error(message);
[319] Fix | Delete
} catch (x) {// do nothing
[320] Fix | Delete
}
[321] Fix | Delete
}
[322] Fix | Delete
[323] Fix | Delete
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
[324] Fix | Delete
[325] Fix | Delete
/***/ })
[326] Fix | Delete
[327] Fix | Delete
/******/ })["default"];
[328] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function