text: /*! ramda 2014-06-30 */
  !function(a,b){"object"==typeof exports?module.exports=b(a):"function"==typeof define&&define.amd?define(b):a.ramda=b(a)}(this,function(a){"use strict";return function(){function b(a,b){return a.toString=function(){return b.toString()},a.source=b,a}function c(a){return b(function(c,d){switch(arguments.length){case 0:throw q;case 1:return b(function(b){return a(c,b)},a)}return a(c,d)},a)}function d(a){return b(function(d,e,f){switch(arguments.length){case 0:throw q;case 1:return c(function(b,c){return a(d,b,c)});case 2:return b(function(b){return a(d,e,b)})}return a(d,e,f)},a)}function e(a,b){if(r("map",b))return b.map(a);for(var c=-1,d=b.length,e=new Array(d);++c<d;)e[c]=a(b[c]);return e}function f(a,b){return P(b,a)>-1}function g(a,b){for(var c,d=-1,e=a.length;null!=b&&++d<e;)b=c=b[a[d]];return c}var h,i={},j=void 0,k=function(a){var b=function(c){return i[c]=i[a],b};return b.is=b.are=b.and=b,b},l=function(a,b,c){b=b||0,c=c||a.length;for(var d=c-b,e=new Array(d),f=-1;++f<d;)e[f]=a[b+f];return e},m=function(a,b){a=a||[],b=b||[];for(var c=a.length,d=b.length,e=new Array(c+d),f=0;c>f;f++)e[f]=a[f];for(f=0;d>f;f++)e[f+c]=b[f];return e},n=Object.prototype.toString,o=Array.isArray||function(a){return a&&a.length>=0&&"[object Array]"===n.call(a)},p=i.curry=function(a,c){function d(e){return b(v(Math.max(c-(e&&e.length||0),0),function(){if(0===arguments.length)throw q;var b=m(e,arguments);return b.length>=c?a.apply(this,b):d(b)}),a)}return c="number"==typeof c?c:a.length,d([])},q=new TypeError("Function called with no arguments"),r=function(a,b){return b&&!o(b)&&"function"==typeof b[a]},s=function(a){for(var b=[],c=-1;++c<a;)b[c]="arg"+c;return b.join(", ")},t=i.nAry=function(){var a={0:function(a){return function(){return a.call(this)}},1:function(a){return function(b){return a.call(this,b)}},2:function(a){return function(b,c){return a.call(this,b,c)}},3:function(a){return function(b,c,d){return a.call(this,b,c,d)}}},b=function(a){var b=s(a),c=["    return function("+b+") {","        return func.call(this"+(b?", "+b:"")+");","    }"].join("\n");return new Function("func",c)};return function(c,d){return(a[c]||(a[c]=b(c)))(d)}}();i.unary=function(a){return t(1,a)};var u=i.binary=function(a){return t(2,a)},v=i.arity=function(){var a={0:function(a){return function(){return a.apply(this,arguments)}},1:function(a){return function(){return a.apply(this,arguments)}},2:function(a){return function(){return a.apply(this,arguments)}},3:function(a){return function(){return a.apply(this,arguments)}}},b=function(a){var b=s(a),c=["    return function("+b+") {","        return func.apply(this, arguments);","    }"].join("\n");return new Function("func",c)};return function(c,d){return(a[c]||(a[c]=b(c)))(d)}}(),w=i.invoker=function(a,b,c){var d=b[a],e=c===j?d.length:c;return d&&p(function(){if(arguments.length){var b=Array.prototype.pop.call(arguments),c=b[a];if(c==d)return c.apply(b,arguments)}return j},e+1)},x=i.useWith=function(a){var b=l(arguments,1),c=b.length;return p(v(c,function(){for(var d=[],e=-1;++e<c;)d.push(b[e](arguments[e]));return a.apply(this,d.concat(l(arguments,c)))}))};i.use=function(a){return{over:function(){var b=l(arguments,0),c=b.length;return p(v(c,function(){for(var d=[],e=-1;++e<c;)d.push(b[e](arguments[e]));return a.apply(this,d.concat(l(arguments,c)))}))}}};var y=i.each=function(a,b){function c(b){for(var c=-1,d=b.length;++c<d;)a(b[c]);return b}return arguments.length<2?c:c(b)};y.idx=function(a,b){function c(b){for(var c=-1,d=b.length;++c<d;)a(b[c],c,b);return b}return arguments.length<2?c:c(b)},k("each").is("forEach");var z=i.clone=function(a){return l(a)};h=[];var A=i.isEmpty=function(a){return!a||!a.length},B=i.prepend=function(a,b){return m([a],b)};k("prepend").is("cons");i.head=function(a){return a=a||h,a[0]};k("head").is("car").and("first"),i.last=function(a){return a=a||h,a[a.length-1]};i.tail=function(a){return a=a||h,r("tail",a)?a.tail():a.length>1?l(a,1):[]};k("tail").is("cdr"),i.isAtom=function(a){return null!==a&&a!==j&&!o(a)};var C=i.append=function(a,b){return m(b,[a])};k("append").is("push");var D=i.merge=c(m);k("merge").is("concat");var E=i.identity=function(a){return a};k("identity").is("I"),i.repeatN=c(function(a,b){for(var c=new Array(b),d=-1;++d<b;)c[d]=a;return c});var F=function(a,b){return function(){return a(b.apply(this,arguments))}},G=i.compose=function(){for(var a=0,b=arguments[0];++a<arguments.length;)b=F(b,arguments[a]);return b};i.pipe=function(){return G.apply(this,l(arguments).reverse())},k("pipe").is("sequence");var H=i.flip=function(a){return function(b,c){return arguments.length<2?function(c){return a.apply(this,[c,b].concat(l(arguments,1)))}:a.apply(this,[c,b].concat(l(arguments,2)))}};i.lPartial=function(a){var b=l(arguments,1);return v(Math.max(a.length-b.length,0),function(){return a.apply(this,m(b,arguments))})},k("lPartial").is("applyLeft"),i.rPartial=function(a){var b=l(arguments,1);return v(Math.max(a.length-b.length,0),function(){return a.apply(this,m(arguments,b))})},k("rPartial").is("applyRight"),i.memoize=function(a){var b={};return function(){var c=I(function(a,b){return a[b]||(a[b]={})},b,l(arguments,0,arguments.length-1)),d=arguments[arguments.length-1];return c[d]||(c[d]=a.apply(this,arguments))}},i.once=function(a){var b,c=!1;return function(){return c?b:(c=!0,b=a.apply(this,arguments))}},i.wrap=function(a,b){return function(){return b.apply(this,m([a],arguments))}},i.construct=function(a){var b=function(){var b=new a;return a.apply(b,arguments),b};return a.length>1?p(t(a.length,b)):b},i.fork=function(a){var b=l(arguments,1);return function(){var c=arguments;return a.apply(this,e(function(a){return a.apply(this,c)},b))}};var I=i.foldl=d(function(a,b,c){if(r("foldl",c))return c.foldl(a,b);for(var d=-1,e=c.length;++d<e;)b=a(b,c[d]);return b});k("foldl").is("reduce"),i.foldl.idx=d(function(a,b,c){if(r("foldl",c))return c.foldl(a,b);for(var d=-1,e=c.length;++d<e;)b=a(b,c[d],d,c);return b});var J=i.foldr=d(function(a,b,c){if(r("foldr",c))return c.foldr(a,b);for(var d=c.length;d--;)b=a(b,c[d]);return b});k("foldr").is("reduceRight"),i.foldr.idx=d(function(a,b,c){if(r("foldr",c))return c.foldr(a,b);for(var d=c.length;d--;)b=a(b,c[d],d,c);return b}),i.unfoldr=c(function(a,b){for(var c=a(b),d=[];c&&c.length;)d.push(c[0]),c=a(c[1]);return d}),i.map=c(e),i.map.idx=c(function(a,b){if(r("map",b))return b.map(a);for(var c=-1,d=b.length,e=new Array(d);++c<d;)e[c]=a(b[c],c,b);return e}),i.mapObj=c(function(a,b){return I(function(c,d){return c[d]=a(b[d]),c},{},Z(b))}),i.mapObj.idx=function(a,b){function c(b){return I(function(c,d){return c[d]=a(b[d],d,b),c},{},Z(b))}return arguments.length<2?c:c(b)},i.size=function(a){return a.length};var K=function(a,b){if(r("filter",b))return b.filter(a);for(var c=-1,d=b.length,e=[];++c<d;)a(b[c])&&e.push(b[c]);return e},L=function(a,b){if(r("filter",b))return b.filter(a);for(var c=-1,d=b.length,e=[];++c<d;)a(b[c],c,b)&&e.push(b[c]);return e},M=function(a,b){return K(ab(a),b)};i.filter=c(K),i.filter.idx=c(L),i.reject=c(M),i.reject.idx=c(function(a,b){return L(ab(a),b)}),i.takeWhile=c(function(a,b){if(r("takeWhile",b))return b.takeWhile(a);for(var c=-1,d=b.length;++c<d&&a(b[c]););return l(b,0,c)}),i.take=c(function(a,b){if(r("take",b))return b.take(a);var c=z(b);return c.length=Math.min(a,b.length),c}),i.skipUntil=c(function(a,b){for(var c=-1,d=b.length;++c<d&&!a(b[c]););return l(b,c)}),i.skip=c(function(a,b){return r("skip",b)?b.skip(a):l(b,a)}),k("skip").is("drop"),i.find=function(a,b){function c(b){for(var c=-1,d=b.length;++c<d;)if(a(b[c]))return b[c];return j}return arguments.length<2?c:c(b)},i.findIndex=c(function(a,b){for(var c=-1,d=b.length;++c<d;)if(a(b[c]))return c;return-1}),i.findLast=c(function(a,b){for(var c=b.length;--c;)if(a(b[c]))return b[c];return j}),i.findLastIndex=c(function(a,b){for(var c=b.length;--c;)if(a(b[c]))return c;return-1});var N=function(a,b){for(var c=-1;++c<b.length;)if(!a(b[c]))return!1;return!0};i.all=c(N),k("all").is("every");var O=function(a,b){for(var c=-1;++c<b.length;)if(a(b[c]))return!0;return!1};i.any=c(O),k("any").is("some");var P=function(a,b,c){var d=0,e=a.length;for("number"==typeof c&&(d=0>c?Math.max(0,e+c):c);e>d;d++)if(a[d]===b)return d;return-1},Q=function(a,b,c){var d=a.length;for("number"==typeof c&&(d=0>c?d+c+1:Math.min(d,c+1));--d>=0;)if(a[d]===b)return d;return-1};i.indexOf=c(function(a,b){return P(b,a)}),i.indexOf.from=d(function(a,b,c){return P(c,a,b)}),i.lastIndexOf=c(function(a,b){return Q(b,a)}),i.lastIndexOf.from=d(function(a,b,c){return Q(c,a,b)}),i.contains=c(f);var R=function(a,b,c){for(var d=-1,e=c.length;++d<e;)if(a(b,c[d]))return!0;return!1};i.containsWith=d(R);var S=i.uniq=function(a){return J(function(a,b){return f(b,a)?a:B(b,a)},h,a)};i.isSet=function(a){return S(a).length===a.length};var T=i.uniqWith=c(function(a,b){return J(function(b,c){return R(a,c,b)?b:B(c,b)},h,b)}),U=i.pluck=c(function(a,b){return e(X(a),b)}),V=i.flatten=function(a){for(var b,c=[],d=0,e=0,f=a.length;f>e;e++)if(b=a[e],o(b)){b=V(b);var g=0,h=b.length;for(c.length+=h;h>g;)c[d++]=b[g++]}else c[d++]=b;return c};i.zipWith=d(function(a,b,c){for(var d=[],e=-1,f=Math.min(b.length,c.length);++e<f;)d[e]=a(b[e],c[e]);return d}),i.zip=c(function(a,b){for(var c=[],d=-1,e=Math.min(a.length,b.length);++d<e;)c[d]=[a[d],b[d]];return c}),i.xprodWith=d(function(a,b,c){if(A(b)||A(c))return h;for(var d,e=-1,f=b.length,g=c.length,i=[];++e<f;)for(d=-1;++d<g;)i.push(a(b[e],c[d]));return i}),i.xprod=c(function(a,b){if(A(a)||A(b))return h;for(var c,d=-1,e=a.length,f=b.length,g=[];++d<e;)for(c=-1;++c<f;)g.push([a[d],b[c]]);return g}),i.reverse=function(a){return z(a||[]).reverse()},i.range=c(function(a,b){if(a>=b)return h;for(var c=0,d=new Array(Math.floor(b)-Math.ceil(a));b>a;c++,a++)d[c]=a;return d}),i.join=w("join",Array.prototype),i.slice=w("slice",Array.prototype),i.slice.from=H(i.slice)(j),i.remove=d(function(a,b,c){return m(l(c,0,Math.min(a,c.length)),l(c,Math.min(c.length,a+b)))}),i.insert=d(function(a,b,c){return a=a<c.length&&a>=0?a:c.length,m(C(b,l(c,0,a)),l(c,a))}),i.insert.all=d(function(a,b,c){return a=a<c.length&&a>=0?a:c.length,m(m(l(c,0,a),b),l(c,a))}),i.nth=function(a,b){return arguments.length<2?function(b){return b[a]}:b[a]};{var W=i.comparator=function(a){return function(b,c){return a(b,c)?-1:a(c,b)?1:0}};i.sort=function(a,b){return arguments.length<2?function(b){return z(b).sort(a)}:z(b).sort(a)}}i.partition=c(function(a,b){return I(function(b,c){var d=a(c);return b[d]=C(c,b[d]||(b[d]=[])),b},{},b)}),k("partition").is("groupBy"),i.tap=c(function(a,b){return"function"==typeof b&&b(a),a}),k("tap").is("K"),i.eq=function(a,b){return arguments.length<2?function(b){return a===b}:a===b};var X=i.prop=function(a,b){return arguments.length<2?function(b){return b[a]}:b[a]};k("prop").is("get"),i.func=function(a,b){function c(b){return b[a].apply(b,l(arguments,1))}return arguments.length<2?c:c(b)},i.props=function(a,b){return arguments.length<2?function(b){return a&&a[b]}:a&&a[b]};var Y=i.always=function(a){return function(){return a}};k("always").is("constant");var Z=(i.any(function(a){return null===a||a===j}),i.keys=function(a){var b,c=[];for(b in a)a.hasOwnProperty(b)&&c.push(b);return c});i.keysIn=function(a){var b,c=[];for(b in a)c.push(b);return c},i.values=function(a){var b,c=[];for(b in a)a.hasOwnProperty(b)&&c.push(a[b]);return c},i.valuesIn=function(a){var b,c=[];for(b in a)c.push(a[b]);return c};var $=function(a,b){var c={};return y(function(d){a(d,b)&&(c[d]=b[d])},Z(b)),c};i.pick=c(function(a,b){return $(function(b){return f(b,a)},b)});var _=function(a,b){var c={};return y(function(a){c[a]=b[a]},a),c};i.pickAll=c(_),i.omit=c(function(a,b){return $(function(b){return!f(b,a)},b)}),i.mixin=c(function(a,b){var c=_(i.keys(a),a);return y(function(a){c[a]=b[a]},i.keys(b)),c}),i.eqProps=function(a,b,c){var d=function(b,c){var d=function(c){return b[a]===c[a]};return arguments.length<2?d:d(c)};return arguments.length<2?d:arguments.length<3?d(b):d(b,c)},i.where=c(function(a,b){function c(b){return"function"==typeof a[b]}var d=Z(a),e=K(c,d),f=M(c,d);if(!b)return!1;for(var g,h=-1;++h<e.length;)if(g=e[h],!a[g](b[g],b))return!1;for(h=-1;++h<f.length;)if(g=f[h],!b.hasOwnProperty(g)||b[g]!==a[g])return!1;return!0}),i.installTo=function(b){y(function(c){(b||a)[c]=i[c]})(Z(i))},i.alwaysZero=Y(0),i.alwaysFalse=Y(!1),i.alwaysTrue=Y(!0),i.and=function(a,b){function c(b){return function(){return!(!a.apply(this,arguments)||!b.apply(this,arguments))}}return arguments.length<2?c:c(b)},i.or=function(a,b){function c(b){return function(){return!(!a.apply(this,arguments)&&!b.apply(this,arguments))}}return arguments.length<2?c:c(b)};var ab=i.not=function(a){return function(){return!a.apply(this,arguments)}},bb=function(a){return function(b){var c=function(){var c=arguments;return a(function(a){return a.apply(null,c)},b)};return arguments.length>1?c.apply(null,l(arguments,1)):v(hb(U("length",b)),c)}};i.allPredicates=bb(N),i.anyPredicates=bb(O);var cb=i.add=function(a,b){return arguments.length<2?function(b){return a+b}:a+b},db=i.multiply=function(a,b){return arguments.length<2?function(b){return a*b}:a*b},eb=i.subtract=function(a,b){return arguments.length<2?function(b){return a-b}:a-b};i.subtractN=H(eb);var fb=i.divide=function(a,b){return arguments.length<2?function(b){return a/b}:a/b};i.divideBy=H(fb);var gb=i.modulo=function(a,b){return arguments.length<2?function(b){return a%b}:a%b};i.moduloBy=H(gb),i.sum=I(cb,0),i.product=I(db,1),i.lt=function(a,b){return arguments.length<2?function(b){return b>a}:b>a},i.lte=function(a,b){return arguments.length<2?function(b){return b>=a}:b>=a},i.gt=function(a,b){return arguments.length<2?function(b){return a>b}:a>b},i.gte=function(a,b){return arguments.length<2?function(b){return a>=b}:a>=b};var hb=i.max=function(a){return I(u(Math.max),-1/0,a)};i.maxWith=c(function(a,b){if(!(b&&b.length>0))return j;for(var c,d=0,e=b[d],f=a(e);++d<b.length;)c=a(b[d]),c>f&&(f=c,e=b[d]);return e}),i.minWith=c(function(a,b){if(!(b&&b.length>0))return j;for(var c,d=0,e=b[d],f=a(b[d]);++d<b.length;)c=a(b[d]),f>c&&(f=c,e=b[d]);return e}),i.min=function(a){return I(u(Math.min),1/0,a)};var ib=i.substring=w("substring",String.prototype);i.substringFrom=H(ib)(j),i.substringTo=ib(0),i.charAt=w("charAt",String.prototype),i.charCodeAt=w("charCodeAt",String.prototype),i.match=w("match",String.prototype),i.strIndexOf=w("indexOf",String.prototype),i.strLastIndexOf=w("lastIndexOf",String.prototype),i.toUpperCase=w("toUpperCase",String.prototype),i.toLowerCase=w("toLowerCase",String.prototype),i.split=w("split",String.prototype,1),i.pathWith=d(function(a,b,c){var d=a(b)||[];return g(d,c)}),i.pathOn=d(function(a,b,c){return g(b.split(a),c)}),i.path=i.pathOn("."),i.project=x(e,i.pickAll,E),i.propEq=function(a,b,c){var d=function(b,c){var d=function(c){return c[a]===b};return arguments.length<2?d:d(c)};return arguments.length<2?d:arguments.length<3?d(b):d(b,c)},i.union=G(S,D),i.unionWith=d(function(a,b,c){return T(a,D(b,c))}),i.difference=c(function(a,b){return S(M(H(f)(b),a))}),i.differenceWith=function(a,b,c){var d=function(b,c){var d=function(c){return T(a)(M(H(i.containsWith(a))(c),b))};return arguments.length<2?d:d(c)};return arguments.length<2?d:arguments.length<3?d(b):d(b,c)},i.intersection=function(a,b){function c(b){return S(K(H(f)(a),b))}return arguments.length<2?c:c(b)},i.intersectionWith=function(a,b,c){var d=function(b,c){var d=function(c){for(var d=[],e=-1;++e<b.length;)R(a,b[e],c)&&(d[d.length]=b[e]);return T(a,d)};return arguments.length<2?d:d(c)};return arguments.length<2?d:arguments.length<3?d(b):d(b,c)};var jb=function(a,b){function c(b){return e(function(b){return{key:a(b),val:b}},b)}return arguments.length<2?c:c(b)};return i.sortBy=function(a,b){function c(b){return U("val",jb(a,b).sort(W(function(a,b){return a.key<b.key})))}return arguments.length<2?c:c(b)},i.countBy=function(a,b){function c(b){return I(function(a,b){return a[b.key]=(a[b.key]||0)+1,a},{},jb(a,b))}return arguments.length<2?c:c(b)},i}()});