zigap-utils 0.0.461 → 0.0.462

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/index.es2.js DELETED
@@ -1,5025 +0,0 @@
1
- "use client";
2
- var L = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
- function ur(S) {
4
- return S && S.__esModule && Object.prototype.hasOwnProperty.call(S, "default") ? S.default : S;
5
- }
6
- function Br(S) {
7
- if (S.__esModule)
8
- return S;
9
- var P = S.default;
10
- if (typeof P == "function") {
11
- var d = function a() {
12
- return this instanceof a ? Reflect.construct(P, arguments, this.constructor) : P.apply(this, arguments);
13
- };
14
- d.prototype = P.prototype;
15
- } else
16
- d = {};
17
- return Object.defineProperty(d, "__esModule", { value: !0 }), Object.keys(S).forEach(function(a) {
18
- var p = Object.getOwnPropertyDescriptor(S, a);
19
- Object.defineProperty(d, a, p.get ? p : {
20
- enumerable: !0,
21
- get: function() {
22
- return S[a];
23
- }
24
- });
25
- }), d;
26
- }
27
- var Yx = { exports: {} };
28
- function dr(S) {
29
- throw new Error('Could not dynamically require "' + S + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
30
- }
31
- var F0 = { exports: {} };
32
- const hr = {}, lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33
- __proto__: null,
34
- default: hr
35
- }, Symbol.toStringTag, { value: "Module" })), Cr = /* @__PURE__ */ Br(lr);
36
- var hx;
37
- function O() {
38
- return hx || (hx = 1, function(S, P) {
39
- (function(d, a) {
40
- S.exports = a();
41
- })(L, function() {
42
- var d = d || function(a, p) {
43
- var D;
44
- if (typeof window < "u" && window.crypto && (D = window.crypto), typeof self < "u" && self.crypto && (D = self.crypto), typeof globalThis < "u" && globalThis.crypto && (D = globalThis.crypto), !D && typeof window < "u" && window.msCrypto && (D = window.msCrypto), !D && typeof L < "u" && L.crypto && (D = L.crypto), !D && typeof dr == "function")
45
- try {
46
- D = Cr;
47
- } catch {
48
- }
49
- var w = function() {
50
- if (D) {
51
- if (typeof D.getRandomValues == "function")
52
- try {
53
- return D.getRandomValues(new Uint32Array(1))[0];
54
- } catch {
55
- }
56
- if (typeof D.randomBytes == "function")
57
- try {
58
- return D.randomBytes(4).readInt32LE();
59
- } catch {
60
- }
61
- }
62
- throw new Error("Native crypto module could not be used to get secure random number.");
63
- }, u = Object.create || /* @__PURE__ */ function() {
64
- function t() {
65
- }
66
- return function(n) {
67
- var i;
68
- return t.prototype = n, i = new t(), t.prototype = null, i;
69
- };
70
- }(), h = {}, x = h.lib = {}, e = x.Base = /* @__PURE__ */ function() {
71
- return {
72
- /**
73
- * Creates a new object that inherits from this object.
74
- *
75
- * @param {Object} overrides Properties to copy into the new object.
76
- *
77
- * @return {Object} The new object.
78
- *
79
- * @static
80
- *
81
- * @example
82
- *
83
- * var MyType = CryptoJS.lib.Base.extend({
84
- * field: 'value',
85
- *
86
- * method: function () {
87
- * }
88
- * });
89
- */
90
- extend: function(t) {
91
- var n = u(this);
92
- return t && n.mixIn(t), (!n.hasOwnProperty("init") || this.init === n.init) && (n.init = function() {
93
- n.$super.init.apply(this, arguments);
94
- }), n.init.prototype = n, n.$super = this, n;
95
- },
96
- /**
97
- * Extends this object and runs the init method.
98
- * Arguments to create() will be passed to init().
99
- *
100
- * @return {Object} The new object.
101
- *
102
- * @static
103
- *
104
- * @example
105
- *
106
- * var instance = MyType.create();
107
- */
108
- create: function() {
109
- var t = this.extend();
110
- return t.init.apply(t, arguments), t;
111
- },
112
- /**
113
- * Initializes a newly created object.
114
- * Override this method to add some logic when your objects are created.
115
- *
116
- * @example
117
- *
118
- * var MyType = CryptoJS.lib.Base.extend({
119
- * init: function () {
120
- * // ...
121
- * }
122
- * });
123
- */
124
- init: function() {
125
- },
126
- /**
127
- * Copies properties into this object.
128
- *
129
- * @param {Object} properties The properties to mix in.
130
- *
131
- * @example
132
- *
133
- * MyType.mixIn({
134
- * field: 'value'
135
- * });
136
- */
137
- mixIn: function(t) {
138
- for (var n in t)
139
- t.hasOwnProperty(n) && (this[n] = t[n]);
140
- t.hasOwnProperty("toString") && (this.toString = t.toString);
141
- },
142
- /**
143
- * Creates a copy of this object.
144
- *
145
- * @return {Object} The clone.
146
- *
147
- * @example
148
- *
149
- * var clone = instance.clone();
150
- */
151
- clone: function() {
152
- return this.init.prototype.extend(this);
153
- }
154
- };
155
- }(), B = x.WordArray = e.extend({
156
- /**
157
- * Initializes a newly created word array.
158
- *
159
- * @param {Array} words (Optional) An array of 32-bit words.
160
- * @param {number} sigBytes (Optional) The number of significant bytes in the words.
161
- *
162
- * @example
163
- *
164
- * var wordArray = CryptoJS.lib.WordArray.create();
165
- * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
166
- * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
167
- */
168
- init: function(t, n) {
169
- t = this.words = t || [], n != p ? this.sigBytes = n : this.sigBytes = t.length * 4;
170
- },
171
- /**
172
- * Converts this word array to a string.
173
- *
174
- * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
175
- *
176
- * @return {string} The stringified word array.
177
- *
178
- * @example
179
- *
180
- * var string = wordArray + '';
181
- * var string = wordArray.toString();
182
- * var string = wordArray.toString(CryptoJS.enc.Utf8);
183
- */
184
- toString: function(t) {
185
- return (t || s).stringify(this);
186
- },
187
- /**
188
- * Concatenates a word array to this word array.
189
- *
190
- * @param {WordArray} wordArray The word array to append.
191
- *
192
- * @return {WordArray} This word array.
193
- *
194
- * @example
195
- *
196
- * wordArray1.concat(wordArray2);
197
- */
198
- concat: function(t) {
199
- var n = this.words, i = t.words, E = this.sigBytes, C = t.sigBytes;
200
- if (this.clamp(), E % 4)
201
- for (var A = 0; A < C; A++) {
202
- var _ = i[A >>> 2] >>> 24 - A % 4 * 8 & 255;
203
- n[E + A >>> 2] |= _ << 24 - (E + A) % 4 * 8;
204
- }
205
- else
206
- for (var R = 0; R < C; R += 4)
207
- n[E + R >>> 2] = i[R >>> 2];
208
- return this.sigBytes += C, this;
209
- },
210
- /**
211
- * Removes insignificant bits.
212
- *
213
- * @example
214
- *
215
- * wordArray.clamp();
216
- */
217
- clamp: function() {
218
- var t = this.words, n = this.sigBytes;
219
- t[n >>> 2] &= 4294967295 << 32 - n % 4 * 8, t.length = a.ceil(n / 4);
220
- },
221
- /**
222
- * Creates a copy of this word array.
223
- *
224
- * @return {WordArray} The clone.
225
- *
226
- * @example
227
- *
228
- * var clone = wordArray.clone();
229
- */
230
- clone: function() {
231
- var t = e.clone.call(this);
232
- return t.words = this.words.slice(0), t;
233
- },
234
- /**
235
- * Creates a word array filled with random bytes.
236
- *
237
- * @param {number} nBytes The number of random bytes to generate.
238
- *
239
- * @return {WordArray} The random word array.
240
- *
241
- * @static
242
- *
243
- * @example
244
- *
245
- * var wordArray = CryptoJS.lib.WordArray.random(16);
246
- */
247
- random: function(t) {
248
- for (var n = [], i = 0; i < t; i += 4)
249
- n.push(w());
250
- return new B.init(n, t);
251
- }
252
- }), r = h.enc = {}, s = r.Hex = {
253
- /**
254
- * Converts a word array to a hex string.
255
- *
256
- * @param {WordArray} wordArray The word array.
257
- *
258
- * @return {string} The hex string.
259
- *
260
- * @static
261
- *
262
- * @example
263
- *
264
- * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
265
- */
266
- stringify: function(t) {
267
- for (var n = t.words, i = t.sigBytes, E = [], C = 0; C < i; C++) {
268
- var A = n[C >>> 2] >>> 24 - C % 4 * 8 & 255;
269
- E.push((A >>> 4).toString(16)), E.push((A & 15).toString(16));
270
- }
271
- return E.join("");
272
- },
273
- /**
274
- * Converts a hex string to a word array.
275
- *
276
- * @param {string} hexStr The hex string.
277
- *
278
- * @return {WordArray} The word array.
279
- *
280
- * @static
281
- *
282
- * @example
283
- *
284
- * var wordArray = CryptoJS.enc.Hex.parse(hexString);
285
- */
286
- parse: function(t) {
287
- for (var n = t.length, i = [], E = 0; E < n; E += 2)
288
- i[E >>> 3] |= parseInt(t.substr(E, 2), 16) << 24 - E % 8 * 4;
289
- return new B.init(i, n / 2);
290
- }
291
- }, o = r.Latin1 = {
292
- /**
293
- * Converts a word array to a Latin1 string.
294
- *
295
- * @param {WordArray} wordArray The word array.
296
- *
297
- * @return {string} The Latin1 string.
298
- *
299
- * @static
300
- *
301
- * @example
302
- *
303
- * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
304
- */
305
- stringify: function(t) {
306
- for (var n = t.words, i = t.sigBytes, E = [], C = 0; C < i; C++) {
307
- var A = n[C >>> 2] >>> 24 - C % 4 * 8 & 255;
308
- E.push(String.fromCharCode(A));
309
- }
310
- return E.join("");
311
- },
312
- /**
313
- * Converts a Latin1 string to a word array.
314
- *
315
- * @param {string} latin1Str The Latin1 string.
316
- *
317
- * @return {WordArray} The word array.
318
- *
319
- * @static
320
- *
321
- * @example
322
- *
323
- * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
324
- */
325
- parse: function(t) {
326
- for (var n = t.length, i = [], E = 0; E < n; E++)
327
- i[E >>> 2] |= (t.charCodeAt(E) & 255) << 24 - E % 4 * 8;
328
- return new B.init(i, n);
329
- }
330
- }, c = r.Utf8 = {
331
- /**
332
- * Converts a word array to a UTF-8 string.
333
- *
334
- * @param {WordArray} wordArray The word array.
335
- *
336
- * @return {string} The UTF-8 string.
337
- *
338
- * @static
339
- *
340
- * @example
341
- *
342
- * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
343
- */
344
- stringify: function(t) {
345
- try {
346
- return decodeURIComponent(escape(o.stringify(t)));
347
- } catch {
348
- throw new Error("Malformed UTF-8 data");
349
- }
350
- },
351
- /**
352
- * Converts a UTF-8 string to a word array.
353
- *
354
- * @param {string} utf8Str The UTF-8 string.
355
- *
356
- * @return {WordArray} The word array.
357
- *
358
- * @static
359
- *
360
- * @example
361
- *
362
- * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
363
- */
364
- parse: function(t) {
365
- return o.parse(unescape(encodeURIComponent(t)));
366
- }
367
- }, f = x.BufferedBlockAlgorithm = e.extend({
368
- /**
369
- * Resets this block algorithm's data buffer to its initial state.
370
- *
371
- * @example
372
- *
373
- * bufferedBlockAlgorithm.reset();
374
- */
375
- reset: function() {
376
- this._data = new B.init(), this._nDataBytes = 0;
377
- },
378
- /**
379
- * Adds new data to this block algorithm's buffer.
380
- *
381
- * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
382
- *
383
- * @example
384
- *
385
- * bufferedBlockAlgorithm._append('data');
386
- * bufferedBlockAlgorithm._append(wordArray);
387
- */
388
- _append: function(t) {
389
- typeof t == "string" && (t = c.parse(t)), this._data.concat(t), this._nDataBytes += t.sigBytes;
390
- },
391
- /**
392
- * Processes available data blocks.
393
- *
394
- * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
395
- *
396
- * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
397
- *
398
- * @return {WordArray} The processed data.
399
- *
400
- * @example
401
- *
402
- * var processedData = bufferedBlockAlgorithm._process();
403
- * var processedData = bufferedBlockAlgorithm._process(!!'flush');
404
- */
405
- _process: function(t) {
406
- var n, i = this._data, E = i.words, C = i.sigBytes, A = this.blockSize, _ = A * 4, R = C / _;
407
- t ? R = a.ceil(R) : R = a.max((R | 0) - this._minBufferSize, 0);
408
- var v = R * A, F = a.min(v * 4, C);
409
- if (v) {
410
- for (var y = 0; y < v; y += A)
411
- this._doProcessBlock(E, y);
412
- n = E.splice(0, v), i.sigBytes -= F;
413
- }
414
- return new B.init(n, F);
415
- },
416
- /**
417
- * Creates a copy of this object.
418
- *
419
- * @return {Object} The clone.
420
- *
421
- * @example
422
- *
423
- * var clone = bufferedBlockAlgorithm.clone();
424
- */
425
- clone: function() {
426
- var t = e.clone.call(this);
427
- return t._data = this._data.clone(), t;
428
- },
429
- _minBufferSize: 0
430
- });
431
- x.Hasher = f.extend({
432
- /**
433
- * Configuration options.
434
- */
435
- cfg: e.extend(),
436
- /**
437
- * Initializes a newly created hasher.
438
- *
439
- * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
440
- *
441
- * @example
442
- *
443
- * var hasher = CryptoJS.algo.SHA256.create();
444
- */
445
- init: function(t) {
446
- this.cfg = this.cfg.extend(t), this.reset();
447
- },
448
- /**
449
- * Resets this hasher to its initial state.
450
- *
451
- * @example
452
- *
453
- * hasher.reset();
454
- */
455
- reset: function() {
456
- f.reset.call(this), this._doReset();
457
- },
458
- /**
459
- * Updates this hasher with a message.
460
- *
461
- * @param {WordArray|string} messageUpdate The message to append.
462
- *
463
- * @return {Hasher} This hasher.
464
- *
465
- * @example
466
- *
467
- * hasher.update('message');
468
- * hasher.update(wordArray);
469
- */
470
- update: function(t) {
471
- return this._append(t), this._process(), this;
472
- },
473
- /**
474
- * Finalizes the hash computation.
475
- * Note that the finalize operation is effectively a destructive, read-once operation.
476
- *
477
- * @param {WordArray|string} messageUpdate (Optional) A final message update.
478
- *
479
- * @return {WordArray} The hash.
480
- *
481
- * @example
482
- *
483
- * var hash = hasher.finalize();
484
- * var hash = hasher.finalize('message');
485
- * var hash = hasher.finalize(wordArray);
486
- */
487
- finalize: function(t) {
488
- t && this._append(t);
489
- var n = this._doFinalize();
490
- return n;
491
- },
492
- blockSize: 16,
493
- /**
494
- * Creates a shortcut function to a hasher's object interface.
495
- *
496
- * @param {Hasher} hasher The hasher to create a helper for.
497
- *
498
- * @return {Function} The shortcut function.
499
- *
500
- * @static
501
- *
502
- * @example
503
- *
504
- * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
505
- */
506
- _createHelper: function(t) {
507
- return function(n, i) {
508
- return new t.init(i).finalize(n);
509
- };
510
- },
511
- /**
512
- * Creates a shortcut function to the HMAC's object interface.
513
- *
514
- * @param {Hasher} hasher The hasher to use in this HMAC helper.
515
- *
516
- * @return {Function} The shortcut function.
517
- *
518
- * @static
519
- *
520
- * @example
521
- *
522
- * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
523
- */
524
- _createHmacHelper: function(t) {
525
- return function(n, i) {
526
- return new l.HMAC.init(t, i).finalize(n);
527
- };
528
- }
529
- });
530
- var l = h.algo = {};
531
- return h;
532
- }(Math);
533
- return d;
534
- });
535
- }(F0)), F0.exports;
536
- }
537
- var D0 = { exports: {} }, lx;
538
- function C0() {
539
- return lx || (lx = 1, function(S, P) {
540
- (function(d, a) {
541
- S.exports = a(O());
542
- })(L, function(d) {
543
- return function(a) {
544
- var p = d, D = p.lib, w = D.Base, u = D.WordArray, h = p.x64 = {};
545
- h.Word = w.extend({
546
- /**
547
- * Initializes a newly created 64-bit word.
548
- *
549
- * @param {number} high The high 32 bits.
550
- * @param {number} low The low 32 bits.
551
- *
552
- * @example
553
- *
554
- * var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
555
- */
556
- init: function(x, e) {
557
- this.high = x, this.low = e;
558
- }
559
- /**
560
- * Bitwise NOTs this word.
561
- *
562
- * @return {X64Word} A new x64-Word object after negating.
563
- *
564
- * @example
565
- *
566
- * var negated = x64Word.not();
567
- */
568
- // not: function () {
569
- // var high = ~this.high;
570
- // var low = ~this.low;
571
- // return X64Word.create(high, low);
572
- // },
573
- /**
574
- * Bitwise ANDs this word with the passed word.
575
- *
576
- * @param {X64Word} word The x64-Word to AND with this word.
577
- *
578
- * @return {X64Word} A new x64-Word object after ANDing.
579
- *
580
- * @example
581
- *
582
- * var anded = x64Word.and(anotherX64Word);
583
- */
584
- // and: function (word) {
585
- // var high = this.high & word.high;
586
- // var low = this.low & word.low;
587
- // return X64Word.create(high, low);
588
- // },
589
- /**
590
- * Bitwise ORs this word with the passed word.
591
- *
592
- * @param {X64Word} word The x64-Word to OR with this word.
593
- *
594
- * @return {X64Word} A new x64-Word object after ORing.
595
- *
596
- * @example
597
- *
598
- * var ored = x64Word.or(anotherX64Word);
599
- */
600
- // or: function (word) {
601
- // var high = this.high | word.high;
602
- // var low = this.low | word.low;
603
- // return X64Word.create(high, low);
604
- // },
605
- /**
606
- * Bitwise XORs this word with the passed word.
607
- *
608
- * @param {X64Word} word The x64-Word to XOR with this word.
609
- *
610
- * @return {X64Word} A new x64-Word object after XORing.
611
- *
612
- * @example
613
- *
614
- * var xored = x64Word.xor(anotherX64Word);
615
- */
616
- // xor: function (word) {
617
- // var high = this.high ^ word.high;
618
- // var low = this.low ^ word.low;
619
- // return X64Word.create(high, low);
620
- // },
621
- /**
622
- * Shifts this word n bits to the left.
623
- *
624
- * @param {number} n The number of bits to shift.
625
- *
626
- * @return {X64Word} A new x64-Word object after shifting.
627
- *
628
- * @example
629
- *
630
- * var shifted = x64Word.shiftL(25);
631
- */
632
- // shiftL: function (n) {
633
- // if (n < 32) {
634
- // var high = (this.high << n) | (this.low >>> (32 - n));
635
- // var low = this.low << n;
636
- // } else {
637
- // var high = this.low << (n - 32);
638
- // var low = 0;
639
- // }
640
- // return X64Word.create(high, low);
641
- // },
642
- /**
643
- * Shifts this word n bits to the right.
644
- *
645
- * @param {number} n The number of bits to shift.
646
- *
647
- * @return {X64Word} A new x64-Word object after shifting.
648
- *
649
- * @example
650
- *
651
- * var shifted = x64Word.shiftR(7);
652
- */
653
- // shiftR: function (n) {
654
- // if (n < 32) {
655
- // var low = (this.low >>> n) | (this.high << (32 - n));
656
- // var high = this.high >>> n;
657
- // } else {
658
- // var low = this.high >>> (n - 32);
659
- // var high = 0;
660
- // }
661
- // return X64Word.create(high, low);
662
- // },
663
- /**
664
- * Rotates this word n bits to the left.
665
- *
666
- * @param {number} n The number of bits to rotate.
667
- *
668
- * @return {X64Word} A new x64-Word object after rotating.
669
- *
670
- * @example
671
- *
672
- * var rotated = x64Word.rotL(25);
673
- */
674
- // rotL: function (n) {
675
- // return this.shiftL(n).or(this.shiftR(64 - n));
676
- // },
677
- /**
678
- * Rotates this word n bits to the right.
679
- *
680
- * @param {number} n The number of bits to rotate.
681
- *
682
- * @return {X64Word} A new x64-Word object after rotating.
683
- *
684
- * @example
685
- *
686
- * var rotated = x64Word.rotR(7);
687
- */
688
- // rotR: function (n) {
689
- // return this.shiftR(n).or(this.shiftL(64 - n));
690
- // },
691
- /**
692
- * Adds this word with the passed word.
693
- *
694
- * @param {X64Word} word The x64-Word to add with this word.
695
- *
696
- * @return {X64Word} A new x64-Word object after adding.
697
- *
698
- * @example
699
- *
700
- * var added = x64Word.add(anotherX64Word);
701
- */
702
- // add: function (word) {
703
- // var low = (this.low + word.low) | 0;
704
- // var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
705
- // var high = (this.high + word.high + carry) | 0;
706
- // return X64Word.create(high, low);
707
- // }
708
- }), h.WordArray = w.extend({
709
- /**
710
- * Initializes a newly created word array.
711
- *
712
- * @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
713
- * @param {number} sigBytes (Optional) The number of significant bytes in the words.
714
- *
715
- * @example
716
- *
717
- * var wordArray = CryptoJS.x64.WordArray.create();
718
- *
719
- * var wordArray = CryptoJS.x64.WordArray.create([
720
- * CryptoJS.x64.Word.create(0x00010203, 0x04050607),
721
- * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
722
- * ]);
723
- *
724
- * var wordArray = CryptoJS.x64.WordArray.create([
725
- * CryptoJS.x64.Word.create(0x00010203, 0x04050607),
726
- * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
727
- * ], 10);
728
- */
729
- init: function(x, e) {
730
- x = this.words = x || [], e != a ? this.sigBytes = e : this.sigBytes = x.length * 8;
731
- },
732
- /**
733
- * Converts this 64-bit word array to a 32-bit word array.
734
- *
735
- * @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
736
- *
737
- * @example
738
- *
739
- * var x32WordArray = x64WordArray.toX32();
740
- */
741
- toX32: function() {
742
- for (var x = this.words, e = x.length, B = [], r = 0; r < e; r++) {
743
- var s = x[r];
744
- B.push(s.high), B.push(s.low);
745
- }
746
- return u.create(B, this.sigBytes);
747
- },
748
- /**
749
- * Creates a copy of this word array.
750
- *
751
- * @return {X64WordArray} The clone.
752
- *
753
- * @example
754
- *
755
- * var clone = x64WordArray.clone();
756
- */
757
- clone: function() {
758
- for (var x = w.clone.call(this), e = x.words = this.words.slice(0), B = e.length, r = 0; r < B; r++)
759
- e[r] = e[r].clone();
760
- return x;
761
- }
762
- });
763
- }(), d;
764
- });
765
- }(D0)), D0.exports;
766
- }
767
- var p0 = { exports: {} }, Cx;
768
- function Er() {
769
- return Cx || (Cx = 1, function(S, P) {
770
- (function(d, a) {
771
- S.exports = a(O());
772
- })(L, function(d) {
773
- return function() {
774
- if (typeof ArrayBuffer == "function") {
775
- var a = d, p = a.lib, D = p.WordArray, w = D.init, u = D.init = function(h) {
776
- if (h instanceof ArrayBuffer && (h = new Uint8Array(h)), (h instanceof Int8Array || typeof Uint8ClampedArray < "u" && h instanceof Uint8ClampedArray || h instanceof Int16Array || h instanceof Uint16Array || h instanceof Int32Array || h instanceof Uint32Array || h instanceof Float32Array || h instanceof Float64Array) && (h = new Uint8Array(h.buffer, h.byteOffset, h.byteLength)), h instanceof Uint8Array) {
777
- for (var x = h.byteLength, e = [], B = 0; B < x; B++)
778
- e[B >>> 2] |= h[B] << 24 - B % 4 * 8;
779
- w.call(this, e, x);
780
- } else
781
- w.apply(this, arguments);
782
- };
783
- u.prototype = D;
784
- }
785
- }(), d.lib.WordArray;
786
- });
787
- }(p0)), p0.exports;
788
- }
789
- var _0 = { exports: {} }, Ex;
790
- function Ar() {
791
- return Ex || (Ex = 1, function(S, P) {
792
- (function(d, a) {
793
- S.exports = a(O());
794
- })(L, function(d) {
795
- return function() {
796
- var a = d, p = a.lib, D = p.WordArray, w = a.enc;
797
- w.Utf16 = w.Utf16BE = {
798
- /**
799
- * Converts a word array to a UTF-16 BE string.
800
- *
801
- * @param {WordArray} wordArray The word array.
802
- *
803
- * @return {string} The UTF-16 BE string.
804
- *
805
- * @static
806
- *
807
- * @example
808
- *
809
- * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
810
- */
811
- stringify: function(h) {
812
- for (var x = h.words, e = h.sigBytes, B = [], r = 0; r < e; r += 2) {
813
- var s = x[r >>> 2] >>> 16 - r % 4 * 8 & 65535;
814
- B.push(String.fromCharCode(s));
815
- }
816
- return B.join("");
817
- },
818
- /**
819
- * Converts a UTF-16 BE string to a word array.
820
- *
821
- * @param {string} utf16Str The UTF-16 BE string.
822
- *
823
- * @return {WordArray} The word array.
824
- *
825
- * @static
826
- *
827
- * @example
828
- *
829
- * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
830
- */
831
- parse: function(h) {
832
- for (var x = h.length, e = [], B = 0; B < x; B++)
833
- e[B >>> 1] |= h.charCodeAt(B) << 16 - B % 2 * 16;
834
- return D.create(e, x * 2);
835
- }
836
- }, w.Utf16LE = {
837
- /**
838
- * Converts a word array to a UTF-16 LE string.
839
- *
840
- * @param {WordArray} wordArray The word array.
841
- *
842
- * @return {string} The UTF-16 LE string.
843
- *
844
- * @static
845
- *
846
- * @example
847
- *
848
- * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
849
- */
850
- stringify: function(h) {
851
- for (var x = h.words, e = h.sigBytes, B = [], r = 0; r < e; r += 2) {
852
- var s = u(x[r >>> 2] >>> 16 - r % 4 * 8 & 65535);
853
- B.push(String.fromCharCode(s));
854
- }
855
- return B.join("");
856
- },
857
- /**
858
- * Converts a UTF-16 LE string to a word array.
859
- *
860
- * @param {string} utf16Str The UTF-16 LE string.
861
- *
862
- * @return {WordArray} The word array.
863
- *
864
- * @static
865
- *
866
- * @example
867
- *
868
- * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
869
- */
870
- parse: function(h) {
871
- for (var x = h.length, e = [], B = 0; B < x; B++)
872
- e[B >>> 1] |= u(h.charCodeAt(B) << 16 - B % 2 * 16);
873
- return D.create(e, x * 2);
874
- }
875
- };
876
- function u(h) {
877
- return h << 8 & 4278255360 | h >>> 8 & 16711935;
878
- }
879
- }(), d.enc.Utf16;
880
- });
881
- }(_0)), _0.exports;
882
- }
883
- var b0 = { exports: {} }, Ax;
884
- function e0() {
885
- return Ax || (Ax = 1, function(S, P) {
886
- (function(d, a) {
887
- S.exports = a(O());
888
- })(L, function(d) {
889
- return function() {
890
- var a = d, p = a.lib, D = p.WordArray, w = a.enc;
891
- w.Base64 = {
892
- /**
893
- * Converts a word array to a Base64 string.
894
- *
895
- * @param {WordArray} wordArray The word array.
896
- *
897
- * @return {string} The Base64 string.
898
- *
899
- * @static
900
- *
901
- * @example
902
- *
903
- * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
904
- */
905
- stringify: function(h) {
906
- var x = h.words, e = h.sigBytes, B = this._map;
907
- h.clamp();
908
- for (var r = [], s = 0; s < e; s += 3)
909
- for (var o = x[s >>> 2] >>> 24 - s % 4 * 8 & 255, c = x[s + 1 >>> 2] >>> 24 - (s + 1) % 4 * 8 & 255, f = x[s + 2 >>> 2] >>> 24 - (s + 2) % 4 * 8 & 255, l = o << 16 | c << 8 | f, t = 0; t < 4 && s + t * 0.75 < e; t++)
910
- r.push(B.charAt(l >>> 6 * (3 - t) & 63));
911
- var n = B.charAt(64);
912
- if (n)
913
- for (; r.length % 4; )
914
- r.push(n);
915
- return r.join("");
916
- },
917
- /**
918
- * Converts a Base64 string to a word array.
919
- *
920
- * @param {string} base64Str The Base64 string.
921
- *
922
- * @return {WordArray} The word array.
923
- *
924
- * @static
925
- *
926
- * @example
927
- *
928
- * var wordArray = CryptoJS.enc.Base64.parse(base64String);
929
- */
930
- parse: function(h) {
931
- var x = h.length, e = this._map, B = this._reverseMap;
932
- if (!B) {
933
- B = this._reverseMap = [];
934
- for (var r = 0; r < e.length; r++)
935
- B[e.charCodeAt(r)] = r;
936
- }
937
- var s = e.charAt(64);
938
- if (s) {
939
- var o = h.indexOf(s);
940
- o !== -1 && (x = o);
941
- }
942
- return u(h, x, B);
943
- },
944
- _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
945
- };
946
- function u(h, x, e) {
947
- for (var B = [], r = 0, s = 0; s < x; s++)
948
- if (s % 4) {
949
- var o = e[h.charCodeAt(s - 1)] << s % 4 * 2, c = e[h.charCodeAt(s)] >>> 6 - s % 4 * 2, f = o | c;
950
- B[r >>> 2] |= f << 24 - r % 4 * 8, r++;
951
- }
952
- return D.create(B, r);
953
- }
954
- }(), d.enc.Base64;
955
- });
956
- }(b0)), b0.exports;
957
- }
958
- var y0 = { exports: {} }, Fx;
959
- function Fr() {
960
- return Fx || (Fx = 1, function(S, P) {
961
- (function(d, a) {
962
- S.exports = a(O());
963
- })(L, function(d) {
964
- return function() {
965
- var a = d, p = a.lib, D = p.WordArray, w = a.enc;
966
- w.Base64url = {
967
- /**
968
- * Converts a word array to a Base64url string.
969
- *
970
- * @param {WordArray} wordArray The word array.
971
- *
972
- * @param {boolean} urlSafe Whether to use url safe
973
- *
974
- * @return {string} The Base64url string.
975
- *
976
- * @static
977
- *
978
- * @example
979
- *
980
- * var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
981
- */
982
- stringify: function(h, x) {
983
- x === void 0 && (x = !0);
984
- var e = h.words, B = h.sigBytes, r = x ? this._safe_map : this._map;
985
- h.clamp();
986
- for (var s = [], o = 0; o < B; o += 3)
987
- for (var c = e[o >>> 2] >>> 24 - o % 4 * 8 & 255, f = e[o + 1 >>> 2] >>> 24 - (o + 1) % 4 * 8 & 255, l = e[o + 2 >>> 2] >>> 24 - (o + 2) % 4 * 8 & 255, t = c << 16 | f << 8 | l, n = 0; n < 4 && o + n * 0.75 < B; n++)
988
- s.push(r.charAt(t >>> 6 * (3 - n) & 63));
989
- var i = r.charAt(64);
990
- if (i)
991
- for (; s.length % 4; )
992
- s.push(i);
993
- return s.join("");
994
- },
995
- /**
996
- * Converts a Base64url string to a word array.
997
- *
998
- * @param {string} base64Str The Base64url string.
999
- *
1000
- * @param {boolean} urlSafe Whether to use url safe
1001
- *
1002
- * @return {WordArray} The word array.
1003
- *
1004
- * @static
1005
- *
1006
- * @example
1007
- *
1008
- * var wordArray = CryptoJS.enc.Base64url.parse(base64String);
1009
- */
1010
- parse: function(h, x) {
1011
- x === void 0 && (x = !0);
1012
- var e = h.length, B = x ? this._safe_map : this._map, r = this._reverseMap;
1013
- if (!r) {
1014
- r = this._reverseMap = [];
1015
- for (var s = 0; s < B.length; s++)
1016
- r[B.charCodeAt(s)] = s;
1017
- }
1018
- var o = B.charAt(64);
1019
- if (o) {
1020
- var c = h.indexOf(o);
1021
- c !== -1 && (e = c);
1022
- }
1023
- return u(h, e, r);
1024
- },
1025
- _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
1026
- _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
1027
- };
1028
- function u(h, x, e) {
1029
- for (var B = [], r = 0, s = 0; s < x; s++)
1030
- if (s % 4) {
1031
- var o = e[h.charCodeAt(s - 1)] << s % 4 * 2, c = e[h.charCodeAt(s)] >>> 6 - s % 4 * 2, f = o | c;
1032
- B[r >>> 2] |= f << 24 - r % 4 * 8, r++;
1033
- }
1034
- return D.create(B, r);
1035
- }
1036
- }(), d.enc.Base64url;
1037
- });
1038
- }(y0)), y0.exports;
1039
- }
1040
- var g0 = { exports: {} }, Dx;
1041
- function t0() {
1042
- return Dx || (Dx = 1, function(S, P) {
1043
- (function(d, a) {
1044
- S.exports = a(O());
1045
- })(L, function(d) {
1046
- return function(a) {
1047
- var p = d, D = p.lib, w = D.WordArray, u = D.Hasher, h = p.algo, x = [];
1048
- (function() {
1049
- for (var c = 0; c < 64; c++)
1050
- x[c] = a.abs(a.sin(c + 1)) * 4294967296 | 0;
1051
- })();
1052
- var e = h.MD5 = u.extend({
1053
- _doReset: function() {
1054
- this._hash = new w.init([
1055
- 1732584193,
1056
- 4023233417,
1057
- 2562383102,
1058
- 271733878
1059
- ]);
1060
- },
1061
- _doProcessBlock: function(c, f) {
1062
- for (var l = 0; l < 16; l++) {
1063
- var t = f + l, n = c[t];
1064
- c[t] = (n << 8 | n >>> 24) & 16711935 | (n << 24 | n >>> 8) & 4278255360;
1065
- }
1066
- var i = this._hash.words, E = c[f + 0], C = c[f + 1], A = c[f + 2], _ = c[f + 3], R = c[f + 4], v = c[f + 5], F = c[f + 6], y = c[f + 7], g = c[f + 8], z = c[f + 9], q = c[f + 10], W = c[f + 11], U = c[f + 12], I = c[f + 13], X = c[f + 14], N = c[f + 15], b = i[0], H = i[1], m = i[2], k = i[3];
1067
- b = B(b, H, m, k, E, 7, x[0]), k = B(k, b, H, m, C, 12, x[1]), m = B(m, k, b, H, A, 17, x[2]), H = B(H, m, k, b, _, 22, x[3]), b = B(b, H, m, k, R, 7, x[4]), k = B(k, b, H, m, v, 12, x[5]), m = B(m, k, b, H, F, 17, x[6]), H = B(H, m, k, b, y, 22, x[7]), b = B(b, H, m, k, g, 7, x[8]), k = B(k, b, H, m, z, 12, x[9]), m = B(m, k, b, H, q, 17, x[10]), H = B(H, m, k, b, W, 22, x[11]), b = B(b, H, m, k, U, 7, x[12]), k = B(k, b, H, m, I, 12, x[13]), m = B(m, k, b, H, X, 17, x[14]), H = B(H, m, k, b, N, 22, x[15]), b = r(b, H, m, k, C, 5, x[16]), k = r(k, b, H, m, F, 9, x[17]), m = r(m, k, b, H, W, 14, x[18]), H = r(H, m, k, b, E, 20, x[19]), b = r(b, H, m, k, v, 5, x[20]), k = r(k, b, H, m, q, 9, x[21]), m = r(m, k, b, H, N, 14, x[22]), H = r(H, m, k, b, R, 20, x[23]), b = r(b, H, m, k, z, 5, x[24]), k = r(k, b, H, m, X, 9, x[25]), m = r(m, k, b, H, _, 14, x[26]), H = r(H, m, k, b, g, 20, x[27]), b = r(b, H, m, k, I, 5, x[28]), k = r(k, b, H, m, A, 9, x[29]), m = r(m, k, b, H, y, 14, x[30]), H = r(H, m, k, b, U, 20, x[31]), b = s(b, H, m, k, v, 4, x[32]), k = s(k, b, H, m, g, 11, x[33]), m = s(m, k, b, H, W, 16, x[34]), H = s(H, m, k, b, X, 23, x[35]), b = s(b, H, m, k, C, 4, x[36]), k = s(k, b, H, m, R, 11, x[37]), m = s(m, k, b, H, y, 16, x[38]), H = s(H, m, k, b, q, 23, x[39]), b = s(b, H, m, k, I, 4, x[40]), k = s(k, b, H, m, E, 11, x[41]), m = s(m, k, b, H, _, 16, x[42]), H = s(H, m, k, b, F, 23, x[43]), b = s(b, H, m, k, z, 4, x[44]), k = s(k, b, H, m, U, 11, x[45]), m = s(m, k, b, H, N, 16, x[46]), H = s(H, m, k, b, A, 23, x[47]), b = o(b, H, m, k, E, 6, x[48]), k = o(k, b, H, m, y, 10, x[49]), m = o(m, k, b, H, X, 15, x[50]), H = o(H, m, k, b, v, 21, x[51]), b = o(b, H, m, k, U, 6, x[52]), k = o(k, b, H, m, _, 10, x[53]), m = o(m, k, b, H, q, 15, x[54]), H = o(H, m, k, b, C, 21, x[55]), b = o(b, H, m, k, g, 6, x[56]), k = o(k, b, H, m, N, 10, x[57]), m = o(m, k, b, H, F, 15, x[58]), H = o(H, m, k, b, I, 21, x[59]), b = o(b, H, m, k, R, 6, x[60]), k = o(k, b, H, m, W, 10, x[61]), m = o(m, k, b, H, A, 15, x[62]), H = o(H, m, k, b, z, 21, x[63]), i[0] = i[0] + b | 0, i[1] = i[1] + H | 0, i[2] = i[2] + m | 0, i[3] = i[3] + k | 0;
1068
- },
1069
- _doFinalize: function() {
1070
- var c = this._data, f = c.words, l = this._nDataBytes * 8, t = c.sigBytes * 8;
1071
- f[t >>> 5] |= 128 << 24 - t % 32;
1072
- var n = a.floor(l / 4294967296), i = l;
1073
- f[(t + 64 >>> 9 << 4) + 15] = (n << 8 | n >>> 24) & 16711935 | (n << 24 | n >>> 8) & 4278255360, f[(t + 64 >>> 9 << 4) + 14] = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, c.sigBytes = (f.length + 1) * 4, this._process();
1074
- for (var E = this._hash, C = E.words, A = 0; A < 4; A++) {
1075
- var _ = C[A];
1076
- C[A] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360;
1077
- }
1078
- return E;
1079
- },
1080
- clone: function() {
1081
- var c = u.clone.call(this);
1082
- return c._hash = this._hash.clone(), c;
1083
- }
1084
- });
1085
- function B(c, f, l, t, n, i, E) {
1086
- var C = c + (f & l | ~f & t) + n + E;
1087
- return (C << i | C >>> 32 - i) + f;
1088
- }
1089
- function r(c, f, l, t, n, i, E) {
1090
- var C = c + (f & t | l & ~t) + n + E;
1091
- return (C << i | C >>> 32 - i) + f;
1092
- }
1093
- function s(c, f, l, t, n, i, E) {
1094
- var C = c + (f ^ l ^ t) + n + E;
1095
- return (C << i | C >>> 32 - i) + f;
1096
- }
1097
- function o(c, f, l, t, n, i, E) {
1098
- var C = c + (l ^ (f | ~t)) + n + E;
1099
- return (C << i | C >>> 32 - i) + f;
1100
- }
1101
- p.MD5 = u._createHelper(e), p.HmacMD5 = u._createHmacHelper(e);
1102
- }(Math), d.MD5;
1103
- });
1104
- }(g0)), g0.exports;
1105
- }
1106
- var k0 = { exports: {} }, px;
1107
- function Mx() {
1108
- return px || (px = 1, function(S, P) {
1109
- (function(d, a) {
1110
- S.exports = a(O());
1111
- })(L, function(d) {
1112
- return function() {
1113
- var a = d, p = a.lib, D = p.WordArray, w = p.Hasher, u = a.algo, h = [], x = u.SHA1 = w.extend({
1114
- _doReset: function() {
1115
- this._hash = new D.init([
1116
- 1732584193,
1117
- 4023233417,
1118
- 2562383102,
1119
- 271733878,
1120
- 3285377520
1121
- ]);
1122
- },
1123
- _doProcessBlock: function(e, B) {
1124
- for (var r = this._hash.words, s = r[0], o = r[1], c = r[2], f = r[3], l = r[4], t = 0; t < 80; t++) {
1125
- if (t < 16)
1126
- h[t] = e[B + t] | 0;
1127
- else {
1128
- var n = h[t - 3] ^ h[t - 8] ^ h[t - 14] ^ h[t - 16];
1129
- h[t] = n << 1 | n >>> 31;
1130
- }
1131
- var i = (s << 5 | s >>> 27) + l + h[t];
1132
- t < 20 ? i += (o & c | ~o & f) + 1518500249 : t < 40 ? i += (o ^ c ^ f) + 1859775393 : t < 60 ? i += (o & c | o & f | c & f) - 1894007588 : i += (o ^ c ^ f) - 899497514, l = f, f = c, c = o << 30 | o >>> 2, o = s, s = i;
1133
- }
1134
- r[0] = r[0] + s | 0, r[1] = r[1] + o | 0, r[2] = r[2] + c | 0, r[3] = r[3] + f | 0, r[4] = r[4] + l | 0;
1135
- },
1136
- _doFinalize: function() {
1137
- var e = this._data, B = e.words, r = this._nDataBytes * 8, s = e.sigBytes * 8;
1138
- return B[s >>> 5] |= 128 << 24 - s % 32, B[(s + 64 >>> 9 << 4) + 14] = Math.floor(r / 4294967296), B[(s + 64 >>> 9 << 4) + 15] = r, e.sigBytes = B.length * 4, this._process(), this._hash;
1139
- },
1140
- clone: function() {
1141
- var e = w.clone.call(this);
1142
- return e._hash = this._hash.clone(), e;
1143
- }
1144
- });
1145
- a.SHA1 = w._createHelper(x), a.HmacSHA1 = w._createHmacHelper(x);
1146
- }(), d.SHA1;
1147
- });
1148
- }(k0)), k0.exports;
1149
- }
1150
- var w0 = { exports: {} }, _x;
1151
- function rx() {
1152
- return _x || (_x = 1, function(S, P) {
1153
- (function(d, a) {
1154
- S.exports = a(O());
1155
- })(L, function(d) {
1156
- return function(a) {
1157
- var p = d, D = p.lib, w = D.WordArray, u = D.Hasher, h = p.algo, x = [], e = [];
1158
- (function() {
1159
- function s(l) {
1160
- for (var t = a.sqrt(l), n = 2; n <= t; n++)
1161
- if (!(l % n))
1162
- return !1;
1163
- return !0;
1164
- }
1165
- function o(l) {
1166
- return (l - (l | 0)) * 4294967296 | 0;
1167
- }
1168
- for (var c = 2, f = 0; f < 64; )
1169
- s(c) && (f < 8 && (x[f] = o(a.pow(c, 1 / 2))), e[f] = o(a.pow(c, 1 / 3)), f++), c++;
1170
- })();
1171
- var B = [], r = h.SHA256 = u.extend({
1172
- _doReset: function() {
1173
- this._hash = new w.init(x.slice(0));
1174
- },
1175
- _doProcessBlock: function(s, o) {
1176
- for (var c = this._hash.words, f = c[0], l = c[1], t = c[2], n = c[3], i = c[4], E = c[5], C = c[6], A = c[7], _ = 0; _ < 64; _++) {
1177
- if (_ < 16)
1178
- B[_] = s[o + _] | 0;
1179
- else {
1180
- var R = B[_ - 15], v = (R << 25 | R >>> 7) ^ (R << 14 | R >>> 18) ^ R >>> 3, F = B[_ - 2], y = (F << 15 | F >>> 17) ^ (F << 13 | F >>> 19) ^ F >>> 10;
1181
- B[_] = v + B[_ - 7] + y + B[_ - 16];
1182
- }
1183
- var g = i & E ^ ~i & C, z = f & l ^ f & t ^ l & t, q = (f << 30 | f >>> 2) ^ (f << 19 | f >>> 13) ^ (f << 10 | f >>> 22), W = (i << 26 | i >>> 6) ^ (i << 21 | i >>> 11) ^ (i << 7 | i >>> 25), U = A + W + g + e[_] + B[_], I = q + z;
1184
- A = C, C = E, E = i, i = n + U | 0, n = t, t = l, l = f, f = U + I | 0;
1185
- }
1186
- c[0] = c[0] + f | 0, c[1] = c[1] + l | 0, c[2] = c[2] + t | 0, c[3] = c[3] + n | 0, c[4] = c[4] + i | 0, c[5] = c[5] + E | 0, c[6] = c[6] + C | 0, c[7] = c[7] + A | 0;
1187
- },
1188
- _doFinalize: function() {
1189
- var s = this._data, o = s.words, c = this._nDataBytes * 8, f = s.sigBytes * 8;
1190
- return o[f >>> 5] |= 128 << 24 - f % 32, o[(f + 64 >>> 9 << 4) + 14] = a.floor(c / 4294967296), o[(f + 64 >>> 9 << 4) + 15] = c, s.sigBytes = o.length * 4, this._process(), this._hash;
1191
- },
1192
- clone: function() {
1193
- var s = u.clone.call(this);
1194
- return s._hash = this._hash.clone(), s;
1195
- }
1196
- });
1197
- p.SHA256 = u._createHelper(r), p.HmacSHA256 = u._createHmacHelper(r);
1198
- }(Math), d.SHA256;
1199
- });
1200
- }(w0)), w0.exports;
1201
- }
1202
- var H0 = { exports: {} }, bx;
1203
- function Dr() {
1204
- return bx || (bx = 1, function(S, P) {
1205
- (function(d, a, p) {
1206
- S.exports = a(O(), rx());
1207
- })(L, function(d) {
1208
- return function() {
1209
- var a = d, p = a.lib, D = p.WordArray, w = a.algo, u = w.SHA256, h = w.SHA224 = u.extend({
1210
- _doReset: function() {
1211
- this._hash = new D.init([
1212
- 3238371032,
1213
- 914150663,
1214
- 812702999,
1215
- 4144912697,
1216
- 4290775857,
1217
- 1750603025,
1218
- 1694076839,
1219
- 3204075428
1220
- ]);
1221
- },
1222
- _doFinalize: function() {
1223
- var x = u._doFinalize.call(this);
1224
- return x.sigBytes -= 4, x;
1225
- }
1226
- });
1227
- a.SHA224 = u._createHelper(h), a.HmacSHA224 = u._createHmacHelper(h);
1228
- }(), d.SHA224;
1229
- });
1230
- }(H0)), H0.exports;
1231
- }
1232
- var m0 = { exports: {} }, yx;
1233
- function Vx() {
1234
- return yx || (yx = 1, function(S, P) {
1235
- (function(d, a, p) {
1236
- S.exports = a(O(), C0());
1237
- })(L, function(d) {
1238
- return function() {
1239
- var a = d, p = a.lib, D = p.Hasher, w = a.x64, u = w.Word, h = w.WordArray, x = a.algo;
1240
- function e() {
1241
- return u.create.apply(u, arguments);
1242
- }
1243
- var B = [
1244
- e(1116352408, 3609767458),
1245
- e(1899447441, 602891725),
1246
- e(3049323471, 3964484399),
1247
- e(3921009573, 2173295548),
1248
- e(961987163, 4081628472),
1249
- e(1508970993, 3053834265),
1250
- e(2453635748, 2937671579),
1251
- e(2870763221, 3664609560),
1252
- e(3624381080, 2734883394),
1253
- e(310598401, 1164996542),
1254
- e(607225278, 1323610764),
1255
- e(1426881987, 3590304994),
1256
- e(1925078388, 4068182383),
1257
- e(2162078206, 991336113),
1258
- e(2614888103, 633803317),
1259
- e(3248222580, 3479774868),
1260
- e(3835390401, 2666613458),
1261
- e(4022224774, 944711139),
1262
- e(264347078, 2341262773),
1263
- e(604807628, 2007800933),
1264
- e(770255983, 1495990901),
1265
- e(1249150122, 1856431235),
1266
- e(1555081692, 3175218132),
1267
- e(1996064986, 2198950837),
1268
- e(2554220882, 3999719339),
1269
- e(2821834349, 766784016),
1270
- e(2952996808, 2566594879),
1271
- e(3210313671, 3203337956),
1272
- e(3336571891, 1034457026),
1273
- e(3584528711, 2466948901),
1274
- e(113926993, 3758326383),
1275
- e(338241895, 168717936),
1276
- e(666307205, 1188179964),
1277
- e(773529912, 1546045734),
1278
- e(1294757372, 1522805485),
1279
- e(1396182291, 2643833823),
1280
- e(1695183700, 2343527390),
1281
- e(1986661051, 1014477480),
1282
- e(2177026350, 1206759142),
1283
- e(2456956037, 344077627),
1284
- e(2730485921, 1290863460),
1285
- e(2820302411, 3158454273),
1286
- e(3259730800, 3505952657),
1287
- e(3345764771, 106217008),
1288
- e(3516065817, 3606008344),
1289
- e(3600352804, 1432725776),
1290
- e(4094571909, 1467031594),
1291
- e(275423344, 851169720),
1292
- e(430227734, 3100823752),
1293
- e(506948616, 1363258195),
1294
- e(659060556, 3750685593),
1295
- e(883997877, 3785050280),
1296
- e(958139571, 3318307427),
1297
- e(1322822218, 3812723403),
1298
- e(1537002063, 2003034995),
1299
- e(1747873779, 3602036899),
1300
- e(1955562222, 1575990012),
1301
- e(2024104815, 1125592928),
1302
- e(2227730452, 2716904306),
1303
- e(2361852424, 442776044),
1304
- e(2428436474, 593698344),
1305
- e(2756734187, 3733110249),
1306
- e(3204031479, 2999351573),
1307
- e(3329325298, 3815920427),
1308
- e(3391569614, 3928383900),
1309
- e(3515267271, 566280711),
1310
- e(3940187606, 3454069534),
1311
- e(4118630271, 4000239992),
1312
- e(116418474, 1914138554),
1313
- e(174292421, 2731055270),
1314
- e(289380356, 3203993006),
1315
- e(460393269, 320620315),
1316
- e(685471733, 587496836),
1317
- e(852142971, 1086792851),
1318
- e(1017036298, 365543100),
1319
- e(1126000580, 2618297676),
1320
- e(1288033470, 3409855158),
1321
- e(1501505948, 4234509866),
1322
- e(1607167915, 987167468),
1323
- e(1816402316, 1246189591)
1324
- ], r = [];
1325
- (function() {
1326
- for (var o = 0; o < 80; o++)
1327
- r[o] = e();
1328
- })();
1329
- var s = x.SHA512 = D.extend({
1330
- _doReset: function() {
1331
- this._hash = new h.init([
1332
- new u.init(1779033703, 4089235720),
1333
- new u.init(3144134277, 2227873595),
1334
- new u.init(1013904242, 4271175723),
1335
- new u.init(2773480762, 1595750129),
1336
- new u.init(1359893119, 2917565137),
1337
- new u.init(2600822924, 725511199),
1338
- new u.init(528734635, 4215389547),
1339
- new u.init(1541459225, 327033209)
1340
- ]);
1341
- },
1342
- _doProcessBlock: function(o, c) {
1343
- for (var f = this._hash.words, l = f[0], t = f[1], n = f[2], i = f[3], E = f[4], C = f[5], A = f[6], _ = f[7], R = l.high, v = l.low, F = t.high, y = t.low, g = n.high, z = n.low, q = i.high, W = i.low, U = E.high, I = E.low, X = C.high, N = C.low, b = A.high, H = A.low, m = _.high, k = _.low, G = R, K = v, $ = F, T = y, i0 = g, a0 = z, E0 = q, f0 = W, M = U, j = I, d0 = X, s0 = N, h0 = b, c0 = H, A0 = m, v0 = k, V = 0; V < 80; V++) {
1344
- var Y, J, l0 = r[V];
1345
- if (V < 16)
1346
- J = l0.high = o[c + V * 2] | 0, Y = l0.low = o[c + V * 2 + 1] | 0;
1347
- else {
1348
- var tx = r[V - 15], n0 = tx.high, u0 = tx.low, Jx = (n0 >>> 1 | u0 << 31) ^ (n0 >>> 8 | u0 << 24) ^ n0 >>> 7, ax = (u0 >>> 1 | n0 << 31) ^ (u0 >>> 8 | n0 << 24) ^ (u0 >>> 7 | n0 << 25), nx = r[V - 2], o0 = nx.high, B0 = nx.low, xr = (o0 >>> 19 | B0 << 13) ^ (o0 << 3 | B0 >>> 29) ^ o0 >>> 6, ox = (B0 >>> 19 | o0 << 13) ^ (B0 << 3 | o0 >>> 29) ^ (B0 >>> 6 | o0 << 26), ix = r[V - 7], rr = ix.high, er = ix.low, fx = r[V - 16], tr = fx.high, sx = fx.low;
1349
- Y = ax + er, J = Jx + rr + (Y >>> 0 < ax >>> 0 ? 1 : 0), Y = Y + ox, J = J + xr + (Y >>> 0 < ox >>> 0 ? 1 : 0), Y = Y + sx, J = J + tr + (Y >>> 0 < sx >>> 0 ? 1 : 0), l0.high = J, l0.low = Y;
1350
- }
1351
- var ar = M & d0 ^ ~M & h0, cx = j & s0 ^ ~j & c0, nr = G & $ ^ G & i0 ^ $ & i0, or = K & T ^ K & a0 ^ T & a0, ir = (G >>> 28 | K << 4) ^ (G << 30 | K >>> 2) ^ (G << 25 | K >>> 7), vx = (K >>> 28 | G << 4) ^ (K << 30 | G >>> 2) ^ (K << 25 | G >>> 7), fr = (M >>> 14 | j << 18) ^ (M >>> 18 | j << 14) ^ (M << 23 | j >>> 9), sr = (j >>> 14 | M << 18) ^ (j >>> 18 | M << 14) ^ (j << 23 | M >>> 9), ux = B[V], cr = ux.high, Bx = ux.low, Q = v0 + sr, x0 = A0 + fr + (Q >>> 0 < v0 >>> 0 ? 1 : 0), Q = Q + cx, x0 = x0 + ar + (Q >>> 0 < cx >>> 0 ? 1 : 0), Q = Q + Bx, x0 = x0 + cr + (Q >>> 0 < Bx >>> 0 ? 1 : 0), Q = Q + Y, x0 = x0 + J + (Q >>> 0 < Y >>> 0 ? 1 : 0), dx = vx + or, vr = ir + nr + (dx >>> 0 < vx >>> 0 ? 1 : 0);
1352
- A0 = h0, v0 = c0, h0 = d0, c0 = s0, d0 = M, s0 = j, j = f0 + Q | 0, M = E0 + x0 + (j >>> 0 < f0 >>> 0 ? 1 : 0) | 0, E0 = i0, f0 = a0, i0 = $, a0 = T, $ = G, T = K, K = Q + dx | 0, G = x0 + vr + (K >>> 0 < Q >>> 0 ? 1 : 0) | 0;
1353
- }
1354
- v = l.low = v + K, l.high = R + G + (v >>> 0 < K >>> 0 ? 1 : 0), y = t.low = y + T, t.high = F + $ + (y >>> 0 < T >>> 0 ? 1 : 0), z = n.low = z + a0, n.high = g + i0 + (z >>> 0 < a0 >>> 0 ? 1 : 0), W = i.low = W + f0, i.high = q + E0 + (W >>> 0 < f0 >>> 0 ? 1 : 0), I = E.low = I + j, E.high = U + M + (I >>> 0 < j >>> 0 ? 1 : 0), N = C.low = N + s0, C.high = X + d0 + (N >>> 0 < s0 >>> 0 ? 1 : 0), H = A.low = H + c0, A.high = b + h0 + (H >>> 0 < c0 >>> 0 ? 1 : 0), k = _.low = k + v0, _.high = m + A0 + (k >>> 0 < v0 >>> 0 ? 1 : 0);
1355
- },
1356
- _doFinalize: function() {
1357
- var o = this._data, c = o.words, f = this._nDataBytes * 8, l = o.sigBytes * 8;
1358
- c[l >>> 5] |= 128 << 24 - l % 32, c[(l + 128 >>> 10 << 5) + 30] = Math.floor(f / 4294967296), c[(l + 128 >>> 10 << 5) + 31] = f, o.sigBytes = c.length * 4, this._process();
1359
- var t = this._hash.toX32();
1360
- return t;
1361
- },
1362
- clone: function() {
1363
- var o = D.clone.call(this);
1364
- return o._hash = this._hash.clone(), o;
1365
- },
1366
- blockSize: 1024 / 32
1367
- });
1368
- a.SHA512 = D._createHelper(s), a.HmacSHA512 = D._createHmacHelper(s);
1369
- }(), d.SHA512;
1370
- });
1371
- }(m0)), m0.exports;
1372
- }
1373
- var S0 = { exports: {} }, gx;
1374
- function pr() {
1375
- return gx || (gx = 1, function(S, P) {
1376
- (function(d, a, p) {
1377
- S.exports = a(O(), C0(), Vx());
1378
- })(L, function(d) {
1379
- return function() {
1380
- var a = d, p = a.x64, D = p.Word, w = p.WordArray, u = a.algo, h = u.SHA512, x = u.SHA384 = h.extend({
1381
- _doReset: function() {
1382
- this._hash = new w.init([
1383
- new D.init(3418070365, 3238371032),
1384
- new D.init(1654270250, 914150663),
1385
- new D.init(2438529370, 812702999),
1386
- new D.init(355462360, 4144912697),
1387
- new D.init(1731405415, 4290775857),
1388
- new D.init(2394180231, 1750603025),
1389
- new D.init(3675008525, 1694076839),
1390
- new D.init(1203062813, 3204075428)
1391
- ]);
1392
- },
1393
- _doFinalize: function() {
1394
- var e = h._doFinalize.call(this);
1395
- return e.sigBytes -= 16, e;
1396
- }
1397
- });
1398
- a.SHA384 = h._createHelper(x), a.HmacSHA384 = h._createHmacHelper(x);
1399
- }(), d.SHA384;
1400
- });
1401
- }(S0)), S0.exports;
1402
- }
1403
- var R0 = { exports: {} }, kx;
1404
- function _r() {
1405
- return kx || (kx = 1, function(S, P) {
1406
- (function(d, a, p) {
1407
- S.exports = a(O(), C0());
1408
- })(L, function(d) {
1409
- return function(a) {
1410
- var p = d, D = p.lib, w = D.WordArray, u = D.Hasher, h = p.x64, x = h.Word, e = p.algo, B = [], r = [], s = [];
1411
- (function() {
1412
- for (var f = 1, l = 0, t = 0; t < 24; t++) {
1413
- B[f + 5 * l] = (t + 1) * (t + 2) / 2 % 64;
1414
- var n = l % 5, i = (2 * f + 3 * l) % 5;
1415
- f = n, l = i;
1416
- }
1417
- for (var f = 0; f < 5; f++)
1418
- for (var l = 0; l < 5; l++)
1419
- r[f + 5 * l] = l + (2 * f + 3 * l) % 5 * 5;
1420
- for (var E = 1, C = 0; C < 24; C++) {
1421
- for (var A = 0, _ = 0, R = 0; R < 7; R++) {
1422
- if (E & 1) {
1423
- var v = (1 << R) - 1;
1424
- v < 32 ? _ ^= 1 << v : A ^= 1 << v - 32;
1425
- }
1426
- E & 128 ? E = E << 1 ^ 113 : E <<= 1;
1427
- }
1428
- s[C] = x.create(A, _);
1429
- }
1430
- })();
1431
- var o = [];
1432
- (function() {
1433
- for (var f = 0; f < 25; f++)
1434
- o[f] = x.create();
1435
- })();
1436
- var c = e.SHA3 = u.extend({
1437
- /**
1438
- * Configuration options.
1439
- *
1440
- * @property {number} outputLength
1441
- * The desired number of bits in the output hash.
1442
- * Only values permitted are: 224, 256, 384, 512.
1443
- * Default: 512
1444
- */
1445
- cfg: u.cfg.extend({
1446
- outputLength: 512
1447
- }),
1448
- _doReset: function() {
1449
- for (var f = this._state = [], l = 0; l < 25; l++)
1450
- f[l] = new x.init();
1451
- this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
1452
- },
1453
- _doProcessBlock: function(f, l) {
1454
- for (var t = this._state, n = this.blockSize / 2, i = 0; i < n; i++) {
1455
- var E = f[l + 2 * i], C = f[l + 2 * i + 1];
1456
- E = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, C = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
1457
- var A = t[i];
1458
- A.high ^= C, A.low ^= E;
1459
- }
1460
- for (var _ = 0; _ < 24; _++) {
1461
- for (var R = 0; R < 5; R++) {
1462
- for (var v = 0, F = 0, y = 0; y < 5; y++) {
1463
- var A = t[R + 5 * y];
1464
- v ^= A.high, F ^= A.low;
1465
- }
1466
- var g = o[R];
1467
- g.high = v, g.low = F;
1468
- }
1469
- for (var R = 0; R < 5; R++)
1470
- for (var z = o[(R + 4) % 5], q = o[(R + 1) % 5], W = q.high, U = q.low, v = z.high ^ (W << 1 | U >>> 31), F = z.low ^ (U << 1 | W >>> 31), y = 0; y < 5; y++) {
1471
- var A = t[R + 5 * y];
1472
- A.high ^= v, A.low ^= F;
1473
- }
1474
- for (var I = 1; I < 25; I++) {
1475
- var v, F, A = t[I], X = A.high, N = A.low, b = B[I];
1476
- b < 32 ? (v = X << b | N >>> 32 - b, F = N << b | X >>> 32 - b) : (v = N << b - 32 | X >>> 64 - b, F = X << b - 32 | N >>> 64 - b);
1477
- var H = o[r[I]];
1478
- H.high = v, H.low = F;
1479
- }
1480
- var m = o[0], k = t[0];
1481
- m.high = k.high, m.low = k.low;
1482
- for (var R = 0; R < 5; R++)
1483
- for (var y = 0; y < 5; y++) {
1484
- var I = R + 5 * y, A = t[I], G = o[I], K = o[(R + 1) % 5 + 5 * y], $ = o[(R + 2) % 5 + 5 * y];
1485
- A.high = G.high ^ ~K.high & $.high, A.low = G.low ^ ~K.low & $.low;
1486
- }
1487
- var A = t[0], T = s[_];
1488
- A.high ^= T.high, A.low ^= T.low;
1489
- }
1490
- },
1491
- _doFinalize: function() {
1492
- var f = this._data, l = f.words;
1493
- this._nDataBytes * 8;
1494
- var t = f.sigBytes * 8, n = this.blockSize * 32;
1495
- l[t >>> 5] |= 1 << 24 - t % 32, l[(a.ceil((t + 1) / n) * n >>> 5) - 1] |= 128, f.sigBytes = l.length * 4, this._process();
1496
- for (var i = this._state, E = this.cfg.outputLength / 8, C = E / 8, A = [], _ = 0; _ < C; _++) {
1497
- var R = i[_], v = R.high, F = R.low;
1498
- v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, F = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360, A.push(F), A.push(v);
1499
- }
1500
- return new w.init(A, E);
1501
- },
1502
- clone: function() {
1503
- for (var f = u.clone.call(this), l = f._state = this._state.slice(0), t = 0; t < 25; t++)
1504
- l[t] = l[t].clone();
1505
- return f;
1506
- }
1507
- });
1508
- p.SHA3 = u._createHelper(c), p.HmacSHA3 = u._createHmacHelper(c);
1509
- }(Math), d.SHA3;
1510
- });
1511
- }(R0)), R0.exports;
1512
- }
1513
- var z0 = { exports: {} }, wx;
1514
- function br() {
1515
- return wx || (wx = 1, function(S, P) {
1516
- (function(d, a) {
1517
- S.exports = a(O());
1518
- })(L, function(d) {
1519
- /** @preserve
1520
- (c) 2012 by Cédric Mesnil. All rights reserved.
1521
-
1522
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1523
-
1524
- - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
1525
- - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
1526
-
1527
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1528
- */
1529
- return function(a) {
1530
- var p = d, D = p.lib, w = D.WordArray, u = D.Hasher, h = p.algo, x = w.create([
1531
- 0,
1532
- 1,
1533
- 2,
1534
- 3,
1535
- 4,
1536
- 5,
1537
- 6,
1538
- 7,
1539
- 8,
1540
- 9,
1541
- 10,
1542
- 11,
1543
- 12,
1544
- 13,
1545
- 14,
1546
- 15,
1547
- 7,
1548
- 4,
1549
- 13,
1550
- 1,
1551
- 10,
1552
- 6,
1553
- 15,
1554
- 3,
1555
- 12,
1556
- 0,
1557
- 9,
1558
- 5,
1559
- 2,
1560
- 14,
1561
- 11,
1562
- 8,
1563
- 3,
1564
- 10,
1565
- 14,
1566
- 4,
1567
- 9,
1568
- 15,
1569
- 8,
1570
- 1,
1571
- 2,
1572
- 7,
1573
- 0,
1574
- 6,
1575
- 13,
1576
- 11,
1577
- 5,
1578
- 12,
1579
- 1,
1580
- 9,
1581
- 11,
1582
- 10,
1583
- 0,
1584
- 8,
1585
- 12,
1586
- 4,
1587
- 13,
1588
- 3,
1589
- 7,
1590
- 15,
1591
- 14,
1592
- 5,
1593
- 6,
1594
- 2,
1595
- 4,
1596
- 0,
1597
- 5,
1598
- 9,
1599
- 7,
1600
- 12,
1601
- 2,
1602
- 10,
1603
- 14,
1604
- 1,
1605
- 3,
1606
- 8,
1607
- 11,
1608
- 6,
1609
- 15,
1610
- 13
1611
- ]), e = w.create([
1612
- 5,
1613
- 14,
1614
- 7,
1615
- 0,
1616
- 9,
1617
- 2,
1618
- 11,
1619
- 4,
1620
- 13,
1621
- 6,
1622
- 15,
1623
- 8,
1624
- 1,
1625
- 10,
1626
- 3,
1627
- 12,
1628
- 6,
1629
- 11,
1630
- 3,
1631
- 7,
1632
- 0,
1633
- 13,
1634
- 5,
1635
- 10,
1636
- 14,
1637
- 15,
1638
- 8,
1639
- 12,
1640
- 4,
1641
- 9,
1642
- 1,
1643
- 2,
1644
- 15,
1645
- 5,
1646
- 1,
1647
- 3,
1648
- 7,
1649
- 14,
1650
- 6,
1651
- 9,
1652
- 11,
1653
- 8,
1654
- 12,
1655
- 2,
1656
- 10,
1657
- 0,
1658
- 4,
1659
- 13,
1660
- 8,
1661
- 6,
1662
- 4,
1663
- 1,
1664
- 3,
1665
- 11,
1666
- 15,
1667
- 0,
1668
- 5,
1669
- 12,
1670
- 2,
1671
- 13,
1672
- 9,
1673
- 7,
1674
- 10,
1675
- 14,
1676
- 12,
1677
- 15,
1678
- 10,
1679
- 4,
1680
- 1,
1681
- 5,
1682
- 8,
1683
- 7,
1684
- 6,
1685
- 2,
1686
- 13,
1687
- 14,
1688
- 0,
1689
- 3,
1690
- 9,
1691
- 11
1692
- ]), B = w.create([
1693
- 11,
1694
- 14,
1695
- 15,
1696
- 12,
1697
- 5,
1698
- 8,
1699
- 7,
1700
- 9,
1701
- 11,
1702
- 13,
1703
- 14,
1704
- 15,
1705
- 6,
1706
- 7,
1707
- 9,
1708
- 8,
1709
- 7,
1710
- 6,
1711
- 8,
1712
- 13,
1713
- 11,
1714
- 9,
1715
- 7,
1716
- 15,
1717
- 7,
1718
- 12,
1719
- 15,
1720
- 9,
1721
- 11,
1722
- 7,
1723
- 13,
1724
- 12,
1725
- 11,
1726
- 13,
1727
- 6,
1728
- 7,
1729
- 14,
1730
- 9,
1731
- 13,
1732
- 15,
1733
- 14,
1734
- 8,
1735
- 13,
1736
- 6,
1737
- 5,
1738
- 12,
1739
- 7,
1740
- 5,
1741
- 11,
1742
- 12,
1743
- 14,
1744
- 15,
1745
- 14,
1746
- 15,
1747
- 9,
1748
- 8,
1749
- 9,
1750
- 14,
1751
- 5,
1752
- 6,
1753
- 8,
1754
- 6,
1755
- 5,
1756
- 12,
1757
- 9,
1758
- 15,
1759
- 5,
1760
- 11,
1761
- 6,
1762
- 8,
1763
- 13,
1764
- 12,
1765
- 5,
1766
- 12,
1767
- 13,
1768
- 14,
1769
- 11,
1770
- 8,
1771
- 5,
1772
- 6
1773
- ]), r = w.create([
1774
- 8,
1775
- 9,
1776
- 9,
1777
- 11,
1778
- 13,
1779
- 15,
1780
- 15,
1781
- 5,
1782
- 7,
1783
- 7,
1784
- 8,
1785
- 11,
1786
- 14,
1787
- 14,
1788
- 12,
1789
- 6,
1790
- 9,
1791
- 13,
1792
- 15,
1793
- 7,
1794
- 12,
1795
- 8,
1796
- 9,
1797
- 11,
1798
- 7,
1799
- 7,
1800
- 12,
1801
- 7,
1802
- 6,
1803
- 15,
1804
- 13,
1805
- 11,
1806
- 9,
1807
- 7,
1808
- 15,
1809
- 11,
1810
- 8,
1811
- 6,
1812
- 6,
1813
- 14,
1814
- 12,
1815
- 13,
1816
- 5,
1817
- 14,
1818
- 13,
1819
- 13,
1820
- 7,
1821
- 5,
1822
- 15,
1823
- 5,
1824
- 8,
1825
- 11,
1826
- 14,
1827
- 14,
1828
- 6,
1829
- 14,
1830
- 6,
1831
- 9,
1832
- 12,
1833
- 9,
1834
- 12,
1835
- 5,
1836
- 15,
1837
- 8,
1838
- 8,
1839
- 5,
1840
- 12,
1841
- 9,
1842
- 12,
1843
- 5,
1844
- 14,
1845
- 6,
1846
- 8,
1847
- 13,
1848
- 6,
1849
- 5,
1850
- 15,
1851
- 13,
1852
- 11,
1853
- 11
1854
- ]), s = w.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), o = w.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), c = h.RIPEMD160 = u.extend({
1855
- _doReset: function() {
1856
- this._hash = w.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
1857
- },
1858
- _doProcessBlock: function(C, A) {
1859
- for (var _ = 0; _ < 16; _++) {
1860
- var R = A + _, v = C[R];
1861
- C[R] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
1862
- }
1863
- var F = this._hash.words, y = s.words, g = o.words, z = x.words, q = e.words, W = B.words, U = r.words, I, X, N, b, H, m, k, G, K, $;
1864
- m = I = F[0], k = X = F[1], G = N = F[2], K = b = F[3], $ = H = F[4];
1865
- for (var T, _ = 0; _ < 80; _ += 1)
1866
- T = I + C[A + z[_]] | 0, _ < 16 ? T += f(X, N, b) + y[0] : _ < 32 ? T += l(X, N, b) + y[1] : _ < 48 ? T += t(X, N, b) + y[2] : _ < 64 ? T += n(X, N, b) + y[3] : T += i(X, N, b) + y[4], T = T | 0, T = E(T, W[_]), T = T + H | 0, I = H, H = b, b = E(N, 10), N = X, X = T, T = m + C[A + q[_]] | 0, _ < 16 ? T += i(k, G, K) + g[0] : _ < 32 ? T += n(k, G, K) + g[1] : _ < 48 ? T += t(k, G, K) + g[2] : _ < 64 ? T += l(k, G, K) + g[3] : T += f(k, G, K) + g[4], T = T | 0, T = E(T, U[_]), T = T + $ | 0, m = $, $ = K, K = E(G, 10), G = k, k = T;
1867
- T = F[1] + N + K | 0, F[1] = F[2] + b + $ | 0, F[2] = F[3] + H + m | 0, F[3] = F[4] + I + k | 0, F[4] = F[0] + X + G | 0, F[0] = T;
1868
- },
1869
- _doFinalize: function() {
1870
- var C = this._data, A = C.words, _ = this._nDataBytes * 8, R = C.sigBytes * 8;
1871
- A[R >>> 5] |= 128 << 24 - R % 32, A[(R + 64 >>> 9 << 4) + 14] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, C.sigBytes = (A.length + 1) * 4, this._process();
1872
- for (var v = this._hash, F = v.words, y = 0; y < 5; y++) {
1873
- var g = F[y];
1874
- F[y] = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360;
1875
- }
1876
- return v;
1877
- },
1878
- clone: function() {
1879
- var C = u.clone.call(this);
1880
- return C._hash = this._hash.clone(), C;
1881
- }
1882
- });
1883
- function f(C, A, _) {
1884
- return C ^ A ^ _;
1885
- }
1886
- function l(C, A, _) {
1887
- return C & A | ~C & _;
1888
- }
1889
- function t(C, A, _) {
1890
- return (C | ~A) ^ _;
1891
- }
1892
- function n(C, A, _) {
1893
- return C & _ | A & ~_;
1894
- }
1895
- function i(C, A, _) {
1896
- return C ^ (A | ~_);
1897
- }
1898
- function E(C, A) {
1899
- return C << A | C >>> 32 - A;
1900
- }
1901
- p.RIPEMD160 = u._createHelper(c), p.HmacRIPEMD160 = u._createHmacHelper(c);
1902
- }(), d.RIPEMD160;
1903
- });
1904
- }(z0)), z0.exports;
1905
- }
1906
- var q0 = { exports: {} }, Hx;
1907
- function ex() {
1908
- return Hx || (Hx = 1, function(S, P) {
1909
- (function(d, a) {
1910
- S.exports = a(O());
1911
- })(L, function(d) {
1912
- (function() {
1913
- var a = d, p = a.lib, D = p.Base, w = a.enc, u = w.Utf8, h = a.algo;
1914
- h.HMAC = D.extend({
1915
- /**
1916
- * Initializes a newly created HMAC.
1917
- *
1918
- * @param {Hasher} hasher The hash algorithm to use.
1919
- * @param {WordArray|string} key The secret key.
1920
- *
1921
- * @example
1922
- *
1923
- * var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
1924
- */
1925
- init: function(x, e) {
1926
- x = this._hasher = new x.init(), typeof e == "string" && (e = u.parse(e));
1927
- var B = x.blockSize, r = B * 4;
1928
- e.sigBytes > r && (e = x.finalize(e)), e.clamp();
1929
- for (var s = this._oKey = e.clone(), o = this._iKey = e.clone(), c = s.words, f = o.words, l = 0; l < B; l++)
1930
- c[l] ^= 1549556828, f[l] ^= 909522486;
1931
- s.sigBytes = o.sigBytes = r, this.reset();
1932
- },
1933
- /**
1934
- * Resets this HMAC to its initial state.
1935
- *
1936
- * @example
1937
- *
1938
- * hmacHasher.reset();
1939
- */
1940
- reset: function() {
1941
- var x = this._hasher;
1942
- x.reset(), x.update(this._iKey);
1943
- },
1944
- /**
1945
- * Updates this HMAC with a message.
1946
- *
1947
- * @param {WordArray|string} messageUpdate The message to append.
1948
- *
1949
- * @return {HMAC} This HMAC instance.
1950
- *
1951
- * @example
1952
- *
1953
- * hmacHasher.update('message');
1954
- * hmacHasher.update(wordArray);
1955
- */
1956
- update: function(x) {
1957
- return this._hasher.update(x), this;
1958
- },
1959
- /**
1960
- * Finalizes the HMAC computation.
1961
- * Note that the finalize operation is effectively a destructive, read-once operation.
1962
- *
1963
- * @param {WordArray|string} messageUpdate (Optional) A final message update.
1964
- *
1965
- * @return {WordArray} The HMAC.
1966
- *
1967
- * @example
1968
- *
1969
- * var hmac = hmacHasher.finalize();
1970
- * var hmac = hmacHasher.finalize('message');
1971
- * var hmac = hmacHasher.finalize(wordArray);
1972
- */
1973
- finalize: function(x) {
1974
- var e = this._hasher, B = e.finalize(x);
1975
- e.reset();
1976
- var r = e.finalize(this._oKey.clone().concat(B));
1977
- return r;
1978
- }
1979
- });
1980
- })();
1981
- });
1982
- }(q0)), q0.exports;
1983
- }
1984
- var P0 = { exports: {} }, mx;
1985
- function yr() {
1986
- return mx || (mx = 1, function(S, P) {
1987
- (function(d, a, p) {
1988
- S.exports = a(O(), rx(), ex());
1989
- })(L, function(d) {
1990
- return function() {
1991
- var a = d, p = a.lib, D = p.Base, w = p.WordArray, u = a.algo, h = u.SHA256, x = u.HMAC, e = u.PBKDF2 = D.extend({
1992
- /**
1993
- * Configuration options.
1994
- *
1995
- * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
1996
- * @property {Hasher} hasher The hasher to use. Default: SHA256
1997
- * @property {number} iterations The number of iterations to perform. Default: 250000
1998
- */
1999
- cfg: D.extend({
2000
- keySize: 128 / 32,
2001
- hasher: h,
2002
- iterations: 25e4
2003
- }),
2004
- /**
2005
- * Initializes a newly created key derivation function.
2006
- *
2007
- * @param {Object} cfg (Optional) The configuration options to use for the derivation.
2008
- *
2009
- * @example
2010
- *
2011
- * var kdf = CryptoJS.algo.PBKDF2.create();
2012
- * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
2013
- * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
2014
- */
2015
- init: function(B) {
2016
- this.cfg = this.cfg.extend(B);
2017
- },
2018
- /**
2019
- * Computes the Password-Based Key Derivation Function 2.
2020
- *
2021
- * @param {WordArray|string} password The password.
2022
- * @param {WordArray|string} salt A salt.
2023
- *
2024
- * @return {WordArray} The derived key.
2025
- *
2026
- * @example
2027
- *
2028
- * var key = kdf.compute(password, salt);
2029
- */
2030
- compute: function(B, r) {
2031
- for (var s = this.cfg, o = x.create(s.hasher, B), c = w.create(), f = w.create([1]), l = c.words, t = f.words, n = s.keySize, i = s.iterations; l.length < n; ) {
2032
- var E = o.update(r).finalize(f);
2033
- o.reset();
2034
- for (var C = E.words, A = C.length, _ = E, R = 1; R < i; R++) {
2035
- _ = o.finalize(_), o.reset();
2036
- for (var v = _.words, F = 0; F < A; F++)
2037
- C[F] ^= v[F];
2038
- }
2039
- c.concat(E), t[0]++;
2040
- }
2041
- return c.sigBytes = n * 4, c;
2042
- }
2043
- });
2044
- a.PBKDF2 = function(B, r, s) {
2045
- return e.create(s).compute(B, r);
2046
- };
2047
- }(), d.PBKDF2;
2048
- });
2049
- }(P0)), P0.exports;
2050
- }
2051
- var W0 = { exports: {} }, Sx;
2052
- function r0() {
2053
- return Sx || (Sx = 1, function(S, P) {
2054
- (function(d, a, p) {
2055
- S.exports = a(O(), Mx(), ex());
2056
- })(L, function(d) {
2057
- return function() {
2058
- var a = d, p = a.lib, D = p.Base, w = p.WordArray, u = a.algo, h = u.MD5, x = u.EvpKDF = D.extend({
2059
- /**
2060
- * Configuration options.
2061
- *
2062
- * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
2063
- * @property {Hasher} hasher The hash algorithm to use. Default: MD5
2064
- * @property {number} iterations The number of iterations to perform. Default: 1
2065
- */
2066
- cfg: D.extend({
2067
- keySize: 128 / 32,
2068
- hasher: h,
2069
- iterations: 1
2070
- }),
2071
- /**
2072
- * Initializes a newly created key derivation function.
2073
- *
2074
- * @param {Object} cfg (Optional) The configuration options to use for the derivation.
2075
- *
2076
- * @example
2077
- *
2078
- * var kdf = CryptoJS.algo.EvpKDF.create();
2079
- * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
2080
- * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
2081
- */
2082
- init: function(e) {
2083
- this.cfg = this.cfg.extend(e);
2084
- },
2085
- /**
2086
- * Derives a key from a password.
2087
- *
2088
- * @param {WordArray|string} password The password.
2089
- * @param {WordArray|string} salt A salt.
2090
- *
2091
- * @return {WordArray} The derived key.
2092
- *
2093
- * @example
2094
- *
2095
- * var key = kdf.compute(password, salt);
2096
- */
2097
- compute: function(e, B) {
2098
- for (var r, s = this.cfg, o = s.hasher.create(), c = w.create(), f = c.words, l = s.keySize, t = s.iterations; f.length < l; ) {
2099
- r && o.update(r), r = o.update(e).finalize(B), o.reset();
2100
- for (var n = 1; n < t; n++)
2101
- r = o.finalize(r), o.reset();
2102
- c.concat(r);
2103
- }
2104
- return c.sigBytes = l * 4, c;
2105
- }
2106
- });
2107
- a.EvpKDF = function(e, B, r) {
2108
- return x.create(r).compute(e, B);
2109
- };
2110
- }(), d.EvpKDF;
2111
- });
2112
- }(W0)), W0.exports;
2113
- }
2114
- var L0 = { exports: {} }, Rx;
2115
- function Z() {
2116
- return Rx || (Rx = 1, function(S, P) {
2117
- (function(d, a, p) {
2118
- S.exports = a(O(), r0());
2119
- })(L, function(d) {
2120
- d.lib.Cipher || function(a) {
2121
- var p = d, D = p.lib, w = D.Base, u = D.WordArray, h = D.BufferedBlockAlgorithm, x = p.enc;
2122
- x.Utf8;
2123
- var e = x.Base64, B = p.algo, r = B.EvpKDF, s = D.Cipher = h.extend({
2124
- /**
2125
- * Configuration options.
2126
- *
2127
- * @property {WordArray} iv The IV to use for this operation.
2128
- */
2129
- cfg: w.extend(),
2130
- /**
2131
- * Creates this cipher in encryption mode.
2132
- *
2133
- * @param {WordArray} key The key.
2134
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
2135
- *
2136
- * @return {Cipher} A cipher instance.
2137
- *
2138
- * @static
2139
- *
2140
- * @example
2141
- *
2142
- * var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
2143
- */
2144
- createEncryptor: function(v, F) {
2145
- return this.create(this._ENC_XFORM_MODE, v, F);
2146
- },
2147
- /**
2148
- * Creates this cipher in decryption mode.
2149
- *
2150
- * @param {WordArray} key The key.
2151
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
2152
- *
2153
- * @return {Cipher} A cipher instance.
2154
- *
2155
- * @static
2156
- *
2157
- * @example
2158
- *
2159
- * var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
2160
- */
2161
- createDecryptor: function(v, F) {
2162
- return this.create(this._DEC_XFORM_MODE, v, F);
2163
- },
2164
- /**
2165
- * Initializes a newly created cipher.
2166
- *
2167
- * @param {number} xformMode Either the encryption or decryption transormation mode constant.
2168
- * @param {WordArray} key The key.
2169
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
2170
- *
2171
- * @example
2172
- *
2173
- * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
2174
- */
2175
- init: function(v, F, y) {
2176
- this.cfg = this.cfg.extend(y), this._xformMode = v, this._key = F, this.reset();
2177
- },
2178
- /**
2179
- * Resets this cipher to its initial state.
2180
- *
2181
- * @example
2182
- *
2183
- * cipher.reset();
2184
- */
2185
- reset: function() {
2186
- h.reset.call(this), this._doReset();
2187
- },
2188
- /**
2189
- * Adds data to be encrypted or decrypted.
2190
- *
2191
- * @param {WordArray|string} dataUpdate The data to encrypt or decrypt.
2192
- *
2193
- * @return {WordArray} The data after processing.
2194
- *
2195
- * @example
2196
- *
2197
- * var encrypted = cipher.process('data');
2198
- * var encrypted = cipher.process(wordArray);
2199
- */
2200
- process: function(v) {
2201
- return this._append(v), this._process();
2202
- },
2203
- /**
2204
- * Finalizes the encryption or decryption process.
2205
- * Note that the finalize operation is effectively a destructive, read-once operation.
2206
- *
2207
- * @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.
2208
- *
2209
- * @return {WordArray} The data after final processing.
2210
- *
2211
- * @example
2212
- *
2213
- * var encrypted = cipher.finalize();
2214
- * var encrypted = cipher.finalize('data');
2215
- * var encrypted = cipher.finalize(wordArray);
2216
- */
2217
- finalize: function(v) {
2218
- v && this._append(v);
2219
- var F = this._doFinalize();
2220
- return F;
2221
- },
2222
- keySize: 128 / 32,
2223
- ivSize: 128 / 32,
2224
- _ENC_XFORM_MODE: 1,
2225
- _DEC_XFORM_MODE: 2,
2226
- /**
2227
- * Creates shortcut functions to a cipher's object interface.
2228
- *
2229
- * @param {Cipher} cipher The cipher to create a helper for.
2230
- *
2231
- * @return {Object} An object with encrypt and decrypt shortcut functions.
2232
- *
2233
- * @static
2234
- *
2235
- * @example
2236
- *
2237
- * var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
2238
- */
2239
- _createHelper: /* @__PURE__ */ function() {
2240
- function v(F) {
2241
- return typeof F == "string" ? R : C;
2242
- }
2243
- return function(F) {
2244
- return {
2245
- encrypt: function(y, g, z) {
2246
- return v(g).encrypt(F, y, g, z);
2247
- },
2248
- decrypt: function(y, g, z) {
2249
- return v(g).decrypt(F, y, g, z);
2250
- }
2251
- };
2252
- };
2253
- }()
2254
- });
2255
- D.StreamCipher = s.extend({
2256
- _doFinalize: function() {
2257
- var v = this._process(!0);
2258
- return v;
2259
- },
2260
- blockSize: 1
2261
- });
2262
- var o = p.mode = {}, c = D.BlockCipherMode = w.extend({
2263
- /**
2264
- * Creates this mode for encryption.
2265
- *
2266
- * @param {Cipher} cipher A block cipher instance.
2267
- * @param {Array} iv The IV words.
2268
- *
2269
- * @static
2270
- *
2271
- * @example
2272
- *
2273
- * var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
2274
- */
2275
- createEncryptor: function(v, F) {
2276
- return this.Encryptor.create(v, F);
2277
- },
2278
- /**
2279
- * Creates this mode for decryption.
2280
- *
2281
- * @param {Cipher} cipher A block cipher instance.
2282
- * @param {Array} iv The IV words.
2283
- *
2284
- * @static
2285
- *
2286
- * @example
2287
- *
2288
- * var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
2289
- */
2290
- createDecryptor: function(v, F) {
2291
- return this.Decryptor.create(v, F);
2292
- },
2293
- /**
2294
- * Initializes a newly created mode.
2295
- *
2296
- * @param {Cipher} cipher A block cipher instance.
2297
- * @param {Array} iv The IV words.
2298
- *
2299
- * @example
2300
- *
2301
- * var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
2302
- */
2303
- init: function(v, F) {
2304
- this._cipher = v, this._iv = F;
2305
- }
2306
- }), f = o.CBC = function() {
2307
- var v = c.extend();
2308
- v.Encryptor = v.extend({
2309
- /**
2310
- * Processes the data block at offset.
2311
- *
2312
- * @param {Array} words The data words to operate on.
2313
- * @param {number} offset The offset where the block starts.
2314
- *
2315
- * @example
2316
- *
2317
- * mode.processBlock(data.words, offset);
2318
- */
2319
- processBlock: function(y, g) {
2320
- var z = this._cipher, q = z.blockSize;
2321
- F.call(this, y, g, q), z.encryptBlock(y, g), this._prevBlock = y.slice(g, g + q);
2322
- }
2323
- }), v.Decryptor = v.extend({
2324
- /**
2325
- * Processes the data block at offset.
2326
- *
2327
- * @param {Array} words The data words to operate on.
2328
- * @param {number} offset The offset where the block starts.
2329
- *
2330
- * @example
2331
- *
2332
- * mode.processBlock(data.words, offset);
2333
- */
2334
- processBlock: function(y, g) {
2335
- var z = this._cipher, q = z.blockSize, W = y.slice(g, g + q);
2336
- z.decryptBlock(y, g), F.call(this, y, g, q), this._prevBlock = W;
2337
- }
2338
- });
2339
- function F(y, g, z) {
2340
- var q, W = this._iv;
2341
- W ? (q = W, this._iv = a) : q = this._prevBlock;
2342
- for (var U = 0; U < z; U++)
2343
- y[g + U] ^= q[U];
2344
- }
2345
- return v;
2346
- }(), l = p.pad = {}, t = l.Pkcs7 = {
2347
- /**
2348
- * Pads data using the algorithm defined in PKCS #5/7.
2349
- *
2350
- * @param {WordArray} data The data to pad.
2351
- * @param {number} blockSize The multiple that the data should be padded to.
2352
- *
2353
- * @static
2354
- *
2355
- * @example
2356
- *
2357
- * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
2358
- */
2359
- pad: function(v, F) {
2360
- for (var y = F * 4, g = y - v.sigBytes % y, z = g << 24 | g << 16 | g << 8 | g, q = [], W = 0; W < g; W += 4)
2361
- q.push(z);
2362
- var U = u.create(q, g);
2363
- v.concat(U);
2364
- },
2365
- /**
2366
- * Unpads data that had been padded using the algorithm defined in PKCS #5/7.
2367
- *
2368
- * @param {WordArray} data The data to unpad.
2369
- *
2370
- * @static
2371
- *
2372
- * @example
2373
- *
2374
- * CryptoJS.pad.Pkcs7.unpad(wordArray);
2375
- */
2376
- unpad: function(v) {
2377
- var F = v.words[v.sigBytes - 1 >>> 2] & 255;
2378
- v.sigBytes -= F;
2379
- }
2380
- };
2381
- D.BlockCipher = s.extend({
2382
- /**
2383
- * Configuration options.
2384
- *
2385
- * @property {Mode} mode The block mode to use. Default: CBC
2386
- * @property {Padding} padding The padding strategy to use. Default: Pkcs7
2387
- */
2388
- cfg: s.cfg.extend({
2389
- mode: f,
2390
- padding: t
2391
- }),
2392
- reset: function() {
2393
- var v;
2394
- s.reset.call(this);
2395
- var F = this.cfg, y = F.iv, g = F.mode;
2396
- this._xformMode == this._ENC_XFORM_MODE ? v = g.createEncryptor : (v = g.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == v ? this._mode.init(this, y && y.words) : (this._mode = v.call(g, this, y && y.words), this._mode.__creator = v);
2397
- },
2398
- _doProcessBlock: function(v, F) {
2399
- this._mode.processBlock(v, F);
2400
- },
2401
- _doFinalize: function() {
2402
- var v, F = this.cfg.padding;
2403
- return this._xformMode == this._ENC_XFORM_MODE ? (F.pad(this._data, this.blockSize), v = this._process(!0)) : (v = this._process(!0), F.unpad(v)), v;
2404
- },
2405
- blockSize: 128 / 32
2406
- });
2407
- var n = D.CipherParams = w.extend({
2408
- /**
2409
- * Initializes a newly created cipher params object.
2410
- *
2411
- * @param {Object} cipherParams An object with any of the possible cipher parameters.
2412
- *
2413
- * @example
2414
- *
2415
- * var cipherParams = CryptoJS.lib.CipherParams.create({
2416
- * ciphertext: ciphertextWordArray,
2417
- * key: keyWordArray,
2418
- * iv: ivWordArray,
2419
- * salt: saltWordArray,
2420
- * algorithm: CryptoJS.algo.AES,
2421
- * mode: CryptoJS.mode.CBC,
2422
- * padding: CryptoJS.pad.PKCS7,
2423
- * blockSize: 4,
2424
- * formatter: CryptoJS.format.OpenSSL
2425
- * });
2426
- */
2427
- init: function(v) {
2428
- this.mixIn(v);
2429
- },
2430
- /**
2431
- * Converts this cipher params object to a string.
2432
- *
2433
- * @param {Format} formatter (Optional) The formatting strategy to use.
2434
- *
2435
- * @return {string} The stringified cipher params.
2436
- *
2437
- * @throws Error If neither the formatter nor the default formatter is set.
2438
- *
2439
- * @example
2440
- *
2441
- * var string = cipherParams + '';
2442
- * var string = cipherParams.toString();
2443
- * var string = cipherParams.toString(CryptoJS.format.OpenSSL);
2444
- */
2445
- toString: function(v) {
2446
- return (v || this.formatter).stringify(this);
2447
- }
2448
- }), i = p.format = {}, E = i.OpenSSL = {
2449
- /**
2450
- * Converts a cipher params object to an OpenSSL-compatible string.
2451
- *
2452
- * @param {CipherParams} cipherParams The cipher params object.
2453
- *
2454
- * @return {string} The OpenSSL-compatible string.
2455
- *
2456
- * @static
2457
- *
2458
- * @example
2459
- *
2460
- * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
2461
- */
2462
- stringify: function(v) {
2463
- var F, y = v.ciphertext, g = v.salt;
2464
- return g ? F = u.create([1398893684, 1701076831]).concat(g).concat(y) : F = y, F.toString(e);
2465
- },
2466
- /**
2467
- * Converts an OpenSSL-compatible string to a cipher params object.
2468
- *
2469
- * @param {string} openSSLStr The OpenSSL-compatible string.
2470
- *
2471
- * @return {CipherParams} The cipher params object.
2472
- *
2473
- * @static
2474
- *
2475
- * @example
2476
- *
2477
- * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
2478
- */
2479
- parse: function(v) {
2480
- var F, y = e.parse(v), g = y.words;
2481
- return g[0] == 1398893684 && g[1] == 1701076831 && (F = u.create(g.slice(2, 4)), g.splice(0, 4), y.sigBytes -= 16), n.create({ ciphertext: y, salt: F });
2482
- }
2483
- }, C = D.SerializableCipher = w.extend({
2484
- /**
2485
- * Configuration options.
2486
- *
2487
- * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
2488
- */
2489
- cfg: w.extend({
2490
- format: E
2491
- }),
2492
- /**
2493
- * Encrypts a message.
2494
- *
2495
- * @param {Cipher} cipher The cipher algorithm to use.
2496
- * @param {WordArray|string} message The message to encrypt.
2497
- * @param {WordArray} key The key.
2498
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
2499
- *
2500
- * @return {CipherParams} A cipher params object.
2501
- *
2502
- * @static
2503
- *
2504
- * @example
2505
- *
2506
- * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);
2507
- * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
2508
- * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
2509
- */
2510
- encrypt: function(v, F, y, g) {
2511
- g = this.cfg.extend(g);
2512
- var z = v.createEncryptor(y, g), q = z.finalize(F), W = z.cfg;
2513
- return n.create({
2514
- ciphertext: q,
2515
- key: y,
2516
- iv: W.iv,
2517
- algorithm: v,
2518
- mode: W.mode,
2519
- padding: W.padding,
2520
- blockSize: v.blockSize,
2521
- formatter: g.format
2522
- });
2523
- },
2524
- /**
2525
- * Decrypts serialized ciphertext.
2526
- *
2527
- * @param {Cipher} cipher The cipher algorithm to use.
2528
- * @param {CipherParams|string} ciphertext The ciphertext to decrypt.
2529
- * @param {WordArray} key The key.
2530
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
2531
- *
2532
- * @return {WordArray} The plaintext.
2533
- *
2534
- * @static
2535
- *
2536
- * @example
2537
- *
2538
- * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
2539
- * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
2540
- */
2541
- decrypt: function(v, F, y, g) {
2542
- g = this.cfg.extend(g), F = this._parse(F, g.format);
2543
- var z = v.createDecryptor(y, g).finalize(F.ciphertext);
2544
- return z;
2545
- },
2546
- /**
2547
- * Converts serialized ciphertext to CipherParams,
2548
- * else assumed CipherParams already and returns ciphertext unchanged.
2549
- *
2550
- * @param {CipherParams|string} ciphertext The ciphertext.
2551
- * @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.
2552
- *
2553
- * @return {CipherParams} The unserialized ciphertext.
2554
- *
2555
- * @static
2556
- *
2557
- * @example
2558
- *
2559
- * var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
2560
- */
2561
- _parse: function(v, F) {
2562
- return typeof v == "string" ? F.parse(v, this) : v;
2563
- }
2564
- }), A = p.kdf = {}, _ = A.OpenSSL = {
2565
- /**
2566
- * Derives a key and IV from a password.
2567
- *
2568
- * @param {string} password The password to derive from.
2569
- * @param {number} keySize The size in words of the key to generate.
2570
- * @param {number} ivSize The size in words of the IV to generate.
2571
- * @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.
2572
- *
2573
- * @return {CipherParams} A cipher params object with the key, IV, and salt.
2574
- *
2575
- * @static
2576
- *
2577
- * @example
2578
- *
2579
- * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
2580
- * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
2581
- */
2582
- execute: function(v, F, y, g, z) {
2583
- if (g || (g = u.random(64 / 8)), z)
2584
- var q = r.create({ keySize: F + y, hasher: z }).compute(v, g);
2585
- else
2586
- var q = r.create({ keySize: F + y }).compute(v, g);
2587
- var W = u.create(q.words.slice(F), y * 4);
2588
- return q.sigBytes = F * 4, n.create({ key: q, iv: W, salt: g });
2589
- }
2590
- }, R = D.PasswordBasedCipher = C.extend({
2591
- /**
2592
- * Configuration options.
2593
- *
2594
- * @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
2595
- */
2596
- cfg: C.cfg.extend({
2597
- kdf: _
2598
- }),
2599
- /**
2600
- * Encrypts a message using a password.
2601
- *
2602
- * @param {Cipher} cipher The cipher algorithm to use.
2603
- * @param {WordArray|string} message The message to encrypt.
2604
- * @param {string} password The password.
2605
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
2606
- *
2607
- * @return {CipherParams} A cipher params object.
2608
- *
2609
- * @static
2610
- *
2611
- * @example
2612
- *
2613
- * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
2614
- * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
2615
- */
2616
- encrypt: function(v, F, y, g) {
2617
- g = this.cfg.extend(g);
2618
- var z = g.kdf.execute(y, v.keySize, v.ivSize, g.salt, g.hasher);
2619
- g.iv = z.iv;
2620
- var q = C.encrypt.call(this, v, F, z.key, g);
2621
- return q.mixIn(z), q;
2622
- },
2623
- /**
2624
- * Decrypts serialized ciphertext using a password.
2625
- *
2626
- * @param {Cipher} cipher The cipher algorithm to use.
2627
- * @param {CipherParams|string} ciphertext The ciphertext to decrypt.
2628
- * @param {string} password The password.
2629
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
2630
- *
2631
- * @return {WordArray} The plaintext.
2632
- *
2633
- * @static
2634
- *
2635
- * @example
2636
- *
2637
- * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
2638
- * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
2639
- */
2640
- decrypt: function(v, F, y, g) {
2641
- g = this.cfg.extend(g), F = this._parse(F, g.format);
2642
- var z = g.kdf.execute(y, v.keySize, v.ivSize, F.salt, g.hasher);
2643
- g.iv = z.iv;
2644
- var q = C.decrypt.call(this, v, F, z.key, g);
2645
- return q;
2646
- }
2647
- });
2648
- }();
2649
- });
2650
- }(L0)), L0.exports;
2651
- }
2652
- var T0 = { exports: {} }, zx;
2653
- function gr() {
2654
- return zx || (zx = 1, function(S, P) {
2655
- (function(d, a, p) {
2656
- S.exports = a(O(), Z());
2657
- })(L, function(d) {
2658
- return d.mode.CFB = function() {
2659
- var a = d.lib.BlockCipherMode.extend();
2660
- a.Encryptor = a.extend({
2661
- processBlock: function(D, w) {
2662
- var u = this._cipher, h = u.blockSize;
2663
- p.call(this, D, w, h, u), this._prevBlock = D.slice(w, w + h);
2664
- }
2665
- }), a.Decryptor = a.extend({
2666
- processBlock: function(D, w) {
2667
- var u = this._cipher, h = u.blockSize, x = D.slice(w, w + h);
2668
- p.call(this, D, w, h, u), this._prevBlock = x;
2669
- }
2670
- });
2671
- function p(D, w, u, h) {
2672
- var x, e = this._iv;
2673
- e ? (x = e.slice(0), this._iv = void 0) : x = this._prevBlock, h.encryptBlock(x, 0);
2674
- for (var B = 0; B < u; B++)
2675
- D[w + B] ^= x[B];
2676
- }
2677
- return a;
2678
- }(), d.mode.CFB;
2679
- });
2680
- }(T0)), T0.exports;
2681
- }
2682
- var O0 = { exports: {} }, qx;
2683
- function kr() {
2684
- return qx || (qx = 1, function(S, P) {
2685
- (function(d, a, p) {
2686
- S.exports = a(O(), Z());
2687
- })(L, function(d) {
2688
- return d.mode.CTR = function() {
2689
- var a = d.lib.BlockCipherMode.extend(), p = a.Encryptor = a.extend({
2690
- processBlock: function(D, w) {
2691
- var u = this._cipher, h = u.blockSize, x = this._iv, e = this._counter;
2692
- x && (e = this._counter = x.slice(0), this._iv = void 0);
2693
- var B = e.slice(0);
2694
- u.encryptBlock(B, 0), e[h - 1] = e[h - 1] + 1 | 0;
2695
- for (var r = 0; r < h; r++)
2696
- D[w + r] ^= B[r];
2697
- }
2698
- });
2699
- return a.Decryptor = p, a;
2700
- }(), d.mode.CTR;
2701
- });
2702
- }(O0)), O0.exports;
2703
- }
2704
- var I0 = { exports: {} }, Px;
2705
- function wr() {
2706
- return Px || (Px = 1, function(S, P) {
2707
- (function(d, a, p) {
2708
- S.exports = a(O(), Z());
2709
- })(L, function(d) {
2710
- /** @preserve
2711
- * Counter block mode compatible with Dr Brian Gladman fileenc.c
2712
- * derived from CryptoJS.mode.CTR
2713
- * Jan Hruby jhruby.web@gmail.com
2714
- */
2715
- return d.mode.CTRGladman = function() {
2716
- var a = d.lib.BlockCipherMode.extend();
2717
- function p(u) {
2718
- if ((u >> 24 & 255) === 255) {
2719
- var h = u >> 16 & 255, x = u >> 8 & 255, e = u & 255;
2720
- h === 255 ? (h = 0, x === 255 ? (x = 0, e === 255 ? e = 0 : ++e) : ++x) : ++h, u = 0, u += h << 16, u += x << 8, u += e;
2721
- } else
2722
- u += 1 << 24;
2723
- return u;
2724
- }
2725
- function D(u) {
2726
- return (u[0] = p(u[0])) === 0 && (u[1] = p(u[1])), u;
2727
- }
2728
- var w = a.Encryptor = a.extend({
2729
- processBlock: function(u, h) {
2730
- var x = this._cipher, e = x.blockSize, B = this._iv, r = this._counter;
2731
- B && (r = this._counter = B.slice(0), this._iv = void 0), D(r);
2732
- var s = r.slice(0);
2733
- x.encryptBlock(s, 0);
2734
- for (var o = 0; o < e; o++)
2735
- u[h + o] ^= s[o];
2736
- }
2737
- });
2738
- return a.Decryptor = w, a;
2739
- }(), d.mode.CTRGladman;
2740
- });
2741
- }(I0)), I0.exports;
2742
- }
2743
- var N0 = { exports: {} }, Wx;
2744
- function Hr() {
2745
- return Wx || (Wx = 1, function(S, P) {
2746
- (function(d, a, p) {
2747
- S.exports = a(O(), Z());
2748
- })(L, function(d) {
2749
- return d.mode.OFB = function() {
2750
- var a = d.lib.BlockCipherMode.extend(), p = a.Encryptor = a.extend({
2751
- processBlock: function(D, w) {
2752
- var u = this._cipher, h = u.blockSize, x = this._iv, e = this._keystream;
2753
- x && (e = this._keystream = x.slice(0), this._iv = void 0), u.encryptBlock(e, 0);
2754
- for (var B = 0; B < h; B++)
2755
- D[w + B] ^= e[B];
2756
- }
2757
- });
2758
- return a.Decryptor = p, a;
2759
- }(), d.mode.OFB;
2760
- });
2761
- }(N0)), N0.exports;
2762
- }
2763
- var X0 = { exports: {} }, Lx;
2764
- function mr() {
2765
- return Lx || (Lx = 1, function(S, P) {
2766
- (function(d, a, p) {
2767
- S.exports = a(O(), Z());
2768
- })(L, function(d) {
2769
- return d.mode.ECB = function() {
2770
- var a = d.lib.BlockCipherMode.extend();
2771
- return a.Encryptor = a.extend({
2772
- processBlock: function(p, D) {
2773
- this._cipher.encryptBlock(p, D);
2774
- }
2775
- }), a.Decryptor = a.extend({
2776
- processBlock: function(p, D) {
2777
- this._cipher.decryptBlock(p, D);
2778
- }
2779
- }), a;
2780
- }(), d.mode.ECB;
2781
- });
2782
- }(X0)), X0.exports;
2783
- }
2784
- var K0 = { exports: {} }, Tx;
2785
- function Sr() {
2786
- return Tx || (Tx = 1, function(S, P) {
2787
- (function(d, a, p) {
2788
- S.exports = a(O(), Z());
2789
- })(L, function(d) {
2790
- return d.pad.AnsiX923 = {
2791
- pad: function(a, p) {
2792
- var D = a.sigBytes, w = p * 4, u = w - D % w, h = D + u - 1;
2793
- a.clamp(), a.words[h >>> 2] |= u << 24 - h % 4 * 8, a.sigBytes += u;
2794
- },
2795
- unpad: function(a) {
2796
- var p = a.words[a.sigBytes - 1 >>> 2] & 255;
2797
- a.sigBytes -= p;
2798
- }
2799
- }, d.pad.Ansix923;
2800
- });
2801
- }(K0)), K0.exports;
2802
- }
2803
- var U0 = { exports: {} }, Ox;
2804
- function Rr() {
2805
- return Ox || (Ox = 1, function(S, P) {
2806
- (function(d, a, p) {
2807
- S.exports = a(O(), Z());
2808
- })(L, function(d) {
2809
- return d.pad.Iso10126 = {
2810
- pad: function(a, p) {
2811
- var D = p * 4, w = D - a.sigBytes % D;
2812
- a.concat(d.lib.WordArray.random(w - 1)).concat(d.lib.WordArray.create([w << 24], 1));
2813
- },
2814
- unpad: function(a) {
2815
- var p = a.words[a.sigBytes - 1 >>> 2] & 255;
2816
- a.sigBytes -= p;
2817
- }
2818
- }, d.pad.Iso10126;
2819
- });
2820
- }(U0)), U0.exports;
2821
- }
2822
- var G0 = { exports: {} }, Ix;
2823
- function zr() {
2824
- return Ix || (Ix = 1, function(S, P) {
2825
- (function(d, a, p) {
2826
- S.exports = a(O(), Z());
2827
- })(L, function(d) {
2828
- return d.pad.Iso97971 = {
2829
- pad: function(a, p) {
2830
- a.concat(d.lib.WordArray.create([2147483648], 1)), d.pad.ZeroPadding.pad(a, p);
2831
- },
2832
- unpad: function(a) {
2833
- d.pad.ZeroPadding.unpad(a), a.sigBytes--;
2834
- }
2835
- }, d.pad.Iso97971;
2836
- });
2837
- }(G0)), G0.exports;
2838
- }
2839
- var Z0 = { exports: {} }, Nx;
2840
- function qr() {
2841
- return Nx || (Nx = 1, function(S, P) {
2842
- (function(d, a, p) {
2843
- S.exports = a(O(), Z());
2844
- })(L, function(d) {
2845
- return d.pad.ZeroPadding = {
2846
- pad: function(a, p) {
2847
- var D = p * 4;
2848
- a.clamp(), a.sigBytes += D - (a.sigBytes % D || D);
2849
- },
2850
- unpad: function(a) {
2851
- for (var p = a.words, D = a.sigBytes - 1, D = a.sigBytes - 1; D >= 0; D--)
2852
- if (p[D >>> 2] >>> 24 - D % 4 * 8 & 255) {
2853
- a.sigBytes = D + 1;
2854
- break;
2855
- }
2856
- }
2857
- }, d.pad.ZeroPadding;
2858
- });
2859
- }(Z0)), Z0.exports;
2860
- }
2861
- var $0 = { exports: {} }, Xx;
2862
- function Pr() {
2863
- return Xx || (Xx = 1, function(S, P) {
2864
- (function(d, a, p) {
2865
- S.exports = a(O(), Z());
2866
- })(L, function(d) {
2867
- return d.pad.NoPadding = {
2868
- pad: function() {
2869
- },
2870
- unpad: function() {
2871
- }
2872
- }, d.pad.NoPadding;
2873
- });
2874
- }($0)), $0.exports;
2875
- }
2876
- var j0 = { exports: {} }, Kx;
2877
- function Wr() {
2878
- return Kx || (Kx = 1, function(S, P) {
2879
- (function(d, a, p) {
2880
- S.exports = a(O(), Z());
2881
- })(L, function(d) {
2882
- return function(a) {
2883
- var p = d, D = p.lib, w = D.CipherParams, u = p.enc, h = u.Hex, x = p.format;
2884
- x.Hex = {
2885
- /**
2886
- * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
2887
- *
2888
- * @param {CipherParams} cipherParams The cipher params object.
2889
- *
2890
- * @return {string} The hexadecimally encoded string.
2891
- *
2892
- * @static
2893
- *
2894
- * @example
2895
- *
2896
- * var hexString = CryptoJS.format.Hex.stringify(cipherParams);
2897
- */
2898
- stringify: function(e) {
2899
- return e.ciphertext.toString(h);
2900
- },
2901
- /**
2902
- * Converts a hexadecimally encoded ciphertext string to a cipher params object.
2903
- *
2904
- * @param {string} input The hexadecimally encoded string.
2905
- *
2906
- * @return {CipherParams} The cipher params object.
2907
- *
2908
- * @static
2909
- *
2910
- * @example
2911
- *
2912
- * var cipherParams = CryptoJS.format.Hex.parse(hexString);
2913
- */
2914
- parse: function(e) {
2915
- var B = h.parse(e);
2916
- return w.create({ ciphertext: B });
2917
- }
2918
- };
2919
- }(), d.format.Hex;
2920
- });
2921
- }(j0)), j0.exports;
2922
- }
2923
- var Q0 = { exports: {} }, Ux;
2924
- function Lr() {
2925
- return Ux || (Ux = 1, function(S, P) {
2926
- (function(d, a, p) {
2927
- S.exports = a(O(), e0(), t0(), r0(), Z());
2928
- })(L, function(d) {
2929
- return function() {
2930
- var a = d, p = a.lib, D = p.BlockCipher, w = a.algo, u = [], h = [], x = [], e = [], B = [], r = [], s = [], o = [], c = [], f = [];
2931
- (function() {
2932
- for (var n = [], i = 0; i < 256; i++)
2933
- i < 128 ? n[i] = i << 1 : n[i] = i << 1 ^ 283;
2934
- for (var E = 0, C = 0, i = 0; i < 256; i++) {
2935
- var A = C ^ C << 1 ^ C << 2 ^ C << 3 ^ C << 4;
2936
- A = A >>> 8 ^ A & 255 ^ 99, u[E] = A, h[A] = E;
2937
- var _ = n[E], R = n[_], v = n[R], F = n[A] * 257 ^ A * 16843008;
2938
- x[E] = F << 24 | F >>> 8, e[E] = F << 16 | F >>> 16, B[E] = F << 8 | F >>> 24, r[E] = F;
2939
- var F = v * 16843009 ^ R * 65537 ^ _ * 257 ^ E * 16843008;
2940
- s[A] = F << 24 | F >>> 8, o[A] = F << 16 | F >>> 16, c[A] = F << 8 | F >>> 24, f[A] = F, E ? (E = _ ^ n[n[n[v ^ _]]], C ^= n[n[C]]) : E = C = 1;
2941
- }
2942
- })();
2943
- var l = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], t = w.AES = D.extend({
2944
- _doReset: function() {
2945
- var n;
2946
- if (!(this._nRounds && this._keyPriorReset === this._key)) {
2947
- for (var i = this._keyPriorReset = this._key, E = i.words, C = i.sigBytes / 4, A = this._nRounds = C + 6, _ = (A + 1) * 4, R = this._keySchedule = [], v = 0; v < _; v++)
2948
- v < C ? R[v] = E[v] : (n = R[v - 1], v % C ? C > 6 && v % C == 4 && (n = u[n >>> 24] << 24 | u[n >>> 16 & 255] << 16 | u[n >>> 8 & 255] << 8 | u[n & 255]) : (n = n << 8 | n >>> 24, n = u[n >>> 24] << 24 | u[n >>> 16 & 255] << 16 | u[n >>> 8 & 255] << 8 | u[n & 255], n ^= l[v / C | 0] << 24), R[v] = R[v - C] ^ n);
2949
- for (var F = this._invKeySchedule = [], y = 0; y < _; y++) {
2950
- var v = _ - y;
2951
- if (y % 4)
2952
- var n = R[v];
2953
- else
2954
- var n = R[v - 4];
2955
- y < 4 || v <= 4 ? F[y] = n : F[y] = s[u[n >>> 24]] ^ o[u[n >>> 16 & 255]] ^ c[u[n >>> 8 & 255]] ^ f[u[n & 255]];
2956
- }
2957
- }
2958
- },
2959
- encryptBlock: function(n, i) {
2960
- this._doCryptBlock(n, i, this._keySchedule, x, e, B, r, u);
2961
- },
2962
- decryptBlock: function(n, i) {
2963
- var E = n[i + 1];
2964
- n[i + 1] = n[i + 3], n[i + 3] = E, this._doCryptBlock(n, i, this._invKeySchedule, s, o, c, f, h);
2965
- var E = n[i + 1];
2966
- n[i + 1] = n[i + 3], n[i + 3] = E;
2967
- },
2968
- _doCryptBlock: function(n, i, E, C, A, _, R, v) {
2969
- for (var F = this._nRounds, y = n[i] ^ E[0], g = n[i + 1] ^ E[1], z = n[i + 2] ^ E[2], q = n[i + 3] ^ E[3], W = 4, U = 1; U < F; U++) {
2970
- var I = C[y >>> 24] ^ A[g >>> 16 & 255] ^ _[z >>> 8 & 255] ^ R[q & 255] ^ E[W++], X = C[g >>> 24] ^ A[z >>> 16 & 255] ^ _[q >>> 8 & 255] ^ R[y & 255] ^ E[W++], N = C[z >>> 24] ^ A[q >>> 16 & 255] ^ _[y >>> 8 & 255] ^ R[g & 255] ^ E[W++], b = C[q >>> 24] ^ A[y >>> 16 & 255] ^ _[g >>> 8 & 255] ^ R[z & 255] ^ E[W++];
2971
- y = I, g = X, z = N, q = b;
2972
- }
2973
- var I = (v[y >>> 24] << 24 | v[g >>> 16 & 255] << 16 | v[z >>> 8 & 255] << 8 | v[q & 255]) ^ E[W++], X = (v[g >>> 24] << 24 | v[z >>> 16 & 255] << 16 | v[q >>> 8 & 255] << 8 | v[y & 255]) ^ E[W++], N = (v[z >>> 24] << 24 | v[q >>> 16 & 255] << 16 | v[y >>> 8 & 255] << 8 | v[g & 255]) ^ E[W++], b = (v[q >>> 24] << 24 | v[y >>> 16 & 255] << 16 | v[g >>> 8 & 255] << 8 | v[z & 255]) ^ E[W++];
2974
- n[i] = I, n[i + 1] = X, n[i + 2] = N, n[i + 3] = b;
2975
- },
2976
- keySize: 256 / 32
2977
- });
2978
- a.AES = D._createHelper(t);
2979
- }(), d.AES;
2980
- });
2981
- }(Q0)), Q0.exports;
2982
- }
2983
- var Y0 = { exports: {} }, Gx;
2984
- function Tr() {
2985
- return Gx || (Gx = 1, function(S, P) {
2986
- (function(d, a, p) {
2987
- S.exports = a(O(), e0(), t0(), r0(), Z());
2988
- })(L, function(d) {
2989
- return function() {
2990
- var a = d, p = a.lib, D = p.WordArray, w = p.BlockCipher, u = a.algo, h = [
2991
- 57,
2992
- 49,
2993
- 41,
2994
- 33,
2995
- 25,
2996
- 17,
2997
- 9,
2998
- 1,
2999
- 58,
3000
- 50,
3001
- 42,
3002
- 34,
3003
- 26,
3004
- 18,
3005
- 10,
3006
- 2,
3007
- 59,
3008
- 51,
3009
- 43,
3010
- 35,
3011
- 27,
3012
- 19,
3013
- 11,
3014
- 3,
3015
- 60,
3016
- 52,
3017
- 44,
3018
- 36,
3019
- 63,
3020
- 55,
3021
- 47,
3022
- 39,
3023
- 31,
3024
- 23,
3025
- 15,
3026
- 7,
3027
- 62,
3028
- 54,
3029
- 46,
3030
- 38,
3031
- 30,
3032
- 22,
3033
- 14,
3034
- 6,
3035
- 61,
3036
- 53,
3037
- 45,
3038
- 37,
3039
- 29,
3040
- 21,
3041
- 13,
3042
- 5,
3043
- 28,
3044
- 20,
3045
- 12,
3046
- 4
3047
- ], x = [
3048
- 14,
3049
- 17,
3050
- 11,
3051
- 24,
3052
- 1,
3053
- 5,
3054
- 3,
3055
- 28,
3056
- 15,
3057
- 6,
3058
- 21,
3059
- 10,
3060
- 23,
3061
- 19,
3062
- 12,
3063
- 4,
3064
- 26,
3065
- 8,
3066
- 16,
3067
- 7,
3068
- 27,
3069
- 20,
3070
- 13,
3071
- 2,
3072
- 41,
3073
- 52,
3074
- 31,
3075
- 37,
3076
- 47,
3077
- 55,
3078
- 30,
3079
- 40,
3080
- 51,
3081
- 45,
3082
- 33,
3083
- 48,
3084
- 44,
3085
- 49,
3086
- 39,
3087
- 56,
3088
- 34,
3089
- 53,
3090
- 46,
3091
- 42,
3092
- 50,
3093
- 36,
3094
- 29,
3095
- 32
3096
- ], e = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], B = [
3097
- {
3098
- 0: 8421888,
3099
- 268435456: 32768,
3100
- 536870912: 8421378,
3101
- 805306368: 2,
3102
- 1073741824: 512,
3103
- 1342177280: 8421890,
3104
- 1610612736: 8389122,
3105
- 1879048192: 8388608,
3106
- 2147483648: 514,
3107
- 2415919104: 8389120,
3108
- 2684354560: 33280,
3109
- 2952790016: 8421376,
3110
- 3221225472: 32770,
3111
- 3489660928: 8388610,
3112
- 3758096384: 0,
3113
- 4026531840: 33282,
3114
- 134217728: 0,
3115
- 402653184: 8421890,
3116
- 671088640: 33282,
3117
- 939524096: 32768,
3118
- 1207959552: 8421888,
3119
- 1476395008: 512,
3120
- 1744830464: 8421378,
3121
- 2013265920: 2,
3122
- 2281701376: 8389120,
3123
- 2550136832: 33280,
3124
- 2818572288: 8421376,
3125
- 3087007744: 8389122,
3126
- 3355443200: 8388610,
3127
- 3623878656: 32770,
3128
- 3892314112: 514,
3129
- 4160749568: 8388608,
3130
- 1: 32768,
3131
- 268435457: 2,
3132
- 536870913: 8421888,
3133
- 805306369: 8388608,
3134
- 1073741825: 8421378,
3135
- 1342177281: 33280,
3136
- 1610612737: 512,
3137
- 1879048193: 8389122,
3138
- 2147483649: 8421890,
3139
- 2415919105: 8421376,
3140
- 2684354561: 8388610,
3141
- 2952790017: 33282,
3142
- 3221225473: 514,
3143
- 3489660929: 8389120,
3144
- 3758096385: 32770,
3145
- 4026531841: 0,
3146
- 134217729: 8421890,
3147
- 402653185: 8421376,
3148
- 671088641: 8388608,
3149
- 939524097: 512,
3150
- 1207959553: 32768,
3151
- 1476395009: 8388610,
3152
- 1744830465: 2,
3153
- 2013265921: 33282,
3154
- 2281701377: 32770,
3155
- 2550136833: 8389122,
3156
- 2818572289: 514,
3157
- 3087007745: 8421888,
3158
- 3355443201: 8389120,
3159
- 3623878657: 0,
3160
- 3892314113: 33280,
3161
- 4160749569: 8421378
3162
- },
3163
- {
3164
- 0: 1074282512,
3165
- 16777216: 16384,
3166
- 33554432: 524288,
3167
- 50331648: 1074266128,
3168
- 67108864: 1073741840,
3169
- 83886080: 1074282496,
3170
- 100663296: 1073758208,
3171
- 117440512: 16,
3172
- 134217728: 540672,
3173
- 150994944: 1073758224,
3174
- 167772160: 1073741824,
3175
- 184549376: 540688,
3176
- 201326592: 524304,
3177
- 218103808: 0,
3178
- 234881024: 16400,
3179
- 251658240: 1074266112,
3180
- 8388608: 1073758208,
3181
- 25165824: 540688,
3182
- 41943040: 16,
3183
- 58720256: 1073758224,
3184
- 75497472: 1074282512,
3185
- 92274688: 1073741824,
3186
- 109051904: 524288,
3187
- 125829120: 1074266128,
3188
- 142606336: 524304,
3189
- 159383552: 0,
3190
- 176160768: 16384,
3191
- 192937984: 1074266112,
3192
- 209715200: 1073741840,
3193
- 226492416: 540672,
3194
- 243269632: 1074282496,
3195
- 260046848: 16400,
3196
- 268435456: 0,
3197
- 285212672: 1074266128,
3198
- 301989888: 1073758224,
3199
- 318767104: 1074282496,
3200
- 335544320: 1074266112,
3201
- 352321536: 16,
3202
- 369098752: 540688,
3203
- 385875968: 16384,
3204
- 402653184: 16400,
3205
- 419430400: 524288,
3206
- 436207616: 524304,
3207
- 452984832: 1073741840,
3208
- 469762048: 540672,
3209
- 486539264: 1073758208,
3210
- 503316480: 1073741824,
3211
- 520093696: 1074282512,
3212
- 276824064: 540688,
3213
- 293601280: 524288,
3214
- 310378496: 1074266112,
3215
- 327155712: 16384,
3216
- 343932928: 1073758208,
3217
- 360710144: 1074282512,
3218
- 377487360: 16,
3219
- 394264576: 1073741824,
3220
- 411041792: 1074282496,
3221
- 427819008: 1073741840,
3222
- 444596224: 1073758224,
3223
- 461373440: 524304,
3224
- 478150656: 0,
3225
- 494927872: 16400,
3226
- 511705088: 1074266128,
3227
- 528482304: 540672
3228
- },
3229
- {
3230
- 0: 260,
3231
- 1048576: 0,
3232
- 2097152: 67109120,
3233
- 3145728: 65796,
3234
- 4194304: 65540,
3235
- 5242880: 67108868,
3236
- 6291456: 67174660,
3237
- 7340032: 67174400,
3238
- 8388608: 67108864,
3239
- 9437184: 67174656,
3240
- 10485760: 65792,
3241
- 11534336: 67174404,
3242
- 12582912: 67109124,
3243
- 13631488: 65536,
3244
- 14680064: 4,
3245
- 15728640: 256,
3246
- 524288: 67174656,
3247
- 1572864: 67174404,
3248
- 2621440: 0,
3249
- 3670016: 67109120,
3250
- 4718592: 67108868,
3251
- 5767168: 65536,
3252
- 6815744: 65540,
3253
- 7864320: 260,
3254
- 8912896: 4,
3255
- 9961472: 256,
3256
- 11010048: 67174400,
3257
- 12058624: 65796,
3258
- 13107200: 65792,
3259
- 14155776: 67109124,
3260
- 15204352: 67174660,
3261
- 16252928: 67108864,
3262
- 16777216: 67174656,
3263
- 17825792: 65540,
3264
- 18874368: 65536,
3265
- 19922944: 67109120,
3266
- 20971520: 256,
3267
- 22020096: 67174660,
3268
- 23068672: 67108868,
3269
- 24117248: 0,
3270
- 25165824: 67109124,
3271
- 26214400: 67108864,
3272
- 27262976: 4,
3273
- 28311552: 65792,
3274
- 29360128: 67174400,
3275
- 30408704: 260,
3276
- 31457280: 65796,
3277
- 32505856: 67174404,
3278
- 17301504: 67108864,
3279
- 18350080: 260,
3280
- 19398656: 67174656,
3281
- 20447232: 0,
3282
- 21495808: 65540,
3283
- 22544384: 67109120,
3284
- 23592960: 256,
3285
- 24641536: 67174404,
3286
- 25690112: 65536,
3287
- 26738688: 67174660,
3288
- 27787264: 65796,
3289
- 28835840: 67108868,
3290
- 29884416: 67109124,
3291
- 30932992: 67174400,
3292
- 31981568: 4,
3293
- 33030144: 65792
3294
- },
3295
- {
3296
- 0: 2151682048,
3297
- 65536: 2147487808,
3298
- 131072: 4198464,
3299
- 196608: 2151677952,
3300
- 262144: 0,
3301
- 327680: 4198400,
3302
- 393216: 2147483712,
3303
- 458752: 4194368,
3304
- 524288: 2147483648,
3305
- 589824: 4194304,
3306
- 655360: 64,
3307
- 720896: 2147487744,
3308
- 786432: 2151678016,
3309
- 851968: 4160,
3310
- 917504: 4096,
3311
- 983040: 2151682112,
3312
- 32768: 2147487808,
3313
- 98304: 64,
3314
- 163840: 2151678016,
3315
- 229376: 2147487744,
3316
- 294912: 4198400,
3317
- 360448: 2151682112,
3318
- 425984: 0,
3319
- 491520: 2151677952,
3320
- 557056: 4096,
3321
- 622592: 2151682048,
3322
- 688128: 4194304,
3323
- 753664: 4160,
3324
- 819200: 2147483648,
3325
- 884736: 4194368,
3326
- 950272: 4198464,
3327
- 1015808: 2147483712,
3328
- 1048576: 4194368,
3329
- 1114112: 4198400,
3330
- 1179648: 2147483712,
3331
- 1245184: 0,
3332
- 1310720: 4160,
3333
- 1376256: 2151678016,
3334
- 1441792: 2151682048,
3335
- 1507328: 2147487808,
3336
- 1572864: 2151682112,
3337
- 1638400: 2147483648,
3338
- 1703936: 2151677952,
3339
- 1769472: 4198464,
3340
- 1835008: 2147487744,
3341
- 1900544: 4194304,
3342
- 1966080: 64,
3343
- 2031616: 4096,
3344
- 1081344: 2151677952,
3345
- 1146880: 2151682112,
3346
- 1212416: 0,
3347
- 1277952: 4198400,
3348
- 1343488: 4194368,
3349
- 1409024: 2147483648,
3350
- 1474560: 2147487808,
3351
- 1540096: 64,
3352
- 1605632: 2147483712,
3353
- 1671168: 4096,
3354
- 1736704: 2147487744,
3355
- 1802240: 2151678016,
3356
- 1867776: 4160,
3357
- 1933312: 2151682048,
3358
- 1998848: 4194304,
3359
- 2064384: 4198464
3360
- },
3361
- {
3362
- 0: 128,
3363
- 4096: 17039360,
3364
- 8192: 262144,
3365
- 12288: 536870912,
3366
- 16384: 537133184,
3367
- 20480: 16777344,
3368
- 24576: 553648256,
3369
- 28672: 262272,
3370
- 32768: 16777216,
3371
- 36864: 537133056,
3372
- 40960: 536871040,
3373
- 45056: 553910400,
3374
- 49152: 553910272,
3375
- 53248: 0,
3376
- 57344: 17039488,
3377
- 61440: 553648128,
3378
- 2048: 17039488,
3379
- 6144: 553648256,
3380
- 10240: 128,
3381
- 14336: 17039360,
3382
- 18432: 262144,
3383
- 22528: 537133184,
3384
- 26624: 553910272,
3385
- 30720: 536870912,
3386
- 34816: 537133056,
3387
- 38912: 0,
3388
- 43008: 553910400,
3389
- 47104: 16777344,
3390
- 51200: 536871040,
3391
- 55296: 553648128,
3392
- 59392: 16777216,
3393
- 63488: 262272,
3394
- 65536: 262144,
3395
- 69632: 128,
3396
- 73728: 536870912,
3397
- 77824: 553648256,
3398
- 81920: 16777344,
3399
- 86016: 553910272,
3400
- 90112: 537133184,
3401
- 94208: 16777216,
3402
- 98304: 553910400,
3403
- 102400: 553648128,
3404
- 106496: 17039360,
3405
- 110592: 537133056,
3406
- 114688: 262272,
3407
- 118784: 536871040,
3408
- 122880: 0,
3409
- 126976: 17039488,
3410
- 67584: 553648256,
3411
- 71680: 16777216,
3412
- 75776: 17039360,
3413
- 79872: 537133184,
3414
- 83968: 536870912,
3415
- 88064: 17039488,
3416
- 92160: 128,
3417
- 96256: 553910272,
3418
- 100352: 262272,
3419
- 104448: 553910400,
3420
- 108544: 0,
3421
- 112640: 553648128,
3422
- 116736: 16777344,
3423
- 120832: 262144,
3424
- 124928: 537133056,
3425
- 129024: 536871040
3426
- },
3427
- {
3428
- 0: 268435464,
3429
- 256: 8192,
3430
- 512: 270532608,
3431
- 768: 270540808,
3432
- 1024: 268443648,
3433
- 1280: 2097152,
3434
- 1536: 2097160,
3435
- 1792: 268435456,
3436
- 2048: 0,
3437
- 2304: 268443656,
3438
- 2560: 2105344,
3439
- 2816: 8,
3440
- 3072: 270532616,
3441
- 3328: 2105352,
3442
- 3584: 8200,
3443
- 3840: 270540800,
3444
- 128: 270532608,
3445
- 384: 270540808,
3446
- 640: 8,
3447
- 896: 2097152,
3448
- 1152: 2105352,
3449
- 1408: 268435464,
3450
- 1664: 268443648,
3451
- 1920: 8200,
3452
- 2176: 2097160,
3453
- 2432: 8192,
3454
- 2688: 268443656,
3455
- 2944: 270532616,
3456
- 3200: 0,
3457
- 3456: 270540800,
3458
- 3712: 2105344,
3459
- 3968: 268435456,
3460
- 4096: 268443648,
3461
- 4352: 270532616,
3462
- 4608: 270540808,
3463
- 4864: 8200,
3464
- 5120: 2097152,
3465
- 5376: 268435456,
3466
- 5632: 268435464,
3467
- 5888: 2105344,
3468
- 6144: 2105352,
3469
- 6400: 0,
3470
- 6656: 8,
3471
- 6912: 270532608,
3472
- 7168: 8192,
3473
- 7424: 268443656,
3474
- 7680: 270540800,
3475
- 7936: 2097160,
3476
- 4224: 8,
3477
- 4480: 2105344,
3478
- 4736: 2097152,
3479
- 4992: 268435464,
3480
- 5248: 268443648,
3481
- 5504: 8200,
3482
- 5760: 270540808,
3483
- 6016: 270532608,
3484
- 6272: 270540800,
3485
- 6528: 270532616,
3486
- 6784: 8192,
3487
- 7040: 2105352,
3488
- 7296: 2097160,
3489
- 7552: 0,
3490
- 7808: 268435456,
3491
- 8064: 268443656
3492
- },
3493
- {
3494
- 0: 1048576,
3495
- 16: 33555457,
3496
- 32: 1024,
3497
- 48: 1049601,
3498
- 64: 34604033,
3499
- 80: 0,
3500
- 96: 1,
3501
- 112: 34603009,
3502
- 128: 33555456,
3503
- 144: 1048577,
3504
- 160: 33554433,
3505
- 176: 34604032,
3506
- 192: 34603008,
3507
- 208: 1025,
3508
- 224: 1049600,
3509
- 240: 33554432,
3510
- 8: 34603009,
3511
- 24: 0,
3512
- 40: 33555457,
3513
- 56: 34604032,
3514
- 72: 1048576,
3515
- 88: 33554433,
3516
- 104: 33554432,
3517
- 120: 1025,
3518
- 136: 1049601,
3519
- 152: 33555456,
3520
- 168: 34603008,
3521
- 184: 1048577,
3522
- 200: 1024,
3523
- 216: 34604033,
3524
- 232: 1,
3525
- 248: 1049600,
3526
- 256: 33554432,
3527
- 272: 1048576,
3528
- 288: 33555457,
3529
- 304: 34603009,
3530
- 320: 1048577,
3531
- 336: 33555456,
3532
- 352: 34604032,
3533
- 368: 1049601,
3534
- 384: 1025,
3535
- 400: 34604033,
3536
- 416: 1049600,
3537
- 432: 1,
3538
- 448: 0,
3539
- 464: 34603008,
3540
- 480: 33554433,
3541
- 496: 1024,
3542
- 264: 1049600,
3543
- 280: 33555457,
3544
- 296: 34603009,
3545
- 312: 1,
3546
- 328: 33554432,
3547
- 344: 1048576,
3548
- 360: 1025,
3549
- 376: 34604032,
3550
- 392: 33554433,
3551
- 408: 34603008,
3552
- 424: 0,
3553
- 440: 34604033,
3554
- 456: 1049601,
3555
- 472: 1024,
3556
- 488: 33555456,
3557
- 504: 1048577
3558
- },
3559
- {
3560
- 0: 134219808,
3561
- 1: 131072,
3562
- 2: 134217728,
3563
- 3: 32,
3564
- 4: 131104,
3565
- 5: 134350880,
3566
- 6: 134350848,
3567
- 7: 2048,
3568
- 8: 134348800,
3569
- 9: 134219776,
3570
- 10: 133120,
3571
- 11: 134348832,
3572
- 12: 2080,
3573
- 13: 0,
3574
- 14: 134217760,
3575
- 15: 133152,
3576
- 2147483648: 2048,
3577
- 2147483649: 134350880,
3578
- 2147483650: 134219808,
3579
- 2147483651: 134217728,
3580
- 2147483652: 134348800,
3581
- 2147483653: 133120,
3582
- 2147483654: 133152,
3583
- 2147483655: 32,
3584
- 2147483656: 134217760,
3585
- 2147483657: 2080,
3586
- 2147483658: 131104,
3587
- 2147483659: 134350848,
3588
- 2147483660: 0,
3589
- 2147483661: 134348832,
3590
- 2147483662: 134219776,
3591
- 2147483663: 131072,
3592
- 16: 133152,
3593
- 17: 134350848,
3594
- 18: 32,
3595
- 19: 2048,
3596
- 20: 134219776,
3597
- 21: 134217760,
3598
- 22: 134348832,
3599
- 23: 131072,
3600
- 24: 0,
3601
- 25: 131104,
3602
- 26: 134348800,
3603
- 27: 134219808,
3604
- 28: 134350880,
3605
- 29: 133120,
3606
- 30: 2080,
3607
- 31: 134217728,
3608
- 2147483664: 131072,
3609
- 2147483665: 2048,
3610
- 2147483666: 134348832,
3611
- 2147483667: 133152,
3612
- 2147483668: 32,
3613
- 2147483669: 134348800,
3614
- 2147483670: 134217728,
3615
- 2147483671: 134219808,
3616
- 2147483672: 134350880,
3617
- 2147483673: 134217760,
3618
- 2147483674: 134219776,
3619
- 2147483675: 0,
3620
- 2147483676: 133120,
3621
- 2147483677: 2080,
3622
- 2147483678: 131104,
3623
- 2147483679: 134350848
3624
- }
3625
- ], r = [
3626
- 4160749569,
3627
- 528482304,
3628
- 33030144,
3629
- 2064384,
3630
- 129024,
3631
- 8064,
3632
- 504,
3633
- 2147483679
3634
- ], s = u.DES = w.extend({
3635
- _doReset: function() {
3636
- for (var l = this._key, t = l.words, n = [], i = 0; i < 56; i++) {
3637
- var E = h[i] - 1;
3638
- n[i] = t[E >>> 5] >>> 31 - E % 32 & 1;
3639
- }
3640
- for (var C = this._subKeys = [], A = 0; A < 16; A++) {
3641
- for (var _ = C[A] = [], R = e[A], i = 0; i < 24; i++)
3642
- _[i / 6 | 0] |= n[(x[i] - 1 + R) % 28] << 31 - i % 6, _[4 + (i / 6 | 0)] |= n[28 + (x[i + 24] - 1 + R) % 28] << 31 - i % 6;
3643
- _[0] = _[0] << 1 | _[0] >>> 31;
3644
- for (var i = 1; i < 7; i++)
3645
- _[i] = _[i] >>> (i - 1) * 4 + 3;
3646
- _[7] = _[7] << 5 | _[7] >>> 27;
3647
- }
3648
- for (var v = this._invSubKeys = [], i = 0; i < 16; i++)
3649
- v[i] = C[15 - i];
3650
- },
3651
- encryptBlock: function(l, t) {
3652
- this._doCryptBlock(l, t, this._subKeys);
3653
- },
3654
- decryptBlock: function(l, t) {
3655
- this._doCryptBlock(l, t, this._invSubKeys);
3656
- },
3657
- _doCryptBlock: function(l, t, n) {
3658
- this._lBlock = l[t], this._rBlock = l[t + 1], o.call(this, 4, 252645135), o.call(this, 16, 65535), c.call(this, 2, 858993459), c.call(this, 8, 16711935), o.call(this, 1, 1431655765);
3659
- for (var i = 0; i < 16; i++) {
3660
- for (var E = n[i], C = this._lBlock, A = this._rBlock, _ = 0, R = 0; R < 8; R++)
3661
- _ |= B[R][((A ^ E[R]) & r[R]) >>> 0];
3662
- this._lBlock = A, this._rBlock = C ^ _;
3663
- }
3664
- var v = this._lBlock;
3665
- this._lBlock = this._rBlock, this._rBlock = v, o.call(this, 1, 1431655765), c.call(this, 8, 16711935), c.call(this, 2, 858993459), o.call(this, 16, 65535), o.call(this, 4, 252645135), l[t] = this._lBlock, l[t + 1] = this._rBlock;
3666
- },
3667
- keySize: 64 / 32,
3668
- ivSize: 64 / 32,
3669
- blockSize: 64 / 32
3670
- });
3671
- function o(l, t) {
3672
- var n = (this._lBlock >>> l ^ this._rBlock) & t;
3673
- this._rBlock ^= n, this._lBlock ^= n << l;
3674
- }
3675
- function c(l, t) {
3676
- var n = (this._rBlock >>> l ^ this._lBlock) & t;
3677
- this._lBlock ^= n, this._rBlock ^= n << l;
3678
- }
3679
- a.DES = w._createHelper(s);
3680
- var f = u.TripleDES = w.extend({
3681
- _doReset: function() {
3682
- var l = this._key, t = l.words;
3683
- if (t.length !== 2 && t.length !== 4 && t.length < 6)
3684
- throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
3685
- var n = t.slice(0, 2), i = t.length < 4 ? t.slice(0, 2) : t.slice(2, 4), E = t.length < 6 ? t.slice(0, 2) : t.slice(4, 6);
3686
- this._des1 = s.createEncryptor(D.create(n)), this._des2 = s.createEncryptor(D.create(i)), this._des3 = s.createEncryptor(D.create(E));
3687
- },
3688
- encryptBlock: function(l, t) {
3689
- this._des1.encryptBlock(l, t), this._des2.decryptBlock(l, t), this._des3.encryptBlock(l, t);
3690
- },
3691
- decryptBlock: function(l, t) {
3692
- this._des3.decryptBlock(l, t), this._des2.encryptBlock(l, t), this._des1.decryptBlock(l, t);
3693
- },
3694
- keySize: 192 / 32,
3695
- ivSize: 64 / 32,
3696
- blockSize: 64 / 32
3697
- });
3698
- a.TripleDES = w._createHelper(f);
3699
- }(), d.TripleDES;
3700
- });
3701
- }(Y0)), Y0.exports;
3702
- }
3703
- var M0 = { exports: {} }, Zx;
3704
- function Or() {
3705
- return Zx || (Zx = 1, function(S, P) {
3706
- (function(d, a, p) {
3707
- S.exports = a(O(), e0(), t0(), r0(), Z());
3708
- })(L, function(d) {
3709
- return function() {
3710
- var a = d, p = a.lib, D = p.StreamCipher, w = a.algo, u = w.RC4 = D.extend({
3711
- _doReset: function() {
3712
- for (var e = this._key, B = e.words, r = e.sigBytes, s = this._S = [], o = 0; o < 256; o++)
3713
- s[o] = o;
3714
- for (var o = 0, c = 0; o < 256; o++) {
3715
- var f = o % r, l = B[f >>> 2] >>> 24 - f % 4 * 8 & 255;
3716
- c = (c + s[o] + l) % 256;
3717
- var t = s[o];
3718
- s[o] = s[c], s[c] = t;
3719
- }
3720
- this._i = this._j = 0;
3721
- },
3722
- _doProcessBlock: function(e, B) {
3723
- e[B] ^= h.call(this);
3724
- },
3725
- keySize: 256 / 32,
3726
- ivSize: 0
3727
- });
3728
- function h() {
3729
- for (var e = this._S, B = this._i, r = this._j, s = 0, o = 0; o < 4; o++) {
3730
- B = (B + 1) % 256, r = (r + e[B]) % 256;
3731
- var c = e[B];
3732
- e[B] = e[r], e[r] = c, s |= e[(e[B] + e[r]) % 256] << 24 - o * 8;
3733
- }
3734
- return this._i = B, this._j = r, s;
3735
- }
3736
- a.RC4 = D._createHelper(u);
3737
- var x = w.RC4Drop = u.extend({
3738
- /**
3739
- * Configuration options.
3740
- *
3741
- * @property {number} drop The number of keystream words to drop. Default 192
3742
- */
3743
- cfg: u.cfg.extend({
3744
- drop: 192
3745
- }),
3746
- _doReset: function() {
3747
- u._doReset.call(this);
3748
- for (var e = this.cfg.drop; e > 0; e--)
3749
- h.call(this);
3750
- }
3751
- });
3752
- a.RC4Drop = D._createHelper(x);
3753
- }(), d.RC4;
3754
- });
3755
- }(M0)), M0.exports;
3756
- }
3757
- var V0 = { exports: {} }, $x;
3758
- function Ir() {
3759
- return $x || ($x = 1, function(S, P) {
3760
- (function(d, a, p) {
3761
- S.exports = a(O(), e0(), t0(), r0(), Z());
3762
- })(L, function(d) {
3763
- return function() {
3764
- var a = d, p = a.lib, D = p.StreamCipher, w = a.algo, u = [], h = [], x = [], e = w.Rabbit = D.extend({
3765
- _doReset: function() {
3766
- for (var r = this._key.words, s = this.cfg.iv, o = 0; o < 4; o++)
3767
- r[o] = (r[o] << 8 | r[o] >>> 24) & 16711935 | (r[o] << 24 | r[o] >>> 8) & 4278255360;
3768
- var c = this._X = [
3769
- r[0],
3770
- r[3] << 16 | r[2] >>> 16,
3771
- r[1],
3772
- r[0] << 16 | r[3] >>> 16,
3773
- r[2],
3774
- r[1] << 16 | r[0] >>> 16,
3775
- r[3],
3776
- r[2] << 16 | r[1] >>> 16
3777
- ], f = this._C = [
3778
- r[2] << 16 | r[2] >>> 16,
3779
- r[0] & 4294901760 | r[1] & 65535,
3780
- r[3] << 16 | r[3] >>> 16,
3781
- r[1] & 4294901760 | r[2] & 65535,
3782
- r[0] << 16 | r[0] >>> 16,
3783
- r[2] & 4294901760 | r[3] & 65535,
3784
- r[1] << 16 | r[1] >>> 16,
3785
- r[3] & 4294901760 | r[0] & 65535
3786
- ];
3787
- this._b = 0;
3788
- for (var o = 0; o < 4; o++)
3789
- B.call(this);
3790
- for (var o = 0; o < 8; o++)
3791
- f[o] ^= c[o + 4 & 7];
3792
- if (s) {
3793
- var l = s.words, t = l[0], n = l[1], i = (t << 8 | t >>> 24) & 16711935 | (t << 24 | t >>> 8) & 4278255360, E = (n << 8 | n >>> 24) & 16711935 | (n << 24 | n >>> 8) & 4278255360, C = i >>> 16 | E & 4294901760, A = E << 16 | i & 65535;
3794
- f[0] ^= i, f[1] ^= C, f[2] ^= E, f[3] ^= A, f[4] ^= i, f[5] ^= C, f[6] ^= E, f[7] ^= A;
3795
- for (var o = 0; o < 4; o++)
3796
- B.call(this);
3797
- }
3798
- },
3799
- _doProcessBlock: function(r, s) {
3800
- var o = this._X;
3801
- B.call(this), u[0] = o[0] ^ o[5] >>> 16 ^ o[3] << 16, u[1] = o[2] ^ o[7] >>> 16 ^ o[5] << 16, u[2] = o[4] ^ o[1] >>> 16 ^ o[7] << 16, u[3] = o[6] ^ o[3] >>> 16 ^ o[1] << 16;
3802
- for (var c = 0; c < 4; c++)
3803
- u[c] = (u[c] << 8 | u[c] >>> 24) & 16711935 | (u[c] << 24 | u[c] >>> 8) & 4278255360, r[s + c] ^= u[c];
3804
- },
3805
- blockSize: 128 / 32,
3806
- ivSize: 64 / 32
3807
- });
3808
- function B() {
3809
- for (var r = this._X, s = this._C, o = 0; o < 8; o++)
3810
- h[o] = s[o];
3811
- s[0] = s[0] + 1295307597 + this._b | 0, s[1] = s[1] + 3545052371 + (s[0] >>> 0 < h[0] >>> 0 ? 1 : 0) | 0, s[2] = s[2] + 886263092 + (s[1] >>> 0 < h[1] >>> 0 ? 1 : 0) | 0, s[3] = s[3] + 1295307597 + (s[2] >>> 0 < h[2] >>> 0 ? 1 : 0) | 0, s[4] = s[4] + 3545052371 + (s[3] >>> 0 < h[3] >>> 0 ? 1 : 0) | 0, s[5] = s[5] + 886263092 + (s[4] >>> 0 < h[4] >>> 0 ? 1 : 0) | 0, s[6] = s[6] + 1295307597 + (s[5] >>> 0 < h[5] >>> 0 ? 1 : 0) | 0, s[7] = s[7] + 3545052371 + (s[6] >>> 0 < h[6] >>> 0 ? 1 : 0) | 0, this._b = s[7] >>> 0 < h[7] >>> 0 ? 1 : 0;
3812
- for (var o = 0; o < 8; o++) {
3813
- var c = r[o] + s[o], f = c & 65535, l = c >>> 16, t = ((f * f >>> 17) + f * l >>> 15) + l * l, n = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
3814
- x[o] = t ^ n;
3815
- }
3816
- r[0] = x[0] + (x[7] << 16 | x[7] >>> 16) + (x[6] << 16 | x[6] >>> 16) | 0, r[1] = x[1] + (x[0] << 8 | x[0] >>> 24) + x[7] | 0, r[2] = x[2] + (x[1] << 16 | x[1] >>> 16) + (x[0] << 16 | x[0] >>> 16) | 0, r[3] = x[3] + (x[2] << 8 | x[2] >>> 24) + x[1] | 0, r[4] = x[4] + (x[3] << 16 | x[3] >>> 16) + (x[2] << 16 | x[2] >>> 16) | 0, r[5] = x[5] + (x[4] << 8 | x[4] >>> 24) + x[3] | 0, r[6] = x[6] + (x[5] << 16 | x[5] >>> 16) + (x[4] << 16 | x[4] >>> 16) | 0, r[7] = x[7] + (x[6] << 8 | x[6] >>> 24) + x[5] | 0;
3817
- }
3818
- a.Rabbit = D._createHelper(e);
3819
- }(), d.Rabbit;
3820
- });
3821
- }(V0)), V0.exports;
3822
- }
3823
- var J0 = { exports: {} }, jx;
3824
- function Nr() {
3825
- return jx || (jx = 1, function(S, P) {
3826
- (function(d, a, p) {
3827
- S.exports = a(O(), e0(), t0(), r0(), Z());
3828
- })(L, function(d) {
3829
- return function() {
3830
- var a = d, p = a.lib, D = p.StreamCipher, w = a.algo, u = [], h = [], x = [], e = w.RabbitLegacy = D.extend({
3831
- _doReset: function() {
3832
- var r = this._key.words, s = this.cfg.iv, o = this._X = [
3833
- r[0],
3834
- r[3] << 16 | r[2] >>> 16,
3835
- r[1],
3836
- r[0] << 16 | r[3] >>> 16,
3837
- r[2],
3838
- r[1] << 16 | r[0] >>> 16,
3839
- r[3],
3840
- r[2] << 16 | r[1] >>> 16
3841
- ], c = this._C = [
3842
- r[2] << 16 | r[2] >>> 16,
3843
- r[0] & 4294901760 | r[1] & 65535,
3844
- r[3] << 16 | r[3] >>> 16,
3845
- r[1] & 4294901760 | r[2] & 65535,
3846
- r[0] << 16 | r[0] >>> 16,
3847
- r[2] & 4294901760 | r[3] & 65535,
3848
- r[1] << 16 | r[1] >>> 16,
3849
- r[3] & 4294901760 | r[0] & 65535
3850
- ];
3851
- this._b = 0;
3852
- for (var f = 0; f < 4; f++)
3853
- B.call(this);
3854
- for (var f = 0; f < 8; f++)
3855
- c[f] ^= o[f + 4 & 7];
3856
- if (s) {
3857
- var l = s.words, t = l[0], n = l[1], i = (t << 8 | t >>> 24) & 16711935 | (t << 24 | t >>> 8) & 4278255360, E = (n << 8 | n >>> 24) & 16711935 | (n << 24 | n >>> 8) & 4278255360, C = i >>> 16 | E & 4294901760, A = E << 16 | i & 65535;
3858
- c[0] ^= i, c[1] ^= C, c[2] ^= E, c[3] ^= A, c[4] ^= i, c[5] ^= C, c[6] ^= E, c[7] ^= A;
3859
- for (var f = 0; f < 4; f++)
3860
- B.call(this);
3861
- }
3862
- },
3863
- _doProcessBlock: function(r, s) {
3864
- var o = this._X;
3865
- B.call(this), u[0] = o[0] ^ o[5] >>> 16 ^ o[3] << 16, u[1] = o[2] ^ o[7] >>> 16 ^ o[5] << 16, u[2] = o[4] ^ o[1] >>> 16 ^ o[7] << 16, u[3] = o[6] ^ o[3] >>> 16 ^ o[1] << 16;
3866
- for (var c = 0; c < 4; c++)
3867
- u[c] = (u[c] << 8 | u[c] >>> 24) & 16711935 | (u[c] << 24 | u[c] >>> 8) & 4278255360, r[s + c] ^= u[c];
3868
- },
3869
- blockSize: 128 / 32,
3870
- ivSize: 64 / 32
3871
- });
3872
- function B() {
3873
- for (var r = this._X, s = this._C, o = 0; o < 8; o++)
3874
- h[o] = s[o];
3875
- s[0] = s[0] + 1295307597 + this._b | 0, s[1] = s[1] + 3545052371 + (s[0] >>> 0 < h[0] >>> 0 ? 1 : 0) | 0, s[2] = s[2] + 886263092 + (s[1] >>> 0 < h[1] >>> 0 ? 1 : 0) | 0, s[3] = s[3] + 1295307597 + (s[2] >>> 0 < h[2] >>> 0 ? 1 : 0) | 0, s[4] = s[4] + 3545052371 + (s[3] >>> 0 < h[3] >>> 0 ? 1 : 0) | 0, s[5] = s[5] + 886263092 + (s[4] >>> 0 < h[4] >>> 0 ? 1 : 0) | 0, s[6] = s[6] + 1295307597 + (s[5] >>> 0 < h[5] >>> 0 ? 1 : 0) | 0, s[7] = s[7] + 3545052371 + (s[6] >>> 0 < h[6] >>> 0 ? 1 : 0) | 0, this._b = s[7] >>> 0 < h[7] >>> 0 ? 1 : 0;
3876
- for (var o = 0; o < 8; o++) {
3877
- var c = r[o] + s[o], f = c & 65535, l = c >>> 16, t = ((f * f >>> 17) + f * l >>> 15) + l * l, n = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
3878
- x[o] = t ^ n;
3879
- }
3880
- r[0] = x[0] + (x[7] << 16 | x[7] >>> 16) + (x[6] << 16 | x[6] >>> 16) | 0, r[1] = x[1] + (x[0] << 8 | x[0] >>> 24) + x[7] | 0, r[2] = x[2] + (x[1] << 16 | x[1] >>> 16) + (x[0] << 16 | x[0] >>> 16) | 0, r[3] = x[3] + (x[2] << 8 | x[2] >>> 24) + x[1] | 0, r[4] = x[4] + (x[3] << 16 | x[3] >>> 16) + (x[2] << 16 | x[2] >>> 16) | 0, r[5] = x[5] + (x[4] << 8 | x[4] >>> 24) + x[3] | 0, r[6] = x[6] + (x[5] << 16 | x[5] >>> 16) + (x[4] << 16 | x[4] >>> 16) | 0, r[7] = x[7] + (x[6] << 8 | x[6] >>> 24) + x[5] | 0;
3881
- }
3882
- a.RabbitLegacy = D._createHelper(e);
3883
- }(), d.RabbitLegacy;
3884
- });
3885
- }(J0)), J0.exports;
3886
- }
3887
- var xx = { exports: {} }, Qx;
3888
- function Xr() {
3889
- return Qx || (Qx = 1, function(S, P) {
3890
- (function(d, a, p) {
3891
- S.exports = a(O(), e0(), t0(), r0(), Z());
3892
- })(L, function(d) {
3893
- return function() {
3894
- var a = d, p = a.lib, D = p.BlockCipher, w = a.algo;
3895
- const u = 16, h = [
3896
- 608135816,
3897
- 2242054355,
3898
- 320440878,
3899
- 57701188,
3900
- 2752067618,
3901
- 698298832,
3902
- 137296536,
3903
- 3964562569,
3904
- 1160258022,
3905
- 953160567,
3906
- 3193202383,
3907
- 887688300,
3908
- 3232508343,
3909
- 3380367581,
3910
- 1065670069,
3911
- 3041331479,
3912
- 2450970073,
3913
- 2306472731
3914
- ], x = [
3915
- [
3916
- 3509652390,
3917
- 2564797868,
3918
- 805139163,
3919
- 3491422135,
3920
- 3101798381,
3921
- 1780907670,
3922
- 3128725573,
3923
- 4046225305,
3924
- 614570311,
3925
- 3012652279,
3926
- 134345442,
3927
- 2240740374,
3928
- 1667834072,
3929
- 1901547113,
3930
- 2757295779,
3931
- 4103290238,
3932
- 227898511,
3933
- 1921955416,
3934
- 1904987480,
3935
- 2182433518,
3936
- 2069144605,
3937
- 3260701109,
3938
- 2620446009,
3939
- 720527379,
3940
- 3318853667,
3941
- 677414384,
3942
- 3393288472,
3943
- 3101374703,
3944
- 2390351024,
3945
- 1614419982,
3946
- 1822297739,
3947
- 2954791486,
3948
- 3608508353,
3949
- 3174124327,
3950
- 2024746970,
3951
- 1432378464,
3952
- 3864339955,
3953
- 2857741204,
3954
- 1464375394,
3955
- 1676153920,
3956
- 1439316330,
3957
- 715854006,
3958
- 3033291828,
3959
- 289532110,
3960
- 2706671279,
3961
- 2087905683,
3962
- 3018724369,
3963
- 1668267050,
3964
- 732546397,
3965
- 1947742710,
3966
- 3462151702,
3967
- 2609353502,
3968
- 2950085171,
3969
- 1814351708,
3970
- 2050118529,
3971
- 680887927,
3972
- 999245976,
3973
- 1800124847,
3974
- 3300911131,
3975
- 1713906067,
3976
- 1641548236,
3977
- 4213287313,
3978
- 1216130144,
3979
- 1575780402,
3980
- 4018429277,
3981
- 3917837745,
3982
- 3693486850,
3983
- 3949271944,
3984
- 596196993,
3985
- 3549867205,
3986
- 258830323,
3987
- 2213823033,
3988
- 772490370,
3989
- 2760122372,
3990
- 1774776394,
3991
- 2652871518,
3992
- 566650946,
3993
- 4142492826,
3994
- 1728879713,
3995
- 2882767088,
3996
- 1783734482,
3997
- 3629395816,
3998
- 2517608232,
3999
- 2874225571,
4000
- 1861159788,
4001
- 326777828,
4002
- 3124490320,
4003
- 2130389656,
4004
- 2716951837,
4005
- 967770486,
4006
- 1724537150,
4007
- 2185432712,
4008
- 2364442137,
4009
- 1164943284,
4010
- 2105845187,
4011
- 998989502,
4012
- 3765401048,
4013
- 2244026483,
4014
- 1075463327,
4015
- 1455516326,
4016
- 1322494562,
4017
- 910128902,
4018
- 469688178,
4019
- 1117454909,
4020
- 936433444,
4021
- 3490320968,
4022
- 3675253459,
4023
- 1240580251,
4024
- 122909385,
4025
- 2157517691,
4026
- 634681816,
4027
- 4142456567,
4028
- 3825094682,
4029
- 3061402683,
4030
- 2540495037,
4031
- 79693498,
4032
- 3249098678,
4033
- 1084186820,
4034
- 1583128258,
4035
- 426386531,
4036
- 1761308591,
4037
- 1047286709,
4038
- 322548459,
4039
- 995290223,
4040
- 1845252383,
4041
- 2603652396,
4042
- 3431023940,
4043
- 2942221577,
4044
- 3202600964,
4045
- 3727903485,
4046
- 1712269319,
4047
- 422464435,
4048
- 3234572375,
4049
- 1170764815,
4050
- 3523960633,
4051
- 3117677531,
4052
- 1434042557,
4053
- 442511882,
4054
- 3600875718,
4055
- 1076654713,
4056
- 1738483198,
4057
- 4213154764,
4058
- 2393238008,
4059
- 3677496056,
4060
- 1014306527,
4061
- 4251020053,
4062
- 793779912,
4063
- 2902807211,
4064
- 842905082,
4065
- 4246964064,
4066
- 1395751752,
4067
- 1040244610,
4068
- 2656851899,
4069
- 3396308128,
4070
- 445077038,
4071
- 3742853595,
4072
- 3577915638,
4073
- 679411651,
4074
- 2892444358,
4075
- 2354009459,
4076
- 1767581616,
4077
- 3150600392,
4078
- 3791627101,
4079
- 3102740896,
4080
- 284835224,
4081
- 4246832056,
4082
- 1258075500,
4083
- 768725851,
4084
- 2589189241,
4085
- 3069724005,
4086
- 3532540348,
4087
- 1274779536,
4088
- 3789419226,
4089
- 2764799539,
4090
- 1660621633,
4091
- 3471099624,
4092
- 4011903706,
4093
- 913787905,
4094
- 3497959166,
4095
- 737222580,
4096
- 2514213453,
4097
- 2928710040,
4098
- 3937242737,
4099
- 1804850592,
4100
- 3499020752,
4101
- 2949064160,
4102
- 2386320175,
4103
- 2390070455,
4104
- 2415321851,
4105
- 4061277028,
4106
- 2290661394,
4107
- 2416832540,
4108
- 1336762016,
4109
- 1754252060,
4110
- 3520065937,
4111
- 3014181293,
4112
- 791618072,
4113
- 3188594551,
4114
- 3933548030,
4115
- 2332172193,
4116
- 3852520463,
4117
- 3043980520,
4118
- 413987798,
4119
- 3465142937,
4120
- 3030929376,
4121
- 4245938359,
4122
- 2093235073,
4123
- 3534596313,
4124
- 375366246,
4125
- 2157278981,
4126
- 2479649556,
4127
- 555357303,
4128
- 3870105701,
4129
- 2008414854,
4130
- 3344188149,
4131
- 4221384143,
4132
- 3956125452,
4133
- 2067696032,
4134
- 3594591187,
4135
- 2921233993,
4136
- 2428461,
4137
- 544322398,
4138
- 577241275,
4139
- 1471733935,
4140
- 610547355,
4141
- 4027169054,
4142
- 1432588573,
4143
- 1507829418,
4144
- 2025931657,
4145
- 3646575487,
4146
- 545086370,
4147
- 48609733,
4148
- 2200306550,
4149
- 1653985193,
4150
- 298326376,
4151
- 1316178497,
4152
- 3007786442,
4153
- 2064951626,
4154
- 458293330,
4155
- 2589141269,
4156
- 3591329599,
4157
- 3164325604,
4158
- 727753846,
4159
- 2179363840,
4160
- 146436021,
4161
- 1461446943,
4162
- 4069977195,
4163
- 705550613,
4164
- 3059967265,
4165
- 3887724982,
4166
- 4281599278,
4167
- 3313849956,
4168
- 1404054877,
4169
- 2845806497,
4170
- 146425753,
4171
- 1854211946
4172
- ],
4173
- [
4174
- 1266315497,
4175
- 3048417604,
4176
- 3681880366,
4177
- 3289982499,
4178
- 290971e4,
4179
- 1235738493,
4180
- 2632868024,
4181
- 2414719590,
4182
- 3970600049,
4183
- 1771706367,
4184
- 1449415276,
4185
- 3266420449,
4186
- 422970021,
4187
- 1963543593,
4188
- 2690192192,
4189
- 3826793022,
4190
- 1062508698,
4191
- 1531092325,
4192
- 1804592342,
4193
- 2583117782,
4194
- 2714934279,
4195
- 4024971509,
4196
- 1294809318,
4197
- 4028980673,
4198
- 1289560198,
4199
- 2221992742,
4200
- 1669523910,
4201
- 35572830,
4202
- 157838143,
4203
- 1052438473,
4204
- 1016535060,
4205
- 1802137761,
4206
- 1753167236,
4207
- 1386275462,
4208
- 3080475397,
4209
- 2857371447,
4210
- 1040679964,
4211
- 2145300060,
4212
- 2390574316,
4213
- 1461121720,
4214
- 2956646967,
4215
- 4031777805,
4216
- 4028374788,
4217
- 33600511,
4218
- 2920084762,
4219
- 1018524850,
4220
- 629373528,
4221
- 3691585981,
4222
- 3515945977,
4223
- 2091462646,
4224
- 2486323059,
4225
- 586499841,
4226
- 988145025,
4227
- 935516892,
4228
- 3367335476,
4229
- 2599673255,
4230
- 2839830854,
4231
- 265290510,
4232
- 3972581182,
4233
- 2759138881,
4234
- 3795373465,
4235
- 1005194799,
4236
- 847297441,
4237
- 406762289,
4238
- 1314163512,
4239
- 1332590856,
4240
- 1866599683,
4241
- 4127851711,
4242
- 750260880,
4243
- 613907577,
4244
- 1450815602,
4245
- 3165620655,
4246
- 3734664991,
4247
- 3650291728,
4248
- 3012275730,
4249
- 3704569646,
4250
- 1427272223,
4251
- 778793252,
4252
- 1343938022,
4253
- 2676280711,
4254
- 2052605720,
4255
- 1946737175,
4256
- 3164576444,
4257
- 3914038668,
4258
- 3967478842,
4259
- 3682934266,
4260
- 1661551462,
4261
- 3294938066,
4262
- 4011595847,
4263
- 840292616,
4264
- 3712170807,
4265
- 616741398,
4266
- 312560963,
4267
- 711312465,
4268
- 1351876610,
4269
- 322626781,
4270
- 1910503582,
4271
- 271666773,
4272
- 2175563734,
4273
- 1594956187,
4274
- 70604529,
4275
- 3617834859,
4276
- 1007753275,
4277
- 1495573769,
4278
- 4069517037,
4279
- 2549218298,
4280
- 2663038764,
4281
- 504708206,
4282
- 2263041392,
4283
- 3941167025,
4284
- 2249088522,
4285
- 1514023603,
4286
- 1998579484,
4287
- 1312622330,
4288
- 694541497,
4289
- 2582060303,
4290
- 2151582166,
4291
- 1382467621,
4292
- 776784248,
4293
- 2618340202,
4294
- 3323268794,
4295
- 2497899128,
4296
- 2784771155,
4297
- 503983604,
4298
- 4076293799,
4299
- 907881277,
4300
- 423175695,
4301
- 432175456,
4302
- 1378068232,
4303
- 4145222326,
4304
- 3954048622,
4305
- 3938656102,
4306
- 3820766613,
4307
- 2793130115,
4308
- 2977904593,
4309
- 26017576,
4310
- 3274890735,
4311
- 3194772133,
4312
- 1700274565,
4313
- 1756076034,
4314
- 4006520079,
4315
- 3677328699,
4316
- 720338349,
4317
- 1533947780,
4318
- 354530856,
4319
- 688349552,
4320
- 3973924725,
4321
- 1637815568,
4322
- 332179504,
4323
- 3949051286,
4324
- 53804574,
4325
- 2852348879,
4326
- 3044236432,
4327
- 1282449977,
4328
- 3583942155,
4329
- 3416972820,
4330
- 4006381244,
4331
- 1617046695,
4332
- 2628476075,
4333
- 3002303598,
4334
- 1686838959,
4335
- 431878346,
4336
- 2686675385,
4337
- 1700445008,
4338
- 1080580658,
4339
- 1009431731,
4340
- 832498133,
4341
- 3223435511,
4342
- 2605976345,
4343
- 2271191193,
4344
- 2516031870,
4345
- 1648197032,
4346
- 4164389018,
4347
- 2548247927,
4348
- 300782431,
4349
- 375919233,
4350
- 238389289,
4351
- 3353747414,
4352
- 2531188641,
4353
- 2019080857,
4354
- 1475708069,
4355
- 455242339,
4356
- 2609103871,
4357
- 448939670,
4358
- 3451063019,
4359
- 1395535956,
4360
- 2413381860,
4361
- 1841049896,
4362
- 1491858159,
4363
- 885456874,
4364
- 4264095073,
4365
- 4001119347,
4366
- 1565136089,
4367
- 3898914787,
4368
- 1108368660,
4369
- 540939232,
4370
- 1173283510,
4371
- 2745871338,
4372
- 3681308437,
4373
- 4207628240,
4374
- 3343053890,
4375
- 4016749493,
4376
- 1699691293,
4377
- 1103962373,
4378
- 3625875870,
4379
- 2256883143,
4380
- 3830138730,
4381
- 1031889488,
4382
- 3479347698,
4383
- 1535977030,
4384
- 4236805024,
4385
- 3251091107,
4386
- 2132092099,
4387
- 1774941330,
4388
- 1199868427,
4389
- 1452454533,
4390
- 157007616,
4391
- 2904115357,
4392
- 342012276,
4393
- 595725824,
4394
- 1480756522,
4395
- 206960106,
4396
- 497939518,
4397
- 591360097,
4398
- 863170706,
4399
- 2375253569,
4400
- 3596610801,
4401
- 1814182875,
4402
- 2094937945,
4403
- 3421402208,
4404
- 1082520231,
4405
- 3463918190,
4406
- 2785509508,
4407
- 435703966,
4408
- 3908032597,
4409
- 1641649973,
4410
- 2842273706,
4411
- 3305899714,
4412
- 1510255612,
4413
- 2148256476,
4414
- 2655287854,
4415
- 3276092548,
4416
- 4258621189,
4417
- 236887753,
4418
- 3681803219,
4419
- 274041037,
4420
- 1734335097,
4421
- 3815195456,
4422
- 3317970021,
4423
- 1899903192,
4424
- 1026095262,
4425
- 4050517792,
4426
- 356393447,
4427
- 2410691914,
4428
- 3873677099,
4429
- 3682840055
4430
- ],
4431
- [
4432
- 3913112168,
4433
- 2491498743,
4434
- 4132185628,
4435
- 2489919796,
4436
- 1091903735,
4437
- 1979897079,
4438
- 3170134830,
4439
- 3567386728,
4440
- 3557303409,
4441
- 857797738,
4442
- 1136121015,
4443
- 1342202287,
4444
- 507115054,
4445
- 2535736646,
4446
- 337727348,
4447
- 3213592640,
4448
- 1301675037,
4449
- 2528481711,
4450
- 1895095763,
4451
- 1721773893,
4452
- 3216771564,
4453
- 62756741,
4454
- 2142006736,
4455
- 835421444,
4456
- 2531993523,
4457
- 1442658625,
4458
- 3659876326,
4459
- 2882144922,
4460
- 676362277,
4461
- 1392781812,
4462
- 170690266,
4463
- 3921047035,
4464
- 1759253602,
4465
- 3611846912,
4466
- 1745797284,
4467
- 664899054,
4468
- 1329594018,
4469
- 3901205900,
4470
- 3045908486,
4471
- 2062866102,
4472
- 2865634940,
4473
- 3543621612,
4474
- 3464012697,
4475
- 1080764994,
4476
- 553557557,
4477
- 3656615353,
4478
- 3996768171,
4479
- 991055499,
4480
- 499776247,
4481
- 1265440854,
4482
- 648242737,
4483
- 3940784050,
4484
- 980351604,
4485
- 3713745714,
4486
- 1749149687,
4487
- 3396870395,
4488
- 4211799374,
4489
- 3640570775,
4490
- 1161844396,
4491
- 3125318951,
4492
- 1431517754,
4493
- 545492359,
4494
- 4268468663,
4495
- 3499529547,
4496
- 1437099964,
4497
- 2702547544,
4498
- 3433638243,
4499
- 2581715763,
4500
- 2787789398,
4501
- 1060185593,
4502
- 1593081372,
4503
- 2418618748,
4504
- 4260947970,
4505
- 69676912,
4506
- 2159744348,
4507
- 86519011,
4508
- 2512459080,
4509
- 3838209314,
4510
- 1220612927,
4511
- 3339683548,
4512
- 133810670,
4513
- 1090789135,
4514
- 1078426020,
4515
- 1569222167,
4516
- 845107691,
4517
- 3583754449,
4518
- 4072456591,
4519
- 1091646820,
4520
- 628848692,
4521
- 1613405280,
4522
- 3757631651,
4523
- 526609435,
4524
- 236106946,
4525
- 48312990,
4526
- 2942717905,
4527
- 3402727701,
4528
- 1797494240,
4529
- 859738849,
4530
- 992217954,
4531
- 4005476642,
4532
- 2243076622,
4533
- 3870952857,
4534
- 3732016268,
4535
- 765654824,
4536
- 3490871365,
4537
- 2511836413,
4538
- 1685915746,
4539
- 3888969200,
4540
- 1414112111,
4541
- 2273134842,
4542
- 3281911079,
4543
- 4080962846,
4544
- 172450625,
4545
- 2569994100,
4546
- 980381355,
4547
- 4109958455,
4548
- 2819808352,
4549
- 2716589560,
4550
- 2568741196,
4551
- 3681446669,
4552
- 3329971472,
4553
- 1835478071,
4554
- 660984891,
4555
- 3704678404,
4556
- 4045999559,
4557
- 3422617507,
4558
- 3040415634,
4559
- 1762651403,
4560
- 1719377915,
4561
- 3470491036,
4562
- 2693910283,
4563
- 3642056355,
4564
- 3138596744,
4565
- 1364962596,
4566
- 2073328063,
4567
- 1983633131,
4568
- 926494387,
4569
- 3423689081,
4570
- 2150032023,
4571
- 4096667949,
4572
- 1749200295,
4573
- 3328846651,
4574
- 309677260,
4575
- 2016342300,
4576
- 1779581495,
4577
- 3079819751,
4578
- 111262694,
4579
- 1274766160,
4580
- 443224088,
4581
- 298511866,
4582
- 1025883608,
4583
- 3806446537,
4584
- 1145181785,
4585
- 168956806,
4586
- 3641502830,
4587
- 3584813610,
4588
- 1689216846,
4589
- 3666258015,
4590
- 3200248200,
4591
- 1692713982,
4592
- 2646376535,
4593
- 4042768518,
4594
- 1618508792,
4595
- 1610833997,
4596
- 3523052358,
4597
- 4130873264,
4598
- 2001055236,
4599
- 3610705100,
4600
- 2202168115,
4601
- 4028541809,
4602
- 2961195399,
4603
- 1006657119,
4604
- 2006996926,
4605
- 3186142756,
4606
- 1430667929,
4607
- 3210227297,
4608
- 1314452623,
4609
- 4074634658,
4610
- 4101304120,
4611
- 2273951170,
4612
- 1399257539,
4613
- 3367210612,
4614
- 3027628629,
4615
- 1190975929,
4616
- 2062231137,
4617
- 2333990788,
4618
- 2221543033,
4619
- 2438960610,
4620
- 1181637006,
4621
- 548689776,
4622
- 2362791313,
4623
- 3372408396,
4624
- 3104550113,
4625
- 3145860560,
4626
- 296247880,
4627
- 1970579870,
4628
- 3078560182,
4629
- 3769228297,
4630
- 1714227617,
4631
- 3291629107,
4632
- 3898220290,
4633
- 166772364,
4634
- 1251581989,
4635
- 493813264,
4636
- 448347421,
4637
- 195405023,
4638
- 2709975567,
4639
- 677966185,
4640
- 3703036547,
4641
- 1463355134,
4642
- 2715995803,
4643
- 1338867538,
4644
- 1343315457,
4645
- 2802222074,
4646
- 2684532164,
4647
- 233230375,
4648
- 2599980071,
4649
- 2000651841,
4650
- 3277868038,
4651
- 1638401717,
4652
- 4028070440,
4653
- 3237316320,
4654
- 6314154,
4655
- 819756386,
4656
- 300326615,
4657
- 590932579,
4658
- 1405279636,
4659
- 3267499572,
4660
- 3150704214,
4661
- 2428286686,
4662
- 3959192993,
4663
- 3461946742,
4664
- 1862657033,
4665
- 1266418056,
4666
- 963775037,
4667
- 2089974820,
4668
- 2263052895,
4669
- 1917689273,
4670
- 448879540,
4671
- 3550394620,
4672
- 3981727096,
4673
- 150775221,
4674
- 3627908307,
4675
- 1303187396,
4676
- 508620638,
4677
- 2975983352,
4678
- 2726630617,
4679
- 1817252668,
4680
- 1876281319,
4681
- 1457606340,
4682
- 908771278,
4683
- 3720792119,
4684
- 3617206836,
4685
- 2455994898,
4686
- 1729034894,
4687
- 1080033504
4688
- ],
4689
- [
4690
- 976866871,
4691
- 3556439503,
4692
- 2881648439,
4693
- 1522871579,
4694
- 1555064734,
4695
- 1336096578,
4696
- 3548522304,
4697
- 2579274686,
4698
- 3574697629,
4699
- 3205460757,
4700
- 3593280638,
4701
- 3338716283,
4702
- 3079412587,
4703
- 564236357,
4704
- 2993598910,
4705
- 1781952180,
4706
- 1464380207,
4707
- 3163844217,
4708
- 3332601554,
4709
- 1699332808,
4710
- 1393555694,
4711
- 1183702653,
4712
- 3581086237,
4713
- 1288719814,
4714
- 691649499,
4715
- 2847557200,
4716
- 2895455976,
4717
- 3193889540,
4718
- 2717570544,
4719
- 1781354906,
4720
- 1676643554,
4721
- 2592534050,
4722
- 3230253752,
4723
- 1126444790,
4724
- 2770207658,
4725
- 2633158820,
4726
- 2210423226,
4727
- 2615765581,
4728
- 2414155088,
4729
- 3127139286,
4730
- 673620729,
4731
- 2805611233,
4732
- 1269405062,
4733
- 4015350505,
4734
- 3341807571,
4735
- 4149409754,
4736
- 1057255273,
4737
- 2012875353,
4738
- 2162469141,
4739
- 2276492801,
4740
- 2601117357,
4741
- 993977747,
4742
- 3918593370,
4743
- 2654263191,
4744
- 753973209,
4745
- 36408145,
4746
- 2530585658,
4747
- 25011837,
4748
- 3520020182,
4749
- 2088578344,
4750
- 530523599,
4751
- 2918365339,
4752
- 1524020338,
4753
- 1518925132,
4754
- 3760827505,
4755
- 3759777254,
4756
- 1202760957,
4757
- 3985898139,
4758
- 3906192525,
4759
- 674977740,
4760
- 4174734889,
4761
- 2031300136,
4762
- 2019492241,
4763
- 3983892565,
4764
- 4153806404,
4765
- 3822280332,
4766
- 352677332,
4767
- 2297720250,
4768
- 60907813,
4769
- 90501309,
4770
- 3286998549,
4771
- 1016092578,
4772
- 2535922412,
4773
- 2839152426,
4774
- 457141659,
4775
- 509813237,
4776
- 4120667899,
4777
- 652014361,
4778
- 1966332200,
4779
- 2975202805,
4780
- 55981186,
4781
- 2327461051,
4782
- 676427537,
4783
- 3255491064,
4784
- 2882294119,
4785
- 3433927263,
4786
- 1307055953,
4787
- 942726286,
4788
- 933058658,
4789
- 2468411793,
4790
- 3933900994,
4791
- 4215176142,
4792
- 1361170020,
4793
- 2001714738,
4794
- 2830558078,
4795
- 3274259782,
4796
- 1222529897,
4797
- 1679025792,
4798
- 2729314320,
4799
- 3714953764,
4800
- 1770335741,
4801
- 151462246,
4802
- 3013232138,
4803
- 1682292957,
4804
- 1483529935,
4805
- 471910574,
4806
- 1539241949,
4807
- 458788160,
4808
- 3436315007,
4809
- 1807016891,
4810
- 3718408830,
4811
- 978976581,
4812
- 1043663428,
4813
- 3165965781,
4814
- 1927990952,
4815
- 4200891579,
4816
- 2372276910,
4817
- 3208408903,
4818
- 3533431907,
4819
- 1412390302,
4820
- 2931980059,
4821
- 4132332400,
4822
- 1947078029,
4823
- 3881505623,
4824
- 4168226417,
4825
- 2941484381,
4826
- 1077988104,
4827
- 1320477388,
4828
- 886195818,
4829
- 18198404,
4830
- 3786409e3,
4831
- 2509781533,
4832
- 112762804,
4833
- 3463356488,
4834
- 1866414978,
4835
- 891333506,
4836
- 18488651,
4837
- 661792760,
4838
- 1628790961,
4839
- 3885187036,
4840
- 3141171499,
4841
- 876946877,
4842
- 2693282273,
4843
- 1372485963,
4844
- 791857591,
4845
- 2686433993,
4846
- 3759982718,
4847
- 3167212022,
4848
- 3472953795,
4849
- 2716379847,
4850
- 445679433,
4851
- 3561995674,
4852
- 3504004811,
4853
- 3574258232,
4854
- 54117162,
4855
- 3331405415,
4856
- 2381918588,
4857
- 3769707343,
4858
- 4154350007,
4859
- 1140177722,
4860
- 4074052095,
4861
- 668550556,
4862
- 3214352940,
4863
- 367459370,
4864
- 261225585,
4865
- 2610173221,
4866
- 4209349473,
4867
- 3468074219,
4868
- 3265815641,
4869
- 314222801,
4870
- 3066103646,
4871
- 3808782860,
4872
- 282218597,
4873
- 3406013506,
4874
- 3773591054,
4875
- 379116347,
4876
- 1285071038,
4877
- 846784868,
4878
- 2669647154,
4879
- 3771962079,
4880
- 3550491691,
4881
- 2305946142,
4882
- 453669953,
4883
- 1268987020,
4884
- 3317592352,
4885
- 3279303384,
4886
- 3744833421,
4887
- 2610507566,
4888
- 3859509063,
4889
- 266596637,
4890
- 3847019092,
4891
- 517658769,
4892
- 3462560207,
4893
- 3443424879,
4894
- 370717030,
4895
- 4247526661,
4896
- 2224018117,
4897
- 4143653529,
4898
- 4112773975,
4899
- 2788324899,
4900
- 2477274417,
4901
- 1456262402,
4902
- 2901442914,
4903
- 1517677493,
4904
- 1846949527,
4905
- 2295493580,
4906
- 3734397586,
4907
- 2176403920,
4908
- 1280348187,
4909
- 1908823572,
4910
- 3871786941,
4911
- 846861322,
4912
- 1172426758,
4913
- 3287448474,
4914
- 3383383037,
4915
- 1655181056,
4916
- 3139813346,
4917
- 901632758,
4918
- 1897031941,
4919
- 2986607138,
4920
- 3066810236,
4921
- 3447102507,
4922
- 1393639104,
4923
- 373351379,
4924
- 950779232,
4925
- 625454576,
4926
- 3124240540,
4927
- 4148612726,
4928
- 2007998917,
4929
- 544563296,
4930
- 2244738638,
4931
- 2330496472,
4932
- 2058025392,
4933
- 1291430526,
4934
- 424198748,
4935
- 50039436,
4936
- 29584100,
4937
- 3605783033,
4938
- 2429876329,
4939
- 2791104160,
4940
- 1057563949,
4941
- 3255363231,
4942
- 3075367218,
4943
- 3463963227,
4944
- 1469046755,
4945
- 985887462
4946
- ]
4947
- ];
4948
- var e = {
4949
- pbox: [],
4950
- sbox: []
4951
- };
4952
- function B(f, l) {
4953
- let t = l >> 24 & 255, n = l >> 16 & 255, i = l >> 8 & 255, E = l & 255, C = f.sbox[0][t] + f.sbox[1][n];
4954
- return C = C ^ f.sbox[2][i], C = C + f.sbox[3][E], C;
4955
- }
4956
- function r(f, l, t) {
4957
- let n = l, i = t, E;
4958
- for (let C = 0; C < u; ++C)
4959
- n = n ^ f.pbox[C], i = B(f, n) ^ i, E = n, n = i, i = E;
4960
- return E = n, n = i, i = E, i = i ^ f.pbox[u], n = n ^ f.pbox[u + 1], { left: n, right: i };
4961
- }
4962
- function s(f, l, t) {
4963
- let n = l, i = t, E;
4964
- for (let C = u + 1; C > 1; --C)
4965
- n = n ^ f.pbox[C], i = B(f, n) ^ i, E = n, n = i, i = E;
4966
- return E = n, n = i, i = E, i = i ^ f.pbox[1], n = n ^ f.pbox[0], { left: n, right: i };
4967
- }
4968
- function o(f, l, t) {
4969
- for (let A = 0; A < 4; A++) {
4970
- f.sbox[A] = [];
4971
- for (let _ = 0; _ < 256; _++)
4972
- f.sbox[A][_] = x[A][_];
4973
- }
4974
- let n = 0;
4975
- for (let A = 0; A < u + 2; A++)
4976
- f.pbox[A] = h[A] ^ l[n], n++, n >= t && (n = 0);
4977
- let i = 0, E = 0, C = 0;
4978
- for (let A = 0; A < u + 2; A += 2)
4979
- C = r(f, i, E), i = C.left, E = C.right, f.pbox[A] = i, f.pbox[A + 1] = E;
4980
- for (let A = 0; A < 4; A++)
4981
- for (let _ = 0; _ < 256; _ += 2)
4982
- C = r(f, i, E), i = C.left, E = C.right, f.sbox[A][_] = i, f.sbox[A][_ + 1] = E;
4983
- return !0;
4984
- }
4985
- var c = w.Blowfish = D.extend({
4986
- _doReset: function() {
4987
- if (this._keyPriorReset !== this._key) {
4988
- var f = this._keyPriorReset = this._key, l = f.words, t = f.sigBytes / 4;
4989
- o(e, l, t);
4990
- }
4991
- },
4992
- encryptBlock: function(f, l) {
4993
- var t = r(e, f[l], f[l + 1]);
4994
- f[l] = t.left, f[l + 1] = t.right;
4995
- },
4996
- decryptBlock: function(f, l) {
4997
- var t = s(e, f[l], f[l + 1]);
4998
- f[l] = t.left, f[l + 1] = t.right;
4999
- },
5000
- blockSize: 64 / 32,
5001
- keySize: 128 / 32,
5002
- ivSize: 64 / 32
5003
- });
5004
- a.Blowfish = D._createHelper(c);
5005
- }(), d.Blowfish;
5006
- });
5007
- }(xx)), xx.exports;
5008
- }
5009
- (function(S, P) {
5010
- (function(d, a, p) {
5011
- S.exports = a(O(), C0(), Er(), Ar(), e0(), Fr(), t0(), Mx(), rx(), Dr(), Vx(), pr(), _r(), br(), ex(), yr(), r0(), Z(), gr(), kr(), wr(), Hr(), mr(), Sr(), Rr(), zr(), qr(), Pr(), Wr(), Lr(), Tr(), Or(), Ir(), Nr(), Xr());
5012
- })(L, function(d) {
5013
- return d;
5014
- });
5015
- })(Yx);
5016
- var Kr = Yx.exports;
5017
- const Ur = /* @__PURE__ */ ur(Kr);
5018
- export {
5019
- Ur as C,
5020
- dr as a,
5021
- ur as b,
5022
- L as c,
5023
- Br as g,
5024
- Cr as r
5025
- };