made with requirebin
Last active
August 29, 2017 04:09
-
-
Save liuderchi/b2a31c42206eb4a643cea74c140a2601 to your computer and use it in GitHub Desktop.
requirebin sketch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var R = require('ramda') | |
var DAY = 'DAY' | |
var fn = R.pipe( | |
function(x) { | |
console.log(R.equals(DAY)(x)) | |
return x | |
}, | |
R.equals(DAY), | |
function(x) { | |
console.log(x) | |
return x | |
} | |
) | |
fn('DAY') // NOTE: enter some string here | |
console.log() | |
fn('BAD DAY') | |
// press "Run Code" button then result will be printed in browser console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout(function(){require=function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){var always=require("./always");module.exports=always(false)},{"./always":9}],2:[function(require,module,exports){var always=require("./always");module.exports=always(true)},{"./always":9}],3:[function(require,module,exports){module.exports={"@@functional/placeholder":true}},{}],4:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function add(a,b){return Number(a)+Number(b)})},{"./internal/_curry2":102}],5:[function(require,module,exports){var _concat=require("./internal/_concat");var _curry1=require("./internal/_curry1");var curryN=require("./curryN");module.exports=_curry1(function addIndex(fn){return curryN(fn.length,function(){var idx=0;var origFn=arguments[0];var list=arguments[arguments.length-1];var args=Array.prototype.slice.call(arguments,0);args[0]=function(){var result=origFn.apply(this,_concat(arguments,[idx,list]));idx+=1;return result};return fn.apply(this,args)})})},{"./curryN":41,"./internal/_concat":97,"./internal/_curry1":101}],6:[function(require,module,exports){var _concat=require("./internal/_concat");var _curry3=require("./internal/_curry3");module.exports=_curry3(function adjust(fn,idx,list){if(idx>=list.length||idx<-list.length){return list}var start=idx<0?list.length:0;var _idx=start+idx;var _list=_concat(list);_list[_idx]=fn(list[_idx]);return _list})},{"./internal/_concat":97,"./internal/_curry3":103}],7:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xall=require("./internal/_xall");module.exports=_curry2(_dispatchable(["all"],_xall,function all(fn,list){var idx=0;while(idx<list.length){if(!fn(list[idx])){return false}idx+=1}return true}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xall":138}],8:[function(require,module,exports){var _curry1=require("./internal/_curry1");var curryN=require("./curryN");var max=require("./max");var pluck=require("./pluck");var reduce=require("./reduce");module.exports=_curry1(function allPass(preds){return curryN(reduce(max,0,pluck("length",preds)),function(){var idx=0;var len=preds.length;while(idx<len){if(!preds[idx].apply(this,arguments)){return false}idx+=1}return true})})},{"./curryN":41,"./internal/_curry1":101,"./max":190,"./pluck":229,"./reduce":240}],9:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function always(val){return function(){return val}})},{"./internal/_curry1":101}],10:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function and(a,b){return a&&b})},{"./internal/_curry2":102}],11:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xany=require("./internal/_xany");module.exports=_curry2(_dispatchable(["any"],_xany,function any(fn,list){var idx=0;while(idx<list.length){if(fn(list[idx])){return true}idx+=1}return false}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xany":139}],12:[function(require,module,exports){var _curry1=require("./internal/_curry1");var curryN=require("./curryN");var max=require("./max");var pluck=require("./pluck");var reduce=require("./reduce");module.exports=_curry1(function anyPass(preds){return curryN(reduce(max,0,pluck("length",preds)),function(){var idx=0;var len=preds.length;while(idx<len){if(preds[idx].apply(this,arguments)){return true}idx+=1}return false})})},{"./curryN":41,"./internal/_curry1":101,"./max":190,"./pluck":229,"./reduce":240}],13:[function(require,module,exports){var _concat=require("./internal/_concat");var _curry2=require("./internal/_curry2");var _reduce=require("./internal/_reduce");var map=require("./map");module.exports=_curry2(function ap(applicative,fn){return typeof applicative.ap==="function"?applicative.ap(fn):typeof applicative==="function"?function(x){return applicative(x)(fn(x))}:_reduce(function(acc,f){return _concat(acc,map(f,fn))},[],applicative)})},{"./internal/_concat":97,"./internal/_curry2":102,"./internal/_reduce":133,"./map":184}],14:[function(require,module,exports){var _aperture=require("./internal/_aperture");var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xaperture=require("./internal/_xaperture");module.exports=_curry2(_dispatchable([],_xaperture,_aperture))},{"./internal/_aperture":89,"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xaperture":140}],15:[function(require,module,exports){var _concat=require("./internal/_concat");var _curry2=require("./internal/_curry2");module.exports=_curry2(function append(el,list){return _concat(list,[el])})},{"./internal/_concat":97,"./internal/_curry2":102}],16:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function apply(fn,args){return fn.apply(this,args)})},{"./internal/_curry2":102}],17:[function(require,module,exports){var _curry1=require("./internal/_curry1");var apply=require("./apply");var curryN=require("./curryN");var map=require("./map");var max=require("./max");var pluck=require("./pluck");var reduce=require("./reduce");var values=require("./values");module.exports=_curry1(function applySpec(spec){spec=map(function(v){return typeof v=="function"?v:applySpec(v)},spec);return curryN(reduce(max,0,pluck("length",values(spec))),function(){var args=arguments;return map(function(f){return apply(f,args)},spec)})})},{"./apply":16,"./curryN":41,"./internal/_curry1":101,"./map":184,"./max":190,"./pluck":229,"./reduce":240,"./values":298}],18:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function ascend(fn,a,b){var aa=fn(a);var bb=fn(b);return aa<bb?-1:aa>bb?1:0})},{"./internal/_curry3":103}],19:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function assoc(prop,val,obj){var result={};for(var p in obj){result[p]=obj[p]}result[prop]=val;return result})},{"./internal/_curry3":103}],20:[function(require,module,exports){var _curry3=require("./internal/_curry3");var _has=require("./internal/_has");var _isArray=require("./internal/_isArray");var _isInteger=require("./internal/_isInteger");var assoc=require("./assoc");module.exports=_curry3(function assocPath(path,val,obj){if(path.length===0){return val}var idx=path[0];if(path.length>1){var nextObj=_has(idx,obj)?obj[idx]:_isInteger(path[1])?[]:{};val=assocPath(Array.prototype.slice.call(path,1),val,nextObj)}if(_isInteger(idx)&&_isArray(obj)){var arr=[].concat(obj);arr[idx]=val;return arr}else{return assoc(idx,val,obj)}})},{"./assoc":19,"./internal/_curry3":103,"./internal/_has":113,"./internal/_isArray":117,"./internal/_isInteger":119}],21:[function(require,module,exports){var _curry1=require("./internal/_curry1");var nAry=require("./nAry");module.exports=_curry1(function binary(fn){return nAry(2,fn)})},{"./internal/_curry1":101,"./nAry":203}],22:[function(require,module,exports){var _arity=require("./internal/_arity");var _curry2=require("./internal/_curry2");module.exports=_curry2(function bind(fn,thisObj){return _arity(fn.length,function(){return fn.apply(thisObj,arguments)})})},{"./internal/_arity":90,"./internal/_curry2":102}],23:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _isFunction=require("./internal/_isFunction");var and=require("./and");var lift=require("./lift");module.exports=_curry2(function both(f,g){return _isFunction(f)?function _both(){return f.apply(this,arguments)&&g.apply(this,arguments)}:lift(and)(f,g)})},{"./and":10,"./internal/_curry2":102,"./internal/_isFunction":118,"./lift":180}],24:[function(require,module,exports){var curry=require("./curry");module.exports=curry(function call(fn){return fn.apply(this,Array.prototype.slice.call(arguments,1))})},{"./curry":40}],25:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _makeFlat=require("./internal/_makeFlat");var _xchain=require("./internal/_xchain");var map=require("./map");module.exports=_curry2(_dispatchable(["chain"],_xchain,function chain(fn,monad){if(typeof monad==="function"){return function(x){return fn(monad(x))(x)}}return _makeFlat(false)(map(fn,monad))}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_makeFlat":126,"./internal/_xchain":141,"./map":184}],26:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function clamp(min,max,value){if(min>max){throw new Error("min must not be greater than max in clamp(min, max, value)")}return value<min?min:value>max?max:value})},{"./internal/_curry3":103}],27:[function(require,module,exports){var _clone=require("./internal/_clone");var _curry1=require("./internal/_curry1");module.exports=_curry1(function clone(value){return value!=null&&typeof value.clone==="function"?value.clone():_clone(value,[],[],true)})},{"./internal/_clone":94,"./internal/_curry1":101}],28:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function comparator(pred){return function(a,b){return pred(a,b)?-1:pred(b,a)?1:0}})},{"./internal/_curry1":101}],29:[function(require,module,exports){var lift=require("./lift");var not=require("./not");module.exports=lift(not)},{"./lift":180,"./not":206}],30:[function(require,module,exports){var pipe=require("./pipe");var reverse=require("./reverse");module.exports=function compose(){if(arguments.length===0){throw new Error("compose requires at least one argument")}return pipe.apply(this,reverse(arguments))}},{"./pipe":226,"./reverse":249}],31:[function(require,module,exports){var chain=require("./chain");var compose=require("./compose");var map=require("./map");module.exports=function composeK(){if(arguments.length===0){throw new Error("composeK requires at least one argument")}var init=Array.prototype.slice.call(arguments);var last=init.pop();return compose(compose.apply(this,map(chain,init)),last)}},{"./chain":25,"./compose":30,"./map":184}],32:[function(require,module,exports){var pipeP=require("./pipeP");var reverse=require("./reverse");module.exports=function composeP(){if(arguments.length===0){throw new Error("composeP requires at least one argument")}return pipeP.apply(this,reverse(arguments))}},{"./pipeP":228,"./reverse":249}],33:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _isArray=require("./internal/_isArray");var _isFunction=require("./internal/_isFunction");var toString=require("./toString");module.exports=_curry2(function concat(a,b){if(a==null||!_isFunction(a.concat)){throw new TypeError(toString(a)+' does not have a method named "concat"')}if(_isArray(a)&&!_isArray(b)){throw new TypeError(toString(b)+" is not an array")}return a.concat(b)})},{"./internal/_curry2":102,"./internal/_isArray":117,"./internal/_isFunction":118,"./toString":276}],34:[function(require,module,exports){var _arity=require("./internal/_arity");var _curry1=require("./internal/_curry1");var map=require("./map");var max=require("./max");var reduce=require("./reduce");module.exports=_curry1(function cond(pairs){var arity=reduce(max,0,map(function(pair){return pair[0].length},pairs));return _arity(arity,function(){var idx=0;while(idx<pairs.length){if(pairs[idx][0].apply(this,arguments)){return pairs[idx][1].apply(this,arguments)}idx+=1}})})},{"./internal/_arity":90,"./internal/_curry1":101,"./map":184,"./max":190,"./reduce":240}],35:[function(require,module,exports){var _curry1=require("./internal/_curry1");var constructN=require("./constructN");module.exports=_curry1(function construct(Fn){return constructN(Fn.length,Fn)})},{"./constructN":36,"./internal/_curry1":101}],36:[function(require,module,exports){var _curry2=require("./internal/_curry2");var curry=require("./curry");var nAry=require("./nAry");module.exports=_curry2(function constructN(n,Fn){if(n>10){throw new Error("Constructor with greater than ten arguments")}if(n===0){return function(){return new Fn}}return curry(nAry(n,function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9){switch(arguments.length){case 1:return new Fn($0);case 2:return new Fn($0,$1);case 3:return new Fn($0,$1,$2);case 4:return new Fn($0,$1,$2,$3);case 5:return new Fn($0,$1,$2,$3,$4);case 6:return new Fn($0,$1,$2,$3,$4,$5);case 7:return new Fn($0,$1,$2,$3,$4,$5,$6);case 8:return new Fn($0,$1,$2,$3,$4,$5,$6,$7);case 9:return new Fn($0,$1,$2,$3,$4,$5,$6,$7,$8);case 10:return new Fn($0,$1,$2,$3,$4,$5,$6,$7,$8,$9)}}))})},{"./curry":40,"./internal/_curry2":102,"./nAry":203}],37:[function(require,module,exports){var _contains=require("./internal/_contains");var _curry2=require("./internal/_curry2");module.exports=_curry2(_contains)},{"./internal/_contains":98,"./internal/_curry2":102}],38:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _map=require("./internal/_map");var curryN=require("./curryN");var max=require("./max");var pluck=require("./pluck");var reduce=require("./reduce");module.exports=_curry2(function converge(after,fns){return curryN(reduce(max,0,pluck("length",fns)),function(){var args=arguments;var context=this;return after.apply(context,_map(function(fn){return fn.apply(context,args)},fns))})})},{"./curryN":41,"./internal/_curry2":102,"./internal/_map":127,"./max":190,"./pluck":229,"./reduce":240}],39:[function(require,module,exports){var reduceBy=require("./reduceBy");module.exports=reduceBy(function(acc,elem){return acc+1},0)},{"./reduceBy":241}],40:[function(require,module,exports){var _curry1=require("./internal/_curry1");var curryN=require("./curryN");module.exports=_curry1(function curry(fn){return curryN(fn.length,fn)})},{"./curryN":41,"./internal/_curry1":101}],41:[function(require,module,exports){var _arity=require("./internal/_arity");var _curry1=require("./internal/_curry1");var _curry2=require("./internal/_curry2");var _curryN=require("./internal/_curryN");module.exports=_curry2(function curryN(length,fn){if(length===1){return _curry1(fn)}return _arity(length,_curryN(length,[],fn))})},{"./internal/_arity":90,"./internal/_curry1":101,"./internal/_curry2":102,"./internal/_curryN":104}],42:[function(require,module,exports){var add=require("./add");module.exports=add(-1)},{"./add":4}],43:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function defaultTo(d,v){return v==null||v!==v?d:v})},{"./internal/_curry2":102}],44:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function descend(fn,a,b){var aa=fn(a);var bb=fn(b);return aa>bb?-1:aa<bb?1:0})},{"./internal/_curry3":103}],45:[function(require,module,exports){var _contains=require("./internal/_contains");var _curry2=require("./internal/_curry2");module.exports=_curry2(function difference(first,second){var out=[];var idx=0;var firstLen=first.length;while(idx<firstLen){if(!_contains(first[idx],second)&&!_contains(first[idx],out)){out[out.length]=first[idx]}idx+=1}return out})},{"./internal/_contains":98,"./internal/_curry2":102}],46:[function(require,module,exports){var _containsWith=require("./internal/_containsWith");var _curry3=require("./internal/_curry3");module.exports=_curry3(function differenceWith(pred,first,second){var out=[];var idx=0;var firstLen=first.length;while(idx<firstLen){if(!_containsWith(pred,first[idx],second)&&!_containsWith(pred,first[idx],out)){out.push(first[idx])}idx+=1}return out})},{"./internal/_containsWith":99,"./internal/_curry3":103}],47:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function dissoc(prop,obj){var result={};for(var p in obj){result[p]=obj[p]}delete result[prop];return result})},{"./internal/_curry2":102}],48:[function(require,module,exports){var _curry2=require("./internal/_curry2");var assoc=require("./assoc");var dissoc=require("./dissoc");module.exports=_curry2(function dissocPath(path,obj){switch(path.length){case 0:return obj;case 1:return dissoc(path[0],obj);default:var head=path[0];var tail=Array.prototype.slice.call(path,1);return obj[head]==null?obj:assoc(head,dissocPath(tail,obj[head]),obj)}})},{"./assoc":19,"./dissoc":47,"./internal/_curry2":102}],49:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function divide(a,b){return a/b})},{"./internal/_curry2":102}],50:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xdrop=require("./internal/_xdrop");var slice=require("./slice");module.exports=_curry2(_dispatchable(["drop"],_xdrop,function drop(n,xs){return slice(Math.max(0,n),Infinity,xs)}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xdrop":142,"./slice":253}],51:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _dropLast=require("./internal/_dropLast");var _xdropLast=require("./internal/_xdropLast");module.exports=_curry2(_dispatchable([],_xdropLast,_dropLast))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_dropLast":106,"./internal/_xdropLast":143}],52:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _dropLastWhile=require("./internal/_dropLastWhile");var _xdropLastWhile=require("./internal/_xdropLastWhile");module.exports=_curry2(_dispatchable([],_xdropLastWhile,_dropLastWhile))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_dropLastWhile":107,"./internal/_xdropLastWhile":144}],53:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _dispatchable=require("./internal/_dispatchable");var _xdropRepeatsWith=require("./internal/_xdropRepeatsWith");var dropRepeatsWith=require("./dropRepeatsWith");var equals=require("./equals");module.exports=_curry1(_dispatchable([],_xdropRepeatsWith(equals),dropRepeatsWith(equals)))},{"./dropRepeatsWith":54,"./equals":60,"./internal/_curry1":101,"./internal/_dispatchable":105,"./internal/_xdropRepeatsWith":145}],54:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xdropRepeatsWith=require("./internal/_xdropRepeatsWith");var last=require("./last");module.exports=_curry2(_dispatchable([],_xdropRepeatsWith,function dropRepeatsWith(pred,list){var result=[];var idx=1;var len=list.length;if(len!==0){result[0]=list[0];while(idx<len){if(!pred(last(result),list[idx])){result[result.length]=list[idx]}idx+=1}}return result}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xdropRepeatsWith":145,"./last":173}],55:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xdropWhile=require("./internal/_xdropWhile");module.exports=_curry2(_dispatchable(["dropWhile"],_xdropWhile,function dropWhile(pred,list){var idx=0;var len=list.length;while(idx<len&&pred(list[idx])){idx+=1}return Array.prototype.slice.call(list,idx)}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xdropWhile":146}],56:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _isFunction=require("./internal/_isFunction");var lift=require("./lift");var or=require("./or");module.exports=_curry2(function either(f,g){return _isFunction(f)?function _either(){return f.apply(this,arguments)||g.apply(this,arguments)}:lift(or)(f,g)})},{"./internal/_curry2":102,"./internal/_isFunction":118,"./lift":180,"./or":213}],57:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _isArguments=require("./internal/_isArguments");var _isArray=require("./internal/_isArray");var _isObject=require("./internal/_isObject");var _isString=require("./internal/_isString");module.exports=_curry1(function empty(x){return x!=null&&typeof x.empty==="function"?x.empty():x!=null&&x.constructor!=null&&typeof x.constructor.empty==="function"?x.constructor.empty():_isArray(x)?[]:_isString(x)?"":_isObject(x)?{}:_isArguments(x)?function(){return arguments}():void 0})},{"./internal/_curry1":101,"./internal/_isArguments":116,"./internal/_isArray":117,"./internal/_isObject":121,"./internal/_isString":124}],58:[function(require,module,exports){var _curry3=require("./internal/_curry3");var equals=require("./equals");module.exports=_curry3(function eqBy(f,x,y){return equals(f(x),f(y))})},{"./equals":60,"./internal/_curry3":103}],59:[function(require,module,exports){var _curry3=require("./internal/_curry3");var equals=require("./equals");module.exports=_curry3(function eqProps(prop,obj1,obj2){return equals(obj1[prop],obj2[prop])})},{"./equals":60,"./internal/_curry3":103}],60:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _equals=require("./internal/_equals");module.exports=_curry2(function equals(a,b){return _equals(a,b,[],[])})},{"./internal/_curry2":102,"./internal/_equals":108}],61:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function evolve(transformations,object){var result={};var transformation,key,type;for(key in object){transformation=transformations[key];type=typeof transformation;result[key]=type==="function"?transformation(object[key]):transformation&&type==="object"?evolve(transformation,object[key]):object[key]}return result})},{"./internal/_curry2":102}],62:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _filter=require("./internal/_filter");var _isObject=require("./internal/_isObject");var _reduce=require("./internal/_reduce");var _xfilter=require("./internal/_xfilter");var keys=require("./keys");module.exports=_curry2(_dispatchable(["filter"],_xfilter,function(pred,filterable){return _isObject(filterable)?_reduce(function(acc,key){if(pred(filterable[key])){acc[key]=filterable[key]}return acc},{},keys(filterable)):_filter(pred,filterable)}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_filter":109,"./internal/_isObject":121,"./internal/_reduce":133,"./internal/_xfilter":148,"./keys":171}],63:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xfind=require("./internal/_xfind");module.exports=_curry2(_dispatchable(["find"],_xfind,function find(fn,list){var idx=0;var len=list.length;while(idx<len){if(fn(list[idx])){return list[idx]}idx+=1}}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xfind":149}],64:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xfindIndex=require("./internal/_xfindIndex");module.exports=_curry2(_dispatchable([],_xfindIndex,function findIndex(fn,list){var idx=0;var len=list.length;while(idx<len){if(fn(list[idx])){return idx}idx+=1}return-1}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xfindIndex":150}],65:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xfindLast=require("./internal/_xfindLast");module.exports=_curry2(_dispatchable([],_xfindLast,function findLast(fn,list){var idx=list.length-1;while(idx>=0){if(fn(list[idx])){return list[idx]}idx-=1}}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xfindLast":151}],66:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xfindLastIndex=require("./internal/_xfindLastIndex");module.exports=_curry2(_dispatchable([],_xfindLastIndex,function findLastIndex(fn,list){var idx=list.length-1;while(idx>=0){if(fn(list[idx])){return idx}idx-=1}return-1}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xfindLastIndex":152}],67:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _makeFlat=require("./internal/_makeFlat");module.exports=_curry1(_makeFlat(true))},{"./internal/_curry1":101,"./internal/_makeFlat":126}],68:[function(require,module,exports){var _curry1=require("./internal/_curry1");var curry=require("./curry");module.exports=_curry1(function flip(fn){return curry(function(a,b){var args=Array.prototype.slice.call(arguments,0);args[0]=b;args[1]=a;return fn.apply(this,args)})})},{"./curry":40,"./internal/_curry1":101}],69:[function(require,module,exports){var _checkForMethod=require("./internal/_checkForMethod");var _curry2=require("./internal/_curry2");module.exports=_curry2(_checkForMethod("forEach",function forEach(fn,list){var len=list.length;var idx=0;while(idx<len){fn(list[idx]);idx+=1}return list}))},{"./internal/_checkForMethod":93,"./internal/_curry2":102}],70:[function(require,module,exports){var _curry2=require("./internal/_curry2");var keys=require("./keys");module.exports=_curry2(function forEachObjIndexed(fn,obj){var keyList=keys(obj);var idx=0;while(idx<keyList.length){var key=keyList[idx];fn(obj[key],key,obj);idx+=1}return obj})},{"./internal/_curry2":102,"./keys":171}],71:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function fromPairs(pairs){var result={};var idx=0;while(idx<pairs.length){result[pairs[idx][0]]=pairs[idx][1];idx+=1}return result})},{"./internal/_curry1":101}],72:[function(require,module,exports){var _checkForMethod=require("./internal/_checkForMethod");var _curry2=require("./internal/_curry2");var reduceBy=require("./reduceBy");module.exports=_curry2(_checkForMethod("groupBy",reduceBy(function(acc,item){if(acc==null){acc=[]}acc.push(item);return acc},null)))},{"./internal/_checkForMethod":93,"./internal/_curry2":102,"./reduceBy":241}],73:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function(fn,list){var res=[];var idx=0;var len=list.length;while(idx<len){var nextidx=idx+1;while(nextidx<len&&fn(list[idx],list[nextidx])){nextidx+=1}res.push(list.slice(idx,nextidx));idx=nextidx}return res})},{"./internal/_curry2":102}],74:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function gt(a,b){return a>b})},{"./internal/_curry2":102}],75:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function gte(a,b){return a>=b})},{"./internal/_curry2":102}],76:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _has=require("./internal/_has");module.exports=_curry2(_has)},{"./internal/_curry2":102,"./internal/_has":113}],77:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function hasIn(prop,obj){return prop in obj})},{"./internal/_curry2":102}],78:[function(require,module,exports){var nth=require("./nth");module.exports=nth(0)},{"./nth":207}],79:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function identical(a,b){if(a===b){return a!==0||1/a===1/b}else{return a!==a&&b!==b}})},{"./internal/_curry2":102}],80:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _identity=require("./internal/_identity");module.exports=_curry1(_identity)},{"./internal/_curry1":101,"./internal/_identity":114}],81:[function(require,module,exports){var _curry3=require("./internal/_curry3");var curryN=require("./curryN");module.exports=_curry3(function ifElse(condition,onTrue,onFalse){return curryN(Math.max(condition.length,onTrue.length,onFalse.length),function _ifElse(){return condition.apply(this,arguments)?onTrue.apply(this,arguments):onFalse.apply(this,arguments)})})},{"./curryN":41,"./internal/_curry3":103}],82:[function(require,module,exports){var add=require("./add");module.exports=add(1)},{"./add":4}],83:[function(require,module,exports){var reduceBy=require("./reduceBy");module.exports=reduceBy(function(acc,elem){return elem},null)},{"./reduceBy":241}],84:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _indexOf=require("./internal/_indexOf");var _isArray=require("./internal/_isArray");module.exports=_curry2(function indexOf(target,xs){return typeof xs.indexOf==="function"&&!_isArray(xs)?xs.indexOf(target):_indexOf(xs,target,0)})},{"./internal/_curry2":102,"./internal/_indexOf":115,"./internal/_isArray":117}],85:[function(require,module,exports){var slice=require("./slice");module.exports=slice(0,-1)},{"./slice":253}],86:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function insert(idx,elt,list){idx=idx<list.length&&idx>=0?idx:list.length;var result=Array.prototype.slice.call(list,0);result.splice(idx,0,elt);return result})},{"./internal/_curry3":103}],87:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function insertAll(idx,elts,list){idx=idx<list.length&&idx>=0?idx:list.length;return[].concat(Array.prototype.slice.call(list,0,idx),elts,Array.prototype.slice.call(list,idx))})},{"./internal/_curry3":103}],88:[function(require,module,exports){var _contains=require("./_contains");module.exports=function(){function _Set(){this._nativeSet=typeof Set==="function"?new Set:null;this._items={}}_Set.prototype.add=function(item){return!hasOrAdd(item,true,this)};_Set.prototype.has=function(item){return hasOrAdd(item,false,this)};function hasOrAdd(item,shouldAdd,set){var type=typeof item;var prevSize,newSize;switch(type){case"string":case"number":if(item===0&&1/item===-Infinity){if(set._items["-0"]){return true}else{if(shouldAdd){set._items["-0"]=true}return false}}if(set._nativeSet!==null){if(shouldAdd){prevSize=set._nativeSet.size;set._nativeSet.add(item);newSize=set._nativeSet.size;return newSize===prevSize}else{return set._nativeSet.has(item)}}else{if(!(type in set._items)){if(shouldAdd){set._items[type]={};set._items[type][item]=true}return false}else if(item in set._items[type]){return true}else{if(shouldAdd){set._items[type][item]=true}return false}}case"boolean":if(type in set._items){var bIdx=item?1:0;if(set._items[type][bIdx]){return true}else{if(shouldAdd){set._items[type][bIdx]=true}return false}}else{if(shouldAdd){set._items[type]=item?[false,true]:[true,false]}return false}case"function":if(set._nativeSet!==null){if(shouldAdd){prevSize=set._nativeSet.size;set._nativeSet.add(item);newSize=set._nativeSet.size;return newSize===prevSize}else{return set._nativeSet.has(item)}}else{if(!(type in set._items)){if(shouldAdd){set._items[type]=[item]}return false}if(!_contains(item,set._items[type])){if(shouldAdd){set._items[type].push(item)}return false}return true}case"undefined":if(set._items[type]){return true}else{if(shouldAdd){set._items[type]=true}return false}case"object":if(item===null){if(!set._items["null"]){if(shouldAdd){set._items["null"]=true}return false}return true}default:type=Object.prototype.toString.call(item);if(!(type in set._items)){if(shouldAdd){set._items[type]=[item]}return false}if(!_contains(item,set._items[type])){if(shouldAdd){set._items[type].push(item)}return false}return true}}return _Set}()},{"./_contains":98}],89:[function(require,module,exports){module.exports=function _aperture(n,list){var idx=0;var limit=list.length-(n-1);var acc=new Array(limit>=0?limit:0); | |
while(idx<limit){acc[idx]=Array.prototype.slice.call(list,idx,idx+n);idx+=1}return acc}},{}],90:[function(require,module,exports){module.exports=function _arity(n,fn){switch(n){case 0:return function(){return fn.apply(this,arguments)};case 1:return function(a0){return fn.apply(this,arguments)};case 2:return function(a0,a1){return fn.apply(this,arguments)};case 3:return function(a0,a1,a2){return fn.apply(this,arguments)};case 4:return function(a0,a1,a2,a3){return fn.apply(this,arguments)};case 5:return function(a0,a1,a2,a3,a4){return fn.apply(this,arguments)};case 6:return function(a0,a1,a2,a3,a4,a5){return fn.apply(this,arguments)};case 7:return function(a0,a1,a2,a3,a4,a5,a6){return fn.apply(this,arguments)};case 8:return function(a0,a1,a2,a3,a4,a5,a6,a7){return fn.apply(this,arguments)};case 9:return function(a0,a1,a2,a3,a4,a5,a6,a7,a8){return fn.apply(this,arguments)};case 10:return function(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9){return fn.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},{}],91:[function(require,module,exports){module.exports=function _arrayFromIterator(iter){var list=[];var next;while(!(next=iter.next()).done){list.push(next.value)}return list}},{}],92:[function(require,module,exports){var _objectAssign=require("./_objectAssign");module.exports=typeof Object.assign==="function"?Object.assign:_objectAssign},{"./_objectAssign":128}],93:[function(require,module,exports){var _isArray=require("./_isArray");module.exports=function _checkForMethod(methodname,fn){return function(){var length=arguments.length;if(length===0){return fn()}var obj=arguments[length-1];return _isArray(obj)||typeof obj[methodname]!=="function"?fn.apply(this,arguments):obj[methodname].apply(obj,Array.prototype.slice.call(arguments,0,length-1))}}},{"./_isArray":117}],94:[function(require,module,exports){var _cloneRegExp=require("./_cloneRegExp");var type=require("../type");module.exports=function _clone(value,refFrom,refTo,deep){var copy=function copy(copiedValue){var len=refFrom.length;var idx=0;while(idx<len){if(value===refFrom[idx]){return refTo[idx]}idx+=1}refFrom[idx+1]=value;refTo[idx+1]=copiedValue;for(var key in value){copiedValue[key]=deep?_clone(value[key],refFrom,refTo,true):value[key]}return copiedValue};switch(type(value)){case"Object":return copy({});case"Array":return copy([]);case"Date":return new Date(value.valueOf());case"RegExp":return _cloneRegExp(value);default:return value}}},{"../type":283,"./_cloneRegExp":95}],95:[function(require,module,exports){module.exports=function _cloneRegExp(pattern){return new RegExp(pattern.source,(pattern.global?"g":"")+(pattern.ignoreCase?"i":"")+(pattern.multiline?"m":"")+(pattern.sticky?"y":"")+(pattern.unicode?"u":""))}},{}],96:[function(require,module,exports){module.exports=function _complement(f){return function(){return!f.apply(this,arguments)}}},{}],97:[function(require,module,exports){module.exports=function _concat(set1,set2){set1=set1||[];set2=set2||[];var idx;var len1=set1.length;var len2=set2.length;var result=[];idx=0;while(idx<len1){result[result.length]=set1[idx];idx+=1}idx=0;while(idx<len2){result[result.length]=set2[idx];idx+=1}return result}},{}],98:[function(require,module,exports){var _indexOf=require("./_indexOf");module.exports=function _contains(a,list){return _indexOf(list,a,0)>=0}},{"./_indexOf":115}],99:[function(require,module,exports){module.exports=function _containsWith(pred,x,list){var idx=0;var len=list.length;while(idx<len){if(pred(x,list[idx])){return true}idx+=1}return false}},{}],100:[function(require,module,exports){var _arity=require("./_arity");var _curry2=require("./_curry2");module.exports=function _createPartialApplicator(concat){return _curry2(function(fn,args){return _arity(Math.max(0,fn.length-args.length),function(){return fn.apply(this,concat(args,arguments))})})}},{"./_arity":90,"./_curry2":102}],101:[function(require,module,exports){var _isPlaceholder=require("./_isPlaceholder");module.exports=function _curry1(fn){return function f1(a){if(arguments.length===0||_isPlaceholder(a)){return f1}else{return fn.apply(this,arguments)}}}},{"./_isPlaceholder":122}],102:[function(require,module,exports){var _curry1=require("./_curry1");var _isPlaceholder=require("./_isPlaceholder");module.exports=function _curry2(fn){return function f2(a,b){switch(arguments.length){case 0:return f2;case 1:return _isPlaceholder(a)?f2:_curry1(function(_b){return fn(a,_b)});default:return _isPlaceholder(a)&&_isPlaceholder(b)?f2:_isPlaceholder(a)?_curry1(function(_a){return fn(_a,b)}):_isPlaceholder(b)?_curry1(function(_b){return fn(a,_b)}):fn(a,b)}}}},{"./_curry1":101,"./_isPlaceholder":122}],103:[function(require,module,exports){var _curry1=require("./_curry1");var _curry2=require("./_curry2");var _isPlaceholder=require("./_isPlaceholder");module.exports=function _curry3(fn){return function f3(a,b,c){switch(arguments.length){case 0:return f3;case 1:return _isPlaceholder(a)?f3:_curry2(function(_b,_c){return fn(a,_b,_c)});case 2:return _isPlaceholder(a)&&_isPlaceholder(b)?f3:_isPlaceholder(a)?_curry2(function(_a,_c){return fn(_a,b,_c)}):_isPlaceholder(b)?_curry2(function(_b,_c){return fn(a,_b,_c)}):_curry1(function(_c){return fn(a,b,_c)});default:return _isPlaceholder(a)&&_isPlaceholder(b)&&_isPlaceholder(c)?f3:_isPlaceholder(a)&&_isPlaceholder(b)?_curry2(function(_a,_b){return fn(_a,_b,c)}):_isPlaceholder(a)&&_isPlaceholder(c)?_curry2(function(_a,_c){return fn(_a,b,_c)}):_isPlaceholder(b)&&_isPlaceholder(c)?_curry2(function(_b,_c){return fn(a,_b,_c)}):_isPlaceholder(a)?_curry1(function(_a){return fn(_a,b,c)}):_isPlaceholder(b)?_curry1(function(_b){return fn(a,_b,c)}):_isPlaceholder(c)?_curry1(function(_c){return fn(a,b,_c)}):fn(a,b,c)}}}},{"./_curry1":101,"./_curry2":102,"./_isPlaceholder":122}],104:[function(require,module,exports){var _arity=require("./_arity");var _isPlaceholder=require("./_isPlaceholder");module.exports=function _curryN(length,received,fn){return function(){var combined=[];var argsIdx=0;var left=length;var combinedIdx=0;while(combinedIdx<received.length||argsIdx<arguments.length){var result;if(combinedIdx<received.length&&(!_isPlaceholder(received[combinedIdx])||argsIdx>=arguments.length)){result=received[combinedIdx]}else{result=arguments[argsIdx];argsIdx+=1}combined[combinedIdx]=result;if(!_isPlaceholder(result)){left-=1}combinedIdx+=1}return left<=0?fn.apply(this,combined):_arity(left,_curryN(length,combined,fn))}}},{"./_arity":90,"./_isPlaceholder":122}],105:[function(require,module,exports){var _isArray=require("./_isArray");var _isTransformer=require("./_isTransformer");module.exports=function _dispatchable(methodNames,xf,fn){return function(){if(arguments.length===0){return fn()}var args=Array.prototype.slice.call(arguments,0);var obj=args.pop();if(!_isArray(obj)){var idx=0;while(idx<methodNames.length){if(typeof obj[methodNames[idx]]==="function"){return obj[methodNames[idx]].apply(obj,args)}idx+=1}if(_isTransformer(obj)){var transducer=xf.apply(null,args);return transducer(obj)}}return fn.apply(this,arguments)}}},{"./_isArray":117,"./_isTransformer":125}],106:[function(require,module,exports){var take=require("../take");module.exports=function dropLast(n,xs){return take(n<xs.length?xs.length-n:0,xs)}},{"../take":266}],107:[function(require,module,exports){module.exports=function dropLastWhile(pred,list){var idx=list.length-1;while(idx>=0&&pred(list[idx])){idx-=1}return Array.prototype.slice.call(list,0,idx+1)}},{}],108:[function(require,module,exports){var _arrayFromIterator=require("./_arrayFromIterator");var _functionName=require("./_functionName");var _has=require("./_has");var identical=require("../identical");var keys=require("../keys");var type=require("../type");module.exports=function _equals(a,b,stackA,stackB){if(identical(a,b)){return true}if(type(a)!==type(b)){return false}if(a==null||b==null){return false}if(typeof a.equals==="function"||typeof b.equals==="function"){return typeof a.equals==="function"&&a.equals(b)&&typeof b.equals==="function"&&b.equals(a)}switch(type(a)){case"Arguments":case"Array":case"Object":if(typeof a.constructor==="function"&&_functionName(a.constructor)==="Promise"){return a===b}break;case"Boolean":case"Number":case"String":if(!(typeof a===typeof b&&identical(a.valueOf(),b.valueOf()))){return false}break;case"Date":if(!identical(a.valueOf(),b.valueOf())){return false}break;case"Error":return a.name===b.name&&a.message===b.message;case"RegExp":if(!(a.source===b.source&&a.global===b.global&&a.ignoreCase===b.ignoreCase&&a.multiline===b.multiline&&a.sticky===b.sticky&&a.unicode===b.unicode)){return false}break;case"Map":case"Set":if(!_equals(_arrayFromIterator(a.entries()),_arrayFromIterator(b.entries()),stackA,stackB)){return false}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":break;case"ArrayBuffer":break;default:return false}var keysA=keys(a);if(keysA.length!==keys(b).length){return false}var idx=stackA.length-1;while(idx>=0){if(stackA[idx]===a){return stackB[idx]===b}idx-=1}stackA.push(a);stackB.push(b);idx=keysA.length-1;while(idx>=0){var key=keysA[idx];if(!(_has(key,b)&&_equals(b[key],a[key],stackA,stackB))){return false}idx-=1}stackA.pop();stackB.pop();return true}},{"../identical":79,"../keys":171,"../type":283,"./_arrayFromIterator":91,"./_functionName":112,"./_has":113}],109:[function(require,module,exports){module.exports=function _filter(fn,list){var idx=0;var len=list.length;var result=[];while(idx<len){if(fn(list[idx])){result[result.length]=list[idx]}idx+=1}return result}},{}],110:[function(require,module,exports){var _forceReduced=require("./_forceReduced");var _reduce=require("./_reduce");var _xfBase=require("./_xfBase");var isArrayLike=require("../isArrayLike");module.exports=function(){var preservingReduced=function(xf){return{"@@transducer/init":_xfBase.init,"@@transducer/result":function(result){return xf["@@transducer/result"](result)},"@@transducer/step":function(result,input){var ret=xf["@@transducer/step"](result,input);return ret["@@transducer/reduced"]?_forceReduced(ret):ret}}};return function _xcat(xf){var rxf=preservingReduced(xf);return{"@@transducer/init":_xfBase.init,"@@transducer/result":function(result){return rxf["@@transducer/result"](result)},"@@transducer/step":function(result,input){return!isArrayLike(input)?_reduce(rxf,result,[input]):_reduce(rxf,result,input)}}}}()},{"../isArrayLike":166,"./_forceReduced":111,"./_reduce":133,"./_xfBase":147}],111:[function(require,module,exports){module.exports=function _forceReduced(x){return{"@@transducer/value":x,"@@transducer/reduced":true}}},{}],112:[function(require,module,exports){module.exports=function _functionName(f){var match=String(f).match(/^function (\w*)/);return match==null?"":match[1]}},{}],113:[function(require,module,exports){module.exports=function _has(prop,obj){return Object.prototype.hasOwnProperty.call(obj,prop)}},{}],114:[function(require,module,exports){module.exports=function _identity(x){return x}},{}],115:[function(require,module,exports){var equals=require("../equals");module.exports=function _indexOf(list,a,idx){var inf,item;if(typeof list.indexOf==="function"){switch(typeof a){case"number":if(a===0){inf=1/a;while(idx<list.length){item=list[idx];if(item===0&&1/item===inf){return idx}idx+=1}return-1}else if(a!==a){while(idx<list.length){item=list[idx];if(typeof item==="number"&&item!==item){return idx}idx+=1}return-1}return list.indexOf(a,idx);case"string":case"boolean":case"function":case"undefined":return list.indexOf(a,idx);case"object":if(a===null){return list.indexOf(a,idx)}}}while(idx<list.length){if(equals(list[idx],a)){return idx}idx+=1}return-1}},{"../equals":60}],116:[function(require,module,exports){var _has=require("./_has");module.exports=function(){var toString=Object.prototype.toString;return toString.call(arguments)==="[object Arguments]"?function _isArguments(x){return toString.call(x)==="[object Arguments]"}:function _isArguments(x){return _has("callee",x)}}()},{"./_has":113}],117:[function(require,module,exports){module.exports=Array.isArray||function _isArray(val){return val!=null&&val.length>=0&&Object.prototype.toString.call(val)==="[object Array]"}},{}],118:[function(require,module,exports){module.exports=function _isFunction(x){return Object.prototype.toString.call(x)==="[object Function]"}},{}],119:[function(require,module,exports){module.exports=Number.isInteger||function _isInteger(n){return n<<0===n}},{}],120:[function(require,module,exports){module.exports=function _isNumber(x){return Object.prototype.toString.call(x)==="[object Number]"}},{}],121:[function(require,module,exports){module.exports=function _isObject(x){return Object.prototype.toString.call(x)==="[object Object]"}},{}],122:[function(require,module,exports){module.exports=function _isPlaceholder(a){return a!=null&&typeof a==="object"&&a["@@functional/placeholder"]===true}},{}],123:[function(require,module,exports){module.exports=function _isRegExp(x){return Object.prototype.toString.call(x)==="[object RegExp]"}},{}],124:[function(require,module,exports){module.exports=function _isString(x){return Object.prototype.toString.call(x)==="[object String]"}},{}],125:[function(require,module,exports){module.exports=function _isTransformer(obj){return typeof obj["@@transducer/step"]==="function"}},{}],126:[function(require,module,exports){var isArrayLike=require("../isArrayLike");module.exports=function _makeFlat(recursive){return function flatt(list){var value,jlen,j;var result=[];var idx=0;var ilen=list.length;while(idx<ilen){if(isArrayLike(list[idx])){value=recursive?flatt(list[idx]):list[idx];j=0;jlen=value.length;while(j<jlen){result[result.length]=value[j];j+=1}}else{result[result.length]=list[idx]}idx+=1}return result}}},{"../isArrayLike":166}],127:[function(require,module,exports){module.exports=function _map(fn,functor){var idx=0;var len=functor.length;var result=Array(len);while(idx<len){result[idx]=fn(functor[idx]);idx+=1}return result}},{}],128:[function(require,module,exports){var _has=require("./_has");module.exports=function _objectAssign(target){if(target==null){throw new TypeError("Cannot convert undefined or null to object")}var output=Object(target);var idx=1;var length=arguments.length;while(idx<length){var source=arguments[idx];if(source!=null){for(var nextKey in source){if(_has(nextKey,source)){output[nextKey]=source[nextKey]}}}idx+=1}return output}},{"./_has":113}],129:[function(require,module,exports){module.exports=function _of(x){return[x]}},{}],130:[function(require,module,exports){module.exports=function _pipe(f,g){return function(){return g.call(this,f.apply(this,arguments))}}},{}],131:[function(require,module,exports){module.exports=function _pipeP(f,g){return function(){var ctx=this;return f.apply(ctx,arguments).then(function(x){return g.call(ctx,x)})}}},{}],132:[function(require,module,exports){module.exports=function _quote(s){var escaped=s.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+escaped.replace(/"/g,'\\"')+'"'}},{}],133:[function(require,module,exports){var _xwrap=require("./_xwrap");var bind=require("../bind");var isArrayLike=require("../isArrayLike");module.exports=function(){function _arrayReduce(xf,acc,list){var idx=0;var len=list.length;while(idx<len){acc=xf["@@transducer/step"](acc,list[idx]);if(acc&&acc["@@transducer/reduced"]){acc=acc["@@transducer/value"];break}idx+=1}return xf["@@transducer/result"](acc)}function _iterableReduce(xf,acc,iter){var step=iter.next();while(!step.done){acc=xf["@@transducer/step"](acc,step.value);if(acc&&acc["@@transducer/reduced"]){acc=acc["@@transducer/value"];break}step=iter.next()}return xf["@@transducer/result"](acc)}function _methodReduce(xf,acc,obj){return xf["@@transducer/result"](obj.reduce(bind(xf["@@transducer/step"],xf),acc))}var symIterator=typeof Symbol!=="undefined"?Symbol.iterator:"@@iterator";return function _reduce(fn,acc,list){if(typeof fn==="function"){fn=_xwrap(fn)}if(isArrayLike(list)){return _arrayReduce(fn,acc,list)}if(typeof list.reduce==="function"){return _methodReduce(fn,acc,list)}if(list[symIterator]!=null){return _iterableReduce(fn,acc,list[symIterator]())}if(typeof list.next==="function"){return _iterableReduce(fn,acc,list)}throw new TypeError("reduce: list must be array or iterable")}}()},{"../bind":22,"../isArrayLike":166,"./_xwrap":157}],134:[function(require,module,exports){module.exports=function _reduced(x){return x&&x["@@transducer/reduced"]?x:{"@@transducer/value":x,"@@transducer/reduced":true}}},{}],135:[function(require,module,exports){var _assign=require("./_assign");var _identity=require("./_identity");var _isTransformer=require("./_isTransformer");var isArrayLike=require("../isArrayLike");var objOf=require("../objOf");module.exports=function(){var _stepCatArray={"@@transducer/init":Array,"@@transducer/step":function(xs,x){xs.push(x);return xs},"@@transducer/result":_identity};var _stepCatString={"@@transducer/init":String,"@@transducer/step":function(a,b){return a+b},"@@transducer/result":_identity};var _stepCatObject={"@@transducer/init":Object,"@@transducer/step":function(result,input){return _assign(result,isArrayLike(input)?objOf(input[0],input[1]):input)},"@@transducer/result":_identity};return function _stepCat(obj){if(_isTransformer(obj)){return obj}if(isArrayLike(obj)){return _stepCatArray}if(typeof obj==="string"){return _stepCatString}if(typeof obj==="object"){return _stepCatObject}throw new Error("Cannot create transformer for "+obj)}}()},{"../isArrayLike":166,"../objOf":209,"./_assign":92,"./_identity":114,"./_isTransformer":125}],136:[function(require,module,exports){module.exports=function(){var pad=function pad(n){return(n<10?"0":"")+n};return typeof Date.prototype.toISOString==="function"?function _toISOString(d){return d.toISOString()}:function _toISOString(d){return d.getUTCFullYear()+"-"+pad(d.getUTCMonth()+1)+"-"+pad(d.getUTCDate())+"T"+pad(d.getUTCHours())+":"+pad(d.getUTCMinutes())+":"+pad(d.getUTCSeconds())+"."+(d.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}}()},{}],137:[function(require,module,exports){var _contains=require("./_contains");var _map=require("./_map");var _quote=require("./_quote");var _toISOString=require("./_toISOString");var keys=require("../keys");var reject=require("../reject");module.exports=function _toString(x,seen){var recur=function recur(y){var xs=seen.concat([x]);return _contains(y,xs)?"<Circular>":_toString(y,xs)};var mapPairs=function(obj,keys){return _map(function(k){return _quote(k)+": "+recur(obj[k])},keys.slice().sort())};switch(Object.prototype.toString.call(x)){case"[object Arguments]":return"(function() { return arguments; }("+_map(recur,x).join(", ")+"))";case"[object Array]":return"["+_map(recur,x).concat(mapPairs(x,reject(function(k){return/^\d+$/.test(k)},keys(x)))).join(", ")+"]";case"[object Boolean]":return typeof x==="object"?"new Boolean("+recur(x.valueOf())+")":x.toString();case"[object Date]":return"new Date("+(isNaN(x.valueOf())?recur(NaN):_quote(_toISOString(x)))+")";case"[object Null]":return"null";case"[object Number]":return typeof x==="object"?"new Number("+recur(x.valueOf())+")":1/x===-Infinity?"-0":x.toString(10);case"[object String]":return typeof x==="object"?"new String("+recur(x.valueOf())+")":_quote(x);case"[object Undefined]":return"undefined";default:if(typeof x.toString==="function"){var repr=x.toString();if(repr!=="[object Object]"){return repr}}return"{"+mapPairs(x,keys(x)).join(", ")+"}"}}},{"../keys":171,"../reject":245,"./_contains":98,"./_map":127,"./_quote":132,"./_toISOString":136}],138:[function(require,module,exports){var _curry2=require("./_curry2");var _reduced=require("./_reduced");var _xfBase=require("./_xfBase");module.exports=function(){function XAll(f,xf){this.xf=xf;this.f=f;this.all=true}XAll.prototype["@@transducer/init"]=_xfBase.init;XAll.prototype["@@transducer/result"]=function(result){if(this.all){result=this.xf["@@transducer/step"](result,true)}return this.xf["@@transducer/result"](result)};XAll.prototype["@@transducer/step"]=function(result,input){if(!this.f(input)){this.all=false;result=_reduced(this.xf["@@transducer/step"](result,false))}return result};return _curry2(function _xall(f,xf){return new XAll(f,xf)})}()},{"./_curry2":102,"./_reduced":134,"./_xfBase":147}],139:[function(require,module,exports){var _curry2=require("./_curry2");var _reduced=require("./_reduced");var _xfBase=require("./_xfBase");module.exports=function(){function XAny(f,xf){this.xf=xf;this.f=f;this.any=false}XAny.prototype["@@transducer/init"]=_xfBase.init;XAny.prototype["@@transducer/result"]=function(result){if(!this.any){result=this.xf["@@transducer/step"](result,false)}return this.xf["@@transducer/result"](result)};XAny.prototype["@@transducer/step"]=function(result,input){if(this.f(input)){this.any=true;result=_reduced(this.xf["@@transducer/step"](result,true))}return result};return _curry2(function _xany(f,xf){return new XAny(f,xf)})}()},{"./_curry2":102,"./_reduced":134,"./_xfBase":147}],140:[function(require,module,exports){var _concat=require("./_concat");var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XAperture(n,xf){this.xf=xf;this.pos=0;this.full=false;this.acc=new Array(n)}XAperture.prototype["@@transducer/init"]=_xfBase.init;XAperture.prototype["@@transducer/result"]=function(result){this.acc=null;return this.xf["@@transducer/result"](result)};XAperture.prototype["@@transducer/step"]=function(result,input){this.store(input);return this.full?this.xf["@@transducer/step"](result,this.getCopy()):result};XAperture.prototype.store=function(input){this.acc[this.pos]=input;this.pos+=1;if(this.pos===this.acc.length){this.pos=0;this.full=true}};XAperture.prototype.getCopy=function(){return _concat(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))};return _curry2(function _xaperture(n,xf){return new XAperture(n,xf)})}()},{"./_concat":97,"./_curry2":102,"./_xfBase":147}],141:[function(require,module,exports){var _curry2=require("./_curry2");var _flatCat=require("./_flatCat");var map=require("../map");module.exports=_curry2(function _xchain(f,xf){return map(f,_flatCat(xf))})},{"../map":184,"./_curry2":102,"./_flatCat":110}],142:[function(require,module,exports){var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XDrop(n,xf){this.xf=xf;this.n=n}XDrop.prototype["@@transducer/init"]=_xfBase.init;XDrop.prototype["@@transducer/result"]=_xfBase.result;XDrop.prototype["@@transducer/step"]=function(result,input){if(this.n>0){this.n-=1;return result}return this.xf["@@transducer/step"](result,input)};return _curry2(function _xdrop(n,xf){return new XDrop(n,xf)})}()},{"./_curry2":102,"./_xfBase":147}],143:[function(require,module,exports){var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XDropLast(n,xf){this.xf=xf;this.pos=0;this.full=false;this.acc=new Array(n)}XDropLast.prototype["@@transducer/init"]=_xfBase.init;XDropLast.prototype["@@transducer/result"]=function(result){this.acc=null;return this.xf["@@transducer/result"](result)};XDropLast.prototype["@@transducer/step"]=function(result,input){if(this.full){result=this.xf["@@transducer/step"](result,this.acc[this.pos])}this.store(input);return result};XDropLast.prototype.store=function(input){this.acc[this.pos]=input;this.pos+=1;if(this.pos===this.acc.length){this.pos=0;this.full=true}};return _curry2(function _xdropLast(n,xf){return new XDropLast(n,xf)})}()},{"./_curry2":102,"./_xfBase":147}],144:[function(require,module,exports){var _curry2=require("./_curry2");var _reduce=require("./_reduce");var _xfBase=require("./_xfBase");module.exports=function(){function XDropLastWhile(fn,xf){this.f=fn;this.retained=[];this.xf=xf}XDropLastWhile.prototype["@@transducer/init"]=_xfBase.init;XDropLastWhile.prototype["@@transducer/result"]=function(result){this.retained=null;return this.xf["@@transducer/result"](result)};XDropLastWhile.prototype["@@transducer/step"]=function(result,input){return this.f(input)?this.retain(result,input):this.flush(result,input)};XDropLastWhile.prototype.flush=function(result,input){result=_reduce(this.xf["@@transducer/step"],result,this.retained);this.retained=[];return this.xf["@@transducer/step"](result,input)};XDropLastWhile.prototype.retain=function(result,input){this.retained.push(input);return result};return _curry2(function _xdropLastWhile(fn,xf){return new XDropLastWhile(fn,xf)})}()},{"./_curry2":102,"./_reduce":133,"./_xfBase":147}],145:[function(require,module,exports){var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XDropRepeatsWith(pred,xf){this.xf=xf;this.pred=pred;this.lastValue=undefined;this.seenFirstValue=false}XDropRepeatsWith.prototype["@@transducer/init"]=_xfBase.init;XDropRepeatsWith.prototype["@@transducer/result"]=_xfBase.result;XDropRepeatsWith.prototype["@@transducer/step"]=function(result,input){var sameAsLast=false;if(!this.seenFirstValue){this.seenFirstValue=true}else if(this.pred(this.lastValue,input)){sameAsLast=true}this.lastValue=input;return sameAsLast?result:this.xf["@@transducer/step"](result,input)};return _curry2(function _xdropRepeatsWith(pred,xf){return new XDropRepeatsWith(pred,xf)})}()},{"./_curry2":102,"./_xfBase":147}],146:[function(require,module,exports){var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XDropWhile(f,xf){this.xf=xf;this.f=f}XDropWhile.prototype["@@transducer/init"]=_xfBase.init;XDropWhile.prototype["@@transducer/result"]=_xfBase.result;XDropWhile.prototype["@@transducer/step"]=function(result,input){if(this.f){if(this.f(input)){return result}this.f=null}return this.xf["@@transducer/step"](result,input)};return _curry2(function _xdropWhile(f,xf){return new XDropWhile(f,xf)})}()},{"./_curry2":102,"./_xfBase":147}],147:[function(require,module,exports){module.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(result){return this.xf["@@transducer/result"](result)}}},{}],148:[function(require,module,exports){var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XFilter(f,xf){this.xf=xf;this.f=f}XFilter.prototype["@@transducer/init"]=_xfBase.init;XFilter.prototype["@@transducer/result"]=_xfBase.result;XFilter.prototype["@@transducer/step"]=function(result,input){return this.f(input)?this.xf["@@transducer/step"](result,input):result};return _curry2(function _xfilter(f,xf){return new XFilter(f,xf)})}()},{"./_curry2":102,"./_xfBase":147}],149:[function(require,module,exports){var _curry2=require("./_curry2");var _reduced=require("./_reduced");var _xfBase=require("./_xfBase");module.exports=function(){function XFind(f,xf){this.xf=xf;this.f=f;this.found=false}XFind.prototype["@@transducer/init"]=_xfBase.init;XFind.prototype["@@transducer/result"]=function(result){if(!this.found){result=this.xf["@@transducer/step"](result,void 0)}return this.xf["@@transducer/result"](result)};XFind.prototype["@@transducer/step"]=function(result,input){if(this.f(input)){this.found=true;result=_reduced(this.xf["@@transducer/step"](result,input))}return result};return _curry2(function _xfind(f,xf){return new XFind(f,xf)})}()},{"./_curry2":102,"./_reduced":134,"./_xfBase":147}],150:[function(require,module,exports){var _curry2=require("./_curry2");var _reduced=require("./_reduced");var _xfBase=require("./_xfBase");module.exports=function(){function XFindIndex(f,xf){this.xf=xf;this.f=f;this.idx=-1;this.found=false}XFindIndex.prototype["@@transducer/init"]=_xfBase.init;XFindIndex.prototype["@@transducer/result"]=function(result){if(!this.found){result=this.xf["@@transducer/step"](result,-1)}return this.xf["@@transducer/result"](result)};XFindIndex.prototype["@@transducer/step"]=function(result,input){this.idx+=1;if(this.f(input)){this.found=true;result=_reduced(this.xf["@@transducer/step"](result,this.idx))}return result};return _curry2(function _xfindIndex(f,xf){return new XFindIndex(f,xf)})}()},{"./_curry2":102,"./_reduced":134,"./_xfBase":147}],151:[function(require,module,exports){var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XFindLast(f,xf){this.xf=xf;this.f=f}XFindLast.prototype["@@transducer/init"]=_xfBase.init;XFindLast.prototype["@@transducer/result"]=function(result){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](result,this.last))};XFindLast.prototype["@@transducer/step"]=function(result,input){if(this.f(input)){this.last=input}return result};return _curry2(function _xfindLast(f,xf){return new XFindLast(f,xf)})}()},{"./_curry2":102,"./_xfBase":147}],152:[function(require,module,exports){var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XFindLastIndex(f,xf){this.xf=xf;this.f=f;this.idx=-1;this.lastIdx=-1}XFindLastIndex.prototype["@@transducer/init"]=_xfBase.init;XFindLastIndex.prototype["@@transducer/result"]=function(result){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](result,this.lastIdx))};XFindLastIndex.prototype["@@transducer/step"]=function(result,input){this.idx+=1;if(this.f(input)){this.lastIdx=this.idx}return result};return _curry2(function _xfindLastIndex(f,xf){return new XFindLastIndex(f,xf)})}()},{"./_curry2":102,"./_xfBase":147}],153:[function(require,module,exports){var _curry2=require("./_curry2");var _xfBase=require("./_xfBase");module.exports=function(){function XMap(f,xf){this.xf=xf;this.f=f}XMap.prototype["@@transducer/init"]=_xfBase.init;XMap.prototype["@@transducer/result"]=_xfBase.result;XMap.prototype["@@transducer/step"]=function(result,input){return this.xf["@@transducer/step"](result,this.f(input))};return _curry2(function _xmap(f,xf){return new XMap(f,xf)})}()},{"./_curry2":102,"./_xfBase":147}],154:[function(require,module,exports){var _curryN=require("./_curryN");var _has=require("./_has");var _xfBase=require("./_xfBase");module.exports=function(){function XReduceBy(valueFn,valueAcc,keyFn,xf){this.valueFn=valueFn;this.valueAcc=valueAcc;this.keyFn=keyFn;this.xf=xf;this.inputs={}}XReduceBy.prototype["@@transducer/init"]=_xfBase.init;XReduceBy.prototype["@@transducer/result"]=function(result){var key;for(key in this.inputs){if(_has(key,this.inputs)){result=this.xf["@@transducer/step"](result,this.inputs[key]);if(result["@@transducer/reduced"]){result=result["@@transducer/value"];break}}}this.inputs=null;return this.xf["@@transducer/result"](result)};XReduceBy.prototype["@@transducer/step"]=function(result,input){var key=this.keyFn(input);this.inputs[key]=this.inputs[key]||[key,this.valueAcc];this.inputs[key][1]=this.valueFn(this.inputs[key][1],input);return result};return _curryN(4,[],function _xreduceBy(valueFn,valueAcc,keyFn,xf){return new XReduceBy(valueFn,valueAcc,keyFn,xf)})}()},{"./_curryN":104,"./_has":113,"./_xfBase":147}],155:[function(require,module,exports){var _curry2=require("./_curry2");var _reduced=require("./_reduced");var _xfBase=require("./_xfBase");module.exports=function(){function XTake(n,xf){this.xf=xf;this.n=n;this.i=0}XTake.prototype["@@transducer/init"]=_xfBase.init;XTake.prototype["@@transducer/result"]=_xfBase.result;XTake.prototype["@@transducer/step"]=function(result,input){this.i+=1;var ret=this.n===0?result:this.xf["@@transducer/step"](result,input);return this.i>=this.n?_reduced(ret):ret};return _curry2(function _xtake(n,xf){return new XTake(n,xf)})}()},{"./_curry2":102,"./_reduced":134,"./_xfBase":147}],156:[function(require,module,exports){var _curry2=require("./_curry2");var _reduced=require("./_reduced");var _xfBase=require("./_xfBase");module.exports=function(){function XTakeWhile(f,xf){ | |
this.xf=xf;this.f=f}XTakeWhile.prototype["@@transducer/init"]=_xfBase.init;XTakeWhile.prototype["@@transducer/result"]=_xfBase.result;XTakeWhile.prototype["@@transducer/step"]=function(result,input){return this.f(input)?this.xf["@@transducer/step"](result,input):_reduced(result)};return _curry2(function _xtakeWhile(f,xf){return new XTakeWhile(f,xf)})}()},{"./_curry2":102,"./_reduced":134,"./_xfBase":147}],157:[function(require,module,exports){module.exports=function(){function XWrap(fn){this.f=fn}XWrap.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")};XWrap.prototype["@@transducer/result"]=function(acc){return acc};XWrap.prototype["@@transducer/step"]=function(acc,x){return this.f(acc,x)};return function _xwrap(fn){return new XWrap(fn)}}()},{}],158:[function(require,module,exports){var _contains=require("./internal/_contains");var _curry2=require("./internal/_curry2");var _filter=require("./internal/_filter");var flip=require("./flip");var uniq=require("./uniq");module.exports=_curry2(function intersection(list1,list2){var lookupList,filteredList;if(list1.length>list2.length){lookupList=list1;filteredList=list2}else{lookupList=list2;filteredList=list1}return uniq(_filter(flip(_contains)(lookupList),filteredList))})},{"./flip":68,"./internal/_contains":98,"./internal/_curry2":102,"./internal/_filter":109,"./uniq":290}],159:[function(require,module,exports){var _containsWith=require("./internal/_containsWith");var _curry3=require("./internal/_curry3");var uniqWith=require("./uniqWith");module.exports=_curry3(function intersectionWith(pred,list1,list2){var lookupList,filteredList;if(list1.length>list2.length){lookupList=list1;filteredList=list2}else{lookupList=list2;filteredList=list1}var results=[];var idx=0;while(idx<filteredList.length){if(_containsWith(pred,filteredList[idx],lookupList)){results[results.length]=filteredList[idx]}idx+=1}return uniqWith(pred,results)})},{"./internal/_containsWith":99,"./internal/_curry3":103,"./uniqWith":292}],160:[function(require,module,exports){var _checkForMethod=require("./internal/_checkForMethod");var _curry2=require("./internal/_curry2");module.exports=_curry2(_checkForMethod("intersperse",function intersperse(separator,list){var out=[];var idx=0;var length=list.length;while(idx<length){if(idx===length-1){out.push(list[idx])}else{out.push(list[idx],separator)}idx+=1}return out}))},{"./internal/_checkForMethod":93,"./internal/_curry2":102}],161:[function(require,module,exports){var _clone=require("./internal/_clone");var _curry3=require("./internal/_curry3");var _isTransformer=require("./internal/_isTransformer");var _reduce=require("./internal/_reduce");var _stepCat=require("./internal/_stepCat");module.exports=_curry3(function into(acc,xf,list){return _isTransformer(acc)?_reduce(xf(acc),acc["@@transducer/init"](),list):_reduce(xf(_stepCat(acc)),_clone(acc,[],[],false),list)})},{"./internal/_clone":94,"./internal/_curry3":103,"./internal/_isTransformer":125,"./internal/_reduce":133,"./internal/_stepCat":135}],162:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _has=require("./internal/_has");var keys=require("./keys");module.exports=_curry1(function invert(obj){var props=keys(obj);var len=props.length;var idx=0;var out={};while(idx<len){var key=props[idx];var val=obj[key];var list=_has(val,out)?out[val]:out[val]=[];list[list.length]=key;idx+=1}return out})},{"./internal/_curry1":101,"./internal/_has":113,"./keys":171}],163:[function(require,module,exports){var _curry1=require("./internal/_curry1");var keys=require("./keys");module.exports=_curry1(function invertObj(obj){var props=keys(obj);var len=props.length;var idx=0;var out={};while(idx<len){var key=props[idx];out[obj[key]]=key;idx+=1}return out})},{"./internal/_curry1":101,"./keys":171}],164:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _isFunction=require("./internal/_isFunction");var curryN=require("./curryN");var toString=require("./toString");module.exports=_curry2(function invoker(arity,method){return curryN(arity+1,function(){var target=arguments[arity];if(target!=null&&_isFunction(target[method])){return target[method].apply(target,Array.prototype.slice.call(arguments,0,arity))}throw new TypeError(toString(target)+' does not have a method named "'+method+'"')})})},{"./curryN":41,"./internal/_curry2":102,"./internal/_isFunction":118,"./toString":276}],165:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function is(Ctor,val){return val!=null&&val.constructor===Ctor||val instanceof Ctor})},{"./internal/_curry2":102}],166:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _isArray=require("./internal/_isArray");var _isString=require("./internal/_isString");module.exports=_curry1(function isArrayLike(x){if(_isArray(x)){return true}if(!x){return false}if(typeof x!=="object"){return false}if(_isString(x)){return false}if(x.nodeType===1){return!!x.length}if(x.length===0){return true}if(x.length>0){return x.hasOwnProperty(0)&&x.hasOwnProperty(x.length-1)}return false})},{"./internal/_curry1":101,"./internal/_isArray":117,"./internal/_isString":124}],167:[function(require,module,exports){var _curry1=require("./internal/_curry1");var empty=require("./empty");var equals=require("./equals");module.exports=_curry1(function isEmpty(x){return x!=null&&equals(x,empty(x))})},{"./empty":57,"./equals":60,"./internal/_curry1":101}],168:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function isNil(x){return x==null})},{"./internal/_curry1":101}],169:[function(require,module,exports){var invoker=require("./invoker");module.exports=invoker(1,"join")},{"./invoker":164}],170:[function(require,module,exports){var _curry1=require("./internal/_curry1");var converge=require("./converge");module.exports=_curry1(function juxt(fns){return converge(function(){return Array.prototype.slice.call(arguments,0)},fns)})},{"./converge":38,"./internal/_curry1":101}],171:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _has=require("./internal/_has");var _isArguments=require("./internal/_isArguments");module.exports=function(){var hasEnumBug=!{toString:null}.propertyIsEnumerable("toString");var nonEnumerableProps=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];var hasArgsEnumBug=function(){"use strict";return arguments.propertyIsEnumerable("length")}();var contains=function contains(list,item){var idx=0;while(idx<list.length){if(list[idx]===item){return true}idx+=1}return false};return typeof Object.keys==="function"&&!hasArgsEnumBug?_curry1(function keys(obj){return Object(obj)!==obj?[]:Object.keys(obj)}):_curry1(function keys(obj){if(Object(obj)!==obj){return[]}var prop,nIdx;var ks=[];var checkArgsLength=hasArgsEnumBug&&_isArguments(obj);for(prop in obj){if(_has(prop,obj)&&(!checkArgsLength||prop!=="length")){ks[ks.length]=prop}}if(hasEnumBug){nIdx=nonEnumerableProps.length-1;while(nIdx>=0){prop=nonEnumerableProps[nIdx];if(_has(prop,obj)&&!contains(ks,prop)){ks[ks.length]=prop}nIdx-=1}}return ks})}()},{"./internal/_curry1":101,"./internal/_has":113,"./internal/_isArguments":116}],172:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function keysIn(obj){var prop;var ks=[];for(prop in obj){ks[ks.length]=prop}return ks})},{"./internal/_curry1":101}],173:[function(require,module,exports){var nth=require("./nth");module.exports=nth(-1)},{"./nth":207}],174:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _isArray=require("./internal/_isArray");var equals=require("./equals");module.exports=_curry2(function lastIndexOf(target,xs){if(typeof xs.lastIndexOf==="function"&&!_isArray(xs)){return xs.lastIndexOf(target)}else{var idx=xs.length-1;while(idx>=0){if(equals(xs[idx],target)){return idx}idx-=1}return-1}})},{"./equals":60,"./internal/_curry2":102,"./internal/_isArray":117}],175:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _isNumber=require("./internal/_isNumber");module.exports=_curry1(function length(list){return list!=null&&_isNumber(list.length)?list.length:NaN})},{"./internal/_curry1":101,"./internal/_isNumber":120}],176:[function(require,module,exports){var _curry2=require("./internal/_curry2");var map=require("./map");module.exports=_curry2(function lens(getter,setter){return function(toFunctorFn){return function(target){return map(function(focus){return setter(focus,target)},toFunctorFn(getter(target)))}}})},{"./internal/_curry2":102,"./map":184}],177:[function(require,module,exports){var _curry1=require("./internal/_curry1");var lens=require("./lens");var nth=require("./nth");var update=require("./update");module.exports=_curry1(function lensIndex(n){return lens(nth(n),update(n))})},{"./internal/_curry1":101,"./lens":176,"./nth":207,"./update":296}],178:[function(require,module,exports){var _curry1=require("./internal/_curry1");var assocPath=require("./assocPath");var lens=require("./lens");var path=require("./path");module.exports=_curry1(function lensPath(p){return lens(path(p),assocPath(p))})},{"./assocPath":20,"./internal/_curry1":101,"./lens":176,"./path":219}],179:[function(require,module,exports){var _curry1=require("./internal/_curry1");var assoc=require("./assoc");var lens=require("./lens");var prop=require("./prop");module.exports=_curry1(function lensProp(k){return lens(prop(k),assoc(k))})},{"./assoc":19,"./internal/_curry1":101,"./lens":176,"./prop":233}],180:[function(require,module,exports){var _curry1=require("./internal/_curry1");var liftN=require("./liftN");module.exports=_curry1(function lift(fn){return liftN(fn.length,fn)})},{"./internal/_curry1":101,"./liftN":181}],181:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _reduce=require("./internal/_reduce");var ap=require("./ap");var curryN=require("./curryN");var map=require("./map");module.exports=_curry2(function liftN(arity,fn){var lifted=curryN(arity,fn);return curryN(arity,function(){return _reduce(ap,map(lifted,arguments[0]),Array.prototype.slice.call(arguments,1))})})},{"./ap":13,"./curryN":41,"./internal/_curry2":102,"./internal/_reduce":133,"./map":184}],182:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function lt(a,b){return a<b})},{"./internal/_curry2":102}],183:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function lte(a,b){return a<=b})},{"./internal/_curry2":102}],184:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _map=require("./internal/_map");var _reduce=require("./internal/_reduce");var _xmap=require("./internal/_xmap");var curryN=require("./curryN");var keys=require("./keys");module.exports=_curry2(_dispatchable(["map"],_xmap,function map(fn,functor){switch(Object.prototype.toString.call(functor)){case"[object Function]":return curryN(functor.length,function(){return fn.call(this,functor.apply(this,arguments))});case"[object Object]":return _reduce(function(acc,key){acc[key]=fn(functor[key]);return acc},{},keys(functor));default:return _map(fn,functor)}}))},{"./curryN":41,"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_map":127,"./internal/_reduce":133,"./internal/_xmap":153,"./keys":171}],185:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function mapAccum(fn,acc,list){var idx=0;var len=list.length;var result=[];var tuple=[acc];while(idx<len){tuple=fn(tuple[0],list[idx]);result[idx]=tuple[1];idx+=1}return[tuple[0],result]})},{"./internal/_curry3":103}],186:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function mapAccumRight(fn,acc,list){var idx=list.length-1;var result=[];var tuple=[acc];while(idx>=0){tuple=fn(list[idx],tuple[0]);result[idx]=tuple[1];idx-=1}return[result,tuple[0]]})},{"./internal/_curry3":103}],187:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _reduce=require("./internal/_reduce");var keys=require("./keys");module.exports=_curry2(function mapObjIndexed(fn,obj){return _reduce(function(acc,key){acc[key]=fn(obj[key],key,obj);return acc},{},keys(obj))})},{"./internal/_curry2":102,"./internal/_reduce":133,"./keys":171}],188:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function match(rx,str){return str.match(rx)||[]})},{"./internal/_curry2":102}],189:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _isInteger=require("./internal/_isInteger");module.exports=_curry2(function mathMod(m,p){if(!_isInteger(m)){return NaN}if(!_isInteger(p)||p<1){return NaN}return(m%p+p)%p})},{"./internal/_curry2":102,"./internal/_isInteger":119}],190:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function max(a,b){return b>a?b:a})},{"./internal/_curry2":102}],191:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function maxBy(f,a,b){return f(b)>f(a)?b:a})},{"./internal/_curry3":103}],192:[function(require,module,exports){var _curry1=require("./internal/_curry1");var sum=require("./sum");module.exports=_curry1(function mean(list){return sum(list)/list.length})},{"./internal/_curry1":101,"./sum":262}],193:[function(require,module,exports){var _curry1=require("./internal/_curry1");var mean=require("./mean");module.exports=_curry1(function median(list){var len=list.length;if(len===0){return NaN}var width=2-len%2;var idx=(len-width)/2;return mean(Array.prototype.slice.call(list,0).sort(function(a,b){return a<b?-1:a>b?1:0}).slice(idx,idx+width))})},{"./internal/_curry1":101,"./mean":192}],194:[function(require,module,exports){var _arity=require("./internal/_arity");var _curry1=require("./internal/_curry1");var _has=require("./internal/_has");var toString=require("./toString");module.exports=_curry1(function memoize(fn){var cache={};return _arity(fn.length,function(){var key=toString(arguments);if(!_has(key,cache)){cache[key]=fn.apply(this,arguments)}return cache[key]})})},{"./internal/_arity":90,"./internal/_curry1":101,"./internal/_has":113,"./toString":276}],195:[function(require,module,exports){var _assign=require("./internal/_assign");var _curry2=require("./internal/_curry2");module.exports=_curry2(function merge(l,r){return _assign({},l,r)})},{"./internal/_assign":92,"./internal/_curry2":102}],196:[function(require,module,exports){var _assign=require("./internal/_assign");var _curry1=require("./internal/_curry1");module.exports=_curry1(function mergeAll(list){return _assign.apply(null,[{}].concat(list))})},{"./internal/_assign":92,"./internal/_curry1":101}],197:[function(require,module,exports){var _curry3=require("./internal/_curry3");var mergeWithKey=require("./mergeWithKey");module.exports=_curry3(function mergeWith(fn,l,r){return mergeWithKey(function(_,_l,_r){return fn(_l,_r)},l,r)})},{"./internal/_curry3":103,"./mergeWithKey":198}],198:[function(require,module,exports){var _curry3=require("./internal/_curry3");var _has=require("./internal/_has");module.exports=_curry3(function mergeWithKey(fn,l,r){var result={};var k;for(k in l){if(_has(k,l)){result[k]=_has(k,r)?fn(k,l[k],r[k]):l[k]}}for(k in r){if(_has(k,r)&&!_has(k,result)){result[k]=r[k]}}return result})},{"./internal/_curry3":103,"./internal/_has":113}],199:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function min(a,b){return b<a?b:a})},{"./internal/_curry2":102}],200:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function minBy(f,a,b){return f(b)<f(a)?b:a})},{"./internal/_curry3":103}],201:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function modulo(a,b){return a%b})},{"./internal/_curry2":102}],202:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function multiply(a,b){return a*b})},{"./internal/_curry2":102}],203:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function nAry(n,fn){switch(n){case 0:return function(){return fn.call(this)};case 1:return function(a0){return fn.call(this,a0)};case 2:return function(a0,a1){return fn.call(this,a0,a1)};case 3:return function(a0,a1,a2){return fn.call(this,a0,a1,a2)};case 4:return function(a0,a1,a2,a3){return fn.call(this,a0,a1,a2,a3)};case 5:return function(a0,a1,a2,a3,a4){return fn.call(this,a0,a1,a2,a3,a4)};case 6:return function(a0,a1,a2,a3,a4,a5){return fn.call(this,a0,a1,a2,a3,a4,a5)};case 7:return function(a0,a1,a2,a3,a4,a5,a6){return fn.call(this,a0,a1,a2,a3,a4,a5,a6)};case 8:return function(a0,a1,a2,a3,a4,a5,a6,a7){return fn.call(this,a0,a1,a2,a3,a4,a5,a6,a7)};case 9:return function(a0,a1,a2,a3,a4,a5,a6,a7,a8){return fn.call(this,a0,a1,a2,a3,a4,a5,a6,a7,a8)};case 10:return function(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9){return fn.call(this,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}})},{"./internal/_curry2":102}],204:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function negate(n){return-n})},{"./internal/_curry1":101}],205:[function(require,module,exports){var _complement=require("./internal/_complement");var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xany=require("./internal/_xany");var any=require("./any");module.exports=_curry2(_complement(_dispatchable(["any"],_xany,any)))},{"./any":11,"./internal/_complement":96,"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xany":139}],206:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function not(a){return!a})},{"./internal/_curry1":101}],207:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _isString=require("./internal/_isString");module.exports=_curry2(function nth(offset,list){var idx=offset<0?list.length+offset:offset;return _isString(list)?list.charAt(idx):list[idx]})},{"./internal/_curry2":102,"./internal/_isString":124}],208:[function(require,module,exports){var _curry1=require("./internal/_curry1");var curryN=require("./curryN");var nth=require("./nth");module.exports=_curry1(function nthArg(n){var arity=n<0?1:n+1;return curryN(arity,function(){return nth(n,arguments)})})},{"./curryN":41,"./internal/_curry1":101,"./nth":207}],209:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function objOf(key,val){var obj={};obj[key]=val;return obj})},{"./internal/_curry2":102}],210:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _of=require("./internal/_of");module.exports=_curry1(_of)},{"./internal/_curry1":101,"./internal/_of":129}],211:[function(require,module,exports){var _contains=require("./internal/_contains");var _curry2=require("./internal/_curry2");module.exports=_curry2(function omit(names,obj){var result={};for(var prop in obj){if(!_contains(prop,names)){result[prop]=obj[prop]}}return result})},{"./internal/_contains":98,"./internal/_curry2":102}],212:[function(require,module,exports){var _arity=require("./internal/_arity");var _curry1=require("./internal/_curry1");module.exports=_curry1(function once(fn){var called=false;var result;return _arity(fn.length,function(){if(called){return result}called=true;result=fn.apply(this,arguments);return result})})},{"./internal/_arity":90,"./internal/_curry1":101}],213:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function or(a,b){return a||b})},{"./internal/_curry2":102}],214:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=function(){var Identity=function(x){return{value:x,map:function(f){return Identity(f(x))}}};return _curry3(function over(lens,f,x){return lens(function(y){return Identity(f(y))})(x).value})}()},{"./internal/_curry3":103}],215:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function pair(fst,snd){return[fst,snd]})},{"./internal/_curry2":102}],216:[function(require,module,exports){var _concat=require("./internal/_concat");var _createPartialApplicator=require("./internal/_createPartialApplicator");module.exports=_createPartialApplicator(_concat)},{"./internal/_concat":97,"./internal/_createPartialApplicator":100}],217:[function(require,module,exports){var _concat=require("./internal/_concat");var _createPartialApplicator=require("./internal/_createPartialApplicator");var flip=require("./flip");module.exports=_createPartialApplicator(flip(_concat))},{"./flip":68,"./internal/_concat":97,"./internal/_createPartialApplicator":100}],218:[function(require,module,exports){var filter=require("./filter");var juxt=require("./juxt");var reject=require("./reject");module.exports=juxt([filter,reject])},{"./filter":62,"./juxt":170,"./reject":245}],219:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function path(paths,obj){var val=obj;var idx=0;while(idx<paths.length){if(val==null){return}val=val[paths[idx]];idx+=1}return val})},{"./internal/_curry2":102}],220:[function(require,module,exports){var _curry3=require("./internal/_curry3");var equals=require("./equals");var path=require("./path");module.exports=_curry3(function pathEq(_path,val,obj){return equals(path(_path,obj),val)})},{"./equals":60,"./internal/_curry3":103,"./path":219}],221:[function(require,module,exports){var _curry3=require("./internal/_curry3");var defaultTo=require("./defaultTo");var path=require("./path");module.exports=_curry3(function pathOr(d,p,obj){return defaultTo(d,path(p,obj))})},{"./defaultTo":43,"./internal/_curry3":103,"./path":219}],222:[function(require,module,exports){var _curry3=require("./internal/_curry3");var path=require("./path");module.exports=_curry3(function pathSatisfies(pred,propPath,obj){return propPath.length>0&&pred(path(propPath,obj))})},{"./internal/_curry3":103,"./path":219}],223:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function pick(names,obj){var result={};var idx=0;while(idx<names.length){if(names[idx]in obj){result[names[idx]]=obj[names[idx]]}idx+=1}return result})},{"./internal/_curry2":102}],224:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function pickAll(names,obj){var result={};var idx=0;var len=names.length;while(idx<len){var name=names[idx];result[name]=obj[name];idx+=1}return result})},{"./internal/_curry2":102}],225:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function pickBy(test,obj){var result={};for(var prop in obj){if(test(obj[prop],prop,obj)){result[prop]=obj[prop]}}return result})},{"./internal/_curry2":102}],226:[function(require,module,exports){var _arity=require("./internal/_arity");var _pipe=require("./internal/_pipe");var reduce=require("./reduce");var tail=require("./tail");module.exports=function pipe(){if(arguments.length===0){throw new Error("pipe requires at least one argument")}return _arity(arguments[0].length,reduce(_pipe,arguments[0],tail(arguments)))}},{"./internal/_arity":90,"./internal/_pipe":130,"./reduce":240,"./tail":265}],227:[function(require,module,exports){var composeK=require("./composeK");var reverse=require("./reverse");module.exports=function pipeK(){if(arguments.length===0){throw new Error("pipeK requires at least one argument")}return composeK.apply(this,reverse(arguments))}},{"./composeK":31,"./reverse":249}],228:[function(require,module,exports){var _arity=require("./internal/_arity");var _pipeP=require("./internal/_pipeP");var reduce=require("./reduce");var tail=require("./tail");module.exports=function pipeP(){if(arguments.length===0){throw new Error("pipeP requires at least one argument")}return _arity(arguments[0].length,reduce(_pipeP,arguments[0],tail(arguments)))}},{"./internal/_arity":90,"./internal/_pipeP":131,"./reduce":240,"./tail":265}],229:[function(require,module,exports){var _curry2=require("./internal/_curry2");var map=require("./map");var prop=require("./prop");module.exports=_curry2(function pluck(p,list){return map(prop(p),list)})},{"./internal/_curry2":102,"./map":184,"./prop":233}],230:[function(require,module,exports){var _concat=require("./internal/_concat");var _curry2=require("./internal/_curry2");module.exports=_curry2(function prepend(el,list){return _concat([el],list)})},{"./internal/_concat":97,"./internal/_curry2":102}],231:[function(require,module,exports){var multiply=require("./multiply");var reduce=require("./reduce");module.exports=reduce(multiply,1)},{"./multiply":202,"./reduce":240}],232:[function(require,module,exports){var _map=require("./internal/_map");var identity=require("./identity");var pickAll=require("./pickAll");var useWith=require("./useWith");module.exports=useWith(_map,[pickAll,identity])},{"./identity":80,"./internal/_map":127,"./pickAll":224,"./useWith":297}],233:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function prop(p,obj){return obj[p]})},{"./internal/_curry2":102}],234:[function(require,module,exports){var _curry3=require("./internal/_curry3");var equals=require("./equals");module.exports=_curry3(function propEq(name,val,obj){return equals(val,obj[name])})},{"./equals":60,"./internal/_curry3":103}],235:[function(require,module,exports){var _curry3=require("./internal/_curry3");var is=require("./is");module.exports=_curry3(function propIs(type,name,obj){return is(type,obj[name])})},{"./internal/_curry3":103,"./is":165}],236:[function(require,module,exports){var _curry3=require("./internal/_curry3");var _has=require("./internal/_has");module.exports=_curry3(function propOr(val,p,obj){return obj!=null&&_has(p,obj)?obj[p]:val})},{"./internal/_curry3":103,"./internal/_has":113}],237:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function propSatisfies(pred,name,obj){return pred(obj[name])})},{"./internal/_curry3":103}],238:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function props(ps,obj){var len=ps.length;var out=[];var idx=0;while(idx<len){out[idx]=obj[ps[idx]];idx+=1}return out})},{"./internal/_curry2":102}],239:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _isNumber=require("./internal/_isNumber");module.exports=_curry2(function range(from,to){if(!(_isNumber(from)&&_isNumber(to))){throw new TypeError("Both arguments to range must be numbers")}var result=[];var n=from;while(n<to){result.push(n);n+=1}return result})},{"./internal/_curry2":102,"./internal/_isNumber":120}],240:[function(require,module,exports){var _curry3=require("./internal/_curry3");var _reduce=require("./internal/_reduce");module.exports=_curry3(_reduce)},{"./internal/_curry3":103,"./internal/_reduce":133}],241:[function(require,module,exports){var _curryN=require("./internal/_curryN");var _dispatchable=require("./internal/_dispatchable");var _has=require("./internal/_has");var _reduce=require("./internal/_reduce");var _xreduceBy=require("./internal/_xreduceBy");module.exports=_curryN(4,[],_dispatchable([],_xreduceBy,function reduceBy(valueFn,valueAcc,keyFn,list){return _reduce(function(acc,elt){var key=keyFn(elt);acc[key]=valueFn(_has(key,acc)?acc[key]:valueAcc,elt);return acc},{},list)}))},{"./internal/_curryN":104,"./internal/_dispatchable":105,"./internal/_has":113,"./internal/_reduce":133,"./internal/_xreduceBy":154}],242:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function reduceRight(fn,acc,list){var idx=list.length-1;while(idx>=0){acc=fn(list[idx],acc);idx-=1}return acc})},{"./internal/_curry3":103}],243:[function(require,module,exports){var _curryN=require("./internal/_curryN");var _reduce=require("./internal/_reduce");var _reduced=require("./internal/_reduced");module.exports=_curryN(4,[],function _reduceWhile(pred,fn,a,list){return _reduce(function(acc,x){return pred(acc,x)?fn(acc,x):_reduced(acc)},a,list)})},{"./internal/_curryN":104,"./internal/_reduce":133,"./internal/_reduced":134}],244:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _reduced=require("./internal/_reduced");module.exports=_curry1(_reduced)},{"./internal/_curry1":101,"./internal/_reduced":134}],245:[function(require,module,exports){var _complement=require("./internal/_complement");var _curry2=require("./internal/_curry2");var filter=require("./filter");module.exports=_curry2(function reject(pred,filterable){return filter(_complement(pred),filterable)})},{"./filter":62,"./internal/_complement":96,"./internal/_curry2":102}],246:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function remove(start,count,list){var result=Array.prototype.slice.call(list,0);result.splice(start,count);return result})},{"./internal/_curry3":103}],247:[function(require,module,exports){var _curry2=require("./internal/_curry2");var always=require("./always");var times=require("./times");module.exports=_curry2(function repeat(value,n){return times(always(value),n)})},{"./always":9,"./internal/_curry2":102,"./times":272}],248:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function replace(regex,replacement,str){return str.replace(regex,replacement)})},{"./internal/_curry3":103}],249:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _isString=require("./internal/_isString");module.exports=_curry1(function reverse(list){return _isString(list)?list.split("").reverse().join(""):Array.prototype.slice.call(list,0).reverse()})},{"./internal/_curry1":101,"./internal/_isString":124}],250:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function scan(fn,acc,list){var idx=0;var len=list.length;var result=[acc];while(idx<len){acc=fn(acc,list[idx]);result[idx+1]=acc;idx+=1}return result})},{"./internal/_curry3":103}],251:[function(require,module,exports){var _curry2=require("./internal/_curry2");var ap=require("./ap");var map=require("./map");var prepend=require("./prepend");var reduceRight=require("./reduceRight");module.exports=_curry2(function sequence(of,traversable){return typeof traversable.sequence==="function"?traversable.sequence(of):reduceRight(function(x,acc){return ap(map(prepend,x),acc)},of([]),traversable)})},{"./ap":13,"./internal/_curry2":102,"./map":184,"./prepend":230,"./reduceRight":242}],252:[function(require,module,exports){var _curry3=require("./internal/_curry3");var always=require("./always");var over=require("./over");module.exports=_curry3(function set(lens,v,x){return over(lens,always(v),x)})},{"./always":9,"./internal/_curry3":103,"./over":214}],253:[function(require,module,exports){var _checkForMethod=require("./internal/_checkForMethod");var _curry3=require("./internal/_curry3");module.exports=_curry3(_checkForMethod("slice",function slice(fromIndex,toIndex,list){return Array.prototype.slice.call(list,fromIndex,toIndex)}))},{"./internal/_checkForMethod":93,"./internal/_curry3":103}],254:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function sort(comparator,list){return Array.prototype.slice.call(list,0).sort(comparator)})},{"./internal/_curry2":102}],255:[function(require,module,exports){var _curry2=require("./internal/_curry2"); | |
module.exports=_curry2(function sortBy(fn,list){return Array.prototype.slice.call(list,0).sort(function(a,b){var aa=fn(a);var bb=fn(b);return aa<bb?-1:aa>bb?1:0})})},{"./internal/_curry2":102}],256:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function sortWith(fns,list){return Array.prototype.slice.call(list,0).sort(function(a,b){var result=0;var i=0;while(result===0&&i<fns.length){result=fns[i](a,b);i+=1}return result})})},{"./internal/_curry2":102}],257:[function(require,module,exports){var invoker=require("./invoker");module.exports=invoker(1,"split")},{"./invoker":164}],258:[function(require,module,exports){var _curry2=require("./internal/_curry2");var length=require("./length");var slice=require("./slice");module.exports=_curry2(function splitAt(index,array){return[slice(0,index,array),slice(index,length(array),array)]})},{"./internal/_curry2":102,"./length":175,"./slice":253}],259:[function(require,module,exports){var _curry2=require("./internal/_curry2");var slice=require("./slice");module.exports=_curry2(function splitEvery(n,list){if(n<=0){throw new Error("First argument to splitEvery must be a positive integer")}var result=[];var idx=0;while(idx<list.length){result.push(slice(idx,idx+=n,list))}return result})},{"./internal/_curry2":102,"./slice":253}],260:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function splitWhen(pred,list){var idx=0;var len=list.length;var prefix=[];while(idx<len&&!pred(list[idx])){prefix.push(list[idx]);idx+=1}return[prefix,Array.prototype.slice.call(list,idx)]})},{"./internal/_curry2":102}],261:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function subtract(a,b){return Number(a)-Number(b)})},{"./internal/_curry2":102}],262:[function(require,module,exports){var add=require("./add");var reduce=require("./reduce");module.exports=reduce(add,0)},{"./add":4,"./reduce":240}],263:[function(require,module,exports){var _curry2=require("./internal/_curry2");var concat=require("./concat");var difference=require("./difference");module.exports=_curry2(function symmetricDifference(list1,list2){return concat(difference(list1,list2),difference(list2,list1))})},{"./concat":33,"./difference":45,"./internal/_curry2":102}],264:[function(require,module,exports){var _curry3=require("./internal/_curry3");var concat=require("./concat");var differenceWith=require("./differenceWith");module.exports=_curry3(function symmetricDifferenceWith(pred,list1,list2){return concat(differenceWith(pred,list1,list2),differenceWith(pred,list2,list1))})},{"./concat":33,"./differenceWith":46,"./internal/_curry3":103}],265:[function(require,module,exports){var _checkForMethod=require("./internal/_checkForMethod");var _curry1=require("./internal/_curry1");var slice=require("./slice");module.exports=_curry1(_checkForMethod("tail",slice(1,Infinity)))},{"./internal/_checkForMethod":93,"./internal/_curry1":101,"./slice":253}],266:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xtake=require("./internal/_xtake");var slice=require("./slice");module.exports=_curry2(_dispatchable(["take"],_xtake,function take(n,xs){return slice(0,n<0?Infinity:n,xs)}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xtake":155,"./slice":253}],267:[function(require,module,exports){var _curry2=require("./internal/_curry2");var drop=require("./drop");module.exports=_curry2(function takeLast(n,xs){return drop(n>=0?xs.length-n:0,xs)})},{"./drop":50,"./internal/_curry2":102}],268:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function takeLastWhile(fn,list){var idx=list.length-1;while(idx>=0&&fn(list[idx])){idx-=1}return Array.prototype.slice.call(list,idx+1)})},{"./internal/_curry2":102}],269:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _dispatchable=require("./internal/_dispatchable");var _xtakeWhile=require("./internal/_xtakeWhile");module.exports=_curry2(_dispatchable(["takeWhile"],_xtakeWhile,function takeWhile(fn,list){var idx=0;var len=list.length;while(idx<len&&fn(list[idx])){idx+=1}return Array.prototype.slice.call(list,0,idx)}))},{"./internal/_curry2":102,"./internal/_dispatchable":105,"./internal/_xtakeWhile":156}],270:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function tap(fn,x){fn(x);return x})},{"./internal/_curry2":102}],271:[function(require,module,exports){var _cloneRegExp=require("./internal/_cloneRegExp");var _curry2=require("./internal/_curry2");var _isRegExp=require("./internal/_isRegExp");var toString=require("./toString");module.exports=_curry2(function test(pattern,str){if(!_isRegExp(pattern)){throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+toString(pattern))}return _cloneRegExp(pattern).test(str)})},{"./internal/_cloneRegExp":95,"./internal/_curry2":102,"./internal/_isRegExp":123,"./toString":276}],272:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function times(fn,n){var len=Number(n);var idx=0;var list;if(len<0||isNaN(len)){throw new RangeError("n must be a non-negative number")}list=new Array(len);while(idx<len){list[idx]=fn(idx);idx+=1}return list})},{"./internal/_curry2":102}],273:[function(require,module,exports){var invoker=require("./invoker");module.exports=invoker(0,"toLowerCase")},{"./invoker":164}],274:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _has=require("./internal/_has");module.exports=_curry1(function toPairs(obj){var pairs=[];for(var prop in obj){if(_has(prop,obj)){pairs[pairs.length]=[prop,obj[prop]]}}return pairs})},{"./internal/_curry1":101,"./internal/_has":113}],275:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function toPairsIn(obj){var pairs=[];for(var prop in obj){pairs[pairs.length]=[prop,obj[prop]]}return pairs})},{"./internal/_curry1":101}],276:[function(require,module,exports){var _curry1=require("./internal/_curry1");var _toString=require("./internal/_toString");module.exports=_curry1(function toString(val){return _toString(val,[])})},{"./internal/_curry1":101,"./internal/_toString":137}],277:[function(require,module,exports){var invoker=require("./invoker");module.exports=invoker(0,"toUpperCase")},{"./invoker":164}],278:[function(require,module,exports){var _reduce=require("./internal/_reduce");var _xwrap=require("./internal/_xwrap");var curryN=require("./curryN");module.exports=curryN(4,function transduce(xf,fn,acc,list){return _reduce(xf(typeof fn==="function"?_xwrap(fn):fn),acc,list)})},{"./curryN":41,"./internal/_reduce":133,"./internal/_xwrap":157}],279:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function transpose(outerlist){var i=0;var result=[];while(i<outerlist.length){var innerlist=outerlist[i];var j=0;while(j<innerlist.length){if(typeof result[j]==="undefined"){result[j]=[]}result[j].push(innerlist[j]);j+=1}i+=1}return result})},{"./internal/_curry1":101}],280:[function(require,module,exports){var _curry3=require("./internal/_curry3");var map=require("./map");var sequence=require("./sequence");module.exports=_curry3(function traverse(of,f,traversable){return sequence(of,map(f,traversable))})},{"./internal/_curry3":103,"./map":184,"./sequence":251}],281:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=function(){var ws=" \n\x0B\f\r "+" \u2028"+"\u2029\ufeff";var zeroWidth="";var hasProtoTrim=typeof String.prototype.trim==="function";if(!hasProtoTrim||(ws.trim()||!zeroWidth.trim())){return _curry1(function trim(str){var beginRx=new RegExp("^["+ws+"]["+ws+"]*");var endRx=new RegExp("["+ws+"]["+ws+"]*$");return str.replace(beginRx,"").replace(endRx,"")})}else{return _curry1(function trim(str){return str.trim()})}}()},{"./internal/_curry1":101}],282:[function(require,module,exports){var _arity=require("./internal/_arity");var _concat=require("./internal/_concat");var _curry2=require("./internal/_curry2");module.exports=_curry2(function _tryCatch(tryer,catcher){return _arity(tryer.length,function(){try{return tryer.apply(this,arguments)}catch(e){return catcher.apply(this,_concat([e],arguments))}})})},{"./internal/_arity":90,"./internal/_concat":97,"./internal/_curry2":102}],283:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function type(val){return val===null?"Null":val===undefined?"Undefined":Object.prototype.toString.call(val).slice(8,-1)})},{"./internal/_curry1":101}],284:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function unapply(fn){return function(){return fn(Array.prototype.slice.call(arguments,0))}})},{"./internal/_curry1":101}],285:[function(require,module,exports){var _curry1=require("./internal/_curry1");var nAry=require("./nAry");module.exports=_curry1(function unary(fn){return nAry(1,fn)})},{"./internal/_curry1":101,"./nAry":203}],286:[function(require,module,exports){var _curry2=require("./internal/_curry2");var curryN=require("./curryN");module.exports=_curry2(function uncurryN(depth,fn){return curryN(depth,function(){var currentDepth=1;var value=fn;var idx=0;var endIdx;while(currentDepth<=depth&&typeof value==="function"){endIdx=currentDepth===depth?arguments.length:idx+value.length;value=value.apply(this,Array.prototype.slice.call(arguments,idx,endIdx));currentDepth+=1;idx=endIdx}return value})})},{"./curryN":41,"./internal/_curry2":102}],287:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function unfold(fn,seed){var pair=fn(seed);var result=[];while(pair&&pair.length){result[result.length]=pair[0];pair=fn(pair[1])}return result})},{"./internal/_curry2":102}],288:[function(require,module,exports){var _concat=require("./internal/_concat");var _curry2=require("./internal/_curry2");var compose=require("./compose");var uniq=require("./uniq");module.exports=_curry2(compose(uniq,_concat))},{"./compose":30,"./internal/_concat":97,"./internal/_curry2":102,"./uniq":290}],289:[function(require,module,exports){var _concat=require("./internal/_concat");var _curry3=require("./internal/_curry3");var uniqWith=require("./uniqWith");module.exports=_curry3(function unionWith(pred,list1,list2){return uniqWith(pred,_concat(list1,list2))})},{"./internal/_concat":97,"./internal/_curry3":103,"./uniqWith":292}],290:[function(require,module,exports){var identity=require("./identity");var uniqBy=require("./uniqBy");module.exports=uniqBy(identity)},{"./identity":80,"./uniqBy":291}],291:[function(require,module,exports){var _Set=require("./internal/_Set");var _curry2=require("./internal/_curry2");module.exports=_curry2(function uniqBy(fn,list){var set=new _Set;var result=[];var idx=0;var appliedItem,item;while(idx<list.length){item=list[idx];appliedItem=fn(item);if(set.add(appliedItem)){result.push(item)}idx+=1}return result})},{"./internal/_Set":88,"./internal/_curry2":102}],292:[function(require,module,exports){var _containsWith=require("./internal/_containsWith");var _curry2=require("./internal/_curry2");module.exports=_curry2(function uniqWith(pred,list){var idx=0;var len=list.length;var result=[];var item;while(idx<len){item=list[idx];if(!_containsWith(pred,item,result)){result[result.length]=item}idx+=1}return result})},{"./internal/_containsWith":99,"./internal/_curry2":102}],293:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function unless(pred,whenFalseFn,x){return pred(x)?x:whenFalseFn(x)})},{"./internal/_curry3":103}],294:[function(require,module,exports){var _identity=require("./internal/_identity");var chain=require("./chain");module.exports=chain(_identity)},{"./chain":25,"./internal/_identity":114}],295:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function until(pred,fn,init){var val=init;while(!pred(val)){val=fn(val)}return val})},{"./internal/_curry3":103}],296:[function(require,module,exports){var _curry3=require("./internal/_curry3");var adjust=require("./adjust");var always=require("./always");module.exports=_curry3(function update(idx,x,list){return adjust(always(x),idx,list)})},{"./adjust":6,"./always":9,"./internal/_curry3":103}],297:[function(require,module,exports){var _curry2=require("./internal/_curry2");var curryN=require("./curryN");module.exports=_curry2(function useWith(fn,transformers){return curryN(transformers.length,function(){var args=[];var idx=0;while(idx<transformers.length){args.push(transformers[idx].call(this,arguments[idx]));idx+=1}return fn.apply(this,args.concat(Array.prototype.slice.call(arguments,transformers.length)))})})},{"./curryN":41,"./internal/_curry2":102}],298:[function(require,module,exports){var _curry1=require("./internal/_curry1");var keys=require("./keys");module.exports=_curry1(function values(obj){var props=keys(obj);var len=props.length;var vals=[];var idx=0;while(idx<len){vals[idx]=obj[props[idx]];idx+=1}return vals})},{"./internal/_curry1":101,"./keys":171}],299:[function(require,module,exports){var _curry1=require("./internal/_curry1");module.exports=_curry1(function valuesIn(obj){var prop;var vs=[];for(prop in obj){vs[vs.length]=obj[prop]}return vs})},{"./internal/_curry1":101}],300:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=function(){var Const=function(x){return{value:x,map:function(){return this}}};return _curry2(function view(lens,x){return lens(Const)(x).value})}()},{"./internal/_curry2":102}],301:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function when(pred,whenTrueFn,x){return pred(x)?whenTrueFn(x):x})},{"./internal/_curry3":103}],302:[function(require,module,exports){var _curry2=require("./internal/_curry2");var _has=require("./internal/_has");module.exports=_curry2(function where(spec,testObj){for(var prop in spec){if(_has(prop,spec)&&!spec[prop](testObj[prop])){return false}}return true})},{"./internal/_curry2":102,"./internal/_has":113}],303:[function(require,module,exports){var _curry2=require("./internal/_curry2");var equals=require("./equals");var map=require("./map");var where=require("./where");module.exports=_curry2(function whereEq(spec,testObj){return where(map(equals,spec),testObj)})},{"./equals":60,"./internal/_curry2":102,"./map":184,"./where":302}],304:[function(require,module,exports){var _contains=require("./internal/_contains");var _curry2=require("./internal/_curry2");var flip=require("./flip");var reject=require("./reject");module.exports=_curry2(function(xs,list){return reject(flip(_contains)(xs),list)})},{"./flip":68,"./internal/_contains":98,"./internal/_curry2":102,"./reject":245}],305:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function xprod(a,b){var idx=0;var ilen=a.length;var j;var jlen=b.length;var result=[];while(idx<ilen){j=0;while(j<jlen){result[result.length]=[a[idx],b[j]];j+=1}idx+=1}return result})},{"./internal/_curry2":102}],306:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function zip(a,b){var rv=[];var idx=0;var len=Math.min(a.length,b.length);while(idx<len){rv[idx]=[a[idx],b[idx]];idx+=1}return rv})},{"./internal/_curry2":102}],307:[function(require,module,exports){var _curry2=require("./internal/_curry2");module.exports=_curry2(function zipObj(keys,values){var idx=0;var len=Math.min(keys.length,values.length);var out={};while(idx<len){out[keys[idx]]=values[idx];idx+=1}return out})},{"./internal/_curry2":102}],308:[function(require,module,exports){var _curry3=require("./internal/_curry3");module.exports=_curry3(function zipWith(fn,a,b){var rv=[];var idx=0;var len=Math.min(a.length,b.length);while(idx<len){rv[idx]=fn(a[idx],b[idx]);idx+=1}return rv})},{"./internal/_curry3":103}],ramda:[function(require,module,exports){module.exports={F:require("./src/F"),T:require("./src/T"),__:require("./src/__"),add:require("./src/add"),addIndex:require("./src/addIndex"),adjust:require("./src/adjust"),all:require("./src/all"),allPass:require("./src/allPass"),always:require("./src/always"),and:require("./src/and"),any:require("./src/any"),anyPass:require("./src/anyPass"),ap:require("./src/ap"),aperture:require("./src/aperture"),append:require("./src/append"),apply:require("./src/apply"),applySpec:require("./src/applySpec"),ascend:require("./src/ascend"),assoc:require("./src/assoc"),assocPath:require("./src/assocPath"),binary:require("./src/binary"),bind:require("./src/bind"),both:require("./src/both"),call:require("./src/call"),chain:require("./src/chain"),clamp:require("./src/clamp"),clone:require("./src/clone"),comparator:require("./src/comparator"),complement:require("./src/complement"),compose:require("./src/compose"),composeK:require("./src/composeK"),composeP:require("./src/composeP"),concat:require("./src/concat"),cond:require("./src/cond"),construct:require("./src/construct"),constructN:require("./src/constructN"),contains:require("./src/contains"),converge:require("./src/converge"),countBy:require("./src/countBy"),curry:require("./src/curry"),curryN:require("./src/curryN"),dec:require("./src/dec"),descend:require("./src/descend"),defaultTo:require("./src/defaultTo"),difference:require("./src/difference"),differenceWith:require("./src/differenceWith"),dissoc:require("./src/dissoc"),dissocPath:require("./src/dissocPath"),divide:require("./src/divide"),drop:require("./src/drop"),dropLast:require("./src/dropLast"),dropLastWhile:require("./src/dropLastWhile"),dropRepeats:require("./src/dropRepeats"),dropRepeatsWith:require("./src/dropRepeatsWith"),dropWhile:require("./src/dropWhile"),either:require("./src/either"),empty:require("./src/empty"),eqBy:require("./src/eqBy"),eqProps:require("./src/eqProps"),equals:require("./src/equals"),evolve:require("./src/evolve"),filter:require("./src/filter"),find:require("./src/find"),findIndex:require("./src/findIndex"),findLast:require("./src/findLast"),findLastIndex:require("./src/findLastIndex"),flatten:require("./src/flatten"),flip:require("./src/flip"),forEach:require("./src/forEach"),forEachObjIndexed:require("./src/forEachObjIndexed"),fromPairs:require("./src/fromPairs"),groupBy:require("./src/groupBy"),groupWith:require("./src/groupWith"),gt:require("./src/gt"),gte:require("./src/gte"),has:require("./src/has"),hasIn:require("./src/hasIn"),head:require("./src/head"),identical:require("./src/identical"),identity:require("./src/identity"),ifElse:require("./src/ifElse"),inc:require("./src/inc"),indexBy:require("./src/indexBy"),indexOf:require("./src/indexOf"),init:require("./src/init"),insert:require("./src/insert"),insertAll:require("./src/insertAll"),intersection:require("./src/intersection"),intersectionWith:require("./src/intersectionWith"),intersperse:require("./src/intersperse"),into:require("./src/into"),invert:require("./src/invert"),invertObj:require("./src/invertObj"),invoker:require("./src/invoker"),is:require("./src/is"),isArrayLike:require("./src/isArrayLike"),isEmpty:require("./src/isEmpty"),isNil:require("./src/isNil"),join:require("./src/join"),juxt:require("./src/juxt"),keys:require("./src/keys"),keysIn:require("./src/keysIn"),last:require("./src/last"),lastIndexOf:require("./src/lastIndexOf"),length:require("./src/length"),lens:require("./src/lens"),lensIndex:require("./src/lensIndex"),lensPath:require("./src/lensPath"),lensProp:require("./src/lensProp"),lift:require("./src/lift"),liftN:require("./src/liftN"),lt:require("./src/lt"),lte:require("./src/lte"),map:require("./src/map"),mapAccum:require("./src/mapAccum"),mapAccumRight:require("./src/mapAccumRight"),mapObjIndexed:require("./src/mapObjIndexed"),match:require("./src/match"),mathMod:require("./src/mathMod"),max:require("./src/max"),maxBy:require("./src/maxBy"),mean:require("./src/mean"),median:require("./src/median"),memoize:require("./src/memoize"),merge:require("./src/merge"),mergeAll:require("./src/mergeAll"),mergeWith:require("./src/mergeWith"),mergeWithKey:require("./src/mergeWithKey"),min:require("./src/min"),minBy:require("./src/minBy"),modulo:require("./src/modulo"),multiply:require("./src/multiply"),nAry:require("./src/nAry"),negate:require("./src/negate"),none:require("./src/none"),not:require("./src/not"),nth:require("./src/nth"),nthArg:require("./src/nthArg"),objOf:require("./src/objOf"),of:require("./src/of"),omit:require("./src/omit"),once:require("./src/once"),or:require("./src/or"),over:require("./src/over"),pair:require("./src/pair"),partial:require("./src/partial"),partialRight:require("./src/partialRight"),partition:require("./src/partition"),path:require("./src/path"),pathEq:require("./src/pathEq"),pathOr:require("./src/pathOr"),pathSatisfies:require("./src/pathSatisfies"),pick:require("./src/pick"),pickAll:require("./src/pickAll"),pickBy:require("./src/pickBy"),pipe:require("./src/pipe"),pipeK:require("./src/pipeK"),pipeP:require("./src/pipeP"),pluck:require("./src/pluck"),prepend:require("./src/prepend"),product:require("./src/product"),project:require("./src/project"),prop:require("./src/prop"),propEq:require("./src/propEq"),propIs:require("./src/propIs"),propOr:require("./src/propOr"),propSatisfies:require("./src/propSatisfies"),props:require("./src/props"),range:require("./src/range"),reduce:require("./src/reduce"),reduceBy:require("./src/reduceBy"),reduceRight:require("./src/reduceRight"),reduceWhile:require("./src/reduceWhile"),reduced:require("./src/reduced"),reject:require("./src/reject"),remove:require("./src/remove"),repeat:require("./src/repeat"),replace:require("./src/replace"),reverse:require("./src/reverse"),scan:require("./src/scan"),sequence:require("./src/sequence"),set:require("./src/set"),slice:require("./src/slice"),sort:require("./src/sort"),sortBy:require("./src/sortBy"),sortWith:require("./src/sortWith"),split:require("./src/split"),splitAt:require("./src/splitAt"),splitEvery:require("./src/splitEvery"),splitWhen:require("./src/splitWhen"),subtract:require("./src/subtract"),sum:require("./src/sum"),symmetricDifference:require("./src/symmetricDifference"),symmetricDifferenceWith:require("./src/symmetricDifferenceWith"),tail:require("./src/tail"),take:require("./src/take"),takeLast:require("./src/takeLast"),takeLastWhile:require("./src/takeLastWhile"),takeWhile:require("./src/takeWhile"),tap:require("./src/tap"),test:require("./src/test"),times:require("./src/times"),toLower:require("./src/toLower"),toPairs:require("./src/toPairs"),toPairsIn:require("./src/toPairsIn"),toString:require("./src/toString"),toUpper:require("./src/toUpper"),transduce:require("./src/transduce"),transpose:require("./src/transpose"),traverse:require("./src/traverse"),trim:require("./src/trim"),tryCatch:require("./src/tryCatch"),type:require("./src/type"),unapply:require("./src/unapply"),unary:require("./src/unary"),uncurryN:require("./src/uncurryN"),unfold:require("./src/unfold"),union:require("./src/union"),unionWith:require("./src/unionWith"),uniq:require("./src/uniq"),uniqBy:require("./src/uniqBy"),uniqWith:require("./src/uniqWith"),unless:require("./src/unless"),unnest:require("./src/unnest"),until:require("./src/until"),update:require("./src/update"),useWith:require("./src/useWith"),values:require("./src/values"),valuesIn:require("./src/valuesIn"),view:require("./src/view"),when:require("./src/when"),where:require("./src/where"),whereEq:require("./src/whereEq"),without:require("./src/without"),xprod:require("./src/xprod"),zip:require("./src/zip"),zipObj:require("./src/zipObj"),zipWith:require("./src/zipWith")}},{"./src/F":1,"./src/T":2,"./src/__":3,"./src/add":4,"./src/addIndex":5,"./src/adjust":6,"./src/all":7,"./src/allPass":8,"./src/always":9,"./src/and":10,"./src/any":11,"./src/anyPass":12,"./src/ap":13,"./src/aperture":14,"./src/append":15,"./src/apply":16,"./src/applySpec":17,"./src/ascend":18,"./src/assoc":19,"./src/assocPath":20,"./src/binary":21,"./src/bind":22,"./src/both":23,"./src/call":24,"./src/chain":25,"./src/clamp":26,"./src/clone":27,"./src/comparator":28,"./src/complement":29,"./src/compose":30,"./src/composeK":31,"./src/composeP":32,"./src/concat":33,"./src/cond":34,"./src/construct":35,"./src/constructN":36,"./src/contains":37,"./src/converge":38,"./src/countBy":39,"./src/curry":40,"./src/curryN":41,"./src/dec":42,"./src/defaultTo":43,"./src/descend":44,"./src/difference":45,"./src/differenceWith":46,"./src/dissoc":47,"./src/dissocPath":48,"./src/divide":49,"./src/drop":50,"./src/dropLast":51,"./src/dropLastWhile":52,"./src/dropRepeats":53,"./src/dropRepeatsWith":54,"./src/dropWhile":55,"./src/either":56,"./src/empty":57,"./src/eqBy":58,"./src/eqProps":59,"./src/equals":60,"./src/evolve":61,"./src/filter":62,"./src/find":63,"./src/findIndex":64,"./src/findLast":65,"./src/findLastIndex":66,"./src/flatten":67,"./src/flip":68,"./src/forEach":69,"./src/forEachObjIndexed":70,"./src/fromPairs":71,"./src/groupBy":72,"./src/groupWith":73,"./src/gt":74,"./src/gte":75,"./src/has":76,"./src/hasIn":77,"./src/head":78,"./src/identical":79,"./src/identity":80,"./src/ifElse":81,"./src/inc":82,"./src/indexBy":83,"./src/indexOf":84,"./src/init":85,"./src/insert":86,"./src/insertAll":87,"./src/intersection":158,"./src/intersectionWith":159,"./src/intersperse":160,"./src/into":161,"./src/invert":162,"./src/invertObj":163,"./src/invoker":164,"./src/is":165,"./src/isArrayLike":166,"./src/isEmpty":167,"./src/isNil":168,"./src/join":169,"./src/juxt":170,"./src/keys":171,"./src/keysIn":172,"./src/last":173,"./src/lastIndexOf":174,"./src/length":175,"./src/lens":176,"./src/lensIndex":177,"./src/lensPath":178,"./src/lensProp":179,"./src/lift":180,"./src/liftN":181,"./src/lt":182,"./src/lte":183,"./src/map":184,"./src/mapAccum":185,"./src/mapAccumRight":186,"./src/mapObjIndexed":187,"./src/match":188,"./src/mathMod":189,"./src/max":190,"./src/maxBy":191,"./src/mean":192,"./src/median":193,"./src/memoize":194,"./src/merge":195,"./src/mergeAll":196,"./src/mergeWith":197,"./src/mergeWithKey":198,"./src/min":199,"./src/minBy":200,"./src/modulo":201,"./src/multiply":202,"./src/nAry":203,"./src/negate":204,"./src/none":205,"./src/not":206,"./src/nth":207,"./src/nthArg":208,"./src/objOf":209,"./src/of":210,"./src/omit":211,"./src/once":212,"./src/or":213,"./src/over":214,"./src/pair":215,"./src/partial":216,"./src/partialRight":217,"./src/partition":218,"./src/path":219,"./src/pathEq":220,"./src/pathOr":221,"./src/pathSatisfies":222,"./src/pick":223,"./src/pickAll":224,"./src/pickBy":225,"./src/pipe":226,"./src/pipeK":227,"./src/pipeP":228,"./src/pluck":229,"./src/prepend":230,"./src/product":231,"./src/project":232,"./src/prop":233,"./src/propEq":234,"./src/propIs":235,"./src/propOr":236,"./src/propSatisfies":237,"./src/props":238,"./src/range":239,"./src/reduce":240,"./src/reduceBy":241,"./src/reduceRight":242,"./src/reduceWhile":243,"./src/reduced":244,"./src/reject":245,"./src/remove":246,"./src/repeat":247,"./src/replace":248,"./src/reverse":249,"./src/scan":250,"./src/sequence":251,"./src/set":252,"./src/slice":253,"./src/sort":254,"./src/sortBy":255,"./src/sortWith":256,"./src/split":257,"./src/splitAt":258,"./src/splitEvery":259,"./src/splitWhen":260,"./src/subtract":261,"./src/sum":262,"./src/symmetricDifference":263,"./src/symmetricDifferenceWith":264,"./src/tail":265,"./src/take":266,"./src/takeLast":267,"./src/takeLastWhile":268,"./src/takeWhile":269,"./src/tap":270,"./src/test":271,"./src/times":272,"./src/toLower":273,"./src/toPairs":274,"./src/toPairsIn":275,"./src/toString":276,"./src/toUpper":277,"./src/transduce":278,"./src/transpose":279,"./src/traverse":280,"./src/trim":281,"./src/tryCatch":282,"./src/type":283,"./src/unapply":284,"./src/unary":285,"./src/uncurryN":286,"./src/unfold":287,"./src/union":288,"./src/unionWith":289,"./src/uniq":290,"./src/uniqBy":291,"./src/uniqWith":292,"./src/unless":293,"./src/unnest":294,"./src/until":295,"./src/update":296,"./src/useWith":297,"./src/values":298,"./src/valuesIn":299,"./src/view":300,"./src/when":301,"./src/where":302,"./src/whereEq":303,"./src/without":304,"./src/xprod":305,"./src/zip":306,"./src/zipObj":307,"./src/zipWith":308}]},{},[]);var R=require("ramda");var DAY="DAY";var fn=R.pipe(function(x){console.log(R.equals(DAY)(x));return x},R.equals(DAY),function(x){console.log(x);return x});fn("DAY");console.log();fn("BAD DAY")},0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "requirebin-sketch", | |
"version": "1.0.0", | |
"dependencies": { | |
"ramda": "0.23.0" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- contents of this file will be placed inside the <body> --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- contents of this file will be placed inside the <head> --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment