!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t=t||self).R={})}(this,function(t){"use strict";function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t){return null!=t&&"object"===f(t)&&!0===t["@@functional/placeholder"]}function o(r){return function t(n){return 0===arguments.length||a(n)?t:r.apply(this,arguments)}}function n(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return a(n)?t:o(function(t){return e(n,t)});default:return a(n)&&a(r)?t:a(n)?o(function(t){return e(t,r)}):a(r)?o(function(t){return e(n,t)}):e(n,r)}}}var r=n(function(t,n){return+t+ +n});function c(t,n){var r,e=(t=t||[]).length,u=(n=n||[]).length,i=[];for(r=0;r<e;)i[i.length]=t[r],r+=1;for(r=0;r<u;)i[i.length]=n[r],r+=1;return i}function s(t,f){switch(t){case 0:return function(){return f.apply(this,arguments)};case 1:return function(t){return f.apply(this,arguments)};case 2:return function(t,n){return f.apply(this,arguments)};case 3:return function(t,n,r){return f.apply(this,arguments)};case 4:return function(t,n,r,e){return f.apply(this,arguments)};case 5:return function(t,n,r,e,u){return f.apply(this,arguments)};case 6:return function(t,n,r,e,u,i){return f.apply(this,arguments)};case 7:return function(t,n,r,e,u,i,o){return f.apply(this,arguments)};case 8:return function(t,n,r,e,u,i,o,c){return f.apply(this,arguments)};case 9:return function(t,n,r,e,u,i,o,c,a){return f.apply(this,arguments)};case 10:return function(t,n,r,e,u,i,o,c,a,s){return f.apply(this,arguments)};default:throw Error("First argument to _arity must be a non-negative integer no greater than ten")}}function l(i,o,c){return function(){for(var t=[],n=0,r=i,e=0;e<o.length||n<arguments.length;){var u;o.length<=e||a(o[e])&&n<arguments.length?(u=arguments[n],n+=1):u=o[e],a(t[e]=u)||(r-=1),e+=1}return 0<r?s(r,l(i,t,c)):c.apply(this,t)}}var p=n(function(t,n){return 1===t?o(n):s(t,l(t,[],n))}),e=o(function(u){return p(u.length,function(){var n=0,r=arguments[0],e=arguments[arguments.length-1],t=Array.prototype.slice.call(arguments,0);return t[0]=function(){var t=r.apply(this,c(arguments,[n,e]));return n+=1,t},u.apply(this,t)})});function u(i){return function t(r,e,u){switch(arguments.length){case 0:return t;case 1:return a(r)?t:n(function(t,n){return i(r,t,n)});case 2:return a(r)&&a(e)?t:a(r)?n(function(t,n){return i(t,e,n)}):a(e)?n(function(t,n){return i(r,t,n)}):o(function(t){return i(r,e,t)});default:return a(r)&&a(e)&&a(u)?t:a(r)&&a(e)?n(function(t,n){return i(t,n,u)}):a(r)&&a(u)?n(function(t,n){return i(t,e,n)}):a(e)&&a(u)?n(function(t,n){return i(r,t,n)}):a(r)?o(function(t){return i(t,e,u)}):a(e)?o(function(t){return i(r,t,u)}):a(u)?o(function(t){return i(r,e,t)}):i(r,e,u)}}}var i=u(function(t,n,r){var e=r.length;if(e<=t||t<-e)return r;var u=(e+t)%e,i=c(r);return i[u]=n(r[u]),i}),h=Array.isArray||function(t){return null!=t&&0<=t.length&&"[object Array]"===Object.prototype.toString.call(t)};function y(t){return null!=t&&"function"==typeof t["@@transducer/step"]}function d(r,e,u){return function(){if(0===arguments.length)return u();var t=arguments[arguments.length-1];if(!h(t)){for(var n=0;n<r.length;){if("function"==typeof t[r[n]])return t[r[n]].apply(t,Array.prototype.slice.call(arguments,0,-1));n+=1}if(y(t))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(t)}return u.apply(this,arguments)}}function g(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var v={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function m(t,n){this.xf=n,this.f=t,this.all=!0}m.prototype["@@transducer/init"]=v.init,m.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},m.prototype["@@transducer/step"]=function(t,n){return this.f(n)||(this.all=!1,t=g(this.xf["@@transducer/step"](t,!1))),t};var b=n(d(["all"],n(function(t,n){return new m(t,n)}),function(t,n){for(var r=0;r<n.length;){if(!t(n[r]))return!1;r+=1}return!0})),x=n(function(t,n){return t<n?n:t});function w(t,n){for(var r=0,e=n.length,u=Array(e);r<e;)u[r]=t(n[r]),r+=1;return u}function j(t){return"[object String]"===Object.prototype.toString.call(t)}var A=o(function(t){return!!h(t)||!!t&&("object"===f(t)&&(!j(t)&&(0===t.length||0<t.length&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))});function O(t){this.f=t}function S(t){return new O(t)}O.prototype["@@transducer/init"]=function(){throw Error("init not implemented on XWrap")},O.prototype["@@transducer/result"]=function(t){return t},O.prototype["@@transducer/step"]=function(t,n){return this.f(t,n)};var E=n(function(t,n){return s(t.length,function(){return t.apply(n,arguments)})});function _(t,n,r){for(var e=r.next();!e.done;){if((n=t["@@transducer/step"](n,e.value))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e=r.next()}return t["@@transducer/result"](n)}function I(t,n,r,e){return t["@@transducer/result"](r[e](E(t["@@transducer/step"],t),n))}var k="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function W(t,n,r){if("function"==typeof t&&(t=S(t)),A(r))return function(t,n,r){for(var e=0,u=r.length;e<u;){if((n=t["@@transducer/step"](n,r[e]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e+=1}return t["@@transducer/result"](n)}(t,n,r);if("function"==typeof r["fantasy-land/reduce"])return I(t,n,r,"fantasy-land/reduce");if(null!=r[k])return _(t,n,r[k]());if("function"==typeof r.next)return _(t,n,r);if("function"==typeof r.reduce)return I(t,n,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}function q(t,n){this.xf=n,this.f=t}q.prototype["@@transducer/init"]=v.init,q.prototype["@@transducer/result"]=v.result,q.prototype["@@transducer/step"]=function(t,n){return this.xf["@@transducer/step"](t,this.f(n))};var N=n(function(t,n){return new q(t,n)});function U(t,n){return Object.prototype.hasOwnProperty.call(n,t)}function F(t,n){for(var r=0;r<t.length;){if(t[r]===n)return!0;r+=1}return!1}var P=Object.prototype.toString,B=function(){return"[object Arguments]"===P.call(arguments)?function(t){return"[object Arguments]"===P.call(t)}:function(t){return U("callee",t)}}(),C=!{toString:null}.propertyIsEnumerable("toString"),T=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],R=function(){return arguments.propertyIsEnumerable("length")}(),D=o("function"!=typeof Object.keys||R?function(t){if(Object(t)!==t)return[];var n,r,e=[],u=R&&B(t);for(n in t)!U(n,t)||u&&"length"===n||(e[e.length]=n);if(C)for(r=T.length-1;0<=r;)U(n=T[r],t)&&!F(e,n)&&(e[e.length]=n),r-=1;return e}:function(t){return Object(t)!==t?[]:Object.keys(t)}),z=n(d(["fantasy-land/map","map"],N,function(r,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return p(e.length,function(){return r.call(this,e.apply(this,arguments))});case"[object Object]":return W(function(t,n){return t[n]=r(e[n]),t},{},D(e));default:return w(r,e)}})),M=Number.isInteger||function(t){return t<<0===t},L=n(function(t,n){var r=t<0?n.length+t:t;return j(n)?n[0|r]:n[r]}),V=n(function(t,n){if(null!=n)return M(t)?L(t,n):n[t]}),G=n(function(t,n){return z(V(t),n)}),K=u(W),$=o(function(r){return p(K(x,0,G("length",r)),function(){for(var t=0,n=r.length;t<n;){if(!r[t].apply(this,arguments))return!1;t+=1}return!0})}),H=o(function(t){return function(){return t}}),J=n(function(t,n){return t&&n});function X(t,n){this.xf=n,this.f=t,this.any=!1}X.prototype["@@transducer/init"]=v.init,X.prototype["@@transducer/result"]=function(t){return this.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},X.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.any=!0,t=g(this.xf["@@transducer/step"](t,!0))),t};var Y=n(d(["any"],n(function(t,n){return new X(t,n)}),function(t,n){for(var r=0;r<n.length;){if(t(n[r]))return!0;r+=1}return!1})),Z=o(function(r){return p(K(x,0,G("length",r)),function(){for(var t=0,n=r.length;t<n;){if(r[t].apply(this,arguments))return!0;t+=1}return!1})}),Q=n(function(n,r){return"function"==typeof r["fantasy-land/ap"]?r["fantasy-land/ap"](n):"function"==typeof n.ap?n.ap(r):"function"==typeof n?function(t){return n(t)(r(t))}:W(function(t,n){return c(t,z(n,r))},[],n)});function tt(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=Array(t)}tt.prototype["@@transducer/init"]=v.init,tt.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},tt.prototype["@@transducer/step"]=function(t,n){return this.store(n),this.full?this.xf["@@transducer/step"](t,this.getCopy()):t},tt.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},tt.prototype.getCopy=function(){return c(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))};var nt=n(d([],n(function(t,n){return new tt(t,n)}),function(t,n){for(var r=0,e=n.length-(t-1),u=Array(e<0?0:e);r<e;)u[r]=Array.prototype.slice.call(n,r,r+t),r+=1;return u})),rt=n(function(t,n){return c(n,[t])}),et=n(function(t,n){return t.apply(this,n)}),ut=o(function(t){for(var n=D(t),r=n.length,e=[],u=0;u<r;)e[u]=t[n[u]],u+=1;return e});function it(r,e){return h(e)?e.map(r):D(e).reduce(function(t,n){return t[n]=r(e[n]),t},{})}var ot=o(function n(t){return t=it(function(t){return"function"==typeof t?t:n(t)},t),p(K(x,0,G("length",ut(t))),function(){var n=arguments;return it(function(t){return et(t,n)},t)})}),ct=n(function(t,n){return n(t)}),at=u(function(t,n,r){var e=t(n),u=t(r);return e<u?-1:u<e?1:0});function st(t,n,r){if(M(t)&&h(r)){var e=[].concat(r);return e[t]=n,e}var u={};for(var i in r)u[i]=r[i];return u[t]=n,u}var ft=o(function(t){return null==t}),lt=u(function t(n,r,e){if(0===n.length)return r;var u=n[0];if(1<n.length){var i=!ft(e)&&U(u,e)?e[u]:M(n[1])?[]:{};r=t(Array.prototype.slice.call(n,1),r,i)}return st(u,r,e)}),pt=u(function(t,n,r){return lt([t],n,r)}),ht=n(function(t,f){switch(t){case 0:return function(){return f.call(this)};case 1:return function(t){return f.call(this,t)};case 2:return function(t,n){return f.call(this,t,n)};case 3:return function(t,n,r){return f.call(this,t,n,r)};case 4:return function(t,n,r,e){return f.call(this,t,n,r,e)};case 5:return function(t,n,r,e,u){return f.call(this,t,n,r,e,u)};case 6:return function(t,n,r,e,u,i){return f.call(this,t,n,r,e,u,i)};case 7:return function(t,n,r,e,u,i,o){return f.call(this,t,n,r,e,u,i,o)};case 8:return function(t,n,r,e,u,i,o,c){return f.call(this,t,n,r,e,u,i,o,c)};case 9:return function(t,n,r,e,u,i,o,c,a){return f.call(this,t,n,r,e,u,i,o,c,a)};case 10:return function(t,n,r,e,u,i,o,c,a,s){return f.call(this,t,n,r,e,u,i,o,c,a,s)};default:throw Error("First argument to nAry must be a non-negative integer no greater than ten")}}),yt=o(function(t){return ht(2,t)});function dt(t){var n=Object.prototype.toString.call(t);return"[object Function]"===n||"[object AsyncFunction]"===n||"[object GeneratorFunction]"===n||"[object AsyncGeneratorFunction]"===n}var gt=n(function(t,n){var r=p(t,n);return p(t,function(){return W(Q,z(r,arguments[0]),Array.prototype.slice.call(arguments,1))})}),vt=o(function(t){return gt(t.length,t)}),mt=n(function(t,n){return dt(t)?function(){return t.apply(this,arguments)&&n.apply(this,arguments)}:vt(J)(t,n)}),bt=o(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))});function xt(a){return function t(n){for(var r,e,u,i=[],o=0,c=n.length;o<c;){if(A(n[o]))for(u=0,e=(r=a?t(n[o]):n[o]).length;u<e;)i[i.length]=r[u],u+=1;else i[i.length]=n[o];o+=1}return i}}function wt(t){var r=function(e){return{"@@transducer/init":v.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){var r=e["@@transducer/step"](t,n);return r["@@transducer/reduced"]?function(t){return{"@@transducer/value":t,"@@transducer/reduced":!0}}(r):r}}}(t);return{"@@transducer/init":v.init,"@@transducer/result":function(t){return r["@@transducer/result"](t)},"@@transducer/step":function(t,n){return A(n)?W(r,t,n):W(r,t,[n])}}}var jt=n(d(["fantasy-land/chain","chain"],n(function(t,n){return z(t,wt(n))}),function(n,r){return"function"==typeof r?function(t){return n(r(t))(t)}:xt(!1)(z(n,r))})),At=u(function(t,n,r){if(n<t)throw Error("min must not be greater than max in clamp(min, max, value)");return r<t?t:n<r?n:r});function Ot(t){return RegExp(t.source,(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":""))}var St=o(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function Et(u,i,o,c){function t(t){for(var n=i.length,r=0;r<n;){if(u===i[r])return o[r];r+=1}for(var e in i[r]=u,o[r]=t,u)u.hasOwnProperty(e)&&(t[e]=c?Et(u[e],i,o,!0):u[e]);return t}switch(St(u)){case"Object":return t(Object.create(Object.getPrototypeOf(u)));case"Array":return t([]);case"Date":return new Date(u.valueOf());case"RegExp":return Ot(u);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return u.slice();default:return u}}var _t=o(function(t){return null!=t&&"function"==typeof t.clone?t.clone():Et(t,[],[],!0)}),It=n(function(e,t){var n=W(function(t,n){var r=e(n);return void 0===t[r]&&(t[r]=[]),t[r].push(n),t},{},t),r=[];for(var u in n)r.push(n[u]);return r}),kt=o(function(r){return function(t,n){return r(t,n)?-1:r(n,t)?1:0}}),Wt=o(function(t){return!t}),qt=vt(Wt);function Nt(t,n){return function(){return n.call(this,t.apply(this,arguments))}}function Ut(r,e){return function(){var t=arguments.length;if(0===t)return e();var n=arguments[t-1];return h(n)||"function"!=typeof n[r]?e.apply(this,arguments):n[r].apply(n,Array.prototype.slice.call(arguments,0,t-1))}}var Ft=u(Ut("slice",function(t,n,r){return Array.prototype.slice.call(r,t,n)})),Pt=o(Ut("tail",Ft(1,1/0)));function Bt(){if(0===arguments.length)throw Error("pipe requires at least one argument");return s(arguments[0].length,K(Nt,arguments[0],Pt(arguments)))}var Ct=o(function(t){return j(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});function Tt(){if(0===arguments.length)throw Error("compose requires at least one argument");return Bt.apply(this,Ct(arguments))}var Rt=L(0);function Dt(t){return t}var zt=o(Dt),Mt=n(function(r,t){if(t.length<=0)return zt;var n=Rt(t),e=Pt(t);return s(n.length,function(){return W(function(t,n){return r.call(this,n,t)},n.apply(this,arguments),e)})}),Lt=n(function(t,n){return Mt.call(this,t,Ct(n))});function Vt(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}function Gt(t,n,r){for(var e=0,u=r.length;e<u;){if(t(n,r[e]))return!0;e+=1}return!1}var Kt="function"==typeof Object.is?Object.is:function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n};function $t(t,n,r,e){var u=Vt(t);function i(t,n){return Ht(t,n,r.slice(),e.slice())}return!Gt(function(t,n){return!Gt(i,n,t)},Vt(n),u)}function Ht(t,n,r,e){if(Kt(t,n))return!0;var u=St(t);if(u!==St(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"===function(t){var n=(t+"").match(/^function (\w*)/);return null==n?"":n[1]}(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(f(t)!==f(n)||!Kt(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!Kt(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;0<=i;){if(r[i]===t)return e[i]===n;i-=1}switch(u){case"Map":return t.size===n.size&&$t(t.entries(),n.entries(),r.concat([t]),e.concat([n]));case"Set":return t.size===n.size&&$t(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=D(t);if(o.length!==D(n).length)return!1;var c=r.concat([t]),a=e.concat([n]);for(i=o.length-1;0<=i;){var s=o[i];if(!U(s,n)||!Ht(n[s],t[s],c,a))return!1;i-=1}return!0}var Jt=n(function(t,n){return Ht(t,n,[],[])});function Xt(t,n,r){var e,u;if("function"==typeof t.indexOf)switch(f(n)){case"number":if(0===n){for(e=1/n;r<t.length;){if(0===(u=t[r])&&1/u==e)return r;r+=1}return-1}if(n==n)return t.indexOf(n,r);for(;r<t.length;){if("number"==typeof(u=t[r])&&u!=u)return r;r+=1}return-1;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(Jt(t[r],n))return r;r+=1}return-1}function Yt(t,n){return 0<=Xt(n,t,0)}function Zt(t){return'"'+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").replace(/"/g,'\\"')+'"'}function Qt(t){return(t<10?"0":"")+t}var tn="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Qt(1+t.getUTCMonth())+"-"+Qt(t.getUTCDate())+"T"+Qt(t.getUTCHours())+":"+Qt(t.getUTCMinutes())+":"+Qt(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function nn(t){return function(){return!t.apply(this,arguments)}}function rn(t,n){for(var r=0,e=n.length,u=[];r<e;)t(n[r])&&(u[u.length]=n[r]),r+=1;return u}function en(t){return"[object Object]"===Object.prototype.toString.call(t)}function un(t,n){this.xf=n,this.f=t}un.prototype["@@transducer/init"]=v.init,un.prototype["@@transducer/result"]=v.result,un.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):t};var on=n(d(["fantasy-land/filter","filter"],n(function(t,n){return new un(t,n)}),function(r,e){return en(e)?W(function(t,n){return r(e[n])&&(t[n]=e[n]),t},{},D(e)):rn(r,e)})),cn=n(function(t,n){return on(nn(t),n)});function an(r,e){function u(t){var n=e.concat([r]);return Yt(t,n)?"<Circular>":an(t,n)}function t(n,t){return w(function(t){return Zt(t)+": "+u(n[t])},t.slice().sort())}switch(Object.prototype.toString.call(r)){case"[object Arguments]":return"(function() { return arguments; }("+w(u,r).join(", ")+"))";case"[object Array]":return"["+w(u,r).concat(t(r,cn(function(t){return/^\d+$/.test(t)},D(r)))).join(", ")+"]";case"[object Boolean]":return"object"===f(r)?"new Boolean("+u(r.valueOf())+")":""+r;case"[object Date]":return"new Date("+(isNaN(r.valueOf())?u(NaN):Zt(tn(r)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===f(r)?"new Number("+u(r.valueOf())+")":1/r==-1/0?"-0":r.toString(10);case"[object String]":return"object"===f(r)?"new String("+u(r.valueOf())+")":Zt(r);case"[object Undefined]":return"undefined";default:if("function"==typeof r.toString){var n=""+r;if("[object Object]"!=n)return n}return"{"+t(r,D(r)).join(", ")+"}"}}var sn=o(function(t){return an(t,[])}),fn=n(function(t,n){if(h(t)){if(h(n))return t.concat(n);throw new TypeError(sn(n)+" is not an array")}if(j(t)){if(j(n))return t+n;throw new TypeError(sn(n)+" is not a string")}if(null!=t&&dt(t["fantasy-land/concat"]))return t["fantasy-land/concat"](n);if(null!=t&&dt(t.concat))return t.concat(n);throw new TypeError(sn(t)+' does not have a method named "concat" or "fantasy-land/concat"')}),ln=o(function(n){return s(K(x,0,z(function(t){return t[0].length},n)),function(){for(var t=0;t<n.length;){if(n[t][0].apply(this,arguments))return n[t][1].apply(this,arguments);t+=1}})}),pn=o(function(t){return p(t.length,t)}),hn=n(function(t,f){if(10<t)throw Error("Constructor with greater than ten arguments");return 0===t?function(){return new f}:pn(ht(t,function(t,n,r,e,u,i,o,c,a,s){switch(arguments.length){case 1:return new f(t);case 2:return new f(t,n);case 3:return new f(t,n,r);case 4:return new f(t,n,r,e);case 5:return new f(t,n,r,e,u);case 6:return new f(t,n,r,e,u,i);case 7:return new f(t,n,r,e,u,i,o);case 8:return new f(t,n,r,e,u,i,o,c);case 9:return new f(t,n,r,e,u,i,o,c,a);case 10:return new f(t,n,r,e,u,i,o,c,a,s)}}))}),yn=o(function(t){return hn(t.length,t)}),dn=n(function(t,e){return p(K(x,0,G("length",e)),function(){var n=arguments,r=this;return t.apply(r,w(function(t){return t.apply(r,n)},e))})}),gn=pn(function(r,t){return W(function(t,n){return r(n)?t+1:t},0,t)});function vn(t,n,r,e){this.valueFn=t,this.valueAcc=n,this.keyFn=r,this.xf=e,this.inputs={}}vn.prototype["@@transducer/init"]=v.init,vn.prototype["@@transducer/result"]=function(t){var n;for(n in this.inputs)if(U(n,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[n]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},vn.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 mn=l(4,[],d([],l(4,[],function(t,n,r,e){return new vn(t,n,r,e)}),function(u,i,o,t){return W(function(t,n){var r=o(n),e=u(U(r,t)?t[r]:Et(i,[],[],!1),n);return e&&e["@@transducer/reduced"]?g(t):(t[r]=e,t)},{},t)})),bn=mn(function(t,n){return t+1},0),xn=r(-1),wn=n(function(t,n){return null==n||n!=n?t:n}),jn=u(function(t,n,r){var e=t(n),u=t(r);return u<e?-1:e<u?1:0});function An(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function On(t,n,r){var e,u=f(t);switch(u){case"string":case"number":return 0===t&&1/t==-1/0?!!r._items["-0"]||(n&&(r._items["-0"]=!0),!1):null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):u in r._items?t in r._items[u]||(n&&(r._items[u][t]=!0),!1):(n&&(r._items[u]={},r._items[u][t]=!0),!1);case"boolean":if(u in r._items){var i=t?1:0;return!!r._items[u][i]||(n&&(r._items[u][i]=!0),!1)}return n&&(r._items[u]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):u in r._items?!!Yt(t,r._items[u])||(n&&r._items[u].push(t),!1):(n&&(r._items[u]=[t]),!1);case"undefined":return!!r._items[u]||(n&&(r._items[u]=!0),!1);case"object":if(null===t)return!!r._items.null||(n&&(r._items.null=!0),!1);default:return(u=Object.prototype.toString.call(t))in r._items?!!Yt(t,r._items[u])||(n&&r._items[u].push(t),!1):(n&&(r._items[u]=[t]),!1)}}An.prototype.add=function(t){return!On(t,!0,this)},An.prototype.has=function(t){return On(t,!1,this)};var Sn=n(function(t,n){for(var r=[],e=0,u=t.length,i=n.length,o=new An,c=0;c<i;c+=1)o.add(n[c]);for(;e<u;)o.add(t[e])&&(r[r.length]=t[e]),e+=1;return r}),En=u(function(t,n,r){for(var e=[],u=0,i=n.length;u<i;)Gt(t,n[u],r)||Gt(t,n[u],e)||e.push(n[u]),u+=1;return e}),_n=u(function(t,n,r){var e=Array.prototype.slice.call(r,0);return e.splice(t,n),e});var In=n(function t(n,r){if(null==r)return r;switch(n.length){case 0:return r;case 1:return function(t,n){if(null==n)return n;if(M(t)&&h(n))return _n(t,1,n);var r={};for(var e in n)r[e]=n[e];return delete r[t],r}(n[0],r);default:var e=n[0],u=Array.prototype.slice.call(n,1);return null==r[e]?function(t,n){if(M(t)&&h(n))return[].concat(n);var r={};for(var e in n)r[e]=n[e];return r}(e,r):pt(e,t(u,r[e]),r)}}),kn=n(function(t,n){return In([t],n)}),Wn=n(function(t,n){return t/n});function qn(t,n){this.xf=n,this.n=t}qn.prototype["@@transducer/init"]=v.init,qn.prototype["@@transducer/result"]=v.result,qn.prototype["@@transducer/step"]=function(t,n){return 0<this.n?(this.n-=1,t):this.xf["@@transducer/step"](t,n)};var Nn=n(d(["drop"],n(function(t,n){return new qn(t,n)}),function(t,n){return Ft(Math.max(0,t),1/0,n)}));function Un(t,n){this.xf=n,this.n=t,this.i=0}Un.prototype["@@transducer/init"]=v.init,Un.prototype["@@transducer/result"]=v.result,Un.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?r:g(r)};var Fn=n(d(["take"],n(function(t,n){return new Un(t,n)}),function(t,n){return Ft(0,t<0?1/0:t,n)}));function Pn(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=Array(t)}Pn.prototype["@@transducer/init"]=v.init,Pn.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},Pn.prototype["@@transducer/step"]=function(t,n){return this.full&&(t=this.xf["@@transducer/step"](t,this.acc[this.pos])),this.store(n),t},Pn.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)};var Bn=n(d([],n(function(t,n){return new Pn(t,n)}),function(t,n){return Fn(t<n.length?n.length-t:0,n)}));function Cn(t,n){this.f=t,this.retained=[],this.xf=n}Cn.prototype["@@transducer/init"]=v.init,Cn.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},Cn.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.retain(t,n):this.flush(t,n)},Cn.prototype.flush=function(t,n){return t=W(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,n)},Cn.prototype.retain=function(t,n){return this.retained.push(n),t};var Tn=n(d([],n(function(t,n){return new Cn(t,n)}),function(t,n){for(var r=n.length-1;0<=r&&t(n[r]);)r-=1;return Ft(0,r+1,n)}));function Rn(t,n){this.xf=n,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}Rn.prototype["@@transducer/init"]=v.init,Rn.prototype["@@transducer/result"]=v.result,Rn.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 Dn=n(function(t,n){return new Rn(t,n)}),zn=L(-1),Mn=n(d([],Dn,function(t,n){var r=[],e=1,u=n.length;if(0!==u)for(r[0]=n[0];e<u;)t(zn(r),n[e])||(r[r.length]=n[e]),e+=1;return r})),Ln=o(d([],Dn(Jt),Mn(Jt)));function Vn(t,n){this.xf=n,this.f=t}Vn.prototype["@@transducer/init"]=v.init,Vn.prototype["@@transducer/result"]=v.result,Vn.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 Gn=n(d(["dropWhile"],n(function(t,n){return new Vn(t,n)}),function(t,n){for(var r=0,e=n.length;r<e&&t(n[r]);)r+=1;return Ft(r,1/0,n)})),Kn=n(function(t,n){return t||n}),$n=n(function(t,n){return dt(t)?function(){return t.apply(this,arguments)||n.apply(this,arguments)}:vt(Kn)(t,n)});var Hn=o(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():h(t)?[]:j(t)?"":en(t)?{}:B(t)?function(){return arguments}():function(t){var n=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===n||"[object Int8Array]"===n||"[object Uint8Array]"===n||"[object Int16Array]"===n||"[object Uint16Array]"===n||"[object Int32Array]"===n||"[object Uint32Array]"===n||"[object Float32Array]"===n||"[object Float64Array]"===n||"[object BigInt64Array]"===n||"[object BigUint64Array]"===n}(t)?t.constructor.from(""):void 0}),Jn=n(function(t,n){return Nn(t<0?0:n.length-t,n)}),Xn=n(function(t,n){return Jt(Jn(t.length,n),t)}),Yn=u(function(t,n,r){return Jt(t(n),t(r))}),Zn=u(function(t,n,r){return Jt(n[t],r[t])}),Qn=n(function t(n,r){if(!en(r)&&!h(r))return r;var e,u,i,o=r instanceof Array?[]:{};for(u in r)i=f(e=n[u]),o[u]="function"===i?e(r[u]):e&&"object"===i?t(e,r[u]):r[u];return o});function tr(t,n){this.xf=n,this.f=t,this.found=!1}tr.prototype["@@transducer/init"]=v.init,tr.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},tr.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.found=!0,t=g(this.xf["@@transducer/step"](t,n))),t};var nr=n(d(["find"],n(function(t,n){return new tr(t,n)}),function(t,n){for(var r=0,e=n.length;r<e;){if(t(n[r]))return n[r];r+=1}}));function rr(t,n){this.xf=n,this.f=t,this.idx=-1,this.found=!1}rr.prototype["@@transducer/init"]=v.init,rr.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},rr.prototype["@@transducer/step"]=function(t,n){return this.idx+=1,this.f(n)&&(this.found=!0,t=g(this.xf["@@transducer/step"](t,this.idx))),t};var er=n(d([],n(function(t,n){return new rr(t,n)}),function(t,n){for(var r=0,e=n.length;r<e;){if(t(n[r]))return r;r+=1}return-1}));function ur(t,n){this.xf=n,this.f=t}ur.prototype["@@transducer/init"]=v.init,ur.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.last))},ur.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.last=n),t};var ir=n(d([],n(function(t,n){return new ur(t,n)}),function(t,n){for(var r=n.length-1;0<=r;){if(t(n[r]))return n[r];r-=1}}));function or(t,n){this.xf=n,this.f=t,this.idx=-1,this.lastIdx=-1}or.prototype["@@transducer/init"]=v.init,or.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},or.prototype["@@transducer/step"]=function(t,n){return this.idx+=1,this.f(n)&&(this.lastIdx=this.idx),t};var cr=n(d([],n(function(t,n){return new or(t,n)}),function(t,n){for(var r=n.length-1;0<=r;){if(t(n[r]))return r;r-=1}return-1})),ar=o(xt(!0)),sr=o(function(e){return p(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),fr=n(Ut("forEach",function(t,n){for(var r=n.length,e=0;e<r;)t(n[e]),e+=1;return n})),lr=n(function(t,n){for(var r=D(n),e=0;e<r.length;){var u=r[e];t(n[u],u,n),e+=1}return n}),pr=o(function(t){for(var n={},r=0;r<t.length;)n[t[r][0]]=t[r][1],r+=1;return n}),hr=n(Ut("groupBy",mn(function(t,n){return t.push(n),t},[]))),yr=n(function(t,n){for(var r=[],e=0,u=n.length;e<u;){for(var i=e+1;i<u&&t(n[i-1],n[i]);)i+=1;r.push(n.slice(e,i)),e=i}return r}),dr=n(function(t,n){return n<t}),gr=n(function(t,n){return n<=t}),vr=n(function(t,n){if(0===t.length||ft(n))return!1;for(var r=n,e=0;e<t.length;){if(ft(r)||!U(t[e],r))return!1;r=r[t[e]],e+=1}return!0}),mr=n(function(t,n){return vr([t],n)}),br=n(function(t,n){return!ft(n)&&t in n}),xr=n(Kt),wr=u(function(t,n,r){return p(Math.max(t.length,n.length,r.length),function(){return t.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})}),jr=r(1),Ar=n(Yt),Or=mn(function(t,n){return n},null),Sr=n(function(t,n){return"function"!=typeof n.indexOf||h(n)?Xt(n,t,0):n.indexOf(t)}),Er=Ft(0,-1),_r=u(function(n,t,r){return rn(function(t){return Gt(n,t,r)},t)}),Ir=u(function(t,n,r){t=t<r.length&&0<=t?t:r.length;var e=Array.prototype.slice.call(r,0);return e.splice(t,0,n),e}),kr=u(function(t,n,r){return[].concat(Array.prototype.slice.call(r,0,t=t<r.length&&0<=t?t:r.length),n,Array.prototype.slice.call(r,t))});function Wr(t,n){this.xf=n,this.f=t,this.set=new An}Wr.prototype["@@transducer/init"]=v.init,Wr.prototype["@@transducer/result"]=v.result,Wr.prototype["@@transducer/step"]=function(t,n){return this.set.add(this.f(n))?this.xf["@@transducer/step"](t,n):t};var qr=n(d([],n(function(t,n){return new Wr(t,n)}),function(t,n){for(var r,e,u=new An,i=[],o=0;o<n.length;)r=t(e=n[o]),u.add(r)&&i.push(e),o+=1;return i})),Nr=qr(zt),Ur=n(function(t,n){var r,e;return e=n.length<t.length?(r=t,n):(r=n,t),Nr(rn(sr(Yt)(r),e))}),Fr=n(Ut("intersperse",function(t,n){for(var r=[],e=0,u=n.length;e<u;)e===u-1?r.push(n[e]):r.push(n[e],t),e+=1;return r}));var Pr="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,e=arguments.length;r<e;){var u=arguments[r];if(null!=u)for(var i in u)U(i,u)&&(n[i]=u[i]);r+=1}return n},Br=n(function(t,n){var r={};return r[t]=n,r}),Cr={"@@transducer/init":Array,"@@transducer/step":function(t,n){return t.push(n),t},"@@transducer/result":Dt},Tr={"@@transducer/init":String,"@@transducer/step":function(t,n){return t+n},"@@transducer/result":Dt},Rr={"@@transducer/init":Object,"@@transducer/step":function(t,n){return Pr(t,A(n)?Br(n[0],n[1]):n)},"@@transducer/result":Dt};var Dr=u(function(t,n,r){return y(t)?W(n(t),t["@@transducer/init"](),r):W(n(function(t){if(y(t))return t;if(A(t))return Cr;if("string"==typeof t)return Tr;if("object"===f(t))return Rr;throw Error("Cannot create transformer for "+t)}(t)),Et(t,[],[],!1),r)}),zr=o(function(t){for(var n=D(t),r=n.length,e=0,u={};e<r;){var i=n[e],o=t[i],c=U(o,u)?u[o]:u[o]=[];c[c.length]=i,e+=1}return u}),Mr=o(function(t){for(var n=D(t),r=n.length,e=0,u={};e<r;){var i=n[e];u[t[i]]=i,e+=1}return u}),Lr=n(function(n,r){return p(n+1,function(){var t=arguments[n];if(null!=t&&dt(t[r]))return t[r].apply(t,Array.prototype.slice.call(arguments,0,n));throw new TypeError(sn(t)+' does not have a method named "'+r+'"')})}),Vr=n(function(t,n){return n instanceof t||null!=n&&(n.constructor===t||"Object"===t.name&&"object"===f(n))}),Gr=o(function(t){return null!=t&&Jt(t,Hn(t))}),Kr=Lr(1,"join"),$r=o(function(t){return dn(function(){return Array.prototype.slice.call(arguments,0)},t)}),Hr=o(function(t){var n,r=[];for(n in t)r[r.length]=n;return r}),Jr=n(function(t,n){if("function"!=typeof n.lastIndexOf||h(n)){for(var r=n.length-1;0<=r;){if(Jt(n[r],t))return r;r-=1}return-1}return n.lastIndexOf(t)});function Xr(t){return"[object Number]"===Object.prototype.toString.call(t)}var Yr=o(function(t){return null!=t&&Xr(t.length)?t.length:NaN}),Zr=n(function(r,e){return function(t){return function(n){return z(function(t){return e(t,n)},t(r(n)))}}}),Qr=u(function(t,n,r){return i(t,H(n),r)}),te=o(function(t){return Zr(L(t),Qr(t))}),ne=n(function(t,u){return t.map(function(t){for(var n,r=u,e=0;e<t.length;){if(null==r)return;r=M(n=t[e])?L(n,r):r[n],e+=1}return r})}),re=n(function(t,n){return ne([t],n)[0]}),ee=o(function(t){return Zr(re(t),lt(t))}),ue=o(function(t){return Zr(V(t),pt(t))}),ie=n(function(t,n){return t<n}),oe=n(function(t,n){return t<=n}),ce=u(function(t,n,r){for(var e=0,u=r.length,i=[],o=[n];e<u;)o=t(o[0],r[e]),i[e]=o[1],e+=1;return[o[0],i]}),ae=u(function(t,n,r){for(var e=r.length-1,u=[],i=[n];0<=e;)i=t(i[0],r[e]),u[e]=i[1],e-=1;return[i[0],u]}),se=n(function(r,e){return W(function(t,n){return t[n]=r(e[n],n,e),t},{},D(e))}),fe=n(function(t,n){return n.match(t)||[]}),le=n(function(t,n){return M(t)?!M(n)||n<1?NaN:(t%n+n)%n:NaN}),pe=u(function(t,n,r){return t(r)>t(n)?r:n}),he=K(r,0),ye=o(function(t){return he(t)/t.length}),de=o(function(t){var n=t.length;if(0===n)return NaN;var r=2-n%2,e=(n-r)/2;return ye(Array.prototype.slice.call(t,0).sort(function(t,n){return t<n?-1:n<t?1:0}).slice(e,e+r))}),ge=n(function(n,r){var e={};return s(r.length,function(){var t=n.apply(this,arguments);return U(t,e)||(e[t]=r.apply(this,arguments)),e[t]})}),ve=o(function(t){return Pr.apply(null,[{}].concat(t))}),me=u(function(t,n,r){var e,u={};for(e in n)U(e,n)&&(u[e]=U(e,r)?t(e,n[e],r[e]):n[e]);for(e in r)U(e,r)&&!U(e,u)&&(u[e]=r[e]);return u}),be=u(function e(u,t,n){return me(function(t,n,r){return en(n)&&en(r)?e(u,n,r):u(t,n,r)},t,n)}),xe=n(function(t,n){return be(function(t,n,r){return n},t,n)}),we=n(function(t,n){return be(function(t,n,r){return r},t,n)}),je=u(function(e,t,n){return be(function(t,n,r){return e(n,r)},t,n)}),Ae=n(function(t,n){return Pr({},n,t)}),Oe=n(function(t,n){return Pr({},t,n)}),Se=u(function(e,t,n){return me(function(t,n,r){return e(n,r)},t,n)}),Ee=n(function(t,n){return n<t?n:t}),_e=u(function(t,n,r){return t(r)<t(n)?r:n});var Ie=u(function t(n,r,e){if(!en(e)&&!h(e)||0===n.length)return e;var u=n[0];if(!U(u,e))return e;if(1===n.length)return function(t,n,r){if(M(t)&&h(r)){var e=[].concat(r);return e[t]=n(e[t]),e}var u={};for(var i in r)u[i]=r[i];return u[t]=n(u[t]),u}(u,r,e);var i=t(Array.prototype.slice.call(n,1),r,e[u]);return i===e[u]?e:st(u,i,e)}),ke=u(function(t,n,r){return Ie([t],n,r)}),We=n(function(t,n){return t%n}),qe=u(function(t,n,r){var e=r.length,u=r.slice(),i=t<0?e+t:t,o=n<0?e+n:n,c=u.splice(i,1);return i<0||r.length<=i||o<0||r.length<=o?r:[].concat(u.slice(0,o)).concat(c).concat(u.slice(o,r.length))}),Ne=n(function(t,n){return t*n}),Ue=n(function(n,r){return function(t){return n.call(void 0,we(r,t))}}),Fe=o(function(t){return-t}),Pe=n(function(t,n){return b(nn(t),n)}),Be=o(function(t){return p(t<0?1:t+1,function(){return L(t,arguments)})}),Ce=u(function(t,n,r){return t(n(r))});var Te=o(function(t){return[t]}),Re=n(function(t,n){for(var r={},e={},u=0,i=t.length;u<i;)u+=e[t[u]]=1;for(var o in n)e.hasOwnProperty(o)||(r[o]=n[o]);return r}),De=l(4,[],function(t,n,r,e){return t(n(r),n(e))}),ze=o(function(t){var n,r=!1;return s(t.length,function(){return r?n:(r=!0,n=t.apply(this,arguments))})});function Me(t,n){if(null==n||!dt(n.then))throw new TypeError("`"+t+"` expected a Promise, received "+an(n,[]))}var Le=n(function(t,n){return Me("otherwise",n),n.then(null,t)}),Ve=u(function(t,n,r){return t(function(t){return function n(r){return{value:r,map:function(t){return n(t(r))}}}(n(t))})(r).value}),Ge=n(function(t,n){return[t,n]});function Ke(r){return n(function(t,n){return s(Math.max(0,t.length-n.length),function(){return t.apply(this,r(n,arguments))})})}var $e=Ke(c),He=Ke(sr(c)),Je=$r([on,cn]),Xe=u(function(t,n,r){return Jt(re(t,r),n)}),Ye=u(function(t,n,r){return wn(t,re(n,r))}),Ze=u(function(t,n,r){return t(re(n,r))}),Qe=n(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}),tu=n(function(t,n){for(var r={},e=0,u=t.length;e<u;){var i=t[e];r[i]=n[i],e+=1}return r}),nu=n(function(t,n){var r={};for(var e in n)t(n[e],e,n)&&(r[e]=n[e]);return r}),ru=n(function(t,n){return c([t],n)}),eu=K(Ne,1),uu=n(function(r,e){return p(e.length,function(){for(var t=[],n=0;n<e.length;)t.push(e[n].call(this,arguments[n])),n+=1;return r.apply(this,t.concat(Array.prototype.slice.call(arguments,e.length)))})}),iu=uu(w,[tu,zt]);function ou(n,r,e){return function(t){return r(e(n(t)))}}function cu(t,n,r){this.xf=r,this.f=t,this.g=n}cu.prototype["@@transducer/init"]=v.init,cu.prototype["@@transducer/result"]=v.result,cu.prototype["@@transducer/step"]=function(t,n){return this.xf["@@transducer/step"](t,ou(this.f,this.g,n))};var au=u(d(["fantasy-land/promap","promap"],u(function(t,n,r){return new cu(t,n,r)}),ou)),su=u(function(t,n,r){return Jt(n,V(t,r))}),fu=u(function(t,n,r){return Vr(t,V(n,r))}),lu=u(function(t,n,r){return wn(t,V(n,r))}),pu=u(function(t,n,r){return t(V(n,r))}),hu=n(function(t,n){return t.map(function(t){return re([t],n)})}),yu=n(function(t,n){if(!Xr(t)||!Xr(n))throw new TypeError("Both arguments to range must be numbers");for(var r=[],e=t;e<n;)r.push(e),e+=1;return r}),du=u(function(t,n,r){for(var e=r.length-1;0<=e;){if((n=t(r[e],n))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e-=1}return n}),gu=l(4,[],function(r,e,t,n){return W(function(t,n){return r(t,n)?e(t,n):g(t)},t,n)}),vu=o(g),mu=n(function(t,n){var r,e=+n,u=0;if(e<0||isNaN(e))throw new RangeError("n must be a non-negative number");for(r=Array(e);u<e;)r[u]=t(u),u+=1;return r}),bu=n(function(t,n){return mu(H(t),n)}),xu=u(function(t,n,r){return r.replace(t,n)}),wu=u(function(t,n,r){for(var e=0,u=r.length,i=[n];e<u;)n=t(n,r[e]),i[e+1]=n,e+=1;return i}),ju=n(function(t,n){return"function"==typeof n.sequence?n.sequence(t):du(function(t,n){return Q(z(ru,t),n)},t([]),n)}),Au=u(function(t,n,r){return Ve(t,H(n),r)}),Ou=n(function(t,n){return Array.prototype.slice.call(n,0).sort(t)}),Su=n(function(u,t){return Array.prototype.slice.call(t,0).sort(function(t,n){var r=u(t),e=u(n);return r<e?-1:e<r?1:0})}),Eu=n(function(u,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,e=0;0===r&&e<u.length;)r=u[e](t,n),e+=1;return r})}),_u=Lr(1,"split"),Iu=n(function(t,n){return[Ft(0,t,n),Ft(t,Yr(n),n)]}),ku=n(function(t,n){if(t<=0)throw Error("First argument to splitEvery must be a positive integer");for(var r=[],e=0;e<n.length;)r.push(Ft(e,e+=t,n));return r}),Wu=n(function(t,n){for(var r=0,e=n.length,u=[];r<e&&!t(n[r]);)u.push(n[r]),r+=1;return[u,Array.prototype.slice.call(n,r)]}),qu=l(2,[],function(t,n){for(var r=[],e=[],u=0;u<n.length;u+=1)t(n[u])||e.push(n[u]),(u<n.length-1&&t(n[u+1])||u===n.length-1)&&0<e.length&&(r.push(e),e=[]);return r}),Nu=n(function(t,n){return Jt(Fn(t.length,n),t)}),Uu=n(function(t,n){return+t-+n}),Fu=n(function(t,n){return fn(Sn(t,n),Sn(n,t))}),Pu=u(function(t,n,r){return fn(En(t,n,r),En(t,r,n))}),Bu=n(function(t,n){for(var r=n.length-1;0<=r&&t(n[r]);)r-=1;return Ft(r+1,1/0,n)});function Cu(t,n){this.xf=n,this.f=t}Cu.prototype["@@transducer/init"]=v.init,Cu.prototype["@@transducer/result"]=v.result,Cu.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):g(t)};var Tu=n(d(["takeWhile"],n(function(t,n){return new Cu(t,n)}),function(t,n){for(var r=0,e=n.length;r<e&&t(n[r]);)r+=1;return Ft(0,r,n)}));function Ru(t,n){this.xf=n,this.f=t}Ru.prototype["@@transducer/init"]=v.init,Ru.prototype["@@transducer/result"]=v.result,Ru.prototype["@@transducer/step"]=function(t,n){return this.f(n),this.xf["@@transducer/step"](t,n)};var Du=n(d([],n(function(t,n){return new Ru(t,n)}),function(t,n){return t(n),n}));var zu=n(function(t,n){if(!function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}(t))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+sn(t));return Ot(t).test(n)}),Mu=n(function(t,n){return Me("andThen",n),n.then(t)}),Lu=Lr(0,"toLowerCase"),Vu=o(function(t){var n=[];for(var r in t)U(r,t)&&(n[n.length]=[r,t[r]]);return n}),Gu=o(function(t){var n=[];for(var r in t)n[n.length]=[r,t[r]];return n}),Ku=Lr(0,"toUpperCase"),$u=p(4,function(t,n,r,e){return W(t("function"==typeof n?S(n):n),r,e)}),Hu=o(function(t){for(var n=0,r=[];n<t.length;){for(var e=t[n],u=0;u<e.length;)void 0===r[u]&&(r[u]=[]),r[u].push(e[u]),u+=1;n+=1}return r}),Ju=u(function(t,n,r){return"function"==typeof r["fantasy-land/traverse"]?r["fantasy-land/traverse"](n,t):"function"==typeof r.traverse?r.traverse(n,t):ju(t,z(n,r))}),Xu="\t\n\v\f\r \u2028\u2029\ufeff",Yu=!("function"==typeof String.prototype.trim)||Xu.trim()?o(function(t){var n=RegExp("^["+Xu+"]["+Xu+"]*"),r=RegExp("["+Xu+"]["+Xu+"]*$");return t.replace(n,"").replace(r,"")}):o(function(t){return t.trim()}),Zu=n(function(t,n){return s(t.length,function(){try{return t.apply(this,arguments)}catch(t){return n.apply(this,c([t],arguments))}})}),Qu=o(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}}),ti=o(function(t){return ht(1,t)}),ni=n(function(u,i){return p(u,function(){for(var t,n=1,r=i,e=0;n<=u&&"function"==typeof r;)r=r.apply(this,Array.prototype.slice.call(arguments,e,t=n===u?arguments.length:e+r.length)),n+=1,e=t;return r})}),ri=n(function(t,n){for(var r=t(n),e=[];r&&r.length;)e[e.length]=r[0],r=t(r[1]);return e}),ei=n(Tt(Nr,c));function ui(t,n){this.xf=n,this.pred=t,this.items=[]}ui.prototype["@@transducer/init"]=v.init,ui.prototype["@@transducer/result"]=v.result,ui.prototype["@@transducer/step"]=function(t,n){return Gt(this.pred,n,this.items)?t:(this.items.push(n),this.xf["@@transducer/step"](t,n))};function ii(t){return{value:t,"fantasy-land/map":function(){return this}}}var oi=n(d([],n(function(t,n){return new ui(t,n)}),function(t,n){for(var r,e=0,u=n.length,i=[];e<u;)Gt(t,r=n[e],i)||(i[i.length]=r),e+=1;return i})),ci=u(function(t,n,r){return oi(t,c(n,r))}),ai=u(function(t,n,r){return t(r)?r:n(r)}),si=jt(Dt),fi=u(function(t,n,r){for(var e=r;!t(e);)e=n(e);return e}),li=n(function(n,r){return n in r&&h(r[n])?w(function(t){return st(n,t,r)},r[n]):[r]}),pi=o(function(t){var n,r=[];for(n in t)r[r.length]=t[n];return r}),hi=n(function(t,n){return t(ii)(n).value}),yi=u(function(t,n,r){return t(r)?n(r):r}),di=n(function(t,n){for(var r in t)if(U(r,t)&&!t[r](n[r]))return!1;return!0}),gi=n(function(t,n){for(var r in t)if(U(r,t)&&t[r](n[r]))return!0;return!1}),vi=n(function(t,n){return di(z(Jt,t),n)}),mi=n(function(t,n){return cn(sr(Yt)(t),n)}),bi=n(function(t,n){return!!(!t^!n)}),xi=n(function(t,n){for(var r,e=0,u=t.length,i=n.length,o=[];e<u;){for(r=0;r<i;)o[o.length]=[t[e],n[r]],r+=1;e+=1}return o}),wi=n(function(t,n){for(var r=[],e=0,u=Math.min(t.length,n.length);e<u;)r[e]=[t[e],n[e]],e+=1;return r}),ji=n(function(t,n){for(var r=0,e=Math.min(t.length,n.length),u={};r<e;)u[t[r]]=n[r],r+=1;return u}),Ai=u(function(t,n,r){for(var e=[],u=0,i=Math.min(n.length,r.length);u<i;)e[u]=t(n[u],r[u]),u+=1;return e}),Oi=o(function(n){return p(n.length,function(){var t=arguments;return function(){return n.apply(this,t)}})});t.F=function(){return!1},t.T=function(){return!0},t.__={"@@functional/placeholder":!0},t.add=r,t.addIndex=e,t.adjust=i,t.all=b,t.allPass=$,t.always=H,t.and=J,t.andThen=Mu,t.any=Y,t.anyPass=Z,t.ap=Q,t.aperture=nt,t.append=rt,t.apply=et,t.applySpec=ot,t.applyTo=ct,t.ascend=at,t.assoc=pt,t.assocPath=lt,t.binary=yt,t.bind=E,t.both=mt,t.call=bt,t.chain=jt,t.clamp=At,t.clone=_t,t.collectBy=It,t.comparator=kt,t.complement=qt,t.compose=Tt,t.composeWith=Lt,t.concat=fn,t.cond=ln,t.construct=yn,t.constructN=hn,t.converge=dn,t.count=gn,t.countBy=bn,t.curry=pn,t.curryN=p,t.dec=xn,t.defaultTo=wn,t.descend=jn,t.difference=Sn,t.differenceWith=En,t.dissoc=kn,t.dissocPath=In,t.divide=Wn,t.drop=Nn,t.dropLast=Bn,t.dropLastWhile=Tn,t.dropRepeats=Ln,t.dropRepeatsWith=Mn,t.dropWhile=Gn,t.either=$n,t.empty=Hn,t.endsWith=Xn,t.eqBy=Yn,t.eqProps=Zn,t.equals=Jt,t.evolve=Qn,t.filter=on,t.find=nr,t.findIndex=er,t.findLast=ir,t.findLastIndex=cr,t.flatten=ar,t.flip=sr,t.forEach=fr,t.forEachObjIndexed=lr,t.fromPairs=pr,t.groupBy=hr,t.groupWith=yr,t.gt=dr,t.gte=gr,t.has=mr,t.hasIn=br,t.hasPath=vr,t.head=Rt,t.identical=xr,t.identity=zt,t.ifElse=wr,t.inc=jr,t.includes=Ar,t.indexBy=Or,t.indexOf=Sr,t.init=Er,t.innerJoin=_r,t.insert=Ir,t.insertAll=kr,t.intersection=Ur,t.intersperse=Fr,t.into=Dr,t.invert=zr,t.invertObj=Mr,t.invoker=Lr,t.is=Vr,t.isEmpty=Gr,t.isNil=ft,t.join=Kr,t.juxt=$r,t.keys=D,t.keysIn=Hr,t.last=zn,t.lastIndexOf=Jr,t.length=Yr,t.lens=Zr,t.lensIndex=te,t.lensPath=ee,t.lensProp=ue,t.lift=vt,t.liftN=gt,t.lt=ie,t.lte=oe,t.map=z,t.mapAccum=ce,t.mapAccumRight=ae,t.mapObjIndexed=se,t.match=fe,t.mathMod=le,t.max=x,t.maxBy=pe,t.mean=ye,t.median=de,t.memoizeWith=ge,t.mergeAll=ve,t.mergeDeepLeft=xe,t.mergeDeepRight=we,t.mergeDeepWith=je,t.mergeDeepWithKey=be,t.mergeLeft=Ae,t.mergeRight=Oe,t.mergeWith=Se,t.mergeWithKey=me,t.min=Ee,t.minBy=_e,t.modify=ke,t.modifyPath=Ie,t.modulo=We,t.move=qe,t.multiply=Ne,t.nAry=ht,t.negate=Fe,t.none=Pe,t.not=Wt,t.nth=L,t.nthArg=Be,t.o=Ce,t.objOf=Br,t.of=Te,t.omit=Re,t.on=De,t.once=ze,t.or=Kn,t.otherwise=Le,t.over=Ve,t.pair=Ge,t.partial=$e,t.partialObject=Ue,t.partialRight=He,t.partition=Je,t.path=re,t.pathEq=Xe,t.pathOr=Ye,t.pathSatisfies=Ze,t.paths=ne,t.pick=Qe,t.pickAll=tu,t.pickBy=nu,t.pipe=Bt,t.pipeWith=Mt,t.pluck=G,t.prepend=ru,t.product=eu,t.project=iu,t.promap=au,t.prop=V,t.propEq=su,t.propIs=fu,t.propOr=lu,t.propSatisfies=pu,t.props=hu,t.range=yu,t.reduce=K,t.reduceBy=mn,t.reduceRight=du,t.reduceWhile=gu,t.reduced=vu,t.reject=cn,t.remove=_n,t.repeat=bu,t.replace=xu,t.reverse=Ct,t.scan=wu,t.sequence=ju,t.set=Au,t.slice=Ft,t.sort=Ou,t.sortBy=Su,t.sortWith=Eu,t.split=_u,t.splitAt=Iu,t.splitEvery=ku,t.splitWhen=Wu,t.splitWhenever=qu,t.startsWith=Nu,t.subtract=Uu,t.sum=he,t.symmetricDifference=Fu,t.symmetricDifferenceWith=Pu,t.tail=Pt,t.take=Fn,t.takeLast=Jn,t.takeLastWhile=Bu,t.takeWhile=Tu,t.tap=Du,t.test=zu,t.thunkify=Oi,t.times=mu,t.toLower=Lu,t.toPairs=Vu,t.toPairsIn=Gu,t.toString=sn,t.toUpper=Ku,t.transduce=$u,t.transpose=Hu,t.traverse=Ju,t.trim=Yu,t.tryCatch=Zu,t.type=St,t.unapply=Qu,t.unary=ti,t.uncurryN=ni,t.unfold=ri,t.union=ei,t.unionWith=ci,t.uniq=Nr,t.uniqBy=qr,t.uniqWith=oi,t.unless=ai,t.unnest=si,t.until=fi,t.unwind=li,t.update=Qr,t.useWith=uu,t.values=ut,t.valuesIn=pi,t.view=hi,t.when=yi,t.where=di,t.whereAny=gi,t.whereEq=vi,t.without=mi,t.xor=bi,t.xprod=xi,t.zip=wi,t.zipObj=ji,t.zipWith=Ai,Object.defineProperty(t,"__esModule",{value:!0})});