Last active
December 10, 2021 23:00
-
-
Save declann/8e75390733f018baab5679aa8ce74228 to your computer and use it in GitHub Desktop.
calculangs conways game of life
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function webpackUniversalModuleDefinition(root, factory) { | |
if(typeof exports === 'object' && typeof module === 'object') | |
module.exports = factory(); | |
else if(typeof define === 'function' && define.amd) | |
define([], factory); | |
else { | |
var a = factory(); | |
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; | |
} | |
})(this, function() { | |
return /******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) { | |
/******/ return installedModules[moduleId].exports; | |
/******/ } | |
/******/ // Create a new module (and put it into the cache) | |
/******/ var module = installedModules[moduleId] = { | |
/******/ i: moduleId, | |
/******/ l: false, | |
/******/ exports: {} | |
/******/ }; | |
/******/ | |
/******/ // Execute the module function | |
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | |
/******/ | |
/******/ // Flag the module as loaded | |
/******/ module.l = true; | |
/******/ | |
/******/ // Return the exports of the module | |
/******/ return module.exports; | |
/******/ } | |
/******/ | |
/******/ | |
/******/ // expose the modules object (__webpack_modules__) | |
/******/ __webpack_require__.m = modules; | |
/******/ | |
/******/ // expose the module cache | |
/******/ __webpack_require__.c = installedModules; | |
/******/ | |
/******/ // define getter function for harmony exports | |
/******/ __webpack_require__.d = function(exports, name, getter) { | |
/******/ if(!__webpack_require__.o(exports, name)) { | |
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | |
/******/ } | |
/******/ }; | |
/******/ | |
/******/ // define __esModule on exports | |
/******/ __webpack_require__.r = function(exports) { | |
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
/******/ } | |
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
/******/ }; | |
/******/ | |
/******/ // create a fake namespace object | |
/******/ // mode & 1: value is a module id, require it | |
/******/ // mode & 2: merge all properties of value into the ns | |
/******/ // mode & 4: return value when already ns object | |
/******/ // mode & 8|1: behave like require | |
/******/ __webpack_require__.t = function(value, mode) { | |
/******/ if(mode & 1) value = __webpack_require__(value); | |
/******/ if(mode & 8) return value; | |
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | |
/******/ var ns = Object.create(null); | |
/******/ __webpack_require__.r(ns); | |
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | |
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | |
/******/ return ns; | |
/******/ }; | |
/******/ | |
/******/ // getDefaultExport function for compatibility with non-harmony modules | |
/******/ __webpack_require__.n = function(module) { | |
/******/ var getter = module && module.__esModule ? | |
/******/ function getDefault() { return module['default']; } : | |
/******/ function getModuleExports() { return module; }; | |
/******/ __webpack_require__.d(getter, 'a', getter); | |
/******/ return getter; | |
/******/ }; | |
/******/ | |
/******/ // Object.prototype.hasOwnProperty.call | |
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | |
/******/ | |
/******/ // __webpack_public_path__ | |
/******/ __webpack_require__.p = ""; | |
/******/ | |
/******/ | |
/******/ // Load entry module and return exports | |
/******/ return __webpack_require__(__webpack_require__.s = 1); | |
/******/ }) | |
/************************************************************************/ | |
/******/ ([ | |
/* 0 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return VERSION; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return root; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ArrayProto; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return ObjProto; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return SymbolProto; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return push; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return slice; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return toString; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return hasOwnProperty; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return supportsArrayBuffer; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return supportsDataView; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return nativeIsArray; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return nativeKeys; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return nativeCreate; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return nativeIsView; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return _isNaN; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return _isFinite; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return hasEnumBug; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return nonEnumerableProps; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return MAX_ARRAY_INDEX; }); | |
// Current version. | |
var VERSION = '1.13.1'; | |
// Establish the root object, `window` (`self`) in the browser, `global` | |
// on the server, or `this` in some virtual machines. We use `self` | |
// instead of `window` for `WebWorker` support. | |
var root = typeof self == 'object' && self.self === self && self || | |
typeof global == 'object' && global.global === global && global || | |
Function('return this')() || | |
{}; | |
// Save bytes in the minified (but not gzipped) version: | |
var ArrayProto = Array.prototype, ObjProto = Object.prototype; | |
var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; | |
// Create quick reference variables for speed access to core prototypes. | |
var push = ArrayProto.push, | |
slice = ArrayProto.slice, | |
toString = ObjProto.toString, | |
hasOwnProperty = ObjProto.hasOwnProperty; | |
// Modern feature detection. | |
var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', | |
supportsDataView = typeof DataView !== 'undefined'; | |
// All **ECMAScript 5+** native function implementations that we hope to use | |
// are declared here. | |
var nativeIsArray = Array.isArray, | |
nativeKeys = Object.keys, | |
nativeCreate = Object.create, | |
nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; | |
// Create references to these builtin functions because we override them. | |
var _isNaN = isNaN, | |
_isFinite = isFinite; | |
// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. | |
var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); | |
var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', | |
'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; | |
// The largest integer that can be represented exactly. | |
var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; | |
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(164))) | |
/***/ }), | |
/* 1 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
__webpack_require__.r(__webpack_exports__); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "initial_grid", function() { return initial_grid; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "generation", function() { return generation; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "size", function() { return size; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return x; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return y; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "grid", function() { return grid; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "new_grid", function() { return new_grid; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "alive", function() { return alive; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "neighbours_alive", function() { return neighbours_alive; }); | |
/* harmony import */ var lru_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24); | |
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(25); | |
/* harmony import */ var _game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10); | |
// TODO poor tree shaking support, or why is this impact so massive? Move to lodash/lodash-es? | |
// there is already-culed stuff in here, why? imports to memo loader include cul_scope_id, what logic should it apply RE passing forward? eliminate? Probably! | |
////////// start initial_grid memo-loader code ////////// | |
const initial_grid$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* initial_grid_ */ "d"]); | |
const initial_grid = a => { | |
return initial_grid$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* initial_grid_ */ "d"])({ | |
initial_grid_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end initial_grid memo-loader code ////////// | |
////////// start generation memo-loader code ////////// | |
const generation$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* generation_ */ "b"]); | |
const generation = a => { | |
return generation$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* generation_ */ "b"])({ | |
generation_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end generation memo-loader code ////////// | |
////////// start size memo-loader code ////////// | |
const size$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* size_ */ "g"]); | |
const size = a => { | |
return size$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* size_ */ "g"])({ | |
size_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end size memo-loader code ////////// | |
////////// start x memo-loader code ////////// | |
const x$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* x_ */ "h"]); | |
const x = a => { | |
return x$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* x_ */ "h"])({ | |
x_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end x memo-loader code ////////// | |
////////// start y memo-loader code ////////// | |
const y$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* y_ */ "i"]); | |
const y = a => { | |
return y$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* y_ */ "i"])({ | |
y_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end y memo-loader code ////////// | |
////////// start grid memo-loader code ////////// | |
const grid$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* grid_ */ "c"]); | |
const grid = a => { | |
return grid$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* grid_ */ "c"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
y_in, | |
x_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end grid memo-loader code ////////// | |
////////// start new_grid memo-loader code ////////// | |
const new_grid$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* new_grid_ */ "f"]); | |
const new_grid = a => { | |
return new_grid$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* new_grid_ */ "f"])({ | |
size_in, | |
generation_in, | |
initial_grid_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end new_grid memo-loader code ////////// | |
////////// start alive memo-loader code ////////// | |
const alive$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* alive_ */ "a"]); | |
const alive = a => { | |
return alive$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* alive_ */ "a"])({ | |
generation_in, | |
initial_grid_in, | |
y_in, | |
x_in, | |
size_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end alive memo-loader code ////////// | |
////////// start neighbours_alive memo-loader code ////////// | |
const neighbours_alive$m = Object(lru_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(999999, underscore__WEBPACK_IMPORTED_MODULE_1__[/* isEqual */ "a"])(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* neighbours_alive_ */ "e"]); | |
const neighbours_alive = a => { | |
return neighbours_alive$m(a); | |
Object(_game_of_life_cul_js_memoed_cul_scope_id_1_cul_parent_scope_id_0_location_6dd3fef9a80806d6547050d3a89667d1__WEBPACK_IMPORTED_MODULE_2__[/* neighbours_alive_ */ "e"])({ | |
y_in, | |
x_in, | |
size_in, | |
generation_in, | |
initial_grid_in | |
}); // never run, but here to "trick" calculang graph logic | |
}; ////////// end neighbours_alive memo-loader code ////////// | |
/***/ }), | |
/* 2 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return keys; }); | |
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12); | |
/* harmony import */ var _collectNonEnumProps_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(83); | |
// Retrieve the names of an object's own properties. | |
// Delegates to **ECMAScript 5**'s native `Object.keys`. | |
function keys(obj) { | |
if (!Object(_isObject_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj)) return []; | |
if (_setup_js__WEBPACK_IMPORTED_MODULE_1__[/* nativeKeys */ "m"]) return Object(_setup_js__WEBPACK_IMPORTED_MODULE_1__[/* nativeKeys */ "m"])(obj); | |
var keys = []; | |
for (var key in obj) if (Object(_has_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj, key)) keys.push(key); | |
// Ahem, IE < 9. | |
if (_setup_js__WEBPACK_IMPORTED_MODULE_1__[/* hasEnumBug */ "h"]) Object(_collectNonEnumProps_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(obj, keys); | |
return keys; | |
} | |
/***/ }), | |
/* 3 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
// If Underscore is called as a function, it returns a wrapped object that can | |
// be used OO-style. This wrapper holds altered versions of all functions added | |
// through `_.mixin`. Wrapped objects may be chained. | |
function _(obj) { | |
if (obj instanceof _) return obj; | |
if (!(this instanceof _)) return new _(obj); | |
this._wrapped = obj; | |
} | |
_.VERSION = _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* VERSION */ "e"]; | |
// Extracts the result from a wrapped and chained object. | |
_.prototype.value = function() { | |
return this._wrapped; | |
}; | |
// Provide unwrapping proxies for some methods used in engine operations | |
// such as arithmetic and JSON stringification. | |
_.prototype.valueOf = _.prototype.toJSON = _.prototype.value; | |
_.prototype.toString = function() { | |
return String(this._wrapped); | |
}; | |
/***/ }), | |
/* 4 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return tagTester; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
// Internal function for creating a `toString`-based type tester. | |
function tagTester(name) { | |
var tag = '[object ' + name + ']'; | |
return function(obj) { | |
return _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* toString */ "t"].call(obj) === tag; | |
}; | |
} | |
/***/ }), | |
/* 5 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cb; }); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
/* harmony import */ var _baseIteratee_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85); | |
/* harmony import */ var _iteratee_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67); | |
// The function we call internally to generate a callback. It invokes | |
// `_.iteratee` if overridden, otherwise `baseIteratee`. | |
function cb(value, context, argCount) { | |
if (_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].iteratee !== _iteratee_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"]) return _underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].iteratee(value, context); | |
return Object(_baseIteratee_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(value, context, argCount); | |
} | |
/***/ }), | |
/* 6 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return restArguments; }); | |
// Some functions take a variable number of arguments, or a few expected | |
// arguments at the beginning and then a variable number of values to operate | |
// on. This helper accumulates all remaining arguments past the function’s | |
// argument length (or an explicit `startIndex`), into an array that becomes | |
// the last argument. Similar to ES6’s "rest parameter". | |
function restArguments(func, startIndex) { | |
startIndex = startIndex == null ? func.length - 1 : +startIndex; | |
return function() { | |
var length = Math.max(arguments.length - startIndex, 0), | |
rest = Array(length), | |
index = 0; | |
for (; index < length; index++) { | |
rest[index] = arguments[index + startIndex]; | |
} | |
switch (startIndex) { | |
case 0: return func.call(this, rest); | |
case 1: return func.call(this, arguments[0], rest); | |
case 2: return func.call(this, arguments[0], arguments[1], rest); | |
} | |
var args = Array(startIndex + 1); | |
for (index = 0; index < startIndex; index++) { | |
args[index] = arguments[index]; | |
} | |
args[startIndex] = rest; | |
return func.apply(this, args); | |
}; | |
} | |
/***/ }), | |
/* 7 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); | |
var isFunction = Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Function'); | |
// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old | |
// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). | |
var nodelist = _setup_js__WEBPACK_IMPORTED_MODULE_1__[/* root */ "p"].document && _setup_js__WEBPACK_IMPORTED_MODULE_1__[/* root */ "p"].document.childNodes; | |
if ( true && typeof Int8Array != 'object' && typeof nodelist != 'function') { | |
isFunction = function(obj) { | |
return typeof obj == 'function' || false; | |
}; | |
} | |
/* harmony default export */ __webpack_exports__["a"] = (isFunction); | |
/***/ }), | |
/* 8 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createSizePropertyCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9); | |
// Internal helper for collection methods to determine whether a collection | |
// should be iterated as an array or as an object. | |
// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength | |
// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createSizePropertyCheck_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_getLength_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])); | |
/***/ }), | |
/* 9 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _shallowProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82); | |
// Internal helper to obtain the `length` property of an object. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_shallowProperty_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('length')); | |
/***/ }), | |
/* 10 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return initial_grid_; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return generation_; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return size_; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return x_; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return y_; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return grid_; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return new_grid_; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return alive_; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return neighbours_alive_; }); | |
/* harmony import */ var _game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1); | |
const initial_grid_ = ({ | |
initial_grid_in | |
}) => initial_grid_in; | |
const generation_ = ({ | |
generation_in | |
}) => generation_in; | |
const size_ = ({ | |
size_in | |
}) => size_in; | |
const x_ = ({ | |
x_in | |
}) => x_in; | |
const y_ = ({ | |
y_in | |
}) => y_in; | |
const grid_ = ({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
y_in, | |
x_in | |
}) => { | |
for (var i = 0; i < Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["generation"])({ | |
generation_in | |
}); i++) Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["grid"])({ | |
initial_grid_in, | |
size_in, | |
y_in, | |
x_in, | |
generation_in: i | |
}); // a perf hint when used with memo | |
return Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["generation"])({ | |
generation_in | |
}) == 0 ? Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["initial_grid"])({ | |
initial_grid_in | |
}) : Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["new_grid"])({ | |
size_in, | |
generation_in, | |
initial_grid_in | |
}); | |
}; | |
const new_grid_ = ({ | |
size_in, | |
generation_in, | |
initial_grid_in | |
}) => [...Array(Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["size"])({ | |
size_in | |
})).keys()].map(row => [...Array(Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["size"])({ | |
size_in | |
})).keys()].map(col => Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
x_in: col, | |
y_in: row | |
}))); | |
const alive_ = ({ | |
generation_in, | |
initial_grid_in, | |
y_in, | |
x_in, | |
size_in | |
}) => { | |
if (Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["generation"])({ | |
generation_in | |
}) == 0) return Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["initial_grid"])({ | |
initial_grid_in | |
})[Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
})][Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
})]; | |
const was_alive = Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
initial_grid_in, | |
y_in, | |
x_in, | |
size_in, | |
generation_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["generation"])({ | |
generation_in | |
}) - 1 | |
}); | |
const neighbours = Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["neighbours_alive"])({ | |
y_in, | |
x_in, | |
size_in, | |
initial_grid_in, | |
generation_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["generation"])({ | |
generation_in | |
}) - 1 | |
}); | |
if (was_alive) { | |
switch (neighbours) { | |
case 2: | |
case 3: | |
return 1; | |
default: | |
return 0; | |
} | |
} else { | |
if (neighbours == 3) return 1;else return 0; | |
} | |
}; | |
const neighbours_alive_ = ({ | |
y_in, | |
x_in, | |
size_in, | |
generation_in, | |
initial_grid_in | |
}) => { | |
var ans = 0; // central square | |
if (Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) != 0 && Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}) != 0 && Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) != Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["size"])({ | |
size_in | |
}) - 1 && Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}) != Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["size"])({ | |
size_in | |
}) - 1) ans = Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
/* generation_in: generation() - 1, */ | |
x_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}) - 1, | |
y_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) - 1 | |
}) + Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
/* generation_in: generation() - 1, */ | |
x_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}), | |
y_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) - 1 | |
}) + Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
/* generation_in: generation() - 1, */ | |
x_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}) - 1, | |
y_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) | |
}) + Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
/* generation_in: generation() - 1, */ | |
x_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}) + 1, | |
y_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) | |
}) + Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
/* generation_in: generation() - 1, */ | |
x_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}) + 1, | |
y_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) - 1 | |
}) + Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
/* generation_in: generation() - 1, */ | |
x_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}) - 1, | |
y_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) + 1 | |
}) + Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
/* generation_in: generation() - 1, */ | |
x_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}), | |
y_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) + 1 | |
}) + Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["alive"])({ | |
generation_in, | |
initial_grid_in, | |
size_in, | |
/* generation_in: generation() - 1, */ | |
x_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["x"])({ | |
x_in | |
}) + 1, | |
y_in: Object(_game_of_life_cul_js__WEBPACK_IMPORTED_MODULE_0__["y"])({ | |
y_in | |
}) + 1 | |
});else ans = 0; // just for now only process central squares | |
return ans; | |
}; | |
/* | |
([...Array(size()).keys()].map(row => [...Array(size()).keys()].map(col => ))) | |
export const grid_xy = () => ()*/ | |
/***/ }), | |
/* 11 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return each; }); | |
/* harmony import */ var _optimizeCb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2); | |
// The cornerstone for collection functions, an `each` | |
// implementation, aka `forEach`. | |
// Handles raw objects in addition to array-likes. Treats all | |
// sparse array-likes as if they were dense. | |
function each(obj, iteratee, context) { | |
iteratee = Object(_optimizeCb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(iteratee, context); | |
var i, length; | |
if (Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj)) { | |
for (i = 0, length = obj.length; i < length; i++) { | |
iteratee(obj[i], i, obj); | |
} | |
} else { | |
var _keys = Object(_keys_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj); | |
for (i = 0, length = _keys.length; i < length; i++) { | |
iteratee(obj[_keys[i]], _keys[i], obj); | |
} | |
} | |
return obj; | |
} | |
/***/ }), | |
/* 12 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return has; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
// Internal function to check whether `key` is an own property name of `obj`. | |
function has(obj, key) { | |
return obj != null && _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* hasOwnProperty */ "i"].call(obj, key); | |
} | |
/***/ }), | |
/* 13 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isObject; }); | |
// Is a given variable an object? | |
function isObject(obj) { | |
var type = typeof obj; | |
return type === 'function' || type === 'object' && !!obj; | |
} | |
/***/ }), | |
/* 14 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4); | |
// Is a given value an array? | |
// Delegates to ECMA5's native `Array.isArray`. | |
/* harmony default export */ __webpack_exports__["a"] = (_setup_js__WEBPACK_IMPORTED_MODULE_0__[/* nativeIsArray */ "k"] || Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])('Array')); | |
/***/ }), | |
/* 15 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return contains; }); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); | |
/* harmony import */ var _values_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17); | |
/* harmony import */ var _indexOf_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75); | |
// Determine if the array or object contains a given item (using `===`). | |
function contains(obj, item, fromIndex, guard) { | |
if (!Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj)) obj = Object(_values_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj); | |
if (typeof fromIndex != 'number' || guard) fromIndex = 0; | |
return Object(_indexOf_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj, item, fromIndex) >= 0; | |
} | |
/***/ }), | |
/* 16 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return map; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2); | |
// Return the results of applying the iteratee to each element. | |
function map(obj, iteratee, context) { | |
iteratee = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(iteratee, context); | |
var _keys = !Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj) && Object(_keys_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj), | |
length = (_keys || obj).length, | |
results = Array(length); | |
for (var index = 0; index < length; index++) { | |
var currentKey = _keys ? _keys[index] : index; | |
results[index] = iteratee(obj[currentKey], currentKey, obj); | |
} | |
return results; | |
} | |
/***/ }), | |
/* 17 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return values; }); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2); | |
// Retrieve the values of an object's properties. | |
function values(obj) { | |
var _keys = Object(_keys_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj); | |
var length = _keys.length; | |
var values = Array(length); | |
for (var i = 0; i < length; i++) { | |
values[i] = obj[_keys[i]]; | |
} | |
return values; | |
} | |
/***/ }), | |
/* 18 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return flatten; }); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8); | |
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14); | |
/* harmony import */ var _isArguments_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37); | |
// Internal implementation of a recursive `flatten` function. | |
function flatten(input, depth, strict, output) { | |
output = output || []; | |
if (!depth && depth !== 0) { | |
depth = Infinity; | |
} else if (depth <= 0) { | |
return output.concat(input); | |
} | |
var idx = output.length; | |
for (var i = 0, length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(input); i < length; i++) { | |
var value = input[i]; | |
if (Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(value) && (Object(_isArray_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(value) || Object(_isArguments_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(value))) { | |
// Flatten current level of array or arguments object. | |
if (depth > 1) { | |
flatten(value, depth - 1, strict, output); | |
idx = output.length; | |
} else { | |
var j = 0, len = value.length; | |
while (j < len) output[idx++] = value[j++]; | |
} | |
} else if (!strict) { | |
output[idx++] = value; | |
} | |
} | |
return output; | |
} | |
/***/ }), | |
/* 19 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return filter; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11); | |
// Return all the elements that pass a truth test. | |
function filter(obj, predicate, context) { | |
var results = []; | |
predicate = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(predicate, context); | |
Object(_each_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj, function(value, index, list) { | |
if (predicate(value, index, list)) results.push(value); | |
}); | |
return results; | |
} | |
/***/ }), | |
/* 20 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return allKeys; }); | |
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); | |
/* harmony import */ var _collectNonEnumProps_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83); | |
// Retrieve all the enumerable property names of an object. | |
function allKeys(obj) { | |
if (!Object(_isObject_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj)) return []; | |
var keys = []; | |
for (var key in obj) keys.push(key); | |
// Ahem, IE < 9. | |
if (_setup_js__WEBPACK_IMPORTED_MODULE_1__[/* hasEnumBug */ "h"]) Object(_collectNonEnumProps_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj, keys); | |
return keys; | |
} | |
/***/ }), | |
/* 21 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasStringTagBug; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isIE11; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
/* harmony import */ var _hasObjectTag_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97); | |
// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. | |
// In IE 11, the most common among them, this problem also applies to | |
// `Map`, `WeakMap` and `Set`. | |
var hasStringTagBug = ( | |
_setup_js__WEBPACK_IMPORTED_MODULE_0__[/* supportsDataView */ "s"] && Object(_hasObjectTag_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(new DataView(new ArrayBuffer(8))) | |
), | |
isIE11 = (typeof Map !== 'undefined' && Object(_hasObjectTag_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(new Map)); | |
/***/ }), | |
/* 22 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return toPath; }); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
/* harmony import */ var _toPath_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92); | |
// Internal wrapper for `_.toPath` to enable minification. | |
// Similar to `cb` for `_.iteratee`. | |
function toPath(path) { | |
return _underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].toPath(path); | |
} | |
/***/ }), | |
/* 23 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return optimizeCb; }); | |
// Internal function that returns an efficient (for current engines) version | |
// of the passed-in callback, to be repeatedly applied in other Underscore | |
// functions. | |
function optimizeCb(func, context, argCount) { | |
if (context === void 0) return func; | |
switch (argCount == null ? 3 : argCount) { | |
case 1: return function(value) { | |
return func.call(context, value); | |
}; | |
// The 2-argument case is omitted because we’re not using it. | |
case 3: return function(value, index, collection) { | |
return func.call(context, value, index, collection); | |
}; | |
case 4: return function(accumulator, value, index, collection) { | |
return func.call(context, accumulator, value, index, collection); | |
}; | |
} | |
return function() { | |
return func.apply(context, arguments); | |
}; | |
} | |
/***/ }), | |
/* 24 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
// | |
var hasOwn = function hasOwn(object, key) { | |
return Object.prototype.hasOwnProperty.call(object, key); | |
}; | |
function deepEquals(equals, deepObjects) { | |
function deep(valueA, valueB) { | |
if (equals(valueA, valueB)) { | |
return true; | |
} | |
if (Array.isArray(valueA)) { | |
if (!Array.isArray(valueB) || valueA.length !== valueB.length) { | |
return false; | |
} // Check deep equality of each value in A against the same indexed value in B | |
if (!valueA.every(function (value, index) { | |
return deep(value, valueB[index]); | |
})) { | |
return false; | |
} // could not find unequal items | |
return true; | |
} | |
if (Array.isArray(valueB)) { | |
return false; | |
} | |
if (typeof valueA === "object") { | |
if (typeof valueB !== "object") { | |
return false; | |
} | |
var isANull = valueA === null; | |
var isBNull = valueB === null; | |
if (isANull || isBNull) { | |
return isANull === isBNull; | |
} | |
var aKeys = Object.keys(valueA); | |
var bKeys = Object.keys(valueB); | |
if (aKeys.length !== bKeys.length) { | |
return false; | |
} // Should we compare with shallow equivalence or deep equivalence? | |
var equalityChecker = deepObjects ? deep : equals; // Check if objects share same keys, and each of those keys are equal | |
if (!aKeys.every(function (aKey) { | |
return hasOwn(valueA, aKey) && hasOwn(valueB, aKey) && equalityChecker(valueA[aKey], valueB[aKey]); | |
})) { | |
return false; | |
} // could not find unequal keys or values | |
return true; | |
} | |
return false; | |
} | |
return deep; | |
} | |
// | |
var findIndex = function findIndex(arr, fn) { | |
for (var i = 0; i < arr.length; i++) { | |
if (fn(arr[i])) { | |
return i; | |
} | |
} | |
return -1; | |
}; | |
function lruCache(limit, equals) { | |
var entries = []; | |
function get(key) { | |
var cacheIndex = findIndex(entries, function (entry) { | |
return equals(key, entry.key); | |
}); // We found a cached entry | |
if (cacheIndex > -1) { | |
var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top | |
if (cacheIndex > 0) { | |
entries.splice(cacheIndex, 1); | |
entries.unshift(entry); | |
} | |
return entry.value; | |
} // No entry found in cache, return null | |
return undefined; | |
} | |
function put(key, value) { | |
if (!get(key)) { | |
entries.unshift({ | |
key: key, | |
value: value | |
}); | |
if (entries.length > limit) { | |
entries.pop(); | |
} | |
} | |
} | |
return { | |
get: get, | |
put: put | |
}; | |
} | |
// | |
function singletonCache(equals) { | |
var entry; | |
return { | |
get: function get(key) { | |
if (entry && equals(key, entry.key)) { | |
return entry.value; | |
} | |
}, | |
put: function put(key, value) { | |
entry = { | |
key: key, | |
value: value | |
}; | |
} | |
}; | |
} | |
// | |
function createCache(limit, equals) { | |
return limit === 1 ? singletonCache(equals) : lruCache(limit, equals); | |
} | |
function createEqualsFn(basicEquals, deepObjects) { | |
// Choose strategy for basic or deep object equals | |
var equals = deepObjects ? deepEquals(basicEquals, deepObjects) : basicEquals; | |
return function (valueA, valueB) { | |
// The arguments are always the argument array-like objects | |
// Different lengths means they are not the same | |
if (valueA.length !== valueB.length) { | |
return false; | |
} // Compare the values | |
for (var index = 0; index < valueA.length; index += 1) { | |
if (!equals(valueA[index], valueB[index])) { | |
return false; | |
} | |
} // Found no conflicts | |
return true; | |
}; | |
} | |
function memoize() { | |
var limit = 1; | |
var equals = function equals(valueA, valueB) { | |
return valueA === valueB; | |
}; | |
var deepObjects = false; | |
for (var _len = arguments.length, config = new Array(_len), _key = 0; _key < _len; _key++) { | |
config[_key] = arguments[_key]; | |
} | |
if (typeof config[0] === "number") { | |
limit = config.shift(); | |
} | |
if (typeof config[0] === "function") { | |
equals = config.shift(); | |
} else if (typeof config[0] === "undefined") { | |
// Support passing undefined equal argument; | |
config.shift(); | |
} | |
if (typeof config[0] === "boolean") { | |
deepObjects = config[0]; | |
} | |
var cache = createCache(limit, createEqualsFn(equals, deepObjects)); | |
return function (fn) { | |
return function () { | |
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { | |
args[_key2] = arguments[_key2]; | |
} | |
var value = cache.get(args); | |
if (value === undefined) { | |
value = fn.apply(fn, args); | |
cache.put(args, value); | |
} | |
return value; | |
}; | |
}; | |
} | |
/* harmony default export */ __webpack_exports__["a"] = (memoize); | |
/***/ }), | |
/* 25 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _index_default_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(99); | |
/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _index_js__WEBPACK_IMPORTED_MODULE_1__["isEqual"]; }); | |
// ESM Exports | |
// =========== | |
// This module is the package entry point for ES module users. In other words, | |
// it is the module they are interfacing with when they import from the whole | |
// package instead of from a submodule, like this: | |
// | |
// ```js | |
// import { map } from 'underscore'; | |
// ``` | |
// | |
// The difference with `./index-default`, which is the package entry point for | |
// CommonJS, AMD and UMD users, is purely technical. In ES modules, named and | |
// default exports are considered to be siblings, so when you have a default | |
// export, its properties are not automatically available as named exports. For | |
// this reason, we re-export the named exports in addition to providing the same | |
// default export as in `./index-default`. | |
/***/ }), | |
/* 26 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return matcher; }); | |
/* harmony import */ var _extendOwn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); | |
/* harmony import */ var _isMatch_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61); | |
// Returns a predicate for checking whether an object has a given set of | |
// `key:value` pairs. | |
function matcher(attrs) { | |
attrs = Object(_extendOwn_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, attrs); | |
return function(obj) { | |
return Object(_isMatch_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj, attrs); | |
}; | |
} | |
/***/ }), | |
/* 27 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ie11fingerprint; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return mapMethods; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return weakMapMethods; }); | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return setMethods; }); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); | |
/* harmony import */ var _allKeys_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20); | |
// Since the regular `Object.prototype.toString` type tests don't work for | |
// some types in IE 11, we use a fingerprinting heuristic instead, based | |
// on the methods. It's not great, but it's the best we got. | |
// The fingerprint method lists are defined below. | |
function ie11fingerprint(methods) { | |
var length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(methods); | |
return function(obj) { | |
if (obj == null) return false; | |
// `Map`, `WeakMap` and `Set` have no enumerable keys. | |
var keys = Object(_allKeys_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj); | |
if (Object(_getLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(keys)) return false; | |
for (var i = 0; i < length; i++) { | |
if (!Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj[methods[i]])) return false; | |
} | |
// If we are testing against `WeakMap`, we need to ensure that | |
// `obj` doesn't have a `forEach` method in order to distinguish | |
// it from a regular `Map`. | |
return methods !== weakMapMethods || !Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj[forEachName]); | |
}; | |
} | |
// In the interest of compact minification, we write | |
// each string in the fingerprints only once. | |
var forEachName = 'forEach', | |
hasName = 'has', | |
commonInit = ['clear', 'delete'], | |
mapTail = ['get', hasName, 'set']; | |
// `Map`, `WeakMap` and `Set` each have slightly different | |
// combinations of the above sublists. | |
var mapMethods = commonInit.concat(forEachName, mapTail), | |
weakMapMethods = commonInit.concat(mapTail), | |
setMethods = ['add'].concat(commonInit, forEachName, hasName); | |
/***/ }), | |
/* 28 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _executeBound_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(88); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3); | |
// Partially apply a function by creating a version that has had some of its | |
// arguments pre-filled, without changing its dynamic `this` context. `_` acts | |
// as a placeholder by default, allowing any combination of arguments to be | |
// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. | |
var partial = Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(func, boundArgs) { | |
var placeholder = partial.placeholder; | |
var bound = function() { | |
var position = 0, length = boundArgs.length; | |
var args = Array(length); | |
for (var i = 0; i < length; i++) { | |
args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; | |
} | |
while (position < arguments.length) args.push(arguments[position++]); | |
return Object(_executeBound_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(func, bound, this, this, args); | |
}; | |
return bound; | |
}); | |
partial.placeholder = _underscore_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"]; | |
/* harmony default export */ __webpack_exports__["a"] = (partial); | |
/***/ }), | |
/* 29 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
// A (possibly faster) way to get the current timestamp as an integer. | |
/* harmony default export */ __webpack_exports__["a"] = (Date.now || function() { | |
return new Date().getTime(); | |
}); | |
/***/ }), | |
/* 30 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return group; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11); | |
// An internal function used for aggregate "group by" operations. | |
function group(behavior, partition) { | |
return function(obj, iteratee, context) { | |
var result = partition ? [[], []] : {}; | |
iteratee = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(iteratee, context); | |
Object(_each_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj, function(value, index) { | |
var key = iteratee(value, index, obj); | |
behavior(result, value, key); | |
}); | |
return result; | |
}; | |
} | |
/***/ }), | |
/* 31 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createAssigner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2); | |
// Assigns a given object with all the own properties in the passed-in | |
// object(s). | |
// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createAssigner_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_keys_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])); | |
/***/ }), | |
/* 32 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); | |
/* harmony import */ var _isArrayBuffer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57); | |
/* harmony import */ var _stringTagBug_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21); | |
var isDataView = Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('DataView'); | |
// In IE 10 - Edge 13, we need a different heuristic | |
// to determine whether an object is a `DataView`. | |
function ie10IsDataView(obj) { | |
return obj != null && Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj.getInt8) && Object(_isArrayBuffer_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj.buffer); | |
} | |
/* harmony default export */ __webpack_exports__["a"] = (_stringTagBug_js__WEBPACK_IMPORTED_MODULE_3__[/* hasStringTagBug */ "a"] ? ie10IsDataView : isDataView); | |
/***/ }), | |
/* 33 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _shallowProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82); | |
// Internal helper to obtain the `byteLength` property of an object. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_shallowProperty_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('byteLength')); | |
/***/ }), | |
/* 34 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return rest; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
// Returns everything but the first entry of the `array`. Especially useful on | |
// the `arguments` object. Passing an **n** will return the rest N values in the | |
// `array`. | |
function rest(array, n, guard) { | |
return _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* slice */ "q"].call(array, n == null || guard ? 1 : n); | |
} | |
/***/ }), | |
/* 35 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
__webpack_require__.r(__webpack_exports__); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return _setup_js__WEBPACK_IMPORTED_MODULE_0__["e"]; }); | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "restArguments", function() { return _restArguments_js__WEBPACK_IMPORTED_MODULE_1__["a"]; }); | |
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isObject", function() { return _isObject_js__WEBPACK_IMPORTED_MODULE_2__["a"]; }); | |
/* harmony import */ var _isNull_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(100); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isNull", function() { return _isNull_js__WEBPACK_IMPORTED_MODULE_3__["a"]; }); | |
/* harmony import */ var _isUndefined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isUndefined", function() { return _isUndefined_js__WEBPACK_IMPORTED_MODULE_4__["a"]; }); | |
/* harmony import */ var _isBoolean_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(54); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isBoolean", function() { return _isBoolean_js__WEBPACK_IMPORTED_MODULE_5__["a"]; }); | |
/* harmony import */ var _isElement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(101); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isElement", function() { return _isElement_js__WEBPACK_IMPORTED_MODULE_6__["a"]; }); | |
/* harmony import */ var _isString_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(36); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isString", function() { return _isString_js__WEBPACK_IMPORTED_MODULE_7__["a"]; }); | |
/* harmony import */ var _isNumber_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(55); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isNumber", function() { return _isNumber_js__WEBPACK_IMPORTED_MODULE_8__["a"]; }); | |
/* harmony import */ var _isDate_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(102); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isDate", function() { return _isDate_js__WEBPACK_IMPORTED_MODULE_9__["a"]; }); | |
/* harmony import */ var _isRegExp_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(103); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isRegExp", function() { return _isRegExp_js__WEBPACK_IMPORTED_MODULE_10__["a"]; }); | |
/* harmony import */ var _isError_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(104); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isError", function() { return _isError_js__WEBPACK_IMPORTED_MODULE_11__["a"]; }); | |
/* harmony import */ var _isSymbol_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(56); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isSymbol", function() { return _isSymbol_js__WEBPACK_IMPORTED_MODULE_12__["a"]; }); | |
/* harmony import */ var _isArrayBuffer_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(57); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isArrayBuffer", function() { return _isArrayBuffer_js__WEBPACK_IMPORTED_MODULE_13__["a"]; }); | |
/* harmony import */ var _isDataView_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(32); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isDataView", function() { return _isDataView_js__WEBPACK_IMPORTED_MODULE_14__["a"]; }); | |
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(14); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isArray", function() { return _isArray_js__WEBPACK_IMPORTED_MODULE_15__["a"]; }); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(7); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isFunction", function() { return _isFunction_js__WEBPACK_IMPORTED_MODULE_16__["a"]; }); | |
/* harmony import */ var _isArguments_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isArguments", function() { return _isArguments_js__WEBPACK_IMPORTED_MODULE_17__["a"]; }); | |
/* harmony import */ var _isFinite_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(105); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isFinite", function() { return _isFinite_js__WEBPACK_IMPORTED_MODULE_18__["a"]; }); | |
/* harmony import */ var _isNaN_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(58); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isNaN", function() { return _isNaN_js__WEBPACK_IMPORTED_MODULE_19__["a"]; }); | |
/* harmony import */ var _isTypedArray_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isTypedArray", function() { return _isTypedArray_js__WEBPACK_IMPORTED_MODULE_20__["a"]; }); | |
/* harmony import */ var _isEmpty_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(106); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isEmpty", function() { return _isEmpty_js__WEBPACK_IMPORTED_MODULE_21__["a"]; }); | |
/* harmony import */ var _isMatch_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(61); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isMatch", function() { return _isMatch_js__WEBPACK_IMPORTED_MODULE_22__["a"]; }); | |
/* harmony import */ var _isEqual_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(107); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isEqual", function() { return _isEqual_js__WEBPACK_IMPORTED_MODULE_23__["a"]; }); | |
/* harmony import */ var _isMap_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(108); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isMap", function() { return _isMap_js__WEBPACK_IMPORTED_MODULE_24__["a"]; }); | |
/* harmony import */ var _isWeakMap_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(109); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isWeakMap", function() { return _isWeakMap_js__WEBPACK_IMPORTED_MODULE_25__["a"]; }); | |
/* harmony import */ var _isSet_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(110); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isSet", function() { return _isSet_js__WEBPACK_IMPORTED_MODULE_26__["a"]; }); | |
/* harmony import */ var _isWeakSet_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(111); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isWeakSet", function() { return _isWeakSet_js__WEBPACK_IMPORTED_MODULE_27__["a"]; }); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(2); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "keys", function() { return _keys_js__WEBPACK_IMPORTED_MODULE_28__["a"]; }); | |
/* harmony import */ var _allKeys_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(20); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "allKeys", function() { return _allKeys_js__WEBPACK_IMPORTED_MODULE_29__["a"]; }); | |
/* harmony import */ var _values_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(17); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "values", function() { return _values_js__WEBPACK_IMPORTED_MODULE_30__["a"]; }); | |
/* harmony import */ var _pairs_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(112); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "pairs", function() { return _pairs_js__WEBPACK_IMPORTED_MODULE_31__["a"]; }); | |
/* harmony import */ var _invert_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(62); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "invert", function() { return _invert_js__WEBPACK_IMPORTED_MODULE_32__["a"]; }); | |
/* harmony import */ var _functions_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(45); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "functions", function() { return _functions_js__WEBPACK_IMPORTED_MODULE_33__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "methods", function() { return _functions_js__WEBPACK_IMPORTED_MODULE_33__["a"]; }); | |
/* harmony import */ var _extend_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(63); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "extend", function() { return _extend_js__WEBPACK_IMPORTED_MODULE_34__["a"]; }); | |
/* harmony import */ var _extendOwn_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(31); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "extendOwn", function() { return _extendOwn_js__WEBPACK_IMPORTED_MODULE_35__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "assign", function() { return _extendOwn_js__WEBPACK_IMPORTED_MODULE_35__["a"]; }); | |
/* harmony import */ var _defaults_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(64); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaults", function() { return _defaults_js__WEBPACK_IMPORTED_MODULE_36__["a"]; }); | |
/* harmony import */ var _create_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(113); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "create", function() { return _create_js__WEBPACK_IMPORTED_MODULE_37__["a"]; }); | |
/* harmony import */ var _clone_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(65); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "clone", function() { return _clone_js__WEBPACK_IMPORTED_MODULE_38__["a"]; }); | |
/* harmony import */ var _tap_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(114); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tap", function() { return _tap_js__WEBPACK_IMPORTED_MODULE_39__["a"]; }); | |
/* harmony import */ var _get_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(66); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "get", function() { return _get_js__WEBPACK_IMPORTED_MODULE_40__["a"]; }); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(115); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "has", function() { return _has_js__WEBPACK_IMPORTED_MODULE_41__["a"]; }); | |
/* harmony import */ var _mapObject_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(116); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "mapObject", function() { return _mapObject_js__WEBPACK_IMPORTED_MODULE_42__["a"]; }); | |
/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(38); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "identity", function() { return _identity_js__WEBPACK_IMPORTED_MODULE_43__["a"]; }); | |
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(60); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "constant", function() { return _constant_js__WEBPACK_IMPORTED_MODULE_44__["a"]; }); | |
/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(68); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "noop", function() { return _noop_js__WEBPACK_IMPORTED_MODULE_45__["a"]; }); | |
/* harmony import */ var _toPath_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(92); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "toPath", function() { return _toPath_js__WEBPACK_IMPORTED_MODULE_46__["a"]; }); | |
/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(39); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "property", function() { return _property_js__WEBPACK_IMPORTED_MODULE_47__["a"]; }); | |
/* harmony import */ var _propertyOf_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(117); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyOf", function() { return _propertyOf_js__WEBPACK_IMPORTED_MODULE_48__["a"]; }); | |
/* harmony import */ var _matcher_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(26); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "matcher", function() { return _matcher_js__WEBPACK_IMPORTED_MODULE_49__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "matches", function() { return _matcher_js__WEBPACK_IMPORTED_MODULE_49__["a"]; }); | |
/* harmony import */ var _times_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(118); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "times", function() { return _times_js__WEBPACK_IMPORTED_MODULE_50__["a"]; }); | |
/* harmony import */ var _random_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(49); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "random", function() { return _random_js__WEBPACK_IMPORTED_MODULE_51__["a"]; }); | |
/* harmony import */ var _now_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(29); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "now", function() { return _now_js__WEBPACK_IMPORTED_MODULE_52__["a"]; }); | |
/* harmony import */ var _escape_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(119); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "escape", function() { return _escape_js__WEBPACK_IMPORTED_MODULE_53__["a"]; }); | |
/* harmony import */ var _unescape_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(120); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "unescape", function() { return _unescape_js__WEBPACK_IMPORTED_MODULE_54__["a"]; }); | |
/* harmony import */ var _templateSettings_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(93); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "templateSettings", function() { return _templateSettings_js__WEBPACK_IMPORTED_MODULE_55__["a"]; }); | |
/* harmony import */ var _template_js__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(121); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "template", function() { return _template_js__WEBPACK_IMPORTED_MODULE_56__["a"]; }); | |
/* harmony import */ var _result_js__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(122); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "result", function() { return _result_js__WEBPACK_IMPORTED_MODULE_57__["a"]; }); | |
/* harmony import */ var _uniqueId_js__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(123); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "uniqueId", function() { return _uniqueId_js__WEBPACK_IMPORTED_MODULE_58__["a"]; }); | |
/* harmony import */ var _chain_js__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(124); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chain", function() { return _chain_js__WEBPACK_IMPORTED_MODULE_59__["a"]; }); | |
/* harmony import */ var _iteratee_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(67); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "iteratee", function() { return _iteratee_js__WEBPACK_IMPORTED_MODULE_60__["a"]; }); | |
/* harmony import */ var _partial_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(28); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "partial", function() { return _partial_js__WEBPACK_IMPORTED_MODULE_61__["a"]; }); | |
/* harmony import */ var _bind_js__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(69); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "bind", function() { return _bind_js__WEBPACK_IMPORTED_MODULE_62__["a"]; }); | |
/* harmony import */ var _bindAll_js__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(125); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "bindAll", function() { return _bindAll_js__WEBPACK_IMPORTED_MODULE_63__["a"]; }); | |
/* harmony import */ var _memoize_js__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(126); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "memoize", function() { return _memoize_js__WEBPACK_IMPORTED_MODULE_64__["a"]; }); | |
/* harmony import */ var _delay_js__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(70); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "delay", function() { return _delay_js__WEBPACK_IMPORTED_MODULE_65__["a"]; }); | |
/* harmony import */ var _defer_js__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(127); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defer", function() { return _defer_js__WEBPACK_IMPORTED_MODULE_66__["a"]; }); | |
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(128); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "throttle", function() { return _throttle_js__WEBPACK_IMPORTED_MODULE_67__["a"]; }); | |
/* harmony import */ var _debounce_js__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(129); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "debounce", function() { return _debounce_js__WEBPACK_IMPORTED_MODULE_68__["a"]; }); | |
/* harmony import */ var _wrap_js__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(130); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "wrap", function() { return _wrap_js__WEBPACK_IMPORTED_MODULE_69__["a"]; }); | |
/* harmony import */ var _negate_js__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(40); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "negate", function() { return _negate_js__WEBPACK_IMPORTED_MODULE_70__["a"]; }); | |
/* harmony import */ var _compose_js__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(131); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "compose", function() { return _compose_js__WEBPACK_IMPORTED_MODULE_71__["a"]; }); | |
/* harmony import */ var _after_js__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(132); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "after", function() { return _after_js__WEBPACK_IMPORTED_MODULE_72__["a"]; }); | |
/* harmony import */ var _before_js__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(71); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "before", function() { return _before_js__WEBPACK_IMPORTED_MODULE_73__["a"]; }); | |
/* harmony import */ var _once_js__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(133); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "once", function() { return _once_js__WEBPACK_IMPORTED_MODULE_74__["a"]; }); | |
/* harmony import */ var _findKey_js__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(72); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "findKey", function() { return _findKey_js__WEBPACK_IMPORTED_MODULE_75__["a"]; }); | |
/* harmony import */ var _findIndex_js__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(41); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "findIndex", function() { return _findIndex_js__WEBPACK_IMPORTED_MODULE_76__["a"]; }); | |
/* harmony import */ var _findLastIndex_js__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(73); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "findLastIndex", function() { return _findLastIndex_js__WEBPACK_IMPORTED_MODULE_77__["a"]; }); | |
/* harmony import */ var _sortedIndex_js__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(74); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sortedIndex", function() { return _sortedIndex_js__WEBPACK_IMPORTED_MODULE_78__["a"]; }); | |
/* harmony import */ var _indexOf_js__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(75); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "indexOf", function() { return _indexOf_js__WEBPACK_IMPORTED_MODULE_79__["a"]; }); | |
/* harmony import */ var _lastIndexOf_js__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(134); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "lastIndexOf", function() { return _lastIndexOf_js__WEBPACK_IMPORTED_MODULE_80__["a"]; }); | |
/* harmony import */ var _find_js__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(46); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "find", function() { return _find_js__WEBPACK_IMPORTED_MODULE_81__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "detect", function() { return _find_js__WEBPACK_IMPORTED_MODULE_81__["a"]; }); | |
/* harmony import */ var _findWhere_js__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(135); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "findWhere", function() { return _findWhere_js__WEBPACK_IMPORTED_MODULE_82__["a"]; }); | |
/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(11); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "each", function() { return _each_js__WEBPACK_IMPORTED_MODULE_83__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "forEach", function() { return _each_js__WEBPACK_IMPORTED_MODULE_83__["a"]; }); | |
/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(16); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "map", function() { return _map_js__WEBPACK_IMPORTED_MODULE_84__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "collect", function() { return _map_js__WEBPACK_IMPORTED_MODULE_84__["a"]; }); | |
/* harmony import */ var _reduce_js__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(51); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reduce", function() { return _reduce_js__WEBPACK_IMPORTED_MODULE_85__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "foldl", function() { return _reduce_js__WEBPACK_IMPORTED_MODULE_85__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "inject", function() { return _reduce_js__WEBPACK_IMPORTED_MODULE_85__["a"]; }); | |
/* harmony import */ var _reduceRight_js__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(94); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reduceRight", function() { return _reduceRight_js__WEBPACK_IMPORTED_MODULE_86__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "foldr", function() { return _reduceRight_js__WEBPACK_IMPORTED_MODULE_86__["a"]; }); | |
/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(19); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "filter", function() { return _filter_js__WEBPACK_IMPORTED_MODULE_87__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "select", function() { return _filter_js__WEBPACK_IMPORTED_MODULE_87__["a"]; }); | |
/* harmony import */ var _reject_js__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(136); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "reject", function() { return _reject_js__WEBPACK_IMPORTED_MODULE_88__["a"]; }); | |
/* harmony import */ var _every_js__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(95); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "every", function() { return _every_js__WEBPACK_IMPORTED_MODULE_89__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "all", function() { return _every_js__WEBPACK_IMPORTED_MODULE_89__["a"]; }); | |
/* harmony import */ var _some_js__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(96); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "some", function() { return _some_js__WEBPACK_IMPORTED_MODULE_90__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "any", function() { return _some_js__WEBPACK_IMPORTED_MODULE_90__["a"]; }); | |
/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(15); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "contains", function() { return _contains_js__WEBPACK_IMPORTED_MODULE_91__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "includes", function() { return _contains_js__WEBPACK_IMPORTED_MODULE_91__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "include", function() { return _contains_js__WEBPACK_IMPORTED_MODULE_91__["a"]; }); | |
/* harmony import */ var _invoke_js__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(137); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "invoke", function() { return _invoke_js__WEBPACK_IMPORTED_MODULE_92__["a"]; }); | |
/* harmony import */ var _pluck_js__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(42); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "pluck", function() { return _pluck_js__WEBPACK_IMPORTED_MODULE_93__["a"]; }); | |
/* harmony import */ var _where_js__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(138); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "where", function() { return _where_js__WEBPACK_IMPORTED_MODULE_94__["a"]; }); | |
/* harmony import */ var _max_js__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(76); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "max", function() { return _max_js__WEBPACK_IMPORTED_MODULE_95__["a"]; }); | |
/* harmony import */ var _min_js__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(139); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "min", function() { return _min_js__WEBPACK_IMPORTED_MODULE_96__["a"]; }); | |
/* harmony import */ var _shuffle_js__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(140); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shuffle", function() { return _shuffle_js__WEBPACK_IMPORTED_MODULE_97__["a"]; }); | |
/* harmony import */ var _sample_js__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(77); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sample", function() { return _sample_js__WEBPACK_IMPORTED_MODULE_98__["a"]; }); | |
/* harmony import */ var _sortBy_js__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(141); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sortBy", function() { return _sortBy_js__WEBPACK_IMPORTED_MODULE_99__["a"]; }); | |
/* harmony import */ var _groupBy_js__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(142); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "groupBy", function() { return _groupBy_js__WEBPACK_IMPORTED_MODULE_100__["a"]; }); | |
/* harmony import */ var _indexBy_js__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(143); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "indexBy", function() { return _indexBy_js__WEBPACK_IMPORTED_MODULE_101__["a"]; }); | |
/* harmony import */ var _countBy_js__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(144); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "countBy", function() { return _countBy_js__WEBPACK_IMPORTED_MODULE_102__["a"]; }); | |
/* harmony import */ var _partition_js__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(145); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "partition", function() { return _partition_js__WEBPACK_IMPORTED_MODULE_103__["a"]; }); | |
/* harmony import */ var _toArray_js__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(146); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "toArray", function() { return _toArray_js__WEBPACK_IMPORTED_MODULE_104__["a"]; }); | |
/* harmony import */ var _size_js__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(147); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "size", function() { return _size_js__WEBPACK_IMPORTED_MODULE_105__["a"]; }); | |
/* harmony import */ var _pick_js__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(78); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "pick", function() { return _pick_js__WEBPACK_IMPORTED_MODULE_106__["a"]; }); | |
/* harmony import */ var _omit_js__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(148); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "omit", function() { return _omit_js__WEBPACK_IMPORTED_MODULE_107__["a"]; }); | |
/* harmony import */ var _first_js__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(52); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "first", function() { return _first_js__WEBPACK_IMPORTED_MODULE_108__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "head", function() { return _first_js__WEBPACK_IMPORTED_MODULE_108__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "take", function() { return _first_js__WEBPACK_IMPORTED_MODULE_108__["a"]; }); | |
/* harmony import */ var _initial_js__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(79); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "initial", function() { return _initial_js__WEBPACK_IMPORTED_MODULE_109__["a"]; }); | |
/* harmony import */ var _last_js__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(149); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "last", function() { return _last_js__WEBPACK_IMPORTED_MODULE_110__["a"]; }); | |
/* harmony import */ var _rest_js__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(34); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "rest", function() { return _rest_js__WEBPACK_IMPORTED_MODULE_111__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tail", function() { return _rest_js__WEBPACK_IMPORTED_MODULE_111__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "drop", function() { return _rest_js__WEBPACK_IMPORTED_MODULE_111__["a"]; }); | |
/* harmony import */ var _compact_js__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(150); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "compact", function() { return _compact_js__WEBPACK_IMPORTED_MODULE_112__["a"]; }); | |
/* harmony import */ var _flatten_js__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(151); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "flatten", function() { return _flatten_js__WEBPACK_IMPORTED_MODULE_113__["a"]; }); | |
/* harmony import */ var _without_js__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(152); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "without", function() { return _without_js__WEBPACK_IMPORTED_MODULE_114__["a"]; }); | |
/* harmony import */ var _uniq_js__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(47); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "uniq", function() { return _uniq_js__WEBPACK_IMPORTED_MODULE_115__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "unique", function() { return _uniq_js__WEBPACK_IMPORTED_MODULE_115__["a"]; }); | |
/* harmony import */ var _union_js__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(153); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "union", function() { return _union_js__WEBPACK_IMPORTED_MODULE_116__["a"]; }); | |
/* harmony import */ var _intersection_js__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(154); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "intersection", function() { return _intersection_js__WEBPACK_IMPORTED_MODULE_117__["a"]; }); | |
/* harmony import */ var _difference_js__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(80); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "difference", function() { return _difference_js__WEBPACK_IMPORTED_MODULE_118__["a"]; }); | |
/* harmony import */ var _unzip_js__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(48); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "unzip", function() { return _unzip_js__WEBPACK_IMPORTED_MODULE_119__["a"]; }); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "transpose", function() { return _unzip_js__WEBPACK_IMPORTED_MODULE_119__["a"]; }); | |
/* harmony import */ var _zip_js__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(155); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "zip", function() { return _zip_js__WEBPACK_IMPORTED_MODULE_120__["a"]; }); | |
/* harmony import */ var _object_js__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(156); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "object", function() { return _object_js__WEBPACK_IMPORTED_MODULE_121__["a"]; }); | |
/* harmony import */ var _range_js__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(157); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "range", function() { return _range_js__WEBPACK_IMPORTED_MODULE_122__["a"]; }); | |
/* harmony import */ var _chunk_js__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(158); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chunk", function() { return _chunk_js__WEBPACK_IMPORTED_MODULE_123__["a"]; }); | |
/* harmony import */ var _mixin_js__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(159); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "mixin", function() { return _mixin_js__WEBPACK_IMPORTED_MODULE_124__["a"]; }); | |
/* harmony import */ var _underscore_array_methods_js__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(160); | |
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _underscore_array_methods_js__WEBPACK_IMPORTED_MODULE_125__["a"]; }); | |
// Named Exports | |
// ============= | |
// Underscore.js 1.13.1 | |
// https://underscorejs.org | |
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors | |
// Underscore may be freely distributed under the MIT license. | |
// Baseline setup. | |
// Object Functions | |
// ---------------- | |
// Our most fundamental functions operate on any JavaScript object. | |
// Most functions in Underscore depend on at least one function in this section. | |
// A group of functions that check the types of core JavaScript values. | |
// These are often informally referred to as the "isType" functions. | |
// Functions that treat an object as a dictionary of key-value pairs. | |
// Utility Functions | |
// ----------------- | |
// A bit of a grab bag: Predicate-generating functions for use with filters and | |
// loops, string escaping and templating, create random numbers and unique ids, | |
// and functions that facilitate Underscore's chaining and iteration conventions. | |
// Function (ahem) Functions | |
// ------------------------- | |
// These functions take a function as an argument and return a new function | |
// as the result. Also known as higher-order functions. | |
// Finders | |
// ------- | |
// Functions that extract (the position of) a single element from an object | |
// or array based on some criterion. | |
// Collection Functions | |
// -------------------- | |
// Functions that work on any collection of elements: either an array, or | |
// an object of key-value pairs. | |
// `_.pick` and `_.omit` are actually object functions, but we put | |
// them here in order to create a more natural reading order in the | |
// monolithic build as they depend on `_.contains`. | |
// Array Functions | |
// --------------- | |
// Functions that operate on arrays (and array-likes) only, because they’re | |
// expressed in terms of operations on an ordered list of values. | |
// OOP | |
// --- | |
// These modules support the "object-oriented" calling style. See also | |
// `underscore.js` and `index-default.js`. | |
/***/ }), | |
/* 36 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('String')); | |
/***/ }), | |
/* 37 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12); | |
var isArguments = Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Arguments'); | |
// Define a fallback version of the method in browsers (ahem, IE < 9), where | |
// there isn't any inspectable "Arguments" type. | |
(function() { | |
if (!isArguments(arguments)) { | |
isArguments = function(obj) { | |
return Object(_has_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj, 'callee'); | |
}; | |
} | |
}()); | |
/* harmony default export */ __webpack_exports__["a"] = (isArguments); | |
/***/ }), | |
/* 38 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return identity; }); | |
// Keep the identity function around for default iteratees. | |
function identity(value) { | |
return value; | |
} | |
/***/ }), | |
/* 39 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return property; }); | |
/* harmony import */ var _deepGet_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44); | |
/* harmony import */ var _toPath_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22); | |
// Creates a function that, when passed an object, will traverse that object’s | |
// properties down the given `path`, specified as an array of keys or indices. | |
function property(path) { | |
path = Object(_toPath_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(path); | |
return function(obj) { | |
return Object(_deepGet_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj, path); | |
}; | |
} | |
/***/ }), | |
/* 40 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return negate; }); | |
// Returns a negated version of the passed-in predicate. | |
function negate(predicate) { | |
return function() { | |
return !predicate.apply(this, arguments); | |
}; | |
} | |
/***/ }), | |
/* 41 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createPredicateIndexFinder_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89); | |
// Returns the first index on an array-like that passes a truth test. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createPredicateIndexFinder_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(1)); | |
/***/ }), | |
/* 42 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return pluck; }); | |
/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16); | |
/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39); | |
// Convenience version of a common use case of `_.map`: fetching a property. | |
function pluck(obj, key) { | |
return Object(_map_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj, Object(_property_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(key)); | |
} | |
/***/ }), | |
/* 43 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createAssigner; }); | |
// An internal function for creating assigner functions. | |
function createAssigner(keysFunc, defaults) { | |
return function(obj) { | |
var length = arguments.length; | |
if (defaults) obj = Object(obj); | |
if (length < 2 || obj == null) return obj; | |
for (var index = 1; index < length; index++) { | |
var source = arguments[index], | |
keys = keysFunc(source), | |
l = keys.length; | |
for (var i = 0; i < l; i++) { | |
var key = keys[i]; | |
if (!defaults || obj[key] === void 0) obj[key] = source[key]; | |
} | |
} | |
return obj; | |
}; | |
} | |
/***/ }), | |
/* 44 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return deepGet; }); | |
// Internal function to obtain a nested property in `obj` along `path`. | |
function deepGet(obj, path) { | |
var length = path.length; | |
for (var i = 0; i < length; i++) { | |
if (obj == null) return void 0; | |
obj = obj[path[i]]; | |
} | |
return length ? obj : void 0; | |
} | |
/***/ }), | |
/* 45 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return functions; }); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); | |
// Return a sorted list of the function names available on the object. | |
function functions(obj) { | |
var names = []; | |
for (var key in obj) { | |
if (Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj[key])) names.push(key); | |
} | |
return names.sort(); | |
} | |
/***/ }), | |
/* 46 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return find; }); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); | |
/* harmony import */ var _findIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41); | |
/* harmony import */ var _findKey_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(72); | |
// Return the first value which passes a truth test. | |
function find(obj, predicate, context) { | |
var keyFinder = Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj) ? _findIndex_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"] : _findKey_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"]; | |
var key = keyFinder(obj, predicate, context); | |
if (key !== void 0 && key !== -1) return obj[key]; | |
} | |
/***/ }), | |
/* 47 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return uniq; }); | |
/* harmony import */ var _isBoolean_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9); | |
/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15); | |
// Produce a duplicate-free version of the array. If the array has already | |
// been sorted, you have the option of using a faster algorithm. | |
// The faster algorithm will not work with an iteratee if the iteratee | |
// is not a one-to-one function, so providing an iteratee will disable | |
// the faster algorithm. | |
function uniq(array, isSorted, iteratee, context) { | |
if (!Object(_isBoolean_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(isSorted)) { | |
context = iteratee; | |
iteratee = isSorted; | |
isSorted = false; | |
} | |
if (iteratee != null) iteratee = Object(_cb_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(iteratee, context); | |
var result = []; | |
var seen = []; | |
for (var i = 0, length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(array); i < length; i++) { | |
var value = array[i], | |
computed = iteratee ? iteratee(value, i, array) : value; | |
if (isSorted && !iteratee) { | |
if (!i || seen !== computed) result.push(value); | |
seen = computed; | |
} else if (iteratee) { | |
if (!Object(_contains_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(seen, computed)) { | |
seen.push(computed); | |
result.push(value); | |
} | |
} else if (!Object(_contains_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(result, value)) { | |
result.push(value); | |
} | |
} | |
return result; | |
} | |
/***/ }), | |
/* 48 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return unzip; }); | |
/* harmony import */ var _max_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(76); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9); | |
/* harmony import */ var _pluck_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(42); | |
// Complement of zip. Unzip accepts an array of arrays and groups | |
// each array's elements on shared indices. | |
function unzip(array) { | |
var length = array && Object(_max_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(array, _getLength_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"]).length || 0; | |
var result = Array(length); | |
for (var index = 0; index < length; index++) { | |
result[index] = Object(_pluck_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(array, index); | |
} | |
return result; | |
} | |
/***/ }), | |
/* 49 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return random; }); | |
// Return a random integer between `min` and `max` (inclusive). | |
function random(min, max) { | |
if (max == null) { | |
max = min; | |
min = 0; | |
} | |
return min + Math.floor(Math.random() * (max - min + 1)); | |
} | |
/***/ }), | |
/* 50 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return chainResult; }); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
// Helper function to continue chaining intermediate results. | |
function chainResult(instance, obj) { | |
return instance._chain ? Object(_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj).chain() : obj; | |
} | |
/***/ }), | |
/* 51 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createReduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91); | |
// **Reduce** builds up a single result from a list of values, aka `inject`, | |
// or `foldl`. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createReduce_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(1)); | |
/***/ }), | |
/* 52 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return first; }); | |
/* harmony import */ var _initial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79); | |
// Get the first element of an array. Passing **n** will return the first N | |
// values in the array. The **guard** check allows it to work with `_.map`. | |
function first(array, n, guard) { | |
if (array == null || array.length < 1) return n == null || guard ? void 0 : []; | |
if (n == null || guard) return array[0]; | |
return Object(_initial_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(array, array.length - n); | |
} | |
/***/ }), | |
/* 53 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isUndefined; }); | |
// Is a given variable undefined? | |
function isUndefined(obj) { | |
return obj === void 0; | |
} | |
/***/ }), | |
/* 54 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isBoolean; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
// Is a given value a boolean? | |
function isBoolean(obj) { | |
return obj === true || obj === false || _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* toString */ "t"].call(obj) === '[object Boolean]'; | |
} | |
/***/ }), | |
/* 55 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Number')); | |
/***/ }), | |
/* 56 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Symbol')); | |
/***/ }), | |
/* 57 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('ArrayBuffer')); | |
/***/ }), | |
/* 58 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isNaN; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
/* harmony import */ var _isNumber_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(55); | |
// Is the given value `NaN`? | |
function isNaN(obj) { | |
return Object(_isNumber_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj) && Object(_setup_js__WEBPACK_IMPORTED_MODULE_0__[/* _isNaN */ "g"])(obj); | |
} | |
/***/ }), | |
/* 59 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
/* harmony import */ var _isDataView_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32); | |
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(60); | |
/* harmony import */ var _isBufferLike_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(161); | |
// Is a given value a typed array? | |
var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; | |
function isTypedArray(obj) { | |
// `ArrayBuffer.isView` is the most future-proof, so use it when available. | |
// Otherwise, fall back on the above regular expression. | |
return _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* nativeIsView */ "l"] ? (Object(_setup_js__WEBPACK_IMPORTED_MODULE_0__[/* nativeIsView */ "l"])(obj) && !Object(_isDataView_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj)) : | |
Object(_isBufferLike_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(obj) && typedArrayPattern.test(_setup_js__WEBPACK_IMPORTED_MODULE_0__[/* toString */ "t"].call(obj)); | |
} | |
/* harmony default export */ __webpack_exports__["a"] = (_setup_js__WEBPACK_IMPORTED_MODULE_0__[/* supportsArrayBuffer */ "r"] ? isTypedArray : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(false)); | |
/***/ }), | |
/* 60 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return constant; }); | |
// Predicate-generating function. Often useful outside of Underscore. | |
function constant(value) { | |
return function() { | |
return value; | |
}; | |
} | |
/***/ }), | |
/* 61 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isMatch; }); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2); | |
// Returns whether an object has a given set of `key:value` pairs. | |
function isMatch(object, attrs) { | |
var _keys = Object(_keys_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(attrs), length = _keys.length; | |
if (object == null) return !length; | |
var obj = Object(object); | |
for (var i = 0; i < length; i++) { | |
var key = _keys[i]; | |
if (attrs[key] !== obj[key] || !(key in obj)) return false; | |
} | |
return true; | |
} | |
/***/ }), | |
/* 62 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return invert; }); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2); | |
// Invert the keys and values of an object. The values must be serializable. | |
function invert(obj) { | |
var result = {}; | |
var _keys = Object(_keys_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj); | |
for (var i = 0, length = _keys.length; i < length; i++) { | |
result[obj[_keys[i]]] = _keys[i]; | |
} | |
return result; | |
} | |
/***/ }), | |
/* 63 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createAssigner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43); | |
/* harmony import */ var _allKeys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20); | |
// Extend a given object with all the properties in passed-in object(s). | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createAssigner_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_allKeys_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])); | |
/***/ }), | |
/* 64 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createAssigner_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43); | |
/* harmony import */ var _allKeys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20); | |
// Fill in a given object with default properties. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createAssigner_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_allKeys_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], true)); | |
/***/ }), | |
/* 65 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return clone; }); | |
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13); | |
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14); | |
/* harmony import */ var _extend_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(63); | |
// Create a (shallow-cloned) duplicate of an object. | |
function clone(obj) { | |
if (!Object(_isObject_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj)) return obj; | |
return Object(_isArray_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj) ? obj.slice() : Object(_extend_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, obj); | |
} | |
/***/ }), | |
/* 66 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return get; }); | |
/* harmony import */ var _toPath_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22); | |
/* harmony import */ var _deepGet_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44); | |
/* harmony import */ var _isUndefined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53); | |
// Get the value of the (deep) property on `path` from `object`. | |
// If any property in `path` does not exist or if the value is | |
// `undefined`, return `defaultValue` instead. | |
// The `path` is normalized through `_.toPath`. | |
function get(object, path, defaultValue) { | |
var value = Object(_deepGet_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(object, Object(_toPath_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(path)); | |
return Object(_isUndefined_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(value) ? defaultValue : value; | |
} | |
/***/ }), | |
/* 67 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return iteratee; }); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
/* harmony import */ var _baseIteratee_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85); | |
// External wrapper for our callback generator. Users may customize | |
// `_.iteratee` if they want additional predicate/iteratee shorthand styles. | |
// This abstraction hides the internal-only `argCount` argument. | |
function iteratee(value, context) { | |
return Object(_baseIteratee_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(value, context, Infinity); | |
} | |
_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].iteratee = iteratee; | |
/***/ }), | |
/* 68 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return noop; }); | |
// Predicate-generating function. Often useful outside of Underscore. | |
function noop(){} | |
/***/ }), | |
/* 69 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); | |
/* harmony import */ var _executeBound_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88); | |
// Create a function bound to a given object (assigning `this`, and arguments, | |
// optionally). | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(func, context, args) { | |
if (!Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(func)) throw new TypeError('Bind must be called on a function'); | |
var bound = Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(callArgs) { | |
return Object(_executeBound_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(func, bound, context, this, args.concat(callArgs)); | |
}); | |
return bound; | |
})); | |
/***/ }), | |
/* 70 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
// Delays a function for the given number of milliseconds, and then calls | |
// it with the arguments supplied. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(func, wait, args) { | |
return setTimeout(function() { | |
return func.apply(null, args); | |
}, wait); | |
})); | |
/***/ }), | |
/* 71 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return before; }); | |
// Returns a function that will only be executed up to (but not including) the | |
// Nth call. | |
function before(times, func) { | |
var memo; | |
return function() { | |
if (--times > 0) { | |
memo = func.apply(this, arguments); | |
} | |
if (times <= 1) func = null; | |
return memo; | |
}; | |
} | |
/***/ }), | |
/* 72 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return findKey; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2); | |
// Returns the first key on an object that passes a truth test. | |
function findKey(obj, predicate, context) { | |
predicate = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(predicate, context); | |
var _keys = Object(_keys_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj), key; | |
for (var i = 0, length = _keys.length; i < length; i++) { | |
key = _keys[i]; | |
if (predicate(obj[key], key, obj)) return key; | |
} | |
} | |
/***/ }), | |
/* 73 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createPredicateIndexFinder_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89); | |
// Returns the last index on an array-like that passes a truth test. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createPredicateIndexFinder_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(-1)); | |
/***/ }), | |
/* 74 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return sortedIndex; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9); | |
// Use a comparator function to figure out the smallest index at which | |
// an object should be inserted so as to maintain order. Uses binary search. | |
function sortedIndex(array, obj, iteratee, context) { | |
iteratee = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(iteratee, context, 1); | |
var value = iteratee(obj); | |
var low = 0, high = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(array); | |
while (low < high) { | |
var mid = Math.floor((low + high) / 2); | |
if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; | |
} | |
return low; | |
} | |
/***/ }), | |
/* 75 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _sortedIndex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74); | |
/* harmony import */ var _findIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41); | |
/* harmony import */ var _createIndexFinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90); | |
// Return the position of the first occurrence of an item in an array, | |
// or -1 if the item is not included in the array. | |
// If the array is large and already in sort order, pass `true` | |
// for **isSorted** to use binary search. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createIndexFinder_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(1, _findIndex_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], _sortedIndex_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])); | |
/***/ }), | |
/* 76 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return max; }); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); | |
/* harmony import */ var _values_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5); | |
/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11); | |
// Return the maximum element (or element-based computation). | |
function max(obj, iteratee, context) { | |
var result = -Infinity, lastComputed = -Infinity, | |
value, computed; | |
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { | |
obj = Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj) ? obj : Object(_values_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj); | |
for (var i = 0, length = obj.length; i < length; i++) { | |
value = obj[i]; | |
if (value != null && value > result) { | |
result = value; | |
} | |
} | |
} else { | |
iteratee = Object(_cb_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(iteratee, context); | |
Object(_each_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(obj, function(v, index, list) { | |
computed = iteratee(v, index, list); | |
if (computed > lastComputed || computed === -Infinity && result === -Infinity) { | |
result = v; | |
lastComputed = computed; | |
} | |
}); | |
} | |
return result; | |
} | |
/***/ }), | |
/* 77 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return sample; }); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); | |
/* harmony import */ var _clone_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65); | |
/* harmony import */ var _values_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9); | |
/* harmony import */ var _random_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49); | |
// Sample **n** random values from a collection using the modern version of the | |
// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). | |
// If **n** is not specified, returns a single random element. | |
// The internal `guard` argument allows it to work with `_.map`. | |
function sample(obj, n, guard) { | |
if (n == null || guard) { | |
if (!Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj)) obj = Object(_values_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj); | |
return obj[Object(_random_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(obj.length - 1)]; | |
} | |
var sample = Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj) ? Object(_clone_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj) : Object(_values_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj); | |
var length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(sample); | |
n = Math.max(Math.min(n, length), 0); | |
var last = length - 1; | |
for (var index = 0; index < n; index++) { | |
var rand = Object(_random_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(index, last); | |
var temp = sample[index]; | |
sample[index] = sample[rand]; | |
sample[rand] = temp; | |
} | |
return sample.slice(0, n); | |
} | |
/***/ }), | |
/* 78 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); | |
/* harmony import */ var _optimizeCb_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23); | |
/* harmony import */ var _allKeys_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(20); | |
/* harmony import */ var _keyInObj_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(163); | |
/* harmony import */ var _flatten_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18); | |
// Return a copy of the object only containing the allowed properties. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(obj, keys) { | |
var result = {}, iteratee = keys[0]; | |
if (obj == null) return result; | |
if (Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(iteratee)) { | |
if (keys.length > 1) iteratee = Object(_optimizeCb_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(iteratee, keys[1]); | |
keys = Object(_allKeys_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(obj); | |
} else { | |
iteratee = _keyInObj_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]; | |
keys = Object(_flatten_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(keys, false, false); | |
obj = Object(obj); | |
} | |
for (var i = 0, length = keys.length; i < length; i++) { | |
var key = keys[i]; | |
var value = obj[key]; | |
if (iteratee(value, key, obj)) result[key] = value; | |
} | |
return result; | |
})); | |
/***/ }), | |
/* 79 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return initial; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
// Returns everything but the last entry of the array. Especially useful on | |
// the arguments object. Passing **n** will return all the values in | |
// the array, excluding the last N. | |
function initial(array, n, guard) { | |
return _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* slice */ "q"].call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); | |
} | |
/***/ }), | |
/* 80 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _flatten_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); | |
/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19); | |
/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15); | |
// Take the difference between one array and a number of other arrays. | |
// Only the elements present in just the first array will remain. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(array, rest) { | |
rest = Object(_flatten_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(rest, true, true); | |
return Object(_filter_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(array, function(value){ | |
return !Object(_contains_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(rest, value); | |
}); | |
})); | |
/***/ }), | |
/* 81 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createSizePropertyCheck; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
// Common internal logic for `isArrayLike` and `isBufferLike`. | |
function createSizePropertyCheck(getSizeProperty) { | |
return function(collection) { | |
var sizeProperty = getSizeProperty(collection); | |
return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* MAX_ARRAY_INDEX */ "b"]; | |
} | |
} | |
/***/ }), | |
/* 82 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return shallowProperty; }); | |
// Internal helper to generate a function to obtain property `key` from `obj`. | |
function shallowProperty(key) { | |
return function(obj) { | |
return obj == null ? void 0 : obj[key]; | |
}; | |
} | |
/***/ }), | |
/* 83 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return collectNonEnumProps; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12); | |
// Internal helper to create a simple lookup structure. | |
// `collectNonEnumProps` used to depend on `_.contains`, but this led to | |
// circular imports. `emulatedSet` is a one-off solution that only works for | |
// arrays of strings. | |
function emulatedSet(keys) { | |
var hash = {}; | |
for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; | |
return { | |
contains: function(key) { return hash[key]; }, | |
push: function(key) { | |
hash[key] = true; | |
return keys.push(key); | |
} | |
}; | |
} | |
// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't | |
// be iterated by `for key in ...` and thus missed. Extends `keys` in place if | |
// needed. | |
function collectNonEnumProps(obj, keys) { | |
keys = emulatedSet(keys); | |
var nonEnumIdx = _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* nonEnumerableProps */ "n"].length; | |
var constructor = obj.constructor; | |
var proto = Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(constructor) && constructor.prototype || _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* ObjProto */ "c"]; | |
// Constructor is a special case. | |
var prop = 'constructor'; | |
if (Object(_has_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj, prop) && !keys.contains(prop)) keys.push(prop); | |
while (nonEnumIdx--) { | |
prop = _setup_js__WEBPACK_IMPORTED_MODULE_0__[/* nonEnumerableProps */ "n"][nonEnumIdx]; | |
if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { | |
keys.push(prop); | |
} | |
} | |
} | |
/***/ }), | |
/* 84 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return baseCreate; }); | |
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); | |
// Create a naked function reference for surrogate-prototype-swapping. | |
function ctor() { | |
return function(){}; | |
} | |
// An internal function for creating a new object that inherits from another. | |
function baseCreate(prototype) { | |
if (!Object(_isObject_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(prototype)) return {}; | |
if (_setup_js__WEBPACK_IMPORTED_MODULE_1__[/* nativeCreate */ "j"]) return Object(_setup_js__WEBPACK_IMPORTED_MODULE_1__[/* nativeCreate */ "j"])(prototype); | |
var Ctor = ctor(); | |
Ctor.prototype = prototype; | |
var result = new Ctor; | |
Ctor.prototype = null; | |
return result; | |
} | |
/***/ }), | |
/* 85 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return baseIteratee; }); | |
/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); | |
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13); | |
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14); | |
/* harmony import */ var _matcher_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26); | |
/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39); | |
/* harmony import */ var _optimizeCb_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(23); | |
// An internal function to generate callbacks that can be applied to each | |
// element in a collection, returning the desired result — either `_.identity`, | |
// an arbitrary callback, a property matcher, or a property accessor. | |
function baseIteratee(value, context, argCount) { | |
if (value == null) return _identity_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]; | |
if (Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(value)) return Object(_optimizeCb_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(value, context, argCount); | |
if (Object(_isObject_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(value) && !Object(_isArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(value)) return Object(_matcher_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(value); | |
return Object(_property_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(value); | |
} | |
/***/ }), | |
/* 86 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createEscaper; }); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2); | |
// Internal helper to generate functions for escaping and unescaping strings | |
// to/from HTML interpolation. | |
function createEscaper(map) { | |
var escaper = function(match) { | |
return map[match]; | |
}; | |
// Regexes for identifying a key that needs to be escaped. | |
var source = '(?:' + Object(_keys_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(map).join('|') + ')'; | |
var testRegexp = RegExp(source); | |
var replaceRegexp = RegExp(source, 'g'); | |
return function(string) { | |
string = string == null ? '' : '' + string; | |
return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; | |
}; | |
} | |
/***/ }), | |
/* 87 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
// Internal list of HTML entities for escaping. | |
/* harmony default export */ __webpack_exports__["a"] = ({ | |
'&': '&', | |
'<': '<', | |
'>': '>', | |
'"': '"', | |
"'": ''', | |
'`': '`' | |
}); | |
/***/ }), | |
/* 88 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return executeBound; }); | |
/* harmony import */ var _baseCreate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84); | |
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13); | |
// Internal function to execute `sourceFunc` bound to `context` with optional | |
// `args`. Determines whether to execute a function as a constructor or as a | |
// normal function. | |
function executeBound(sourceFunc, boundFunc, context, callingContext, args) { | |
if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); | |
var self = Object(_baseCreate_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(sourceFunc.prototype); | |
var result = sourceFunc.apply(self, args); | |
if (Object(_isObject_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(result)) return result; | |
return self; | |
} | |
/***/ }), | |
/* 89 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createPredicateIndexFinder; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9); | |
// Internal function to generate `_.findIndex` and `_.findLastIndex`. | |
function createPredicateIndexFinder(dir) { | |
return function(array, predicate, context) { | |
predicate = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(predicate, context); | |
var length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(array); | |
var index = dir > 0 ? 0 : length - 1; | |
for (; index >= 0 && index < length; index += dir) { | |
if (predicate(array[index], index, array)) return index; | |
} | |
return -1; | |
}; | |
} | |
/***/ }), | |
/* 90 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createIndexFinder; }); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); | |
/* harmony import */ var _isNaN_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(58); | |
// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. | |
function createIndexFinder(dir, predicateFind, sortedIndex) { | |
return function(array, item, idx) { | |
var i = 0, length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(array); | |
if (typeof idx == 'number') { | |
if (dir > 0) { | |
i = idx >= 0 ? idx : Math.max(idx + length, i); | |
} else { | |
length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; | |
} | |
} else if (sortedIndex && idx && length) { | |
idx = sortedIndex(array, item); | |
return array[idx] === item ? idx : -1; | |
} | |
if (item !== item) { | |
idx = predicateFind(_setup_js__WEBPACK_IMPORTED_MODULE_1__[/* slice */ "q"].call(array, i, length), _isNaN_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"]); | |
return idx >= 0 ? idx + i : -1; | |
} | |
for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { | |
if (array[idx] === item) return idx; | |
} | |
return -1; | |
}; | |
} | |
/***/ }), | |
/* 91 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createReduce; }); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2); | |
/* harmony import */ var _optimizeCb_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23); | |
// Internal helper to create a reducing function, iterating left or right. | |
function createReduce(dir) { | |
// Wrap code that reassigns argument variables in a separate function than | |
// the one that accesses `arguments.length` to avoid a perf hit. (#1991) | |
var reducer = function(obj, iteratee, memo, initial) { | |
var _keys = !Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj) && Object(_keys_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj), | |
length = (_keys || obj).length, | |
index = dir > 0 ? 0 : length - 1; | |
if (!initial) { | |
memo = obj[_keys ? _keys[index] : index]; | |
index += dir; | |
} | |
for (; index >= 0 && index < length; index += dir) { | |
var currentKey = _keys ? _keys[index] : index; | |
memo = iteratee(memo, obj[currentKey], currentKey, obj); | |
} | |
return memo; | |
}; | |
return function(obj, iteratee, memo, context) { | |
var initial = arguments.length >= 3; | |
return reducer(obj, Object(_optimizeCb_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(iteratee, context, 4), memo, initial); | |
}; | |
} | |
/***/ }), | |
/* 92 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return toPath; }); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14); | |
// Normalize a (deep) property `path` to array. | |
// Like `_.iteratee`, this function can be customized. | |
function toPath(path) { | |
return Object(_isArray_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(path) ? path : [path]; | |
} | |
_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].toPath = toPath; | |
/***/ }), | |
/* 93 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
// By default, Underscore uses ERB-style template delimiters. Change the | |
// following template settings to use alternative delimiters. | |
/* harmony default export */ __webpack_exports__["a"] = (_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].templateSettings = { | |
evaluate: /<%([\s\S]+?)%>/g, | |
interpolate: /<%=([\s\S]+?)%>/g, | |
escape: /<%-([\s\S]+?)%>/g | |
}); | |
/***/ }), | |
/* 94 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createReduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91); | |
// The right-associative version of reduce, also known as `foldr`. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createReduce_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(-1)); | |
/***/ }), | |
/* 95 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return every; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2); | |
// Determine whether all of the elements pass a truth test. | |
function every(obj, predicate, context) { | |
predicate = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(predicate, context); | |
var _keys = !Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj) && Object(_keys_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj), | |
length = (_keys || obj).length; | |
for (var index = 0; index < length; index++) { | |
var currentKey = _keys ? _keys[index] : index; | |
if (!predicate(obj[currentKey], currentKey, obj)) return false; | |
} | |
return true; | |
} | |
/***/ }), | |
/* 96 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return some; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2); | |
// Determine if at least one element in the object passes a truth test. | |
function some(obj, predicate, context) { | |
predicate = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(predicate, context); | |
var _keys = !Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj) && Object(_keys_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj), | |
length = (_keys || obj).length; | |
for (var index = 0; index < length; index++) { | |
var currentKey = _keys ? _keys[index] : index; | |
if (predicate(obj[currentKey], currentKey, obj)) return true; | |
} | |
return false; | |
} | |
/***/ }), | |
/* 97 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Object')); | |
/***/ }), | |
/* 98 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return toBufferView; }); | |
/* harmony import */ var _getByteLength_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33); | |
// Internal function to wrap or shallow-copy an ArrayBuffer, | |
// typed array or DataView to a new view, reusing the buffer. | |
function toBufferView(bufferSource) { | |
return new Uint8Array( | |
bufferSource.buffer || bufferSource, | |
bufferSource.byteOffset || 0, | |
Object(_getByteLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(bufferSource) | |
); | |
} | |
/***/ }), | |
/* 99 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(35); | |
// Default Export | |
// ============== | |
// In this module, we mix our bundled exports into the `_` object and export | |
// the result. This is analogous to setting `module.exports = _` in CommonJS. | |
// Hence, this module is also the entry point of our UMD bundle and the package | |
// entry point for CommonJS and AMD users. In other words, this is (the source | |
// of) the module you are interfacing with when you do any of the following: | |
// | |
// ```js | |
// // CommonJS | |
// var _ = require('underscore'); | |
// | |
// // AMD | |
// define(['underscore'], function(_) {...}); | |
// | |
// // UMD in the browser | |
// // _ is available as a global variable | |
// ``` | |
// Add all of the Underscore functions to the wrapper object. | |
var _ = Object(_index_js__WEBPACK_IMPORTED_MODULE_0__["mixin"])(_index_js__WEBPACK_IMPORTED_MODULE_0__); | |
// Legacy Node.js API. | |
_._ = _; | |
// Export the Underscore API. | |
/* unused harmony default export */ var _unused_webpack_default_export = (_); | |
/***/ }), | |
/* 100 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isNull; }); | |
// Is a given value equal to null? | |
function isNull(obj) { | |
return obj === null; | |
} | |
/***/ }), | |
/* 101 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isElement; }); | |
// Is a given value a DOM element? | |
function isElement(obj) { | |
return !!(obj && obj.nodeType === 1); | |
} | |
/***/ }), | |
/* 102 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Date')); | |
/***/ }), | |
/* 103 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('RegExp')); | |
/***/ }), | |
/* 104 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Error')); | |
/***/ }), | |
/* 105 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isFinite; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
/* harmony import */ var _isSymbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56); | |
// Is a given object a finite number? | |
function isFinite(obj) { | |
return !Object(_isSymbol_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj) && Object(_setup_js__WEBPACK_IMPORTED_MODULE_0__[/* _isFinite */ "f"])(obj) && !isNaN(parseFloat(obj)); | |
} | |
/***/ }), | |
/* 106 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isEmpty; }); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); | |
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14); | |
/* harmony import */ var _isString_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36); | |
/* harmony import */ var _isArguments_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2); | |
// Is a given array, string, or object empty? | |
// An "empty" object has no enumerable own-properties. | |
function isEmpty(obj) { | |
if (obj == null) return true; | |
// Skip the more expensive `toString`-based type checks if `obj` has no | |
// `.length`. | |
var length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj); | |
if (typeof length == 'number' && ( | |
Object(_isArray_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj) || Object(_isString_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj) || Object(_isArguments_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(obj) | |
)) return length === 0; | |
return Object(_getLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(_keys_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(obj)) === 0; | |
} | |
/***/ }), | |
/* 107 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isEqual; }); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); | |
/* harmony import */ var _getByteLength_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33); | |
/* harmony import */ var _isTypedArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(59); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7); | |
/* harmony import */ var _stringTagBug_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21); | |
/* harmony import */ var _isDataView_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(32); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12); | |
/* harmony import */ var _toBufferView_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(98); | |
// We use this string twice, so give it a name for minification. | |
var tagDataView = '[object DataView]'; | |
// Internal recursive comparison function for `_.isEqual`. | |
function eq(a, b, aStack, bStack) { | |
// Identical objects are equal. `0 === -0`, but they aren't identical. | |
// See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). | |
if (a === b) return a !== 0 || 1 / a === 1 / b; | |
// `null` or `undefined` only equal to itself (strict comparison). | |
if (a == null || b == null) return false; | |
// `NaN`s are equivalent, but non-reflexive. | |
if (a !== a) return b !== b; | |
// Exhaust primitive checks | |
var type = typeof a; | |
if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; | |
return deepEq(a, b, aStack, bStack); | |
} | |
// Internal recursive comparison function for `_.isEqual`. | |
function deepEq(a, b, aStack, bStack) { | |
// Unwrap any wrapped objects. | |
if (a instanceof _underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]) a = a._wrapped; | |
if (b instanceof _underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]) b = b._wrapped; | |
// Compare `[[Class]]` names. | |
var className = _setup_js__WEBPACK_IMPORTED_MODULE_1__[/* toString */ "t"].call(a); | |
if (className !== _setup_js__WEBPACK_IMPORTED_MODULE_1__[/* toString */ "t"].call(b)) return false; | |
// Work around a bug in IE 10 - Edge 13. | |
if (_stringTagBug_js__WEBPACK_IMPORTED_MODULE_5__[/* hasStringTagBug */ "a"] && className == '[object Object]' && Object(_isDataView_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(a)) { | |
if (!Object(_isDataView_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(b)) return false; | |
className = tagDataView; | |
} | |
switch (className) { | |
// These types are compared by value. | |
case '[object RegExp]': | |
// RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') | |
case '[object String]': | |
// Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is | |
// equivalent to `new String("5")`. | |
return '' + a === '' + b; | |
case '[object Number]': | |
// `NaN`s are equivalent, but non-reflexive. | |
// Object(NaN) is equivalent to NaN. | |
if (+a !== +a) return +b !== +b; | |
// An `egal` comparison is performed for other numeric values. | |
return +a === 0 ? 1 / +a === 1 / b : +a === +b; | |
case '[object Date]': | |
case '[object Boolean]': | |
// Coerce dates and booleans to numeric primitive values. Dates are compared by their | |
// millisecond representations. Note that invalid dates with millisecond representations | |
// of `NaN` are not equivalent. | |
return +a === +b; | |
case '[object Symbol]': | |
return _setup_js__WEBPACK_IMPORTED_MODULE_1__[/* SymbolProto */ "d"].valueOf.call(a) === _setup_js__WEBPACK_IMPORTED_MODULE_1__[/* SymbolProto */ "d"].valueOf.call(b); | |
case '[object ArrayBuffer]': | |
case tagDataView: | |
// Coerce to typed array so we can fall through. | |
return deepEq(Object(_toBufferView_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"])(a), Object(_toBufferView_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"])(b), aStack, bStack); | |
} | |
var areArrays = className === '[object Array]'; | |
if (!areArrays && Object(_isTypedArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(a)) { | |
var byteLength = Object(_getByteLength_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(a); | |
if (byteLength !== Object(_getByteLength_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(b)) return false; | |
if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; | |
areArrays = true; | |
} | |
if (!areArrays) { | |
if (typeof a != 'object' || typeof b != 'object') return false; | |
// Objects with different constructors are not equivalent, but `Object`s or `Array`s | |
// from different frames are. | |
var aCtor = a.constructor, bCtor = b.constructor; | |
if (aCtor !== bCtor && !(Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(aCtor) && aCtor instanceof aCtor && | |
Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(bCtor) && bCtor instanceof bCtor) | |
&& ('constructor' in a && 'constructor' in b)) { | |
return false; | |
} | |
} | |
// Assume equality for cyclic structures. The algorithm for detecting cyclic | |
// structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. | |
// Initializing stack of traversed objects. | |
// It's done here since we only need them for objects and arrays comparison. | |
aStack = aStack || []; | |
bStack = bStack || []; | |
var length = aStack.length; | |
while (length--) { | |
// Linear search. Performance is inversely proportional to the number of | |
// unique nested structures. | |
if (aStack[length] === a) return bStack[length] === b; | |
} | |
// Add the first object to the stack of traversed objects. | |
aStack.push(a); | |
bStack.push(b); | |
// Recursively compare objects and arrays. | |
if (areArrays) { | |
// Compare array lengths to determine if a deep comparison is necessary. | |
length = a.length; | |
if (length !== b.length) return false; | |
// Deep compare the contents, ignoring non-numeric properties. | |
while (length--) { | |
if (!eq(a[length], b[length], aStack, bStack)) return false; | |
} | |
} else { | |
// Deep compare objects. | |
var _keys = Object(_keys_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(a), key; | |
length = _keys.length; | |
// Ensure that both objects contain the same number of properties before comparing deep equality. | |
if (Object(_keys_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(b).length !== length) return false; | |
while (length--) { | |
// Deep compare each member | |
key = _keys[length]; | |
if (!(Object(_has_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"])(b, key) && eq(a[key], b[key], aStack, bStack))) return false; | |
} | |
} | |
// Remove the first object from the stack of traversed objects. | |
aStack.pop(); | |
bStack.pop(); | |
return true; | |
} | |
// Perform a deep comparison to check if two objects are equal. | |
function isEqual(a, b) { | |
return eq(a, b); | |
} | |
/***/ }), | |
/* 108 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony import */ var _stringTagBug_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21); | |
/* harmony import */ var _methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27); | |
/* harmony default export */ __webpack_exports__["a"] = (_stringTagBug_js__WEBPACK_IMPORTED_MODULE_1__[/* isIE11 */ "b"] ? Object(_methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__[/* ie11fingerprint */ "a"])(_methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__[/* mapMethods */ "b"]) : Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Map')); | |
/***/ }), | |
/* 109 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony import */ var _stringTagBug_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21); | |
/* harmony import */ var _methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27); | |
/* harmony default export */ __webpack_exports__["a"] = (_stringTagBug_js__WEBPACK_IMPORTED_MODULE_1__[/* isIE11 */ "b"] ? Object(_methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__[/* ie11fingerprint */ "a"])(_methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__[/* weakMapMethods */ "d"]) : Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('WeakMap')); | |
/***/ }), | |
/* 110 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony import */ var _stringTagBug_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21); | |
/* harmony import */ var _methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27); | |
/* harmony default export */ __webpack_exports__["a"] = (_stringTagBug_js__WEBPACK_IMPORTED_MODULE_1__[/* isIE11 */ "b"] ? Object(_methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__[/* ie11fingerprint */ "a"])(_methodFingerprint_js__WEBPACK_IMPORTED_MODULE_2__[/* setMethods */ "c"]) : Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('Set')); | |
/***/ }), | |
/* 111 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _tagTester_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_tagTester_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('WeakSet')); | |
/***/ }), | |
/* 112 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return pairs; }); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2); | |
// Convert an object into a list of `[key, value]` pairs. | |
// The opposite of `_.object` with one argument. | |
function pairs(obj) { | |
var _keys = Object(_keys_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj); | |
var length = _keys.length; | |
var pairs = Array(length); | |
for (var i = 0; i < length; i++) { | |
pairs[i] = [_keys[i], obj[_keys[i]]]; | |
} | |
return pairs; | |
} | |
/***/ }), | |
/* 113 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return create; }); | |
/* harmony import */ var _baseCreate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84); | |
/* harmony import */ var _extendOwn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31); | |
// Creates an object that inherits from the given prototype object. | |
// If additional properties are provided then they will be added to the | |
// created object. | |
function create(prototype, props) { | |
var result = Object(_baseCreate_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(prototype); | |
if (props) Object(_extendOwn_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(result, props); | |
return result; | |
} | |
/***/ }), | |
/* 114 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return tap; }); | |
// Invokes `interceptor` with the `obj` and then returns `obj`. | |
// The primary purpose of this method is to "tap into" a method chain, in | |
// order to perform operations on intermediate results within the chain. | |
function tap(obj, interceptor) { | |
interceptor(obj); | |
return obj; | |
} | |
/***/ }), | |
/* 115 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return has; }); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12); | |
/* harmony import */ var _toPath_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22); | |
// Shortcut function for checking if an object has a given property directly on | |
// itself (in other words, not on a prototype). Unlike the internal `has` | |
// function, this public version can also traverse nested properties. | |
function has(obj, path) { | |
path = Object(_toPath_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(path); | |
var length = path.length; | |
for (var i = 0; i < length; i++) { | |
var key = path[i]; | |
if (!Object(_has_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj, key)) return false; | |
obj = obj[key]; | |
} | |
return !!length; | |
} | |
/***/ }), | |
/* 116 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return mapObject; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2); | |
// Returns the results of applying the `iteratee` to each element of `obj`. | |
// In contrast to `_.map` it returns an object. | |
function mapObject(obj, iteratee, context) { | |
iteratee = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(iteratee, context); | |
var _keys = Object(_keys_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj), | |
length = _keys.length, | |
results = {}; | |
for (var index = 0; index < length; index++) { | |
var currentKey = _keys[index]; | |
results[currentKey] = iteratee(obj[currentKey], currentKey, obj); | |
} | |
return results; | |
} | |
/***/ }), | |
/* 117 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return propertyOf; }); | |
/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68); | |
/* harmony import */ var _get_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66); | |
// Generates a function for a given object that returns a given property. | |
function propertyOf(obj) { | |
if (obj == null) return _noop_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]; | |
return function(path) { | |
return Object(_get_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj, path); | |
}; | |
} | |
/***/ }), | |
/* 118 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return times; }); | |
/* harmony import */ var _optimizeCb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23); | |
// Run a function **n** times. | |
function times(n, iteratee, context) { | |
var accum = Array(Math.max(0, n)); | |
iteratee = Object(_optimizeCb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(iteratee, context, 1); | |
for (var i = 0; i < n; i++) accum[i] = iteratee(i); | |
return accum; | |
} | |
/***/ }), | |
/* 119 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createEscaper_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(86); | |
/* harmony import */ var _escapeMap_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87); | |
// Function for escaping strings to HTML interpolation. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createEscaper_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_escapeMap_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])); | |
/***/ }), | |
/* 120 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createEscaper_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(86); | |
/* harmony import */ var _unescapeMap_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(162); | |
// Function for unescaping strings from HTML interpolation. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createEscaper_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_unescapeMap_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])); | |
/***/ }), | |
/* 121 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return template; }); | |
/* harmony import */ var _defaults_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3); | |
/* harmony import */ var _templateSettings_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93); | |
// When customizing `_.templateSettings`, if you don't want to define an | |
// interpolation, evaluation or escaping regex, we need one that is | |
// guaranteed not to match. | |
var noMatch = /(.)^/; | |
// Certain characters need to be escaped so that they can be put into a | |
// string literal. | |
var escapes = { | |
"'": "'", | |
'\\': '\\', | |
'\r': 'r', | |
'\n': 'n', | |
'\u2028': 'u2028', | |
'\u2029': 'u2029' | |
}; | |
var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; | |
function escapeChar(match) { | |
return '\\' + escapes[match]; | |
} | |
// In order to prevent third-party code injection through | |
// `_.templateSettings.variable`, we test it against the following regular | |
// expression. It is intentionally a bit more liberal than just matching valid | |
// identifiers, but still prevents possible loopholes through defaults or | |
// destructuring assignment. | |
var bareIdentifier = /^\s*(\w|\$)+\s*$/; | |
// JavaScript micro-templating, similar to John Resig's implementation. | |
// Underscore templating handles arbitrary delimiters, preserves whitespace, | |
// and correctly escapes quotes within interpolated code. | |
// NB: `oldSettings` only exists for backwards compatibility. | |
function template(text, settings, oldSettings) { | |
if (!settings && oldSettings) settings = oldSettings; | |
settings = Object(_defaults_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, settings, _underscore_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].templateSettings); | |
// Combine delimiters into one regular expression via alternation. | |
var matcher = RegExp([ | |
(settings.escape || noMatch).source, | |
(settings.interpolate || noMatch).source, | |
(settings.evaluate || noMatch).source | |
].join('|') + '|$', 'g'); | |
// Compile the template source, escaping string literals appropriately. | |
var index = 0; | |
var source = "__p+='"; | |
text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { | |
source += text.slice(index, offset).replace(escapeRegExp, escapeChar); | |
index = offset + match.length; | |
if (escape) { | |
source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; | |
} else if (interpolate) { | |
source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; | |
} else if (evaluate) { | |
source += "';\n" + evaluate + "\n__p+='"; | |
} | |
// Adobe VMs need the match returned to produce the correct offset. | |
return match; | |
}); | |
source += "';\n"; | |
var argument = settings.variable; | |
if (argument) { | |
// Insure against third-party code injection. (CVE-2021-23358) | |
if (!bareIdentifier.test(argument)) throw new Error( | |
'variable is not a bare identifier: ' + argument | |
); | |
} else { | |
// If a variable is not specified, place data values in local scope. | |
source = 'with(obj||{}){\n' + source + '}\n'; | |
argument = 'obj'; | |
} | |
source = "var __t,__p='',__j=Array.prototype.join," + | |
"print=function(){__p+=__j.call(arguments,'');};\n" + | |
source + 'return __p;\n'; | |
var render; | |
try { | |
render = new Function(argument, '_', source); | |
} catch (e) { | |
e.source = source; | |
throw e; | |
} | |
var template = function(data) { | |
return render.call(this, data, _underscore_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"]); | |
}; | |
// Provide the compiled source as a convenience for precompilation. | |
template.source = 'function(' + argument + '){\n' + source + '}'; | |
return template; | |
} | |
/***/ }), | |
/* 122 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return result; }); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7); | |
/* harmony import */ var _toPath_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22); | |
// Traverses the children of `obj` along `path`. If a child is a function, it | |
// is invoked with its parent as context. Returns the value of the final | |
// child, or `fallback` if any child is undefined. | |
function result(obj, path, fallback) { | |
path = Object(_toPath_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(path); | |
var length = path.length; | |
if (!length) { | |
return Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(fallback) ? fallback.call(obj) : fallback; | |
} | |
for (var i = 0; i < length; i++) { | |
var prop = obj == null ? void 0 : obj[path[i]]; | |
if (prop === void 0) { | |
prop = fallback; | |
i = length; // Ensure we don't continue iterating. | |
} | |
obj = Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(prop) ? prop.call(obj) : prop; | |
} | |
return obj; | |
} | |
/***/ }), | |
/* 123 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return uniqueId; }); | |
// Generate a unique integer id (unique within the entire client session). | |
// Useful for temporary DOM ids. | |
var idCounter = 0; | |
function uniqueId(prefix) { | |
var id = ++idCounter + ''; | |
return prefix ? prefix + id : id; | |
} | |
/***/ }), | |
/* 124 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return chain; }); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
// Start chaining a wrapped Underscore object. | |
function chain(obj) { | |
var instance = Object(_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj); | |
instance._chain = true; | |
return instance; | |
} | |
/***/ }), | |
/* 125 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _flatten_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); | |
/* harmony import */ var _bind_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(69); | |
// Bind a number of an object's methods to that object. Remaining arguments | |
// are the method names to be bound. Useful for ensuring that all callbacks | |
// defined on an object belong to it. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(obj, keys) { | |
keys = Object(_flatten_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(keys, false, false); | |
var index = keys.length; | |
if (index < 1) throw new Error('bindAll must be passed function names'); | |
while (index--) { | |
var key = keys[index]; | |
obj[key] = Object(_bind_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj[key], obj); | |
} | |
return obj; | |
})); | |
/***/ }), | |
/* 126 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return memoize; }); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12); | |
// Memoize an expensive function by storing its results. | |
function memoize(func, hasher) { | |
var memoize = function(key) { | |
var cache = memoize.cache; | |
var address = '' + (hasher ? hasher.apply(this, arguments) : key); | |
if (!Object(_has_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(cache, address)) cache[address] = func.apply(this, arguments); | |
return cache[address]; | |
}; | |
memoize.cache = {}; | |
return memoize; | |
} | |
/***/ }), | |
/* 127 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _partial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28); | |
/* harmony import */ var _delay_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3); | |
// Defers a function, scheduling it to run after the current call stack has | |
// cleared. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_partial_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_delay_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], _underscore_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], 1)); | |
/***/ }), | |
/* 128 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return throttle; }); | |
/* harmony import */ var _now_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29); | |
// Returns a function, that, when invoked, will only be triggered at most once | |
// during a given window of time. Normally, the throttled function will run | |
// as much as it can, without ever going more than once per `wait` duration; | |
// but if you'd like to disable the execution on the leading edge, pass | |
// `{leading: false}`. To disable execution on the trailing edge, ditto. | |
function throttle(func, wait, options) { | |
var timeout, context, args, result; | |
var previous = 0; | |
if (!options) options = {}; | |
var later = function() { | |
previous = options.leading === false ? 0 : Object(_now_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(); | |
timeout = null; | |
result = func.apply(context, args); | |
if (!timeout) context = args = null; | |
}; | |
var throttled = function() { | |
var _now = Object(_now_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(); | |
if (!previous && options.leading === false) previous = _now; | |
var remaining = wait - (_now - previous); | |
context = this; | |
args = arguments; | |
if (remaining <= 0 || remaining > wait) { | |
if (timeout) { | |
clearTimeout(timeout); | |
timeout = null; | |
} | |
previous = _now; | |
result = func.apply(context, args); | |
if (!timeout) context = args = null; | |
} else if (!timeout && options.trailing !== false) { | |
timeout = setTimeout(later, remaining); | |
} | |
return result; | |
}; | |
throttled.cancel = function() { | |
clearTimeout(timeout); | |
previous = 0; | |
timeout = context = args = null; | |
}; | |
return throttled; | |
} | |
/***/ }), | |
/* 129 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return debounce; }); | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _now_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29); | |
// When a sequence of calls of the returned function ends, the argument | |
// function is triggered. The end of a sequence is defined by the `wait` | |
// parameter. If `immediate` is passed, the argument function will be | |
// triggered at the beginning of the sequence instead of at the end. | |
function debounce(func, wait, immediate) { | |
var timeout, previous, args, result, context; | |
var later = function() { | |
var passed = Object(_now_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])() - previous; | |
if (wait > passed) { | |
timeout = setTimeout(later, wait - passed); | |
} else { | |
timeout = null; | |
if (!immediate) result = func.apply(context, args); | |
// This check is needed because `func` can recursively invoke `debounced`. | |
if (!timeout) args = context = null; | |
} | |
}; | |
var debounced = Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(_args) { | |
context = this; | |
args = _args; | |
previous = Object(_now_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(); | |
if (!timeout) { | |
timeout = setTimeout(later, wait); | |
if (immediate) result = func.apply(context, args); | |
} | |
return result; | |
}); | |
debounced.cancel = function() { | |
clearTimeout(timeout); | |
timeout = args = context = null; | |
}; | |
return debounced; | |
} | |
/***/ }), | |
/* 130 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return wrap; }); | |
/* harmony import */ var _partial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28); | |
// Returns the first function passed as an argument to the second, | |
// allowing you to adjust arguments, run code before and after, and | |
// conditionally execute the original function. | |
function wrap(func, wrapper) { | |
return Object(_partial_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(wrapper, func); | |
} | |
/***/ }), | |
/* 131 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return compose; }); | |
// Returns a function that is the composition of a list of functions, each | |
// consuming the return value of the function that follows. | |
function compose() { | |
var args = arguments; | |
var start = args.length - 1; | |
return function() { | |
var i = start; | |
var result = args[start].apply(this, arguments); | |
while (i--) result = args[i].call(this, result); | |
return result; | |
}; | |
} | |
/***/ }), | |
/* 132 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return after; }); | |
// Returns a function that will only be executed on and after the Nth call. | |
function after(times, func) { | |
return function() { | |
if (--times < 1) { | |
return func.apply(this, arguments); | |
} | |
}; | |
} | |
/***/ }), | |
/* 133 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _partial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28); | |
/* harmony import */ var _before_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71); | |
// Returns a function that will be executed at most one time, no matter how | |
// often you call it. Useful for lazy initialization. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_partial_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_before_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], 2)); | |
/***/ }), | |
/* 134 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _findLastIndex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73); | |
/* harmony import */ var _createIndexFinder_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(90); | |
// Return the position of the last occurrence of an item in an array, | |
// or -1 if the item is not included in the array. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createIndexFinder_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(-1, _findLastIndex_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])); | |
/***/ }), | |
/* 135 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return findWhere; }); | |
/* harmony import */ var _find_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(46); | |
/* harmony import */ var _matcher_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(26); | |
// Convenience version of a common use case of `_.find`: getting the first | |
// object containing specific `key:value` pairs. | |
function findWhere(obj, attrs) { | |
return Object(_find_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj, Object(_matcher_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(attrs)); | |
} | |
/***/ }), | |
/* 136 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return reject; }); | |
/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19); | |
/* harmony import */ var _negate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(40); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5); | |
// Return all the elements for which a truth test fails. | |
function reject(obj, predicate, context) { | |
return Object(_filter_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj, Object(_negate_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(_cb_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(predicate)), context); | |
} | |
/***/ }), | |
/* 137 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); | |
/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16); | |
/* harmony import */ var _deepGet_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(44); | |
/* harmony import */ var _toPath_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22); | |
// Invoke a method (with arguments) on every item in a collection. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(obj, path, args) { | |
var contextPath, func; | |
if (Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(path)) { | |
func = path; | |
} else { | |
path = Object(_toPath_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(path); | |
contextPath = path.slice(0, -1); | |
path = path[path.length - 1]; | |
} | |
return Object(_map_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj, function(context) { | |
var method = func; | |
if (!method) { | |
if (contextPath && contextPath.length) { | |
context = Object(_deepGet_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(context, contextPath); | |
} | |
if (context == null) return void 0; | |
method = context[path]; | |
} | |
return method == null ? method : method.apply(context, args); | |
}); | |
})); | |
/***/ }), | |
/* 138 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return where; }); | |
/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19); | |
/* harmony import */ var _matcher_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(26); | |
// Convenience version of a common use case of `_.filter`: selecting only | |
// objects containing specific `key:value` pairs. | |
function where(obj, attrs) { | |
return Object(_filter_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj, Object(_matcher_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(attrs)); | |
} | |
/***/ }), | |
/* 139 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return min; }); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); | |
/* harmony import */ var _values_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5); | |
/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11); | |
// Return the minimum element (or element-based computation). | |
function min(obj, iteratee, context) { | |
var result = Infinity, lastComputed = Infinity, | |
value, computed; | |
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { | |
obj = Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj) ? obj : Object(_values_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj); | |
for (var i = 0, length = obj.length; i < length; i++) { | |
value = obj[i]; | |
if (value != null && value < result) { | |
result = value; | |
} | |
} | |
} else { | |
iteratee = Object(_cb_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(iteratee, context); | |
Object(_each_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(obj, function(v, index, list) { | |
computed = iteratee(v, index, list); | |
if (computed < lastComputed || computed === Infinity && result === Infinity) { | |
result = v; | |
lastComputed = computed; | |
} | |
}); | |
} | |
return result; | |
} | |
/***/ }), | |
/* 140 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return shuffle; }); | |
/* harmony import */ var _sample_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77); | |
// Shuffle a collection. | |
function shuffle(obj) { | |
return Object(_sample_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj, Infinity); | |
} | |
/***/ }), | |
/* 141 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return sortBy; }); | |
/* harmony import */ var _cb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); | |
/* harmony import */ var _pluck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(42); | |
/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16); | |
// Sort the object's values by a criterion produced by an iteratee. | |
function sortBy(obj, iteratee, context) { | |
var index = 0; | |
iteratee = Object(_cb_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(iteratee, context); | |
return Object(_pluck_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(_map_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj, function(value, key, list) { | |
return { | |
value: value, | |
index: index++, | |
criteria: iteratee(value, key, list) | |
}; | |
}).sort(function(left, right) { | |
var a = left.criteria; | |
var b = right.criteria; | |
if (a !== b) { | |
if (a > b || a === void 0) return 1; | |
if (a < b || b === void 0) return -1; | |
} | |
return left.index - right.index; | |
}), 'value'); | |
} | |
/***/ }), | |
/* 142 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12); | |
// Groups the object's values by a criterion. Pass either a string attribute | |
// to group by, or a function that returns the criterion. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_group_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(result, value, key) { | |
if (Object(_has_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(result, key)) result[key].push(value); else result[key] = [value]; | |
})); | |
/***/ }), | |
/* 143 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30); | |
// Indexes the object's values by a criterion, similar to `_.groupBy`, but for | |
// when you know that your index values will be unique. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_group_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(result, value, key) { | |
result[key] = value; | |
})); | |
/***/ }), | |
/* 144 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30); | |
/* harmony import */ var _has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12); | |
// Counts instances of an object that group by a certain criterion. Pass | |
// either a string attribute to count by, or a function that returns the | |
// criterion. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_group_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(result, value, key) { | |
if (Object(_has_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(result, key)) result[key]++; else result[key] = 1; | |
})); | |
/***/ }), | |
/* 145 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _group_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30); | |
// Split a collection into two arrays: one whose elements all pass the given | |
// truth test, and one whose elements all do not pass the truth test. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_group_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(result, value, pass) { | |
result[pass ? 0 : 1].push(value); | |
}, true)); | |
/***/ }), | |
/* 146 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return toArray; }); | |
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(14); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); | |
/* harmony import */ var _isString_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8); | |
/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16); | |
/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38); | |
/* harmony import */ var _values_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(17); | |
// Safely create a real, live array from anything iterable. | |
var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; | |
function toArray(obj) { | |
if (!obj) return []; | |
if (Object(_isArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj)) return _setup_js__WEBPACK_IMPORTED_MODULE_1__[/* slice */ "q"].call(obj); | |
if (Object(_isString_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj)) { | |
// Keep surrogate pair characters together. | |
return obj.match(reStrSymbol); | |
} | |
if (Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(obj)) return Object(_map_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(obj, _identity_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"]); | |
return Object(_values_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(obj); | |
} | |
/***/ }), | |
/* 147 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return size; }); | |
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); | |
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2); | |
// Return the number of elements in a collection. | |
function size(obj) { | |
if (obj == null) return 0; | |
return Object(_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj) ? obj.length : Object(_keys_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(obj).length; | |
} | |
/***/ }), | |
/* 148 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); | |
/* harmony import */ var _negate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(40); | |
/* harmony import */ var _map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16); | |
/* harmony import */ var _flatten_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18); | |
/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(15); | |
/* harmony import */ var _pick_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(78); | |
// Return a copy of the object without the disallowed properties. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(obj, keys) { | |
var iteratee = keys[0], context; | |
if (Object(_isFunction_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(iteratee)) { | |
iteratee = Object(_negate_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(iteratee); | |
if (keys.length > 1) context = keys[1]; | |
} else { | |
keys = Object(_map_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(Object(_flatten_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(keys, false, false), String); | |
iteratee = function(value, key) { | |
return !Object(_contains_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(keys, key); | |
}; | |
} | |
return Object(_pick_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(obj, iteratee, context); | |
})); | |
/***/ }), | |
/* 149 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return last; }); | |
/* harmony import */ var _rest_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34); | |
// Get the last element of an array. Passing **n** will return the last N | |
// values in the array. | |
function last(array, n, guard) { | |
if (array == null || array.length < 1) return n == null || guard ? void 0 : []; | |
if (n == null || guard) return array[array.length - 1]; | |
return Object(_rest_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(array, Math.max(0, array.length - n)); | |
} | |
/***/ }), | |
/* 150 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return compact; }); | |
/* harmony import */ var _filter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19); | |
// Trim out all falsy values from an array. | |
function compact(array) { | |
return Object(_filter_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(array, Boolean); | |
} | |
/***/ }), | |
/* 151 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return flatten; }); | |
/* harmony import */ var _flatten_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18); | |
// Flatten out an array, either recursively (by default), or up to `depth`. | |
// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. | |
function flatten(array, depth) { | |
return Object(_flatten_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(array, depth, false); | |
} | |
/***/ }), | |
/* 152 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _difference_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80); | |
// Return a version of the array that does not contain the specified value(s). | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(array, otherArrays) { | |
return Object(_difference_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(array, otherArrays); | |
})); | |
/***/ }), | |
/* 153 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _uniq_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47); | |
/* harmony import */ var _flatten_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18); | |
// Produce an array that contains the union: each distinct element from all of | |
// the passed-in arrays. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function(arrays) { | |
return Object(_uniq_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(_flatten_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(arrays, true, true)); | |
})); | |
/***/ }), | |
/* 154 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return intersection; }); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); | |
/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15); | |
// Produce an array that contains every item shared between all the | |
// passed-in arrays. | |
function intersection(array) { | |
var result = []; | |
var argsLength = arguments.length; | |
for (var i = 0, length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(array); i < length; i++) { | |
var item = array[i]; | |
if (Object(_contains_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(result, item)) continue; | |
var j; | |
for (j = 1; j < argsLength; j++) { | |
if (!Object(_contains_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(arguments[j], item)) break; | |
} | |
if (j === argsLength) result.push(item); | |
} | |
return result; | |
} | |
/***/ }), | |
/* 155 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _restArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6); | |
/* harmony import */ var _unzip_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(48); | |
// Zip together multiple lists into a single array -- elements that share | |
// an index go together. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_restArguments_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_unzip_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])); | |
/***/ }), | |
/* 156 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return object; }); | |
/* harmony import */ var _getLength_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); | |
// Converts lists into objects. Pass either a single array of `[key, value]` | |
// pairs, or two parallel arrays of the same length -- one of keys, and one of | |
// the corresponding values. Passing by pairs is the reverse of `_.pairs`. | |
function object(list, values) { | |
var result = {}; | |
for (var i = 0, length = Object(_getLength_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(list); i < length; i++) { | |
if (values) { | |
result[list[i]] = values[i]; | |
} else { | |
result[list[i][0]] = list[i][1]; | |
} | |
} | |
return result; | |
} | |
/***/ }), | |
/* 157 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return range; }); | |
// Generate an integer Array containing an arithmetic progression. A port of | |
// the native Python `range()` function. See | |
// [the Python documentation](https://docs.python.org/library/functions.html#range). | |
function range(start, stop, step) { | |
if (stop == null) { | |
stop = start || 0; | |
start = 0; | |
} | |
if (!step) { | |
step = stop < start ? -1 : 1; | |
} | |
var length = Math.max(Math.ceil((stop - start) / step), 0); | |
var range = Array(length); | |
for (var idx = 0; idx < length; idx++, start += step) { | |
range[idx] = start; | |
} | |
return range; | |
} | |
/***/ }), | |
/* 158 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return chunk; }); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); | |
// Chunk a single array into multiple arrays, each containing `count` or fewer | |
// items. | |
function chunk(array, count) { | |
if (count == null || count < 1) return []; | |
var result = []; | |
var i = 0, length = array.length; | |
while (i < length) { | |
result.push(_setup_js__WEBPACK_IMPORTED_MODULE_0__[/* slice */ "q"].call(array, i, i += count)); | |
} | |
return result; | |
} | |
/***/ }), | |
/* 159 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return mixin; }); | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11); | |
/* harmony import */ var _functions_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0); | |
/* harmony import */ var _chainResult_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50); | |
// Add your own custom functions to the Underscore object. | |
function mixin(obj) { | |
Object(_each_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(_functions_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(obj), function(name) { | |
var func = _underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"][name] = obj[name]; | |
_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].prototype[name] = function() { | |
var args = [this._wrapped]; | |
_setup_js__WEBPACK_IMPORTED_MODULE_3__[/* push */ "o"].apply(args, arguments); | |
return Object(_chainResult_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, func.apply(_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"], args)); | |
}; | |
}); | |
return _underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]; | |
} | |
/***/ }), | |
/* 160 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _underscore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | |
/* harmony import */ var _each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11); | |
/* harmony import */ var _setup_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0); | |
/* harmony import */ var _chainResult_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50); | |
// Add all mutator `Array` functions to the wrapper. | |
Object(_each_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { | |
var method = _setup_js__WEBPACK_IMPORTED_MODULE_2__[/* ArrayProto */ "a"][name]; | |
_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].prototype[name] = function() { | |
var obj = this._wrapped; | |
if (obj != null) { | |
method.apply(obj, arguments); | |
if ((name === 'shift' || name === 'splice') && obj.length === 0) { | |
delete obj[0]; | |
} | |
} | |
return Object(_chainResult_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(this, obj); | |
}; | |
}); | |
// Add all accessor `Array` functions to the wrapper. | |
Object(_each_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(['concat', 'join', 'slice'], function(name) { | |
var method = _setup_js__WEBPACK_IMPORTED_MODULE_2__[/* ArrayProto */ "a"][name]; | |
_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].prototype[name] = function() { | |
var obj = this._wrapped; | |
if (obj != null) obj = method.apply(obj, arguments); | |
return Object(_chainResult_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(this, obj); | |
}; | |
}); | |
/* harmony default export */ __webpack_exports__["a"] = (_underscore_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]); | |
/***/ }), | |
/* 161 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _createSizePropertyCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81); | |
/* harmony import */ var _getByteLength_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33); | |
// Internal helper to determine whether we should spend extensive checks against | |
// `ArrayBuffer` et al. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_createSizePropertyCheck_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_getByteLength_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])); | |
/***/ }), | |
/* 162 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony import */ var _invert_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62); | |
/* harmony import */ var _escapeMap_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87); | |
// Internal list of HTML entities for unescaping. | |
/* harmony default export */ __webpack_exports__["a"] = (Object(_invert_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_escapeMap_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])); | |
/***/ }), | |
/* 163 */ | |
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
"use strict"; | |
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return keyInObj; }); | |
// Internal `_.pick` helper function to determine whether `key` is an enumerable | |
// property name of `obj`. | |
function keyInObj(value, key, obj) { | |
return key in obj; | |
} | |
/***/ }), | |
/* 164 */ | |
/***/ (function(module, exports) { | |
var g; | |
// This works in non-strict mode | |
g = (function() { | |
return this; | |
})(); | |
try { | |
// This works if eval is allowed (see CSP) | |
g = g || new Function("return this")(); | |
} catch (e) { | |
// This works if the window reference is available | |
if (typeof window === "object") g = window; | |
} | |
// g can still be undefined, but nothing to do about it... | |
// We return undefined, instead of nothing here, so it's | |
// easier to handle this case. if(!global) { ...} | |
module.exports = g; | |
/***/ }) | |
/******/ ]); | |
}); | |
//# sourceMappingURL=game-of-life.js.map |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":3,"sources":["webpack:///../../../webpack/universalModuleDefinition","webpack:///../../../webpack/bootstrap","webpack:///../../../node_modules/underscore/modules/_setup.js","webpack:///../../../game-of-life.cul.js","webpack:///../../../node_modules/underscore/modules/keys.js","webpack:///../../../node_modules/underscore/modules/underscore.js","webpack:///../../../node_modules/underscore/modules/_tagTester.js","webpack:///../../../node_modules/underscore/modules/_cb.js","webpack:///../../../node_modules/underscore/modules/restArguments.js","webpack:///../../../node_modules/underscore/modules/isFunction.js","webpack:///../../../node_modules/underscore/modules/_isArrayLike.js","webpack:///../../../node_modules/underscore/modules/_getLength.js","webpack:///../../../node_modules/underscore/modules/each.js","webpack:///../../../node_modules/underscore/modules/_has.js","webpack:///../../../node_modules/underscore/modules/isObject.js","webpack:///../../../node_modules/underscore/modules/isArray.js","webpack:///../../../node_modules/underscore/modules/contains.js","webpack:///../../../node_modules/underscore/modules/map.js","webpack:///../../../node_modules/underscore/modules/values.js","webpack:///../../../node_modules/underscore/modules/_flatten.js","webpack:///../../../node_modules/underscore/modules/filter.js","webpack:///../../../node_modules/underscore/modules/allKeys.js","webpack:///../../../node_modules/underscore/modules/_stringTagBug.js","webpack:///../../../node_modules/underscore/modules/_toPath.js","webpack:///../../../node_modules/underscore/modules/_optimizeCb.js","webpack:///../../../node_modules/lru-memoize/dist/lru-memoize.es.js","webpack:///../../../node_modules/underscore/modules/index-all.js","webpack:///../../../node_modules/underscore/modules/matcher.js","webpack:///../../../node_modules/underscore/modules/_methodFingerprint.js","webpack:///../../../node_modules/underscore/modules/partial.js","webpack:///../../../node_modules/underscore/modules/now.js","webpack:///../../../node_modules/underscore/modules/_group.js","webpack:///../../../node_modules/underscore/modules/extendOwn.js","webpack:///../../../node_modules/underscore/modules/isDataView.js","webpack:///../../../node_modules/underscore/modules/_getByteLength.js","webpack:///../../../node_modules/underscore/modules/rest.js","webpack:///../../../node_modules/underscore/modules/index.js","webpack:///../../../node_modules/underscore/modules/isString.js","webpack:///../../../node_modules/underscore/modules/isArguments.js","webpack:///../../../node_modules/underscore/modules/identity.js","webpack:///../../../node_modules/underscore/modules/property.js","webpack:///../../../node_modules/underscore/modules/negate.js","webpack:///../../../node_modules/underscore/modules/findIndex.js","webpack:///../../../node_modules/underscore/modules/pluck.js","webpack:///../../../node_modules/underscore/modules/_createAssigner.js","webpack:///../../../node_modules/underscore/modules/_deepGet.js","webpack:///../../../node_modules/underscore/modules/functions.js","webpack:///../../../node_modules/underscore/modules/find.js","webpack:///../../../node_modules/underscore/modules/uniq.js","webpack:///../../../node_modules/underscore/modules/unzip.js","webpack:///../../../node_modules/underscore/modules/random.js","webpack:///../../../node_modules/underscore/modules/_chainResult.js","webpack:///../../../node_modules/underscore/modules/reduce.js","webpack:///../../../node_modules/underscore/modules/first.js","webpack:///../../../node_modules/underscore/modules/isUndefined.js","webpack:///../../../node_modules/underscore/modules/isBoolean.js","webpack:///../../../node_modules/underscore/modules/isNumber.js","webpack:///../../../node_modules/underscore/modules/isSymbol.js","webpack:///../../../node_modules/underscore/modules/isArrayBuffer.js","webpack:///../../../node_modules/underscore/modules/isNaN.js","webpack:///../../../node_modules/underscore/modules/isTypedArray.js","webpack:///../../../node_modules/underscore/modules/constant.js","webpack:///../../../node_modules/underscore/modules/isMatch.js","webpack:///../../../node_modules/underscore/modules/invert.js","webpack:///../../../node_modules/underscore/modules/extend.js","webpack:///../../../node_modules/underscore/modules/defaults.js","webpack:///../../../node_modules/underscore/modules/clone.js","webpack:///../../../node_modules/underscore/modules/get.js","webpack:///../../../node_modules/underscore/modules/iteratee.js","webpack:///../../../node_modules/underscore/modules/noop.js","webpack:///../../../node_modules/underscore/modules/bind.js","webpack:///../../../node_modules/underscore/modules/delay.js","webpack:///../../../node_modules/underscore/modules/before.js","webpack:///../../../node_modules/underscore/modules/findKey.js","webpack:///../../../node_modules/underscore/modules/findLastIndex.js","webpack:///../../../node_modules/underscore/modules/sortedIndex.js","webpack:///../../../node_modules/underscore/modules/indexOf.js","webpack:///../../../node_modules/underscore/modules/max.js","webpack:///../../../node_modules/underscore/modules/sample.js","webpack:///../../../node_modules/underscore/modules/pick.js","webpack:///../../../node_modules/underscore/modules/initial.js","webpack:///../../../node_modules/underscore/modules/difference.js","webpack:///../../../node_modules/underscore/modules/_createSizePropertyCheck.js","webpack:///../../../node_modules/underscore/modules/_shallowProperty.js","webpack:///../../../node_modules/underscore/modules/_collectNonEnumProps.js","webpack:///../../../node_modules/underscore/modules/_baseCreate.js","webpack:///../../../node_modules/underscore/modules/_baseIteratee.js","webpack:///../../../node_modules/underscore/modules/_createEscaper.js","webpack:///../../../node_modules/underscore/modules/_escapeMap.js","webpack:///../../../node_modules/underscore/modules/_executeBound.js","webpack:///../../../node_modules/underscore/modules/_createPredicateIndexFinder.js","webpack:///../../../node_modules/underscore/modules/_createIndexFinder.js","webpack:///../../../node_modules/underscore/modules/_createReduce.js","webpack:///../../../node_modules/underscore/modules/toPath.js","webpack:///../../../node_modules/underscore/modules/templateSettings.js","webpack:///../../../node_modules/underscore/modules/reduceRight.js","webpack:///../../../node_modules/underscore/modules/every.js","webpack:///../../../node_modules/underscore/modules/some.js","webpack:///../../../node_modules/underscore/modules/_hasObjectTag.js","webpack:///../../../node_modules/underscore/modules/_toBufferView.js","webpack:///../../../node_modules/underscore/modules/index-default.js","webpack:///../../../node_modules/underscore/modules/isNull.js","webpack:///../../../node_modules/underscore/modules/isElement.js","webpack:///../../../node_modules/underscore/modules/isDate.js","webpack:///../../../node_modules/underscore/modules/isRegExp.js","webpack:///../../../node_modules/underscore/modules/isError.js","webpack:///../../../node_modules/underscore/modules/isFinite.js","webpack:///../../../node_modules/underscore/modules/isEmpty.js","webpack:///../../../node_modules/underscore/modules/isEqual.js","webpack:///../../../node_modules/underscore/modules/isMap.js","webpack:///../../../node_modules/underscore/modules/isWeakMap.js","webpack:///../../../node_modules/underscore/modules/isSet.js","webpack:///../../../node_modules/underscore/modules/isWeakSet.js","webpack:///../../../node_modules/underscore/modules/pairs.js","webpack:///../../../node_modules/underscore/modules/create.js","webpack:///../../../node_modules/underscore/modules/tap.js","webpack:///../../../node_modules/underscore/modules/has.js","webpack:///../../../node_modules/underscore/modules/mapObject.js","webpack:///../../../node_modules/underscore/modules/propertyOf.js","webpack:///../../../node_modules/underscore/modules/times.js","webpack:///../../../node_modules/underscore/modules/escape.js","webpack:///../../../node_modules/underscore/modules/unescape.js","webpack:///../../../node_modules/underscore/modules/template.js","webpack:///../../../node_modules/underscore/modules/result.js","webpack:///../../../node_modules/underscore/modules/uniqueId.js","webpack:///../../../node_modules/underscore/modules/chain.js","webpack:///../../../node_modules/underscore/modules/bindAll.js","webpack:///../../../node_modules/underscore/modules/memoize.js","webpack:///../../../node_modules/underscore/modules/defer.js","webpack:///../../../node_modules/underscore/modules/throttle.js","webpack:///../../../node_modules/underscore/modules/debounce.js","webpack:///../../../node_modules/underscore/modules/wrap.js","webpack:///../../../node_modules/underscore/modules/compose.js","webpack:///../../../node_modules/underscore/modules/after.js","webpack:///../../../node_modules/underscore/modules/once.js","webpack:///../../../node_modules/underscore/modules/lastIndexOf.js","webpack:///../../../node_modules/underscore/modules/findWhere.js","webpack:///../../../node_modules/underscore/modules/reject.js","webpack:///../../../node_modules/underscore/modules/invoke.js","webpack:///../../../node_modules/underscore/modules/where.js","webpack:///../../../node_modules/underscore/modules/min.js","webpack:///../../../node_modules/underscore/modules/shuffle.js","webpack:///../../../node_modules/underscore/modules/sortBy.js","webpack:///../../../node_modules/underscore/modules/groupBy.js","webpack:///../../../node_modules/underscore/modules/indexBy.js","webpack:///../../../node_modules/underscore/modules/countBy.js","webpack:///../../../node_modules/underscore/modules/partition.js","webpack:///../../../node_modules/underscore/modules/toArray.js","webpack:///../../../node_modules/underscore/modules/size.js","webpack:///../../../node_modules/underscore/modules/omit.js","webpack:///../../../node_modules/underscore/modules/last.js","webpack:///../../../node_modules/underscore/modules/compact.js","webpack:///../../../node_modules/underscore/modules/flatten.js","webpack:///../../../node_modules/underscore/modules/without.js","webpack:///../../../node_modules/underscore/modules/union.js","webpack:///../../../node_modules/underscore/modules/intersection.js","webpack:///../../../node_modules/underscore/modules/zip.js","webpack:///../../../node_modules/underscore/modules/object.js","webpack:///../../../node_modules/underscore/modules/range.js","webpack:///../../../node_modules/underscore/modules/chunk.js","webpack:///../../../node_modules/underscore/modules/mixin.js","webpack:///../../../node_modules/underscore/modules/underscore-array-methods.js","webpack:///../../../node_modules/underscore/modules/_isBufferLike.js","webpack:///../../../node_modules/underscore/modules/_unescapeMap.js","webpack:///../../../node_modules/underscore/modules/_keyInObj.js","webpack:///../../../node_modules/webpack/buildin/global.js"],"names":["initial_grid$m","memoize","isEqual","initial_grid$","initial_grid","a","generation$m","generation$","generation","size$m","size$","size","x$m","x$","x","y$m","y$","y","grid$m","grid$","grid","new_grid$m","new_grid$","new_grid","alive$m","alive$","alive","neighbours_alive$m","neighbours_alive$","neighbours_alive","initial_grid_in","generation_in","size_in","x_in","y_in","i","Array","keys","map","row","col","was_alive","neighbours","ans"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,i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AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AAAA;AAAA;AAA0B;AACG;;AAE7B;AACe;AACf;AACA,cAAc,8DAAE;AAChB,EAAE,gEAAI;AACN;AACA,GAAG;AACH;AACA;;;;;;;;ACXA;AAAA;AAAA;AAAA;AAAqC;AACI;AACmB;;AAE5D;AACe;AACf,OAAO,oEAAQ;AACf;AACA;AACA;AACA,MAAM,4DAAU,EAAE,+EAAmB;AACrC;AACA;;;;;;;;ACZA;AAAA;AAAA;AAAA;AAA+C;AACD;;AAE9C;AACA;AACA;AACO;AACP,MAAM,kEAAgB,IAAI,wEAAY;AACtC;AACA,4CAA4C,wEAAY;;;;;;;;ACTxD;AAAA;AAAA;AAAgC;AACX;;AAErB;AACA;AACe;AACf,SAAS,8DAAC;AACV;;;;;;;;ACPA;AAAA;AACA;AACA;AACe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpBA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;;AAGP;AACA;AACA,OAAO;AACP;AACA,OAAO;;;AAGP;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,OAAO;;;AAGP,wDAAwD;;AAExD;AACA;AACA,OAAO;AACP;AACA,OAAO;;;AAGP;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK,EAAE;;AAEP;AACA,sCAAsC;;AAEtC;AACA;AACA;AACA;;AAEA;AACA,KAAK;;;AAGL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;;AAGL,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA,KAAK;;;AAGL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,uEAAuE,aAAa;AACpF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,4EAA4E,eAAe;AAC3F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEe,gEAAO,EAAC;;;;;;;;ACvNvB;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC6C;AAClB;;;;;;;;ACjB3B;AAAA;AAAA;AAAuC;AACJ;;AAEnC;AACA;AACe;AACf,UAAU,qEAAS,GAAG;AACtB;AACA,WAAW,mEAAO;AAClB;AACA;;;;;;;;ACVA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwC;AACC;AACN;;AAEnC;AACA;AACA;AACA;AACO;AACP,eAAe,qEAAS;AACxB;AACA;AACA;AACA,eAAe,mEAAO;AACtB,QAAQ,qEAAS;AACjB,mBAAmB,YAAY;AAC/B,WAAW,sEAAU;AACrB;AACA;AACA;AACA;AACA,0CAA0C,sEAAU;AACpD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACO;AACP;AACA;;;;;;;;ACpCA;AAAA;AAAA;AAA+C;AACD;AACd;;AAEhC;AACA;AACA;AACA;AACA,cAAc,yEAAa;AAC3B;AACA;AACA;AACA;AACA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA,WAAW,wEAAY;AACvB;AACA;AACA,CAA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B;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgC;AACoB;AACJ;AACH;AACJ;AACa;AACb;AACZ;AACD;AACkB;;AAE9C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,8DAAC;AACpB,mBAAmB,8DAAC;AACpB;AACA,kBAAkB,0DAAQ;AAC1B,oBAAoB,0DAAQ;AAC5B;AACA,MAAM,wEAAe,sCAAsC,sEAAU;AACrE,SAAS,sEAAU;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,6DAAW,qBAAqB,6DAAW;AACxD;AACA;AACA;AACA,oBAAoB,wEAAY,KAAK,wEAAY;AACjD;;AAEA;AACA,oBAAoB,wEAAY;AAChC,uBAAuB,yEAAa;AACpC,yBAAyB,yEAAa;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,6BAA6B,sEAAU;AACvC,6BAA6B,sEAAU;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,gBAAgB,gEAAI;AACpB;AACA;AACA,QAAQ,gEAAI;AACZ;AACA;AACA;AACA,YAAY,+DAAG;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe;AACf;AACA;;;;;;;;ACzIA;AAAA;AAAA;AAAwC;AACI;AAC2B;;AAExD,wHAAM,GAAG,qFAAe,CAAC,wEAAU,IAAI,qEAAS,OAAO,EAAC;;;;;;;;ACJvE;AAAA;AAAA;AAAwC;AACI;AAC+B;;AAE5D,wHAAM,GA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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACe;AACf;AACA,aAAa,oEAAQ,GAAG,YAAY,8DAAC;;AAErC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,mBAAmB;AACnB;;AAEA;AACA;AACA,GAAG;AACH,eAAe;;AAEf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,0BAA0B,EAAE,iBAAiB;AAC7C;AACA;;AAEA;AACA,sBAAsB,8BAA8B;AACpD,yBAAyB;;AAEzB;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA,mCAAmC,8DAAC;AACpC;;AAEA;AACA,gDAAgD,iBAAiB;;AAEjE;AACA;;;;;;;;ACpGA;AAAA;AAAA;AAAyC;AACP;;AAElC;AACA;AACA;AACe;AACf,SAAS,kEAAM;AACf;AACA;AACA,WAAW,sEAAU;AACrB;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;AACA,iBAAiB;AACjB;AACA,UAAU,sEAAU;AACpB;AACA;AACA;;;;;;;;ACrBA;AAAA;AACA;AACA;AACe;AACf;AACA;AACA;;;;;;;;ACNA;AAAA;AAAgC;;AAEhC;AACe;AACf,iBAAiB,sEAAC;AAClB;AACA;AACA;;;;;;;;ACPA;AAAA;AAAA;AAA+C;AACX;AACP;;AAE7B;AACA;AACA;AACe,kIAAa;AAC5B,SAAS,mEAAO;AAChB;AACA;AACA;AACA;AACA,eAAe,gEAAI;AACnB;AACA;AACA,CAAC,CAAC,EAAC;;;;;;;;AChBH;AAAA;AAA4B;;AAE5B;AACe;AACf;AACA;AACA;AACA,SAAS,+DAAG;AACZ;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AAAA;AAAA;AAAmC;AACJ;AACC;;AAEhC;AACA;AACe,4HAAO,CAAC,yDAAK,EAAE,8DAAC,IAAI,EAAC;;;;;;;;ACNpC;AAAA;AAA2B;;AAE3B;AACA;AACA;AACA;AACA,KAAK,eAAe;AACL;AACf;AACA;AACA;;AAEA;AACA,+CAA+C,+DAAG;AAClD;AACA;AACA;AACA;;AAEA;AACA,eAAe,+DAAG;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;AC9CA;AAAA;AAAA;AAA+C;AACpB;;AAE3B;AACA;AACA;AACA;AACe;AACf;;AAEA;AACA,iBAAiB,+DAAG;AACpB;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB,yEAAa;AAC/B;AACA;AACA,eAAe,+DAAG;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;ACvCA;AAAA;AAAmC;;AAEnC;AACA;AACA;AACe;AACf,SAAS,mEAAO;AAChB;;;;;;;;ACPA;AAAA;AACA;AACe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACXA;AAAA;AACe;AACf;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AAAA;AAAmC;AACF;;AAEjC;AACA;AACe,4HAAO,CAAC,0DAAM,IAAI,EAAC;;;;;;;;ACLlC;AAAA;AAA+C;AACS;;AAExD;AACA;AACe,sIAAiB,KAAK,iEAAa,CAAC,EAAC;;;;;;;;ACLpD;AAAA;AAAA;AAA6B;AACM;;AAEnC;AACA;AACe;AACf,SAAS,gEAAI,MAAM,mEAAO;AAC1B;;;;;;;;ACPA;AAAA;AAAA;AAAA;AAAiC;AACA;AACP;;AAE1B;AACe;AACf,SAAS,kEAAM,MAAM,kEAAM,CAAC,8DAAE;AAC9B;;;;;;;;ACPA;AAAA;AAAA;AAAA;AAAA;AAA+C;AACN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ACf;AACA;;;;;;;ACJA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C","file":"game-of-life.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse {\n\t\tvar a = factory();\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(this, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n","// Current version.\nexport var VERSION = '1.13.1';\n\n// Establish the root object, `window` (`self`) in the browser, `global`\n// on the server, or `this` in some virtual machines. We use `self`\n// instead of `window` for `WebWorker` support.\nexport var root = typeof self == 'object' && self.self === self && self ||\n typeof global == 'object' && global.global === global && global ||\n Function('return this')() ||\n {};\n\n// Save bytes in the minified (but not gzipped) version:\nexport var ArrayProto = Array.prototype, ObjProto = Object.prototype;\nexport var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null;\n\n// Create quick reference variables for speed access to core prototypes.\nexport var push = ArrayProto.push,\n slice = ArrayProto.slice,\n toString = ObjProto.toString,\n hasOwnProperty = ObjProto.hasOwnProperty;\n\n// Modern feature detection.\nexport var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined',\n supportsDataView = typeof DataView !== 'undefined';\n\n// All **ECMAScript 5+** native function implementations that we hope to use\n// are declared here.\nexport var nativeIsArray = Array.isArray,\n nativeKeys = Object.keys,\n nativeCreate = Object.create,\n nativeIsView = supportsArrayBuffer && ArrayBuffer.isView;\n\n// Create references to these builtin functions because we override them.\nexport var _isNaN = isNaN,\n _isFinite = isFinite;\n\n// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.\nexport var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString');\nexport var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString',\n 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];\n\n// The largest integer that can be represented exactly.\nexport var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;\n","export const initial_grid = () => initial_grid_in;\r\nexport const generation = () => generation_in;\r\nexport const size = () => size_in;\r\nexport const x = () => x_in;\r\nexport const y = () => y_in;\r\n\r\nexport const grid = () => {\r\n for (var i = 0; i < generation(); i++) grid({ generation_in: i }); // a perf hint when used with memo\r\n return generation() == 0 ? initial_grid() : new_grid();\r\n};\r\n\r\nexport const new_grid = () =>\r\n [...Array(size()).keys()].map((row) =>\r\n [...Array(size()).keys()].map((col) => alive({ x_in: col, y_in: row }))\r\n );\r\n\r\nexport const alive = () => {\r\n if (generation() == 0) return initial_grid()[y()][x()];\r\n const was_alive = alive({ generation_in: generation() - 1 });\r\n const neighbours = neighbours_alive({ generation_in: generation() - 1 });\r\n\r\n if (was_alive) {\r\n switch (neighbours) {\r\n case 2:\r\n case 3:\r\n return 1;\r\n default:\r\n return 0;\r\n }\r\n } else {\r\n if (neighbours == 3) return 1;\r\n else return 0;\r\n }\r\n};\r\n\r\nexport const neighbours_alive = () => {\r\n var ans = 0;\r\n\r\n // central square\r\n if (y() != 0 && x() != 0 && y() != size() - 1 && x() != size() - 1)\r\n ans =\r\n alive({\r\n /* generation_in: generation() - 1, */ x_in: x() - 1,\r\n y_in: y() - 1,\r\n }) +\r\n alive({\r\n /* generation_in: generation() - 1, */ x_in: x(),\r\n y_in: y() - 1,\r\n }) +\r\n alive({\r\n /* generation_in: generation() - 1, */ x_in: x() - 1,\r\n y_in: y(),\r\n }) +\r\n alive({\r\n /* generation_in: generation() - 1, */ x_in: x() + 1,\r\n y_in: y(),\r\n }) +\r\n alive({\r\n /* generation_in: generation() - 1, */ x_in: x() + 1,\r\n y_in: y() - 1,\r\n }) +\r\n alive({\r\n /* generation_in: generation() - 1, */ x_in: x() - 1,\r\n y_in: y() + 1,\r\n }) +\r\n alive({\r\n /* generation_in: generation() - 1, */ x_in: x(),\r\n y_in: y() + 1,\r\n }) +\r\n alive({\r\n /* generation_in: generation() - 1, */ x_in: x() + 1,\r\n y_in: y() + 1,\r\n });\r\n else ans = 0; // just for now only process central squares\r\n\r\n return ans;\r\n};\r\n/*\r\n \r\n ([...Array(size()).keys()].map(row => [...Array(size()).keys()].map(col => )))\r\n\r\nexport const grid_xy = () => ()*/\r\n","import isObject from './isObject.js';\nimport { nativeKeys, hasEnumBug } from './_setup.js';\nimport has from './_has.js';\nimport collectNonEnumProps from './_collectNonEnumProps.js';\n\n// Retrieve the names of an object's own properties.\n// Delegates to **ECMAScript 5**'s native `Object.keys`.\nexport default function keys(obj) {\n if (!isObject(obj)) return [];\n if (nativeKeys) return nativeKeys(obj);\n var keys = [];\n for (var key in obj) if (has(obj, key)) keys.push(key);\n // Ahem, IE < 9.\n if (hasEnumBug) collectNonEnumProps(obj, keys);\n return keys;\n}\n","import { VERSION } from './_setup.js';\n\n// If Underscore is called as a function, it returns a wrapped object that can\n// be used OO-style. This wrapper holds altered versions of all functions added\n// through `_.mixin`. Wrapped objects may be chained.\nexport default function _(obj) {\n if (obj instanceof _) return obj;\n if (!(this instanceof _)) return new _(obj);\n this._wrapped = obj;\n}\n\n_.VERSION = VERSION;\n\n// Extracts the result from a wrapped and chained object.\n_.prototype.value = function() {\n return this._wrapped;\n};\n\n// Provide unwrapping proxies for some methods used in engine operations\n// such as arithmetic and JSON stringification.\n_.prototype.valueOf = _.prototype.toJSON = _.prototype.value;\n\n_.prototype.toString = function() {\n return String(this._wrapped);\n};\n","import { toString } from './_setup.js';\n\n// Internal function for creating a `toString`-based type tester.\nexport default function tagTester(name) {\n var tag = '[object ' + name + ']';\n return function(obj) {\n return toString.call(obj) === tag;\n };\n}\n","import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\nimport iteratee from './iteratee.js';\n\n// The function we call internally to generate a callback. It invokes\n// `_.iteratee` if overridden, otherwise `baseIteratee`.\nexport default function cb(value, context, argCount) {\n if (_.iteratee !== iteratee) return _.iteratee(value, context);\n return baseIteratee(value, context, argCount);\n}\n","// Some functions take a variable number of arguments, or a few expected\n// arguments at the beginning and then a variable number of values to operate\n// on. This helper accumulates all remaining arguments past the function’s\n// argument length (or an explicit `startIndex`), into an array that becomes\n// the last argument. Similar to ES6’s \"rest parameter\".\nexport default function restArguments(func, startIndex) {\n startIndex = startIndex == null ? func.length - 1 : +startIndex;\n return function() {\n var length = Math.max(arguments.length - startIndex, 0),\n rest = Array(length),\n index = 0;\n for (; index < length; index++) {\n rest[index] = arguments[index + startIndex];\n }\n switch (startIndex) {\n case 0: return func.call(this, rest);\n case 1: return func.call(this, arguments[0], rest);\n case 2: return func.call(this, arguments[0], arguments[1], rest);\n }\n var args = Array(startIndex + 1);\n for (index = 0; index < startIndex; index++) {\n args[index] = arguments[index];\n }\n args[startIndex] = rest;\n return func.apply(this, args);\n };\n}\n","import tagTester from './_tagTester.js';\nimport { root } from './_setup.js';\n\nvar isFunction = tagTester('Function');\n\n// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old\n// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236).\nvar nodelist = root.document && root.document.childNodes;\nif (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') {\n isFunction = function(obj) {\n return typeof obj == 'function' || false;\n };\n}\n\nexport default isFunction;\n","import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getLength from './_getLength.js';\n\n// Internal helper for collection methods to determine whether a collection\n// should be iterated as an array or as an object.\n// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\nexport default createSizePropertyCheck(getLength);\n","import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `length` property of an object.\nexport default shallowProperty('length');\n","import optimizeCb from './_optimizeCb.js';\nimport isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// The cornerstone for collection functions, an `each`\n// implementation, aka `forEach`.\n// Handles raw objects in addition to array-likes. Treats all\n// sparse array-likes as if they were dense.\nexport default function each(obj, iteratee, context) {\n iteratee = optimizeCb(iteratee, context);\n var i, length;\n if (isArrayLike(obj)) {\n for (i = 0, length = obj.length; i < length; i++) {\n iteratee(obj[i], i, obj);\n }\n } else {\n var _keys = keys(obj);\n for (i = 0, length = _keys.length; i < length; i++) {\n iteratee(obj[_keys[i]], _keys[i], obj);\n }\n }\n return obj;\n}\n","import { hasOwnProperty } from './_setup.js';\n\n// Internal function to check whether `key` is an own property name of `obj`.\nexport default function has(obj, key) {\n return obj != null && hasOwnProperty.call(obj, key);\n}\n","// Is a given variable an object?\nexport default function isObject(obj) {\n var type = typeof obj;\n return type === 'function' || type === 'object' && !!obj;\n}\n","import { nativeIsArray } from './_setup.js';\nimport tagTester from './_tagTester.js';\n\n// Is a given value an array?\n// Delegates to ECMA5's native `Array.isArray`.\nexport default nativeIsArray || tagTester('Array');\n","import isArrayLike from './_isArrayLike.js';\nimport values from './values.js';\nimport indexOf from './indexOf.js';\n\n// Determine if the array or object contains a given item (using `===`).\nexport default function contains(obj, item, fromIndex, guard) {\n if (!isArrayLike(obj)) obj = values(obj);\n if (typeof fromIndex != 'number' || guard) fromIndex = 0;\n return indexOf(obj, item, fromIndex) >= 0;\n}\n","import cb from './_cb.js';\nimport isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// Return the results of applying the iteratee to each element.\nexport default function map(obj, iteratee, context) {\n iteratee = cb(iteratee, context);\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length,\n results = Array(length);\n for (var index = 0; index < length; index++) {\n var currentKey = _keys ? _keys[index] : index;\n results[index] = iteratee(obj[currentKey], currentKey, obj);\n }\n return results;\n}\n","import keys from './keys.js';\n\n// Retrieve the values of an object's properties.\nexport default function values(obj) {\n var _keys = keys(obj);\n var length = _keys.length;\n var values = Array(length);\n for (var i = 0; i < length; i++) {\n values[i] = obj[_keys[i]];\n }\n return values;\n}\n","import getLength from './_getLength.js';\nimport isArrayLike from './_isArrayLike.js';\nimport isArray from './isArray.js';\nimport isArguments from './isArguments.js';\n\n// Internal implementation of a recursive `flatten` function.\nexport default function flatten(input, depth, strict, output) {\n output = output || [];\n if (!depth && depth !== 0) {\n depth = Infinity;\n } else if (depth <= 0) {\n return output.concat(input);\n }\n var idx = output.length;\n for (var i = 0, length = getLength(input); i < length; i++) {\n var value = input[i];\n if (isArrayLike(value) && (isArray(value) || isArguments(value))) {\n // Flatten current level of array or arguments object.\n if (depth > 1) {\n flatten(value, depth - 1, strict, output);\n idx = output.length;\n } else {\n var j = 0, len = value.length;\n while (j < len) output[idx++] = value[j++];\n }\n } else if (!strict) {\n output[idx++] = value;\n }\n }\n return output;\n}\n","import cb from './_cb.js';\nimport each from './each.js';\n\n// Return all the elements that pass a truth test.\nexport default function filter(obj, predicate, context) {\n var results = [];\n predicate = cb(predicate, context);\n each(obj, function(value, index, list) {\n if (predicate(value, index, list)) results.push(value);\n });\n return results;\n}\n","import isObject from './isObject.js';\nimport { hasEnumBug } from './_setup.js';\nimport collectNonEnumProps from './_collectNonEnumProps.js';\n\n// Retrieve all the enumerable property names of an object.\nexport default function allKeys(obj) {\n if (!isObject(obj)) return [];\n var keys = [];\n for (var key in obj) keys.push(key);\n // Ahem, IE < 9.\n if (hasEnumBug) collectNonEnumProps(obj, keys);\n return keys;\n}\n","import { supportsDataView } from './_setup.js';\nimport hasObjectTag from './_hasObjectTag.js';\n\n// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`.\n// In IE 11, the most common among them, this problem also applies to\n// `Map`, `WeakMap` and `Set`.\nexport var hasStringTagBug = (\n supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8)))\n ),\n isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map));\n","import _ from './underscore.js';\nimport './toPath.js';\n\n// Internal wrapper for `_.toPath` to enable minification.\n// Similar to `cb` for `_.iteratee`.\nexport default function toPath(path) {\n return _.toPath(path);\n}\n","// Internal function that returns an efficient (for current engines) version\n// of the passed-in callback, to be repeatedly applied in other Underscore\n// functions.\nexport default function optimizeCb(func, context, argCount) {\n if (context === void 0) return func;\n switch (argCount == null ? 3 : argCount) {\n case 1: return function(value) {\n return func.call(context, value);\n };\n // The 2-argument case is omitted because we’re not using it.\n case 3: return function(value, index, collection) {\n return func.call(context, value, index, collection);\n };\n case 4: return function(accumulator, value, index, collection) {\n return func.call(context, accumulator, value, index, collection);\n };\n }\n return function() {\n return func.apply(context, arguments);\n };\n}\n","// \nvar hasOwn = function hasOwn(object, key) {\n return Object.prototype.hasOwnProperty.call(object, key);\n};\n\nfunction deepEquals(equals, deepObjects) {\n function deep(valueA, valueB) {\n if (equals(valueA, valueB)) {\n return true;\n }\n\n if (Array.isArray(valueA)) {\n if (!Array.isArray(valueB) || valueA.length !== valueB.length) {\n return false;\n } // Check deep equality of each value in A against the same indexed value in B\n\n\n if (!valueA.every(function (value, index) {\n return deep(value, valueB[index]);\n })) {\n return false;\n } // could not find unequal items\n\n\n return true;\n }\n\n if (Array.isArray(valueB)) {\n return false;\n }\n\n if (typeof valueA === \"object\") {\n if (typeof valueB !== \"object\") {\n return false;\n }\n\n var isANull = valueA === null;\n var isBNull = valueB === null;\n\n if (isANull || isBNull) {\n return isANull === isBNull;\n }\n\n var aKeys = Object.keys(valueA);\n var bKeys = Object.keys(valueB);\n\n if (aKeys.length !== bKeys.length) {\n return false;\n } // Should we compare with shallow equivalence or deep equivalence?\n\n\n var equalityChecker = deepObjects ? deep : equals; // Check if objects share same keys, and each of those keys are equal\n\n if (!aKeys.every(function (aKey) {\n return hasOwn(valueA, aKey) && hasOwn(valueB, aKey) && equalityChecker(valueA[aKey], valueB[aKey]);\n })) {\n return false;\n } // could not find unequal keys or values\n\n\n return true;\n }\n\n return false;\n }\n\n return deep;\n}\n\n// \nvar findIndex = function findIndex(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n if (fn(arr[i])) {\n return i;\n }\n }\n\n return -1;\n};\n\nfunction lruCache(limit, equals) {\n var entries = [];\n\n function get(key) {\n var cacheIndex = findIndex(entries, function (entry) {\n return equals(key, entry.key);\n }); // We found a cached entry\n\n if (cacheIndex > -1) {\n var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top\n\n if (cacheIndex > 0) {\n entries.splice(cacheIndex, 1);\n entries.unshift(entry);\n }\n\n return entry.value;\n } // No entry found in cache, return null\n\n\n return undefined;\n }\n\n function put(key, value) {\n if (!get(key)) {\n entries.unshift({\n key: key,\n value: value\n });\n\n if (entries.length > limit) {\n entries.pop();\n }\n }\n }\n\n return {\n get: get,\n put: put\n };\n}\n\n// \nfunction singletonCache(equals) {\n var entry;\n return {\n get: function get(key) {\n if (entry && equals(key, entry.key)) {\n return entry.value;\n }\n },\n put: function put(key, value) {\n entry = {\n key: key,\n value: value\n };\n }\n };\n}\n\n// \n\nfunction createCache(limit, equals) {\n return limit === 1 ? singletonCache(equals) : lruCache(limit, equals);\n}\n\nfunction createEqualsFn(basicEquals, deepObjects) {\n // Choose strategy for basic or deep object equals\n var equals = deepObjects ? deepEquals(basicEquals, deepObjects) : basicEquals;\n return function (valueA, valueB) {\n // The arguments are always the argument array-like objects\n // Different lengths means they are not the same\n if (valueA.length !== valueB.length) {\n return false;\n } // Compare the values\n\n\n for (var index = 0; index < valueA.length; index += 1) {\n if (!equals(valueA[index], valueB[index])) {\n return false;\n }\n } // Found no conflicts\n\n\n return true;\n };\n}\n\nfunction memoize() {\n var limit = 1;\n\n var equals = function equals(valueA, valueB) {\n return valueA === valueB;\n };\n\n var deepObjects = false;\n\n for (var _len = arguments.length, config = new Array(_len), _key = 0; _key < _len; _key++) {\n config[_key] = arguments[_key];\n }\n\n if (typeof config[0] === \"number\") {\n limit = config.shift();\n }\n\n if (typeof config[0] === \"function\") {\n equals = config.shift();\n } else if (typeof config[0] === \"undefined\") {\n // Support passing undefined equal argument;\n config.shift();\n }\n\n if (typeof config[0] === \"boolean\") {\n deepObjects = config[0];\n }\n\n var cache = createCache(limit, createEqualsFn(equals, deepObjects));\n return function (fn) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var value = cache.get(args);\n\n if (value === undefined) {\n value = fn.apply(fn, args);\n cache.put(args, value);\n }\n\n return value;\n };\n };\n}\n\nexport default memoize;\n","// ESM Exports\n// ===========\n// This module is the package entry point for ES module users. In other words,\n// it is the module they are interfacing with when they import from the whole\n// package instead of from a submodule, like this:\n//\n// ```js\n// import { map } from 'underscore';\n// ```\n//\n// The difference with `./index-default`, which is the package entry point for\n// CommonJS, AMD and UMD users, is purely technical. In ES modules, named and\n// default exports are considered to be siblings, so when you have a default\n// export, its properties are not automatically available as named exports. For\n// this reason, we re-export the named exports in addition to providing the same\n// default export as in `./index-default`.\nexport { default } from './index-default.js';\nexport * from './index.js';\n","import extendOwn from './extendOwn.js';\nimport isMatch from './isMatch.js';\n\n// Returns a predicate for checking whether an object has a given set of\n// `key:value` pairs.\nexport default function matcher(attrs) {\n attrs = extendOwn({}, attrs);\n return function(obj) {\n return isMatch(obj, attrs);\n };\n}\n","import getLength from './_getLength.js';\nimport isFunction from './isFunction.js';\nimport allKeys from './allKeys.js';\n\n// Since the regular `Object.prototype.toString` type tests don't work for\n// some types in IE 11, we use a fingerprinting heuristic instead, based\n// on the methods. It's not great, but it's the best we got.\n// The fingerprint method lists are defined below.\nexport function ie11fingerprint(methods) {\n var length = getLength(methods);\n return function(obj) {\n if (obj == null) return false;\n // `Map`, `WeakMap` and `Set` have no enumerable keys.\n var keys = allKeys(obj);\n if (getLength(keys)) return false;\n for (var i = 0; i < length; i++) {\n if (!isFunction(obj[methods[i]])) return false;\n }\n // If we are testing against `WeakMap`, we need to ensure that\n // `obj` doesn't have a `forEach` method in order to distinguish\n // it from a regular `Map`.\n return methods !== weakMapMethods || !isFunction(obj[forEachName]);\n };\n}\n\n// In the interest of compact minification, we write\n// each string in the fingerprints only once.\nvar forEachName = 'forEach',\n hasName = 'has',\n commonInit = ['clear', 'delete'],\n mapTail = ['get', hasName, 'set'];\n\n// `Map`, `WeakMap` and `Set` each have slightly different\n// combinations of the above sublists.\nexport var mapMethods = commonInit.concat(forEachName, mapTail),\n weakMapMethods = commonInit.concat(mapTail),\n setMethods = ['add'].concat(commonInit, forEachName, hasName);\n","import restArguments from './restArguments.js';\nimport executeBound from './_executeBound.js';\nimport _ from './underscore.js';\n\n// Partially apply a function by creating a version that has had some of its\n// arguments pre-filled, without changing its dynamic `this` context. `_` acts\n// as a placeholder by default, allowing any combination of arguments to be\n// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument.\nvar partial = restArguments(function(func, boundArgs) {\n var placeholder = partial.placeholder;\n var bound = function() {\n var position = 0, length = boundArgs.length;\n var args = Array(length);\n for (var i = 0; i < length; i++) {\n args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i];\n }\n while (position < arguments.length) args.push(arguments[position++]);\n return executeBound(func, bound, this, this, args);\n };\n return bound;\n});\n\npartial.placeholder = _;\nexport default partial;\n","// A (possibly faster) way to get the current timestamp as an integer.\nexport default Date.now || function() {\n return new Date().getTime();\n};\n","import cb from './_cb.js';\nimport each from './each.js';\n\n// An internal function used for aggregate \"group by\" operations.\nexport default function group(behavior, partition) {\n return function(obj, iteratee, context) {\n var result = partition ? [[], []] : {};\n iteratee = cb(iteratee, context);\n each(obj, function(value, index) {\n var key = iteratee(value, index, obj);\n behavior(result, value, key);\n });\n return result;\n };\n}\n","import createAssigner from './_createAssigner.js';\nimport keys from './keys.js';\n\n// Assigns a given object with all the own properties in the passed-in\n// object(s).\n// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)\nexport default createAssigner(keys);\n","import tagTester from './_tagTester.js';\nimport isFunction from './isFunction.js';\nimport isArrayBuffer from './isArrayBuffer.js';\nimport { hasStringTagBug } from './_stringTagBug.js';\n\nvar isDataView = tagTester('DataView');\n\n// In IE 10 - Edge 13, we need a different heuristic\n// to determine whether an object is a `DataView`.\nfunction ie10IsDataView(obj) {\n return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer);\n}\n\nexport default (hasStringTagBug ? ie10IsDataView : isDataView);\n","import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `byteLength` property of an object.\nexport default shallowProperty('byteLength');\n","import { slice } from './_setup.js';\n\n// Returns everything but the first entry of the `array`. Especially useful on\n// the `arguments` object. Passing an **n** will return the rest N values in the\n// `array`.\nexport default function rest(array, n, guard) {\n return slice.call(array, n == null || guard ? 1 : n);\n}\n","// Named Exports\n// =============\n\n// Underscore.js 1.13.1\n// https://underscorejs.org\n// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors\n// Underscore may be freely distributed under the MIT license.\n\n// Baseline setup.\nexport { VERSION } from './_setup.js';\nexport { default as restArguments } from './restArguments.js';\n\n// Object Functions\n// ----------------\n// Our most fundamental functions operate on any JavaScript object.\n// Most functions in Underscore depend on at least one function in this section.\n\n// A group of functions that check the types of core JavaScript values.\n// These are often informally referred to as the \"isType\" functions.\nexport { default as isObject } from './isObject.js';\nexport { default as isNull } from './isNull.js';\nexport { default as isUndefined } from './isUndefined.js';\nexport { default as isBoolean } from './isBoolean.js';\nexport { default as isElement } from './isElement.js';\nexport { default as isString } from './isString.js';\nexport { default as isNumber } from './isNumber.js';\nexport { default as isDate } from './isDate.js';\nexport { default as isRegExp } from './isRegExp.js';\nexport { default as isError } from './isError.js';\nexport { default as isSymbol } from './isSymbol.js';\nexport { default as isArrayBuffer } from './isArrayBuffer.js';\nexport { default as isDataView } from './isDataView.js';\nexport { default as isArray } from './isArray.js';\nexport { default as isFunction } from './isFunction.js';\nexport { default as isArguments } from './isArguments.js';\nexport { default as isFinite } from './isFinite.js';\nexport { default as isNaN } from './isNaN.js';\nexport { default as isTypedArray } from './isTypedArray.js';\nexport { default as isEmpty } from './isEmpty.js';\nexport { default as isMatch } from './isMatch.js';\nexport { default as isEqual } from './isEqual.js';\nexport { default as isMap } from './isMap.js';\nexport { default as isWeakMap } from './isWeakMap.js';\nexport { default as isSet } from './isSet.js';\nexport { default as isWeakSet } from './isWeakSet.js';\n\n// Functions that treat an object as a dictionary of key-value pairs.\nexport { default as keys } from './keys.js';\nexport { default as allKeys } from './allKeys.js';\nexport { default as values } from './values.js';\nexport { default as pairs } from './pairs.js';\nexport { default as invert } from './invert.js';\nexport { default as functions,\n default as methods } from './functions.js';\nexport { default as extend } from './extend.js';\nexport { default as extendOwn,\n default as assign } from './extendOwn.js';\nexport { default as defaults } from './defaults.js';\nexport { default as create } from './create.js';\nexport { default as clone } from './clone.js';\nexport { default as tap } from './tap.js';\nexport { default as get } from './get.js';\nexport { default as has } from './has.js';\nexport { default as mapObject } from './mapObject.js';\n\n// Utility Functions\n// -----------------\n// A bit of a grab bag: Predicate-generating functions for use with filters and\n// loops, string escaping and templating, create random numbers and unique ids,\n// and functions that facilitate Underscore's chaining and iteration conventions.\nexport { default as identity } from './identity.js';\nexport { default as constant } from './constant.js';\nexport { default as noop } from './noop.js';\nexport { default as toPath } from './toPath.js';\nexport { default as property } from './property.js';\nexport { default as propertyOf } from './propertyOf.js';\nexport { default as matcher,\n default as matches } from './matcher.js';\nexport { default as times } from './times.js';\nexport { default as random } from './random.js';\nexport { default as now } from './now.js';\nexport { default as escape } from './escape.js';\nexport { default as unescape } from './unescape.js';\nexport { default as templateSettings } from './templateSettings.js';\nexport { default as template } from './template.js';\nexport { default as result } from './result.js';\nexport { default as uniqueId } from './uniqueId.js';\nexport { default as chain } from './chain.js';\nexport { default as iteratee } from './iteratee.js';\n\n// Function (ahem) Functions\n// -------------------------\n// These functions take a function as an argument and return a new function\n// as the result. Also known as higher-order functions.\nexport { default as partial } from './partial.js';\nexport { default as bind } from './bind.js';\nexport { default as bindAll } from './bindAll.js';\nexport { default as memoize } from './memoize.js';\nexport { default as delay } from './delay.js';\nexport { default as defer } from './defer.js';\nexport { default as throttle } from './throttle.js';\nexport { default as debounce } from './debounce.js';\nexport { default as wrap } from './wrap.js';\nexport { default as negate } from './negate.js';\nexport { default as compose } from './compose.js';\nexport { default as after } from './after.js';\nexport { default as before } from './before.js';\nexport { default as once } from './once.js';\n\n// Finders\n// -------\n// Functions that extract (the position of) a single element from an object\n// or array based on some criterion.\nexport { default as findKey } from './findKey.js';\nexport { default as findIndex } from './findIndex.js';\nexport { default as findLastIndex } from './findLastIndex.js';\nexport { default as sortedIndex } from './sortedIndex.js';\nexport { default as indexOf } from './indexOf.js';\nexport { default as lastIndexOf } from './lastIndexOf.js';\nexport { default as find,\n default as detect } from './find.js';\nexport { default as findWhere } from './findWhere.js';\n\n// Collection Functions\n// --------------------\n// Functions that work on any collection of elements: either an array, or\n// an object of key-value pairs.\nexport { default as each,\n default as forEach } from './each.js';\nexport { default as map,\n default as collect } from './map.js';\nexport { default as reduce,\n default as foldl,\n default as inject } from './reduce.js';\nexport { default as reduceRight,\n default as foldr } from './reduceRight.js';\nexport { default as filter,\n default as select } from './filter.js';\nexport { default as reject } from './reject.js';\nexport { default as every,\n default as all } from './every.js';\nexport { default as some,\n default as any } from './some.js';\nexport { default as contains,\n default as includes,\n default as include } from './contains.js';\nexport { default as invoke } from './invoke.js';\nexport { default as pluck } from './pluck.js';\nexport { default as where } from './where.js';\nexport { default as max } from './max.js';\nexport { default as min } from './min.js';\nexport { default as shuffle } from './shuffle.js';\nexport { default as sample } from './sample.js';\nexport { default as sortBy } from './sortBy.js';\nexport { default as groupBy } from './groupBy.js';\nexport { default as indexBy } from './indexBy.js';\nexport { default as countBy } from './countBy.js';\nexport { default as partition } from './partition.js';\nexport { default as toArray } from './toArray.js';\nexport { default as size } from './size.js';\n\n// `_.pick` and `_.omit` are actually object functions, but we put\n// them here in order to create a more natural reading order in the\n// monolithic build as they depend on `_.contains`.\nexport { default as pick } from './pick.js';\nexport { default as omit } from './omit.js';\n\n// Array Functions\n// ---------------\n// Functions that operate on arrays (and array-likes) only, because they’re\n// expressed in terms of operations on an ordered list of values.\nexport { default as first,\n default as head,\n default as take } from './first.js';\nexport { default as initial } from './initial.js';\nexport { default as last } from './last.js';\nexport { default as rest,\n default as tail,\n default as drop } from './rest.js';\nexport { default as compact } from './compact.js';\nexport { default as flatten } from './flatten.js';\nexport { default as without } from './without.js';\nexport { default as uniq,\n default as unique } from './uniq.js';\nexport { default as union } from './union.js';\nexport { default as intersection } from './intersection.js';\nexport { default as difference } from './difference.js';\nexport { default as unzip,\n default as transpose } from './unzip.js';\nexport { default as zip } from './zip.js';\nexport { default as object } from './object.js';\nexport { default as range } from './range.js';\nexport { default as chunk } from './chunk.js';\n\n// OOP\n// ---\n// These modules support the \"object-oriented\" calling style. See also\n// `underscore.js` and `index-default.js`.\nexport { default as mixin } from './mixin.js';\nexport { default } from './underscore-array-methods.js';\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('String');\n","import tagTester from './_tagTester.js';\nimport has from './_has.js';\n\nvar isArguments = tagTester('Arguments');\n\n// Define a fallback version of the method in browsers (ahem, IE < 9), where\n// there isn't any inspectable \"Arguments\" type.\n(function() {\n if (!isArguments(arguments)) {\n isArguments = function(obj) {\n return has(obj, 'callee');\n };\n }\n}());\n\nexport default isArguments;\n","// Keep the identity function around for default iteratees.\nexport default function identity(value) {\n return value;\n}\n","import deepGet from './_deepGet.js';\nimport toPath from './_toPath.js';\n\n// Creates a function that, when passed an object, will traverse that object’s\n// properties down the given `path`, specified as an array of keys or indices.\nexport default function property(path) {\n path = toPath(path);\n return function(obj) {\n return deepGet(obj, path);\n };\n}\n","// Returns a negated version of the passed-in predicate.\nexport default function negate(predicate) {\n return function() {\n return !predicate.apply(this, arguments);\n };\n}\n","import createPredicateIndexFinder from './_createPredicateIndexFinder.js';\n\n// Returns the first index on an array-like that passes a truth test.\nexport default createPredicateIndexFinder(1);\n","import map from './map.js';\nimport property from './property.js';\n\n// Convenience version of a common use case of `_.map`: fetching a property.\nexport default function pluck(obj, key) {\n return map(obj, property(key));\n}\n","// An internal function for creating assigner functions.\nexport default function createAssigner(keysFunc, defaults) {\n return function(obj) {\n var length = arguments.length;\n if (defaults) obj = Object(obj);\n if (length < 2 || obj == null) return obj;\n for (var index = 1; index < length; index++) {\n var source = arguments[index],\n keys = keysFunc(source),\n l = keys.length;\n for (var i = 0; i < l; i++) {\n var key = keys[i];\n if (!defaults || obj[key] === void 0) obj[key] = source[key];\n }\n }\n return obj;\n };\n}\n","// Internal function to obtain a nested property in `obj` along `path`.\nexport default function deepGet(obj, path) {\n var length = path.length;\n for (var i = 0; i < length; i++) {\n if (obj == null) return void 0;\n obj = obj[path[i]];\n }\n return length ? obj : void 0;\n}\n","import isFunction from './isFunction.js';\n\n// Return a sorted list of the function names available on the object.\nexport default function functions(obj) {\n var names = [];\n for (var key in obj) {\n if (isFunction(obj[key])) names.push(key);\n }\n return names.sort();\n}\n","import isArrayLike from './_isArrayLike.js';\nimport findIndex from './findIndex.js';\nimport findKey from './findKey.js';\n\n// Return the first value which passes a truth test.\nexport default function find(obj, predicate, context) {\n var keyFinder = isArrayLike(obj) ? findIndex : findKey;\n var key = keyFinder(obj, predicate, context);\n if (key !== void 0 && key !== -1) return obj[key];\n}\n","import isBoolean from './isBoolean.js';\nimport cb from './_cb.js';\nimport getLength from './_getLength.js';\nimport contains from './contains.js';\n\n// Produce a duplicate-free version of the array. If the array has already\n// been sorted, you have the option of using a faster algorithm.\n// The faster algorithm will not work with an iteratee if the iteratee\n// is not a one-to-one function, so providing an iteratee will disable\n// the faster algorithm.\nexport default function uniq(array, isSorted, iteratee, context) {\n if (!isBoolean(isSorted)) {\n context = iteratee;\n iteratee = isSorted;\n isSorted = false;\n }\n if (iteratee != null) iteratee = cb(iteratee, context);\n var result = [];\n var seen = [];\n for (var i = 0, length = getLength(array); i < length; i++) {\n var value = array[i],\n computed = iteratee ? iteratee(value, i, array) : value;\n if (isSorted && !iteratee) {\n if (!i || seen !== computed) result.push(value);\n seen = computed;\n } else if (iteratee) {\n if (!contains(seen, computed)) {\n seen.push(computed);\n result.push(value);\n }\n } else if (!contains(result, value)) {\n result.push(value);\n }\n }\n return result;\n}\n","import max from './max.js';\nimport getLength from './_getLength.js';\nimport pluck from './pluck.js';\n\n// Complement of zip. Unzip accepts an array of arrays and groups\n// each array's elements on shared indices.\nexport default function unzip(array) {\n var length = array && max(array, getLength).length || 0;\n var result = Array(length);\n\n for (var index = 0; index < length; index++) {\n result[index] = pluck(array, index);\n }\n return result;\n}\n","// Return a random integer between `min` and `max` (inclusive).\nexport default function random(min, max) {\n if (max == null) {\n max = min;\n min = 0;\n }\n return min + Math.floor(Math.random() * (max - min + 1));\n}\n","import _ from './underscore.js';\n\n// Helper function to continue chaining intermediate results.\nexport default function chainResult(instance, obj) {\n return instance._chain ? _(obj).chain() : obj;\n}\n","import createReduce from './_createReduce.js';\n\n// **Reduce** builds up a single result from a list of values, aka `inject`,\n// or `foldl`.\nexport default createReduce(1);\n","import initial from './initial.js';\n\n// Get the first element of an array. Passing **n** will return the first N\n// values in the array. The **guard** check allows it to work with `_.map`.\nexport default function first(array, n, guard) {\n if (array == null || array.length < 1) return n == null || guard ? void 0 : [];\n if (n == null || guard) return array[0];\n return initial(array, array.length - n);\n}\n","// Is a given variable undefined?\nexport default function isUndefined(obj) {\n return obj === void 0;\n}\n","import { toString } from './_setup.js';\n\n// Is a given value a boolean?\nexport default function isBoolean(obj) {\n return obj === true || obj === false || toString.call(obj) === '[object Boolean]';\n}\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Number');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Symbol');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('ArrayBuffer');\n","import { _isNaN } from './_setup.js';\nimport isNumber from './isNumber.js';\n\n// Is the given value `NaN`?\nexport default function isNaN(obj) {\n return isNumber(obj) && _isNaN(obj);\n}\n","import { supportsArrayBuffer, nativeIsView, toString } from './_setup.js';\nimport isDataView from './isDataView.js';\nimport constant from './constant.js';\nimport isBufferLike from './_isBufferLike.js';\n\n// Is a given value a typed array?\nvar typedArrayPattern = /\\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\\]/;\nfunction isTypedArray(obj) {\n // `ArrayBuffer.isView` is the most future-proof, so use it when available.\n // Otherwise, fall back on the above regular expression.\n return nativeIsView ? (nativeIsView(obj) && !isDataView(obj)) :\n isBufferLike(obj) && typedArrayPattern.test(toString.call(obj));\n}\n\nexport default supportsArrayBuffer ? isTypedArray : constant(false);\n","// Predicate-generating function. Often useful outside of Underscore.\nexport default function constant(value) {\n return function() {\n return value;\n };\n}\n","import keys from './keys.js';\n\n// Returns whether an object has a given set of `key:value` pairs.\nexport default function isMatch(object, attrs) {\n var _keys = keys(attrs), length = _keys.length;\n if (object == null) return !length;\n var obj = Object(object);\n for (var i = 0; i < length; i++) {\n var key = _keys[i];\n if (attrs[key] !== obj[key] || !(key in obj)) return false;\n }\n return true;\n}\n","import keys from './keys.js';\n\n// Invert the keys and values of an object. The values must be serializable.\nexport default function invert(obj) {\n var result = {};\n var _keys = keys(obj);\n for (var i = 0, length = _keys.length; i < length; i++) {\n result[obj[_keys[i]]] = _keys[i];\n }\n return result;\n}\n","import createAssigner from './_createAssigner.js';\nimport allKeys from './allKeys.js';\n\n// Extend a given object with all the properties in passed-in object(s).\nexport default createAssigner(allKeys);\n","import createAssigner from './_createAssigner.js';\nimport allKeys from './allKeys.js';\n\n// Fill in a given object with default properties.\nexport default createAssigner(allKeys, true);\n","import isObject from './isObject.js';\nimport isArray from './isArray.js';\nimport extend from './extend.js';\n\n// Create a (shallow-cloned) duplicate of an object.\nexport default function clone(obj) {\n if (!isObject(obj)) return obj;\n return isArray(obj) ? obj.slice() : extend({}, obj);\n}\n","import toPath from './_toPath.js';\nimport deepGet from './_deepGet.js';\nimport isUndefined from './isUndefined.js';\n\n// Get the value of the (deep) property on `path` from `object`.\n// If any property in `path` does not exist or if the value is\n// `undefined`, return `defaultValue` instead.\n// The `path` is normalized through `_.toPath`.\nexport default function get(object, path, defaultValue) {\n var value = deepGet(object, toPath(path));\n return isUndefined(value) ? defaultValue : value;\n}\n","import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\n\n// External wrapper for our callback generator. Users may customize\n// `_.iteratee` if they want additional predicate/iteratee shorthand styles.\n// This abstraction hides the internal-only `argCount` argument.\nexport default function iteratee(value, context) {\n return baseIteratee(value, context, Infinity);\n}\n_.iteratee = iteratee;\n","// Predicate-generating function. Often useful outside of Underscore.\nexport default function noop(){}\n","import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport executeBound from './_executeBound.js';\n\n// Create a function bound to a given object (assigning `this`, and arguments,\n// optionally).\nexport default restArguments(function(func, context, args) {\n if (!isFunction(func)) throw new TypeError('Bind must be called on a function');\n var bound = restArguments(function(callArgs) {\n return executeBound(func, bound, context, this, args.concat(callArgs));\n });\n return bound;\n});\n","import restArguments from './restArguments.js';\n\n// Delays a function for the given number of milliseconds, and then calls\n// it with the arguments supplied.\nexport default restArguments(function(func, wait, args) {\n return setTimeout(function() {\n return func.apply(null, args);\n }, wait);\n});\n","// Returns a function that will only be executed up to (but not including) the\n// Nth call.\nexport default function before(times, func) {\n var memo;\n return function() {\n if (--times > 0) {\n memo = func.apply(this, arguments);\n }\n if (times <= 1) func = null;\n return memo;\n };\n}\n","import cb from './_cb.js';\nimport keys from './keys.js';\n\n// Returns the first key on an object that passes a truth test.\nexport default function findKey(obj, predicate, context) {\n predicate = cb(predicate, context);\n var _keys = keys(obj), key;\n for (var i = 0, length = _keys.length; i < length; i++) {\n key = _keys[i];\n if (predicate(obj[key], key, obj)) return key;\n }\n}\n","import createPredicateIndexFinder from './_createPredicateIndexFinder.js';\n\n// Returns the last index on an array-like that passes a truth test.\nexport default createPredicateIndexFinder(-1);\n","import cb from './_cb.js';\nimport getLength from './_getLength.js';\n\n// Use a comparator function to figure out the smallest index at which\n// an object should be inserted so as to maintain order. Uses binary search.\nexport default function sortedIndex(array, obj, iteratee, context) {\n iteratee = cb(iteratee, context, 1);\n var value = iteratee(obj);\n var low = 0, high = getLength(array);\n while (low < high) {\n var mid = Math.floor((low + high) / 2);\n if (iteratee(array[mid]) < value) low = mid + 1; else high = mid;\n }\n return low;\n}\n","import sortedIndex from './sortedIndex.js';\nimport findIndex from './findIndex.js';\nimport createIndexFinder from './_createIndexFinder.js';\n\n// Return the position of the first occurrence of an item in an array,\n// or -1 if the item is not included in the array.\n// If the array is large and already in sort order, pass `true`\n// for **isSorted** to use binary search.\nexport default createIndexFinder(1, findIndex, sortedIndex);\n","import isArrayLike from './_isArrayLike.js';\nimport values from './values.js';\nimport cb from './_cb.js';\nimport each from './each.js';\n\n// Return the maximum element (or element-based computation).\nexport default function max(obj, iteratee, context) {\n var result = -Infinity, lastComputed = -Infinity,\n value, computed;\n if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {\n obj = isArrayLike(obj) ? obj : values(obj);\n for (var i = 0, length = obj.length; i < length; i++) {\n value = obj[i];\n if (value != null && value > result) {\n result = value;\n }\n }\n } else {\n iteratee = cb(iteratee, context);\n each(obj, function(v, index, list) {\n computed = iteratee(v, index, list);\n if (computed > lastComputed || computed === -Infinity && result === -Infinity) {\n result = v;\n lastComputed = computed;\n }\n });\n }\n return result;\n}\n","import isArrayLike from './_isArrayLike.js';\nimport clone from './clone.js';\nimport values from './values.js';\nimport getLength from './_getLength.js';\nimport random from './random.js';\n\n// Sample **n** random values from a collection using the modern version of the\n// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle).\n// If **n** is not specified, returns a single random element.\n// The internal `guard` argument allows it to work with `_.map`.\nexport default function sample(obj, n, guard) {\n if (n == null || guard) {\n if (!isArrayLike(obj)) obj = values(obj);\n return obj[random(obj.length - 1)];\n }\n var sample = isArrayLike(obj) ? clone(obj) : values(obj);\n var length = getLength(sample);\n n = Math.max(Math.min(n, length), 0);\n var last = length - 1;\n for (var index = 0; index < n; index++) {\n var rand = random(index, last);\n var temp = sample[index];\n sample[index] = sample[rand];\n sample[rand] = temp;\n }\n return sample.slice(0, n);\n}\n","import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport optimizeCb from './_optimizeCb.js';\nimport allKeys from './allKeys.js';\nimport keyInObj from './_keyInObj.js';\nimport flatten from './_flatten.js';\n\n// Return a copy of the object only containing the allowed properties.\nexport default restArguments(function(obj, keys) {\n var result = {}, iteratee = keys[0];\n if (obj == null) return result;\n if (isFunction(iteratee)) {\n if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]);\n keys = allKeys(obj);\n } else {\n iteratee = keyInObj;\n keys = flatten(keys, false, false);\n obj = Object(obj);\n }\n for (var i = 0, length = keys.length; i < length; i++) {\n var key = keys[i];\n var value = obj[key];\n if (iteratee(value, key, obj)) result[key] = value;\n }\n return result;\n});\n","import { slice } from './_setup.js';\n\n// Returns everything but the last entry of the array. Especially useful on\n// the arguments object. Passing **n** will return all the values in\n// the array, excluding the last N.\nexport default function initial(array, n, guard) {\n return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n)));\n}\n","import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport filter from './filter.js';\nimport contains from './contains.js';\n\n// Take the difference between one array and a number of other arrays.\n// Only the elements present in just the first array will remain.\nexport default restArguments(function(array, rest) {\n rest = flatten(rest, true, true);\n return filter(array, function(value){\n return !contains(rest, value);\n });\n});\n","import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n","// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n","import { nonEnumerableProps, ObjProto } from './_setup.js';\nimport isFunction from './isFunction.js';\nimport has from './_has.js';\n\n// Internal helper to create a simple lookup structure.\n// `collectNonEnumProps` used to depend on `_.contains`, but this led to\n// circular imports. `emulatedSet` is a one-off solution that only works for\n// arrays of strings.\nfunction emulatedSet(keys) {\n var hash = {};\n for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true;\n return {\n contains: function(key) { return hash[key]; },\n push: function(key) {\n hash[key] = true;\n return keys.push(key);\n }\n };\n}\n\n// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't\n// be iterated by `for key in ...` and thus missed. Extends `keys` in place if\n// needed.\nexport default function collectNonEnumProps(obj, keys) {\n keys = emulatedSet(keys);\n var nonEnumIdx = nonEnumerableProps.length;\n var constructor = obj.constructor;\n var proto = isFunction(constructor) && constructor.prototype || ObjProto;\n\n // Constructor is a special case.\n var prop = 'constructor';\n if (has(obj, prop) && !keys.contains(prop)) keys.push(prop);\n\n while (nonEnumIdx--) {\n prop = nonEnumerableProps[nonEnumIdx];\n if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) {\n keys.push(prop);\n }\n }\n}\n","import isObject from './isObject.js';\nimport { nativeCreate } from './_setup.js';\n\n// Create a naked function reference for surrogate-prototype-swapping.\nfunction ctor() {\n return function(){};\n}\n\n// An internal function for creating a new object that inherits from another.\nexport default function baseCreate(prototype) {\n if (!isObject(prototype)) return {};\n if (nativeCreate) return nativeCreate(prototype);\n var Ctor = ctor();\n Ctor.prototype = prototype;\n var result = new Ctor;\n Ctor.prototype = null;\n return result;\n}\n","import identity from './identity.js';\nimport isFunction from './isFunction.js';\nimport isObject from './isObject.js';\nimport isArray from './isArray.js';\nimport matcher from './matcher.js';\nimport property from './property.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// An internal function to generate callbacks that can be applied to each\n// element in a collection, returning the desired result — either `_.identity`,\n// an arbitrary callback, a property matcher, or a property accessor.\nexport default function baseIteratee(value, context, argCount) {\n if (value == null) return identity;\n if (isFunction(value)) return optimizeCb(value, context, argCount);\n if (isObject(value) && !isArray(value)) return matcher(value);\n return property(value);\n}\n","import keys from './keys.js';\n\n// Internal helper to generate functions for escaping and unescaping strings\n// to/from HTML interpolation.\nexport default function createEscaper(map) {\n var escaper = function(match) {\n return map[match];\n };\n // Regexes for identifying a key that needs to be escaped.\n var source = '(?:' + keys(map).join('|') + ')';\n var testRegexp = RegExp(source);\n var replaceRegexp = RegExp(source, 'g');\n return function(string) {\n string = string == null ? '' : '' + string;\n return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n };\n}\n","// Internal list of HTML entities for escaping.\nexport default {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '`': '`'\n};\n","import baseCreate from './_baseCreate.js';\nimport isObject from './isObject.js';\n\n// Internal function to execute `sourceFunc` bound to `context` with optional\n// `args`. Determines whether to execute a function as a constructor or as a\n// normal function.\nexport default function executeBound(sourceFunc, boundFunc, context, callingContext, args) {\n if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);\n var self = baseCreate(sourceFunc.prototype);\n var result = sourceFunc.apply(self, args);\n if (isObject(result)) return result;\n return self;\n}\n","import cb from './_cb.js';\nimport getLength from './_getLength.js';\n\n// Internal function to generate `_.findIndex` and `_.findLastIndex`.\nexport default function createPredicateIndexFinder(dir) {\n return function(array, predicate, context) {\n predicate = cb(predicate, context);\n var length = getLength(array);\n var index = dir > 0 ? 0 : length - 1;\n for (; index >= 0 && index < length; index += dir) {\n if (predicate(array[index], index, array)) return index;\n }\n return -1;\n };\n}\n","import getLength from './_getLength.js';\nimport { slice } from './_setup.js';\nimport isNaN from './isNaN.js';\n\n// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions.\nexport default function createIndexFinder(dir, predicateFind, sortedIndex) {\n return function(array, item, idx) {\n var i = 0, length = getLength(array);\n if (typeof idx == 'number') {\n if (dir > 0) {\n i = idx >= 0 ? idx : Math.max(idx + length, i);\n } else {\n length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n }\n } else if (sortedIndex && idx && length) {\n idx = sortedIndex(array, item);\n return array[idx] === item ? idx : -1;\n }\n if (item !== item) {\n idx = predicateFind(slice.call(array, i, length), isNaN);\n return idx >= 0 ? idx + i : -1;\n }\n for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n if (array[idx] === item) return idx;\n }\n return -1;\n };\n}\n","import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// Internal helper to create a reducing function, iterating left or right.\nexport default function createReduce(dir) {\n // Wrap code that reassigns argument variables in a separate function than\n // the one that accesses `arguments.length` to avoid a perf hit. (#1991)\n var reducer = function(obj, iteratee, memo, initial) {\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length,\n index = dir > 0 ? 0 : length - 1;\n if (!initial) {\n memo = obj[_keys ? _keys[index] : index];\n index += dir;\n }\n for (; index >= 0 && index < length; index += dir) {\n var currentKey = _keys ? _keys[index] : index;\n memo = iteratee(memo, obj[currentKey], currentKey, obj);\n }\n return memo;\n };\n\n return function(obj, iteratee, memo, context) {\n var initial = arguments.length >= 3;\n return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial);\n };\n}\n","import _ from './underscore.js';\nimport isArray from './isArray.js';\n\n// Normalize a (deep) property `path` to array.\n// Like `_.iteratee`, this function can be customized.\nexport default function toPath(path) {\n return isArray(path) ? path : [path];\n}\n_.toPath = toPath;\n","import _ from './underscore.js';\n\n// By default, Underscore uses ERB-style template delimiters. Change the\n// following template settings to use alternative delimiters.\nexport default _.templateSettings = {\n evaluate: /<%([\\s\\S]+?)%>/g,\n interpolate: /<%=([\\s\\S]+?)%>/g,\n escape: /<%-([\\s\\S]+?)%>/g\n};\n","import createReduce from './_createReduce.js';\n\n// The right-associative version of reduce, also known as `foldr`.\nexport default createReduce(-1);\n","import cb from './_cb.js';\nimport isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// Determine whether all of the elements pass a truth test.\nexport default function every(obj, predicate, context) {\n predicate = cb(predicate, context);\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length;\n for (var index = 0; index < length; index++) {\n var currentKey = _keys ? _keys[index] : index;\n if (!predicate(obj[currentKey], currentKey, obj)) return false;\n }\n return true;\n}\n","import cb from './_cb.js';\nimport isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// Determine if at least one element in the object passes a truth test.\nexport default function some(obj, predicate, context) {\n predicate = cb(predicate, context);\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length;\n for (var index = 0; index < length; index++) {\n var currentKey = _keys ? _keys[index] : index;\n if (predicate(obj[currentKey], currentKey, obj)) return true;\n }\n return false;\n}\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n","import getByteLength from './_getByteLength.js';\n\n// Internal function to wrap or shallow-copy an ArrayBuffer,\n// typed array or DataView to a new view, reusing the buffer.\nexport default function toBufferView(bufferSource) {\n return new Uint8Array(\n bufferSource.buffer || bufferSource,\n bufferSource.byteOffset || 0,\n getByteLength(bufferSource)\n );\n}\n","// Default Export\n// ==============\n// In this module, we mix our bundled exports into the `_` object and export\n// the result. This is analogous to setting `module.exports = _` in CommonJS.\n// Hence, this module is also the entry point of our UMD bundle and the package\n// entry point for CommonJS and AMD users. In other words, this is (the source\n// of) the module you are interfacing with when you do any of the following:\n//\n// ```js\n// // CommonJS\n// var _ = require('underscore');\n//\n// // AMD\n// define(['underscore'], function(_) {...});\n//\n// // UMD in the browser\n// // _ is available as a global variable\n// ```\nimport * as allExports from './index.js';\nimport { mixin } from './index.js';\n\n// Add all of the Underscore functions to the wrapper object.\nvar _ = mixin(allExports);\n// Legacy Node.js API.\n_._ = _;\n// Export the Underscore API.\nexport default _;\n","// Is a given value equal to null?\nexport default function isNull(obj) {\n return obj === null;\n}\n","// Is a given value a DOM element?\nexport default function isElement(obj) {\n return !!(obj && obj.nodeType === 1);\n}\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Date');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('RegExp');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Error');\n","import { _isFinite } from './_setup.js';\nimport isSymbol from './isSymbol.js';\n\n// Is a given object a finite number?\nexport default function isFinite(obj) {\n return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj));\n}\n","import getLength from './_getLength.js';\nimport isArray from './isArray.js';\nimport isString from './isString.js';\nimport isArguments from './isArguments.js';\nimport keys from './keys.js';\n\n// Is a given array, string, or object empty?\n// An \"empty\" object has no enumerable own-properties.\nexport default function isEmpty(obj) {\n if (obj == null) return true;\n // Skip the more expensive `toString`-based type checks if `obj` has no\n // `.length`.\n var length = getLength(obj);\n if (typeof length == 'number' && (\n isArray(obj) || isString(obj) || isArguments(obj)\n )) return length === 0;\n return getLength(keys(obj)) === 0;\n}\n","import _ from './underscore.js';\nimport { toString, SymbolProto } from './_setup.js';\nimport getByteLength from './_getByteLength.js';\nimport isTypedArray from './isTypedArray.js';\nimport isFunction from './isFunction.js';\nimport { hasStringTagBug } from './_stringTagBug.js';\nimport isDataView from './isDataView.js';\nimport keys from './keys.js';\nimport has from './_has.js';\nimport toBufferView from './_toBufferView.js';\n\n// We use this string twice, so give it a name for minification.\nvar tagDataView = '[object DataView]';\n\n// Internal recursive comparison function for `_.isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b) return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null) return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a) return b !== b;\n // Exhaust primitive checks\n var type = typeof a;\n if (type !== 'function' && type !== 'object' && typeof b != 'object') return false;\n return deepEq(a, b, aStack, bStack);\n}\n\n// Internal recursive comparison function for `_.isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n if (a instanceof _) a = a._wrapped;\n if (b instanceof _) b = b._wrapped;\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b)) return false;\n // Work around a bug in IE 10 - Edge 13.\n if (hasStringTagBug && className == '[object Object]' && isDataView(a)) {\n if (!isDataView(b)) return false;\n className = tagDataView;\n }\n switch (className) {\n // These types are compared by value.\n case '[object RegExp]':\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case '[object String]':\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return '' + a === '' + b;\n case '[object Number]':\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a) return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case '[object Date]':\n case '[object Boolean]':\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case '[object Symbol]':\n return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b);\n case '[object ArrayBuffer]':\n case tagDataView:\n // Coerce to typed array so we can fall through.\n return deepEq(toBufferView(a), toBufferView(b), aStack, bStack);\n }\n\n var areArrays = className === '[object Array]';\n if (!areArrays && isTypedArray(a)) {\n var byteLength = getByteLength(a);\n if (byteLength !== getByteLength(b)) return false;\n if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true;\n areArrays = true;\n }\n if (!areArrays) {\n if (typeof a != 'object' || typeof b != 'object') return false;\n\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor, bCtor = b.constructor;\n if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor &&\n isFunction(bCtor) && bCtor instanceof bCtor)\n && ('constructor' in a && 'constructor' in b)) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a) return bStack[length] === b;\n }\n\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length) return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack)) return false;\n }\n } else {\n // Deep compare objects.\n var _keys = keys(a), key;\n length = _keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (keys(b).length !== length) return false;\n while (length--) {\n // Deep compare each member\n key = _keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\n\n// Perform a deep comparison to check if two objects are equal.\nexport default function isEqual(a, b) {\n return eq(a, b);\n}\n","import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, mapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');\n","import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, weakMapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap');\n","import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, setMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('WeakSet');\n","import keys from './keys.js';\n\n// Convert an object into a list of `[key, value]` pairs.\n// The opposite of `_.object` with one argument.\nexport default function pairs(obj) {\n var _keys = keys(obj);\n var length = _keys.length;\n var pairs = Array(length);\n for (var i = 0; i < length; i++) {\n pairs[i] = [_keys[i], obj[_keys[i]]];\n }\n return pairs;\n}\n","import baseCreate from './_baseCreate.js';\nimport extendOwn from './extendOwn.js';\n\n// Creates an object that inherits from the given prototype object.\n// If additional properties are provided then they will be added to the\n// created object.\nexport default function create(prototype, props) {\n var result = baseCreate(prototype);\n if (props) extendOwn(result, props);\n return result;\n}\n","// Invokes `interceptor` with the `obj` and then returns `obj`.\n// The primary purpose of this method is to \"tap into\" a method chain, in\n// order to perform operations on intermediate results within the chain.\nexport default function tap(obj, interceptor) {\n interceptor(obj);\n return obj;\n}\n","import _has from './_has.js';\nimport toPath from './_toPath.js';\n\n// Shortcut function for checking if an object has a given property directly on\n// itself (in other words, not on a prototype). Unlike the internal `has`\n// function, this public version can also traverse nested properties.\nexport default function has(obj, path) {\n path = toPath(path);\n var length = path.length;\n for (var i = 0; i < length; i++) {\n var key = path[i];\n if (!_has(obj, key)) return false;\n obj = obj[key];\n }\n return !!length;\n}\n","import cb from './_cb.js';\nimport keys from './keys.js';\n\n// Returns the results of applying the `iteratee` to each element of `obj`.\n// In contrast to `_.map` it returns an object.\nexport default function mapObject(obj, iteratee, context) {\n iteratee = cb(iteratee, context);\n var _keys = keys(obj),\n length = _keys.length,\n results = {};\n for (var index = 0; index < length; index++) {\n var currentKey = _keys[index];\n results[currentKey] = iteratee(obj[currentKey], currentKey, obj);\n }\n return results;\n}\n","import noop from './noop.js';\nimport get from './get.js';\n\n// Generates a function for a given object that returns a given property.\nexport default function propertyOf(obj) {\n if (obj == null) return noop;\n return function(path) {\n return get(obj, path);\n };\n}\n","import optimizeCb from './_optimizeCb.js';\n\n// Run a function **n** times.\nexport default function times(n, iteratee, context) {\n var accum = Array(Math.max(0, n));\n iteratee = optimizeCb(iteratee, context, 1);\n for (var i = 0; i < n; i++) accum[i] = iteratee(i);\n return accum;\n}\n","import createEscaper from './_createEscaper.js';\nimport escapeMap from './_escapeMap.js';\n\n// Function for escaping strings to HTML interpolation.\nexport default createEscaper(escapeMap);\n","import createEscaper from './_createEscaper.js';\nimport unescapeMap from './_unescapeMap.js';\n\n// Function for unescaping strings from HTML interpolation.\nexport default createEscaper(unescapeMap);\n","import defaults from './defaults.js';\nimport _ from './underscore.js';\nimport './templateSettings.js';\n\n// When customizing `_.templateSettings`, if you don't want to define an\n// interpolation, evaluation or escaping regex, we need one that is\n// guaranteed not to match.\nvar noMatch = /(.)^/;\n\n// Certain characters need to be escaped so that they can be put into a\n// string literal.\nvar escapes = {\n \"'\": \"'\",\n '\\\\': '\\\\',\n '\\r': 'r',\n '\\n': 'n',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n};\n\nvar escapeRegExp = /\\\\|'|\\r|\\n|\\u2028|\\u2029/g;\n\nfunction escapeChar(match) {\n return '\\\\' + escapes[match];\n}\n\n// In order to prevent third-party code injection through\n// `_.templateSettings.variable`, we test it against the following regular\n// expression. It is intentionally a bit more liberal than just matching valid\n// identifiers, but still prevents possible loopholes through defaults or\n// destructuring assignment.\nvar bareIdentifier = /^\\s*(\\w|\\$)+\\s*$/;\n\n// JavaScript micro-templating, similar to John Resig's implementation.\n// Underscore templating handles arbitrary delimiters, preserves whitespace,\n// and correctly escapes quotes within interpolated code.\n// NB: `oldSettings` only exists for backwards compatibility.\nexport default function template(text, settings, oldSettings) {\n if (!settings && oldSettings) settings = oldSettings;\n settings = defaults({}, settings, _.templateSettings);\n\n // Combine delimiters into one regular expression via alternation.\n var matcher = RegExp([\n (settings.escape || noMatch).source,\n (settings.interpolate || noMatch).source,\n (settings.evaluate || noMatch).source\n ].join('|') + '|$', 'g');\n\n // Compile the template source, escaping string literals appropriately.\n var index = 0;\n var source = \"__p+='\";\n text.replace(matcher, function(match, escape, interpolate, evaluate, offset) {\n source += text.slice(index, offset).replace(escapeRegExp, escapeChar);\n index = offset + match.length;\n\n if (escape) {\n source += \"'+\\n((__t=(\" + escape + \"))==null?'':_.escape(__t))+\\n'\";\n } else if (interpolate) {\n source += \"'+\\n((__t=(\" + interpolate + \"))==null?'':__t)+\\n'\";\n } else if (evaluate) {\n source += \"';\\n\" + evaluate + \"\\n__p+='\";\n }\n\n // Adobe VMs need the match returned to produce the correct offset.\n return match;\n });\n source += \"';\\n\";\n\n var argument = settings.variable;\n if (argument) {\n // Insure against third-party code injection. (CVE-2021-23358)\n if (!bareIdentifier.test(argument)) throw new Error(\n 'variable is not a bare identifier: ' + argument\n );\n } else {\n // If a variable is not specified, place data values in local scope.\n source = 'with(obj||{}){\\n' + source + '}\\n';\n argument = 'obj';\n }\n\n source = \"var __t,__p='',__j=Array.prototype.join,\" +\n \"print=function(){__p+=__j.call(arguments,'');};\\n\" +\n source + 'return __p;\\n';\n\n var render;\n try {\n render = new Function(argument, '_', source);\n } catch (e) {\n e.source = source;\n throw e;\n }\n\n var template = function(data) {\n return render.call(this, data, _);\n };\n\n // Provide the compiled source as a convenience for precompilation.\n template.source = 'function(' + argument + '){\\n' + source + '}';\n\n return template;\n}\n","import isFunction from './isFunction.js';\nimport toPath from './_toPath.js';\n\n// Traverses the children of `obj` along `path`. If a child is a function, it\n// is invoked with its parent as context. Returns the value of the final\n// child, or `fallback` if any child is undefined.\nexport default function result(obj, path, fallback) {\n path = toPath(path);\n var length = path.length;\n if (!length) {\n return isFunction(fallback) ? fallback.call(obj) : fallback;\n }\n for (var i = 0; i < length; i++) {\n var prop = obj == null ? void 0 : obj[path[i]];\n if (prop === void 0) {\n prop = fallback;\n i = length; // Ensure we don't continue iterating.\n }\n obj = isFunction(prop) ? prop.call(obj) : prop;\n }\n return obj;\n}\n","// Generate a unique integer id (unique within the entire client session).\n// Useful for temporary DOM ids.\nvar idCounter = 0;\nexport default function uniqueId(prefix) {\n var id = ++idCounter + '';\n return prefix ? prefix + id : id;\n}\n","import _ from './underscore.js';\n\n// Start chaining a wrapped Underscore object.\nexport default function chain(obj) {\n var instance = _(obj);\n instance._chain = true;\n return instance;\n}\n","import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport bind from './bind.js';\n\n// Bind a number of an object's methods to that object. Remaining arguments\n// are the method names to be bound. Useful for ensuring that all callbacks\n// defined on an object belong to it.\nexport default restArguments(function(obj, keys) {\n keys = flatten(keys, false, false);\n var index = keys.length;\n if (index < 1) throw new Error('bindAll must be passed function names');\n while (index--) {\n var key = keys[index];\n obj[key] = bind(obj[key], obj);\n }\n return obj;\n});\n","import has from './_has.js';\n\n// Memoize an expensive function by storing its results.\nexport default function memoize(func, hasher) {\n var memoize = function(key) {\n var cache = memoize.cache;\n var address = '' + (hasher ? hasher.apply(this, arguments) : key);\n if (!has(cache, address)) cache[address] = func.apply(this, arguments);\n return cache[address];\n };\n memoize.cache = {};\n return memoize;\n}\n","import partial from './partial.js';\nimport delay from './delay.js';\nimport _ from './underscore.js';\n\n// Defers a function, scheduling it to run after the current call stack has\n// cleared.\nexport default partial(delay, _, 1);\n","import now from './now.js';\n\n// Returns a function, that, when invoked, will only be triggered at most once\n// during a given window of time. Normally, the throttled function will run\n// as much as it can, without ever going more than once per `wait` duration;\n// but if you'd like to disable the execution on the leading edge, pass\n// `{leading: false}`. To disable execution on the trailing edge, ditto.\nexport default function throttle(func, wait, options) {\n var timeout, context, args, result;\n var previous = 0;\n if (!options) options = {};\n\n var later = function() {\n previous = options.leading === false ? 0 : now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n };\n\n var throttled = function() {\n var _now = now();\n if (!previous && options.leading === false) previous = _now;\n var remaining = wait - (_now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = _now;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n } else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n\n throttled.cancel = function() {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n\n return throttled;\n}\n","import restArguments from './restArguments.js';\nimport now from './now.js';\n\n// When a sequence of calls of the returned function ends, the argument\n// function is triggered. The end of a sequence is defined by the `wait`\n// parameter. If `immediate` is passed, the argument function will be\n// triggered at the beginning of the sequence instead of at the end.\nexport default function debounce(func, wait, immediate) {\n var timeout, previous, args, result, context;\n\n var later = function() {\n var passed = now() - previous;\n if (wait > passed) {\n timeout = setTimeout(later, wait - passed);\n } else {\n timeout = null;\n if (!immediate) result = func.apply(context, args);\n // This check is needed because `func` can recursively invoke `debounced`.\n if (!timeout) args = context = null;\n }\n };\n\n var debounced = restArguments(function(_args) {\n context = this;\n args = _args;\n previous = now();\n if (!timeout) {\n timeout = setTimeout(later, wait);\n if (immediate) result = func.apply(context, args);\n }\n return result;\n });\n\n debounced.cancel = function() {\n clearTimeout(timeout);\n timeout = args = context = null;\n };\n\n return debounced;\n}\n","import partial from './partial.js';\n\n// Returns the first function passed as an argument to the second,\n// allowing you to adjust arguments, run code before and after, and\n// conditionally execute the original function.\nexport default function wrap(func, wrapper) {\n return partial(wrapper, func);\n}\n","// Returns a function that is the composition of a list of functions, each\n// consuming the return value of the function that follows.\nexport default function compose() {\n var args = arguments;\n var start = args.length - 1;\n return function() {\n var i = start;\n var result = args[start].apply(this, arguments);\n while (i--) result = args[i].call(this, result);\n return result;\n };\n}\n","// Returns a function that will only be executed on and after the Nth call.\nexport default function after(times, func) {\n return function() {\n if (--times < 1) {\n return func.apply(this, arguments);\n }\n };\n}\n","import partial from './partial.js';\nimport before from './before.js';\n\n// Returns a function that will be executed at most one time, no matter how\n// often you call it. Useful for lazy initialization.\nexport default partial(before, 2);\n","import findLastIndex from './findLastIndex.js';\nimport createIndexFinder from './_createIndexFinder.js';\n\n// Return the position of the last occurrence of an item in an array,\n// or -1 if the item is not included in the array.\nexport default createIndexFinder(-1, findLastIndex);\n","import find from './find.js';\nimport matcher from './matcher.js';\n\n// Convenience version of a common use case of `_.find`: getting the first\n// object containing specific `key:value` pairs.\nexport default function findWhere(obj, attrs) {\n return find(obj, matcher(attrs));\n}\n","import filter from './filter.js';\nimport negate from './negate.js';\nimport cb from './_cb.js';\n\n// Return all the elements for which a truth test fails.\nexport default function reject(obj, predicate, context) {\n return filter(obj, negate(cb(predicate)), context);\n}\n","import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport map from './map.js';\nimport deepGet from './_deepGet.js';\nimport toPath from './_toPath.js';\n\n// Invoke a method (with arguments) on every item in a collection.\nexport default restArguments(function(obj, path, args) {\n var contextPath, func;\n if (isFunction(path)) {\n func = path;\n } else {\n path = toPath(path);\n contextPath = path.slice(0, -1);\n path = path[path.length - 1];\n }\n return map(obj, function(context) {\n var method = func;\n if (!method) {\n if (contextPath && contextPath.length) {\n context = deepGet(context, contextPath);\n }\n if (context == null) return void 0;\n method = context[path];\n }\n return method == null ? method : method.apply(context, args);\n });\n});\n","import filter from './filter.js';\nimport matcher from './matcher.js';\n\n// Convenience version of a common use case of `_.filter`: selecting only\n// objects containing specific `key:value` pairs.\nexport default function where(obj, attrs) {\n return filter(obj, matcher(attrs));\n}\n","import isArrayLike from './_isArrayLike.js';\nimport values from './values.js';\nimport cb from './_cb.js';\nimport each from './each.js';\n\n// Return the minimum element (or element-based computation).\nexport default function min(obj, iteratee, context) {\n var result = Infinity, lastComputed = Infinity,\n value, computed;\n if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {\n obj = isArrayLike(obj) ? obj : values(obj);\n for (var i = 0, length = obj.length; i < length; i++) {\n value = obj[i];\n if (value != null && value < result) {\n result = value;\n }\n }\n } else {\n iteratee = cb(iteratee, context);\n each(obj, function(v, index, list) {\n computed = iteratee(v, index, list);\n if (computed < lastComputed || computed === Infinity && result === Infinity) {\n result = v;\n lastComputed = computed;\n }\n });\n }\n return result;\n}\n","import sample from './sample.js';\n\n// Shuffle a collection.\nexport default function shuffle(obj) {\n return sample(obj, Infinity);\n}\n","import cb from './_cb.js';\nimport pluck from './pluck.js';\nimport map from './map.js';\n\n// Sort the object's values by a criterion produced by an iteratee.\nexport default function sortBy(obj, iteratee, context) {\n var index = 0;\n iteratee = cb(iteratee, context);\n return pluck(map(obj, function(value, key, list) {\n return {\n value: value,\n index: index++,\n criteria: iteratee(value, key, list)\n };\n }).sort(function(left, right) {\n var a = left.criteria;\n var b = right.criteria;\n if (a !== b) {\n if (a > b || a === void 0) return 1;\n if (a < b || b === void 0) return -1;\n }\n return left.index - right.index;\n }), 'value');\n}\n","import group from './_group.js';\nimport has from './_has.js';\n\n// Groups the object's values by a criterion. Pass either a string attribute\n// to group by, or a function that returns the criterion.\nexport default group(function(result, value, key) {\n if (has(result, key)) result[key].push(value); else result[key] = [value];\n});\n","import group from './_group.js';\n\n// Indexes the object's values by a criterion, similar to `_.groupBy`, but for\n// when you know that your index values will be unique.\nexport default group(function(result, value, key) {\n result[key] = value;\n});\n","import group from './_group.js';\nimport has from './_has.js';\n\n// Counts instances of an object that group by a certain criterion. Pass\n// either a string attribute to count by, or a function that returns the\n// criterion.\nexport default group(function(result, value, key) {\n if (has(result, key)) result[key]++; else result[key] = 1;\n});\n","import group from './_group.js';\n\n// Split a collection into two arrays: one whose elements all pass the given\n// truth test, and one whose elements all do not pass the truth test.\nexport default group(function(result, value, pass) {\n result[pass ? 0 : 1].push(value);\n}, true);\n","import isArray from './isArray.js';\nimport { slice } from './_setup.js';\nimport isString from './isString.js';\nimport isArrayLike from './_isArrayLike.js';\nimport map from './map.js';\nimport identity from './identity.js';\nimport values from './values.js';\n\n// Safely create a real, live array from anything iterable.\nvar reStrSymbol = /[^\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff]/g;\nexport default function toArray(obj) {\n if (!obj) return [];\n if (isArray(obj)) return slice.call(obj);\n if (isString(obj)) {\n // Keep surrogate pair characters together.\n return obj.match(reStrSymbol);\n }\n if (isArrayLike(obj)) return map(obj, identity);\n return values(obj);\n}\n","import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// Return the number of elements in a collection.\nexport default function size(obj) {\n if (obj == null) return 0;\n return isArrayLike(obj) ? obj.length : keys(obj).length;\n}\n","import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport negate from './negate.js';\nimport map from './map.js';\nimport flatten from './_flatten.js';\nimport contains from './contains.js';\nimport pick from './pick.js';\n\n// Return a copy of the object without the disallowed properties.\nexport default restArguments(function(obj, keys) {\n var iteratee = keys[0], context;\n if (isFunction(iteratee)) {\n iteratee = negate(iteratee);\n if (keys.length > 1) context = keys[1];\n } else {\n keys = map(flatten(keys, false, false), String);\n iteratee = function(value, key) {\n return !contains(keys, key);\n };\n }\n return pick(obj, iteratee, context);\n});\n","import rest from './rest.js';\n\n// Get the last element of an array. Passing **n** will return the last N\n// values in the array.\nexport default function last(array, n, guard) {\n if (array == null || array.length < 1) return n == null || guard ? void 0 : [];\n if (n == null || guard) return array[array.length - 1];\n return rest(array, Math.max(0, array.length - n));\n}\n","import filter from './filter.js';\n\n// Trim out all falsy values from an array.\nexport default function compact(array) {\n return filter(array, Boolean);\n}\n","import _flatten from './_flatten.js';\n\n// Flatten out an array, either recursively (by default), or up to `depth`.\n// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively.\nexport default function flatten(array, depth) {\n return _flatten(array, depth, false);\n}\n","import restArguments from './restArguments.js';\nimport difference from './difference.js';\n\n// Return a version of the array that does not contain the specified value(s).\nexport default restArguments(function(array, otherArrays) {\n return difference(array, otherArrays);\n});\n","import restArguments from './restArguments.js';\nimport uniq from './uniq.js';\nimport flatten from './_flatten.js';\n\n// Produce an array that contains the union: each distinct element from all of\n// the passed-in arrays.\nexport default restArguments(function(arrays) {\n return uniq(flatten(arrays, true, true));\n});\n","import getLength from './_getLength.js';\nimport contains from './contains.js';\n\n// Produce an array that contains every item shared between all the\n// passed-in arrays.\nexport default function intersection(array) {\n var result = [];\n var argsLength = arguments.length;\n for (var i = 0, length = getLength(array); i < length; i++) {\n var item = array[i];\n if (contains(result, item)) continue;\n var j;\n for (j = 1; j < argsLength; j++) {\n if (!contains(arguments[j], item)) break;\n }\n if (j === argsLength) result.push(item);\n }\n return result;\n}\n","import restArguments from './restArguments.js';\nimport unzip from './unzip.js';\n\n// Zip together multiple lists into a single array -- elements that share\n// an index go together.\nexport default restArguments(unzip);\n","import getLength from './_getLength.js';\n\n// Converts lists into objects. Pass either a single array of `[key, value]`\n// pairs, or two parallel arrays of the same length -- one of keys, and one of\n// the corresponding values. Passing by pairs is the reverse of `_.pairs`.\nexport default function object(list, values) {\n var result = {};\n for (var i = 0, length = getLength(list); i < length; i++) {\n if (values) {\n result[list[i]] = values[i];\n } else {\n result[list[i][0]] = list[i][1];\n }\n }\n return result;\n}\n","// Generate an integer Array containing an arithmetic progression. A port of\n// the native Python `range()` function. See\n// [the Python documentation](https://docs.python.org/library/functions.html#range).\nexport default function range(start, stop, step) {\n if (stop == null) {\n stop = start || 0;\n start = 0;\n }\n if (!step) {\n step = stop < start ? -1 : 1;\n }\n\n var length = Math.max(Math.ceil((stop - start) / step), 0);\n var range = Array(length);\n\n for (var idx = 0; idx < length; idx++, start += step) {\n range[idx] = start;\n }\n\n return range;\n}\n","import { slice } from './_setup.js';\n\n// Chunk a single array into multiple arrays, each containing `count` or fewer\n// items.\nexport default function chunk(array, count) {\n if (count == null || count < 1) return [];\n var result = [];\n var i = 0, length = array.length;\n while (i < length) {\n result.push(slice.call(array, i, i += count));\n }\n return result;\n}\n","import _ from './underscore.js';\nimport each from './each.js';\nimport functions from './functions.js';\nimport { push } from './_setup.js';\nimport chainResult from './_chainResult.js';\n\n// Add your own custom functions to the Underscore object.\nexport default function mixin(obj) {\n each(functions(obj), function(name) {\n var func = _[name] = obj[name];\n _.prototype[name] = function() {\n var args = [this._wrapped];\n push.apply(args, arguments);\n return chainResult(this, func.apply(_, args));\n };\n });\n return _;\n}\n","import _ from './underscore.js';\nimport each from './each.js';\nimport { ArrayProto } from './_setup.js';\nimport chainResult from './_chainResult.js';\n\n// Add all mutator `Array` functions to the wrapper.\neach(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) {\n var method = ArrayProto[name];\n _.prototype[name] = function() {\n var obj = this._wrapped;\n if (obj != null) {\n method.apply(obj, arguments);\n if ((name === 'shift' || name === 'splice') && obj.length === 0) {\n delete obj[0];\n }\n }\n return chainResult(this, obj);\n };\n});\n\n// Add all accessor `Array` functions to the wrapper.\neach(['concat', 'join', 'slice'], function(name) {\n var method = ArrayProto[name];\n _.prototype[name] = function() {\n var obj = this._wrapped;\n if (obj != null) obj = method.apply(obj, arguments);\n return chainResult(this, obj);\n };\n});\n\nexport default _;\n","import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getByteLength from './_getByteLength.js';\n\n// Internal helper to determine whether we should spend extensive checks against\n// `ArrayBuffer` et al.\nexport default createSizePropertyCheck(getByteLength);\n","import invert from './invert.js';\nimport escapeMap from './_escapeMap.js';\n\n// Internal list of HTML entities for unescaping.\nexport default invert(escapeMap);\n","// Internal `_.pick` helper function to determine whether `key` is an enumerable\n// property name of `obj`.\nexport default function keyInObj(value, key, obj) {\n return key in obj;\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n"],"sourceRoot":""} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment