UNPKG

174 kBSource Map (JSON)View Raw
1{"version":3,"sources":["webpack://deepEqualX/webpack/universalModuleDefinition","webpack://deepEqualX/webpack/bootstrap","webpack://deepEqualX/./node_modules/is-primitive/index.js","webpack://deepEqualX/./node_modules/is-string/index.js","webpack://deepEqualX/./node_modules/is-symbol/index.js","webpack://deepEqualX/./node_modules/is-arguments/index.js","webpack://deepEqualX/./node_modules/is-date-object/index.js","webpack://deepEqualX/./node_modules/is-object/index.js","webpack://deepEqualX/./node_modules/is-buffer/index.js","webpack://deepEqualX/./node_modules/stable/stable.js","webpack://deepEqualX/./node_modules/object-keys/isArguments.js","webpack://deepEqualX/./node_modules/object-keys/index.js","webpack://deepEqualX/./node_modules/has-symbols/index.js","webpack://deepEqualX/(webpack)/buildin/global.js","webpack://deepEqualX/./node_modules/has-symbols/shams.js","webpack://deepEqualX/./node_modules/object-keys/implementation.js","webpack://deepEqualX/../src/to-string-tag-x.js","webpack://deepEqualX/../src/attempt-x.js","webpack://deepEqualX/../src/to-boolean-x.js","webpack://deepEqualX/../src/white-space-x.js","webpack://deepEqualX/../src/has-symbol-support-x.js","webpack://deepEqualX/../src/has-to-string-tag-x.js","webpack://deepEqualX/../src/is-nil-x.js","webpack://deepEqualX/../src/require-object-coercible-x.js","webpack://deepEqualX/../src/to-string-x.js","webpack://deepEqualX/../src/require-coercible-to-string-x.js","webpack://deepEqualX/../src/trim-left-x.js","webpack://deepEqualX/../src/trim-right-x.js","webpack://deepEqualX/../src/trim-x.js","webpack://deepEqualX/../src/normalize-space-x.js","webpack://deepEqualX/../src/replace-comments-x.js","webpack://deepEqualX/../src/is-function-x.js","webpack://deepEqualX/../src/is-object-like-x.js","webpack://deepEqualX/../src/to-object-x.js","webpack://deepEqualX/../src/get-prototype-of-x.js","webpack://deepEqualX/../src/is-error-x.js","webpack://deepEqualX/../src/to-primitive-x.js","webpack://deepEqualX/../src/to-property-key-x.js","webpack://deepEqualX/../src/object-get-own-property-descriptor-x.js","webpack://deepEqualX/../src/has-own-property-x.js","webpack://deepEqualX/../src/to-string-symbols-supported-x.js","webpack://deepEqualX/../src/parse-int-x.js","webpack://deepEqualX/../src/nan-x.js","webpack://deepEqualX/../src/to-number-x.js","webpack://deepEqualX/../src/is-nan-x.js","webpack://deepEqualX/../src/is-finite-x.js","webpack://deepEqualX/../src/infinity-x.js","webpack://deepEqualX/../src/math-sign-x.js","webpack://deepEqualX/../src/to-integer-x.js","webpack://deepEqualX/../src/math-clamp-x.js","webpack://deepEqualX/../src/is-index-x.js","webpack://deepEqualX/../src/property-is-enumerable-x.js","webpack://deepEqualX/../src/object-define-property-x.js","webpack://deepEqualX/../src/is-integer-x.js","webpack://deepEqualX/../src/is-safe-integer-x.js","webpack://deepEqualX/../src/is-length-x.js","webpack://deepEqualX/../src/is-map-x.js","webpack://deepEqualX/../src/is-set-x.js","webpack://deepEqualX/../src/assert-is-object-x.js","webpack://deepEqualX/../src/is-regexp-x.js","webpack://deepEqualX/../src/to-length-x.js","webpack://deepEqualX/../src/same-value-x.js","webpack://deepEqualX/../src/same-value-zero-x.js","webpack://deepEqualX/../src/assert-is-function-x.js","webpack://deepEqualX/../src/has-boxed-string-x.js","webpack://deepEqualX/../src/split-if-boxed-bug-x.js","webpack://deepEqualX/../src/find-index-x.js","webpack://deepEqualX/../src/is-array-like-x.js","webpack://deepEqualX/../src/calculate-from-index-x.js","webpack://deepEqualX/../src/index-of-x.js","webpack://deepEqualX/../src/array-slice-x.js","webpack://deepEqualX/../src/is-array-x.js","webpack://deepEqualX/../src/array-like-slice-x.js","webpack://deepEqualX/../src/array-any-x.js","webpack://deepEqualX/../src/array-some-x.js","webpack://deepEqualX/../src/array-all-x.js","webpack://deepEqualX/../src/array-filter-x.js","webpack://deepEqualX/../src/object-keys-x.js","webpack://deepEqualX/../src/deep-equal-x.js"],"names":["root","factory","exports","module","define","amd","self","window","global","Function","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","val","strValue","String","valueOf","toStr","toString","hasToStringTag","e","tryStringObject","symToStr","symStringRegex","test","isSymbolObject","isStandardArguments","isLegacyArguments","length","callee","supportsStandardArguments","arguments","getDay","Date","tryDateObject","x","obj","constructor","isBuffer","stable","arr","comp","exec","slice","a","b","localeCompare","len","buffer","Array","chk","pass","tmp","inplace","result","li","ri","dbl","str","isArgs","origKeys","keys","keysShim","originalKeys","shim","args","origSymbol","hasSymbolSham","g","this","getOwnPropertySymbols","iterator","sym","symObj","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","has","isEnumerable","hasDontEnumBug","hasProtoEnumBug","dontEnums","equalsConstructorPrototype","ctor","excludedKeys","$applicationCache","$console","$external","$frame","$frameElement","$frames","$innerHeight","$innerWidth","$onmozfullscreenchange","$onmozfullscreenerror","$outerHeight","$outerWidth","$pageXOffset","$pageYOffset","$parent","$scrollLeft","$scrollTop","$scrollX","$scrollY","$self","$webkitIndexedDB","$webkitStorageInfo","$window","hasAutomationEqualityBug","k","isObject","isFunction","isArguments","isString","theKeys","TypeError","skipProto","push","j","skipConstructor","equalsConstructorPrototypeIfNotBuggy","nativeObjectToString","to_string_tag_x_esm","attempt_x_esm","fn","_len","_key","threw","apply","to_boolean_x_esm","hasSymbolSupport","_newArrowCheck","is_symbol_default","undefined","has_symbol_support_x_esm","has_to_string_tag_x_esm","is_nil_x_esm","require_object_coercible_x_esm","concat","ERROR_MESSAGE","castString","to_string_x_esm","require_coercible_to_string_x_esm","list","code","description","es5","es2015","es2016","es2017","es2018","string","stringES2018","white_space_x_esm_length","white_space_x_esm_i","white_space_x_esm","reLeft","RegExpCtr","replace","trim_left_x_esm","reRight2018","trim_right_x_esm_RegExpCtr","trim_right_x_esm_replace","trim_right_x_esm","trim_x_esm","reNormalize2018","normalize_space_x_esm_RegExpCtr","normalize_space_x_esm_replace","normalize_space_x_esm","STRIP_COMMENTS","replace_comments_x_esm_replace","replace_comments_x_esm","replacement","FunctionCtr","fToString","ctrRx","hasNativeClass","is_function_x_esm_testClassString","isES6ClassFn","is_function_x_esm","allowClass","is_primitive_default","tryFuncToString","strTag","is_function_x_esm_compareTags","is_object_like_x_esm","castObject","to_object_x_esm","ObjectCtr","nativeGetPrototypeOf","getPrototypeOf","get_prototype_of_x_esm","prototypeOfCtr","Ctr","ctr","ignore","get_prototype_of_x_esm_test1","proto","__proto__","errorCheck","Error","errorProto","testStringTag","is_error_x_esm","maxLoop","StringCtr","NumberCtr","symToPrimitive","toPrimitive","symValueOf","toStringOrder","toNumberOrder","to_primitive_x_esm_ordinaryToPrimitive","ordinary","hint","assertHint","method","methodNames","getHint","supplied","to_primitive_x_esm_getExoticToPrim","func","to_primitive_x_esm_getMethod","to_primitive_x_esm_evalExotic","exoticToPrim","input","to_primitive_x_esm_evalPrimitive","newHint","is_date_object_default","to_primitive_x_esm","preferredType","getOPDFallback1","getOPDFallback2","$getOwnPropertyDescriptor","to_property_key_x_esm","argument","_typeof","hop","has_own_property_x_esm","pToString","isSymbolFn","to_string_symbols_supported_x_esm_castString","to_string_symbols_supported_x_esm","nativeParseInt","parseInt","castNumber","charAt","hexRegex","parse_int_x_esm_test","parse_int_x_esm","radix","to_number_x_esm_castNumber","pStrSlice","binaryRegex","to_number_x_esm_test","octalRegex","nonWSregex","RegExpConstructor","invalidHexLiteral","to_number_x_esm_parseBase","parseString","toNum","isBinary","isOctal","to_number_x_esm_convertString","hasNonWS","isInvalidHexLiteral","trimmed","to_number_x_esm","toNumber","to_number_x_esm_assertNotSymbol","is_nan_x_esm","is_finite_x_esm","number","math_sign_x_esm","abs","Math","floor","to_integer_x_esm","math_clamp_x_esm_getMaxMin","minVal","max","min","RangeError","math_clamp_x_esm","_getMaxMin","reIsUint","rxTest","is_index_x_esm","propIsEnumerable","property_is_enumerable_x_esm","object_get_own_property_descriptor_x_esm_charAt","object_get_own_property_descriptor_x_esm_ObjectCtr","ngopd","nativeGOPD","object_get_own_property_descriptor_x_esm_doesGOPDWork","prop","testResult","object_get_own_property_descriptor_x_esm_doc","document","createElement","object_get_own_property_descriptor_x_esm_res","worksWithPrim","lookupGetter","lookupSetter","prototypeOfObject","supportsAccessors","lg","__lookupGetter__","ls","__lookupSetter__","propKey","isStringIndex","is_string_default","configurable","notPrototypeOfObject","setter","set","writable","definePropertyFallback","$defineProperty","object_get_own_property_descriptor_x_esm","is_integer_x_esm","is_safe_integer_x_esm","is_length_x_esm","is_map_x_esm_getFromDescriptor","resTest1","Map","res","getSize","is_map_x_esm_getGetter","is_map_x_esm","is_set_x_esm_getFromDescriptor","Set","is_set_x_esm_getSize","is_set_x_esm_getGetter","is_set_x_esm","assert_is_object_x_esm","object_define_property_x_esm_ObjectCtr","nd","nativeDefProp","object_define_property_x_esm_toPropertyDescriptor","desc","object_define_property_x_esm_testWorksWith","object_define_property_x_esm_doc","object_define_property_x_esm_prototypeOfObject","object_define_property_x_esm_supportsAccessors","defineGetter","__defineGetter_","defineSetter","__defineSetter__","object_define_property_x_esm_lookupGetter","object_define_property_x_esm_lookupSetter","propDesc","object_define_property_x_esm","regexExec","is_regexp_x_esm","lastIndex","tryRegexExecCall","to_length_x_esm","same_value_x_esm","value1","value2","same_value_zero_x_esm","y","assert_is_function_x_esm","callback","msg","boxedString","has_boxed_string_x_esm","strSplit","split","isStringFn","split_if_boxed_bug_x_esm","find_index_x_esm_isWorking","pFindIndex","findIndex","testArr","find_index_x_esm_res","item","idx","find_index_x_esm_newArrowCheck","find_index_x_esm","array","thisArg","iterable","index","is_array_like_x_esm","calculate_from_index_x_esm","fromIndex","index_of_x_esm_isWorking","pIndexOf","indexOf","index_of_x_esm_res","index_of_x_esm_testArr","searchElement","doc","resultDocElement","findIdxFrom","extendFn","fIdx","index_of_x_esm","_this","argLength","extend","toLowerCase","element","index_of_x_esm_newArrowCheck","nia","isArray","nativeIsArray","is_array_x_esm_testResult","is_array_x_esm","array_like_slice_x_esm_getMax","setRelative","array_like_slice_x_esm","arrayLike","start","end","relativeEnd","finalEnd","next","nativeSlice","failArray","failString","array_slice_x_esm_testString","failDOM","documentElement","array_slice_x_esm","is_arguments_default","performCallback","_args","_slicedToArray","noThis","callBack","array_any_x_esm_getIterableLengthPair","array_any_x_esm","_getIterableLengthPai","_getIterableLengthPai2","some","nativeSome","array_some_x_esm","spy","array_some_x_esm_test1","array_some_x_esm_test2","array_some_x_esm_test3","0","1","3","4","array_some_x_esm_test4","fragment","createDocumentFragment","div","appendChild","childNodes","array_some_x_esm_test5","array_some_x_esm_test6","array_some_x_esm_test7","iteratee","array_all_x_esm","object_keys_x_esm_isWorking","throwsWithNull","object_keys_x_esm_worksWithPrim","worksWithRegex","worksWithArgs","object_keys_x_esm_worksWithStr","nf","filter","nativeFilter","array_filter_x_esm","array_filter_x_esm_test1","array_filter_x_esm_test2","array_filter_x_esm_test3","array_filter_x_esm_test4","array_filter_x_esm_slicedToArray","getTest5Result","array_filter_x_esm_test5","array_filter_x_esm_test6","array_filter_x_esm_test7","predicate","object_keys_x_esm_ObjectCtr","nativeKeys","isCorrectRes","either","testObj","object_keys_x_esm_res","object_keys_x_esm","regexKeys","object_keys_default","hasErrorEnumerables","hasBoxedStringBug","deep_equal_x_esm_reIsUint","hasMapEnumerables","hasSetEnumerables","getItem","deep_equal_x_esm_slicedToArray","isStr","isIdx","deep_equal_x_esm_filterUnwanted","unwanted","deep_equal_x_esm_baseDeepEqual","baseDeepEqual","_args2","actual","expected","strict","previousStack","is_buffer_default","getTime","is_object_default","aIsString","bIsString","ka","kb","stable_default","num","Number","stack","isPrim","pop","__webpack_exports__"],"mappings":";;;;;;;;;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAoB,WAAID,IAExBD,EAAiB,WAAIC,IARvB,CASI,WACF,aAEA,MAA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AAWd,IAASQ,EAAQY,IAMxF,OAJe,IAAXC,GACFD,EAAME,MAGDpd,QA4BEqd,EAAA,QALG,SAAmBjB,EAAQC,GAE3C,OAAOJ,GAAc,CAACG,EAAQC,EAAUxX,EAAUpG,UAAU","file":"deep-equal-x.min.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 if(typeof exports === 'object')\n\t\texports[\"deepEqualX\"] = factory();\n\telse\n\t\troot[\"deepEqualX\"] = factory();\n})((function () {\n 'use strict';\n\n if (typeof self !== 'undefined') {\n return self;\n }\n\n if (typeof window !== 'undefined') {\n return window;\n }\n\n if (typeof global !== 'undefined') {\n return global;\n }\n\n return Function('return this')();\n}()), 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 = 14);\n","/*!\n * is-primitive <https://github.com/jonschlinkert/is-primitive>\n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isPrimitive(val) {\n if (typeof val === 'object') {\n return val === null;\n }\n return typeof val !== 'function';\n};\n","'use strict';\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","'use strict';\n\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\nvar toStr = Object.prototype.toString;\n\nvar isStandardArguments = function isArguments(value) {\n\tif (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) {\n\t\treturn false;\n\t}\n\treturn toStr.call(value) === '[object Arguments]';\n};\n\nvar isLegacyArguments = function isArguments(value) {\n\tif (isStandardArguments(value)) {\n\t\treturn true;\n\t}\n\treturn value !== null &&\n\t\ttypeof value === 'object' &&\n\t\ttypeof value.length === 'number' &&\n\t\tvalue.length >= 0 &&\n\t\ttoStr.call(value) !== '[object Array]' &&\n\t\ttoStr.call(value.callee) === '[object Function]';\n};\n\nvar supportsStandardArguments = (function () {\n\treturn isStandardArguments(arguments);\n}());\n\nisStandardArguments.isLegacyArguments = isLegacyArguments; // for tests\n\nmodule.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","\"use strict\";\n\nmodule.exports = function isObject(x) {\n\treturn typeof x === \"object\" && x !== null;\n};\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n\nmodule.exports = function isBuffer (obj) {\n return obj != null && obj.constructor != null &&\n typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n","//! stable.js 0.1.8, https://github.com/Two-Screen/stable\n//! © 2018 Angry Bytes and contributors. MIT licensed.\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global.stable = factory());\n}(this, (function () { 'use strict';\n\n // A stable array sort, because `Array#sort()` is not guaranteed stable.\n // This is an implementation of merge sort, without recursion.\n\n var stable = function (arr, comp) {\n return exec(arr.slice(), comp)\n };\n\n stable.inplace = function (arr, comp) {\n var result = exec(arr, comp);\n\n // This simply copies back if the result isn't in the original array,\n // which happens on an odd number of passes.\n if (result !== arr) {\n pass(result, null, arr.length, arr);\n }\n\n return arr\n };\n\n // Execute the sort using the input array and a second buffer as work space.\n // Returns one of those two, containing the final result.\n function exec(arr, comp) {\n if (typeof(comp) !== 'function') {\n comp = function (a, b) {\n return String(a).localeCompare(b)\n };\n }\n\n // Short-circuit when there's nothing to sort.\n var len = arr.length;\n if (len <= 1) {\n return arr\n }\n\n // Rather than dividing input, simply iterate chunks of 1, 2, 4, 8, etc.\n // Chunks are the size of the left or right hand in merge sort.\n // Stop when the left-hand covers all of the array.\n var buffer = new Array(len);\n for (var chk = 1; chk < len; chk *= 2) {\n pass(arr, comp, chk, buffer);\n\n var tmp = arr;\n arr = buffer;\n buffer = tmp;\n }\n\n return arr\n }\n\n // Run a single pass with the given chunk size.\n var pass = function (arr, comp, chk, result) {\n var len = arr.length;\n var i = 0;\n // Step size / double chunk size.\n var dbl = chk * 2;\n // Bounds of the left and right chunks.\n var l, r, e;\n // Iterators over the left and right chunk.\n var li, ri;\n\n // Iterate over pairs of chunks.\n for (l = 0; l < len; l += dbl) {\n r = l + chk;\n e = r + chk;\n if (r > len) r = len;\n if (e > len) e = len;\n\n // Iterate both chunks in parallel.\n li = l;\n ri = r;\n while (true) {\n // Compare the chunks.\n if (li < r && ri < e) {\n // This works for a regular `sort()` compatible comparator,\n // but also for a simple comparator like: `a > b`\n if (comp(arr[li], arr[ri]) <= 0) {\n result[i++] = arr[li++];\n }\n else {\n result[i++] = arr[ri++];\n }\n }\n // Nothing to compare, just flush what's left.\n else if (li < r) {\n result[i++] = arr[li++];\n }\n else if (ri < e) {\n result[i++] = arr[ri++];\n }\n // Both iterators are at the chunk ends.\n else {\n break\n }\n }\n }\n };\n\n return stable;\n\n})));\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n","'use strict';\n\nvar slice = Array.prototype.slice;\nvar isArgs = require('./isArguments');\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation');\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\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","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = require('./isArguments'); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n","const nativeObjectToString = {}.toString;\n\n/**\n * The `toStringTag` method returns \"[object type]\", where type is the\n * object type.\n *\n * @param {*} [value] - The object of which to get the object type string.\n * @returns {string} The object type string.\n */\nconst toStringTag = function toStringTag(value) {\n if (value === null) {\n return '[object Null]';\n }\n\n if (typeof value === 'undefined') {\n return '[object Undefined]';\n }\n\n return nativeObjectToString.call(value);\n};\n\nexport default toStringTag;\n","/**\n * This method attempts to invoke the function, returning either the result or\n * the caught error object. Any additional arguments are provided to the\n * function when it's invoked.\n *\n * @param {Function} [fn] - The function to attempt.\n * @param {...*} [args] - The arguments to invoke the function with.\n * @returns {object} Returns an object of the result.\n */\nconst attempt = function attempt(fn, ...args) {\n try {\n return {\n threw: false,\n /* eslint-disable-next-line babel/no-invalid-this */\n value: fn.apply(this, args),\n };\n } catch (e) {\n return {\n threw: true,\n value: e,\n };\n }\n};\n\nexport default attempt;\n","/**\n * The abstract operation ToBoolean converts argument to a value of type Boolean.\n *\n * @param {*} [value] - The value to be converted.\n * @returns {boolean} 'true' if value is truthy; otherwise 'false'.\n */\nconst toBoolean = function toBoolean(value) {\n return !!value;\n};\n\nexport default toBoolean;\n","/**\n * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.<CharRecord>\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import attempt from 'attempt-x';\nimport isSymbol from 'is-symbol';\n\nconst hasSymbolSupport = attempt(() => {\n /* eslint-disable-next-line compat/compat */\n return typeof Symbol === 'function' && isSymbol(Symbol(''));\n});\n\n/**\n * Indicates if `Symbol`exists and creates the correct type.\n * `true`, if it exists and creates the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbolSupport.threw === false && hasSymbolSupport.value === true;\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/**\n * Indicates if `Symbol.toStringTag`exists and is the correct type.\n * `true`, if it exists and is the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbols &&\n /* eslint-disable-next-line compat/compat */\n isSymbol(Symbol.toStringTag);\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nconst isNil = function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n};\n\nexport default isNil;\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nconst requireObjectCoercible = function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n};\n\nexport default requireObjectCoercible;\n","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nconst ToString = function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n};\n\nexport default ToString;\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nconst requireCoercibleToString = function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n};\n\nexport default requireCoercibleToString;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reLeft = new RegExpCtr(`^[${whiteSpace}]+`);\nconst {replace} = EMPTY_STRING;\n/**\n * This method removes whitespace from the start of a string. (ES2019).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nconst trimStart = function trimStart(string) {\n return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING);\n};\n\nexport default trimStart;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reRight2018 = new RegExpCtr(`[${whiteSpace}]+$`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the end of a string. (ES2019).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nconst trimEnd = function trimEnd(string) {\n return replace.call(requireCoercibleToString(string), reRight2018, EMPTY_STRING);\n};\n\nexport default trimEnd;\n","import trimStart from 'trim-left-x';\nimport trimEnd from 'trim-right-x';\n\n/**\n * This method removes whitespace from the start and end of a string.\n * (ES2019).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nconst trim = function trim(string) {\n return trimStart(trimEnd(string));\n};\n\nexport default trim;\n","import trim from 'trim-x';\nimport whiteSpace from 'white-space-x';\n\nconst SPACE = ' ';\nconst RegExpCtr = /none/.constructor;\nconst reNormalize2018 = new RegExpCtr(`[${whiteSpace}]+`, 'g');\nconst {replace} = SPACE;\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2019).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n */\nconst normalizeSpace = function normalizeSpace(string) {\n return replace.call(trim(string), reNormalize2018, SPACE);\n};\n\nexport default normalizeSpace;\n","import toStr from 'to-string-x';\nimport requireCoercibleToString from 'require-coercible-to-string-x';\n\nconst EMPTY_STRING = '';\nconst STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm;\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method replaces comments in a string.\n *\n * @param {string} [string] - The string to be stripped.\n * @param {string} [replacement=''] - The string to be used as a replacement.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @throws {TypeError} If replacement is not coercible.\n * @returns {string} The new string with the comments replaced.\n */\nconst replaceComments = function replaceComments(string, replacement) {\n return replace.call(requireCoercibleToString(string), STRIP_COMMENTS, arguments.length > 1 ? toStr(replacement) : EMPTY_STRING);\n};\n\nexport default replaceComments;\n","import attempt from 'attempt-x';\nimport toBoolean from 'to-boolean-x';\nimport toStringTag from 'to-string-tag-x';\nimport hasToStringTag from 'has-to-string-tag-x';\nimport isPrimitive from 'is-primitive';\nimport normalise from 'normalize-space-x';\nimport deComment from 'replace-comments-x';\n\nconst FunctionCtr = attempt.constructor;\nconst SPACE = ' ';\nconst fToString = attempt.toString;\nconst funcTag = '[object Function]';\nconst genTag = '[object GeneratorFunction]';\nconst asyncTag = '[object AsyncFunction]';\nconst ctrRx = /^class /;\nconst {test} = ctrRx;\n\nconst hasNativeClass =\n attempt(function attemptee() {\n /* eslint-disable-next-line babel/new-cap */\n return FunctionCtr('\"use strict\"; return class My {};')();\n }).threw === false;\n\nconst testClassString = function testClassString(value) {\n return test.call(ctrRx, normalise(deComment(fToString.call(value), SPACE)));\n};\n\nconst isES6ClassFn = function isES6ClassFunc(value) {\n const result = attempt(testClassString, value);\n\n return result.threw === false && result.value;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @private\n * @param {*} value - The value to check.\n * @param {boolean} allowClass - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nconst tryFuncToString = function funcToString(value, allowClass) {\n if (hasNativeClass && allowClass === false && isES6ClassFn(value)) {\n return false;\n }\n\n return attempt.call(value, fToString).threw === false;\n};\n\nconst compareTags = function compareTags(value) {\n const strTag = toStringTag(value);\n\n return strTag === funcTag || strTag === genTag || strTag === asyncTag;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @param {*} value - The value to check.\n * @param {boolean} [allowClass=false] - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nconst isFunction = function isFunction(value, allowClass) {\n if (isPrimitive(value)) {\n return false;\n }\n\n if (hasToStringTag) {\n return tryFuncToString(value, toBoolean(allowClass));\n }\n\n if (hasNativeClass && toBoolean(allowClass) === false && isES6ClassFn(value)) {\n return false;\n }\n\n return compareTags(value);\n};\n\nexport default isFunction;\n","import isFunction from 'is-function-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not a\n * primitive and not a function.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n */\nconst isObjectLike = function isObjectLike(value) {\n return isPrimitive(value) === false && isFunction(value, true) === false;\n};\n\nexport default isObjectLike;\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nconst toObject = function toObject(value) {\n return castObject(requireObjectCoercible(value));\n};\n\nexport default toObject;\n","import isFunction from 'is-function-x';\nimport toObject from 'to-object-x';\nimport toBoolean from 'to-boolean-x';\n\nconst ObjectCtr = {}.constructor;\nconst nativeGetPrototypeOf = ObjectCtr.getPrototypeOf;\n\nconst test1 = function test1() {\n const prototypeOfCtr = {};\n /* eslint-disable-next-line lodash/prefer-noop */\n const Ctr = function Ctr() {};\n\n Ctr.prototype = prototypeOfCtr;\n const ctr = new Ctr();\n\n try {\n return nativeGetPrototypeOf(ctr) === prototypeOfCtr;\n } catch (ignore) {\n return false;\n }\n};\n\nconst isWorking = toBoolean(nativeGetPrototypeOf) && test1();\n\nconst patchedGetPrototypeOf = function getPrototypeOf(obj) {\n return nativeGetPrototypeOf(toObject(obj));\n};\n\nexport const implementation = function getPrototypeOf(obj) {\n const object = toObject(obj);\n /* eslint-disable-next-line no-proto */\n const proto = object.__proto__;\n\n if (proto || proto === null) {\n return proto;\n }\n\n if (isFunction(object.constructor)) {\n return object.constructor.prototype;\n }\n\n if (object instanceof ObjectCtr) {\n return ObjectCtr.prototype;\n }\n\n return null;\n};\n\n/**\n * This method returns the prototype (i.e. The value of the internal [[Prototype]] property)\n * of the specified object.\n *\n * @function getPrototypeOf\n * @param {*} obj - The object whose prototype is to be returned.\n * @returns {object} The prototype of the given object. If there are no inherited properties, null is returned.\n */\nconst gpo = isWorking ? patchedGetPrototypeOf : implementation;\n\nexport default gpo;\n","import toStringTag from 'to-string-tag-x';\nimport isObjectLike from 'is-object-like-x';\nimport $getPrototypeOf from 'get-prototype-of-x';\n\nlet errorCheck = function checkIfError(value) {\n return toStringTag(value) === '[object Error]';\n};\n\nif (errorCheck(Error.prototype) === false) {\n const errorProto = Error.prototype;\n const testStringTag = errorCheck;\n errorCheck = function checkIfError(value) {\n return value === errorProto || testStringTag(value);\n };\n}\n\n/**\n * Determine whether or not a given `value` is an `Error` type.\n *\n * @param {*} value - The object to be tested.\n * @returns {boolean} Returns `true` if `value` is an `Error` type,\n * else `false`.\n */\nconst isError = function isError(value) {\n if (isObjectLike(value) === false) {\n return false;\n }\n\n let object = value;\n let maxLoop = 100;\n while (object && maxLoop > -1) {\n if (errorCheck(object)) {\n return true;\n }\n\n object = $getPrototypeOf(object);\n maxLoop -= 1;\n }\n\n return false;\n};\n\nexport default isError;\n","import hasSymbols from 'has-symbol-support-x';\nimport isPrimitive from 'is-primitive';\nimport isDate from 'is-date-object';\nimport isSymbol from 'is-symbol';\nimport isFunction from 'is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport isNil from 'is-nil-x';\n\nconst ZERO = 0;\nconst ONE = 1;\n/* eslint-disable-next-line no-void */\nconst UNDEFINED = void ZERO;\nconst NUMBER = 'number';\nconst STRING = 'string';\nconst DEFAULT = 'default';\nconst StringCtr = STRING.constructor;\nconst NumberCtr = ZERO.constructor;\n/* eslint-disable-next-line compat/compat */\nconst symToPrimitive = hasSymbols && Symbol.toPrimitive;\n/* eslint-disable-next-line compat/compat */\nconst symValueOf = hasSymbols && Symbol.prototype.valueOf;\n\nconst toStringOrder = ['toString', 'valueOf'];\nconst toNumberOrder = ['valueOf', 'toString'];\nconst orderLength = 2;\n\nconst assertHint = function assertHint(hint) {\n if (typeof hint !== 'string' || (hint !== NUMBER && hint !== STRING)) {\n throw new TypeError('hint must be \"string\" or \"number\"');\n }\n\n return hint;\n};\n\n/**\n * @param {*} ordinary - The ordinary to convert.\n * @param {*} hint - The hint.\n * @returns {*} - The primitive.\n */\nconst ordinaryToPrimitive = function ordinaryToPrimitive(ordinary, hint) {\n requireObjectCoercible(ordinary);\n assertHint(hint);\n\n const methodNames = hint === STRING ? toStringOrder : toNumberOrder;\n let method;\n let result;\n for (let i = ZERO; i < orderLength; i += ONE) {\n method = ordinary[methodNames[i]];\n\n if (isFunction(method)) {\n result = method.call(ordinary);\n\n if (isPrimitive(result)) {\n return result;\n }\n }\n }\n\n throw new TypeError('No default value');\n};\n\n/**\n * @param {*} object - The object.\n * @param {*} property - The property.\n * @returns {undefined|Function} - The method.\n */\nconst getMethod = function getMethod(object, property) {\n const func = object[property];\n\n if (isNil(func) === false) {\n if (isFunction(func) === false) {\n throw new TypeError(`${func} returned for property ${property} of object ${object} is not a function`);\n }\n\n return func;\n }\n\n return UNDEFINED;\n};\n\n/**\n * Get the hint.\n *\n * @param {*} value - The value to compare.\n * @param {boolean} supplied - Was a value supplied.\n * @returns {string} - The hint string.\n */\nconst getHint = function getHint(value, supplied) {\n if (supplied) {\n if (value === StringCtr) {\n return STRING;\n }\n\n if (value === NumberCtr) {\n return NUMBER;\n }\n }\n\n return DEFAULT;\n};\n\n/**\n * Get the primitive from the exotic.\n *\n * @param {*} value - The exotic.\n * @returns {*} - The primitive.\n */\nconst getExoticToPrim = function getExoticToPrim(value) {\n if (hasSymbols) {\n if (symToPrimitive) {\n return getMethod(value, symToPrimitive);\n }\n\n if (isSymbol(value)) {\n return symValueOf;\n }\n }\n\n return UNDEFINED;\n};\n\nconst evalExotic = function evalExotic(obj) {\n const {exoticToPrim, input, hint} = obj;\n const result = exoticToPrim.call(input, hint);\n\n if (isPrimitive(result)) {\n return result;\n }\n\n throw new TypeError('unable to convert exotic object to primitive');\n};\n\nconst evalPrimitive = function evalPrimitive(input, hint) {\n const newHint = hint === DEFAULT && (isDate(input) || isSymbol(input)) ? STRING : hint;\n\n return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint);\n};\n\n/**\n * This method converts a JavaScript object to a primitive value.\n * Note: When toPrimitive is called with no hint, then it generally behaves as\n * if the hint were Number. However, objects may over-ride this behaviour by\n * defining a @@toPrimitive method. Of the objects defined in this specification\n * only Date objects (see 20.3.4.45) and Symbol objects (see 19.4.3.4) over-ride\n * the default ToPrimitive behaviour. Date objects treat no hint as if the hint\n * were String.\n *\n * @param {*} input - The input to convert.\n * @param {Function} [preferredType] - The preferred type (String or Number).\n * @throws {TypeError} If unable to convert input to a primitive.\n * @returns {string|number} The converted input as a primitive.\n * @see {http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive}\n */\nconst toPrimitive = function toPrimitive(input, preferredType) {\n if (isPrimitive(input)) {\n return input;\n }\n\n const hint = getHint(preferredType, arguments.length > ONE);\n const exoticToPrim = getExoticToPrim(input);\n\n return typeof exoticToPrim === 'undefined' ? evalPrimitive(input, hint) : evalExotic({exoticToPrim, input, hint});\n};\n\nexport default toPrimitive;\n","import hasSymbols from 'has-symbol-support-x';\nimport toPrimitive from 'to-primitive-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method Converts argument to a value that can be used as a property key.\n *\n * @param {*} argument - The argument to convert to a property key.\n * @throws {TypeError} If argument is not a symbol and is not coercible to a string.\n * @returns {string|symbol} The converted argument.\n */\nconst toPropertyKey = function toPropertyKey(argument) {\n const key = toPrimitive(argument, String);\n\n return hasSymbols && typeof key === 'symbol' ? key : toStr(key);\n};\n\nexport default toPropertyKey;\n","import toObject from 'to-object-x';\nimport toPropertyKey from 'to-property-key-x';\nimport attempt from 'attempt-x';\nimport hasSymbolSupport from 'has-symbol-support-x';\nimport owns from 'has-own-property-x';\nimport isPrimitive from 'is-primitive';\nimport isString from 'is-string';\nimport isIndex from 'is-index-x';\nimport propertyIsEnumerable from 'property-is-enumerable-x';\nimport toBoolean from 'to-boolean-x';\n\nconst EMPTY_STRING = '';\nconst {charAt} = EMPTY_STRING;\nconst ObjectCtr = {}.constructor;\nconst ngopd = ObjectCtr.getOwnPropertyDescriptor;\nconst nativeGOPD = typeof ngopd === 'function' && ngopd;\nlet getOPDFallback1;\nlet getOPDFallback2;\n\n// ES5 15.2.3.3\n// http://es5.github.com/#x15.2.3.3\n\nconst doesGOPDWork = function doesGOPDWork(object, prop) {\n object[toPropertyKey(prop)] = 0;\n const testResult = attempt(nativeGOPD, object, prop);\n\n return testResult.threw === false && testResult.value.value === 0;\n};\n\n// check whether getOwnPropertyDescriptor works if it's given. Otherwise, shim partially.\n/**\n * This method returns a property descriptor for an own property (that is,\n * one directly present on an object and not in the object's prototype chain)\n * of a given object.\n *\n * @param {*} object - The object in which to look for the property.\n * @param {*} property - The name of the property whose description is to be retrieved.\n * @returns {object} A property descriptor of the given property if it exists on the object, undefined otherwise.\n */\nlet $getOwnPropertyDescriptor;\n\nif (nativeGOPD) {\n const doc = typeof document !== 'undefined' && document;\n const getOPDWorksOnDom = doc ? doesGOPDWork(doc.createElement('div'), 'sentinel') : true;\n\n if (getOPDWorksOnDom) {\n const res = attempt(nativeGOPD, toObject('abc'), 1);\n const worksWithStr = res.threw === false && res.value && res.value.value === 'b';\n\n if (worksWithStr) {\n const getOPDWorksOnObject = doesGOPDWork({}, 'sentinel');\n\n if (getOPDWorksOnObject) {\n const worksWithPrim = attempt(nativeGOPD, 42, 'name').threw === false;\n /* eslint-disable-next-line compat/compat */\n const worksWithObjSym = hasSymbolSupport && doesGOPDWork({}, toObject(Symbol(EMPTY_STRING)));\n\n if (worksWithObjSym) {\n if (worksWithPrim) {\n $getOwnPropertyDescriptor = nativeGOPD;\n } else {\n $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {\n return nativeGOPD(toObject(object), property);\n };\n }\n } else if (worksWithPrim) {\n $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {\n return nativeGOPD(object, toPropertyKey(property));\n };\n } else {\n $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {\n return nativeGOPD(toObject(object), toPropertyKey(property));\n };\n }\n } else {\n getOPDFallback1 = nativeGOPD;\n }\n } else {\n getOPDFallback2 = nativeGOPD;\n }\n }\n}\n\nif (toBoolean($getOwnPropertyDescriptor) === false || getOPDFallback1 || getOPDFallback2) {\n const prototypeOfObject = ObjectCtr.prototype;\n\n // If JS engine supports accessors creating shortcuts.\n let lookupGetter;\n let lookupSetter;\n const supportsAccessors = owns(prototypeOfObject, '__defineGetter__');\n\n if (supportsAccessors) {\n /* eslint-disable-next-line no-underscore-dangle */\n const lg = prototypeOfObject.__lookupGetter__;\n /* eslint-disable-next-line no-underscore-dangle */\n const ls = prototypeOfObject.__lookupSetter__;\n lookupGetter = function $lookupGetter(object, property) {\n return lg.call(object, property);\n };\n\n lookupSetter = function $lookupSetter(object, property) {\n return ls.call(object, property);\n };\n }\n\n $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {\n const obj = toObject(object);\n const propKey = toPropertyKey(property);\n\n let result;\n\n // make a valiant attempt to use the real getOwnPropertyDescriptor for I8's DOM elements.\n if (getOPDFallback1) {\n result = attempt.call(toObject, getOPDFallback1, obj, propKey);\n\n if (result.threw === false) {\n return result.value;\n }\n // try the shim if the real one doesn't work\n }\n\n const isStringIndex = isString(obj) && isIndex(propKey, obj.length);\n\n if (getOPDFallback2 && isStringIndex === false) {\n result = attempt.call(toObject, getOPDFallback2, obj, propKey);\n\n if (result.threw === false) {\n return result.value;\n }\n // try the shim if the real one doesn't work\n }\n\n /* eslint-disable-next-line no-void */\n let descriptor = void 0;\n\n // If object does not owns property return undefined immediately.\n if (isStringIndex === false && owns(obj, propKey) === false) {\n return descriptor;\n }\n\n // If object has a property then it's for sure `configurable`, and\n // probably `enumerable`. Detect enumerability though.\n descriptor = {\n configurable: isPrimitive(object) === false && isStringIndex === false,\n enumerable: propertyIsEnumerable(obj, propKey),\n };\n\n // If JS engine supports accessor properties then property may be a\n // getter or setter.\n if (supportsAccessors) {\n // Unfortunately `__lookupGetter__` will return a getter even\n // if object has own non getter property along with a same named\n // inherited getter. To avoid misbehavior we temporary remove\n // `__proto__` so that `__lookupGetter__` will return getter only\n // if it's owned by an object.\n /* eslint-disable-next-line no-proto */\n const prototype = obj.__proto__;\n const notPrototypeOfObject = obj !== prototypeOfObject;\n\n // avoid recursion problem, breaking in Opera Mini when\n // Object.getOwnPropertyDescriptor(Object.prototype, 'toString')\n // or any other Object.prototype accessor\n if (notPrototypeOfObject) {\n /* eslint-disable-next-line no-proto */\n obj.__proto__ = prototypeOfObject;\n }\n\n const getter = lookupGetter(obj, propKey);\n const setter = lookupSetter(obj, propKey);\n\n if (notPrototypeOfObject) {\n // Once we have getter and setter we can put values back.\n /* eslint-disable-next-line no-proto */\n obj.__proto__ = prototype;\n }\n\n if (getter || setter) {\n if (getter) {\n descriptor.get = getter;\n }\n\n if (setter) {\n descriptor.set = setter;\n }\n\n // If it was accessor property we're done and return here\n // in order to avoid adding `value` to the descriptor.\n return descriptor;\n }\n }\n\n // If we got this far we know that object has an own property that is\n // not an accessor so we set it as a value and return descriptor.\n if (isStringIndex) {\n descriptor.value = charAt.call(obj, propKey);\n descriptor.writable = false;\n } else {\n descriptor.value = obj[propKey];\n descriptor.writable = true;\n }\n\n return descriptor;\n };\n}\n\nconst gOPS = $getOwnPropertyDescriptor;\n\nexport default gOPS;\n","import toObject from 'to-object-x';\nimport toPropertyKey from 'to-property-key-x';\n\nconst hop = {}.hasOwnProperty;\n\n/**\n * The `hasOwnProperty` method returns a boolean indicating whether\n * the `object` has the specified `property`. Does not attempt to fix known\n * issues in older browsers, but does ES6ify the method.\n *\n * @param {!object} object - The object to test.\n * @throws {TypeError} If object is null or undefined.\n * @param {string|number|symbol} property - The name or Symbol of the property to test.\n * @returns {boolean} `true` if the property is set on `object`, else `false`.\n */\nconst hasOwnProperty = function hasOwnProperty(object, property) {\n return hop.call(toObject(object), toPropertyKey(property));\n};\n\nexport default hasOwnProperty;\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nconst toStringSymbolsSupported = function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n};\n\nexport default toStringSymbolsSupported;\n","import NAN from 'nan-x';\nimport toStr from 'to-string-x';\nimport trimLeft from 'trim-left-x';\n\nconst nativeParseInt = parseInt;\n/** @type {Function} */\nconst castNumber = (0).constructor;\n// noinspection JSPotentiallyInvalidConstructorUsage\nconst {charAt} = '';\nconst hexRegex = /^[-+]?0[xX]/;\nconst {test} = hexRegex;\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2019).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nconst $parseInt = function $parseInt(string, radix) {\n const str = trimLeft(toStr(string));\n\n if (charAt.call(str, 0) === '\\u180E') {\n return NAN;\n }\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n};\n\nexport default $parseInt;\n","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nexport default 0 / 0;\n","import isSymbol from 'is-symbol';\nimport toPrimitive from 'to-primitive-x';\nimport trim from 'trim-x';\nimport $parseInt from 'parse-int-x';\nimport NAN from 'nan-x';\n\nconst binaryRadix = 2;\nconst octalRadix = 8;\nconst testCharsCount = 2;\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a number';\n\nconst castNumber = testCharsCount.constructor;\nconst pStrSlice = ERROR_MESSAGE.slice;\n\nconst binaryRegex = /^0b[01]+$/i;\nconst RegExpConstructor = binaryRegex.constructor;\n// Note that in IE 8, RegExp.prototype.test doesn't seem to exist: ie, \"test\" is\n// an own property of regexes. wtf.\nconst {test} = binaryRegex;\nconst isBinary = function isBinary(value) {\n return test.call(binaryRegex, value);\n};\n\nconst octalRegex = /^0o[0-7]+$/i;\nconst isOctal = function isOctal(value) {\n return test.call(octalRegex, value);\n};\n\nconst nonWSregex = new RegExpConstructor('[\\u0085\\u180e\\u200b\\ufffe]', 'g');\nconst hasNonWS = function hasNonWS(value) {\n return test.call(nonWSregex, value);\n};\n\nconst invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i;\nconst isInvalidHexLiteral = function isInvalidHexLiteral(value) {\n return test.call(invalidHexLiteral, value);\n};\n\nconst assertNotSymbol = function assertNotSymbol(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return value;\n};\n\nconst parseBase = function parseBase(value, radix) {\n return $parseInt(pStrSlice.call(value, testCharsCount), radix);\n};\n\nconst parseString = function parseString(toNum, value) {\n if (isBinary(value)) {\n return toNum(parseBase(value, binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNum(parseBase(value, octalRadix));\n }\n\n return null;\n};\n\nconst convertString = function convertString(toNum, value) {\n const val = parseString(toNum, value);\n\n if (val !== null) {\n return val;\n }\n\n if (hasNonWS(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim(value);\n\n if (trimmed !== value) {\n return toNum(trimmed);\n }\n\n return null;\n};\n\n/**\n * This method converts argument to a value of type Number. (ES2019).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nconst toNumber = function toNumber(argument) {\n const value = assertNotSymbol(toPrimitive(argument, castNumber));\n\n if (typeof value === 'string') {\n const val = convertString(toNumber, value);\n\n if (val !== null) {\n return val;\n }\n }\n\n return castNumber(value);\n};\n\nexport default toNumber;\n","/**\n * This method determines whether the passed value is NaN and its type is\n * `Number`. It is a more robust version of the original, global isNaN().\n *\n * @param {*} [value] - The value to be tested for NaN.\n * @returns {boolean} `true` if the given value is NaN and its type is Number;\n * otherwise, `false`.\n */\nconst isNaN = function isNaN(value) {\n /* eslint-disable-next-line no-self-compare */\n return value !== value;\n};\n\nexport default isNaN;\n","import numberIsNaN from 'is-nan-x';\nimport INFINITY from 'infinity-x';\n\n/**\n * This method determines whether the passed value is a finite number.\n *\n * @param {*} [number] - The value to be tested for finiteness.\n * @returns {boolean} A Boolean indicating whether or not the given value is a finite number.\n */\nconst isFinite = function isFinite(number) {\n return typeof number === 'number' && numberIsNaN(number) === false && number !== INFINITY && number !== -INFINITY;\n};\n\nexport default isFinite;\n","/**\n * The constant value Infinity derived mathematically by 1 / 0.\n *\n * @type number\n */\nexport default 1 / 0;\n","import toNumber from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2019).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nconst sign = function sign(x) {\n const n = toNumber(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n};\n\nexport default sign;\n","import toNumber from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\nimport numberIsFinite from 'is-finite-x';\nimport mathSign from 'math-sign-x';\n\nconst {abs, floor} = Math;\n\n/**\n * Converts `value` to an integer. (ES2019).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nconst toInteger = function toInteger(value) {\n const number = toNumber(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return mathSign(number) * floor(abs(number));\n};\n\nexport default toInteger;\n","import toNumber from 'to-number-x';\n\nconst getMaxMin = function getMaxMin(args) {\n const minVal = toNumber(args[1]);\n const result = args.length < 3 ? {max: minVal, min: 0} : {max: toNumber(args[2]), min: minVal};\n\n if (result.min > result.max) {\n throw new RangeError('\"min\" must be less than \"max\"');\n }\n\n return result;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method clamp a number to min and max limits inclusive.\n *\n * @param {number} value - The number to be clamped.\n * @param {number} [min=0] - The minimum number.\n * @param {number} max - The maximum number.\n * @throws {RangeError} If min > max.\n * @returns {number} The clamped number.\n */\n// eslint-enable jsdoc/check-param-names\nconst clamp = function clamp(value) {\n const number = toNumber(value);\n\n if (arguments.length < 2) {\n return number;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n const {max, min} = getMaxMin(arguments);\n\n if (number < min) {\n return min;\n }\n\n if (number > max) {\n return max;\n }\n\n return number;\n};\n\nexport default clamp;\n","import safeToString from 'to-string-symbols-supported-x';\nimport toInteger from 'to-integer-x';\nimport toNumber from 'to-number-x';\nimport mathClamp from 'math-clamp-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst reIsUint = /^(?:0|[1-9]\\d*)$/;\nconst rxTest = reIsUint.test;\n\n/**\n * This method determines whether the passed value is a zero based index.\n * JavaScript arrays are zero-indexed: the first element of an array is at\n * index 0, and the last element is at the index equal to the value of the\n * array's length property minus 1.\n *\n * @param {number|string} value - The value to be tested for being a zero based index.\n * @param {number} [length=MAX_SAFE_INTEGER] - The length that sets the upper bound.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * zero based index within bounds.\n */\nconst isIndex = function isIndex(value, length) {\n const string = safeToString(value);\n\n if (rxTest.call(reIsUint, string) === false) {\n return false;\n }\n\n const number = toNumber(string);\n\n if (arguments.length > 1) {\n return number < mathClamp(toInteger(length), MAX_SAFE_INTEGER);\n }\n\n return number < MAX_SAFE_INTEGER;\n};\n\nexport default isIndex;\n","import toPropertyKey from 'to-property-key-x';\nimport toObject from 'to-object-x';\n\nconst propIsEnumerable = {}.propertyIsEnumerable;\n\n/**\n * This method returns a Boolean indicating whether the specified property is\n * enumerable. Does not attempt to fix bugs in IE<9 or old Opera, otherwise it\n * does ES6ify the method.\n *\n * @param {!object} object - The object on which to test the property.\n * @param {string|symbol} property - The name of the property to test.\n * @throws {TypeError} If target is null or undefined.\n * @returns {boolean} A Boolean indicating whether the specified property is\n * enumerable.\n */\nconst propertyIsEnumerable = function propertyIsEnumerable(object, property) {\n return propIsEnumerable.call(toObject(object), toPropertyKey(property));\n};\n\nexport default propertyIsEnumerable;\n","import attempt from 'attempt-x';\nimport toObject from 'to-object-x';\nimport toPropertyKey from 'to-property-key-x';\nimport has from 'has-own-property-x';\nimport isFunction from 'is-function-x';\nimport assertIsObject from 'assert-is-object-x';\nimport toBoolean from 'to-boolean-x';\n\nconst ObjectCtr = {}.constructor;\nconst nd = ObjectCtr.defineProperty;\nconst nativeDefProp = typeof nd === 'function' && nd;\nlet definePropertyFallback;\n\nconst toPropertyDescriptor = function toPropertyDescriptor(desc) {\n const object = toObject(desc);\n const descriptor = {};\n\n if (has(object, 'enumerable')) {\n descriptor.enumerable = toBoolean(object.enumerable);\n }\n\n if (has(object, 'configurable')) {\n descriptor.configurable = toBoolean(object.configurable);\n }\n\n if (has(object, 'value')) {\n descriptor.value = object.value;\n }\n\n if (has(object, 'writable')) {\n descriptor.writable = toBoolean(object.writable);\n }\n\n if (has(object, 'get')) {\n const getter = object.get;\n\n if (typeof getter !== 'undefined' && isFunction(getter) === false) {\n throw new TypeError('getter must be a function');\n }\n\n descriptor.get = getter;\n }\n\n if (has(object, 'set')) {\n const setter = object.set;\n\n if (typeof setter !== 'undefined' && isFunction(setter) === false) {\n throw new TypeError('setter must be a function');\n }\n\n descriptor.set = setter;\n }\n\n if ((has(descriptor, 'get') || has(descriptor, 'set')) && (has(descriptor, 'value') || has(descriptor, 'writable'))) {\n throw new TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n }\n\n return descriptor;\n};\n\n// ES5 15.2.3.6\n// http://es5.github.com/#x15.2.3.6\n\n// Patch for WebKit and IE8 standard mode\n// Designed by hax <hax.github.com>\n// related issue: https://github.com/es-shims/es5-shim/issues#issue/5\n// IE8 Reference:\n// http://msdn.microsoft.com/en-us/library/dd282900.aspx\n// http://msdn.microsoft.com/en-us/library/dd229916.aspx\n// WebKit Bugs:\n// https://bugs.webkit.org/show_bug.cgi?id=36423\n\n/**\n * This method defines a new property directly on an object, or modifies an\n * existing property on an object, and returns the object.\n *\n * @param {object} object - The object on which to define the property.\n * @param {string} property - The name of the property to be defined or modified.\n * @param {object} descriptor - The descriptor for the property being defined or modified.\n * @returns {object} The object that was passed to the function.\n * });.\n */\nlet $defineProperty;\n\n// check whether defineProperty works if it's given. Otherwise, shim partially.\nif (nativeDefProp) {\n const testWorksWith = function testWorksWith(object) {\n const testResult = attempt(nativeDefProp, object, 'sentinel', {});\n\n return testResult.threw === false && testResult.value === object && 'sentinel' in object;\n };\n\n const doc = typeof document !== 'undefined' && document;\n\n if (testWorksWith({}) && (toBoolean(doc) === false || testWorksWith(doc.createElement('div')))) {\n $defineProperty = function defineProperty(object, property, descriptor) {\n return nativeDefProp(assertIsObject(object), toPropertyKey(property), toPropertyDescriptor(descriptor));\n };\n } else {\n definePropertyFallback = nativeDefProp;\n }\n}\n\nif (toBoolean(nativeDefProp) === false || definePropertyFallback) {\n const prototypeOfObject = ObjectCtr.prototype;\n // If JS engine supports accessors creating shortcuts.\n const supportsAccessors = has(prototypeOfObject, '__defineGetter__');\n /* eslint-disable-next-line no-underscore-dangle */\n const defineGetter = supportsAccessors && prototypeOfObject.__defineGetter_;\n /* eslint-disable-next-line no-underscore-dangle,no-restricted-properties */\n const defineSetter = supportsAccessors && prototypeOfObject.__defineSetter__;\n /* eslint-disable-next-line no-underscore-dangle */\n const lookupGetter = supportsAccessors && prototypeOfObject.__lookupGetter__;\n /* eslint-disable-next-line no-underscore-dangle */\n const lookupSetter = supportsAccessors && prototypeOfObject.__lookupSetter__;\n\n $defineProperty = function defineProperty(object, property, descriptor) {\n assertIsObject(object);\n const propKey = toPropertyKey(property);\n const propDesc = toPropertyDescriptor(descriptor);\n\n // make a valiant attempt to use the real defineProperty for IE8's DOM elements.\n if (definePropertyFallback) {\n const result = attempt.call(ObjectCtr, definePropertyFallback, object, propKey, propDesc);\n\n if (result.threw === false) {\n return result.value;\n }\n // try the shim if the real one doesn't work\n }\n\n // If it's a data property.\n if (has(propDesc, 'value')) {\n // fail silently if 'writable', 'enumerable', or 'configurable' are requested but not supported\n if (supportsAccessors && (lookupGetter.call(object, propKey) || lookupSetter.call(object, propKey))) {\n // As accessors are supported only on engines implementing\n // `__proto__` we can safely override `__proto__` while defining\n // a property to make sure that we don't hit an inherited accessor.\n /* eslint-disable-next-line no-proto */\n const prototype = object.__proto__;\n /* eslint-disable-next-line no-proto */\n object.__proto__ = prototypeOfObject;\n // Deleting a property anyway since getter / setter may be defined on object itself.\n delete object[propKey];\n object[propKey] = propDesc.value;\n // Setting original `__proto__` back now.\n /* eslint-disable-next-line no-proto */\n object.__proto__ = prototype;\n } else {\n object[propKey] = propDesc.value;\n }\n } else {\n if (supportsAccessors === false && (propDesc.get || propDesc.set)) {\n throw new TypeError('getters & setters can not be defined on this javascript engine');\n }\n\n // If we got that far then getters and setters can be defined !!\n if (propDesc.get) {\n defineGetter.call(object, propKey, propDesc.get);\n }\n\n if (propDesc.set) {\n defineSetter.call(object, propKey, propDesc.set);\n }\n }\n\n return object;\n };\n}\n\nconst defProp = $defineProperty;\n\nexport default defProp;\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nconst isInteger = function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n};\n\nexport default isInteger;\n","import isInteger from 'is-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nconst isSafeInteger = function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n};\n\nexport default isSafeInteger;\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nconst isLength = function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n};\n\nexport default isLength;\n","import gOPD from 'object-get-own-property-descriptor-x';\nimport attempt from 'attempt-x';\nimport isObjectLike from 'is-object-like-x';\nimport isLength from 'is-length-x';\n\nconst test1 = function test1() {\n return attempt(function createMap() {\n /* eslint-disable-next-line compat/compat */\n return new Map();\n });\n};\n\nconst getFromDescriptor = function getFromDescriptor(descriptor) {\n const resTest1 = test1();\n\n if (resTest1.threw === false && isObjectLike(resTest1.value)) {\n const res = attempt.call(resTest1.value, descriptor.get);\n\n if (res.threw === false && isLength(res.value)) {\n return descriptor.get;\n }\n }\n\n return null;\n};\n\nconst getGetter = function getGetter() {\n if (typeof Map === 'function') {\n /* eslint-disable-next-line compat/compat */\n const descriptor = gOPD(Map.prototype, 'size');\n\n if (descriptor && typeof descriptor.get === 'function') {\n const getter = getFromDescriptor(descriptor);\n\n if (getter !== null) {\n return getter;\n }\n }\n }\n\n return null;\n};\n\nconst getSize = getGetter();\n\n/**\n * Determine if an `object` is a `Map`.\n *\n * @param {*} object - The object to test.\n * @returns {boolean} `true` if the `object` is a `Map`,\n * else `false`.\n */\nconst isMap = function isMap(object) {\n if (getSize === null || isObjectLike(object) === false) {\n return false;\n }\n\n const result = attempt.call(object, getSize);\n\n return result.threw === false && isLength(result.value);\n};\n\nexport default isMap;\n","import gOPD from 'object-get-own-property-descriptor-x';\nimport attempt from 'attempt-x';\nimport isObjectLike from 'is-object-like-x';\nimport isLength from 'is-length-x';\n\nconst test1 = function test1() {\n return attempt(function createSet() {\n /* eslint-disable-next-line compat/compat */\n return new Set();\n });\n};\n\nconst getFromDescriptor = function getFromDescriptor(descriptor) {\n const resTest1 = test1();\n\n if (resTest1.threw === false && isObjectLike(resTest1.value)) {\n const res = attempt.call(resTest1.value, descriptor.get);\n\n if (res.threw === false && isLength(res.value)) {\n return descriptor.get;\n }\n }\n\n return null;\n};\n\nconst getGetter = function getGetter() {\n if (typeof Set === 'function') {\n /* eslint-disable-next-line compat/compat */\n const descriptor = gOPD(Set.prototype, 'size');\n\n if (descriptor && typeof descriptor.get === 'function') {\n const getter = getFromDescriptor(descriptor);\n\n if (getter !== null) {\n return getter;\n }\n }\n }\n\n return null;\n};\n\nconst getSize = getGetter();\n\n/**\n * Determine if an `object` is a `Set`.\n *\n * @param {*} object - The object to test.\n * @returns {boolean} `true` if the `object` is a `Set`,\n * else `false`.\n */\nconst isSet = function isSet(object) {\n if (getSize === null || isObjectLike(object) === false) {\n return false;\n }\n\n const result = attempt.call(object, getSize);\n\n return result.threw === false && isLength(result.value);\n};\n\nexport default isSet;\n","import safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `value` to see if it is an object, throws a `TypeError` if it is\n * not. Otherwise returns the `value`.\n *\n * @param {*} value - The argument to be tested.\n * @throws {TypeError} Throws if `value` is not an object.\n * @returns {*} Returns `value` if it is an object.\n */\nconst assertIsObject = function assertIsObject(value) {\n if (isPrimitive(value)) {\n throw new TypeError(`${safeToString(value)} is not an object`);\n }\n\n return value;\n};\n\nexport default assertIsObject;\n","import isObjectLike from 'is-object-like-x';\nimport hasToStringTag from 'has-to-string-tag-x';\nimport has from 'has-own-property-x';\nimport gOPD from 'object-get-own-property-descriptor-x';\nimport defineProperty from 'object-define-property-x';\nimport toStringTag from 'to-string-tag-x';\n\nconst regexExec = /none/.exec;\nconst regexClass = '[object RegExp]';\n\nconst tryRegexExecCall = function tryRegexExec(value, descriptor) {\n try {\n value.lastIndex = 0;\n regexExec.call(value);\n\n return true;\n } catch (e) {\n return false;\n } finally {\n defineProperty(value, 'lastIndex', descriptor);\n }\n};\n\n/**\n * This method tests if a value is a regex.\n *\n * @param {*} value - The value to test.\n * @returns {boolean} `true` if value is a regex; otherwise `false`.\n */\nconst isRegex = function isRegex(value) {\n if (isObjectLike(value) === false) {\n return false;\n }\n\n if (hasToStringTag === false) {\n return toStringTag(value) === regexClass;\n }\n\n const descriptor = gOPD(value, 'lastIndex');\n const hasLastIndexDataProperty = descriptor && has(descriptor, 'value');\n\n if (hasLastIndexDataProperty !== true) {\n return false;\n }\n\n return tryRegexExecCall(value, descriptor);\n};\n\nexport default isRegex;\n","import toInteger from 'to-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2019).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nconst toLength = function toLength(value) {\n const len = toInteger(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n};\n\nexport default toLength;\n","import numberIsNaN from 'is-nan-x';\n\n/**\n * This method is the comparison abstract operation SameValue(x, y), where x\n * and y are ECMAScript language values, produces true or false.\n *\n * @param {*} [value1] - The first value to compare.\n * @param {*} [value2] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments are\n * the same value.\n */\nconst sameValue = function sameValue(value1, value2) {\n if (value1 === 0 && value2 === 0) {\n return 1 / value1 === 1 / value2;\n }\n\n if (value1 === value2) {\n return true;\n }\n\n return numberIsNaN(value1) && numberIsNaN(value2);\n};\n\nexport default sameValue;\n","import sameValue from 'same-value-x';\n\n/**\n * This method determines whether two values are the same value.\n * SameValueZero differs from SameValue (`Object.is`) only in its treatment\n * of +0 and -0.\n *\n * @param {*} [x] - The first value to compare.\n * @param {*} [y] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments\n * are the same value.\n */\nconst sameValueZero = function sameValueZero(x, y) {\n return x === y || sameValue(x, y);\n};\n\nexport default sameValueZero;\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `callback` to see if it is a function, throws a `TypeError` if it is\n * not. Otherwise returns the `callback`.\n *\n * @param {*} callback - The argument to be tested.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nconst assertIsFunction = function assertIsFunction(callback) {\n if (isFunction(callback) === false) {\n const msg = isPrimitive(callback) ? safeToString(callback) : '#<Object>';\n throw new TypeError(`${msg} is not a function`);\n }\n\n return callback;\n};\n\nexport default assertIsFunction;\n","const string = 'a';\nconst boxedString = {}.constructor(string);\n\n/**\n * Check failure of by-index access of string characters (IE < 9)\n * and failure of `0 in boxedString` (Rhino).\n *\n * `true` if no failure; otherwise `false`.\n *\n * @type boolean\n */\nconst hasBoxed = boxedString[0] === string && 0 in boxedString;\n\nexport default hasBoxed;\n","import hasBoxed from 'has-boxed-string-x';\nimport isString from 'is-string';\n\nconst EMPTY_STRING = '';\nconst strSplit = EMPTY_STRING.split;\nconst isStringFn = hasBoxed === false && typeof strSplit === 'function' && isString;\n\n/**\n * This method tests if a value is a string with the boxed bug; splits to an\n * array for iteration; otherwise returns the original value.\n *\n * @param {*} [value] - The value to be tested.\n * @returns {*} An array or characters if value was a string with the boxed bug;\n * otherwise the value.\n */\nconst splitIfBoxedBug = function splitIfBoxedBug(value) {\n return isStringFn && isStringFn(value) ? strSplit.call(value, EMPTY_STRING) : value;\n};\n\nexport default splitIfBoxedBug;\n","import attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nconst isArrayLike = function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n};\n\nexport default isArrayLike;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nconst calcFromIndex = function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n};\n\nexport default calcFromIndex;\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport sameValue from 'same-value-x';\nimport findIndex from 'find-index-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport attempt from 'attempt-x';\nimport toBoolean from 'to-boolean-x';\n\nlet pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype.indexOf;\n\nlet isWorking;\n\nif (pIndexOf) {\n let res = attempt.call([0, 1], pIndexOf, 1, 2);\n isWorking = res.threw === false && res.value === -1;\n\n if (isWorking) {\n res = attempt.call([0, 1], pIndexOf, 1);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call([0, -0], pIndexOf, -0);\n isWorking = res.threw === false && res.value === 0;\n }\n\n if (isWorking) {\n const testArr = [];\n testArr.length = 2;\n /* eslint-disable-next-line no-void */\n testArr[1] = void 0;\n /* eslint-disable-next-line no-void */\n res = attempt.call(testArr, pIndexOf, void 0);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pIndexOf, 'c');\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pIndexOf,\n 'c',\n );\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\nif (isWorking !== true) {\n pIndexOf = function $pIndexOf(searchElement) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const length = toLength(this.length);\n\n if (length < 1) {\n return -1;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n let i = arguments[1];\n while (i < length) {\n /* eslint-disable-next-line babel/no-invalid-this */\n if (i in this && this[i] === searchElement) {\n return i;\n }\n\n i += 1;\n }\n\n return -1;\n };\n}\n\n/**\n * This method returns an index in the array, if an element in the array\n * satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @private\n * @param {Array} array - The array to search.\n * @param {*} searchElement - Element to locate in the array.\n * @param {number} fromIndex - The index to start the search at.\n * @param {Function} extendFn - The comparison function to use.\n * @returns {number} Returns index of found element, otherwise -1.\n */\nconst findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) {\n let fIdx = fromIndex;\n const length = toLength(array.length);\n while (fIdx < length) {\n if (fIdx in array && extendFn(array[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method returns the first index at which a given element can be found\n * in the array, or -1 if it is not present.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If `array` is `null` or `undefined`.\n * @param {*} searchElement - Element to locate in the `array`.\n * @param {number} [fromIndex] - The index to start the search at. If the\n * index is greater than or equal to the array's length, -1 is returned,\n * which means the array will not be searched. If the provided index value is\n * a negative number, it is taken as the offset from the end of the array.\n * Note: if the provided index is negative, the array is still searched from\n * front to back. If the calculated index is less than 0, then the whole\n * array will be searched. Default: 0 (entire array is searched).\n * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`.\n * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nconst indexOf = function indexOf(array, searchElement) {\n const object = toObject(array);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n const argLength = arguments.length;\n /* eslint-disable-next-line prefer-rest-params */\n let extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2];\n let extendFn;\n\n if (isString(extend)) {\n extend = extend.toLowerCase();\n\n if (extend === 'samevalue') {\n extendFn = sameValue;\n } else if (extend === 'samevaluezero') {\n extendFn = sameValueZero;\n }\n }\n\n let fromIndex = 0;\n\n if (extendFn && (searchElement === 0 || numberIsNaN(searchElement))) {\n if (argLength > 3) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n if (fromIndex > 0) {\n return findIdxFrom(iterable, searchElement, fromIndex, extendFn);\n }\n\n return findIndex(iterable, (element, index) => {\n return index in iterable && extendFn(searchElement, element);\n });\n }\n\n if (argLength > 3 || (argLength > 2 && toBoolean(extendFn) === false)) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n return pIndexOf.call(iterable, searchElement, fromIndex);\n};\n\nexport default indexOf;\n","import toObject from 'to-object-x';\nimport isArguments from 'is-arguments';\nimport isArray from 'is-array-x';\nimport arrayLikeSlice from 'array-like-slice-x';\nimport attempt from 'attempt-x';\nimport isString from 'is-string';\n\nconst nativeSlice = [].slice;\n\nconst testArray = function testArray() {\n const res = attempt.call([1, 2, 3], nativeSlice, 1, 2);\n\n return res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 2;\n};\n\nconst testString = function testString() {\n const res = attempt.call('abc', nativeSlice, 1, 2);\n\n return res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 'b';\n};\n\nconst testDOM = function testDOM() {\n const doc = typeof document !== 'undefined' && document;\n const resultDocElement = doc ? attempt.call(doc.documentElement, nativeSlice).threw : false;\n\n return resultDocElement ? resultDocElement.threw : false;\n};\n\nconst failArray = testArray();\nconst failString = testString();\nconst failDOM = testDOM();\n\n/**\n * The slice() method returns a shallow copy of a portion of an array into a new\n * array object selected from begin to end (end not included). The original\n * array will not be modified.\n *\n * @param {Array|object} array - The array to slice.\n * @param {number} [start] - Zero-based index at which to begin extraction.\n * A negative index can be used, indicating an offset from the end of the\n * sequence. Running slice(-2) extracts the last two elements in the sequence.\n * If begin is undefined, slice begins from index 0.\n * @param {number} [end] - Zero-based index before which to end extraction.\n * Slice extracts up to but not including end. For example, slice(1,4)\n * extracts the second element through the fourth element (elements indexed\n * 1, 2, and 3).\n * A negative index can be used, indicating an offset from the end of the\n * sequence. Running slice(2,-1) extracts the third element through the second-to-last\n * element in the sequence.\n * If end is omitted, slice extracts through the end of the\n * sequence (arr.length).\n * If end is greater than the length of the sequence, slice extracts through\n * the end of the sequence (arr.length).\n * @returns {Array} A new array containing the extracted elements.\n */\nconst slice = function slice(array, start, end) {\n const object = toObject(array);\n\n if (failArray || (failDOM && isArray(object) === false) || (failString && isString(object)) || isArguments(object)) {\n return arrayLikeSlice(object, start, end);\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n return nativeSlice.apply(object, arrayLikeSlice(arguments, 1));\n};\n\nexport default slice;\n","import attempt from 'attempt-x';\nimport toStringTag from 'to-string-tag-x';\n\nconst nia = [].isArray;\nconst nativeIsArray = typeof nia === 'function' && nia;\n\nconst testResult = attempt(function attemptee() {\n return nativeIsArray([]) === true && nativeIsArray({length: 0}) === false;\n});\n\nconst isWorking = testResult.threw === false && testResult.value === true;\n\nexport const implementation = function isArray(value) {\n return toStringTag(value) === '[object Array]';\n};\n\n/**\n * Determines whether the passed value is an Array.\n *\n * @param {*} value - The value to test.\n * @returns {boolean} - True if an array; otherwise false.\n */\nconst isArray = isWorking ? nativeIsArray : implementation;\n\nexport default isArray;\n","import toObject from 'to-object-x';\nimport toInteger from 'to-integer-x';\nimport toLength from 'to-length-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst getMax = function _getMax(a, b) {\n return a >= b ? a : b;\n};\n\nconst getMin = function _getMin(a, b) {\n return a <= b ? a : b;\n};\n\nconst setRelative = function _setRelative(value, length) {\n return value < 0 ? getMax(length + value, 0) : getMin(value, length);\n};\n\n/**\n * The slice() method returns a shallow copy of a portion of an array into a new\n * array object selected from begin to end (end not included). The original\n * array will not be modified.\n *\n * @param {!object} arrayLike - The array like object to slice.\n * @param {number} [start] - Zero-based index at which to begin extraction.\n * A negative index can be used, indicating an offset from the end of the\n * sequence. Running slice(-2) extracts the last two elements in the sequence.\n * If begin is undefined, slice begins from index 0.\n * @param {number} [end] - Zero-based index before which to end extraction.\n * Slice extracts up to but not including end. For example, slice([0,1,2,3,4],1,4)\n * extracts the second element through the fourth element (elements indexed\n * 1, 2, and 3).\n * A negative index can be used, indicating an offset from the end of the\n * sequence. Running slice(2,-1) extracts the third element through the second-to-last\n * element in the sequence.\n * If end is omitted, slice extracts through the end of the sequence (arr.length).\n * If end is greater than the length of the sequence, slice extracts through\n * the end of the sequence (arr.length).\n * @returns {Array} A new array containing the extracted elements.\n */\nconst slice = function slice(arrayLike, start, end) {\n const iterable = splitIfBoxedBug(toObject(arrayLike));\n const length = toLength(iterable.length);\n let k = setRelative(toInteger(start), length);\n const relativeEnd = typeof end === 'undefined' ? length : toInteger(end);\n const finalEnd = setRelative(relativeEnd, length);\n const val = [];\n val.length = getMax(finalEnd - k, 0);\n let next = 0;\n while (k < finalEnd) {\n if (k in iterable) {\n val[next] = iterable[k];\n }\n\n next += 1;\n k += 1;\n }\n\n return val;\n};\n\nexport default slice;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport assertIsFunction from 'assert-is-function-x';\n\nconst performCallback = function performCallback(args) {\n const [noThis, thisArg, callBack, iterable, index, object] = args;\n const item = iterable[index];\n\n return noThis ? callBack(item, index, object) : callBack.call(thisArg, item, index, object);\n};\n\nconst getIterableLengthPair = function getIterableLengthPair(object) {\n const iterable = splitIfBoxedBug(object);\n\n return [iterable, toLength(iterable.length)];\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method tests whether some element in the array passes the test\n * implemented by the provided function.\n *\n * @function any\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to test for each element.\n * @param {*} [thisArg] - Value to use as this when executing callback.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @returns {boolean} `true` if the callback function returns a truthy value for\n * any array element; otherwise, `false`.\n */\n// eslint-enable jsdoc/check-param-names\nconst any = function any(array, callBack /* , thisArg */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n const [iterable, length] = getIterableLengthPair(object);\n /* eslint-disable-next-line prefer-rest-params,no-void */\n const thisArg = arguments.length > 2 ? arguments[2] : void 0;\n const noThis = typeof thisArg === 'undefined';\n\n if (length) {\n for (let index = 0; index < length; index += 1) {\n if (performCallback([noThis, thisArg, callBack, iterable, index, object])) {\n return true;\n }\n }\n }\n\n return false;\n};\n\nexport default any;\n","import attempt from 'attempt-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport any from 'array-any-x';\nimport toBoolean from 'to-boolean-x';\n\nconst ns = [].some;\nconst nativeSome = typeof ns === 'function' && ns;\n\nconst test1 = function test1() {\n let spy = 0;\n const res = attempt.call([1, 2], nativeSome, function spyAdd1(item) {\n spy += item;\n\n return false;\n });\n\n return res.threw === false && res.value === false && spy === 3;\n};\n\nconst test2 = function test2() {\n let spy = '';\n const res = attempt.call(toObject('abc'), nativeSome, function spyAdd2(item, index) {\n spy += item;\n\n return index === 1;\n });\n\n return res.threw === false && res.value === true && spy === 'ab';\n};\n\nconst test3 = function test3() {\n let spy = 0;\n const res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3),\n nativeSome,\n function spyAdd3(item, index) {\n spy += item;\n\n return index === 2;\n },\n );\n\n return res.threw === false && res.value === true && spy === 6;\n};\n\nconst test4 = function test4() {\n let spy = 0;\n const res = attempt.call({0: 1, 1: 2, 3: 3, 4: 4, length: 4}, nativeSome, function spyAdd4(item) {\n spy += item;\n\n return false;\n });\n\n return res.threw === false && res.value === false && spy === 6;\n};\n\nconst test5 = function test5() {\n const doc = typeof document !== 'undefined' && document;\n\n if (doc) {\n let spy = null;\n const fragment = doc.createDocumentFragment();\n const div = doc.createElement('div');\n fragment.appendChild(div);\n const res = attempt.call(fragment.childNodes, nativeSome, function spyAssign(item) {\n spy = item;\n\n return item;\n });\n\n return res.threw === false && res.value === true && spy === div;\n }\n\n return true;\n};\n\nconst test6 = function test6() {\n const isStrict = (function getIsStrict() {\n /* eslint-disable-next-line babel/no-invalid-this */\n return toBoolean(this) === false;\n })();\n\n if (isStrict) {\n let spy = null;\n\n const thisTest = function thisTest() {\n /* eslint-disable-next-line babel/no-invalid-this */\n spy = typeof this === 'string';\n };\n\n const res = attempt.call([1], nativeSome, thisTest, 'x');\n\n return res.threw === false && res.value === false && spy === true;\n }\n\n return true;\n};\n\nconst test7 = function test7() {\n const spy = {};\n const fn =\n 'return nativeSome.call(\"foo\", function (_, __, context) {' +\n 'if (castBoolean(context) === false || typeof context !== \"object\") {' +\n 'spy.value = true;}});';\n\n /* eslint-disable-next-line no-new-func */\n const res = attempt(Function('nativeSome', 'spy', 'castBoolean', fn), nativeSome, spy, toBoolean);\n\n return res.threw === false && res.value === false && spy.value !== true;\n};\n\nconst isWorking = toBoolean(nativeSome) && test1() && test2() && test3() && test4() && test5() && test6() && test7();\n\nconst patchedSome = function some(array, callBack /* , thisArg */) {\n requireObjectCoercible(array);\n const args = [assertIsFunction(callBack)];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return nativeSome.apply(array, args);\n};\n\n// ES5 15.4.4.17\n// http://es5.github.com/#x15.4.4.17\n// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/some\nexport const implementation = function some(array, callBack /* , thisArg */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n\n const iteratee = function iteratee() {\n /* eslint-disable-next-line prefer-rest-params */\n const i = arguments[1];\n\n /* eslint-disable-next-line prefer-rest-params */\n if (i in arguments[2]) {\n /* eslint-disable-next-line prefer-rest-params,babel/no-invalid-this */\n if (callBack.call(this, arguments[0], i, object)) {\n return true;\n }\n }\n\n return false;\n };\n\n /* eslint-disable-next-line prefer-rest-params */\n return any(object, iteratee, arguments[2]);\n};\n\n/**\n * This method tests whether some element in the array passes the test\n * implemented by the provided function.\n *\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to test for each element.\n * @param {*} [thisArg] - Value to use as this when executing callback.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @returns {boolean} `true` if the callback function returns a truthy value for\n * any array element; otherwise, `false`.\n */\nconst $some = isWorking ? patchedSome : implementation;\n\nexport default $some;\n","import any from 'array-any-x';\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method executes a provided function once for each array element.\n *\n * @function all\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to execute for each element.\n * @param {*} [thisArg] - Value to use as this when executing callback.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n */\n// eslint-enable jsdoc/check-param-names\nconst all = function all(array, callBack /* , thisArg */) {\n const iteratee = function iteratee() {\n /* eslint-disable-next-line prefer-rest-params,babel/no-invalid-this */\n callBack.call(this, arguments[0], arguments[1], arguments[2]);\n };\n\n /* eslint-disable-next-line prefer-rest-params */\n any(array, iteratee, arguments[2]);\n};\n\nexport default all;\n","import attempt from 'attempt-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport all from 'array-all-x';\nimport toBoolean from 'to-boolean-x';\n\nconst nf = [].filter;\nconst nativeFilter = typeof nf === 'function' && nf;\n\nconst test1 = function test1() {\n let spy = 0;\n const res = attempt.call([1, 2], nativeFilter, function spyAdd1(item) {\n spy += item;\n\n return false;\n });\n\n return res.threw === false && res.value && res.value.length === 0 && spy === 3;\n};\n\nconst test2 = function test2() {\n let spy = '';\n const res = attempt.call(toObject('abc'), nativeFilter, function spyAdd2(item, index) {\n spy += item;\n\n return index === 1;\n });\n\n return res.threw === false && res.value && res.value.length === 1 && res.value[0] === 'b' && spy === 'abc';\n};\n\nconst test3 = function test3() {\n let spy = 0;\n const res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3),\n nativeFilter,\n function spyAdd3(item, index) {\n spy += item;\n\n return index === 2;\n },\n );\n\n return res.threw === false && res.value && res.value.length === 1 && res.value[0] === 3 && spy === 6;\n};\n\nconst test4 = function test4() {\n let spy = 0;\n const res = attempt.call({0: 1, 1: 2, 3: 3, 4: 4, length: 4}, nativeFilter, function spyAdd4(item) {\n spy += item;\n\n return false;\n });\n\n return res.threw === false && res.value && res.value.length === 0 && spy === 6;\n};\n\nconst getTest5Result = function getTest5Result(args) {\n const [res, div, spy] = args;\n\n return res.threw === false && res.value && res.value.length === 1 && res.value[0] === div && spy === div;\n};\n\nconst test5 = function test5() {\n const doc = typeof document !== 'undefined' && document;\n\n if (doc) {\n let spy = null;\n const fragment = doc.createDocumentFragment();\n const div = doc.createElement('div');\n fragment.appendChild(div);\n const res = attempt.call(fragment.childNodes, nativeFilter, function spyAssign(item) {\n spy = item;\n\n return item;\n });\n\n return getTest5Result([res, div, spy]);\n }\n\n return true;\n};\n\nconst test6 = function test6() {\n const isStrict = (function returnIsStrict() {\n /* eslint-disable-next-line babel/no-invalid-this */\n return toBoolean(this) === false;\n })();\n\n if (isStrict) {\n let spy = null;\n\n const testThis = function testThis() {\n /* eslint-disable-next-line babel/no-invalid-this */\n spy = typeof this === 'string';\n };\n\n const res = attempt.call([1], nativeFilter, testThis, 'x');\n\n return res.threw === false && res.value && res.value.length === 0 && spy === true;\n }\n\n return true;\n};\n\nconst test7 = function test7() {\n const spy = {};\n const fn =\n 'return nativeFilter.call(\"foo\", function (_, __, context) {' +\n 'if (castBoolean(context) === false || typeof context !== \"object\") {' +\n 'spy.value = true;}});';\n\n /* eslint-disable-next-line no-new-func */\n const res = attempt(Function('nativeFilter', 'spy', 'castBoolean', fn), nativeFilter, spy, toBoolean);\n\n return res.threw === false && res.value && res.value.length === 0 && spy.value !== true;\n};\n\nconst isWorking = toBoolean(nativeFilter) && test1() && test2() && test3() && test4() && test5() && test6() && test7();\n\nconst patchedFilter = function filter(array, callBack /* , thisArg */) {\n requireObjectCoercible(array);\n const args = [assertIsFunction(callBack)];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return nativeFilter.apply(array, args);\n};\n\nexport const implementation = function filter(array, callBack /* , thisArg */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n\n const result = [];\n\n const predicate = function predicate() {\n /* eslint-disable-next-line prefer-rest-params */\n const i = arguments[1];\n\n /* eslint-disable-next-line prefer-rest-params */\n if (i in arguments[2]) {\n /* eslint-disable-next-line prefer-rest-params */\n const item = arguments[0];\n\n /* eslint-disable-next-line babel/no-invalid-this */\n if (callBack.call(this, item, i, object)) {\n result[result.length] = item;\n }\n }\n };\n\n /* eslint-disable-next-line prefer-rest-params */\n all(object, predicate, arguments[2]);\n\n return result;\n};\n\n/**\n * This method creates a new array with all elements that pass the test\n * implemented by the provided function.\n *\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function is a predicate, to test each element.\n * @param {*} [thisArg] - Value to use as this when executing callback.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @returns {Array} A new array with the elements that pass the test.\n */\nconst $filter = isWorking ? patchedFilter : implementation;\n\nexport default $filter;\n","import toObject from 'to-object-x';\nimport attempt from 'attempt-x';\nimport isArray from 'is-array-x';\nimport isArguments from 'is-arguments';\nimport arraySlice from 'array-like-slice-x';\nimport splitIfBoxed from 'split-if-boxed-bug-x';\nimport isString from 'is-string';\nimport isRegexp from 'is-regexp-x';\nimport has from 'has-own-property-x';\nimport objKeys from 'object-keys';\n\nconst ObjectCtr = {}.constructor;\nconst nativeKeys = typeof ObjectCtr.keys === 'function' && ObjectCtr.keys;\n\nlet isWorking;\nlet throwsWithNull;\nlet worksWithPrim;\nlet worksWithRegex;\nlet worksWithArgs;\nlet worksWithStr;\n\nif (nativeKeys) {\n const isCorrectRes = function _isCorrectRes(r, length) {\n return r.threw === false && isArray(r.value) && r.value.length === length;\n };\n\n const either = function _either(r, a, b) {\n const x = r.value[0];\n const y = r.value[1];\n\n return (x === a && y === b) || (x === b && y === a);\n };\n\n let testObj = {a: 1, b: 2};\n let res = attempt(nativeKeys, testObj);\n isWorking = isCorrectRes(res, 2) && either(res, 'a', 'b');\n\n if (isWorking) {\n testObj = Object('a');\n testObj.y = 1;\n res = attempt(nativeKeys, testObj);\n isWorking = isCorrectRes(res, 2) && either(res, '0', 'y');\n }\n\n if (isWorking) {\n throwsWithNull = attempt(nativeKeys, null).threw;\n worksWithPrim = isCorrectRes(attempt(nativeKeys, 42), 0);\n worksWithRegex = attempt(nativeKeys, /a/g).threw === false;\n\n res = attempt(\n nativeKeys,\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2),\n );\n\n worksWithArgs = isCorrectRes(res, 2) && either(res, '0', '1');\n\n res = attempt(nativeKeys, Object('ab'));\n worksWithStr = isCorrectRes(res, 2) && either(res, '0', '1');\n }\n}\n\n/**\n * This method returns an array of a given object's own enumerable properties,\n * in the same order as that provided by a for...in loop (the difference being\n * that a for-in loop enumerates properties in the prototype chain as well).\n *\n * @param {*} obj - The object of which the enumerable own properties are to be returned.\n * @returns {Array} An array of strings that represent all the enumerable properties of the given object.\n */\nlet objectKeys;\n\nif (isWorking) {\n if (throwsWithNull && worksWithPrim && worksWithRegex && worksWithArgs && worksWithStr) {\n objectKeys = nativeKeys;\n } else {\n objectKeys = function keys(object) {\n let obj = toObject ? toObject(object) : object;\n\n if (worksWithArgs !== true && isArguments(obj)) {\n obj = arraySlice(obj);\n } else if (worksWithStr !== true && isString(obj)) {\n obj = splitIfBoxed(obj);\n } else if (worksWithRegex !== true && isRegexp(obj)) {\n const regexKeys = [];\n /* eslint-disable-next-line no-restricted-syntax */\n for (const key in obj) {\n // noinspection JSUnfilteredForInLoop\n if (has(obj, key)) {\n regexKeys[regexKeys.length] = key;\n }\n }\n\n return regexKeys;\n }\n\n return nativeKeys(obj);\n };\n }\n} else {\n objectKeys = function keys(object) {\n return objKeys(toObject(object));\n };\n}\n\nconst ok = objectKeys;\n\nexport default ok;\n","import isDate from 'is-date-object';\nimport isArguments from 'is-arguments';\nimport isPrimitive from 'is-primitive';\nimport isObject from 'is-object';\nimport isBuffer from 'is-buffer';\nimport isString from 'is-string';\nimport isError from 'is-error-x';\nimport isMap from 'is-map-x';\nimport isSet from 'is-set-x';\nimport isNil from 'is-nil-x';\nimport isRegExp from 'is-regexp-x';\nimport indexOf from 'index-of-x';\nimport slice from 'array-slice-x';\nimport some from 'array-some-x';\nimport filter from 'array-filter-x';\nimport sort from 'stable';\nimport $keys from 'object-keys-x';\nimport $getPrototypeOf from 'get-prototype-of-x';\nimport hasBoxedString from 'has-boxed-string-x';\nimport toBoolean from 'to-boolean-x';\n\n// Check failure of by-index access of string characters (IE < 9)\n// and failure of `0 in boxedString` (Rhino)\nconst hasBoxedStringBug = hasBoxedString === false;\n// Used to detect unsigned integer values.\nconst reIsUint = /^(?:0|[1-9]\\d*)$/;\n/* eslint-disable-next-line compat/compat */\nconst hasMapEnumerables = typeof Map === 'function' ? $keys(new Map()) : [];\n/* eslint-disable-next-line compat/compat */\nconst hasSetEnumerables = typeof Set === 'function' ? $keys(new Set()) : [];\nlet hasErrorEnumerables;\n\ntry {\n // noinspection ExceptionCaughtLocallyJS\n throw new Error('a');\n} catch (e) {\n hasErrorEnumerables = $keys(e);\n}\n\nconst indexNotFound = -1;\nconst maxSafeIndex = 4294967295; // (2^32)-1\n\n/**\n * Checks if `value` is a valid string index. Specifically for boxed string\n * bug fix and not general purpose.\n *\n * @private\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is valid index, else `false`.\n */\nconst isIndex = function isIndex(value) {\n let num = indexNotFound;\n\n if (reIsUint.test(value)) {\n num = Number(value);\n }\n\n return num > indexNotFound && num % 1 === 0 && num < maxSafeIndex;\n};\n\n// eslint-disable jsdoc/require-param\n// noinspection JSCommentMatchesSignature\n/**\n * Get an object's key avoiding boxed string bug. Specifically for boxed\n * string bug fix and not general purpose.\n *\n * @private\n * @param {Array|string|object} object - The object to get the `value` from.\n * @param {string|number} key - The `key` reference to the `value`.\n * @param {boolean} isStr - Is the object a string.\n * @param {boolean} isIdx - Is the `key` a character index.\n * @returns {*} Returns the `value` referenced by the `key`.\n */\n// eslint-enable jsdoc/require-param\nconst getItem = function getItem(args) {\n const [object, key, isStr, isIdx] = args;\n\n return isStr && isIdx ? object.charAt(key) : object[key];\n};\n\n/**\n * Filter `keys` of unwanted Error enumerables. Specifically for Error has\n * unwanted enumerables fix and not general purpose.\n *\n * @private\n * @param {Array} keys - The Error object's keys.\n * @param {Array} unwanted - The unwanted keys.\n * @returns {Array} Returns the filtered keys.\n */\nconst filterUnwanted = function filterUnwanted(keys, unwanted) {\n return unwanted.length\n ? filter(keys, function predicate(key) {\n return indexOf(unwanted, key) === indexNotFound;\n })\n : keys;\n};\n\n// eslint-disable jsdoc/require-param\n// noinspection JSCommentMatchesSignature\n/**\n * Tests for deep equality. Primitive values are compared with the equal\n * comparison operator ( == ). This only considers enumerable properties.\n * It does not test object prototypes, attached symbols, or non-enumerable\n * properties. This can lead to some potentially surprising results. If\n * `strict` is `true` then Primitive values are compared with the strict\n * equal comparison operator ( === ).\n *\n * @private\n * @param {*} actual - First comparison object.\n * @param {*} expected - Second comparison object.\n * @param {boolean} [strict] - Comparison mode. If set to `true` use `===`.\n * @param {object} previousStack - The circular stack.\n * @returns {boolean} `true` if `actual` and `expected` are deemed equal,\n * otherwise `false`.\n */\n// eslint-enable jsdoc/require-param\nconst baseDeepEqual = function baseDeepEqual(args) {\n const [actual, expected, strict, previousStack] = args;\n\n // 7.1. All identical values are equivalent, as determined by ===.\n if (actual === expected) {\n return true;\n }\n\n if (isBuffer(actual) && isBuffer(expected)) {\n return (\n actual.length === expected.length &&\n some(actual, function predicate(item, index) {\n return item !== expected[index];\n }) === false\n );\n }\n\n // 7.2. If the expected value is a Date object, the actual value is\n // equivalent if it is also a Date object that refers to the same time.\n if (isDate(actual) && isDate(expected)) {\n return actual.getTime() === expected.getTime();\n }\n\n // 7.3 If the expected value is a RegExp object, the actual value is\n // equivalent if it is also a RegExp object with the same `source` and\n // properties (`global`, `multiline`, `lastIndex`, `ignoreCase` & `sticky`).\n if (isRegExp(actual) && isRegExp(expected)) {\n return actual.toString() === expected.toString() && actual.lastIndex === expected.lastIndex;\n }\n\n // 7.4. Other pairs that do not both pass typeof value == 'object',\n // equivalence is determined by == or strict ===.\n if (isObject(actual) === false && isObject(expected) === false) {\n if (strict) {\n return actual === expected;\n }\n\n // noinspection EqualityComparisonWithCoercionJS\n return actual == expected; /* eslint-disable-line eqeqeq */\n }\n\n // 7.5 For all other Object pairs, including Array objects, equivalence is\n // determined by having the same number of owned properties (as verified\n // with Object.prototype.hasOwnProperty.call), the same set of keys\n // (although not necessarily the same order), equivalent values for every\n // corresponding key, and an identical 'prototype' property. Note: this\n // accounts for both named and indexed properties on Arrays.\n if (isNil(actual) || isNil(expected)) {\n return false;\n }\n\n /* jshint eqnull:false */\n // This only considers enumerable properties. It does not test object\n // prototypes, attached symbols, or non-enumerable properties. This can\n // lead to some potentially surprising results.\n if (strict && $getPrototypeOf(actual) !== $getPrototypeOf(expected)) {\n return false;\n }\n\n // if one is actual primitive, the other must be same\n if (isPrimitive(actual) || isPrimitive(expected)) {\n return actual === expected;\n }\n\n let ka = isArguments(actual);\n let kb = isArguments(expected);\n const aNotB = ka && kb === false;\n const bNotA = ka === false && kb;\n\n if (aNotB || bNotA) {\n return false;\n }\n\n if (ka) {\n if (ka.length !== kb.length) {\n return false;\n }\n\n return baseDeepEqual([slice(actual), slice(expected), strict, null]);\n }\n\n ka = $keys(actual);\n kb = $keys(expected);\n\n // having the same number of owned properties (keys incorporates hasOwnProperty)\n if (ka.length !== kb.length) {\n return false;\n }\n\n if (isObject(actual)) {\n if (isError(actual)) {\n ka = filterUnwanted(ka, hasErrorEnumerables);\n } else if (isMap(actual)) {\n ka = filterUnwanted(ka, hasMapEnumerables);\n } else if (isSet(actual)) {\n ka = filterUnwanted(ka, hasSetEnumerables);\n }\n }\n\n if (isObject(expected)) {\n if (isError(expected)) {\n kb = filterUnwanted(kb, hasErrorEnumerables);\n } else if (isMap(expected)) {\n kb = filterUnwanted(kb, hasMapEnumerables);\n } else if (isSet(expected)) {\n kb = filterUnwanted(kb, hasSetEnumerables);\n }\n }\n\n // the same set of keys (although not necessarily the same order),\n sort.inplace(ka);\n sort.inplace(kb);\n let aIsString;\n let bIsString;\n\n if (hasBoxedStringBug) {\n aIsString = isString(actual);\n bIsString = isString(expected);\n }\n\n // ~~~cheap key test\n // equivalent values for every corresponding key, and\n // ~~~possibly expensive deep test\n return (\n some(ka, function predicate(key, index) {\n if (key !== kb[index]) {\n return true;\n }\n\n const isIdx = (aIsString || bIsString) && isIndex(key);\n const stack = previousStack || [actual];\n const item = getItem([actual, key, aIsString, isIdx]);\n const isPrim = isPrimitive(item);\n\n if (isPrim === false) {\n if (indexOf(stack, item) !== indexNotFound) {\n throw new RangeError('Circular object');\n }\n\n stack.push(item);\n }\n\n const result = baseDeepEqual([item, getItem([expected, key, bIsString, isIdx]), strict, stack]) === false;\n\n if (isPrim === false) {\n stack.pop();\n }\n\n return result;\n }) === false\n );\n};\n\n// eslint-enable jsdoc/require-param\n// noinspection JSCommentMatchesSignature\n/**\n * Tests for deep equality. Primitive values are compared with the equal\n * comparison operator ( == ). This only considers enumerable properties.\n * It does not test object prototypes, attached symbols, or non-enumerable\n * properties. This can lead to some potentially surprising results. If\n * `strict` is `true` then Primitive values are compared with the strict\n * equal comparison operator ( === ).\n *\n * @param {*} actual - First comparison object.\n * @param {*} expected - Second comparison object.\n * @param {boolean} [strict] - Comparison mode. If set to `true` use `===`.\n * @returns {boolean} `true` if `actual` and `expected` are deemed equal,\n * otherwise `false`.\n * @see https://nodejs.org/api/assert.html\n */\n// eslint-disable jsdoc/require-param\nconst deepEqual = function deepEqual(actual, expected) {\n /* eslint-disable-next-line prefer-rest-params */\n return baseDeepEqual([actual, expected, toBoolean(arguments[2])]);\n};\n\nexport default deepEqual;\n"],"sourceRoot":""}
\No newline at end of file