@harpsealjs/hijack-timer
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -1,1 +0,1 @@ | ||
!function t(n,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["@harpsealjs/hijack-timer"]=r():n["@harpsealjs/hijack-timer"]=r()}(window,function(){return e={},o.m=r=[function(t,n,r){var e=r(6);function o(r){return function t(n){return 0===arguments.length||e(n)?t:r.apply(this,arguments)}}t.exports=o},function(t,n,r){var o=r(0),u=r(6);function e(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:o(function(t){return e(n,t)});default:return u(n)&&u(r)?t:u(n)?o(function(t){return e(t,r)}):u(r)?o(function(t){return e(n,t)}):e(n,r)}}}t.exports=e},function(t,n,r){var e=r(0),o=r(23),u=e(function t(n){return o(n,[])});t.exports=u},function(t,n,r){var e=r(8);t.exports={baseMap:function(t){return t(this.value)},getEquals:function(r){return function t(n){return n instanceof r&&e(this.value,n.value)}},extend:function(t,n){function r(){this.constructor=t}r.prototype=n.prototype,t.prototype=new r,t.super_=n.prototype},identity:function(t){return t},notImplemented:function(t){return function(){throw new Error(t+" is not implemented")}},notCallable:function(t){return function(){throw new Error(t+" cannot be called directly")}},returnThis:function(){return this},chainRecNext:function(t){return{isNext:!0,value:t}},chainRecDone:function(t){return{isNext:!1,value:t}},deriveAp:function(r){return function(t){return this.chain(function(n){return t.chain(function(t){return r.of(n(t))})})}},deriveMap:function(r){return function(n){return this.chain(function(t){return r.of(n(t))})}}}},function(t,n){function r(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,o){return s.apply(this,arguments)};case 6:return function(t,n,r,e,o,u){return s.apply(this,arguments)};case 7:return function(t,n,r,e,o,u,i){return s.apply(this,arguments)};case 8:return function(t,n,r,e,o,u,i,c){return s.apply(this,arguments)};case 9:return function(t,n,r,e,o,u,i,c,a){return s.apply(this,arguments)};case 10:return function(t,n,r,e,o,u,i,c,a,f){return s.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}t.exports=r},function(t,n,r){var e=r(0),o=r(7),u=e(function t(n){return o(n.length,n)});t.exports=u},function(t,n){function r(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}t.exports=r},function(t,n,r){var e=r(4),o=r(0),u=r(1),i=r(22),c=u(function t(n,r){return 1===n?o(r):e(n,i(n,[],r))});t.exports=c},function(t,n,r){var e=r(1),o=r(26),u=e(function t(n,r){return o(n,r,[],[])});t.exports=u},function(t,n){function r(t,n){return Object.prototype.hasOwnProperty.call(n,t)}t.exports=r},function(t,n,r){var e=r(0),i=r(9),c=r(31),a=!{toString:null}.propertyIsEnumerable("toString"),f=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],s=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),p=function t(n,r){for(var e=0;e<n.length;){if(n[e]===r)return!0;e+=1}return!1},o="function"!=typeof Object.keys||s?e(function t(n){if(Object(n)!==n)return[];var r,e,o=[],u=s&&c(n);for(r in n)!i(r,n)||u&&"length"===r||(o[o.length]=r);if(a)for(e=f.length-1;0<=e;)i(r=f[e],n)&&!p(o,r)&&(o[o.length]=r),--e;return o}):e(function t(n){return Object(n)!==n?[]:Object.keys(n)});t.exports=o},function(t,n){t.exports=Array.isArray||function t(n){return null!=n&&0<=n.length&&"[object Array]"===Object.prototype.toString.call(n)}},function(t,n,r){var o=r(11);function e(r,e){return function(){var t=arguments.length;if(0===t)return e();var n=arguments[t-1];return o(n)||"function"!=typeof n[r]?e.apply(this,arguments):n[r].apply(n,Array.prototype.slice.call(arguments,0,t-1))}}t.exports=e},function(t,n,r){var e=r(43),o=r(44),u=r(45);function i(t,n,r){for(var e=0,o=r.length;e<o;){if((n=t["@@transducer/step"](n,r[e]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e+=1}return t["@@transducer/result"](n)}function c(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 a(t,n,r,e){return t["@@transducer/result"](r[e](u(t["@@transducer/step"],t),n))}var f="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function s(t,n,r){if("function"==typeof t&&(t=o(t)),e(r))return i(t,n,r);if("function"==typeof r["fantasy-land/reduce"])return a(t,n,r,"fantasy-land/reduce");if(null!=r[f])return c(t,n,r[f]());if("function"==typeof r.next)return c(t,n,r);if("function"==typeof r.reduce)return a(t,n,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}t.exports=s},function(t,n){function r(t){return"[object String]"===Object.prototype.toString.call(t)}t.exports=r},function(t,n,r){var e=r(2),o=r(3);function u(t){if(!(this instanceof u))return new u(t);this.value=t}u.prototype["@@type"]="ramda-fantasy/Identity",u.prototype.of=u.of=function(t){return new u(t)},u.prototype.map=function(t){return new u(t(this.value))},u.prototype.ap=function(t){return t.map(this.value)},u.prototype.chain=function(t){return t(this.value)},u.chainRec=u.prototype.chainRec=function(t,n){for(var r=o.chainRecNext(n);r.isNext;)r=t(o.chainRecNext,o.chainRecDone,r.value).get();return u(r.value)},u.prototype.get=function(){return this.value},u.prototype.equals=o.getEquals(u),u.prototype.toString=function(){return"Identity("+e(this.value)+")"},t.exports=u},function(t,n,r){var e=r(52),o=r(57);function u(){if(0===arguments.length)throw new Error("compose requires at least one argument");return e.apply(this,o(arguments))}t.exports=u},function(t,n,r){var i=r(0),c=r(1),a=r(6);function e(u){return function t(r,e,o){switch(arguments.length){case 0:return t;case 1:return a(r)?t:c(function(t,n){return u(r,t,n)});case 2:return a(r)&&a(e)?t:a(r)?c(function(t,n){return u(t,e,n)}):a(e)?c(function(t,n){return u(r,t,n)}):i(function(t){return u(r,e,t)});default:return a(r)&&a(e)&&a(o)?t:a(r)&&a(e)?c(function(t,n){return u(t,n,o)}):a(r)&&a(o)?c(function(t,n){return u(t,e,n)}):a(e)&&a(o)?c(function(t,n){return u(r,t,n)}):a(r)?i(function(t){return u(t,e,o)}):a(e)?i(function(t){return u(r,t,o)}):a(o)?i(function(t){return u(r,e,t)}):u(r,e,o)}}}t.exports=e},function(t,n,r){var e=r(2),o=r(8);function u(n,t){switch(arguments.length){case 0:throw new TypeError("no arguments to Tuple");case 1:return function(t){return new i(n,t)};default:return new i(n,t)}}function i(t,n){this[0]=t,this[1]=n,this.length=2}function c(t){t.forEach(function(t){if("function"!=typeof t.concat)throw new TypeError(e(t)+" must be a semigroup to perform this operation")})}u.fst=function(t){return t[0]},u.snd=function(t){return t[1]},i.prototype["@@type"]="ramda-fantasy/Tuple",i.prototype.concat=function(t){return c([this[0],this[1]]),u(this[0].concat(t[0]),this[1].concat(t[1]))},i.prototype.map=function(t){return u(this[0],t(this[1]))},i.prototype.ap=function(t){return c([this[0]]),u(this[0].concat(t[0]),this[1](t[1]))},i.prototype.equals=function(t){return t instanceof i&&o(this[0],t[0])&&o(this[1],t[1])},i.prototype.toString=function(){return"Tuple("+e(this[0])+", "+e(this[1])+")"},t.exports=u},function(t,n,r){t.exports={Either:r(21),Future:r(48),Identity:r(15),IO:r(51),lift2:r(58),lift3:r(59),Maybe:r(60),Reader:r(61),State:r(65),Tuple:r(18)}},function(t,n,r){t.exports=r(66)},function(t,n,r){var e=r(5),o=r(2),u=r(3);function i(n,t){switch(arguments.length){case 0:throw new TypeError("no arguments to Either");case 1:return function(t){return null==t?i.Left(n):i.Right(t)};default:return null==t?i.Left(n):i.Right(t)}}function c(t){this.value=t}function a(t){this.value=t}i.prototype["@@type"]="ramda-fantasy/Either",i.prototype.map=u.returnThis,i.of=i.prototype.of=function(t){return i.Right(t)},i.prototype.chain=u.returnThis,i.either=e(function t(n,r,e){if(e instanceof a)return n(e.value);if(e instanceof c)return r(e.value);throw new TypeError("invalid type given to Either.either")}),i.isLeft=function(t){return t.isLeft},i.isRight=function(t){return t.isRight},u.extend(c,i),c.prototype.isRight=!0,c.prototype.isLeft=!1,c.prototype.map=function(t){return new c(t(this.value))},c.prototype.ap=function(t){return t.map(this.value)},c.prototype.chain=function(t){return t(this.value)},i.chainRec=i.prototype.chainRec=function(t,n){for(var r,e=u.chainRecNext(n);e.isNext;){if(r=t(u.chainRecNext,u.chainRecDone,e.value),i.isLeft(r))return r;e=r.value}return i.Right(e.value)},c.prototype.bimap=function(t,n){return new c(n(this.value))},c.prototype.extend=function(t){return new c(t(this))},c.prototype.toString=function(){return"Either.Right("+o(this.value)+")"},c.prototype.equals=u.getEquals(c),i.Right=function(t){return new c(t)},u.extend(a,i),a.prototype.isLeft=!0,a.prototype.isRight=!1,a.prototype.ap=u.returnThis,a.prototype.bimap=function(t){return new a(t(this.value))},a.prototype.extend=u.returnThis,a.prototype.toString=function(){return"Either.Left("+o(this.value)+")"},a.prototype.equals=u.getEquals(a),i.Left=function(t){return new a(t)},i.prototype.either=function t(n,r){return(this.isLeft?n:r)(this.value)},t.exports=i},function(t,n,r){var a=r(4),f=r(6);function s(u,i,c){return function(){for(var t=[],n=0,r=u,e=0;e<i.length||n<arguments.length;){var o;e<i.length&&(!f(i[e])||arguments.length<=n)?o=i[e]:(o=arguments[n],n+=1),t[e]=o,f(o)||--r,e+=1}return r<=0?c.apply(this,t):a(r,s(u,t,c))}}t.exports=s},function(t,n,r){var u=r(24),i=r(33),c=r(34),a=r(35),f=r(10),s=r(36);function p(e,o){var r=function t(n){var r=o.concat([e]);return u(n,r)?"<Circular>":p(n,r)},t=function(n,t){return i(function(t){return c(t)+": "+r(n[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+i(r,e).join(", ")+"))";case"[object Array]":return"["+i(r,e).concat(t(e,s(function(t){return/^\d+$/.test(t)},f(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):c(a(e)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":c(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var n=e.toString();if("[object Object]"!==n)return n}return"{"+t(e,f(e)).join(", ")+"}"}}t.exports=p},function(t,n,r){var e=r(25);function o(t,n){return 0<=e(n,t,0)}t.exports=o},function(t,n,r){var u=r(8);function e(t,n,r){var e,o;if("function"==typeof t.indexOf)switch(typeof n){case"number":if(0===n){for(e=1/n;r<t.length;){if(0===(o=t[r])&&1/o==e)return r;r+=1}return-1}if(n==n)return t.indexOf(n,r);for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)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(u(t[r],n))return r;r+=1}return-1}t.exports=e},function(t,n,r){var c=r(27),a=r(28),s=r(29),p=r(9),l=r(30),h=r(10),y=r(32);function v(t,n,r,e){var o=c(t),u=c(n);function i(t,n){return d(t,n,r.slice(),e.slice())}return!a(function(t,n){return!a(i,n,t)},u,o)}function d(t,n,r,e){if(l(t,n))return!0;var o=y(t);if(o!==y(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(o){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===s(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!l(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!l(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 u=r.length-1;0<=u;){if(r[u]===t)return e[u]===n;--u}switch(o){case"Map":return t.size!==n.size?!1:v(t.entries(),n.entries(),r.concat([t]),e.concat([n]));case"Set":return t.size!==n.size?!1:v(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 i=h(t);if(i.length!==h(n).length)return!1;var c=r.concat([t]),a=e.concat([n]);for(u=i.length-1;0<=u;){var f=i[u];if(!p(f,n)||!d(n[f],t[f],c,a))return!1;--u}return!0}t.exports=d},function(t,n){function r(t){for(var n=[],r;!(r=t.next()).done;)n.push(r.value);return n}t.exports=r},function(t,n){function r(t,n,r){for(var e=0,o=r.length;e<o;){if(t(n,r[e]))return!0;e+=1}return!1}t.exports=r},function(t,n){function r(t){var n=String(t).match(/^function (\w*)/);return null==n?"":n[1]}t.exports=r},function(t,n){function r(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}t.exports="function"==typeof Object.is?Object.is:r},function(t,n,r){var e=r(9),o=Object.prototype.toString,u=function(){return"[object Arguments]"===o.call(arguments)?function t(n){return"[object Arguments]"===o.call(n)}:function t(n){return e("callee",n)}}();t.exports=u},function(t,n,r){var e,o=r(0)(function t(n){return null===n?"Null":void 0===n?"Undefined":Object.prototype.toString.call(n).slice(8,-1)});t.exports=o},function(t,n){function r(t,n){for(var r=0,e=n.length,o=Array(e);r<e;)o[r]=t(n[r]),r+=1;return o}t.exports=r},function(t,n){function r(t){var n;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,'\\"')+'"'}t.exports=r},function(t,n){var r=function t(n){return(n<10?"0":"")+n},e="function"==typeof Date.prototype.toISOString?function t(n){return n.toISOString()}:function t(n){return n.getUTCFullYear()+"-"+r(n.getUTCMonth()+1)+"-"+r(n.getUTCDate())+"T"+r(n.getUTCHours())+":"+r(n.getUTCMinutes())+":"+r(n.getUTCSeconds())+"."+(n.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};t.exports=e},function(t,n,r){var e=r(37),o=r(1),u=r(38),i=o(function t(n,r){return u(e(n),r)});t.exports=i},function(t,n){function r(t){return function(){return!t.apply(this,arguments)}}t.exports=r},function(t,n,r){var e=r(1),o=r(39),u=r(41),i=r(42),c=r(13),a=r(46),f=r(10),s=e(o(["filter"],a,function(r,e){return i(e)?c(function(t,n){return r(e[n])&&(t[n]=e[n]),t},{},f(e)):u(r,e)}));t.exports=s},function(t,n,r){var c=r(11),a=r(40);function e(o,u,i){return function(){if(0===arguments.length)return i();var t=Array.prototype.slice.call(arguments,0),n=t.pop();if(!c(n)){for(var r=0,e;r<o.length;){if("function"==typeof n[o[r]])return n[o[r]].apply(n,t);r+=1}if(a(n))return u.apply(null,t)(n)}return i.apply(this,arguments)}}t.exports=e},function(t,n){function r(t){return null!=t&&"function"==typeof t["@@transducer/step"]}t.exports=r},function(t,n){function r(t,n){for(var r=0,e=n.length,o=[];r<e;)t(n[r])&&(o[o.length]=n[r]),r+=1;return o}t.exports=r},function(t,n){function r(t){return"[object Object]"===Object.prototype.toString.call(t)}t.exports=r},function(t,n,r){var e=r(0),o=r(11),u=r(14),i=e(function t(n){return!!o(n)||!!n&&("object"==typeof n&&(!u(n)&&(1===n.nodeType?!!n.length:0===n.length||0<n.length&&(n.hasOwnProperty(0)&&n.hasOwnProperty(n.length-1)))))});t.exports=i},function(t,n){var r=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,n){return this.f(t,n)},t}();function e(t){return new r(t)}t.exports=e},function(t,n,r){var e=r(4),o,u=r(1)(function t(n,r){return e(n.length,function(){return n.apply(r,arguments)})});t.exports=u},function(t,n,r){var e=r(1),o=r(47),u=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):t},t}(),i=e(function t(n,r){return new u(n,r)});t.exports=i},function(t,n){t.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,n,r){var a=r(49),f=r(50),e=r(2),s=r(5),p=r(3);function l(n,r){return function(t){try{return r(t)}catch(t){n(t)}}}function h(t){if(!(this instanceof h))return new h(t);this._fork=t}h.prototype["@@type"]="ramda-fantasy/Future",h.prototype.fork=function(t,n){this._fork(t,l(t,n))},h.prototype.map=function(n){return this.chain(function(t){return h.of(n(t))})},h.prototype.ap=function(i){var c=this;return new h(function(t,n){var r,e,o=a(t),u=l(o,function(){if(null!=r&&null!=e)return n(r(e))});c._fork(o,function(t){r=t,u()}),i._fork(o,function(t){e=t,u()})})},h.prototype.of=h.of=function(r){return new h(function(t,n){return n(r)})},h.prototype.chain=function(e){return new h(function(n,r){return this._fork(function(t){return n(t)},l(n,function(t){return e(t)._fork(n,r)}))}.bind(this))},h.chainRec=h.prototype.chainRec=function(c,t){return h(function(u,i){return function n(t){for(var r=null,e=p.chainRecNext(t),o=function(t){null===r?(r=!0,e=t):(t.isNext?n:i)(t.value)};e.isNext;)if(r=null,c(p.chainRecNext,p.chainRecDone,e.value).fork(u,o),!0!==r)return void(r=!1);i(e.value)}(t)})},h.prototype.chainReject=function(e){return new h(function(n,r){return this._fork(l(n,function(t){return e(t)._fork(n,r)}),function(t){return r(t)})}.bind(this))},h.prototype.bimap=function(e,o){var t=this;return new h(function(n,r){t._fork(l(n,function(t){n(e(t))}),l(n,function(t){r(o(t))}))})},h.reject=function(n){return new h(function(t){t(n)})},h.prototype.toString=function(){return"Future("+e(this._fork)+")"},h.cache=function(r){var e="IDLE",o=[],u,i=s(function(t,n,r){e=t,n(u=r),f(function(t){t[e](u)},o)});function c(t,n){o.push({REJECTED:t,RESOLVED:n})}function a(t,n){return e="PENDING",r._fork(i("REJECTED",t),i("RESOLVED",n))}return new h(function(t,n){switch(e){case"IDLE":a(t,n);break;case"PENDING":c(t,n);break;case"REJECTED":t(u);break;case"RESOLVED":n(u)}})},t.exports=h},function(t,n,r){var o=r(4),e,u=r(0)(function t(n){var r=!1,e;return o(n.length,function(){return r?e:(r=!0,e=n.apply(this,arguments))})});t.exports=u},function(t,n,r){var e=r(12),o,u=r(1)(e("forEach",function t(n,r){for(var e=r.length,o=0;o<e;)n(r[o]),o+=1;return r}));t.exports=u},function(t,n,r){var e=r(16),o=r(2),u=r(3);function i(t){if(!(this instanceof i))return new i(t);this.fn=t}(t.exports=i).prototype["@@type"]="ramda-fantasy/IO",i.prototype.chain=function(n){var r=this;return new i(function(){var t=n(r.fn.apply(r,arguments));return t.fn.apply(t,arguments)})},i.chainRec=i.prototype.chainRec=function(n,r){return new i(function(){for(var t=u.chainRecNext(r);t.isNext;)t=n(u.chainRecNext,u.chainRecDone,t.value).fn();return t.value})},i.prototype.map=function(t){var n;return new i(e(t,this.fn))},i.prototype.ap=function(n){return this.chain(function(t){return n.map(t)})},i.runIO=function(t){return t.runIO.apply(t,[].slice.call(arguments,1))},i.prototype.runIO=function(){return this.fn.apply(this,arguments)},i.of=i.prototype.of=function(t){return new i(function(){return t})},i.prototype.toString=function(){return"IO("+o(this.fn)+")"}},function(t,n,r){var e=r(4),o=r(53),u=r(54),i=r(55);function c(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return e(arguments[0].length,u(o,arguments[0],i(arguments)))}t.exports=c},function(t,n){function r(t,n){return function(){return n.call(this,t.apply(this,arguments))}}t.exports=r},function(t,n,r){var e,o,u=r(17)(r(13));t.exports=u},function(t,n,r){var e=r(12),o,u,i=r(0)(e("tail",r(56)(1,1/0)));t.exports=i},function(t,n,r){var e=r(12),o,u=r(17)(e("slice",function t(n,r,e){return Array.prototype.slice.call(e,n,r)}));t.exports=u},function(t,n,r){var e=r(0),o=r(14),u=e(function t(n){return o(n)?n.split("").reverse().join(""):Array.prototype.slice.call(n,0).reverse()});t.exports=u},function(t,n,r){var e=r(7);t.exports=e(3,function t(n,r,e){return r.map(n).ap(e)})},function(t,n,r){var e=r(7);t.exports=e(4,function t(n,r,e,o){return r.map(n).ap(e).ap(o)})},function(t,n,r){var e=r(2),o=r(5),u=r(3);function i(t){return null==t?f:i.Just(t)}function c(t){this.value=t}function a(){}i.prototype["@@type"]="ramda-fantasy/Maybe",u.extend(c,i),c.prototype.isJust=!0,c.prototype.isNothing=!1,u.extend(a,i),a.prototype.isNothing=!0,a.prototype.isJust=!1;var f=new a;i.Nothing=function(){return f},i.of=i.Just=function(t){return new c(t)},i.prototype.of=i.Just,i.isJust=function(t){return t.isJust},i.isNothing=function(t){return t.isNothing},i.maybe=o(function(t,r,n){return n.reduce(function(t,n){return r(n)},t)}),i.toMaybe=i,c.prototype.concat=function(t){return t.isNothing?this:this.of(this.value.concat(t.value))},a.prototype.concat=u.identity,c.prototype.map=function(t){return this.of(t(this.value))},a.prototype.map=u.returnThis,c.prototype.ap=function(t){return t.map(this.value)},a.prototype.ap=u.returnThis,c.prototype.chain=u.baseMap,a.prototype.chain=u.returnThis,i.chainRec=i.prototype.chainRec=function(t,n){for(var r,e=u.chainRecNext(n);e.isNext;){if(r=t(u.chainRecNext,u.chainRecDone,e.value),i.isNothing(r))return r;e=r.value}return i.Just(e.value)},c.prototype.datatype=c,a.prototype.datatype=a,c.prototype.equals=u.getEquals(c),a.prototype.equals=function(t){return t===f},i.prototype.isNothing=function(){return this===f},i.prototype.isJust=function(){return this instanceof c},c.prototype.getOrElse=function(){return this.value},a.prototype.getOrElse=function(t){return t},c.prototype.reduce=function(t,n){return t(n,this.value)},a.prototype.reduce=function(t,n){return n},c.prototype.toString=function(){return"Maybe.Just("+e(this.value)+")"},a.prototype.toString=function(){return"Maybe.Nothing()"},t.exports=i},function(t,n,r){var e=r(16),o=r(62),u=r(2),i=r(64);function c(t){if(!(this instanceof c))return new c(t);this.run=t}c.run=function(t){return t.run.apply(t,[].slice.call(arguments,1))},c.prototype["@@type"]="ramda-fantasy/Reader",c.prototype.chain=function(n){var r=this;return new c(function(t){return n(r.run(t)).run(t)})},c.prototype.ap=function(n){return this.chain(function(t){return n.map(t)})},c.prototype.map=function(n){return this.chain(function(t){return c.of(n(t))})},c.of=c.prototype.of=function(t){return new c(function(){return t})},c.ask=c(o),c.prototype.toString=function(){return"Reader("+u(this.run)+")"},c.T=function(n){var o=function t(n){if(!(this instanceof t))return new t(n);this.run=n};return o.lift=e(o,i),o.ask=o(n.of),o.prototype.of=o.of=function(t){return o(function(){return n.of(t)})},o.prototype.chain=function(r){var e=this;return o(function(n){var t;return e.run(n).chain(function(t){return r(t).run(n)})})},o.prototype.map=function(n){return this.chain(function(t){return o.of(n(t))})},o.prototype.ap=function(n){var r=this;return o(function(t){return r.run(t).ap(n.run(t))})},o.prototype.toString=function(){return"ReaderT["+n.name+"]("+u(this.run)+")"},o},t.exports=c},function(t,n,r){var e,o,u=r(0)(r(63));t.exports=u},function(t,n){function r(t){return t}t.exports=r},function(t,n,r){var e,o=r(0)(function t(n){return function(){return n}});t.exports=o},function(t,n,r){var u=r(5),e=r(15),i=r(18),c=r(3);function o(e){function o(t){if(!(this instanceof o))return new o(t);this._run=t}return o.prototype.run=function(t){return this._run(t)},o.prototype.eval=function(t){return i.fst(this.run(t))},o.prototype.exec=function(t){return i.snd(this.run(t))},o.prototype.chain=function(n){var r=this;return o(function(t){return r._run(t).chain(function(t){return n(i.fst(t))._run(i.snd(t))})})},o.of=o.prototype.of=function(n){return o(function(t){return e.of(i(n,t))})},o.prototype.ap=c.deriveAp(o),o.prototype.map=c.deriveMap(o),o.tailRec=u(function(n,r){return o(function(t){return e.tailRec(function(t){return n(i.fst(t))._run(i.snd(t)).chain(function(n){return e.of(i.fst(n).bimap(function(t){return i(t,i.snd(n))},function(t){return i(t,i.snd(n))}))})},i(r,t))})}),o.lift=function(t){return o(function(n){return t.chain(function(t){return e.of(i(t,n))})})},o.get=o(function(t){return e.of(i(t,t))}),o.gets=function(n){return o(function(t){return e.of(i(n(t),t))})},o.put=function(n){return o(function(t){return e.of(i(void 0,n))})},o.modify=function(n){return o(function(t){return e.of(i(void 0,n(t)))})},o}var a=o(e);a.T=o,a.prototype.run=function(t){return this._run(t).value},t.exports=a},function(t,n,r){"use strict";r.r(n);var e=r(19),u=function t(n){return Object(e.Identity)(n)};function o(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}r.d(n,"TimerImpl",function(){return i}),r.d(n,"create",function(){return c}),r.d(n,"hijack",function(){return a}),r.d(n,"clear",function(){return f}),r.d(n,"unhijack",function(){return s}),r.d(n,"createMonad",function(){return u});var i=function t(){o(this,t),this.rawSetTimeout=window.setTimeout,this.rawSetInterval=window.setInterval,this.setTimeout=window.setTimeout,this.setInterval=window.setInterval,this.timeoutIds=new Set,this.intervalIds=new Set},c=function t(n){return u(n||new i)},a=function t(o){return o.setTimeout=window.setTimeout=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=o.rawSetTimeout.apply(null,n);return o.timeoutIds.add(e),e},o.setInterval=window.setInterval=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=o.rawSetInterval.apply(null,n);return o.intervalIds.add(e),e},u(o)},f=function t(n){return n.timeoutIds.forEach(function(t){window.clearTimeout(t)}),n.timeoutIds.clear(),n.intervalIds.forEach(function(t){window.clearInterval(t)}),n.intervalIds.clear(),u(n)},s=function t(n){return f(n).chain(function(t){return t.setTimeout=window.setTimeout=t.rawSetTimeout,t.setInterval=window.setInterval=t.rawSetInterval,u(t)})}}],o.c=e,o.d=function(t,n,r){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(n,t){if(1&t&&(n=o(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var e in n)o.d(r,e,function(t){return n[t]}.bind(null,e));return r},o.n=function(n){var t=n&&n.__esModule?function t(){return n.default}:function t(){return n};return o.d(t,"a",t),t},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="",o(o.s=20);function o(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return r[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}var r,e}); | ||
!function t(n,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["@harpsealjs/hijack-timer"]=r():n["@harpsealjs/hijack-timer"]=r()}(window,function(){return e={},o.m=r=[function(t,n,r){var e=r(6);function o(r){return function t(n){return 0===arguments.length||e(n)?t:r.apply(this,arguments)}}t.exports=o},function(t,n,r){var o=r(0),u=r(6);function e(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:o(function(t){return e(n,t)});default:return u(n)&&u(r)?t:u(n)?o(function(t){return e(t,r)}):u(r)?o(function(t){return e(n,t)}):e(n,r)}}}t.exports=e},function(t,n,r){var e=r(0),o=r(23),u=e(function t(n){return o(n,[])});t.exports=u},function(t,n,r){var e=r(8);t.exports={baseMap:function(t){return t(this.value)},getEquals:function(r){return function t(n){return n instanceof r&&e(this.value,n.value)}},extend:function(t,n){function r(){this.constructor=t}r.prototype=n.prototype,t.prototype=new r,t.super_=n.prototype},identity:function(t){return t},notImplemented:function(t){return function(){throw new Error(t+" is not implemented")}},notCallable:function(t){return function(){throw new Error(t+" cannot be called directly")}},returnThis:function(){return this},chainRecNext:function(t){return{isNext:!0,value:t}},chainRecDone:function(t){return{isNext:!1,value:t}},deriveAp:function(r){return function(t){return this.chain(function(n){return t.chain(function(t){return r.of(n(t))})})}},deriveMap:function(r){return function(n){return this.chain(function(t){return r.of(n(t))})}}}},function(t,n){function r(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,o){return s.apply(this,arguments)};case 6:return function(t,n,r,e,o,u){return s.apply(this,arguments)};case 7:return function(t,n,r,e,o,u,i){return s.apply(this,arguments)};case 8:return function(t,n,r,e,o,u,i,c){return s.apply(this,arguments)};case 9:return function(t,n,r,e,o,u,i,c,a){return s.apply(this,arguments)};case 10:return function(t,n,r,e,o,u,i,c,a,f){return s.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}t.exports=r},function(t,n,r){var e=r(0),o=r(7),u=e(function t(n){return o(n.length,n)});t.exports=u},function(t,n){function r(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}t.exports=r},function(t,n,r){var e=r(4),o=r(0),u=r(1),i=r(22),c=u(function t(n,r){return 1===n?o(r):e(n,i(n,[],r))});t.exports=c},function(t,n,r){var e=r(1),o=r(26),u=e(function t(n,r){return o(n,r,[],[])});t.exports=u},function(t,n){function r(t,n){return Object.prototype.hasOwnProperty.call(n,t)}t.exports=r},function(t,n,r){var e=r(0),i=r(9),c=r(31),a=!{toString:null}.propertyIsEnumerable("toString"),f=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],s=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),p=function t(n,r){for(var e=0;e<n.length;){if(n[e]===r)return!0;e+=1}return!1},o="function"!=typeof Object.keys||s?e(function t(n){if(Object(n)!==n)return[];var r,e,o=[],u=s&&c(n);for(r in n)!i(r,n)||u&&"length"===r||(o[o.length]=r);if(a)for(e=f.length-1;0<=e;)i(r=f[e],n)&&!p(o,r)&&(o[o.length]=r),--e;return o}):e(function t(n){return Object(n)!==n?[]:Object.keys(n)});t.exports=o},function(t,n){t.exports=Array.isArray||function t(n){return null!=n&&0<=n.length&&"[object Array]"===Object.prototype.toString.call(n)}},function(t,n,r){var o=r(11);function e(r,e){return function(){var t=arguments.length;if(0===t)return e();var n=arguments[t-1];return o(n)||"function"!=typeof n[r]?e.apply(this,arguments):n[r].apply(n,Array.prototype.slice.call(arguments,0,t-1))}}t.exports=e},function(t,n,r){var e=r(43),o=r(44),u=r(45);function i(t,n,r){for(var e=0,o=r.length;e<o;){if((n=t["@@transducer/step"](n,r[e]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e+=1}return t["@@transducer/result"](n)}function c(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 a(t,n,r,e){return t["@@transducer/result"](r[e](u(t["@@transducer/step"],t),n))}var f="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function s(t,n,r){if("function"==typeof t&&(t=o(t)),e(r))return i(t,n,r);if("function"==typeof r["fantasy-land/reduce"])return a(t,n,r,"fantasy-land/reduce");if(null!=r[f])return c(t,n,r[f]());if("function"==typeof r.next)return c(t,n,r);if("function"==typeof r.reduce)return a(t,n,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}t.exports=s},function(t,n){function r(t){return"[object String]"===Object.prototype.toString.call(t)}t.exports=r},function(t,n,r){var e=r(2),o=r(3);function u(t){if(!(this instanceof u))return new u(t);this.value=t}u.prototype["@@type"]="ramda-fantasy/Identity",u.prototype.of=u.of=function(t){return new u(t)},u.prototype.map=function(t){return new u(t(this.value))},u.prototype.ap=function(t){return t.map(this.value)},u.prototype.chain=function(t){return t(this.value)},u.chainRec=u.prototype.chainRec=function(t,n){for(var r=o.chainRecNext(n);r.isNext;)r=t(o.chainRecNext,o.chainRecDone,r.value).get();return u(r.value)},u.prototype.get=function(){return this.value},u.prototype.equals=o.getEquals(u),u.prototype.toString=function(){return"Identity("+e(this.value)+")"},t.exports=u},function(t,n,r){var e=r(52),o=r(57);function u(){if(0===arguments.length)throw new Error("compose requires at least one argument");return e.apply(this,o(arguments))}t.exports=u},function(t,n,r){var i=r(0),c=r(1),a=r(6);function e(u){return function t(r,e,o){switch(arguments.length){case 0:return t;case 1:return a(r)?t:c(function(t,n){return u(r,t,n)});case 2:return a(r)&&a(e)?t:a(r)?c(function(t,n){return u(t,e,n)}):a(e)?c(function(t,n){return u(r,t,n)}):i(function(t){return u(r,e,t)});default:return a(r)&&a(e)&&a(o)?t:a(r)&&a(e)?c(function(t,n){return u(t,n,o)}):a(r)&&a(o)?c(function(t,n){return u(t,e,n)}):a(e)&&a(o)?c(function(t,n){return u(r,t,n)}):a(r)?i(function(t){return u(t,e,o)}):a(e)?i(function(t){return u(r,t,o)}):a(o)?i(function(t){return u(r,e,t)}):u(r,e,o)}}}t.exports=e},function(t,n,r){var e=r(2),o=r(8);function u(n,t){switch(arguments.length){case 0:throw new TypeError("no arguments to Tuple");case 1:return function(t){return new i(n,t)};default:return new i(n,t)}}function i(t,n){this[0]=t,this[1]=n,this.length=2}function c(t){t.forEach(function(t){if("function"!=typeof t.concat)throw new TypeError(e(t)+" must be a semigroup to perform this operation")})}u.fst=function(t){return t[0]},u.snd=function(t){return t[1]},i.prototype["@@type"]="ramda-fantasy/Tuple",i.prototype.concat=function(t){return c([this[0],this[1]]),u(this[0].concat(t[0]),this[1].concat(t[1]))},i.prototype.map=function(t){return u(this[0],t(this[1]))},i.prototype.ap=function(t){return c([this[0]]),u(this[0].concat(t[0]),this[1](t[1]))},i.prototype.equals=function(t){return t instanceof i&&o(this[0],t[0])&&o(this[1],t[1])},i.prototype.toString=function(){return"Tuple("+e(this[0])+", "+e(this[1])+")"},t.exports=u},function(t,n,r){t.exports={Either:r(21),Future:r(48),Identity:r(15),IO:r(51),lift2:r(58),lift3:r(59),Maybe:r(60),Reader:r(61),State:r(65),Tuple:r(18)}},function(t,n,r){t.exports=r(66)},function(t,n,r){var e=r(5),o=r(2),u=r(3);function i(n,t){switch(arguments.length){case 0:throw new TypeError("no arguments to Either");case 1:return function(t){return null==t?i.Left(n):i.Right(t)};default:return null==t?i.Left(n):i.Right(t)}}function c(t){this.value=t}function a(t){this.value=t}i.prototype["@@type"]="ramda-fantasy/Either",i.prototype.map=u.returnThis,i.of=i.prototype.of=function(t){return i.Right(t)},i.prototype.chain=u.returnThis,i.either=e(function t(n,r,e){if(e instanceof a)return n(e.value);if(e instanceof c)return r(e.value);throw new TypeError("invalid type given to Either.either")}),i.isLeft=function(t){return t.isLeft},i.isRight=function(t){return t.isRight},u.extend(c,i),c.prototype.isRight=!0,c.prototype.isLeft=!1,c.prototype.map=function(t){return new c(t(this.value))},c.prototype.ap=function(t){return t.map(this.value)},c.prototype.chain=function(t){return t(this.value)},i.chainRec=i.prototype.chainRec=function(t,n){for(var r,e=u.chainRecNext(n);e.isNext;){if(r=t(u.chainRecNext,u.chainRecDone,e.value),i.isLeft(r))return r;e=r.value}return i.Right(e.value)},c.prototype.bimap=function(t,n){return new c(n(this.value))},c.prototype.extend=function(t){return new c(t(this))},c.prototype.toString=function(){return"Either.Right("+o(this.value)+")"},c.prototype.equals=u.getEquals(c),i.Right=function(t){return new c(t)},u.extend(a,i),a.prototype.isLeft=!0,a.prototype.isRight=!1,a.prototype.ap=u.returnThis,a.prototype.bimap=function(t){return new a(t(this.value))},a.prototype.extend=u.returnThis,a.prototype.toString=function(){return"Either.Left("+o(this.value)+")"},a.prototype.equals=u.getEquals(a),i.Left=function(t){return new a(t)},i.prototype.either=function t(n,r){return(this.isLeft?n:r)(this.value)},t.exports=i},function(t,n,r){var a=r(4),f=r(6);function s(u,i,c){return function(){for(var t=[],n=0,r=u,e=0;e<i.length||n<arguments.length;){var o;e<i.length&&(!f(i[e])||arguments.length<=n)?o=i[e]:(o=arguments[n],n+=1),t[e]=o,f(o)||--r,e+=1}return r<=0?c.apply(this,t):a(r,s(u,t,c))}}t.exports=s},function(t,n,r){var u=r(24),i=r(33),c=r(34),a=r(35),f=r(10),s=r(36);function p(e,o){var r=function t(n){var r=o.concat([e]);return u(n,r)?"<Circular>":p(n,r)},t=function(n,t){return i(function(t){return c(t)+": "+r(n[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+i(r,e).join(", ")+"))";case"[object Array]":return"["+i(r,e).concat(t(e,s(function(t){return/^\d+$/.test(t)},f(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):c(a(e)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":c(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var n=e.toString();if("[object Object]"!==n)return n}return"{"+t(e,f(e)).join(", ")+"}"}}t.exports=p},function(t,n,r){var e=r(25);function o(t,n){return 0<=e(n,t,0)}t.exports=o},function(t,n,r){var u=r(8);function e(t,n,r){var e,o;if("function"==typeof t.indexOf)switch(typeof n){case"number":if(0===n){for(e=1/n;r<t.length;){if(0===(o=t[r])&&1/o==e)return r;r+=1}return-1}if(n==n)return t.indexOf(n,r);for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)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(u(t[r],n))return r;r+=1}return-1}t.exports=e},function(t,n,r){var c=r(27),a=r(28),s=r(29),p=r(9),l=r(30),h=r(10),y=r(32);function v(t,n,r,e){var o=c(t),u=c(n);function i(t,n){return d(t,n,r.slice(),e.slice())}return!a(function(t,n){return!a(i,n,t)},u,o)}function d(t,n,r,e){if(l(t,n))return!0;var o=y(t);if(o!==y(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(o){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===s(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!l(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!l(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 u=r.length-1;0<=u;){if(r[u]===t)return e[u]===n;--u}switch(o){case"Map":return t.size!==n.size?!1:v(t.entries(),n.entries(),r.concat([t]),e.concat([n]));case"Set":return t.size!==n.size?!1:v(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 i=h(t);if(i.length!==h(n).length)return!1;var c=r.concat([t]),a=e.concat([n]);for(u=i.length-1;0<=u;){var f=i[u];if(!p(f,n)||!d(n[f],t[f],c,a))return!1;--u}return!0}t.exports=d},function(t,n){function r(t){for(var n=[],r;!(r=t.next()).done;)n.push(r.value);return n}t.exports=r},function(t,n){function r(t,n,r){for(var e=0,o=r.length;e<o;){if(t(n,r[e]))return!0;e+=1}return!1}t.exports=r},function(t,n){function r(t){var n=String(t).match(/^function (\w*)/);return null==n?"":n[1]}t.exports=r},function(t,n){function r(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}t.exports="function"==typeof Object.is?Object.is:r},function(t,n,r){var e=r(9),o=Object.prototype.toString,u=function(){return"[object Arguments]"===o.call(arguments)?function t(n){return"[object Arguments]"===o.call(n)}:function t(n){return e("callee",n)}}();t.exports=u},function(t,n,r){var e,o=r(0)(function t(n){return null===n?"Null":void 0===n?"Undefined":Object.prototype.toString.call(n).slice(8,-1)});t.exports=o},function(t,n){function r(t,n){for(var r=0,e=n.length,o=Array(e);r<e;)o[r]=t(n[r]),r+=1;return o}t.exports=r},function(t,n){function r(t){var n;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,'\\"')+'"'}t.exports=r},function(t,n){var r=function t(n){return(n<10?"0":"")+n},e="function"==typeof Date.prototype.toISOString?function t(n){return n.toISOString()}:function t(n){return n.getUTCFullYear()+"-"+r(n.getUTCMonth()+1)+"-"+r(n.getUTCDate())+"T"+r(n.getUTCHours())+":"+r(n.getUTCMinutes())+":"+r(n.getUTCSeconds())+"."+(n.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};t.exports=e},function(t,n,r){var e=r(37),o=r(1),u=r(38),i=o(function t(n,r){return u(e(n),r)});t.exports=i},function(t,n){function r(t){return function(){return!t.apply(this,arguments)}}t.exports=r},function(t,n,r){var e=r(1),o=r(39),u=r(41),i=r(42),c=r(13),a=r(46),f=r(10),s=e(o(["filter"],a,function(r,e){return i(e)?c(function(t,n){return r(e[n])&&(t[n]=e[n]),t},{},f(e)):u(r,e)}));t.exports=s},function(t,n,r){var c=r(11),a=r(40);function e(o,u,i){return function(){if(0===arguments.length)return i();var t=Array.prototype.slice.call(arguments,0),n=t.pop();if(!c(n)){for(var r=0,e;r<o.length;){if("function"==typeof n[o[r]])return n[o[r]].apply(n,t);r+=1}if(a(n))return u.apply(null,t)(n)}return i.apply(this,arguments)}}t.exports=e},function(t,n){function r(t){return null!=t&&"function"==typeof t["@@transducer/step"]}t.exports=r},function(t,n){function r(t,n){for(var r=0,e=n.length,o=[];r<e;)t(n[r])&&(o[o.length]=n[r]),r+=1;return o}t.exports=r},function(t,n){function r(t){return"[object Object]"===Object.prototype.toString.call(t)}t.exports=r},function(t,n,r){var e=r(0),o=r(11),u=r(14),i=e(function t(n){return!!o(n)||!!n&&("object"==typeof n&&(!u(n)&&(1===n.nodeType?!!n.length:0===n.length||0<n.length&&(n.hasOwnProperty(0)&&n.hasOwnProperty(n.length-1)))))});t.exports=i},function(t,n){var r=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,n){return this.f(t,n)},t}();function e(t){return new r(t)}t.exports=e},function(t,n,r){var e=r(4),o,u=r(1)(function t(n,r){return e(n.length,function(){return n.apply(r,arguments)})});t.exports=u},function(t,n,r){var e=r(1),o=r(47),u=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):t},t}(),i=e(function t(n,r){return new u(n,r)});t.exports=i},function(t,n){t.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,n,r){var a=r(49),f=r(50),e=r(2),s=r(5),p=r(3);function l(n,r){return function(t){try{return r(t)}catch(t){n(t)}}}function h(t){if(!(this instanceof h))return new h(t);this._fork=t}h.prototype["@@type"]="ramda-fantasy/Future",h.prototype.fork=function(t,n){this._fork(t,l(t,n))},h.prototype.map=function(n){return this.chain(function(t){return h.of(n(t))})},h.prototype.ap=function(i){var c=this;return new h(function(t,n){var r,e,o=a(t),u=l(o,function(){if(null!=r&&null!=e)return n(r(e))});c._fork(o,function(t){r=t,u()}),i._fork(o,function(t){e=t,u()})})},h.prototype.of=h.of=function(r){return new h(function(t,n){return n(r)})},h.prototype.chain=function(e){return new h(function(n,r){return this._fork(function(t){return n(t)},l(n,function(t){return e(t)._fork(n,r)}))}.bind(this))},h.chainRec=h.prototype.chainRec=function(c,t){return h(function(u,i){return function n(t){for(var r=null,e=p.chainRecNext(t),o=function(t){null===r?(r=!0,e=t):(t.isNext?n:i)(t.value)};e.isNext;)if(r=null,c(p.chainRecNext,p.chainRecDone,e.value).fork(u,o),!0!==r)return void(r=!1);i(e.value)}(t)})},h.prototype.chainReject=function(e){return new h(function(n,r){return this._fork(l(n,function(t){return e(t)._fork(n,r)}),function(t){return r(t)})}.bind(this))},h.prototype.bimap=function(e,o){var t=this;return new h(function(n,r){t._fork(l(n,function(t){n(e(t))}),l(n,function(t){r(o(t))}))})},h.reject=function(n){return new h(function(t){t(n)})},h.prototype.toString=function(){return"Future("+e(this._fork)+")"},h.cache=function(r){var e="IDLE",o=[],u,i=s(function(t,n,r){e=t,n(u=r),f(function(t){t[e](u)},o)});function c(t,n){o.push({REJECTED:t,RESOLVED:n})}function a(t,n){return e="PENDING",r._fork(i("REJECTED",t),i("RESOLVED",n))}return new h(function(t,n){switch(e){case"IDLE":a(t,n);break;case"PENDING":c(t,n);break;case"REJECTED":t(u);break;case"RESOLVED":n(u)}})},t.exports=h},function(t,n,r){var o=r(4),e,u=r(0)(function t(n){var r=!1,e;return o(n.length,function(){return r?e:(r=!0,e=n.apply(this,arguments))})});t.exports=u},function(t,n,r){var e=r(12),o,u=r(1)(e("forEach",function t(n,r){for(var e=r.length,o=0;o<e;)n(r[o]),o+=1;return r}));t.exports=u},function(t,n,r){var e=r(16),o=r(2),u=r(3);function i(t){if(!(this instanceof i))return new i(t);this.fn=t}(t.exports=i).prototype["@@type"]="ramda-fantasy/IO",i.prototype.chain=function(n){var r=this;return new i(function(){var t=n(r.fn.apply(r,arguments));return t.fn.apply(t,arguments)})},i.chainRec=i.prototype.chainRec=function(n,r){return new i(function(){for(var t=u.chainRecNext(r);t.isNext;)t=n(u.chainRecNext,u.chainRecDone,t.value).fn();return t.value})},i.prototype.map=function(t){var n;return new i(e(t,this.fn))},i.prototype.ap=function(n){return this.chain(function(t){return n.map(t)})},i.runIO=function(t){return t.runIO.apply(t,[].slice.call(arguments,1))},i.prototype.runIO=function(){return this.fn.apply(this,arguments)},i.of=i.prototype.of=function(t){return new i(function(){return t})},i.prototype.toString=function(){return"IO("+o(this.fn)+")"}},function(t,n,r){var e=r(4),o=r(53),u=r(54),i=r(55);function c(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return e(arguments[0].length,u(o,arguments[0],i(arguments)))}t.exports=c},function(t,n){function r(t,n){return function(){return n.call(this,t.apply(this,arguments))}}t.exports=r},function(t,n,r){var e,o,u=r(17)(r(13));t.exports=u},function(t,n,r){var e=r(12),o,u,i=r(0)(e("tail",r(56)(1,1/0)));t.exports=i},function(t,n,r){var e=r(12),o,u=r(17)(e("slice",function t(n,r,e){return Array.prototype.slice.call(e,n,r)}));t.exports=u},function(t,n,r){var e=r(0),o=r(14),u=e(function t(n){return o(n)?n.split("").reverse().join(""):Array.prototype.slice.call(n,0).reverse()});t.exports=u},function(t,n,r){var e=r(7);t.exports=e(3,function t(n,r,e){return r.map(n).ap(e)})},function(t,n,r){var e=r(7);t.exports=e(4,function t(n,r,e,o){return r.map(n).ap(e).ap(o)})},function(t,n,r){var e=r(2),o=r(5),u=r(3);function i(t){return null==t?f:i.Just(t)}function c(t){this.value=t}function a(){}i.prototype["@@type"]="ramda-fantasy/Maybe",u.extend(c,i),c.prototype.isJust=!0,c.prototype.isNothing=!1,u.extend(a,i),a.prototype.isNothing=!0,a.prototype.isJust=!1;var f=new a;i.Nothing=function(){return f},i.of=i.Just=function(t){return new c(t)},i.prototype.of=i.Just,i.isJust=function(t){return t.isJust},i.isNothing=function(t){return t.isNothing},i.maybe=o(function(t,r,n){return n.reduce(function(t,n){return r(n)},t)}),i.toMaybe=i,c.prototype.concat=function(t){return t.isNothing?this:this.of(this.value.concat(t.value))},a.prototype.concat=u.identity,c.prototype.map=function(t){return this.of(t(this.value))},a.prototype.map=u.returnThis,c.prototype.ap=function(t){return t.map(this.value)},a.prototype.ap=u.returnThis,c.prototype.chain=u.baseMap,a.prototype.chain=u.returnThis,i.chainRec=i.prototype.chainRec=function(t,n){for(var r,e=u.chainRecNext(n);e.isNext;){if(r=t(u.chainRecNext,u.chainRecDone,e.value),i.isNothing(r))return r;e=r.value}return i.Just(e.value)},c.prototype.datatype=c,a.prototype.datatype=a,c.prototype.equals=u.getEquals(c),a.prototype.equals=function(t){return t===f},i.prototype.isNothing=function(){return this===f},i.prototype.isJust=function(){return this instanceof c},c.prototype.getOrElse=function(){return this.value},a.prototype.getOrElse=function(t){return t},c.prototype.reduce=function(t,n){return t(n,this.value)},a.prototype.reduce=function(t,n){return n},c.prototype.toString=function(){return"Maybe.Just("+e(this.value)+")"},a.prototype.toString=function(){return"Maybe.Nothing()"},t.exports=i},function(t,n,r){var e=r(16),o=r(62),u=r(2),i=r(64);function c(t){if(!(this instanceof c))return new c(t);this.run=t}c.run=function(t){return t.run.apply(t,[].slice.call(arguments,1))},c.prototype["@@type"]="ramda-fantasy/Reader",c.prototype.chain=function(n){var r=this;return new c(function(t){return n(r.run(t)).run(t)})},c.prototype.ap=function(n){return this.chain(function(t){return n.map(t)})},c.prototype.map=function(n){return this.chain(function(t){return c.of(n(t))})},c.of=c.prototype.of=function(t){return new c(function(){return t})},c.ask=c(o),c.prototype.toString=function(){return"Reader("+u(this.run)+")"},c.T=function(n){var o=function t(n){if(!(this instanceof t))return new t(n);this.run=n};return o.lift=e(o,i),o.ask=o(n.of),o.prototype.of=o.of=function(t){return o(function(){return n.of(t)})},o.prototype.chain=function(r){var e=this;return o(function(n){var t;return e.run(n).chain(function(t){return r(t).run(n)})})},o.prototype.map=function(n){return this.chain(function(t){return o.of(n(t))})},o.prototype.ap=function(n){var r=this;return o(function(t){return r.run(t).ap(n.run(t))})},o.prototype.toString=function(){return"ReaderT["+n.name+"]("+u(this.run)+")"},o},t.exports=c},function(t,n,r){var e,o,u=r(0)(r(63));t.exports=u},function(t,n){function r(t){return t}t.exports=r},function(t,n,r){var e,o=r(0)(function t(n){return function(){return n}});t.exports=o},function(t,n,r){var u=r(5),e=r(15),i=r(18),c=r(3);function o(e){function o(t){if(!(this instanceof o))return new o(t);this._run=t}return o.prototype.run=function(t){return this._run(t)},o.prototype.eval=function(t){return i.fst(this.run(t))},o.prototype.exec=function(t){return i.snd(this.run(t))},o.prototype.chain=function(n){var r=this;return o(function(t){return r._run(t).chain(function(t){return n(i.fst(t))._run(i.snd(t))})})},o.of=o.prototype.of=function(n){return o(function(t){return e.of(i(n,t))})},o.prototype.ap=c.deriveAp(o),o.prototype.map=c.deriveMap(o),o.tailRec=u(function(n,r){return o(function(t){return e.tailRec(function(t){return n(i.fst(t))._run(i.snd(t)).chain(function(n){return e.of(i.fst(n).bimap(function(t){return i(t,i.snd(n))},function(t){return i(t,i.snd(n))}))})},i(r,t))})}),o.lift=function(t){return o(function(n){return t.chain(function(t){return e.of(i(t,n))})})},o.get=o(function(t){return e.of(i(t,t))}),o.gets=function(n){return o(function(t){return e.of(i(n(t),t))})},o.put=function(n){return o(function(t){return e.of(i(void 0,n))})},o.modify=function(n){return o(function(t){return e.of(i(void 0,n(t)))})},o}var a=o(e);a.T=o,a.prototype.run=function(t){return this._run(t).value},t.exports=a},function(t,n,r){"use strict";r.r(n),r.d(n,"createMonad",function(){return u}),r.d(n,"TimerImpl",function(){return i}),r.d(n,"create",function(){return c}),r.d(n,"hijack",function(){return a}),r.d(n,"clear",function(){return f}),r.d(n,"unhijack",function(){return s});var e=r(19),u=function t(n){return Object(e.Identity)(n)};function o(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var i=function t(){o(this,t),this.rawSetTimeout=window.setTimeout,this.rawSetInterval=window.setInterval,this.setTimeout=window.setTimeout,this.setInterval=window.setInterval,this.timeoutIds=new Set,this.intervalIds=new Set},c=function t(n){return u(n||new i)},a=function t(o){return o.setTimeout=window.setTimeout=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=o.rawSetTimeout.apply(null,n);return o.timeoutIds.add(e),e},o.setInterval=window.setInterval=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=o.rawSetInterval.apply(null,n);return o.intervalIds.add(e),e},u(o)},f=function t(n){return n.timeoutIds.forEach(function(t){window.clearTimeout(t)}),n.timeoutIds.clear(),n.intervalIds.forEach(function(t){window.clearInterval(t)}),n.intervalIds.clear(),u(n)},s=function t(n){return f(n).chain(function(t){return t.setTimeout=window.setTimeout=t.rawSetTimeout,t.setInterval=window.setInterval=t.rawSetInterval,u(t)})}}],o.c=e,o.d=function(t,n,r){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(n,t){if(1&t&&(n=o(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var e in n)o.d(r,e,function(t){return n[t]}.bind(null,e));return r},o.n=function(n){var t=n&&n.__esModule?function t(){return n.default}:function t(){return n};return o.d(t,"a",t),t},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="",o(o.s=20);function o(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return r[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}var r,e}); |
{ | ||
"name": "@harpsealjs/hijack-timer", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "micro timer hijack", | ||
@@ -21,11 +21,6 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "git+https://github.com/sealjs/hijack-timer.git" | ||
"url": "git+https://github.com/harpsealjs/microfe.git" | ||
}, | ||
"keywords": [ | ||
"Rax", | ||
"rax-component", | ||
"react-component" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/sealjs" | ||
"url": "https://github.com/harpsealjs/microfe/issues" | ||
}, | ||
@@ -42,5 +37,4 @@ "engines": { | ||
}, | ||
"homepage": "https://github.com/sealjs/hijack-timer#readme", | ||
"author": "skyinlayer", | ||
"gitHead": "f430e8a2c3ad934c82ab74f4ec3d42d7edf55f24" | ||
"homepage": "https://github.com/harpsealjs/microfe", | ||
"gitHead": "eec0cba869d20b89e0dfd2bb8e5ce93ec20e1acb" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
32829
1
1