Edit File by line
/home/barbar84/public_h.../wp-inclu.../js/dist
File: data.js
this["wp"] = this["wp"] || {}; this["wp"]["data"] =
[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 = "pfJ3");
[84] Fix | Delete
/******/ })
[85] Fix | Delete
/************************************************************************/
[86] Fix | Delete
/******/ ({
[87] Fix | Delete
[88] Fix | Delete
/***/ "25BE":
[89] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[90] Fix | Delete
[91] Fix | Delete
"use strict";
[92] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
[93] Fix | Delete
function _iterableToArray(iter) {
[94] Fix | Delete
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
[95] Fix | Delete
}
[96] Fix | Delete
[97] Fix | Delete
/***/ }),
[98] Fix | Delete
[99] Fix | Delete
/***/ "8mpt":
[100] Fix | Delete
/***/ (function(module, exports) {
[101] Fix | Delete
[102] Fix | Delete
function combineReducers( reducers ) {
[103] Fix | Delete
var keys = Object.keys( reducers ),
[104] Fix | Delete
getNextState;
[105] Fix | Delete
[106] Fix | Delete
getNextState = ( function() {
[107] Fix | Delete
var fn, i, key;
[108] Fix | Delete
[109] Fix | Delete
fn = 'return {';
[110] Fix | Delete
for ( i = 0; i < keys.length; i++ ) {
[111] Fix | Delete
// Rely on Quoted escaping of JSON.stringify with guarantee that
[112] Fix | Delete
// each member of Object.keys is a string.
[113] Fix | Delete
//
[114] Fix | Delete
// "If Type(value) is String, then return the result of calling the
[115] Fix | Delete
// abstract operation Quote with argument value. [...] The abstract
[116] Fix | Delete
// operation Quote(value) wraps a String value in double quotes and
[117] Fix | Delete
// escapes characters within it."
[118] Fix | Delete
//
[119] Fix | Delete
// https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3
[120] Fix | Delete
key = JSON.stringify( keys[ i ] );
[121] Fix | Delete
[122] Fix | Delete
fn += key + ':r[' + key + '](s[' + key + '],a),';
[123] Fix | Delete
}
[124] Fix | Delete
fn += '}';
[125] Fix | Delete
[126] Fix | Delete
return new Function( 'r,s,a', fn );
[127] Fix | Delete
} )();
[128] Fix | Delete
[129] Fix | Delete
return function combinedReducer( state, action ) {
[130] Fix | Delete
var nextState, i, key;
[131] Fix | Delete
[132] Fix | Delete
// Assumed changed if initial state.
[133] Fix | Delete
if ( state === undefined ) {
[134] Fix | Delete
return getNextState( reducers, {}, action );
[135] Fix | Delete
}
[136] Fix | Delete
[137] Fix | Delete
nextState = getNextState( reducers, state, action );
[138] Fix | Delete
[139] Fix | Delete
// Determine whether state has changed.
[140] Fix | Delete
i = keys.length;
[141] Fix | Delete
while ( i-- ) {
[142] Fix | Delete
key = keys[ i ];
[143] Fix | Delete
if ( state[ key ] !== nextState[ key ] ) {
[144] Fix | Delete
// Return immediately if a changed value is encountered.
[145] Fix | Delete
return nextState;
[146] Fix | Delete
}
[147] Fix | Delete
}
[148] Fix | Delete
[149] Fix | Delete
return state;
[150] Fix | Delete
};
[151] Fix | Delete
}
[152] Fix | Delete
[153] Fix | Delete
module.exports = combineReducers;
[154] Fix | Delete
[155] Fix | Delete
[156] Fix | Delete
/***/ }),
[157] Fix | Delete
[158] Fix | Delete
/***/ "BsWD":
[159] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[160] Fix | Delete
[161] Fix | Delete
"use strict";
[162] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
[163] Fix | Delete
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a3WO");
[164] Fix | Delete
[165] Fix | Delete
function _unsupportedIterableToArray(o, minLen) {
[166] Fix | Delete
if (!o) return;
[167] Fix | Delete
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
[168] Fix | Delete
var n = Object.prototype.toString.call(o).slice(8, -1);
[169] Fix | Delete
if (n === "Object" && o.constructor) n = o.constructor.name;
[170] Fix | Delete
if (n === "Map" || n === "Set") return Array.from(o);
[171] Fix | Delete
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
[172] Fix | Delete
}
[173] Fix | Delete
[174] Fix | Delete
/***/ }),
[175] Fix | Delete
[176] Fix | Delete
/***/ "DSFK":
[177] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[178] Fix | Delete
[179] Fix | Delete
"use strict";
[180] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
[181] Fix | Delete
function _arrayWithHoles(arr) {
[182] Fix | Delete
if (Array.isArray(arr)) return arr;
[183] Fix | Delete
}
[184] Fix | Delete
[185] Fix | Delete
/***/ }),
[186] Fix | Delete
[187] Fix | Delete
/***/ "FtRg":
[188] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[189] Fix | Delete
[190] Fix | Delete
"use strict";
[191] Fix | Delete
[192] Fix | Delete
[193] Fix | Delete
function _typeof(obj) {
[194] Fix | Delete
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
[195] Fix | Delete
_typeof = function (obj) {
[196] Fix | Delete
return typeof obj;
[197] Fix | Delete
};
[198] Fix | Delete
} else {
[199] Fix | Delete
_typeof = function (obj) {
[200] Fix | Delete
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
[201] Fix | Delete
};
[202] Fix | Delete
}
[203] Fix | Delete
[204] Fix | Delete
return _typeof(obj);
[205] Fix | Delete
}
[206] Fix | Delete
[207] Fix | Delete
function _classCallCheck(instance, Constructor) {
[208] Fix | Delete
if (!(instance instanceof Constructor)) {
[209] Fix | Delete
throw new TypeError("Cannot call a class as a function");
[210] Fix | Delete
}
[211] Fix | Delete
}
[212] Fix | Delete
[213] Fix | Delete
function _defineProperties(target, props) {
[214] Fix | Delete
for (var i = 0; i < props.length; i++) {
[215] Fix | Delete
var descriptor = props[i];
[216] Fix | Delete
descriptor.enumerable = descriptor.enumerable || false;
[217] Fix | Delete
descriptor.configurable = true;
[218] Fix | Delete
if ("value" in descriptor) descriptor.writable = true;
[219] Fix | Delete
Object.defineProperty(target, descriptor.key, descriptor);
[220] Fix | Delete
}
[221] Fix | Delete
}
[222] Fix | Delete
[223] Fix | Delete
function _createClass(Constructor, protoProps, staticProps) {
[224] Fix | Delete
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
[225] Fix | Delete
if (staticProps) _defineProperties(Constructor, staticProps);
[226] Fix | Delete
return Constructor;
[227] Fix | Delete
}
[228] Fix | Delete
[229] Fix | Delete
/**
[230] Fix | Delete
* Given an instance of EquivalentKeyMap, returns its internal value pair tuple
[231] Fix | Delete
* for a key, if one exists. The tuple members consist of the last reference
[232] Fix | Delete
* value for the key (used in efficient subsequent lookups) and the value
[233] Fix | Delete
* assigned for the key at the leaf node.
[234] Fix | Delete
*
[235] Fix | Delete
* @param {EquivalentKeyMap} instance EquivalentKeyMap instance.
[236] Fix | Delete
* @param {*} key The key for which to return value pair.
[237] Fix | Delete
*
[238] Fix | Delete
* @return {?Array} Value pair, if exists.
[239] Fix | Delete
*/
[240] Fix | Delete
function getValuePair(instance, key) {
[241] Fix | Delete
var _map = instance._map,
[242] Fix | Delete
_arrayTreeMap = instance._arrayTreeMap,
[243] Fix | Delete
_objectTreeMap = instance._objectTreeMap; // Map keeps a reference to the last object-like key used to set the
[244] Fix | Delete
// value, which can be used to shortcut immediately to the value.
[245] Fix | Delete
[246] Fix | Delete
if (_map.has(key)) {
[247] Fix | Delete
return _map.get(key);
[248] Fix | Delete
} // Sort keys to ensure stable retrieval from tree.
[249] Fix | Delete
[250] Fix | Delete
[251] Fix | Delete
var properties = Object.keys(key).sort(); // Tree by type to avoid conflicts on numeric object keys, empty value.
[252] Fix | Delete
[253] Fix | Delete
var map = Array.isArray(key) ? _arrayTreeMap : _objectTreeMap;
[254] Fix | Delete
[255] Fix | Delete
for (var i = 0; i < properties.length; i++) {
[256] Fix | Delete
var property = properties[i];
[257] Fix | Delete
map = map.get(property);
[258] Fix | Delete
[259] Fix | Delete
if (map === undefined) {
[260] Fix | Delete
return;
[261] Fix | Delete
}
[262] Fix | Delete
[263] Fix | Delete
var propertyValue = key[property];
[264] Fix | Delete
map = map.get(propertyValue);
[265] Fix | Delete
[266] Fix | Delete
if (map === undefined) {
[267] Fix | Delete
return;
[268] Fix | Delete
}
[269] Fix | Delete
}
[270] Fix | Delete
[271] Fix | Delete
var valuePair = map.get('_ekm_value');
[272] Fix | Delete
[273] Fix | Delete
if (!valuePair) {
[274] Fix | Delete
return;
[275] Fix | Delete
} // If reached, it implies that an object-like key was set with another
[276] Fix | Delete
// reference, so delete the reference and replace with the current.
[277] Fix | Delete
[278] Fix | Delete
[279] Fix | Delete
_map.delete(valuePair[0]);
[280] Fix | Delete
[281] Fix | Delete
valuePair[0] = key;
[282] Fix | Delete
map.set('_ekm_value', valuePair);
[283] Fix | Delete
[284] Fix | Delete
_map.set(key, valuePair);
[285] Fix | Delete
[286] Fix | Delete
return valuePair;
[287] Fix | Delete
}
[288] Fix | Delete
/**
[289] Fix | Delete
* Variant of a Map object which enables lookup by equivalent (deeply equal)
[290] Fix | Delete
* object and array keys.
[291] Fix | Delete
*/
[292] Fix | Delete
[293] Fix | Delete
[294] Fix | Delete
var EquivalentKeyMap =
[295] Fix | Delete
/*#__PURE__*/
[296] Fix | Delete
function () {
[297] Fix | Delete
/**
[298] Fix | Delete
* Constructs a new instance of EquivalentKeyMap.
[299] Fix | Delete
*
[300] Fix | Delete
* @param {Iterable.<*>} iterable Initial pair of key, value for map.
[301] Fix | Delete
*/
[302] Fix | Delete
function EquivalentKeyMap(iterable) {
[303] Fix | Delete
_classCallCheck(this, EquivalentKeyMap);
[304] Fix | Delete
[305] Fix | Delete
this.clear();
[306] Fix | Delete
[307] Fix | Delete
if (iterable instanceof EquivalentKeyMap) {
[308] Fix | Delete
// Map#forEach is only means of iterating with support for IE11.
[309] Fix | Delete
var iterablePairs = [];
[310] Fix | Delete
iterable.forEach(function (value, key) {
[311] Fix | Delete
iterablePairs.push([key, value]);
[312] Fix | Delete
});
[313] Fix | Delete
iterable = iterablePairs;
[314] Fix | Delete
}
[315] Fix | Delete
[316] Fix | Delete
if (iterable != null) {
[317] Fix | Delete
for (var i = 0; i < iterable.length; i++) {
[318] Fix | Delete
this.set(iterable[i][0], iterable[i][1]);
[319] Fix | Delete
}
[320] Fix | Delete
}
[321] Fix | Delete
}
[322] Fix | Delete
/**
[323] Fix | Delete
* Accessor property returning the number of elements.
[324] Fix | Delete
*
[325] Fix | Delete
* @return {number} Number of elements.
[326] Fix | Delete
*/
[327] Fix | Delete
[328] Fix | Delete
[329] Fix | Delete
_createClass(EquivalentKeyMap, [{
[330] Fix | Delete
key: "set",
[331] Fix | Delete
[332] Fix | Delete
/**
[333] Fix | Delete
* Add or update an element with a specified key and value.
[334] Fix | Delete
*
[335] Fix | Delete
* @param {*} key The key of the element to add.
[336] Fix | Delete
* @param {*} value The value of the element to add.
[337] Fix | Delete
*
[338] Fix | Delete
* @return {EquivalentKeyMap} Map instance.
[339] Fix | Delete
*/
[340] Fix | Delete
value: function set(key, value) {
[341] Fix | Delete
// Shortcut non-object-like to set on internal Map.
[342] Fix | Delete
if (key === null || _typeof(key) !== 'object') {
[343] Fix | Delete
this._map.set(key, value);
[344] Fix | Delete
[345] Fix | Delete
return this;
[346] Fix | Delete
} // Sort keys to ensure stable assignment into tree.
[347] Fix | Delete
[348] Fix | Delete
[349] Fix | Delete
var properties = Object.keys(key).sort();
[350] Fix | Delete
var valuePair = [key, value]; // Tree by type to avoid conflicts on numeric object keys, empty value.
[351] Fix | Delete
[352] Fix | Delete
var map = Array.isArray(key) ? this._arrayTreeMap : this._objectTreeMap;
[353] Fix | Delete
[354] Fix | Delete
for (var i = 0; i < properties.length; i++) {
[355] Fix | Delete
var property = properties[i];
[356] Fix | Delete
[357] Fix | Delete
if (!map.has(property)) {
[358] Fix | Delete
map.set(property, new EquivalentKeyMap());
[359] Fix | Delete
}
[360] Fix | Delete
[361] Fix | Delete
map = map.get(property);
[362] Fix | Delete
var propertyValue = key[property];
[363] Fix | Delete
[364] Fix | Delete
if (!map.has(propertyValue)) {
[365] Fix | Delete
map.set(propertyValue, new EquivalentKeyMap());
[366] Fix | Delete
}
[367] Fix | Delete
[368] Fix | Delete
map = map.get(propertyValue);
[369] Fix | Delete
} // If an _ekm_value exists, there was already an equivalent key. Before
[370] Fix | Delete
// overriding, ensure that the old key reference is removed from map to
[371] Fix | Delete
// avoid memory leak of accumulating equivalent keys. This is, in a
[372] Fix | Delete
// sense, a poor man's WeakMap, while still enabling iterability.
[373] Fix | Delete
[374] Fix | Delete
[375] Fix | Delete
var previousValuePair = map.get('_ekm_value');
[376] Fix | Delete
[377] Fix | Delete
if (previousValuePair) {
[378] Fix | Delete
this._map.delete(previousValuePair[0]);
[379] Fix | Delete
}
[380] Fix | Delete
[381] Fix | Delete
map.set('_ekm_value', valuePair);
[382] Fix | Delete
[383] Fix | Delete
this._map.set(key, valuePair);
[384] Fix | Delete
[385] Fix | Delete
return this;
[386] Fix | Delete
}
[387] Fix | Delete
/**
[388] Fix | Delete
* Returns a specified element.
[389] Fix | Delete
*
[390] Fix | Delete
* @param {*} key The key of the element to return.
[391] Fix | Delete
*
[392] Fix | Delete
* @return {?*} The element associated with the specified key or undefined
[393] Fix | Delete
* if the key can't be found.
[394] Fix | Delete
*/
[395] Fix | Delete
[396] Fix | Delete
}, {
[397] Fix | Delete
key: "get",
[398] Fix | Delete
value: function get(key) {
[399] Fix | Delete
// Shortcut non-object-like to get from internal Map.
[400] Fix | Delete
if (key === null || _typeof(key) !== 'object') {
[401] Fix | Delete
return this._map.get(key);
[402] Fix | Delete
}
[403] Fix | Delete
[404] Fix | Delete
var valuePair = getValuePair(this, key);
[405] Fix | Delete
[406] Fix | Delete
if (valuePair) {
[407] Fix | Delete
return valuePair[1];
[408] Fix | Delete
}
[409] Fix | Delete
}
[410] Fix | Delete
/**
[411] Fix | Delete
* Returns a boolean indicating whether an element with the specified key
[412] Fix | Delete
* exists or not.
[413] Fix | Delete
*
[414] Fix | Delete
* @param {*} key The key of the element to test for presence.
[415] Fix | Delete
*
[416] Fix | Delete
* @return {boolean} Whether an element with the specified key exists.
[417] Fix | Delete
*/
[418] Fix | Delete
[419] Fix | Delete
}, {
[420] Fix | Delete
key: "has",
[421] Fix | Delete
value: function has(key) {
[422] Fix | Delete
if (key === null || _typeof(key) !== 'object') {
[423] Fix | Delete
return this._map.has(key);
[424] Fix | Delete
} // Test on the _presence_ of the pair, not its value, as even undefined
[425] Fix | Delete
// can be a valid member value for a key.
[426] Fix | Delete
[427] Fix | Delete
[428] Fix | Delete
return getValuePair(this, key) !== undefined;
[429] Fix | Delete
}
[430] Fix | Delete
/**
[431] Fix | Delete
* Removes the specified element.
[432] Fix | Delete
*
[433] Fix | Delete
* @param {*} key The key of the element to remove.
[434] Fix | Delete
*
[435] Fix | Delete
* @return {boolean} Returns true if an element existed and has been
[436] Fix | Delete
* removed, or false if the element does not exist.
[437] Fix | Delete
*/
[438] Fix | Delete
[439] Fix | Delete
}, {
[440] Fix | Delete
key: "delete",
[441] Fix | Delete
value: function _delete(key) {
[442] Fix | Delete
if (!this.has(key)) {
[443] Fix | Delete
return false;
[444] Fix | Delete
} // This naive implementation will leave orphaned child trees. A better
[445] Fix | Delete
// implementation should traverse and remove orphans.
[446] Fix | Delete
[447] Fix | Delete
[448] Fix | Delete
this.set(key, undefined);
[449] Fix | Delete
return true;
[450] Fix | Delete
}
[451] Fix | Delete
/**
[452] Fix | Delete
* Executes a provided function once per each key/value pair, in insertion
[453] Fix | Delete
* order.
[454] Fix | Delete
*
[455] Fix | Delete
* @param {Function} callback Function to execute for each element.
[456] Fix | Delete
* @param {*} thisArg Value to use as `this` when executing
[457] Fix | Delete
* `callback`.
[458] Fix | Delete
*/
[459] Fix | Delete
[460] Fix | Delete
}, {
[461] Fix | Delete
key: "forEach",
[462] Fix | Delete
value: function forEach(callback) {
[463] Fix | Delete
var _this = this;
[464] Fix | Delete
[465] Fix | Delete
var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
[466] Fix | Delete
[467] Fix | Delete
this._map.forEach(function (value, key) {
[468] Fix | Delete
// Unwrap value from object-like value pair.
[469] Fix | Delete
if (key !== null && _typeof(key) === 'object') {
[470] Fix | Delete
value = value[1];
[471] Fix | Delete
}
[472] Fix | Delete
[473] Fix | Delete
callback.call(thisArg, value, key, _this);
[474] Fix | Delete
});
[475] Fix | Delete
}
[476] Fix | Delete
/**
[477] Fix | Delete
* Removes all elements.
[478] Fix | Delete
*/
[479] Fix | Delete
[480] Fix | Delete
}, {
[481] Fix | Delete
key: "clear",
[482] Fix | Delete
value: function clear() {
[483] Fix | Delete
this._map = new Map();
[484] Fix | Delete
this._arrayTreeMap = new Map();
[485] Fix | Delete
this._objectTreeMap = new Map();
[486] Fix | Delete
}
[487] Fix | Delete
}, {
[488] Fix | Delete
key: "size",
[489] Fix | Delete
get: function get() {
[490] Fix | Delete
return this._map.size;
[491] Fix | Delete
}
[492] Fix | Delete
}]);
[493] Fix | Delete
[494] Fix | Delete
return EquivalentKeyMap;
[495] Fix | Delete
}();
[496] Fix | Delete
[497] Fix | Delete
module.exports = EquivalentKeyMap;
[498] Fix | Delete
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function