Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

687 lines
23 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 646321322e113ef5.53753c1390.js
* Module id: 538501
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, r) => {
!(function (o, i, a) {
if ("object" == typeof r)
t.exports = r = i(
e.r(939666),
e.r(99430),
e.r(731968),
e.r(894843),
e.r(553488),
);
else if ("function" == typeof define && define.amd) {
let t;
void 0 !==
(t = i(
e.r(939666),
e.r(99430),
e.r(731968),
e.r(894843),
e.r(553488),
)) && e.v(t);
} else i(o.CryptoJS);
})(e.e, function (e) {
return (
!(function () {
var t = e.lib,
r = t.WordArray,
o = t.BlockCipher,
i = e.algo,
a = [
57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59,
51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23,
15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13,
5, 28, 20, 12, 4,
],
n = [
14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8,
16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33,
48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32,
],
s = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28],
c = [
{
0: 8421888,
0x10000000: 32768,
0x20000000: 8421378,
0x30000000: 2,
0x40000000: 512,
0x50000000: 8421890,
0x60000000: 8389122,
0x70000000: 8388608,
0x80000000: 514,
0x90000000: 8389120,
0xa0000000: 33280,
0xb0000000: 8421376,
0xc0000000: 32770,
0xd0000000: 8388610,
0xe0000000: 0,
0xf0000000: 33282,
0x8000000: 0,
0x18000000: 8421890,
0x28000000: 33282,
0x38000000: 32768,
0x48000000: 8421888,
0x58000000: 512,
0x68000000: 8421378,
0x78000000: 2,
0x88000000: 8389120,
0x98000000: 33280,
0xa8000000: 8421376,
0xb8000000: 8389122,
0xc8000000: 8388610,
0xd8000000: 32770,
0xe8000000: 514,
0xf8000000: 8388608,
1: 32768,
0x10000001: 2,
0x20000001: 8421888,
0x30000001: 8388608,
0x40000001: 8421378,
0x50000001: 33280,
0x60000001: 512,
0x70000001: 8389122,
0x80000001: 8421890,
0x90000001: 8421376,
0xa0000001: 8388610,
0xb0000001: 33282,
0xc0000001: 514,
0xd0000001: 8389120,
0xe0000001: 32770,
0xf0000001: 0,
0x8000001: 8421890,
0x18000001: 8421376,
0x28000001: 8388608,
0x38000001: 512,
0x48000001: 32768,
0x58000001: 8388610,
0x68000001: 2,
0x78000001: 33282,
0x88000001: 32770,
0x98000001: 8389122,
0xa8000001: 514,
0xb8000001: 8421888,
0xc8000001: 8389120,
0xd8000001: 0,
0xe8000001: 33280,
0xf8000001: 8421378,
},
{
0: 0x40084010,
0x1000000: 16384,
0x2000000: 524288,
0x3000000: 0x40080010,
0x4000000: 0x40000010,
0x5000000: 0x40084000,
0x6000000: 0x40004000,
0x7000000: 16,
0x8000000: 540672,
0x9000000: 0x40004010,
0xa000000: 0x40000000,
0xb000000: 540688,
0xc000000: 524304,
0xd000000: 0,
0xe000000: 16400,
0xf000000: 0x40080000,
8388608: 0x40004000,
0x1800000: 540688,
0x2800000: 16,
0x3800000: 0x40004010,
0x4800000: 0x40084010,
0x5800000: 0x40000000,
0x6800000: 524288,
0x7800000: 0x40080010,
0x8800000: 524304,
0x9800000: 0,
0xa800000: 16384,
0xb800000: 0x40080000,
0xc800000: 0x40000010,
0xd800000: 540672,
0xe800000: 0x40084000,
0xf800000: 16400,
0x10000000: 0,
0x11000000: 0x40080010,
0x12000000: 0x40004010,
0x13000000: 0x40084000,
0x14000000: 0x40080000,
0x15000000: 16,
0x16000000: 540688,
0x17000000: 16384,
0x18000000: 16400,
0x19000000: 524288,
0x1a000000: 524304,
0x1b000000: 0x40000010,
0x1c000000: 540672,
0x1d000000: 0x40004000,
0x1e000000: 0x40000000,
0x1f000000: 0x40084010,
0x10800000: 540688,
0x11800000: 524288,
0x12800000: 0x40080000,
0x13800000: 16384,
0x14800000: 0x40004000,
0x15800000: 0x40084010,
0x16800000: 16,
0x17800000: 0x40000000,
0x18800000: 0x40084000,
0x19800000: 0x40000010,
0x1a800000: 0x40004010,
0x1b800000: 524304,
0x1c800000: 0,
0x1d800000: 16400,
0x1e800000: 0x40080010,
0x1f800000: 540672,
},
{
0: 260,
1048576: 0,
2097152: 0x4000100,
3145728: 65796,
4194304: 65540,
5242880: 0x4000004,
6291456: 0x4010104,
7340032: 0x4010000,
8388608: 0x4000000,
9437184: 0x4010100,
0xa00000: 65792,
0xb00000: 0x4010004,
0xc00000: 0x4000104,
0xd00000: 65536,
0xe00000: 4,
0xf00000: 256,
524288: 0x4010100,
1572864: 0x4010004,
2621440: 0,
3670016: 0x4000100,
4718592: 0x4000004,
5767168: 65536,
6815744: 65540,
7864320: 260,
8912896: 4,
9961472: 256,
0xa80000: 0x4010000,
0xb80000: 65796,
0xc80000: 65792,
0xd80000: 0x4000104,
0xe80000: 0x4010104,
0xf80000: 0x4000000,
0x1000000: 0x4010100,
0x1100000: 65540,
0x1200000: 65536,
0x1300000: 0x4000100,
0x1400000: 256,
0x1500000: 0x4010104,
0x1600000: 0x4000004,
0x1700000: 0,
0x1800000: 0x4000104,
0x1900000: 0x4000000,
0x1a00000: 4,
0x1b00000: 65792,
0x1c00000: 0x4010000,
0x1d00000: 260,
0x1e00000: 65796,
0x1f00000: 0x4010004,
0x1080000: 0x4000000,
0x1180000: 260,
0x1280000: 0x4010100,
0x1380000: 0,
0x1480000: 65540,
0x1580000: 0x4000100,
0x1680000: 256,
0x1780000: 0x4010004,
0x1880000: 65536,
0x1980000: 0x4010104,
0x1a80000: 65796,
0x1b80000: 0x4000004,
0x1c80000: 0x4000104,
0x1d80000: 0x4010000,
0x1e80000: 4,
0x1f80000: 65792,
},
{
0: 0x80401000,
65536: 0x80001040,
131072: 4198464,
196608: 0x80400000,
262144: 0,
327680: 4198400,
393216: 0x80000040,
458752: 4194368,
524288: 0x80000000,
589824: 4194304,
655360: 64,
720896: 0x80001000,
786432: 0x80400040,
851968: 4160,
917504: 4096,
983040: 0x80401040,
32768: 0x80001040,
98304: 64,
163840: 0x80400040,
229376: 0x80001000,
294912: 4198400,
360448: 0x80401040,
425984: 0,
491520: 0x80400000,
557056: 4096,
622592: 0x80401000,
688128: 4194304,
753664: 4160,
819200: 0x80000000,
884736: 4194368,
950272: 4198464,
1015808: 0x80000040,
1048576: 4194368,
1114112: 4198400,
1179648: 0x80000040,
1245184: 0,
1310720: 4160,
1376256: 0x80400040,
1441792: 0x80401000,
1507328: 0x80001040,
1572864: 0x80401040,
1638400: 0x80000000,
1703936: 0x80400000,
1769472: 4198464,
1835008: 0x80001000,
1900544: 4194304,
1966080: 64,
2031616: 4096,
1081344: 0x80400000,
1146880: 0x80401040,
1212416: 0,
1277952: 4198400,
1343488: 4194368,
1409024: 0x80000000,
1474560: 0x80001040,
1540096: 64,
1605632: 0x80000040,
1671168: 4096,
1736704: 0x80001000,
1802240: 0x80400040,
1867776: 4160,
1933312: 0x80401000,
1998848: 4194304,
2064384: 4198464,
},
{
0: 128,
4096: 0x1040000,
8192: 262144,
12288: 0x20000000,
16384: 0x20040080,
20480: 0x1000080,
24576: 0x21000080,
28672: 262272,
32768: 0x1000000,
36864: 0x20040000,
40960: 0x20000080,
45056: 0x21040080,
49152: 0x21040000,
53248: 0,
57344: 0x1040080,
61440: 0x21000000,
2048: 0x1040080,
6144: 0x21000080,
10240: 128,
14336: 0x1040000,
18432: 262144,
22528: 0x20040080,
26624: 0x21040000,
30720: 0x20000000,
34816: 0x20040000,
38912: 0,
43008: 0x21040080,
47104: 0x1000080,
51200: 0x20000080,
55296: 0x21000000,
59392: 0x1000000,
63488: 262272,
65536: 262144,
69632: 128,
73728: 0x20000000,
77824: 0x21000080,
81920: 0x1000080,
86016: 0x21040000,
90112: 0x20040080,
94208: 0x1000000,
98304: 0x21040080,
102400: 0x21000000,
106496: 0x1040000,
110592: 0x20040000,
114688: 262272,
118784: 0x20000080,
122880: 0,
126976: 0x1040080,
67584: 0x21000080,
71680: 0x1000000,
75776: 0x1040000,
79872: 0x20040080,
83968: 0x20000000,
88064: 0x1040080,
92160: 128,
96256: 0x21040000,
100352: 262272,
104448: 0x21040080,
108544: 0,
112640: 0x21000000,
116736: 0x1000080,
120832: 262144,
124928: 0x20040000,
129024: 0x20000080,
},
{
0: 0x10000008,
256: 8192,
512: 0x10200000,
768: 0x10202008,
1024: 0x10002000,
1280: 2097152,
1536: 2097160,
1792: 0x10000000,
2048: 0,
2304: 0x10002008,
2560: 2105344,
2816: 8,
3072: 0x10200008,
3328: 2105352,
3584: 8200,
3840: 0x10202000,
128: 0x10200000,
384: 0x10202008,
640: 8,
896: 2097152,
1152: 2105352,
1408: 0x10000008,
1664: 0x10002000,
1920: 8200,
2176: 2097160,
2432: 8192,
2688: 0x10002008,
2944: 0x10200008,
3200: 0,
3456: 0x10202000,
3712: 2105344,
3968: 0x10000000,
4096: 0x10002000,
4352: 0x10200008,
4608: 0x10202008,
4864: 8200,
5120: 2097152,
5376: 0x10000000,
5632: 0x10000008,
5888: 2105344,
6144: 2105352,
6400: 0,
6656: 8,
6912: 0x10200000,
7168: 8192,
7424: 0x10002008,
7680: 0x10202000,
7936: 2097160,
4224: 8,
4480: 2105344,
4736: 2097152,
4992: 0x10000008,
5248: 0x10002000,
5504: 8200,
5760: 0x10202008,
6016: 0x10200000,
6272: 0x10202000,
6528: 0x10200008,
6784: 8192,
7040: 2105352,
7296: 2097160,
7552: 0,
7808: 0x10000000,
8064: 0x10002008,
},
{
0: 1048576,
16: 0x2000401,
32: 1024,
48: 1049601,
64: 0x2100401,
80: 0,
96: 1,
112: 0x2100001,
128: 0x2000400,
144: 1048577,
160: 0x2000001,
176: 0x2100400,
192: 0x2100000,
208: 1025,
224: 1049600,
240: 0x2000000,
8: 0x2100001,
24: 0,
40: 0x2000401,
56: 0x2100400,
72: 1048576,
88: 0x2000001,
104: 0x2000000,
120: 1025,
136: 1049601,
152: 0x2000400,
168: 0x2100000,
184: 1048577,
200: 1024,
216: 0x2100401,
232: 1,
248: 1049600,
256: 0x2000000,
272: 1048576,
288: 0x2000401,
304: 0x2100001,
320: 1048577,
336: 0x2000400,
352: 0x2100400,
368: 1049601,
384: 1025,
400: 0x2100401,
416: 1049600,
432: 1,
448: 0,
464: 0x2100000,
480: 0x2000001,
496: 1024,
264: 1049600,
280: 0x2000401,
296: 0x2100001,
312: 1,
328: 0x2000000,
344: 1048576,
360: 1025,
376: 0x2100400,
392: 0x2000001,
408: 0x2100000,
424: 0,
440: 0x2100401,
456: 1049601,
472: 1024,
488: 0x2000400,
504: 1048577,
},
{
0: 0x8000820,
1: 131072,
2: 0x8000000,
3: 32,
4: 131104,
5: 0x8020820,
6: 0x8020800,
7: 2048,
8: 0x8020000,
9: 0x8000800,
10: 133120,
11: 0x8020020,
12: 2080,
13: 0,
14: 0x8000020,
15: 133152,
0x80000000: 2048,
0x80000001: 0x8020820,
0x80000002: 0x8000820,
0x80000003: 0x8000000,
0x80000004: 0x8020000,
0x80000005: 133120,
0x80000006: 133152,
0x80000007: 32,
0x80000008: 0x8000020,
0x80000009: 2080,
0x8000000a: 131104,
0x8000000b: 0x8020800,
0x8000000c: 0,
0x8000000d: 0x8020020,
0x8000000e: 0x8000800,
0x8000000f: 131072,
16: 133152,
17: 0x8020800,
18: 32,
19: 2048,
20: 0x8000800,
21: 0x8000020,
22: 0x8020020,
23: 131072,
24: 0,
25: 131104,
26: 0x8020000,
27: 0x8000820,
28: 0x8020820,
29: 133120,
30: 2080,
31: 0x8000000,
0x80000010: 131072,
0x80000011: 2048,
0x80000012: 0x8020020,
0x80000013: 133152,
0x80000014: 32,
0x80000015: 0x8020000,
0x80000016: 0x8000000,
0x80000017: 0x8000820,
0x80000018: 0x8020820,
0x80000019: 0x8000020,
0x8000001a: 0x8000800,
0x8000001b: 0,
0x8000001c: 133120,
0x8000001d: 2080,
0x8000001e: 131104,
0x8000001f: 0x8020800,
},
],
l = [
0xf8000001, 0x1f800000, 0x1f80000, 2064384, 129024, 8064, 504,
0x8000001f,
],
f = (i.DES = o.extend({
_doReset: function () {
for (var e = this._key.words, t = [], r = 0; r < 56; r++) {
var o = a[r] - 1;
t[r] = (e[o >>> 5] >>> (31 - (o % 32))) & 1;
}
for (var i = (this._subKeys = []), c = 0; c < 16; c++) {
for (var l = (i[c] = []), f = s[c], r = 0; r < 24; r++)
(l[(r / 6) | 0] |=
t[(n[r] - 1 + f) % 28] << (31 - (r % 6))),
(l[4 + ((r / 6) | 0)] |=
t[28 + ((n[r + 24] - 1 + f) % 28)] << (31 - (r % 6)));
l[0] = (l[0] << 1) | (l[0] >>> 31);
for (var r = 1; r < 7; r++) l[r] = l[r] >>> ((r - 1) * 4 + 3);
l[7] = (l[7] << 5) | (l[7] >>> 27);
}
for (var d = (this._invSubKeys = []), r = 0; r < 16; r++)
d[r] = i[15 - r];
},
encryptBlock: function (e, t) {
this._doCryptBlock(e, t, this._subKeys);
},
decryptBlock: function (e, t) {
this._doCryptBlock(e, t, this._invSubKeys);
},
_doCryptBlock: function (e, t, r) {
(this._lBlock = e[t]),
(this._rBlock = e[t + 1]),
d.call(this, 4, 0xf0f0f0f),
d.call(this, 16, 65535),
u.call(this, 2, 0x33333333),
u.call(this, 8, 0xff00ff),
d.call(this, 1, 0x55555555);
for (var o = 0; o < 16; o++) {
for (
var i = r[o],
a = this._lBlock,
n = this._rBlock,
s = 0,
f = 0;
f < 8;
f++
)
s |= c[f][((n ^ i[f]) & l[f]) >>> 0];
(this._lBlock = n), (this._rBlock = a ^ s);
}
var x = this._lBlock;
(this._lBlock = this._rBlock),
(this._rBlock = x),
d.call(this, 1, 0x55555555),
u.call(this, 8, 0xff00ff),
u.call(this, 2, 0x33333333),
d.call(this, 16, 65535),
d.call(this, 4, 0xf0f0f0f),
(e[t] = this._lBlock),
(e[t + 1] = this._rBlock);
},
keySize: 2,
ivSize: 2,
blockSize: 2,
}));
function d(e, t) {
var r = ((this._lBlock >>> e) ^ this._rBlock) & t;
(this._rBlock ^= r), (this._lBlock ^= r << e);
}
function u(e, t) {
var r = ((this._rBlock >>> e) ^ this._lBlock) & t;
(this._lBlock ^= r), (this._rBlock ^= r << e);
}
e.DES = o._createHelper(f);
var x = (i.TripleDES = o.extend({
_doReset: function () {
var e = this._key.words;
if (2 !== e.length && 4 !== e.length && e.length < 6)
throw Error(
"Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.",
);
var t = e.slice(0, 2),
o = e.length < 4 ? e.slice(0, 2) : e.slice(2, 4),
i = e.length < 6 ? e.slice(0, 2) : e.slice(4, 6);
(this._des1 = f.createEncryptor(r.create(t))),
(this._des2 = f.createEncryptor(r.create(o))),
(this._des3 = f.createEncryptor(r.create(i)));
},
encryptBlock: function (e, t) {
this._des1.encryptBlock(e, t),
this._des2.decryptBlock(e, t),
this._des3.encryptBlock(e, t);
},
decryptBlock: function (e, t) {
this._des3.decryptBlock(e, t),
this._des2.encryptBlock(e, t),
this._des1.decryptBlock(e, t);
},
keySize: 6,
ivSize: 2,
blockSize: 2,
}));
e.TripleDES = o._createHelper(x);
})(),
e.TripleDES
);
});
};
export default moduleFactory;