Must Watch
‘ });
* // => ‘<script>‘
*
* // using the “evaluate” delimiter to execute JavaScript and generate HTML
* var compiled = _.template(‘
* compiled( ‘users’: [‘fred’, ‘barney’] );
* // => ‘
‘
*
* // using the internal `print` function in “evaluate” delimiters
* var compiled = _.template(‘!’);
* compiled( ‘user’: ‘barney’ );
* // => ‘hello barney!’
*
* // using the ES delimiter as an alternative to the default “interpolate” delimiter
* var compiled = _.template(‘hello $ user !’);
* compiled( ‘user’: ‘pebbles’ );
* // => ‘hello pebbles!’
*
* // using custom template delimiters
* _.templateSettings.interpolate = /([sS]+?)/g;
* var compiled = _.template(‘hello user !’);
* compiled( ‘user’: ‘mustache’ );
* // => ‘hello mustache!’
*
* // using backslashes to treat delimiters as plain text
* var compiled = _.template(‘” %>’);
* compiled( ‘value’: ‘ignored’ );
* // => ”
*
* // using the `imports` option to import `jQuery` as `jq`
* var text = ‘
* var compiled = _.template(text, ‘imports’: ‘jq’: jQuery );
* compiled( ‘users’: [‘fred’, ‘barney’] );
* // => ‘
‘
*
* // using the `sourceURL` option to specify a custom sourceURL for the template
* var compiled = _.template(‘hello !’, ‘sourceURL’: ‘/basic/greeting.jst’ );
* compiled(data);
* // => find the source of “greeting.jst” under the Sources tab or Resources panel of the web inspector
*
* // using the `variable` option to ensure a with-statement isn’t used in the compiled template
* var compiled = _.template(‘hi !’, ‘variable’: ‘data’ );
* compiled.source;
* // => function(data)
* // var __t, __p = ”;
* // __p += ‘hi ‘ + ((__t = ( data.user )) == null ? ” : __t) + ‘!’;
* // return __p;
* //
*
* // using the `source` property to inline compiled templates for meaningful
* // line numbers in error messages and a stack trace
* fs.writeFileSync(path.join(cwd, ‘jst.js’), ‘
* var JST =
* “main”: ‘ + _.template(mainText).source + ‘
* ;
* ‘);
*/
function template(string,options,otherOptions)$”,”g”),sourceURL=”//# sourceURL=”+(“sourceURL”in options?options.sourceURL:”lodash.templateSources[“+ ++templateCounter+”]”)+”n”;string.replace(reDelimiters,function(match,escapeValue,interpolateValue,esTemplateValue,evaluateValue,offset)),source+=”‘;n”;
// If `variable` is not specified wrap a with-statement around the generated
// code to add the data object to the top of the scope chain.
var variable=options.variable;variable/**
* Removes leading and trailing whitespace or specified characters from `string`.
*
* @static
* @memberOf _
* @category String
* @param string [string=”] The string to trim.
* @param string [chars=whitespace] The characters to trim.
* @param- Object [guard] Enables use as a callback for functions like `_.map`.
* @returns string Returns the trimmed string.
* @example
*
* _.trim(‘ abc ‘);
* // => ‘abc’
*
* _.trim(‘-_-abc-_-‘, ‘_-‘);
* // => ‘abc’
*
* _.map([‘ foo ‘, ‘ bar ‘], _.trim);
* // => [‘foo’, ‘bar’]
*/
function trim(string,chars,guard)var value=string;return(string=baseToString(string))?(guard?isIterateeCall(value,chars,guard):null==chars)?string.slice(trimmedLeftIndex(string),trimmedRightIndex(string)+1):(chars+=””,string.slice(charsLeftIndex(string,chars),charsRightIndex(string,chars)+1)):string/**
* Removes leading whitespace or specified characters from `string`.
*
* @static
* @memberOf _
* @category String
* @param string [string=”] The string to trim.
* @param string [chars=whitespace] The characters to trim.
* @param- Object [guard] Enables use as a callback for functions like `_.map`.
* @returns string Returns the trimmed string.
* @example
*
* _.trimLeft(‘ abc ‘);
* // => ‘abc ‘
*
* _.trimLeft(‘-_-abc-_-‘, ‘_-‘);
* // => ‘abc-_-‘
*/
function trimLeft(string,chars,guard)var value=string;return string=baseToString(string),string?(guard?isIterateeCall(value,chars,guard):null==chars)?string.slice(trimmedLeftIndex(string)):string.slice(charsLeftIndex(string,chars+””)):string/**
* Removes trailing whitespace or specified characters from `string`.
*
* @static
* @memberOf _
* @category String
* @param string [string=”] The string to trim.
* @param string [chars=whitespace] The characters to trim.
* @param- Object [guard] Enables use as a callback for functions like `_.map`.
* @returns string Returns the trimmed string.
* @example
*
* _.trimRight(‘ abc ‘);
* // => ‘ abc’
*
* _.trimRight(‘-_-abc-_-‘, ‘_-‘);
* // => ‘-_-abc’
*/
function trimRight(string,chars,guard)var value=string;return string=baseToString(string),string?(guard?isIterateeCall(value,chars,guard):null==chars)?string.slice(0,trimmedRightIndex(string)+1):string.slice(0,charsRightIndex(string,chars+””)+1):string/**
* Truncates `string` if it’s longer than the given maximum string length.
* The last characters of the truncated string are replaced with the omission
* string which defaults to “…”.
*
* @static
* @memberOf _
* @category String
* @param string [string=”] The string to truncate.
* @param Object [options] The options object or maximum string length.
* @param number [options.length=30] The maximum string length.
* @param string [options.omission=’…’] The string to indicate text is omitted.
* @param RegExp [options.separator] The separator pattern to truncate to.
* @param- Object [guard] Enables use as a callback for functions like `_.map`.
* @returns string Returns the truncated string.
* @example
*
* _.trunc(‘hi-diddly-ho there, neighborino’);
* // => ‘hi-diddly-ho there, neighbo…’
*
* _.trunc(‘hi-diddly-ho there, neighborino’, 24);
* // => ‘hi-diddly-ho there, n…’
*
* _.trunc(‘hi-diddly-ho there, neighborino’,
* ‘length’: 24,
* ‘separator’: ‘ ‘
* );
* // => ‘hi-diddly-ho there,…’
*
* _.trunc(‘hi-diddly-ho there, neighborino’,
* ‘length’: 24,
* ‘separator’: /,? +/
* );
* // => ‘hi-diddly-ho there…’
*
* _.trunc(‘hi-diddly-ho there, neighborino’,
* ‘omission’: ‘ […]’
* );
* // => ‘hi-diddly-ho there, neig […]’
*/
function trunc(string,options,guard)0;if(string=baseToString(string),length>=string.length)return string;var end=length-omission.length;if(1>end)return omission;var result=string.slice(0,end);if(null==separator)return result+omission;if(isRegExp(separator))if(string.slice(end).search(separator))(separator=RegExp(separator.source,(reFlags.exec(separator)else if(string.indexOf(separator,end)!=end)var index=result.lastIndexOf(separator);index>-1&&(result=result.slice(0,index))return result+omission/**
* The inverse of `_.escape`; this method converts the HTML entities
* `&`, “, `”`, `’`, and “` in `string` to their
* corresponding characters.
*
* **Note:** No other HTML entities are unescaped. To unescape additional HTML
* entities use a third-party library like [_he_](https://mths.be/he).
*
* @static
* @memberOf _
* @category String
* @param string [string=”] The string to unescape.
* @returns string Returns the unescaped string.
* @example
*
* _.unescape(‘fred, barney, & pebbles’);
* // => ‘fred, barney, & pebbles’
*/
function unescape(string)return string=baseToString(string),string&&reHasEscapedHtml.test(string)?string.replace(reEscapedHtml,unescapeHtmlChar):string/**
* Splits `string` into an array of its words.
*
* @static
* @memberOf _
* @category String
* @param string [string=”] The string to inspect.
* @param RegExp [pattern] The pattern to match words.
* @param- Object [guard] Enables use as a callback for functions like `_.map`.
* @returns Array Returns the words of `string`.
* @example
*
* _.words(‘fred, barney, & pebbles’);
* // => [‘fred’, ‘barney’, ‘pebbles’]
*
* _.words(‘fred, barney, & pebbles’, /[^, ]+/g);
* // => [‘fred’, ‘barney’, ‘&’, ‘pebbles’]
*/
function words(string,pattern,guard)[]/**
* Creates a function that invokes `func` with the `this` binding of `thisArg`
* and arguments of the created function. If `func` is a property name the
* created callback returns the property value for a given element. If `func`
* is an object the created callback returns `true` for elements that contain
* the equivalent object properties, otherwise it returns `false`.
*
* @static
* @memberOf _
* @alias iteratee
* @category Utility
* @param * [func=_.identity] The value to convert to a callback.
* @param * [thisArg] The `this` binding of `func`.
* @param- Object [guard] Enables use as a callback for functions like `_.map`.
* @returns Function Returns the callback.
* @example
*
* var users = [
* ‘user’: ‘barney’, ‘age’: 36 ,
* ‘user’: ‘fred’, ‘age’: 40
* ];
*
* // wrap to create custom callback shorthands
* _.callback = _.wrap(_.callback, function(callback, func, thisArg) {
* var match = /^(.+?)__([gl]t)(.+)$/.exec(func);
* if (!match)
* return callback(func, thisArg);
*
* return function(object) {
* return match[2] == ‘gt’
* ? object[match[1]] > match[3]
* : object[match[1]] [ ‘user’: ‘fred’, ‘age’: 40 ]
*/
function callback(func,thisArg,guard)return guard&&isIterateeCall(func,thisArg,guard)&&(thisArg=undefined),isObjectLike(func)?matches(func):baseCallback(func,thisArg)/**
* Creates a function that returns `value`.
*
* @static
* @memberOf _
* @category Utility
* @param * value The value to return from the new function.
* @returns Function Returns the new function.
* @example
*
* var object = ‘user’: ‘fred’ ;
* var getter = _.constant(object);
*
* getter() === object;
* // => true
*/
function constant(value)return function()return value/**
* This method returns the first argument provided to it.
*
* @static
* @memberOf _
* @category Utility
* @param * value Any value.
* @returns * Returns `value`.
* @example
*
* var object = ‘user’: ‘fred’ ;
*
* _.identity(object) === object;
* // => true
*/
function identity(value)return value/**
* Creates a function that performs a deep comparison between a given object
* and `source`, returning `true` if the given object has equivalent property
* values, else `false`.
*
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
* numbers, `Object` objects, regexes, and strings. Objects are compared by
* their own, not inherited, enumerable properties. For comparing a single
* own or inherited property value see `_.matchesProperty`.
*
* @static
* @memberOf _
* @category Utility
* @param Object source The object of property values to match.
* @returns Function Returns the new function.
* @example
*
* var users = [
* ‘user’: ‘barney’, ‘age’: 36, ‘active’: true ,
* ‘user’: ‘fred’, ‘age’: 40, ‘active’: false
* ];
*
* _.filter(users, _.matches( ‘age’: 40, ‘active’: false ));
* // => [ ‘user’: ‘fred’, ‘age’: 40, ‘active’: false ]
*/
function matches(source)return baseMatches(baseClone(source,!0))/**
* Creates a function that compares the property value of `path` on a given
* object to `value`.
*
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
* numbers, `Object` objects, regexes, and strings. Objects are compared by
* their own, not inherited, enumerable properties.
*
* @static
* @memberOf _
* @category Utility
* @param string path The path of the property to get.
* @param * srcValue The value to match.
* @returns Function Returns the new function.
* @example
*
* var users = [
* ‘user’: ‘barney’ ,
* ‘user’: ‘fred’
* ];
*
* _.find(users, _.matchesProperty(‘user’, ‘fred’));
* // => ‘user’: ‘fred’
*/
function matchesProperty(path,srcValue)return baseMatchesProperty(path,baseClone(srcValue,!0))/**
* Adds all own enumerable function properties of a source object to the
* destination object. If `object` is a function then methods are added to
* its prototype as well.
*
* **Note:** Use `_.runInContext` to create a pristine `lodash` function to
* avoid conflicts caused by modifying the original.
*
* @static
* @memberOf _
* @category Utility
* @param Object [object=lodash] The destination object.
* @param Object source The object of functions to add.
* @param Object [options] The options object.
* @param boolean [options.chain=true] Specify whether the functions added
* are chainable.
* @returns Object Returns `object`.
* @example
*
* function vowels(string)
* return _.filter(string, function(v)
* return /[aeiou]/i.test(v);
* );
*
*
* _.mixin( ‘vowels’: vowels );
* _.vowels(‘fred’);
* // => [‘e’]
*
* _(‘fred’).vowels().value();
* // => [‘e’]
*
* _.mixin( ‘vowels’: vowels , ‘chain’: false );
* _(‘fred’).vowels();
* // => [‘e’]
*/
function mixin(object,source,options){if(null==options)var isObj=isObject(source),props=isObj?keys(source):undefined,methodNames=props&&props.length?baseFunctions(source,props):undefined;(methodNames?methodNames.length:isObj)methodNames||(methodNames=baseFunctions(source,keys(source)));var chain=!0,index=-1,isFunc=isFunction(object),length=methodNames.length;options===!1?chain=!1:isObject(options)&&”chain”in options&&(chain=options.chain);for(;++index
*/
function noop()/**
* Creates a function that returns the property value at `path` on a
* given object.
*
* @static
* @memberOf _
* @category Utility
* @param string path The path of the property to get.
* @returns Function Returns the new function.
* @example
*
* var objects = [
* ‘a’: ‘b’: ‘c’: 2 ,
* ‘a’: ‘b’: ‘c’: 1
* ];
*
* _.map(objects, _.property(‘a.b.c’));
* // => [2, 1]
*
* _.pluck(_.sortBy(objects, _.property([‘a’, ‘b’, ‘c’])), ‘a.b.c’);
* // => [1, 2]
*/
function property(path)return isKey(path)?baseProperty(path):basePropertyDeep(path)/**
* The opposite of `_.property`; this method creates a function that returns
* the property value at a given path on `object`.
*
* @static
* @memberOf _
* @category Utility
* @param Object object The object to query.
* @returns Function Returns the new function.
* @example
*
* var array = [0, 1, 2],
* object = ‘a’: array, ‘b’: array, ‘c’: array ;
*
* _.map([‘a[2]’, ‘c[0]’], _.propertyOf(object));
* // => [2, 0]
*
* _.map([[‘a’, ‘2’], [‘c’, ‘0’]], _.propertyOf(object));
* // => [2, 0]
*/
function propertyOf(object)return function(path)return baseGet(object,toPath(path),path+””)/**
* Creates an array of numbers (positive and/or negative) progressing from
* `start` up to, but not including, `end`. If `end` is not specified it is
* set to `start` with `start` then set to `0`. If `end` is less than `start`
* a zero-length range is created unless a negative `step` is specified.
*
* @static
* @memberOf _
* @category Utility
* @param number [start=0] The start of the range.
* @param number end The end of the range.
* @param number [step=1] The value to increment or decrement by.
* @returns Array Returns the new array of numbers.
* @example
*
* _.range(4);
* // => [0, 1, 2, 3]
*
* _.range(1, 5);
* // => [1, 2, 3, 4]
*
* _.range(0, 20, 5);
* // => [0, 5, 10, 15]
*
* _.range(0, -4, -1);
* // => [0, -1, -2, -3]
*
* _.range(1, 4, 0);
* // => [1, 1, 1]
*
* _.range(0);
* // => []
*/
function range(start,end,step){step&&isIterateeCall(start,end,step)&&(end=step=undefined),start=+start||0,step=null==step?1:+step||0,null==end?(end=start,start=0):end=+end||0;for(
// Use `Array(length)` so engines like Chakra and V8 avoid slower modes.
// See https://youtu.be/XAqIpGU8ZZk#t=17m25s for more details.
var index=-1,length=nativeMax(nativeCeil((end-start)/(step||1)),0),result=Array(length);++index
*
* _.times(3, function(n)
* mage.castSpell(n);
* );
* // => invokes `mage.castSpell(n)` three times with `n` of `0`, `1`, and `2`
*
* _.times(3, function(n)
* this.cast(n);
* , mage);
* // => also invokes `mage.castSpell(n)` three times
*/
function times(n,iteratee,thisArg)/**
* Generates a unique ID. If `prefix` is provided the ID is appended to it.
*
* @static
* @memberOf _
* @category Utility
* @param string [prefix] The value to prefix the ID with.
* @returns string Returns the unique ID.
* @example
*
* _.uniqueId(‘contact_’);
* // => ‘contact_104’
*
* _.uniqueId();
* // => ‘105’
*/
function uniqueId(prefix)var id=++idCounter;return baseToString(prefix)+id/*————————————————————————*/
/**
* Adds two numbers.
*
* @static
* @memberOf _
* @category Math
* @param number augend The first number to add.
* @param number addend The second number to add.
* @returns number Returns the sum.
* @example
*
* _.add(6, 4);
* // => 10
*/
function add(augend,addend)0)+(+addend/**
* Gets the sum of the values in `collection`.
*
* @static
* @memberOf _
* @category Math
* @param Array collection The collection to iterate over.
* @param string [iteratee] The function invoked per iteration.
* @param * [thisArg] The `this` binding of `iteratee`.
* @returns number Returns the sum.
* @example
*
* _.sum([4, 6]);
* // => 10
*
* _.sum( ‘a’: 4, ‘b’: 6 );
* // => 10
*
* var objects = [
* ‘n’: 4 ,
* ‘n’: 6
* ];
*
* _.sum(objects, function(object)
* return object.n;
* );
* // => 10
*
* // using the `_.property` callback shorthand
* _.sum(objects, ‘n’);
* // => 10
*/
function sum(collection,iteratee,thisArg)return thisArg&&isIterateeCall(collection,iteratee,thisArg)&&(iteratee=undefined),iteratee=getCallback(iteratee,thisArg,3),1==iteratee.length?arraySum(isArray(collection)?collection:toIterable(collection),iteratee):baseSum(collection,iteratee)
// Avoid issues with some ES3 environments that attempt to use values, named
// after built-in constructors like `Object`, for the creation of literals.
// ES5 clears this up by stating that literals must use built-in constructors.
// See https://es5.github.io/#x11.1.5 for more details.
context=context?_.defaults(root.Object(),context,_.pick(root,contextProps)):root;/** Native constructor references. */
var Array=context.Array,Date=context.Date,Error=context.Error,Function=context.Function,Math=context.Math,Number=context.Number,Object=context.Object,RegExp=context.RegExp,String=context.String,TypeError=context.TypeError,arrayProto=Array.prototype,objectProto=Object.prototype,stringProto=String.prototype,fnToString=Function.prototype.toString,hasOwnProperty=objectProto.hasOwnProperty,idCounter=0,objToString=objectProto.toString,oldDash=root._,reIsNative=RegExp(“^”+fnToString.call(hasOwnProperty).replace(/[\^$.*+?()[]|]/g,”\$&”).replace(/hasOwnProperty|(function).*?(?=\()| for .+?(?=\])/g,”$1.*?”)+”$”),ArrayBuffer=context.ArrayBuffer,clearTimeout=context.clearTimeout,parseFloat=context.parseFloat,pow=Math.pow,propertyIsEnumerable=objectProto.propertyIsEnumerable,Set=getNative(context,”Set”),setTimeout=context.setTimeout,splice=arrayProto.splice,Uint8Array=context.Uint8Array,WeakMap=getNative(context,”WeakMap”),nativeCeil=Math.ceil,nativeCreate=getNative(Object,”create”),nativeFloor=Math.floor,nativeIsArray=getNative(Array,”isArray”),nativeIsFinite=context.isFinite,nativeKeys=getNative(Object,”keys”),nativeMax=Math.max,nativeMin=Math.min,nativeNow=getNative(Date,”now”),nativeParseInt=context.parseInt,nativeRandom=Math.random,NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,POSITIVE_INFINITY=Number.POSITIVE_INFINITY,MAX_ARRAY_LENGTH=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH-1,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH>>>1,MAX_SAFE_INTEGER=9007199254740991,metaMap=WeakMap&&new WeakMap,realNames=;lodash.support=;/**
* By default, the template delimiters used by lodash are like those in
* embedded Ruby (ERB). Change the following template settings to use
* alternative delimiters.
*
* @static
* @memberOf _
* @type Object
*/
lodash.templateSettings=/**
* Used to detect `data` property values to be HTML-escaped.
*
* @memberOf _.templateSettings
* @type RegExp
*/
escape:reEscape,/**
* Used to detect code to be evaluated.
*
* @memberOf _.templateSettings
* @type RegExp
*/
evaluate:reEvaluate,/**
* Used to detect `data` property values to inject.
*
* @memberOf _.templateSettings
* @type RegExp
*/
interpolate:reInterpolate,/**
* Used to reference the data object in the template text.
*
* @memberOf _.templateSettings
* @type string
*/
variable:””,/**
* Used to import variables into the compiled template.
*
* @memberOf _.templateSettings
* @type Object
*/
imports:/**
* A reference to the `lodash` function.
*
* @memberOf _.templateSettings.imports
* @type Function
*/
_:lodash;/**
* The base implementation of `_.create` without support for assigning
* properties to the created object.
*
* @private
* @param Object prototype The object to inherit from.
* @returns Object Returns the new object.
*/
var baseCreate=function()function object()return function(prototype)if(isObject(prototype))object.prototype=prototype;var result=new object;object.prototype=undefinedreturn result(),baseEach=createBaseEach(baseForOwn),baseEachRight=createBaseEach(baseForOwnRight,!0),baseFor=createBaseFor(),baseForRight=createBaseFor(!0),baseSetData=metaMap?function(func,data)return metaMap.set(func,data),func:identity,getData=metaMap?function(func)return metaMap.get(func):noop,getLength=baseProperty(“length”),setData=function()var count=0,lastCalled=0;return function(key,value)var stamp=now(),remaining=HOT_SPAN-(stamp-lastCalled);if(lastCalled=stamp,remaining>0)if(++count>=HOT_COUNT)return keyelse count=0;return baseSetData(key,value)(),difference=restParam(function(array,values)return isObjectLike(array)&&isArrayLike(array)?baseDifference(array,baseFlatten(values,!1,!0)):[]),findIndex=createFindIndex(),findLastIndex=createFindIndex(!0),intersection=restParam(function(arrays)BIND_KEY_FLAG;if(partials.length)=PARTIAL_FLAGreturn” createwrapper=”” basedelay=”” func=”” new=”” typeerror=”” length=”transforms.length;return” restparam=”” index=”nativeMin(args.length,length);index–;)args[index]=transforms[index](args[index]);return” func.apply=”” isobjectlike=”” customizer=”” ctor=”null==object?undefined:object.constructor;return"function"==typeof” props=”” pickbyarray=”” predicate=”bindCallback(props[0],props[1],3);return” pickbycallback=”” null=”=object?:"function"==typeof” word=”word.toLowerCase(),result+(index?word.charAt(0).toUpperCase()+word.slice(1):word)),kebabCase=createCompounder(function(result,word,index){return” result=”” iserror=”” error=”” function=”” invokepath=”” ensure=”” wrappers=”” are=”” instances=”” of=”” add=”” functions=”” to=”” the=”” cache.=”” assign=”” cache=”” that=”” return=”” wrapped=”” values=”” when=”” chaining.=”” aliases.=”” unwrapped=”” capable=”” returning=”” and=”” semantic=”” version=”” number.=”” _=”” string=”” default=”” placeholders.=”” methods=”” for=”” variants.=”” accept=”” an=”” value.=”” map=”” minified=”” names=”” their=”” real=”” names.=”” lazy=”” wrapper.=”” chaining=”” aliases=”” lodash.prototype=”baseLodash.prototype,LodashWrapper.prototype=baseCreate(baseLodash.prototype),LodashWrapper.prototype.constructor=LodashWrapper,LazyWrapper.prototype=baseCreate(baseLodash.prototype),LazyWrapper.prototype.constructor=LazyWrapper,MapCache.prototype["delete"]=mapDelete,MapCache.prototype.get=mapGet,MapCache.prototype.has=mapHas,MapCache.prototype.set=mapSet,SetCache.prototype.push=cachePush,memoize.Cache=MapCache,lodash.after=after,lodash.ary=ary,lodash.assign=assign,lodash.at=at,lodash.before=before,lodash.bind=bind,lodash.bindAll=bindAll,lodash.bindKey=bindKey,lodash.callback=callback,lodash.chain=chain,lodash.chunk=chunk,lodash.compact=compact,lodash.constant=constant,lodash.countBy=countBy,lodash.create=create,lodash.curry=curry,lodash.curryRight=curryRight,lodash.debounce=debounce,lodash.defaults=defaults,lodash.defaultsDeep=defaultsDeep,lodash.defer=defer,lodash.delay=delay,lodash.difference=difference,lodash.drop=drop,lodash.dropRight=dropRight,lodash.dropRightWhile=dropRightWhile,lodash.dropWhile=dropWhile,lodash.fill=fill,lodash.filter=filter,lodash.flatten=flatten,lodash.flattenDeep=flattenDeep,lodash.flow=flow,lodash.flowRight=flowRight,lodash.forEach=forEach,lodash.forEachRight=forEachRight,lodash.forIn=forIn,lodash.forInRight=forInRight,lodash.forOwn=forOwn,lodash.forOwnRight=forOwnRight,lodash.functions=functions,lodash.groupBy=groupBy,lodash.indexBy=indexBy,lodash.initial=initial,lodash.intersection=intersection,lodash.invert=invert,lodash.invoke=invoke,lodash.keys=keys,lodash.keysIn=keysIn,lodash.map=map,lodash.mapKeys=mapKeys,lodash.mapValues=mapValues,lodash.matches=matches,lodash.matchesProperty=matchesProperty,lodash.memoize=memoize,lodash.merge=merge,lodash.method=method,lodash.methodOf=methodOf,lodash.mixin=mixin,lodash.modArgs=modArgs,lodash.negate=negate,lodash.omit=omit,lodash.once=once,lodash.pairs=pairs,lodash.partial=partial,lodash.partialRight=partialRight,lodash.partition=partition,lodash.pick=pick,lodash.pluck=pluck,lodash.property=property,lodash.propertyOf=propertyOf,lodash.pull=pull,lodash.pullAt=pullAt,lodash.range=range,lodash.rearg=rearg,lodash.reject=reject,lodash.remove=remove,lodash.rest=rest,lodash.restParam=restParam,lodash.set=set,lodash.shuffle=shuffle,lodash.slice=slice,lodash.sortBy=sortBy,lodash.sortByAll=sortByAll,lodash.sortByOrder=sortByOrder,lodash.spread=spread,lodash.take=take,lodash.takeRight=takeRight,lodash.takeRightWhile=takeRightWhile,lodash.takeWhile=takeWhile,lodash.tap=tap,lodash.throttle=throttle,lodash.thru=thru,lodash.times=times,lodash.toArray=toArray,lodash.toPlainObject=toPlainObject,lodash.transform=transform,lodash.union=union,lodash.uniq=uniq,lodash.unzip=unzip,lodash.unzipWith=unzipWith,lodash.values=values,lodash.valuesIn=valuesIn,lodash.where=where,lodash.without=without,lodash.wrap=wrap,lodash.xor=xor,lodash.zip=zip,lodash.zipObject=zipObject,lodash.zipWith=zipWith,lodash.backflow=flowRight,lodash.collect=map,lodash.compose=flowRight,lodash.each=forEach,lodash.eachRight=forEachRight,lodash.extend=assign,lodash.iteratee=callback,lodash.methods=functions,lodash.object=zipObject,lodash.select=filter,lodash.tail=rest,lodash.unique=uniq,mixin(lodash,lodash),lodash.add=add,lodash.attempt=attempt,lodash.camelCase=camelCase,lodash.capitalize=capitalize,lodash.ceil=ceil,lodash.clone=clone,lodash.cloneDeep=cloneDeep,lodash.deburr=deburr,lodash.endsWith=endsWith,lodash.escape=escape,lodash.escapeRegExp=escapeRegExp,lodash.every=every,lodash.find=find,lodash.findIndex=findIndex,lodash.findKey=findKey,lodash.findLast=findLast,lodash.findLastIndex=findLastIndex,lodash.findLastKey=findLastKey,lodash.findWhere=findWhere,lodash.first=first,lodash.floor=floor,lodash.get=get,lodash.gt=gt,lodash.gte=gte,lodash.has=has,lodash.identity=identity,lodash.includes=includes,lodash.indexOf=indexOf,lodash.inRange=inRange,lodash.isArguments=isArguments,lodash.isArray=isArray,lodash.isBoolean=isBoolean,lodash.isDate=isDate,lodash.isElement=isElement,lodash.isEmpty=isEmpty,lodash.isEqual=isEqual,lodash.isError=isError,lodash.isFinite=isFinite,lodash.isFunction=isFunction,lodash.isMatch=isMatch,lodash.isNaN=isNaN,lodash.isNative=isNative,lodash.isNull=isNull,lodash.isNumber=isNumber,lodash.isObject=isObject,lodash.isPlainObject=isPlainObject,lodash.isRegExp=isRegExp,lodash.isString=isString,lodash.isTypedArray=isTypedArray,lodash.isUndefined=isUndefined,lodash.kebabCase=kebabCase,lodash.last=last,lodash.lastIndexOf=lastIndexOf,lodash.lt=lt,lodash.lte=lte,lodash.max=max,lodash.min=min,lodash.noConflict=noConflict,lodash.noop=noop,lodash.now=now,lodash.pad=pad,lodash.padLeft=padLeft,lodash.padRight=padRight,lodash.parseInt=parseInt,lodash.random=random,lodash.reduce=reduce,lodash.reduceRight=reduceRight,lodash.repeat=repeat,lodash.result=result,lodash.round=round,lodash.runInContext=runInContext,lodash.size=size,lodash.snakeCase=snakeCase,lodash.some=some,lodash.sortedIndex=sortedIndex,lodash.sortedLastIndex=sortedLastIndex,lodash.startCase=startCase,lodash.startsWith=startsWith,lodash.sum=sum,lodash.template=template,lodash.trim=trim,lodash.trimLeft=trimLeft,lodash.trimRight=trimRight,lodash.trunc=trunc,lodash.unescape=unescape,lodash.uniqueId=uniqueId,lodash.words=words,lodash.all=every,lodash.any=some,lodash.contains=includes,lodash.eq=isEqual,lodash.detect=find,lodash.foldl=reduce,lodash.foldr=reduceRight,lodash.head=first,lodash.include=includes,lodash.inject=reduce,mixin(lodash,function(){var” source=”;return” baseforown=”” this.__chain__=”” sample=”” filtered=”this.__filtered__;if(filtered&&!index)return” lazywrapper=”” this.reverse=”” type=”index+1,isFilter=type!=LAZY_MAP_FLAG;LazyWrapper.prototype[methodName]=function(iteratee,thisArg)var” result.__iteratees__.push=”” takename=”take” this=”” dropname=”drop” this.__filtered__=”” operationname=”index?"filter":"map",createCallback=index?baseMatches:property;LazyWrapper.prototype[methodName]=function(value)return” this.filter=”” result.__filtered__=””>0,LazyWrapper.prototype.takeRightWhile=function(predicate,thisArg)return this.reverse().takeWhile(predicate,thisArg).reverse(),LazyWrapper.prototype.toArray=function()return this.take(POSITIVE_INFINITY),baseForOwn(LazyWrapper.prototype,function(func,methodName)While$/.test(methodName),retUnwrapped=/^(?:first),arrayEach([“join”,”pop”,”push”,”replace”,”shift”,”sort”,”splice”,”split”,”unshift”],function(methodName)var func=(/^(?:replace),baseForOwn(LazyWrapper.prototype,function(func,methodName)var lodashFunc=lodash[methodName];if(lodashFunc)),realNames[createHybridWrapper(undefined,BIND_KEY_FLAG).name]=[name:”wrapper”,func:undefined],LazyWrapper.prototype.clone=lazyClone,LazyWrapper.prototype.reverse=lazyReverse,LazyWrapper.prototype.value=lazyValue,lodash.prototype.chain=wrapperChain,lodash.prototype.commit=wrapperCommit,lodash.prototype.concat=wrapperConcat,lodash.prototype.plant=wrapperPlant,lodash.prototype.reverse=wrapperReverse,lodash.prototype.toString=wrapperToString,lodash.prototype.run=lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue,lodash.prototype.collect=lodash.prototype.map,lodash.prototype.head=lodash.prototype.first,lodash.prototype.select=lodash.prototype.filter,lodash.prototype.tail=lodash.prototype.rest,lodash/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined,VERSION=”3.10.1″,BIND_FLAG=1,BIND_KEY_FLAG=2,CURRY_BOUND_FLAG=4,CURRY_FLAG=8,CURRY_RIGHT_FLAG=16,PARTIAL_FLAG=32,PARTIAL_RIGHT_FLAG=64,ARY_FLAG=128,REARG_FLAG=256,DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION=”…”,HOT_COUNT=150,HOT_SPAN=16,LARGE_ARRAY_SIZE=200,LAZY_FILTER_FLAG=1,LAZY_MAP_FLAG=2,FUNC_ERROR_TEXT=”Expected a function”,PLACEHOLDER=”__lodash_placeholder__”,argsTag=”[object Arguments]”,arrayTag=”[object Array]”,boolTag=”[object Boolean]”,dateTag=”[object Date]”,errorTag=”[object Error]”,funcTag=”[object Function]”,mapTag=”[object Map]”,numberTag=”[object Number]”,objectTag=”[object Object]”,regexpTag=”[object RegExp]”,setTag=”[object Set]”,stringTag=”[object String]”,weakMapTag=”[object WeakMap]”,arrayBufferTag=”[object ArrayBuffer]”,float32Tag=”[object Float32Array]”,float64Tag=”[object Float64Array]”,int8Tag=”[object Int8Array]”,int16Tag=”[object Int16Array]”,int32Tag=”[object Int32Array]”,uint8Tag=”[object Uint8Array]”,uint8ClampedTag=”[object Uint8ClampedArray]”,uint16Tag=”[object Uint16Array]”,uint32Tag=”[object Uint32Array]”,reEmptyStringLeading=/b__p += ”;/g,reEmptyStringMiddle=/b(__p +=) ” +/g,reEmptyStringTrailing=/(__e(.*?)|b__t)) +n”;/g,reEscapedHtml=/&(?:amp|lt|gt|quot|#39|#96);/g,reUnescapedHtml=/[&”‘`]/g,reHasEscapedHtml=RegExp(reEscapedHtml.source),reHasUnescapedHtml=RegExp(reUnescapedHtml.source),reEscape=//g,reEvaluate=//g,reInterpolate=//g,reIsDeepProp=/.|[(?:[^[]]*|([“‘])(?:(?!1)[^n\]|\.)*?1)]/,reIsPlainProp=/^w*$/,rePropName=/[^.[]]+|[(?:(-?d+(?:.d+)?)|([“‘])((?:(?!2)[^n\]|\.)*?)2)]/g,reRegExpChars=/^[:!,]|[\^$.*+?()[]|/]|(^[0-9a-fA-Fnrtuvx])|([nru2028u2029])/g,reHasRegExpChars=RegExp(reRegExpChars.source),reComboMark=/[u0300-u036fufe20-ufe23]/g,reEscapeChar=/\(\)?/g,reEsTemplate=/$([^\]*(?:\.[^\}]*)*)}/g,reFlags=/w*$/,reHasHexPrefix=/^0[xX]/,reIsHostCtor=/^[object .+?Constructor]$/,reIsUint=/^d+$/,reLatin1=/[xc0-xd6xd8-xdexdf-xf6xf8-xff]/g,reNoMatch=/($^)/,reUnescapedString=/[‘nru2028u2029\]/g,reWords=function()[0-9]+”,”g”)(),contextProps=[“Array”,”ArrayBuffer”,”Date”,”Error”,”Float32Array”,”Float64Array”,”Function”,”Int8Array”,”Int16Array”,”Int32Array”,”Math”,”Number”,”Object”,”RegExp”,”Set”,”String”,”_”,”clearTimeout”,”isFinite”,”parseFloat”,”parseInt”,”setTimeout”,”TypeError”,”Uint8Array”,”Uint8ClampedArray”,”Uint16Array”,”Uint32Array”,”WeakMap”],templateCounter=-1,typedArrayTags=;typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;/** Used to identify `toStringTag` values supported by `_.clone`. */
var cloneableTags=;cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[stringTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[mapTag]=cloneableTags[setTag]=cloneableTags[weakMapTag]=!1;/** Used to map latin-1 supplementary letters to basic latin letters. */
var deburredLetters=”À”:”A”,”Á”:”A”,””:”A”,”Ô:”A”,”Ä”:”A”,”Å”:”A”,”à”:”a”,”á”:”a”,”â”:”a”,”ã”:”a”,”ä”:”a”,”å”:”a”,”Ç”:”C”,”ç”:”c”,”Д:”D”,”ð”:”d”,”È”:”E”,”É”:”E”,”Ê”:”E”,”Ë”:”E”,”è”:”e”,”é”:”e”,”ê”:”e”,”ë”:”e”,”Ì”:”I”,”Í”:”I”,”Δ:”I”,”Ï”:”I”,”ì”:”i”,”í”:”i”,”î”:”i”,”ï”:”i”,”Ñ”:”N”,”ñ”:”n”,”Ò”:”O”,”Ó”:”O”,”Ô”:”O”,”Õ”:”O”,”Ö”:”O”,”Ø”:”O”,”ò”:”o”,”ó”:”o”,”ô”:”o”,”õ”:”o”,”ö”:”o”,”ø”:”o”,”Ù”:”U”,”Ú”:”U”,”Û”:”U”,”Ü”:”U”,”ù”:”u”,”ú”:”u”,”û”:”u”,”ü”:”u”,”Ý”:”Y”,”ý”:”y”,”ÿ”:”y”,”Æ”:”Ae”,”æ”:”ae”,”Þ”:”Th”,”þ”:”th”,”ß”:”ss”,htmlEscapes=”&”:”&”,””:”>”,'”‘:”””,”‘”:”‘”,”`”:”`”,htmlUnescapes=”&”:”&”,”<“:””,”””:'”‘,”‘”:”‘”,”`”:”`”,objectTypes=”function”:!0,object:!0,regexpEscapes=0:”x30″,1:”x31″,2:”x32″,3:”x33″,4:”x34″,5:”x35″,6:”x36″,7:”x37″,8:”x38″,9:”x39″,A:”x41″,B:”x42″,C:”x43″,D:”x44″,E:”x45″,F:”x46″,a:”x61″,b:”x62″,c:”x63″,d:”x64″,e:”x65″,f:”x66″,n:”x6e”,r:”x72″,t:”x74″,u:”x75″,v:”x76″,x:”x78″,stringEscapes=”\”:”\”,”‘”:”‘”,”n”:”n”,”r”:”r”,”u2028″:”u2028″,”u2029″:”u2029″,freeExports=objectTypes[typeof exports]&&exports&&!exports.nodeType&&exports,freeModule=objectTypes[typeof module]&&module&&!module.nodeType&&module,freeGlobal=freeExports&&freeModule&&”object”==typeof global&&global&&global.Object&&global,freeSelf=objectTypes[typeof self]&&self&&self.Object&&self,freeWindow=objectTypes[typeof window]&&window&&window.Object&&window,root=(freeModule&&freeModule.exports===freeExports&&freeExports,freeGlobal||freeWindow!==(this&&this.window)&&freeWindow||freeSelf||this),_=runInContext();
// Expose lodash to the global object when an AMD loader is present to avoid
// errors in cases where lodash is loaded by a script tag and not intended
// as an AMD module. See http://requirejs.org/docs/errors.html#mismatch for
// more details.
root._=_,__WEBPACK_AMD_DEFINE_RESULT__=function()return _.call(exports,__webpack_require__,exports,module),!(__WEBPACK_AMD_DEFINE_RESULT__!==undefined&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}).call(this)}).call(exports,__webpack_require__(43)(module),function()return this())},/* 43 */
/***/
function(module,exports)module.exports=function(module)(module.deprecate=function(),module.paths=[],module.children=[],module.webpackPolyfill=1),module,/* 44 */
/***/
function(module,exports,__webpack_require__)/*jslint browser: true*/
“use strict”;__webpack_require__(45);var LightMngrMixin=VideoLightMngr:,componentDidMount:function()window.VideoplayerLightMngr&&(this.VideoLightMngr=window.VideoplayerLightMngr);module.exports=LightMngrMixin,/* 45 */
/***/
function(module,exports)/*jslint browser: true*/
“use strict”;var VideoplayerLightMngr,ACTIONS=PAUSE:”PAUSE”,MUTE:”MUTE”,DESTROY:”DESTROY”;VideoplayerLightMngr=function()var player_count=0,max_players=2,players_registry=,findAndExecute=function(id,action)var player;for(var pid in players_registry)if(players_registry.hasOwnProperty(pid)&&pid!==id)switch(player=players_registry[pid],action)case ACTIONS.PAUSE:player.controls.isPlaying()&&player.controls.pause();break;case ACTIONS.MUTE:player.controls.getMute(),destroyOldest=function()var current_player,oldest_player,oldest_pid;for(var pid in players_registry)players_registry.hasOwnProperty(pid)&&(current_player=players_registry[pid],(!oldest_player;returnregisterPlayer:function(id,inst,onDestroy)return players_registry[id]?null:(player_count+=1,players_registry[id]=inst,players_registry[id].registeredAt=new Date,players_registry[id].onDestroy=onDestroy,void(player_count>max_players&&destroyOldest())),removePlayer:function(id)player_count-=1,delete players_registry[id],onPlayback:function(id)findAndExecute(id,ACTIONS.PAUSE),onSound:function(id)findAndExecute(id,ACTIONS.MUTE),getRegistry:function()return players_registry,setMaxPlayers:function(max)max_players=max,function()”undefined”!=typeof window&&(window.VideoplayerLightMngr()]);
Sidekick More Market News
Read More News Here Source link