mir-client
Version:
A Mir API Client
1 lines • 71.3 kB
JavaScript
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("mir-client",[],n):"object"==typeof exports?exports["mir-client"]=n():t["mir-client"]=n()}(this,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=33)}([function(t,n,r){"use strict";var e=r(7),u=r(30),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function c(t){return null!==t&&"object"==typeof t}function f(t){return"[object Function]"===o.call(t)}function a(t,n){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),i(t))for(var r=0,e=t.length;r<e;r++)n.call(null,t[r],r,t);else for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&n.call(null,t[u],u,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:u,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:f,isStream:function(t){return c(t)&&f(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:a,merge:function t(){var n={};function r(r,e){"object"==typeof n[e]&&"object"==typeof r?n[e]=t(n[e],r):n[e]=r}for(var e=0,u=arguments.length;e<u;e++)a(arguments[e],r);return n},extend:function(t,n,r){return a(n,function(n,u){t[u]=r&&"function"==typeof n?e(n,r):n}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,n,r){"use strict";function e(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function u(t){return function n(r){return 0===arguments.length||e(r)?n:t.apply(this,arguments)}}r.r(n);var o=u(function(t){return function(){return t}}),i=o(!1),c=o(!0),f={"@@functional/placeholder":!0};function a(t){return function n(r,o){switch(arguments.length){case 0:return n;case 1:return e(r)?n:u(function(n){return t(r,n)});default:return e(r)&&e(o)?n:e(r)?u(function(n){return t(n,o)}):e(o)?u(function(n){return t(r,n)}):t(r,o)}}}var s=a(function(t,n){return Number(t)+Number(n)});function l(t,n){var r;t=t||[],n=n||[];var e=t.length,u=n.length,o=[];for(r=0;r<e;)o[o.length]=t[r],r+=1;for(r=0;r<u;)o[o.length]=n[r],r+=1;return o}function p(t,n){switch(t){case 0:return function(){return n.apply(this,arguments)};case 1:return function(t){return n.apply(this,arguments)};case 2:return function(t,r){return n.apply(this,arguments)};case 3:return function(t,r,e){return n.apply(this,arguments)};case 4:return function(t,r,e,u){return n.apply(this,arguments)};case 5:return function(t,r,e,u,o){return n.apply(this,arguments)};case 6:return function(t,r,e,u,o,i){return n.apply(this,arguments)};case 7:return function(t,r,e,u,o,i,c){return n.apply(this,arguments)};case 8:return function(t,r,e,u,o,i,c,f){return n.apply(this,arguments)};case 9:return function(t,r,e,u,o,i,c,f,a){return n.apply(this,arguments)};case 10:return function(t,r,e,u,o,i,c,f,a,s){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function d(t,n,r){return function(){for(var u=[],o=0,i=t,c=0;c<n.length||o<arguments.length;){var f;c<n.length&&(!e(n[c])||o>=arguments.length)?f=n[c]:(f=arguments[o],o+=1),u[c]=f,e(f)||(i-=1),c+=1}return i<=0?r.apply(this,u):p(i,d(t,u,r))}}var h=a(function(t,n){return 1===t?u(n):p(t,d(t,[],n))}),y=u(function(t){return h(t.length,function(){var n=0,r=arguments[0],e=arguments[arguments.length-1],u=Array.prototype.slice.call(arguments,0);return u[0]=function(){var t=r.apply(this,l(arguments,[n,e]));return n+=1,t},t.apply(this,u)})});function g(t){return function n(r,o,i){switch(arguments.length){case 0:return n;case 1:return e(r)?n:a(function(n,e){return t(r,n,e)});case 2:return e(r)&&e(o)?n:e(r)?a(function(n,r){return t(n,o,r)}):e(o)?a(function(n,e){return t(r,n,e)}):u(function(n){return t(r,o,n)});default:return e(r)&&e(o)&&e(i)?n:e(r)&&e(o)?a(function(n,r){return t(n,r,i)}):e(r)&&e(i)?a(function(n,r){return t(n,o,r)}):e(o)&&e(i)?a(function(n,e){return t(r,n,e)}):e(r)?u(function(n){return t(n,o,i)}):e(o)?u(function(n){return t(r,n,i)}):e(i)?u(function(n){return t(r,o,n)}):t(r,o,i)}}}var v=g(function(t,n,r){if(n>=r.length||n<-r.length)return r;var e=(n<0?r.length:0)+n,u=l(r);return u[e]=t(r[e]),u}),m=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function w(t){return"function"==typeof t["@@transducer/step"]}function b(t,n,r){return function(){if(0===arguments.length)return r();var e=Array.prototype.slice.call(arguments,0),u=e.pop();if(!m(u)){for(var o=0;o<t.length;){if("function"==typeof u[t[o]])return u[t[o]].apply(u,e);o+=1}if(w(u))return n.apply(null,e)(u)}return r.apply(this,arguments)}}function x(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var j={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}},O=function(){function t(t,n){this.xf=n,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,n){return this.f(n)||(this.all=!1,t=x(this.xf["@@transducer/step"](t,!1))),t},t}(),A=a(b(["all"],a(function(t,n){return new O(t,n)}),function(t,n){for(var r=0;r<n.length;){if(!t(n[r]))return!1;r+=1}return!0})),S=a(function(t,n){return n>t?n:t});function E(t,n){for(var r=0,e=n.length,u=Array(e);r<e;)u[r]=t(n[r]),r+=1;return u}function _(t){return"[object String]"===Object.prototype.toString.call(t)}var T=u(function(t){return!!m(t)||!!t&&("object"==typeof t&&(!_(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}),q=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 C(t){return new q(t)}var N=a(function(t,n){return p(t.length,function(){return t.apply(n,arguments)})});function P(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 R(t,n,r,e){return t["@@transducer/result"](r[e](N(t["@@transducer/step"],t),n))}var k="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function B(t,n,r){if("function"==typeof t&&(t=C(t)),T(r))return function(t,n,r){for(var e=0,u=r.length;e<u;){if((n=t["@@transducer/step"](n,r[e]))&&n["@@transducer/reduced"]){n=n["@@transducer/value"];break}e+=1}return t["@@transducer/result"](n)}(t,n,r);if("function"==typeof r["fantasy-land/reduce"])return R(t,n,r,"fantasy-land/reduce");if(null!=r[k])return P(t,n,r[k]());if("function"==typeof r.next)return P(t,n,r);if("function"==typeof r.reduce)return R(t,n,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}var L=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=j.result,t.prototype["@@transducer/step"]=function(t,n){return this.xf["@@transducer/step"](t,this.f(n))},t}(),U=a(function(t,n){return new L(t,n)});function I(t,n){return Object.prototype.hasOwnProperty.call(n,t)}var D=Object.prototype.toString,F=function(){return"[object Arguments]"===D.call(arguments)?function(t){return"[object Arguments]"===D.call(t)}:function(t){return I("callee",t)}},M=!{toString:null}.propertyIsEnumerable("toString"),W=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],z=function(){return arguments.propertyIsEnumerable("length")}(),V=function(t,n){for(var r=0;r<t.length;){if(t[r]===n)return!0;r+=1}return!1},H=u("function"!=typeof Object.keys||z?function(t){if(Object(t)!==t)return[];var n,r,e=[],u=z&&F(t);for(n in t)!I(n,t)||u&&"length"===n||(e[e.length]=n);if(M)for(r=W.length-1;r>=0;)I(n=W[r],t)&&!V(e,n)&&(e[e.length]=n),r-=1;return e}:function(t){return Object(t)!==t?[]:Object.keys(t)}),K=a(b(["fantasy-land/map","map"],U,function(t,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return h(n.length,function(){return t.call(this,n.apply(this,arguments))});case"[object Object]":return B(function(r,e){return r[e]=t(n[e]),r},{},H(n));default:return E(t,n)}})),X=a(function(t,n){for(var r=n,e=0;e<t.length;){if(null==r)return;r=r[t[e]],e+=1}return r}),J=a(function(t,n){return X([t],n)}),$=a(function(t,n){return K(J(t),n)}),G=g(B),Y=u(function(t){return h(G(S,0,$("length",t)),function(){for(var n=0,r=t.length;n<r;){if(!t[n].apply(this,arguments))return!1;n+=1}return!0})}),Z=a(function(t,n){return t&&n}),Q=function(){function t(t,n){this.xf=n,this.f=t,this.any=!1}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.any=!0,t=x(this.xf["@@transducer/step"](t,!0))),t},t}(),tt=a(function(t,n){return new Q(t,n)}),nt=a(b(["any"],tt,function(t,n){for(var r=0;r<n.length;){if(t(n[r]))return!0;r+=1}return!1})),rt=u(function(t){return h(G(S,0,$("length",t)),function(){for(var n=0,r=t.length;n<r;){if(t[n].apply(this,arguments))return!0;n+=1}return!1})}),et=a(function(t,n){return"function"==typeof n["fantasy-land/ap"]?n["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(n):"function"==typeof t?function(r){return t(r)(n(r))}:B(function(t,r){return l(t,K(r,n))},[],t)});var ut=function(){function t(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=new Array(t)}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,n){return this.store(n),this.full?this.xf["@@transducer/step"](t,this.getCopy()):t},t.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},t.prototype.getCopy=function(){return l(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},t}(),ot=a(b([],a(function(t,n){return new ut(t,n)}),function(t,n){for(var r=0,e=n.length-(t-1),u=new Array(e>=0?e:0);r<e;)u[r]=Array.prototype.slice.call(n,r,r+t),r+=1;return u})),it=a(function(t,n){return l(n,[t])}),ct=a(function(t,n){return t.apply(this,n)}),ft=u(function(t){for(var n=H(t),r=n.length,e=[],u=0;u<r;)e[u]=t[n[u]],u+=1;return e}),at=u(function t(n){return n=K(function(n){return"function"==typeof n?n:t(n)},n),h(G(S,0,$("length",ft(n))),function(){var t=arguments;return K(function(n){return ct(n,t)},n)})}),st=a(function(t,n){return n(t)}),lt=g(function(t,n,r){var e=t(n),u=t(r);return e<u?-1:e>u?1:0}),pt=g(function(t,n,r){var e={};for(var u in r)e[u]=r[u];return e[t]=n,e}),dt=Number.isInteger||function(t){return t<<0===t},ht=u(function(t){return null==t}),yt=g(function t(n,r,e){if(0===n.length)return r;var u=n[0];if(n.length>1){var o=!ht(e)&&I(u,e)?e[u]:dt(n[1])?[]:{};r=t(Array.prototype.slice.call(n,1),r,o)}if(dt(u)&&m(e)){var i=[].concat(e);return i[u]=r,i}return pt(u,r,e)}),gt=a(function(t,n){switch(t){case 0:return function(){return n.call(this)};case 1:return function(t){return n.call(this,t)};case 2:return function(t,r){return n.call(this,t,r)};case 3:return function(t,r,e){return n.call(this,t,r,e)};case 4:return function(t,r,e,u){return n.call(this,t,r,e,u)};case 5:return function(t,r,e,u,o){return n.call(this,t,r,e,u,o)};case 6:return function(t,r,e,u,o,i){return n.call(this,t,r,e,u,o,i)};case 7:return function(t,r,e,u,o,i,c){return n.call(this,t,r,e,u,o,i,c)};case 8:return function(t,r,e,u,o,i,c,f){return n.call(this,t,r,e,u,o,i,c,f)};case 9:return function(t,r,e,u,o,i,c,f,a){return n.call(this,t,r,e,u,o,i,c,f,a)};case 10:return function(t,r,e,u,o,i,c,f,a,s){return n.call(this,t,r,e,u,o,i,c,f,a,s)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),vt=u(function(t){return gt(2,t)});function mt(t){return"[object Function]"===Object.prototype.toString.call(t)}var wt=a(function(t,n){var r=h(t,n);return h(t,function(){return B(et,K(r,arguments[0]),Array.prototype.slice.call(arguments,1))})}),bt=u(function(t){return wt(t.length,t)}),xt=a(function(t,n){return mt(t)?function(){return t.apply(this,arguments)&&n.apply(this,arguments)}:bt(Z)(t,n)}),jt=u(function(t){return h(t.length,t)}),Ot=jt(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))});function At(t){return function n(r){for(var e,u,o,i=[],c=0,f=r.length;c<f;){if(T(r[c]))for(o=0,u=(e=t?n(r[c]):r[c]).length;o<u;)i[i.length]=e[o],o+=1;else i[i.length]=r[c];c+=1}return i}}var St=function(t){var n=function(t){return{"@@transducer/init":j.init,"@@transducer/result":function(n){return t["@@transducer/result"](n)},"@@transducer/step":function(n,r){var e=t["@@transducer/step"](n,r);return e["@@transducer/reduced"]?{"@@transducer/value":e,"@@transducer/reduced":!0}:e}}}(t);return{"@@transducer/init":j.init,"@@transducer/result":function(t){return n["@@transducer/result"](t)},"@@transducer/step":function(t,r){return T(r)?B(n,t,r):B(n,t,[r])}}},Et=a(b(["fantasy-land/chain","chain"],a(function(t,n){return K(t,St(n))}),function(t,n){return"function"==typeof n?function(r){return t(n(r))(r)}:At(!1)(K(t,n))})),_t=g(function(t,n,r){if(t>n)throw new Error("min must not be greater than max in clamp(min, max, value)");return r<t?t:r>n?n:r});function Tt(t){return new RegExp(t.source,(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":""))}var qt=u(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function Ct(t,n,r,e){var u=function(u){for(var o=n.length,i=0;i<o;){if(t===n[i])return r[i];i+=1}for(var c in n[i+1]=t,r[i+1]=u,t)u[c]=e?Ct(t[c],n,r,!0):t[c];return u};switch(qt(t)){case"Object":return u({});case"Array":return u([]);case"Date":return new Date(t.valueOf());case"RegExp":return Tt(t);default:return t}}var Nt=u(function(t){return null!=t&&"function"==typeof t.clone?t.clone():Ct(t,[],[],!0)}),Pt=u(function(t){return function(n,r){return t(n,r)?-1:t(r,n)?1:0}}),Rt=u(function(t){return!t}),kt=bt(Rt);function Bt(t,n){return function(){return n.call(this,t.apply(this,arguments))}}function Lt(t,n){return function(){var r=arguments.length;if(0===r)return n();var e=arguments[r-1];return m(e)||"function"!=typeof e[t]?n.apply(this,arguments):e[t].apply(e,Array.prototype.slice.call(arguments,0,r-1))}}var Ut=g(Lt("slice",function(t,n,r){return Array.prototype.slice.call(r,t,n)})),It=u(Lt("tail",Ut(1,1/0)));function Dt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return p(arguments[0].length,G(Bt,arguments[0],It(arguments)))}var Ft=u(function(t){return _(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});function Mt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Dt.apply(this,Ft(arguments))}function Wt(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var t=Array.prototype.slice.call(arguments),n=t.pop();return Mt(Mt.apply(this,K(Et,t)),n)}function zt(t,n){return function(){var r=this;return t.apply(r,arguments).then(function(t){return n.call(r,t)})}}function Vt(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return p(arguments[0].length,G(zt,arguments[0],It(arguments)))}function Ht(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return Vt.apply(this,Ft(arguments))}function Kt(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}function Xt(t,n,r){for(var e=0,u=r.length;e<u;){if(t(n,r[e]))return!0;e+=1}return!1}var Jt=a(function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n});function $t(t,n,r,e){var u=Kt(t);function o(t,n){return Gt(t,n,r.slice(),e.slice())}return!Xt(function(t,n){return!Xt(o,n,t)},Kt(n),u)}function Gt(t,n,r,e){if(Jt(t,n))return!0;var u,o,i=qt(t);if(i!==qt(n))return!1;if(null==t||null==n)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof n.equals)return"function"==typeof t.equals&&t.equals(n)&&"function"==typeof n.equals&&n.equals(t);switch(i){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(u=t.constructor,null==(o=String(u).match(/^function (\w*)/))?"":o[1]))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!Jt(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!Jt(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 c=r.length-1;c>=0;){if(r[c]===t)return e[c]===n;c-=1}switch(i){case"Map":return t.size===n.size&&$t(t.entries(),n.entries(),r.concat([t]),e.concat([n]));case"Set":return t.size===n.size&&$t(t.values(),n.values(),r.concat([t]),e.concat([n]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var f=H(t);if(f.length!==H(n).length)return!1;var a=r.concat([t]),s=e.concat([n]);for(c=f.length-1;c>=0;){var l=f[c];if(!I(l,n)||!Gt(n[l],t[l],a,s))return!1;c-=1}return!0}var Yt=a(function(t,n){return Gt(t,n,[],[])});function Zt(t,n,r){var e,u;if("function"==typeof t.indexOf)switch(typeof n){case"number":if(0===n){for(e=1/n;r<t.length;){if(0===(u=t[r])&&1/u===e)return r;r+=1}return-1}if(n!=n){for(;r<t.length;){if("number"==typeof(u=t[r])&&u!=u)return r;r+=1}return-1}return t.indexOf(n,r);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(Yt(t[r],n))return r;r+=1}return-1}function Qt(t,n){return Zt(n,t,0)>=0}function tn(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var nn=function(t){return(t<10?"0":"")+t},rn="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+nn(t.getUTCMonth()+1)+"-"+nn(t.getUTCDate())+"T"+nn(t.getUTCHours())+":"+nn(t.getUTCMinutes())+":"+nn(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function en(t){return function(){return!t.apply(this,arguments)}}function un(t,n){for(var r=0,e=n.length,u=[];r<e;)t(n[r])&&(u[u.length]=n[r]),r+=1;return u}function on(t){return"[object Object]"===Object.prototype.toString.call(t)}var cn=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=j.result,t.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):t},t}(),fn=a(b(["filter"],a(function(t,n){return new cn(t,n)}),function(t,n){return on(n)?B(function(r,e){return t(n[e])&&(r[e]=n[e]),r},{},H(n)):un(t,n)})),an=a(function(t,n){return fn(en(t),n)});var sn=u(function(t){return function t(n,r){var e=function(e){var u=r.concat([n]);return Qt(e,u)?"<Circular>":t(e,u)},u=function(t,n){return E(function(n){return tn(n)+": "+e(t[n])},n.slice().sort())};switch(Object.prototype.toString.call(n)){case"[object Arguments]":return"(function() { return arguments; }("+E(e,n).join(", ")+"))";case"[object Array]":return"["+E(e,n).concat(u(n,an(function(t){return/^\d+$/.test(t)},H(n)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof n?"new Boolean("+e(n.valueOf())+")":n.toString();case"[object Date]":return"new Date("+(isNaN(n.valueOf())?e(NaN):tn(rn(n)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof n?"new Number("+e(n.valueOf())+")":1/n==-1/0?"-0":n.toString(10);case"[object String]":return"object"==typeof n?"new String("+e(n.valueOf())+")":tn(n);case"[object Undefined]":return"undefined";default:if("function"==typeof n.toString){var o=n.toString();if("[object Object]"!==o)return o}return"{"+u(n,H(n)).join(", ")+"}"}}(t,[])}),ln=a(function(t,n){if(m(t)){if(m(n))return t.concat(n);throw new TypeError(sn(n)+" is not an array")}if(_(t)){if(_(n))return t+n;throw new TypeError(sn(n)+" is not a string")}if(null!=t&&mt(t["fantasy-land/concat"]))return t["fantasy-land/concat"](n);if(null!=t&&mt(t.concat))return t.concat(n);throw new TypeError(sn(t)+' does not have a method named "concat" or "fantasy-land/concat"')}),pn=u(function(t){return p(G(S,0,K(function(t){return t[0].length},t)),function(){for(var n=0;n<t.length;){if(t[n][0].apply(this,arguments))return t[n][1].apply(this,arguments);n+=1}})}),dn=a(function(t,n){if(t>10)throw new Error("Constructor with greater than ten arguments");return 0===t?function(){return new n}:jt(gt(t,function(t,r,e,u,o,i,c,f,a,s){switch(arguments.length){case 1:return new n(t);case 2:return new n(t,r);case 3:return new n(t,r,e);case 4:return new n(t,r,e,u);case 5:return new n(t,r,e,u,o);case 6:return new n(t,r,e,u,o,i);case 7:return new n(t,r,e,u,o,i,c);case 8:return new n(t,r,e,u,o,i,c,f);case 9:return new n(t,r,e,u,o,i,c,f,a);case 10:return new n(t,r,e,u,o,i,c,f,a,s)}}))}),hn=u(function(t){return dn(t.length,t)}),yn=a(Qt),gn=a(function(t,n){return h(G(S,0,$("length",n)),function(){var r=arguments,e=this;return t.apply(e,E(function(t){return t.apply(e,r)},n))})}),vn=function(){function t(t,n,r,e){this.valueFn=t,this.valueAcc=n,this.keyFn=r,this.xf=e,this.inputs={}}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){var n;for(n in this.inputs)if(I(n,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[n]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,n){var r=this.keyFn(n);return this.inputs[r]=this.inputs[r]||[r,this.valueAcc],this.inputs[r][1]=this.valueFn(this.inputs[r][1],n),t},t}(),mn=d(4,[],b([],d(4,[],function(t,n,r,e){return new vn(t,n,r,e)}),function(t,n,r,e){return B(function(e,u){var o=r(u);return e[o]=t(I(o,e)?e[o]:n,u),e},{},e)})),wn=mn(function(t,n){return t+1},0),bn=s(-1),xn=a(function(t,n){return null==n||n!=n?t:n}),jn=g(function(t,n,r){var e=t(n),u=t(r);return e>u?-1:e<u?1:0}),On=a(function(t,n){for(var r=[],e=0,u=t.length;e<u;)Qt(t[e],n)||Qt(t[e],r)||(r[r.length]=t[e]),e+=1;return r}),An=g(function(t,n,r){for(var e=[],u=0,o=n.length;u<o;)Xt(t,n[u],r)||Xt(t,n[u],e)||e.push(n[u]),u+=1;return e}),Sn=a(function(t,n){var r={};for(var e in n)r[e]=n[e];return delete r[t],r}),En=g(function(t,n,r){var e=Array.prototype.slice.call(r,0);return e.splice(t,n),e}),_n=g(function(t,n,r){return v(o(n),t,r)}),Tn=a(function t(n,r){switch(n.length){case 0:return r;case 1:return dt(n[0])?En(n[0],1,r):Sn(n[0],r);default:var e=n[0],u=Array.prototype.slice.call(n,1);return null==r[e]?r:dt(n[0])?_n(e,t(u,r[e]),r):pt(e,t(u,r[e]),r)}}),qn=a(function(t,n){return t/n}),Cn=function(){function t(t,n){this.xf=n,this.n=t}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=j.result,t.prototype["@@transducer/step"]=function(t,n){return this.n>0?(this.n-=1,t):this.xf["@@transducer/step"](t,n)},t}(),Nn=a(b(["drop"],a(function(t,n){return new Cn(t,n)}),function(t,n){return Ut(Math.max(0,t),1/0,n)})),Pn=function(){function t(t,n){this.xf=n,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=j.result,t.prototype["@@transducer/step"]=function(t,n){this.i+=1;var r=0===this.n?t:this.xf["@@transducer/step"](t,n);return this.n>=0&&this.i>=this.n?x(r):r},t}(),Rn=a(b(["take"],a(function(t,n){return new Pn(t,n)}),function(t,n){return Ut(0,t<0?1/0:t,n)}));var kn=function(){function t(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=new Array(t)}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,n){return this.full&&(t=this.xf["@@transducer/step"](t,this.acc[this.pos])),this.store(n),t},t.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},t}(),Bn=a(b([],a(function(t,n){return new kn(t,n)}),function(t,n){return Rn(t<n.length?n.length-t:0,n)}));var Ln=function(){function t(t,n){this.f=t,this.retained=[],this.xf=n}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.retain(t,n):this.flush(t,n)},t.prototype.flush=function(t,n){return t=B(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,n)},t.prototype.retain=function(t,n){return this.retained.push(n),t},t}(),Un=a(b([],a(function(t,n){return new Ln(t,n)}),function(t,n){for(var r=n.length-1;r>=0&&t(n[r]);)r-=1;return Ut(0,r+1,n)})),In=function(){function t(t,n){this.xf=n,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=j.result,t.prototype["@@transducer/step"]=function(t,n){var r=!1;return this.seenFirstValue?this.pred(this.lastValue,n)&&(r=!0):this.seenFirstValue=!0,this.lastValue=n,r?t:this.xf["@@transducer/step"](t,n)},t}(),Dn=a(function(t,n){return new In(t,n)}),Fn=a(function(t,n){var r=t<0?n.length+t:t;return _(n)?n.charAt(r):n[r]}),Mn=Fn(-1),Wn=a(b([],Dn,function(t,n){var r=[],e=1,u=n.length;if(0!==u)for(r[0]=n[0];e<u;)t(Mn(r),n[e])||(r[r.length]=n[e]),e+=1;return r})),zn=u(b([],Dn(Yt),Wn(Yt))),Vn=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=j.result,t.prototype["@@transducer/step"]=function(t,n){if(this.f){if(this.f(n))return t;this.f=null}return this.xf["@@transducer/step"](t,n)},t}(),Hn=a(b(["dropWhile"],a(function(t,n){return new Vn(t,n)}),function(t,n){for(var r=0,e=n.length;r<e&&t(n[r]);)r+=1;return Ut(r,1/0,n)})),Kn=a(function(t,n){return t||n}),Xn=a(function(t,n){return mt(t)?function(){return t.apply(this,arguments)||n.apply(this,arguments)}:bt(Kn)(t,n)}),Jn=u(function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():m(t)?[]:_(t)?"":on(t)?{}:F(t)?function(){return arguments}():void 0}),$n=a(function(t,n){return Nn(t>=0?n.length-t:0,n)}),Gn=a(function(t,n){return Yt($n(t.length,n),t)}),Yn=g(function(t,n,r){return Yt(t(n),t(r))}),Zn=g(function(t,n,r){return Yt(n[t],r[t])}),Qn=a(function t(n,r){var e,u,o,i={};for(u in r)o=typeof(e=n[u]),i[u]="function"===o?e(r[u]):e&&"object"===o?t(e,r[u]):r[u];return i}),tr=function(){function t(t,n){this.xf=n,this.f=t,this.found=!1}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.found=!0,t=x(this.xf["@@transducer/step"](t,n))),t},t}(),nr=a(b(["find"],a(function(t,n){return new tr(t,n)}),function(t,n){for(var r=0,e=n.length;r<e;){if(t(n[r]))return n[r];r+=1}})),rr=function(){function t(t,n){this.xf=n,this.f=t,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,n){return this.idx+=1,this.f(n)&&(this.found=!0,t=x(this.xf["@@transducer/step"](t,this.idx))),t},t}(),er=a(b([],a(function(t,n){return new rr(t,n)}),function(t,n){for(var r=0,e=n.length;r<e;){if(t(n[r]))return r;r+=1}return-1})),ur=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.last))},t.prototype["@@transducer/step"]=function(t,n){return this.f(n)&&(this.last=n),t},t}(),or=a(b([],a(function(t,n){return new ur(t,n)}),function(t,n){for(var r=n.length-1;r>=0;){if(t(n[r]))return n[r];r-=1}})),ir=function(){function t(t,n){this.xf=n,this.f=t,this.idx=-1,this.lastIdx=-1}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},t.prototype["@@transducer/step"]=function(t,n){return this.idx+=1,this.f(n)&&(this.lastIdx=this.idx),t},t}(),cr=a(b([],a(function(t,n){return new ir(t,n)}),function(t,n){for(var r=n.length-1;r>=0;){if(t(n[r]))return r;r-=1}return-1})),fr=u(At(!0)),ar=u(function(t){return h(t.length,function(n,r){var e=Array.prototype.slice.call(arguments,0);return e[0]=r,e[1]=n,t.apply(this,e)})}),sr=a(Lt("forEach",function(t,n){for(var r=n.length,e=0;e<r;)t(n[e]),e+=1;return n})),lr=a(function(t,n){for(var r=H(n),e=0;e<r.length;){var u=r[e];t(n[u],u,n),e+=1}return n}),pr=u(function(t){for(var n={},r=0;r<t.length;)n[t[r][0]]=t[r][1],r+=1;return n}),dr=a(Lt("groupBy",mn(function(t,n){return null==t&&(t=[]),t.push(n),t},null))),hr=a(function(t,n){for(var r=[],e=0,u=n.length;e<u;){for(var o=e+1;o<u&&t(n[o-1],n[o]);)o+=1;r.push(n.slice(e,o)),e=o}return r}),yr=a(function(t,n){return t>n}),gr=a(function(t,n){return t>=n}),vr=a(I),mr=a(function(t,n){return t in n}),wr=Fn(0);function br(t){return t}var xr=u(br),jr=g(function(t,n,r){return h(Math.max(t.length,n.length,r.length),function(){return t.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})}),Or=s(1),Ar=mn(function(t,n){return n},null),Sr=a(function(t,n){return"function"!=typeof n.indexOf||m(n)?Zt(n,t,0):n.indexOf(t)}),Er=Ut(0,-1),_r=g(function(t,n,r){return un(function(n){return Xt(t,n,r)},n)}),Tr=g(function(t,n,r){t=t<r.length&&t>=0?t:r.length;var e=Array.prototype.slice.call(r,0);return e.splice(t,0,n),e}),qr=g(function(t,n,r){return t=t<r.length&&t>=0?t:r.length,[].concat(Array.prototype.slice.call(r,0,t),n,Array.prototype.slice.call(r,t))});function Cr(t,n,r){var e,u=typeof t;switch(u){case"string":case"number":return 0===t&&1/t==-1/0?!!r._items["-0"]||(n&&(r._items["-0"]=!0),!1):null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):u in r._items?t in r._items[u]||(n&&(r._items[u][t]=!0),!1):(n&&(r._items[u]={},r._items[u][t]=!0),!1);case"boolean":if(u in r._items){var o=t?1:0;return!!r._items[u][o]||(n&&(r._items[u][o]=!0),!1)}return n&&(r._items[u]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):u in r._items?!!Qt(t,r._items[u])||(n&&r._items[u].push(t),!1):(n&&(r._items[u]=[t]),!1);case"undefined":return!!r._items[u]||(n&&(r._items[u]=!0),!1);case"object":if(null===t)return!!r._items.null||(n&&(r._items.null=!0),!1);default:return(u=Object.prototype.toString.call(t))in r._items?!!Qt(t,r._items[u])||(n&&r._items[u].push(t),!1):(n&&(r._items[u]=[t]),!1)}}var Nr=function(){function t(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return t.prototype.add=function(t){return!Cr(t,!0,this)},t.prototype.has=function(t){return Cr(t,!1,this)},t}(),Pr=a(function(t,n){for(var r,e,u=new Nr,o=[],i=0;i<n.length;)r=t(e=n[i]),u.add(r)&&o.push(e),i+=1;return o}),Rr=Pr(xr),kr=a(function(t,n){var r,e;return t.length>n.length?(r=t,e=n):(r=n,e=t),Rr(un(ar(Qt)(r),e))}),Br=a(Lt("intersperse",function(t,n){for(var r=[],e=0,u=n.length;e<u;)e===u-1?r.push(n[e]):r.push(n[e],t),e+=1;return r}));var Lr="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,e=arguments.length;r<e;){var u=arguments[r];if(null!=u)for(var o in u)I(o,u)&&(n[o]=u[o]);r+=1}return n},Ur=a(function(t,n){var r={};return r[t]=n,r}),Ir={"@@transducer/init":Array,"@@transducer/step":function(t,n){return t.push(n),t},"@@transducer/result":br},Dr={"@@transducer/init":String,"@@transducer/step":function(t,n){return t+n},"@@transducer/result":br},Fr={"@@transducer/init":Object,"@@transducer/step":function(t,n){return Lr(t,T(n)?Ur(n[0],n[1]):n)},"@@transducer/result":br};var Mr=g(function(t,n,r){return w(t)?B(n(t),t["@@transducer/init"](),r):B(n(function(t){if(w(t))return t;if(T(t))return Ir;if("string"==typeof t)return Dr;if("object"==typeof t)return Fr;throw new Error("Cannot create transformer for "+t)}(t)),Ct(t,[],[],!1),r)}),Wr=u(function(t){for(var n=H(t),r=n.length,e=0,u={};e<r;){var o=n[e],i=t[o],c=I(i,u)?u[i]:u[i]=[];c[c.length]=o,e+=1}return u}),zr=u(function(t){for(var n=H(t),r=n.length,e=0,u={};e<r;){var o=n[e];u[t[o]]=o,e+=1}return u}),Vr=a(function(t,n){return h(t+1,function(){var r=arguments[t];if(null!=r&&mt(r[n]))return r[n].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(sn(r)+' does not have a method named "'+n+'"')})}),Hr=a(function(t,n){return null!=n&&n.constructor===t||n instanceof t}),Kr=u(function(t){return null!=t&&Yt(t,Jn(t))}),Xr=Vr(1,"join"),Jr=u(function(t){return gn(function(){return Array.prototype.slice.call(arguments,0)},t)}),$r=u(function(t){var n,r=[];for(n in t)r[r.length]=n;return r}),Gr=a(function(t,n){if("function"!=typeof n.lastIndexOf||m(n)){for(var r=n.length-1;r>=0;){if(Yt(n[r],t))return r;r-=1}return-1}return n.lastIndexOf(t)});function Yr(t){return"[object Number]"===Object.prototype.toString.call(t)}var Zr=u(function(t){return null!=t&&Yr(t.length)?t.length:NaN}),Qr=a(function(t,n){return function(r){return function(e){return K(function(t){return n(t,e)},r(t(e)))}}}),te=u(function(t){return Qr(Fn(t),_n(t))}),ne=u(function(t){return Qr(X(t),yt(t))}),re=u(function(t){return Qr(J(t),pt(t))}),ee=a(function(t,n){return t<n}),ue=a(function(t,n){return t<=n}),oe=g(function(t,n,r){for(var e=0,u=r.length,o=[],i=[n];e<u;)i=t(i[0],r[e]),o[e]=i[1],e+=1;return[i[0],o]}),ie=g(function(t,n,r){for(var e=r.length-1,u=[],o=[n];e>=0;)o=t(r[e],o[0]),u[e]=o[1],e-=1;return[u,o[0]]}),ce=a(function(t,n){return B(function(r,e){return r[e]=t(n[e],e,n),r},{},H(n))}),fe=a(function(t,n){return n.match(t)||[]}),ae=a(function(t,n){return dt(t)?!dt(n)||n<1?NaN:(t%n+n)%n:NaN}),se=g(function(t,n,r){return t(r)>t(n)?r:n}),le=G(s,0),pe=u(function(t){return le(t)/t.length}),de=u(function(t){var n=t.length;if(0===n)return NaN;var r=2-n%2,e=(n-r)/2;return pe(Array.prototype.slice.call(t,0).sort(function(t,n){return t<n?-1:t>n?1:0}).slice(e,e+r))}),he=a(function(t,n){var r={};return p(n.length,function(){var e=t.apply(this,arguments);return I(e,r)||(r[e]=n.apply(this,arguments)),r[e]})}),ye=he(function(){return sn(arguments)}),ge=a(function(t,n){return Lr({},t,n)}),ve=u(function(t){return Lr.apply(null,[{}].concat(t))}),me=g(function(t,n,r){var e,u={};for(e in n)I(e,n)&&(u[e]=I(e,r)?t(e,n[e],r[e]):n[e]);for(e in r)I(e,r)&&!I(e,u)&&(u[e]=r[e]);return u}),we=g(function t(n,r,e){return me(function(r,e,u){return on(e)&&on(u)?t(n,e,u):n(r,e,u)},r,e)}),be=a(function(t,n){return we(function(t,n,r){return n},t,n)}),xe=a(function(t,n){return we(function(t,n,r){return r},t,n)}),je=g(function(t,n,r){return we(function(n,r,e){return t(r,e)},n,r)}),Oe=g(function(t,n,r){return me(function(n,r,e){return t(r,e)},n,r)}),Ae=a(function(t,n){return n<t?n:t}),Se=g(function(t,n,r){return t(r)<t(n)?r:n}),Ee=a(function(t,n){return t%n}),_e=a(function(t,n){return t*n}),Te=u(function(t){return-t}),qe=a(en(b(["any"],tt,nt))),Ce=u(function(t){return h(t<0?1:t+1,function(){return Fn(t,arguments)})}),Ne=g(function(t,n,r){return t(n(r))});var Pe=u(function(t){return[t]}),Re=a(function(t,n){for(var r={},e={},u=0,o=t.length;u<o;)e[t[u]]=1,u+=1;for(var i in n)e.hasOwnProperty(i)||(r[i]=n[i]);return r}),ke=u(function(t){var n,r=!1;return p(t.length,function(){return r?n:(r=!0,n=t.apply(this,arguments))})}),Be=function(t){return{value:t,map:function(n){return Be(n(t))}}},Le=g(function(t,n,r){return t(function(t){return Be(n(t))})(r).value}),Ue=a(function(t,n){return[t,n]});function Ie(t){return a(function(n,r){return p(Math.max(0,n.length-r.length),function(){return n.apply(this,t(r,arguments))})})}var De=Ie(l),Fe=Ie(ar(l)),Me=Jr([fn,an]),We=g(function(t,n,r){return Yt(X(t,r),n)}),ze=g(function(t,n,r){return xn(t,X(n,r))}),Ve=g(function(t,n,r){return n.length>0&&t(X(n,r))}),He=a(function(t,n){for(var r={},e=0;e<t.length;)t[e]in n&&(r[t[e]]=n[t[e]]),e+=1;return r}),Ke=a(function(t,n){for(var r={},e=0,u=t.length;e<u;){var o=t[e];r[o]=n[o],e+=1}return r}),Xe=a(function(t,n){var r={};for(var e in n)t(n[e],e,n)&&(r[e]=n[e]);return r});function Je(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return Wt.apply(this,Ft(arguments))}var $e=a(function(t,n){return l([t],n)}),Ge=G(_e,1),Ye=a(function(t,n){return h(n.length,function(){for(var r=[],e=0;e<n.length;)r.push(n[e].call(this,arguments[e])),e+=1;return t.apply(this,r.concat(Array.prototype.slice.call(arguments,n.length)))})}),Ze=Ye(E,[Ke,xr]),Qe=g(function(t,n,r){return Yt(n,r[t])}),tu=g(function(t,n,r){return Hr(t,r[n])}),nu=g(function(t,n,r){return null!=r&&I(n,r)?r[n]:t}),ru=g(function(t,n,r){return t(r[n])}),eu=a(function(t,n){for(var r=t.length,e=[],u=0;u<r;)e[u]=n[t[u]],u+=1;return e}),uu=a(function(t,n){if(!Yr(t)||!Yr(n))throw new TypeError("Both arguments to range must be numbers");for(var r=[],e=t;e<n;)r.push(e),e+=1;return r}),ou=g(function(t,n,r){for(var e=r.length-1;e>=0;)n=t(r[e],n),e-=1;return n}),iu=d(4,[],function(t,n,r,e){return B(function(r,e){return t(r,e)?n(r,e):x(r)},r,e)}),cu=u(x),fu=a(function(t,n){var r,e=Number(n),u=0;if(e<0||isNaN(e))throw new RangeError("n must be a non-negative number");for(r=new Array(e);u<e;)r[u]=t(u),u+=1;return r}),au=a(function(t,n){return fu(o(t),n)}),su=g(function(t,n,r){return r.replace(t,n)}),lu=g(function(t,n,r){for(var e=0,u=r.length,o=[n];e<u;)n=t(n,r[e]),o[e+1]=n,e+=1;return o}),pu=a(function(t,n){return"function"==typeof n.sequence?n.sequence(t):ou(function(t,n){return et(K($e,t),n)},t([]),n)}),du=g(function(t,n,r){return Le(t,o(n),r)}),hu=a(function(t,n){return Array.prototype.slice.call(n,0).sort(t)}),yu=a(function(t,n){return Array.prototype.slice.call(n,0).sort(function(n,r){var e=t(n),u=t(r);return e<u?-1:e>u?1:0})}),gu=a(function(t,n){return Array.prototype.slice.call(n,0).sort(function(n,r){for(var e=0,u=0;0===e&&u<t.length;)e=t[u](n,r),u+=1;return e})}),vu=Vr(1,"split"),mu=a(function(t,n){return[Ut(0,t,n),Ut(t,Zr(n),n)]}),wu=a(function(t,n){if(t<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var r=[],e=0;e<n.length;)r.push(Ut(e,e+=t,n));return r}),bu=a(function(t,n){for(var r=0,e=n.length,u=[];r<e&&!t(n[r]);)u.push(n[r]),r+=1;return[u,Array.prototype.slice.call(n,r)]}),xu=a(function(t,n){return Yt(Rn(t.length,n),t)}),ju=a(function(t,n){return Number(t)-Number(n)}),Ou=a(function(t,n){return ln(On(t,n),On(n,t))}),Au=g(function(t,n,r){return ln(An(t,n,r),An(t,r,n))}),Su=a(function(t,n){for(var r=n.length-1;r>=0&&t(n[r]);)r-=1;return Ut(r+1,1/0,n)}),Eu=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=j.result,t.prototype["@@transducer/step"]=function(t,n){return this.f(n)?this.xf["@@transducer/step"](t,n):x(t)},t}(),_u=a(b(["takeWhile"],a(function(t,n){return new Eu(t,n)}),function(t,n){for(var r=0,e=n.length;r<e&&t(n[r]);)r+=1;return Ut(0,r,n)})),Tu=function(){function t(t,n){this.xf=n,this.f=t}return t.prototype["@@transducer/init"]=j.init,t.prototype["@@transducer/result"]=j.result,t.prototype["@@transducer/step"]=function(t,n){return this.f(n),this.xf["@@transducer/step"](t,n)},t}(),qu=a(b([],a(function(t,n){return new Tu(t,n)}),function(t,n){return t(n),n}));var Cu=a(function(t,n){if(r=t,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+sn(t));var r;return Tt(t).test(n)}),Nu=Vr(0,"toLowerCase"),Pu=u(function(t){var n=[];for(var r in t)I(r,t)&&(n[n.length]=[r,t[r]]);return n}),Ru=u(function(t){var n=[];for(var r in t)n[n.length]=[r,t[r]];return n}),ku=Vr(0,"toUpperCase"),Bu=h(4,function(t,n,r,e){return B(t("function"==typeof n?C(n):n),r,e)}),Lu=u(function(t){for(var n=0,r=[];n<t.length;){for(var e=t[n],u=0;u<e.length;)void 0===r[u]&&(r[u]=[]),r[u].push(e[u]),u+=1;n+=1}return r}),Uu=g(function(t,n,r){return"function"==typeof r["fantasy-land/traverse"]?r["fantasy-land/traverse"](n,t):pu(t,K(n,r))}),Iu="\t\n\v\f\r \u2028\u2029\ufeff",Du=u("function"==typeof String.prototype.trim&&!Iu.trim()&&"".trim()?function(t){return t.trim()}:function(t){var n=new RegExp("^["+Iu+"]["+Iu+"]*"),r=new RegExp("["+Iu+"]["+Iu+"]*$");return t.replace(n,"").replace(r,"")}),Fu=a(function(t,n){return p(t.length,function(){try{return t.apply(this,arguments)}catch(t){return n.apply(this,l([t],arguments))}})}),Mu=u(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}}),Wu=u(function(t){return gt(1,t)}),zu=a(function(t,n){return h(t,function(){for(var r,e=1,u=n,o=0;e<=t&&"function"==typeof u;)r=e===t?arguments.length:o+u.length,u=u.apply(this,Array.prototype.slice.call(arguments,o,r)),e+=1,o=r;return u})}),Vu=a(function(t,n){for(var r=t(n),e=[];r&&r.length;)e[e.length]=r[0],r=t(r[1]);return e}),Hu=a(Mt(Rr,l)),Ku=a(function(t,n){for(var r,e=0,u=n.length,o=[];e<u;)Xt(t,r=n[e],o)||(o[o.length]=r),e+=1;return o}),Xu=g(function(t,n,r){return Ku(t,l(n,r))}),Ju=g(function(t,n,r){return t(r)?r:n(r)}),$u=Et(br),Gu=g(function(t,n,r){for(var e=r;!t(e);)e=n(e);return e}),Yu=u(function(t){var n,r=[];for(n in t)r[r.length]=t[n];return r}),Zu=function(t){return{value:t,"fantasy-land/map":function(){return this}}},Qu=a(function(t,n){return t(Zu)(n).value}),to=g(function(t,n,r){return t(r)?n(r):r}),no=a(function(t,n){for(var r in t)if(I(r,t)&&!t[r](n[r]))return!1;return!0}),ro=a(function(t,n){return no(K(Yt,t),n)}),eo=a(function(t,n){return an(ar(Qt)(t),n)}),uo=a(function(t,n){for(var r,e=0,u=t.length,o=n.length,i=[];e<u;){for(r=0;r<o;)i[i.length]=[t[e],n[r]],r+=1;e+=1}return i}),oo=a(function(t,n){for(var r=[],e=0,u=Math.min(t.length,n.length);e<u;)r[e]=[t[e],n[e]],e+=1;return r}),io=a(function(t,n){for(var r=0,e=Math.min(t.length,n.length),u={};r<e;)u[t[r]]=n[r],r+=1;return u}),co=g(function(t,n,r){for(var e=[],u=0,o=Math.min(n.length,r.length);u<o;)e[u]=t(n[u],r[u]),u+=1;return e});r.d(n,"F",function(){return i}),r.d(n,"T",function(){return c}),r.d(n,"__",function(){return f}),r.d(n,"add",function(){return s}),r.d(n,"addIndex",function(){return y}),r.d(n,"adjust",function(){return v}),r.d(n,"all",function(){return A}),r.d(n,"allPass",function(){return Y}),r.d(n,"always",function(){return o}),r.d(n,"and",function(){return Z}),r.d(n,"any",function(){return nt}),r.d(n,"anyPass",function(){return rt}),r.d(n,"ap",function(){return et}),r.d(n,"aperture",function(){return ot}),r.d(n,"append",function(){return it}),r.d(n,"apply",function(){return ct}),r.d(n,"applySpec",function(){return at}),r.d(n,"applyTo",function(){return st}),r.d(n,"ascend",function(){return lt}),r.d(n,"assoc",function(){return pt}),r.d(n,"assocPath",function(){return yt}),r.d(n,"binary",function(){return vt}),r.d(n,"bind",function(){return N}),r.d(n,"both",function(){return xt}),r.d(n,"call",function(){return Ot}),r.d(n,"chain",function(){return Et}),r.d(n,"clamp",function(){return _t}),r.d(n,"clone",function(){return Nt}),r.d(n,"comparator",function(){return Pt}),r.d(n,"complement",function(){return kt}),r.d(n,"compose",function(){return Mt}),r.d(n,"composeK",function(){return Wt}),r.d(n,"composeP",function(){return Ht}),r.d(n,"concat",function(){return ln}),r.d(n,"cond",function(){return pn}),r.d(n,"construct",function(){return hn}),r.d(n,"constructN",function(){return dn}),r.d(n,"contains",function(){return yn}),r.d(n,"converge",function(){return gn}),r.d(n,"countBy",function(){return wn}),r.d(n,"curry",function(){return jt}),r.d(n,"curryN",function(){return h}),r.d(n,"dec",function(){return bn}),r.d(n,"defaultTo",function(){return xn}),r.d(n,"descend",function(){return jn}),r.d(n,"difference",function(){return On}),r.d(n,"differenceWith",function(){return An}),r.d(n,"dissoc",function(){return Sn}),r.d(n,"dissocPath",function(){return Tn}),r.d(n,"divide",function(){return qn}),r.d(n,"drop",function(){return Nn}),r.d(n,"dropLast",function(){return Bn}),r.d(n,"dropLastWhile",function(){return Un}),r.d(n,"dropRepeats",function(){return zn}),r.d(n,"dropRepeatsWith",function(){return Wn}),r.d(n,"dropWhile",function(){return Hn}),r.d(n,"either",function(){return Xn}),r.d(n,"empty",function(){return Jn}),r.d(n,"endsWith",function(){return Gn}),r.d(n,"eqBy",function(){return Yn}),r.d(n,"eqProps",function(){return Zn}),r.d(n,"equals",function(){return Yt}),r.d(n,"evolve",function(){return Qn}),r.d(n,"filter",function(){return fn}),r.d(n,"find",function(){return nr}),r.d(n,"findIndex",function(){return er}),r.d(n,"findLast",function(){return or}),r.d(n,"findLastIndex",function(){return cr}),r.d(n,"flatten",function(){return fr}),r.d(n,"flip",function(){return ar}),r.d(n,"forEach",function(){return sr}),r.d(n,"forEachObjIndexed",function(){return lr}),r.d(n,"fromPairs",function(){return pr}),r.d(n,"groupBy",function(){return dr}),r.d(n,"groupWith",function(){return hr}),r.d(n,"gt",function(){return yr}),r.d(n,"gte",function(){return gr}),r.d(n,"has",function(){return vr}),r.d(n,"hasIn",function(){return mr}),r.d(n,"head",function(){return wr}),r.d(n,"identical",function(){return Jt}),r.d(n,"identity",function(){return xr}),r.d(n,"ifElse",function(){return jr}),r.d(n,"inc",function(){return Or}),r.d(n,"indexBy",function(){return Ar}),r.d(n,"indexOf",function(){return Sr}),r.d(n,"init",function(){return Er}),r.d(n,"innerJoin",function(){return _r}),r.d(n,"insert",function(){return Tr}),r.d(n,"insertAll",function(){return qr}),r.d(n,"intersection",function(){return kr}),r.d(n,"intersperse",function(){return Br}),r.d(n,"into",function(){return Mr}),r.d(n,"invert",function(){return Wr}),r.d(n,"invertObj",function(){return zr}),r.d(n,"invoker",function(){return Vr}),r.d(n,"is",function(){return Hr}),r.d(n,"isEmpty",function(){return Kr}),r.d(n,"isNil",function(){return ht}),r.d(n,"join",function(){return Xr}),r.d(n,"juxt",function(){return Jr}),r.d(n,"keys",function(){return H}),r.d(n,"keysIn",function(){return $r}),r.d(n,"last",function(){return Mn}),r.d(n,"lastIndexOf",function(){return Gr}),r.d(n,"length",function(){return Zr}),r.d(n,"lens",function(){return Qr}),r.d(n,"lensIndex",function(){return te}),r.d(n,"lensPath",function(){return ne}),r.d(n,"lensProp",function(){return re}),r.d(n,"lift",function(){return bt}),r.d(n,"liftN",function(){return wt}),r.d(n,"lt",function(){return ee}),r.d(n,"lte",function(){return ue}),r.d(n,"map",function(){return K}),r.d(n,"mapAccum",function(){return oe}),r.d(n,"mapAccumRight",function(){return ie}),r.d(n,"mapObjIndexed",function(){return ce}),r.d(n,"match",function(){return fe}),r.d(n,"mathMod",function(){return ae}),r.d(n,"max",function(){return S}),r.d(n,"maxBy",function(){return se}),r.d(n,"mean",function(){return pe}),r.d(n,"median",function(){return de}),r.d(n,"memoize",function(){return ye}),r.d(n,"memoizeWith",function(){return he}),r.d(n,"merge",function(){return ge}),r.d(n,"mergeAll",function(){return ve}),r.d(n,"mergeDeepLeft",function(){return be}),r.d(n,"mergeDeepRight",function(){return xe}),r.d(n,"mergeDeepWith",function(){return je}),r.d(n,"mergeDeepWithKey",function(){return we}),r.d(n,"mergeWith",function(){return Oe}),r.d(n,"mergeWithKey",function(){return me}),r.d(n,"min",function(){return Ae}),r.d(n,"minBy",function(){return Se}),r.d(n,"modulo",function(){return Ee}),r.d(n,"multiply",function(){return _e}),r.d(n,"nAry",function(){return gt}),r.d(n,"negate",function(){return Te}),r.d(n,"none",function(){return qe}),r.d(n,"not",function(){return Rt}),r.d(n,"nth",func