!function(t,n){"object"==typeofexports&&"undefined"!=typeofmodule?n(exports):"function"==typeofdefine&&define.amd?define(["exports"],n):n((t=t||self).R={})}(this,function(t){"use strict";functionf(t){return(f="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functiona(t){returnnull!=t&&"object"===f(t)&&!0===t["@@functional/placeholder"]}functiono(r){returnfunctiont(n){return0===arguments.length||a(n)?t:r.apply(this,arguments)}}functionn(e){returnfunctiont(n,r){switch(arguments.length){case0:returnt;case1:returna(n)?t:o(function(t){returne(n,t)});default:returna(n)&&a(r)?t:a(n)?o(function(t){returne(t,r)}):a(r)?o(function(t){returne(n,t)}):e(n,r)}}}varr=n(function(t,n){return+t++n});functionc(t,n){varr,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;returni}functions(t,f){switch(t){case0:returnfunction(){returnf.apply(this,arguments)};case1:returnfunction(t){returnf.apply(this,arguments)};case2:returnfunction(t,n){returnf.apply(this,arguments)};case3:returnfunction(t,n,r){returnf.apply(this,arguments)};case4:returnfunction(t,n,r,e){returnf.apply(this,arguments)};case5:returnfunction(t,n,r,e,u){returnf.apply(this,arguments)};case6:returnfunction(t,n,r,e,u,i){returnf.apply(this,arguments)};case7:returnfunction(t,n,r,e,u,i,o){returnf.apply(this,arguments)};case8:returnfunction(t,n,r,e,u,i,o,c){returnf.apply(this,arguments)};case9:returnfunction(t,n,r,e,u,i,o,c,a){returnf.apply(this,arguments)};case10:returnfunction(t,n,r,e,u,i,o,c,a,s){returnf.apply(this,arguments)};default:throwError("First argument to _arity must be a non-negative integer no greater than ten")}}functionl(i,o,c){returnfunction(){for(vart=[],n=0,r=i,e=0;e<o.length||n<arguments.length;){varu;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}return0<r?s(r,l(i,t,c)):c.apply(this,t)}}varp=n(function(t,n){return1===t?o(n):s(t,l(t,[],n))}),e=o(function(u){returnp(u.length,function(){varn=0,r=arguments[0],e=arguments[arguments.length-1],t=Array.prototype.slice.call(arguments,0);returnt[0]=function(){vart=r.apply(this,c(arguments,[n,e]));returnn+=1,t},u.apply(this,t)})});functionu(i){returnfunctiont(r,e,u){switch(arguments.length){case0:returnt;case1:returna(r)?t:n(function(t,n){returni(r,t,n)});case2:returna(r)&&a(e)?t:a(r)?n(function(t,n){returni(t,e,n)}):a(e)?n(function(t,n){returni(r,t,n)}):o(function(t){returni(r,e,t)});default:returna(r)&&a(e)&&a(u)?t:a(r)&&a(e)?n(function(t,n){returni(t,n,u)}):a(r)&&a(u)?n(function(t,n){returni(t,e,n)}):a(e)&&a(u)?n(function(t,n){returni(r,t,n)}):a(r)?o(function(t){returni(t,e,u)}):a(e)?o(function(t){returni(r,t,u)}):a(u)?o(function(t){returni(r,e,t)}):i(r,e,u)}}}vari=u(function(t,n,r){vare=r.length;if(e<=t||t<-e)returnr;varu=(e+t)%e,i=c(r);returni[u]=n(r[u]),i}),h=Array.isArray||function(t){returnnull!=t&&0<=t.length&&"[object Array]"===Object.prototype.toString.call(t)};functiony(t){returnnull!=t&&"function"==typeoft["@@transducer/step"]}functiond(r,e,u){returnfunction(){if(0===arguments.length)returnu();vart=arguments[arguments.length-1];if(!h(t)){for(varn=0;n<r.length;){if("function"==typeoft[r[n]])returnt[r[n]].apply(t,Array.prototype.slice.call(arguments,0,-1));n+=1}if(y(t))returne.apply(null,Array.prototype.slice.call(arguments,0,-1))(t)}returnu.apply(this,arguments)}}functiong(t){returnt&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}varv={init:function(){returnthis.xf["@@transducer/init"]()},result:function(t){returnthis.xf["@@transducer/result"](t)}};functionm(t,n){this.xf=n,this.f=t,this.all=!0}m.prototype["@@transducer/init"]=v.init,m.prototype["@@transducer/result"]=function(t){returnthis.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},m.prototype["@@transducer/step"]=function(t,n){returnthis.f(n)||(this.all=!1,t=g(this.xf["@@transducer/step"](t,!1))),t};varb=n(d(["all"],n(function(t,n){returnnewm(t,n)}),function(t,n){for(varr=0;r<n.length;){if(!t(n[r]))return!1;r+=1}return!0})),x=n(function(t,n){returnt<n?n:t});functionw(t,n){for(varr=0,e=n.length,u=Array(e);r<e;)u[r]=t(n[r]),r+=1;returnu}functionj(t){return"[object String]"===Object.prototype.toString.call(t)}varA=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)))))});functionO(t){this.f=t}functionS(t){returnnewO(t)}O.prototype["@@transducer/init"]=function(){throwError("init not implemented on XWrap")},O.prototype["@@transducer/result"]=function(t){returnt},O.prototype["@@transducer/step"]=function(t,n){returnthis.f(t,n)};varE=n(function(t,n){returns(t.length,function(){returnt.apply(n,arguments)})});function_(t,n,r){for(vare=r.next();!e.done;){if((n=t["@@transducer/step"](n,e.value))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e=r.next()}returnt["@@transducer/result"](n)}functionI(t,n,r,e){returnt["@@transducer/result"](r[e](E(t["@@transducer/step"],t),n))}vark="undefined"!=typeofSymbol?Symbol.iterator:"@@iterator";functionW(t,n,r){if("function"==typeoft&&(t=S(t)),A(r))returnfunction(t,n,r){for(vare=0,u=r.length;e<u;){if((n=t["@@transducer/step"](n,r[e]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e+=1}returnt["@@transducer/result"](n)}(t,n,r);if("function"==typeofr["fantasy-land/reduce"])returnI(t,n,r,"fantasy-land/reduce");if(null!=r[k])return_(t,n,r[k]());if("function"==typeofr.next)return_(t,n,r);if("function"==typeofr.reduce)returnI(t,n,r,"reduce");thrownewTypeError("reduce: list must be array or iterable")}functionq(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){returnthis.xf["@@transducer/step"](t,this.f(n))};varN=n(function(t,n){returnnewq(t,n)});functionU(t,n){returnObject.prototype.hasOwnProperty.call(n,t)}functionF(t,n){for(varr=0;r<t.length;){if(t[r]===n)return!0;r+=1}return!1}varP=Object.prototype.toString,B=function(){return"[object Arguments]"===P.call(arguments)?function(t){return"[object Arguments]"===P.call(t)}:function(t){returnU("callee",t)}}(),C=!{toString:null}.propertyIsEnumerable("toString"),T=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],R=function(){returnarguments.propertyIsEnumerable("length")}(),D=o("function"!=typeofObject.keys||R?function(t){if(Object(t)!==t)return[];varn,r,e=[],u=R&&B(t);for(nint)!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;returne}:function(t){returnObject(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]":returnp(e.length,function(){returnr.call(this,e.apply(this,arguments))});case"[object Object]":returnW(function(t,n){returnt[n]=r(e[n]),t},{},D(e));default:returnw(r,e)}})),M=Number.isInteger||function(t){returnt<<0===t},L=n(function(t,n){varr=t<0?n.length+t:t;returnj(n)?n[0|r]:n[r]}),V=n(function(t,n){if(null!=n)returnM(t)?L(t,n):n[t]}),G=n(function(t,n){returnz(V(t),n)}),K=u(W),$=o(function(r){returnp(K(x,0,G("length",r)),function(){for(vart=0,n=r.length;t<n;){if(!r[t].apply(this,arguments))return!1;t+=1}return!0})}),H=o(function(t){returnfunction(){returnt}}),J=n(function(t,n){returnt&&n});functionX(t,n){this.xf=n,this.f=t,this.any=!1}X.prototype["@@transducer/init"]=v.init,X.prototype["@@transducer/result"]=function(t){returnthis.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},X.prototype["@@transducer/step"]=function(t,n){returnthis.f(n)&&(this.any=!0,t=g(this.xf["@@transducer/step"](t,!0))),t};varY=n(d(["any"],n(function(t,n){returnnewX(t,n)}),function(t,n){for(varr=0;r<n.length;){if(t(n[r]))return!0;r+=1}return!1})),Z=o(function(r){returnp(K(x,0,G("length",r)),function(){for(vart=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"==typeofr["fantasy-land/ap"]?r["fantasy-land/ap"](n):"function"==typeofn.ap?n.ap(r):"function"==typeofn?function(t){returnn(t)(r(t))}:W(function(t,n){returnc(t,z(n,r))},[],n)});functiontt(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){returnthis.acc=null,this.xf["@@transducer/result"](t)},tt.prototype["@@transducer/step"]=function(t,n){returnthis.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(){returnc(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))};varnt=n(d([],n(function(t,n){returnnewtt(t,n)}),function(t,n){for(varr=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;returnu})),rt=n(function(t,n){returnc(n,[t])}),et=n(function(t,n){returnt.apply(this,n)}),ut=o(function(t){for(varn=D(t),r=n.length,e=[],u=0;u<r;)e[u]=t[n[u]],u+=1;returne});functionit(r,e){returnh(e)?e.map(r):D(e).reduce(function(t,n){returnt[n]=r(e[n]),t},{})}varot=o(functionn(t){returnt=it(function(t){return"function"==typeoft?t:n(t)},t),p(K(x,0,G("length",ut(t))),function(){varn=arguments;returnit(function(t){returnet(t,n)},t)})}),ct=n(function(t,n){returnn(t)}),at=u(function(t,n,r){vare=t(n),u=t(r);returne<u?-1:u<e?1:0});functionst(t,n,r){if(M(t)&&h(r)){vare=[].concat(r);returne[t]=n,e}varu={};for(variinr)u[i]=r[i];returnu[t]=n,u}varft=o(function(t){returnnull==t}),lt=u(functiont(n,r,e){if(0===n.length)returnr;varu=n[0];if(1<n.length){vari=!ft(e)&&U(u,e)?e[u]:M(n[1])?[]:{};r=t(Array.prototype.slice.call(n,1),r,i)}returnst(u,r,e)}),pt=u(function(t,n,r){returnlt([t],n,r)}),ht=n(function(t,f){switch(t){case0:returnfunction(){returnf.call(this)};case1:returnfunction(t){returnf.call(this,t)};case2:returnfunction(t,n){returnf.call(this,t,n)};case3:returnfunction(t,n,r){returnf.call(this,t,n,r)};case4:returnfunction(t,n,r,e){returnf.call(this,t,n,r,e)};case5:returnfunction(t,n,r,e,u){returnf.call(this,t,n,r,e,u)};case6:returnfunction(t,n,r,e,u,i){returnf.call(this,t,n,r,e,u,i)};case7:returnfunction(t,n,r,e,u,i,o){returnf.call(this,t,n,r,e,u,i,o)};case8:returnfunction(t,n,r,e,u,i,o,c){returnf.call(this,t,n,r,e,u,i,o,c)};case9:returnfunction(t,n,r,e,u,i,o,c,a){returnf.call(this,t,n,r,e,u,i,o,c,a)};case10:returnfunction(t,n,r,e,u,i,o,c,a,s){returnf.call(this,t,n,r,e,u,i,o,c,a,s)};default:throwError("First argument to nAry must be a non-negative integer no greater than ten")}}),yt=o(function(t){returnht(2,t)});functiondt(t){varn=Object.prototype.toString.call(t);return"[object Function]"===n||"[object AsyncFunction]"===n||"[object GeneratorFunction]"===n||"[object AsyncGeneratorFunction]"===n}vargt=n(function(t,n){varr=p(t,n);returnp(t,function(){returnW(Q,z(r,arguments[0]),Array.prototype.slice.call(arguments,1))})}),vt=o(function(t){returngt(t.length,t)}),mt=n(function(t,n){returndt(t)?function(){returnt.apply(this,arguments)&&n.apply(this,arguments)}:vt(J)(t,n)}),bt=o(function(t){returnt.apply(this,Array.prototype.slice.call(arguments,1))});functionxt(a){returnfunctiont(n){for(varr,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;elsei[i.length]=n[o];o+=1}returni}}functionwt(t){varr=function(e){return{"@@transducer/init":v.init,"@@transducer/result":function(t){returne["@@transducer/result"](t)},"@@transducer/step":function(t,n){varr=e["@@transducer/step"](t,n);returnr["@@transducer/reduced"]?function(t){return{"@@transducer/value":t,"@@transducer/reduced":!0}}(r):r}}}(t);return{"@@transducer/init":v.init,"@@transducer/result":function(t){returnr["@@transducer/result"](t)},"@@transducer/step":function(t,n){returnA(n)?W(r,t,n):W(r,t,[n])}}}varjt=n(d(["fantasy-land/chain","chain"],n(function(t,n){returnz(t,wt(n))}),function(n,r){return"function"==typeofr?function(t){returnn(r(t))(t)}:xt(!1)(z(n,r))})),At=u(function(t,n,r){if(n<t)throwError("min must not be greater than max in clamp(min, max, value)");returnr<t?t:n<r?n:r});functionOt(t){returnRegExp(t.source,(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":""))}varSt=o(function(t){returnnull===t?"Null":void0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});functionEt(u,i,o,c){functiont(t){for(varn=i.length,r=0;r<n;){if(u===i[r])returno[r];r+=1}for(vareini[r]=u,o[r]=t,u)u.hasOwnProperty(e)&&(t[e]=c?Et(u[e],i,o,!0):u[e]);returnt}switch(St(u)){case"Object":returnt(Object.create(Object.getPrototypeOf(u)));case"Array":returnt([]);case"Date":returnnewDate(u.valueOf());case"RegExp":returnOt(u);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":returnu.slice();default:returnu}}var_t=o(function(t){returnnull!=t&&"function"==typeoft.clone?t.clone():Et(t,[],[],!0)}),It=n(function(e,t){varn=W(function(t,n){varr=e(n);returnvoid0===t[r]&&(t[r]=[]),t[r].push(n),t},{},t),r=[];for(varuinn)r.push(n[u]);returnr}),kt=o(function(r){returnfunction(t,n){returnr(t,n)?-1:r(n,t)?1:0}}),Wt=o(function(t){return!t}),qt=vt(Wt);functionNt(t,n){returnfunction(){returnn.call(this,t.apply(this,arguments))}}functionUt(r,e){returnfunction(){vart=arguments.length;if(0===t)returne();varn=arguments[t-1];returnh(n)||"function"!=typeofn[r]?e.apply(this,arguments):n[r].apply(n,Array.prototype.slice.call(arguments,0,t-1))}}varFt=u(Ut("slice",function(t,n,r){returnArray.prototype.slice.call(r,t,n)})),Pt=o(Ut("tail",Ft(1,1/0)));functionBt(){if(0===arguments.length)throwError("pipe requires at least one argument");returns(arguments[0].length,K(Nt,arguments[0],Pt(arguments)))}varCt=o(function(t){returnj(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});functionTt(){if(0===arguments.length)throwError("compose requires at least one argument");returnBt.apply(this,Ct(arguments))}varRt=L(0);functionDt(t){returnt}varzt=o(Dt),Mt=n(function(r,t){if(t.length<=0)returnzt;varn=Rt(t),e=Pt(t);returns(n.length,function(){returnW(function(t,n){returnr.call(this,n,t)},n.apply(this,arguments),e)})}),Lt=n(function(t,n){returnMt.call(this,t,Ct(n))});functionVt(t){for(varn,r=[];!(n=t.next()).done;)r.push(n.value);returnr}functionGt(t,n,r){for(vare=0,u=r.length;e<u;){if(t(n,r[e]))return!0;e+=1}return!1}varKt="function"==typeofObject.is?Object.is:function(t,n){returnt===n?0!==t||1/t==1/n:t!=t&&n!=n};function$t(t,n,r,e){varu=Vt(t);functioni(t,n){returnHt(t,n,r.slice(),e.slice())}return!Gt(function(t,n){return!Gt(i,n,t)},Vt(n),u)}functionHt(t,n,r,e){if(Kt(t,n))return!0;varu=St(t);if(u!==St(n))return!1;if("function"==typeoft["fantasy-land/equals"]||"function"==typeofn["fantasy-land/equals"])return"function"==typeoft["fantasy-land/equals"]&&t["fantasy-land/equals"](n)&&"function"==typeofn["fantasy-land/equals"]&&n["fantasy-land/equals"](t);if("function"==typeoft.equals||"function"==typeofn.equals)return"function"==typeoft.equals&&t.equals(n)&&"function"==typeofn.equals&&n.equals(t);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeoft.constructor&&"Promise"===function(t){varn=(t+"").match(/^function (\w*)/);returnnull==n?"":n[1]}(t.constructor))returnt===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":returnt.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(vari=r.length-1;0<=i;){if(r[i]===t)returne[i]===n;i-=1}switch(u){case"Map":returnt.size===n.size&&$t(t.entries(),n.entries(),r.concat([t]),e.concat([n]));case"Set":returnt.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}varo=D(t);if(o.length!==D(n).length)return!1;varc=r.concat([t]),a=e.concat([n]);for(i=o.length-1;0<=i;){vars=o[i];if(!U(s,n)||!Ht(n[s],t[s],c,a))return!1;i-=1}return!0}varJt=n(function(t,n){returnHt(t,n,[],[])});functionXt(t,n,r){vare,u;if("function"==typeoft.indexOf)switch(f(n)){case"number":if(0===n){for(e=1/n;r<t.length;){if(0===(u=t[r])&&1/u==e)returnr;r+=1}return-1}if(n==n)returnt.indexOf(n,r);for(;r<t.length;){if("number"==typeof(u=t[r])&&u!=u)returnr;r+=1}return-1;case"string":case"boolean":case"function":case"undefined":returnt.indexOf(n,r);case"object":if(null===n)returnt.indexOf(n,r)}for(;r<t.length;){if(Jt(t[r],n))returnr;r+=1}return-1}functionYt(t,n){return0<=Xt(n,t,0)}functionZt(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,'\\"')+'"'}functionQt(t){return(t<10?"0":"")+t}vartn="function"==typeofDate.prototype.toISOString?function(t){returnt.toISOString()}:function(t){returnt.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"};functionnn(t){returnfunction(){return!t.apply(this,arguments)}}functionrn(t,n){for(varr=0,e=n.length,u=[];r<e;)t(n[r])&&(u[u.length]=n[r]),r+=1;returnu}functionen(t){return"[object Object]"===Object.prototype.toString.call(t)}functionun(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){returnthis.f(n)?this.xf["@@transducer/step"](t,n):t};varon=n(d(["fantasy-land/filter","filter"],n(function(t,n){returnnewun(t,n)}),function(r,e){returnen(e)?W(function(t,n){returnr(e[n])&&(t[n]=e[n]),t},{},D(e)):rn(r,e)})),cn=n(function(t,n){returnon(nn(t),n)});functionan(r,e){functionu(t){varn=e.concat([r]);returnYt(t,n)?"<Circular>":an(t,n)}functiont(n,t){returnw(function(t){returnZt(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"==typeofr.toString){varn=""+r;if("[object Object]"!=n)returnn}return"{"+t(r,D(r)).join(", ")+"}"}}varsn=o(function(t){returnan(t,[])}),fn=n(function(t,n){if(h(t)){if(h(n))returnt.concat(n);thrownewTypeError(sn(n)+" is not an array")}if(j(t)){if(j(n))returnt+n;thrownewTypeError(sn(n)+" is not a string")}if(null!=t&&dt(t["fantasy-land/concat"]))returnt["fantasy-land/concat"](n);if(null!=t&&dt(t.concat))returnt.concat(n);thrownewTypeError(sn(t)+' does not have a method named "concat" or "fantasy-land/concat"')}),ln=o(function(n){returns(K(x,0,z(function(t){returnt[0].length},n)),function(){for(vart=0;t<n.length;){if(n[t][0].apply(this,arguments))returnn[t][1].apply(this,arguments);t+=1}})}),pn=o(function(t){returnp(t.length,t)}),hn=n(function(t,f){if(10<t)throwError("Constructor with greater than ten arguments");return0===t?function(){returnnewf}:pn(ht(t,function(t,n,r,e,u,i,o,c,a,s){switch(arguments.length){case1:returnnewf(t);case2:returnnewf(t,n);case3:returnnewf(t,n,r);case4:returnnewf(t,n,r,e);case5:returnnewf(t,n,r,e,u);case6:returnnewf(t,n,r,e,u,i);case7:returnnewf(t,n,r,e,u,i,o);case8:returnnewf(t,n,r,e,u,i,o,c);case9:returnnewf(t,n,r,e,u,i,o,c,a);case10:returnnewf(t,n,r,e,u,i,o,c,a,s)}}))}),yn=o(function(t){returnhn(t.length,t)}),dn=n(function(t,e){returnp(K(x,0,G("length",e)),function(){varn=arguments,r=this;returnt.apply(r,w(function(t){returnt.apply(r,n)},e))})}),gn=pn(function(r,t){returnW(function(t,n){returnr(n)?t+1:t},0,t)});functionvn(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){varn;for(ninthis.inputs)if(U(n,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[n]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}returnthis.inputs=null,this.xf["@@transducer/result"](t)},vn.prototype["@@transducer/step"]=function(t,n){varr=this.keyFn(n);returnthis.inputs[r]=this.inputs[r]||[r,this.valueAcc],this.inputs[r][1]=this.valueFn(this.inputs[r][1],n),t};varmn=l(4,[],d([],l(4,[],function(t,n,r,e){returnnewvn(t,n,r,e)}),function(u,i,o,t){returnW(function(t,n){varr=o(n),e=u(U(r,t)?t[r]:Et(i,[],[],!1),n);returne&&e["@@transducer/reduced"]?g(t):(t[r]=e,t)},{},t)})),bn=mn(function(t,n){returnt+1},0),xn=r(-1),wn=n(function(t,n){returnnull==n||n!=n?t:n}),jn=u(function(t,n,r){vare=t(n),u=t(r);returnu<e?-1:e<u?1:0});functionAn(){this._nativeSet="function"==typeofSet?newSet:null,this._items={}}functionOn(t,n,r){vare,u=f(t);switch(u){case"string":case"number":return0===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):uinr._items?tinr._items[u]||(n&&(r._items[u][t]=!0),!1):(n&&(r._items[u]={},r._items[u][t]=!0),!1);case"boolean":if(uinr._items){vari=t?1:0;return!!r._items[u][i]||(n&&(r._items[u][i]=!0),!1)}returnn&&(r._items[u]=t?[!1,!0]:[!0,!1]),!1;case"function":returnnull!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):uinr._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))inr._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){returnOn(t,!1,this)};varSn=n(function(t,n){for(varr=[],e=0,u=t.length,i=n.length,o=newAn,c=0;c<i;c+=1)o.add(n[c]);for(;e<u;)o.add(t[e])&&(r[r.length]=t[e]),e+=1;returnr}),En=u(function(t,n,r){for(vare=[],u=0,i=n.length;u<i;)Gt(t,n[u],r)||Gt(t,n[u],e)||e.push(n[u]),u+=1;returne}),_n=u(function(t,n,r){vare=Array.prototype.slice.call(r,0);returne.splice(t,n),e});varIn=n(functiont(n,r){if(null==r)returnr;switch(n.length){case0:returnr;case1:returnfunction(t,n){if(null==n)returnn;if(M(t)&&h(n))return_n(t,1,n);varr={};for(vareinn)r[e]=n[e];returndeleter[t],r}(n[0],r);default:vare=n[0],u=Array.prototype.slice.call(n,1);returnnull==r[e]?function(t,n){if(M(t)&&h(n))return[].concat(n);varr={};for(vareinn)r[e]=n[e];returnr}(e,r):pt(e,t(u,r[e]),r)}}),kn=n(function(t,n){returnIn([t],n)}),Wn=n(function(t,n){returnt/n});functionqn(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){return0<this.n?(this.n-=1,t):this.xf["@@transducer/step"](t,n)};varNn=n(d(["drop"],n(function(t,n){returnnewqn(t,n)}),function(t,n){returnFt(Math.max(0,t),1/0,n)}));functionUn(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;varr=0===this.n?t:this.xf["@@transducer/step"](t,n);returnthis.n<0||this.i<this.n?r:g(r)};varFn=n(d(["take"],n(function(t,n){returnnewUn(t,n)}),function(t,n){returnFt(0,t<0?1/0:t,n)}));functionPn(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){returnthis.acc=null,this.xf["@@transducer/result"](t)},Pn.prototype["@@transducer/step"]=function(t,n){returnthis.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)};varBn=n(d([],n(function(t,n){returnnewPn(t,n)}),function(t,n){returnFn(t<n.length?n.length-t:0,n)}));functionCn(t,n){this.f=t,this.retained=[],this.xf=n}Cn.prototype["@@transducer/init"]=v.init,Cn.prototype["@@transducer/result"]=function(t){returnthis.retained=null,this.xf["@@transducer/result"](t)},Cn.prototype["@@transducer/step"]=function(t,n){returnthis.f(n)?this.retain(t,n):this.flush(t,n)},Cn.prototype.flush=function(t,n){returnt=W(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,n)},Cn.prototype.retain=function(t,n){returnthis.retained.push(n),t};varTn=n(d([],n(function(t,n){returnnewCn(t,n)}),function(t,n){for(varr=n.length-1;0<=r&&t(n[r]);)r-=1;returnFt(0,r+1,n)}));functionRn(t,n){this.xf=n,this.pred=t,this.lastValue=void0,this.seenFirstValue=!1}Rn.prototype["@@transducer/init"]=v.init,Rn.prototype["@@transducer/result"]=v.result,Rn.prototype["@@transducer/step"]=function(t,n){varr=!1;returnthis.seenFirstValue?this.pred(this.lastValue,n)&&(r=!0):this.seenFirstValue=!0,this.lastValue=n,r?t:this.xf["@@transducer/step"](t,n)};varDn=n(function(t,n){returnnewRn(t,n)}),zn=L(-1),Mn=n(d([],Dn,function(t,n){varr=[],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;returnr})),Ln=o(d([],Dn(Jt),Mn(Jt)));functionVn(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))returnt;this.f=null}returnthis.xf["@@transducer/step"](t,n)};varGn=n(d(["dropWhile"],n(function(t,n){returnnewVn(t,n)}),function(t,n){for(varr=0,e=n.length;r<e&&t(n[r]);)r+=1;returnFt(r,1/0,n)})),Kn=n(function(t,n){returnt||n}),$n=n(function(t,n){returndt(t)?function(){returnt.apply(this,arguments)||n.apply(this,arguments)}:vt(Kn)(t,n)});varHn=o(function(t){returnnull!=t&&"function"==typeoft["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeoft.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeoft.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeoft.constructor.empty?t.constructor.empty():h(t)?[]:j(t)?"":en(t)?{}:B(t)?function(){returnarguments}():function(t){varn=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(""):void0}),Jn=n(function(t,n){returnNn(t<0?0:n.length-t,n)}),Xn=n(function(t,n){returnJt(Jn(t.length,n),t)}),Yn=u(function(t,n,r){returnJt(t(n),t(r))}),Zn=u(function(t,n,r){returnJt(n[t],r[t])}),Qn=n(functiont(n,r){if(!en(r)&&!h(r))returnr;vare,u,i,o=rinstanceofArray?[]:{};for(uinr)i=f(e=n[u]),o[u]="function"===i?e(r[u]):e&&"object"===i?t(e,r[u]):r[u];returno});functiontr(t,n){this.xf=n,this.f=t,this.found=!1}tr.prototype["@@transducer/init"]=v.init,tr.prototype["@@transducer/result"]=function(t){returnthis.found||(t=this.xf["@@transducer/step"](t,void0)),this.xf["@@transducer/result"](t)},tr.prototype["@@transducer/step"]=function(t,n){returnthis.f(n)&&(this.found=!0,t=g(this.xf["@@transducer/step"](t,n))),t};varnr=n(d(["find"],n(function(t,n){returnnewtr(t,n)}),function(t,n){for(varr=0,e=n.length;r<e;){if(t(n[r]))returnn[r];r+=1}}));functionrr(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){returnthis.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},rr.prototype["@@transducer/step"]=function(t,n){returnthis.idx+=1,this.f(n)&&(this.found=!0,t=g(this.xf["@@transducer/step"](t,this.idx))),t};varer=n(d([],n(function(t,n){returnnewrr(t,n)}),function(t,n){for(varr=0,e=n.length;r<e;){if(t(n[r]))returnr;r+=1}return-1}));functionur(t,n){this.xf=n,this.f=t}ur.prototype["@@transducer/init"]=v.init,ur.prototype["@@transducer/result"]=function(t){returnthis.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.last))},ur.prototype["@@transducer/step"]=function(t,n){returnthis.f(n)&&(this.last=n),t};varir=n(d([],n(function(t,n){returnnewur(t,n)}),function(t,n){for(varr=n.length-1;0<=r;){if(t(n[r]))returnn[r];r-=1}}));functionor(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){returnthis.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},or.prototype["@@transducer/step"]=function(t,n){returnthis.idx+=1,this.f(n)&&(this.lastIdx=this.idx),t};varcr=n(d([],n(function(t,n){returnnewor(t,n)}),function(t,n){for(varr=n.length-1;0<=r;){if(t(n[r]))returnr;r-=1}return-1})),ar=o(xt(!0)),sr=o(function(e){returnp(e.length,function(t,n){varr=Array.prototype.slice.call(arguments,0);returnr[0]=n,r[1]=t,e.apply(this,r)})}),fr=n(Ut("forEach",function(t,n){for(varr=n.length,e=0;e<r;)t(n[e]),e+=1;returnn})),lr=n(function(t,n){for(varr=D(n),e=0;e<r.length;){varu=r[e];t(n[u],u,n),e+=1}returnn}),pr=o(function(t){for(varn={},r=0;r<t.length;)n[t[r][0]]=t[r][1],r+=1;returnn}),hr=n(Ut("groupBy",mn(function(t,n){returnt.push(n),t},[]))),yr=n(function(t,n){for(varr=[],e=0,u=n.length;e<u;){for(vari=e+1;i<u&&t(n[i-1],n[i]);)i+=1;r.push(n.slice(e,i)),e=i}returnr}),dr=n(function(t,n){returnn<t}),gr=n(function(t,n){returnn<=t}),vr=n(function(t,n){if(0===t.length||ft(n))return!1;for(varr=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){returnvr([t],n)}),br=n(function(t,n){return!ft(n)&&tinn}),xr=n(Kt),wr=u(function(t,n,r){returnp(Math.max(t.length,n.length,r.length),function(){returnt.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})}),jr=r(1),Ar=n(Yt),Or=mn(function(t,n){returnn},null),Sr=n(function(t,n){return"function"!=typeofn.indexOf||h(n)?Xt(n,t,0):n.indexOf(t)}),Er=Ft(0,-1),_r=u(function(n,t,r){returnrn(function(t){returnGt(n,t,r)},t)}),Ir=u(function(t,n,r){t=t<r.length&&0<=t?t:r.length;vare=Array.prototype.slice.call(r,0);returne.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))});functionWr(t,n){this.xf=n,this.f=t,this.set=newAn}Wr.prototype["@@transducer/init"]=v.init,Wr.prototype["@@transducer/result"]=v.result,Wr.prototype["@@transducer/step"]=function(t,n){returnthis.set.add(this.f(n))?this.xf["@@transducer/step"](t,n):t};varqr=n(d([],n(function(t,n){returnnewWr(t,n)}),function(t,n){for(varr,e,u=newAn,i=[],o=0;o<n.length;)r=t(e=n[o]),u.add(r)&&i.push(e),o+=1;returni})),Nr=qr(zt),Ur=n(function(t,n){varr,e;returne=n.length<t.length?(r=t,n):(r=n,t),Nr(rn(sr(Yt)(r),e))}),Fr=n(Ut("intersperse",function(t,n){for(varr=[],e=0,u=n.length;e<u;)e===u-1?r.push(n[e]):r.push(n[e],t),e+=1;returnr}));varPr="function"==typeofObject.assign?Object.assign:function(t){if(null==t)thrownewTypeError("Cannot convert undefined or null to object");for(varn=Object(t),r=1,e=arguments.length;r<e;){varu=arguments[r];if(null!=u)for(variinu)U(i,u)&&(n[i]=u[i]);r+=1}returnn},Br=n(function(t,n){varr={};returnr[t]=n,r}),Cr={"@@transducer/init":Array,"@@transducer/step":function(t,n){returnt.push(n),t},"@@transducer/result":Dt},Tr={"@@transducer/init":String,"@@transducer/step":function(t,n){returnt+n},"@@transducer/result":Dt},Rr={"@@transducer/init":Object,"@@transducer/step":function(t,n){returnPr(t,A(n)?Br(n[0],n[1]):n)},"@@transducer/result":Dt};varDr=u(function(t,n,r){returny(t)?W(n(t),t["@@transducer/init"](),r):W(n(function(t){if(y(t))returnt;if(A(t))returnCr;if("string"==typeoft)returnTr;if("object"===f(t))returnRr;throwError("Cannot create transformer for "+t)}(t)),Et(t,[],[],!1),r)}),zr=o(function(t){for(varn=D(t),r=n.length,e=0,u={};e<r;){vari=n[e],o=t[i],c=U(o,u)?u[o]:u[o]=[];c[c.length]=i,e+=1}returnu}),Mr=o(function(t){for(varn=D(t),r=n.length,e=0,u={};e<r;){vari=n[e];u[t[i]]=i,e+=1}returnu}),Lr=n(function(n,r){returnp(n+1,function(){vart=arguments[n];if(null!=t&&dt(t[r]))returnt[r].apply(t,Array.prototype.slice.call(arguments,0,n));thrownewTypeError(sn(t)+' does not have a method named "'+r+'"')})}),Vr=n(function(t,n){returnninstanceoft||null!=n&&(n.constructor===t||"Object"===t.name&&"object"===f(n))}),Gr=o(function(t){returnnull!=t&&Jt(t,Hn(t))}),Kr=Lr(1,"join"),$r=o(function(t){returndn(function(){returnArray.prototype.slice.call(arguments,0)},t)}),Hr=o(function(t){varn,r=[];for(nint)r[r.length]=n;returnr}),Jr=n(function(t,n){if("function"!=typeofn.lastIndexOf||h(n)){for(varr=n.length-1;0<=r;){if(Jt(n[r],t))returnr;r-=1}return-1}returnn.lastIndexOf(t)});functionXr(t){return"[object Number]"===Object.prototype.toString.call(t)}varYr=o(function(t){returnnull!=t&&Xr(t.length)?t.length:NaN}),Zr=n(function(r,e){returnfunction(t){returnfunction(n){returnz(function(t){returne(t,n)},t(r(n)))}}}),Qr=u(function(t,n,r){returni(t,H(n),r)}),te=o(function(t){returnZr(L(t),Qr(t))}),ne=n(function(t,u){returnt.map(function(t){for(varn,r=u,e=0;e<t.length;){if(null==r)return;r=M(n=t[e])?L(n,r):r[n],e+=1}returnr})}),re=n(function(t,n){returnne([t],n)[0]}),ee=o(function(t){returnZr(re(t),lt(t))}),ue=o(function(t){returnZr(V(t),pt(t))}),ie=n(function(t,n){returnt<n}),oe=n(function(t,n){returnt<=n}),ce=u(function(t,n,r){for(vare=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(vare=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){returnW(function(t,n){returnt[n]=r(e[n],n,e),t},{},D(e))}),fe=n(function(t,n){returnn.match(t)||[]}),le=n(function(t,n){returnM(t)?!M(n)||n<1?NaN:(t%n+n)%n:NaN}),pe=u(function(t,n,r){returnt(r)>t(n)?r:n}),he=K(r,0),ye=o(function(t){returnhe(t)/t.length}),de=o(function(t){varn=t.length;if(0===n)returnNaN;varr=2-n%2,e=(n-r)/2;returnye(Array.prototype.slice.call(t,0).sort(function(t,n){returnt<n?-1:n<t?1:0}).slice(e,e+r))}),ge=n(function(n,r){vare={};returns(r.length,function(){vart=n.apply(this,arguments);returnU(t,e)||(e[t]=r.apply(this,arguments)),e[t]})}),ve=o(function(t){returnPr.apply(null,[{}].concat(t))}),me=u(function(t,n,r){vare,u={};for(einn)U(e,n)&&(u[e]=U(e,r)?t(e,n[e],r[e]):n[e]);for(einr)U(e,r)&&!U(e,u)&&(u[e]=r[e]);returnu}),be=u(functione(u,t,n){returnme(function(t,n,r){returnen(n)&&en(r)?e(u,n,r):u(t,n,r)},t,n)}),xe=n(function(t,n){returnbe(function(t,n,r){returnn},t,n)}),we=n(function(t,n){returnbe(function(t,n,r){returnr},t,n)}),je=u(function(e,t,n){returnbe(function(t,n,r){returne(n,r)},t,n)}),Ae=n(function(t,n){returnPr({},n,t)}),Oe=n(function(t,n){returnPr({},t,n)}),Se=u(function(e,t,n){returnme(function(t,n,r){returne(n,r)},t,n)}),Ee=n(function(t,n){returnn<t?n:t}),_e=u(function(t,n,r){returnt(r)<t(n)?r:n});varIe=u(functiont(n,r,e){if(!en(e)&&!h(e)||0===n.length)returne;varu=n[0];if(!U(u,e))returne;if(1===n.length)returnfunction(t,n,r){if(M(t)&&h(r)){vare=[].concat(r);returne[t]=n(e[t]),e}varu={};for(variinr)u[i]=r[i];returnu[t]=n(u[t]),u}(u,r,e);vari=t(Array.prototype.slice.call(n,1),r,e[u]);returni===e[u]?e:st(u,i,e)}),ke=u(function(t,n,r){returnIe([t],n,r)}),We=n(function(t,n){returnt%n}),qe=u(function(t,n,r){vare=r.length,u=r.slice(),i=t<0?e+t:t,o=n<0?e+n:n,c=u.splice(i,1);returni<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){returnt*n}),Ue=n(function(n,r){returnfunction(t){returnn.call(void0,we(r,t))}}),Fe=o(function(t){return-t}),Pe=n(function(t,n){returnb(nn(t),n)}),Be=o(function(t){returnp(t<0?1:t+1,function(){returnL(t,arguments)})}),Ce=u(function(t,n,r){returnt(n(r))});varTe=o(function(t){return[t]}),Re=n(function(t,n){for(varr={},e={},u=0,i=t.length;u<i;)u+=e[t[u]]=1;for(varoinn)e.hasOwnProperty(o)||(r[o]=n[o]);returnr}),De=l(4,[],function(t,n,r,e){returnt(n(r),n(e))}),ze=o(function(t){varn,r=!1;returns(t.length,function(){returnr?n:(r=!0,n=t.apply(this,arguments))})});functionMe(t,n){if(null==n||!dt(n.then))thrownewTypeError("`"+t+"` expected a Promise, received "+an(n,[]))}varLe=n(function(t,n){returnMe("otherwise",n),n.then(null,t)}),Ve=u(function(t,n,r){returnt(function(t){returnfunctionn(r){return{value:r,map:function(t){returnn(t(r))}}}(n(t))})(r).value}),Ge=n(function(t,n){return[t,n]});functionKe(r){returnn(function(t,n){returns(Math.max(0,t.length-n.length),function(){returnt.apply(this,r(n,arguments))})})}var$e=Ke(c),He=Ke(sr(c)),Je=$r([on,cn]),Xe=u(function(t,n,r){returnJt(re(t,r),n)}),Ye=u(function(t,n,r){returnwn(t,re(n,r))}),Ze=u(function(t,n,r){returnt(re(n,r))}),Qe=n(function(t,n){for(varr={},e=0;e<t.length;)t[e]inn&&(r[t[e]]=n[t[e]]),e+=1;returnr}),tu=n(function(t,n){for(varr={},e=0,u=t.length;e<u;){vari=t[e];r[i]=n[i],e+=1}returnr}),nu=n(function(t,n){varr={};for(vareinn)t(n[e],e,n)&&(r[e]=n[e]);returnr}),ru=n(function(t,n){returnc([t],n)}),eu=K(Ne,1),uu=n(function(r,e){returnp(e.length,function(){for(vart=[],n=0;n<e.length;)t.push(e[n].call(this,arguments[n])),n+=1;returnr.apply(this,t.concat(Array.prototype.slice.call(arguments,e.length)))})}),iu=uu(w,[tu,zt]);functionou(n,r,e){returnfunction(t){returnr(e(n(t)))}}functioncu(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){returnthis.xf["@@transducer/step"](t,ou(this.f,this.g,n))};varau=u(d(["fantasy-land/promap","promap"],u(function(t,n,r){returnnewcu(t,n,r)}),ou)),su=u(function(t,n,r){returnJt(n,V(t,r))}),fu=u(function(t,n,r){returnVr(t,V(n,r))}),lu=u(function(t,n,r){returnwn(t,V(n,r))}),pu=u(function(t,n,r){returnt(V(n,r))}),hu=n(function(t,n){returnt.map(function(t){returnre([t],n)})}),yu=n(function(t,n){if(!Xr(t)||!Xr(n))thrownewTypeError("Both arguments to range must be numbers");for(varr=[],e=t;e<n;)r.push(e),e+=1;returnr}),du=u(function(t,n,r){for(vare=r.length-1;0<=e;){if((n=t(r[e],n))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e-=1}returnn}),gu=l(4,[],function(r,e,t,n){returnW(function(t,n){returnr(t,n)?e(t,n):g(t)},t,n)}),vu=o(g),mu=n(function(t,n){varr,e=+n,u=0;if(e<0||isNaN(e))thrownewRangeError("n must be a non-negative number");for(r=Array(e);u<e;)r[u]=t(u),u+=1;returnr}),bu=n(function(t,n){returnmu(H(t),n)}),xu=u(function(t,n,r){returnr.replace(t,n)}),wu=u(function(t,n,r){for(vare=0,u=r.length,i=[n];e<u;)n=t(n,r[e]),i[e+1]=n,e+=1;returni}),ju=n(function(t,n){return"function"==typeofn.sequence?n.sequence(t):du(function(t,n){returnQ(z(ru,t),n)},t([]),n)}),Au=u(function(t,n,r){returnVe(t,H(n),r)}),Ou=n(function(t,n){returnArray.prototype.slice.call(n,0).sort(t)}),Su=n(function(u,t){returnArray.prototype.slice.call(t,0).sort(function(t,n){varr=u(t),e=u(n);returnr<e?-1:e<r?1:0})}),Eu=n(function(u,t){returnArray.prototype.slice.call(t,0).sort(function(t,n){for(varr=0,e=0;0===r&&e<u.length;)r=u[e](t,n),e+=1;returnr})}),_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)throwError("First argument to splitEvery must be a positive integer");for(varr=[],e=0;e<n.length;)r.push(Ft(e,e+=t,n));returnr}),Wu=n(function(t,n){for(varr=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(varr=[],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=[]);returnr}),Nu=n(function(t,n){returnJt(Fn(t.length,n),t)}),Uu=n(function(t,n){return+t-+n}),Fu=n(function(t,n){returnfn(Sn(t,n),Sn(n,t))}),Pu=u(function(t,n,r){returnfn(En(t,n,r),En(t,r,n))}),Bu=n(function(t,n){for(varr=n.length-1;0<=r&&t(n[r]);)r-=1;returnFt(r+1,1/0,n)});functionCu(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){returnthis.f(n)?this.xf["@@transducer/step"](t,n):g(t)};varTu=n(d(["takeWhile"],n(function(t,n){returnnewCu(t,n)}),function(t,n){for(varr=0,e=n.length;r<e&&t(n[r]);)r+=1;returnFt(0,r,n)}));functionRu(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){returnthis.f(n),this.xf["@@transducer/step"](t,n)};varDu=n(d([],n(function(t,n){returnnewRu(t,n)}),function(t,n){returnt(n),n}));varzu=n(function(t,n){if(!function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}(t))thrownewTypeError("‘test’ requires a value of type RegExp as its first argument; received "+sn(t));returnOt(t).test(n)}),Mu=n(function(t,n){returnMe("andThen",n),n.then(t)}),Lu=Lr(0,"toLowerCase"),Vu=o(function(t){varn=[];for(varrint)U(r,t)&&(n[n.length]=[r,t[r]]);returnn}),Gu=o(function(t){varn=[];for(varrint)n[n.length]=[r,t[r]];returnn}),Ku=Lr(0,"toUpperCase"),$u=p(4,function(t,n,r,e){returnW(t("function"==typeofn?S(n):n),r,e)}),Hu=o(function(t){for(varn=0,r=[];n<t.length;){for(vare=t[n],u=0;u<e.length;)void0===r[u]&&(r[u]=[]),r[u].push(e[u]),u+=1;n+=1}returnr}),Ju=u(function(t,n,r){return"function"==typeofr["fantasy-land/traverse"]?r["fantasy-land/traverse"](n,t):"function"==typeofr.traverse?r.traverse(n,t):ju(t,z(n,r))}),Xu="\t\n\v\f\r \u2028\u2029\ufeff",Yu=!("function"==typeofString.prototype.trim)||Xu.trim()?o(function(t){varn=RegExp("^["+Xu+"]["+Xu+"]*"),r=RegExp("["+Xu+"]["+Xu+"]*$");returnt.replace(n,"").replace(r,"")}):o(function(t){returnt.trim()}),Zu=n(function(t,n){returns(t.length,function(){try{returnt.apply(this,arguments)}catch(t){returnn.apply(this,c([t],arguments))}})}),Qu=o(function(t){returnfunction(){returnt(Array.prototype.slice.call(arguments,0))}}),ti=o(function(t){returnht(1,t)}),ni=n(function(u,i){returnp(u,function(){for(vart,n=1,r=i,e=0;n<=u&&"function"==typeofr;)r=r.apply(this,Array.prototype.slice.call(arguments,e,t=n===u?arguments.length:e+r.length)),n+=1,e=t;returnr})}),ri=n(function(t,n){for(varr=t(n),e=[];r&&r.length;)e[e.length]=r[0],r=t(r[1]);returne}),ei=n(Tt(Nr,c));functionui(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){returnGt(this.pred,n,this.items)?t:(this.items.push(n),this.xf["@@transducer/step"](t,n))};functionii(t){return{value:t,"fantasy-land/map":function(){returnthis}}}varoi=n(d([],n(function(t,n){returnnewui(t,n)}),function(t,n){for(varr,e=0,u=n.length,i=[];e<u;)Gt(t,r=n[e],i)||(i[i.length]=r),e+=1;returni})),ci=u(function(t,n,r){returnoi(t,c(n,r))}),ai=u(function(t,n,r){returnt(r)?r:n(r)}),si=jt(Dt),fi=u(function(t,n,r){for(vare=r;!t(e);)e=n(e);returne}),li=n(function(n,r){returnninr&&h(r[n])?w(function(t){returnst(n,t,r)},r[n]):[r]}),pi=o(function(t){varn,r=[];for(nint)r[r.length]=t[n];returnr}),hi=n(function(t,n){returnt(ii)(n).value}),yi=u(function(t,n,r){returnt(r)?n(r):r}),di=n(function(t,n){for(varrint)if(U(r,t)&&!t[r](n[r]))return!1;return!0}),gi=n(function(t,n){for(varrint)if(U(r,t)&&t[r](n[r]))return!0;return!1}),vi=n(function(t,n){returndi(z(Jt,t),n)}),mi=n(function(t,n){returncn(sr(Yt)(t),n)}),bi=n(function(t,n){return!!(!t^!n)}),xi=n(function(t,n){for(varr,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}returno}),wi=n(function(t,n){for(varr=[],e=0,u=Math.min(t.length,n.length);e<u;)r[e]=[t[e],n[e]],e+=1;returnr}),ji=n(function(t,n){for(varr=0,e=Math.min(t.length,n.length),u={};r<e;)u[t[r]]=n[r],r+=1;returnu}),Ai=u(function(t,n,r){for(vare=[],u=0,i=Math.min(n.length,r.length);u<i;)e[u]=t(n[u],r[u]),u+=1;returne}),Oi=o(function(n){returnp(n.length,function(){vart=arguments;returnfunction(){returnn.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})});