@solar-taro/ui-sun 2.0.0 → 2.2.0

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/index.d.ts +2 -0
  3. package/index.js +29 -25
  4. package/index13.js +1 -1
  5. package/index14.js +1 -1
  6. package/index23.js +1 -1
  7. package/index24.js +1 -1
  8. package/index25.js +9 -9
  9. package/index26.js +10 -2
  10. package/index27.js +10 -2
  11. package/index28.js +1 -1
  12. package/index29.js +2 -7
  13. package/index30.js +1 -1
  14. package/index31.js +1 -1
  15. package/index32.js +1 -1
  16. package/index33.js +7 -2
  17. package/index34.js +1 -1
  18. package/index35.js +1 -1
  19. package/index36.js +1 -1
  20. package/index37.js +1 -1
  21. package/index38.js +1 -1
  22. package/index39.js +1 -1
  23. package/index40.js +1 -1
  24. package/index41.js +1 -1
  25. package/index42.js +1 -1
  26. package/index43.js +1 -1
  27. package/index44.js +1 -1
  28. package/index45.js +1 -1
  29. package/index46.js +1 -1
  30. package/index47.js +2 -3
  31. package/index48.js +7 -7
  32. package/index49.js +3 -3
  33. package/index50.js +4 -4
  34. package/index51.js +4 -4
  35. package/index54.js +3 -26
  36. package/index55.js +2 -2
  37. package/index56.js +24 -504
  38. package/index57.js +2 -79
  39. package/index58.js +498 -62
  40. package/index59.js +58 -48
  41. package/index60.js +62 -535
  42. package/index61.js +69 -2
  43. package/index62.js +543 -2
  44. package/index63.js +2 -2
  45. package/index64.js +2 -4
  46. package/index65.js +2 -2
  47. package/index66.js +4 -4
  48. package/index68.js +4 -2
  49. package/index71.js +2 -48
  50. package/index72.js +41 -75
  51. package/index73.js +82 -2
  52. package/index74.js +2 -2
  53. package/index75.js +2 -2
  54. package/index76.js +4 -0
  55. package/index77.js +4 -0
  56. package/package.json +1 -1
  57. package/page-header/index.d.ts +1 -0
  58. package/page-header/index.scss +5 -0
  59. package/page-header/index.vue.d.ts +17 -0
  60. package/popover/index.scss +20 -18
  61. package/title/index.d.ts +1 -0
  62. package/title/index.scss +4 -0
  63. package/title/index.vue.d.ts +17 -0
