eslint-plugin-remeda 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":["Symbol","isArray","objectProto","hasOwnProperty","nativeObjectToString","symToStringTag","Symbol","Symbol","symbolTag","isSymbol","INFINITY","symbolProto","Symbol","isArray","isSymbol","capitalize","splice","funcTag","genTag","isFunction","funcToString","objectProto","hasOwnProperty","isFunction","HASH_UNDEFINED","hasOwnProperty","hasOwnProperty","HASH_UNDEFINED","COMPARE_PARTIAL_FLAG","COMPARE_UNORDERED_FLAG","Uint8Array","COMPARE_PARTIAL_FLAG","COMPARE_UNORDERED_FLAG","boolTag","dateTag","errorTag","mapTag","numberTag","regexpTag","setTag","stringTag","symbolTag","arrayBufferTag","dataViewTag","symbolProto","Symbol","symbolValueOf","Uint8Array","isArray","propertyIsEnumerable","argsTag","objectProto","hasOwnProperty","freeExports","freeModule","Buffer","MAX_SAFE_INTEGER","argsTag","arrayTag","boolTag","dateTag","errorTag","funcTag","mapTag","numberTag","objectTag","regexpTag","setTag","stringTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","freeExports","freeModule","hasOwnProperty","isArray","objectProto","hasOwnProperty","isFunction","keys","keys","COMPARE_PARTIAL_FLAG","hasOwnProperty","Promise","mapTag","objectTag","setTag","weakMapTag","dataViewTag","Promise","COMPARE_PARTIAL_FLAG","argsTag","arrayTag","objectTag","hasOwnProperty","isArray","getTag","COMPARE_PARTIAL_FLAG","COMPARE_UNORDERED_FLAG","keys","isArray","isSymbol","FUNC_ERROR_TEXT","stringToPath","isArray","stringToPath","INFINITY","isSymbol","isArray","identity","identity","isArray","nativeMax","constant","identity","constant","identity","hasOwnProperty","hasOwnProperty","keys","isSymbol","nativeMax","findIndex","find","findIndex","Symbol","isArray","keys","map","isArray","flatMap","map","hasOwnProperty","stringTag","isString","isArray","values","keys","values","isString","mapTag","setTag","hasOwnProperty","isEmpty","isArray","getTag","numberTag","isNumber","last","hasOwnProperty","keys","Buffer","Uint8Array","Symbol","boolTag","dateTag","mapTag","numberTag","regexpTag","setTag","stringTag","symbolTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","mapTag","getTag","setTag","getTag","CLONE_DEEP_FLAG","isArray","getTag","keys","CLONE_DEEP_FLAG","some","isArray","methodDataCatalog","capitalize","isString","methodDataUtil.getIterateeIndex","isNumber","RemedaContext","RULE_NAME","RULE_NAME","RULE_NAME","MESSAGE_ID","RULE_NAME","MESSAGE","RULE_NAME","MESSAGE","RULE_NAME","RULE_NAME","RULE_NAME","isNumber","isEmpty","RULE_NAME","RULE_NAME","find","map","flatMap","RULE_NAME","RULE_NAME","MESSAGE","RULE_NAME","some","RULE_NAME","collectionMethodValueName","collectionMethodValue","collectionReturnName","collectionReturn","preferConstantName","preferConstant","preferDoNothingName","preferDoNothing","preferFilterName","preferFilter","preferFindName","preferFind","preferFlatMapName","preferFlatMap","preferHasAtleastName","preferHasAtleast","preferIsEmptyName","preferIsEmpty","preferIsNullishName","preferIsNullish","preferMapName","preferMap","preferNullishCoalescingName","preferNullishCoalescing","preferRemedaTypecheckName","preferRemedaTypecheck","preferSomeName","preferSome","preferTimesName","preferTimes","packageJson.name","packageJson.version","last"],"sources":["../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSlice.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castSlice.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasUnicode.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_asciiToArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_unicodeToArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createCaseFirst.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/upperFirst.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/capitalize.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cond.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/defaults.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createFind.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_trimmedEndIndex.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toFinite.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toInteger.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/findIndex.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/find.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHas.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/has.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isString.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseValues.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/values.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/includes.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEqualWith.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMatch.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/last.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbolsIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbolsIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeysIn.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/matches.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/matchesProperty.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEvery.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_flatRest.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createOver.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/overEvery.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/overSome.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSome.js","../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/some.js","../package.json","../src/util/getDocsUrl.ts","../src/util/getMethodName.ts","../src/util/methodData.ts","../src/util/methodDataUtil.ts","../src/util/getCaller.ts","../src/util/getSettings.ts","../src/util/importUtil.ts","../src/util/isCallFromObject.ts","../src/util/isMethodCall.ts","../src/util/RemedaContext.ts","../src/util/remedaUtil.ts","../src/rules/collection-method-value.ts","../src/util/isFunctionExpression.ts","../src/util/isFunctionDefinitionWithBlock.ts","../src/rules/collection-return.ts","../src/util/getFirstFunctionLine.ts","../src/util/isReturnStatement.ts","../src/util/getValueReturnedInFirstStatement.ts","../src/rules/prefer-constant.ts","../src/rules/prefer-do-nothing.ts","../src/util/getFirstParamName.ts","../src/util/hasOnlyOneStatement.ts","../src/util/isLiteral.ts","../src/util/isPropAccess.ts","../src/util/isMemberExpOf.ts","../src/util/isBinaryExpWithMemberOf.ts","../src/util/isIdentifierWithName.ts","../src/util/isNegationOfMemberOf.ts","../src/rules/prefer-filter.ts","../src/rules/prefer-find.ts","../src/rules/prefer-flat-map.ts","../src/rules/prefer-has-atleast.ts","../src/rules/prefer-is-empty.ts","../src/util/isComputed.ts","../src/util/isEquivalentMemberExp.ts","../src/util/isNegationExpression.ts","../src/rules/prefer-is-nullish.ts","../src/util/collectParameterValues.ts","../src/rules/prefer-map.ts","../src/rules/prefer-nullish-coalescing.ts","../src/rules/prefer-remeda-typecheck.ts","../src/util/comparisonOperators.ts","../src/util/isMinus.ts","../src/util/getIsValue.ts","../src/util/getExpressionComparedToInt.ts","../src/rules/prefer-some.ts","../src/rules/prefer-times.ts","../src/rules/index.ts","../src/index.ts"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nexport default arrayMap;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","import Symbol from './_Symbol.js';\nimport arrayMap from './_arrayMap.js';\nimport isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default baseToString;\n","import baseToString from './_baseToString.js';\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nexport default toString;\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nexport default baseSlice;\n","import baseSlice from './_baseSlice.js';\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nexport default castSlice;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nexport default hasUnicode;\n","/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n return string.split('');\n}\n\nexport default asciiToArray;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n return string.match(reUnicode) || [];\n}\n\nexport default unicodeToArray;\n","import asciiToArray from './_asciiToArray.js';\nimport hasUnicode from './_hasUnicode.js';\nimport unicodeToArray from './_unicodeToArray.js';\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n}\n\nexport default stringToArray;\n","import castSlice from './_castSlice.js';\nimport hasUnicode from './_hasUnicode.js';\nimport stringToArray from './_stringToArray.js';\nimport toString from './toString.js';\n\n/**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\nfunction createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n}\n\nexport default createCaseFirst;\n","import createCaseFirst from './_createCaseFirst.js';\n\n/**\n * Converts the first character of `string` to upper case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.upperFirst('fred');\n * // => 'Fred'\n *\n * _.upperFirst('FRED');\n * // => 'FRED'\n */\nvar upperFirst = createCaseFirst('toUpperCase');\n\nexport default upperFirst;\n","import toString from './toString.js';\nimport upperFirst from './upperFirst.js';\n\n/**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\nfunction capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n}\n\nexport default capitalize;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nexport default apply;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nexport default listCacheClear;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nexport default eq;\n","import eq from './eq.js';\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nexport default assocIndexOf;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nexport default listCacheDelete;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nexport default listCacheGet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nexport default listCacheHas;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nexport default listCacheSet;\n","import listCacheClear from './_listCacheClear.js';\nimport listCacheDelete from './_listCacheDelete.js';\nimport listCacheGet from './_listCacheGet.js';\nimport listCacheHas from './_listCacheHas.js';\nimport listCacheSet from './_listCacheSet.js';\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nexport default ListCache;\n","import ListCache from './_ListCache.js';\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nexport default stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nexport default stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nexport default stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nexport default stackHas;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","import root from './_root.js';\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nexport default coreJsData;\n","import coreJsData from './_coreJsData.js';\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nexport default isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n","import isFunction from './isFunction.js';\nimport isMasked from './_isMasked.js';\nimport isObject from './isObject.js';\nimport toSource from './_toSource.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nexport default baseIsNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nexport default getValue;\n","import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nexport default Map;\n","import getNative from './_getNative.js';\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nexport default nativeCreate;\n","import nativeCreate from './_nativeCreate.js';\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nexport default hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default hashDelete;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nexport default hashHas;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;\n","import hashClear from './_hashClear.js';\nimport hashDelete from './_hashDelete.js';\nimport hashGet from './_hashGet.js';\nimport hashHas from './_hashHas.js';\nimport hashSet from './_hashSet.js';\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nexport default Hash;\n","import Hash from './_Hash.js';\nimport ListCache from './_ListCache.js';\nimport Map from './_Map.js';\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nexport default mapCacheClear;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nexport default isKeyable;\n","import isKeyable from './_isKeyable.js';\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nexport default getMapData;\n","import getMapData from './_getMapData.js';\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default mapCacheDelete;\n","import getMapData from './_getMapData.js';\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nexport default mapCacheGet;\n","import getMapData from './_getMapData.js';\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nexport default mapCacheHas;\n","import getMapData from './_getMapData.js';\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;\n","import mapCacheClear from './_mapCacheClear.js';\nimport mapCacheDelete from './_mapCacheDelete.js';\nimport mapCacheGet from './_mapCacheGet.js';\nimport mapCacheHas from './_mapCacheHas.js';\nimport mapCacheSet from './_mapCacheSet.js';\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nexport default MapCache;\n","import ListCache from './_ListCache.js';\nimport Map from './_Map.js';\nimport MapCache from './_MapCache.js';\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nexport default stackSet;\n","import ListCache from './_ListCache.js';\nimport stackClear from './_stackClear.js';\nimport stackDelete from './_stackDelete.js';\nimport stackGet from './_stackGet.js';\nimport stackHas from './_stackHas.js';\nimport stackSet from './_stackSet.js';\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nexport default Stack;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nexport default setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nexport default setCacheHas;\n","import MapCache from './_MapCache.js';\nimport setCacheAdd from './_setCacheAdd.js';\nimport setCacheHas from './_setCacheHas.js';\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nexport default SetCache;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nexport default arraySome;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nexport default cacheHas;\n","import SetCache from './_SetCache.js';\nimport arraySome from './_arraySome.js';\nimport cacheHas from './_cacheHas.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nexport default equalArrays;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nexport default Uint8Array;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nexport default mapToArray;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nexport default setToArray;\n","import Symbol from './_Symbol.js';\nimport Uint8Array from './_Uint8Array.js';\nimport eq from './eq.js';\nimport equalArrays from './_equalArrays.js';\nimport mapToArray from './_mapToArray.js';\nimport setToArray from './_setToArray.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nexport default equalByTag;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nexport default arrayPush;\n","import arrayPush from './_arrayPush.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nexport default baseGetAllKeys;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nexport default arrayFilter;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nexport default stubArray;\n","import arrayFilter from './_arrayFilter.js';\nimport stubArray from './stubArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nexport default getSymbols;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nexport default baseTimes;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nexport default isIndex;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n","import baseTimes from './_baseTimes.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isIndex from './_isIndex.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default arrayLikeKeys;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nexport default overArg;\n","import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n","import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\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 `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeys from './_baseKeys.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nexport default keys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbols from './_getSymbols.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nexport default getAllKeys;\n","import getAllKeys from './_getAllKeys.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nexport default equalObjects;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nexport default DataView;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nexport default Promise;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nexport default Set;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nexport default WeakMap;\n","import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nexport default getTag;\n","import Stack from './_Stack.js';\nimport equalArrays from './_equalArrays.js';\nimport equalByTag from './_equalByTag.js';\nimport equalObjects from './_equalObjects.js';\nimport getTag from './_getTag.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nexport default baseIsEqualDeep;\n","import baseIsEqualDeep from './_baseIsEqualDeep.js';\nimport isObjectLike from './isObjectLike.js';\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nexport default baseIsEqual;\n","import Stack from './_Stack.js';\nimport baseIsEqual from './_baseIsEqual.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nexport default baseIsMatch;\n","import isObject from './isObject.js';\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nexport default isStrictComparable;\n","import isStrictComparable from './_isStrictComparable.js';\nimport keys from './keys.js';\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nexport default getMatchData;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nexport default matchesStrictComparable;\n","import baseIsMatch from './_baseIsMatch.js';\nimport getMatchData from './_getMatchData.js';\nimport matchesStrictComparable from './_matchesStrictComparable.js';\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nexport default baseMatches;\n","import isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nexport default isKey;\n","import MapCache from './_MapCache.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nexport default memoize;\n","import memoize from './memoize.js';\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nexport default memoizeCapped;\n","import memoizeCapped from './_memoizeCapped.js';\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nexport default stringToPath;\n","import isArray from './isArray.js';\nimport isKey from './_isKey.js';\nimport stringToPath from './_stringToPath.js';\nimport toString from './toString.js';\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nexport default castPath;\n","import isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default toKey;\n","import castPath from './_castPath.js';\nimport toKey from './_toKey.js';\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nexport default baseGet;\n","import baseGet from './_baseGet.js';\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nexport default get;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nexport default baseHasIn;\n","import castPath from './_castPath.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isIndex from './_isIndex.js';\nimport isLength from './isLength.js';\nimport toKey from './_toKey.js';\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nexport default hasPath;\n","import baseHasIn from './_baseHasIn.js';\nimport hasPath from './_hasPath.js';\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nexport default hasIn;\n","import baseIsEqual from './_baseIsEqual.js';\nimport get from './get.js';\nimport hasIn from './hasIn.js';\nimport isKey from './_isKey.js';\nimport isStrictComparable from './_isStrictComparable.js';\nimport matchesStrictComparable from './_matchesStrictComparable.js';\nimport toKey from './_toKey.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nexport default baseMatchesProperty;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nexport default identity;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nexport default baseProperty;\n","import baseGet from './_baseGet.js';\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nexport default basePropertyDeep;\n","import baseProperty from './_baseProperty.js';\nimport basePropertyDeep from './_basePropertyDeep.js';\nimport isKey from './_isKey.js';\nimport toKey from './_toKey.js';\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nexport default property;\n","import baseMatches from './_baseMatches.js';\nimport baseMatchesProperty from './_baseMatchesProperty.js';\nimport identity from './identity.js';\nimport isArray from './isArray.js';\nimport property from './property.js';\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nexport default baseIteratee;\n","import apply from './_apply.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nexport default overRest;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nexport default constant;\n","import getNative from './_getNative.js';\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nexport default defineProperty;\n","import constant from './constant.js';\nimport defineProperty from './_defineProperty.js';\nimport identity from './identity.js';\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nexport default baseSetToString;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nexport default shortOut;\n","import baseSetToString from './_baseSetToString.js';\nimport shortOut from './_shortOut.js';\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nexport default setToString;\n","import identity from './identity.js';\nimport overRest from './_overRest.js';\nimport setToString from './_setToString.js';\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nexport default baseRest;\n","import apply from './_apply.js';\nimport arrayMap from './_arrayMap.js';\nimport baseIteratee from './_baseIteratee.js';\nimport baseRest from './_baseRest.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that iterates over `pairs` and invokes the corresponding\n * function of the first predicate to return truthy. The predicate-function\n * pairs are invoked with the `this` binding and arguments of the created\n * function.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {Array} pairs The predicate-function pairs.\n * @returns {Function} Returns the new composite function.\n * @example\n *\n * var func = _.cond([\n * [_.matches({ 'a': 1 }), _.constant('matches A')],\n * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],\n * [_.stubTrue, _.constant('no match')]\n * ]);\n *\n * func({ 'a': 1, 'b': 2 });\n * // => 'matches A'\n *\n * func({ 'a': 0, 'b': 1 });\n * // => 'matches B'\n *\n * func({ 'a': '1', 'b': '2' });\n * // => 'no match'\n */\nfunction cond(pairs) {\n var length = pairs == null ? 0 : pairs.length,\n toIteratee = baseIteratee;\n\n pairs = !length ? [] : arrayMap(pairs, function(pair) {\n if (typeof pair[1] != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return [toIteratee(pair[0]), pair[1]];\n });\n\n return baseRest(function(args) {\n var index = -1;\n while (++index < length) {\n var pair = pairs[index];\n if (apply(pair[0], this, args)) {\n return apply(pair[1], this, args);\n }\n }\n });\n}\n\nexport default cond;\n","import eq from './eq.js';\nimport isArrayLike from './isArrayLike.js';\nimport isIndex from './_isIndex.js';\nimport isObject from './isObject.js';\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nexport default isIterateeCall;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default nativeKeysIn;\n","import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeysIn;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n","import baseRest from './_baseRest.js';\nimport eq from './eq.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport keysIn from './keysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nexport default defaults;\n","import baseIteratee from './_baseIteratee.js';\nimport isArrayLike from './isArrayLike.js';\nimport keys from './keys.js';\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nexport default createFind;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nexport default baseFindIndex;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import toNumber from './toNumber.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nexport default toFinite;\n","import toFinite from './toFinite.js';\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nexport default toInteger;\n","import baseFindIndex from './_baseFindIndex.js';\nimport baseIteratee from './_baseIteratee.js';\nimport toInteger from './toInteger.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nexport default findIndex;\n","import createFind from './_createFind.js';\nimport findIndex from './findIndex.js';\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nexport default find;\n","import Symbol from './_Symbol.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nexport default isFlattenable;\n","import arrayPush from './_arrayPush.js';\nimport isFlattenable from './_isFlattenable.js';\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nexport default baseFlatten;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nexport default createBaseFor;\n","import createBaseFor from './_createBaseFor.js';\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nexport default baseFor;\n","import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n","import baseEach from './_baseEach.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nexport default baseMap;\n","import arrayMap from './_arrayMap.js';\nimport baseIteratee from './_baseIteratee.js';\nimport baseMap from './_baseMap.js';\nimport isArray from './isArray.js';\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nexport default map;\n","import baseFlatten from './_baseFlatten.js';\nimport map from './map.js';\n\n/**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\nfunction flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n}\n\nexport default flatMap;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nexport default baseHas;\n","import baseHas from './_baseHas.js';\nimport hasPath from './_hasPath.js';\n\n/**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\nfunction has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n}\n\nexport default has;\n","/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nexport default baseIsNaN;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nexport default strictIndexOf;\n","import baseFindIndex from './_baseFindIndex.js';\nimport baseIsNaN from './_baseIsNaN.js';\nimport strictIndexOf from './_strictIndexOf.js';\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nexport default baseIndexOf;\n","import baseGetTag from './_baseGetTag.js';\nimport isArray from './isArray.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nexport default isString;\n","import arrayMap from './_arrayMap.js';\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nexport default baseValues;\n","import baseValues from './_baseValues.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nexport default values;\n","import baseIndexOf from './_baseIndexOf.js';\nimport isArrayLike from './isArrayLike.js';\nimport isString from './isString.js';\nimport toInteger from './toInteger.js';\nimport values from './values.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\nfunction includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n}\n\nexport default includes;\n","import baseKeys from './_baseKeys.js';\nimport getTag from './_getTag.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isArrayLike from './isArrayLike.js';\nimport isBuffer from './isBuffer.js';\nimport isPrototype from './_isPrototype.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nexport default isEmpty;\n","import baseIsEqual from './_baseIsEqual.js';\n\n/**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\nfunction isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n}\n\nexport default isEqualWith;\n","import baseIsMatch from './_baseIsMatch.js';\nimport getMatchData from './_getMatchData.js';\n\n/**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\nfunction isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n}\n\nexport default isMatch;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nexport default isNumber;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nexport default last;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nexport default arrayEach;\n","import defineProperty from './_defineProperty.js';\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nexport default baseAssignValue;\n","import baseAssignValue from './_baseAssignValue.js';\nimport eq from './eq.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nexport default assignValue;\n","import assignValue from './_assignValue.js';\nimport baseAssignValue from './_baseAssignValue.js';\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nexport default copyObject;\n","import copyObject from './_copyObject.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nexport default baseAssign;\n","import copyObject from './_copyObject.js';\nimport keysIn from './keysIn.js';\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nexport default baseAssignIn;\n","import root from './_root.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nexport default cloneBuffer;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nexport default copyArray;\n","import copyObject from './_copyObject.js';\nimport getSymbols from './_getSymbols.js';\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nexport default copySymbols;\n","import overArg from './_overArg.js';\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nexport default getPrototype;\n","import arrayPush from './_arrayPush.js';\nimport getPrototype from './_getPrototype.js';\nimport getSymbols from './_getSymbols.js';\nimport stubArray from './stubArray.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nexport default getSymbolsIn;\n","import copyObject from './_copyObject.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nexport default copySymbolsIn;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\nimport keysIn from './keysIn.js';\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nexport default getAllKeysIn;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nexport default initCloneArray;\n","import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;\n","import Symbol from './_Symbol.js';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nexport default cloneSymbol;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\nimport cloneDataView from './_cloneDataView.js';\nimport cloneRegExp from './_cloneRegExp.js';\nimport cloneSymbol from './_cloneSymbol.js';\nimport cloneTypedArray from './_cloneTypedArray.js';\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nexport default initCloneByTag;\n","import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nexport default baseCreate;\n","import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nexport default initCloneObject;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nexport default baseIsMap;\n","import baseIsMap from './_baseIsMap.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nexport default isMap;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nexport default baseIsSet;\n","import baseIsSet from './_baseIsSet.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nexport default isSet;\n","import Stack from './_Stack.js';\nimport arrayEach from './_arrayEach.js';\nimport assignValue from './_assignValue.js';\nimport baseAssign from './_baseAssign.js';\nimport baseAssignIn from './_baseAssignIn.js';\nimport cloneBuffer from './_cloneBuffer.js';\nimport copyArray from './_copyArray.js';\nimport copySymbols from './_copySymbols.js';\nimport copySymbolsIn from './_copySymbolsIn.js';\nimport getAllKeys from './_getAllKeys.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\nimport getTag from './_getTag.js';\nimport initCloneArray from './_initCloneArray.js';\nimport initCloneByTag from './_initCloneByTag.js';\nimport initCloneObject from './_initCloneObject.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isMap from './isMap.js';\nimport isObject from './isObject.js';\nimport isSet from './isSet.js';\nimport keys from './keys.js';\nimport keysIn from './keysIn.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nexport default baseClone;\n","import baseClone from './_baseClone.js';\nimport baseMatches from './_baseMatches.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1;\n\n/**\n * Creates a function that performs a partial deep comparison between a given\n * object and `source`, returning `true` if the given object has equivalent\n * property values, else `false`.\n *\n * **Note:** The created function is equivalent to `_.isMatch` with `source`\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * **Note:** Multiple values can be checked by combining several matchers\n * using `_.overSome`\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Util\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n * @example\n *\n * var objects = [\n * { 'a': 1, 'b': 2, 'c': 3 },\n * { 'a': 4, 'b': 5, 'c': 6 }\n * ];\n *\n * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));\n * // => [{ 'a': 4, 'b': 5, 'c': 6 }]\n *\n * // Checking for several possible values\n * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));\n * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]\n */\nfunction matches(source) {\n return baseMatches(baseClone(source, CLONE_DEEP_FLAG));\n}\n\nexport default matches;\n","import baseClone from './_baseClone.js';\nimport baseMatchesProperty from './_baseMatchesProperty.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1;\n\n/**\n * Creates a function that performs a partial deep comparison between the\n * value at `path` of a given object to `srcValue`, returning `true` if the\n * object value is equivalent, else `false`.\n *\n * **Note:** Partial comparisons will match empty array and empty object\n * `srcValue` values against any array or object value, respectively. See\n * `_.isEqual` for a list of supported value comparisons.\n *\n * **Note:** Multiple values can be checked by combining several matchers\n * using `_.overSome`\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n * @example\n *\n * var objects = [\n * { 'a': 1, 'b': 2, 'c': 3 },\n * { 'a': 4, 'b': 5, 'c': 6 }\n * ];\n *\n * _.find(objects, _.matchesProperty('a', 4));\n * // => { 'a': 4, 'b': 5, 'c': 6 }\n *\n * // Checking for several possible values\n * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));\n * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]\n */\nfunction matchesProperty(path, srcValue) {\n return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));\n}\n\nexport default matchesProperty;\n","/**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\nfunction arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n}\n\nexport default arrayEvery;\n","import baseFlatten from './_baseFlatten.js';\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nexport default flatten;\n","import flatten from './flatten.js';\nimport overRest from './_overRest.js';\nimport setToString from './_setToString.js';\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nexport default flatRest;\n","import apply from './_apply.js';\nimport arrayMap from './_arrayMap.js';\nimport baseIteratee from './_baseIteratee.js';\nimport baseRest from './_baseRest.js';\nimport baseUnary from './_baseUnary.js';\nimport flatRest from './_flatRest.js';\n\n/**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\nfunction createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n}\n\nexport default createOver;\n","import arrayEvery from './_arrayEvery.js';\nimport createOver from './_createOver.js';\n\n/**\n * Creates a function that checks if **all** of the `predicates` return\n * truthy when invoked with the arguments it receives.\n *\n * Following shorthands are possible for providing predicates.\n * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.\n * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {...(Function|Function[])} [predicates=[_.identity]]\n * The predicates to check.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var func = _.overEvery([Boolean, isFinite]);\n *\n * func('1');\n * // => true\n *\n * func(null);\n * // => false\n *\n * func(NaN);\n * // => false\n */\nvar overEvery = createOver(arrayEvery);\n\nexport default overEvery;\n","import arraySome from './_arraySome.js';\nimport createOver from './_createOver.js';\n\n/**\n * Creates a function that checks if **any** of the `predicates` return\n * truthy when invoked with the arguments it receives.\n *\n * Following shorthands are possible for providing predicates.\n * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.\n * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {...(Function|Function[])} [predicates=[_.identity]]\n * The predicates to check.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var func = _.overSome([Boolean, isFinite]);\n *\n * func('1');\n * // => true\n *\n * func(null);\n * // => true\n *\n * func(NaN);\n * // => false\n *\n * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])\n * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])\n */\nvar overSome = createOver(arraySome);\n\nexport default overSome;\n","import baseEach from './_baseEach.js';\n\n/**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n}\n\nexport default baseSome;\n","import arraySome from './_arraySome.js';\nimport baseIteratee from './_baseIteratee.js';\nimport baseSome from './_baseSome.js';\nimport isArray from './isArray.js';\nimport isIterateeCall from './_isIterateeCall.js';\n\n/**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\nfunction some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, baseIteratee(predicate, 3));\n}\n\nexport default some;\n","","import { version } from \"../../package.json\";\n\nconst REPO_URL = \"https://github.com/AndreaPontrandolfo/eslint-plugin-remeda\";\n\n/**\n * Generates the URL to documentation for the given rule name. It uses the\n * package version to build the link to a tagged version of the\n * documentation file.\n *\n * @param ruleName - Name of the eslint rule.\n * @returns URL to the documentation for the given rule.\n */\nexport function getDocsUrl(ruleName: string) {\n return `${REPO_URL}/blob/v${version}/docs/rules/${ruleName}.md`;\n}\n","import { property } from \"lodash-es\";\n\n/**\n * Gets the name of a method in a CallExpression.\n *\n * @param node - The node to check.\n */\nconst getMethodName = property(\"callee.property.name\");\n\nexport { getMethodName };\n","// Array methods\nexport const allPass = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const anyPass = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const some = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const every = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const chunk = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const concat = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const countBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const difference = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const differenceWith = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const drop = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const dropFirstBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 3,\n};\n\nexport const dropLast = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const dropLastWhile = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const dropWhile = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const filter = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const find = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const findIndex = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const findLast = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const findLastIndex = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const first = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const flat = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const flatMap = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const forEach = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const groupBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const groupByProp = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const hasAtLeast = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const indexBy = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const intersection = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const intersectionWith = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const join = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const last = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const length = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const map = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const mapToObj = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const mapWithFeedback = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const meanBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const mergeAll = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const nthBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 3,\n};\n\nexport const only = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const partition = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const range = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const rankBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 3,\n};\n\nexport const reduce = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 3,\n};\n\nexport const reduceRight = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 3,\n};\n\nexport const reverse = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const sample = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const shuffle = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const sort = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const sortBy = {\n wrapper: false,\n shorthand: {\n prop: true,\n },\n iteratee: true,\n args: 2,\n};\n\nexport const sortedIndex = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const sortedIndexBy = {\n wrapper: false,\n shorthand: true,\n iteratee: false,\n iterateeIndex: 2,\n args: 3,\n};\n\nexport const sortedIndexWith = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const sortedLastIndex = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const sortedLastIndexBy = {\n wrapper: false,\n shorthand: true,\n iteratee: false,\n iterateeIndex: 2,\n args: 3,\n};\n\nexport const splice = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 4,\n};\n\nexport const splitAt = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const splitWhen = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const sumBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const swapIndices = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const take = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const takeFirstBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 3,\n};\n\nexport const takeLast = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const takeLastWhile = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const takeWhile = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const times = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const unique = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const uniqueBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const uniqueWith = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const zip = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const zipWith = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\n// Function methods\nexport const conditional = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const constant = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const debounce = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const doNothing = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 0,\n};\n\nexport const funnel = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const identity = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const once = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const partialBind = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const partialLastBind = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const pipe = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const piped = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const purry = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const when = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\n// Guard methods\nexport const hasSubObject = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const isArray = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isBigInt = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isBoolean = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isDate = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isDeepEqual = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const isDefined = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isEmpty = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isEmptyish = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isError = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isFunction = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isIncludedIn = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const isNonNull = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isNonNullish = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isNot = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const isNullish = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isNumber = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isObjectType = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isPlainObject = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isPromise = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isShallowEqual = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const isStrictEqual = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const isString = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isSymbol = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const isTruthy = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\n// Number methods\nexport const add = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const ceil = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const clamp = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const divide = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const floor = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const mean = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const median = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const multiply = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const product = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const randomBigInt = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const randomInteger = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const round = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const subtract = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const sum = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\n// Object methods\nexport const addProp = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const clone = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const entries = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const evolve = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const forEachObj = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const fromEntries = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const fromKeys = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const invert = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const keys = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const mapKeys = {\n wrapper: false,\n shorthand: false,\n iteratee: true,\n args: 2,\n};\n\nexport const mapValues = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const merge = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const mergeDeep = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const objOf = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const omit = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const omitBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const pathOr = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const pick = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const pickBy = {\n wrapper: false,\n shorthand: true,\n iteratee: true,\n args: 2,\n};\n\nexport const prop = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const pullObject = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const set = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const setPath = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const swapProps = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const values = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\n// String methods\nexport const capitalize = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const endsWith = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const randomString = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const sliceString = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 3,\n};\n\nexport const split = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const startsWith = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const toCamelCase = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const toKebabCase = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const toLowerCase = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const toSnakeCase = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const toTitleCase = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const toUpperCase = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\nexport const truncate = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 2,\n};\n\nexport const uncapitalize = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n\n// Utility methods\nexport const stringToPath = {\n wrapper: false,\n shorthand: false,\n iteratee: false,\n args: 1,\n};\n","import { has, includes, isObject } from \"lodash-es\";\nimport type { MethodData } from \"../types\";\nimport * as methodDataCatalog from \"./methodData\";\n\nconst methods = Object.keys(\n methodDataCatalog,\n) as (keyof typeof methodDataCatalog)[];\n\nconst isKnownMethod = (\n method: string,\n): method is keyof typeof methodDataCatalog => {\n return methods.includes(method as keyof typeof methodDataCatalog);\n};\n\n/**\n * Returns whether the node's method call supports using shorthands.\n *\n */\nfunction methodSupportsShorthand(method: string, shorthandType?: string) {\n if (!isKnownMethod(method)) {\n return false;\n }\n\n const methodData = methodDataCatalog[method];\n\n const methodShorthandData = methodData.shorthand;\n const isShorthandObject = isObject(methodShorthandData);\n\n return isShorthandObject\n ? // @ts-expect-error\n Boolean(shorthandType && methodShorthandData[shorthandType])\n : Boolean(methodShorthandData);\n}\n\n/**\n * Gets whether the method is a collection method.\n *\n * @param method - The method to check.\n */\nfunction isCollectionMethod(method: string) {\n if (!isKnownMethod(method)) {\n return false;\n }\n\n const methodData = methodDataCatalog[method];\n\n return (\n methodSupportsShorthand(method) ||\n includes([\"reduce\", \"reduceRight\"], method) ||\n Boolean(methodData.iteratee)\n );\n}\n\n/**\n * Gets the index of the iteratee of a method when it isn't chained, or -1 if it doesn't have one.\n */\nfunction getIterateeIndex(method: string) {\n // @ts-expect-error\n const methodData: MethodData | undefined = methodDataCatalog[method];\n\n if (methodData) {\n if (has(methodData, \"iterateeIndex\")) {\n return methodData.iterateeIndex;\n }\n if (methodData.iteratee) {\n return 1;\n }\n }\n\n return -1;\n}\n\nconst sideEffectIterationMethods = [\n \"forEach\",\n // Note: Remeda only has forEach, not the Right/In variants that Lodash had\n];\n\n/**\n * Gets a list of side effect iteration methods.\n *\n */\nfunction getSideEffectIterationMethods() {\n return sideEffectIterationMethods;\n}\n\nexport { getIterateeIndex, getSideEffectIterationMethods, isCollectionMethod };\n","import { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\n\n/**\n * Gets the object that called the method in a CallExpression.\n *\n * @param node - The node to check.\n */\nconst getCaller = (\n node: TSESTree.Node | null | undefined,\n): TSESTree.Node | null | undefined => {\n if (\n !node ||\n node.type !== AST_NODE_TYPES.CallExpression ||\n !node.callee ||\n node.callee.type !== AST_NODE_TYPES.MemberExpression\n ) {\n return null;\n }\n\n return node.callee.object;\n};\n\nexport { getCaller };\n","import { defaults, get } from \"lodash-es\";\nimport type { ESLintContext } from \"../types\";\n\ninterface RemedaSettings {\n version: number;\n pragma?: string;\n}\n\nexport function getSettings(context: ESLintContext): RemedaSettings {\n return defaults(get(context, \"settings.remeda\", {}), {\n version: 4,\n });\n}\n","import { get } from \"lodash-es\";\n\ninterface RequireCall {\n callee: { name: string };\n arguments: { type: string; value: string }[];\n}\n\nfunction getNameFromCjsRequire(init: RequireCall): string | undefined {\n if (\n get(init, \"callee.name\") === \"require\" &&\n get(init, \"arguments.length\") === 1 &&\n init.arguments[0].type === \"Literal\"\n ) {\n return init.arguments[0].value;\n }\n}\n\nconst isFullRemedaImport = (str: string) => /^remeda\\/?$/.test(str);\nconst getMethodImportFromName = (str: string) => {\n // eslint-disable-next-line regexp/no-unused-capturing-group\n const match = /^remeda([./])(\\w+)$/.exec(str);\n\n return match?.[2];\n};\n\nexport { getMethodImportFromName, getNameFromCjsRequire, isFullRemedaImport };\n","import { get } from \"lodash-es\";\nimport { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\n\n/**\n * Returns whether the node is a call from the specified object name.\n *\n * @param node - The node to check.\n * @param objName - The object name to check against.\n */\nfunction isCallFromObject(\n node: TSESTree.Node | null | undefined,\n objName: string,\n) {\n return (\n node &&\n objName &&\n node.type === AST_NODE_TYPES.CallExpression &&\n get(node, \"callee.object.name\") === objName\n );\n}\n\nexport { isCallFromObject };\n","import { matches } from \"lodash-es\";\n\n/**\n * Returns whether the node is a method call.\n *\n * @param node - The node to check.\n */\nconst isMethodCall = matches({\n type: \"CallExpression\",\n callee: { type: \"MemberExpression\" },\n});\n\nexport { isMethodCall };\n","/* eslint-disable no-restricted-syntax/noClasses */\n/* eslint-disable @typescript-eslint/no-unsafe-call */\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-unsafe-argument */\nimport { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\nimport type { ESLintContext } from \"../types\";\nimport { getCaller } from \"./getCaller\";\nimport { getSettings } from \"./getSettings\";\nimport {\n getMethodImportFromName,\n getNameFromCjsRequire,\n isFullRemedaImport,\n} from \"./importUtil\";\nimport { isCallFromObject } from \"./isCallFromObject\";\nimport { isMethodCall } from \"./isMethodCall\";\n\n/* Class representing remeda data for a given context */\nexport default class {\n context: ESLintContext;\n general: Record<string, boolean>;\n methods: Record<string, string>;\n _pragma: string | undefined;\n /**\n * Create a Remeda context wrapper from a file's RuleContext.\n *\n * @param context - The context of the file.\n */\n constructor(context: ESLintContext) {\n this.context = context;\n this.general = Object.create(null);\n this.methods = Object.create(null);\n }\n\n /**\n * Gets visitors to collect Remeda declarations in the context.\n *\n * @returns Visitors for everywhere Remeda can be declared.\n */\n getImportVisitors() {\n const self = this;\n\n return {\n ImportDeclaration({\n source,\n specifiers,\n }: {\n source: TSESTree.StringLiteral;\n specifiers: TSESTree.ImportSpecifier[];\n }) {\n if (isFullRemedaImport(source.value)) {\n specifiers.forEach(\n (\n spec:\n | TSESTree.ImportSpecifier\n | TSESTree.ImportNamespaceSpecifier\n | TSESTree.ImportDefaultSpecifier,\n ) => {\n switch (spec.type) {\n case AST_NODE_TYPES.ImportNamespaceSpecifier:\n case AST_NODE_TYPES.ImportDefaultSpecifier: {\n self.general[spec.local.name] = true;\n break;\n }\n case AST_NODE_TYPES.ImportSpecifier: {\n if (spec.imported.type === AST_NODE_TYPES.Identifier) {\n self.methods[spec.local.name] = spec.imported.name;\n\n if (spec.imported.name === \"chain\") {\n self.general[spec.local.name] = true;\n }\n }\n break;\n }\n }\n },\n );\n } else {\n const method = getMethodImportFromName(source.value);\n\n if (method) {\n self.methods[specifiers[0].local.name] = method;\n }\n }\n },\n // @ts-expect-error\n VariableDeclarator({ init, id }) {\n const required = getNameFromCjsRequire(init);\n\n if (required && isFullRemedaImport(required)) {\n if (id.type === \"Identifier\") {\n self.general[id.name] = true;\n } else if (id.type === \"ObjectPattern\") {\n id.properties.forEach(\n (prop: { value: { name: string }; key: { name: string } }) => {\n self.methods[prop.value.name] = prop.key.name;\n\n if (prop.value.name === \"chain\") {\n self.general[prop.value.name] = true;\n }\n },\n );\n }\n } else if (required) {\n const method = getMethodImportFromName(required);\n\n if (method) {\n self.methods[id.name] = method;\n }\n }\n },\n };\n }\n\n /**\n * Returns whether the node is an imported Remeda in this context.\n *\n * @param node - The node to check.\n */\n isImportedRemeda(node: TSESTree.Node | null | undefined) {\n if (node && node.type === AST_NODE_TYPES.Identifier) {\n return this.general[node.name];\n }\n }\n\n /**\n * Returns the name of the Remeda method for this node, if any.\n *\n * @param node - The node to check.\n */\n getImportedRemedaMethod(node: TSESTree.Node | null | undefined) {\n if (\n node &&\n node.type === AST_NODE_TYPES.CallExpression &&\n !isMethodCall(node) &&\n node.callee.type === AST_NODE_TYPES.Identifier\n ) {\n return this.methods[node.callee.name];\n }\n }\n\n /**\n * Returns whether the node is a call from a Remeda object.\n *\n * @param node - The node to check.\n */\n isRemedaCall(node: TSESTree.Node | null | undefined): boolean {\n return Boolean(\n (this.pragma && isCallFromObject(node, this.pragma)) ||\n this.isImportedRemeda(getCaller(node)),\n );\n }\n\n /**\n * Gets the current Remeda pragma.\n *\n */\n get pragma() {\n if (!this._pragma) {\n const { pragma } = getSettings(this.context);\n\n this._pragma = pragma;\n }\n\n return this._pragma;\n }\n}\n","import { capitalize, includes, isNumber, isString } from \"lodash-es\";\nimport { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\nimport type { ESLintContext, RemedaMethodVisitors } from \"../types\";\nimport { getMethodName } from \"./getMethodName\";\nimport * as methodDataUtil from \"./methodDataUtil\";\nimport RemedaContext from \"./RemedaContext\";\n\n/**\n * Returns whether the node is a call to the specified method.\n *\n * @param node - The node to check.\n * @param method - The method to check against.\n * @returns Whether the node is a call to the specified method.\n */\nfunction isCallToMethod(node: TSESTree.Node, method: string) {\n return method === getMethodName(node);\n}\n\n/**\n * Gets the 'isX' method for a specified type, e.g. IsObject.\n *\n * @param name - The name of the type to get the 'isX' method for.\n */\nfunction getIsTypeMethod(name: string) {\n const types = [\n \"number\",\n \"boolean\",\n \"function\",\n \"Function\",\n \"string\",\n // \"object\",\n // \"undefined\",\n \"Date\",\n \"Array\",\n \"Error\",\n // \"Element\",\n ];\n\n return includes(types, name) ? `is${capitalize(name)}` : null;\n}\n\n/**\n * Gets the context's Remeda settings and a function and returns a visitor that calls the function for every Remeda or chain call.\n *\n * @param remedaContext - The Remeda context.\n * @param reporter - The reporter to use.\n * @returns A visitor that calls the function for every Remeda or chain call.\n */\nfunction getRemedaMethodCallExpVisitor(\n remedaContext: RemedaContext,\n reporter: (\n node: TSESTree.CallExpression,\n iteratee: TSESTree.Node,\n {\n method,\n callType,\n remedaContext,\n }: { method: string; callType: string; remedaContext: RemedaContext },\n ) => void,\n) {\n return function (node: TSESTree.CallExpression) {\n let iterateeIndex;\n\n if (remedaContext.isRemedaCall(node)) {\n const method = getMethodName(node);\n\n if (!isString(method)) {\n return;\n }\n\n iterateeIndex = methodDataUtil.getIterateeIndex(method);\n\n if (isNumber(iterateeIndex)) {\n reporter(node, node.arguments[iterateeIndex], {\n callType: \"method\",\n method,\n remedaContext,\n });\n }\n } else {\n const method = remedaContext.getImportedRemedaMethod(node);\n\n if (method) {\n iterateeIndex = methodDataUtil.getIterateeIndex(method);\n if (isNumber(iterateeIndex)) {\n reporter(node, node.arguments[iterateeIndex], {\n method,\n callType: \"single\",\n remedaContext,\n });\n }\n }\n }\n };\n}\n\nfunction isRemedaCallToMethod(\n node: TSESTree.Node | null | undefined,\n method: string,\n remedaContext: { isRemedaCall: (node: unknown) => boolean },\n): boolean {\n if (!node) {\n return false;\n }\n\n return remedaContext.isRemedaCall(node) && isCallToMethod(node, method);\n}\n\nfunction isCallToRemedaMethod(\n node: TSESTree.Node | null | undefined,\n method: string,\n remedaContext: {\n getImportedRemedaMethod: (node: unknown) => string;\n isRemedaCall: (node: unknown) => boolean;\n },\n): boolean {\n if (!node || node.type !== AST_NODE_TYPES.CallExpression) {\n return false;\n }\n\n return (\n isRemedaCallToMethod(node, method, remedaContext) ||\n method === remedaContext.getImportedRemedaMethod(node)\n );\n}\n\nfunction getRemedaMethodVisitors(\n context: ESLintContext,\n remedaCallExpVisitor: (\n node: TSESTree.CallExpression,\n iteratee: TSESTree.Node,\n { method, callType }: { method: string; callType: string },\n ) => void,\n) {\n const remedaContext = new RemedaContext(context);\n const visitors: RemedaMethodVisitors = remedaContext.getImportVisitors();\n\n visitors.CallExpression = getRemedaMethodCallExpVisitor(\n remedaContext,\n remedaCallExpVisitor,\n );\n\n return visitors;\n}\n\n/**\n * Gets a RemedaContext for a given context.\n *\n * @param context - The context to get the Remeda context for.\n * @returns A RemedaContext for a given context.\n */\nfunction getRemedaContext(context: ESLintContext) {\n return new RemedaContext(context);\n}\n\nexport {\n getIsTypeMethod,\n getRemedaContext,\n getRemedaMethodCallExpVisitor,\n getRemedaMethodVisitors,\n isCallToMethod,\n isCallToRemedaMethod,\n};\n","/**\n * Rule to enforce usage of collection method values.\n */\n\nimport { includes } from \"lodash-es\";\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getMethodName } from \"../util/getMethodName\";\nimport {\n getSideEffectIterationMethods,\n isCollectionMethod,\n} from \"../util/methodDataUtil\";\nimport { getRemedaMethodVisitors, isCallToMethod } from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"collection-method-value\";\n\ntype MessageIds = \"useReturnValueId\" | \"dontUseReturnValueId\";\ntype Options = [];\n\nfunction parentUsesValue(node: TSESTree.CallExpression) {\n return node.parent.type !== AST_NODE_TYPES.ExpressionStatement;\n}\n\nfunction isSideEffectIterationMethod(method: string) {\n return includes(getSideEffectIterationMethods(), method);\n}\n\nfunction isParentCommit(node: TSESTree.CallExpression, callType: string) {\n return (\n callType === \"chained\" &&\n node.parent.parent &&\n isCallToMethod(node.parent.parent, \"commit\")\n );\n}\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description: \"enforce proper usage of collection method return values\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n useReturnValueId: \"Use value returned from R.{{method}}\",\n dontUseReturnValueId: \"Do not use value returned from R.{{method}}\",\n },\n },\n defaultOptions: [],\n create(context) {\n return getRemedaMethodVisitors(\n context,\n (\n node: TSESTree.CallExpression,\n iteratee: TSESTree.Node,\n { method, callType }: { method: string; callType: string },\n ) => {\n // Check side-effect methods first (like forEach)\n if (\n isSideEffectIterationMethod(method) &&\n parentUsesValue(node) &&\n !isParentCommit(node, callType)\n ) {\n context.report({\n node,\n messageId: \"dontUseReturnValueId\",\n data: { method: getMethodName(node) },\n });\n } else if (\n isCollectionMethod(method) &&\n !isSideEffectIterationMethod(method) &&\n !parentUsesValue(node)\n ) {\n // Then check other collection methods (like map, filter, etc.)\n context.report({\n node,\n messageId: \"useReturnValueId\",\n data: { method },\n });\n }\n },\n );\n },\n});\n","import { matchesProperty, overSome } from \"lodash-es\";\n\nconst isFunctionExpression = overSome(\n matchesProperty(\"type\", \"FunctionExpression\"),\n // eslint-disable-next-line\n matchesProperty(\"type\", \"FunctionDeclaration\"),\n);\n\nexport { isFunctionExpression };\n","import { matches, overSome } from \"lodash-es\";\nimport { isFunctionExpression } from \"./isFunctionExpression\";\n\n/**\n * Returns whether the node is a function declaration that has a block.\n *\n * @param node - The node to check.\n */\nconst isFunctionDefinitionWithBlock = overSome(\n isFunctionExpression,\n // eslint-disable-next-line\n matches({\n type: \"ArrowFunctionExpression\",\n body: { type: \"BlockStatement\" },\n }),\n);\n\nexport { isFunctionDefinitionWithBlock };\n","import { includes } from \"lodash-es\";\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { isFunctionDefinitionWithBlock } from \"../util/isFunctionDefinitionWithBlock\";\nimport {\n getSideEffectIterationMethods,\n isCollectionMethod,\n} from \"../util/methodDataUtil\";\nimport {\n getRemedaContext,\n getRemedaMethodCallExpVisitor,\n} from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"collection-return\";\nconst NO_RETURN_MESSAGE = \"Do not use R.{{method}} without returning a value\";\n\ntype MessageIds = \"no-return\";\ntype Options = [];\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description:\n \"enforce returning a value in iteratees of Remeda collection methods that aren't `forEach`\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"no-return\": NO_RETURN_MESSAGE,\n },\n },\n defaultOptions: [],\n // @ts-expect-error\n create(context) {\n const remedaContext = getRemedaContext(context);\n\n return {\n \"CallExpression:exit\": getRemedaMethodCallExpVisitor(\n remedaContext,\n // @ts-expect-error\n (\n node,\n iteratee:\n | TSESTree.FunctionExpression\n | TSESTree.ArrowFunctionExpression\n | TSESTree.FunctionDeclaration,\n { method },\n ) => {\n if (!isCollectionMethod(method)) {\n return;\n }\n\n // Side-effect methods like forEach don't need to return values\n if (includes(getSideEffectIterationMethods(), method)) {\n return;\n }\n\n if (\n !isFunctionDefinitionWithBlock(iteratee) ||\n iteratee.async ||\n iteratee.generator\n ) {\n return;\n }\n\n // Check if the function has a return statement\n const hasReturnStatement =\n iteratee.body.type === AST_NODE_TYPES.BlockStatement &&\n iteratee.body.body.some(\n (statement): statement is TSESTree.ReturnStatement => {\n return statement.type === AST_NODE_TYPES.ReturnStatement;\n },\n );\n\n if (!hasReturnStatement) {\n context.report({\n node,\n messageId: \"no-return\",\n data: { method },\n });\n }\n },\n ),\n ...remedaContext.getImportVisitors(),\n };\n },\n});\n","import { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\nimport { isFunctionDefinitionWithBlock } from \"./isFunctionDefinitionWithBlock\";\n\n/**\n * If the node specified is a function, returns the node corresponding with the first statement/expression in that function.\n *\n * @param node - The node to check.\n */\nconst getFirstFunctionLine = (\n node:\n | TSESTree.FunctionExpression\n | TSESTree.ArrowFunctionExpression\n | TSESTree.FunctionDeclaration\n | null\n | undefined,\n): TSESTree.Node | undefined => {\n if (!node) {\n return undefined;\n }\n\n if (isFunctionDefinitionWithBlock(node)) {\n if (node.body.type === AST_NODE_TYPES.BlockStatement) {\n return node.body.body[0];\n }\n\n return undefined;\n }\n\n if (node.type === AST_NODE_TYPES.ArrowFunctionExpression) {\n return node.body;\n }\n\n return undefined;\n};\n\nexport { getFirstFunctionLine };\n","import { matchesProperty } from \"lodash-es\";\n\nconst isReturnStatement = matchesProperty(\"type\", \"ReturnStatement\");\n\nexport { isReturnStatement };\n","import { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\nimport { getFirstFunctionLine } from \"./getFirstFunctionLine\";\nimport { isFunctionDefinitionWithBlock } from \"./isFunctionDefinitionWithBlock\";\nimport { isReturnStatement } from \"./isReturnStatement\";\n\n/**\n * Returns the node of the value returned in the first line, if any.\n *\n * @param func - The function to check.\n */\nfunction getValueReturnedInFirstStatement(\n func:\n | TSESTree.FunctionExpression\n | TSESTree.ArrowFunctionExpression\n | TSESTree.FunctionDeclaration\n | null\n | undefined,\n): TSESTree.Node | undefined {\n const firstLine = getFirstFunctionLine(func);\n\n if (!func) {\n return undefined;\n }\n\n if (isFunctionDefinitionWithBlock(func)) {\n if (\n firstLine &&\n isReturnStatement(firstLine) &&\n firstLine.type === AST_NODE_TYPES.ReturnStatement\n ) {\n return firstLine.argument ?? undefined;\n }\n\n return undefined;\n }\n\n if (func.type === AST_NODE_TYPES.ArrowFunctionExpression) {\n return firstLine;\n }\n\n return undefined;\n}\n\nexport { getValueReturnedInFirstStatement };\n","/**\n * Rule to check if the expression could be better expressed as a R.constant.\n */\n\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getValueReturnedInFirstStatement } from \"../util/getValueReturnedInFirstStatement\";\n\nexport const RULE_NAME = \"prefer-constant\";\nconst MESSAGE_ID = \"prefer-constant\";\n\ntype MessageIds = typeof MESSAGE_ID;\ntype Options = [boolean?, boolean?];\n\nfunction isCompletelyLiteral(node: TSESTree.Node): boolean {\n switch (node.type) {\n case AST_NODE_TYPES.Literal: {\n return true;\n }\n case AST_NODE_TYPES.BinaryExpression: {\n return isCompletelyLiteral(node.left) && isCompletelyLiteral(node.right);\n }\n case AST_NODE_TYPES.UnaryExpression: {\n return isCompletelyLiteral(node.argument);\n }\n case AST_NODE_TYPES.ConditionalExpression: {\n return (\n isCompletelyLiteral(node.test) &&\n isCompletelyLiteral(node.consequent) &&\n isCompletelyLiteral(node.alternate)\n );\n }\n default: {\n return false;\n }\n }\n}\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description: \"enforce using R.constant over functions returning literals\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [\n {\n type: \"boolean\",\n description:\n \"Whether to check arrow functions for literals in return statements. Default: true.\",\n },\n {\n type: \"boolean\",\n description:\n \"Whether to check function declarations for literals in return statements. Default: false.\",\n },\n ],\n defaultOptions: [true, false],\n messages: {\n [MESSAGE_ID]: \"Prefer R.constant over a function returning a literal\",\n },\n },\n defaultOptions: [true, false],\n create(context) {\n const shouldCheckArrowFunctions = context.options[0] ?? true;\n const shouldCheckFunctionDeclarations = context.options[1] ?? false;\n\n function reportIfLikeConstant(\n node:\n | TSESTree.FunctionExpression\n | TSESTree.ArrowFunctionExpression\n | TSESTree.FunctionDeclaration,\n func: (\n node:\n | TSESTree.FunctionExpression\n | TSESTree.ArrowFunctionExpression\n | TSESTree.FunctionDeclaration\n | null\n | undefined,\n ) => TSESTree.Node | undefined,\n ) {\n const valueReturnedInFirstLine = func(node);\n\n if (\n valueReturnedInFirstLine &&\n isCompletelyLiteral(valueReturnedInFirstLine)\n ) {\n context.report({\n node,\n messageId: MESSAGE_ID,\n });\n }\n }\n\n function handleFunctionDefinition(\n node:\n | TSESTree.FunctionExpression\n | TSESTree.ArrowFunctionExpression\n | TSESTree.FunctionDeclaration,\n ) {\n reportIfLikeConstant(node, getValueReturnedInFirstStatement);\n }\n\n return {\n FunctionExpression: handleFunctionDefinition,\n FunctionDeclaration(node) {\n if (shouldCheckFunctionDeclarations) {\n handleFunctionDefinition(node);\n }\n },\n ArrowFunctionExpression(node) {\n if (shouldCheckArrowFunctions) {\n handleFunctionDefinition(node);\n }\n },\n };\n },\n});\n","import {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getFirstFunctionLine } from \"../util/getFirstFunctionLine\";\n\nexport const RULE_NAME = \"prefer-do-nothing\";\nconst MESSAGE =\n \"enforce using R.doNothing() or R.constant(undefined) over an empty function\";\n\ntype MessageIds = \"prefer-do-nothing\";\ntype Options = [];\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description: MESSAGE,\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"prefer-do-nothing\": MESSAGE,\n },\n },\n defaultOptions: [],\n create(context) {\n function reportIfEmptyFunction(\n node: TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression,\n ) {\n if (\n !getFirstFunctionLine(node) &&\n node.parent.type !== AST_NODE_TYPES.MethodDefinition &&\n !node.generator &&\n !node.async\n ) {\n context.report({\n node,\n messageId: \"prefer-do-nothing\",\n });\n }\n }\n\n return {\n FunctionExpression: reportIfEmptyFunction,\n ArrowFunctionExpression: reportIfEmptyFunction,\n };\n },\n});\n","import { property } from \"lodash-es\";\n\n/**\n * Returns the name of the first parameter of a function, if it exists.\n *\n * @param func - The function to check.\n */\nconst getFirstParamName = property(\"params[0].name\");\n\nexport { getFirstParamName };\n","import { get } from \"lodash-es\";\nimport { isFunctionDefinitionWithBlock } from \"./isFunctionDefinitionWithBlock\";\n\n/**\n * Returns whether the node specified has only one statement.\n *\n * @param func - The function to check.\n */\nfunction hasOnlyOneStatement(func: {\n type: string;\n body: { body?: unknown };\n}): boolean {\n if (isFunctionDefinitionWithBlock(func)) {\n const body = get(func, \"body.body\");\n\n return Array.isArray(body) && body.length === 1;\n }\n if (func.type === \"ArrowFunctionExpression\") {\n return !get(func, \"body.body\");\n }\n\n return false;\n}\n\nexport { hasOnlyOneStatement };\n","import { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\n\n/**\n * Returns whether the node is a literal.\n *\n * @param node - The node to check.\n */\nfunction isLiteral(node: TSESTree.Node | null | undefined) {\n return node?.type === AST_NODE_TYPES.Literal;\n}\n\nexport { isLiteral };\n","import { matches, matchesProperty, overSome } from \"lodash-es\";\n\nconst isPropAccess = overSome(\n matches({ computed: false }),\n // eslint-disable-next-line\n matchesProperty(\"property.type\", \"Literal\"),\n);\n\nexport { isPropAccess };\n","import { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\nimport { isPropAccess } from \"./isPropAccess\";\n\ninterface IsMemberExpOfOptions {\n maxLength?: number;\n allowComputed?: boolean;\n}\n\n/**\n * Returns whether the node is a member expression starting with the same object, up to the specified length.\n *\n * @param node - The node to check.\n * @param objectName - The object name to check against.\n */\nfunction isMemberExpOf(\n node: TSESTree.Node | null | undefined,\n objectName: string,\n { maxLength = Number.MAX_VALUE, allowComputed }: IsMemberExpOfOptions = {},\n): boolean {\n if (!objectName) {\n return false;\n }\n\n let currentNode = node;\n let depth = maxLength;\n\n while (currentNode && depth) {\n if (allowComputed || isPropAccess(currentNode)) {\n if (\n currentNode.type === AST_NODE_TYPES.MemberExpression &&\n currentNode.object.type === AST_NODE_TYPES.Identifier &&\n currentNode.object.name === objectName\n ) {\n return true;\n }\n currentNode =\n currentNode.type === AST_NODE_TYPES.MemberExpression\n ? currentNode.object\n : undefined;\n depth = depth - 1;\n } else {\n return false;\n }\n }\n\n return false;\n}\n\nexport { isMemberExpOf };\n","import { isMatch } from \"lodash-es\";\nimport type { TSESTree } from \"@typescript-eslint/utils\";\nimport { isLiteral } from \"./isLiteral\";\nimport { isMemberExpOf } from \"./isMemberExpOf\";\n\ninterface IsBinaryExpWithMemberOfOptions {\n maxLength?: number;\n allowComputed?: boolean;\n onlyLiterals?: boolean;\n}\n\n/**\n * Returns whether the expression specified is a binary expression with the specified operator and one of its sides is a member expression of the specified object name.\n */\nfunction isBinaryExpWithMemberOf(\n operator: string,\n exp: TSESTree.BinaryExpression,\n objectName: string,\n {\n maxLength,\n allowComputed,\n onlyLiterals,\n }: IsBinaryExpWithMemberOfOptions = {},\n) {\n if (!isMatch(exp, { type: \"BinaryExpression\", operator })) {\n return false;\n }\n const [left, right] = [exp.left, exp.right].map((side) =>\n isMemberExpOf(side, objectName, { maxLength, allowComputed }),\n );\n\n return (\n left === !right &&\n (!onlyLiterals || isLiteral(exp.left) || isLiteral(exp.right))\n );\n}\n\nexport { isBinaryExpWithMemberOf };\n","/**\n * Checks if the given expression is an identifier with the specified name.\n *\n * @param expression - The expression to check.\n * @param paramName - The name to check against.\n */\nfunction isIdentifierWithName(\n expression: { type: string; name: string },\n paramName: string,\n) {\n return (\n expression &&\n paramName &&\n expression.type === \"Identifier\" &&\n expression.name === paramName\n );\n}\n\nexport { isIdentifierWithName };\n","import { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\nimport { isMemberExpOf } from \"./isMemberExpOf\";\n\ninterface IsNegationOfMemberOfOptions {\n maxLength?: number;\n}\n\n/**\n * Returns whether the expression is a negation of a member of objectName, in the specified depth.\n */\nfunction isNegationOfMemberOf(\n exp: TSESTree.Node | null | undefined,\n objectName: string,\n { maxLength }: IsNegationOfMemberOfOptions = {},\n) {\n if (\n !exp ||\n exp.type !== AST_NODE_TYPES.UnaryExpression ||\n exp.operator !== \"!\"\n ) {\n return false;\n }\n\n return isMemberExpOf(exp.argument, objectName, {\n maxLength,\n allowComputed: false,\n });\n}\n\nexport { isNegationOfMemberOf };\n","/**\n * Rule to check if a call to R.forEach should be a call to R.filter.\n */\n\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getFirstFunctionLine } from \"../util/getFirstFunctionLine\";\nimport { getFirstParamName } from \"../util/getFirstParamName\";\nimport { hasOnlyOneStatement } from \"../util/hasOnlyOneStatement\";\nimport { isBinaryExpWithMemberOf } from \"../util/isBinaryExpWithMemberOf\";\nimport { isIdentifierWithName } from \"../util/isIdentifierWithName\";\nimport { isMemberExpOf } from \"../util/isMemberExpOf\";\nimport { isNegationOfMemberOf } from \"../util/isNegationOfMemberOf\";\nimport { getRemedaMethodVisitors } from \"../util/remedaUtil\";\n\nconst isEqEqEqToMemberOf = isBinaryExpWithMemberOf.bind(null, \"===\");\nconst isNotEqEqToMemberOf = isBinaryExpWithMemberOf.bind(null, \"!==\");\n\nexport const RULE_NAME = \"prefer-filter\";\nconst MESSAGE =\n \"Prefer R.filter or R.some over an if statement inside a R.forEach\";\n\ntype MessageIds = \"prefer-filter\";\ntype Options = [\n {\n maxPropertyPathLength?: number;\n },\n];\n\nfunction isIfWithoutElse(\n statement: TSESTree.IfStatement | null | undefined,\n): boolean {\n return Boolean(statement && !statement.alternate);\n}\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description:\n \"enforce using R.filter or R.some over an if statement inside a R.forEach\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [\n {\n type: \"object\",\n properties: {\n maxPropertyPathLength: {\n type: \"integer\",\n minimum: 1,\n description: \"Maximum length of property paths to check\",\n },\n },\n additionalProperties: false,\n },\n ],\n defaultOptions: [{ maxPropertyPathLength: 3 }],\n messages: {\n \"prefer-filter\": MESSAGE,\n },\n },\n defaultOptions: [{ maxPropertyPathLength: 3 }],\n create(context, [options]) {\n const DEFAULT_MAX_PROPERTY_PATH_LENGTH = 3;\n const maxLength =\n options.maxPropertyPathLength ?? DEFAULT_MAX_PROPERTY_PATH_LENGTH;\n\n function canBeShorthand(exp: TSESTree.Node, paramName: string): boolean {\n return (\n (exp.type === AST_NODE_TYPES.Identifier &&\n isIdentifierWithName(exp, paramName)) ||\n isMemberExpOf(exp, paramName, { maxLength }) ||\n isNegationOfMemberOf(exp, paramName, { maxLength }) ||\n (exp.type === AST_NODE_TYPES.BinaryExpression &&\n isEqEqEqToMemberOf(exp, paramName, { maxLength })) ||\n (exp.type === AST_NODE_TYPES.BinaryExpression &&\n isNotEqEqToMemberOf(exp, paramName, { maxLength }))\n );\n }\n\n function onlyHasSimplifiableIf(\n func: TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression,\n ): boolean {\n const firstLine = getFirstFunctionLine(func) as\n | TSESTree.IfStatement\n | undefined;\n const paramName = getFirstParamName(func) as string | undefined;\n const hasOneStatement =\n func.type === AST_NODE_TYPES.ArrowFunctionExpression\n ? func.body.type !== AST_NODE_TYPES.BlockStatement\n : hasOnlyOneStatement(func);\n\n if (!paramName || !firstLine) {\n return false;\n }\n\n return Boolean(\n hasOneStatement &&\n func.params.length === 1 &&\n isIfWithoutElse(firstLine) &&\n canBeShorthand(firstLine.test, paramName),\n );\n }\n\n return getRemedaMethodVisitors(\n context,\n (\n node: TSESTree.CallExpression,\n iteratee: TSESTree.Node,\n { method }: { method: string },\n ) => {\n if (\n method === \"forEach\" &&\n onlyHasSimplifiableIf(\n iteratee as\n | TSESTree.FunctionExpression\n | TSESTree.ArrowFunctionExpression,\n )\n ) {\n context.report({\n node,\n messageId: \"prefer-filter\",\n });\n }\n },\n );\n },\n});\n","/* eslint-disable @typescript-eslint/no-unsafe-argument */\n/* eslint-disable @regru/prefer-early-return/prefer-early-return */\n\n/**\n * Rule to check if a call to `R.filter` should be a call to `R.find`.\n */\n\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport {\n getRemedaMethodVisitors,\n isCallToMethod,\n isCallToRemedaMethod,\n} from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"prefer-find\";\n\nconst PREFER_FIND_MESSAGE =\n \"Prefer using `R.find` over selecting the first item of a filtered result\";\nconst PREFER_FIND_LAST_MESSAGE =\n \"Prefer using `R.findLast` over selecting the last item of a filtered result\";\n\ntype MessageIds = \"prefer-find\" | \"prefer-find-last\";\ntype Options = [];\n\nfunction isZeroIndexAccess(\n node: TSESTree.Node,\n): node is TSESTree.MemberExpression {\n return (\n node.type === AST_NODE_TYPES.MemberExpression &&\n node.property.type === AST_NODE_TYPES.Literal &&\n node.property.value === 0\n );\n}\n\nfunction isChainedBeforeMethod(\n callType: string,\n node: TSESTree.Node,\n method: string,\n): boolean {\n return (\n callType === \"chained\" &&\n node.parent?.parent !== undefined &&\n isCallToMethod(node.parent.parent, method)\n );\n}\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description:\n \"enforce using `R.find` over selecting the first item of a filtered result\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"prefer-find\": PREFER_FIND_MESSAGE,\n \"prefer-find-last\": PREFER_FIND_LAST_MESSAGE,\n },\n },\n defaultOptions: [],\n create(context) {\n return getRemedaMethodVisitors(\n context,\n (\n node: TSESTree.Node,\n iteratee: TSESTree.Node,\n // @ts-expect-error\n { method, callType, remedaContext },\n ) => {\n if (method === \"filter\") {\n if (\n (node.parent && isZeroIndexAccess(node.parent)) ||\n isCallToRemedaMethod(node.parent, \"first\", remedaContext) ||\n isChainedBeforeMethod(callType, node, \"first\")\n ) {\n context.report({\n node,\n messageId: \"prefer-find\",\n });\n }\n if (\n isCallToRemedaMethod(node.parent, \"last\", remedaContext) ||\n isChainedBeforeMethod(callType, node, \"last\")\n ) {\n context.report({\n node,\n messageId: \"prefer-find-last\",\n });\n }\n }\n },\n );\n },\n});\n","/* eslint-disable @typescript-eslint/no-unsafe-argument */\n/**\n * Rule to check if a call to map and flatten should be a call to R.flatMap.\n */\n\nimport { ESLintUtils, type TSESTree } from \"@typescript-eslint/utils\";\nimport { getCaller } from \"../util/getCaller\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport {\n getRemedaMethodVisitors,\n isCallToMethod,\n isCallToRemedaMethod,\n} from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"prefer-flat-map\";\n\ntype MessageIds = \"prefer-flat-map\";\ntype Options = [];\n\nfunction isChainedMapFlatten(node: TSESTree.Node): boolean {\n const caller = getCaller(node);\n\n return caller ? isCallToMethod(caller, \"map\") : false;\n}\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description: \"enforce using R.flatMap over consecutive R.map and R.flat\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"prefer-flat-map\": \"Prefer R.flatMap over consecutive R.map and R.flat.\",\n },\n },\n defaultOptions: [],\n create(context) {\n return getRemedaMethodVisitors(\n context,\n // @ts-expect-error\n (node, iteratee, { method, remedaContext }) => {\n if (\n method === \"flat\" &&\n (isChainedMapFlatten(node) ||\n isCallToRemedaMethod(node.arguments[0], \"map\", remedaContext))\n ) {\n context.report({\n node,\n messageId: \"prefer-flat-map\",\n });\n }\n },\n );\n },\n});\n","/**\n * Rule to check if array.length comparisons or negated isEmpty calls should be replaced with R.hasAtLeast.\n */\n\nimport { isEmpty, isNumber } from \"lodash-es\";\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getRemedaContext, isCallToRemedaMethod } from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"prefer-has-atleast\";\nconst LENGTH_COMPARISON_MESSAGE =\n \"Prefer R.hasAtLeast over array.length comparison\";\nconst NEGATED_ISEMPTY_MESSAGE =\n \"Prefer R.hasAtLeast(data, 1) over negated R.isEmpty for better type narrowing\";\n\ntype MessageIds =\n | \"prefer-has-atleast\"\n | \"prefer-has-atleast-over-negated-isempty\";\ntype Options = [];\n\nfunction isArrayLengthProperty(\n node: TSESTree.Node,\n): node is TSESTree.MemberExpression {\n return (\n node.type === AST_NODE_TYPES.MemberExpression &&\n node.property.type === AST_NODE_TYPES.Identifier &&\n node.property.name === \"length\"\n );\n}\n\nfunction isNumberLiteral(node: TSESTree.Node): node is TSESTree.Literal {\n return node.type === AST_NODE_TYPES.Literal && isNumber(node.value);\n}\n\nfunction getNumberValue(node: TSESTree.Node): number | null {\n if (isNumberLiteral(node)) {\n return node.value as number;\n }\n\n return null;\n}\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description:\n \"enforce R.hasAtLeast over array.length comparison or negated R.isEmpty.\",\n url: getDocsUrl(RULE_NAME),\n },\n fixable: \"code\",\n schema: [],\n messages: {\n \"prefer-has-atleast\": LENGTH_COMPARISON_MESSAGE,\n \"prefer-has-atleast-over-negated-isempty\": NEGATED_ISEMPTY_MESSAGE,\n },\n },\n defaultOptions: [],\n create(context) {\n const { sourceCode } = context;\n const remedaContext = getRemedaContext(context);\n\n function isRemedaIsEmptyCall(\n node: TSESTree.Node,\n ): node is TSESTree.CallExpression {\n return (\n node.type === AST_NODE_TYPES.CallExpression &&\n // @ts-expect-error\n isCallToRemedaMethod(node, \"isEmpty\", remedaContext)\n );\n }\n\n function reportArrayLengthComparison(\n node: TSESTree.BinaryExpression,\n arrayNode: TSESTree.Expression,\n numberNode: TSESTree.Expression,\n operator: string,\n ) {\n const numberValue = getNumberValue(numberNode);\n\n if (numberValue === null) {\n return;\n }\n\n let targetNumber: number;\n\n switch (operator) {\n case \">=\": {\n targetNumber = numberValue;\n\n break;\n }\n case \">\": {\n targetNumber = numberValue + 1;\n\n break;\n }\n case \"<=\": {\n targetNumber = numberValue;\n\n break;\n }\n case \"<\": {\n targetNumber = numberValue - 1;\n\n break;\n }\n default: {\n return;\n }\n }\n\n context.report({\n node,\n messageId: \"prefer-has-atleast\",\n fix(fixer) {\n return fixer.replaceText(\n node,\n `R.hasAtLeast(${targetNumber.toString()}, ${sourceCode.getText(arrayNode)})`,\n );\n },\n });\n }\n\n return {\n BinaryExpression(node) {\n if (\n node.operator === \">=\" &&\n isArrayLengthProperty(node.left) &&\n isNumberLiteral(node.right)\n ) {\n reportArrayLengthComparison(node, node.left.object, node.right, \">=\");\n } else if (\n node.operator === \"<=\" &&\n isNumberLiteral(node.left) &&\n isArrayLengthProperty(node.right)\n ) {\n reportArrayLengthComparison(node, node.right.object, node.left, \"<=\");\n } else if (\n node.operator === \">\" &&\n isArrayLengthProperty(node.left) &&\n isNumberLiteral(node.right)\n ) {\n reportArrayLengthComparison(node, node.left.object, node.right, \">\");\n } else if (\n node.operator === \"<\" &&\n isNumberLiteral(node.left) &&\n isArrayLengthProperty(node.right)\n ) {\n reportArrayLengthComparison(node, node.right.object, node.left, \"<\");\n } else if (\n (node.operator === \"===\" || node.operator === \"!==\") &&\n ((node.left.type === AST_NODE_TYPES.Literal &&\n node.left.value === false) ||\n (node.right.type === AST_NODE_TYPES.Literal &&\n node.right.value === false) ||\n (node.left.type === AST_NODE_TYPES.Literal &&\n node.left.value === true) ||\n (node.right.type === AST_NODE_TYPES.Literal &&\n node.right.value === true))\n ) {\n let isEmptyCall: TSESTree.CallExpression | null = null;\n\n if (isRemedaIsEmptyCall(node.left)) {\n isEmptyCall = node.left;\n } else if (isRemedaIsEmptyCall(node.right)) {\n isEmptyCall = node.right;\n }\n\n if (isEmptyCall && !isEmpty(isEmptyCall.arguments)) {\n // Only report if it's a negated comparison (isEmpty === false or isEmpty !== true)\n const isNegated =\n (node.operator === \"===\" &&\n node.left.type === AST_NODE_TYPES.Literal &&\n node.left.value === false) ||\n (node.operator === \"===\" &&\n node.right.type === AST_NODE_TYPES.Literal &&\n node.right.value === false) ||\n (node.operator === \"!==\" &&\n node.left.type === AST_NODE_TYPES.Literal &&\n node.left.value === true) ||\n (node.operator === \"!==\" &&\n node.right.type === AST_NODE_TYPES.Literal &&\n node.right.value === true);\n\n if (isNegated) {\n context.report({\n node,\n messageId: \"prefer-has-atleast-over-negated-isempty\",\n fix(fixer) {\n return fixer.replaceText(\n node,\n `R.hasAtLeast(${sourceCode.getText(isEmptyCall.arguments[0])}, 1)`,\n );\n },\n });\n }\n }\n }\n },\n UnaryExpression(node) {\n if (node.operator !== \"!\" || !isRemedaIsEmptyCall(node.argument)) {\n return;\n }\n\n const isEmptyCall = node.argument;\n\n if (isEmpty(isEmptyCall.arguments)) {\n return;\n }\n\n context.report({\n node,\n messageId: \"prefer-has-atleast-over-negated-isempty\",\n fix(fixer) {\n return fixer.replaceText(\n node,\n `R.hasAtLeast(${sourceCode.getText(isEmptyCall.arguments[0])}, 1)`,\n );\n },\n });\n },\n };\n },\n});\n","/**\n * Rule to prefer isEmpty over manually checking for length value.\n */\n\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport type { RemedaMethodVisitors } from \"../types\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getRemedaContext } from \"../util/remedaUtil\";\n\nconst MESSAGE_ID = \"preferIsEmpty\";\n\ntype MessageIds = typeof MESSAGE_ID;\ntype Options = [];\n\nconst createRule = ESLintUtils.RuleCreator(getDocsUrl);\n\nconst rule = createRule<Options, MessageIds>({\n name: \"prefer-is-empty\",\n meta: {\n type: \"problem\",\n docs: {\n description: \"enforce isEmpty over manually checking for length value.\",\n url: getDocsUrl(\"prefer-is-empty\"),\n },\n fixable: \"code\",\n schema: [],\n messages: {\n [MESSAGE_ID]: \"Prefer isEmpty over manually checking for length value.\",\n },\n },\n defaultOptions: [],\n create(context) {\n const remedaContext = getRemedaContext(context);\n const { sourceCode } = context;\n\n function getTextOfNode(node: TSESTree.Expression): string {\n if (node.type === AST_NODE_TYPES.Identifier) {\n return node.name;\n }\n\n return sourceCode.getText(node);\n }\n\n const visitors: RemedaMethodVisitors = remedaContext.getImportVisitors();\n\n visitors.BinaryExpression = function (node: TSESTree.BinaryExpression) {\n const { left, right, operator } = node;\n\n // Check for === 0\n if (\n operator === \"===\" &&\n right.type === AST_NODE_TYPES.Literal &&\n right.value === 0\n ) {\n let subjectObject: TSESTree.Expression | null = null;\n\n if (\n left.type === AST_NODE_TYPES.MemberExpression &&\n left.property.type === AST_NODE_TYPES.Identifier &&\n left.property.name === \"length\"\n ) {\n subjectObject = left.object;\n } else if (\n left.type === AST_NODE_TYPES.ChainExpression &&\n left.expression.type === AST_NODE_TYPES.MemberExpression &&\n left.expression.property.type === AST_NODE_TYPES.Identifier &&\n left.expression.property.name === \"length\"\n ) {\n subjectObject = left.expression.object;\n }\n\n if (subjectObject) {\n context.report({\n node,\n messageId: MESSAGE_ID,\n fix(fixer) {\n const subjectText = getTextOfNode(subjectObject);\n\n // Assuming R is imported or available globally/via context\n return fixer.replaceText(node, `isEmpty(${subjectText})`);\n },\n });\n }\n }\n\n // Check for > 0\n if (\n operator === \">\" &&\n right.type === AST_NODE_TYPES.Literal &&\n right.value === 0\n ) {\n let subjectObject: TSESTree.Expression | null = null;\n\n if (\n left.type === AST_NODE_TYPES.MemberExpression &&\n left.property.type === AST_NODE_TYPES.Identifier &&\n left.property.name === \"length\"\n ) {\n subjectObject = left.object;\n } else if (\n left.type === AST_NODE_TYPES.ChainExpression &&\n left.expression.type === AST_NODE_TYPES.MemberExpression &&\n left.expression.property.type === AST_NODE_TYPES.Identifier &&\n left.expression.property.name === \"length\"\n ) {\n subjectObject = left.expression.object;\n }\n\n if (subjectObject) {\n context.report({\n node,\n messageId: MESSAGE_ID,\n fix(fixer) {\n const subjectText = getTextOfNode(subjectObject);\n\n // Assuming R is imported or available globally/via context\n return fixer.replaceText(node, `!isEmpty(${subjectText})`);\n },\n });\n }\n }\n };\n\n return visitors;\n },\n});\n\nexport const RULE_NAME = \"prefer-is-empty\";\nexport default rule;\n","import { get } from \"lodash-es\";\nimport { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\n\n/**\n * Returns whether the node is actually computed (x['ab'] does not count, x['a' + 'b'] does.\n *\n * @param node - The node to check.\n */\nfunction isComputed(node: TSESTree.MemberExpression): boolean {\n return get(node, \"computed\") && node.property.type !== AST_NODE_TYPES.Literal;\n}\n\nexport { isComputed };\n","import { includes, isEqualWith } from \"lodash-es\";\nimport { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\nimport { isComputed } from \"./isComputed\";\n\n/**\n * Returns whether the two expressions refer to the same object (e.g. A['b'].c and a.b.c).\n *\n * @param a - The first expression to check.\n * @param b - The second expression to check.\n */\nfunction isEquivalentMemberExp(\n a: TSESTree.MemberExpression,\n b: TSESTree.MemberExpression,\n) {\n return isEqualWith(\n a,\n b,\n (\n left: TSESTree.Node | undefined,\n right: TSESTree.Node | undefined,\n key: PropertyKey | undefined,\n ) => {\n if (!left || !right || !key) {\n return undefined;\n }\n if (\n includes([\"loc\", \"range\", \"computed\", \"start\", \"end\", \"parent\"], key)\n ) {\n return true;\n }\n if (\n isComputed(left as TSESTree.MemberExpression) ||\n isComputed(right as TSESTree.MemberExpression)\n ) {\n return false;\n }\n if (key === \"property\") {\n if (\n left.type === AST_NODE_TYPES.Identifier &&\n right.type === AST_NODE_TYPES.Identifier\n ) {\n return left.name === right.name;\n }\n if (\n left.type === AST_NODE_TYPES.Literal &&\n right.type === AST_NODE_TYPES.Literal\n ) {\n return left.value === right.value;\n }\n\n return false;\n }\n\n return undefined;\n },\n );\n}\n\nexport { isEquivalentMemberExp };\n","import { matches } from \"lodash-es\";\n\n/**\n * Returns whether the expression is a negation.\n *\n * @param exp - The expression to check.\n */\nconst isNegationExpression = matches({\n type: \"UnaryExpression\",\n operator: \"!\",\n});\n\nexport { isNegationExpression };\n","/* eslint-disable @typescript-eslint/no-unsafe-argument */\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n\n/* eslint-disable @typescript-eslint/no-unsafe-return */\n/**\n * Rule to prefer isNullish over manual checking for undefined or null.\n */\n\nimport { cond, find, map, matches, property } from \"lodash-es\";\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport type { RemedaMethodVisitors } from \"../types\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { isEquivalentMemberExp } from \"../util/isEquivalentMemberExp\";\nimport { isNegationExpression } from \"../util/isNegationExpression\";\nimport { getRemedaContext, isCallToRemedaMethod } from \"../util/remedaUtil\";\n\ninterface ExpressionNode {\n type: string;\n operator: unknown;\n right: unknown;\n left: unknown;\n}\n\nexport const RULE_NAME = \"prefer-is-nullish\";\nconst PREFER_IS_NULLISH_MESSAGE =\n \"Prefer isNullish over checking for undefined or null.\";\n\ntype MessageIds = \"prefer-is-nullish\";\ntype Options = [];\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description:\n \"enforce R.isNullish over checks for both null and undefined.\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"prefer-is-nullish\": PREFER_IS_NULLISH_MESSAGE,\n },\n },\n defaultOptions: [],\n create(context) {\n const remedaContext = getRemedaContext(context);\n\n function getRemedaTypeCheckedBy(typecheck: string) {\n // @ts-expect-error\n return function (node) {\n return (\n // @ts-expect-error\n isCallToRemedaMethod(node, typecheck, remedaContext) &&\n node.arguments[0]\n );\n };\n }\n\n const getTypeofArgument = cond([\n [\n matches({ type: \"UnaryExpression\", operator: \"typeof\" }),\n property(\"argument\"),\n ],\n ]);\n\n const isUndefinedString = matches({\n type: \"Literal\",\n value: \"undefined\",\n });\n\n function getValueWithTypeofUndefinedComparison(\n node: ExpressionNode,\n operator: unknown,\n ) {\n return (\n node.type === \"BinaryExpression\" &&\n node.operator === operator &&\n ((isUndefinedString(node.right) && getTypeofArgument(node.left)) ||\n (isUndefinedString(node.left) && getTypeofArgument(node.right)))\n );\n }\n\n const nilChecksIsValue = {\n null: matches({ type: \"Literal\", value: null }),\n undefined: matches({ type: \"Identifier\", name: \"undefined\" }),\n };\n\n function getValueComparedTo(nil: \"null\" | \"undefined\") {\n return function (node: ExpressionNode, operator: unknown) {\n return (\n node.type === \"BinaryExpression\" &&\n node.operator === operator &&\n ((nilChecksIsValue[nil](node.right) && node.left) ||\n (nilChecksIsValue[nil](node.left) && node.right))\n );\n };\n }\n\n const nilChecksExpressionChecks = {\n null: [getRemedaTypeCheckedBy(\"isNull\"), getValueComparedTo(\"null\")],\n undefined: [\n getRemedaTypeCheckedBy(\"isUndefined\"),\n getValueComparedTo(\"undefined\"),\n getValueWithTypeofUndefinedComparison,\n ],\n };\n\n function checkExpression(\n nil: \"null\" | \"undefined\",\n operator: string,\n node: { type: string; operator: unknown; right: unknown; left: unknown },\n ) {\n const mappedValues = map(nilChecksExpressionChecks[nil], (check) =>\n check(node, operator),\n );\n\n return find(mappedValues);\n }\n\n function checkNegatedExpression(\n nil: \"null\" | \"undefined\",\n node: TSESTree.LogicalExpression | TSESTree.UnaryExpression,\n ) {\n return (\n (isNegationExpression(node) &&\n // @ts-expect-error\n checkExpression(nil, \"===\", node.argument)) ||\n // @ts-expect-error\n checkExpression(nil, \"!==\", node)\n );\n }\n\n function isEquivalentExistingExpression(\n node: TSESTree.LogicalExpression | TSESTree.UnaryExpression,\n leftNil: \"null\" | \"undefined\",\n rightNil: \"null\" | \"undefined\",\n ) {\n if (node.type !== AST_NODE_TYPES.LogicalExpression) {\n return false;\n }\n // @ts-expect-error\n const leftExp = checkExpression(leftNil, \"===\", node.left);\n\n return (\n leftExp &&\n isEquivalentMemberExp(\n leftExp,\n // @ts-expect-error\n checkExpression(rightNil, \"===\", node.right),\n )\n );\n }\n\n function isEquivalentExistingNegation(\n node: TSESTree.LogicalExpression | TSESTree.UnaryExpression,\n leftNil: \"null\" | \"undefined\",\n rightNil: \"null\" | \"undefined\",\n ) {\n // @ts-expect-error\n const leftExp = checkNegatedExpression(leftNil, node.left);\n\n return (\n leftExp &&\n isEquivalentMemberExp(\n leftExp,\n // @ts-expect-error\n checkNegatedExpression(rightNil, node.right),\n )\n );\n }\n\n const visitors: RemedaMethodVisitors = remedaContext.getImportVisitors();\n\n visitors.LogicalExpression = function (node: TSESTree.LogicalExpression) {\n if (node.operator === \"||\") {\n if (\n isEquivalentExistingExpression(node, \"undefined\", \"null\") ||\n isEquivalentExistingExpression(node, \"null\", \"undefined\")\n ) {\n context.report({\n node,\n messageId: \"prefer-is-nullish\",\n });\n }\n } else if (\n isEquivalentExistingNegation(node, \"undefined\", \"null\") ||\n isEquivalentExistingNegation(node, \"null\", \"undefined\")\n ) {\n context.report({\n node,\n messageId: \"prefer-is-nullish\",\n });\n }\n };\n\n return visitors;\n },\n});\n","import { flatMap } from \"lodash-es\";\nimport { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\n\n/**\n * Returns an array of identifier names returned in a parameter or variable definition.\n *\n * @param node - An AST node which is a parameter or variable declaration.\n * @returns List of names defined in the parameter.\n */\nfunction collectParameterValues(\n node: TSESTree.Node | null | undefined,\n): string[] {\n switch (node?.type) {\n case AST_NODE_TYPES.Identifier: {\n return [node.name];\n }\n case AST_NODE_TYPES.ObjectPattern: {\n return flatMap(node.properties, (prop) =>\n collectParameterValues(prop.value),\n );\n }\n case AST_NODE_TYPES.ArrayPattern: {\n return flatMap(node.elements, collectParameterValues);\n }\n default: {\n return [];\n }\n }\n}\n\nexport { collectParameterValues };\n","/**\n * Rule to check if a call to R.forEach should be a call to R.map.\n */\n\nimport { get, includes } from \"lodash-es\";\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { collectParameterValues } from \"../util/collectParameterValues\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getFirstFunctionLine } from \"../util/getFirstFunctionLine\";\nimport { getMethodName } from \"../util/getMethodName\";\nimport { hasOnlyOneStatement } from \"../util/hasOnlyOneStatement\";\nimport { isFunctionDefinitionWithBlock } from \"../util/isFunctionDefinitionWithBlock\";\nimport { getRemedaMethodVisitors } from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"prefer-map\";\ntype MessageIds = \"prefer-map\";\ntype Options = [];\n\nfunction onlyHasPush(\n node:\n | TSESTree.ArrowFunctionExpression\n | TSESTree.FunctionDeclaration\n | TSESTree.FunctionExpression\n | null\n | undefined,\n) {\n const firstLine = getFirstFunctionLine(node);\n const firstParam = get(node, \"params[0]\");\n const exp =\n node && !isFunctionDefinitionWithBlock(node)\n ? firstLine\n : //@ts-expect-error\n firstLine?.expression;\n\n return (\n node &&\n (node.type === AST_NODE_TYPES.ArrowFunctionExpression\n ? true\n : hasOnlyOneStatement(node)) &&\n getMethodName(exp) === \"push\" &&\n !includes(\n collectParameterValues(firstParam),\n get(exp, \"callee.object.name\"),\n )\n );\n}\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description:\n \"enforce using R.map over a R.forEach with a push to an array inside\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"prefer-map\":\n \"Prefer R.map over a R.forEach with a push to an array inside\",\n },\n },\n defaultOptions: [],\n create(context) {\n return getRemedaMethodVisitors(\n context,\n (\n node: TSESTree.Node,\n iteratee: TSESTree.Node,\n { method }: { method: string },\n ) => {\n if (\n method === \"forEach\" &&\n onlyHasPush(\n iteratee as\n | TSESTree.ArrowFunctionExpression\n | TSESTree.FunctionDeclaration\n | TSESTree.FunctionExpression,\n )\n ) {\n context.report({\n node,\n messageId: \"prefer-map\",\n });\n }\n },\n );\n },\n});\n","/**\n * Rule to prefer nullish coalescing over checking a ternary with !isNullish.\n */\n\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getRemedaContext } from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"prefer-nullish-coalescing\";\nconst MESSAGE =\n \"Prefer nullish coalescing over checking a ternary with !isNullish.\";\n\ntype MessageIds = \"prefer-nullish-coalescing\";\ntype Options = [];\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description:\n \"enforce using nullish coalescing over checking a ternary with !isNullish\",\n url: getDocsUrl(RULE_NAME),\n },\n fixable: \"code\",\n schema: [],\n messages: {\n \"prefer-nullish-coalescing\": MESSAGE,\n },\n },\n defaultOptions: [],\n // @ts-expect-error\n create(context) {\n function getTextOfNode(\n node: TSESTree.Node | null | undefined,\n ): string | undefined {\n if (!node) {\n return undefined;\n }\n\n if (node.type === AST_NODE_TYPES.Identifier) {\n return node.name;\n }\n\n return context.sourceCode.getText(node);\n }\n\n const remedaContext = getRemedaContext(context);\n\n const visitors = remedaContext.getImportVisitors();\n\n // @ts-expect-error\n visitors.ConditionalExpression = function (\n node: TSESTree.ConditionalExpression,\n ) {\n const statement = node.test;\n\n if (\n statement.type === AST_NODE_TYPES.UnaryExpression &&\n statement.operator === \"!\" &&\n statement.argument.type === AST_NODE_TYPES.CallExpression &&\n statement.argument.callee.type === AST_NODE_TYPES.Identifier &&\n statement.argument.callee.name === \"isNullish\"\n ) {\n const argument = getTextOfNode(statement.argument.arguments[0]);\n const consequent = getTextOfNode(node.consequent);\n const alternate = getTextOfNode(node.alternate);\n\n if (\n argument &&\n consequent &&\n alternate &&\n argument === consequent &&\n argument !== alternate\n ) {\n context.report({\n node,\n messageId: \"prefer-nullish-coalescing\",\n fix(fixer) {\n return fixer.replaceText(node, `${argument} ?? ${alternate}`);\n },\n });\n }\n }\n };\n\n return visitors;\n },\n});\n","/**\n * Rule to check if there's a method in the chain start that can be in the chain.\n */\n\nimport { some } from \"lodash-es\";\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getIsTypeMethod } from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"prefer-remeda-typecheck\";\n\ntype MessageIds = \"prefer-remeda-typecheck\";\ntype Options = [];\n\nfunction isTypeOf(node: TSESTree.Node): node is TSESTree.UnaryExpression {\n return (\n node.type === AST_NODE_TYPES.UnaryExpression && node.operator === \"typeof\"\n );\n}\n\nfunction isStrictComparison(node: TSESTree.BinaryExpression): boolean {\n return node.operator === \"===\" || node.operator === \"!==\";\n}\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description:\n \"enforce using `R.is*` methods over `typeof` and `instanceof` checks when applicable.\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"prefer-remeda-typecheck\": \"Prefer 'R.{{method}}' over {{actual}}.\",\n },\n },\n defaultOptions: [],\n create(context) {\n const otherSides = {\n left: \"right\",\n right: \"left\",\n } as const;\n\n function isDeclaredVariable(node: TSESTree.Identifier): boolean {\n const { sourceCode } = context;\n const scope = sourceCode.getScope(node);\n const definedVariables = scope.variables;\n\n return some(definedVariables, { name: node.name });\n }\n\n function getValueForSide(\n node: TSESTree.BinaryExpression,\n side: \"left\" | \"right\",\n ): string | undefined {\n const otherSide = otherSides[side];\n\n if (\n isTypeOf(node[side]) &&\n node[otherSide].type === AST_NODE_TYPES.Literal &&\n (node[otherSide].value !== \"undefined\" ||\n node[side].argument.type !== AST_NODE_TYPES.Identifier ||\n isDeclaredVariable(node[side].argument))\n ) {\n return String(node[otherSide].value);\n }\n }\n\n function getTypeofCompareType(\n node: TSESTree.BinaryExpression,\n ): string | undefined {\n if (isStrictComparison(node)) {\n return getValueForSide(node, \"left\") || getValueForSide(node, \"right\");\n }\n }\n\n return {\n BinaryExpression(node) {\n const typeofCompareType = getTypeofCompareType(node);\n\n if (typeofCompareType) {\n context.report({\n node,\n messageId: \"prefer-remeda-typecheck\",\n data: {\n method: getIsTypeMethod(typeofCompareType),\n actual: \"'typeof' comparison\",\n },\n });\n } else if (\n node.operator === \"instanceof\" &&\n node.right.type === AST_NODE_TYPES.Identifier\n ) {\n const remedaEquivalent = getIsTypeMethod(node.right.name);\n\n if (remedaEquivalent) {\n context.report({\n node,\n messageId: \"prefer-remeda-typecheck\",\n data: {\n method: remedaEquivalent,\n actual: `'instanceof ${node.right.name}'`,\n },\n });\n }\n }\n },\n };\n },\n});\n","const comparisonOperators = [\"==\", \"!=\", \"===\", \"!==\"];\n\nexport { comparisonOperators };\n","import { AST_NODE_TYPES, type TSESTree } from \"@typescript-eslint/utils\";\n\nconst isMinus = (node: TSESTree.Node | null | undefined) => {\n return node?.type === AST_NODE_TYPES.UnaryExpression && node.operator === \"-\";\n};\n\nexport { isMinus };\n","import { matches, overEvery } from \"lodash-es\";\nimport type { TSESTree } from \"@typescript-eslint/utils\";\nimport { isMinus } from \"./isMinus\";\n\ntype GetIsValueReturn = (node: TSESTree.Node) => boolean;\n\nexport const getIsValue = (value: number): GetIsValueReturn => {\n return value < 0\n ? // eslint-disable-next-line\n overEvery(isMinus, matches({ argument: { value: -value } }))\n : matches({ value });\n};\n","import { includes } from \"lodash-es\";\nimport type { TSESTree } from \"@typescript-eslint/utils\";\nimport { comparisonOperators } from \"./comparisonOperators\";\nimport { getIsValue } from \"./getIsValue\";\n\n/**\n * Returns the expression compared to the value in a binary expression, or undefined if there isn't one.\n *\n * @param node - The node to check.\n * @param value - The value to compare to.\n * @param checkOver - Whether to check for over/under.\n */\nfunction getExpressionComparedToInt(\n node: TSESTree.BinaryExpression,\n value: number,\n checkOver: boolean,\n): TSESTree.Node | undefined {\n const isValue = getIsValue(value);\n\n if (includes(comparisonOperators, node.operator)) {\n if (isValue(node.right)) {\n return node.left;\n }\n if (isValue(node.left)) {\n return node.right;\n }\n }\n if (checkOver) {\n if (node.operator === \">\" && isValue(node.right)) {\n return node.left;\n }\n if (node.operator === \"<\" && isValue(node.left)) {\n return node.right;\n }\n const isNext = getIsValue(value + 1);\n\n if (\n (node.operator === \">=\" || node.operator === \"<\") &&\n isNext(node.right)\n ) {\n return node.left;\n }\n if (\n (node.operator === \"<=\" || node.operator === \">\") &&\n isNext(node.left)\n ) {\n return node.right;\n }\n }\n}\n\nexport { getExpressionComparedToInt };\n","/**\n * Rule to check if a findIndex comparison should be a call to R.some.\n */\n\nimport {\n AST_NODE_TYPES,\n ESLintUtils,\n type TSESTree,\n} from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getExpressionComparedToInt } from \"../util/getExpressionComparedToInt\";\nimport { getRemedaMethodVisitors } from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"prefer-some\";\nconst MESSAGE = \"Prefer R.some over findIndex comparison to -1\";\n\ntype MessageIds = \"prefer-some\";\ntype Options = [];\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description: \"enforce using R.some over findIndex comparison to -1\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"prefer-some\": MESSAGE,\n },\n },\n defaultOptions: [],\n create(context) {\n const visitors = getRemedaMethodVisitors(\n context,\n (\n node: TSESTree.Node,\n iteratee: TSESTree.Node,\n { method }: { method: string },\n ) => {\n if (\n method === \"findIndex\" &&\n node.parent?.type === AST_NODE_TYPES.BinaryExpression &&\n node === getExpressionComparedToInt(node.parent, -1, true)\n ) {\n context.report({\n node,\n messageId: \"prefer-some\",\n });\n }\n },\n );\n\n return visitors;\n },\n});\n","/**\n * Rule to check if a call to map should be a call to times.\n */\n\nimport { get } from \"lodash-es\";\nimport { ESLintUtils, type TSESTree } from \"@typescript-eslint/utils\";\nimport { getDocsUrl } from \"../util/getDocsUrl\";\nimport { getRemedaMethodVisitors } from \"../util/remedaUtil\";\n\nexport const RULE_NAME = \"prefer-times\";\n\ntype MessageIds = \"prefer-times\";\ntype Options = [];\n\nexport default ESLintUtils.RuleCreator(getDocsUrl)<Options, MessageIds>({\n name: RULE_NAME,\n meta: {\n type: \"problem\",\n docs: {\n description: \"enforce using R.times over R.map without using arguments\",\n url: getDocsUrl(RULE_NAME),\n },\n schema: [],\n messages: {\n \"prefer-times\": \"Prefer R.times over R.map without using arguments\",\n },\n },\n defaultOptions: [],\n create(context) {\n return getRemedaMethodVisitors(\n context,\n (\n node: TSESTree.Node,\n iteratee: TSESTree.Node,\n { method }: { method: string },\n ) => {\n if (method === \"map\" && get(iteratee, \"params.length\") === 0) {\n context.report({\n node,\n messageId: \"prefer-times\",\n });\n }\n },\n );\n },\n});\n","import collectionMethodValue, {\n RULE_NAME as collectionMethodValueName,\n} from \"./collection-method-value\";\nimport collectionReturn, {\n RULE_NAME as collectionReturnName,\n} from \"./collection-return\";\nimport preferConstant, {\n RULE_NAME as preferConstantName,\n} from \"./prefer-constant\";\nimport preferDoNothing, {\n RULE_NAME as preferDoNothingName,\n} from \"./prefer-do-nothing\";\nimport preferFilter, { RULE_NAME as preferFilterName } from \"./prefer-filter\";\nimport preferFind, { RULE_NAME as preferFindName } from \"./prefer-find\";\nimport preferFlatMap, {\n RULE_NAME as preferFlatMapName,\n} from \"./prefer-flat-map\";\nimport preferHasAtleast, {\n RULE_NAME as preferHasAtleastName,\n} from \"./prefer-has-atleast\";\nimport preferIsEmpty, {\n RULE_NAME as preferIsEmptyName,\n} from \"./prefer-is-empty\";\nimport preferIsNullish, {\n RULE_NAME as preferIsNullishName,\n} from \"./prefer-is-nullish\";\nimport preferMap, { RULE_NAME as preferMapName } from \"./prefer-map\";\nimport preferNullishCoalescing, {\n RULE_NAME as preferNullishCoalescingName,\n} from \"./prefer-nullish-coalescing\";\nimport preferRemedaTypecheck, {\n RULE_NAME as preferRemedaTypecheckName,\n} from \"./prefer-remeda-typecheck\";\nimport preferSome, { RULE_NAME as preferSomeName } from \"./prefer-some\";\nimport preferTimes, { RULE_NAME as preferTimesName } from \"./prefer-times\";\n\nexport const rules = {\n [collectionMethodValueName]: collectionMethodValue,\n [collectionReturnName]: collectionReturn,\n [preferConstantName]: preferConstant,\n [preferDoNothingName]: preferDoNothing,\n [preferFilterName]: preferFilter,\n [preferFindName]: preferFind,\n [preferFlatMapName]: preferFlatMap,\n [preferHasAtleastName]: preferHasAtleast,\n [preferIsEmptyName]: preferIsEmpty,\n [preferIsNullishName]: preferIsNullish,\n [preferMapName]: preferMap,\n [preferNullishCoalescingName]: preferNullishCoalescing,\n [preferRemedaTypecheckName]: preferRemedaTypecheck,\n [preferSomeName]: preferSome,\n [preferTimesName]: preferTimes,\n};\n","import type { ESLint } from \"eslint\";\nimport { last } from \"lodash-es\";\nimport packageJson from \"../package.json\";\nimport { rules } from \"./rules\";\n\nconst plugin = {\n meta: { name: packageJson.name, version: packageJson.version },\n // @ts-expect-error\n rules,\n configs: {},\n processors: {},\n} satisfies ESLint.Plugin;\n\nconst pluginShortName = last(plugin.meta.name.split(\"-\")) as string;\n\nconst configs = {\n recommended: {\n plugins: {\n [pluginShortName]: plugin,\n },\n rules: {\n [`${pluginShortName}/prefer-is-empty`]: 2,\n [`${pluginShortName}/prefer-is-nullish`]: 2,\n [`${pluginShortName}/prefer-times`]: 2,\n [`${pluginShortName}/prefer-constant`]: 2,\n [`${pluginShortName}/prefer-remeda-typecheck`]: 2,\n [`${pluginShortName}/prefer-nullish-coalescing`]: 2,\n [`${pluginShortName}/prefer-filter`]: 2,\n [`${pluginShortName}/prefer-has-atleast`]: 2,\n [`${pluginShortName}/collection-method-value`]: 2,\n [`${pluginShortName}/collection-return`]: 2,\n [`${pluginShortName}/prefer-map`]: 2,\n [`${pluginShortName}/prefer-find`]: 2,\n [`${pluginShortName}/prefer-some`]: 2,\n [`${pluginShortName}/prefer-flat-map`]: 2,\n [`${pluginShortName}/prefer-do-nothing`]: 2,\n },\n },\n};\n\nObject.assign(plugin.configs, configs);\n\ntype Plugin = typeof plugin & {\n configs: typeof configs;\n};\n\nexport default plugin as Plugin;\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206],"mappings":";;;;;;;;;;;;;;;AACA,IAAI,aAAa,OAAO,UAAU,YAAY,UAAU,OAAO,WAAW,UAAU;;;;ACEpF,IAAI,WAAW,OAAO,QAAQ,YAAY,QAAQ,KAAK,WAAW,UAAU;;AAG5E,IAAI,OAAO,cAAc,YAAY,SAAS,aAAa,CAAC,CAAC;;;;ACH7D,IAAIA,WAAS,KAAK;;;;;;;;;;;;ACMlB,SAAS,SAAS,OAAO,UAAU;CACjC,IAAI,QAAQ,IACR,SAAS,SAAS,OAAO,IAAI,MAAM,QACnC,SAAS,MAAM,MAAM;CAEzB,OAAO,EAAE,QAAQ,QACf,OAAO,SAAS,SAAS,MAAM,QAAQ,OAAO,KAAK;CAErD,OAAO;AACT;;;;;;;;;;;;;;;;;;;;;;;;;;ACKA,IAAIC,YAAU,MAAM;;;;ACpBpB,IAAIC,gBAAc,OAAO;;AAGzB,IAAIC,oBAAiBD,cAAY;;;;;;AAOjC,IAAIE,yBAAuBF,cAAY;;AAGvC,IAAIG,mBAAiBC,WAASA,SAAO,cAAc,KAAA;;;;;;;;AASnD,SAAS,UAAU,OAAO;CACxB,IAAI,QAAQH,kBAAe,KAAK,OAAOE,gBAAc,GACjD,MAAM,MAAMA;CAEhB,IAAI;EACF,MAAMA,oBAAkB,KAAA;EACxB,IAA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