Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: block-editor.js
this["wp"] = this["wp"] || {}; this["wp"]["blockEditor"] =
[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 = "tr0p");
[84] Fix | Delete
/******/ })
[85] Fix | Delete
/************************************************************************/
[86] Fix | Delete
/******/ ({
[87] Fix | Delete
[88] Fix | Delete
/***/ "//Lo":
[89] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[90] Fix | Delete
[91] Fix | Delete
"use strict";
[92] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[93] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[94] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
[95] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
[96] Fix | Delete
[97] Fix | Delete
[98] Fix | Delete
/**
[99] Fix | Delete
* WordPress dependencies
[100] Fix | Delete
*/
[101] Fix | Delete
[102] Fix | Delete
var blockDefault = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
[103] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[104] Fix | Delete
viewBox: "0 0 24 24"
[105] Fix | Delete
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
[106] Fix | Delete
d: "M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"
[107] Fix | Delete
}));
[108] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (blockDefault);
[109] Fix | Delete
[110] Fix | Delete
[111] Fix | Delete
/***/ }),
[112] Fix | Delete
[113] Fix | Delete
/***/ "16Al":
[114] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[115] Fix | Delete
[116] Fix | Delete
"use strict";
[117] Fix | Delete
/**
[118] Fix | Delete
* Copyright (c) 2013-present, Facebook, Inc.
[119] Fix | Delete
*
[120] Fix | Delete
* This source code is licensed under the MIT license found in the
[121] Fix | Delete
* LICENSE file in the root directory of this source tree.
[122] Fix | Delete
*/
[123] Fix | Delete
[124] Fix | Delete
[125] Fix | Delete
[126] Fix | Delete
var ReactPropTypesSecret = __webpack_require__("WbBG");
[127] Fix | Delete
[128] Fix | Delete
function emptyFunction() {}
[129] Fix | Delete
function emptyFunctionWithReset() {}
[130] Fix | Delete
emptyFunctionWithReset.resetWarningCache = emptyFunction;
[131] Fix | Delete
[132] Fix | Delete
module.exports = function() {
[133] Fix | Delete
function shim(props, propName, componentName, location, propFullName, secret) {
[134] Fix | Delete
if (secret === ReactPropTypesSecret) {
[135] Fix | Delete
// It is still safe when called from React.
[136] Fix | Delete
return;
[137] Fix | Delete
}
[138] Fix | Delete
var err = new Error(
[139] Fix | Delete
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
[140] Fix | Delete
'Use PropTypes.checkPropTypes() to call them. ' +
[141] Fix | Delete
'Read more at http://fb.me/use-check-prop-types'
[142] Fix | Delete
);
[143] Fix | Delete
err.name = 'Invariant Violation';
[144] Fix | Delete
throw err;
[145] Fix | Delete
};
[146] Fix | Delete
shim.isRequired = shim;
[147] Fix | Delete
function getShim() {
[148] Fix | Delete
return shim;
[149] Fix | Delete
};
[150] Fix | Delete
// Important!
[151] Fix | Delete
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
[152] Fix | Delete
var ReactPropTypes = {
[153] Fix | Delete
array: shim,
[154] Fix | Delete
bool: shim,
[155] Fix | Delete
func: shim,
[156] Fix | Delete
number: shim,
[157] Fix | Delete
object: shim,
[158] Fix | Delete
string: shim,
[159] Fix | Delete
symbol: shim,
[160] Fix | Delete
[161] Fix | Delete
any: shim,
[162] Fix | Delete
arrayOf: getShim,
[163] Fix | Delete
element: shim,
[164] Fix | Delete
elementType: shim,
[165] Fix | Delete
instanceOf: getShim,
[166] Fix | Delete
node: shim,
[167] Fix | Delete
objectOf: getShim,
[168] Fix | Delete
oneOf: getShim,
[169] Fix | Delete
oneOfType: getShim,
[170] Fix | Delete
shape: getShim,
[171] Fix | Delete
exact: getShim,
[172] Fix | Delete
[173] Fix | Delete
checkPropTypes: emptyFunctionWithReset,
[174] Fix | Delete
resetWarningCache: emptyFunction
[175] Fix | Delete
};
[176] Fix | Delete
[177] Fix | Delete
ReactPropTypes.PropTypes = ReactPropTypes;
[178] Fix | Delete
[179] Fix | Delete
return ReactPropTypes;
[180] Fix | Delete
};
[181] Fix | Delete
[182] Fix | Delete
[183] Fix | Delete
/***/ }),
[184] Fix | Delete
[185] Fix | Delete
/***/ "17x9":
[186] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[187] Fix | Delete
[188] Fix | Delete
/**
[189] Fix | Delete
* Copyright (c) 2013-present, Facebook, Inc.
[190] Fix | Delete
*
[191] Fix | Delete
* This source code is licensed under the MIT license found in the
[192] Fix | Delete
* LICENSE file in the root directory of this source tree.
[193] Fix | Delete
*/
[194] Fix | Delete
[195] Fix | Delete
if (false) { var throwOnDirectAccess, ReactIs; } else {
[196] Fix | Delete
// By explicitly using `prop-types` you are opting into new production behavior.
[197] Fix | Delete
// http://fb.me/prop-types-in-prod
[198] Fix | Delete
module.exports = __webpack_require__("16Al")();
[199] Fix | Delete
}
[200] Fix | Delete
[201] Fix | Delete
[202] Fix | Delete
/***/ }),
[203] Fix | Delete
[204] Fix | Delete
/***/ "1CF3":
[205] Fix | Delete
/***/ (function(module, exports) {
[206] Fix | Delete
[207] Fix | Delete
(function() { module.exports = window["wp"]["dom"]; }());
[208] Fix | Delete
[209] Fix | Delete
/***/ }),
[210] Fix | Delete
[211] Fix | Delete
/***/ "1OyB":
[212] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[213] Fix | Delete
[214] Fix | Delete
"use strict";
[215] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
[216] Fix | Delete
function _classCallCheck(instance, Constructor) {
[217] Fix | Delete
if (!(instance instanceof Constructor)) {
[218] Fix | Delete
throw new TypeError("Cannot call a class as a function");
[219] Fix | Delete
}
[220] Fix | Delete
}
[221] Fix | Delete
[222] Fix | Delete
/***/ }),
[223] Fix | Delete
[224] Fix | Delete
/***/ "1ZqX":
[225] Fix | Delete
/***/ (function(module, exports) {
[226] Fix | Delete
[227] Fix | Delete
(function() { module.exports = window["wp"]["data"]; }());
[228] Fix | Delete
[229] Fix | Delete
/***/ }),
[230] Fix | Delete
[231] Fix | Delete
/***/ "1iEr":
[232] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[233] Fix | Delete
[234] Fix | Delete
"use strict";
[235] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[236] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[237] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
[238] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
[239] Fix | Delete
[240] Fix | Delete
[241] Fix | Delete
/**
[242] Fix | Delete
* WordPress dependencies
[243] Fix | Delete
*/
[244] Fix | Delete
[245] Fix | Delete
var chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
[246] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[247] Fix | Delete
viewBox: "0 0 24 24"
[248] Fix | Delete
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
[249] Fix | Delete
d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
[250] Fix | Delete
}));
[251] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (chevronRight);
[252] Fix | Delete
[253] Fix | Delete
[254] Fix | Delete
/***/ }),
[255] Fix | Delete
[256] Fix | Delete
/***/ "25BE":
[257] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[258] Fix | Delete
[259] Fix | Delete
"use strict";
[260] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
[261] Fix | Delete
function _iterableToArray(iter) {
[262] Fix | Delete
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
[263] Fix | Delete
}
[264] Fix | Delete
[265] Fix | Delete
/***/ }),
[266] Fix | Delete
[267] Fix | Delete
/***/ "2gm7":
[268] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[269] Fix | Delete
[270] Fix | Delete
"use strict";
[271] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[272] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[273] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
[274] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
[275] Fix | Delete
[276] Fix | Delete
[277] Fix | Delete
/**
[278] Fix | Delete
* WordPress dependencies
[279] Fix | Delete
*/
[280] Fix | Delete
[281] Fix | Delete
var chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
[282] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[283] Fix | Delete
viewBox: "0 0 24 24"
[284] Fix | Delete
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
[285] Fix | Delete
d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
[286] Fix | Delete
}));
[287] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
[288] Fix | Delete
[289] Fix | Delete
[290] Fix | Delete
/***/ }),
[291] Fix | Delete
[292] Fix | Delete
/***/ "4eJC":
[293] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[294] Fix | Delete
[295] Fix | Delete
/**
[296] Fix | Delete
* Memize options object.
[297] Fix | Delete
*
[298] Fix | Delete
* @typedef MemizeOptions
[299] Fix | Delete
*
[300] Fix | Delete
* @property {number} [maxSize] Maximum size of the cache.
[301] Fix | Delete
*/
[302] Fix | Delete
[303] Fix | Delete
/**
[304] Fix | Delete
* Internal cache entry.
[305] Fix | Delete
*
[306] Fix | Delete
* @typedef MemizeCacheNode
[307] Fix | Delete
*
[308] Fix | Delete
* @property {?MemizeCacheNode|undefined} [prev] Previous node.
[309] Fix | Delete
* @property {?MemizeCacheNode|undefined} [next] Next node.
[310] Fix | Delete
* @property {Array<*>} args Function arguments for cache
[311] Fix | Delete
* entry.
[312] Fix | Delete
* @property {*} val Function result.
[313] Fix | Delete
*/
[314] Fix | Delete
[315] Fix | Delete
/**
[316] Fix | Delete
* Properties of the enhanced function for controlling cache.
[317] Fix | Delete
*
[318] Fix | Delete
* @typedef MemizeMemoizedFunction
[319] Fix | Delete
*
[320] Fix | Delete
* @property {()=>void} clear Clear the cache.
[321] Fix | Delete
*/
[322] Fix | Delete
[323] Fix | Delete
/**
[324] Fix | Delete
* Accepts a function to be memoized, and returns a new memoized function, with
[325] Fix | Delete
* optional options.
[326] Fix | Delete
*
[327] Fix | Delete
* @template {Function} F
[328] Fix | Delete
*
[329] Fix | Delete
* @param {F} fn Function to memoize.
[330] Fix | Delete
* @param {MemizeOptions} [options] Options object.
[331] Fix | Delete
*
[332] Fix | Delete
* @return {F & MemizeMemoizedFunction} Memoized function.
[333] Fix | Delete
*/
[334] Fix | Delete
function memize( fn, options ) {
[335] Fix | Delete
var size = 0;
[336] Fix | Delete
[337] Fix | Delete
/** @type {?MemizeCacheNode|undefined} */
[338] Fix | Delete
var head;
[339] Fix | Delete
[340] Fix | Delete
/** @type {?MemizeCacheNode|undefined} */
[341] Fix | Delete
var tail;
[342] Fix | Delete
[343] Fix | Delete
options = options || {};
[344] Fix | Delete
[345] Fix | Delete
function memoized( /* ...args */ ) {
[346] Fix | Delete
var node = head,
[347] Fix | Delete
len = arguments.length,
[348] Fix | Delete
args, i;
[349] Fix | Delete
[350] Fix | Delete
searchCache: while ( node ) {
[351] Fix | Delete
// Perform a shallow equality test to confirm that whether the node
[352] Fix | Delete
// under test is a candidate for the arguments passed. Two arrays
[353] Fix | Delete
// are shallowly equal if their length matches and each entry is
[354] Fix | Delete
// strictly equal between the two sets. Avoid abstracting to a
[355] Fix | Delete
// function which could incur an arguments leaking deoptimization.
[356] Fix | Delete
[357] Fix | Delete
// Check whether node arguments match arguments length
[358] Fix | Delete
if ( node.args.length !== arguments.length ) {
[359] Fix | Delete
node = node.next;
[360] Fix | Delete
continue;
[361] Fix | Delete
}
[362] Fix | Delete
[363] Fix | Delete
// Check whether node arguments match arguments values
[364] Fix | Delete
for ( i = 0; i < len; i++ ) {
[365] Fix | Delete
if ( node.args[ i ] !== arguments[ i ] ) {
[366] Fix | Delete
node = node.next;
[367] Fix | Delete
continue searchCache;
[368] Fix | Delete
}
[369] Fix | Delete
}
[370] Fix | Delete
[371] Fix | Delete
// At this point we can assume we've found a match
[372] Fix | Delete
[373] Fix | Delete
// Surface matched node to head if not already
[374] Fix | Delete
if ( node !== head ) {
[375] Fix | Delete
// As tail, shift to previous. Must only shift if not also
[376] Fix | Delete
// head, since if both head and tail, there is no previous.
[377] Fix | Delete
if ( node === tail ) {
[378] Fix | Delete
tail = node.prev;
[379] Fix | Delete
}
[380] Fix | Delete
[381] Fix | Delete
// Adjust siblings to point to each other. If node was tail,
[382] Fix | Delete
// this also handles new tail's empty `next` assignment.
[383] Fix | Delete
/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
[384] Fix | Delete
if ( node.next ) {
[385] Fix | Delete
node.next.prev = node.prev;
[386] Fix | Delete
}
[387] Fix | Delete
[388] Fix | Delete
node.next = head;
[389] Fix | Delete
node.prev = null;
[390] Fix | Delete
/** @type {MemizeCacheNode} */ ( head ).prev = node;
[391] Fix | Delete
head = node;
[392] Fix | Delete
}
[393] Fix | Delete
[394] Fix | Delete
// Return immediately
[395] Fix | Delete
return node.val;
[396] Fix | Delete
}
[397] Fix | Delete
[398] Fix | Delete
// No cached value found. Continue to insertion phase:
[399] Fix | Delete
[400] Fix | Delete
// Create a copy of arguments (avoid leaking deoptimization)
[401] Fix | Delete
args = new Array( len );
[402] Fix | Delete
for ( i = 0; i < len; i++ ) {
[403] Fix | Delete
args[ i ] = arguments[ i ];
[404] Fix | Delete
}
[405] Fix | Delete
[406] Fix | Delete
node = {
[407] Fix | Delete
args: args,
[408] Fix | Delete
[409] Fix | Delete
// Generate the result from original function
[410] Fix | Delete
val: fn.apply( null, args ),
[411] Fix | Delete
};
[412] Fix | Delete
[413] Fix | Delete
// Don't need to check whether node is already head, since it would
[414] Fix | Delete
// have been returned above already if it was
[415] Fix | Delete
[416] Fix | Delete
// Shift existing head down list
[417] Fix | Delete
if ( head ) {
[418] Fix | Delete
head.prev = node;
[419] Fix | Delete
node.next = head;
[420] Fix | Delete
} else {
[421] Fix | Delete
// If no head, follows that there's no tail (at initial or reset)
[422] Fix | Delete
tail = node;
[423] Fix | Delete
}
[424] Fix | Delete
[425] Fix | Delete
// Trim tail if we're reached max size and are pending cache insertion
[426] Fix | Delete
if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
[427] Fix | Delete
tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
[428] Fix | Delete
/** @type {MemizeCacheNode} */ ( tail ).next = null;
[429] Fix | Delete
} else {
[430] Fix | Delete
size++;
[431] Fix | Delete
}
[432] Fix | Delete
[433] Fix | Delete
head = node;
[434] Fix | Delete
[435] Fix | Delete
return node.val;
[436] Fix | Delete
}
[437] Fix | Delete
[438] Fix | Delete
memoized.clear = function() {
[439] Fix | Delete
head = null;
[440] Fix | Delete
tail = null;
[441] Fix | Delete
size = 0;
[442] Fix | Delete
};
[443] Fix | Delete
[444] Fix | Delete
if ( false ) {}
[445] Fix | Delete
[446] Fix | Delete
// Ignore reason: There's not a clear solution to create an intersection of
[447] Fix | Delete
// the function with additional properties, where the goal is to retain the
[448] Fix | Delete
// function signature of the incoming argument and add control properties
[449] Fix | Delete
// on the return value.
[450] Fix | Delete
[451] Fix | Delete
// @ts-ignore
[452] Fix | Delete
return memoized;
[453] Fix | Delete
}
[454] Fix | Delete
[455] Fix | Delete
module.exports = memize;
[456] Fix | Delete
[457] Fix | Delete
[458] Fix | Delete
/***/ }),
[459] Fix | Delete
[460] Fix | Delete
/***/ "6fKw":
[461] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[462] Fix | Delete
[463] Fix | Delete
"use strict";
[464] Fix | Delete
/*
[465] Fix | Delete
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
[466] Fix | Delete
Copyrights licensed under the New BSD License.
[467] Fix | Delete
See the accompanying LICENSE file for terms.
[468] Fix | Delete
*/
[469] Fix | Delete
[470] Fix | Delete
[471] Fix | Delete
[472] Fix | Delete
exports.match = matchQuery;
[473] Fix | Delete
exports.parse = parseQuery;
[474] Fix | Delete
[475] Fix | Delete
// -----------------------------------------------------------------------------
[476] Fix | Delete
[477] Fix | Delete
var RE_MEDIA_QUERY = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,
[478] Fix | Delete
RE_MQ_EXPRESSION = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,
[479] Fix | Delete
RE_MQ_FEATURE = /^(?:(min|max)-)?(.+)/,
[480] Fix | Delete
RE_LENGTH_UNIT = /(em|rem|px|cm|mm|in|pt|pc)?$/,
[481] Fix | Delete
RE_RESOLUTION_UNIT = /(dpi|dpcm|dppx)?$/;
[482] Fix | Delete
[483] Fix | Delete
function matchQuery(mediaQuery, values) {
[484] Fix | Delete
return parseQuery(mediaQuery).some(function (query) {
[485] Fix | Delete
var inverse = query.inverse;
[486] Fix | Delete
[487] Fix | Delete
// Either the parsed or specified `type` is "all", or the types must be
[488] Fix | Delete
// equal for a match.
[489] Fix | Delete
var typeMatch = query.type === 'all' || values.type === query.type;
[490] Fix | Delete
[491] Fix | Delete
// Quit early when `type` doesn't match, but take "not" into account.
[492] Fix | Delete
if ((typeMatch && inverse) || !(typeMatch || inverse)) {
[493] Fix | Delete
return false;
[494] Fix | Delete
}
[495] Fix | Delete
[496] Fix | Delete
var expressionsMatch = query.expressions.every(function (expression) {
[497] Fix | Delete
var feature = expression.feature,
[498] Fix | Delete
modifier = expression.modifier,
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function