package/index58.js CHANGED
@@ -1,72 +1,508 @@
1
- import { commonjsGlobal as K } from "./index54.js";
2
- import { __module as M } from "./index69.js";
3
- import { __require as N } from "./index56.js";
4
- var k;
5
- function X() {
6
- return k ? M.exports : (k = 1, function(z, O) {
7
- (function(L, B) {
8
- z.exports = B(N());
9
- })(K, function(L) {
10
- return function(B) {
11
- var H = L, R = H.lib, P = R.WordArray, D = R.Hasher, E = H.algo, o = [];
12
- (function() {
13
- for (var e = 0; e < 64; e++)
14
- o[e] = B.abs(B.sin(e + 1)) * 4294967296 | 0;
15
- })();
16
- var j = E.MD5 = D.extend({
17
- _doReset: function() {
18
- this._hash = new P.init([
19
- 1732584193,
20
- 4023233417,
21
- 2562383102,
22
- 271733878
23
- ]);
24
- },
25
- _doProcessBlock: function(e, f) {
26
- for (var d = 0; d < 16; d++) {
27
- var l = f + d, s = e[l];
28
- e[l] = (s << 8 | s >>> 24) & 16711935 | (s << 24 | s >>> 8) & 4278255360;
1
+ import { commonjsGlobal as p } from "./index56.js";
2
+ import { commonjsRequire as W } from "./index66.js";
3
+ import { __module as w } from "./index67.js";
4
+ import q from "./index68.js";
5
+ var S;
6
+ function T() {
7
+ return S ? w.exports : (S = 1, function(C, L) {
8
+ (function(y, f) {
9
+ C.exports = f();
10
+ })(p, function() {
11
+ var y = y || function(f, b) {
12
+ var s;
13
+ if (typeof window != "undefined" && window.crypto && (s = window.crypto), typeof self != "undefined" && self.crypto && (s = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (s = globalThis.crypto), !s && typeof window != "undefined" && window.msCrypto && (s = window.msCrypto), !s && typeof p != "undefined" && p.crypto && (s = p.crypto), !s && typeof W == "function")
14
+ try {
15
+ s = q;
16
+ } catch {
17
+ }
18
+ var R = function() {
19
+ if (s) {
20
+ if (typeof s.getRandomValues == "function")
21
+ try {
22
+ return s.getRandomValues(new Uint32Array(1))[0];
23
+ } catch {
24
+ }
25
+ if (typeof s.randomBytes == "function")
26
+ try {
27
+ return s.randomBytes(4).readInt32LE();
28
+ } catch {
29
+ }
30
+ }
31
+ throw new Error("Native crypto module could not be used to get secure random number.");
32
+ }, z = Object.create || /* @__PURE__ */ function() {
33
+ function t() {
34
+ }
35
+ return function(r) {
36
+ var n;
37
+ return t.prototype = r, n = new t(), t.prototype = null, n;
38
+ };
39
+ }(), h = {}, d = h.lib = {}, c = d.Base = /* @__PURE__ */ function() {
40
+ return {
41
+ /**
42
+ * Creates a new object that inherits from this object.
43
+ *
44
+ * @param {Object} overrides Properties to copy into the new object.
45
+ *
46
+ * @return {Object} The new object.
47
+ *
48
+ * @static
49
+ *
50
+ * @example
51
+ *
52
+ * var MyType = CryptoJS.lib.Base.extend({
53
+ * field: 'value',
54
+ *
55
+ * method: function () {
56
+ * }
57
+ * });
58
+ */
59
+ extend: function(t) {
60
+ var r = z(this);
61
+ return t && r.mixIn(t), (!r.hasOwnProperty("init") || this.init === r.init) && (r.init = function() {
62
+ r.$super.init.apply(this, arguments);
63
+ }), r.init.prototype = r, r.$super = this, r;
64
+ },
65
+ /**
66
+ * Extends this object and runs the init method.
67
+ * Arguments to create() will be passed to init().
68
+ *
69
+ * @return {Object} The new object.
70
+ *
71
+ * @static
72
+ *
73
+ * @example
74
+ *
75
+ * var instance = MyType.create();
76
+ */
77
+ create: function() {
78
+ var t = this.extend();
79
+ return t.init.apply(t, arguments), t;
80
+ },
81
+ /**
82
+ * Initializes a newly created object.
83
+ * Override this method to add some logic when your objects are created.
84
+ *
85
+ * @example
86
+ *
87
+ * var MyType = CryptoJS.lib.Base.extend({
88
+ * init: function () {
89
+ * // ...
90
+ * }
91
+ * });
92
+ */
93
+ init: function() {
94
+ },
95
+ /**
96
+ * Copies properties into this object.
97
+ *
98
+ * @param {Object} properties The properties to mix in.
99
+ *
100
+ * @example
101
+ *
102
+ * MyType.mixIn({
103
+ * field: 'value'
104
+ * });
105
+ */
106
+ mixIn: function(t) {
107
+ for (var r in t)
108
+ t.hasOwnProperty(r) && (this[r] = t[r]);
109
+ t.hasOwnProperty("toString") && (this.toString = t.toString);
110
+ },
111
+ /**
112
+ * Creates a copy of this object.
113
+ *
114
+ * @return {Object} The clone.
115
+ *
116
+ * @example
117
+ *
118
+ * var clone = instance.clone();
119
+ */
120
+ clone: function() {
121
+ return this.init.prototype.extend(this);
122
+ }
123
+ };
124
+ }(), u = d.WordArray = c.extend({
125
+ /**
126
+ * Initializes a newly created word array.
127
+ *
128
+ * @param {Array} words (Optional) An array of 32-bit words.
129
+ * @param {number} sigBytes (Optional) The number of significant bytes in the words.
130
+ *
131
+ * @example
132
+ *
133
+ * var wordArray = CryptoJS.lib.WordArray.create();
134
+ * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
135
+ * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
136
+ */
137
+ init: function(t, r) {
138
+ t = this.words = t || [], r != b ? this.sigBytes = r : this.sigBytes = t.length * 4;
139
+ },
140
+ /**
141
+ * Converts this word array to a string.
142
+ *
143
+ * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
144
+ *
145
+ * @return {string} The stringified word array.
146
+ *
147
+ * @example
148
+ *
149
+ * var string = wordArray + '';
150
+ * var string = wordArray.toString();
151
+ * var string = wordArray.toString(CryptoJS.enc.Utf8);
152
+ */
153
+ toString: function(t) {
154
+ return (t || k).stringify(this);
155
+ },
156
+ /**
157
+ * Concatenates a word array to this word array.
158
+ *
159
+ * @param {WordArray} wordArray The word array to append.
160
+ *
161
+ * @return {WordArray} This word array.
162
+ *
163
+ * @example
164
+ *
165
+ * wordArray1.concat(wordArray2);
166
+ */
167
+ concat: function(t) {
168
+ var r = this.words, n = t.words, e = this.sigBytes, i = t.sigBytes;
169
+ if (this.clamp(), e % 4)
170
+ for (var o = 0; o < i; o++) {
171
+ var g = n[o >>> 2] >>> 24 - o % 4 * 8 & 255;
172
+ r[e + o >>> 2] |= g << 24 - (e + o) % 4 * 8;
173
+ }
174
+ else
175
+ for (var a = 0; a < i; a += 4)
176
+ r[e + a >>> 2] = n[a >>> 2];
177
+ return this.sigBytes += i, this;
178
+ },
179
+ /**
180
+ * Removes insignificant bits.
181
+ *
182
+ * @example
183
+ *
184
+ * wordArray.clamp();
185
+ */
186
+ clamp: function() {
187
+ var t = this.words, r = this.sigBytes;
188
+ t[r >>> 2] &= 4294967295 << 32 - r % 4 * 8, t.length = f.ceil(r / 4);
189
+ },
190
+ /**
191
+ * Creates a copy of this word array.
192
+ *
193
+ * @return {WordArray} The clone.
194
+ *
195
+ * @example
196
+ *
197
+ * var clone = wordArray.clone();
198
+ */
199
+ clone: function() {
200
+ var t = c.clone.call(this);
201
+ return t.words = this.words.slice(0), t;
202
+ },
203
+ /**
204
+ * Creates a word array filled with random bytes.
205
+ *
206
+ * @param {number} nBytes The number of random bytes to generate.
207
+ *
208
+ * @return {WordArray} The random word array.
209
+ *
210
+ * @static
211
+ *
212
+ * @example
213
+ *
214
+ * var wordArray = CryptoJS.lib.WordArray.random(16);
215
+ */
216
+ random: function(t) {
217
+ for (var r = [], n = 0; n < t; n += 4)
218
+ r.push(R());
219
+ return new u.init(r, t);
220
+ }
221
+ }), v = h.enc = {}, k = v.Hex = {
222
+ /**
223
+ * Converts a word array to a hex string.
224
+ *
225
+ * @param {WordArray} wordArray The word array.
226
+ *
227
+ * @return {string} The hex string.
228
+ *
229
+ * @static
230
+ *
231
+ * @example
232
+ *
233
+ * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
234
+ */
235
+ stringify: function(t) {
236
+ for (var r = t.words, n = t.sigBytes, e = [], i = 0; i < n; i++) {
237
+ var o = r[i >>> 2] >>> 24 - i % 4 * 8 & 255;
238
+ e.push((o >>> 4).toString(16)), e.push((o & 15).toString(16));
239
+ }
240
+ return e.join("");
241
+ },
242
+ /**
243
+ * Converts a hex string to a word array.
244
+ *
245
+ * @param {string} hexStr The hex string.
246
+ *
247
+ * @return {WordArray} The word array.
248
+ *
249
+ * @static
250
+ *
251
+ * @example
252
+ *
253
+ * var wordArray = CryptoJS.enc.Hex.parse(hexString);
254
+ */
255
+ parse: function(t) {
256
+ for (var r = t.length, n = [], e = 0; e < r; e += 2)
257
+ n[e >>> 3] |= parseInt(t.substr(e, 2), 16) << 24 - e % 8 * 4;
258
+ return new u.init(n, r / 2);
259
+ }
260
+ }, B = v.Latin1 = {
261
+ /**
262
+ * Converts a word array to a Latin1 string.
263
+ *
264
+ * @param {WordArray} wordArray The word array.
265
+ *
266
+ * @return {string} The Latin1 string.
267
+ *
268
+ * @static
269
+ *
270
+ * @example
271
+ *
272
+ * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
273
+ */
274
+ stringify: function(t) {
275
+ for (var r = t.words, n = t.sigBytes, e = [], i = 0; i < n; i++) {
276
+ var o = r[i >>> 2] >>> 24 - i % 4 * 8 & 255;
277
+ e.push(String.fromCharCode(o));
29
278
  }
30
- var v = this._hash.words, x = e[f + 0], _ = e[f + 1], m = e[f + 2], p = e[f + 3], g = e[f + 4], q = e[f + 5], w = e[f + 6], y = e[f + 7], T = e[f + 8], C = e[f + 9], F = e[f + 10], G = e[f + 11], W = e[f + 12], b = e[f + 13], A = e[f + 14], I = e[f + 15], r = v[0], a = v[1], n = v[2], t = v[3];
31
- r = c(r, a, n, t, x, 7, o[0]), t = c(t, r, a, n, _, 12, o[1]), n = c(n, t, r, a, m, 17, o[2]), a = c(a, n, t, r, p, 22, o[3]), r = c(r, a, n, t, g, 7, o[4]), t = c(t, r, a, n, q, 12, o[5]), n = c(n, t, r, a, w, 17, o[6]), a = c(a, n, t, r, y, 22, o[7]), r = c(r, a, n, t, T, 7, o[8]), t = c(t, r, a, n, C, 12, o[9]), n = c(n, t, r, a, F, 17, o[10]), a = c(a, n, t, r, G, 22, o[11]), r = c(r, a, n, t, W, 7, o[12]), t = c(t, r, a, n, b, 12, o[13]), n = c(n, t, r, a, A, 17, o[14]), a = c(a, n, t, r, I, 22, o[15]), r = i(r, a, n, t, _, 5, o[16]), t = i(t, r, a, n, w, 9, o[17]), n = i(n, t, r, a, G, 14, o[18]), a = i(a, n, t, r, x, 20, o[19]), r = i(r, a, n, t, q, 5, o[20]), t = i(t, r, a, n, F, 9, o[21]), n = i(n, t, r, a, I, 14, o[22]), a = i(a, n, t, r, g, 20, o[23]), r = i(r, a, n, t, C, 5, o[24]), t = i(t, r, a, n, A, 9, o[25]), n = i(n, t, r, a, p, 14, o[26]), a = i(a, n, t, r, T, 20, o[27]), r = i(r, a, n, t, b, 5, o[28]), t = i(t, r, a, n, m, 9, o[29]), n = i(n, t, r, a, y, 14, o[30]), a = i(a, n, t, r, W, 20, o[31]), r = u(r, a, n, t, q, 4, o[32]), t = u(t, r, a, n, T, 11, o[33]), n = u(n, t, r, a, G, 16, o[34]), a = u(a, n, t, r, A, 23, o[35]), r = u(r, a, n, t, _, 4, o[36]), t = u(t, r, a, n, g, 11, o[37]), n = u(n, t, r, a, y, 16, o[38]), a = u(a, n, t, r, F, 23, o[39]), r = u(r, a, n, t, b, 4, o[40]), t = u(t, r, a, n, x, 11, o[41]), n = u(n, t, r, a, p, 16, o[42]), a = u(a, n, t, r, w, 23, o[43]), r = u(r, a, n, t, C, 4, o[44]), t = u(t, r, a, n, W, 11, o[45]), n = u(n, t, r, a, I, 16, o[46]), a = u(a, n, t, r, m, 23, o[47]), r = h(r, a, n, t, x, 6, o[48]), t = h(t, r, a, n, y, 10, o[49]), n = h(n, t, r, a, A, 15, o[50]), a = h(a, n, t, r, q, 21, o[51]), r = h(r, a, n, t, W, 6, o[52]), t = h(t, r, a, n, p, 10, o[53]), n = h(n, t, r, a, F, 15, o[54]), a = h(a, n, t, r, _, 21, o[55]), r = h(r, a, n, t, T, 6, o[56]), t = h(t, r, a, n, I, 10, o[57]), n = h(n, t, r, a, w, 15, o[58]), a = h(a, n, t, r, b, 21, o[59]), r = h(r, a, n, t, g, 6, o[60]), t = h(t, r, a, n, G, 10, o[61]), n = h(n, t, r, a, m, 15, o[62]), a = h(a, n, t, r, C, 21, o[63]), v[0] = v[0] + r | 0, v[1] = v[1] + a | 0, v[2] = v[2] + n | 0, v[3] = v[3] + t | 0;
32
- },
33
- _doFinalize: function() {
34
- var e = this._data, f = e.words, d = this._nDataBytes * 8, l = e.sigBytes * 8;
35
- f[l >>> 5] |= 128 << 24 - l % 32;
36
- var s = B.floor(d / 4294967296), v = d;
37
- f[(l + 64 >>> 9 << 4) + 15] = (s << 8 | s >>> 24) & 16711935 | (s << 24 | s >>> 8) & 4278255360, f[(l + 64 >>> 9 << 4) + 14] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, e.sigBytes = (f.length + 1) * 4, this._process();
38
- for (var x = this._hash, _ = x.words, m = 0; m < 4; m++) {
39
- var p = _[m];
40
- _[m] = (p << 8 | p >>> 24) & 16711935 | (p << 24 | p >>> 8) & 4278255360;
279
+ return e.join("");
280
+ },
281
+ /**
282
+ * Converts a Latin1 string to a word array.
283
+ *
284
+ * @param {string} latin1Str The Latin1 string.
285
+ *
286
+ * @return {WordArray} The word array.
287
+ *
288
+ * @static
289
+ *
290
+ * @example
291
+ *
292
+ * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
293
+ */
294
+ parse: function(t) {
295
+ for (var r = t.length, n = [], e = 0; e < r; e++)
296
+ n[e >>> 2] |= (t.charCodeAt(e) & 255) << 24 - e % 4 * 8;
297
+ return new u.init(n, r);
298
+ }
299
+ }, H = v.Utf8 = {
300
+ /**
301
+ * Converts a word array to a UTF-8 string.
302
+ *
303
+ * @param {WordArray} wordArray The word array.
304
+ *
305
+ * @return {string} The UTF-8 string.
306
+ *
307
+ * @static
308
+ *
309
+ * @example
310
+ *
311
+ * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
312
+ */
313
+ stringify: function(t) {
314
+ try {
315
+ return decodeURIComponent(escape(B.stringify(t)));
316
+ } catch {
317
+ throw new Error("Malformed UTF-8 data");
318
+ }
319
+ },
320
+ /**
321
+ * Converts a UTF-8 string to a word array.
322
+ *
323
+ * @param {string} utf8Str The UTF-8 string.
324
+ *
325
+ * @return {WordArray} The word array.
326
+ *
327
+ * @static
328
+ *
329
+ * @example
330
+ *
331
+ * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
332
+ */
333
+ parse: function(t) {
334
+ return B.parse(unescape(encodeURIComponent(t)));
335
+ }
336
+ }, _ = d.BufferedBlockAlgorithm = c.extend({
337
+ /**
338
+ * Resets this block algorithm's data buffer to its initial state.
339
+ *
340
+ * @example
341
+ *
342
+ * bufferedBlockAlgorithm.reset();
343
+ */
344
+ reset: function() {
345
+ this._data = new u.init(), this._nDataBytes = 0;
346
+ },
347
+ /**
348
+ * Adds new data to this block algorithm's buffer.
349
+ *
350
+ * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
351
+ *
352
+ * @example
353
+ *
354
+ * bufferedBlockAlgorithm._append('data');
355
+ * bufferedBlockAlgorithm._append(wordArray);
356
+ */
357
+ _append: function(t) {
358
+ typeof t == "string" && (t = H.parse(t)), this._data.concat(t), this._nDataBytes += t.sigBytes;
359
+ },
360
+ /**
361
+ * Processes available data blocks.
362
+ *
363
+ * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
364
+ *
365
+ * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
366
+ *
367
+ * @return {WordArray} The processed data.
368
+ *
369
+ * @example
370
+ *
371
+ * var processedData = bufferedBlockAlgorithm._process();
372
+ * var processedData = bufferedBlockAlgorithm._process(!!'flush');
373
+ */
374
+ _process: function(t) {
375
+ var r, n = this._data, e = n.words, i = n.sigBytes, o = this.blockSize, g = o * 4, a = i / g;
376
+ t ? a = f.ceil(a) : a = f.max((a | 0) - this._minBufferSize, 0);
377
+ var l = a * o, x = f.min(l * 4, i);
378
+ if (l) {
379
+ for (var m = 0; m < l; m += o)
380
+ this._doProcessBlock(e, m);
381
+ r = e.splice(0, l), n.sigBytes -= x;
41
382
  }
42
- return x;
383
+ return new u.init(r, x);
43
384
  },
385
+ /**
386
+ * Creates a copy of this object.
387
+ *
388
+ * @return {Object} The clone.
389
+ *
390
+ * @example
391
+ *
392
+ * var clone = bufferedBlockAlgorithm.clone();
393
+ */
44
394
  clone: function() {
45
- var e = D.clone.call(this);
46
- return e._hash = this._hash.clone(), e;
395
+ var t = c.clone.call(this);
396
+ return t._data = this._data.clone(), t;
397
+ },
398
+ _minBufferSize: 0
399
+ });
400
+ d.Hasher = _.extend({
401
+ /**
402
+ * Configuration options.
403
+ */
404
+ cfg: c.extend(),
405
+ /**
406
+ * Initializes a newly created hasher.
407
+ *
408
+ * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
409
+ *
410
+ * @example
411
+ *
412
+ * var hasher = CryptoJS.algo.SHA256.create();
413
+ */
414
+ init: function(t) {
415
+ this.cfg = this.cfg.extend(t), this.reset();
416
+ },
417
+ /**
418
+ * Resets this hasher to its initial state.
419
+ *
420
+ * @example
421
+ *
422
+ * hasher.reset();
423
+ */
424
+ reset: function() {
425
+ _.reset.call(this), this._doReset();
426
+ },
427
+ /**
428
+ * Updates this hasher with a message.
429
+ *
430
+ * @param {WordArray|string} messageUpdate The message to append.
431
+ *
432
+ * @return {Hasher} This hasher.
433
+ *
434
+ * @example
435
+ *
436
+ * hasher.update('message');
437
+ * hasher.update(wordArray);
438
+ */
439
+ update: function(t) {
440
+ return this._append(t), this._process(), this;
441
+ },
442
+ /**
443
+ * Finalizes the hash computation.
444
+ * Note that the finalize operation is effectively a destructive, read-once operation.
445
+ *
446
+ * @param {WordArray|string} messageUpdate (Optional) A final message update.
447
+ *
448
+ * @return {WordArray} The hash.
449
+ *
450
+ * @example
451
+ *
452
+ * var hash = hasher.finalize();
453
+ * var hash = hasher.finalize('message');
454
+ * var hash = hasher.finalize(wordArray);
455
+ */
456
+ finalize: function(t) {
457
+ t && this._append(t);
458
+ var r = this._doFinalize();
459
+ return r;
460
+ },
461
+ blockSize: 16,
462
+ /**
463
+ * Creates a shortcut function to a hasher's object interface.
464
+ *
465
+ * @param {Hasher} hasher The hasher to create a helper for.
466
+ *
467
+ * @return {Function} The shortcut function.
468
+ *
469
+ * @static
470
+ *
471
+ * @example
472
+ *
473
+ * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
474
+ */
475
+ _createHelper: function(t) {
476
+ return function(r, n) {
477
+ return new t.init(n).finalize(r);
478
+ };
479
+ },
480
+ /**
481
+ * Creates a shortcut function to the HMAC's object interface.
482
+ *
483
+ * @param {Hasher} hasher The hasher to use in this HMAC helper.
484
+ *
485
+ * @return {Function} The shortcut function.
486
+ *
487
+ * @static
488
+ *
489
+ * @example
490
+ *
491
+ * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
492
+ */
493
+ _createHmacHelper: function(t) {
494
+ return function(r, n) {
495
+ return new I.HMAC.init(t, n).finalize(r);
496
+ };
47
497
  }
48
498
  });
49
- function c(e, f, d, l, s, v, x) {
50
- var _ = e + (f & d | ~f & l) + s + x;
51
- return (_ << v | _ >>> 32 - v) + f;
52
- }
53
- function i(e, f, d, l, s, v, x) {
54
- var _ = e + (f & l | d & ~l) + s + x;
55
- return (_ << v | _ >>> 32 - v) + f;
56
- }
57
- function u(e, f, d, l, s, v, x) {
58
- var _ = e + (f ^ d ^ l) + s + x;
59
- return (_ << v | _ >>> 32 - v) + f;
60
- }
61
- function h(e, f, d, l, s, v, x) {
62
- var _ = e + (d ^ (f | ~l)) + s + x;
63
- return (_ << v | _ >>> 32 - v) + f;
64
- }
65
- H.MD5 = D._createHelper(j), H.HmacMD5 = D._createHmacHelper(j);
66
- }(Math), L.MD5;
499
+ var I = h.algo = {};
500
+ return h;
501
+ }(Math);
502
+ return y;
67
503
  });
68
- }(M), M.exports);
504
+ }(w), w.exports);
69
505
  }
70
506
  export {
71
- X as __require
507
+ T as __require
72
508
  };