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