Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wonka

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wonka - npm Package Compare versions

Comparing version 4.0.12 to 4.0.13

444

dist/wonka.js

@@ -14,3 +14,3 @@ "use strict";

let e = !1, d = !1, f = !1, g = 0;
return b(__(0, [ function(h) {
b(__(0, [ function(h) {
if (h) {

@@ -33,3 +33,3 @@ e = !0;

function _ref4(a) {
return a(0);
a(0);
}

@@ -39,8 +39,4 @@

let b = !1;
return a(__(0, [ function(c) {
if (c) {
b = !0;
} else if (!b) {
return a(0);
}
a(__(0, [ function(c) {
c ? b = !0 : b || a(0);
} ]));

@@ -52,3 +48,3 @@ }

let c = !1, e = !1, d = !1, f = a;
return b(__(0, [ function(a) {
b(__(0, [ function(a) {
if (a) {

@@ -69,8 +65,4 @@ c = !0;

let c = !1;
return b(__(0, [ function(e) {
if (e) {
c = !0;
} else if (!c) {
return c = !0, b(__(1, [ a ])), b(0);
}
b(__(0, [ function(e) {
e ? c = !0 : c || (c = !0, b(__(1, [ a ])), b(0));
} ]));

@@ -83,13 +75,9 @@ };

next: function(d) {
if (!e) {
return b(__(1, [ d ]));
}
e || b(__(1, [ d ]));
},
complete: function(d) {
if (!e) {
return e = !0, b(0);
}
e || (e = !0, b(0));
}
});
return b(__(0, [ function(d) {
b(__(0, [ function(d) {
if (d && !e) {

@@ -108,3 +96,3 @@ return e = !0, c();

b = b.concat(a);
return a(__(0, [ function(a) {
a(__(0, [ function(a) {
a && (b = b.filter(d));

@@ -115,3 +103,3 @@ } ]));

c || b.forEach((function d(d) {
return d(__(1, [ a ]));
d(__(1, [ a ]));
}));

@@ -124,3 +112,3 @@ },

}, empty$1 = empty, never$1 = function never(a) {
return a(__(0, [ talkbackPlaceholder ]));
a(__(0, [ talkbackPlaceholder ]));
};

@@ -165,3 +153,3 @@

}));
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
if (a) {

@@ -171,4 +159,4 @@ if (m || (m = !0, f(1)), k) {

}
} else if (m || g || (g = !0, f(0)), k && !l) {
return l = !0, h(0);
} else {
m || g || (g = !0, f(0)), k && !l && (l = !0, h(0));
}

@@ -197,41 +185,17 @@ } ]));

b((function(b) {
if ("number" == typeof b) {
if (!g && (g = !0, 0 === f.length)) {
return c(0);
"number" == typeof b ? g || (g = !0, 0 === f.length && c(0)) : b.tag ? g || (d = !1,
function(a) {
function b(a) {
return a !== k;
}
} else if (b.tag) {
if (!g && (d = !1, function(a) {
function b(a) {
return a !== k;
}
var h = function(a) {
if ("number" == typeof a) {
if (0 !== f.length) {
f = f.filter(b);
a = 0 === f.length;
if (g && a) {
return c(0);
}
if (!d && a) {
return d = !0, e(0);
}
}
} else if (a.tag) {
if (0 !== f.length) {
return c(__(1, [ a[0] ])), k(0);
}
} else {
return k = a = a[0], f = f.concat(a), a(0);
}
};
let k = talkbackPlaceholder;
1 === a.length ? a(h) : a.bind(null, h);
}(a(b[0])), !d)) {
return d = !0, e(0);
}
} else {
e = b[0];
}
var h = function(a) {
"number" == typeof a ? 0 !== f.length && (f = f.filter(b), a = 0 === f.length, g && a ? c(0) : !d && a && (d = !0,
e(0))) : a.tag ? 0 !== f.length && (c(__(1, [ a[0] ])), k(0)) : (k = a = a[0], f = f.concat(a),
a(0));
};
let k = talkbackPlaceholder;
1 === a.length ? a(h) : a.bind(null, h);
}(a(b[0])), d || (d = !0, e(0))) : e = b[0];
}));
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
a ? (g || (g = !0, e(a)), f.forEach((function c(c) {

@@ -280,3 +244,3 @@ return c(a);

function _ref11(a) {
return a(0);
a(0);
}

@@ -288,26 +252,4 @@

function e(a) {
if (h) {
if ("number" == typeof a) {
h = !1;
if (l) {
return c(a);
}
if (f) {
return;
}
f = !0;
return d(0);
}
if (a.tag) {
c(a);
if (k) {
k = !1;
return;
}
return g(0);
}
g = a = a[0];
k = !1;
return a(0);
}
h && ("number" == typeof a ? (h = !1, l ? c(a) : f || (f = !0, d(0))) : a.tag ? (c(a),
k ? k = !1 : g(0)) : (g = a = a[0], k = !1, a(0)));
}

@@ -319,3 +261,3 @@ let d = talkbackPlaceholder, f = !1, g = talkbackPlaceholder, h = !1, k = !1, l = !1;

}));
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
if (a) {

@@ -325,4 +267,4 @@ if (l || (l = !0, d(1)), h) {

}
} else if (l || f || (f = !0, d(0)), h && !k) {
return k = !0, g(0);
} else {
l || f || (f = !0, d(0)), h && !k && (k = !0, g(0));
}

@@ -362,3 +304,3 @@ } ]));

}));
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
if (!k) {

@@ -393,3 +335,3 @@ if (a) {

b = "number" == typeof b ? 0 : b.tag ? __(1, [ a(b[0]) ]) : __(0, [ b[0] ]);
return c(b);
c(b);
}));

@@ -414,10 +356,11 @@ };

if (d.tag) {
return e ? void 0 : c(d);
e || c(d);
} else {
var b = d[0];
c(__(0, [ function(c) {
if (!e) {
return c ? (e = !0, b(c), a()) : b(c);
}
} ]));
}
var b = d[0];
return c(__(0, [ function(c) {
if (!e) {
return c ? (e = !0, b(c), a()) : b(c);
}
} ]));
}));

@@ -430,7 +373,3 @@ };

return b((function(b) {
if ("number" == typeof b || b.tag) {
return c(b);
}
c(b);
return a();
"number" == typeof b ? c(b) : b.tag ? c(b) : (c(b), a());
}));

@@ -444,35 +383,11 @@ };

b((function(a) {
if ("number" == typeof a) {
if (h) {
return;
}
h = !0;
d(1);
return c(0);
}
if (a.tag) {
if (f = some(a[0]), g) {
g = !1;
} else {
return g = !0, d(0), e(0);
}
} else {
e = a[0];
}
"number" == typeof a ? h || (h = !0, d(1), c(0)) : a.tag ? (f = some(a[0]), g ? g = !1 : (g = !0,
d(0), e(0))) : e = a[0];
}));
a((function(a) {
var b = f;
if ("number" == typeof a) {
if (!h) {
return h = !0, e(1), c(0);
}
} else if (a.tag) {
if (void 0 !== b && !h) {
return f = void 0, c(__(1, [ valFromOption(b) ]));
}
} else {
d = a[0];
}
"number" == typeof a ? h || (h = !0, e(1), c(0)) : a.tag ? void 0 === b || h || (f = void 0,
c(__(1, [ valFromOption(b) ]))) : d = a[0];
}));
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
if (!h) {

@@ -492,3 +407,3 @@ if (a) {

"number" == typeof a ? (c.forEach(_ref11), c = []) : a.tag ? (d = !1, c.forEach((function(c) {
return c(a);
c(a);
}))) : e = a[0];

@@ -503,3 +418,3 @@ }

1 === c.length && a(b);
return f(__(0, [ function(a) {
f(__(0, [ function(a) {
if (a) {

@@ -509,4 +424,4 @@ if (c = c.filter(g), 0 === c.length) {

}
} else if (!d) {
return d = !0, e(a);
} else {
d || (d = !0, e(a));
}

@@ -520,10 +435,4 @@ } ]));

return b((function(a) {
if ("number" == typeof a) {
return c(a);
}
if (a.tag) {
return 0 < d ? (d = d - 1 | 0, e(0)) : c(a);
}
e = a[0];
return c(a);
"number" == typeof a ? c(a) : a.tag ? 0 < d ? (d = d - 1 | 0, e(0)) : c(a) : (e = a[0],
c(a));
}));

@@ -544,3 +453,3 @@ };

}));
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
if (!k) {

@@ -551,4 +460,4 @@ if (a) {

}
} else if (!h) {
return h = !0, g && f(0), d(0);
} else {
h || (h = !0, g && f(0), d(0));
}

@@ -564,16 +473,4 @@ }

return b((function(b) {
if ("number" == typeof b) {
return c(b);
}
if (b.tag) {
if (d) {
if (a(b[0])) {
return e(0);
}
d = !1;
}
return c(b);
}
e = b[0];
return c(b);
"number" == typeof b ? c(b) : b.tag ? d ? a(b[0]) ? e(0) : (d = !1, c(b)) : c(b) : (e = b[0],
c(b));
}));

@@ -589,22 +486,7 @@ };

b((function(b) {
if ("number" == typeof b) {
if (e) {
return;
}
e = !0;
return c(0);
}
if (b.tag) {
if (d < a && !e && (d = d + 1 | 0, c(b), !e && d >= a)) {
return e = !0, c(0), f(1);
}
} else {
b = b[0];
if (0 >= a) {
return e = !0, c(0), b(1);
}
f = b;
}
"number" == typeof b ? e || (e = !0, c(0)) : b.tag ? d < a && !e && (d = d + 1 | 0,
c(b), !e && d >= a && (e = !0, c(0), f(1))) : (b = b[0], 0 >= a ? (e = !0, c(0),
b(1)) : f = b);
}));
return c(__(0, [ function(b) {
c(__(0, [ function(b) {
if (!e) {

@@ -632,3 +514,3 @@ if (b) {

}));
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
if (!d) {

@@ -645,22 +527,4 @@ return a ? (d = !0, f(1), g(1)) : f(0);

return b((function(b) {
if ("number" == typeof b) {
if (d) {
return;
}
d = !0;
return c(0);
}
if (b.tag) {
if (d) {
return;
}
if (a(b[0])) {
return c(b);
}
d = !0;
c(0);
return e(1);
}
e = b[0];
return c(b);
"number" == typeof b ? d || (d = !0, c(0)) : b.tag ? d || (a(b[0]) ? c(b) : (d = !0,
c(0), e(1))) : (e = b[0], c(b));
}));

@@ -675,15 +539,3 @@ };

b((function(b) {
if ("number" == typeof b) {
e = !0;
} else {
if (b.tag) {
if (e) {
return;
}
a(b[0]);
return c(0);
}
c = b = b[0];
return b(0);
}
"number" == typeof b ? e = !0 : b.tag ? e || (a(b[0]), c(0)) : (c = b = b[0], b(0));
}));

@@ -711,11 +563,3 @@ return {

a((function(a) {
if ("number" == typeof a) {
e = !0;
} else {
if (a.tag) {
return b.push(a[0]), c(0);
}
c = a = a[0];
return a(0);
}
"number" == typeof a ? e = !0 : a.tag ? (b.push(a[0]), c(0)) : (c = a = a[0], a(0));
}));

@@ -743,10 +587,10 @@ e || c(1);

next: function(b) {
return a(__(1, [ b ]));
a(__(1, [ b ]));
},
complete: function() {
return a(0);
a(0);
},
error: _ref$2
});
return a(__(0, [ function(a) {
a(__(0, [ function(a) {
if (a) {

@@ -773,3 +617,3 @@ return c.unsubscribe();

c = a = a[0];
return a(0);
a(0);
}));

@@ -794,11 +638,13 @@ return {

case 0:
return b(__(0, [ function d(a) {
b(__(0, [ function d(a) {
return a ? c(2) : c(1);
} ]));
break;
case 1:
return b(__(1, [ c ]));
b(__(1, [ c ]));
break;
case 2:
return b(0);
b(0);
}

@@ -822,6 +668,7 @@ };

case 1:
return b(0);
b(0);
break;
case 2:
return b(1);
b(1);
}

@@ -842,23 +689,12 @@ };

if ("number" == typeof b) {
if (f) {
return;
}
f = !0;
if (void 0 !== e) {
d = !0;
return;
}
return c(0);
}
if (b.tag) {
f || (f = !0, void 0 !== e ? d = !0 : c(0));
} else if (b.tag) {
f || (g(), e = some(setTimeout((function h(a) {
e = void 0;
c(b);
if (d) {
return c(0);
}
d && c(0);
}), a(b[0]))));
} else {
var l = b[0];
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
if (!f) {

@@ -877,11 +713,5 @@ return a ? (f = !0, d = !1, g(), l(1)) : l(0);

return b((function(b) {
if ("number" != typeof b && !b.tag) {
return c(b);
}
e = e + 1 | 0;
setTimeout((function(a) {
if (0 !== e) {
return e = e - 1 | 0, c(b);
}
}), a);
"number" == typeof b || b.tag ? (e = e + 1 | 0, setTimeout((function(a) {
0 !== e && (e = e - 1 | 0, c(b));
}), a)) : c(b);
}));

@@ -903,17 +733,11 @@ };

if ("number" == typeof b) {
return g(), c(0);
g(), c(0);
} else if (b.tag) {
d || (d = !0, g(), f = some(setTimeout(e, a(b[0]))), c(b));
} else {
var h = b[0];
c(__(0, [ function(a) {
return a ? (g(), h(1)) : h(a);
} ]));
}
if (b.tag) {
if (d) {
return;
}
d = !0;
g();
f = some(setTimeout(e, a(b[0])));
return c(b);
}
var h = b[0];
return c(__(0, [ function(a) {
return a ? (g(), h(1)) : h(a);
} ]));
}));

@@ -926,3 +750,7 @@ };

if ("number" != typeof a) {
return a.tag ? b(a[0]) : a[0](0);
if (a.tag) {
b(a[0]);
} else {
a[0](0);
}
}

@@ -937,5 +765,5 @@ }));

c = c + 1 | 0;
return b(__(1, [ a ]));
b(__(1, [ a ]));
}), a);
return b(__(0, [ function(a) {
b(__(0, [ function(a) {
a && clearInterval(e);

@@ -951,3 +779,3 @@ } ]));

}));
return b(__(0, [ function(a) {
b(__(0, [ function(a) {
a && (c = !0);

@@ -966,55 +794,13 @@ } ]));

var b = g;
if ("number" == typeof a) {
if (1 > k) {
k = k + 1 | 0;
return;
}
if (l) {
return;
}
l = !0;
return c(0);
}
if (a.tag) {
if (a = a[0], void 0 !== b) {
if (!l) {
return f = some(a), h = !1, c(__(1, [ [ a, valFromOption(b) ] ]));
}
} else if (f = some(a), h) {
h = !1;
} else {
return d(0);
}
} else {
e = a[0];
}
"number" == typeof a ? 1 > k ? k = k + 1 | 0 : l || (l = !0, c(0)) : a.tag ? (a = a[0],
void 0 !== b ? l || (f = some(a), h = !1, c(__(1, [ [ a, valFromOption(b) ] ]))) : (f = some(a),
h ? h = !1 : d(0))) : e = a[0];
}));
b((function(a) {
var b = f;
if ("number" == typeof a) {
if (1 > k) {
k = k + 1 | 0;
return;
}
if (l) {
return;
}
l = !0;
return c(0);
}
if (a.tag) {
if (a = a[0], void 0 !== b) {
if (!l) {
return g = some(a), h = !1, c(__(1, [ [ valFromOption(b), a ] ]));
}
} else if (g = some(a), h) {
h = !1;
} else {
return e(0);
}
} else {
d = a[0];
}
"number" == typeof a ? 1 > k ? k = k + 1 | 0 : l || (l = !0, c(0)) : a.tag ? (a = a[0],
void 0 !== b ? l || (g = some(a), h = !1, c(__(1, [ [ valFromOption(b), a ] ]))) : (g = some(a),
h ? h = !1 : e(0))) : d = a[0];
}));
return c(__(0, [ function(a) {
c(__(0, [ function(a) {
if (!l) {

@@ -1059,3 +845,3 @@ if (a) {

var e = _ref3$1, d = _ref4$2, f = function(a) {
return c(__(1, [ a ]));
c(__(1, [ a ]));
};

@@ -1120,3 +906,3 @@ c(__(0, [ function(c) {

"number" == typeof c ? c = 0 : c.tag ? (d = a(d, c[0]), c = __(1, [ d ])) : c = __(0, [ c[0] ]);
return e(c);
e(c);
}));

@@ -1123,0 +909,0 @@ };

@@ -1,1 +0,1 @@

"use strict";function n(n,t){return t.tag=n,t}function t(n){}function r(t){return function(r){var e=t.length;let u=!1,i=!1,f=!1,o=0;return r(n(0,[function(c){if(c)u=!0;else if(i)f=!0;else{for(i=f=!0;f&&!u;)o<e?(c=t[o],o=o+1|0,f=!1,r(n(1,[c]))):(u=!0,r(0));i=!1}}]))}}function e(){}function u(n){return n(0)}function i(t){let r=!1;return t(n(0,[function(n){if(n)r=!0;else if(!r)return t(0)}]))}var f=r,o=i,c=[];function l(n){return void 0===n?((n=[c,0]).tag=256,n):(null===n||n[0]!==c||((n=[c,n[1]+1|0]).tag=256),n)}function s(n){return null===n||n[0]!==c?n:0!==(n=n[1])?[c,n-1|0]:void 0}function a(r){return function(e){return function(u){function i(n){"number"==typeof n?a&&(a=!1,void 0!==(n=f.shift())?(n=r(s(n)),a=!0,n(i)):b?u(0):c||(c=!0,o(0))):n.tag?a&&(u(n),p?p=!1:l(0)):(l=n=n[0],p=!1,n(0))}let f=[],o=t,c=!1,l=t,a=!1,p=!1,b=!1;return e((function(n){"number"==typeof n?b||(b=!0,!a&&function(n){return 0===n.length}(f)&&u(0)):n.tag?b||(n=n[0],c=!1,a?f.push(n):(n=r(n),a=!0,n(i))):o=n[0]})),u(n(0,[function(n){if(n){if(b||(b=!0,o(1)),a)return a=!1,l(1)}else if(b||c||(c=!0,o(0)),a&&!p)return p=!0,l(0)}]))}}}function p(n){return n}function b(n){return n}function m(n){return n(0)}function v(r){return function(e){return function(u){let i=t,f=!1,o=[],c=!1;return e((function(e){if("number"==typeof e){if(!c&&(c=!0,0===o.length))return u(0)}else if(e.tag){if(!c&&(f=!1,function(r){function e(n){return n!==s}var l=function(t){if("number"==typeof t){if(0!==o.length){if(o=o.filter(e),t=0===o.length,c&&t)return u(0);if(!f&&t)return f=!0,i(0)}}else{if(!t.tag)return s=t=t[0],o=o.concat(t),t(0);if(0!==o.length)return u(n(1,[t[0]])),s(0)}};let s=t;1===r.length?r(l):r.bind(null,l)}(r(e[0])),!f))return f=!0,i(0)}else i=e[0]})),u(n(0,[function(n){n?(c||(c=!0,i(n)),o.forEach((function(t){return t(n)})),o=[]):(f||c?f=!1:(f=!0,i(0)),o.forEach(m))}]))}}}function g(n){return n}function x(n){return n}function y(n){return v(x)(n)}function h(t){return function(r){return function(e){let u=!1;return r((function(r){if("number"==typeof r)u||(u=!0,e(r));else if(r.tag)u||(t(r[0]),e(r));else{var i=r[0];e(n(0,[function(n){if(!u)return n&&(u=!0),i(n)}]))}}))}}}function d(n){return n(0)}function E(r){return function(e){return function(u){function i(n){if(l){if("number"==typeof n){if(l=!1,a)return u(n);if(o)return;return o=!0,f(0)}return n.tag?(u(n),s?void(s=!1):c(0)):(c=n=n[0],s=!1,n(0))}}let f=t,o=!1,c=t,l=!1,s=!1,a=!1;return e((function(n){"number"==typeof n?a||(a=!0,l||u(0)):n.tag?a||(l&&(c(1),c=t),o?o=!1:(o=!0,f(0)),n=r(n[0]),l=!0,n(i)):f=n[0]})),u(n(0,[function(n){if(n){if(a||(a=!0,f(1)),l)return l=!1,c(1)}else if(a||o||(o=!0,f(0)),l&&!s)return s=!0,c(0)}]))}}}function k(n){return n}function S(n){return function(e){return function(u){let f=[],o=t;return e((function(t){"number"==typeof t?r(f)(u):t.tag?(f.length>=n&&0<n&&f.shift(),f.push(t[0]),o(0)):(t=t[0],0>=n?(t(1),i(u)):(o=t,t(0)))}))}}}var w=a,A=v,P=y,T=y,L=h,M=h,C=E,I=S;function O(n){return function(r){let e=t,u=!1;return r((function(t){if("number"!=typeof t){if(t.tag){if(u)return;return n(t[0]),e(0)}return e=t=t[0],t(0)}u=!0})),{unsubscribe:function(n){if(!u)return u=!0,e(1)}}}}function U(n){}var W=O,j="function"==typeof Symbol?Symbol.observable||(Symbol.observable=Symbol("observable")):"@@observable";function D(n){}function V(n,t,r){n.addEventListener(t,r)}function q(n,t,r){n.removeEventListener(t,r)}exports.buffer=function(r){return function(e){return function(u){function i(t){"number"==typeof t?s||(s=!0,o(1),0<f.length&&u(n(1,[f])),u(0)):t.tag?!s&&0<f.length&&(t=f,f=[],u(n(1,[t]))):c=t[0]}let f=[],o=t,c=t,l=!1,s=!1;return e((function(t){"number"==typeof t?s||(s=!0,c(1),0<f.length&&u(n(1,[f])),u(0)):t.tag?s||(f.push(t[0]),l?l=!1:(l=!0,o(0),c(0))):(o=t[0],r(i))})),u(n(0,[function(n){if(!s){if(n)return s=!0,o(1),c(1);if(!l)return l=!0,o(0),c(0)}}]))}}},exports.combine=function(r,e){return function(r,e){return function(u){let i=t,f=t,o=void 0,c=void 0,a=!1,p=0,b=!1;return r((function(t){var r=c;if("number"==typeof t){if(1>p)return void(p=p+1|0);if(b)return;return b=!0,u(0)}if(t.tag)if(t=t[0],void 0!==r){if(!b)return o=l(t),a=!1,u(n(1,[[t,s(r)]]))}else{if(o=l(t),!a)return f(0);a=!1}else i=t[0]})),e((function(t){var r=o;if("number"==typeof t){if(1>p)return void(p=p+1|0);if(b)return;return b=!0,u(0)}if(t.tag)if(t=t[0],void 0!==r){if(!b)return c=l(t),a=!1,u(n(1,[[s(r),t]]))}else{if(c=l(t),!a)return i(0);a=!1}else f=t[0]})),u(n(0,[function(n){if(!b){if(n)return b=!0,i(1),f(1);if(!a)return a=!0,i(n),f(n)}}]))}}(r,e)},exports.concat=function(n){return a(b)(r(n))},exports.concatAll=function(n){return a(p)(n)},exports.concatMap=w,exports.debounce=function(t){return function(r){return function(e){let u=void 0,i=!1,f=!1;var o=function(n){void 0!==(n=u)&&(u=void 0,clearTimeout(s(n)))};return r((function(r){if("number"==typeof r){if(f)return;return f=!0,void 0!==u?void(i=!0):e(0)}if(!r.tag){var c=r[0];return e(n(0,[function(n){if(!f)return n?(f=!0,i=!1,o(),c(1)):c(0)}]))}f||(o(),u=l(setTimeout((function(n){if(u=void 0,e(r),i)return e(0)}),t(r[0]))))}))}}},exports.delay=function(n){return function(t){return function(r){let e=0;return t((function(t){if("number"!=typeof t&&!t.tag)return r(t);e=e+1|0,setTimeout((function(n){if(0!==e)return e=e-1|0,r(t)}),n)}))}}},exports.empty=o,exports.filter=function(n){return function(r){return function(e){let u=t;return r((function(t){"number"==typeof t?e(t):t.tag?n(t[0])?e(t):u(0):(u=t[0],e(t))}))}}},exports.flatten=T,exports.forEach=function(n){return function(t){O(n)(t)}},exports.fromArray=f,exports.fromCallbag=function(t){return function(r){var e=function(t,e){switch(t){case 0:return r(n(0,[function(n){return e(n?2:1)}]));case 1:return r(n(1,[e]));case 2:return r(0)}};return 2===t.length?t(0,e):t.bind(null,0,e)}},exports.fromDomEvent=function(t,r){return function(t,r){return function(e){var u=V,i=q,f=function(t){return e(n(1,[t]))};return e(n(0,[function(n){if(n)return i(t,r,f)}])),u(t,r,f)}}(t,r)},exports.fromList=function(t){return function(r){let e=!1,u=!1,i=!1,f=t;return r(n(0,[function(t){if(t)e=!0;else if(u)i=!0;else{for(u=i=!0;i&&!e;)(t=f)?(f=t[1],i=!1,r(n(1,[t[0]]))):(e=!0,r(0));u=!1}}]))}},exports.fromObservable=function(t){var r=void 0!==t[j]?t[j]():t;return function(t){var e=r.subscribe({next:function(r){return t(n(1,[r]))},complete:function(){return t(0)},error:D});return t(n(0,[function(n){if(n)return e.unsubscribe()}]))}},exports.fromPromise=function(t){return function(r){let e=!1;return t.then((function(t){return e||(r(n(1,[t])),r(0)),Promise.resolve(void 0)})),r(n(0,[function(n){n&&(e=!0)}]))}},exports.fromValue=function(t){return function(r){let e=!1;return r(n(0,[function(u){if(u)e=!0;else if(!e)return e=!0,r(n(1,[t])),r(0)}]))}},exports.interval=function(t){return function(r){let e=0;var u=setInterval((function(t){return t=e,e=e+1|0,r(n(1,[t]))}),t);return r(n(0,[function(n){n&&clearInterval(u)}]))}},exports.make=function(t){return function(r){let u=e,i=!1;return u=t({next:function(t){if(!i)return r(n(1,[t]))},complete:function(n){if(!i)return i=!0,r(0)}}),r(n(0,[function(n){if(n&&!i)return i=!0,u()}]))}},exports.makeSubject=function(t){let r=[],e=!1;return{source:function(t){function e(n){return n!==t}return r=r.concat(t),t(n(0,[function(n){n&&(r=r.filter(e))}]))},next:function(t){e||r.forEach((function(r){return r(n(1,[t]))}))},complete:function(n){e||(e=!0,r.forEach(u))}}},exports.map=function(t){return function(r){return function(e){return r((function(r){return r="number"==typeof r?0:r.tag?n(1,[t(r[0])]):n(0,[r[0]]),e(r)}))}}},exports.merge=function(n){return v(g)(r(n))},exports.mergeAll=P,exports.mergeMap=A,exports.never=function(r){return r(n(0,[t]))},exports.onEnd=function(t){return function(r){return function(e){let u=!1;return r((function(r){if("number"==typeof r){if(u)return;return u=!0,e(r),t()}if(r.tag)return u?void 0:e(r);var i=r[0];return e(n(0,[function(n){if(!u)return n?(u=!0,i(n),t()):i(n)}]))}))}}},exports.onPush=L,exports.onStart=function(n){return function(t){return function(r){return t((function(t){return"number"==typeof t||t.tag?r(t):(r(t),n())}))}}},exports.pipe=function(){for(var n=arguments,t=arguments[0],r=1,e=arguments.length;r<e;r++)t=n[r](t);return t},exports.publish=function(n){return O(U)(n)},exports.sample=function(r){return function(e){return function(u){let i=t,f=t,o=void 0,c=!1,a=!1;return e((function(n){if("number"==typeof n){if(a)return;return a=!0,f(1),u(0)}if(n.tag){if(o=l(n[0]),!c)return c=!0,f(0),i(0);c=!1}else i=n[0]})),r((function(t){var r=o;if("number"==typeof t){if(!a)return a=!0,i(1),u(0)}else if(t.tag){if(void 0!==r&&!a)return o=void 0,u(n(1,[s(r)]))}else f=t[0]})),u(n(0,[function(n){if(!a){if(n)return a=!0,i(1),f(1);if(!c)return c=!0,i(0),f(0)}}]))}}},exports.scan=function(t,r){return function(t,r){return function(e){return function(u){let i=r;return e((function(r){return"number"==typeof r?r=0:r.tag?(i=t(i,r[0]),r=n(1,[i])):r=n(0,[r[0]]),u(r)}))}}}(t,r)},exports.share=function(r){function e(n){"number"==typeof n?(u.forEach(d),u=[]):n.tag?(f=!1,u.forEach((function(t){return t(n)}))):i=n[0]}let u=[],i=t,f=!1;return function(t){function o(n){return n!==t}return u=u.concat(t),1===u.length&&r(e),t(n(0,[function(n){if(n){if(u=u.filter(o),0===u.length)return i(1)}else if(!f)return f=!0,i(n)}]))}},exports.skip=function(n){return function(r){return function(e){let u=t,i=n;return r((function(n){return"number"==typeof n?e(n):n.tag?0<i?(i=i-1|0,u(0)):e(n):(u=n[0],e(n))}))}}},exports.skipUntil=function(r){return function(e){return function(u){function i(n){"number"==typeof n?c&&(s=!0,f(1)):n.tag?(c=!1,o(1)):(o=n=n[0],n(0))}let f=t,o=t,c=!0,l=!1,s=!1;return e((function(n){"number"==typeof n?(c&&o(1),s=!0,u(0)):n.tag?c||s?l?l=!1:(l=!0,f(0),o(0)):(l=!1,u(n)):(f=n[0],r(i))})),u(n(0,[function(n){if(!s)if(n){if(s=!0,f(1),c)return o(1)}else if(!l)return l=!0,c&&o(0),f(0)}]))}}},exports.skipWhile=function(n){return function(r){return function(e){let u=t,i=!0;return r((function(t){if("number"==typeof t)return e(t);if(t.tag){if(i){if(n(t[0]))return u(0);i=!1}return e(t)}return u=t[0],e(t)}))}}},exports.subscribe=W,exports.switchAll=function(n){return E(k)(n)},exports.switchMap=C,exports.take=function(r){return function(e){return function(u){let i=!1,f=0,o=t;return e((function(n){if("number"==typeof n){if(i)return;return i=!0,u(0)}if(n.tag){if(f<r&&!i&&(f=f+1|0,u(n),!i&&f>=r))return i=!0,u(0),o(1)}else{if(n=n[0],0>=r)return i=!0,u(0),n(1);o=n}})),u(n(0,[function(n){if(!i){if(n)return i=!0,o(1);if(f<r)return o(0)}}]))}}},exports.takeLast=I,exports.takeUntil=function(r){return function(e){return function(u){function i(n){"number"!=typeof n&&(n.tag?(f=!0,o(1),u(0)):(c=n=n[0],n(0)))}let f=!1,o=t,c=t;return e((function(n){"number"==typeof n?f||(f=!0,c(1),u(0)):n.tag?f||u(n):(o=n[0],r(i))})),u(n(0,[function(n){if(!f)return n?(f=!0,o(1),c(1)):o(0)}]))}}},exports.takeWhile=function(n){return function(r){return function(e){let u=t,i=!1;return r((function(t){if("number"==typeof t){if(i)return;return i=!0,e(0)}if(t.tag){if(i)return;return n(t[0])?e(t):(i=!0,e(0),u(1))}return u=t[0],e(t)}))}}},exports.tap=M,exports.throttle=function(t){return function(r){return function(e){function u(n){f=void 0,i=!1}let i=!1,f=void 0;var o=function(n){void 0!==(n=f)&&clearTimeout(s(n))};return r((function(r){if("number"==typeof r)return o(),e(0);if(r.tag){if(i)return;return i=!0,o(),f=l(setTimeout(u,t(r[0]))),e(r)}var c=r[0];return e(n(0,[function(n){return n?(o(),c(1)):c(n)}]))}))}}},exports.toArray=function(n){let r=[],e=t,u=!1;return n((function(n){if("number"!=typeof n)return n.tag?(r.push(n[0]),e(0)):(e=n=n[0],n(0));u=!0})),u||e(1),r},exports.toCallbag=function(n){return function(t,r){if(0===t)return n((function(n){if("number"==typeof n)return 2===r.length?r(2,void 0):r.bind(null,2,void 0);if(n.tag)return n=n[0],2===r.length?r(1,n):r.bind(null,1,n);var t=n[0];return n=function(n){switch(n){case 1:return t(0);case 2:return t(1)}},2===r.length?r(0,n):r.bind(null,0,n)}))}},exports.toObservable=function(n){var r={subscribe:function(r){let e=t,u=!1;return n((function(n){if("number"==typeof n)return u=!0,r.complete();if(n.tag){if(u)return;return r.next(n[0]),e(0)}return e=n=n[0],n(0)})),{unsubscribe:function(){if(!u)return u=!0,e(1)}}}};return r[j]=function(n){return r},r},exports.toPromise=function(n){return new Promise((function(t,r){S(1)(n)((function(n){if("number"!=typeof n)return n.tag?t(n[0]):n[0](0)}))}))};
"use strict";function n(n,t){return t.tag=n,t}function t(n){}function e(t){return function(e){var r=t.length;let u=!1,o=!1,i=!1,f=0;e(n(0,[function(c){if(c)u=!0;else if(o)i=!0;else{for(o=i=!0;i&&!u;)f<r?(c=t[f],f=f+1|0,i=!1,e(n(1,[c]))):(u=!0,e(0));o=!1}}]))}}function r(){}function u(n){n(0)}function o(t){let e=!1;t(n(0,[function(n){n?e=!0:e||t(0)}]))}var i=e,f=o,c=[];function l(n){return void 0===n?((n=[c,0]).tag=256,n):(null===n||n[0]!==c||((n=[c,n[1]+1|0]).tag=256),n)}function s(n){return null===n||n[0]!==c?n:0!==(n=n[1])?[c,n-1|0]:void 0}function a(e){return function(r){return function(u){function o(n){"number"==typeof n?a&&(a=!1,void 0!==(n=i.shift())?(n=e(s(n)),a=!0,n(o)):b?u(0):c||(c=!0,f(0))):n.tag?a&&(u(n),p?p=!1:l(0)):(l=n=n[0],p=!1,n(0))}let i=[],f=t,c=!1,l=t,a=!1,p=!1,b=!1;r((function(n){"number"==typeof n?b||(b=!0,!a&&function(n){return 0===n.length}(i)&&u(0)):n.tag?b||(n=n[0],c=!1,a?i.push(n):(n=e(n),a=!0,n(o))):f=n[0]})),u(n(0,[function(n){if(n){if(b||(b=!0,f(1)),a)return a=!1,l(1)}else b||c||(c=!0,f(0)),a&&!p&&(p=!0,l(0))}]))}}}function p(n){return n}function b(n){return n}function m(n){return n(0)}function g(e){return function(r){return function(u){let o=t,i=!1,f=[],c=!1;r((function(r){"number"==typeof r?c||(c=!0,0===f.length&&u(0)):r.tag?c||(i=!1,function(e){function r(n){return n!==s}var l=function(t){"number"==typeof t?0!==f.length&&(f=f.filter(r),t=0===f.length,c&&t?u(0):!i&&t&&(i=!0,o(0))):t.tag?0!==f.length&&(u(n(1,[t[0]])),s(0)):(s=t=t[0],f=f.concat(t),t(0))};let s=t;1===e.length?e(l):e.bind(null,l)}(e(r[0])),i||(i=!0,o(0))):o=r[0]})),u(n(0,[function(n){n?(c||(c=!0,o(n)),f.forEach((function(t){return t(n)})),f=[]):(i||c?i=!1:(i=!0,o(0)),f.forEach(m))}]))}}}function v(n){return n}function x(n){return n}function y(n){return g(x)(n)}function h(t){return function(e){return function(r){let u=!1;return e((function(e){if("number"==typeof e)u||(u=!0,r(e));else if(e.tag)u||(t(e[0]),r(e));else{var o=e[0];r(n(0,[function(n){if(!u)return n&&(u=!0),o(n)}]))}}))}}}function d(n){n(0)}function k(e){return function(r){return function(u){function o(n){l&&("number"==typeof n?(l=!1,a?u(n):f||(f=!0,i(0))):n.tag?(u(n),s?s=!1:c(0)):(c=n=n[0],s=!1,n(0)))}let i=t,f=!1,c=t,l=!1,s=!1,a=!1;r((function(n){"number"==typeof n?a||(a=!0,l||u(0)):n.tag?a||(l&&(c(1),c=t),f?f=!1:(f=!0,i(0)),n=e(n[0]),l=!0,n(o)):i=n[0]})),u(n(0,[function(n){if(n){if(a||(a=!0,i(1)),l)return l=!1,c(1)}else a||f||(f=!0,i(0)),l&&!s&&(s=!0,c(0))}]))}}}function E(n){return n}function S(n){return function(r){return function(u){let i=[],f=t;return r((function(t){"number"==typeof t?e(i)(u):t.tag?(i.length>=n&&0<n&&i.shift(),i.push(t[0]),f(0)):(t=t[0],0>=n?(t(1),o(u)):(f=t,t(0)))}))}}}var w=a,A=g,P=y,T=y,L=h,M=h,C=k,I=S;function O(n){return function(e){let r=t,u=!1;return e((function(t){"number"==typeof t?u=!0:t.tag?u||(n(t[0]),r(0)):(r=t=t[0],t(0))})),{unsubscribe:function(n){if(!u)return u=!0,r(1)}}}}function U(n){}var W=O,j="function"==typeof Symbol?Symbol.observable||(Symbol.observable=Symbol("observable")):"@@observable";function D(n){}function V(n,t,e){n.addEventListener(t,e)}function q(n,t,e){n.removeEventListener(t,e)}exports.buffer=function(e){return function(r){return function(u){function o(t){"number"==typeof t?s||(s=!0,f(1),0<i.length&&u(n(1,[i])),u(0)):t.tag?!s&&0<i.length&&(t=i,i=[],u(n(1,[t]))):c=t[0]}let i=[],f=t,c=t,l=!1,s=!1;r((function(t){"number"==typeof t?s||(s=!0,c(1),0<i.length&&u(n(1,[i])),u(0)):t.tag?s||(i.push(t[0]),l?l=!1:(l=!0,f(0),c(0))):(f=t[0],e(o))})),u(n(0,[function(n){if(!s){if(n)return s=!0,f(1),c(1);if(!l)return l=!0,f(0),c(0)}}]))}}},exports.combine=function(e,r){return function(e,r){return function(u){let o=t,i=t,f=void 0,c=void 0,a=!1,p=0,b=!1;e((function(t){var e=c;"number"==typeof t?1>p?p=p+1|0:b||(b=!0,u(0)):t.tag?(t=t[0],void 0!==e?b||(f=l(t),a=!1,u(n(1,[[t,s(e)]]))):(f=l(t),a?a=!1:i(0))):o=t[0]})),r((function(t){var e=f;"number"==typeof t?1>p?p=p+1|0:b||(b=!0,u(0)):t.tag?(t=t[0],void 0!==e?b||(c=l(t),a=!1,u(n(1,[[s(e),t]]))):(c=l(t),a?a=!1:o(0))):i=t[0]})),u(n(0,[function(n){if(!b){if(n)return b=!0,o(1),i(1);if(!a)return a=!0,o(n),i(n)}}]))}}(e,r)},exports.concat=function(n){return a(b)(e(n))},exports.concatAll=function(n){return a(p)(n)},exports.concatMap=w,exports.debounce=function(t){return function(e){return function(r){let u=void 0,o=!1,i=!1;var f=function(n){void 0!==(n=u)&&(u=void 0,clearTimeout(s(n)))};return e((function(e){if("number"==typeof e)i||(i=!0,void 0!==u?o=!0:r(0));else if(e.tag)i||(f(),u=l(setTimeout((function(n){u=void 0,r(e),o&&r(0)}),t(e[0]))));else{var c=e[0];r(n(0,[function(n){if(!i)return n?(i=!0,o=!1,f(),c(1)):c(0)}]))}}))}}},exports.delay=function(n){return function(t){return function(e){let r=0;return t((function(t){"number"==typeof t||t.tag?(r=r+1|0,setTimeout((function(n){0!==r&&(r=r-1|0,e(t))}),n)):e(t)}))}}},exports.empty=f,exports.filter=function(n){return function(e){return function(r){let u=t;return e((function(t){"number"==typeof t?r(t):t.tag?n(t[0])?r(t):u(0):(u=t[0],r(t))}))}}},exports.flatten=T,exports.forEach=function(n){return function(t){O(n)(t)}},exports.fromArray=i,exports.fromCallbag=function(t){return function(e){var r=function(t,r){switch(t){case 0:e(n(0,[function(n){return r(n?2:1)}]));break;case 1:e(n(1,[r]));break;case 2:e(0)}};return 2===t.length?t(0,r):t.bind(null,0,r)}},exports.fromDomEvent=function(t,e){return function(t,e){return function(r){var u=V,o=q,i=function(t){r(n(1,[t]))};return r(n(0,[function(n){if(n)return o(t,e,i)}])),u(t,e,i)}}(t,e)},exports.fromList=function(t){return function(e){let r=!1,u=!1,o=!1,i=t;e(n(0,[function(t){if(t)r=!0;else if(u)o=!0;else{for(u=o=!0;o&&!r;)(t=i)?(i=t[1],o=!1,e(n(1,[t[0]]))):(r=!0,e(0));u=!1}}]))}},exports.fromObservable=function(t){var e=void 0!==t[j]?t[j]():t;return function(t){var r=e.subscribe({next:function(e){t(n(1,[e]))},complete:function(){t(0)},error:D});t(n(0,[function(n){if(n)return r.unsubscribe()}]))}},exports.fromPromise=function(t){return function(e){let r=!1;t.then((function(t){return r||(e(n(1,[t])),e(0)),Promise.resolve(void 0)})),e(n(0,[function(n){n&&(r=!0)}]))}},exports.fromValue=function(t){return function(e){let r=!1;e(n(0,[function(u){u?r=!0:r||(r=!0,e(n(1,[t])),e(0))}]))}},exports.interval=function(t){return function(e){let r=0;var u=setInterval((function(t){t=r,r=r+1|0,e(n(1,[t]))}),t);e(n(0,[function(n){n&&clearInterval(u)}]))}},exports.make=function(t){return function(e){let u=r,o=!1;u=t({next:function(t){o||e(n(1,[t]))},complete:function(n){o||(o=!0,e(0))}}),e(n(0,[function(n){if(n&&!o)return o=!0,u()}]))}},exports.makeSubject=function(t){let e=[],r=!1;return{source:function(t){function r(n){return n!==t}e=e.concat(t),t(n(0,[function(n){n&&(e=e.filter(r))}]))},next:function(t){r||e.forEach((function(e){e(n(1,[t]))}))},complete:function(n){r||(r=!0,e.forEach(u))}}},exports.map=function(t){return function(e){return function(r){return e((function(e){e="number"==typeof e?0:e.tag?n(1,[t(e[0])]):n(0,[e[0]]),r(e)}))}}},exports.merge=function(n){return g(v)(e(n))},exports.mergeAll=P,exports.mergeMap=A,exports.never=function(e){e(n(0,[t]))},exports.onEnd=function(t){return function(e){return function(r){let u=!1;return e((function(e){if("number"==typeof e){if(u)return;return u=!0,r(e),t()}if(e.tag)u||r(e);else{var o=e[0];r(n(0,[function(n){if(!u)return n?(u=!0,o(n),t()):o(n)}]))}}))}}},exports.onPush=L,exports.onStart=function(n){return function(t){return function(e){return t((function(t){"number"==typeof t||t.tag?e(t):(e(t),n())}))}}},exports.pipe=function(){for(var n=arguments,t=arguments[0],e=1,r=arguments.length;e<r;e++)t=n[e](t);return t},exports.publish=function(n){return O(U)(n)},exports.sample=function(e){return function(r){return function(u){let o=t,i=t,f=void 0,c=!1,a=!1;r((function(n){"number"==typeof n?a||(a=!0,i(1),u(0)):n.tag?(f=l(n[0]),c?c=!1:(c=!0,i(0),o(0))):o=n[0]})),e((function(t){var e=f;"number"==typeof t?a||(a=!0,o(1),u(0)):t.tag?void 0===e||a||(f=void 0,u(n(1,[s(e)]))):i=t[0]})),u(n(0,[function(n){if(!a){if(n)return a=!0,o(1),i(1);if(!c)return c=!0,o(0),i(0)}}]))}}},exports.scan=function(t,e){return function(t,e){return function(r){return function(u){let o=e;return r((function(e){"number"==typeof e?e=0:e.tag?(o=t(o,e[0]),e=n(1,[o])):e=n(0,[e[0]]),u(e)}))}}}(t,e)},exports.share=function(e){function r(n){"number"==typeof n?(u.forEach(d),u=[]):n.tag?(i=!1,u.forEach((function(t){t(n)}))):o=n[0]}let u=[],o=t,i=!1;return function(t){function f(n){return n!==t}u=u.concat(t),1===u.length&&e(r),t(n(0,[function(n){if(n){if(u=u.filter(f),0===u.length)return o(1)}else i||(i=!0,o(n))}]))}},exports.skip=function(n){return function(e){return function(r){let u=t,o=n;return e((function(n){"number"==typeof n?r(n):n.tag?0<o?(o=o-1|0,u(0)):r(n):(u=n[0],r(n))}))}}},exports.skipUntil=function(e){return function(r){return function(u){function o(n){"number"==typeof n?c&&(s=!0,i(1)):n.tag?(c=!1,f(1)):(f=n=n[0],n(0))}let i=t,f=t,c=!0,l=!1,s=!1;r((function(n){"number"==typeof n?(c&&f(1),s=!0,u(0)):n.tag?c||s?l?l=!1:(l=!0,i(0),f(0)):(l=!1,u(n)):(i=n[0],e(o))})),u(n(0,[function(n){if(!s)if(n){if(s=!0,i(1),c)return f(1)}else l||(l=!0,c&&f(0),i(0))}]))}}},exports.skipWhile=function(n){return function(e){return function(r){let u=t,o=!0;return e((function(t){"number"==typeof t?r(t):t.tag?o?n(t[0])?u(0):(o=!1,r(t)):r(t):(u=t[0],r(t))}))}}},exports.subscribe=W,exports.switchAll=function(n){return k(E)(n)},exports.switchMap=C,exports.take=function(e){return function(r){return function(u){let o=!1,i=0,f=t;r((function(n){"number"==typeof n?o||(o=!0,u(0)):n.tag?i<e&&!o&&(i=i+1|0,u(n),!o&&i>=e&&(o=!0,u(0),f(1))):(n=n[0],0>=e?(o=!0,u(0),n(1)):f=n)})),u(n(0,[function(n){if(!o){if(n)return o=!0,f(1);if(i<e)return f(0)}}]))}}},exports.takeLast=I,exports.takeUntil=function(e){return function(r){return function(u){function o(n){"number"!=typeof n&&(n.tag?(i=!0,f(1),u(0)):(c=n=n[0],n(0)))}let i=!1,f=t,c=t;r((function(n){"number"==typeof n?i||(i=!0,c(1),u(0)):n.tag?i||u(n):(f=n[0],e(o))})),u(n(0,[function(n){if(!i)return n?(i=!0,f(1),c(1)):f(0)}]))}}},exports.takeWhile=function(n){return function(e){return function(r){let u=t,o=!1;return e((function(t){"number"==typeof t?o||(o=!0,r(0)):t.tag?o||(n(t[0])?r(t):(o=!0,r(0),u(1))):(u=t[0],r(t))}))}}},exports.tap=M,exports.throttle=function(t){return function(e){return function(r){function u(n){i=void 0,o=!1}let o=!1,i=void 0;var f=function(n){void 0!==(n=i)&&clearTimeout(s(n))};return e((function(e){if("number"==typeof e)f(),r(0);else if(e.tag)o||(o=!0,f(),i=l(setTimeout(u,t(e[0]))),r(e));else{var c=e[0];r(n(0,[function(n){return n?(f(),c(1)):c(n)}]))}}))}}},exports.toArray=function(n){let e=[],r=t,u=!1;return n((function(n){"number"==typeof n?u=!0:n.tag?(e.push(n[0]),r(0)):(r=n=n[0],n(0))})),u||r(1),e},exports.toCallbag=function(n){return function(t,e){if(0===t)return n((function(n){if("number"==typeof n)return 2===e.length?e(2,void 0):e.bind(null,2,void 0);if(n.tag)return n=n[0],2===e.length?e(1,n):e.bind(null,1,n);var t=n[0];return n=function(n){switch(n){case 1:t(0);break;case 2:t(1)}},2===e.length?e(0,n):e.bind(null,0,n)}))}},exports.toObservable=function(n){var e={subscribe:function(e){let r=t,u=!1;return n((function(n){if("number"==typeof n)return u=!0,e.complete();if(n.tag){if(u)return;return e.next(n[0]),r(0)}r=n=n[0],n(0)})),{unsubscribe:function(){if(!u)return u=!0,r(1)}}}};return e[j]=function(n){return e},e},exports.toPromise=function(n){return new Promise((function(t,e){S(1)(n)((function(n){"number"!=typeof n&&(n.tag?t(n[0]):n[0](0))}))}))};
{
"name": "wonka",
"description": "A fast push & pull stream library for Reason/OCaml, Flow, and TypeScript",
"version": "4.0.12",
"version": "4.0.13",
"author": "Phil Pluckthun <phil@kitten.sh>",

@@ -6,0 +6,0 @@ "source": "./src/Wonka.ts",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc