Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 3.135.218.63
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
lodash-es /
[ HOME SHELL ]
Name
Size
Permission
Action
_DataView.js
372
B
-rw-r--r--
_Hash.js
909
B
-rw-r--r--
_LazyWrapper.js
935
B
-rw-r--r--
_ListCache.js
1.01
KB
-rw-r--r--
_LodashWrapper.js
773
B
-rw-r--r--
_Map.js
357
B
-rw-r--r--
_MapCache.js
1.01
KB
-rw-r--r--
_Promise.js
369
B
-rw-r--r--
_Set.js
357
B
-rw-r--r--
_SetCache.js
794
B
-rw-r--r--
_Stack.js
896
B
-rw-r--r--
_Symbol.js
280
B
-rw-r--r--
_Uint8Array.js
292
B
-rw-r--r--
_WeakMap.js
369
B
-rw-r--r--
_apply.js
876
B
-rw-r--r--
_arrayAggregator.js
846
B
-rw-r--r--
_arrayEach.js
699
B
-rw-r--r--
_arrayEachRight.js
690
B
-rw-r--r--
_arrayEvery.js
759
B
-rw-r--r--
_arrayFilter.js
794
B
-rw-r--r--
_arrayIncludes.js
688
B
-rw-r--r--
_arrayIncludesWith.js
777
B
-rw-r--r--
_arrayLikeKeys.js
1.89
KB
-rw-r--r--
_arrayMap.js
718
B
-rw-r--r--
_arrayPush.js
599
B
-rw-r--r--
_arrayReduce.js
949
B
-rw-r--r--
_arrayReduceRight.js
939
B
-rw-r--r--
_arraySample.js
525
B
-rw-r--r--
_arraySampleSize.js
662
B
-rw-r--r--
_arrayShuffle.js
527
B
-rw-r--r--
_arraySome.js
756
B
-rw-r--r--
_asciiSize.js
433
B
-rw-r--r--
_asciiToArray.js
419
B
-rw-r--r--
_asciiWords.js
566
B
-rw-r--r--
_assignMergeValue.js
744
B
-rw-r--r--
_assignValue.js
1.04
KB
-rw-r--r--
_assocIndexOf.js
649
B
-rw-r--r--
_baseAggregator.js
908
B
-rw-r--r--
_baseAssign.js
632
B
-rw-r--r--
_baseAssignIn.js
644
B
-rw-r--r--
_baseAssignValue.js
787
B
-rw-r--r--
_baseAt.js
731
B
-rw-r--r--
_baseClamp.js
733
B
-rw-r--r--
_baseClone.js
5.6
KB
-rw-r--r--
_baseConforms.js
646
B
-rw-r--r--
_baseConformsTo.js
880
B
-rw-r--r--
_baseCreate.js
848
B
-rw-r--r--
_baseDelay.js
834
B
-rw-r--r--
_baseDifference.js
2.03
KB
-rw-r--r--
_baseEach.js
617
B
-rw-r--r--
_baseEachRight.js
653
B
-rw-r--r--
_baseEvery.js
787
B
-rw-r--r--
_baseExtremum.js
1.03
KB
-rw-r--r--
_baseFill.js
1005
B
-rw-r--r--
_baseFilter.js
752
B
-rw-r--r--
_baseFindIndex.js
928
B
-rw-r--r--
_baseFindKey.js
909
B
-rw-r--r--
_baseFlatten.js
1.33
KB
-rw-r--r--
_baseFor.js
755
B
-rw-r--r--
_baseForOwn.js
618
B
-rw-r--r--
_baseForOwnRight.js
648
B
-rw-r--r--
_baseForRight.js
639
B
-rw-r--r--
_baseFunctions.js
714
B
-rw-r--r--
_baseGet.js
778
B
-rw-r--r--
_baseGetAllKeys.js
901
B
-rw-r--r--
_baseGetTag.js
954
B
-rw-r--r--
_baseGt.js
519
B
-rw-r--r--
_baseHas.js
721
B
-rw-r--r--
_baseHasIn.js
536
B
-rw-r--r--
_baseInRange.js
774
B
-rw-r--r--
_baseIndexOf.js
821
B
-rw-r--r--
_baseIndexOfWith.js
822
B
-rw-r--r--
_baseIntersection.js
2.37
KB
-rw-r--r--
_baseInverter.js
898
B
-rw-r--r--
_baseInvoke.js
951
B
-rw-r--r--
_baseIsArguments.js
650
B
-rw-r--r--
_baseIsArrayBuffer.js
666
B
-rw-r--r--
_baseIsDate.js
666
B
-rw-r--r--
_baseIsEqual.js
1.15
KB
-rw-r--r--
_baseIsEqualDeep.js
3.1
KB
-rw-r--r--
_baseIsMap.js
640
B
-rw-r--r--
_baseIsMatch.js
1.88
KB
-rw-r--r--
_baseIsNaN.js
458
B
-rw-r--r--
_baseIsNative.js
1.54
KB
-rw-r--r--
_baseIsRegExp.js
673
B
-rw-r--r--
_baseIsSet.js
640
B
-rw-r--r--
_baseIsTypedArray.js
2.33
KB
-rw-r--r--
_baseIteratee.js
1.03
KB
-rw-r--r--
_baseKeys.js
938
B
-rw-r--r--
_baseKeysIn.js
1.01
KB
-rw-r--r--
_baseLodash.js
340
B
-rw-r--r--
_baseLt.js
516
B
-rw-r--r--
_baseMap.js
830
B
-rw-r--r--
_baseMatches.js
872
B
-rw-r--r--
_baseMatchesProperty.js
1.26
KB
-rw-r--r--
_baseMean.js
730
B
-rw-r--r--
_baseMerge.js
1.46
KB
-rw-r--r--
_baseMergeDeep.js
3.16
KB
-rw-r--r--
_baseNth.js
645
B
-rw-r--r--
_baseOrderBy.js
1.33
KB
-rw-r--r--
_basePick.js
663
B
-rw-r--r--
_basePickBy.js
953
B
-rw-r--r--
_baseProperty.js
522
B
-rw-r--r--
_basePropertyDeep.js
553
B
-rw-r--r--
_basePropertyOf.js
520
B
-rw-r--r--
_basePullAll.js
1.58
KB
-rw-r--r--
_basePullAt.js
1.08
KB
-rw-r--r--
_baseRandom.js
703
B
-rw-r--r--
_baseRange.js
1012
B
-rw-r--r--
_baseReduce.js
1.05
KB
-rw-r--r--
_baseRepeat.js
1.09
KB
-rw-r--r--
_baseRest.js
721
B
-rw-r--r--
_baseSample.js
521
B
-rw-r--r--
_baseSampleSize.js
710
B
-rw-r--r--
_baseSet.js
1.41
KB
-rw-r--r--
_baseSetData.js
618
B
-rw-r--r--
_baseSetToString.js
803
B
-rw-r--r--
_baseShuffle.js
533
B
-rw-r--r--
_baseSlice.js
918
B
-rw-r--r--
_baseSome.js
781
B
-rw-r--r--
_baseSortBy.js
705
B
-rw-r--r--
_baseSortedIndex.js
1.55
KB
-rw-r--r--
_baseSortedIndexBy.js
2.33
KB
-rw-r--r--
_baseSortedUniq.js
920
B
-rw-r--r--
_baseSum.js
762
B
-rw-r--r--
_baseTimes.js
666
B
-rw-r--r--
_baseToNumber.js
701
B
-rw-r--r--
_baseToPairs.js
699
B
-rw-r--r--
_baseToString.js
1.29
KB
-rw-r--r--
_baseUnary.js
494
B
-rw-r--r--
_baseUniq.js
2.02
KB
-rw-r--r--
_baseUnset.js
742
B
-rw-r--r--
_baseUpdate.js
767
B
-rw-r--r--
_baseValues.js
696
B
-rw-r--r--
_baseWhile.js
1.07
KB
-rw-r--r--
_baseWrapperValue.js
1019
B
-rw-r--r--
_baseXor.js
1.23
KB
-rw-r--r--
_baseZipObject.js
822
B
-rw-r--r--
_cacheHas.js
499
B
-rw-r--r--
_castArrayLikeObject.js
543
B
-rw-r--r--
_castFunction.js
488
B
-rw-r--r--
_castPath.js
731
B
-rw-r--r--
_castRest.js
510
B
-rw-r--r--
_castSlice.js
679
B
-rw-r--r--
_charsEndIndex.js
762
B
-rw-r--r--
_charsStartIndex.js
798
B
-rw-r--r--
_cloneArrayBuffer.js
611
B
-rw-r--r--
_cloneBuffer.js
1.19
KB
-rw-r--r--
_cloneDataView.js
669
B
-rw-r--r--
_cloneRegExp.js
601
B
-rw-r--r--
_cloneSymbol.js
686
B
-rw-r--r--
_cloneTypedArray.js
689
B
-rw-r--r--
_compareAscending.js
1.47
KB
-rw-r--r--
_compareMultiple.js
1.72
KB
-rw-r--r--
_composeArgs.js
1.45
KB
-rw-r--r--
_composeArgsRight.js
1.51
KB
-rw-r--r--
_copyArray.js
616
B
-rw-r--r--
_copyObject.js
1.18
KB
-rw-r--r--
_copySymbols.js
608
B
-rw-r--r--
_copySymbolsIn.js
632
B
-rw-r--r--
_coreJsData.js
319
B
-rw-r--r--
_countHolders.js
631
B
-rw-r--r--
_createAggregator.js
951
B
-rw-r--r--
_createAssigner.js
1.18
KB
-rw-r--r--
_createBaseEach.js
1.02
KB
-rw-r--r--
_createBaseFor.js
810
B
-rw-r--r--
_createBind.js
1015
B
-rw-r--r--
_createCaseFirst.js
973
B
-rw-r--r--
_createCompounder.js
797
B
-rw-r--r--
_createCtor.js
1.61
KB
-rw-r--r--
_createCurry.js
1.57
KB
-rw-r--r--
_createFind.js
1015
B
-rw-r--r--
_createFlow.js
2.35
KB
-rw-r--r--
_createHybrid.js
3.33
KB
-rw-r--r--
_createInverter.js
659
B
-rw-r--r--
_createMathOperation.js
1.24
KB
-rw-r--r--
_createOver.js
942
B
-rw-r--r--
_createPadding.js
1.28
KB
-rw-r--r--
_createPartial.js
1.51
KB
-rw-r--r--
_createRange.js
1
KB
-rw-r--r--
_createRecurry.js
2.23
KB
-rw-r--r--
_createRelationalOperation.js
740
B
-rw-r--r--
_createRound.js
1.29
KB
-rw-r--r--
_createSet.js
663
B
-rw-r--r--
_createToPairs.js
951
B
-rw-r--r--
_createWrap.js
3.79
KB
-rw-r--r--
_customDefaultsAssignIn.js
1.07
KB
-rw-r--r--
_customDefaultsMerge.js
1.18
KB
-rw-r--r--
_customOmitClone.js
637
B
-rw-r--r--
_deburrLetter.js
3.49
KB
-rw-r--r--
_defineProperty.js
395
B
-rw-r--r--
_equalArrays.js
2.69
KB
-rw-r--r--
_equalByTag.js
3.82
KB
-rw-r--r--
_equalObjects.js
2.99
KB
-rw-r--r--
_escapeHtmlChar.js
641
B
-rw-r--r--
_escapeStringChar.js
683
B
-rw-r--r--
_flatRest.js
619
B
-rw-r--r--
_freeGlobal.js
335
B
-rw-r--r--
_getAllKeys.js
617
B
-rw-r--r--
_getAllKeysIn.js
650
B
-rw-r--r--
_getData.js
487
B
-rw-r--r--
_getFuncName.js
918
B
-rw-r--r--
_getHolder.js
442
B
-rw-r--r--
_getMapData.js
562
B
-rw-r--r--
_getMatchData.js
735
B
-rw-r--r--
_getNative.js
645
B
-rw-r--r--
_getPrototype.js
325
B
-rw-r--r--
_getRawTag.js
1.27
KB
-rw-r--r--
_getSymbols.js
1.02
KB
-rw-r--r--
_getSymbolsIn.js
916
B
-rw-r--r--
_getTag.js
1.95
KB
-rw-r--r--
_getValue.js
487
B
-rw-r--r--
_getView.js
1.16
KB
-rw-r--r--
_getWrapDetails.js
641
B
-rw-r--r--
_hasPath.js
1.22
KB
-rw-r--r--
_hasUnicode.js
1.08
KB
-rw-r--r--
_hasUnicodeWord.js
653
B
-rw-r--r--
_hashClear.js
443
B
-rw-r--r--
_hashDelete.js
607
B
-rw-r--r--
_hashGet.js
934
B
-rw-r--r--
_hashHas.js
788
B
-rw-r--r--
_hashSet.js
760
B
-rw-r--r--
_initCloneArray.js
854
B
-rw-r--r--
_initCloneByTag.js
2.37
KB
-rw-r--r--
_initCloneObject.js
648
B
-rw-r--r--
_insertWrapDetails.js
910
B
-rw-r--r--
_isFlattenable.js
770
B
-rw-r--r--
_isIndex.js
921
B
-rw-r--r--
_isIterateeCall.js
1.01
KB
-rw-r--r--
_isKey.js
1.02
KB
-rw-r--r--
_isKeyable.js
592
B
-rw-r--r--
_isLaziable.js
874
B
-rw-r--r--
_isMaskable.js
557
B
-rw-r--r--
_isMasked.js
726
B
-rw-r--r--
_isPrototype.js
642
B
-rw-r--r--
_isStrictComparable.js
576
B
-rw-r--r--
_iteratorToArray.js
522
B
-rw-r--r--
_lazyClone.js
819
B
-rw-r--r--
_lazyReverse.js
653
B
-rw-r--r--
_lazyValue.js
1.91
KB
-rw-r--r--
_listCacheClear.js
380
B
-rw-r--r--
_listCacheDelete.js
937
B
-rw-r--r--
_listCacheGet.js
582
B
-rw-r--r--
_listCacheHas.js
565
B
-rw-r--r--
_listCacheSet.js
715
B
-rw-r--r--
_mapCacheClear.js
555
B
-rw-r--r--
_mapCacheDelete.js
612
B
-rw-r--r--
_mapCacheGet.js
492
B
-rw-r--r--
_mapCacheHas.js
544
B
-rw-r--r--
_mapCacheSet.js
651
B
-rw-r--r--
_mapToArray.js
525
B
-rw-r--r--
_matchesStrictComparable.js
736
B
-rw-r--r--
_memoizeCapped.js
795
B
-rw-r--r--
_mergeData.js
3.22
KB
-rw-r--r--
_metaMap.js
305
B
-rw-r--r--
_nativeCreate.js
349
B
-rw-r--r--
_nativeKeys.js
366
B
-rw-r--r--
_nativeKeysIn.js
652
B
-rw-r--r--
_nodeUtil.js
1.13
KB
-rw-r--r--
_objectToString.js
727
B
-rw-r--r--
_overArg.js
544
B
-rw-r--r--
_overRest.js
1.23
KB
-rw-r--r--
_parent.js
598
B
-rw-r--r--
_reEscape.js
267
B
-rw-r--r--
_reEvaluate.js
270
B
-rw-r--r--
_reInterpolate.js
277
B
-rw-r--r--
_realNames.js
260
B
-rw-r--r--
_reorder.js
1.04
KB
-rw-r--r--
_replaceHolders.js
947
B
-rw-r--r--
_root.js
480
B
-rw-r--r--
_safeGet.js
618
B
-rw-r--r--
_setCacheAdd.js
586
B
-rw-r--r--
_setCacheHas.js
478
B
-rw-r--r--
_setData.js
807
B
-rw-r--r--
_setToArray.js
507
B
-rw-r--r--
_setToPairs.js
526
B
-rw-r--r--
_setToString.js
554
B
-rw-r--r--
_setWrapToString.js
1009
B
-rw-r--r--
_shortOut.js
1.08
KB
-rw-r--r--
_shuffleSelf.js
851
B
-rw-r--r--
_stackClear.js
416
B
-rw-r--r--
_stackDelete.js
567
B
-rw-r--r--
_stackGet.js
433
B
-rw-r--r--
_stackHas.js
485
B
-rw-r--r--
_stackSet.js
1015
B
-rw-r--r--
_strictIndexOf.js
762
B
-rw-r--r--
_strictLastIndexOf.js
738
B
-rw-r--r--
_stringSize.js
594
B
-rw-r--r--
_stringToArray.js
612
B
-rw-r--r--
_stringToPath.js
1002
B
-rw-r--r--
_toKey.js
685
B
-rw-r--r--
_toSource.js
718
B
-rw-r--r--
_unescapeHtmlChar.js
655
B
-rw-r--r--
_unicodeSize.js
1.76
KB
-rw-r--r--
_unicodeToArray.js
1.71
KB
-rw-r--r--
_unicodeWords.js
3.15
KB
-rw-r--r--
_updateWrapDetails.js
1.44
KB
-rw-r--r--
_wrapperClone.js
820
B
-rw-r--r--
add.js
631
B
-rw-r--r--
after.js
1.19
KB
-rw-r--r--
array.default.js
3.19
KB
-rw-r--r--
array.js
3.47
KB
-rw-r--r--
ary.js
1019
B
-rw-r--r--
assign.js
1.69
KB
-rw-r--r--
assignIn.js
1.04
KB
-rw-r--r--
assignInWith.js
1.38
KB
-rw-r--r--
assignWith.js
1.35
KB
-rw-r--r--
at.js
721
B
-rw-r--r--
attempt.js
1.07
KB
-rw-r--r--
before.js
1.22
KB
-rw-r--r--
bind.js
1.81
KB
-rw-r--r--
bindAll.js
1.26
KB
-rw-r--r--
bindKey.js
2.18
KB
-rw-r--r--
camelCase.js
863
B
-rw-r--r--
capitalize.js
691
B
-rw-r--r--
castArray.js
930
B
-rw-r--r--
ceil.js
669
B
-rw-r--r--
chain.js
1013
B
-rw-r--r--
chunk.js
1.54
KB
-rw-r--r--
clamp.js
1.03
KB
-rw-r--r--
clone.js
1.2
KB
-rw-r--r--
cloneDeep.js
841
B
-rw-r--r--
cloneDeepWith.js
1.18
KB
-rw-r--r--
cloneWith.js
1.32
KB
-rw-r--r--
collection.default.js
1.27
KB
-rw-r--r--
collection.js
1.45
KB
-rw-r--r--
commit.js
803
B
-rw-r--r--
compact.js
843
B
-rw-r--r--
concat.js
1.14
KB
-rw-r--r--
cond.js
1.73
KB
-rw-r--r--
conforms.js
1.11
KB
-rw-r--r--
conformsTo.js
1.09
KB
-rw-r--r--
constant.js
690
B
-rw-r--r--
countBy.js
1.39
KB
-rw-r--r--
create.js
1.17
KB
-rw-r--r--
curry.js
1.76
KB
-rw-r--r--
curryRight.js
1.62
KB
-rw-r--r--
date.default.js
55
B
-rw-r--r--
date.js
88
B
-rw-r--r--
debounce.js
6.12
KB
-rw-r--r--
deburr.js
1.74
KB
-rw-r--r--
defaultTo.js
770
B
-rw-r--r--
defaults.js
1.87
KB
-rw-r--r--
defaultsDeep.js
1001
B
-rw-r--r--
defer.js
855
B
-rw-r--r--
delay.js
957
B
-rw-r--r--
difference.js
1.2
KB
-rw-r--r--
differenceBy.js
1.65
KB
-rw-r--r--
differenceWith.js
1.52
KB
-rw-r--r--
divide.js
653
B
-rw-r--r--
drop.js
1.03
KB
-rw-r--r--
dropRight.js
1.06
KB
-rw-r--r--
dropRightWhile.js
1.54
KB
-rw-r--r--
dropWhile.js
1.51
KB
-rw-r--r--
each.js
39
B
-rw-r--r--
eachRight.js
44
B
-rw-r--r--
endsWith.js
1.23
KB
-rw-r--r--
entries.js
39
B
-rw-r--r--
entriesIn.js
41
B
-rw-r--r--
eq.js
961
B
-rw-r--r--
escape.js
1.57
KB
-rw-r--r--
escapeRegExp.js
1.01
KB
-rw-r--r--
every.js
1.98
KB
-rw-r--r--
extend.js
40
B
-rw-r--r--
extendWith.js
44
B
-rw-r--r--
fill.js
1.21
KB
-rw-r--r--
filter.js
1.63
KB
-rw-r--r--
find.js
1.43
KB
-rw-r--r--
findIndex.js
1.77
KB
-rw-r--r--
findKey.js
1.46
KB
-rw-r--r--
findLast.js
892
B
-rw-r--r--
findLastIndex.js
1.88
KB
-rw-r--r--
findLastKey.js
1.47
KB
-rw-r--r--
first.js
36
B
-rw-r--r--
flatMap.js
974
B
-rw-r--r--
flatMapDeep.js
958
B
-rw-r--r--
flatMapDepth.js
1.04
KB
-rw-r--r--
flatten.js
651
B
-rw-r--r--
flattenDeep.js
739
B
-rw-r--r--
flattenDepth.js
949
B
-rw-r--r--
flip.js
798
B
-rw-r--r--
floor.js
683
B
-rw-r--r--
flow.js
828
B
-rw-r--r--
flowRight.js
752
B
-rw-r--r--
forEach.js
1.48
KB
-rw-r--r--
forEachRight.js
1.06
KB
-rw-r--r--
forIn.js
1.2
KB
-rw-r--r--
forInRight.js
1.07
KB
-rw-r--r--
forOwn.js
1.13
KB
-rw-r--r--
forOwnRight.js
1
KB
-rw-r--r--
fromPairs.js
758
B
-rw-r--r--
function.default.js
996
B
-rw-r--r--
function.js
1.15
KB
-rw-r--r--
functions.js
847
B
-rw-r--r--
functionsIn.js
876
B
-rw-r--r--
get.js
1.02
KB
-rw-r--r--
groupBy.js
1.52
KB
-rw-r--r--
gt.js
758
B
-rw-r--r--
gte.js
797
B
-rw-r--r--
has.js
919
B
-rw-r--r--
hasIn.js
915
B
-rw-r--r--
head.js
577
B
-rw-r--r--
identity.js
532
B
-rw-r--r--
inRange.js
1.37
KB
-rw-r--r--
includes.js
1.89
KB
-rw-r--r--
indexOf.js
1.37
KB
-rw-r--r--
initial.js
623
B
-rw-r--r--
intersection.js
1.09
KB
-rw-r--r--
intersectionBy.js
1.59
KB
-rw-r--r--
intersectionWith.js
1.51
KB
-rw-r--r--
invert.js
1.26
KB
-rw-r--r--
invertBy.js
1.77
KB
-rw-r--r--
invoke.js
796
B
-rw-r--r--
invokeMap.js
1.56
KB
-rw-r--r--
isArguments.js
1.16
KB
-rw-r--r--
isArray.js
650
B
-rw-r--r--
isArrayBuffer.js
894
B
-rw-r--r--
isArrayLike.js
992
B
-rw-r--r--
isArrayLikeObject.js
904
B
-rw-r--r--
isBoolean.js
843
B
-rw-r--r--
isBuffer.js
1.25
KB
-rw-r--r--
isDate.js
804
B
-rw-r--r--
isElement.js
736
B
-rw-r--r--
isEmpty.js
2.11
KB
-rw-r--r--
isEqual.js
1.12
KB
-rw-r--r--
isEqualWith.js
1.48
KB
-rw-r--r--
isError.js
1.1
KB
-rw-r--r--
isFinite.js
955
B
-rw-r--r--
isFunction.js
1.13
KB
-rw-r--r--
isInteger.js
831
B
-rw-r--r--
isLength.js
964
B
-rw-r--r--
isMap.js
775
B
-rw-r--r--
isMatch.js
1.21
KB
-rw-r--r--
isMatchWith.js
1.46
KB
-rw-r--r--
isNaN.js
1.05
KB
-rw-r--r--
isNative.js
1.35
KB
-rw-r--r--
isNil.js
588
B
-rw-r--r--
isNull.js
543
B
-rw-r--r--
isNumber.js
1.02
KB
-rw-r--r--
isObject.js
895
B
-rw-r--r--
isObjectLike.js
776
B
-rw-r--r--
isPlainObject.js
1.77
KB
-rw-r--r--
isRegExp.js
808
B
-rw-r--r--
isSafeInteger.js
1.08
KB
-rw-r--r--
isSet.js
775
B
-rw-r--r--
isString.js
885
B
-rw-r--r--
isSymbol.js
844
B
-rw-r--r--
isTypedArray.js
857
B
-rw-r--r--
isUndefined.js
578
B
-rw-r--r--
isWeakMap.js
793
B
-rw-r--r--
isWeakSet.js
805
B
-rw-r--r--
iteratee.js
1.82
KB
-rw-r--r--
join.js
855
B
-rw-r--r--
kebabCase.js
821
B
-rw-r--r--
keyBy.js
1.32
KB
-rw-r--r--
keys.js
1.02
KB
-rw-r--r--
keysIn.js
940
B
-rw-r--r--
lang.default.js
2.73
KB
-rw-r--r--
lang.js
2.99
KB
-rw-r--r--
last.js
563
B
-rw-r--r--
lastIndexOf.js
1.48
KB
-rw-r--r--
lodash.default.js
20.33
KB
-rw-r--r--
lodash.js
16.8
KB
-rw-r--r--
lowerCase.js
784
B
-rw-r--r--
lowerFirst.js
632
B
-rw-r--r--
lt.js
752
B
-rw-r--r--
lte.js
791
B
-rw-r--r--
map.js
1.74
KB
-rw-r--r--
mapKeys.js
1.23
KB
-rw-r--r--
mapValues.js
1.46
KB
-rw-r--r--
matches.js
1.28
KB
-rw-r--r--
matchesProperty.js
1.28
KB
-rw-r--r--
math.default.js
605
B
-rw-r--r--
math.js
746
B
-rw-r--r--
max.js
776
B
-rw-r--r--
maxBy.js
1.13
KB
-rw-r--r--
mean.js
584
B
-rw-r--r--
meanBy.js
1.02
KB
-rw-r--r--
memoize.js
2.33
KB
-rw-r--r--
merge.js
1.35
KB
-rw-r--r--
mergeWith.js
1.38
KB
-rw-r--r--
method.js
1022
B
-rw-r--r--
methodOf.js
1.05
KB
-rw-r--r--
min.js
776
B
-rw-r--r--
minBy.js
1.13
KB
-rw-r--r--
mixin.js
2.34
KB
-rw-r--r--
multiply.js
692
B
-rw-r--r--
negate.js
1.21
KB
-rw-r--r--
next.js
998
B
-rw-r--r--
noop.js
412
B
-rw-r--r--
now.js
682
B
-rw-r--r--
nth.js
833
B
-rw-r--r--
nthArg.js
892
B
-rw-r--r--
number.default.js
148
B
-rw-r--r--
number.js
194
B
-rw-r--r--
object.default.js
2.12
KB
-rw-r--r--
object.js
2.39
KB
-rw-r--r--
omit.js
1.75
KB
-rw-r--r--
omitBy.js
1016
B
-rw-r--r--
once.js
827
B
-rw-r--r--
orderBy.js
1.74
KB
-rw-r--r--
over.js
720
B
-rw-r--r--
overArgs.js
1.74
KB
-rw-r--r--
overEvery.js
816
B
-rw-r--r--
overSome.js
809
B
-rw-r--r--
package.json
2
KB
-rw-r--r--
pad.js
1.42
KB
-rw-r--r--
padEnd.js
1.15
KB
-rw-r--r--
padStart.js
1.16
KB
-rw-r--r--
parseInt.js
1.4
KB
-rw-r--r--
partial.js
1.69
KB
-rw-r--r--
partialRight.js
1.67
KB
-rw-r--r--
partition.js
1.64
KB
-rw-r--r--
pick.js
791
B
-rw-r--r--
pickBy.js
1.17
KB
-rw-r--r--
plant.js
1.15
KB
-rw-r--r--
property.js
955
B
-rw-r--r--
propertyOf.js
894
B
-rw-r--r--
pull.js
920
B
-rw-r--r--
pullAll.js
872
B
-rw-r--r--
pullAllBy.js
1.2
KB
-rw-r--r--
pullAllWith.js
1.16
KB
-rw-r--r--
pullAt.js
1.31
KB
-rw-r--r--
random.js
2.47
KB
-rw-r--r--
range.js
1.28
KB
-rw-r--r--
rangeRight.js
1
KB
-rw-r--r--
rearg.js
1.16
KB
-rw-r--r--
reduce.js
1.92
KB
-rw-r--r--
reduceRight.js
1.29
KB
-rw-r--r--
reject.js
1.54
KB
-rw-r--r--
remove.js
1.46
KB
-rw-r--r--
repeat.js
1.03
KB
-rw-r--r--
replace.js
916
B
-rw-r--r--
rest.js
1.31
KB
-rw-r--r--
result.js
1.59
KB
-rw-r--r--
reverse.js
1006
B
-rw-r--r--
round.js
663
B
-rw-r--r--
sample.js
713
B
-rw-r--r--
sampleSize.js
1.2
KB
-rw-r--r--
seq.default.js
636
B
-rw-r--r--
seq.js
754
B
-rw-r--r--
set.js
1.1
KB
-rw-r--r--
setWith.js
1.19
KB
-rw-r--r--
shuffle.js
840
B
-rw-r--r--
size.js
1.27
KB
-rw-r--r--
slice.js
1.17
KB
-rw-r--r--
snakeCase.js
800
B
-rw-r--r--
some.js
1.73
KB
-rw-r--r--
sortBy.js
1.79
KB
-rw-r--r--
sortedIndex.js
788
B
-rw-r--r--
sortedIndexBy.js
1.19
KB
-rw-r--r--
sortedIndexOf.js
924
B
-rw-r--r--
sortedLastIndex.js
841
B
-rw-r--r--
sortedLastIndexBy.js
1.22
KB
-rw-r--r--
sortedLastIndexOf.js
932
B
-rw-r--r--
sortedUniq.js
675
B
-rw-r--r--
sortedUniqBy.js
860
B
-rw-r--r--
split.js
1.67
KB
-rw-r--r--
spread.js
1.85
KB
-rw-r--r--
startCase.js
876
B
-rw-r--r--
startsWith.js
1.15
KB
-rw-r--r--
string.default.js
1.49
KB
-rw-r--r--
string.js
1.65
KB
-rw-r--r--
stubArray.js
552
B
-rw-r--r--
stubFalse.js
442
B
-rw-r--r--
stubObject.js
562
B
-rw-r--r--
stubString.js
452
B
-rw-r--r--
stubTrue.js
434
B
-rw-r--r--
subtract.js
673
B
-rw-r--r--
sum.js
615
B
-rw-r--r--
sumBy.js
1.04
KB
-rw-r--r--
tail.js
619
B
-rw-r--r--
take.js
1013
B
-rw-r--r--
takeRight.js
1.07
KB
-rw-r--r--
takeRightWhile.js
1.5
KB
-rw-r--r--
takeWhile.js
1.46
KB
-rw-r--r--
tap.js
865
B
-rw-r--r--
template.js
9.66
KB
-rw-r--r--
templateSettings.js
1.54
KB
-rw-r--r--
throttle.js
2.8
KB
-rw-r--r--
thru.js
836
B
-rw-r--r--
times.js
1.49
KB
-rw-r--r--
toArray.js
1.53
KB
-rw-r--r--
toFinite.js
1.01
KB
-rw-r--r--
toInteger.js
922
B
-rw-r--r--
toIterator.js
565
B
-rw-r--r--
toJSON.js
44
B
-rw-r--r--
toLength.js
1.01
KB
-rw-r--r--
toLower.js
754
B
-rw-r--r--
toNumber.js
1.69
KB
-rw-r--r--
toPairs.js
861
B
-rw-r--r--
toPairsIn.js
899
B
-rw-r--r--
toPath.js
966
B
-rw-r--r--
toPlainObject.js
906
B
-rw-r--r--
toSafeInteger.js
998
B
-rw-r--r--
toString.js
742
B
-rw-r--r--
toUpper.js
754
B
-rw-r--r--
transform.js
2.38
KB
-rw-r--r--
trim.js
1.56
KB
-rw-r--r--
trimEnd.js
1.36
KB
-rw-r--r--
trimStart.js
1.37
KB
-rw-r--r--
truncate.js
3.44
KB
-rw-r--r--
unary.js
631
B
-rw-r--r--
unescape.js
1.19
KB
-rw-r--r--
union.js
911
B
-rw-r--r--
unionBy.js
1.45
KB
-rw-r--r--
unionWith.js
1.38
KB
-rw-r--r--
uniq.js
850
B
-rw-r--r--
uniqBy.js
1.15
KB
-rw-r--r--
uniqWith.js
1.09
KB
-rw-r--r--
uniqueId.js
724
B
-rw-r--r--
unset.js
966
B
-rw-r--r--
unzip.js
1.41
KB
-rw-r--r--
unzipWith.js
1.18
KB
-rw-r--r--
update.js
1.21
KB
-rw-r--r--
updateWith.js
1.32
KB
-rw-r--r--
upperCase.js
782
B
-rw-r--r--
upperFirst.js
632
B
-rw-r--r--
util.default.js
1.49
KB
-rw-r--r--
util.js
1.67
KB
-rw-r--r--
value.js
44
B
-rw-r--r--
valueOf.js
44
B
-rw-r--r--
values.js
895
B
-rw-r--r--
valuesIn.js
885
B
-rw-r--r--
without.js
1020
B
-rw-r--r--
words.js
1.17
KB
-rw-r--r--
wrap.js
1.01
KB
-rw-r--r--
wrapperAt.js
1.47
KB
-rw-r--r--
wrapperChain.js
868
B
-rw-r--r--
wrapperLodash.js
6.94
KB
-rw-r--r--
wrapperReverse.js
1.15
KB
-rw-r--r--
wrapperValue.js
617
B
-rw-r--r--
xor.js
973
B
-rw-r--r--
xorBy.js
1.43
KB
-rw-r--r--
xorWith.js
1.35
KB
-rw-r--r--
zip.js
771
B
-rw-r--r--
zipObject.js
826
B
-rw-r--r--
zipObjectDeep.js
805
B
-rw-r--r--
zipWith.js
1.1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lodash.default.js
/** * @license * Lodash (Custom Build) <https://lodash.com/> * Build: `lodash modularize exports="es" -o es` * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */ import array from './array.js'; import collection from './collection.js'; import date from './date.js'; import func from './function.js'; import lang from './lang.js'; import math from './math.js'; import number from './number.js'; import object from './object.js'; import seq from './seq.js'; import string from './string.js'; import util from './util.js'; import LazyWrapper from './_LazyWrapper.js'; import LodashWrapper from './_LodashWrapper.js'; import Symbol from './_Symbol.js'; import arrayEach from './_arrayEach.js'; import arrayPush from './_arrayPush.js'; import baseForOwn from './_baseForOwn.js'; import baseFunctions from './_baseFunctions.js'; import baseInvoke from './_baseInvoke.js'; import baseIteratee from './_baseIteratee.js'; import baseRest from './_baseRest.js'; import createHybrid from './_createHybrid.js'; import identity from './identity.js'; import isArray from './isArray.js'; import isObject from './isObject.js'; import keys from './keys.js'; import last from './last.js'; import lazyClone from './_lazyClone.js'; import lazyReverse from './_lazyReverse.js'; import lazyValue from './_lazyValue.js'; import _mixin from './mixin.js'; import negate from './negate.js'; import realNames from './_realNames.js'; import thru from './thru.js'; import toInteger from './toInteger.js'; import lodash from './wrapperLodash.js'; /** Used as the semantic version number. */ var VERSION = '4.17.15'; /** Used to compose bitmasks for function metadata. */ var WRAP_BIND_KEY_FLAG = 2; /** Used to indicate the type of lazy iteratees. */ var LAZY_FILTER_FLAG = 1, LAZY_WHILE_FLAG = 3; /** Used as references for the maximum length and index of an array. */ var MAX_ARRAY_LENGTH = 4294967295; /** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** Used for built-in method references. */ var arrayProto = Array.prototype, objectProto = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty = objectProto.hasOwnProperty; /** Built-in value references. */ var symIterator = Symbol ? Symbol.iterator : undefined; /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeMax = Math.max, nativeMin = Math.min; // wrap `_.mixin` so it works when provided only one argument var mixin = (function(func) { return function(object, source, options) { if (options == null) { var isObj = isObject(source), props = isObj && keys(source), methodNames = props && props.length && baseFunctions(source, props); if (!(methodNames ? methodNames.length : isObj)) { options = source; source = object; object = this; } } return func(object, source, options); }; }(_mixin)); // Add methods that return wrapped values in chain sequences. lodash.after = func.after; lodash.ary = func.ary; lodash.assign = object.assign; lodash.assignIn = object.assignIn; lodash.assignInWith = object.assignInWith; lodash.assignWith = object.assignWith; lodash.at = object.at; lodash.before = func.before; lodash.bind = func.bind; lodash.bindAll = util.bindAll; lodash.bindKey = func.bindKey; lodash.castArray = lang.castArray; lodash.chain = seq.chain; lodash.chunk = array.chunk; lodash.compact = array.compact; lodash.concat = array.concat; lodash.cond = util.cond; lodash.conforms = util.conforms; lodash.constant = util.constant; lodash.countBy = collection.countBy; lodash.create = object.create; lodash.curry = func.curry; lodash.curryRight = func.curryRight; lodash.debounce = func.debounce; lodash.defaults = object.defaults; lodash.defaultsDeep = object.defaultsDeep; lodash.defer = func.defer; lodash.delay = func.delay; lodash.difference = array.difference; lodash.differenceBy = array.differenceBy; lodash.differenceWith = array.differenceWith; lodash.drop = array.drop; lodash.dropRight = array.dropRight; lodash.dropRightWhile = array.dropRightWhile; lodash.dropWhile = array.dropWhile; lodash.fill = array.fill; lodash.filter = collection.filter; lodash.flatMap = collection.flatMap; lodash.flatMapDeep = collection.flatMapDeep; lodash.flatMapDepth = collection.flatMapDepth; lodash.flatten = array.flatten; lodash.flattenDeep = array.flattenDeep; lodash.flattenDepth = array.flattenDepth; lodash.flip = func.flip; lodash.flow = util.flow; lodash.flowRight = util.flowRight; lodash.fromPairs = array.fromPairs; lodash.functions = object.functions; lodash.functionsIn = object.functionsIn; lodash.groupBy = collection.groupBy; lodash.initial = array.initial; lodash.intersection = array.intersection; lodash.intersectionBy = array.intersectionBy; lodash.intersectionWith = array.intersectionWith; lodash.invert = object.invert; lodash.invertBy = object.invertBy; lodash.invokeMap = collection.invokeMap; lodash.iteratee = util.iteratee; lodash.keyBy = collection.keyBy; lodash.keys = keys; lodash.keysIn = object.keysIn; lodash.map = collection.map; lodash.mapKeys = object.mapKeys; lodash.mapValues = object.mapValues; lodash.matches = util.matches; lodash.matchesProperty = util.matchesProperty; lodash.memoize = func.memoize; lodash.merge = object.merge; lodash.mergeWith = object.mergeWith; lodash.method = util.method; lodash.methodOf = util.methodOf; lodash.mixin = mixin; lodash.negate = negate; lodash.nthArg = util.nthArg; lodash.omit = object.omit; lodash.omitBy = object.omitBy; lodash.once = func.once; lodash.orderBy = collection.orderBy; lodash.over = util.over; lodash.overArgs = func.overArgs; lodash.overEvery = util.overEvery; lodash.overSome = util.overSome; lodash.partial = func.partial; lodash.partialRight = func.partialRight; lodash.partition = collection.partition; lodash.pick = object.pick; lodash.pickBy = object.pickBy; lodash.property = util.property; lodash.propertyOf = util.propertyOf; lodash.pull = array.pull; lodash.pullAll = array.pullAll; lodash.pullAllBy = array.pullAllBy; lodash.pullAllWith = array.pullAllWith; lodash.pullAt = array.pullAt; lodash.range = util.range; lodash.rangeRight = util.rangeRight; lodash.rearg = func.rearg; lodash.reject = collection.reject; lodash.remove = array.remove; lodash.rest = func.rest; lodash.reverse = array.reverse; lodash.sampleSize = collection.sampleSize; lodash.set = object.set; lodash.setWith = object.setWith; lodash.shuffle = collection.shuffle; lodash.slice = array.slice; lodash.sortBy = collection.sortBy; lodash.sortedUniq = array.sortedUniq; lodash.sortedUniqBy = array.sortedUniqBy; lodash.split = string.split; lodash.spread = func.spread; lodash.tail = array.tail; lodash.take = array.take; lodash.takeRight = array.takeRight; lodash.takeRightWhile = array.takeRightWhile; lodash.takeWhile = array.takeWhile; lodash.tap = seq.tap; lodash.throttle = func.throttle; lodash.thru = thru; lodash.toArray = lang.toArray; lodash.toPairs = object.toPairs; lodash.toPairsIn = object.toPairsIn; lodash.toPath = util.toPath; lodash.toPlainObject = lang.toPlainObject; lodash.transform = object.transform; lodash.unary = func.unary; lodash.union = array.union; lodash.unionBy = array.unionBy; lodash.unionWith = array.unionWith; lodash.uniq = array.uniq; lodash.uniqBy = array.uniqBy; lodash.uniqWith = array.uniqWith; lodash.unset = object.unset; lodash.unzip = array.unzip; lodash.unzipWith = array.unzipWith; lodash.update = object.update; lodash.updateWith = object.updateWith; lodash.values = object.values; lodash.valuesIn = object.valuesIn; lodash.without = array.without; lodash.words = string.words; lodash.wrap = func.wrap; lodash.xor = array.xor; lodash.xorBy = array.xorBy; lodash.xorWith = array.xorWith; lodash.zip = array.zip; lodash.zipObject = array.zipObject; lodash.zipObjectDeep = array.zipObjectDeep; lodash.zipWith = array.zipWith; // Add aliases. lodash.entries = object.toPairs; lodash.entriesIn = object.toPairsIn; lodash.extend = object.assignIn; lodash.extendWith = object.assignInWith; // Add methods to `lodash.prototype`. mixin(lodash, lodash); // Add methods that return unwrapped values in chain sequences. lodash.add = math.add; lodash.attempt = util.attempt; lodash.camelCase = string.camelCase; lodash.capitalize = string.capitalize; lodash.ceil = math.ceil; lodash.clamp = number.clamp; lodash.clone = lang.clone; lodash.cloneDeep = lang.cloneDeep; lodash.cloneDeepWith = lang.cloneDeepWith; lodash.cloneWith = lang.cloneWith; lodash.conformsTo = lang.conformsTo; lodash.deburr = string.deburr; lodash.defaultTo = util.defaultTo; lodash.divide = math.divide; lodash.endsWith = string.endsWith; lodash.eq = lang.eq; lodash.escape = string.escape; lodash.escapeRegExp = string.escapeRegExp; lodash.every = collection.every; lodash.find = collection.find; lodash.findIndex = array.findIndex; lodash.findKey = object.findKey; lodash.findLast = collection.findLast; lodash.findLastIndex = array.findLastIndex; lodash.findLastKey = object.findLastKey; lodash.floor = math.floor; lodash.forEach = collection.forEach; lodash.forEachRight = collection.forEachRight; lodash.forIn = object.forIn; lodash.forInRight = object.forInRight; lodash.forOwn = object.forOwn; lodash.forOwnRight = object.forOwnRight; lodash.get = object.get; lodash.gt = lang.gt; lodash.gte = lang.gte; lodash.has = object.has; lodash.hasIn = object.hasIn; lodash.head = array.head; lodash.identity = identity; lodash.includes = collection.includes; lodash.indexOf = array.indexOf; lodash.inRange = number.inRange; lodash.invoke = object.invoke; lodash.isArguments = lang.isArguments; lodash.isArray = isArray; lodash.isArrayBuffer = lang.isArrayBuffer; lodash.isArrayLike = lang.isArrayLike; lodash.isArrayLikeObject = lang.isArrayLikeObject; lodash.isBoolean = lang.isBoolean; lodash.isBuffer = lang.isBuffer; lodash.isDate = lang.isDate; lodash.isElement = lang.isElement; lodash.isEmpty = lang.isEmpty; lodash.isEqual = lang.isEqual; lodash.isEqualWith = lang.isEqualWith; lodash.isError = lang.isError; lodash.isFinite = lang.isFinite; lodash.isFunction = lang.isFunction; lodash.isInteger = lang.isInteger; lodash.isLength = lang.isLength; lodash.isMap = lang.isMap; lodash.isMatch = lang.isMatch; lodash.isMatchWith = lang.isMatchWith; lodash.isNaN = lang.isNaN; lodash.isNative = lang.isNative; lodash.isNil = lang.isNil; lodash.isNull = lang.isNull; lodash.isNumber = lang.isNumber; lodash.isObject = isObject; lodash.isObjectLike = lang.isObjectLike; lodash.isPlainObject = lang.isPlainObject; lodash.isRegExp = lang.isRegExp; lodash.isSafeInteger = lang.isSafeInteger; lodash.isSet = lang.isSet; lodash.isString = lang.isString; lodash.isSymbol = lang.isSymbol; lodash.isTypedArray = lang.isTypedArray; lodash.isUndefined = lang.isUndefined; lodash.isWeakMap = lang.isWeakMap; lodash.isWeakSet = lang.isWeakSet; lodash.join = array.join; lodash.kebabCase = string.kebabCase; lodash.last = last; lodash.lastIndexOf = array.lastIndexOf; lodash.lowerCase = string.lowerCase; lodash.lowerFirst = string.lowerFirst; lodash.lt = lang.lt; lodash.lte = lang.lte; lodash.max = math.max; lodash.maxBy = math.maxBy; lodash.mean = math.mean; lodash.meanBy = math.meanBy; lodash.min = math.min; lodash.minBy = math.minBy; lodash.stubArray = util.stubArray; lodash.stubFalse = util.stubFalse; lodash.stubObject = util.stubObject; lodash.stubString = util.stubString; lodash.stubTrue = util.stubTrue; lodash.multiply = math.multiply; lodash.nth = array.nth; lodash.noop = util.noop; lodash.now = date.now; lodash.pad = string.pad; lodash.padEnd = string.padEnd; lodash.padStart = string.padStart; lodash.parseInt = string.parseInt; lodash.random = number.random; lodash.reduce = collection.reduce; lodash.reduceRight = collection.reduceRight; lodash.repeat = string.repeat; lodash.replace = string.replace; lodash.result = object.result; lodash.round = math.round; lodash.sample = collection.sample; lodash.size = collection.size; lodash.snakeCase = string.snakeCase; lodash.some = collection.some; lodash.sortedIndex = array.sortedIndex; lodash.sortedIndexBy = array.sortedIndexBy; lodash.sortedIndexOf = array.sortedIndexOf; lodash.sortedLastIndex = array.sortedLastIndex; lodash.sortedLastIndexBy = array.sortedLastIndexBy; lodash.sortedLastIndexOf = array.sortedLastIndexOf; lodash.startCase = string.startCase; lodash.startsWith = string.startsWith; lodash.subtract = math.subtract; lodash.sum = math.sum; lodash.sumBy = math.sumBy; lodash.template = string.template; lodash.times = util.times; lodash.toFinite = lang.toFinite; lodash.toInteger = toInteger; lodash.toLength = lang.toLength; lodash.toLower = string.toLower; lodash.toNumber = lang.toNumber; lodash.toSafeInteger = lang.toSafeInteger; lodash.toString = lang.toString; lodash.toUpper = string.toUpper; lodash.trim = string.trim; lodash.trimEnd = string.trimEnd; lodash.trimStart = string.trimStart; lodash.truncate = string.truncate; lodash.unescape = string.unescape; lodash.uniqueId = util.uniqueId; lodash.upperCase = string.upperCase; lodash.upperFirst = string.upperFirst; // Add aliases. lodash.each = collection.forEach; lodash.eachRight = collection.forEachRight; lodash.first = array.head; mixin(lodash, (function() { var source = {}; baseForOwn(lodash, function(func, methodName) { if (!hasOwnProperty.call(lodash.prototype, methodName)) { source[methodName] = func; } }); return source; }()), { 'chain': false }); /** * The semantic version number. * * @static * @memberOf _ * @type {string} */ lodash.VERSION = VERSION; (lodash.templateSettings = string.templateSettings).imports._ = lodash; // Assign default placeholders. arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) { lodash[methodName].placeholder = lodash; }); // Add `LazyWrapper` methods for `_.drop` and `_.take` variants. arrayEach(['drop', 'take'], function(methodName, index) { LazyWrapper.prototype[methodName] = function(n) { n = n === undefined ? 1 : nativeMax(toInteger(n), 0); var result = (this.__filtered__ && !index) ? new LazyWrapper(this) : this.clone(); if (result.__filtered__) { result.__takeCount__ = nativeMin(n, result.__takeCount__); } else { result.__views__.push({ 'size': nativeMin(n, MAX_ARRAY_LENGTH), 'type': methodName + (result.__dir__ < 0 ? 'Right' : '') }); } return result; }; LazyWrapper.prototype[methodName + 'Right'] = function(n) { return this.reverse()[methodName](n).reverse(); }; }); // Add `LazyWrapper` methods that accept an `iteratee` value. arrayEach(['filter', 'map', 'takeWhile'], function(methodName, index) { var type = index + 1, isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG; LazyWrapper.prototype[methodName] = function(iteratee) { var result = this.clone(); result.__iteratees__.push({ 'iteratee': baseIteratee(iteratee, 3), 'type': type }); result.__filtered__ = result.__filtered__ || isFilter; return result; }; }); // Add `LazyWrapper` methods for `_.head` and `_.last`. arrayEach(['head', 'last'], function(methodName, index) { var takeName = 'take' + (index ? 'Right' : ''); LazyWrapper.prototype[methodName] = function() { return this[takeName](1).value()[0]; }; }); // Add `LazyWrapper` methods for `_.initial` and `_.tail`. arrayEach(['initial', 'tail'], function(methodName, index) { var dropName = 'drop' + (index ? '' : 'Right'); LazyWrapper.prototype[methodName] = function() { return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1); }; }); LazyWrapper.prototype.compact = function() { return this.filter(identity); }; LazyWrapper.prototype.find = function(predicate) { return this.filter(predicate).head(); }; LazyWrapper.prototype.findLast = function(predicate) { return this.reverse().find(predicate); }; LazyWrapper.prototype.invokeMap = baseRest(function(path, args) { if (typeof path == 'function') { return new LazyWrapper(this); } return this.map(function(value) { return baseInvoke(value, path, args); }); }); LazyWrapper.prototype.reject = function(predicate) { return this.filter(negate(baseIteratee(predicate))); }; LazyWrapper.prototype.slice = function(start, end) { start = toInteger(start); var result = this; if (result.__filtered__ && (start > 0 || end < 0)) { return new LazyWrapper(result); } if (start < 0) { result = result.takeRight(-start); } else if (start) { result = result.drop(start); } if (end !== undefined) { end = toInteger(end); result = end < 0 ? result.dropRight(-end) : result.take(end - start); } return result; }; LazyWrapper.prototype.takeRightWhile = function(predicate) { return this.reverse().takeWhile(predicate).reverse(); }; LazyWrapper.prototype.toArray = function() { return this.take(MAX_ARRAY_LENGTH); }; // Add `LazyWrapper` methods to `lodash.prototype`. baseForOwn(LazyWrapper.prototype, function(func, methodName) { var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName), isTaker = /^(?:head|last)$/.test(methodName), lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName], retUnwrapped = isTaker || /^find/.test(methodName); if (!lodashFunc) { return; } lodash.prototype[methodName] = function() { var value = this.__wrapped__, args = isTaker ? [1] : arguments, isLazy = value instanceof LazyWrapper, iteratee = args[0], useLazy = isLazy || isArray(value); var interceptor = function(value) { var result = lodashFunc.apply(lodash, arrayPush([value], args)); return (isTaker && chainAll) ? result[0] : result; }; if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) { // Avoid lazy use if the iteratee has a "length" value other than `1`. isLazy = useLazy = false; } var chainAll = this.__chain__, isHybrid = !!this.__actions__.length, isUnwrapped = retUnwrapped && !chainAll, onlyLazy = isLazy && !isHybrid; if (!retUnwrapped && useLazy) { value = onlyLazy ? value : new LazyWrapper(this); var result = func.apply(value, args); result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined }); return new LodashWrapper(result, chainAll); } if (isUnwrapped && onlyLazy) { return func.apply(this, args); } result = this.thru(interceptor); return isUnwrapped ? (isTaker ? result.value()[0] : result.value()) : result; }; }); // Add `Array` methods to `lodash.prototype`. arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) { var func = arrayProto[methodName], chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru', retUnwrapped = /^(?:pop|shift)$/.test(methodName); lodash.prototype[methodName] = function() { var args = arguments; if (retUnwrapped && !this.__chain__) { var value = this.value(); return func.apply(isArray(value) ? value : [], args); } return this[chainName](function(value) { return func.apply(isArray(value) ? value : [], args); }); }; }); // Map minified method names to their real names. baseForOwn(LazyWrapper.prototype, function(func, methodName) { var lodashFunc = lodash[methodName]; if (lodashFunc) { var key = lodashFunc.name + ''; if (!hasOwnProperty.call(realNames, key)) { realNames[key] = []; } realNames[key].push({ 'name': methodName, 'func': lodashFunc }); } }); realNames[createHybrid(undefined, WRAP_BIND_KEY_FLAG).name] = [{ 'name': 'wrapper', 'func': undefined }]; // Add methods to `LazyWrapper`. LazyWrapper.prototype.clone = lazyClone; LazyWrapper.prototype.reverse = lazyReverse; LazyWrapper.prototype.value = lazyValue; // Add chain sequence methods to the `lodash` wrapper. lodash.prototype.at = seq.at; lodash.prototype.chain = seq.wrapperChain; lodash.prototype.commit = seq.commit; lodash.prototype.next = seq.next; lodash.prototype.plant = seq.plant; lodash.prototype.reverse = seq.reverse; lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = seq.value; // Add lazy aliases. lodash.prototype.first = lodash.prototype.head; if (symIterator) { lodash.prototype[symIterator] = seq.toIterator; } export default lodash;
Close