@jieyin/editor-sdk-test 1.1.166 → 1.1.167
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/editor-sdk.es.js +2390 -2391
- package/dist/renderWorker.js +552 -555
- package/package.json +1 -1
package/dist/renderWorker.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var D0 = /* @__PURE__ */ ((r) => (r[r.Group = 0] = "Group", r[r.Layer = 1] = "Layer", r))(D0 || {});
|
|
2
|
-
function
|
|
3
|
-
let
|
|
2
|
+
function et(r) {
|
|
3
|
+
let l = r;
|
|
4
4
|
return () => {
|
|
5
|
-
const t =
|
|
6
|
-
return
|
|
5
|
+
const t = l;
|
|
6
|
+
return l += 1, t;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function tt(r, l) {
|
|
10
10
|
return {
|
|
11
11
|
name: r.name || "",
|
|
12
12
|
type: r.type || "Layer",
|
|
@@ -23,16 +23,16 @@ function et(r, d) {
|
|
|
23
23
|
quiltSliceY: r.quiltSliceY,
|
|
24
24
|
layerOrder: r.layerOrder,
|
|
25
25
|
imagePath: r.imagePath,
|
|
26
|
-
vectorMask: r.vectorMask ??
|
|
26
|
+
vectorMask: r.vectorMask ?? l,
|
|
27
27
|
filterList: r.filterList,
|
|
28
28
|
opacity: r.opacity,
|
|
29
29
|
clipping: r.clipping
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
let c = r.name || "", v =
|
|
32
|
+
function xt(r, l, t, e) {
|
|
33
|
+
let c = r.name || "", v = l[c], y = v?.partId ?? (r.type === "Group" ? t.get(c) : void 0);
|
|
34
34
|
if (r.type === "Group" && y === void 0 && (!v || v.id === void 0) && r.children && r.children.length === 1) {
|
|
35
|
-
const x = r.children[0].name, n =
|
|
35
|
+
const x = r.children[0].name, n = l[x], E = n?.partId ?? t.get(x);
|
|
36
36
|
(E !== void 0 || n?.id !== void 0) && (c = x, v = n, y = E);
|
|
37
37
|
}
|
|
38
38
|
const B = r.id ?? v?.id ?? e();
|
|
@@ -45,7 +45,7 @@ function tt(r, d, t, e) {
|
|
|
45
45
|
bounds: r.bounds || { left: 0, top: 0, width: 0, height: 0 },
|
|
46
46
|
type: D0.Group,
|
|
47
47
|
smartObjects: (r.children ?? []).map(
|
|
48
|
-
(x) =>
|
|
48
|
+
(x) => tt(x, r.vectorMask)
|
|
49
49
|
),
|
|
50
50
|
opacity: r.opacity,
|
|
51
51
|
clipping: r.clipping,
|
|
@@ -64,10 +64,10 @@ function tt(r, d, t, e) {
|
|
|
64
64
|
layerOrder: r.layerOrder
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
const t = new Map(
|
|
67
|
+
function nt(r, l) {
|
|
68
|
+
const t = new Map(l.parts.map((c) => [c.name, c.id])), e = et(l.defaultIdStart ?? 1);
|
|
69
69
|
return {
|
|
70
|
-
parts:
|
|
70
|
+
parts: l.parts,
|
|
71
71
|
models: r.map((c) => {
|
|
72
72
|
const v = c.layerExtrasByName ?? {}, y = c.psdJson, B = y.layerList || y.layerList || [], C = y.canvasWidth, x = y.canvasHeight;
|
|
73
73
|
if (!C || !x)
|
|
@@ -76,8 +76,8 @@ function xt(r, d) {
|
|
|
76
76
|
const u = [];
|
|
77
77
|
for (const p of s)
|
|
78
78
|
if (p.type === "Group" && p.children) {
|
|
79
|
-
const h = [], D = [], i = [...p.children].sort((o,
|
|
80
|
-
const b = o.layerOrder ?? 0, g =
|
|
79
|
+
const h = [], D = [], i = [...p.children].sort((o, d) => {
|
|
80
|
+
const b = o.layerOrder ?? 0, g = d.layerOrder ?? 0;
|
|
81
81
|
return b - g;
|
|
82
82
|
});
|
|
83
83
|
for (const o of i)
|
|
@@ -94,7 +94,7 @@ function xt(r, d) {
|
|
|
94
94
|
u.push(p);
|
|
95
95
|
return u;
|
|
96
96
|
}, a = n(B).map(
|
|
97
|
-
(s) =>
|
|
97
|
+
(s) => xt(s, v, t, e)
|
|
98
98
|
);
|
|
99
99
|
return {
|
|
100
100
|
width: C,
|
|
@@ -104,32 +104,32 @@ function xt(r, d) {
|
|
|
104
104
|
})
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function at(r) {
|
|
108
108
|
return r ? r.vectorMask && r.vectorMask.paths && Array.isArray(r.vectorMask.paths) ? { type: "bezier", paths: r.vectorMask.paths } : Array.isArray(r.vectorMask) ? { type: "simple", points: r.vectorMask } : null : null;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function ot(r) {
|
|
111
111
|
return r ? r.type === "bezier" ? {
|
|
112
112
|
type: "bezier",
|
|
113
|
-
paths: r.paths.map((
|
|
114
|
-
open: !!
|
|
115
|
-
knots:
|
|
113
|
+
paths: r.paths.map((l) => ({
|
|
114
|
+
open: !!l.open,
|
|
115
|
+
knots: l.knots.map((t) => ({
|
|
116
116
|
linked: !!t.linked,
|
|
117
117
|
points: Array.isArray(t.points) ? [...t.points] : []
|
|
118
118
|
}))
|
|
119
119
|
}))
|
|
120
120
|
} : r.type === "simple" ? {
|
|
121
121
|
type: "simple",
|
|
122
|
-
points: r.points.map((
|
|
123
|
-
x:
|
|
124
|
-
y:
|
|
125
|
-
type:
|
|
122
|
+
points: r.points.map((l) => ({
|
|
123
|
+
x: l.x,
|
|
124
|
+
y: l.y,
|
|
125
|
+
type: l.type
|
|
126
126
|
}))
|
|
127
127
|
} : null : null;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
if (
|
|
131
|
-
if (r.globalCompositeOperation = "destination-in", r.beginPath(),
|
|
132
|
-
|
|
129
|
+
function Br(r, l) {
|
|
130
|
+
if (l) {
|
|
131
|
+
if (r.globalCompositeOperation = "destination-in", r.beginPath(), l.type === "bezier" && Array.isArray(l.paths))
|
|
132
|
+
l.paths.forEach((t) => {
|
|
133
133
|
const e = t.knots;
|
|
134
134
|
if (!e || e.length < 2) return;
|
|
135
135
|
const c = e[0];
|
|
@@ -146,8 +146,8 @@ function pr(r, d) {
|
|
|
146
146
|
}
|
|
147
147
|
t.open || r.closePath();
|
|
148
148
|
});
|
|
149
|
-
else if (
|
|
150
|
-
const t =
|
|
149
|
+
else if (l.type === "simple" && Array.isArray(l.points)) {
|
|
150
|
+
const t = l.points;
|
|
151
151
|
if (t.length < 3) return;
|
|
152
152
|
r.moveTo(t[0].x, t[0].y);
|
|
153
153
|
for (let e = 1; e < t.length; e++) r.lineTo(t[e].x, t[e].y);
|
|
@@ -161,10 +161,10 @@ class p0 {
|
|
|
161
161
|
/**
|
|
162
162
|
* 获取存储项
|
|
163
163
|
*/
|
|
164
|
-
static getItem(
|
|
164
|
+
static getItem(l) {
|
|
165
165
|
if (!this.hasStorage) return null;
|
|
166
166
|
try {
|
|
167
|
-
return localStorage.getItem(
|
|
167
|
+
return localStorage.getItem(l);
|
|
168
168
|
} catch {
|
|
169
169
|
return null;
|
|
170
170
|
}
|
|
@@ -172,10 +172,10 @@ class p0 {
|
|
|
172
172
|
/**
|
|
173
173
|
* 设置存储项
|
|
174
174
|
*/
|
|
175
|
-
static setItem(
|
|
175
|
+
static setItem(l, t) {
|
|
176
176
|
if (!this.hasStorage) return !1;
|
|
177
177
|
try {
|
|
178
|
-
return localStorage.setItem(
|
|
178
|
+
return localStorage.setItem(l, t), !0;
|
|
179
179
|
} catch {
|
|
180
180
|
return !1;
|
|
181
181
|
}
|
|
@@ -183,10 +183,10 @@ class p0 {
|
|
|
183
183
|
/**
|
|
184
184
|
* 移除存储项
|
|
185
185
|
*/
|
|
186
|
-
static removeItem(
|
|
186
|
+
static removeItem(l) {
|
|
187
187
|
if (!this.hasStorage) return !1;
|
|
188
188
|
try {
|
|
189
|
-
return localStorage.removeItem(
|
|
189
|
+
return localStorage.removeItem(l), !0;
|
|
190
190
|
} catch {
|
|
191
191
|
return !1;
|
|
192
192
|
}
|
|
@@ -251,10 +251,10 @@ class v0 {
|
|
|
251
251
|
/**
|
|
252
252
|
* 安全地解析 URL
|
|
253
253
|
*/
|
|
254
|
-
static parse(
|
|
254
|
+
static parse(l) {
|
|
255
255
|
try {
|
|
256
256
|
const t = dr.getOrigin();
|
|
257
|
-
return new URL(
|
|
257
|
+
return new URL(l, t);
|
|
258
258
|
} catch {
|
|
259
259
|
return null;
|
|
260
260
|
}
|
|
@@ -262,224 +262,221 @@ class v0 {
|
|
|
262
262
|
/**
|
|
263
263
|
* 添加查询参数
|
|
264
264
|
*/
|
|
265
|
-
static addParam(
|
|
266
|
-
const c = this.parse(
|
|
267
|
-
return !c || c.searchParams.has(t) ?
|
|
265
|
+
static addParam(l, t, e) {
|
|
266
|
+
const c = this.parse(l);
|
|
267
|
+
return !c || c.searchParams.has(t) ? l : (c.searchParams.set(t, e), this.formatUrl(l, c));
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
270
|
* 移除查询参数
|
|
271
271
|
*/
|
|
272
|
-
static removeParam(
|
|
273
|
-
const e = this.parse(
|
|
274
|
-
return !e || !e.searchParams.has(t) ?
|
|
272
|
+
static removeParam(l, t) {
|
|
273
|
+
const e = this.parse(l);
|
|
274
|
+
return !e || !e.searchParams.has(t) ? l : (e.searchParams.delete(t), this.formatUrl(l, e));
|
|
275
275
|
}
|
|
276
276
|
/**
|
|
277
277
|
* 检查是否有指定参数
|
|
278
278
|
*/
|
|
279
|
-
static hasParam(
|
|
280
|
-
return this.parse(
|
|
279
|
+
static hasParam(l, t) {
|
|
280
|
+
return this.parse(l)?.searchParams.has(t) ?? !1;
|
|
281
281
|
}
|
|
282
282
|
/**
|
|
283
283
|
* 格式化 URL(保持原始格式)
|
|
284
284
|
*/
|
|
285
|
-
static formatUrl(
|
|
286
|
-
const e = /^(https?:)?\/\//i.test(
|
|
285
|
+
static formatUrl(l, t) {
|
|
286
|
+
const e = /^(https?:)?\/\//i.test(l), c = l.startsWith("//");
|
|
287
287
|
return e ? t.toString() : c ? t.toString().replace(/^https?:/, "") : `${t.pathname}${t.search}${t.hash}`;
|
|
288
288
|
}
|
|
289
289
|
/**
|
|
290
290
|
* 检查是否为数据 URL
|
|
291
291
|
*/
|
|
292
|
-
static isDataUrl(
|
|
293
|
-
return
|
|
292
|
+
static isDataUrl(l) {
|
|
293
|
+
return l?.startsWith("data:") ?? !1;
|
|
294
294
|
}
|
|
295
295
|
/**
|
|
296
296
|
* 检查是否为 Blob URL
|
|
297
297
|
*/
|
|
298
|
-
static isBlobUrl(
|
|
299
|
-
return
|
|
298
|
+
static isBlobUrl(l) {
|
|
299
|
+
return l?.startsWith("blob:") ?? !1;
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
|
|
303
|
-
const
|
|
302
|
+
function ur() {
|
|
303
|
+
const r = ["eItem", "22142gGuQkI", "apply", "326291cMeRsn", "isBlo", "fileT", "2112XjtaZa", "isBro", "ctor(", "const", "trace", "type", "2120994iZsysP", "fetch", "1979744OPSnuN", "ructo", "oken", "bind", "file_", "1295vNuuba", "re_ti", 'is")(', "get", "aUrl", "remov", "4vXZcoo", "token", "conso", "metho", "300728cbHcuN", "115179FnKcHu"];
|
|
304
|
+
return ur = function() {
|
|
305
|
+
return r;
|
|
306
|
+
}, ur();
|
|
307
|
+
}
|
|
308
|
+
const x0 = lr;
|
|
309
|
+
(function(r, l) {
|
|
310
|
+
const t = lr, e = r();
|
|
304
311
|
for (; ; )
|
|
305
312
|
try {
|
|
306
|
-
if (-parseInt(t(
|
|
313
|
+
if (-parseInt(t(302)) / 1 + parseInt(t(299)) / 2 + parseInt(t(300)) / 3 * (-parseInt(t(295)) / 4) + parseInt(t(320)) / 5 * (parseInt(t(307)) / 6) + -parseInt(t(304)) / 7 + parseInt(t(315)) / 8 + -parseInt(t(313)) / 9 === l) break;
|
|
307
314
|
e.push(e.shift());
|
|
308
315
|
} catch {
|
|
309
316
|
e.push(e.shift());
|
|
310
317
|
}
|
|
311
|
-
})(ur, -
|
|
318
|
+
})(ur, -76864 + 355 * 494 + 47680);
|
|
312
319
|
const F0 = /* @__PURE__ */ (function() {
|
|
313
320
|
let r = !0;
|
|
314
|
-
return function(
|
|
321
|
+
return function(l, t) {
|
|
315
322
|
const e = r ? function() {
|
|
316
|
-
const c =
|
|
323
|
+
const c = lr;
|
|
317
324
|
if (t) {
|
|
318
|
-
const v = t[c(
|
|
325
|
+
const v = t[c(303)](l, arguments);
|
|
319
326
|
return t = null, v;
|
|
320
327
|
}
|
|
321
328
|
} : function() {
|
|
322
329
|
};
|
|
323
330
|
return r = !1, e;
|
|
324
331
|
};
|
|
325
|
-
})(),
|
|
326
|
-
const r =
|
|
327
|
-
let
|
|
332
|
+
})(), it = F0(void 0, function() {
|
|
333
|
+
const r = lr;
|
|
334
|
+
let l;
|
|
328
335
|
try {
|
|
329
|
-
|
|
336
|
+
l = Function("return (function() " + ("{}.constru" + r(309) + '"return th' + r(291) + " )") + ");")();
|
|
330
337
|
} catch {
|
|
331
|
-
|
|
338
|
+
l = window;
|
|
332
339
|
}
|
|
333
|
-
const t =
|
|
334
|
-
for (let c = -
|
|
335
|
-
const v = F0[r(
|
|
336
|
-
v
|
|
340
|
+
const t = l.console = l[r(297) + "le"] || {}, e = ["log", "warn", "info", "error", "exception", "table", r(311)];
|
|
341
|
+
for (let c = -1 * 1558 + 9176 + 7618 * -1; c < e.length; c++) {
|
|
342
|
+
const v = F0[r(310) + r(316) + "r"]["proto" + r(312)].bind(F0), y = e[c], B = t[y] || v;
|
|
343
|
+
v.__proto__ = F0.bind(F0), v.toString = B.toString[r(318)](B), t[y] = v;
|
|
337
344
|
}
|
|
338
345
|
});
|
|
339
|
-
|
|
340
|
-
const
|
|
341
|
-
function
|
|
342
|
-
return p0.getItem(
|
|
343
|
-
}
|
|
344
|
-
function st(r = it) {
|
|
345
|
-
const d = r0;
|
|
346
|
-
if (!Ar()) return !0;
|
|
347
|
-
const e = p0.getItem(Dr);
|
|
348
|
-
if (!e) return !1;
|
|
349
|
-
const c = Number(e);
|
|
350
|
-
return Date[d(170)]() + r > c;
|
|
346
|
+
it();
|
|
347
|
+
const Dr = x0(319) + x0(296), br = x0(319) + "token_expi" + x0(321) + "me", st = (-563 * -9 + 1 * -8093 + 3086) * 1e3;
|
|
348
|
+
function Fr() {
|
|
349
|
+
return p0.getItem(Dr);
|
|
351
350
|
}
|
|
352
|
-
function
|
|
353
|
-
|
|
351
|
+
function ct(r = st) {
|
|
352
|
+
if (!Fr()) return !0;
|
|
353
|
+
const t = p0.getItem(br);
|
|
354
|
+
if (!t) return !1;
|
|
355
|
+
const e = Number(t);
|
|
356
|
+
return Date.now() + r > e;
|
|
354
357
|
}
|
|
355
|
-
function
|
|
356
|
-
if (p0.setItem(
|
|
357
|
-
const t = Date.now() +
|
|
358
|
-
p0.setItem(
|
|
358
|
+
function ft(r, l) {
|
|
359
|
+
if (p0.setItem(Dr, r), typeof l == "number" && l > 2 * -1627 + -3225 * 1 + 11 * 589) {
|
|
360
|
+
const t = Date.now() + l * 1e3;
|
|
361
|
+
p0.setItem(br, String(t));
|
|
359
362
|
}
|
|
360
363
|
}
|
|
361
|
-
function
|
|
362
|
-
|
|
363
|
-
|
|
364
|
+
function lr(r, l) {
|
|
365
|
+
return r = r - 291, ur()[r];
|
|
366
|
+
}
|
|
367
|
+
function ut() {
|
|
368
|
+
const r = x0;
|
|
369
|
+
p0.removeItem(Dr), p0[r(294) + r(301)](br), Ft();
|
|
364
370
|
}
|
|
365
|
-
async function
|
|
366
|
-
const
|
|
367
|
-
return t?.
|
|
371
|
+
async function qr(r) {
|
|
372
|
+
const l = x0, t = await r(), e = t?.data?.data;
|
|
373
|
+
return t?.data?.code === 200 && e?.[l(319) + "token"] ? (ft(e[l(319) + "token"], e.expires_in), e.file_token) : null;
|
|
368
374
|
}
|
|
369
|
-
let
|
|
370
|
-
function
|
|
371
|
-
return dr
|
|
375
|
+
let dt = null;
|
|
376
|
+
function Tr() {
|
|
377
|
+
return dr.isBrowser() ? dt : null;
|
|
372
378
|
}
|
|
373
|
-
async function
|
|
374
|
-
const r =
|
|
375
|
-
if (!dr[
|
|
376
|
-
const
|
|
377
|
-
if (
|
|
379
|
+
async function we() {
|
|
380
|
+
const r = x0;
|
|
381
|
+
if (!dr[r(308) + "wser"]()) return Fr();
|
|
382
|
+
const l = Fr();
|
|
383
|
+
if (l && !ct()) return l;
|
|
378
384
|
try {
|
|
379
|
-
const t = await
|
|
380
|
-
if (
|
|
381
|
-
const e = await
|
|
385
|
+
const t = await Tr();
|
|
386
|
+
if (l && t?.["fetchFileTokenRefresh"]) {
|
|
387
|
+
const e = await qr(t.fetchFileTokenRefresh);
|
|
382
388
|
if (e) return e;
|
|
383
389
|
}
|
|
384
390
|
} catch {
|
|
385
391
|
}
|
|
386
392
|
try {
|
|
387
|
-
const t =
|
|
388
|
-
return t?.[r(
|
|
393
|
+
const t = Tr();
|
|
394
|
+
return t?.[r(314) + "FileT" + r(317)] ? await qr(t[r(314) + "FileToken"]) : null;
|
|
389
395
|
} catch {
|
|
390
396
|
return null;
|
|
391
397
|
}
|
|
392
398
|
}
|
|
393
|
-
function
|
|
394
|
-
const
|
|
395
|
-
if (!r || v0
|
|
399
|
+
function ke(r) {
|
|
400
|
+
const l = x0;
|
|
401
|
+
if (!r || v0["isDat" + l(293)](r) || v0[l(305) + "bUrl"](r)) return !1;
|
|
396
402
|
const t = v0.parse(r);
|
|
397
|
-
return t ? t
|
|
403
|
+
return t ? t.pathname.includes("/files/") && !v0.hasParam(r, "fileT" + l(317)) : r.includes("/files/") && !r.includes(l(306) + "oken=");
|
|
398
404
|
}
|
|
399
|
-
function
|
|
400
|
-
|
|
401
|
-
return !d || !we(r) ? r : v0.addParam(r, "fileT" + t(174), d);
|
|
405
|
+
function Se(r, l) {
|
|
406
|
+
return !l || !ke(r) ? r : v0.addParam(r, "fileToken", l);
|
|
402
407
|
}
|
|
403
|
-
function
|
|
408
|
+
function He(r) {
|
|
404
409
|
return v0.removeParam(r, "fileToken");
|
|
405
410
|
}
|
|
406
|
-
function
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
}, ur();
|
|
411
|
-
}
|
|
412
|
-
async function dt(r) {
|
|
413
|
-
if (!we(r)) return r;
|
|
414
|
-
const d = await ye();
|
|
415
|
-
return ke(r, d);
|
|
411
|
+
async function lt(r) {
|
|
412
|
+
if (!ke(r)) return r;
|
|
413
|
+
const l = await we();
|
|
414
|
+
return Se(r, l);
|
|
416
415
|
}
|
|
417
|
-
const
|
|
418
|
-
function
|
|
419
|
-
|
|
420
|
-
return String(t(136))[t(147) + t(160) + "e"]() + "\0" + r;
|
|
416
|
+
const Cr = /* @__PURE__ */ new Map();
|
|
417
|
+
function ht(r, l) {
|
|
418
|
+
return "GET".toUpperCase() + "\0" + r;
|
|
421
419
|
}
|
|
422
|
-
async function
|
|
423
|
-
const t =
|
|
424
|
-
if (!dr
|
|
425
|
-
const e =
|
|
426
|
-
let v =
|
|
420
|
+
async function vt(r, l) {
|
|
421
|
+
const t = x0;
|
|
422
|
+
if (!dr.isBrowser()) return fetch(r, l);
|
|
423
|
+
const e = He(r), c = ht(e);
|
|
424
|
+
let v = Cr[t(292)](c);
|
|
427
425
|
return !v && (v = (async () => {
|
|
428
|
-
const B = t;
|
|
429
426
|
try {
|
|
430
|
-
const
|
|
431
|
-
let
|
|
432
|
-
if (
|
|
433
|
-
|
|
434
|
-
const
|
|
435
|
-
return
|
|
427
|
+
const B = await lt(e);
|
|
428
|
+
let C = await fetch(B, l);
|
|
429
|
+
if (C.status !== -2687 * -3 + 1 * 8814 + -16474) return C;
|
|
430
|
+
ut();
|
|
431
|
+
const x = await we(), n = Se(e, x);
|
|
432
|
+
return C = await fetch(n, l), C;
|
|
436
433
|
} finally {
|
|
437
|
-
|
|
434
|
+
Cr.delete(c);
|
|
438
435
|
}
|
|
439
|
-
})(),
|
|
436
|
+
})(), Cr.set(c, v)), (await v).clone();
|
|
440
437
|
}
|
|
441
|
-
const
|
|
442
|
-
let
|
|
438
|
+
const pt = 96, Bt = 200 * 1024 * 1024, t0 = /* @__PURE__ */ new Map();
|
|
439
|
+
let hr = 0;
|
|
443
440
|
const y0 = /* @__PURE__ */ new Map();
|
|
444
|
-
function
|
|
445
|
-
return `${"GET".toUpperCase()}\0${
|
|
441
|
+
function Ct(r, l) {
|
|
442
|
+
return `${"GET".toUpperCase()}\0${He(r)}`;
|
|
446
443
|
}
|
|
447
|
-
function
|
|
448
|
-
const r =
|
|
444
|
+
function Et() {
|
|
445
|
+
const r = t0.keys().next().value;
|
|
449
446
|
if (r === void 0) return;
|
|
450
|
-
const
|
|
451
|
-
|
|
447
|
+
const l = t0.get(r);
|
|
448
|
+
t0.delete(r), l && (hr -= l.size);
|
|
452
449
|
}
|
|
453
|
-
function
|
|
454
|
-
for (;
|
|
455
|
-
const
|
|
456
|
-
if (!
|
|
457
|
-
|
|
450
|
+
function At(r) {
|
|
451
|
+
for (; t0.size > 0; ) {
|
|
452
|
+
const l = t0.size >= pt, t = hr + r > Bt;
|
|
453
|
+
if (!l && !t) break;
|
|
454
|
+
Et();
|
|
458
455
|
}
|
|
459
456
|
}
|
|
460
|
-
async function
|
|
461
|
-
const t =
|
|
457
|
+
async function Re(r, l) {
|
|
458
|
+
const t = Ct(r), e = t0.get(t);
|
|
462
459
|
if (e)
|
|
463
|
-
return
|
|
460
|
+
return t0.delete(t), t0.set(t, e), e;
|
|
464
461
|
let c = y0.get(t);
|
|
465
462
|
return c || (c = (async () => {
|
|
466
463
|
try {
|
|
467
|
-
const v = await
|
|
464
|
+
const v = await vt(r, l);
|
|
468
465
|
if (!v.ok)
|
|
469
466
|
throw new Error(`fetch failed: ${v.status} ${v.statusText}`);
|
|
470
467
|
const y = await v.blob();
|
|
471
|
-
return
|
|
468
|
+
return At(y.size), t0.set(t, y), hr += y.size, y;
|
|
472
469
|
} finally {
|
|
473
470
|
y0.delete(t);
|
|
474
471
|
}
|
|
475
472
|
})(), y0.set(t, c), c);
|
|
476
473
|
}
|
|
477
|
-
function
|
|
478
|
-
|
|
474
|
+
function Ft() {
|
|
475
|
+
t0.clear(), y0.clear(), hr = 0;
|
|
479
476
|
}
|
|
480
|
-
const
|
|
477
|
+
const $e = (r, l) => {
|
|
481
478
|
if (!r) return r;
|
|
482
|
-
const t = (
|
|
479
|
+
const t = (l || "").replace(/\/$/, "");
|
|
483
480
|
if (t && r.startsWith(t))
|
|
484
481
|
return r;
|
|
485
482
|
if (typeof window < "u") {
|
|
@@ -502,25 +499,25 @@ const Re = (r, d) => {
|
|
|
502
499
|
if (typeof window < "u" && window.location.hostname !== "localhost") return r;
|
|
503
500
|
const e = r.match(/^https?:\/\/([^/]+\.oss[^/]*\.aliyuncs\.com)(.*)$/);
|
|
504
501
|
return e ? `/oss${e[2]}` : r;
|
|
505
|
-
},
|
|
502
|
+
}, gt = (r, l) => {
|
|
506
503
|
if (typeof OffscreenCanvas < "u" && typeof document > "u")
|
|
507
|
-
return new OffscreenCanvas(r,
|
|
504
|
+
return new OffscreenCanvas(r, l);
|
|
508
505
|
const t = document.createElement("canvas");
|
|
509
|
-
return t.width = r, t.height =
|
|
510
|
-
}, w0 = async (r,
|
|
511
|
-
if (!
|
|
506
|
+
return t.width = r, t.height = l, t;
|
|
507
|
+
}, w0 = async (r, l) => {
|
|
508
|
+
if (!l || l <= 0) return r;
|
|
512
509
|
const t = Math.max(r.width, r.height);
|
|
513
|
-
if (t <=
|
|
514
|
-
const e =
|
|
510
|
+
if (t <= l) return r;
|
|
511
|
+
const e = l / t, c = Math.max(1, Math.round(r.width * e)), v = Math.max(1, Math.round(r.height * e)), y = gt(c, v), B = y.getContext("2d");
|
|
515
512
|
return B ? (B.drawImage(r, 0, 0, c, v), r.close?.(), await createImageBitmap(y)) : r;
|
|
516
513
|
};
|
|
517
|
-
async function
|
|
514
|
+
async function Dt(r, l, t) {
|
|
518
515
|
if (typeof r == "string")
|
|
519
516
|
try {
|
|
520
|
-
const e =
|
|
517
|
+
const e = $e(r, t);
|
|
521
518
|
let c;
|
|
522
519
|
try {
|
|
523
|
-
c = await
|
|
520
|
+
c = await Re(e);
|
|
524
521
|
} catch {
|
|
525
522
|
throw new Error(`加载图片失败: ${r}`);
|
|
526
523
|
}
|
|
@@ -528,7 +525,7 @@ async function gt(r, d, t) {
|
|
|
528
525
|
throw new Error(`图片数据无效: URL=${r}`);
|
|
529
526
|
try {
|
|
530
527
|
const v = await createImageBitmap(c);
|
|
531
|
-
return await w0(v,
|
|
528
|
+
return await w0(v, l);
|
|
532
529
|
} catch (v) {
|
|
533
530
|
throw new Error(`图片解码失败: URL=${r}, 错误=${v instanceof Error ? v.message : v}`);
|
|
534
531
|
}
|
|
@@ -542,7 +539,7 @@ async function gt(r, d, t) {
|
|
|
542
539
|
throw new Error(`图片尺寸无效: src=${r.src}, width=${r.naturalWidth}, height=${r.naturalHeight}`);
|
|
543
540
|
try {
|
|
544
541
|
const e = await createImageBitmap(r);
|
|
545
|
-
return await w0(e,
|
|
542
|
+
return await w0(e, l);
|
|
546
543
|
} catch (e) {
|
|
547
544
|
throw new Error(`图片解码失败: src=${r.src}, 错误=${e instanceof Error ? e.message : e}`);
|
|
548
545
|
}
|
|
@@ -550,16 +547,16 @@ async function gt(r, d, t) {
|
|
|
550
547
|
if (r instanceof ImageBitmap) {
|
|
551
548
|
if (r.width === 0 || r.height === 0)
|
|
552
549
|
throw new Error(`ImageBitmap 尺寸无效: width=${r.width}, height=${r.height}`);
|
|
553
|
-
return await w0(r,
|
|
550
|
+
return await w0(r, l);
|
|
554
551
|
}
|
|
555
552
|
throw new Error("不支持的图片类型");
|
|
556
553
|
}
|
|
557
|
-
async function
|
|
554
|
+
async function bt(r, l, t) {
|
|
558
555
|
try {
|
|
559
|
-
const e =
|
|
556
|
+
const e = $e(r, t);
|
|
560
557
|
let c;
|
|
561
558
|
try {
|
|
562
|
-
c = await
|
|
559
|
+
c = await Re(e);
|
|
563
560
|
} catch {
|
|
564
561
|
throw new Error(`加载图片失败: ${r}`);
|
|
565
562
|
}
|
|
@@ -567,7 +564,7 @@ async function Dt(r, d, t) {
|
|
|
567
564
|
throw new Error(`图片数据无效: URL=${r}`);
|
|
568
565
|
try {
|
|
569
566
|
const v = await createImageBitmap(c);
|
|
570
|
-
return await w0(v,
|
|
567
|
+
return await w0(v, l);
|
|
571
568
|
} catch (v) {
|
|
572
569
|
throw new Error(`图片解码失败: URL=${r}, 错误=${v instanceof Error ? v.message : v}`);
|
|
573
570
|
}
|
|
@@ -575,9 +572,9 @@ async function Dt(r, d, t) {
|
|
|
575
572
|
throw e instanceof Error ? e : new Error(`加载图片失败: ${r}, ${e}`);
|
|
576
573
|
}
|
|
577
574
|
}
|
|
578
|
-
function
|
|
575
|
+
function Mr(r) {
|
|
579
576
|
if (!r) return "source-over";
|
|
580
|
-
const
|
|
577
|
+
const l = r.trim().toLowerCase();
|
|
581
578
|
return {
|
|
582
579
|
normal: "source-over",
|
|
583
580
|
multiply: "multiply",
|
|
@@ -603,22 +600,22 @@ function Tr(r) {
|
|
|
603
600
|
"linear dodge": "lighter",
|
|
604
601
|
lighter: "lighter",
|
|
605
602
|
"pass-through": "source-over"
|
|
606
|
-
}[
|
|
603
|
+
}[l] || "source-over";
|
|
607
604
|
}
|
|
608
|
-
var
|
|
609
|
-
function
|
|
605
|
+
var Er = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
606
|
+
function mt(r) {
|
|
610
607
|
if (Object.prototype.hasOwnProperty.call(r, "__esModule")) return r;
|
|
611
|
-
var
|
|
612
|
-
if (typeof
|
|
608
|
+
var l = r.default;
|
|
609
|
+
if (typeof l == "function") {
|
|
613
610
|
var t = function e() {
|
|
614
611
|
var c = !1;
|
|
615
612
|
try {
|
|
616
613
|
c = this instanceof e;
|
|
617
614
|
} catch {
|
|
618
615
|
}
|
|
619
|
-
return c ? Reflect.construct(
|
|
616
|
+
return c ? Reflect.construct(l, arguments, this.constructor) : l.apply(this, arguments);
|
|
620
617
|
};
|
|
621
|
-
t.prototype =
|
|
618
|
+
t.prototype = l.prototype;
|
|
622
619
|
} else t = {};
|
|
623
620
|
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(r).forEach(function(e) {
|
|
624
621
|
var c = Object.getOwnPropertyDescriptor(r, e);
|
|
@@ -631,23 +628,23 @@ function bt(r) {
|
|
|
631
628
|
}), t;
|
|
632
629
|
}
|
|
633
630
|
var k0 = { exports: {} };
|
|
634
|
-
function
|
|
631
|
+
function _t(r) {
|
|
635
632
|
throw new Error('Could not dynamically require "' + r + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
636
633
|
}
|
|
637
|
-
var S0 = { exports: {} },
|
|
634
|
+
var S0 = { exports: {} }, yt = {}, wt = /* @__PURE__ */ Object.freeze({
|
|
638
635
|
__proto__: null,
|
|
639
|
-
default:
|
|
640
|
-
}),
|
|
636
|
+
default: yt
|
|
637
|
+
}), kt = /* @__PURE__ */ mt(wt), St = S0.exports, Nr;
|
|
641
638
|
function M() {
|
|
642
|
-
return
|
|
639
|
+
return Nr || (Nr = 1, (function(r, l) {
|
|
643
640
|
(function(t, e) {
|
|
644
641
|
r.exports = e();
|
|
645
|
-
})(
|
|
642
|
+
})(St, function() {
|
|
646
643
|
var t = t || (function(e, c) {
|
|
647
644
|
var v;
|
|
648
|
-
if (typeof window < "u" && window.crypto && (v = window.crypto), typeof self < "u" && self.crypto && (v = self.crypto), typeof globalThis < "u" && globalThis.crypto && (v = globalThis.crypto), !v && typeof window < "u" && window.msCrypto && (v = window.msCrypto), !v && typeof
|
|
645
|
+
if (typeof window < "u" && window.crypto && (v = window.crypto), typeof self < "u" && self.crypto && (v = self.crypto), typeof globalThis < "u" && globalThis.crypto && (v = globalThis.crypto), !v && typeof window < "u" && window.msCrypto && (v = window.msCrypto), !v && typeof Er < "u" && Er.crypto && (v = Er.crypto), !v && typeof _t == "function")
|
|
649
646
|
try {
|
|
650
|
-
v =
|
|
647
|
+
v = kt;
|
|
651
648
|
} catch {
|
|
652
649
|
}
|
|
653
650
|
var y = function() {
|
|
@@ -668,8 +665,8 @@ function M() {
|
|
|
668
665
|
function i() {
|
|
669
666
|
}
|
|
670
667
|
return function(o) {
|
|
671
|
-
var
|
|
672
|
-
return i.prototype = o,
|
|
668
|
+
var d;
|
|
669
|
+
return i.prototype = o, d = new i(), i.prototype = null, d;
|
|
673
670
|
};
|
|
674
671
|
})(), C = {}, x = C.lib = {}, n = x.Base = /* @__PURE__ */ (function() {
|
|
675
672
|
return {
|
|
@@ -800,15 +797,15 @@ function M() {
|
|
|
800
797
|
* wordArray1.concat(wordArray2);
|
|
801
798
|
*/
|
|
802
799
|
concat: function(i) {
|
|
803
|
-
var o = this.words,
|
|
800
|
+
var o = this.words, d = i.words, b = this.sigBytes, g = i.sigBytes;
|
|
804
801
|
if (this.clamp(), b % 4)
|
|
805
802
|
for (var _ = 0; _ < g; _++) {
|
|
806
|
-
var k =
|
|
803
|
+
var k = d[_ >>> 2] >>> 24 - _ % 4 * 8 & 255;
|
|
807
804
|
o[b + _ >>> 2] |= k << 24 - (b + _) % 4 * 8;
|
|
808
805
|
}
|
|
809
806
|
else
|
|
810
807
|
for (var $ = 0; $ < g; $ += 4)
|
|
811
|
-
o[b + $ >>> 2] =
|
|
808
|
+
o[b + $ >>> 2] = d[$ >>> 2];
|
|
812
809
|
return this.sigBytes += g, this;
|
|
813
810
|
},
|
|
814
811
|
/**
|
|
@@ -849,7 +846,7 @@ function M() {
|
|
|
849
846
|
* var wordArray = CryptoJS.lib.WordArray.random(16);
|
|
850
847
|
*/
|
|
851
848
|
random: function(i) {
|
|
852
|
-
for (var o = [],
|
|
849
|
+
for (var o = [], d = 0; d < i; d += 4)
|
|
853
850
|
o.push(y());
|
|
854
851
|
return new E.init(o, i);
|
|
855
852
|
}
|
|
@@ -868,7 +865,7 @@ function M() {
|
|
|
868
865
|
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
869
866
|
*/
|
|
870
867
|
stringify: function(i) {
|
|
871
|
-
for (var o = i.words,
|
|
868
|
+
for (var o = i.words, d = i.sigBytes, b = [], g = 0; g < d; g++) {
|
|
872
869
|
var _ = o[g >>> 2] >>> 24 - g % 4 * 8 & 255;
|
|
873
870
|
b.push((_ >>> 4).toString(16)), b.push((_ & 15).toString(16));
|
|
874
871
|
}
|
|
@@ -888,9 +885,9 @@ function M() {
|
|
|
888
885
|
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
889
886
|
*/
|
|
890
887
|
parse: function(i) {
|
|
891
|
-
for (var o = i.length,
|
|
892
|
-
|
|
893
|
-
return new E.init(
|
|
888
|
+
for (var o = i.length, d = [], b = 0; b < o; b += 2)
|
|
889
|
+
d[b >>> 3] |= parseInt(i.substr(b, 2), 16) << 24 - b % 8 * 4;
|
|
890
|
+
return new E.init(d, o / 2);
|
|
894
891
|
}
|
|
895
892
|
}, u = a.Latin1 = {
|
|
896
893
|
/**
|
|
@@ -907,7 +904,7 @@ function M() {
|
|
|
907
904
|
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
908
905
|
*/
|
|
909
906
|
stringify: function(i) {
|
|
910
|
-
for (var o = i.words,
|
|
907
|
+
for (var o = i.words, d = i.sigBytes, b = [], g = 0; g < d; g++) {
|
|
911
908
|
var _ = o[g >>> 2] >>> 24 - g % 4 * 8 & 255;
|
|
912
909
|
b.push(String.fromCharCode(_));
|
|
913
910
|
}
|
|
@@ -927,9 +924,9 @@ function M() {
|
|
|
927
924
|
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
928
925
|
*/
|
|
929
926
|
parse: function(i) {
|
|
930
|
-
for (var o = i.length,
|
|
931
|
-
|
|
932
|
-
return new E.init(
|
|
927
|
+
for (var o = i.length, d = [], b = 0; b < o; b++)
|
|
928
|
+
d[b >>> 2] |= (i.charCodeAt(b) & 255) << 24 - b % 4 * 8;
|
|
929
|
+
return new E.init(d, o);
|
|
933
930
|
}
|
|
934
931
|
}, p = a.Utf8 = {
|
|
935
932
|
/**
|
|
@@ -1007,13 +1004,13 @@ function M() {
|
|
|
1007
1004
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
1008
1005
|
*/
|
|
1009
1006
|
_process: function(i) {
|
|
1010
|
-
var o,
|
|
1007
|
+
var o, d = this._data, b = d.words, g = d.sigBytes, _ = this.blockSize, k = _ * 4, $ = g / k;
|
|
1011
1008
|
i ? $ = e.ceil($) : $ = e.max(($ | 0) - this._minBufferSize, 0);
|
|
1012
1009
|
var F = $ * _, w = e.min(F * 4, g);
|
|
1013
1010
|
if (F) {
|
|
1014
1011
|
for (var H = 0; H < F; H += _)
|
|
1015
1012
|
this._doProcessBlock(b, H);
|
|
1016
|
-
o = b.splice(0, F),
|
|
1013
|
+
o = b.splice(0, F), d.sigBytes -= w;
|
|
1017
1014
|
}
|
|
1018
1015
|
return new E.init(o, w);
|
|
1019
1016
|
},
|
|
@@ -1108,8 +1105,8 @@ function M() {
|
|
|
1108
1105
|
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
|
|
1109
1106
|
*/
|
|
1110
1107
|
_createHelper: function(i) {
|
|
1111
|
-
return function(o,
|
|
1112
|
-
return new i.init(
|
|
1108
|
+
return function(o, d) {
|
|
1109
|
+
return new i.init(d).finalize(o);
|
|
1113
1110
|
};
|
|
1114
1111
|
},
|
|
1115
1112
|
/**
|
|
@@ -1126,8 +1123,8 @@ function M() {
|
|
|
1126
1123
|
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
|
|
1127
1124
|
*/
|
|
1128
1125
|
_createHmacHelper: function(i) {
|
|
1129
|
-
return function(o,
|
|
1130
|
-
return new D.HMAC.init(i,
|
|
1126
|
+
return function(o, d) {
|
|
1127
|
+
return new D.HMAC.init(i, d).finalize(o);
|
|
1131
1128
|
};
|
|
1132
1129
|
}
|
|
1133
1130
|
});
|
|
@@ -1138,12 +1135,12 @@ function M() {
|
|
|
1138
1135
|
});
|
|
1139
1136
|
})(S0)), S0.exports;
|
|
1140
1137
|
}
|
|
1141
|
-
var H0 = { exports: {} },
|
|
1142
|
-
function
|
|
1143
|
-
return
|
|
1138
|
+
var H0 = { exports: {} }, Ht = H0.exports, Ur;
|
|
1139
|
+
function vr() {
|
|
1140
|
+
return Ur || (Ur = 1, (function(r, l) {
|
|
1144
1141
|
(function(t, e) {
|
|
1145
1142
|
r.exports = e(M());
|
|
1146
|
-
})(
|
|
1143
|
+
})(Ht, function(t) {
|
|
1147
1144
|
return (function(e) {
|
|
1148
1145
|
var c = t, v = c.lib, y = v.Base, B = v.WordArray, C = c.x64 = {};
|
|
1149
1146
|
C.Word = y.extend({
|
|
@@ -1368,12 +1365,12 @@ function hr() {
|
|
|
1368
1365
|
});
|
|
1369
1366
|
})(H0)), H0.exports;
|
|
1370
1367
|
}
|
|
1371
|
-
var R0 = { exports: {} },
|
|
1372
|
-
function
|
|
1373
|
-
return
|
|
1368
|
+
var R0 = { exports: {} }, Rt = R0.exports, jr;
|
|
1369
|
+
function $t() {
|
|
1370
|
+
return jr || (jr = 1, (function(r, l) {
|
|
1374
1371
|
(function(t, e) {
|
|
1375
1372
|
r.exports = e(M());
|
|
1376
|
-
})(
|
|
1373
|
+
})(Rt, function(t) {
|
|
1377
1374
|
return (function() {
|
|
1378
1375
|
if (typeof ArrayBuffer == "function") {
|
|
1379
1376
|
var e = t, c = e.lib, v = c.WordArray, y = v.init, B = v.init = function(C) {
|
|
@@ -1390,12 +1387,12 @@ function Rt() {
|
|
|
1390
1387
|
});
|
|
1391
1388
|
})(R0)), R0.exports;
|
|
1392
1389
|
}
|
|
1393
|
-
var $0 = { exports: {} },
|
|
1394
|
-
function
|
|
1395
|
-
return
|
|
1390
|
+
var $0 = { exports: {} }, Pt = $0.exports, Gr;
|
|
1391
|
+
function zt() {
|
|
1392
|
+
return Gr || (Gr = 1, (function(r, l) {
|
|
1396
1393
|
(function(t, e) {
|
|
1397
1394
|
r.exports = e(M());
|
|
1398
|
-
})(
|
|
1395
|
+
})(Pt, function(t) {
|
|
1399
1396
|
return (function() {
|
|
1400
1397
|
var e = t, c = e.lib, v = c.WordArray, y = e.enc;
|
|
1401
1398
|
y.Utf16 = y.Utf16BE = {
|
|
@@ -1484,12 +1481,12 @@ function Pt() {
|
|
|
1484
1481
|
});
|
|
1485
1482
|
})($0)), $0.exports;
|
|
1486
1483
|
}
|
|
1487
|
-
var P0 = { exports: {} },
|
|
1484
|
+
var P0 = { exports: {} }, Wt = P0.exports, Kr;
|
|
1488
1485
|
function c0() {
|
|
1489
|
-
return
|
|
1486
|
+
return Kr || (Kr = 1, (function(r, l) {
|
|
1490
1487
|
(function(t, e) {
|
|
1491
1488
|
r.exports = e(M());
|
|
1492
|
-
})(
|
|
1489
|
+
})(Wt, function(t) {
|
|
1493
1490
|
return (function() {
|
|
1494
1491
|
var e = t, c = e.lib, v = c.WordArray, y = e.enc;
|
|
1495
1492
|
y.Base64 = {
|
|
@@ -1559,12 +1556,12 @@ function c0() {
|
|
|
1559
1556
|
});
|
|
1560
1557
|
})(P0)), P0.exports;
|
|
1561
1558
|
}
|
|
1562
|
-
var z0 = { exports: {} },
|
|
1563
|
-
function
|
|
1564
|
-
return
|
|
1559
|
+
var z0 = { exports: {} }, It = z0.exports, Xr;
|
|
1560
|
+
function Lt() {
|
|
1561
|
+
return Xr || (Xr = 1, (function(r, l) {
|
|
1565
1562
|
(function(t, e) {
|
|
1566
1563
|
r.exports = e(M());
|
|
1567
|
-
})(
|
|
1564
|
+
})(It, function(t) {
|
|
1568
1565
|
return (function() {
|
|
1569
1566
|
var e = t, c = e.lib, v = c.WordArray, y = e.enc;
|
|
1570
1567
|
y.Base64url = {
|
|
@@ -1590,10 +1587,10 @@ function It() {
|
|
|
1590
1587
|
for (var s = [], u = 0; u < E; u += 3)
|
|
1591
1588
|
for (var p = n[u >>> 2] >>> 24 - u % 4 * 8 & 255, h = n[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, D = n[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, i = p << 16 | h << 8 | D, o = 0; o < 4 && u + o * 0.75 < E; o++)
|
|
1592
1589
|
s.push(a.charAt(i >>> 6 * (3 - o) & 63));
|
|
1593
|
-
var
|
|
1594
|
-
if (
|
|
1590
|
+
var d = a.charAt(64);
|
|
1591
|
+
if (d)
|
|
1595
1592
|
for (; s.length % 4; )
|
|
1596
|
-
s.push(
|
|
1593
|
+
s.push(d);
|
|
1597
1594
|
return s.join("");
|
|
1598
1595
|
},
|
|
1599
1596
|
/**
|
|
@@ -1641,12 +1638,12 @@ function It() {
|
|
|
1641
1638
|
});
|
|
1642
1639
|
})(z0)), z0.exports;
|
|
1643
1640
|
}
|
|
1644
|
-
var W0 = { exports: {} },
|
|
1641
|
+
var W0 = { exports: {} }, Ot = W0.exports, Zr;
|
|
1645
1642
|
function f0() {
|
|
1646
|
-
return
|
|
1643
|
+
return Zr || (Zr = 1, (function(r, l) {
|
|
1647
1644
|
(function(t, e) {
|
|
1648
1645
|
r.exports = e(M());
|
|
1649
|
-
})(
|
|
1646
|
+
})(Ot, function(t) {
|
|
1650
1647
|
return (function(e) {
|
|
1651
1648
|
var c = t, v = c.lib, y = v.WordArray, B = v.Hasher, C = c.algo, x = [];
|
|
1652
1649
|
(function() {
|
|
@@ -1667,14 +1664,14 @@ function f0() {
|
|
|
1667
1664
|
var i = h + D, o = p[i];
|
|
1668
1665
|
p[i] = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360;
|
|
1669
1666
|
}
|
|
1670
|
-
var
|
|
1671
|
-
S = E(S, f, A, m, b, 7, x[0]), m = E(m, S, f, A, g, 12, x[1]), A = E(A, m, S, f, _, 17, x[2]), f = E(f, A, m, S, k, 22, x[3]), S = E(S, f, A, m, $, 7, x[4]), m = E(m, S, f, A, F, 12, x[5]), A = E(A, m, S, f, w, 17, x[6]), f = E(f, A, m, S, H, 22, x[7]), S = E(S, f, A, m, R, 7, x[8]), m = E(m, S, f, A, z, 12, x[9]), A = E(A, m, S, f, O, 17, x[10]), f = E(f, A, m, S, q, 22, x[11]), S = E(S, f, A, m, U, 7, x[12]), m = E(m, S, f, A, T, 12, x[13]), A = E(A, m, S, f, N, 17, x[14]), f = E(f, A, m, S, j, 22, x[15]), S = a(S, f, A, m, g, 5, x[16]), m = a(m, S, f, A, w, 9, x[17]), A = a(A, m, S, f, q, 14, x[18]), f = a(f, A, m, S, b, 20, x[19]), S = a(S, f, A, m, F, 5, x[20]), m = a(m, S, f, A, O, 9, x[21]), A = a(A, m, S, f, j, 14, x[22]), f = a(f, A, m, S, $, 20, x[23]), S = a(S, f, A, m, z, 5, x[24]), m = a(m, S, f, A, N, 9, x[25]), A = a(A, m, S, f, k, 14, x[26]), f = a(f, A, m, S, R, 20, x[27]), S = a(S, f, A, m, T, 5, x[28]), m = a(m, S, f, A, _, 9, x[29]), A = a(A, m, S, f, H, 14, x[30]), f = a(f, A, m, S, U, 20, x[31]), S = s(S, f, A, m, F, 4, x[32]), m = s(m, S, f, A, R, 11, x[33]), A = s(A, m, S, f, q, 16, x[34]), f = s(f, A, m, S, N, 23, x[35]), S = s(S, f, A, m, g, 4, x[36]), m = s(m, S, f, A, $, 11, x[37]), A = s(A, m, S, f, H, 16, x[38]), f = s(f, A, m, S, O, 23, x[39]), S = s(S, f, A, m, T, 4, x[40]), m = s(m, S, f, A, b, 11, x[41]), A = s(A, m, S, f, k, 16, x[42]), f = s(f, A, m, S, w, 23, x[43]), S = s(S, f, A, m, z, 4, x[44]), m = s(m, S, f, A, U, 11, x[45]), A = s(A, m, S, f, j, 16, x[46]), f = s(f, A, m, S, _, 23, x[47]), S = u(S, f, A, m, b, 6, x[48]), m = u(m, S, f, A, H, 10, x[49]), A = u(A, m, S, f, N, 15, x[50]), f = u(f, A, m, S, F, 21, x[51]), S = u(S, f, A, m, U, 6, x[52]), m = u(m, S, f, A, k, 10, x[53]), A = u(A, m, S, f, O, 15, x[54]), f = u(f, A, m, S, g, 21, x[55]), S = u(S, f, A, m, R, 6, x[56]), m = u(m, S, f, A, j, 10, x[57]), A = u(A, m, S, f, w, 15, x[58]), f = u(f, A, m, S, T, 21, x[59]), S = u(S, f, A, m, $, 6, x[60]), m = u(m, S, f, A, q, 10, x[61]), A = u(A, m, S, f, _, 15, x[62]), f = u(f, A, m, S, z, 21, x[63]),
|
|
1667
|
+
var d = this._hash.words, b = p[h + 0], g = p[h + 1], _ = p[h + 2], k = p[h + 3], $ = p[h + 4], F = p[h + 5], w = p[h + 6], H = p[h + 7], R = p[h + 8], z = p[h + 9], O = p[h + 10], q = p[h + 11], U = p[h + 12], T = p[h + 13], N = p[h + 14], j = p[h + 15], S = d[0], f = d[1], A = d[2], m = d[3];
|
|
1668
|
+
S = E(S, f, A, m, b, 7, x[0]), m = E(m, S, f, A, g, 12, x[1]), A = E(A, m, S, f, _, 17, x[2]), f = E(f, A, m, S, k, 22, x[3]), S = E(S, f, A, m, $, 7, x[4]), m = E(m, S, f, A, F, 12, x[5]), A = E(A, m, S, f, w, 17, x[6]), f = E(f, A, m, S, H, 22, x[7]), S = E(S, f, A, m, R, 7, x[8]), m = E(m, S, f, A, z, 12, x[9]), A = E(A, m, S, f, O, 17, x[10]), f = E(f, A, m, S, q, 22, x[11]), S = E(S, f, A, m, U, 7, x[12]), m = E(m, S, f, A, T, 12, x[13]), A = E(A, m, S, f, N, 17, x[14]), f = E(f, A, m, S, j, 22, x[15]), S = a(S, f, A, m, g, 5, x[16]), m = a(m, S, f, A, w, 9, x[17]), A = a(A, m, S, f, q, 14, x[18]), f = a(f, A, m, S, b, 20, x[19]), S = a(S, f, A, m, F, 5, x[20]), m = a(m, S, f, A, O, 9, x[21]), A = a(A, m, S, f, j, 14, x[22]), f = a(f, A, m, S, $, 20, x[23]), S = a(S, f, A, m, z, 5, x[24]), m = a(m, S, f, A, N, 9, x[25]), A = a(A, m, S, f, k, 14, x[26]), f = a(f, A, m, S, R, 20, x[27]), S = a(S, f, A, m, T, 5, x[28]), m = a(m, S, f, A, _, 9, x[29]), A = a(A, m, S, f, H, 14, x[30]), f = a(f, A, m, S, U, 20, x[31]), S = s(S, f, A, m, F, 4, x[32]), m = s(m, S, f, A, R, 11, x[33]), A = s(A, m, S, f, q, 16, x[34]), f = s(f, A, m, S, N, 23, x[35]), S = s(S, f, A, m, g, 4, x[36]), m = s(m, S, f, A, $, 11, x[37]), A = s(A, m, S, f, H, 16, x[38]), f = s(f, A, m, S, O, 23, x[39]), S = s(S, f, A, m, T, 4, x[40]), m = s(m, S, f, A, b, 11, x[41]), A = s(A, m, S, f, k, 16, x[42]), f = s(f, A, m, S, w, 23, x[43]), S = s(S, f, A, m, z, 4, x[44]), m = s(m, S, f, A, U, 11, x[45]), A = s(A, m, S, f, j, 16, x[46]), f = s(f, A, m, S, _, 23, x[47]), S = u(S, f, A, m, b, 6, x[48]), m = u(m, S, f, A, H, 10, x[49]), A = u(A, m, S, f, N, 15, x[50]), f = u(f, A, m, S, F, 21, x[51]), S = u(S, f, A, m, U, 6, x[52]), m = u(m, S, f, A, k, 10, x[53]), A = u(A, m, S, f, O, 15, x[54]), f = u(f, A, m, S, g, 21, x[55]), S = u(S, f, A, m, R, 6, x[56]), m = u(m, S, f, A, j, 10, x[57]), A = u(A, m, S, f, w, 15, x[58]), f = u(f, A, m, S, T, 21, x[59]), S = u(S, f, A, m, $, 6, x[60]), m = u(m, S, f, A, q, 10, x[61]), A = u(A, m, S, f, _, 15, x[62]), f = u(f, A, m, S, z, 21, x[63]), d[0] = d[0] + S | 0, d[1] = d[1] + f | 0, d[2] = d[2] + A | 0, d[3] = d[3] + m | 0;
|
|
1672
1669
|
},
|
|
1673
1670
|
_doFinalize: function() {
|
|
1674
1671
|
var p = this._data, h = p.words, D = this._nDataBytes * 8, i = p.sigBytes * 8;
|
|
1675
1672
|
h[i >>> 5] |= 128 << 24 - i % 32;
|
|
1676
|
-
var o = e.floor(D / 4294967296),
|
|
1677
|
-
h[(i + 64 >>> 9 << 4) + 15] = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, h[(i + 64 >>> 9 << 4) + 14] = (
|
|
1673
|
+
var o = e.floor(D / 4294967296), d = D;
|
|
1674
|
+
h[(i + 64 >>> 9 << 4) + 15] = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, h[(i + 64 >>> 9 << 4) + 14] = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, p.sigBytes = (h.length + 1) * 4, this._process();
|
|
1678
1675
|
for (var b = this._hash, g = b.words, _ = 0; _ < 4; _++) {
|
|
1679
1676
|
var k = g[_];
|
|
1680
1677
|
g[_] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
|
@@ -1686,33 +1683,33 @@ function f0() {
|
|
|
1686
1683
|
return p._hash = this._hash.clone(), p;
|
|
1687
1684
|
}
|
|
1688
1685
|
});
|
|
1689
|
-
function E(p, h, D, i, o,
|
|
1686
|
+
function E(p, h, D, i, o, d, b) {
|
|
1690
1687
|
var g = p + (h & D | ~h & i) + o + b;
|
|
1691
|
-
return (g <<
|
|
1688
|
+
return (g << d | g >>> 32 - d) + h;
|
|
1692
1689
|
}
|
|
1693
|
-
function a(p, h, D, i, o,
|
|
1690
|
+
function a(p, h, D, i, o, d, b) {
|
|
1694
1691
|
var g = p + (h & i | D & ~i) + o + b;
|
|
1695
|
-
return (g <<
|
|
1692
|
+
return (g << d | g >>> 32 - d) + h;
|
|
1696
1693
|
}
|
|
1697
|
-
function s(p, h, D, i, o,
|
|
1694
|
+
function s(p, h, D, i, o, d, b) {
|
|
1698
1695
|
var g = p + (h ^ D ^ i) + o + b;
|
|
1699
|
-
return (g <<
|
|
1696
|
+
return (g << d | g >>> 32 - d) + h;
|
|
1700
1697
|
}
|
|
1701
|
-
function u(p, h, D, i, o,
|
|
1698
|
+
function u(p, h, D, i, o, d, b) {
|
|
1702
1699
|
var g = p + (D ^ (h | ~i)) + o + b;
|
|
1703
|
-
return (g <<
|
|
1700
|
+
return (g << d | g >>> 32 - d) + h;
|
|
1704
1701
|
}
|
|
1705
1702
|
c.MD5 = B._createHelper(n), c.HmacMD5 = B._createHmacHelper(n);
|
|
1706
1703
|
})(Math), t.MD5;
|
|
1707
1704
|
});
|
|
1708
1705
|
})(W0)), W0.exports;
|
|
1709
1706
|
}
|
|
1710
|
-
var I0 = { exports: {} },
|
|
1711
|
-
function
|
|
1712
|
-
return Yr || (Yr = 1, (function(r,
|
|
1707
|
+
var I0 = { exports: {} }, qt = I0.exports, Yr;
|
|
1708
|
+
function Pe() {
|
|
1709
|
+
return Yr || (Yr = 1, (function(r, l) {
|
|
1713
1710
|
(function(t, e) {
|
|
1714
1711
|
r.exports = e(M());
|
|
1715
|
-
})(
|
|
1712
|
+
})(qt, function(t) {
|
|
1716
1713
|
return (function() {
|
|
1717
1714
|
var e = t, c = e.lib, v = c.WordArray, y = c.Hasher, B = e.algo, C = [], x = B.SHA1 = y.extend({
|
|
1718
1715
|
_doReset: function() {
|
|
@@ -1732,8 +1729,8 @@ function $e() {
|
|
|
1732
1729
|
var o = C[i - 3] ^ C[i - 8] ^ C[i - 14] ^ C[i - 16];
|
|
1733
1730
|
C[i] = o << 1 | o >>> 31;
|
|
1734
1731
|
}
|
|
1735
|
-
var
|
|
1736
|
-
i < 20 ?
|
|
1732
|
+
var d = (s << 5 | s >>> 27) + D + C[i];
|
|
1733
|
+
i < 20 ? d += (u & p | ~u & h) + 1518500249 : i < 40 ? d += (u ^ p ^ h) + 1859775393 : i < 60 ? d += (u & p | u & h | p & h) - 1894007588 : d += (u ^ p ^ h) - 899497514, D = h, h = p, p = u << 30 | u >>> 2, u = s, s = d;
|
|
1737
1734
|
}
|
|
1738
1735
|
a[0] = a[0] + s | 0, a[1] = a[1] + u | 0, a[2] = a[2] + p | 0, a[3] = a[3] + h | 0, a[4] = a[4] + D | 0;
|
|
1739
1736
|
},
|
|
@@ -1751,12 +1748,12 @@ function $e() {
|
|
|
1751
1748
|
});
|
|
1752
1749
|
})(I0)), I0.exports;
|
|
1753
1750
|
}
|
|
1754
|
-
var L0 = { exports: {} },
|
|
1755
|
-
function
|
|
1756
|
-
return
|
|
1751
|
+
var L0 = { exports: {} }, Tt = L0.exports, Qr;
|
|
1752
|
+
function mr() {
|
|
1753
|
+
return Qr || (Qr = 1, (function(r, l) {
|
|
1757
1754
|
(function(t, e) {
|
|
1758
1755
|
r.exports = e(M());
|
|
1759
|
-
})(
|
|
1756
|
+
})(Tt, function(t) {
|
|
1760
1757
|
return (function(e) {
|
|
1761
1758
|
var c = t, v = c.lib, y = v.WordArray, B = v.Hasher, C = c.algo, x = [], n = [];
|
|
1762
1759
|
(function() {
|
|
@@ -1777,17 +1774,17 @@ function br() {
|
|
|
1777
1774
|
this._hash = new y.init(x.slice(0));
|
|
1778
1775
|
},
|
|
1779
1776
|
_doProcessBlock: function(s, u) {
|
|
1780
|
-
for (var p = this._hash.words, h = p[0], D = p[1], i = p[2], o = p[3],
|
|
1777
|
+
for (var p = this._hash.words, h = p[0], D = p[1], i = p[2], o = p[3], d = p[4], b = p[5], g = p[6], _ = p[7], k = 0; k < 64; k++) {
|
|
1781
1778
|
if (k < 16)
|
|
1782
1779
|
E[k] = s[u + k] | 0;
|
|
1783
1780
|
else {
|
|
1784
1781
|
var $ = E[k - 15], F = ($ << 25 | $ >>> 7) ^ ($ << 14 | $ >>> 18) ^ $ >>> 3, w = E[k - 2], H = (w << 15 | w >>> 17) ^ (w << 13 | w >>> 19) ^ w >>> 10;
|
|
1785
1782
|
E[k] = F + E[k - 7] + H + E[k - 16];
|
|
1786
1783
|
}
|
|
1787
|
-
var R =
|
|
1788
|
-
_ = g, g = b, b =
|
|
1784
|
+
var R = d & b ^ ~d & g, z = h & D ^ h & i ^ D & i, O = (h << 30 | h >>> 2) ^ (h << 19 | h >>> 13) ^ (h << 10 | h >>> 22), q = (d << 26 | d >>> 6) ^ (d << 21 | d >>> 11) ^ (d << 7 | d >>> 25), U = _ + q + R + n[k] + E[k], T = O + z;
|
|
1785
|
+
_ = g, g = b, b = d, d = o + U | 0, o = i, i = D, D = h, h = U + T | 0;
|
|
1789
1786
|
}
|
|
1790
|
-
p[0] = p[0] + h | 0, p[1] = p[1] + D | 0, p[2] = p[2] + i | 0, p[3] = p[3] + o | 0, p[4] = p[4] +
|
|
1787
|
+
p[0] = p[0] + h | 0, p[1] = p[1] + D | 0, p[2] = p[2] + i | 0, p[3] = p[3] + o | 0, p[4] = p[4] + d | 0, p[5] = p[5] + b | 0, p[6] = p[6] + g | 0, p[7] = p[7] + _ | 0;
|
|
1791
1788
|
},
|
|
1792
1789
|
_doFinalize: function() {
|
|
1793
1790
|
var s = this._data, u = s.words, p = this._nDataBytes * 8, h = s.sigBytes * 8;
|
|
@@ -1803,12 +1800,12 @@ function br() {
|
|
|
1803
1800
|
});
|
|
1804
1801
|
})(L0)), L0.exports;
|
|
1805
1802
|
}
|
|
1806
|
-
var O0 = { exports: {} },
|
|
1807
|
-
function
|
|
1808
|
-
return
|
|
1803
|
+
var O0 = { exports: {} }, Mt = O0.exports, Vr;
|
|
1804
|
+
function Nt() {
|
|
1805
|
+
return Vr || (Vr = 1, (function(r, l) {
|
|
1809
1806
|
(function(t, e, c) {
|
|
1810
|
-
r.exports = e(M(),
|
|
1811
|
-
})(
|
|
1807
|
+
r.exports = e(M(), mr());
|
|
1808
|
+
})(Mt, function(t) {
|
|
1812
1809
|
return (function() {
|
|
1813
1810
|
var e = t, c = e.lib, v = c.WordArray, y = e.algo, B = y.SHA256, C = y.SHA224 = B.extend({
|
|
1814
1811
|
_doReset: function() {
|
|
@@ -1833,12 +1830,12 @@ function Mt() {
|
|
|
1833
1830
|
});
|
|
1834
1831
|
})(O0)), O0.exports;
|
|
1835
1832
|
}
|
|
1836
|
-
var q0 = { exports: {} },
|
|
1837
|
-
function
|
|
1838
|
-
return
|
|
1833
|
+
var q0 = { exports: {} }, Ut = q0.exports, Jr;
|
|
1834
|
+
function ze() {
|
|
1835
|
+
return Jr || (Jr = 1, (function(r, l) {
|
|
1839
1836
|
(function(t, e, c) {
|
|
1840
|
-
r.exports = e(M(),
|
|
1841
|
-
})(
|
|
1837
|
+
r.exports = e(M(), vr());
|
|
1838
|
+
})(Ut, function(t) {
|
|
1842
1839
|
return (function() {
|
|
1843
1840
|
var e = t, c = e.lib, v = c.Hasher, y = e.x64, B = y.Word, C = y.WordArray, x = e.algo;
|
|
1844
1841
|
function n() {
|
|
@@ -1944,18 +1941,18 @@ function Pe() {
|
|
|
1944
1941
|
]);
|
|
1945
1942
|
},
|
|
1946
1943
|
_doProcessBlock: function(u, p) {
|
|
1947
|
-
for (var h = this._hash.words, D = h[0], i = h[1], o = h[2],
|
|
1948
|
-
var J, n0, m0 = a[
|
|
1949
|
-
if (
|
|
1950
|
-
n0 = m0.high = u[p +
|
|
1944
|
+
for (var h = this._hash.words, D = h[0], i = h[1], o = h[2], d = h[3], b = h[4], g = h[5], _ = h[6], k = h[7], $ = D.high, F = D.low, w = i.high, H = i.low, R = o.high, z = o.low, O = d.high, q = d.low, U = b.high, T = b.low, N = g.high, j = g.low, S = _.high, f = _.low, A = k.high, m = k.low, W = $, P = F, L = w, I = H, Y = R, Q = z, i0 = O, K = q, G = U, Z = T, r0 = N, u0 = j, b0 = S, B0 = f, pr = A, C0 = m, e0 = 0; e0 < 80; e0++) {
|
|
1945
|
+
var J, n0, m0 = a[e0];
|
|
1946
|
+
if (e0 < 16)
|
|
1947
|
+
n0 = m0.high = u[p + e0 * 2] | 0, J = m0.low = u[p + e0 * 2 + 1] | 0;
|
|
1951
1948
|
else {
|
|
1952
|
-
var
|
|
1953
|
-
J =
|
|
1949
|
+
var wr = a[e0 - 15], d0 = wr.high, E0 = wr.low, Me = (d0 >>> 1 | E0 << 31) ^ (d0 >>> 8 | E0 << 24) ^ d0 >>> 7, kr = (E0 >>> 1 | d0 << 31) ^ (E0 >>> 8 | d0 << 24) ^ (E0 >>> 7 | d0 << 25), Sr = a[e0 - 2], l0 = Sr.high, A0 = Sr.low, Ne = (l0 >>> 19 | A0 << 13) ^ (l0 << 3 | A0 >>> 29) ^ l0 >>> 6, Hr = (A0 >>> 19 | l0 << 13) ^ (A0 << 3 | l0 >>> 29) ^ (A0 >>> 6 | l0 << 26), Rr = a[e0 - 7], Ue = Rr.high, je = Rr.low, $r = a[e0 - 16], Ge = $r.high, Pr = $r.low;
|
|
1950
|
+
J = kr + je, n0 = Me + Ue + (J >>> 0 < kr >>> 0 ? 1 : 0), J = J + Hr, n0 = n0 + Ne + (J >>> 0 < Hr >>> 0 ? 1 : 0), J = J + Pr, n0 = n0 + Ge + (J >>> 0 < Pr >>> 0 ? 1 : 0), m0.high = n0, m0.low = J;
|
|
1954
1951
|
}
|
|
1955
|
-
var
|
|
1956
|
-
|
|
1952
|
+
var Ke = G & r0 ^ ~G & b0, zr = Z & u0 ^ ~Z & B0, Xe = W & L ^ W & Y ^ L & Y, Ze = P & I ^ P & Q ^ I & Q, Ye = (W >>> 28 | P << 4) ^ (W << 30 | P >>> 2) ^ (W << 25 | P >>> 7), Wr = (P >>> 28 | W << 4) ^ (P << 30 | W >>> 2) ^ (P << 25 | W >>> 7), Qe = (G >>> 14 | Z << 18) ^ (G >>> 18 | Z << 14) ^ (G << 23 | Z >>> 9), Ve = (Z >>> 14 | G << 18) ^ (Z >>> 18 | G << 14) ^ (Z << 23 | G >>> 9), Ir = E[e0], Je = Ir.high, Lr = Ir.low, V = C0 + Ve, a0 = pr + Qe + (V >>> 0 < C0 >>> 0 ? 1 : 0), V = V + zr, a0 = a0 + Ke + (V >>> 0 < zr >>> 0 ? 1 : 0), V = V + Lr, a0 = a0 + Je + (V >>> 0 < Lr >>> 0 ? 1 : 0), V = V + J, a0 = a0 + n0 + (V >>> 0 < J >>> 0 ? 1 : 0), Or = Wr + Ze, rt = Ye + Xe + (Or >>> 0 < Wr >>> 0 ? 1 : 0);
|
|
1953
|
+
pr = b0, C0 = B0, b0 = r0, B0 = u0, r0 = G, u0 = Z, Z = K + V | 0, G = i0 + a0 + (Z >>> 0 < K >>> 0 ? 1 : 0) | 0, i0 = Y, K = Q, Y = L, Q = I, L = W, I = P, P = V + Or | 0, W = a0 + rt + (P >>> 0 < V >>> 0 ? 1 : 0) | 0;
|
|
1957
1954
|
}
|
|
1958
|
-
F = D.low = F + P, D.high = $ + W + (F >>> 0 < P >>> 0 ? 1 : 0), H = i.low = H + I, i.high = w + L + (H >>> 0 < I >>> 0 ? 1 : 0), z = o.low = z + Q, o.high = R +
|
|
1955
|
+
F = D.low = F + P, D.high = $ + W + (F >>> 0 < P >>> 0 ? 1 : 0), H = i.low = H + I, i.high = w + L + (H >>> 0 < I >>> 0 ? 1 : 0), z = o.low = z + Q, o.high = R + Y + (z >>> 0 < Q >>> 0 ? 1 : 0), q = d.low = q + K, d.high = O + i0 + (q >>> 0 < K >>> 0 ? 1 : 0), T = b.low = T + Z, b.high = U + G + (T >>> 0 < Z >>> 0 ? 1 : 0), j = g.low = j + u0, g.high = N + r0 + (j >>> 0 < u0 >>> 0 ? 1 : 0), f = _.low = f + B0, _.high = S + b0 + (f >>> 0 < B0 >>> 0 ? 1 : 0), m = k.low = m + C0, k.high = A + pr + (m >>> 0 < C0 >>> 0 ? 1 : 0);
|
|
1959
1956
|
},
|
|
1960
1957
|
_doFinalize: function() {
|
|
1961
1958
|
var u = this._data, p = u.words, h = this._nDataBytes * 8, D = u.sigBytes * 8;
|
|
@@ -1974,12 +1971,12 @@ function Pe() {
|
|
|
1974
1971
|
});
|
|
1975
1972
|
})(q0)), q0.exports;
|
|
1976
1973
|
}
|
|
1977
|
-
var T0 = { exports: {} },
|
|
1978
|
-
function
|
|
1979
|
-
return
|
|
1974
|
+
var T0 = { exports: {} }, jt = T0.exports, re;
|
|
1975
|
+
function Gt() {
|
|
1976
|
+
return re || (re = 1, (function(r, l) {
|
|
1980
1977
|
(function(t, e, c) {
|
|
1981
|
-
r.exports = e(M(),
|
|
1982
|
-
})(
|
|
1978
|
+
r.exports = e(M(), vr(), ze());
|
|
1979
|
+
})(jt, function(t) {
|
|
1983
1980
|
return (function() {
|
|
1984
1981
|
var e = t, c = e.x64, v = c.Word, y = c.WordArray, B = e.algo, C = B.SHA512, x = B.SHA384 = C.extend({
|
|
1985
1982
|
_doReset: function() {
|
|
@@ -2004,19 +2001,19 @@ function jt() {
|
|
|
2004
2001
|
});
|
|
2005
2002
|
})(T0)), T0.exports;
|
|
2006
2003
|
}
|
|
2007
|
-
var M0 = { exports: {} },
|
|
2008
|
-
function
|
|
2009
|
-
return
|
|
2004
|
+
var M0 = { exports: {} }, Kt = M0.exports, ee;
|
|
2005
|
+
function Xt() {
|
|
2006
|
+
return ee || (ee = 1, (function(r, l) {
|
|
2010
2007
|
(function(t, e, c) {
|
|
2011
|
-
r.exports = e(M(),
|
|
2012
|
-
})(
|
|
2008
|
+
r.exports = e(M(), vr());
|
|
2009
|
+
})(Kt, function(t) {
|
|
2013
2010
|
return (function(e) {
|
|
2014
2011
|
var c = t, v = c.lib, y = v.WordArray, B = v.Hasher, C = c.x64, x = C.Word, n = c.algo, E = [], a = [], s = [];
|
|
2015
2012
|
(function() {
|
|
2016
2013
|
for (var h = 1, D = 0, i = 0; i < 24; i++) {
|
|
2017
2014
|
E[h + 5 * D] = (i + 1) * (i + 2) / 2 % 64;
|
|
2018
|
-
var o = D % 5,
|
|
2019
|
-
h = o, D =
|
|
2015
|
+
var o = D % 5, d = (2 * h + 3 * D) % 5;
|
|
2016
|
+
h = o, D = d;
|
|
2020
2017
|
}
|
|
2021
2018
|
for (var h = 0; h < 5; h++)
|
|
2022
2019
|
for (var D = 0; D < 5; D++)
|
|
@@ -2055,10 +2052,10 @@ function Kt() {
|
|
|
2055
2052
|
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
|
|
2056
2053
|
},
|
|
2057
2054
|
_doProcessBlock: function(h, D) {
|
|
2058
|
-
for (var i = this._state, o = this.blockSize / 2,
|
|
2059
|
-
var b = h[D + 2 *
|
|
2055
|
+
for (var i = this._state, o = this.blockSize / 2, d = 0; d < o; d++) {
|
|
2056
|
+
var b = h[D + 2 * d], g = h[D + 2 * d + 1];
|
|
2060
2057
|
b = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, g = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360;
|
|
2061
|
-
var _ = i[
|
|
2058
|
+
var _ = i[d];
|
|
2062
2059
|
_.high ^= g, _.low ^= b;
|
|
2063
2060
|
}
|
|
2064
2061
|
for (var k = 0; k < 24; k++) {
|
|
@@ -2097,8 +2094,8 @@ function Kt() {
|
|
|
2097
2094
|
this._nDataBytes * 8;
|
|
2098
2095
|
var i = h.sigBytes * 8, o = this.blockSize * 32;
|
|
2099
2096
|
D[i >>> 5] |= 1 << 24 - i % 32, D[(e.ceil((i + 1) / o) * o >>> 5) - 1] |= 128, h.sigBytes = D.length * 4, this._process();
|
|
2100
|
-
for (var
|
|
2101
|
-
var $ =
|
|
2097
|
+
for (var d = this._state, b = this.cfg.outputLength / 8, g = b / 8, _ = [], k = 0; k < g; k++) {
|
|
2098
|
+
var $ = d[k], F = $.high, w = $.low;
|
|
2102
2099
|
F = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360, w = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, _.push(w), _.push(F);
|
|
2103
2100
|
}
|
|
2104
2101
|
return new y.init(_, b);
|
|
@@ -2114,12 +2111,12 @@ function Kt() {
|
|
|
2114
2111
|
});
|
|
2115
2112
|
})(M0)), M0.exports;
|
|
2116
2113
|
}
|
|
2117
|
-
var N0 = { exports: {} },
|
|
2114
|
+
var N0 = { exports: {} }, Zt = N0.exports, te;
|
|
2118
2115
|
function Yt() {
|
|
2119
|
-
return
|
|
2116
|
+
return te || (te = 1, (function(r, l) {
|
|
2120
2117
|
(function(t, e) {
|
|
2121
2118
|
r.exports = e(M());
|
|
2122
|
-
})(
|
|
2119
|
+
})(Zt, function(t) {
|
|
2123
2120
|
return (function(e) {
|
|
2124
2121
|
var c = t, v = c.lib, y = v.WordArray, B = v.Hasher, C = c.algo, x = y.create([
|
|
2125
2122
|
0,
|
|
@@ -2457,7 +2454,7 @@ function Yt() {
|
|
|
2457
2454
|
var w = this._hash.words, H = s.words, R = u.words, z = x.words, O = n.words, q = E.words, U = a.words, T, N, j, S, f, A, m, W, P, L;
|
|
2458
2455
|
A = T = w[0], m = N = w[1], W = j = w[2], P = S = w[3], L = f = w[4];
|
|
2459
2456
|
for (var I, k = 0; k < 80; k += 1)
|
|
2460
|
-
I = T + g[_ + z[k]] | 0, k < 16 ? I += h(N, j, S) + H[0] : k < 32 ? I += D(N, j, S) + H[1] : k < 48 ? I += i(N, j, S) + H[2] : k < 64 ? I += o(N, j, S) + H[3] : I +=
|
|
2457
|
+
I = T + g[_ + z[k]] | 0, k < 16 ? I += h(N, j, S) + H[0] : k < 32 ? I += D(N, j, S) + H[1] : k < 48 ? I += i(N, j, S) + H[2] : k < 64 ? I += o(N, j, S) + H[3] : I += d(N, j, S) + H[4], I = I | 0, I = b(I, q[k]), I = I + f | 0, T = f, f = S, S = b(j, 10), j = N, N = I, I = A + g[_ + O[k]] | 0, k < 16 ? I += d(m, W, P) + R[0] : k < 32 ? I += o(m, W, P) + R[1] : k < 48 ? I += i(m, W, P) + R[2] : k < 64 ? I += D(m, W, P) + R[3] : I += h(m, W, P) + R[4], I = I | 0, I = b(I, U[k]), I = I + L | 0, A = L, L = P, P = b(W, 10), W = m, m = I;
|
|
2461
2458
|
I = w[1] + j + P | 0, w[1] = w[2] + S + L | 0, w[2] = w[3] + f + A | 0, w[3] = w[4] + T + m | 0, w[4] = w[0] + N + W | 0, w[0] = I;
|
|
2462
2459
|
},
|
|
2463
2460
|
_doFinalize: function() {
|
|
@@ -2486,7 +2483,7 @@ function Yt() {
|
|
|
2486
2483
|
function o(g, _, k) {
|
|
2487
2484
|
return g & k | _ & ~k;
|
|
2488
2485
|
}
|
|
2489
|
-
function
|
|
2486
|
+
function d(g, _, k) {
|
|
2490
2487
|
return g ^ (_ | ~k);
|
|
2491
2488
|
}
|
|
2492
2489
|
function b(g, _) {
|
|
@@ -2497,12 +2494,12 @@ function Yt() {
|
|
|
2497
2494
|
});
|
|
2498
2495
|
})(N0)), N0.exports;
|
|
2499
2496
|
}
|
|
2500
|
-
var U0 = { exports: {} },
|
|
2501
|
-
function
|
|
2502
|
-
return
|
|
2497
|
+
var U0 = { exports: {} }, Qt = U0.exports, xe;
|
|
2498
|
+
function _r() {
|
|
2499
|
+
return xe || (xe = 1, (function(r, l) {
|
|
2503
2500
|
(function(t, e) {
|
|
2504
2501
|
r.exports = e(M());
|
|
2505
|
-
})(
|
|
2502
|
+
})(Qt, function(t) {
|
|
2506
2503
|
(function() {
|
|
2507
2504
|
var e = t, c = e.lib, v = c.Base, y = e.enc, B = y.Utf8, C = e.algo;
|
|
2508
2505
|
C.HMAC = v.extend({
|
|
@@ -2575,12 +2572,12 @@ function mr() {
|
|
|
2575
2572
|
});
|
|
2576
2573
|
})(U0)), U0.exports;
|
|
2577
2574
|
}
|
|
2578
|
-
var j0 = { exports: {} },
|
|
2579
|
-
function
|
|
2580
|
-
return
|
|
2575
|
+
var j0 = { exports: {} }, Vt = j0.exports, ne;
|
|
2576
|
+
function Jt() {
|
|
2577
|
+
return ne || (ne = 1, (function(r, l) {
|
|
2581
2578
|
(function(t, e, c) {
|
|
2582
|
-
r.exports = e(M(),
|
|
2583
|
-
})(
|
|
2579
|
+
r.exports = e(M(), mr(), _r());
|
|
2580
|
+
})(Vt, function(t) {
|
|
2584
2581
|
return (function() {
|
|
2585
2582
|
var e = t, c = e.lib, v = c.Base, y = c.WordArray, B = e.algo, C = B.SHA256, x = B.HMAC, n = B.PBKDF2 = v.extend({
|
|
2586
2583
|
/**
|
|
@@ -2622,10 +2619,10 @@ function Vt() {
|
|
|
2622
2619
|
* var key = kdf.compute(password, salt);
|
|
2623
2620
|
*/
|
|
2624
2621
|
compute: function(E, a) {
|
|
2625
|
-
for (var s = this.cfg, u = x.create(s.hasher, E), p = y.create(), h = y.create([1]), D = p.words, i = h.words, o = s.keySize,
|
|
2622
|
+
for (var s = this.cfg, u = x.create(s.hasher, E), p = y.create(), h = y.create([1]), D = p.words, i = h.words, o = s.keySize, d = s.iterations; D.length < o; ) {
|
|
2626
2623
|
var b = u.update(a).finalize(h);
|
|
2627
2624
|
u.reset();
|
|
2628
|
-
for (var g = b.words, _ = g.length, k = b, $ = 1; $ <
|
|
2625
|
+
for (var g = b.words, _ = g.length, k = b, $ = 1; $ < d; $++) {
|
|
2629
2626
|
k = u.finalize(k), u.reset();
|
|
2630
2627
|
for (var F = k.words, w = 0; w < _; w++)
|
|
2631
2628
|
g[w] ^= F[w];
|
|
@@ -2642,12 +2639,12 @@ function Vt() {
|
|
|
2642
2639
|
});
|
|
2643
2640
|
})(j0)), j0.exports;
|
|
2644
2641
|
}
|
|
2645
|
-
var G0 = { exports: {} },
|
|
2642
|
+
var G0 = { exports: {} }, rx = G0.exports, ae;
|
|
2646
2643
|
function o0() {
|
|
2647
|
-
return
|
|
2644
|
+
return ae || (ae = 1, (function(r, l) {
|
|
2648
2645
|
(function(t, e, c) {
|
|
2649
|
-
r.exports = e(M(),
|
|
2650
|
-
})(
|
|
2646
|
+
r.exports = e(M(), Pe(), _r());
|
|
2647
|
+
})(rx, function(t) {
|
|
2651
2648
|
return (function() {
|
|
2652
2649
|
var e = t, c = e.lib, v = c.Base, y = c.WordArray, B = e.algo, C = B.MD5, x = B.EvpKDF = v.extend({
|
|
2653
2650
|
/**
|
|
@@ -2705,12 +2702,12 @@ function o0() {
|
|
|
2705
2702
|
});
|
|
2706
2703
|
})(G0)), G0.exports;
|
|
2707
2704
|
}
|
|
2708
|
-
var K0 = { exports: {} },
|
|
2705
|
+
var K0 = { exports: {} }, ex = K0.exports, oe;
|
|
2709
2706
|
function X() {
|
|
2710
|
-
return
|
|
2707
|
+
return oe || (oe = 1, (function(r, l) {
|
|
2711
2708
|
(function(t, e, c) {
|
|
2712
2709
|
r.exports = e(M(), o0());
|
|
2713
|
-
})(
|
|
2710
|
+
})(ex, function(t) {
|
|
2714
2711
|
t.lib.Cipher || (function(e) {
|
|
2715
2712
|
var c = t, v = c.lib, y = v.Base, B = v.WordArray, C = v.BufferedBlockAlgorithm, x = c.enc;
|
|
2716
2713
|
x.Utf8;
|
|
@@ -3039,7 +3036,7 @@ function X() {
|
|
|
3039
3036
|
toString: function(F) {
|
|
3040
3037
|
return (F || this.formatter).stringify(this);
|
|
3041
3038
|
}
|
|
3042
|
-
}),
|
|
3039
|
+
}), d = c.format = {}, b = d.OpenSSL = {
|
|
3043
3040
|
/**
|
|
3044
3041
|
* Converts a cipher params object to an OpenSSL-compatible string.
|
|
3045
3042
|
*
|
|
@@ -3243,12 +3240,12 @@ function X() {
|
|
|
3243
3240
|
});
|
|
3244
3241
|
})(K0)), K0.exports;
|
|
3245
3242
|
}
|
|
3246
|
-
var X0 = { exports: {} },
|
|
3247
|
-
function
|
|
3248
|
-
return
|
|
3243
|
+
var X0 = { exports: {} }, tx = X0.exports, ie;
|
|
3244
|
+
function xx() {
|
|
3245
|
+
return ie || (ie = 1, (function(r, l) {
|
|
3249
3246
|
(function(t, e, c) {
|
|
3250
3247
|
r.exports = e(M(), X());
|
|
3251
|
-
})(
|
|
3248
|
+
})(tx, function(t) {
|
|
3252
3249
|
return t.mode.CFB = (function() {
|
|
3253
3250
|
var e = t.lib.BlockCipherMode.extend();
|
|
3254
3251
|
e.Encryptor = e.extend({
|
|
@@ -3273,12 +3270,12 @@ function tx() {
|
|
|
3273
3270
|
});
|
|
3274
3271
|
})(X0)), X0.exports;
|
|
3275
3272
|
}
|
|
3276
|
-
var
|
|
3277
|
-
function
|
|
3278
|
-
return
|
|
3273
|
+
var Z0 = { exports: {} }, nx = Z0.exports, se;
|
|
3274
|
+
function ax() {
|
|
3275
|
+
return se || (se = 1, (function(r, l) {
|
|
3279
3276
|
(function(t, e, c) {
|
|
3280
3277
|
r.exports = e(M(), X());
|
|
3281
|
-
})(
|
|
3278
|
+
})(nx, function(t) {
|
|
3282
3279
|
return t.mode.CTR = (function() {
|
|
3283
3280
|
var e = t.lib.BlockCipherMode.extend(), c = e.Encryptor = e.extend({
|
|
3284
3281
|
processBlock: function(v, y) {
|
|
@@ -3293,14 +3290,14 @@ function nx() {
|
|
|
3293
3290
|
return e.Decryptor = c, e;
|
|
3294
3291
|
})(), t.mode.CTR;
|
|
3295
3292
|
});
|
|
3296
|
-
})(
|
|
3293
|
+
})(Z0)), Z0.exports;
|
|
3297
3294
|
}
|
|
3298
|
-
var
|
|
3299
|
-
function
|
|
3300
|
-
return
|
|
3295
|
+
var Y0 = { exports: {} }, ox = Y0.exports, ce;
|
|
3296
|
+
function ix() {
|
|
3297
|
+
return ce || (ce = 1, (function(r, l) {
|
|
3301
3298
|
(function(t, e, c) {
|
|
3302
3299
|
r.exports = e(M(), X());
|
|
3303
|
-
})(
|
|
3300
|
+
})(ox, function(t) {
|
|
3304
3301
|
return t.mode.CTRGladman = (function() {
|
|
3305
3302
|
var e = t.lib.BlockCipherMode.extend();
|
|
3306
3303
|
function c(B) {
|
|
@@ -3327,14 +3324,14 @@ function ox() {
|
|
|
3327
3324
|
return e.Decryptor = y, e;
|
|
3328
3325
|
})(), t.mode.CTRGladman;
|
|
3329
3326
|
});
|
|
3330
|
-
})(
|
|
3327
|
+
})(Y0)), Y0.exports;
|
|
3331
3328
|
}
|
|
3332
|
-
var Q0 = { exports: {} },
|
|
3333
|
-
function
|
|
3334
|
-
return
|
|
3329
|
+
var Q0 = { exports: {} }, sx = Q0.exports, fe;
|
|
3330
|
+
function cx() {
|
|
3331
|
+
return fe || (fe = 1, (function(r, l) {
|
|
3335
3332
|
(function(t, e, c) {
|
|
3336
3333
|
r.exports = e(M(), X());
|
|
3337
|
-
})(
|
|
3334
|
+
})(sx, function(t) {
|
|
3338
3335
|
return t.mode.OFB = (function() {
|
|
3339
3336
|
var e = t.lib.BlockCipherMode.extend(), c = e.Encryptor = e.extend({
|
|
3340
3337
|
processBlock: function(v, y) {
|
|
@@ -3349,12 +3346,12 @@ function sx() {
|
|
|
3349
3346
|
});
|
|
3350
3347
|
})(Q0)), Q0.exports;
|
|
3351
3348
|
}
|
|
3352
|
-
var V0 = { exports: {} },
|
|
3353
|
-
function
|
|
3354
|
-
return
|
|
3349
|
+
var V0 = { exports: {} }, fx = V0.exports, ue;
|
|
3350
|
+
function ux() {
|
|
3351
|
+
return ue || (ue = 1, (function(r, l) {
|
|
3355
3352
|
(function(t, e, c) {
|
|
3356
3353
|
r.exports = e(M(), X());
|
|
3357
|
-
})(
|
|
3354
|
+
})(fx, function(t) {
|
|
3358
3355
|
return t.mode.ECB = (function() {
|
|
3359
3356
|
var e = t.lib.BlockCipherMode.extend();
|
|
3360
3357
|
return e.Encryptor = e.extend({
|
|
@@ -3370,12 +3367,12 @@ function fx() {
|
|
|
3370
3367
|
});
|
|
3371
3368
|
})(V0)), V0.exports;
|
|
3372
3369
|
}
|
|
3373
|
-
var J0 = { exports: {} },
|
|
3374
|
-
function
|
|
3375
|
-
return
|
|
3370
|
+
var J0 = { exports: {} }, dx = J0.exports, de;
|
|
3371
|
+
function lx() {
|
|
3372
|
+
return de || (de = 1, (function(r, l) {
|
|
3376
3373
|
(function(t, e, c) {
|
|
3377
3374
|
r.exports = e(M(), X());
|
|
3378
|
-
})(
|
|
3375
|
+
})(dx, function(t) {
|
|
3379
3376
|
return t.pad.AnsiX923 = {
|
|
3380
3377
|
pad: function(e, c) {
|
|
3381
3378
|
var v = e.sigBytes, y = c * 4, B = y - v % y, C = v + B - 1;
|
|
@@ -3389,12 +3386,12 @@ function dx() {
|
|
|
3389
3386
|
});
|
|
3390
3387
|
})(J0)), J0.exports;
|
|
3391
3388
|
}
|
|
3392
|
-
var rr = { exports: {} },
|
|
3393
|
-
function
|
|
3394
|
-
return
|
|
3389
|
+
var rr = { exports: {} }, hx = rr.exports, le;
|
|
3390
|
+
function vx() {
|
|
3391
|
+
return le || (le = 1, (function(r, l) {
|
|
3395
3392
|
(function(t, e, c) {
|
|
3396
3393
|
r.exports = e(M(), X());
|
|
3397
|
-
})(
|
|
3394
|
+
})(hx, function(t) {
|
|
3398
3395
|
return t.pad.Iso10126 = {
|
|
3399
3396
|
pad: function(e, c) {
|
|
3400
3397
|
var v = c * 4, y = v - e.sigBytes % v;
|
|
@@ -3408,12 +3405,12 @@ function hx() {
|
|
|
3408
3405
|
});
|
|
3409
3406
|
})(rr)), rr.exports;
|
|
3410
3407
|
}
|
|
3411
|
-
var er = { exports: {} },
|
|
3412
|
-
function
|
|
3413
|
-
return
|
|
3408
|
+
var er = { exports: {} }, px = er.exports, he;
|
|
3409
|
+
function Bx() {
|
|
3410
|
+
return he || (he = 1, (function(r, l) {
|
|
3414
3411
|
(function(t, e, c) {
|
|
3415
3412
|
r.exports = e(M(), X());
|
|
3416
|
-
})(
|
|
3413
|
+
})(px, function(t) {
|
|
3417
3414
|
return t.pad.Iso97971 = {
|
|
3418
3415
|
pad: function(e, c) {
|
|
3419
3416
|
e.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(e, c);
|
|
@@ -3425,12 +3422,12 @@ function px() {
|
|
|
3425
3422
|
});
|
|
3426
3423
|
})(er)), er.exports;
|
|
3427
3424
|
}
|
|
3428
|
-
var tr = { exports: {} },
|
|
3429
|
-
function
|
|
3430
|
-
return
|
|
3425
|
+
var tr = { exports: {} }, Cx = tr.exports, ve;
|
|
3426
|
+
function Ex() {
|
|
3427
|
+
return ve || (ve = 1, (function(r, l) {
|
|
3431
3428
|
(function(t, e, c) {
|
|
3432
3429
|
r.exports = e(M(), X());
|
|
3433
|
-
})(
|
|
3430
|
+
})(Cx, function(t) {
|
|
3434
3431
|
return t.pad.ZeroPadding = {
|
|
3435
3432
|
pad: function(e, c) {
|
|
3436
3433
|
var v = c * 4;
|
|
@@ -3447,12 +3444,12 @@ function Cx() {
|
|
|
3447
3444
|
});
|
|
3448
3445
|
})(tr)), tr.exports;
|
|
3449
3446
|
}
|
|
3450
|
-
var xr = { exports: {} },
|
|
3451
|
-
function
|
|
3452
|
-
return
|
|
3447
|
+
var xr = { exports: {} }, Ax = xr.exports, pe;
|
|
3448
|
+
function Fx() {
|
|
3449
|
+
return pe || (pe = 1, (function(r, l) {
|
|
3453
3450
|
(function(t, e, c) {
|
|
3454
3451
|
r.exports = e(M(), X());
|
|
3455
|
-
})(
|
|
3452
|
+
})(Ax, function(t) {
|
|
3456
3453
|
return t.pad.NoPadding = {
|
|
3457
3454
|
pad: function() {
|
|
3458
3455
|
},
|
|
@@ -3462,12 +3459,12 @@ function Ax() {
|
|
|
3462
3459
|
});
|
|
3463
3460
|
})(xr)), xr.exports;
|
|
3464
3461
|
}
|
|
3465
|
-
var nr = { exports: {} },
|
|
3466
|
-
function
|
|
3467
|
-
return
|
|
3462
|
+
var nr = { exports: {} }, gx = nr.exports, Be;
|
|
3463
|
+
function Dx() {
|
|
3464
|
+
return Be || (Be = 1, (function(r, l) {
|
|
3468
3465
|
(function(t, e, c) {
|
|
3469
3466
|
r.exports = e(M(), X());
|
|
3470
|
-
})(
|
|
3467
|
+
})(gx, function(t) {
|
|
3471
3468
|
return (function(e) {
|
|
3472
3469
|
var c = t, v = c.lib, y = v.CipherParams, B = c.enc, C = B.Hex, x = c.format;
|
|
3473
3470
|
x.Hex = {
|
|
@@ -3509,18 +3506,18 @@ function gx() {
|
|
|
3509
3506
|
});
|
|
3510
3507
|
})(nr)), nr.exports;
|
|
3511
3508
|
}
|
|
3512
|
-
var ar = { exports: {} },
|
|
3513
|
-
function
|
|
3514
|
-
return
|
|
3509
|
+
var ar = { exports: {} }, bx = ar.exports, Ce;
|
|
3510
|
+
function mx() {
|
|
3511
|
+
return Ce || (Ce = 1, (function(r, l) {
|
|
3515
3512
|
(function(t, e, c) {
|
|
3516
3513
|
r.exports = e(M(), c0(), f0(), o0(), X());
|
|
3517
|
-
})(
|
|
3514
|
+
})(bx, function(t) {
|
|
3518
3515
|
return (function() {
|
|
3519
3516
|
var e = t, c = e.lib, v = c.BlockCipher, y = e.algo, B = [], C = [], x = [], n = [], E = [], a = [], s = [], u = [], p = [], h = [];
|
|
3520
3517
|
(function() {
|
|
3521
|
-
for (var o = [],
|
|
3522
|
-
|
|
3523
|
-
for (var b = 0, g = 0,
|
|
3518
|
+
for (var o = [], d = 0; d < 256; d++)
|
|
3519
|
+
d < 128 ? o[d] = d << 1 : o[d] = d << 1 ^ 283;
|
|
3520
|
+
for (var b = 0, g = 0, d = 0; d < 256; d++) {
|
|
3524
3521
|
var _ = g ^ g << 1 ^ g << 2 ^ g << 3 ^ g << 4;
|
|
3525
3522
|
_ = _ >>> 8 ^ _ & 255 ^ 99, B[b] = _, C[_] = b;
|
|
3526
3523
|
var k = o[b], $ = o[k], F = o[$], w = o[_] * 257 ^ _ * 16843008;
|
|
@@ -3533,7 +3530,7 @@ function bx() {
|
|
|
3533
3530
|
_doReset: function() {
|
|
3534
3531
|
var o;
|
|
3535
3532
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
3536
|
-
for (var
|
|
3533
|
+
for (var d = this._keyPriorReset = this._key, b = d.words, g = d.sigBytes / 4, _ = this._nRounds = g + 6, k = (_ + 1) * 4, $ = this._keySchedule = [], F = 0; F < k; F++)
|
|
3537
3534
|
F < g ? $[F] = b[F] : (o = $[F - 1], F % g ? g > 6 && F % g == 4 && (o = B[o >>> 24] << 24 | B[o >>> 16 & 255] << 16 | B[o >>> 8 & 255] << 8 | B[o & 255]) : (o = o << 8 | o >>> 24, o = B[o >>> 24] << 24 | B[o >>> 16 & 255] << 16 | B[o >>> 8 & 255] << 8 | B[o & 255], o ^= D[F / g | 0] << 24), $[F] = $[F - g] ^ o);
|
|
3538
3535
|
for (var w = this._invKeySchedule = [], H = 0; H < k; H++) {
|
|
3539
3536
|
var F = k - H;
|
|
@@ -3545,22 +3542,22 @@ function bx() {
|
|
|
3545
3542
|
}
|
|
3546
3543
|
}
|
|
3547
3544
|
},
|
|
3548
|
-
encryptBlock: function(o,
|
|
3549
|
-
this._doCryptBlock(o,
|
|
3545
|
+
encryptBlock: function(o, d) {
|
|
3546
|
+
this._doCryptBlock(o, d, this._keySchedule, x, n, E, a, B);
|
|
3550
3547
|
},
|
|
3551
|
-
decryptBlock: function(o,
|
|
3552
|
-
var b = o[
|
|
3553
|
-
o[
|
|
3554
|
-
var b = o[
|
|
3555
|
-
o[
|
|
3548
|
+
decryptBlock: function(o, d) {
|
|
3549
|
+
var b = o[d + 1];
|
|
3550
|
+
o[d + 1] = o[d + 3], o[d + 3] = b, this._doCryptBlock(o, d, this._invKeySchedule, s, u, p, h, C);
|
|
3551
|
+
var b = o[d + 1];
|
|
3552
|
+
o[d + 1] = o[d + 3], o[d + 3] = b;
|
|
3556
3553
|
},
|
|
3557
|
-
_doCryptBlock: function(o,
|
|
3558
|
-
for (var w = this._nRounds, H = o[
|
|
3554
|
+
_doCryptBlock: function(o, d, b, g, _, k, $, F) {
|
|
3555
|
+
for (var w = this._nRounds, H = o[d] ^ b[0], R = o[d + 1] ^ b[1], z = o[d + 2] ^ b[2], O = o[d + 3] ^ b[3], q = 4, U = 1; U < w; U++) {
|
|
3559
3556
|
var T = g[H >>> 24] ^ _[R >>> 16 & 255] ^ k[z >>> 8 & 255] ^ $[O & 255] ^ b[q++], N = g[R >>> 24] ^ _[z >>> 16 & 255] ^ k[O >>> 8 & 255] ^ $[H & 255] ^ b[q++], j = g[z >>> 24] ^ _[O >>> 16 & 255] ^ k[H >>> 8 & 255] ^ $[R & 255] ^ b[q++], S = g[O >>> 24] ^ _[H >>> 16 & 255] ^ k[R >>> 8 & 255] ^ $[z & 255] ^ b[q++];
|
|
3560
3557
|
H = T, R = N, z = j, O = S;
|
|
3561
3558
|
}
|
|
3562
3559
|
var T = (F[H >>> 24] << 24 | F[R >>> 16 & 255] << 16 | F[z >>> 8 & 255] << 8 | F[O & 255]) ^ b[q++], N = (F[R >>> 24] << 24 | F[z >>> 16 & 255] << 16 | F[O >>> 8 & 255] << 8 | F[H & 255]) ^ b[q++], j = (F[z >>> 24] << 24 | F[O >>> 16 & 255] << 16 | F[H >>> 8 & 255] << 8 | F[R & 255]) ^ b[q++], S = (F[O >>> 24] << 24 | F[H >>> 16 & 255] << 16 | F[R >>> 8 & 255] << 8 | F[z & 255]) ^ b[q++];
|
|
3563
|
-
o[
|
|
3560
|
+
o[d] = T, o[d + 1] = N, o[d + 2] = j, o[d + 3] = S;
|
|
3564
3561
|
},
|
|
3565
3562
|
keySize: 256 / 32
|
|
3566
3563
|
});
|
|
@@ -3569,12 +3566,12 @@ function bx() {
|
|
|
3569
3566
|
});
|
|
3570
3567
|
})(ar)), ar.exports;
|
|
3571
3568
|
}
|
|
3572
|
-
var or = { exports: {} },
|
|
3573
|
-
function
|
|
3574
|
-
return
|
|
3569
|
+
var or = { exports: {} }, _x = or.exports, Ee;
|
|
3570
|
+
function yx() {
|
|
3571
|
+
return Ee || (Ee = 1, (function(r, l) {
|
|
3575
3572
|
(function(t, e, c) {
|
|
3576
3573
|
r.exports = e(M(), c0(), f0(), o0(), X());
|
|
3577
|
-
})(
|
|
3574
|
+
})(_x, function(t) {
|
|
3578
3575
|
return (function() {
|
|
3579
3576
|
var e = t, c = e.lib, v = c.WordArray, y = c.BlockCipher, B = e.algo, C = [
|
|
3580
3577
|
57,
|
|
@@ -4222,20 +4219,20 @@ function _x() {
|
|
|
4222
4219
|
2147483679
|
|
4223
4220
|
], s = B.DES = y.extend({
|
|
4224
4221
|
_doReset: function() {
|
|
4225
|
-
for (var D = this._key, i = D.words, o = [],
|
|
4226
|
-
var b = C[
|
|
4227
|
-
o[
|
|
4222
|
+
for (var D = this._key, i = D.words, o = [], d = 0; d < 56; d++) {
|
|
4223
|
+
var b = C[d] - 1;
|
|
4224
|
+
o[d] = i[b >>> 5] >>> 31 - b % 32 & 1;
|
|
4228
4225
|
}
|
|
4229
4226
|
for (var g = this._subKeys = [], _ = 0; _ < 16; _++) {
|
|
4230
|
-
for (var k = g[_] = [], $ = n[_],
|
|
4231
|
-
k[
|
|
4227
|
+
for (var k = g[_] = [], $ = n[_], d = 0; d < 24; d++)
|
|
4228
|
+
k[d / 6 | 0] |= o[(x[d] - 1 + $) % 28] << 31 - d % 6, k[4 + (d / 6 | 0)] |= o[28 + (x[d + 24] - 1 + $) % 28] << 31 - d % 6;
|
|
4232
4229
|
k[0] = k[0] << 1 | k[0] >>> 31;
|
|
4233
|
-
for (var
|
|
4234
|
-
k[
|
|
4230
|
+
for (var d = 1; d < 7; d++)
|
|
4231
|
+
k[d] = k[d] >>> (d - 1) * 4 + 3;
|
|
4235
4232
|
k[7] = k[7] << 5 | k[7] >>> 27;
|
|
4236
4233
|
}
|
|
4237
|
-
for (var F = this._invSubKeys = [],
|
|
4238
|
-
F[
|
|
4234
|
+
for (var F = this._invSubKeys = [], d = 0; d < 16; d++)
|
|
4235
|
+
F[d] = g[15 - d];
|
|
4239
4236
|
},
|
|
4240
4237
|
encryptBlock: function(D, i) {
|
|
4241
4238
|
this._doCryptBlock(D, i, this._subKeys);
|
|
@@ -4245,8 +4242,8 @@ function _x() {
|
|
|
4245
4242
|
},
|
|
4246
4243
|
_doCryptBlock: function(D, i, o) {
|
|
4247
4244
|
this._lBlock = D[i], this._rBlock = D[i + 1], u.call(this, 4, 252645135), u.call(this, 16, 65535), p.call(this, 2, 858993459), p.call(this, 8, 16711935), u.call(this, 1, 1431655765);
|
|
4248
|
-
for (var
|
|
4249
|
-
for (var b = o[
|
|
4245
|
+
for (var d = 0; d < 16; d++) {
|
|
4246
|
+
for (var b = o[d], g = this._lBlock, _ = this._rBlock, k = 0, $ = 0; $ < 8; $++)
|
|
4250
4247
|
k |= E[$][((_ ^ b[$]) & a[$]) >>> 0];
|
|
4251
4248
|
this._lBlock = _, this._rBlock = g ^ k;
|
|
4252
4249
|
}
|
|
@@ -4271,8 +4268,8 @@ function _x() {
|
|
|
4271
4268
|
var D = this._key, i = D.words;
|
|
4272
4269
|
if (i.length !== 2 && i.length !== 4 && i.length < 6)
|
|
4273
4270
|
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
4274
|
-
var o = i.slice(0, 2),
|
|
4275
|
-
this._des1 = s.createEncryptor(v.create(o)), this._des2 = s.createEncryptor(v.create(
|
|
4271
|
+
var o = i.slice(0, 2), d = i.length < 4 ? i.slice(0, 2) : i.slice(2, 4), b = i.length < 6 ? i.slice(0, 2) : i.slice(4, 6);
|
|
4272
|
+
this._des1 = s.createEncryptor(v.create(o)), this._des2 = s.createEncryptor(v.create(d)), this._des3 = s.createEncryptor(v.create(b));
|
|
4276
4273
|
},
|
|
4277
4274
|
encryptBlock: function(D, i) {
|
|
4278
4275
|
this._des1.encryptBlock(D, i), this._des2.decryptBlock(D, i), this._des3.encryptBlock(D, i);
|
|
@@ -4289,12 +4286,12 @@ function _x() {
|
|
|
4289
4286
|
});
|
|
4290
4287
|
})(or)), or.exports;
|
|
4291
4288
|
}
|
|
4292
|
-
var ir = { exports: {} },
|
|
4293
|
-
function
|
|
4294
|
-
return
|
|
4289
|
+
var ir = { exports: {} }, wx = ir.exports, Ae;
|
|
4290
|
+
function kx() {
|
|
4291
|
+
return Ae || (Ae = 1, (function(r, l) {
|
|
4295
4292
|
(function(t, e, c) {
|
|
4296
4293
|
r.exports = e(M(), c0(), f0(), o0(), X());
|
|
4297
|
-
})(
|
|
4294
|
+
})(wx, function(t) {
|
|
4298
4295
|
return (function() {
|
|
4299
4296
|
var e = t, c = e.lib, v = c.StreamCipher, y = e.algo, B = y.RC4 = v.extend({
|
|
4300
4297
|
_doReset: function() {
|
|
@@ -4343,12 +4340,12 @@ function wx() {
|
|
|
4343
4340
|
});
|
|
4344
4341
|
})(ir)), ir.exports;
|
|
4345
4342
|
}
|
|
4346
|
-
var sr = { exports: {} },
|
|
4347
|
-
function
|
|
4348
|
-
return
|
|
4343
|
+
var sr = { exports: {} }, Sx = sr.exports, Fe;
|
|
4344
|
+
function Hx() {
|
|
4345
|
+
return Fe || (Fe = 1, (function(r, l) {
|
|
4349
4346
|
(function(t, e, c) {
|
|
4350
4347
|
r.exports = e(M(), c0(), f0(), o0(), X());
|
|
4351
|
-
})(
|
|
4348
|
+
})(Sx, function(t) {
|
|
4352
4349
|
return (function() {
|
|
4353
4350
|
var e = t, c = e.lib, v = c.StreamCipher, y = e.algo, B = [], C = [], x = [], n = y.Rabbit = v.extend({
|
|
4354
4351
|
_doReset: function() {
|
|
@@ -4379,8 +4376,8 @@ function Sx() {
|
|
|
4379
4376
|
for (var u = 0; u < 8; u++)
|
|
4380
4377
|
h[u] ^= p[u + 4 & 7];
|
|
4381
4378
|
if (s) {
|
|
4382
|
-
var D = s.words, i = D[0], o = D[1],
|
|
4383
|
-
h[0] ^=
|
|
4379
|
+
var D = s.words, i = D[0], o = D[1], d = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, b = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, g = d >>> 16 | b & 4294901760, _ = b << 16 | d & 65535;
|
|
4380
|
+
h[0] ^= d, h[1] ^= g, h[2] ^= b, h[3] ^= _, h[4] ^= d, h[5] ^= g, h[6] ^= b, h[7] ^= _;
|
|
4384
4381
|
for (var u = 0; u < 4; u++)
|
|
4385
4382
|
E.call(this);
|
|
4386
4383
|
}
|
|
@@ -4409,12 +4406,12 @@ function Sx() {
|
|
|
4409
4406
|
});
|
|
4410
4407
|
})(sr)), sr.exports;
|
|
4411
4408
|
}
|
|
4412
|
-
var cr = { exports: {} },
|
|
4413
|
-
function
|
|
4414
|
-
return
|
|
4409
|
+
var cr = { exports: {} }, Rx = cr.exports, ge;
|
|
4410
|
+
function $x() {
|
|
4411
|
+
return ge || (ge = 1, (function(r, l) {
|
|
4415
4412
|
(function(t, e, c) {
|
|
4416
4413
|
r.exports = e(M(), c0(), f0(), o0(), X());
|
|
4417
|
-
})(
|
|
4414
|
+
})(Rx, function(t) {
|
|
4418
4415
|
return (function() {
|
|
4419
4416
|
var e = t, c = e.lib, v = c.StreamCipher, y = e.algo, B = [], C = [], x = [], n = y.RabbitLegacy = v.extend({
|
|
4420
4417
|
_doReset: function() {
|
|
@@ -4443,8 +4440,8 @@ function Rx() {
|
|
|
4443
4440
|
for (var h = 0; h < 8; h++)
|
|
4444
4441
|
p[h] ^= u[h + 4 & 7];
|
|
4445
4442
|
if (s) {
|
|
4446
|
-
var D = s.words, i = D[0], o = D[1],
|
|
4447
|
-
p[0] ^=
|
|
4443
|
+
var D = s.words, i = D[0], o = D[1], d = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, b = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, g = d >>> 16 | b & 4294901760, _ = b << 16 | d & 65535;
|
|
4444
|
+
p[0] ^= d, p[1] ^= g, p[2] ^= b, p[3] ^= _, p[4] ^= d, p[5] ^= g, p[6] ^= b, p[7] ^= _;
|
|
4448
4445
|
for (var h = 0; h < 4; h++)
|
|
4449
4446
|
E.call(this);
|
|
4450
4447
|
}
|
|
@@ -4473,12 +4470,12 @@ function Rx() {
|
|
|
4473
4470
|
});
|
|
4474
4471
|
})(cr)), cr.exports;
|
|
4475
4472
|
}
|
|
4476
|
-
var fr = { exports: {} },
|
|
4477
|
-
function
|
|
4478
|
-
return
|
|
4473
|
+
var fr = { exports: {} }, Px = fr.exports, De;
|
|
4474
|
+
function zx() {
|
|
4475
|
+
return De || (De = 1, (function(r, l) {
|
|
4479
4476
|
(function(t, e, c) {
|
|
4480
4477
|
r.exports = e(M(), c0(), f0(), o0(), X());
|
|
4481
|
-
})(
|
|
4478
|
+
})(Px, function(t) {
|
|
4482
4479
|
return (function() {
|
|
4483
4480
|
var e = t, c = e.lib, v = c.BlockCipher, y = e.algo;
|
|
4484
4481
|
const B = 16, C = [
|
|
@@ -5539,20 +5536,20 @@ function Px() {
|
|
|
5539
5536
|
sbox: []
|
|
5540
5537
|
};
|
|
5541
5538
|
function E(h, D) {
|
|
5542
|
-
let i = D >> 24 & 255, o = D >> 16 & 255,
|
|
5543
|
-
return g = g ^ h.sbox[2][
|
|
5539
|
+
let i = D >> 24 & 255, o = D >> 16 & 255, d = D >> 8 & 255, b = D & 255, g = h.sbox[0][i] + h.sbox[1][o];
|
|
5540
|
+
return g = g ^ h.sbox[2][d], g = g + h.sbox[3][b], g;
|
|
5544
5541
|
}
|
|
5545
5542
|
function a(h, D, i) {
|
|
5546
|
-
let o = D,
|
|
5543
|
+
let o = D, d = i, b;
|
|
5547
5544
|
for (let g = 0; g < B; ++g)
|
|
5548
|
-
o = o ^ h.pbox[g],
|
|
5549
|
-
return b = o, o =
|
|
5545
|
+
o = o ^ h.pbox[g], d = E(h, o) ^ d, b = o, o = d, d = b;
|
|
5546
|
+
return b = o, o = d, d = b, d = d ^ h.pbox[B], o = o ^ h.pbox[B + 1], { left: o, right: d };
|
|
5550
5547
|
}
|
|
5551
5548
|
function s(h, D, i) {
|
|
5552
|
-
let o = D,
|
|
5549
|
+
let o = D, d = i, b;
|
|
5553
5550
|
for (let g = B + 1; g > 1; --g)
|
|
5554
|
-
o = o ^ h.pbox[g],
|
|
5555
|
-
return b = o, o =
|
|
5551
|
+
o = o ^ h.pbox[g], d = E(h, o) ^ d, b = o, o = d, d = b;
|
|
5552
|
+
return b = o, o = d, d = b, d = d ^ h.pbox[1], o = o ^ h.pbox[0], { left: o, right: d };
|
|
5556
5553
|
}
|
|
5557
5554
|
function u(h, D, i) {
|
|
5558
5555
|
for (let _ = 0; _ < 4; _++) {
|
|
@@ -5563,12 +5560,12 @@ function Px() {
|
|
|
5563
5560
|
let o = 0;
|
|
5564
5561
|
for (let _ = 0; _ < B + 2; _++)
|
|
5565
5562
|
h.pbox[_] = C[_] ^ D[o], o++, o >= i && (o = 0);
|
|
5566
|
-
let
|
|
5563
|
+
let d = 0, b = 0, g = 0;
|
|
5567
5564
|
for (let _ = 0; _ < B + 2; _ += 2)
|
|
5568
|
-
g = a(h,
|
|
5565
|
+
g = a(h, d, b), d = g.left, b = g.right, h.pbox[_] = d, h.pbox[_ + 1] = b;
|
|
5569
5566
|
for (let _ = 0; _ < 4; _++)
|
|
5570
5567
|
for (let k = 0; k < 256; k += 2)
|
|
5571
|
-
g = a(h,
|
|
5568
|
+
g = a(h, d, b), d = g.left, b = g.right, h.sbox[_][k] = d, h.sbox[_][k + 1] = b;
|
|
5572
5569
|
return !0;
|
|
5573
5570
|
}
|
|
5574
5571
|
var p = y.Blowfish = v.extend({
|
|
@@ -5595,55 +5592,55 @@ function Px() {
|
|
|
5595
5592
|
});
|
|
5596
5593
|
})(fr)), fr.exports;
|
|
5597
5594
|
}
|
|
5598
|
-
var
|
|
5599
|
-
function
|
|
5600
|
-
return
|
|
5595
|
+
var Wx = k0.exports, be;
|
|
5596
|
+
function Ix() {
|
|
5597
|
+
return be || (be = 1, (function(r, l) {
|
|
5601
5598
|
(function(t, e, c) {
|
|
5602
|
-
r.exports = e(M(),
|
|
5603
|
-
})(
|
|
5599
|
+
r.exports = e(M(), vr(), $t(), zt(), c0(), Lt(), f0(), Pe(), mr(), Nt(), ze(), Gt(), Xt(), Yt(), _r(), Jt(), o0(), X(), xx(), ax(), ix(), cx(), ux(), lx(), vx(), Bx(), Ex(), Fx(), Dx(), mx(), yx(), kx(), Hx(), $x(), zx());
|
|
5600
|
+
})(Wx, function(t) {
|
|
5604
5601
|
return t;
|
|
5605
5602
|
});
|
|
5606
5603
|
})(k0)), k0.exports;
|
|
5607
5604
|
}
|
|
5608
|
-
|
|
5609
|
-
let
|
|
5605
|
+
Ix();
|
|
5606
|
+
let We = null, Ie = null, Le = null, Oe = null;
|
|
5610
5607
|
Math.random().toString(36).substring(7);
|
|
5611
|
-
function
|
|
5612
|
-
|
|
5608
|
+
function Lx(r) {
|
|
5609
|
+
We = r.token, Ie = r.apiUrl, Le = r.deviceId, Oe = r.domain;
|
|
5613
5610
|
}
|
|
5614
|
-
function
|
|
5611
|
+
function Ox() {
|
|
5615
5612
|
return {
|
|
5616
|
-
token:
|
|
5617
|
-
apiUrl:
|
|
5618
|
-
deviceId:
|
|
5619
|
-
domain:
|
|
5613
|
+
token: We,
|
|
5614
|
+
apiUrl: Ie,
|
|
5615
|
+
deviceId: Le,
|
|
5616
|
+
domain: Oe
|
|
5620
5617
|
};
|
|
5621
5618
|
}
|
|
5622
|
-
function
|
|
5623
|
-
return `/sdk-workers/${(r.split("/").pop() || r).replace(/\.ts$/, ".js")}?v=1.1.
|
|
5619
|
+
function qx(r) {
|
|
5620
|
+
return `/sdk-workers/${(r.split("/").pop() || r).replace(/\.ts$/, ".js")}?v=1.1.167`;
|
|
5624
5621
|
}
|
|
5625
|
-
function
|
|
5626
|
-
const t =
|
|
5627
|
-
return new Worker(t, { type: "module", ...
|
|
5622
|
+
function Tx(r, l) {
|
|
5623
|
+
const t = qx(r);
|
|
5624
|
+
return new Worker(t, { type: "module", ...l });
|
|
5628
5625
|
}
|
|
5629
|
-
const
|
|
5626
|
+
const yr = () => {
|
|
5630
5627
|
try {
|
|
5631
5628
|
if (globalThis.__DEBUG_RENDER__ === !0 || typeof localStorage < "u" && localStorage.getItem("DEBUG_RENDER") === "1") return !0;
|
|
5632
5629
|
} catch {
|
|
5633
5630
|
}
|
|
5634
5631
|
return !1;
|
|
5635
5632
|
}, _0 = (...r) => {
|
|
5636
|
-
|
|
5637
|
-
},
|
|
5638
|
-
|
|
5639
|
-
},
|
|
5640
|
-
let
|
|
5641
|
-
function
|
|
5642
|
-
const
|
|
5643
|
-
if (
|
|
5644
|
-
const t =
|
|
5633
|
+
yr();
|
|
5634
|
+
}, me = (...r) => {
|
|
5635
|
+
yr();
|
|
5636
|
+
}, _e = /* @__PURE__ */ new Map(), gr = /* @__PURE__ */ new Map();
|
|
5637
|
+
let Mx = 0;
|
|
5638
|
+
function Nx(r) {
|
|
5639
|
+
const l = _e.get(r);
|
|
5640
|
+
if (l) return l;
|
|
5641
|
+
const t = Tx("./deform.worker.ts");
|
|
5645
5642
|
try {
|
|
5646
|
-
t.postMessage({ type: "SET_DEBUG", debugRender:
|
|
5643
|
+
t.postMessage({ type: "SET_DEBUG", debugRender: yr() });
|
|
5647
5644
|
} catch {
|
|
5648
5645
|
}
|
|
5649
5646
|
t.onmessage = (c) => {
|
|
@@ -5654,9 +5651,9 @@ function Mx(r) {
|
|
|
5654
5651
|
height: y?.height,
|
|
5655
5652
|
error: B
|
|
5656
5653
|
});
|
|
5657
|
-
const n =
|
|
5654
|
+
const n = gr.get(v);
|
|
5658
5655
|
if (n) {
|
|
5659
|
-
if (
|
|
5656
|
+
if (gr.delete(v), B) {
|
|
5660
5657
|
n.reject(new Error(B));
|
|
5661
5658
|
return;
|
|
5662
5659
|
}
|
|
@@ -5665,7 +5662,7 @@ function Mx(r) {
|
|
|
5665
5662
|
}, t.onerror = (c) => {
|
|
5666
5663
|
};
|
|
5667
5664
|
const e = () => {
|
|
5668
|
-
const c =
|
|
5665
|
+
const c = Ox();
|
|
5669
5666
|
return _0("🔍 [workerManager] 检查 License Token:", {
|
|
5670
5667
|
hasToken: !!c.token,
|
|
5671
5668
|
tokenPreview: c.token ? c.token.substring(0, 20) + "..." : "undefined",
|
|
@@ -5680,21 +5677,21 @@ function Mx(r) {
|
|
|
5680
5677
|
}), !0) : !1;
|
|
5681
5678
|
};
|
|
5682
5679
|
return e() || (_0("⏳ [workerManager] License Token 未设置,等待后重试...", { faceId: r }), setTimeout(() => {
|
|
5683
|
-
e() ||
|
|
5680
|
+
e() || me("⚠️ [workerManager] 等待后 License Token 仍未设置", { faceId: r });
|
|
5684
5681
|
}, 200), setTimeout(() => {
|
|
5685
|
-
e() ||
|
|
5686
|
-
}, 500)),
|
|
5682
|
+
e() || me("⚠️ [workerManager] 第二次等待后 License Token 仍未设置", { faceId: r });
|
|
5683
|
+
}, 500)), _e.set(r, t), t;
|
|
5687
5684
|
}
|
|
5688
|
-
function
|
|
5685
|
+
function Ux(r) {
|
|
5689
5686
|
return {
|
|
5690
5687
|
name: r.name,
|
|
5691
5688
|
type: r.type,
|
|
5692
5689
|
blendMode: r.blendMode,
|
|
5693
5690
|
transform: Array.isArray(r.transform) ? [...r.transform] : [],
|
|
5694
|
-
meshPoints: Array.isArray(r.meshPoints) ? r.meshPoints.map((
|
|
5695
|
-
x:
|
|
5696
|
-
y:
|
|
5697
|
-
type:
|
|
5691
|
+
meshPoints: Array.isArray(r.meshPoints) ? r.meshPoints.map((l) => ({
|
|
5692
|
+
x: l.x,
|
|
5693
|
+
y: l.y,
|
|
5694
|
+
type: l.type
|
|
5698
5695
|
})) : [],
|
|
5699
5696
|
bounds: r.bounds ? {
|
|
5700
5697
|
width: r.bounds.width,
|
|
@@ -5717,30 +5714,30 @@ function Nx(r) {
|
|
|
5717
5714
|
layerOrder: r.layerOrder,
|
|
5718
5715
|
imagePath: r.imagePath,
|
|
5719
5716
|
vectorMask: r.vectorMask ? {
|
|
5720
|
-
paths: r.vectorMask.paths?.map((
|
|
5721
|
-
open:
|
|
5722
|
-
knots:
|
|
5717
|
+
paths: r.vectorMask.paths?.map((l) => ({
|
|
5718
|
+
open: l.open,
|
|
5719
|
+
knots: l.knots?.map((t) => ({
|
|
5723
5720
|
linked: t.linked,
|
|
5724
5721
|
points: [...t.points]
|
|
5725
5722
|
})),
|
|
5726
|
-
fillRule:
|
|
5727
|
-
operation:
|
|
5723
|
+
fillRule: l.fillRule,
|
|
5724
|
+
operation: l.operation
|
|
5728
5725
|
})),
|
|
5729
|
-
points: r.vectorMask.points?.map((
|
|
5730
|
-
x:
|
|
5731
|
-
y:
|
|
5732
|
-
type:
|
|
5726
|
+
points: r.vectorMask.points?.map((l) => ({
|
|
5727
|
+
x: l.x,
|
|
5728
|
+
y: l.y,
|
|
5729
|
+
type: l.type
|
|
5733
5730
|
})),
|
|
5734
5731
|
invert: r.vectorMask.invert,
|
|
5735
5732
|
notLink: r.vectorMask.notLink,
|
|
5736
5733
|
disable: r.vectorMask.disable,
|
|
5737
5734
|
fillStartsWithAllPixels: r.vectorMask.fillStartsWithAllPixels
|
|
5738
5735
|
} : void 0,
|
|
5739
|
-
filterList: r.filterList ? r.filterList.map((
|
|
5740
|
-
type:
|
|
5741
|
-
enabled:
|
|
5742
|
-
filter:
|
|
5743
|
-
puppetShapeList:
|
|
5736
|
+
filterList: r.filterList ? r.filterList.map((l) => ({
|
|
5737
|
+
type: l.type,
|
|
5738
|
+
enabled: l.enabled,
|
|
5739
|
+
filter: l.filter ? {
|
|
5740
|
+
puppetShapeList: l.filter.puppetShapeList?.map((t) => ({
|
|
5744
5741
|
originalVertexArray: t.originalVertexArray.map((e) => ({
|
|
5745
5742
|
x: e.x,
|
|
5746
5743
|
y: e.y
|
|
@@ -5757,47 +5754,47 @@ function Nx(r) {
|
|
|
5757
5754
|
clipping: r.clipping
|
|
5758
5755
|
};
|
|
5759
5756
|
}
|
|
5760
|
-
function
|
|
5761
|
-
const c = ++
|
|
5757
|
+
function jx(r, l, t, e) {
|
|
5758
|
+
const c = ++Mx, v = Nx(t);
|
|
5762
5759
|
return performance.now(), (/* @__PURE__ */ new Date()).toISOString(), new Promise((y, B) => {
|
|
5763
|
-
|
|
5760
|
+
gr.set(c, {
|
|
5764
5761
|
resolve: (x) => {
|
|
5765
5762
|
performance.now(), (/* @__PURE__ */ new Date()).toISOString(), y(x);
|
|
5766
5763
|
},
|
|
5767
5764
|
reject: B
|
|
5768
5765
|
});
|
|
5769
|
-
const C =
|
|
5766
|
+
const C = Ux(l);
|
|
5770
5767
|
v.postMessage({ id: c, designBitmap: r, layerData: C, canvasSize: e }, [
|
|
5771
5768
|
r
|
|
5772
5769
|
]);
|
|
5773
5770
|
});
|
|
5774
5771
|
}
|
|
5775
|
-
async function
|
|
5776
|
-
const y = await
|
|
5772
|
+
async function Gx(r, l, t = 0, e, c, v) {
|
|
5773
|
+
const y = await Dt(r, c, v);
|
|
5777
5774
|
if (!y || y.width === 0 || y.height === 0)
|
|
5778
5775
|
throw new Error("图片无效:尺寸为 0");
|
|
5779
|
-
return await
|
|
5776
|
+
return await jx(y, l, t, e);
|
|
5780
5777
|
}
|
|
5781
|
-
function h0(r,
|
|
5778
|
+
function h0(r, l) {
|
|
5782
5779
|
if (typeof OffscreenCanvas < "u" && typeof document > "u")
|
|
5783
|
-
return new OffscreenCanvas(r,
|
|
5780
|
+
return new OffscreenCanvas(r, l);
|
|
5784
5781
|
if (typeof document < "u") {
|
|
5785
5782
|
const t = document.createElement("canvas");
|
|
5786
|
-
return t.width = r, t.height =
|
|
5783
|
+
return t.width = r, t.height = l, t;
|
|
5787
5784
|
} else
|
|
5788
5785
|
throw new Error("无法创建 canvas:不在 Worker 或主线程环境中");
|
|
5789
5786
|
}
|
|
5790
5787
|
function g0(r) {
|
|
5791
5788
|
return r.getContext("2d");
|
|
5792
5789
|
}
|
|
5793
|
-
function
|
|
5794
|
-
const
|
|
5795
|
-
if (!
|
|
5790
|
+
function ye(r) {
|
|
5791
|
+
const l = g0(r);
|
|
5792
|
+
if (!l)
|
|
5796
5793
|
throw new Error("无法创建 canvas context");
|
|
5797
|
-
return
|
|
5794
|
+
return l;
|
|
5798
5795
|
}
|
|
5799
|
-
async function
|
|
5800
|
-
const
|
|
5796
|
+
async function Kx(r) {
|
|
5797
|
+
const l = performance.now(), t = () => {
|
|
5801
5798
|
try {
|
|
5802
5799
|
if (globalThis.__DEBUG_RENDER__ === !0 || typeof localStorage < "u" && localStorage.getItem("DEBUG_RENDER") === "1") return !0;
|
|
5803
5800
|
} catch {
|
|
@@ -5928,7 +5925,7 @@ async function Gx(r) {
|
|
|
5928
5925
|
if (v.layerList)
|
|
5929
5926
|
for (const f of v.layerList)
|
|
5930
5927
|
f && D(f);
|
|
5931
|
-
const o =
|
|
5928
|
+
const o = nt([{
|
|
5932
5929
|
psdJson: v,
|
|
5933
5930
|
layerExtrasByName: s
|
|
5934
5931
|
}], {
|
|
@@ -5937,10 +5934,10 @@ async function Gx(r) {
|
|
|
5937
5934
|
});
|
|
5938
5935
|
if (!o.models || o.models.length === 0)
|
|
5939
5936
|
throw new Error("无法解析 JSON 数据");
|
|
5940
|
-
const
|
|
5941
|
-
if (!
|
|
5937
|
+
const d = o.models[0];
|
|
5938
|
+
if (!d.psdPartData)
|
|
5942
5939
|
throw new Error("JSON 数据中没有 psdPartData");
|
|
5943
|
-
const b =
|
|
5940
|
+
const b = d.width, g = d.height, _ = h0(b, g), k = ye(_), $ = [], F = (f) => {
|
|
5944
5941
|
if (f.url && s[f.url])
|
|
5945
5942
|
return s[f.url];
|
|
5946
5943
|
if (f.url) {
|
|
@@ -5958,8 +5955,8 @@ async function Gx(r) {
|
|
|
5958
5955
|
}
|
|
5959
5956
|
}
|
|
5960
5957
|
};
|
|
5961
|
-
for (let f = 0; f <
|
|
5962
|
-
const A =
|
|
5958
|
+
for (let f = 0; f < d.psdPartData.length; f++) {
|
|
5959
|
+
const A = d.psdPartData[f], m = F(A);
|
|
5963
5960
|
if (A.type === D0.Layer) {
|
|
5964
5961
|
if (!m || !m.url) {
|
|
5965
5962
|
c(`图层 "${A.name}" 没有匹配的 material,跳过`);
|
|
@@ -5974,7 +5971,7 @@ async function Gx(r) {
|
|
|
5974
5971
|
index: f,
|
|
5975
5972
|
type: "layer",
|
|
5976
5973
|
partData: A,
|
|
5977
|
-
promise:
|
|
5974
|
+
promise: bt(P, E, n).catch((L) => null)
|
|
5978
5975
|
});
|
|
5979
5976
|
} else if (A.type === D0.Group) {
|
|
5980
5977
|
if (!A.smartObjects || A.smartObjects.length === 0)
|
|
@@ -5987,9 +5984,9 @@ async function Gx(r) {
|
|
|
5987
5984
|
if (!L && P.imagePath && (L = s[P.imagePath], !L)) {
|
|
5988
5985
|
const K = P.imagePath.split("/").pop() || P.imagePath;
|
|
5989
5986
|
if (L = s[K], !L) {
|
|
5990
|
-
const G = y.find((
|
|
5991
|
-
const
|
|
5992
|
-
return !
|
|
5987
|
+
const G = y.find((Z) => {
|
|
5988
|
+
const r0 = Z.sourceName || Z.layerName;
|
|
5989
|
+
return !r0 || !P.imagePath ? !1 : (r0.split("/").pop() || r0) === K || r0 === P.imagePath || r0.endsWith(P.imagePath) || P.imagePath.endsWith(r0);
|
|
5993
5990
|
});
|
|
5994
5991
|
G && (L = { url: G.url });
|
|
5995
5992
|
}
|
|
@@ -6006,17 +6003,17 @@ async function Gx(r) {
|
|
|
6006
6003
|
continue;
|
|
6007
6004
|
I = G;
|
|
6008
6005
|
}
|
|
6009
|
-
const
|
|
6006
|
+
const Y = (A.partId ?? A.id) * 100 + W, Q = ot(at(P)), i0 = { width: b, height: g };
|
|
6010
6007
|
$.push({
|
|
6011
6008
|
index: f + W * 0.01,
|
|
6012
6009
|
type: "group",
|
|
6013
6010
|
partData: A,
|
|
6014
6011
|
smartObject: P,
|
|
6015
6012
|
maskData: Q,
|
|
6016
|
-
promise:
|
|
6013
|
+
promise: Gx(
|
|
6017
6014
|
I,
|
|
6018
6015
|
P,
|
|
6019
|
-
|
|
6016
|
+
Y,
|
|
6020
6017
|
i0,
|
|
6021
6018
|
E,
|
|
6022
6019
|
n
|
|
@@ -6044,11 +6041,11 @@ async function Gx(r) {
|
|
|
6044
6041
|
A.type === "group" && A.smartObject ? L = A.smartObject.opacity ?? W.opacity : L = W.opacity, (typeof L != "number" || isNaN(L)) && (L = 1);
|
|
6045
6042
|
let I;
|
|
6046
6043
|
A.type === "group" && A.smartObject ? I = A.smartObject.clipping ?? W.clipping === !0 : I = W.clipping === !0;
|
|
6047
|
-
const
|
|
6044
|
+
const Y = H[f + 1];
|
|
6048
6045
|
let Q = !1;
|
|
6049
|
-
if (
|
|
6050
|
-
const K =
|
|
6051
|
-
|
|
6046
|
+
if (Y) {
|
|
6047
|
+
const K = Y.task.partData;
|
|
6048
|
+
Y.task.type === "group" && Y.task.smartObject ? Q = Y.task.smartObject.clipping ?? K.clipping === !0 : Q = K.clipping === !0;
|
|
6052
6049
|
}
|
|
6053
6050
|
const i0 = A.type === "group" && A.smartObject && A.smartObject.name ? A.smartObject.name : W?.name || "未命名图层";
|
|
6054
6051
|
if (e(`[renderByJson] 绘制图层 "${i0}"`, {
|
|
@@ -6064,7 +6061,7 @@ async function Gx(r) {
|
|
|
6064
6061
|
if (z.clearRect(0, 0, b, g), z.globalCompositeOperation = "source-over", z.globalAlpha = L, A.type === "group" && A.smartObject)
|
|
6065
6062
|
if (A.maskData) {
|
|
6066
6063
|
const K = h0(b, g), G = g0(K);
|
|
6067
|
-
G && (G.drawImage(m, 0, 0),
|
|
6064
|
+
G && (G.drawImage(m, 0, 0), Br(G, A.maskData), z.drawImage(K, 0, 0));
|
|
6068
6065
|
} else
|
|
6069
6066
|
z.drawImage(m, 0, 0);
|
|
6070
6067
|
else A.type === "layer" && (P ? z.drawImage(
|
|
@@ -6081,7 +6078,7 @@ async function Gx(r) {
|
|
|
6081
6078
|
if (z.globalCompositeOperation = "source-atop", z.globalAlpha = L, A.type === "group" && A.smartObject)
|
|
6082
6079
|
if (A.maskData) {
|
|
6083
6080
|
const K = h0(b, g), G = g0(K);
|
|
6084
|
-
G && (G.drawImage(m, 0, 0),
|
|
6081
|
+
G && (G.drawImage(m, 0, 0), Br(G, A.maskData), z.drawImage(K, 0, 0));
|
|
6085
6082
|
} else
|
|
6086
6083
|
z.drawImage(m, 0, 0);
|
|
6087
6084
|
else A.type === "layer" && (P ? z.drawImage(
|
|
@@ -6094,10 +6091,10 @@ async function Gx(r) {
|
|
|
6094
6091
|
z.globalAlpha = 1, z.globalCompositeOperation = "source-over";
|
|
6095
6092
|
}
|
|
6096
6093
|
} else {
|
|
6097
|
-
if (k.globalCompositeOperation =
|
|
6094
|
+
if (k.globalCompositeOperation = Mr(W.blendMode), k.globalAlpha = L, A.type === "group" && A.smartObject)
|
|
6098
6095
|
if (A.maskData) {
|
|
6099
6096
|
const K = h0(b, g), G = g0(K);
|
|
6100
|
-
G && (G.drawImage(m, 0, 0),
|
|
6097
|
+
G && (G.drawImage(m, 0, 0), Br(G, A.maskData), k.drawImage(K, 0, 0));
|
|
6101
6098
|
} else
|
|
6102
6099
|
k.drawImage(m, 0, 0);
|
|
6103
6100
|
else A.type === "layer" && (P ? k.drawImage(
|
|
@@ -6109,7 +6106,7 @@ async function Gx(r) {
|
|
|
6109
6106
|
) : k.drawImage(m, 0, 0));
|
|
6110
6107
|
k.globalAlpha = 1, k.globalCompositeOperation = "source-over";
|
|
6111
6108
|
}
|
|
6112
|
-
O && !Q && (k.globalCompositeOperation =
|
|
6109
|
+
O && !Q && (k.globalCompositeOperation = Mr(q), k.drawImage(R, 0, 0), k.globalCompositeOperation = "source-over", O = !1);
|
|
6113
6110
|
}
|
|
6114
6111
|
R = null, z = null;
|
|
6115
6112
|
let U = _, T = b, N = g;
|
|
@@ -6124,53 +6121,53 @@ async function Gx(r) {
|
|
|
6124
6121
|
T = Math.round(b * A), N = x;
|
|
6125
6122
|
}
|
|
6126
6123
|
U = h0(T, N);
|
|
6127
|
-
const f =
|
|
6124
|
+
const f = ye(U);
|
|
6128
6125
|
f.imageSmoothingEnabled = !0, f.imageSmoothingQuality = "high", f.drawImage(_, 0, 0, b, g, 0, 0, T, N), e(`[renderByJson] 已缩放结果: ${b}x${g} -> ${T}x${N}`);
|
|
6129
6126
|
}
|
|
6130
|
-
const S = performance.now() -
|
|
6127
|
+
const S = performance.now() - l;
|
|
6131
6128
|
return e(`[renderByJson] 绘制完成,总渲染时间: ${Math.round(S)}ms`), {
|
|
6132
6129
|
canvas: U,
|
|
6133
6130
|
width: T,
|
|
6134
6131
|
height: N
|
|
6135
6132
|
};
|
|
6136
6133
|
}
|
|
6137
|
-
const
|
|
6138
|
-
const t = (await
|
|
6134
|
+
const qe = async (r) => {
|
|
6135
|
+
const t = (await Kx(r)).canvas;
|
|
6139
6136
|
return t ? createImageBitmap(t) : null;
|
|
6140
6137
|
};
|
|
6141
|
-
let s0 = null,
|
|
6142
|
-
const
|
|
6143
|
-
if (!
|
|
6144
|
-
|
|
6138
|
+
let s0 = null, Ar = !1;
|
|
6139
|
+
const Te = async () => {
|
|
6140
|
+
if (!Ar) {
|
|
6141
|
+
Ar = !0;
|
|
6145
6142
|
try {
|
|
6146
6143
|
for (; s0; ) {
|
|
6147
6144
|
const r = s0;
|
|
6148
6145
|
s0 = null;
|
|
6149
6146
|
try {
|
|
6150
|
-
const
|
|
6147
|
+
const l = await qe(r.renderData);
|
|
6151
6148
|
if (s0) {
|
|
6152
|
-
|
|
6149
|
+
l?.close?.();
|
|
6153
6150
|
continue;
|
|
6154
6151
|
}
|
|
6155
|
-
self.postMessage({ id: r.id, bitmap:
|
|
6156
|
-
} catch (
|
|
6152
|
+
self.postMessage({ id: r.id, bitmap: l }, l ? [l] : []);
|
|
6153
|
+
} catch (l) {
|
|
6157
6154
|
if (s0) continue;
|
|
6158
6155
|
self.postMessage({
|
|
6159
6156
|
id: r.id,
|
|
6160
|
-
error:
|
|
6157
|
+
error: l instanceof Error ? l.message : String(l)
|
|
6161
6158
|
});
|
|
6162
6159
|
}
|
|
6163
6160
|
}
|
|
6164
6161
|
} finally {
|
|
6165
|
-
|
|
6162
|
+
Ar = !1, s0 && Te();
|
|
6166
6163
|
}
|
|
6167
6164
|
}
|
|
6168
6165
|
};
|
|
6169
6166
|
self.onmessage = async (r) => {
|
|
6170
|
-
const
|
|
6171
|
-
if (
|
|
6172
|
-
const e =
|
|
6173
|
-
|
|
6167
|
+
const l = r.data;
|
|
6168
|
+
if (l && typeof l == "object" && "type" in l && l.type === "SET_LICENSE") {
|
|
6169
|
+
const e = l;
|
|
6170
|
+
Lx({
|
|
6174
6171
|
token: e.licenseToken,
|
|
6175
6172
|
apiUrl: e.licenseApiUrl,
|
|
6176
6173
|
deviceId: e.deviceId,
|
|
@@ -6178,13 +6175,13 @@ self.onmessage = async (r) => {
|
|
|
6178
6175
|
});
|
|
6179
6176
|
return;
|
|
6180
6177
|
}
|
|
6181
|
-
const t =
|
|
6178
|
+
const t = l;
|
|
6182
6179
|
if (t.coalesce === !0) {
|
|
6183
|
-
s0 = { id: t.id, renderData: t.renderData },
|
|
6180
|
+
s0 = { id: t.id, renderData: t.renderData }, Te();
|
|
6184
6181
|
return;
|
|
6185
6182
|
}
|
|
6186
6183
|
try {
|
|
6187
|
-
const e = await
|
|
6184
|
+
const e = await qe(t.renderData);
|
|
6188
6185
|
self.postMessage({ id: t.id, bitmap: e }, e ? [e] : []);
|
|
6189
6186
|
} catch (e) {
|
|
6190
6187
|
self.postMessage({
|