Use this bookmarklet to load Ramda on any website. To "install":
-
Create a new bookmark in your bookmarks bar (what it points to doesn't matter, any page)
-
Edit the new bookmark and replace the
URL
with the following:javascript:!function(t,n){function r(r){var e=n.createElement("div"),u=n.body;e.innerHTML=r,e.style.position="fixed",e.style.top="20px",e.style.right="20px",e.style.padding="5px 10px",e.style.zIndex="1001",e.style.fontSize="18px",e.style.color="#222",e.style.backgroundColor="#DFF2BF",e.style.textAlign="center",e.style.border="solid 2px black",e.style.borderRadius="25px",u.appendChild(e),t.setTimeout(u.removeChild.bind(u,e),2500)}var e="???";return"undefined"!=typeof t.R?r("This page already using ramda"):(function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(t.R={})}(this,function(t){"use strict";function n(t){return null!=t&&"object"==typeof t&&t["@@functional/placeholder"]===!0}function r(t){return function r(e){return 0===arguments.length||n(e)?r:t.apply(this,arguments)}}function e(t){return function e(u,i){switch(arguments.length){case 0:return e;case 1:return n(u)?e:r(function(n){return t(u,n)});default:return n(u)&&n(i)?e:n(u)?r(function(n){return t(n,i)}):n(i)?r(function(n){return t(u,n)}):t(u,i)}}}function u(t,n){t=t||[],n=n||[];var r,e=t.length,u=n.length,i=[];for(r=0;e>r;)i[i.length]=t[r],r+=1;for(r=0;u>r;)i[i.length]=n[r],r+=1;return i}function i(t,n){switch(t){case 0:return function(){return n.apply(this,arguments)};case 1:return function(){return n.apply(this,arguments)};case 2:return function(){return n.apply(this,arguments)};case 3:return function(){return n.apply(this,arguments)};case 4:return function(){return n.apply(this,arguments)};case 5:return function(){return n.apply(this,arguments)};case 6:return function(){return n.apply(this,arguments)};case 7:return function(){return n.apply(this,arguments)};case 8:return function(){return n.apply(this,arguments)};case 9:return function(){return n.apply(this,arguments)};case 10:return function(){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function o(t,r,e){return function(){for(var u=[],c=0,a=t,s=0;s<r.length||c<arguments.length;){var f;s<r.length&&(!n(r[s])||c>=arguments.length)?f=r[s]:(f=arguments[c],c+=1),u[s]=f,n(f)||(a-=1),s+=1}return 0>=a?e.apply(this,u):i(a,o(t,u,e))}}function c(t){return function u(i,o,c){switch(arguments.length){case 0:return u;case 1:return n(i)?u:e(function(n,r){return t(i,n,r)});case 2:return n(i)&&n(o)?u:n(i)?e(function(n,r){return t(n,o,r)}):n(o)?e(function(n,r){return t(i,n,r)}):r(function(n){return t(i,o,n)});default:return n(i)&&n(o)&&n(c)?u:n(i)&&n(o)?e(function(n,r){return t(n,r,c)}):n(i)&&n(c)?e(function(n,r){return t(n,o,r)}):n(o)&&n(c)?e(function(n,r){return t(i,n,r)}):n(i)?r(function(n){return t(n,o,c)}):n(o)?r(function(n){return t(i,n,c)}):n(c)?r(function(n){return t(i,o,n)}):t(i,o,c)}}}function a(t){return"function"==typeof t["@@transducer/step"]}function s(t,n,r){return function(){if(0===arguments.length)return r();var e=Array.prototype.slice.call(arguments,0),u=e.pop();if(!Wn(u)){for(var i=0;i<t.length;){if("function"==typeof u[t[i]])return u[t[i]].apply(u,e);i+=1}if(a(u)){var o=n.apply(null,e);return o(u)}}return r.apply(this,arguments)}}function f(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}function l(t,n){this.xf=n,this.f=t,this.all=!0}function p(t,n){for(var r=0,e=n.length,u=Array(e);e>r;)u[r]=t(n[r]),r+=1;return u}function h(t){return"[object String]"===Object.prototype.toString.call(t)}function y(t){this.f=t}function g(t){return new y(t)}function d(t,n,r){for(var e=0,u=r.length;u>e;){if(n=t["@@transducer/step"](n,r[e]),n&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e+=1}return t["@@transducer/result"](n)}function m(t,n,r){for(var e=r.next();!e.done;){if(n=t["@@transducer/step"](n,e.value),n&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e=r.next()}return t["@@transducer/result"](n)}function v(t,n,r,e){return t["@@transducer/result"](r[e](Rn(t["@@transducer/step"],t),n))}function w(t,n,r){if("function"==typeof t&&(t=g(t)),Fn(r))return d(t,n,r);if("function"==typeof r["fantasy-land/reduce"])return v(t,n,r,"fantasy-land/reduce");if(null!=r[Bn])return m(t,n,r[Bn]());if("function"==typeof r.next)return m(t,n,r);if("function"==typeof r.reduce)return v(t,n,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}function b(t,n){this.xf=n,this.f=t}function x(t,n){return Object.prototype.hasOwnProperty.call(n,t)}function j(t,n){this.xf=n,this.f=t,this.any=!1}function A(t,n){for(var r=0,e=n.length-(t-1),u=new Array(e>=0?e:0);e>r;)u[r]=Array.prototype.slice.call(n,r,r+t),r+=1;return u}function O(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=new Array(t)}function S(t){return"[object Function]"===Object.prototype.toString.call(t)}function E(t){return function n(r){for(var e,u,i,o=[],c=0,a=r.length;a>c;){if(Fn(r[c]))for(e=t?n(r[c]):r[c],i=0,u=e.length;u>i;)o[o.length]=e[i],i+=1;else o[o.length]=r[c];c+=1}return o}}function _(t){return{"@@transducer/value":t,"@@transducer/reduced":!0}}function q(t){return new RegExp(t.source,(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":""))}function k(t,n,r,e){var u=function(u){for(var i=n.length,o=0;i>o;){if(t===n[o])return r[o];o+=1}n[o+1]=t,r[o+1]=u;for(var c in t)u[c]=e?k(t[c],n,r,!0):t[c];return u};switch(kr(t)){case"Object":return u({});case"Array":return u([]);case"Date":return new Date(t.valueOf());case"RegExp":return q(t);default:return t}}function I(t,n){return function(){return n.call(this,t.apply(this,arguments))}}function W(t,n){return function(){var r=arguments.length;if(0===r)return n();var e=arguments[r-1];return Wn(e)||"function"!=typeof e[t]?n.apply(this,arguments):e[t].apply(e,Array.prototype.slice.call(arguments,0,r-1))}}function C(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return i(arguments[0].length,Gn(I,arguments[0],Pr(arguments)))}function T(){if(0===arguments.length)throw new Error("compose requires at least one argument");return C.apply(this,Fr(arguments))}function N(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var t=Array.prototype.slice.call(arguments),n=t.pop();return T(T.apply(this,Jn(_r,t)),n)}function P(t,n){return function(){var r=this;return t.apply(r,arguments).then(function(t){return n.call(r,t)})}}function F(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return i(arguments[0].length,Gn(P,arguments[0],Pr(arguments)))}function R(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return F.apply(this,Fr(arguments))}function B(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}function z(t,n,r){for(var e=0,u=r.length;u>e;){if(t(n,r[e]))return!0;e+=1}return!1}function D(t){var n=String(t).match(/^function (\w*)/);return null==n?"":n[1]}function U(t,n,r,e){function u(t,n){return M(t,n,r.slice(),e.slice())}var i=B(t),o=B(n);return!z(function(t,n){return!z(u,n,t)},o,i)}function M(t,n,r,e){if(Rr(t,n))return!0;var u=kr(t);if(u!==kr(n))return!1;if(null==t||null==n)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof n.equals)return"function"==typeof t.equals&&t.equals(n)&&"function"==typeof n.equals&&n.equals(t);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===D(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!Rr(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!Rr(t.valueOf(),n.valueOf()))return!1;break;case"Error":return t.name===n.name&&t.message===n.message;case"RegExp":if(t.source!==n.source||t.global!==n.global||t.ignoreCase!==n.ignoreCase||t.multiline!==n.multiline||t.sticky!==n.sticky||t.unicode!==n.unicode)return!1}for(var i=r.length-1;i>=0;){if(r[i]===t)return e[i]===n;i-=1}switch(u){case"Map":return t.size!==n.size?!1:U(t.entries(),n.entries(),r.concat([t]),e.concat([n]));case"Set":return t.size!==n.size?!1:U(t.values(),n.values(),r.concat([t]),e.concat([n]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var o=$n(t);if(o.length!==$n(n).length)return!1;var c=r.concat([t]),a=e.concat([n]);for(i=o.length-1;i>=0;){var s=o[i];if(!x(s,n)||!M(n[s],t[s],c,a))return!1;i-=1}return!0}function L(t,n,r){var e,u;if("function"==typeof t.indexOf)switch(typeof n){case"number":if(0===n){for(e=1/n;r<t.length;){if(u=t[r],0===u&&1/u===e)return r;r+=1}return-1}if(n!==n){for(;r<t.length;){if(u=t[r],"number"==typeof u&&u!==u)return r;r+=1}return-1}return t.indexOf(n,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(n,r);case"object":if(null===n)return t.indexOf(n,r)}for(;r<t.length;){if(Br(t[r],n))return r;r+=1}return-1}function K(t,n){return L(n,t,0)>=0}function V(t){var n=t.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'"'+n.replace(/"/g,'\\"')+'"'}function H(t){return function(){return!t.apply(this,arguments)}}function $(t,n){for(var r=0,e=n.length,u=[];e>r;)t(n[r])&&(u[u.length]=n[r]),r+=1;return u}function J(t){return"[object Object]"===Object.prototype.toString.call(t)}function X(t,n){this.xf=n,this.f=t}function Y(t,n){var r=function(r){var e=n.concat([t]);return K(r,e)?"<Circular>":Y(r,e)},e=function(t,n){return p(function(n){return V(n)+": "+r(t[n])},n.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+p(r,t).join(", ")+"))";case"[object Array]":return"["+p(r,t).concat(e(t,Lr(function(t){return/^\d+$/.test(t)},$n(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(0/0):V(Dr(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":V(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var u=t.toString();if("[object Object]"!==u)return u}return"{"+e(t,$n(t)).join(", ")+"}"}}function Z(t,n,r,e){this.valueFn=t,this.valueAcc=n,this.keyFn=r,this.xf=e,this.inputs={}}function G(t,n){this.xf=n,this.n=t}function Q(t,n){this.xf=n,this.n=t,this.i=0}function tn(t,n){return he(t<n.length?n.length-t:0,n)}function nn(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=new Array(t)}function rn(t,n){for(var r=n.length-1;r>=0&&t(n[r]);)r-=1;return Nr(0,r+1,n)}function en(t,n){this.f=t,this.retained=[],this.xf=n}function un(t,n){this.xf=n,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}function on(t,n){this.xf=n,this.f=t}function cn(t,n){this.xf=n,this.f=t,this.found=!1}function an(t,n){this.xf=n,this.f=t,this.idx=-1,this.found=!1}function sn(t,n){this.xf=n,this.f=t}function fn(t,n){this.xf=n,this.f=t,this.idx=-1,this.lastIdx=-1}function ln(t){return t}function pn(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function hn(t,n,r){var e,u,i=typeof t;switch(i){case"string":case"number":return 0===t&&1/t===-1/0?r._items["-0"]?!0:(n&&(r._items["-0"]=!0),!1):null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),u=r._nativeSet.size,u===e):r._nativeSet.has(t):i in r._items?t in r._items[i]?!0:(n&&(r._items[i][t]=!0),!1):(n&&(r._items[i]={},r._items[i][t]=!0),!1);case"boolean":if(i in r._items){var o=t?1:0;return r._items[i][o]?!0:(n&&(r._items[i][o]=!0),!1)}return n&&(r._items[i]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),u=r._nativeSet.size,u===e):r._nativeSet.has(t):i in r._items?K(t,r._items[i])?!0:(n&&r._items[i].push(t),!1):(n&&(r._items[i]=[t]),!1);case"undefined":return r._items[i]?!0:(n&&(r._items[i]=!0),!1);case"object":if(null===t)return r._items["null"]?!0:(n&&(r._items["null"]=!0),!1);default:return i=Object.prototype.toString.call(t),i in r._items?K(t,r._items[i])?!0:(n&&r._items[i].push(t),!1):(n&&(r._items[i]=[t]),!1)}}function yn(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,e=arguments.length;e>r;){var u=arguments[r];if(null!=u)for(var i in u)x(i,u)&&(n[i]=u[i]);r+=1}return n}function gn(t){if(a(t))return t;if(Fn(t))return yu;if("string"==typeof t)return gu;if("object"==typeof t)return du;throw new Error("Cannot create transformer for "+t)}function dn(t){return"[object Number]"===Object.prototype.toString.call(t)}function mn(t){return[t]}function vn(t){return e(function(n,r){return i(Math.max(0,n.length-r.length),function(){return n.apply(this,t(r,arguments))})})}function wn(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return N.apply(this,Fr(arguments))}function bn(t,n){this.xf=n,this.f=t}function xn(t,n){this.xf=n,this.f=t}function jn(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var An=r(function(t){return function(){return t}}),On=An(!1),Sn=An(!0),En={"@@functional/placeholder":!0},_n=e(function(t,n){return Number(t)+Number(n)}),qn=e(function(t,n){return 1===t?r(n):i(t,o(t,[],n))}),kn=r(function(t){return qn(t.length,function(){var n=0,r=arguments[0],e=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var t=r.apply(this,u(arguments,[n,e]));return n+=1,t},t.apply(this,i)})}),In=c(function(t,n,r){if(n>=r.length||n<-r.length)return r;var e=0>n?r.length:0,i=e+n,o=u(r);return o[i]=t(r[i]),o}),Wn=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)},Cn={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};l.prototype["@@transducer/init"]=Cn.init,l.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},l.prototype["@@transducer/step"]=function(t,n){return this.f(n)||(this.all=!1,t=f(this.xf["@@transducer/step"](t,!1))),t};var Tn=e(function(t,n){return new l(t,n)}),Nn=e(s(["all"],Tn,function(t,n){for(var r=0;r<n.length;){if(!t(n[r]))return!1;r+=1}return!0})),Pn=e(function(t,n){return n>t?n:t}),Fn=r(function(t){return Wn(t)?!0:t?"object"!=typeof t?!1:h(t)?!1:1===t.nodeType?!!t.length:0===t.length?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1:!1});y.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},y.prototype["@@transducer/result"]=function(t){return t},y.prototype["@@transducer/step"]=function(t,n){return this.f(t,n)};var Rn=e(function(t,n){return i(t.length,function(){return t.apply(n,arguments)})}),Bn="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";b.prototype["@@transducer/init"]=Cn.init,b.prototype["@@transducer/result"]=Cn.result,b.prototype["@@transducer/step"]=function(t,n){return this.xf["@@transducer/step"](t,this.f(n))};var zn=e(function(t,n){return new b(t,n)}),Dn=Object.prototype.toString,Un=function(){return"[object Arguments]"===Dn.call(arguments)?function(t){return"[object Arguments]"===Dn.call(t)}:function(t){return x("callee",t)}},Mn=!{toString:null}.propertyIsEnumerable("toString"),Ln=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Kn=function(){return arguments.propertyIsEnumerable("length")}(),Vn=function(t,n){for(var r=0;r<t.length;){if(t[r]===n)return!0;r+=1}return!1},Hn="function"!=typeof Object.keys||Kn?function(t){if(Object(t)!==t)return[];var n,r,e=[],u=Kn&&Un(t);for(n in t)!x(n,t)||u&&"length"===n||(e[e.length]=n);if(Mn)for(r=Ln.length-1;r>=0;)n=Ln[r],x(n,t)&&!Vn(e,n)&&(e[e.length]=n),r-=1;return e}:function(t){return Object(t)!==t?[]:Object.keys(t)},$n=r(Hn),Jn=e(s(["fantasy-land/map","map"],zn,function(t,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return qn(n.length,function(){return t.call(this,n.apply(this,arguments))});case"[object Object]":return w(function(r,e){return r[e]=t(n[e]),r},{},$n(n));default:return p(t,n)}})),Xn=e(function(t,n){for(var r=n,e=0;e<t.length;){if(null==r)return;r=r[t[e]],e+=1}return r}),Yn=e(function(t,n){return Xn([t],n)}),Zn=e(function(t,n){return Jn(Yn(t),n)}),Gn=c(w),Qn=r(function(t){return qn(Gn(Pn,0,Zn("length",t)),function(){for(var n=0,r=t.length;r>n;){if(!t[n].apply(this,arguments))return!1;n+=1}return!0})}),tr=e(function(t,n){return t&&n});j.prototype["@@transducer/init"]=Cn.init,j.prototype["@@transducer/result"]=function(t){return this.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},j.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.any=!0,t=f(this.xf["@@transducer/step"](t,!0))),t};var nr=e(function(t,n){return new j(t,n)}),rr=e(s(["any"],nr,function(t,n){for(var r=0;r<n.length;){if(t(n[r]))return!0;r+=1}return!1})),er=r(function(t){return qn(Gn(Pn,0,Zn("length",t)),function(){for(var n=0,r=t.length;r>n;){if(t[n].apply(this,arguments))return!0;n+=1}return!1})}),ur=e(function(t,n){return"function"==typeof n["fantasy-land/ap"]?n["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(n):"function"==typeof t?function(r){return t(r)(n(r))}:w(function(t,r){return u(t,Jn(r,n))},[],t)});O.prototype["@@transducer/init"]=Cn.init,O.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},O.prototype["@@transducer/step"]=function(t,n){return this.store(n),this.full?this.xf["@@transducer/step"](t,this.getCopy()):t},O.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},O.prototype.getCopy=function(){return u(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))};var ir=e(function(t,n){return new O(t,n)}),or=e(s([],ir,A)),cr=e(function(t,n){return u(n,[t])}),ar=e(function(t,n){return t.apply(this,n)}),sr=r(function(t){for(var n=$n(t),r=n.length,e=[],u=0;r>u;)e[u]=t[n[u]],u+=1;return e}),fr=r(function zo(t){return t=Jn(function(t){return"function"==typeof t?t:zo(t)},t),qn(Gn(Pn,0,Zn("length",sr(t))),function(){var n=arguments;return Jn(function(t){return ar(t,n)},t)})}),lr=e(function(t,n){return n(t)}),pr=c(function(t,n,r){var e=t(n),u=t(r);return u>e?-1:e>u?1:0}),hr=c(function(t,n,r){var e={};for(var u in r)e[u]=r[u];return e[t]=n,e}),yr=Number.isInteger||function(t){return t<<0===t},gr=r(function(t){return null==t}),dr=c(function Do(t,n,r){if(0===t.length)return n;var e=t[0];if(t.length>1){var u=!gr(r)&&x(e,r)?r[e]:yr(t[1])?[]:{};n=Do(Array.prototype.slice.call(t,1),n,u)}if(yr(e)&&Wn(r)){var i=[].concat(r);return i[e]=n,i}return hr(e,n,r)}),mr=e(function(t,n){switch(t){case 0:return function(){return n.call(this)};case 1:return function(t){return n.call(this,t)};case 2:return function(t,r){return n.call(this,t,r)};case 3:return function(t,r,e){return n.call(this,t,r,e)};case 4:return function(t,r,e,u){return n.call(this,t,r,e,u)};case 5:return function(t,r,e,u,i){return n.call(this,t,r,e,u,i)};case 6:return function(t,r,e,u,i,o){return n.call(this,t,r,e,u,i,o)};case 7:return function(t,r,e,u,i,o,c){return n.call(this,t,r,e,u,i,o,c)};case 8:return function(t,r,e,u,i,o,c,a){return n.call(this,t,r,e,u,i,o,c,a)};case 9:return function(t,r,e,u,i,o,c,a,s){return n.call(this,t,r,e,u,i,o,c,a,s)};case 10:return function(t,r,e,u,i,o,c,a,s,f){return n.call(this,t,r,e,u,i,o,c,a,s,f)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),vr=r(function(t){return mr(2,t)}),wr=e(function(t,n){var r=qn(t,n);return qn(t,function(){return w(ur,Jn(r,arguments[0]),Array.prototype.slice.call(arguments,1))})}),br=r(function(t){return wr(t.length,t)}),xr=e(function(t,n){return S(t)?function(){return t.apply(this,arguments)&&n.apply(this,arguments)}:br(tr)(t,n)}),jr=r(function(t){return qn(t.length,t)}),Ar=jr(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))}),Or=function(t){return{"@@transducer/init":Cn.init,"@@transducer/result":function(n){return t["@@transducer/result"](n)},"@@transducer/step":function(n,r){var e=t["@@transducer/step"](n,r);return e["@@transducer/reduced"]?_(e):e}}},Sr=function(t){var n=Or(t);return{"@@transducer/init":Cn.init,"@@transducer/result":function(t){return n["@@transducer/result"](t)},"@@transducer/step":function(t,r){return Fn(r)?w(n,t,r):w(n,t,[r])}}},Er=e(function(t,n){return Jn(t,Sr(n))}),_r=e(s(["fantasy-land/chain","chain"],Er,function(t,n){return"function"==typeof n?function(r){return t(n(r))(r)}:E(!1)(Jn(t,n))})),qr=c(function(t,n,r){if(t>n)throw new Error("min must not be greater than max in clamp(min, max, value)");return t>r?t:r>n?n:r}),kr=r(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}),Ir=r(function(t){return null!=t&&"function"==typeof t.clone?t.clone():k(t,[],[],!0)}),Wr=r(function(t){return function(n,r){return t(n,r)?-1:t(r,n)?1:0}}),Cr=r(function(t){return!t}),Tr=br(Cr),Nr=c(W("slice",function(t,n,r){return Array.prototype.slice.call(r,t,n)})),Pr=r(W("tail",Nr(1,1/0))),Fr=r(function(t){return h(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}),Rr=e(function(t,n){return t===n?0!==t||1/t===1/n:t!==t&&n!==n}),Br=e(function(t,n){return M(t,n,[],[])}),zr=function(t){return(10>t?"0":"")+t},Dr="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+zr(t.getUTCMonth()+1)+"-"+zr(t.getUTCDate())+"T"+zr(t.getUTCHours())+":"+zr(t.getUTCMinutes())+":"+zr(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};X.prototype["@@transducer/init"]=Cn.init,X.prototype["@@transducer/result"]=Cn.result,X.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):t};var Ur=e(function(t,n){return new X(t,n)}),Mr=e(s(["filter"],Ur,function(t,n){return J(n)?w(function(r,e){return t(n[e])&&(r[e]=n[e]),r},{},$n(n)):$(t,n)})),Lr=e(function(t,n){return Mr(H(t),n)}),Kr=r(function(t){return Y(t,[])}),Vr=e(function(t,n){if(Wn(t)){if(Wn(n))return t.concat(n);throw new TypeError(Kr(n)+" is not an array")}if(h(t)){if(h(n))return t+n;throw new TypeError(Kr(n)+" is not a string")}if(null!=t&&S(t["fantasy-land/concat"]))return t["fantasy-land/concat"](n);if(null!=t&&S(t.concat))return t.concat(n);throw new TypeError(Kr(t)+' does not have a method named "concat" or "fantasy-land/concat"')}),Hr=r(function(t){var n=Gn(Pn,0,Jn(function(t){return t[0].length},t));return i(n,function(){for(var n=0;n<t.length;){if(t[n][0].apply(this,arguments))return t[n][1].apply(this,arguments);n+=1}})}),$r=e(function(t,n){if(t>10)throw new Error("Constructor with greater than ten arguments");return 0===t?function(){return new n}:jr(mr(t,function(t,r,e,u,i,o,c,a,s,f){switch(arguments.length){case 1:return new n(t);case 2:return new n(t,r);case 3:return new n(t,r,e);case 4:return new n(t,r,e,u);case 5:return new n(t,r,e,u,i);case 6:return new n(t,r,e,u,i,o);case 7:return new n(t,r,e,u,i,o,c);case 8:return new n(t,r,e,u,i,o,c,a);case 9:return new n(t,r,e,u,i,o,c,a,s);case 10:return new n(t,r,e,u,i,o,c,a,s,f)}}))}),Jr=r(function(t){return $r(t.length,t)}),Xr=e(K),Yr=e(function(t,n){return qn(Gn(Pn,0,Zn("length",n)),function(){var r=arguments,e=this;return t.apply(e,p(function(t){return t.apply(e,r)},n))})});Z.prototype["@@transducer/init"]=Cn.init,Z.prototype["@@transducer/result"]=function(t){var n;for(n in this.inputs)if(x(n,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[n]),t["@@transducer/reduced"])){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},Z.prototype["@@transducer/step"]=function(t,n){var r=this.keyFn(n);return this.inputs[r]=this.inputs[r]||[r,this.valueAcc],this.inputs[r][1]=this.valueFn(this.inputs[r][1],n),t};var Zr=o(4,[],function(t,n,r,e){return new Z(t,n,r,e)}),Gr=o(4,[],s([],Zr,function(t,n,r,e){return w(function(e,u){var i=r(u);return e[i]=t(x(i,e)?e[i]:n,u),e},{},e)})),Qr=Gr(function(t){return t+1},0),te=_n(-1),ne=e(function(t,n){return null==n||n!==n?t:n}),re=c(function(t,n,r){var e=t(n),u=t(r);return e>u?-1:u>e?1:0}),ee=e(function(t,n){for(var r=[],e=0,u=t.length;u>e;)K(t[e],n)||K(t[e],r)||(r[r.length]=t[e]),e+=1;return r}),ue=c(function(t,n,r){for(var e=[],u=0,i=n.length;i>u;)z(t,n[u],r)||z(t,n[u],e)||e.push(n[u]),u+=1;return e}),ie=e(function(t,n){var r={};for(var e in n)r[e]=n[e];return delete r[t],r}),oe=c(function(t,n,r){var e=Array.prototype.slice.call(r,0);return e.splice(t,n),e}),ce=c(function(t,n,r){return In(An(n),t,r)}),ae=e(function Uo(t,n){switch(t.length){case 0:return n;case 1:return yr(t[0])?oe(t[0],1,n):ie(t[0],n);default:var r=t[0],e=Array.prototype.slice.call(t,1);return null==n[r]?n:yr(t[0])?ce(r,Uo(e,n[r]),n):hr(r,Uo(e,n[r]),n)}}),se=e(function(t,n){return t/n});G.prototype["@@transducer/init"]=Cn.init,G.prototype["@@transducer/result"]=Cn.result,G.prototype["@@transducer/step"]=function(t,n){return this.n>0?(this.n-=1,t):this.xf["@@transducer/step"](t,n)};var fe=e(function(t,n){return new G(t,n)}),le=e(s(["drop"],fe,function(t,n){return Nr(Math.max(0,t),1/0,n)}));Q.prototype["@@transducer/init"]=Cn.init,Q.prototype["@@transducer/result"]=Cn.result,Q.prototype["@@transducer/step"]=function(t,n){this.i+=1;var r=0===this.n?t:this.xf["@@transducer/step"](t,n);return this.n>=0&&this.i>=this.n?f(r):r};var pe=e(function(t,n){return new Q(t,n)}),he=e(s(["take"],pe,function(t,n){return Nr(0,0>t?1/0:t,n)}));nn.prototype["@@transducer/init"]=Cn.init,nn.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},nn.prototype["@@transducer/step"]=function(t,n){return this.full&&(t=this.xf["@@transducer/step"](t,this.acc[this.pos])),this.store(n),t},nn.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)};var ye=e(function(t,n){return new nn(t,n)}),ge=e(s([],ye,tn));en.prototype["@@transducer/init"]=Cn.init,en.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},en.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.retain(t,n):this.flush(t,n)},en.prototype.flush=function(t,n){return t=w(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,n)},en.prototype.retain=function(t,n){return this.retained.push(n),t};var de=e(function(t,n){return new en(t,n)}),me=e(s([],de,rn));un.prototype["@@transducer/init"]=Cn.init,un.prototype["@@transducer/result"]=Cn.result,un.prototype["@@transducer/step"]=function(t,n){var r=!1;return this.seenFirstValue?this.pred(this.lastValue,n)&&(r=!0):this.seenFirstValue=!0,this.lastValue=n,r?t:this.xf["@@transducer/step"](t,n)};var ve=e(function(t,n){return new un(t,n)}),we=e(function(t,n){var r=0>t?n.length+t:t;return h(n)?n.charAt(r):n[r]}),be=we(-1),xe=e(s([],ve,function(t,n){var r=[],e=1,u=n.length;if(0!==u)for(r[0]=n[0];u>e;)t(be(r),n[e])||(r[r.length]=n[e]),e+=1;return r})),je=r(s([],ve(Br),xe(Br)));on.prototype["@@transducer/init"]=Cn.init,on.prototype["@@transducer/result"]=Cn.result,on.prototype["@@transducer/step"]=function(t,n){if(this.f){if(this.f(n))return t;this.f=null}return this.xf["@@transducer/step"](t,n)};var Ae=e(function(t,n){return new on(t,n)}),Oe=e(s(["dropWhile"],Ae,function(t,n){for(var r=0,e=n.length;e>r&&t(n[r]);)r+=1;return Nr(r,1/0,n)})),Se=e(function(t,n){return t||n}),Ee=e(function(t,n){return S(t)?function(){return t.apply(this,arguments)||n.apply(this,arguments)}:br(Se)(t,n)}),_e=r(function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():Wn(t)?[]:h(t)?"":J(t)?{}:Un(t)?function(){return arguments}():void 0}),qe=e(function(t,n){return le(t>=0?n.length-t:0,n)}),ke=e(function(t,n){return Br(qe(t.length,n),t)}),Ie=c(function(t,n,r){return Br(t(n),t(r))}),We=c(function(t,n,r){return Br(n[t],r[t])}),Ce=e(function Mo(t,n){var r,e,u,i={};for(e in n)r=t[e],u=typeof r,i[e]="function"===u?r(n[e]):r&&"object"===u?Mo(r,n[e]):n[e];return i});cn.prototype["@@transducer/init"]=Cn.init,cn.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},cn.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.found=!0,t=f(this.xf["@@transducer/step"](t,n))),t};var Te=e(function(t,n){return new cn(t,n)}),Ne=e(s(["find"],Te,function(t,n){for(var r=0,e=n.length;e>r;){if(t(n[r]))return n[r];r+=1}}));an.prototype["@@transducer/init"]=Cn.init,an.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},an.prototype["@@transducer/step"]=function(t,n){return this.idx+=1,this.f(n)&&(this.found=!0,t=f(this.xf["@@transducer/step"](t,this.idx))),t};var Pe=e(function(t,n){return new an(t,n)}),Fe=e(s([],Pe,function(t,n){for(var r=0,e=n.length;e>r;){if(t(n[r]))return r;r+=1}return-1}));sn.prototype["@@transducer/init"]=Cn.init,sn.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.last))},sn.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.last=n),t};var Re=e(function(t,n){return new sn(t,n)}),Be=e(s([],Re,function(t,n){for(var r=n.length-1;r>=0;){if(t(n[r]))return n[r];r-=1}}));fn.prototype["@@transducer/init"]=Cn.init,fn.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},fn.prototype["@@transducer/step"]=function(t,n){return this.idx+=1,this.f(n)&&(this.lastIdx=this.idx),t};var ze=e(function(t,n){return new fn(t,n)}),De=e(s([],ze,function(t,n){for(var r=n.length-1;r>=0;){if(t(n[r]))return r;r-=1}return-1})),Ue=r(E(!0)),Me=r(function(t){return qn(t.length,function(n,r){var e=Array.prototype.slice.call(arguments,0);return e[0]=r,e[1]=n,t.apply(this,e)})}),Le=e(W("forEach",function(t,n){for(var r=n.length,e=0;r>e;)t(n[e]),e+=1;return n})),Ke=e(function(t,n){for(var r=$n(n),e=0;e<r.length;){var u=r[e];t(n[u],u,n),e+=1}return n}),Ve=r(function(t){for(var n={},r=0;r<t.length;)n[t[r][0]]=t[r][1],r+=1;return n}),He=e(W("groupBy",Gr(function(t,n){return null==t&&(t=[]),t.push(n),t},null))),$e=e(function(t,n){for(var r=[],e=0,u=n.length;u>e;){for(var i=e+1;u>i&&t(n[i-1],n[i]);)i+=1;r.push(n.slice(e,i)),e=i}return r}),Je=e(function(t,n){return t>n}),Xe=e(function(t,n){return t>=n}),Ye=e(x),Ze=e(function(t,n){return t in n}),Ge=we(0),Qe=r(ln),tu=c(function(t,n,r){return qn(Math.max(t.length,n.length,r.length),function(){return t.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})}),nu=_n(1),ru=Gr(function(t,n){return n},null),eu=e(function(t,n){return"function"!=typeof n.indexOf||Wn(n)?L(n,t,0):n.indexOf(t)}),uu=Nr(0,-1),iu=c(function(t,n,r){return $(function(n){return z(t,n,r)},n)}),ou=c(function(t,n,r){t=t<r.length&&t>=0?t:r.length;var e=Array.prototype.slice.call(r,0);return e.splice(t,0,n),e}),cu=c(function(t,n,r){return t=t<r.length&&t>=0?t:r.length,[].concat(Array.prototype.slice.call(r,0,t),n,Array.prototype.slice.call(r,t))});pn.prototype.add=function(t){return!hn(t,!0,this)},pn.prototype.has=function(t){return hn(t,!1,this)};var au=e(function(t,n){for(var r,e,u=new pn,i=[],o=0;o<n.length;)e=n[o],r=t(e),u.add(r)&&i.push(e),o+=1;return i}),su=au(Qe),fu=e(function(t,n){var r,e;return t.length>n.length?(r=t,e=n):(r=n,e=t),su($(Me(K)(r),e))}),lu=e(W("intersperse",function(t,n){for(var r=[],e=0,u=n.length;u>e;)e===u-1?r.push(n[e]):r.push(n[e],t),e+=1;return r})),pu="function"==typeof Object.assign?Object.assign:yn,hu=e(function(t,n){var r={};return r[t]=n,r}),yu={"@@transducer/init":Array,"@@transducer/step":function(t,n){return t.push(n),t},"@@transducer/result":ln},gu={"@@transducer/init":String,"@@transducer/step":function(t,n){return t+n},"@@transducer/result":ln},du={"@@transducer/init":Object,"@@transducer/step":function(t,n){return pu(t,Fn(n)?hu(n[0],n[1]):n)},"@@transducer/result":ln},mu=c(function(t,n,r){return a(t)?w(n(t),t["@@transducer/init"](),r):w(n(gn(t)),k(t,[],[],!1),r)}),vu=r(function(t){for(var n=$n(t),r=n.length,e=0,u={};r>e;){var i=n[e],o=t[i],c=x(o,u)?u[o]:u[o]=[];c[c.length]=i,e+=1}return u}),wu=r(function(t){for(var n=$n(t),r=n.length,e=0,u={};r>e;){var i=n[e];u[t[i]]=i,e+=1}return u}),bu=e(function(t,n){return qn(t+1,function(){var r=arguments[t];if(null!=r&&S(r[n]))return r[n].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(Kr(r)+' does not have a method named "'+n+'"')})}),xu=e(function(t,n){return null!=n&&n.constructor===t||n instanceof t}),ju=r(function(t){return null!=t&&Br(t,_e(t))}),Au=bu(1,"join"),Ou=r(function(t){return Yr(function(){return Array.prototype.slice.call(arguments,0)},t)}),Su=r(function(t){var n,r=[];for(n in t)r[r.length]=n;return r}),Eu=e(function(t,n){if("function"!=typeof n.lastIndexOf||Wn(n)){for(var r=n.length-1;r>=0;){if(Br(n[r],t))return r;r-=1}return-1}return n.lastIndexOf(t)}),_u=r(function(t){return null!=t&&dn(t.length)?t.length:0/0}),qu=e(function(t,n){return function(r){return function(e){return Jn(function(t){return n(t,e)},r(t(e)))}}}),ku=r(function(t){return qu(we(t),ce(t))}),Iu=r(function(t){return qu(Xn(t),dr(t))}),Wu=r(function(t){return qu(Yn(t),hr(t))}),Cu=e(function(t,n){return n>t}),Tu=e(function(t,n){return n>=t}),Nu=c(function(t,n,r){for(var e=0,u=r.length,i=[],o=[n];u>e;)o=t(o[0],r[e]),i[e]=o[1],e+=1;return[o[0],i]}),Pu=c(function(t,n,r){for(var e=r.length-1,u=[],i=[n];e>=0;)i=t(r[e],i[0]),u[e]=i[1],e-=1;return[u,i[0]]}),Fu=e(function(t,n){return w(function(r,e){return r[e]=t(n[e],e,n),r},{},$n(n))}),Ru=e(function(t,n){return n.match(t)||[]}),Bu=e(function(t,n){return yr(t)?!yr(n)||1>n?0/0:(t%n+n)%n:0/0}),zu=c(function(t,n,r){return t(r)>t(n)?r:n}),Du=Gn(_n,0),Uu=r(function(t){return Du(t)/t.length}),Mu=r(function(t){var n=t.length;if(0===n)return 0/0;var r=2-n%2,e=(n-r)/2;return Uu(Array.prototype.slice.call(t,0).sort(function(t,n){return n>t?-1:t>n?1:0}).slice(e,e+r))}),Lu=e(function(t,n){var r={};return i(n.length,function(){var e=t.apply(this,arguments);return x(e,r)||(r[e]=n.apply(this,arguments)),r[e]})}),Ku=Lu(function(){return Kr(arguments)}),Vu=e(function(t,n){return pu({},t,n)}),Hu=r(function(t){return pu.apply(null,[{}].concat(t))}),$u=c(function(t,n,r){var e,u={};for(e in n)x(e,n)&&(u[e]=x(e,r)?t(e,n[e],r[e]):n[e]);for(e in r)x(e,r)&&!x(e,u)&&(u[e]=r[e]);return u}),Ju=c(function Lo(t,n,r){return $u(function(n,r,e){return J(r)&&J(e)?Lo(t,r,e):t(n,r,e)},n,r)}),Xu=e(function(t,n){return Ju(function(t,n){return n},t,n)}),Yu=e(function(t,n){return Ju(function(t,n,r){return r},t,n)}),Zu=c(function(t,n,r){return Ju(function(n,r,e){return t(r,e)},n,r)}),Gu=c(function(t,n,r){return $u(function(n,r,e){return t(r,e)},n,r)}),Qu=e(function(t,n){return t>n?n:t}),ti=c(function(t,n,r){return t(r)<t(n)?r:n}),ni=e(function(t,n){return t%n}),ri=e(function(t,n){return t*n}),ei=r(function(t){return-t}),ui=e(H(s(["any"],nr,rr))),ii=r(function(t){var n=0>t?1:t+1;return qn(n,function(){return we(t,arguments)})}),oi=c(function(t,n,r){return t(n(r))}),ci=r(mn),ai=e(function(t,n){for(var r={},e={},u=0,i=t.length;i>u;)e[t[u]]=1,u+=1;for(var o in n)e.hasOwnProperty(o)||(r[o]=n[o]);return r}),si=r(function(t){var n,r=!1;return i(t.length,function(){return r?n:(r=!0,n=t.apply(this,arguments))})}),fi=function(t){return{value:t,map:function(n){return fi(n(t))}}},li=c(function(t,n,r){return t(function(t){return fi(n(t))})(r).value}),pi=e(function(t,n){return[t,n]}),hi=vn(u),yi=vn(Me(u)),gi=Ou([Mr,Lr]),di=c(function(t,n,r){return Br(Xn(t,r),n)}),mi=c(function(t,n,r){return ne(t,Xn(n,r))}),vi=c(function(t,n,r){return n.length>0&&t(Xn(n,r))}),wi=e(function(t,n){for(var r={},e=0;e<t.length;)t[e]in n&&(r[t[e]]=n[t[e]]),e+=1;return r}),bi=e(function(t,n){for(var r={},e=0,u=t.length;u>e;){var i=t[e];r[i]=n[i],e+=1}return r}),xi=e(function(t,n){var r={};for(var e in n)t(n[e],e,n)&&(r[e]=n[e]);return r}),ji=e(function(t,n){return u([t],n)}),Ai=Gn(ri,1),Oi=e(function(t,n){return qn(n.length,function(){for(var r=[],e=0;e<n.length;)r.push(n[e].call(this,arguments[e])),e+=1;return t.apply(this,r.concat(Array.prototype.slice.call(arguments,n.length)))})}),Si=Oi(p,[bi,Qe]),Ei=c(function(t,n,r){return Br(n,r[t])}),_i=c(function(t,n,r){return xu(t,r[n])}),qi=c(function(t,n,r){return null!=r&&x(n,r)?r[n]:t}),ki=c(function(t,n,r){return t(r[n])}),Ii=e(function(t,n){for(var r=t.length,e=[],u=0;r>u;)e[u]=n[t[u]],u+=1;return e}),Wi=e(function(t,n){if(!dn(t)||!dn(n))throw new TypeError("Both arguments to range must be numbers");for(var r=[],e=t;n>e;)r.push(e),e+=1;return r}),Ci=c(function(t,n,r){for(var e=r.length-1;e>=0;)n=t(r[e],n),e-=1;return n}),Ti=o(4,[],function(t,n,r,e){return w(function(r,e){return t(r,e)?n(r,e):f(r)},r,e)}),Ni=r(f),Pi=e(function(t,n){var r,e=Number(n),u=0;if(0>e||isNaN(e))throw new RangeError("n must be a non-negative number");for(r=new Array(e);e>u;)r[u]=t(u),u+=1;return r}),Fi=e(function(t,n){return Pi(An(t),n)}),Ri=c(function(t,n,r){return r.replace(t,n)}),Bi=c(function(t,n,r){for(var e=0,u=r.length,i=[n];u>e;)n=t(n,r[e]),i[e+1]=n,e+=1;return i}),zi=e(function(t,n){return"function"==typeof n.sequence?n.sequence(t):Ci(function(t,n){return ur(Jn(ji,t),n)},t([]),n)}),Di=c(function(t,n,r){return li(t,An(n),r)}),Ui=e(function(t,n){return Array.prototype.slice.call(n,0).sort(t)}),Mi=e(function(t,n){return Array.prototype.slice.call(n,0).sort(function(n,r){var e=t(n),u=t(r);return u>e?-1:e>u?1:0})}),Li=e(function(t,n){return Array.prototype.slice.call(n,0).sort(function(n,r){for(var e=0,u=0;0===e&&u<t.length;)e=t[u](n,r),u+=1;return e})}),Ki=bu(1,"split"),Vi=e(function(t,n){return[Nr(0,t,n),Nr(t,_u(n),n)]}),Hi=e(function(t,n){if(0>=t)throw new Error("First argument to splitEvery must be a positive integer");for(var r=[],e=0;e<n.length;)r.push(Nr(e,e+=t,n));return r}),$i=e(function(t,n){for(var r=0,e=n.length,u=[];e>r&&!t(n[r]);)u.push(n[r]),r+=1;return[u,Array.prototype.slice.call(n,r)]}),Ji=e(function(t,n){return Br(he(t.length,n),t)}),Xi=e(function(t,n){return Number(t)-Number(n)}),Yi=e(function(t,n){return Vr(ee(t,n),ee(n,t))}),Zi=c(function(t,n,r){return Vr(ue(t,n,r),ue(t,r,n))}),Gi=e(function(t,n){for(var r=n.length-1;r>=0&&t(n[r]);)r-=1;return Nr(r+1,1/0,n)});bn.prototype["@@transducer/init"]=Cn.init,bn.prototype["@@transducer/result"]=Cn.result,bn.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):f(t)};var Qi=e(function(t,n){return new bn(t,n)}),to=e(s(["takeWhile"],Qi,function(t,n){for(var r=0,e=n.length;e>r&&t(n[r]);)r+=1;return Nr(0,r,n)}));xn.prototype["@@transducer/init"]=Cn.init,xn.prototype["@@transducer/result"]=Cn.result,xn.prototype["@@transducer/step"]=function(t,n){return this.f(n),this.xf["@@transducer/step"](t,n)};var no=e(function(t,n){return new xn(t,n)}),ro=e(s([],no,function(t,n){return t(n),n})),eo=e(function(t,n){if(!jn(t))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Kr(t));return q(t).test(n)}),uo=bu(0,"toLowerCase"),io=r(function(t){var n=[];for(var r in t)x(r,t)&&(n[n.length]=[r,t[r]]);return n}),oo=r(function(t){var n=[];for(var r in t)n[n.length]=[r,t[r]];return n}),co=bu(0,"toUpperCase"),ao=qn(4,function(t,n,r,e){return w(t("function"==typeof n?g(n):n),r,e)}),so=r(function(t){for(var n=0,r=[];n<t.length;){for(var e=t[n],u=0;u<e.length;)"undefined"==typeof r[u]&&(r[u]=[]),r[u].push(e[u]),u+=1;n+=1}return r}),fo=c(function(t,n,r){return"function"==typeof r["fantasy-land/traverse"]?r["fantasy-land/traverse"](n,t):zi(t,Jn(n,r))}),lo=" \n�\f\r \u2028\u2029",po="",ho="function"==typeof String.prototype.trim,yo=ho&&!lo.trim()&&po.trim()?function(t){return t.trim()}:function(t){var n=new RegExp("^["+lo+"]["+lo+"]*"),r=new RegExp("["+lo+"]["+lo+"]*$");return t.replace(n,"").replace(r,"")},go=r(yo),mo=e(function(t,n){return i(t.length,function(){try{return t.apply(this,arguments)}catch(r){return n.apply(this,u([r],arguments))}})}),vo=r(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}}),wo=r(function(t){return mr(1,t)}),bo=e(function(t,n){return qn(t,function(){for(var r,e=1,u=n,i=0;t>=e&&"function"==typeof u;)r=e===t?arguments.length:i+u.length,u=u.apply(this,Array.prototype.slice.call(arguments,i,r)),e+=1,i=r;return u})}),xo=e(function(t,n){for(var r=t(n),e=[];r&&r.length;)e[e.length]=r[0],r=t(r[1]);return e}),jo=e(T(su,u)),Ao=e(function(t,n){for(var r,e=0,u=n.length,i=[];u>e;)r=n[e],z(t,r,i)||(i[i.length]=r),e+=1;return i}),Oo=c(function(t,n,r){return Ao(t,u(n,r))}),So=c(function(t,n,r){return t(r)?r:n(r)}),Eo=_r(ln),_o=c(function(t,n,r){for(var e=r;!t(e);)e=n(e);return e}),qo=r(function(t){var n,r=[];for(n in t)r[r.length]=t[n];return r}),ko=function(t){return{value:t,"fantasy-land/map":function(){return this}}},Io=e(function(t,n){return t(ko)(n).value}),Wo=c(function(t,n,r){return t(r)?n(r):r}),Co=e(function(t,n){for(var r in t)if(x(r,t)&&!t[r](n[r]))return!1;return!0}),To=e(function(t,n){return Co(Jn(Br,t),n)}),No=e(function(t,n){return Lr(Me(K)(t),n)}),Po=e(function(t,n){for(var r,e=0,u=t.length,i=n.length,o=[];u>e;){for(r=0;i>r;)o[o.length]=[t[e],n[r]],r+=1;e+=1}return o}),Fo=e(function(t,n){for(var r=[],e=0,u=Math.min(t.length,n.length);u>e;)r[e]=[t[e],n[e]],e+=1;return r}),Ro=e(function(t,n){for(var r=0,e=Math.min(t.length,n.length),u={};e>r;)u[t[r]]=n[r],r+=1;return u}),Bo=c(function(t,n,r){for(var e=[],u=0,i=Math.min(n.length,r.length);i>u;)e[u]=t(n[u],r[u]),u+=1;return e});t.F=On,t.T=Sn,t.__=En,t.add=_n,t.addIndex=kn,t.adjust=In,t.all=Nn,t.allPass=Qn,t.always=An,t.and=tr,t.any=rr,t.anyPass=er,t.ap=ur,t.aperture=or,t.append=cr,t.apply=ar,t.applySpec=fr,t.applyTo=lr,t.ascend=pr,t.assoc=hr,t.assocPath=dr,t.binary=vr,t.bind=Rn,t.both=xr,t.call=Ar,t.chain=_r,t.clamp=qr,t.clone=Ir,t.comparator=Wr,t.complement=Tr,t.compose=T,t.composeK=N,t.composeP=R,t.concat=Vr,t.cond=Hr,t.construct=Jr,t.constructN=$r,t.contains=Xr,t.converge=Yr,t.countBy=Qr,t.curry=jr,t.curryN=qn,t.dec=te,t.defaultTo=ne,t.descend=re,t.difference=ee,t.differenceWith=ue,t.dissoc=ie,t.dissocPath=ae,t.divide=se,t.drop=le,t.dropLast=ge,t.dropLastWhile=me,t.dropRepeats=je,t.dropRepeatsWith=xe,t.dropWhile=Oe,t.either=Ee,t.empty=_e,t.endsWith=ke,t.eqBy=Ie,t.eqProps=We,t.equals=Br,t.evolve=Ce,t.filter=Mr,t.find=Ne,t.findIndex=Fe,t.findLast=Be,t.findLastIndex=De,t.flatten=Ue,t.flip=Me,t.forEach=Le,t.forEachObjIndexed=Ke,t.fromPairs=Ve,t.groupBy=He,t.groupWith=$e,t.gt=Je,t.gte=Xe,t.has=Ye,t.hasIn=Ze,t.head=Ge,t.identical=Rr,t.identity=Qe,t.ifElse=tu,t.inc=nu,t.indexBy=ru,t.indexOf=eu,t.init=uu,t.innerJoin=iu,t.insert=ou,t.insertAll=cu,t.intersection=fu,t.intersperse=lu,t.into=mu,t.invert=vu,t.invertObj=wu,t.invoker=bu,t.is=xu,t.isEmpty=ju,t.isNil=gr,t.join=Au,t.juxt=Ou,t.keys=$n,t.keysIn=Su,t.last=be,t.lastIndexOf=Eu,t.length=_u,t.lens=qu,t.lensIndex=ku,t.lensPath=Iu,t.lensProp=Wu,t.lift=br,t.liftN=wr,t.lt=Cu,t.lte=Tu,t.map=Jn,t.mapAccum=Nu,t.mapAccumRight=Pu,t.mapObjIndexed=Fu,t.match=Ru,t.mathMod=Bu,t.max=Pn,t.maxBy=zu,t.mean=Uu,t.median=Mu,t.memoize=Ku,t.memoizeWith=Lu,t.merge=Vu,t.mergeAll=Hu,t.mergeDeepLeft=Xu,t.mergeDeepRight=Yu,t.mergeDeepWith=Zu,t.mergeDeepWithKey=Ju,t.mergeWith=Gu,t.mergeWithKey=$u,t.min=Qu,t.minBy=ti,t.modulo=ni,t.multiply=ri,t.nAry=mr,t.negate=ei,t.none=ui,t.not=Cr,t.nth=we,t.nthArg=ii,t.o=oi,t.objOf=hu,t.of=ci,t.omit=ai,t.once=si,t.or=Se,t.over=li,t.pair=pi,t.partial=hi,t.partialRight=yi,t.partition=gi,t.path=Xn,t.pathEq=di,t.pathOr=mi,t.pathSatisfies=vi,t.pick=wi,t.pickAll=bi,t.pickBy=xi,t.pipe=C,t.pipeK=wn,t.pipeP=F,t.pluck=Zn,t.prepend=ji,t.product=Ai,t.project=Si,t.prop=Yn,t.propEq=Ei,t.propIs=_i,t.propOr=qi,t.propSatisfies=ki,t.props=Ii,t.range=Wi,t.reduce=Gn,t.reduceBy=Gr,t.reduceRight=Ci,t.reduceWhile=Ti,t.reduced=Ni,t.reject=Lr,t.remove=oe,t.repeat=Fi,t.replace=Ri,t.reverse=Fr,t.scan=Bi,t.sequence=zi,t.set=Di,t.slice=Nr,t.sort=Ui,t.sortBy=Mi,t.sortWith=Li,t.split=Ki,t.splitAt=Vi,t.splitEvery=Hi,t.splitWhen=$i,t.startsWith=Ji,t.subtract=Xi,t.sum=Du,t.symmetricDifference=Yi,t.symmetricDifferenceWith=Zi,t.tail=Pr,t.take=he,t.takeLast=qe,t.takeLastWhile=Gi,t.takeWhile=to,t.tap=ro,t.test=eo,t.times=Pi,t.toLower=uo,t.toPairs=io,t.toPairsIn=oo,t.toString=Kr,t.toUpper=co,t.transduce=ao,t.transpose=so,t.traverse=fo,t.trim=go,t.tryCatch=mo,t.type=kr,t.unapply=vo,t.unary=wo,t.uncurryN=bo,t.unfold=xo,t.union=jo,t.unionWith=Oo,t.uniq=su,t.uniqBy=au,t.uniqWith=Ao,t.unless=So,t.unnest=Eo,t.until=_o,t.update=ce,t.useWith=Oi,t.values=sr,t.valuesIn=qo,t.view=Io,t.when=Wo,t.where=Co,t.whereEq=To,t.without=No,t.xprod=Po,t.zip=Fo,t.zipObj=Ro,t.zipWith=Bo,Object.defineProperty(t,"__esModule",{value:!0})}),e="0.24.1",r("Ramda v"+e+" loaded"),void 0)}(window,document);