@harpsealjs/hijack-history
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -1,1 +0,1 @@ | ||
!function t(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@harpsealjs/hijack-history"]=e():n["@harpsealjs/hijack-history"]=e()}(window,function(){return r={},o.m=e=[function(t,n,e){var r=e(6);function o(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}t.exports=o},function(t,n,e){var o=e(0),u=e(6);function r(r){return function t(n,e){switch(arguments.length){case 0:return t;case 1:return u(n)?t:o(function(t){return r(n,t)});default:return u(n)&&u(e)?t:u(n)?o(function(t){return r(t,e)}):u(e)?o(function(t){return r(n,t)}):r(n,e)}}}t.exports=r},function(t,n,e){var r=e(0),o=e(27),u=r(function t(n){return o(n,[])});t.exports=u},function(t,n,e){var r=e(8);t.exports={baseMap:function(t){return t(this.value)},getEquals:function(e){return function t(n){return n instanceof e&&r(this.value,n.value)}},extend:function(t,n){function e(){this.constructor=t}e.prototype=n.prototype,t.prototype=new e,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(e){return function(t){return this.chain(function(n){return t.chain(function(t){return e.of(n(t))})})}},deriveMap:function(e){return function(n){return this.chain(function(t){return e.of(n(t))})}}}},function(t,n){function e(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,e){return s.apply(this,arguments)};case 4:return function(t,n,e,r){return s.apply(this,arguments)};case 5:return function(t,n,e,r,o){return s.apply(this,arguments)};case 6:return function(t,n,e,r,o,u){return s.apply(this,arguments)};case 7:return function(t,n,e,r,o,u,i){return s.apply(this,arguments)};case 8:return function(t,n,e,r,o,u,i,c){return s.apply(this,arguments)};case 9:return function(t,n,e,r,o,u,i,c,a){return s.apply(this,arguments)};case 10:return function(t,n,e,r,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=e},function(t,n,e){var r=e(0),o=e(7),u=r(function t(n){return o(n.length,n)});t.exports=u},function(t,n){function e(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}t.exports=e},function(t,n,e){var r=e(4),o=e(0),u=e(1),i=e(26),c=u(function t(n,e){return 1===n?o(e):r(n,i(n,[],e))});t.exports=c},function(t,n,e){var r=e(1),o=e(30),u=r(function t(n,e){return o(n,e,[],[])});t.exports=u},function(t,n){function e(t,n){return Object.prototype.hasOwnProperty.call(n,t)}t.exports=e},function(t,n,e){var r=e(0),i=e(9),c=e(35),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,e){for(var r=0;r<n.length;){if(n[r]===e)return!0;r+=1}return!1},o="function"!=typeof Object.keys||s?r(function t(n){if(Object(n)!==n)return[];var e,r,o=[],u=s&&c(n);for(e in n)!i(e,n)||u&&"length"===e||(o[o.length]=e);if(a)for(r=f.length-1;0<=r;)i(e=f[r],n)&&!p(o,e)&&(o[o.length]=e),--r;return o}):r(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,e){var o=e(11);function r(e,r){return function(){var t=arguments.length;if(0===t)return r();var n=arguments[t-1];return o(n)||"function"!=typeof n[e]?r.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,t-1))}}t.exports=r},function(u,t,f){"use strict";(function(i){var h=f(23),y=f(24),c=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,e=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,t,n=new RegExp("^"+"[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]"+"+");function v(t){return(t||"").toString().replace(n,"")}var d=[["#","hash"],["?","query"],function t(n){return n.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],a={hash:1,query:1};function g(t){var n,e=(n="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{}).location||{},r={},o=typeof(t=t||e),u;if("blob:"===t.protocol)r=new m(unescape(t.pathname),{});else if("string"==o)for(u in r=new m(t,{}),a)delete r[u];else if("object"==o){for(u in t)u in a||(r[u]=t[u]);void 0===r.slashes&&(r.slashes=c.test(t.href))}return r}function w(t){t=v(t);var n=e.exec(t);return{protocol:n[1]?n[1].toLowerCase():"",slashes:!!n[2],rest:n[3]}}function x(t,n){if(""===t)return n;for(var e=(n||"/").split("/").slice(0,-1).concat(t.split("/")),r=e.length,o=e[r-1],u=!1,i=0;r--;)"."===e[r]?e.splice(r,1):".."===e[r]?(e.splice(r,1),i++):i&&(0===r&&(u=!0),e.splice(r,1),i--);return u&&e.unshift(""),"."!==o&&".."!==o||e.push(""),e.join("/")}function m(t,n,e){if(t=v(t),!(this instanceof m))return new m(t,n,e);var r,o,u,i,c,a,f=d.slice(),s=typeof n,p=this,l=0;for("object"!=s&&"string"!=s&&(e=n,n=null),e&&"function"!=typeof e&&(e=y.parse),n=g(n),r=!(o=w(t||"")).protocol&&!o.slashes,p.slashes=o.slashes||r&&n.slashes,p.protocol=o.protocol||n.protocol||"",t=o.rest,o.slashes||(f[3]=[/(.*)/,"pathname"]);l<f.length;l++)"function"!=typeof(i=f[l])?(u=i[0],a=i[1],u!=u?p[a]=t:"string"==typeof u?~(c=t.indexOf(u))&&(t="number"==typeof i[2]?(p[a]=t.slice(0,c),t.slice(c+i[2])):(p[a]=t.slice(c),t.slice(0,c))):(c=u.exec(t))&&(p[a]=c[1],t=t.slice(0,c.index)),p[a]=p[a]||r&&i[3]&&n[a]||"",i[4]&&(p[a]=p[a].toLowerCase())):t=i(t);e&&(p.query=e(p.query)),r&&n.slashes&&"/"!==p.pathname.charAt(0)&&(""!==p.pathname||""!==n.pathname)&&(p.pathname=x(p.pathname,n.pathname)),h(p.port,p.protocol)||(p.host=p.hostname,p.port=""),p.username=p.password="",p.auth&&(i=p.auth.split(":"),p.username=i[0]||"",p.password=i[1]||""),p.origin=p.protocol&&p.host&&"file:"!==p.protocol?p.protocol+"//"+p.host:"null",p.href=p.toString()}function r(t,n,e){var r=this;switch(t){case"query":"string"==typeof n&&n.length&&(n=(e||y.parse)(n)),r[t]=n;break;case"port":r[t]=n,h(n,r.protocol)?n&&(r.host=r.hostname+":"+n):(r.host=r.hostname,r[t]="");break;case"hostname":r[t]=n,r.port&&(n+=":"+r.port),r.host=n;break;case"host":r[t]=n,/:\d+$/.test(n)?(n=n.split(":"),r.port=n.pop(),r.hostname=n.join(":")):(r.hostname=n,r.port="");break;case"protocol":r.protocol=n.toLowerCase(),r.slashes=!e;break;case"pathname":case"hash":if(n){var o="pathname"===t?"/":"#";r[t]=n.charAt(0)!==o?o+n:n}else r[t]=n;break;default:r[t]=n}for(var u=0;u<d.length;u++){var i=d[u];i[4]&&(r[i[1]]=r[i[1]].toLowerCase())}return r.origin=r.protocol&&r.host&&"file:"!==r.protocol?r.protocol+"//"+r.host:"null",r.href=r.toString(),r}function o(t){t&&"function"==typeof t||(t=y.stringify);var n,e=this,r=e.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var o=r+(e.slashes?"//":"");return e.username&&(o+=e.username,e.password&&(o+=":"+e.password),o+="@"),o+=e.host+e.pathname,(n="object"==typeof e.query?t(e.query):e.query)&&(o+="?"!==n.charAt(0)?"?"+n:n),e.hash&&(o+=e.hash),o}m.prototype={set:r,toString:o},m.extractProtocol=w,m.location=g,m.trimLeft=v,m.qs=y,u.exports=m}).call(this,f(22))},function(t,n,e){var r=e(47),o=e(48),u=e(49);function i(t,n,e){for(var r=0,o=e.length;r<o;){if((n=t["@@transducer/step"](n,e[r]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}r+=1}return t["@@transducer/result"](n)}function c(t,n,e){for(var r=e.next();!r.done;){if((n=t["@@transducer/step"](n,r.value))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}r=e.next()}return t["@@transducer/result"](n)}function a(t,n,e,r){return t["@@transducer/result"](e[r](u(t["@@transducer/step"],t),n))}var f="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function s(t,n,e){if("function"==typeof t&&(t=o(t)),r(e))return i(t,n,e);if("function"==typeof e["fantasy-land/reduce"])return a(t,n,e,"fantasy-land/reduce");if(null!=e[f])return c(t,n,e[f]());if("function"==typeof e.next)return c(t,n,e);if("function"==typeof e.reduce)return a(t,n,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}t.exports=s},function(t,n){function e(t){return"[object String]"===Object.prototype.toString.call(t)}t.exports=e},function(t,n,e){var r=e(2),o=e(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 e=o.chainRecNext(n);e.isNext;)e=t(o.chainRecNext,o.chainRecDone,e.value).get();return u(e.value)},u.prototype.get=function(){return this.value},u.prototype.equals=o.getEquals(u),u.prototype.toString=function(){return"Identity("+r(this.value)+")"},t.exports=u},function(t,n,e){var r=e(56),o=e(61);function u(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,o(arguments))}t.exports=u},function(t,n,e){var i=e(0),c=e(1),a=e(6);function r(u){return function t(e,r,o){switch(arguments.length){case 0:return t;case 1:return a(e)?t:c(function(t,n){return u(e,t,n)});case 2:return a(e)&&a(r)?t:a(e)?c(function(t,n){return u(t,r,n)}):a(r)?c(function(t,n){return u(e,t,n)}):i(function(t){return u(e,r,t)});default:return a(e)&&a(r)&&a(o)?t:a(e)&&a(r)?c(function(t,n){return u(t,n,o)}):a(e)&&a(o)?c(function(t,n){return u(t,r,n)}):a(r)&&a(o)?c(function(t,n){return u(e,t,n)}):a(e)?i(function(t){return u(t,r,o)}):a(r)?i(function(t){return u(e,t,o)}):a(o)?i(function(t){return u(e,r,t)}):u(e,r,o)}}}t.exports=r},function(t,n,e){var r=e(2),o=e(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(r(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("+r(this[0])+", "+r(this[1])+")"},t.exports=u},function(t,n,e){t.exports={Either:e(25),Future:e(52),Identity:e(16),IO:e(55),lift2:e(62),lift3:e(63),Maybe:e(64),Reader:e(65),State:e(69),Tuple:e(19)}},function(t,n,e){t.exports=e(70)},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";t.exports=function t(n,e){if(e=e.split(":")[0],!(n=+n))return!1;switch(e){case"http":case"ws":return 80!==n;case"https":case"wss":return 443!==n;case"ftp":return 21!==n;case"gopher":return 70!==n;case"file":return!1}return 0!==n}},function(t,n,e){"use strict";var u=Object.prototype.hasOwnProperty,i;function c(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function r(t){try{return encodeURIComponent(t)}catch(t){return}}function o(t){for(var n=/([^=?&]+)=?([^&]*)/g,e={},r;r=n.exec(t);){var o=c(r[1]),u=c(r[2]);null===o||null===u||o in e||(e[o]=u)}return e}function a(t,n){n=n||"";var e=[],r,o;for(o in"string"!=typeof n&&(n="?"),t)if(u.call(t,o)){if((r=t[o])||null!==r&&r!==i&&!isNaN(r)||(r=""),o=encodeURIComponent(o),r=encodeURIComponent(r),null===o||null===r)continue;e.push(o+"="+r)}return e.length?n+e.join("&"):""}n.stringify=a,n.parse=o},function(t,n,e){var r=e(5),o=e(2),u=e(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=r(function t(n,e,r){if(r instanceof a)return n(r.value);if(r instanceof c)return e(r.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 e,r=u.chainRecNext(n);r.isNext;){if(e=t(u.chainRecNext,u.chainRecDone,r.value),i.isLeft(e))return e;r=e.value}return i.Right(r.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,e){return(this.isLeft?n:e)(this.value)},t.exports=i},function(t,n,e){var a=e(4),f=e(6);function s(u,i,c){return function(){for(var t=[],n=0,e=u,r=0;r<i.length||n<arguments.length;){var o;r<i.length&&(!f(i[r])||arguments.length<=n)?o=i[r]:(o=arguments[n],n+=1),t[r]=o,f(o)||--e,r+=1}return e<=0?c.apply(this,t):a(e,s(u,t,c))}}t.exports=s},function(t,n,e){var u=e(28),i=e(37),c=e(38),a=e(39),f=e(10),s=e(40);function p(r,o){var e=function t(n){var e=o.concat([r]);return u(n,e)?"<Circular>":p(n,e)},t=function(n,t){return i(function(t){return c(t)+": "+e(n[t])},t.slice().sort())};switch(Object.prototype.toString.call(r)){case"[object Arguments]":return"(function() { return arguments; }("+i(e,r).join(", ")+"))";case"[object Array]":return"["+i(e,r).concat(t(r,s(function(t){return/^\d+$/.test(t)},f(r)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof r?"new Boolean("+e(r.valueOf())+")":r.toString();case"[object Date]":return"new Date("+(isNaN(r.valueOf())?e(NaN):c(a(r)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof r?"new Number("+e(r.valueOf())+")":1/r==-1/0?"-0":r.toString(10);case"[object String]":return"object"==typeof r?"new String("+e(r.valueOf())+")":c(r);case"[object Undefined]":return"undefined";default:if("function"==typeof r.toString){var n=r.toString();if("[object Object]"!==n)return n}return"{"+t(r,f(r)).join(", ")+"}"}}t.exports=p},function(t,n,e){var r=e(29);function o(t,n){return 0<=r(n,t,0)}t.exports=o},function(t,n,e){var u=e(8);function r(t,n,e){var r,o;if("function"==typeof t.indexOf)switch(typeof n){case"number":if(0===n){for(r=1/n;e<t.length;){if(0===(o=t[e])&&1/o==r)return e;e+=1}return-1}if(n==n)return t.indexOf(n,e);for(;e<t.length;){if("number"==typeof(o=t[e])&&o!=o)return e;e+=1}return-1;case"string":case"boolean":case"function":case"undefined":return t.indexOf(n,e);case"object":if(null===n)return t.indexOf(n,e)}for(;e<t.length;){if(u(t[e],n))return e;e+=1}return-1}t.exports=r},function(t,n,e){var c=e(31),a=e(32),s=e(33),p=e(9),l=e(34),h=e(10),y=e(36);function v(t,n,e,r){var o=c(t),u=c(n);function i(t,n){return d(t,n,e.slice(),r.slice())}return!a(function(t,n){return!a(i,n,t)},u,o)}function d(t,n,e,r){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=e.length-1;0<=u;){if(e[u]===t)return r[u]===n;--u}switch(o){case"Map":return t.size!==n.size?!1:v(t.entries(),n.entries(),e.concat([t]),r.concat([n]));case"Set":return t.size!==n.size?!1:v(t.values(),n.values(),e.concat([t]),r.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=e.concat([t]),a=r.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 e(t){for(var n=[],e;!(e=t.next()).done;)n.push(e.value);return n}t.exports=e},function(t,n){function e(t,n,e){for(var r=0,o=e.length;r<o;){if(t(n,e[r]))return!0;r+=1}return!1}t.exports=e},function(t,n){function e(t){var n=String(t).match(/^function (\w*)/);return null==n?"":n[1]}t.exports=e},function(t,n){function e(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}t.exports="function"==typeof Object.is?Object.is:e},function(t,n,e){var r=e(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 r("callee",n)}}();t.exports=u},function(t,n,e){var r,o=e(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 e(t,n){for(var e=0,r=n.length,o=Array(r);e<r;)o[e]=t(n[e]),e+=1;return o}t.exports=e},function(t,n){function e(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=e},function(t,n){var e=function t(n){return(n<10?"0":"")+n},r="function"==typeof Date.prototype.toISOString?function t(n){return n.toISOString()}:function t(n){return n.getUTCFullYear()+"-"+e(n.getUTCMonth()+1)+"-"+e(n.getUTCDate())+"T"+e(n.getUTCHours())+":"+e(n.getUTCMinutes())+":"+e(n.getUTCSeconds())+"."+(n.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};t.exports=r},function(t,n,e){var r=e(41),o=e(1),u=e(42),i=o(function t(n,e){return u(r(n),e)});t.exports=i},function(t,n){function e(t){return function(){return!t.apply(this,arguments)}}t.exports=e},function(t,n,e){var r=e(1),o=e(43),u=e(45),i=e(46),c=e(14),a=e(50),f=e(10),s=r(o(["filter"],a,function(e,r){return i(r)?c(function(t,n){return e(r[n])&&(t[n]=r[n]),t},{},f(r)):u(e,r)}));t.exports=s},function(t,n,e){var c=e(11),a=e(44);function r(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 e=0,r;e<o.length;){if("function"==typeof n[o[e]])return n[o[e]].apply(n,t);e+=1}if(a(n))return u.apply(null,t)(n)}return i.apply(this,arguments)}}t.exports=r},function(t,n){function e(t){return null!=t&&"function"==typeof t["@@transducer/step"]}t.exports=e},function(t,n){function e(t,n){for(var e=0,r=n.length,o=[];e<r;)t(n[e])&&(o[o.length]=n[e]),e+=1;return o}t.exports=e},function(t,n){function e(t){return"[object Object]"===Object.prototype.toString.call(t)}t.exports=e},function(t,n,e){var r=e(0),o=e(11),u=e(15),i=r(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 e=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 r(t){return new e(t)}t.exports=r},function(t,n,e){var r=e(4),o,u=e(1)(function t(n,e){return r(n.length,function(){return n.apply(e,arguments)})});t.exports=u},function(t,n,e){var r=e(1),o=e(51),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=r(function t(n,e){return new u(n,e)});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,e){var a=e(53),f=e(54),r=e(2),s=e(5),p=e(3);function l(n,e){return function(t){try{return e(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 e,r,o=a(t),u=l(o,function(){if(null!=e&&null!=r)return n(e(r))});c._fork(o,function(t){e=t,u()}),i._fork(o,function(t){r=t,u()})})},h.prototype.of=h.of=function(e){return new h(function(t,n){return n(e)})},h.prototype.chain=function(r){return new h(function(n,e){return this._fork(function(t){return n(t)},l(n,function(t){return r(t)._fork(n,e)}))}.bind(this))},h.chainRec=h.prototype.chainRec=function(c,t){return h(function(u,i){return function n(t){for(var e=null,r=p.chainRecNext(t),o=function(t){null===e?(e=!0,r=t):(t.isNext?n:i)(t.value)};r.isNext;)if(e=null,c(p.chainRecNext,p.chainRecDone,r.value).fork(u,o),!0!==e)return void(e=!1);i(r.value)}(t)})},h.prototype.chainReject=function(r){return new h(function(n,e){return this._fork(l(n,function(t){return r(t)._fork(n,e)}),function(t){return e(t)})}.bind(this))},h.prototype.bimap=function(r,o){var t=this;return new h(function(n,e){t._fork(l(n,function(t){n(r(t))}),l(n,function(t){e(o(t))}))})},h.reject=function(n){return new h(function(t){t(n)})},h.prototype.toString=function(){return"Future("+r(this._fork)+")"},h.cache=function(e){var r="IDLE",o=[],u,i=s(function(t,n,e){r=t,n(u=e),f(function(t){t[r](u)},o)});function c(t,n){o.push({REJECTED:t,RESOLVED:n})}function a(t,n){return r="PENDING",e._fork(i("REJECTED",t),i("RESOLVED",n))}return new h(function(t,n){switch(r){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,e){var o=e(4),r,u=e(0)(function t(n){var e=!1,r;return o(n.length,function(){return e?r:(e=!0,r=n.apply(this,arguments))})});t.exports=u},function(t,n,e){var r=e(12),o,u=e(1)(r("forEach",function t(n,e){for(var r=e.length,o=0;o<r;)n(e[o]),o+=1;return e}));t.exports=u},function(t,n,e){var r=e(17),o=e(2),u=e(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 e=this;return new i(function(){var t=n(e.fn.apply(e,arguments));return t.fn.apply(t,arguments)})},i.chainRec=i.prototype.chainRec=function(n,e){return new i(function(){for(var t=u.chainRecNext(e);t.isNext;)t=n(u.chainRecNext,u.chainRecDone,t.value).fn();return t.value})},i.prototype.map=function(t){var n;return new i(r(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,e){var r=e(4),o=e(57),u=e(58),i=e(59);function c(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,u(o,arguments[0],i(arguments)))}t.exports=c},function(t,n){function e(t,n){return function(){return n.call(this,t.apply(this,arguments))}}t.exports=e},function(t,n,e){var r,o,u=e(18)(e(14));t.exports=u},function(t,n,e){var r=e(12),o,u,i=e(0)(r("tail",e(60)(1,1/0)));t.exports=i},function(t,n,e){var r=e(12),o,u=e(18)(r("slice",function t(n,e,r){return Array.prototype.slice.call(r,n,e)}));t.exports=u},function(t,n,e){var r=e(0),o=e(15),u=r(function t(n){return o(n)?n.split("").reverse().join(""):Array.prototype.slice.call(n,0).reverse()});t.exports=u},function(t,n,e){var r=e(7);t.exports=r(3,function t(n,e,r){return e.map(n).ap(r)})},function(t,n,e){var r=e(7);t.exports=r(4,function t(n,e,r,o){return e.map(n).ap(r).ap(o)})},function(t,n,e){var r=e(2),o=e(5),u=e(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,e,n){return n.reduce(function(t,n){return e(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 e,r=u.chainRecNext(n);r.isNext;){if(e=t(u.chainRecNext,u.chainRecDone,r.value),i.isNothing(e))return e;r=e.value}return i.Just(r.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("+r(this.value)+")"},a.prototype.toString=function(){return"Maybe.Nothing()"},t.exports=i},function(t,n,e){var r=e(17),o=e(66),u=e(2),i=e(68);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 e=this;return new c(function(t){return n(e.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=r(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(e){var r=this;return o(function(n){var t;return r.run(n).chain(function(t){return e(t).run(n)})})},o.prototype.map=function(n){return this.chain(function(t){return o.of(n(t))})},o.prototype.ap=function(n){var e=this;return o(function(t){return e.run(t).ap(n.run(t))})},o.prototype.toString=function(){return"ReaderT["+n.name+"]("+u(this.run)+")"},o},t.exports=c},function(t,n,e){var r,o,u=e(0)(e(67));t.exports=u},function(t,n){function e(t){return t}t.exports=e},function(t,n,e){var r,o=e(0)(function t(n){return function(){return n}});t.exports=o},function(t,n,e){var u=e(5),r=e(16),i=e(19),c=e(3);function o(r){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 e=this;return o(function(t){return e._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 r.of(i(n,t))})},o.prototype.ap=c.deriveAp(o),o.prototype.map=c.deriveMap(o),o.tailRec=u(function(n,e){return o(function(t){return r.tailRec(function(t){return n(i.fst(t))._run(i.snd(t)).chain(function(n){return r.of(i.fst(n).bimap(function(t){return i(t,i.snd(n))},function(t){return i(t,i.snd(n))}))})},i(e,t))})}),o.lift=function(t){return o(function(n){return t.chain(function(t){return r.of(i(t,n))})})},o.get=o(function(t){return r.of(i(t,t))}),o.gets=function(n){return o(function(t){return r.of(i(n(t),t))})},o.put=function(n){return o(function(t){return r.of(i(void 0,n))})},o.modify=function(n){return o(function(t){return r.of(i(void 0,n(t)))})},o}var a=o(r);a.T=o,a.prototype.run=function(t){return this._run(t).value},t.exports=a},function(t,n,e){"use strict";e.r(n);var r=e(13),c=e.n(r),o=e(20),u=function t(n){return Object(o.Identity)(n)};function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}e.d(n,"HistoryImpl",function(){return p}),e.d(n,"create",function(){return l}),e.d(n,"setPush",function(){return h}),e.d(n,"setReplace",function(){return y}),e.d(n,"setPop",function(){return v}),e.d(n,"setHashType",function(){return d}),e.d(n,"hijack",function(){return g}),e.d(n,"unhijack",function(){return w}),e.d(n,"pushState",function(){return x}),e.d(n,"replaceState",function(){return m}),e.d(n,"createMonad",function(){return u});var a={slash:"#/",noslash:"#",hashbang:"#!/"},f=function t(n,e){var r=new c.a(n),o=r.pathname,u=r.hash;if(e){var i=a[e];return u.startsWith(i)?"/".concat(u.replace(i,"")):"/"}return o},s=function t(n,e){var r=0<arguments.length&&void 0!==n?n:"/",o=1<arguments.length?e:void 0,u=new c.a(window.location.href);if(o){var i=a[o];u.set("hash","".concat(i).concat(r.slice(1)))}else u.set("pathname",r);return u.toString()},p=function t(){i(this,t),this.rawPushState=window.history.pushState,this.rawReplaceState=window.history.replaceState,this.popState=function(t){},this.pushState=window.history.pushState,this.replaceState=window.history.replaceState,this.hashType=!1},l=function t(n){return u(n||new p)},h=function t(a){return function(c){return c.pushState=function(t,n,e){for(var r=arguments.length,o=new Array(3<r?r-3:0),u=3;u<r;u++)o[u-3]=arguments[u];c.rawPushState.apply(window.history,[t,n,e].concat(o));var i=f(e,c.hashType);a(i,t)},u(c)}},y=function t(a){return function(c){return c.replaceState=function(t,n,e){for(var r=arguments.length,o=new Array(3<r?r-3:0),u=3;u<r;u++)o[u-3]=arguments[u];c.rawReplaceState.apply(window.history,[t,n,e].concat(o));var i=f(e,c.hashType);a(i,t)},u(c)}},v=function t(r){return function(e){return e.popState=function(t){var n=f(window.location.href,e.hashType);r(n,t.state)},u(e)}},d=function t(n){return function(t){return t.hashType=n,u(t)}},g=function t(n){return window.history.pushState=n.pushState,window.history.replaceState=n.replaceState,window.addEventListener("popstate",n.popState,!1),u(n)},w=function t(n){return window.history.pushState=n.rawPushState,window.history.replaceState=n.rawReplaceState,window.removeEventListener("popstate",n.popState,!1),u(n)},x=function t(n){return function(t){return t.pushState({},"",s(n,t.hashType)),u(t)}},m=function t(n){return function(t){return t.replaceState({},"",s(n,t.hashType)),u(t)}}}],o.c=r,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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 e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)o.d(e,r,function(t){return n[t]}.bind(null,r));return e},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=21);function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}var e,r}); | ||
!function t(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@harpsealjs/hijack-history"]=e():n["@harpsealjs/hijack-history"]=e()}(window,function(){return r={},o.m=e=[function(t,n,e){var r=e(6);function o(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}t.exports=o},function(t,n,e){var o=e(0),u=e(6);function r(r){return function t(n,e){switch(arguments.length){case 0:return t;case 1:return u(n)?t:o(function(t){return r(n,t)});default:return u(n)&&u(e)?t:u(n)?o(function(t){return r(t,e)}):u(e)?o(function(t){return r(n,t)}):r(n,e)}}}t.exports=r},function(t,n,e){var r=e(0),o=e(27),u=r(function t(n){return o(n,[])});t.exports=u},function(t,n,e){var r=e(8);t.exports={baseMap:function(t){return t(this.value)},getEquals:function(e){return function t(n){return n instanceof e&&r(this.value,n.value)}},extend:function(t,n){function e(){this.constructor=t}e.prototype=n.prototype,t.prototype=new e,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(e){return function(t){return this.chain(function(n){return t.chain(function(t){return e.of(n(t))})})}},deriveMap:function(e){return function(n){return this.chain(function(t){return e.of(n(t))})}}}},function(t,n){function e(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,e){return s.apply(this,arguments)};case 4:return function(t,n,e,r){return s.apply(this,arguments)};case 5:return function(t,n,e,r,o){return s.apply(this,arguments)};case 6:return function(t,n,e,r,o,u){return s.apply(this,arguments)};case 7:return function(t,n,e,r,o,u,i){return s.apply(this,arguments)};case 8:return function(t,n,e,r,o,u,i,c){return s.apply(this,arguments)};case 9:return function(t,n,e,r,o,u,i,c,a){return s.apply(this,arguments)};case 10:return function(t,n,e,r,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=e},function(t,n,e){var r=e(0),o=e(7),u=r(function t(n){return o(n.length,n)});t.exports=u},function(t,n){function e(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}t.exports=e},function(t,n,e){var r=e(4),o=e(0),u=e(1),i=e(26),c=u(function t(n,e){return 1===n?o(e):r(n,i(n,[],e))});t.exports=c},function(t,n,e){var r=e(1),o=e(30),u=r(function t(n,e){return o(n,e,[],[])});t.exports=u},function(t,n){function e(t,n){return Object.prototype.hasOwnProperty.call(n,t)}t.exports=e},function(t,n,e){var r=e(0),i=e(9),c=e(35),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,e){for(var r=0;r<n.length;){if(n[r]===e)return!0;r+=1}return!1},o="function"!=typeof Object.keys||s?r(function t(n){if(Object(n)!==n)return[];var e,r,o=[],u=s&&c(n);for(e in n)!i(e,n)||u&&"length"===e||(o[o.length]=e);if(a)for(r=f.length-1;0<=r;)i(e=f[r],n)&&!p(o,e)&&(o[o.length]=e),--r;return o}):r(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,e){var o=e(11);function r(e,r){return function(){var t=arguments.length;if(0===t)return r();var n=arguments[t-1];return o(n)||"function"!=typeof n[e]?r.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,t-1))}}t.exports=r},function(u,t,f){"use strict";(function(i){var h=f(23),y=f(24),c=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,e=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,t,n=new RegExp("^"+"[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]"+"+");function v(t){return(t||"").toString().replace(n,"")}var d=[["#","hash"],["?","query"],function t(n){return n.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],a={hash:1,query:1};function g(t){var n,e=(n="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{}).location||{},r={},o=typeof(t=t||e),u;if("blob:"===t.protocol)r=new m(unescape(t.pathname),{});else if("string"==o)for(u in r=new m(t,{}),a)delete r[u];else if("object"==o){for(u in t)u in a||(r[u]=t[u]);void 0===r.slashes&&(r.slashes=c.test(t.href))}return r}function w(t){t=v(t);var n=e.exec(t);return{protocol:n[1]?n[1].toLowerCase():"",slashes:!!n[2],rest:n[3]}}function x(t,n){if(""===t)return n;for(var e=(n||"/").split("/").slice(0,-1).concat(t.split("/")),r=e.length,o=e[r-1],u=!1,i=0;r--;)"."===e[r]?e.splice(r,1):".."===e[r]?(e.splice(r,1),i++):i&&(0===r&&(u=!0),e.splice(r,1),i--);return u&&e.unshift(""),"."!==o&&".."!==o||e.push(""),e.join("/")}function m(t,n,e){if(t=v(t),!(this instanceof m))return new m(t,n,e);var r,o,u,i,c,a,f=d.slice(),s=typeof n,p=this,l=0;for("object"!=s&&"string"!=s&&(e=n,n=null),e&&"function"!=typeof e&&(e=y.parse),n=g(n),r=!(o=w(t||"")).protocol&&!o.slashes,p.slashes=o.slashes||r&&n.slashes,p.protocol=o.protocol||n.protocol||"",t=o.rest,o.slashes||(f[3]=[/(.*)/,"pathname"]);l<f.length;l++)"function"!=typeof(i=f[l])?(u=i[0],a=i[1],u!=u?p[a]=t:"string"==typeof u?~(c=t.indexOf(u))&&(t="number"==typeof i[2]?(p[a]=t.slice(0,c),t.slice(c+i[2])):(p[a]=t.slice(c),t.slice(0,c))):(c=u.exec(t))&&(p[a]=c[1],t=t.slice(0,c.index)),p[a]=p[a]||r&&i[3]&&n[a]||"",i[4]&&(p[a]=p[a].toLowerCase())):t=i(t);e&&(p.query=e(p.query)),r&&n.slashes&&"/"!==p.pathname.charAt(0)&&(""!==p.pathname||""!==n.pathname)&&(p.pathname=x(p.pathname,n.pathname)),h(p.port,p.protocol)||(p.host=p.hostname,p.port=""),p.username=p.password="",p.auth&&(i=p.auth.split(":"),p.username=i[0]||"",p.password=i[1]||""),p.origin=p.protocol&&p.host&&"file:"!==p.protocol?p.protocol+"//"+p.host:"null",p.href=p.toString()}function r(t,n,e){var r=this;switch(t){case"query":"string"==typeof n&&n.length&&(n=(e||y.parse)(n)),r[t]=n;break;case"port":r[t]=n,h(n,r.protocol)?n&&(r.host=r.hostname+":"+n):(r.host=r.hostname,r[t]="");break;case"hostname":r[t]=n,r.port&&(n+=":"+r.port),r.host=n;break;case"host":r[t]=n,/:\d+$/.test(n)?(n=n.split(":"),r.port=n.pop(),r.hostname=n.join(":")):(r.hostname=n,r.port="");break;case"protocol":r.protocol=n.toLowerCase(),r.slashes=!e;break;case"pathname":case"hash":if(n){var o="pathname"===t?"/":"#";r[t]=n.charAt(0)!==o?o+n:n}else r[t]=n;break;default:r[t]=n}for(var u=0;u<d.length;u++){var i=d[u];i[4]&&(r[i[1]]=r[i[1]].toLowerCase())}return r.origin=r.protocol&&r.host&&"file:"!==r.protocol?r.protocol+"//"+r.host:"null",r.href=r.toString(),r}function o(t){t&&"function"==typeof t||(t=y.stringify);var n,e=this,r=e.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var o=r+(e.slashes?"//":"");return e.username&&(o+=e.username,e.password&&(o+=":"+e.password),o+="@"),o+=e.host+e.pathname,(n="object"==typeof e.query?t(e.query):e.query)&&(o+="?"!==n.charAt(0)?"?"+n:n),e.hash&&(o+=e.hash),o}m.prototype={set:r,toString:o},m.extractProtocol=w,m.location=g,m.trimLeft=v,m.qs=y,u.exports=m}).call(this,f(22))},function(t,n,e){var r=e(47),o=e(48),u=e(49);function i(t,n,e){for(var r=0,o=e.length;r<o;){if((n=t["@@transducer/step"](n,e[r]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}r+=1}return t["@@transducer/result"](n)}function c(t,n,e){for(var r=e.next();!r.done;){if((n=t["@@transducer/step"](n,r.value))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}r=e.next()}return t["@@transducer/result"](n)}function a(t,n,e,r){return t["@@transducer/result"](e[r](u(t["@@transducer/step"],t),n))}var f="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function s(t,n,e){if("function"==typeof t&&(t=o(t)),r(e))return i(t,n,e);if("function"==typeof e["fantasy-land/reduce"])return a(t,n,e,"fantasy-land/reduce");if(null!=e[f])return c(t,n,e[f]());if("function"==typeof e.next)return c(t,n,e);if("function"==typeof e.reduce)return a(t,n,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}t.exports=s},function(t,n){function e(t){return"[object String]"===Object.prototype.toString.call(t)}t.exports=e},function(t,n,e){var r=e(2),o=e(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 e=o.chainRecNext(n);e.isNext;)e=t(o.chainRecNext,o.chainRecDone,e.value).get();return u(e.value)},u.prototype.get=function(){return this.value},u.prototype.equals=o.getEquals(u),u.prototype.toString=function(){return"Identity("+r(this.value)+")"},t.exports=u},function(t,n,e){var r=e(56),o=e(61);function u(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,o(arguments))}t.exports=u},function(t,n,e){var i=e(0),c=e(1),a=e(6);function r(u){return function t(e,r,o){switch(arguments.length){case 0:return t;case 1:return a(e)?t:c(function(t,n){return u(e,t,n)});case 2:return a(e)&&a(r)?t:a(e)?c(function(t,n){return u(t,r,n)}):a(r)?c(function(t,n){return u(e,t,n)}):i(function(t){return u(e,r,t)});default:return a(e)&&a(r)&&a(o)?t:a(e)&&a(r)?c(function(t,n){return u(t,n,o)}):a(e)&&a(o)?c(function(t,n){return u(t,r,n)}):a(r)&&a(o)?c(function(t,n){return u(e,t,n)}):a(e)?i(function(t){return u(t,r,o)}):a(r)?i(function(t){return u(e,t,o)}):a(o)?i(function(t){return u(e,r,t)}):u(e,r,o)}}}t.exports=r},function(t,n,e){var r=e(2),o=e(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(r(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("+r(this[0])+", "+r(this[1])+")"},t.exports=u},function(t,n,e){t.exports={Either:e(25),Future:e(52),Identity:e(16),IO:e(55),lift2:e(62),lift3:e(63),Maybe:e(64),Reader:e(65),State:e(69),Tuple:e(19)}},function(t,n,e){t.exports=e(70)},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";t.exports=function t(n,e){if(e=e.split(":")[0],!(n=+n))return!1;switch(e){case"http":case"ws":return 80!==n;case"https":case"wss":return 443!==n;case"ftp":return 21!==n;case"gopher":return 70!==n;case"file":return!1}return 0!==n}},function(t,n,e){"use strict";var u=Object.prototype.hasOwnProperty,i;function c(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function r(t){try{return encodeURIComponent(t)}catch(t){return}}function o(t){for(var n=/([^=?&]+)=?([^&]*)/g,e={},r;r=n.exec(t);){var o=c(r[1]),u=c(r[2]);null===o||null===u||o in e||(e[o]=u)}return e}function a(t,n){n=n||"";var e=[],r,o;for(o in"string"!=typeof n&&(n="?"),t)if(u.call(t,o)){if((r=t[o])||null!==r&&r!==i&&!isNaN(r)||(r=""),o=encodeURIComponent(o),r=encodeURIComponent(r),null===o||null===r)continue;e.push(o+"="+r)}return e.length?n+e.join("&"):""}n.stringify=a,n.parse=o},function(t,n,e){var r=e(5),o=e(2),u=e(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=r(function t(n,e,r){if(r instanceof a)return n(r.value);if(r instanceof c)return e(r.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 e,r=u.chainRecNext(n);r.isNext;){if(e=t(u.chainRecNext,u.chainRecDone,r.value),i.isLeft(e))return e;r=e.value}return i.Right(r.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,e){return(this.isLeft?n:e)(this.value)},t.exports=i},function(t,n,e){var a=e(4),f=e(6);function s(u,i,c){return function(){for(var t=[],n=0,e=u,r=0;r<i.length||n<arguments.length;){var o;r<i.length&&(!f(i[r])||arguments.length<=n)?o=i[r]:(o=arguments[n],n+=1),t[r]=o,f(o)||--e,r+=1}return e<=0?c.apply(this,t):a(e,s(u,t,c))}}t.exports=s},function(t,n,e){var u=e(28),i=e(37),c=e(38),a=e(39),f=e(10),s=e(40);function p(r,o){var e=function t(n){var e=o.concat([r]);return u(n,e)?"<Circular>":p(n,e)},t=function(n,t){return i(function(t){return c(t)+": "+e(n[t])},t.slice().sort())};switch(Object.prototype.toString.call(r)){case"[object Arguments]":return"(function() { return arguments; }("+i(e,r).join(", ")+"))";case"[object Array]":return"["+i(e,r).concat(t(r,s(function(t){return/^\d+$/.test(t)},f(r)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof r?"new Boolean("+e(r.valueOf())+")":r.toString();case"[object Date]":return"new Date("+(isNaN(r.valueOf())?e(NaN):c(a(r)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof r?"new Number("+e(r.valueOf())+")":1/r==-1/0?"-0":r.toString(10);case"[object String]":return"object"==typeof r?"new String("+e(r.valueOf())+")":c(r);case"[object Undefined]":return"undefined";default:if("function"==typeof r.toString){var n=r.toString();if("[object Object]"!==n)return n}return"{"+t(r,f(r)).join(", ")+"}"}}t.exports=p},function(t,n,e){var r=e(29);function o(t,n){return 0<=r(n,t,0)}t.exports=o},function(t,n,e){var u=e(8);function r(t,n,e){var r,o;if("function"==typeof t.indexOf)switch(typeof n){case"number":if(0===n){for(r=1/n;e<t.length;){if(0===(o=t[e])&&1/o==r)return e;e+=1}return-1}if(n==n)return t.indexOf(n,e);for(;e<t.length;){if("number"==typeof(o=t[e])&&o!=o)return e;e+=1}return-1;case"string":case"boolean":case"function":case"undefined":return t.indexOf(n,e);case"object":if(null===n)return t.indexOf(n,e)}for(;e<t.length;){if(u(t[e],n))return e;e+=1}return-1}t.exports=r},function(t,n,e){var c=e(31),a=e(32),s=e(33),p=e(9),l=e(34),h=e(10),y=e(36);function v(t,n,e,r){var o=c(t),u=c(n);function i(t,n){return d(t,n,e.slice(),r.slice())}return!a(function(t,n){return!a(i,n,t)},u,o)}function d(t,n,e,r){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=e.length-1;0<=u;){if(e[u]===t)return r[u]===n;--u}switch(o){case"Map":return t.size!==n.size?!1:v(t.entries(),n.entries(),e.concat([t]),r.concat([n]));case"Set":return t.size!==n.size?!1:v(t.values(),n.values(),e.concat([t]),r.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=e.concat([t]),a=r.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 e(t){for(var n=[],e;!(e=t.next()).done;)n.push(e.value);return n}t.exports=e},function(t,n){function e(t,n,e){for(var r=0,o=e.length;r<o;){if(t(n,e[r]))return!0;r+=1}return!1}t.exports=e},function(t,n){function e(t){var n=String(t).match(/^function (\w*)/);return null==n?"":n[1]}t.exports=e},function(t,n){function e(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}t.exports="function"==typeof Object.is?Object.is:e},function(t,n,e){var r=e(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 r("callee",n)}}();t.exports=u},function(t,n,e){var r,o=e(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 e(t,n){for(var e=0,r=n.length,o=Array(r);e<r;)o[e]=t(n[e]),e+=1;return o}t.exports=e},function(t,n){function e(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=e},function(t,n){var e=function t(n){return(n<10?"0":"")+n},r="function"==typeof Date.prototype.toISOString?function t(n){return n.toISOString()}:function t(n){return n.getUTCFullYear()+"-"+e(n.getUTCMonth()+1)+"-"+e(n.getUTCDate())+"T"+e(n.getUTCHours())+":"+e(n.getUTCMinutes())+":"+e(n.getUTCSeconds())+"."+(n.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};t.exports=r},function(t,n,e){var r=e(41),o=e(1),u=e(42),i=o(function t(n,e){return u(r(n),e)});t.exports=i},function(t,n){function e(t){return function(){return!t.apply(this,arguments)}}t.exports=e},function(t,n,e){var r=e(1),o=e(43),u=e(45),i=e(46),c=e(14),a=e(50),f=e(10),s=r(o(["filter"],a,function(e,r){return i(r)?c(function(t,n){return e(r[n])&&(t[n]=r[n]),t},{},f(r)):u(e,r)}));t.exports=s},function(t,n,e){var c=e(11),a=e(44);function r(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 e=0,r;e<o.length;){if("function"==typeof n[o[e]])return n[o[e]].apply(n,t);e+=1}if(a(n))return u.apply(null,t)(n)}return i.apply(this,arguments)}}t.exports=r},function(t,n){function e(t){return null!=t&&"function"==typeof t["@@transducer/step"]}t.exports=e},function(t,n){function e(t,n){for(var e=0,r=n.length,o=[];e<r;)t(n[e])&&(o[o.length]=n[e]),e+=1;return o}t.exports=e},function(t,n){function e(t){return"[object Object]"===Object.prototype.toString.call(t)}t.exports=e},function(t,n,e){var r=e(0),o=e(11),u=e(15),i=r(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 e=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 r(t){return new e(t)}t.exports=r},function(t,n,e){var r=e(4),o,u=e(1)(function t(n,e){return r(n.length,function(){return n.apply(e,arguments)})});t.exports=u},function(t,n,e){var r=e(1),o=e(51),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=r(function t(n,e){return new u(n,e)});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,e){var a=e(53),f=e(54),r=e(2),s=e(5),p=e(3);function l(n,e){return function(t){try{return e(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 e,r,o=a(t),u=l(o,function(){if(null!=e&&null!=r)return n(e(r))});c._fork(o,function(t){e=t,u()}),i._fork(o,function(t){r=t,u()})})},h.prototype.of=h.of=function(e){return new h(function(t,n){return n(e)})},h.prototype.chain=function(r){return new h(function(n,e){return this._fork(function(t){return n(t)},l(n,function(t){return r(t)._fork(n,e)}))}.bind(this))},h.chainRec=h.prototype.chainRec=function(c,t){return h(function(u,i){return function n(t){for(var e=null,r=p.chainRecNext(t),o=function(t){null===e?(e=!0,r=t):(t.isNext?n:i)(t.value)};r.isNext;)if(e=null,c(p.chainRecNext,p.chainRecDone,r.value).fork(u,o),!0!==e)return void(e=!1);i(r.value)}(t)})},h.prototype.chainReject=function(r){return new h(function(n,e){return this._fork(l(n,function(t){return r(t)._fork(n,e)}),function(t){return e(t)})}.bind(this))},h.prototype.bimap=function(r,o){var t=this;return new h(function(n,e){t._fork(l(n,function(t){n(r(t))}),l(n,function(t){e(o(t))}))})},h.reject=function(n){return new h(function(t){t(n)})},h.prototype.toString=function(){return"Future("+r(this._fork)+")"},h.cache=function(e){var r="IDLE",o=[],u,i=s(function(t,n,e){r=t,n(u=e),f(function(t){t[r](u)},o)});function c(t,n){o.push({REJECTED:t,RESOLVED:n})}function a(t,n){return r="PENDING",e._fork(i("REJECTED",t),i("RESOLVED",n))}return new h(function(t,n){switch(r){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,e){var o=e(4),r,u=e(0)(function t(n){var e=!1,r;return o(n.length,function(){return e?r:(e=!0,r=n.apply(this,arguments))})});t.exports=u},function(t,n,e){var r=e(12),o,u=e(1)(r("forEach",function t(n,e){for(var r=e.length,o=0;o<r;)n(e[o]),o+=1;return e}));t.exports=u},function(t,n,e){var r=e(17),o=e(2),u=e(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 e=this;return new i(function(){var t=n(e.fn.apply(e,arguments));return t.fn.apply(t,arguments)})},i.chainRec=i.prototype.chainRec=function(n,e){return new i(function(){for(var t=u.chainRecNext(e);t.isNext;)t=n(u.chainRecNext,u.chainRecDone,t.value).fn();return t.value})},i.prototype.map=function(t){var n;return new i(r(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,e){var r=e(4),o=e(57),u=e(58),i=e(59);function c(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,u(o,arguments[0],i(arguments)))}t.exports=c},function(t,n){function e(t,n){return function(){return n.call(this,t.apply(this,arguments))}}t.exports=e},function(t,n,e){var r,o,u=e(18)(e(14));t.exports=u},function(t,n,e){var r=e(12),o,u,i=e(0)(r("tail",e(60)(1,1/0)));t.exports=i},function(t,n,e){var r=e(12),o,u=e(18)(r("slice",function t(n,e,r){return Array.prototype.slice.call(r,n,e)}));t.exports=u},function(t,n,e){var r=e(0),o=e(15),u=r(function t(n){return o(n)?n.split("").reverse().join(""):Array.prototype.slice.call(n,0).reverse()});t.exports=u},function(t,n,e){var r=e(7);t.exports=r(3,function t(n,e,r){return e.map(n).ap(r)})},function(t,n,e){var r=e(7);t.exports=r(4,function t(n,e,r,o){return e.map(n).ap(r).ap(o)})},function(t,n,e){var r=e(2),o=e(5),u=e(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,e,n){return n.reduce(function(t,n){return e(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 e,r=u.chainRecNext(n);r.isNext;){if(e=t(u.chainRecNext,u.chainRecDone,r.value),i.isNothing(e))return e;r=e.value}return i.Just(r.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("+r(this.value)+")"},a.prototype.toString=function(){return"Maybe.Nothing()"},t.exports=i},function(t,n,e){var r=e(17),o=e(66),u=e(2),i=e(68);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 e=this;return new c(function(t){return n(e.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=r(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(e){var r=this;return o(function(n){var t;return r.run(n).chain(function(t){return e(t).run(n)})})},o.prototype.map=function(n){return this.chain(function(t){return o.of(n(t))})},o.prototype.ap=function(n){var e=this;return o(function(t){return e.run(t).ap(n.run(t))})},o.prototype.toString=function(){return"ReaderT["+n.name+"]("+u(this.run)+")"},o},t.exports=c},function(t,n,e){var r,o,u=e(0)(e(67));t.exports=u},function(t,n){function e(t){return t}t.exports=e},function(t,n,e){var r,o=e(0)(function t(n){return function(){return n}});t.exports=o},function(t,n,e){var u=e(5),r=e(16),i=e(19),c=e(3);function o(r){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 e=this;return o(function(t){return e._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 r.of(i(n,t))})},o.prototype.ap=c.deriveAp(o),o.prototype.map=c.deriveMap(o),o.tailRec=u(function(n,e){return o(function(t){return r.tailRec(function(t){return n(i.fst(t))._run(i.snd(t)).chain(function(n){return r.of(i.fst(n).bimap(function(t){return i(t,i.snd(n))},function(t){return i(t,i.snd(n))}))})},i(e,t))})}),o.lift=function(t){return o(function(n){return t.chain(function(t){return r.of(i(t,n))})})},o.get=o(function(t){return r.of(i(t,t))}),o.gets=function(n){return o(function(t){return r.of(i(n(t),t))})},o.put=function(n){return o(function(t){return r.of(i(void 0,n))})},o.modify=function(n){return o(function(t){return r.of(i(void 0,n(t)))})},o}var a=o(r);a.T=o,a.prototype.run=function(t){return this._run(t).value},t.exports=a},function(t,n,e){"use strict";e.r(n),e.d(n,"createMonad",function(){return u}),e.d(n,"HistoryImpl",function(){return p}),e.d(n,"create",function(){return l}),e.d(n,"setPush",function(){return h}),e.d(n,"setReplace",function(){return y}),e.d(n,"setPop",function(){return v}),e.d(n,"setHashType",function(){return d}),e.d(n,"hijack",function(){return g}),e.d(n,"unhijack",function(){return w}),e.d(n,"pushState",function(){return x}),e.d(n,"replaceState",function(){return m});var r=e(13),c=e.n(r),o=e(20),u=function t(n){return Object(o.Identity)(n)};function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var a={slash:"#/",noslash:"#",hashbang:"#!/"},f=function t(n,e){var r=new c.a(n),o=r.pathname,u=r.hash;if(e){var i=a[e];return u.startsWith(i)?"/".concat(u.replace(i,"")):"/"}return o},s=function t(n,e){var r=0<arguments.length&&void 0!==n?n:"/",o=1<arguments.length?e:void 0,u=new c.a(window.location.href);if(o){var i=a[o];u.set("hash","".concat(i).concat(r.slice(1)))}else u.set("pathname",r);return u.toString()},p=function t(){i(this,t),this.rawPushState=window.history.pushState,this.rawReplaceState=window.history.replaceState,this.popState=function(t){},this.pushState=window.history.pushState,this.replaceState=window.history.replaceState,this.hashType=!1},l=function t(n){return u(n||new p)},h=function t(a){return function(c){return c.pushState=function(t,n,e){for(var r=arguments.length,o=new Array(3<r?r-3:0),u=3;u<r;u++)o[u-3]=arguments[u];c.rawPushState.apply(window.history,[t,n,e].concat(o));var i=f(e,c.hashType);a(i,t)},u(c)}},y=function t(a){return function(c){return c.replaceState=function(t,n,e){for(var r=arguments.length,o=new Array(3<r?r-3:0),u=3;u<r;u++)o[u-3]=arguments[u];c.rawReplaceState.apply(window.history,[t,n,e].concat(o));var i=f(e,c.hashType);a(i,t)},u(c)}},v=function t(r){return function(e){return e.popState=function(t){var n=f(window.location.href,e.hashType);r(n,t.state)},u(e)}},d=function t(n){return function(t){return t.hashType=n,u(t)}},g=function t(n){return window.history.pushState=n.pushState,window.history.replaceState=n.replaceState,window.addEventListener("popstate",n.popState,!1),u(n)},w=function t(n){return window.history.pushState=n.rawPushState,window.history.replaceState=n.rawReplaceState,window.removeEventListener("popstate",n.popState,!1),u(n)},x=function t(n){return function(t){return t.pushState({},"",s(n,t.hashType)),u(t)}},m=function t(n){return function(t){return t.replaceState({},"",s(n,t.hashType)),u(t)}}}],o.c=r,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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 e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)o.d(e,r,function(t){return n[t]}.bind(null,r));return e},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=21);function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}var e,r}); |
{ | ||
"name": "@harpsealjs/hijack-history", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "micro history hijack", | ||
@@ -21,11 +21,6 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "git+https://github.com/sealjs/hijack-history.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-history#readme", | ||
"author": "skyinlayer", | ||
"gitHead": "f430e8a2c3ad934c82ab74f4ec3d42d7edf55f24" | ||
"homepage": "https://github.com/harpsealjs/microfe", | ||
"gitHead": "eec0cba869d20b89e0dfd2bb8e5ce93ec20e1acb" | ||
} |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
41255
1
1