Comparing version 0.10.2 to 0.10.3
@@ -1,1 +0,1 @@ | ||
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("B",[],r):"object"==typeof exports?exports.B=r():t.B=r()}(this,function(){return function(t){function r(n){if(e[n])return e[n].exports;var u=e[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}var e={};return r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=34)}([function(t,r,e){"use strict";function n(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var u=function t(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.length;return u<=0?r.apply(void 0,e):function(){for(var o=arguments.length,f=Array(o),i=0;i<o;i++)f[i]=arguments[i];return t(r,[].concat(n(e),f),u-f.length)}};r.default=u,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t){return Object.prototype.toString.call(t).slice(8,-1)};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t+r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=e(1),i=n(f),a=function(t,r,e){var n={Array:function(){return e.slice(t,r)},String:function(){return e.slice(t,r)},"*":function(){return e}};return(n[(0,i.default)(e)]||n["*"])()};r.default=(0,o.default)(a),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=e(1),f=n(o),i=function t(r){var e={Array:function(){return r[0]},Map:function(){return Array.from(r)[0]},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return r[t(Object.keys(r))]}),Set:function(){return[].concat(u(r))[0]},String:function(){return[].concat(u(r))[0]},"*":function(){}};return(e[(0,f.default)(r)]||e["*"])()};r.default=i,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(3),o=n(u),f=function(t){return(0,o.default)(0,t.length-1,t)};r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=e(1),f=n(o),i=function t(r){var e={Array:function(){return r[r.length-1]},Map:function(){return Array.from(r)[r.size-1]},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return r[t(Object.keys(r))]}),Set:function(){return[].concat(u(r))[r.size-1]},String:function(){return[].concat(u(r))[r.length-1]},"*":function(){}};return(e[(0,f.default)(r)]||e["*"])()};r.default=i,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t-r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(3),o=n(u),f=function(t){return(0,o.default)(1,t.length,t)};r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e){var n={Array:function(){return e.every(r)},Boolean:function(){return r(e)},Map:function(){return Array.from(e).every(function(t){var e=o(t,2),n=(e[0],e[1]);return r(n)})},Number:function(){return r(e)},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(e).every(function(t){return r(e[t])})}),Set:function(){return t(r,[].concat(u(e)))},String:function(){return t(r,[].concat(u(e)))},"*":function(){return!1}};return(n[(0,c.default)(e)]||n["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t&&r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e){var n={Array:function(){return e.some(r)},Boolean:function(){return r(e)},Map:function(){return Array.from(e).some(function(t){var e=o(t,2),n=(e[0],e[1]);return r(n)})},Number:function(){return r(e)},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(e).some(function(t){return r(e[t])})}),Set:function(){return t(r,[].concat(u(e)))},String:function(){return t(r,[].concat(u(e)))},"*":function(){return!1}};return(n[(0,c.default)(e)]||n["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(5),o=n(u),f=e(6),i=n(f),a=function t(r,e){return 0===r.length?e:t((0,o.default)(r),(0,i.default)(r)(e))},c=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return a((0,o.default)(r),(0,i.default)(r).apply(void 0,e))}};r.default=c,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(2),o=n(u),f=(0,o.default)(-1);r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t/r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=e(1),i=n(f),a=function t(r,e){var n={Array:function(){return r.length===e.length&&r.every(function(r,n){return t(r,e[n])})},Date:function(){return r.getTime()===e.getTime()},Map:function(){return r.size===e.size&&t(Array.from(r),Array.from(e))},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(r).length===Object.keys(e).length&&Object.keys(r).every(function(n){return t(r[n],e[n])})}),Set:function(){return r.size===e.size&&t(Array.from(r),Array.from(e))},"*":function(){return r===e}};return(n[(0,i.default)(r)]||n["*"])()};r.default=(0,o.default)(a),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function(t,r){var e={Map:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Map(Array.from(r).filter(function(r){var e=o(r,2),n=(e[0],e[1]);return t(n)}))}),Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(r).reduce(function(e,n){return t(r[n])&&(e[n]=r[n]),e},{})}),Set:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Set([].concat(u(r)).filter(t))}),String:function(){return[].concat(u(r)).filter(t).join("")},"*":function(){return r}};return"Function"===(0,c.default)(r.filter)?r.filter(t):(e[(0,c.default)(r)]||e["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function(t,r){var e={Array:function(){return r.find(t)},Map:function(){return Array.from(r).find(function(r){var e=o(r,2),n=(e[0],e[1]);return t(n)})},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return r[Object.keys(r).find(function(e){return t(r[e])})]}),Set:function(){return[].concat(u(r)).find(t)},String:function(){return[].concat(u(r)).find(t)},"*":function(){}};return(e[(0,c.default)(r)]||e["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=e(1),f=n(o),i=function t(r){return r.reduce(function(r,e){return"Array"===(0,f.default)(e)?[].concat(u(r),u(t(e))):[].concat(u(r),[e])},[])};r.default=i,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t>r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t>=r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(2),o=n(u),f=(0,o.default)(1);r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t<r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t<=r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function(t,r){var e={Map:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Map(Array.from(r).map(function(r){var e=o(r,2),n=e[0],u=e[1];return[n,t(u)]}))}),Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(r).reduce(function(e,n){return e[n]=t(r[n]),e},{})}),Set:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Set([].concat(u(r)).map(t))}),"*":function(){return t(r)}};return"Function"===(0,c.default)(r.map)?r.map(t):(e[(0,c.default)(r)]||e["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t*r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e){var n={Array:function(){return!e.some(r)},Boolean:function(){return!r(e)},Map:function(){return!Array.from(e).some(function(t){var e=o(t,2),n=(e[0],e[1]);return r(n)})},Number:function(){return!r(e)},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return!Object.keys(e).some(function(t){return r(e[t])})}),Set:function(){return t(r,[].concat(u(e)))},String:function(){return t(r,[].concat(u(e)))},"*":function(){return!1}};return(n[(0,c.default)(e)]||n["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t||r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(4),o=n(u),f=e(8),i=n(f),a=function t(r,e){return 0===r.length?e:t((0,i.default)(r),(0,o.default)(r)(e))},c=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return a((0,i.default)(r),(0,o.default)(r).apply(void 0,e))}};r.default=c,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(2),o=n(u),f=e(0),i=n(f),a=e(7),c=n(a),l=function(t,r){return Array.apply(0,Array((0,c.default)(r,t))).map(function(r,e){return(0,o.default)(t,e)})};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e,n){var f={Map:function(){return Array.from(n).reduce(function(t,e){var n=o(e,2),u=(n[0],n[1]);return r(t,u)},e)},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(n).reduce(function(t,e){return r(t,n[e])},e)}),Set:function(){return t(r,e,[].concat(u(n)))},"*":function(){return n}};return"Function"===(0,c.default)(n.reduce)?n.reduce(r,e):(f[(0,c.default)(n)]||f["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e){var n={Array:function(){return[].concat(u(e)).filter(function(t){return!r(t)})},Map:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Map(Array.from(e).filter(function(t){var e=o(t,2),n=(e[0],e[1]);return!r(n)}))}),Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(e).reduce(function(t,n){return r(e[n])||(t[n]=e[n]),t},{})}),Set:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Set(t(r,[].concat(u(e))))}),String:function(){return t(r,[].concat(u(e))).join("")},"*":function(){return e}};return(n[(0,c.default)(e)]||n["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=e(3),i=n(f),a=function(t,r){return t>0?(0,i.default)(0,t,r):(0,i.default)(0,0,r)};r.default=(0,o.default)(a),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(1),o=n(u),f=function(t){var r={String:function(){return t.trim()},"*":function(){return t}};return(r[(0,o.default)(t)]||r["*"])()};r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(2),o=n(u),f=e(9),i=n(f),a=e(10),c=n(a),l=e(11),d=n(l),s=e(12),y=n(s),p=e(0),v=n(p),_=e(13),b=n(_),g=e(14),h=n(g),A=e(15),M=n(A),j=e(16),m=n(j),S=e(17),O=n(S),x=e(18),P=n(x),w=e(19),k=n(w),T=e(20),E=n(T),I=e(4),z=n(I),B=e(21),F=n(B),N=e(5),q=n(N),D=e(6),C=n(D),G=e(22),H=n(G),J=e(23),K=n(J),L=e(24),Q=n(L),R=e(25),U=n(R),V=e(26),W=n(V),X=e(27),Y=n(X),Z=e(28),$=n(Z),tt=e(29),rt=n(tt),et=e(31),nt=n(et),ut=e(30),ot=n(ut),ft=e(3),it=n(ft),at=e(7),ct=n(at),lt=e(8),dt=n(lt),st=e(32),yt=n(st),pt=e(33),vt=n(pt),_t=e(1),bt=n(_t),gt={add:o.default,all:i.default,and:c.default,any:d.default,compose:y.default,curry:v.default,dec:b.default,divide:h.default,equals:M.default,filter:m.default,find:O.default,flatten:P.default,gt:k.default,gte:E.default,head:z.default,inc:F.default,init:q.default,last:C.default,lt:H.default,lte:K.default,map:Q.default,multiply:U.default,none:W.default,or:Y.default,pipe:$.default,range:rt.default,reject:nt.default,reduce:ot.default,slice:it.default,subtract:ct.default,tail:dt.default,take:yt.default,trim:vt.default,type:bt.default};r.default=gt,t.exports=r.default}])}); | ||
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("B",[],r):"object"==typeof exports?exports.B=r():t.B=r()}(this,function(){return function(t){function r(n){if(e[n])return e[n].exports;var u=e[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}var e={};return r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=34)}([function(t,r,e){"use strict";function n(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var u=function t(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.length;return u<=0?r.apply(void 0,e):function(){for(var o=arguments.length,f=Array(o),i=0;i<o;i++)f[i]=arguments[i];return t(r,[].concat(n(e),f),u-f.length)}};r.default=u,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t){return Object.prototype.toString.call(t).slice(8,-1)};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t+r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=e(0),f=n(o),i=e(1),a=n(i),c=function(t,r,e){var n={Array:function(){return e.slice(t,r)},Map:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Map([].concat(u(e)).slice(t,r))}),Set:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Set([].concat(u(e)).slice(t,r))}),String:function(){return e.slice(t,r)},"*":function(){return e}};return(n[(0,a.default)(e)]||n["*"])()};r.default=(0,f.default)(c),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=e(1),f=n(o),i=function t(r){var e={Array:function(){return r[0]},Map:function(){return Array.from(r)[0]},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return r[t(Object.keys(r))]}),Set:function(){return[].concat(u(r))[0]},String:function(){return[].concat(u(r))[0]},"*":function(){}};return(e[(0,f.default)(r)]||e["*"])()};r.default=i,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(3),o=n(u),f=function(t){return(0,o.default)(0,t.length-1,t)};r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=e(1),f=n(o),i=function t(r){var e={Array:function(){return r[r.length-1]},Map:function(){return Array.from(r)[r.size-1]},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return r[t(Object.keys(r))]}),Set:function(){return[].concat(u(r))[r.size-1]},String:function(){return[].concat(u(r))[r.length-1]},"*":function(){}};return(e[(0,f.default)(r)]||e["*"])()};r.default=i,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t-r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(3),o=n(u),f=function(t){return(0,o.default)(1,t.length,t)};r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e){var n={Array:function(){return e.every(r)},Boolean:function(){return r(e)},Map:function(){return Array.from(e).every(function(t){var e=o(t,2),n=(e[0],e[1]);return r(n)})},Number:function(){return r(e)},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(e).every(function(t){return r(e[t])})}),Set:function(){return t(r,[].concat(u(e)))},String:function(){return t(r,[].concat(u(e)))},"*":function(){return!1}};return(n[(0,c.default)(e)]||n["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t&&r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e){var n={Array:function(){return e.some(r)},Boolean:function(){return r(e)},Map:function(){return Array.from(e).some(function(t){var e=o(t,2),n=(e[0],e[1]);return r(n)})},Number:function(){return r(e)},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(e).some(function(t){return r(e[t])})}),Set:function(){return t(r,[].concat(u(e)))},String:function(){return t(r,[].concat(u(e)))},"*":function(){return!1}};return(n[(0,c.default)(e)]||n["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(5),o=n(u),f=e(6),i=n(f),a=function t(r,e){return 0===r.length?e:t((0,o.default)(r),(0,i.default)(r)(e))},c=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return a((0,o.default)(r),(0,i.default)(r).apply(void 0,e))}};r.default=c,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(2),o=n(u),f=(0,o.default)(-1);r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t/r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=e(1),i=n(f),a=function t(r,e){var n={Array:function(){return r.length===e.length&&r.every(function(r,n){return t(r,e[n])})},Date:function(){return r.getTime()===e.getTime()},Map:function(){return r.size===e.size&&t(Array.from(r),Array.from(e))},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(r).length===Object.keys(e).length&&Object.keys(r).every(function(n){return t(r[n],e[n])})}),Set:function(){return r.size===e.size&&t(Array.from(r),Array.from(e))},"*":function(){return r===e}};return(n[(0,i.default)(r)]||n["*"])()};r.default=(0,o.default)(a),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function(t,r){var e={Map:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Map(Array.from(r).filter(function(r){var e=o(r,2),n=(e[0],e[1]);return t(n)}))}),Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(r).reduce(function(e,n){return t(r[n])&&(e[n]=r[n]),e},{})}),Set:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Set([].concat(u(r)).filter(t))}),String:function(){return[].concat(u(r)).filter(t).join("")},"*":function(){return r}};return"Function"===(0,c.default)(r.filter)?r.filter(t):(e[(0,c.default)(r)]||e["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function(t,r){var e={Array:function(){return r.find(t)},Map:function(){return Array.from(r).find(function(r){var e=o(r,2),n=(e[0],e[1]);return t(n)})},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return r[Object.keys(r).find(function(e){return t(r[e])})]}),Set:function(){return[].concat(u(r)).find(t)},String:function(){return[].concat(u(r)).find(t)},"*":function(){}};return(e[(0,c.default)(r)]||e["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=e(1),f=n(o),i=function t(r){return r.reduce(function(r,e){return"Array"===(0,f.default)(e)?[].concat(u(r),u(t(e))):[].concat(u(r),[e])},[])};r.default=i,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t>r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t>=r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(2),o=n(u),f=(0,o.default)(1);r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t<r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t<=r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function(t,r){var e={Map:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Map(Array.from(r).map(function(r){var e=o(r,2),n=e[0],u=e[1];return[n,t(u)]}))}),Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(r).reduce(function(e,n){return e[n]=t(r[n]),e},{})}),Set:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Set([].concat(u(r)).map(t))}),"*":function(){return t(r)}};return"Function"===(0,c.default)(r.map)?r.map(t):(e[(0,c.default)(r)]||e["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t*r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e){var n={Array:function(){return!e.some(r)},Boolean:function(){return!r(e)},Map:function(){return!Array.from(e).some(function(t){var e=o(t,2),n=(e[0],e[1]);return r(n)})},Number:function(){return!r(e)},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return!Object.keys(e).some(function(t){return r(e[t])})}),Set:function(){return t(r,[].concat(u(e)))},String:function(){return t(r,[].concat(u(e)))},"*":function(){return!1}};return(n[(0,c.default)(e)]||n["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=function(t,r){return t||r};r.default=(0,o.default)(f),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(4),o=n(u),f=e(8),i=n(f),a=function t(r,e){return 0===r.length?e:t((0,i.default)(r),(0,o.default)(r)(e))},c=function(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return a((0,i.default)(r),(0,o.default)(r).apply(void 0,e))}};r.default=c,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(2),o=n(u),f=e(0),i=n(f),a=e(7),c=n(a),l=function(t,r){return Array.apply(0,Array((0,c.default)(r,t))).map(function(r,e){return(0,o.default)(t,e)})};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e,n){var f={Map:function(){return Array.from(n).reduce(function(t,e){var n=o(e,2),u=(n[0],n[1]);return r(t,u)},e)},Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(n).reduce(function(t,e){return r(t,n[e])},e)}),Set:function(){return t(r,e,[].concat(u(n)))},String:function(){return t(r,e,[].concat(u(n)))},"*":function(){return n}};return"Function"===(0,c.default)(n.reduce)?n.reduce(r,e):(f[(0,c.default)(n)]||f["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}return Array.from(t)}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var f,i=t[Symbol.iterator]();!(n=(f=i.next()).done)&&(e.push(f.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{!n&&i.return&&i.return()}finally{if(u)throw o}}return e}return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=e(0),i=n(f),a=e(1),c=n(a),l=function t(r,e){var n={Array:function(){return[].concat(u(e)).filter(function(t){return!r(t)})},Map:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Map(Array.from(e).filter(function(t){var e=o(t,2),n=(e[0],e[1]);return!r(n)}))}),Object:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return Object.keys(e).reduce(function(t,n){return r(e[n])||(t[n]=e[n]),t},{})}),Set:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){return new Set(t(r,[].concat(u(e))))}),String:function(){return t(r,[].concat(u(e))).join("")},"*":function(){return e}};return(n[(0,c.default)(e)]||n["*"])()};r.default=(0,i.default)(l),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(0),o=n(u),f=e(3),i=n(f),a=function(t,r){return t>0?(0,i.default)(0,t,r):(0,i.default)(0,0,r)};r.default=(0,o.default)(a),t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(1),o=n(u),f=function(t){var r={String:function(){return t.trim()},"*":function(){return t}};return(r[(0,o.default)(t)]||r["*"])()};r.default=f,t.exports=r.default},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var u=e(2),o=n(u),f=e(9),i=n(f),a=e(10),c=n(a),l=e(11),d=n(l),s=e(12),y=n(s),p=e(0),v=n(p),_=e(13),g=n(_),h=e(14),b=n(h),A=e(15),M=n(A),S=e(16),m=n(S),j=e(17),O=n(j),x=e(18),P=n(x),w=e(19),k=n(w),T=e(20),E=n(T),I=e(4),z=n(I),B=e(21),F=n(B),N=e(5),q=n(N),D=e(6),C=n(D),G=e(22),H=n(G),J=e(23),K=n(J),L=e(24),Q=n(L),R=e(25),U=n(R),V=e(26),W=n(V),X=e(27),Y=n(X),Z=e(28),$=n(Z),tt=e(29),rt=n(tt),et=e(31),nt=n(et),ut=e(30),ot=n(ut),ft=e(3),it=n(ft),at=e(7),ct=n(at),lt=e(8),dt=n(lt),st=e(32),yt=n(st),pt=e(33),vt=n(pt),_t=e(1),gt=n(_t),ht={add:o.default,all:i.default,and:c.default,any:d.default,compose:y.default,curry:v.default,dec:g.default,divide:b.default,equals:M.default,filter:m.default,find:O.default,flatten:P.default,gt:k.default,gte:E.default,head:z.default,inc:F.default,init:q.default,last:C.default,lt:H.default,lte:K.default,map:Q.default,multiply:U.default,none:W.default,or:Y.default,pipe:$.default,range:rt.default,reject:nt.default,reduce:ot.default,slice:it.default,subtract:ct.default,tail:dt.default,take:yt.default,trim:vt.default,type:gt.default};r.default=ht,t.exports=r.default}])}); |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "files": [ |
# bukk 🐐 | ||
> A functional library for Norwegians. | ||
> Functional programming for Norwegians ⛷️ | ||
@@ -82,9 +82,16 @@ [![Dependencies](https://david-dm.org/christianhg/bukk.svg)](https://david-dm.org/christianhg/bukk) | ||
```js | ||
const propertyIs = (v, p, o) => B.equals(o[p], v) | ||
const isDone = B.curry(propertyIs)(true, 'done') | ||
const getFinished = B.filter(isDone) | ||
const processes = [{process: 'a', done: false}, {process: 'b', done: true}, {process: 'c', done: false}] | ||
const multiplyThree = (a, b, c) => a * b * c | ||
const multiplyThreeCurried = B.curry(multiplyThree) | ||
getFinished(processes) | ||
// => [{process: 'b', done: true}] | ||
multiplyThreeCurried(2) | ||
// => Function | ||
multiplyThreeCurried(2)(3) | ||
multiplyThreeCurried(2, 3) | ||
// => Function | ||
multiplyThreeCurried(2)(3)(4) | ||
multiplyThreeCurried(2, 3)(4) | ||
multiplyThreeCurried(2)(3, 4) | ||
// => 24 | ||
``` | ||
@@ -91,0 +98,0 @@ |
27658
151