flinker 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/RX.js +19 -27
- package/dist/esm/RXOperator.js +232 -316
- package/dist/esm/RXPipeline.js +11 -17
- package/dist/esm/RXPublisher.js +319 -471
- package/dist/esm/RXSubscriber.js +25 -35
- package/dist/esm/Utils.js +50 -93
- package/dist/esm/index.js +6 -6
- package/dist/{RX.d.ts → types/RX.d.ts} +2 -2
- package/dist/{RXOperator.d.ts → types/RXOperator.d.ts} +3 -3
- package/dist/{RXPipeline.d.ts → types/RXPipeline.d.ts} +3 -3
- package/dist/{RXPublisher.d.ts → types/RXPublisher.d.ts} +1 -1
- package/dist/{RXSubscriber.d.ts → types/RXSubscriber.d.ts} +2 -2
- package/dist/{index.d.ts → types/index.d.ts} +6 -6
- package/package.json +3 -3
- package/dist/cjs/RX.js +0 -41
- package/dist/cjs/RXOperator.js +0 -484
- package/dist/cjs/RXPipeline.js +0 -27
- package/dist/cjs/RXPublisher.js +0 -725
- package/dist/cjs/RXSubscriber.js +0 -77
- package/dist/cjs/Utils.js +0 -257
- package/dist/cjs/index.js +0 -43
- /package/dist/{Utils.d.ts → types/Utils.d.ts} +0 -0
package/dist/cjs/RXSubscriber.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RXSubscriber = void 0;
|
|
4
|
-
var RXSubscriber = /** @class */ (function () {
|
|
5
|
-
function RXSubscriber(pipeline) {
|
|
6
|
-
this._isComplete = false;
|
|
7
|
-
this.isSubscribed = false;
|
|
8
|
-
this.pipeline = pipeline;
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(RXSubscriber.prototype, "isComplete", {
|
|
11
|
-
get: function () { return this._isComplete; },
|
|
12
|
-
enumerable: false,
|
|
13
|
-
configurable: true
|
|
14
|
-
});
|
|
15
|
-
RXSubscriber.prototype.send = function (value, broadcast) {
|
|
16
|
-
var _a;
|
|
17
|
-
if (!this._isComplete) {
|
|
18
|
-
(_a = this.onReceiveCallback) === null || _a === void 0 ? void 0 : _a.call(this, value);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
RXSubscriber.prototype.sendError = function (e, broadcast) {
|
|
22
|
-
var _a;
|
|
23
|
-
if (!this._isComplete) {
|
|
24
|
-
(_a = this.onErrorCallback) === null || _a === void 0 ? void 0 : _a.call(this, e);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
RXSubscriber.prototype.sendComplete = function (broadcast) {
|
|
28
|
-
var _a;
|
|
29
|
-
if (!this._isComplete) {
|
|
30
|
-
this._isComplete = true;
|
|
31
|
-
(_a = this.onCompleteCallback) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
32
|
-
this.unsubscribe();
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
RXSubscriber.prototype.onReceive = function (f) {
|
|
36
|
-
if (this.isComplete)
|
|
37
|
-
throw new Error('RXSubscriber is complete: It can update onReceiveCallback');
|
|
38
|
-
else if (this.isSubscribed)
|
|
39
|
-
throw new Error('RXSubscriber can not update onReceiveCallback: subscribe() is already evoked');
|
|
40
|
-
this.onReceiveCallback = f;
|
|
41
|
-
return this;
|
|
42
|
-
};
|
|
43
|
-
RXSubscriber.prototype.onError = function (f) {
|
|
44
|
-
if (this.isComplete)
|
|
45
|
-
throw new Error('RXSubscriber is complete: It can not update onErrorCallback');
|
|
46
|
-
else if (this.isSubscribed)
|
|
47
|
-
throw new Error('RXSubscriber can not update onErrorCallback: subscribe() is already evoked');
|
|
48
|
-
this.onErrorCallback = f;
|
|
49
|
-
return this;
|
|
50
|
-
};
|
|
51
|
-
RXSubscriber.prototype.onComplete = function (f) {
|
|
52
|
-
if (this.isComplete)
|
|
53
|
-
throw new Error('RXSubscriber is complete: It can not update onCompleteCallback');
|
|
54
|
-
else if (this.isSubscribed)
|
|
55
|
-
throw new Error('RXSubscriber can not update onCompleteCallback: subscribe() is already evoked');
|
|
56
|
-
this.onCompleteCallback = f;
|
|
57
|
-
return this;
|
|
58
|
-
};
|
|
59
|
-
RXSubscriber.prototype.subscribe = function () {
|
|
60
|
-
var _this = this;
|
|
61
|
-
if (this.isSubscribed)
|
|
62
|
-
throw new Error('RXPipeline has already a subscriber');
|
|
63
|
-
this.isSubscribed = true;
|
|
64
|
-
this.pipeline.dispatcher.didSubscribe(this.pipeline);
|
|
65
|
-
return function () {
|
|
66
|
-
_this.unsubscribe();
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
RXSubscriber.prototype.unsubscribe = function () {
|
|
70
|
-
this.onReceiveCallback = undefined;
|
|
71
|
-
this.onErrorCallback = undefined;
|
|
72
|
-
this.onCompleteCallback = undefined;
|
|
73
|
-
this.pipeline.dispatcher.didUnsubscribe(this.pipeline);
|
|
74
|
-
};
|
|
75
|
-
return RXSubscriber;
|
|
76
|
-
}());
|
|
77
|
-
exports.RXSubscriber = RXSubscriber;
|
package/dist/cjs/Utils.js
DELETED
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.MD5 = exports.asyncDelay = void 0;
|
|
40
|
-
var asyncDelay = function (time) { return __awaiter(void 0, void 0, void 0, function () {
|
|
41
|
-
var p;
|
|
42
|
-
return __generator(this, function (_a) {
|
|
43
|
-
switch (_a.label) {
|
|
44
|
-
case 0:
|
|
45
|
-
p = new Promise(function (resolve) {
|
|
46
|
-
setTimeout(function () {
|
|
47
|
-
resolve('done!');
|
|
48
|
-
}, time);
|
|
49
|
-
});
|
|
50
|
-
return [4 /*yield*/, p];
|
|
51
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}); };
|
|
55
|
-
exports.asyncDelay = asyncDelay;
|
|
56
|
-
var MD5 = function (string) {
|
|
57
|
-
function RotateLeft(lValue, iShiftBits) {
|
|
58
|
-
return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits));
|
|
59
|
-
}
|
|
60
|
-
function AddUnsigned(lX, lY) {
|
|
61
|
-
var lX4, lY4, lX8, lY8, lResult;
|
|
62
|
-
lX8 = (lX & 0x80000000);
|
|
63
|
-
lY8 = (lY & 0x80000000);
|
|
64
|
-
lX4 = (lX & 0x40000000);
|
|
65
|
-
lY4 = (lY & 0x40000000);
|
|
66
|
-
lResult = (lX & 0x3FFFFFFF) + (lY & 0x3FFFFFFF);
|
|
67
|
-
if (lX4 & lY4) {
|
|
68
|
-
return (lResult ^ 0x80000000 ^ lX8 ^ lY8);
|
|
69
|
-
}
|
|
70
|
-
if (lX4 | lY4) {
|
|
71
|
-
if (lResult & 0x40000000) {
|
|
72
|
-
return (lResult ^ 0xC0000000 ^ lX8 ^ lY8);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
return (lResult ^ 0x40000000 ^ lX8 ^ lY8);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
return (lResult ^ lX8 ^ lY8);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
function F(x, y, z) { return (x & y) | ((~x) & z); }
|
|
83
|
-
function G(x, y, z) { return (x & z) | (y & (~z)); }
|
|
84
|
-
function H(x, y, z) { return (x ^ y ^ z); }
|
|
85
|
-
function I(x, y, z) { return (y ^ (x | (~z))); }
|
|
86
|
-
function FF(a, b, c, d, x, s, ac) {
|
|
87
|
-
a = AddUnsigned(a, AddUnsigned(AddUnsigned(F(b, c, d), x), ac));
|
|
88
|
-
return AddUnsigned(RotateLeft(a, s), b);
|
|
89
|
-
}
|
|
90
|
-
function GG(a, b, c, d, x, s, ac) {
|
|
91
|
-
a = AddUnsigned(a, AddUnsigned(AddUnsigned(G(b, c, d), x), ac));
|
|
92
|
-
return AddUnsigned(RotateLeft(a, s), b);
|
|
93
|
-
}
|
|
94
|
-
function HH(a, b, c, d, x, s, ac) {
|
|
95
|
-
a = AddUnsigned(a, AddUnsigned(AddUnsigned(H(b, c, d), x), ac));
|
|
96
|
-
return AddUnsigned(RotateLeft(a, s), b);
|
|
97
|
-
}
|
|
98
|
-
function II(a, b, c, d, x, s, ac) {
|
|
99
|
-
a = AddUnsigned(a, AddUnsigned(AddUnsigned(I(b, c, d), x), ac));
|
|
100
|
-
return AddUnsigned(RotateLeft(a, s), b);
|
|
101
|
-
}
|
|
102
|
-
function ConvertToWordArray(string) {
|
|
103
|
-
var lWordCount;
|
|
104
|
-
var lMessageLength = string.length;
|
|
105
|
-
var lNumberOfWords_temp1 = lMessageLength + 8;
|
|
106
|
-
var lNumberOfWords_temp2 = (lNumberOfWords_temp1 - (lNumberOfWords_temp1 % 64)) / 64;
|
|
107
|
-
var lNumberOfWords = (lNumberOfWords_temp2 + 1) * 16;
|
|
108
|
-
var lWordArray = Array(lNumberOfWords - 1);
|
|
109
|
-
var lBytePosition = 0;
|
|
110
|
-
var lByteCount = 0;
|
|
111
|
-
while (lByteCount < lMessageLength) {
|
|
112
|
-
lWordCount = (lByteCount - (lByteCount % 4)) / 4;
|
|
113
|
-
lBytePosition = (lByteCount % 4) * 8;
|
|
114
|
-
lWordArray[lWordCount] = (lWordArray[lWordCount] | (string.charCodeAt(lByteCount) << lBytePosition));
|
|
115
|
-
lByteCount++;
|
|
116
|
-
}
|
|
117
|
-
lWordCount = (lByteCount - (lByteCount % 4)) / 4;
|
|
118
|
-
lBytePosition = (lByteCount % 4) * 8;
|
|
119
|
-
lWordArray[lWordCount] = lWordArray[lWordCount] | (0x80 << lBytePosition);
|
|
120
|
-
lWordArray[lNumberOfWords - 2] = lMessageLength << 3;
|
|
121
|
-
lWordArray[lNumberOfWords - 1] = lMessageLength >>> 29;
|
|
122
|
-
return lWordArray;
|
|
123
|
-
}
|
|
124
|
-
function WordToHex(lValue) {
|
|
125
|
-
var WordToHexValue = '';
|
|
126
|
-
var WordToHexValue_temp = '';
|
|
127
|
-
var lByte;
|
|
128
|
-
var lCount;
|
|
129
|
-
for (lCount = 0; lCount <= 3; lCount++) {
|
|
130
|
-
lByte = (lValue >>> (lCount * 8)) & 255;
|
|
131
|
-
WordToHexValue_temp = '0' + lByte.toString(16);
|
|
132
|
-
WordToHexValue = WordToHexValue + WordToHexValue_temp.substr(WordToHexValue_temp.length - 2, 2);
|
|
133
|
-
}
|
|
134
|
-
return WordToHexValue;
|
|
135
|
-
}
|
|
136
|
-
function Utf8Encode(string) {
|
|
137
|
-
string = string.replace(/\r\n/g, '\n');
|
|
138
|
-
var utftext = '';
|
|
139
|
-
for (var n = 0; n < string.length; n++) {
|
|
140
|
-
var c_1 = string.charCodeAt(n);
|
|
141
|
-
if (c_1 < 128) {
|
|
142
|
-
utftext += String.fromCharCode(c_1);
|
|
143
|
-
}
|
|
144
|
-
else if ((c_1 > 127) && (c_1 < 2048)) {
|
|
145
|
-
utftext += String.fromCharCode((c_1 >> 6) | 192);
|
|
146
|
-
utftext += String.fromCharCode((c_1 & 63) | 128);
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
utftext += String.fromCharCode((c_1 >> 12) | 224);
|
|
150
|
-
utftext += String.fromCharCode(((c_1 >> 6) & 63) | 128);
|
|
151
|
-
utftext += String.fromCharCode((c_1 & 63) | 128);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
return utftext;
|
|
155
|
-
}
|
|
156
|
-
var x = [];
|
|
157
|
-
var k, AA, BB, CC, DD, a, b, c, d;
|
|
158
|
-
var S11 = 7;
|
|
159
|
-
var S12 = 12;
|
|
160
|
-
var S13 = 17;
|
|
161
|
-
var S14 = 22;
|
|
162
|
-
var S21 = 5;
|
|
163
|
-
var S22 = 9;
|
|
164
|
-
var S23 = 14;
|
|
165
|
-
var S24 = 20;
|
|
166
|
-
var S31 = 4;
|
|
167
|
-
var S32 = 11;
|
|
168
|
-
var S33 = 16;
|
|
169
|
-
var S34 = 23;
|
|
170
|
-
var S41 = 6;
|
|
171
|
-
var S42 = 10;
|
|
172
|
-
var S43 = 15;
|
|
173
|
-
var S44 = 21;
|
|
174
|
-
string = Utf8Encode(string);
|
|
175
|
-
x = ConvertToWordArray(string);
|
|
176
|
-
a = 0x67452301;
|
|
177
|
-
b = 0xEFCDAB89;
|
|
178
|
-
c = 0x98BADCFE;
|
|
179
|
-
d = 0x10325476;
|
|
180
|
-
for (k = 0; k < x.length; k += 16) {
|
|
181
|
-
AA = a;
|
|
182
|
-
BB = b;
|
|
183
|
-
CC = c;
|
|
184
|
-
DD = d;
|
|
185
|
-
a = FF(a, b, c, d, x[k + 0], S11, 0xD76AA478);
|
|
186
|
-
d = FF(d, a, b, c, x[k + 1], S12, 0xE8C7B756);
|
|
187
|
-
c = FF(c, d, a, b, x[k + 2], S13, 0x242070DB);
|
|
188
|
-
b = FF(b, c, d, a, x[k + 3], S14, 0xC1BDCEEE);
|
|
189
|
-
a = FF(a, b, c, d, x[k + 4], S11, 0xF57C0FAF);
|
|
190
|
-
d = FF(d, a, b, c, x[k + 5], S12, 0x4787C62A);
|
|
191
|
-
c = FF(c, d, a, b, x[k + 6], S13, 0xA8304613);
|
|
192
|
-
b = FF(b, c, d, a, x[k + 7], S14, 0xFD469501);
|
|
193
|
-
a = FF(a, b, c, d, x[k + 8], S11, 0x698098D8);
|
|
194
|
-
d = FF(d, a, b, c, x[k + 9], S12, 0x8B44F7AF);
|
|
195
|
-
c = FF(c, d, a, b, x[k + 10], S13, 0xFFFF5BB1);
|
|
196
|
-
b = FF(b, c, d, a, x[k + 11], S14, 0x895CD7BE);
|
|
197
|
-
a = FF(a, b, c, d, x[k + 12], S11, 0x6B901122);
|
|
198
|
-
d = FF(d, a, b, c, x[k + 13], S12, 0xFD987193);
|
|
199
|
-
c = FF(c, d, a, b, x[k + 14], S13, 0xA679438E);
|
|
200
|
-
b = FF(b, c, d, a, x[k + 15], S14, 0x49B40821);
|
|
201
|
-
a = GG(a, b, c, d, x[k + 1], S21, 0xF61E2562);
|
|
202
|
-
d = GG(d, a, b, c, x[k + 6], S22, 0xC040B340);
|
|
203
|
-
c = GG(c, d, a, b, x[k + 11], S23, 0x265E5A51);
|
|
204
|
-
b = GG(b, c, d, a, x[k + 0], S24, 0xE9B6C7AA);
|
|
205
|
-
a = GG(a, b, c, d, x[k + 5], S21, 0xD62F105D);
|
|
206
|
-
d = GG(d, a, b, c, x[k + 10], S22, 0x2441453);
|
|
207
|
-
c = GG(c, d, a, b, x[k + 15], S23, 0xD8A1E681);
|
|
208
|
-
b = GG(b, c, d, a, x[k + 4], S24, 0xE7D3FBC8);
|
|
209
|
-
a = GG(a, b, c, d, x[k + 9], S21, 0x21E1CDE6);
|
|
210
|
-
d = GG(d, a, b, c, x[k + 14], S22, 0xC33707D6);
|
|
211
|
-
c = GG(c, d, a, b, x[k + 3], S23, 0xF4D50D87);
|
|
212
|
-
b = GG(b, c, d, a, x[k + 8], S24, 0x455A14ED);
|
|
213
|
-
a = GG(a, b, c, d, x[k + 13], S21, 0xA9E3E905);
|
|
214
|
-
d = GG(d, a, b, c, x[k + 2], S22, 0xFCEFA3F8);
|
|
215
|
-
c = GG(c, d, a, b, x[k + 7], S23, 0x676F02D9);
|
|
216
|
-
b = GG(b, c, d, a, x[k + 12], S24, 0x8D2A4C8A);
|
|
217
|
-
a = HH(a, b, c, d, x[k + 5], S31, 0xFFFA3942);
|
|
218
|
-
d = HH(d, a, b, c, x[k + 8], S32, 0x8771F681);
|
|
219
|
-
c = HH(c, d, a, b, x[k + 11], S33, 0x6D9D6122);
|
|
220
|
-
b = HH(b, c, d, a, x[k + 14], S34, 0xFDE5380C);
|
|
221
|
-
a = HH(a, b, c, d, x[k + 1], S31, 0xA4BEEA44);
|
|
222
|
-
d = HH(d, a, b, c, x[k + 4], S32, 0x4BDECFA9);
|
|
223
|
-
c = HH(c, d, a, b, x[k + 7], S33, 0xF6BB4B60);
|
|
224
|
-
b = HH(b, c, d, a, x[k + 10], S34, 0xBEBFBC70);
|
|
225
|
-
a = HH(a, b, c, d, x[k + 13], S31, 0x289B7EC6);
|
|
226
|
-
d = HH(d, a, b, c, x[k + 0], S32, 0xEAA127FA);
|
|
227
|
-
c = HH(c, d, a, b, x[k + 3], S33, 0xD4EF3085);
|
|
228
|
-
b = HH(b, c, d, a, x[k + 6], S34, 0x4881D05);
|
|
229
|
-
a = HH(a, b, c, d, x[k + 9], S31, 0xD9D4D039);
|
|
230
|
-
d = HH(d, a, b, c, x[k + 12], S32, 0xE6DB99E5);
|
|
231
|
-
c = HH(c, d, a, b, x[k + 15], S33, 0x1FA27CF8);
|
|
232
|
-
b = HH(b, c, d, a, x[k + 2], S34, 0xC4AC5665);
|
|
233
|
-
a = II(a, b, c, d, x[k + 0], S41, 0xF4292244);
|
|
234
|
-
d = II(d, a, b, c, x[k + 7], S42, 0x432AFF97);
|
|
235
|
-
c = II(c, d, a, b, x[k + 14], S43, 0xAB9423A7);
|
|
236
|
-
b = II(b, c, d, a, x[k + 5], S44, 0xFC93A039);
|
|
237
|
-
a = II(a, b, c, d, x[k + 12], S41, 0x655B59C3);
|
|
238
|
-
d = II(d, a, b, c, x[k + 3], S42, 0x8F0CCC92);
|
|
239
|
-
c = II(c, d, a, b, x[k + 10], S43, 0xFFEFF47D);
|
|
240
|
-
b = II(b, c, d, a, x[k + 1], S44, 0x85845DD1);
|
|
241
|
-
a = II(a, b, c, d, x[k + 8], S41, 0x6FA87E4F);
|
|
242
|
-
d = II(d, a, b, c, x[k + 15], S42, 0xFE2CE6E0);
|
|
243
|
-
c = II(c, d, a, b, x[k + 6], S43, 0xA3014314);
|
|
244
|
-
b = II(b, c, d, a, x[k + 13], S44, 0x4E0811A1);
|
|
245
|
-
a = II(a, b, c, d, x[k + 4], S41, 0xF7537E82);
|
|
246
|
-
d = II(d, a, b, c, x[k + 11], S42, 0xBD3AF235);
|
|
247
|
-
c = II(c, d, a, b, x[k + 2], S43, 0x2AD7D2BB);
|
|
248
|
-
b = II(b, c, d, a, x[k + 9], S44, 0xEB86D391);
|
|
249
|
-
a = AddUnsigned(a, AA);
|
|
250
|
-
b = AddUnsigned(b, BB);
|
|
251
|
-
c = AddUnsigned(c, CC);
|
|
252
|
-
d = AddUnsigned(d, DD);
|
|
253
|
-
}
|
|
254
|
-
var temp = WordToHex(a) + WordToHex(b) + WordToHex(c) + WordToHex(d);
|
|
255
|
-
return temp.toLowerCase();
|
|
256
|
-
};
|
|
257
|
-
exports.MD5 = MD5;
|
package/dist/cjs/index.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.asyncDelay = exports.MD5 = exports.RXSubscriber = exports.RXPipeline = exports.RXReplaceError = exports.RXDebounce = exports.RXRemoveDuplicates = exports.RXSkipNullable = exports.RXSkipFirst = exports.RXSpread = exports.RXFilter = exports.RXParallel = exports.RXSequent = exports.RXForEach = exports.RXFlatMap = exports.RXMap = exports.RXOperator = exports.RXQueue = exports.RXQueueOperator = exports.RXObservableValue = exports.RXObservableEntity = exports.RXWaitUntilComplete = exports.RXFrom = exports.RXCombine = exports.RXOperation = exports.RXBuffer = exports.RXSubject = exports.RXEmitter = exports.RXDelayedError = exports.RXDelayedComplete = exports.RXJustError = exports.RXJustComplete = exports.RXPublisher = exports.RX = void 0;
|
|
4
|
-
var RX_js_1 = require("./RX.js");
|
|
5
|
-
Object.defineProperty(exports, "RX", { enumerable: true, get: function () { return RX_js_1.RX; } });
|
|
6
|
-
var RXPublisher_js_1 = require("./RXPublisher.js");
|
|
7
|
-
Object.defineProperty(exports, "RXPublisher", { enumerable: true, get: function () { return RXPublisher_js_1.RXPublisher; } });
|
|
8
|
-
Object.defineProperty(exports, "RXJustComplete", { enumerable: true, get: function () { return RXPublisher_js_1.RXJustComplete; } });
|
|
9
|
-
Object.defineProperty(exports, "RXJustError", { enumerable: true, get: function () { return RXPublisher_js_1.RXJustError; } });
|
|
10
|
-
Object.defineProperty(exports, "RXDelayedComplete", { enumerable: true, get: function () { return RXPublisher_js_1.RXDelayedComplete; } });
|
|
11
|
-
Object.defineProperty(exports, "RXDelayedError", { enumerable: true, get: function () { return RXPublisher_js_1.RXDelayedError; } });
|
|
12
|
-
Object.defineProperty(exports, "RXEmitter", { enumerable: true, get: function () { return RXPublisher_js_1.RXEmitter; } });
|
|
13
|
-
Object.defineProperty(exports, "RXSubject", { enumerable: true, get: function () { return RXPublisher_js_1.RXSubject; } });
|
|
14
|
-
Object.defineProperty(exports, "RXBuffer", { enumerable: true, get: function () { return RXPublisher_js_1.RXBuffer; } });
|
|
15
|
-
Object.defineProperty(exports, "RXOperation", { enumerable: true, get: function () { return RXPublisher_js_1.RXOperation; } });
|
|
16
|
-
Object.defineProperty(exports, "RXCombine", { enumerable: true, get: function () { return RXPublisher_js_1.RXCombine; } });
|
|
17
|
-
Object.defineProperty(exports, "RXFrom", { enumerable: true, get: function () { return RXPublisher_js_1.RXFrom; } });
|
|
18
|
-
Object.defineProperty(exports, "RXWaitUntilComplete", { enumerable: true, get: function () { return RXPublisher_js_1.RXWaitUntilComplete; } });
|
|
19
|
-
Object.defineProperty(exports, "RXObservableEntity", { enumerable: true, get: function () { return RXPublisher_js_1.RXObservableEntity; } });
|
|
20
|
-
Object.defineProperty(exports, "RXObservableValue", { enumerable: true, get: function () { return RXPublisher_js_1.RXObservableValue; } });
|
|
21
|
-
Object.defineProperty(exports, "RXQueueOperator", { enumerable: true, get: function () { return RXPublisher_js_1.RXQueueOperator; } });
|
|
22
|
-
Object.defineProperty(exports, "RXQueue", { enumerable: true, get: function () { return RXPublisher_js_1.RXQueue; } });
|
|
23
|
-
var RXOperator_js_1 = require("./RXOperator.js");
|
|
24
|
-
Object.defineProperty(exports, "RXOperator", { enumerable: true, get: function () { return RXOperator_js_1.RXOperator; } });
|
|
25
|
-
Object.defineProperty(exports, "RXMap", { enumerable: true, get: function () { return RXOperator_js_1.RXMap; } });
|
|
26
|
-
Object.defineProperty(exports, "RXFlatMap", { enumerable: true, get: function () { return RXOperator_js_1.RXFlatMap; } });
|
|
27
|
-
Object.defineProperty(exports, "RXForEach", { enumerable: true, get: function () { return RXOperator_js_1.RXForEach; } });
|
|
28
|
-
Object.defineProperty(exports, "RXSequent", { enumerable: true, get: function () { return RXOperator_js_1.RXSequent; } });
|
|
29
|
-
Object.defineProperty(exports, "RXParallel", { enumerable: true, get: function () { return RXOperator_js_1.RXParallel; } });
|
|
30
|
-
Object.defineProperty(exports, "RXFilter", { enumerable: true, get: function () { return RXOperator_js_1.RXFilter; } });
|
|
31
|
-
Object.defineProperty(exports, "RXSpread", { enumerable: true, get: function () { return RXOperator_js_1.RXSpread; } });
|
|
32
|
-
Object.defineProperty(exports, "RXSkipFirst", { enumerable: true, get: function () { return RXOperator_js_1.RXSkipFirst; } });
|
|
33
|
-
Object.defineProperty(exports, "RXSkipNullable", { enumerable: true, get: function () { return RXOperator_js_1.RXSkipNullable; } });
|
|
34
|
-
Object.defineProperty(exports, "RXRemoveDuplicates", { enumerable: true, get: function () { return RXOperator_js_1.RXRemoveDuplicates; } });
|
|
35
|
-
Object.defineProperty(exports, "RXDebounce", { enumerable: true, get: function () { return RXOperator_js_1.RXDebounce; } });
|
|
36
|
-
Object.defineProperty(exports, "RXReplaceError", { enumerable: true, get: function () { return RXOperator_js_1.RXReplaceError; } });
|
|
37
|
-
var RXPipeline_js_1 = require("./RXPipeline.js");
|
|
38
|
-
Object.defineProperty(exports, "RXPipeline", { enumerable: true, get: function () { return RXPipeline_js_1.RXPipeline; } });
|
|
39
|
-
var RXSubscriber_js_1 = require("./RXSubscriber.js");
|
|
40
|
-
Object.defineProperty(exports, "RXSubscriber", { enumerable: true, get: function () { return RXSubscriber_js_1.RXSubscriber; } });
|
|
41
|
-
var Utils_js_1 = require("./Utils.js");
|
|
42
|
-
Object.defineProperty(exports, "MD5", { enumerable: true, get: function () { return Utils_js_1.MD5; } });
|
|
43
|
-
Object.defineProperty(exports, "asyncDelay", { enumerable: true, get: function () { return Utils_js_1.asyncDelay; } });
|
|
File without changes
|