Built motion from commit fd239ea.|0.0.31
[motion.git] / public / bower_components / lodash / dist / mapping.fp.js
1 (function webpackUniversalModuleDefinition(root, factory) {
2         if(typeof exports === 'object' && typeof module === 'object')
3                 module.exports = factory();
4         else if(typeof define === 'function' && define.amd)
5                 define([], factory);
6         else if(typeof exports === 'object')
7                 exports["mapping"] = factory();
8         else
9                 root["mapping"] = factory();
10 })(this, function() {
11 return /******/ (function(modules) { // webpackBootstrap
12 /******/        // The module cache
13 /******/        var installedModules = {};
14
15 /******/        // The require function
16 /******/        function __webpack_require__(moduleId) {
17
18 /******/                // Check if module is in cache
19 /******/                if(installedModules[moduleId])
20 /******/                        return installedModules[moduleId].exports;
21
22 /******/                // Create a new module (and put it into the cache)
23 /******/                var module = installedModules[moduleId] = {
24 /******/                        exports: {},
25 /******/                        id: moduleId,
26 /******/                        loaded: false
27 /******/                };
28
29 /******/                // Execute the module function
30 /******/                modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
32 /******/                // Flag the module as loaded
33 /******/                module.loaded = true;
34
35 /******/                // Return the exports of the module
36 /******/                return module.exports;
37 /******/        }
38
39
40 /******/        // expose the modules object (__webpack_modules__)
41 /******/        __webpack_require__.m = modules;
42
43 /******/        // expose the module cache
44 /******/        __webpack_require__.c = installedModules;
45
46 /******/        // __webpack_public_path__
47 /******/        __webpack_require__.p = "";
48
49 /******/        // Load entry module and return exports
50 /******/        return __webpack_require__(0);
51 /******/ })
52 /************************************************************************/
53 /******/ ([
54 /* 0 */
55 /***/ function(module, exports) {
56
57         module.exports = {
58
59           /** Used to map method names to their aliases. */
60           'aliasMap': {
61             'ary': ['nAry'],
62             'overEvery': ['allPass'],
63             'overSome': ['somePass'],
64             'filter': ['whereEq'],
65             'flatten': ['unnest'],
66             'flow': ['pipe'],
67             'flowRight': ['compose'],
68             'forEach': ['each'],
69             'forEachRight': ['eachRight'],
70             'get': ['path'],
71             'getOr': ['pathOr'],
72             'head': ['first'],
73             'includes': ['contains'],
74             'initial': ['init'],
75             'isEqual': ['equals'],
76             'mapValues': ['mapObj'],
77             'matchesProperty': ['pathEq'],
78             'overArgs': ['useWith'],
79             'omit': ['dissoc', 'omitAll'],
80             'pick': ['pickAll'],
81             'property': ['prop'],
82             'propertyOf': ['propOf'],
83             'rest': ['unapply'],
84             'some': ['all'],
85             'spread': ['apply'],
86             'zipObject': ['zipObj']
87           },
88
89           /** Used to map method names to their iteratee ary. */
90           'aryIterateeMap': {
91             'assignWith': 2,
92             'cloneDeepWith': 1,
93             'cloneWith': 1,
94             'dropRightWhile': 1,
95             'dropWhile': 1,
96             'every': 1,
97             'extendWith': 2,
98             'filter': 1,
99             'find': 1,
100             'findIndex': 1,
101             'findKey': 1,
102             'findLast': 1,
103             'findLastIndex': 1,
104             'findLastKey': 1,
105             'flatMap': 1,
106             'forEach': 1,
107             'forEachRight': 1,
108             'forIn': 1,
109             'forInRight': 1,
110             'forOwn': 1,
111             'forOwnRight': 1,
112             'isEqualWith': 2,
113             'isMatchWith': 2,
114             'map': 1,
115             'mapKeys': 1,
116             'mapValues': 1,
117             'partition': 1,
118             'reduce': 2,
119             'reduceRight': 2,
120             'reject': 1,
121             'remove': 1,
122             'some': 1,
123             'takeRightWhile': 1,
124             'takeWhile': 1,
125             'times': 1,
126             'transform': 2
127           },
128
129           /** Used to map ary to method names. */
130           'aryMethodMap': {
131             1: (
132               'attempt,ceil,create,curry,curryRight,floor,fromPairs,iteratee,invert,over,' +
133               'overEvery,overSome,memoize,method,methodOf,mixin,rest,reverse,round,' +
134               'runInContext,template,trim,trimLeft,trimRight,uniqueId,words').split(','),
135             2: (
136               'add,ary,assign,at,bind,bindKey,cloneDeepWith,cloneWith,concat,countBy,curryN,' +
137               'curryRightN,debounce,defaults,defaultsDeep,delay,difference,drop,dropRight,' +
138               'dropRightWhile,dropWhile,endsWith,eq,every,extend,filter,find,find,findIndex,' +
139               'findKey,findLast,findLastIndex,findLastKey,flatMap,forEach,forEachRight,' +
140               'forIn,forInRight,forOwn,forOwnRight,get,groupBy,includes,indexBy,indexOf,' +
141               'intersection,invoke,invokeMap,isMatch,lastIndexOf,map,mapKeys,mapValues,' +
142               'matchesProperty,maxBy,mean,minBy,merge,omit,orderBy,overArgs,pad,padLeft,' +
143               'padRight,parseInt,partition,pick,pull,pullAll,pullAt,random,range,rangeRight,' +
144               'rearg,reject,remove,repeat,result,sampleSize,some,sortBy,sortedIndexBy,' +
145               'sortedLastIndexBy,sortedUniqBy,startsWith,subtract,sumBy,take,takeRight,' +
146               'takeRightWhile,takeWhile,throttle,times,truncate,union,uniqBy,without,wrap,' +
147               'xor,zip,zipObject').split(','),
148             3: (
149               'assignWith,clamp,differenceBy,extendWith,getOr,inRange,intersectionBy,' +
150               'isEqualWith,isMatchWith,mergeWith,omitBy,pickBy,pullAllBy,reduce,' +
151               'reduceRight,set,slice,transform,unionBy,xorBy,zipWith').split(','),
152             4:
153               ['fill', 'setWith']
154           },
155
156           /** Used to map ary to rearg configs by method ary. */
157           'aryReargMap': {
158             2: [1, 0],
159             3: [2, 1, 0],
160             4: [3, 2, 0, 1]
161           },
162
163           /** Used to map ary to rearg configs by method names. */
164           'methodReargMap': {
165             'clamp': [2, 0, 1],
166             'reduce': [2, 0, 1],
167             'reduceRight': [2, 0, 1],
168             'setWith': [3, 2, 1, 0],
169             'slice': [2, 0, 1],
170             'transform': [2, 0, 1]
171           },
172
173           /** Used to iterate `mapping.aryMethodMap` keys. */
174           'caps': [1, 2, 3, 4],
175
176           /** Used to map keys to other keys. */
177           'keyMap': {
178             'curryN': 'curry',
179             'curryRightN': 'curryRight',
180             'getOr': 'get'
181           },
182
183           /** Used to identify methods which mutate arrays or objects. */
184           'mutateMap': {
185             'array': {
186               'fill': true,
187               'pull': true,
188               'pullAll': true,
189               'pullAllBy': true,
190               'pullAt': true,
191               'remove': true,
192               'reverse': true
193             },
194             'object': {
195               'assign': true,
196               'assignWith': true,
197               'defaults': true,
198               'defaultsDeep': true,
199               'extend': true,
200               'extendWith': true,
201               'merge': true,
202               'mergeWith': true
203             },
204             'set': {
205               'set': true,
206               'setWith': true
207             }
208           },
209
210           /** Used to track methods that skip `_.rearg`. */
211           'skipReargMap': {
212             'difference': true,
213             'matchesProperty': true,
214             'random': true,
215             'range': true,
216             'rangeRight': true,
217             'zip': true,
218             'zipObject': true
219           }
220         };
221
222
223 /***/ }
224 /******/ ])
225 });
226 ;