@tongfun/ui 0.0.1-alpha.18 → 0.0.1-alpha.19
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/dashboard-data-table/types.d.ts +2 -0
- package/dist/{exceljs.min-CPvoSTK-.js → exceljs.min-h4d5FQ7Q.js} +1 -1
- package/dist/{index-B1y1yZ6e.js → index-Dwz1bAtd.js} +79411 -77619
- package/dist/index.d.ts +4 -0
- package/dist/{index.es-B8jh1eAR.js → index.es-DzzQyYAo.js} +2 -2
- package/dist/index.js +1037 -1017
- package/dist/{jspdf.es.min-BzkjZY77.js → jspdf.es.min-BV-shjOY.js} +403 -403
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -158,15 +158,15 @@ var Ph = /* @__PURE__ */ Fa(Si, 9, 0), Ih = /* @__PURE__ */ Fa(Cs, 5, 0), $u = f
|
|
|
158
158
|
for (a.sort(function(vt, dt) {
|
|
159
159
|
return p[dt.s] - p[vt.s] || vt.f - dt.f;
|
|
160
160
|
}); i < s; ++i) {
|
|
161
|
-
var
|
|
162
|
-
if (p[
|
|
163
|
-
O += S - (1 << j - p[
|
|
161
|
+
var V = a[i].s;
|
|
162
|
+
if (p[V] > e)
|
|
163
|
+
O += S - (1 << j - p[V]), p[V] = e;
|
|
164
164
|
else
|
|
165
165
|
break;
|
|
166
166
|
}
|
|
167
167
|
for (O >>= M; O > 0; ) {
|
|
168
|
-
var
|
|
169
|
-
p[
|
|
168
|
+
var G = a[i].s;
|
|
169
|
+
p[G] < e ? O -= 1 << e - p[G]++ - 1 : ++i;
|
|
170
170
|
}
|
|
171
171
|
for (; i >= 0 && O; --i) {
|
|
172
172
|
var q = a[i].s;
|
|
@@ -212,8 +212,8 @@ var Ph = /* @__PURE__ */ Fa(Si, 9, 0), Ih = /* @__PURE__ */ Fa(Cs, 5, 0), $u = f
|
|
|
212
212
|
return (s + 4 + i) * 8;
|
|
213
213
|
}, Tl = function(n, e, t, i, s, a, c, l, h, d, m) {
|
|
214
214
|
Er(e, m++, t), ++s[256];
|
|
215
|
-
for (var _ = vo(s, 15), k = _.t, p = _.l, j = vo(a, 15), O = j.t, M = j.l, S = Rl(k),
|
|
216
|
-
++dt[
|
|
215
|
+
for (var _ = vo(s, 15), k = _.t, p = _.l, j = vo(a, 15), O = j.t, M = j.l, S = Rl(k), V = S.c, G = S.n, q = Rl(O), it = q.c, vt = q.n, dt = new Rn(19), X = 0; X < V.length; ++X)
|
|
216
|
+
++dt[V[X] & 31];
|
|
217
217
|
for (var X = 0; X < it.length; ++X)
|
|
218
218
|
++dt[it[X] & 31];
|
|
219
219
|
for (var R = vo(dt, 7), tt = R.t, N = R.l, E = 19; E > 4 && !tt[Bl[E - 1]]; --E)
|
|
@@ -225,11 +225,11 @@ var Ph = /* @__PURE__ */ Fa(Si, 9, 0), Ih = /* @__PURE__ */ Fa(Cs, 5, 0), $u = f
|
|
|
225
225
|
if (Er(e, m, 1 + (rt < U)), m += 2, rt < U) {
|
|
226
226
|
ot = Fa(k, p, 0), ft = k, nt = Fa(O, M, 0), ct = O;
|
|
227
227
|
var At = Fa(tt, N, 0);
|
|
228
|
-
Er(e, m,
|
|
228
|
+
Er(e, m, G - 257), Er(e, m + 5, vt - 1), Er(e, m + 10, E - 4), m += 14;
|
|
229
229
|
for (var X = 0; X < E; ++X)
|
|
230
230
|
Er(e, m + 3 * X, tt[Bl[X]]);
|
|
231
231
|
m += 3 * E;
|
|
232
|
-
for (var wt = [
|
|
232
|
+
for (var wt = [V, it], x = 0; x < 2; ++x)
|
|
233
233
|
for (var B = wt[x], X = 0; X < B.length; ++X) {
|
|
234
234
|
var T = B[X] & 31;
|
|
235
235
|
Er(e, m, At[T]), m += tt[T], T > 15 && (Er(e, m, B[X] >> 5 & 127), m += B[X] >> 12);
|
|
@@ -251,10 +251,10 @@ var Ph = /* @__PURE__ */ Fa(Si, 9, 0), Ih = /* @__PURE__ */ Fa(Cs, 5, 0), $u = f
|
|
|
251
251
|
var c = a.z || n.length, l = new tr(i + c + 5 * (1 + Math.ceil(c / 7e3)) + s), h = l.subarray(i, l.length - s), d = a.l, m = (a.r || 0) & 7;
|
|
252
252
|
if (e) {
|
|
253
253
|
m && (h[0] = a.r >> 3);
|
|
254
|
-
for (var _ = Fh[e - 1], k = _ >> 13, p = _ & 8191, j = (1 << t) - 1, O = a.p || new Rn(32768), M = a.h || new Rn(j + 1), S = Math.ceil(t / 3),
|
|
255
|
-
return (n[Dt] ^ n[Dt + 1] << S ^ n[Dt + 2] <<
|
|
254
|
+
for (var _ = Fh[e - 1], k = _ >> 13, p = _ & 8191, j = (1 << t) - 1, O = a.p || new Rn(32768), M = a.h || new Rn(j + 1), S = Math.ceil(t / 3), V = 2 * S, G = function(Dt) {
|
|
255
|
+
return (n[Dt] ^ n[Dt + 1] << S ^ n[Dt + 2] << V) & j;
|
|
256
256
|
}, q = new Ko(25e3), it = new Rn(288), vt = new Rn(32), dt = 0, X = 0, R = a.i || 0, tt = 0, N = a.w || 0, E = 0; R + 2 < c; ++R) {
|
|
257
|
-
var z =
|
|
257
|
+
var z = G(R), U = R & 32767, rt = M[z];
|
|
258
258
|
if (O[U] = rt, M[z] = U, N <= R) {
|
|
259
259
|
var ot = c - R;
|
|
260
260
|
if ((dt > 7e3 || tt > 24576) && (ot > 423 || !d)) {
|
|
@@ -265,7 +265,7 @@ var Ph = /* @__PURE__ */ Fa(Si, 9, 0), Ih = /* @__PURE__ */ Fa(Cs, 5, 0), $u = f
|
|
|
265
265
|
vt[ft] = 0;
|
|
266
266
|
}
|
|
267
267
|
var nt = 2, ct = 0, At = p, wt = U - rt & 32767;
|
|
268
|
-
if (ot > 2 && z ==
|
|
268
|
+
if (ot > 2 && z == G(R - wt))
|
|
269
269
|
for (var x = Math.min(k, ot) - 1, B = Math.min(32767, R), T = Math.min(258, ot); wt <= B && --At && U != rt; ) {
|
|
270
270
|
if (n[R + nt] == n[R + nt - wt]) {
|
|
271
271
|
for (var H = 0; H < T && n[R + H] == n[R + H - wt]; ++H)
|
|
@@ -908,13 +908,13 @@ function aa(n) {
|
|
|
908
908
|
for (; --e >= 0; )
|
|
909
909
|
n[e] = 0;
|
|
910
910
|
}
|
|
911
|
-
const
|
|
911
|
+
const Vh = 3, Gh = 258, nf = 29, Yh = 256, Jh = Yh + 1 + nf, rf = 30, Kh = 512, Xh = new Array((Jh + 2) * 2);
|
|
912
912
|
aa(Xh);
|
|
913
913
|
const $h = new Array(rf * 2);
|
|
914
914
|
aa($h);
|
|
915
915
|
const Zh = new Array(Kh);
|
|
916
916
|
aa(Zh);
|
|
917
|
-
const Qh = new Array(
|
|
917
|
+
const Qh = new Array(Gh - Vh + 1);
|
|
918
918
|
aa(Qh);
|
|
919
919
|
const tc = new Array(nf);
|
|
920
920
|
aa(tc);
|
|
@@ -1085,22 +1085,22 @@ function dc() {
|
|
|
1085
1085
|
var pc = dc;
|
|
1086
1086
|
const ys = 16209, gc = 16191;
|
|
1087
1087
|
var mc = function(e, t) {
|
|
1088
|
-
let i, s, a, c, l, h, d, m, _, k, p, j, O, M, S,
|
|
1088
|
+
let i, s, a, c, l, h, d, m, _, k, p, j, O, M, S, V, G, q, it, vt, dt, X, R, tt;
|
|
1089
1089
|
const N = e.state;
|
|
1090
|
-
i = e.next_in, R = e.input, s = i + (e.avail_in - 5), a = e.next_out, tt = e.output, c = a - (t - e.avail_out), l = a + (e.avail_out - 257), h = N.dmax, d = N.wsize, m = N.whave, _ = N.wnext, k = N.window, p = N.hold, j = N.bits, O = N.lencode, M = N.distcode, S = (1 << N.lenbits) - 1,
|
|
1090
|
+
i = e.next_in, R = e.input, s = i + (e.avail_in - 5), a = e.next_out, tt = e.output, c = a - (t - e.avail_out), l = a + (e.avail_out - 257), h = N.dmax, d = N.wsize, m = N.whave, _ = N.wnext, k = N.window, p = N.hold, j = N.bits, O = N.lencode, M = N.distcode, S = (1 << N.lenbits) - 1, V = (1 << N.distbits) - 1;
|
|
1091
1091
|
t:
|
|
1092
1092
|
do {
|
|
1093
|
-
j < 15 && (p += R[i++] << j, j += 8, p += R[i++] << j, j += 8),
|
|
1093
|
+
j < 15 && (p += R[i++] << j, j += 8, p += R[i++] << j, j += 8), G = O[p & S];
|
|
1094
1094
|
e:
|
|
1095
1095
|
for (; ; ) {
|
|
1096
|
-
if (q =
|
|
1097
|
-
tt[a++] =
|
|
1096
|
+
if (q = G >>> 24, p >>>= q, j -= q, q = G >>> 16 & 255, q === 0)
|
|
1097
|
+
tt[a++] = G & 65535;
|
|
1098
1098
|
else if (q & 16) {
|
|
1099
|
-
it =
|
|
1099
|
+
it = G & 65535, q &= 15, q && (j < q && (p += R[i++] << j, j += 8), it += p & (1 << q) - 1, p >>>= q, j -= q), j < 15 && (p += R[i++] << j, j += 8, p += R[i++] << j, j += 8), G = M[p & V];
|
|
1100
1100
|
n:
|
|
1101
1101
|
for (; ; ) {
|
|
1102
|
-
if (q =
|
|
1103
|
-
if (vt =
|
|
1102
|
+
if (q = G >>> 24, p >>>= q, j -= q, q = G >>> 16 & 255, q & 16) {
|
|
1103
|
+
if (vt = G & 65535, q &= 15, j < q && (p += R[i++] << j, j += 8, j < q && (p += R[i++] << j, j += 8)), vt += p & (1 << q) - 1, vt > h) {
|
|
1104
1104
|
e.msg = "invalid distance too far back", N.mode = ys;
|
|
1105
1105
|
break t;
|
|
1106
1106
|
}
|
|
@@ -1152,7 +1152,7 @@ var mc = function(e, t) {
|
|
|
1152
1152
|
e.msg = "invalid distance code", N.mode = ys;
|
|
1153
1153
|
break t;
|
|
1154
1154
|
} else {
|
|
1155
|
-
|
|
1155
|
+
G = M[(G & 65535) + (p & (1 << q) - 1)];
|
|
1156
1156
|
continue n;
|
|
1157
1157
|
}
|
|
1158
1158
|
break;
|
|
@@ -1166,7 +1166,7 @@ var mc = function(e, t) {
|
|
|
1166
1166
|
break t;
|
|
1167
1167
|
}
|
|
1168
1168
|
else {
|
|
1169
|
-
|
|
1169
|
+
G = O[(G & 65535) + (p & (1 << q) - 1)];
|
|
1170
1170
|
continue e;
|
|
1171
1171
|
}
|
|
1172
1172
|
break;
|
|
@@ -1174,7 +1174,7 @@ var mc = function(e, t) {
|
|
|
1174
1174
|
} while (i < s && a < l);
|
|
1175
1175
|
it = j >> 3, i -= it, j -= it << 3, p &= (1 << j) - 1, e.next_in = i, e.next_out = a, e.avail_in = i < s ? 5 + (s - i) : 5 - (i - s), e.avail_out = a < l ? 257 + (l - a) : 257 - (a - l), N.hold = p, N.bits = j;
|
|
1176
1176
|
};
|
|
1177
|
-
const Qi = 15, zl = 852, Hl = 592, Wl = 0, wo = 1,
|
|
1177
|
+
const Qi = 15, zl = 852, Hl = 592, Wl = 0, wo = 1, Vl = 2, vc = new Uint16Array([
|
|
1178
1178
|
/* Length codes 257..285 base */
|
|
1179
1179
|
3,
|
|
1180
1180
|
4,
|
|
@@ -1310,7 +1310,7 @@ const Qi = 15, zl = 852, Hl = 592, Wl = 0, wo = 1, Gl = 2, vc = new Uint16Array(
|
|
|
1310
1310
|
64
|
|
1311
1311
|
]), xc = (n, e, t, i, s, a, c, l) => {
|
|
1312
1312
|
const h = l.bits;
|
|
1313
|
-
let d = 0, m = 0, _ = 0, k = 0, p = 0, j = 0, O = 0, M = 0, S = 0,
|
|
1313
|
+
let d = 0, m = 0, _ = 0, k = 0, p = 0, j = 0, O = 0, M = 0, S = 0, V = 0, G, q, it, vt, dt, X = null, R;
|
|
1314
1314
|
const tt = new Uint16Array(Qi + 1), N = new Uint16Array(Qi + 1);
|
|
1315
1315
|
let E = null, z, U, rt;
|
|
1316
1316
|
for (d = 0; d <= Qi; d++)
|
|
@@ -1332,39 +1332,39 @@ const Qi = 15, zl = 852, Hl = 592, Wl = 0, wo = 1, Gl = 2, vc = new Uint16Array(
|
|
|
1332
1332
|
N[d + 1] = N[d] + tt[d];
|
|
1333
1333
|
for (m = 0; m < i; m++)
|
|
1334
1334
|
e[t + m] !== 0 && (c[N[e[t + m]]++] = m);
|
|
1335
|
-
if (n === Wl ? (X = E = c, R = 20) : n === wo ? (X = vc, E = bc, R = 257) : (X = wc, E = yc, R = 0),
|
|
1335
|
+
if (n === Wl ? (X = E = c, R = 20) : n === wo ? (X = vc, E = bc, R = 257) : (X = wc, E = yc, R = 0), V = 0, m = 0, d = _, dt = a, j = p, O = 0, it = -1, S = 1 << p, vt = S - 1, n === wo && S > zl || n === Vl && S > Hl)
|
|
1336
1336
|
return 1;
|
|
1337
1337
|
for (; ; ) {
|
|
1338
|
-
z = d - O, c[m] + 1 < R ? (U = 0, rt = c[m]) : c[m] >= R ? (U = E[c[m] - R], rt = X[c[m] - R]) : (U = 32 + 64, rt = 0),
|
|
1338
|
+
z = d - O, c[m] + 1 < R ? (U = 0, rt = c[m]) : c[m] >= R ? (U = E[c[m] - R], rt = X[c[m] - R]) : (U = 32 + 64, rt = 0), G = 1 << d - O, q = 1 << j, _ = q;
|
|
1339
1339
|
do
|
|
1340
|
-
q -=
|
|
1340
|
+
q -= G, s[dt + (V >> O) + q] = z << 24 | U << 16 | rt | 0;
|
|
1341
1341
|
while (q !== 0);
|
|
1342
|
-
for (
|
|
1343
|
-
|
|
1344
|
-
if (
|
|
1342
|
+
for (G = 1 << d - 1; V & G; )
|
|
1343
|
+
G >>= 1;
|
|
1344
|
+
if (G !== 0 ? (V &= G - 1, V += G) : V = 0, m++, --tt[d] === 0) {
|
|
1345
1345
|
if (d === k)
|
|
1346
1346
|
break;
|
|
1347
1347
|
d = e[t + c[m]];
|
|
1348
1348
|
}
|
|
1349
|
-
if (d > p && (
|
|
1349
|
+
if (d > p && (V & vt) !== it) {
|
|
1350
1350
|
for (O === 0 && (O = p), dt += _, j = d - O, M = 1 << j; j + O < k && (M -= tt[j + O], !(M <= 0)); )
|
|
1351
1351
|
j++, M <<= 1;
|
|
1352
|
-
if (S += 1 << j, n === wo && S > zl || n ===
|
|
1352
|
+
if (S += 1 << j, n === wo && S > zl || n === Vl && S > Hl)
|
|
1353
1353
|
return 1;
|
|
1354
|
-
it =
|
|
1354
|
+
it = V & vt, s[it] = p << 24 | j << 16 | dt - a | 0;
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
|
-
return
|
|
1357
|
+
return V !== 0 && (s[dt + V] = d - O << 24 | 64 << 16 | 0), l.bits = p, 0;
|
|
1358
1358
|
};
|
|
1359
1359
|
var Ea = xc;
|
|
1360
1360
|
const _c = 0, lf = 1, uf = 2, {
|
|
1361
|
-
Z_FINISH:
|
|
1361
|
+
Z_FINISH: Gl,
|
|
1362
1362
|
Z_BLOCK: Ac,
|
|
1363
1363
|
Z_TREES: xs,
|
|
1364
1364
|
Z_OK: ki,
|
|
1365
1365
|
Z_STREAM_END: Nc,
|
|
1366
1366
|
Z_NEED_DICT: Lc,
|
|
1367
|
-
Z_STREAM_ERROR:
|
|
1367
|
+
Z_STREAM_ERROR: Vn,
|
|
1368
1368
|
Z_DATA_ERROR: ff,
|
|
1369
1369
|
Z_MEM_ERROR: hf,
|
|
1370
1370
|
Z_BUF_ERROR: Sc,
|
|
@@ -1380,23 +1380,23 @@ const Ii = (n) => {
|
|
|
1380
1380
|
return !e || e.strm !== n || e.mode < Os || e.mode > df ? 1 : 0;
|
|
1381
1381
|
}, pf = (n) => {
|
|
1382
1382
|
if (Ii(n))
|
|
1383
|
-
return
|
|
1383
|
+
return Vn;
|
|
1384
1384
|
const e = n.state;
|
|
1385
1385
|
return n.total_in = n.total_out = e.total = 0, n.msg = "", e.wrap && (n.adler = e.wrap & 1), e.mode = Os, e.last = 0, e.havedict = 0, e.flags = -1, e.dmax = 32768, e.head = null, e.hold = 0, e.bits = 0, e.lencode = e.lendyn = new Int32Array(kc), e.distcode = e.distdyn = new Int32Array(Pc), e.sane = 1, e.back = -1, ki;
|
|
1386
1386
|
}, gf = (n) => {
|
|
1387
1387
|
if (Ii(n))
|
|
1388
|
-
return
|
|
1388
|
+
return Vn;
|
|
1389
1389
|
const e = n.state;
|
|
1390
1390
|
return e.wsize = 0, e.whave = 0, e.wnext = 0, pf(n);
|
|
1391
1391
|
}, mf = (n, e) => {
|
|
1392
1392
|
let t;
|
|
1393
1393
|
if (Ii(n))
|
|
1394
|
-
return
|
|
1394
|
+
return Vn;
|
|
1395
1395
|
const i = n.state;
|
|
1396
|
-
return e < 0 ? (t = 0, e = -e) : (t = (e >> 4) + 5, e < 48 && (e &= 15)), e && (e < 8 || e > 15) ?
|
|
1396
|
+
return e < 0 ? (t = 0, e = -e) : (t = (e >> 4) + 5, e < 48 && (e &= 15)), e && (e < 8 || e > 15) ? Vn : (i.window !== null && i.wbits !== e && (i.window = null), i.wrap = t, i.wbits = e, gf(n));
|
|
1397
1397
|
}, vf = (n, e) => {
|
|
1398
1398
|
if (!n)
|
|
1399
|
-
return
|
|
1399
|
+
return Vn;
|
|
1400
1400
|
const t = new Fc();
|
|
1401
1401
|
n.state = t, t.strm = n, t.window = null, t.mode = Os;
|
|
1402
1402
|
const i = mf(n, e);
|
|
@@ -1425,7 +1425,7 @@ const Oc = (n) => {
|
|
|
1425
1425
|
const a = n.state;
|
|
1426
1426
|
return a.window === null && (a.window = new Uint8Array(1 << a.wbits)), a.wsize === 0 && (a.wsize = 1 << a.wbits, a.wnext = 0, a.whave = 0), i >= a.wsize ? (a.window.set(e.subarray(t - a.wsize, t), 0), a.wnext = 0, a.whave = a.wsize) : (s = a.wsize - a.wnext, s > i && (s = i), a.window.set(e.subarray(t - i, t - i + s), a.wnext), i -= s, i ? (a.window.set(e.subarray(t - i, t), 0), a.wnext = i, a.whave = a.wsize) : (a.wnext += s, a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += s))), 0;
|
|
1427
1427
|
}, jc = (n, e) => {
|
|
1428
|
-
let t, i, s, a, c, l, h, d, m, _, k, p, j, O, M = 0, S,
|
|
1428
|
+
let t, i, s, a, c, l, h, d, m, _, k, p, j, O, M = 0, S, V, G, q, it, vt, dt, X;
|
|
1429
1429
|
const R = new Uint8Array(4);
|
|
1430
1430
|
let tt, N;
|
|
1431
1431
|
const E = (
|
|
@@ -1433,7 +1433,7 @@ const Oc = (n) => {
|
|
|
1433
1433
|
new Uint8Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15])
|
|
1434
1434
|
);
|
|
1435
1435
|
if (Ii(n) || !n.output || !n.input && n.avail_in !== 0)
|
|
1436
|
-
return
|
|
1436
|
+
return Vn;
|
|
1437
1437
|
t = n.state, t.mode === Or && (t.mode = yo), c = n.next_out, s = n.output, h = n.avail_out, a = n.next_in, i = n.input, l = n.avail_in, d = t.hold, m = t.bits, _ = l, k = h, X = ki;
|
|
1438
1438
|
t:
|
|
1439
1439
|
for (; ; )
|
|
@@ -1655,15 +1655,15 @@ const Oc = (n) => {
|
|
|
1655
1655
|
t.have = 0, t.mode = ou;
|
|
1656
1656
|
case ou:
|
|
1657
1657
|
for (; t.have < t.nlen + t.ndist; ) {
|
|
1658
|
-
for (; M = t.lencode[d & (1 << t.lenbits) - 1], S = M >>> 24,
|
|
1658
|
+
for (; M = t.lencode[d & (1 << t.lenbits) - 1], S = M >>> 24, V = M >>> 16 & 255, G = M & 65535, !(S <= m); ) {
|
|
1659
1659
|
if (l === 0)
|
|
1660
1660
|
break t;
|
|
1661
1661
|
l--, d += i[a++] << m, m += 8;
|
|
1662
1662
|
}
|
|
1663
|
-
if (
|
|
1664
|
-
d >>>= S, m -= S, t.lens[t.have++] =
|
|
1663
|
+
if (G < 16)
|
|
1664
|
+
d >>>= S, m -= S, t.lens[t.have++] = G;
|
|
1665
1665
|
else {
|
|
1666
|
-
if (
|
|
1666
|
+
if (G === 16) {
|
|
1667
1667
|
for (N = S + 2; m < N; ) {
|
|
1668
1668
|
if (l === 0)
|
|
1669
1669
|
break t;
|
|
@@ -1674,7 +1674,7 @@ const Oc = (n) => {
|
|
|
1674
1674
|
break;
|
|
1675
1675
|
}
|
|
1676
1676
|
dt = t.lens[t.have - 1], p = 3 + (d & 3), d >>>= 2, m -= 2;
|
|
1677
|
-
} else if (
|
|
1677
|
+
} else if (G === 17) {
|
|
1678
1678
|
for (N = S + 3; m < N; ) {
|
|
1679
1679
|
if (l === 0)
|
|
1680
1680
|
break t;
|
|
@@ -1720,32 +1720,32 @@ const Oc = (n) => {
|
|
|
1720
1720
|
n.next_out = c, n.avail_out = h, n.next_in = a, n.avail_in = l, t.hold = d, t.bits = m, mc(n, k), c = n.next_out, s = n.output, h = n.avail_out, a = n.next_in, i = n.input, l = n.avail_in, d = t.hold, m = t.bits, t.mode === Or && (t.back = -1);
|
|
1721
1721
|
break;
|
|
1722
1722
|
}
|
|
1723
|
-
for (t.back = 0; M = t.lencode[d & (1 << t.lenbits) - 1], S = M >>> 24,
|
|
1723
|
+
for (t.back = 0; M = t.lencode[d & (1 << t.lenbits) - 1], S = M >>> 24, V = M >>> 16 & 255, G = M & 65535, !(S <= m); ) {
|
|
1724
1724
|
if (l === 0)
|
|
1725
1725
|
break t;
|
|
1726
1726
|
l--, d += i[a++] << m, m += 8;
|
|
1727
1727
|
}
|
|
1728
|
-
if (
|
|
1729
|
-
for (q = S, it =
|
|
1728
|
+
if (V && !(V & 240)) {
|
|
1729
|
+
for (q = S, it = V, vt = G; M = t.lencode[vt + ((d & (1 << q + it) - 1) >> q)], S = M >>> 24, V = M >>> 16 & 255, G = M & 65535, !(q + S <= m); ) {
|
|
1730
1730
|
if (l === 0)
|
|
1731
1731
|
break t;
|
|
1732
1732
|
l--, d += i[a++] << m, m += 8;
|
|
1733
1733
|
}
|
|
1734
1734
|
d >>>= q, m -= q, t.back += q;
|
|
1735
1735
|
}
|
|
1736
|
-
if (d >>>= S, m -= S, t.back += S, t.length =
|
|
1736
|
+
if (d >>>= S, m -= S, t.back += S, t.length = G, V === 0) {
|
|
1737
1737
|
t.mode = cu;
|
|
1738
1738
|
break;
|
|
1739
1739
|
}
|
|
1740
|
-
if (
|
|
1740
|
+
if (V & 32) {
|
|
1741
1741
|
t.back = -1, t.mode = Or;
|
|
1742
1742
|
break;
|
|
1743
1743
|
}
|
|
1744
|
-
if (
|
|
1744
|
+
if (V & 64) {
|
|
1745
1745
|
n.msg = "invalid literal/length code", t.mode = Me;
|
|
1746
1746
|
break;
|
|
1747
1747
|
}
|
|
1748
|
-
t.extra =
|
|
1748
|
+
t.extra = V & 15, t.mode = lu;
|
|
1749
1749
|
case lu:
|
|
1750
1750
|
if (t.extra) {
|
|
1751
1751
|
for (N = t.extra; m < N; ) {
|
|
@@ -1757,24 +1757,24 @@ const Oc = (n) => {
|
|
|
1757
1757
|
}
|
|
1758
1758
|
t.was = t.length, t.mode = uu;
|
|
1759
1759
|
case uu:
|
|
1760
|
-
for (; M = t.distcode[d & (1 << t.distbits) - 1], S = M >>> 24,
|
|
1760
|
+
for (; M = t.distcode[d & (1 << t.distbits) - 1], S = M >>> 24, V = M >>> 16 & 255, G = M & 65535, !(S <= m); ) {
|
|
1761
1761
|
if (l === 0)
|
|
1762
1762
|
break t;
|
|
1763
1763
|
l--, d += i[a++] << m, m += 8;
|
|
1764
1764
|
}
|
|
1765
|
-
if (!(
|
|
1766
|
-
for (q = S, it =
|
|
1765
|
+
if (!(V & 240)) {
|
|
1766
|
+
for (q = S, it = V, vt = G; M = t.distcode[vt + ((d & (1 << q + it) - 1) >> q)], S = M >>> 24, V = M >>> 16 & 255, G = M & 65535, !(q + S <= m); ) {
|
|
1767
1767
|
if (l === 0)
|
|
1768
1768
|
break t;
|
|
1769
1769
|
l--, d += i[a++] << m, m += 8;
|
|
1770
1770
|
}
|
|
1771
1771
|
d >>>= q, m -= q, t.back += q;
|
|
1772
1772
|
}
|
|
1773
|
-
if (d >>>= S, m -= S, t.back += S,
|
|
1773
|
+
if (d >>>= S, m -= S, t.back += S, V & 64) {
|
|
1774
1774
|
n.msg = "invalid distance code", t.mode = Me;
|
|
1775
1775
|
break;
|
|
1776
1776
|
}
|
|
1777
|
-
t.offset =
|
|
1777
|
+
t.offset = G, t.extra = V & 15, t.mode = fu;
|
|
1778
1778
|
case fu:
|
|
1779
1779
|
if (t.extra) {
|
|
1780
1780
|
for (N = t.extra; m < N; ) {
|
|
@@ -1850,26 +1850,26 @@ const Oc = (n) => {
|
|
|
1850
1850
|
return hf;
|
|
1851
1851
|
case df:
|
|
1852
1852
|
default:
|
|
1853
|
-
return
|
|
1853
|
+
return Vn;
|
|
1854
1854
|
}
|
|
1855
|
-
return n.next_out = c, n.avail_out = h, n.next_in = a, n.avail_in = l, t.hold = d, t.bits = m, (t.wsize || k !== n.avail_out && t.mode < Me && (t.mode < _o || e !==
|
|
1856
|
-
t.flags ? dr(t.check, s, k, n.next_out - k) : zo(t.check, s, k, n.next_out - k)), n.data_type = t.bits + (t.last ? 64 : 0) + (t.mode === Or ? 128 : 0) + (t.mode === _s || t.mode === xo ? 256 : 0), (_ === 0 && k === 0 || e ===
|
|
1855
|
+
return n.next_out = c, n.avail_out = h, n.next_in = a, n.avail_in = l, t.hold = d, t.bits = m, (t.wsize || k !== n.avail_out && t.mode < Me && (t.mode < _o || e !== Gl)) && bf(n, n.output, n.next_out, k - n.avail_out), _ -= n.avail_in, k -= n.avail_out, n.total_in += _, n.total_out += k, t.total += k, t.wrap & 4 && k && (n.adler = t.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
|
|
1856
|
+
t.flags ? dr(t.check, s, k, n.next_out - k) : zo(t.check, s, k, n.next_out - k)), n.data_type = t.bits + (t.last ? 64 : 0) + (t.mode === Or ? 128 : 0) + (t.mode === _s || t.mode === xo ? 256 : 0), (_ === 0 && k === 0 || e === Gl) && X === ki && (X = Sc), X;
|
|
1857
1857
|
}, Bc = (n) => {
|
|
1858
1858
|
if (Ii(n))
|
|
1859
|
-
return
|
|
1859
|
+
return Vn;
|
|
1860
1860
|
let e = n.state;
|
|
1861
1861
|
return e.window && (e.window = null), n.state = null, ki;
|
|
1862
1862
|
}, Mc = (n, e) => {
|
|
1863
1863
|
if (Ii(n))
|
|
1864
|
-
return
|
|
1864
|
+
return Vn;
|
|
1865
1865
|
const t = n.state;
|
|
1866
|
-
return t.wrap & 2 ? (t.head = e, e.done = !1, ki) :
|
|
1866
|
+
return t.wrap & 2 ? (t.head = e, e.done = !1, ki) : Vn;
|
|
1867
1867
|
}, Rc = (n, e) => {
|
|
1868
1868
|
const t = e.length;
|
|
1869
1869
|
let i, s, a;
|
|
1870
|
-
return Ii(n) || (i = n.state, i.wrap !== 0 && i.mode !== Fs) ?
|
|
1870
|
+
return Ii(n) || (i = n.state, i.wrap !== 0 && i.mode !== Fs) ? Vn : i.mode === Fs && (s = 1, s = zo(s, e, t, 0), s !== i.check) ? ff : (a = bf(n, e, t, t), a ? (i.mode = cf, hf) : (i.havedict = 1, ki));
|
|
1871
1871
|
};
|
|
1872
|
-
var Tc = gf, Dc = mf, qc = pf, Uc = Ec, zc = vf, Hc = jc, Wc = Bc,
|
|
1872
|
+
var Tc = gf, Dc = mf, qc = pf, Uc = Ec, zc = vf, Hc = jc, Wc = Bc, Vc = Mc, Gc = Rc, Yc = "pako inflate (from Nodeca project)", gr = {
|
|
1873
1873
|
inflateReset: Tc,
|
|
1874
1874
|
inflateReset2: Dc,
|
|
1875
1875
|
inflateResetKeep: qc,
|
|
@@ -1877,8 +1877,8 @@ var Tc = gf, Dc = mf, qc = pf, Uc = Ec, zc = vf, Hc = jc, Wc = Bc, Gc = Mc, Vc =
|
|
|
1877
1877
|
inflateInit2: zc,
|
|
1878
1878
|
inflate: Hc,
|
|
1879
1879
|
inflateEnd: Wc,
|
|
1880
|
-
inflateGetHeader:
|
|
1881
|
-
inflateSetDictionary:
|
|
1880
|
+
inflateGetHeader: Vc,
|
|
1881
|
+
inflateSetDictionary: Gc,
|
|
1882
1882
|
inflateInfo: Yc
|
|
1883
1883
|
};
|
|
1884
1884
|
function Jc() {
|
|
@@ -2084,15 +2084,15 @@ function p1(n) {
|
|
|
2084
2084
|
continue;
|
|
2085
2085
|
const j = k * l, O = new Uint8Array(j);
|
|
2086
2086
|
for (let M = 0; M < p; M++) {
|
|
2087
|
-
const S = e[d++],
|
|
2087
|
+
const S = e[d++], V = e.subarray(d, d + j);
|
|
2088
2088
|
d += j;
|
|
2089
|
-
const
|
|
2090
|
-
f1(S,
|
|
2089
|
+
const G = new Uint8Array(j);
|
|
2090
|
+
f1(S, V, G, O, j, l), O.set(G);
|
|
2091
2091
|
for (let q = 0; q < k; q++) {
|
|
2092
2092
|
const it = _.x + q * _.xStep, vt = _.y + M * _.yStep;
|
|
2093
2093
|
if (!(it >= t || vt >= i))
|
|
2094
2094
|
for (let dt = 0; dt < l; dt++)
|
|
2095
|
-
h[(vt * t + it) * l + dt] =
|
|
2095
|
+
h[(vt * t + it) * l + dt] = G[q * l + dt];
|
|
2096
2096
|
}
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
@@ -2779,7 +2779,7 @@ function O1(n) {
|
|
|
2779
2779
|
function j1(n) {
|
|
2780
2780
|
return String.fromCharCode(255 & n, (65280 & n) >> 8, (16711680 & n) >> 16, (4278190080 & n) >> 24);
|
|
2781
2781
|
}
|
|
2782
|
-
function
|
|
2782
|
+
function Vo(n) {
|
|
2783
2783
|
return If(n).map(j1).join("");
|
|
2784
2784
|
}
|
|
2785
2785
|
var B1 = function(n) {
|
|
@@ -2802,7 +2802,7 @@ function Zr(n, e) {
|
|
|
2802
2802
|
*
|
|
2803
2803
|
* Reference: http://www.fpdf.org/en/script/script37.php
|
|
2804
2804
|
*/
|
|
2805
|
-
function
|
|
2805
|
+
function Go(n, e) {
|
|
2806
2806
|
var t, i, s, a;
|
|
2807
2807
|
if (n !== t) {
|
|
2808
2808
|
for (var c = (s = n, a = 1 + (256 / n.length | 0), new Array(a + 1).join(s)), l = [], h = 0; h < 256; h++)
|
|
@@ -2841,7 +2841,7 @@ function na(n, e, t, i) {
|
|
|
2841
2841
|
s += Cu[l];
|
|
2842
2842
|
}), this.padding = "(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";
|
|
2843
2843
|
var a = (e + this.padding).substr(0, 32), c = (t + this.padding).substr(0, 32);
|
|
2844
|
-
this.O = this.processOwnerPassword(a, c), this.P = -(1 + (255 ^ s)), this.encryptionKey =
|
|
2844
|
+
this.O = this.processOwnerPassword(a, c), this.P = -(1 + (255 ^ s)), this.encryptionKey = Vo(a + this.O + this.lsbFirstWord(this.P) + this.hexToBytes(i)).substr(0, 5), this.U = Go(this.encryptionKey, this.padding);
|
|
2845
2845
|
}
|
|
2846
2846
|
function ra(n) {
|
|
2847
2847
|
if (/[^\u0000-\u00ff]/.test(n))
|
|
@@ -2925,12 +2925,12 @@ function Mt(n) {
|
|
|
2925
2925
|
return M[u];
|
|
2926
2926
|
};
|
|
2927
2927
|
s = s || "a4";
|
|
2928
|
-
var
|
|
2928
|
+
var V = "compat", G = "advanced", q = V;
|
|
2929
2929
|
function it() {
|
|
2930
|
-
this.saveGraphicsState(), P(new
|
|
2930
|
+
this.saveGraphicsState(), P(new Gt(ne, 0, 0, -ne, 0, oi() * ne).toString() + " cm"), this.setFontSize(this.getFontSize() / ne), d = "n", q = G;
|
|
2931
2931
|
}
|
|
2932
2932
|
function vt() {
|
|
2933
|
-
this.restoreGraphicsState(), d = "S", q =
|
|
2933
|
+
this.restoreGraphicsState(), d = "S", q = V;
|
|
2934
2934
|
}
|
|
2935
2935
|
var dt = p.__private__.combineFontStyleAndFontWeight = function(u, v) {
|
|
2936
2936
|
if (u == "bold" && v == "normal" || u == "bold" && v == 400 || u == "normal" && v == "italic" || u == "bold" && v == "italic")
|
|
@@ -2938,16 +2938,16 @@ function Mt(n) {
|
|
|
2938
2938
|
return v && (u = v == 400 || v === "normal" ? u === "italic" ? "italic" : "normal" : v != 700 && v !== "bold" || u !== "normal" ? (v == 700 ? "bold" : v) + "" + u : "bold"), u;
|
|
2939
2939
|
};
|
|
2940
2940
|
p.advancedAPI = function(u) {
|
|
2941
|
-
var v = q ===
|
|
2941
|
+
var v = q === V;
|
|
2942
2942
|
return v && it.call(this), typeof u != "function" || (u(this), v && vt.call(this)), this;
|
|
2943
2943
|
}, p.compatAPI = function(u) {
|
|
2944
|
-
var v = q ===
|
|
2944
|
+
var v = q === G;
|
|
2945
2945
|
return v && vt.call(this), typeof u != "function" || (u(this), v && it.call(this)), this;
|
|
2946
2946
|
}, p.isAdvancedAPI = function() {
|
|
2947
|
-
return q ===
|
|
2947
|
+
return q === G;
|
|
2948
2948
|
};
|
|
2949
2949
|
var X, R = function(u) {
|
|
2950
|
-
if (q !==
|
|
2950
|
+
if (q !== G)
|
|
2951
2951
|
throw new Error(u + " is only available in 'advanced' API mode. You need to call advancedAPI() first.");
|
|
2952
2952
|
}, tt = p.roundToPrecision = p.__private__.roundToPrecision = function(u, v) {
|
|
2953
2953
|
var I = e || v;
|
|
@@ -2979,10 +2979,10 @@ function Mt(n) {
|
|
|
2979
2979
|
}, z = p.scale = p.__private__.scale = function(u) {
|
|
2980
2980
|
if (isNaN(u))
|
|
2981
2981
|
throw new Error("Invalid argument passed to jsPDF.scale");
|
|
2982
|
-
return q ===
|
|
2982
|
+
return q === V ? u * ne : q === G ? u : void 0;
|
|
2983
2983
|
}, U = function(u) {
|
|
2984
2984
|
return z(function(v) {
|
|
2985
|
-
return q ===
|
|
2985
|
+
return q === V ? oi() - v : q === G ? v : void 0;
|
|
2986
2986
|
}(u));
|
|
2987
2987
|
};
|
|
2988
2988
|
p.__private__.setPrecision = p.setPrecision = function(u) {
|
|
@@ -3053,10 +3053,10 @@ function Mt(n) {
|
|
|
3053
3053
|
};
|
|
3054
3054
|
var yt = n.fontSize || 16;
|
|
3055
3055
|
p.__private__.setFontSize = p.setFontSize = function(u) {
|
|
3056
|
-
return yt = q ===
|
|
3056
|
+
return yt = q === G ? u / ne : u, this;
|
|
3057
3057
|
};
|
|
3058
3058
|
var Wt, Ct = p.__private__.getFontSize = p.getFontSize = function() {
|
|
3059
|
-
return q ===
|
|
3059
|
+
return q === V ? yt : yt * ne;
|
|
3060
3060
|
}, zt = n.R2L || !1;
|
|
3061
3061
|
p.__private__.setR2L = p.setR2L = function(u) {
|
|
3062
3062
|
return zt = u, this;
|
|
@@ -3110,95 +3110,95 @@ function Mt(n) {
|
|
|
3110
3110
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
3111
3111
|
return fe[u] = v;
|
|
3112
3112
|
};
|
|
3113
|
-
var Bt, ne, Tt, He, ge, se = {}, oe = {}, je = [], Ut = {}, ke = {}, Yt = {}, Qt = {}, Be = null, le = 0,
|
|
3113
|
+
var Bt, ne, Tt, He, ge, se = {}, oe = {}, je = [], Ut = {}, ke = {}, Yt = {}, Qt = {}, Be = null, le = 0, Vt = [], be = new Fu(p), ei = n.hotfixes || [], hn = {}, br = {}, rr = [], Gt = function u(v, I, D, K, lt, mt) {
|
|
3114
3114
|
if (!(this instanceof u))
|
|
3115
3115
|
return new u(v, I, D, K, lt, mt);
|
|
3116
3116
|
isNaN(v) && (v = 1), isNaN(I) && (I = 0), isNaN(D) && (D = 0), isNaN(K) && (K = 1), isNaN(lt) && (lt = 0), isNaN(mt) && (mt = 0), this._matrix = [v, I, D, K, lt, mt];
|
|
3117
3117
|
};
|
|
3118
|
-
Object.defineProperty(
|
|
3118
|
+
Object.defineProperty(Gt.prototype, "sx", { get: function() {
|
|
3119
3119
|
return this._matrix[0];
|
|
3120
3120
|
}, set: function(u) {
|
|
3121
3121
|
this._matrix[0] = u;
|
|
3122
|
-
} }), Object.defineProperty(
|
|
3122
|
+
} }), Object.defineProperty(Gt.prototype, "shy", { get: function() {
|
|
3123
3123
|
return this._matrix[1];
|
|
3124
3124
|
}, set: function(u) {
|
|
3125
3125
|
this._matrix[1] = u;
|
|
3126
|
-
} }), Object.defineProperty(
|
|
3126
|
+
} }), Object.defineProperty(Gt.prototype, "shx", { get: function() {
|
|
3127
3127
|
return this._matrix[2];
|
|
3128
3128
|
}, set: function(u) {
|
|
3129
3129
|
this._matrix[2] = u;
|
|
3130
|
-
} }), Object.defineProperty(
|
|
3130
|
+
} }), Object.defineProperty(Gt.prototype, "sy", { get: function() {
|
|
3131
3131
|
return this._matrix[3];
|
|
3132
3132
|
}, set: function(u) {
|
|
3133
3133
|
this._matrix[3] = u;
|
|
3134
|
-
} }), Object.defineProperty(
|
|
3134
|
+
} }), Object.defineProperty(Gt.prototype, "tx", { get: function() {
|
|
3135
3135
|
return this._matrix[4];
|
|
3136
3136
|
}, set: function(u) {
|
|
3137
3137
|
this._matrix[4] = u;
|
|
3138
|
-
} }), Object.defineProperty(
|
|
3138
|
+
} }), Object.defineProperty(Gt.prototype, "ty", { get: function() {
|
|
3139
3139
|
return this._matrix[5];
|
|
3140
3140
|
}, set: function(u) {
|
|
3141
3141
|
this._matrix[5] = u;
|
|
3142
|
-
} }), Object.defineProperty(
|
|
3142
|
+
} }), Object.defineProperty(Gt.prototype, "a", { get: function() {
|
|
3143
3143
|
return this._matrix[0];
|
|
3144
3144
|
}, set: function(u) {
|
|
3145
3145
|
this._matrix[0] = u;
|
|
3146
|
-
} }), Object.defineProperty(
|
|
3146
|
+
} }), Object.defineProperty(Gt.prototype, "b", { get: function() {
|
|
3147
3147
|
return this._matrix[1];
|
|
3148
3148
|
}, set: function(u) {
|
|
3149
3149
|
this._matrix[1] = u;
|
|
3150
|
-
} }), Object.defineProperty(
|
|
3150
|
+
} }), Object.defineProperty(Gt.prototype, "c", { get: function() {
|
|
3151
3151
|
return this._matrix[2];
|
|
3152
3152
|
}, set: function(u) {
|
|
3153
3153
|
this._matrix[2] = u;
|
|
3154
|
-
} }), Object.defineProperty(
|
|
3154
|
+
} }), Object.defineProperty(Gt.prototype, "d", { get: function() {
|
|
3155
3155
|
return this._matrix[3];
|
|
3156
3156
|
}, set: function(u) {
|
|
3157
3157
|
this._matrix[3] = u;
|
|
3158
|
-
} }), Object.defineProperty(
|
|
3158
|
+
} }), Object.defineProperty(Gt.prototype, "e", { get: function() {
|
|
3159
3159
|
return this._matrix[4];
|
|
3160
3160
|
}, set: function(u) {
|
|
3161
3161
|
this._matrix[4] = u;
|
|
3162
|
-
} }), Object.defineProperty(
|
|
3162
|
+
} }), Object.defineProperty(Gt.prototype, "f", { get: function() {
|
|
3163
3163
|
return this._matrix[5];
|
|
3164
3164
|
}, set: function(u) {
|
|
3165
3165
|
this._matrix[5] = u;
|
|
3166
|
-
} }), Object.defineProperty(
|
|
3166
|
+
} }), Object.defineProperty(Gt.prototype, "rotation", { get: function() {
|
|
3167
3167
|
return Math.atan2(this.shx, this.sx);
|
|
3168
|
-
} }), Object.defineProperty(
|
|
3168
|
+
} }), Object.defineProperty(Gt.prototype, "scaleX", { get: function() {
|
|
3169
3169
|
return this.decompose().scale.sx;
|
|
3170
|
-
} }), Object.defineProperty(
|
|
3170
|
+
} }), Object.defineProperty(Gt.prototype, "scaleY", { get: function() {
|
|
3171
3171
|
return this.decompose().scale.sy;
|
|
3172
|
-
} }), Object.defineProperty(
|
|
3172
|
+
} }), Object.defineProperty(Gt.prototype, "isIdentity", { get: function() {
|
|
3173
3173
|
return this.sx === 1 && this.shy === 0 && this.shx === 0 && this.sy === 1 && this.tx === 0 && this.ty === 0;
|
|
3174
|
-
} }),
|
|
3174
|
+
} }), Gt.prototype.join = function(u) {
|
|
3175
3175
|
return [this.sx, this.shy, this.shx, this.sy, this.tx, this.ty].map(X).join(u);
|
|
3176
|
-
},
|
|
3176
|
+
}, Gt.prototype.multiply = function(u) {
|
|
3177
3177
|
var v = u.sx * this.sx + u.shy * this.shx, I = u.sx * this.shy + u.shy * this.sy, D = u.shx * this.sx + u.sy * this.shx, K = u.shx * this.shy + u.sy * this.sy, lt = u.tx * this.sx + u.ty * this.shx + this.tx, mt = u.tx * this.shy + u.ty * this.sy + this.ty;
|
|
3178
|
-
return new
|
|
3179
|
-
},
|
|
3178
|
+
return new Gt(v, I, D, K, lt, mt);
|
|
3179
|
+
}, Gt.prototype.decompose = function() {
|
|
3180
3180
|
var u = this.sx, v = this.shy, I = this.shx, D = this.sy, K = this.tx, lt = this.ty, mt = Math.sqrt(u * u + v * v), Et = (u /= mt) * I + (v /= mt) * D;
|
|
3181
3181
|
I -= u * Et, D -= v * Et;
|
|
3182
3182
|
var Ft = Math.sqrt(I * I + D * D);
|
|
3183
|
-
return Et /= Ft, u * (D /= Ft) < v * (I /= Ft) && (u = -u, v = -v, Et = -Et, mt = -mt), { scale: new
|
|
3184
|
-
},
|
|
3183
|
+
return Et /= Ft, u * (D /= Ft) < v * (I /= Ft) && (u = -u, v = -v, Et = -Et, mt = -mt), { scale: new Gt(mt, 0, 0, Ft, 0, 0), translate: new Gt(1, 0, 0, 1, K, lt), rotate: new Gt(u, v, -v, u, 0, 0), skew: new Gt(1, 0, Et, 1, 0, 0) };
|
|
3184
|
+
}, Gt.prototype.toString = function(u) {
|
|
3185
3185
|
return this.join(" ");
|
|
3186
|
-
},
|
|
3186
|
+
}, Gt.prototype.inversed = function() {
|
|
3187
3187
|
var u = this.sx, v = this.shy, I = this.shx, D = this.sy, K = this.tx, lt = this.ty, mt = 1 / (u * D - v * I), Et = D * mt, Ft = -v * mt, Xt = -I * mt, te = u * mt;
|
|
3188
|
-
return new
|
|
3189
|
-
},
|
|
3188
|
+
return new Gt(Et, Ft, Xt, te, -Et * K - Xt * lt, -Ft * K - te * lt);
|
|
3189
|
+
}, Gt.prototype.applyToPoint = function(u) {
|
|
3190
3190
|
var v = u.x * this.sx + u.y * this.shx + this.tx, I = u.x * this.shy + u.y * this.sy + this.ty;
|
|
3191
3191
|
return new si(v, I);
|
|
3192
|
-
},
|
|
3192
|
+
}, Gt.prototype.applyToRectangle = function(u) {
|
|
3193
3193
|
var v = this.applyToPoint(u), I = this.applyToPoint(new si(u.x + u.w, u.y + u.h));
|
|
3194
3194
|
return new pa(v.x, v.y, I.x - v.x, I.y - v.y);
|
|
3195
|
-
},
|
|
3195
|
+
}, Gt.prototype.clone = function() {
|
|
3196
3196
|
var u = this.sx, v = this.shy, I = this.shx, D = this.sy, K = this.tx, lt = this.ty;
|
|
3197
|
-
return new
|
|
3198
|
-
}, p.Matrix =
|
|
3197
|
+
return new Gt(u, v, I, D, K, lt);
|
|
3198
|
+
}, p.Matrix = Gt;
|
|
3199
3199
|
var wr = p.matrixMult = function(u, v) {
|
|
3200
3200
|
return v.multiply(u);
|
|
3201
|
-
}, yr = new
|
|
3201
|
+
}, yr = new Gt(1, 0, 0, 1, 0, 0);
|
|
3202
3202
|
p.unitMatrix = p.identityMatrix = yr;
|
|
3203
3203
|
var Tn = function(u, v) {
|
|
3204
3204
|
if (!ke[u]) {
|
|
@@ -3226,7 +3226,7 @@ function Mt(n) {
|
|
|
3226
3226
|
}, ni = p.__private__.newAdditionalObject = function() {
|
|
3227
3227
|
var u = { objId: an(), content: "" };
|
|
3228
3228
|
return gt.push(u), u;
|
|
3229
|
-
}, jr = an(),
|
|
3229
|
+
}, jr = an(), Gn = an(), ir = p.__private__.decodeColorString = function(u) {
|
|
3230
3230
|
var v = u.split(" ");
|
|
3231
3231
|
if (v.length !== 2 || v[1] !== "g" && v[1] !== "G")
|
|
3232
3232
|
v.length !== 5 || v[4] !== "k" && v[4] !== "K" || (v = [(1 - v[0]) * (1 - v[3]), (1 - v[1]) * (1 - v[3]), (1 - v[2]) * (1 - v[3]), "r"]);
|
|
@@ -3291,17 +3291,17 @@ function Mt(n) {
|
|
|
3291
3291
|
P(">>"), Ft.data.length !== 0 && (P("stream"), P(Et(Ft.data)), P("endstream"));
|
|
3292
3292
|
}, ri = p.__private__.putPage = function(u) {
|
|
3293
3293
|
var v = u.number, I = u.data, D = u.objId, K = u.contentsObjId;
|
|
3294
|
-
sn(D, !0), P("<</Type /Page"), P("/Parent " + u.rootDictionaryObjId + " 0 R"), P("/Resources " + u.resourceDictionaryObjId + " 0 R"), P("/MediaBox [" + parseFloat(X(u.mediaBox.bottomLeftX)) + " " + parseFloat(X(u.mediaBox.bottomLeftY)) + " " + X(u.mediaBox.topRightX) + " " + X(u.mediaBox.topRightY) + "]"), u.cropBox !== null && P("/CropBox [" + X(u.cropBox.bottomLeftX) + " " + X(u.cropBox.bottomLeftY) + " " + X(u.cropBox.topRightX) + " " + X(u.cropBox.topRightY) + "]"), u.bleedBox !== null && P("/BleedBox [" + X(u.bleedBox.bottomLeftX) + " " + X(u.bleedBox.bottomLeftY) + " " + X(u.bleedBox.topRightX) + " " + X(u.bleedBox.topRightY) + "]"), u.trimBox !== null && P("/TrimBox [" + X(u.trimBox.bottomLeftX) + " " + X(u.trimBox.bottomLeftY) + " " + X(u.trimBox.topRightX) + " " + X(u.trimBox.topRightY) + "]"), u.artBox !== null && P("/ArtBox [" + X(u.artBox.bottomLeftX) + " " + X(u.artBox.bottomLeftY) + " " + X(u.artBox.topRightX) + " " + X(u.artBox.topRightY) + "]"), typeof u.userUnit == "number" && u.userUnit !== 1 && P("/UserUnit " + u.userUnit), be.publish("putPage", { objId: D, pageContext:
|
|
3294
|
+
sn(D, !0), P("<</Type /Page"), P("/Parent " + u.rootDictionaryObjId + " 0 R"), P("/Resources " + u.resourceDictionaryObjId + " 0 R"), P("/MediaBox [" + parseFloat(X(u.mediaBox.bottomLeftX)) + " " + parseFloat(X(u.mediaBox.bottomLeftY)) + " " + X(u.mediaBox.topRightX) + " " + X(u.mediaBox.topRightY) + "]"), u.cropBox !== null && P("/CropBox [" + X(u.cropBox.bottomLeftX) + " " + X(u.cropBox.bottomLeftY) + " " + X(u.cropBox.topRightX) + " " + X(u.cropBox.topRightY) + "]"), u.bleedBox !== null && P("/BleedBox [" + X(u.bleedBox.bottomLeftX) + " " + X(u.bleedBox.bottomLeftY) + " " + X(u.bleedBox.topRightX) + " " + X(u.bleedBox.topRightY) + "]"), u.trimBox !== null && P("/TrimBox [" + X(u.trimBox.bottomLeftX) + " " + X(u.trimBox.bottomLeftY) + " " + X(u.trimBox.topRightX) + " " + X(u.trimBox.topRightY) + "]"), u.artBox !== null && P("/ArtBox [" + X(u.artBox.bottomLeftX) + " " + X(u.artBox.bottomLeftY) + " " + X(u.artBox.topRightX) + " " + X(u.artBox.topRightY) + "]"), typeof u.userUnit == "number" && u.userUnit !== 1 && P("/UserUnit " + u.userUnit), be.publish("putPage", { objId: D, pageContext: Vt[v], pageNumber: v, page: I }), P("/Contents " + K + " 0 R"), P(">>"), P("endobj");
|
|
3295
3295
|
var lt = I.join(`
|
|
3296
3296
|
`);
|
|
3297
|
-
return q ===
|
|
3297
|
+
return q === G && (lt += `
|
|
3298
3298
|
Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
3299
3299
|
}, ar = p.__private__.putPages = function() {
|
|
3300
3300
|
var u, v, I = [];
|
|
3301
3301
|
for (u = 1; u <= le; u++)
|
|
3302
|
-
|
|
3302
|
+
Vt[u].objId = an(), Vt[u].contentsObjId = an();
|
|
3303
3303
|
for (u = 1; u <= le; u++)
|
|
3304
|
-
I.push(ri({ number: u, data: _t[u], objId:
|
|
3304
|
+
I.push(ri({ number: u, data: _t[u], objId: Vt[u].objId, contentsObjId: Vt[u].contentsObjId, mediaBox: Vt[u].mediaBox, cropBox: Vt[u].cropBox, bleedBox: Vt[u].bleedBox, trimBox: Vt[u].trimBox, artBox: Vt[u].artBox, userUnit: Vt[u].userUnit, rootDictionaryObjId: jr, resourceDictionaryObjId: Gn }));
|
|
3305
3305
|
sn(jr, !0), P("<</Type /Pages");
|
|
3306
3306
|
var D = "/Kids [";
|
|
3307
3307
|
for (v = 0; v < le; v++)
|
|
@@ -3410,7 +3410,7 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3410
3410
|
return String.fromCharCode.apply(void 0, Xt);
|
|
3411
3411
|
}(u, v).replace(/\\/g, "\\\\").replace(/\(/g, "\\(").replace(/\)/g, "\\)");
|
|
3412
3412
|
}, oa = p.__private__.beginPage = function(u) {
|
|
3413
|
-
_t[++le] = [],
|
|
3413
|
+
_t[++le] = [], Vt[le] = { objId: 0, contentsObjId: 0, userUnit: Number(l), artBox: null, bleedBox: null, cropBox: null, trimBox: null, mediaBox: { bottomLeftX: 0, bottomLeftY: 0, topRightX: Number(u[0]), topRightY: Number(u[1]) } }, Ha(le), Dt(_t[B]);
|
|
3414
3414
|
}, za = function(u, v) {
|
|
3415
3415
|
var I, D, K;
|
|
3416
3416
|
switch (t = v || t, typeof u == "string" && (I = S(u.toLowerCase()), Array.isArray(I) && (D = I[0], K = I[1])), Array.isArray(u) && (D = u[0] * ne, K = u[1] * ne), isNaN(D) && (D = s[0], K = s[1]), (D > 14400 || K > 14400) && (Se.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"), D = Math.min(14400, D), K = Math.min(14400, K)), s = [D, K], t.substr(0, 1)) {
|
|
@@ -3420,14 +3420,14 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3420
3420
|
case "p":
|
|
3421
3421
|
D > K && (s = [K, D]);
|
|
3422
3422
|
}
|
|
3423
|
-
oa(s),
|
|
3423
|
+
oa(s), Vs(Jt), P(Di), ca !== 0 && P(ca + " J"), Rr !== 0 && P(Rr + " j"), be.publish("addPage", { pageNumber: le });
|
|
3424
3424
|
}, la = function(u) {
|
|
3425
|
-
u > 0 && u <= le && (_t.splice(u, 1),
|
|
3425
|
+
u > 0 && u <= le && (_t.splice(u, 1), Vt.splice(u, 1), le--, B > le && (B = le), this.setPage(B));
|
|
3426
3426
|
}, Ha = function(u) {
|
|
3427
3427
|
u > 0 && u <= le && (B = u);
|
|
3428
3428
|
}, Wa = p.__private__.getNumberOfPages = p.getNumberOfPages = function() {
|
|
3429
3429
|
return _t.length - 1;
|
|
3430
|
-
},
|
|
3430
|
+
}, Va = function(u, v, I) {
|
|
3431
3431
|
var D, K = void 0;
|
|
3432
3432
|
return I = I || {}, u = u !== void 0 ? u : se[Bt].fontName, v = v !== void 0 ? v : se[Bt].fontStyle, D = u.toLowerCase(), oe[D] !== void 0 && oe[D][v] !== void 0 ? K = oe[D][v] : oe[u] !== void 0 && oe[u][v] !== void 0 ? K = oe[u][v] : I.disableWarning === !1 && Se.warn("Unable to look up font label for font '" + u + "', '" + v + "'. Refer to getFontList() for available fonts."), K || I.noFallback || (K = oe.times[v]) == null && (K = oe.times.normal), K;
|
|
3433
3433
|
}, sr = p.__private__.putInfo = function() {
|
|
@@ -3475,14 +3475,14 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3475
3475
|
P("trailer"), P("<<"), P("/Size " + (J + 1)), P("/Root " + J + " 0 R"), P("/Info " + (J - 1) + " 0 R"), m !== null && P("/Encrypt " + on.oid + " 0 R"), P("/ID [ <" + ot + "> <" + ot + "> ]"), P(">>");
|
|
3476
3476
|
}, Xe = p.__private__.putHeader = function() {
|
|
3477
3477
|
P("%PDF-" + j), P("%ºß¬à");
|
|
3478
|
-
},
|
|
3478
|
+
}, Ga = p.__private__.putXRef = function() {
|
|
3479
3479
|
var u = "0000000000";
|
|
3480
3480
|
P("xref"), P("0 " + (J + 1)), P("0000000000 65535 f ");
|
|
3481
3481
|
for (var v = 1; v <= J; v++)
|
|
3482
3482
|
typeof Z[v] == "function" ? P((u + Z[v]()).slice(-10) + " 00000 n ") : Z[v] !== void 0 ? P((u + Z[v]).slice(-10) + " 00000 n ") : P("0000000000 00000 n ");
|
|
3483
3483
|
}, or = p.__private__.buildDocument = function() {
|
|
3484
3484
|
var u;
|
|
3485
|
-
J = 0, st = 0, at = [], Z = [], gt = [], jr = an(),
|
|
3485
|
+
J = 0, st = 0, at = [], Z = [], gt = [], jr = an(), Gn = an(), Dt(at), be.publish("buildDocument"), Xe(), ar(), function() {
|
|
3486
3486
|
be.publish("putAdditionalObjects");
|
|
3487
3487
|
for (var I = 0; I < gt.length; I++) {
|
|
3488
3488
|
var D = gt[I];
|
|
@@ -3503,9 +3503,9 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3503
3503
|
var D;
|
|
3504
3504
|
for (D in Ut)
|
|
3505
3505
|
Ut.hasOwnProperty(D) && (Ut[D] instanceof $r ? Ei(Ut[D]) : Ut[D] instanceof xi && Oi(Ut[D], I));
|
|
3506
|
-
}(u), be.publish("putResources"), u.forEach(sa), sa({ resourcesOid:
|
|
3506
|
+
}(u), be.publish("putResources"), u.forEach(sa), sa({ resourcesOid: Gn, objectOid: Number.MAX_SAFE_INTEGER }), be.publish("postPutResources"), m !== null && (on.oid = De(), P("<<"), P("/Filter /Standard"), P("/V " + on.v), P("/R " + on.r), P("/U <" + on.toHexString(on.U) + ">"), P("/O <" + on.toHexString(on.O) + ">"), P("/P " + on.P), P(">>"), P("endobj")), sr(), ji();
|
|
3507
3507
|
var v = st;
|
|
3508
|
-
return
|
|
3508
|
+
return Ga(), Ms(), P("startxref"), P("" + v), P("%%EOF"), Dt(_t[B]), at.join(`
|
|
3509
3509
|
`);
|
|
3510
3510
|
}, Bi = p.__private__.getBlob = function(u) {
|
|
3511
3511
|
return new Blob([ae(u)], { type: "application/pdf" });
|
|
@@ -3632,16 +3632,16 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3632
3632
|
var Ya = p.__private__.getPageInfo = p.getPageInfo = function(u) {
|
|
3633
3633
|
if (isNaN(u) || u % 1 != 0)
|
|
3634
3634
|
throw new Error("Invalid argument passed to jsPDF.getPageInfo");
|
|
3635
|
-
return { objId:
|
|
3635
|
+
return { objId: Vt[u].objId, pageNumber: u, pageContext: Vt[u] };
|
|
3636
3636
|
}, Rs = p.__private__.getPageInfoByObjId = function(u) {
|
|
3637
3637
|
if (isNaN(u) || u % 1 != 0)
|
|
3638
3638
|
throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");
|
|
3639
|
-
for (var v in
|
|
3640
|
-
if (
|
|
3639
|
+
for (var v in Vt)
|
|
3640
|
+
if (Vt[v].objId === u)
|
|
3641
3641
|
break;
|
|
3642
3642
|
return Ya(v);
|
|
3643
3643
|
}, Ts = p.__private__.getCurrentPageInfo = p.getCurrentPageInfo = function() {
|
|
3644
|
-
return { objId:
|
|
3644
|
+
return { objId: Vt[B].objId, pageNumber: B, pageContext: Vt[B] };
|
|
3645
3645
|
};
|
|
3646
3646
|
p.addPage = function() {
|
|
3647
3647
|
return za.apply(this, arguments), this;
|
|
@@ -3652,15 +3652,15 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3652
3652
|
}, p.movePage = function(u, v) {
|
|
3653
3653
|
var I, D;
|
|
3654
3654
|
if (u > v) {
|
|
3655
|
-
I = _t[u], D =
|
|
3655
|
+
I = _t[u], D = Vt[u];
|
|
3656
3656
|
for (var K = u; K > v; K--)
|
|
3657
|
-
_t[K] = _t[K - 1],
|
|
3658
|
-
_t[v] = I,
|
|
3657
|
+
_t[K] = _t[K - 1], Vt[K] = Vt[K - 1];
|
|
3658
|
+
_t[v] = I, Vt[v] = D, this.setPage(v);
|
|
3659
3659
|
} else if (u < v) {
|
|
3660
|
-
I = _t[u], D =
|
|
3660
|
+
I = _t[u], D = Vt[u];
|
|
3661
3661
|
for (var lt = u; lt < v; lt++)
|
|
3662
|
-
_t[lt] = _t[lt + 1],
|
|
3663
|
-
_t[v] = I,
|
|
3662
|
+
_t[lt] = _t[lt + 1], Vt[lt] = Vt[lt + 1];
|
|
3663
|
+
_t[v] = I, Vt[v] = D, this.setPage(v);
|
|
3664
3664
|
}
|
|
3665
3665
|
return this;
|
|
3666
3666
|
}, p.deletePage = function() {
|
|
@@ -3671,7 +3671,7 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3671
3671
|
var Fe = I;
|
|
3672
3672
|
I = v, v = u, u = Fe;
|
|
3673
3673
|
}
|
|
3674
|
-
if (arguments[3] instanceof
|
|
3674
|
+
if (arguments[3] instanceof Gt == 0 ? (Et = arguments[4], Ft = arguments[5], _e(de = arguments[3]) === "object" && de !== null || (typeof Et == "string" && (Ft = Et, Et = null), typeof de == "string" && (Ft = de, de = null), typeof de == "number" && (Et = de, de = null), D = { flags: de, angle: Et, align: Ft })) : (R("The transform parameter of text() with a Matrix value"), Ne = K), isNaN(v) || isNaN(I) || u == null)
|
|
3675
3675
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
3676
3676
|
if (u.length === 0)
|
|
3677
3677
|
return Ae;
|
|
@@ -3724,16 +3724,16 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3724
3724
|
}
|
|
3725
3725
|
if ((te = D.maxWidth || 0) > 0 && (typeof u == "string" ? u = Ae.splitTextToSize(u, te) : Object.prototype.toString.call(u) === "[object Array]" && (u = u.reduce(function(Pe, Ie) {
|
|
3726
3726
|
return Pe.concat(Ae.splitTextToSize(Ie, te));
|
|
3727
|
-
}, []))), lt = { text: u, x: v, y: I, options: D, mutex: { pdfEscape: Un, activeFontKey: Bt, fonts: se, activeFontSize: yt } }, be.publish("preProcessText", lt), u = lt.text, Et = (D = lt.options).angle, Ne instanceof
|
|
3728
|
-
Et *= Math.PI / 180, D.rotationDirection === 0 && (Et = -Et), q ===
|
|
3727
|
+
}, []))), lt = { text: u, x: v, y: I, options: D, mutex: { pdfEscape: Un, activeFontKey: Bt, fonts: se, activeFontSize: yt } }, be.publish("preProcessText", lt), u = lt.text, Et = (D = lt.options).angle, Ne instanceof Gt == 0 && Et && typeof Et == "number") {
|
|
3728
|
+
Et *= Math.PI / 180, D.rotationDirection === 0 && (Et = -Et), q === G && (Et = -Et);
|
|
3729
3729
|
var va = Math.cos(Et), fr = Math.sin(Et);
|
|
3730
|
-
Ne = new
|
|
3730
|
+
Ne = new Gt(va, fr, -fr, va, 0, 0);
|
|
3731
3731
|
} else
|
|
3732
|
-
Et && Et instanceof
|
|
3733
|
-
q !==
|
|
3732
|
+
Et && Et instanceof Gt && (Ne = Et);
|
|
3733
|
+
q !== G || Ne || (Ne = yr), (Xt = D.charSpace || qi) !== void 0 && (Te += X(z(Xt)) + ` Tc
|
|
3734
3734
|
`, this.setCharSpace(this.getCharSpace() || 0)), ($e = D.horizontalScale) !== void 0 && (Te += X(100 * $e) + ` Tz
|
|
3735
3735
|
`), D.lang;
|
|
3736
|
-
var yn = -1, es = D.renderingMode !== void 0 ? D.renderingMode : D.stroke,
|
|
3736
|
+
var yn = -1, es = D.renderingMode !== void 0 ? D.renderingMode : D.stroke, Vi = Ae.internal.getCurrentPageInfo().pageContext;
|
|
3737
3737
|
switch (es) {
|
|
3738
3738
|
case 0:
|
|
3739
3739
|
case !1:
|
|
@@ -3769,14 +3769,14 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3769
3769
|
case "addToPathForClipping":
|
|
3770
3770
|
yn = 7;
|
|
3771
3771
|
}
|
|
3772
|
-
var ns =
|
|
3772
|
+
var ns = Vi.usedRenderingMode !== void 0 ? Vi.usedRenderingMode : -1;
|
|
3773
3773
|
yn !== -1 ? Te += yn + ` Tr
|
|
3774
3774
|
` : ns !== -1 && (Te += `0 Tr
|
|
3775
|
-
`), yn !== -1 && (
|
|
3776
|
-
var zn, di = yt * cn, ba = Ae.internal.pageSize.getWidth(),
|
|
3775
|
+
`), yn !== -1 && (Vi.usedRenderingMode = yn), Ft = D.align || "left";
|
|
3776
|
+
var zn, di = yt * cn, ba = Ae.internal.pageSize.getWidth(), Gi = se[Bt];
|
|
3777
3777
|
Xt = D.charSpace || qi, te = D.maxWidth || 0, de = Object.assign({ autoencode: !0, noBOM: !0 }, D.flags);
|
|
3778
3778
|
var pi = [], wa = function(Pe) {
|
|
3779
|
-
return Ae.getStringUnitWidth(Pe, { font:
|
|
3779
|
+
return Ae.getStringUnitWidth(Pe, { font: Gi, charSpace: Xt, fontSize: yt, doKerning: !1 }) * yt / Sr;
|
|
3780
3780
|
};
|
|
3781
3781
|
if (Object.prototype.toString.call(u) === "[object Array]") {
|
|
3782
3782
|
var xn;
|
|
@@ -3794,7 +3794,7 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3794
3794
|
u = [], dn = mt.length;
|
|
3795
3795
|
for (var Ji = 0; Ji < dn; Ji++)
|
|
3796
3796
|
u.push(mt[Ji]);
|
|
3797
|
-
} else if (Ft === "justify" &&
|
|
3797
|
+
} else if (Ft === "justify" && Gi.encoding === "Identity-H") {
|
|
3798
3798
|
u = [], dn = mt.length, te = te !== 0 ? te : ba;
|
|
3799
3799
|
for (var gi = 0, Ze = 0; Ze < dn; Ze++)
|
|
3800
3800
|
if (xn = Ze === 0 ? Ar(I) : -di, Ln = Ze === 0 ? _r(v) : gi, Ze < dn - 1) {
|
|
@@ -3826,7 +3826,7 @@ Q`), sn(K, !0), qn({ data: lt, filters: Jn(), objectId: K }), P("endobj"), D;
|
|
|
3826
3826
|
})), mt = li(u), u = [];
|
|
3827
3827
|
for (var vi, bi, Ur, kr = Array.isArray(mt[0]) ? 1 : 0, zr = "", Xi = function(Pe, Ie, We) {
|
|
3828
3828
|
var Qe = "";
|
|
3829
|
-
return We instanceof
|
|
3829
|
+
return We instanceof Gt ? (We = typeof D.angle == "number" ? wr(We, new Gt(1, 0, 0, 1, Pe, Ie)) : wr(new Gt(1, 0, 0, 1, Pe, Ie), We), q === G && (We = wr(new Gt(1, 0, 0, -1, 0, 0), We)), Qe = We.join(" ") + ` Tm
|
|
3830
3830
|
`) : Qe = X(Pe) + " " + X(Ie) + ` Td
|
|
3831
3831
|
`, Qe;
|
|
3832
3832
|
}, pn = 0; pn < mt.length; pn++) {
|
|
@@ -3904,7 +3904,7 @@ T* `) : u.join(` Tj
|
|
|
3904
3904
|
var Ti = function(u, v) {
|
|
3905
3905
|
_e(v) === "object" ? Us(v, u) : P(u);
|
|
3906
3906
|
}, fa = function(u) {
|
|
3907
|
-
u === null || q ===
|
|
3907
|
+
u === null || q === G && u === void 0 || (u = Ja(u), P(u));
|
|
3908
3908
|
};
|
|
3909
3909
|
function qs(u, v, I, D, K) {
|
|
3910
3910
|
var lt = new xi(v || this.boundingBox, I || this.xStep, D || this.yStep, this.gState, K || this.matrix);
|
|
@@ -3917,7 +3917,7 @@ T* `) : u.join(` Tj
|
|
|
3917
3917
|
if (D instanceof $r)
|
|
3918
3918
|
P("q"), P(zs(v)), D.gState && p.setGState(D.gState), P(u.matrix.toString() + " cm"), P("/" + I + " sh"), P("Q");
|
|
3919
3919
|
else if (D instanceof xi) {
|
|
3920
|
-
var K = new
|
|
3920
|
+
var K = new Gt(1, 0, 0, -1, 0, oi());
|
|
3921
3921
|
u.matrix && (K = K.multiply(u.matrix || yr), I = qs.call(D, u.key, u.boundingBox, u.xStep, u.yStep, K).id), P("q"), P("/Pattern cs"), P("/" + I + " scn"), D.gState && p.setGState(D.gState), P(v), P("Q");
|
|
3922
3922
|
}
|
|
3923
3923
|
}, zs = function(u) {
|
|
@@ -3944,7 +3944,7 @@ T* `) : u.join(` Tj
|
|
|
3944
3944
|
p.__private__.line = p.line = function(u, v, I, D, K) {
|
|
3945
3945
|
if (isNaN(u) || isNaN(v) || isNaN(I) || isNaN(D) || !lr(K))
|
|
3946
3946
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
3947
|
-
return q ===
|
|
3947
|
+
return q === V ? this.lines([[I - u, D - v]], u, v, [1, 1], K || "S") : this.lines([[I - u, D - v]], u, v, [1, 1]).stroke();
|
|
3948
3948
|
}, p.__private__.lines = p.lines = function(u, v, I, D, K, lt) {
|
|
3949
3949
|
var mt, Et, Ft, Xt, te, de, $e, Ne, Ae, Fe, Re, Te;
|
|
3950
3950
|
if (typeof u == "number" && (Te = I, I = v, v = u, u = Te), D = D || [1, 1], lt = lt || !1, isNaN(v) || isNaN(I) || !Array.isArray(u) || !Array.isArray(D) || !lr(K) || typeof lt != "boolean")
|
|
@@ -3973,7 +3973,7 @@ T* `) : u.join(` Tj
|
|
|
3973
3973
|
}, p.__private__.rect = p.rect = function(u, v, I, D, K) {
|
|
3974
3974
|
if (isNaN(u) || isNaN(v) || isNaN(I) || isNaN(D) || !lr(K))
|
|
3975
3975
|
throw new Error("Invalid arguments passed to jsPDF.rect");
|
|
3976
|
-
return q ===
|
|
3976
|
+
return q === V && (D = -D), P([X(z(u)), X(U(v)), X(z(I)), X(z(D)), "re"].join(" ")), fa(K), this;
|
|
3977
3977
|
}, p.__private__.triangle = p.triangle = function(u, v, I, D, K, lt, mt) {
|
|
3978
3978
|
if (isNaN(u) || isNaN(v) || isNaN(I) || isNaN(D) || isNaN(K) || isNaN(lt) || !lr(mt))
|
|
3979
3979
|
throw new Error("Invalid arguments passed to jsPDF.triangle");
|
|
@@ -3993,10 +3993,10 @@ T* `) : u.join(` Tj
|
|
|
3993
3993
|
throw new Error("Invalid arguments passed to jsPDF.circle");
|
|
3994
3994
|
return this.ellipse(u, v, I, I, D);
|
|
3995
3995
|
}, p.setFont = function(u, v, I) {
|
|
3996
|
-
return I && (v = dt(v, I)), Bt =
|
|
3996
|
+
return I && (v = dt(v, I)), Bt = Va(u, v, { disableWarning: !1 }), this;
|
|
3997
3997
|
};
|
|
3998
3998
|
var Hs = p.__private__.getFont = p.getFont = function() {
|
|
3999
|
-
return se[
|
|
3999
|
+
return se[Va.apply(p, arguments)];
|
|
4000
4000
|
};
|
|
4001
4001
|
p.__private__.getFontList = p.getFontList = function() {
|
|
4002
4002
|
var u, v, I = {};
|
|
@@ -4011,7 +4011,7 @@ T* `) : u.join(` Tj
|
|
|
4011
4011
|
};
|
|
4012
4012
|
var ai, Jt = n.lineWidth || 0.200025, Ws = p.__private__.getLineWidth = p.getLineWidth = function() {
|
|
4013
4013
|
return Jt;
|
|
4014
|
-
},
|
|
4014
|
+
}, Vs = p.__private__.setLineWidth = p.setLineWidth = function(u) {
|
|
4015
4015
|
return Jt = u, P(X(z(u)) + " w"), this;
|
|
4016
4016
|
};
|
|
4017
4017
|
p.__private__.setLineDash = Mt.API.setLineDash = Mt.API.setLineDashPattern = function(u, v) {
|
|
@@ -4021,7 +4021,7 @@ T* `) : u.join(` Tj
|
|
|
4021
4021
|
return X(z(I));
|
|
4022
4022
|
}).join(" "), v = X(z(v)), P("[" + u + "] " + v + " d"), this;
|
|
4023
4023
|
};
|
|
4024
|
-
var
|
|
4024
|
+
var Gs = p.__private__.getLineHeight = p.getLineHeight = function() {
|
|
4025
4025
|
return yt * ai;
|
|
4026
4026
|
};
|
|
4027
4027
|
p.__private__.getLineHeight = p.getLineHeight = function() {
|
|
@@ -4036,7 +4036,7 @@ T* `) : u.join(` Tj
|
|
|
4036
4036
|
var _r = p.__private__.getHorizontalCoordinate = function(u) {
|
|
4037
4037
|
return z(u);
|
|
4038
4038
|
}, Ar = p.__private__.getVerticalCoordinate = function(u) {
|
|
4039
|
-
return q ===
|
|
4039
|
+
return q === G ? u : Vt[B].mediaBox.topRightY - Vt[B].mediaBox.bottomLeftY - z(u);
|
|
4040
4040
|
}, Ks = p.__private__.getHorizontalCoordinateString = p.getHorizontalCoordinateString = function(u) {
|
|
4041
4041
|
return X(_r(u));
|
|
4042
4042
|
}, Xs = p.__private__.getVerticalCoordinateString = p.getVerticalCoordinateString = function(u) {
|
|
@@ -4151,10 +4151,10 @@ T* `) : u.join(` Tj
|
|
|
4151
4151
|
isNaN(mt) || (lt = parseFloat(mt));
|
|
4152
4152
|
} }), this;
|
|
4153
4153
|
}, Ui = function() {
|
|
4154
|
-
this.page = le, this.currentPage = B, this.pages = _t.slice(0), this.pagesContext =
|
|
4154
|
+
this.page = le, this.currentPage = B, this.pages = _t.slice(0), this.pagesContext = Vt.slice(0), this.x = Tt, this.y = He, this.matrix = ge, this.width = Xa(B), this.height = Lr(B), this.outputDestination = St, this.id = "", this.objectNumber = -1;
|
|
4155
4155
|
};
|
|
4156
4156
|
Ui.prototype.restore = function() {
|
|
4157
|
-
le = this.page, B = this.currentPage,
|
|
4157
|
+
le = this.page, B = this.currentPage, Vt = this.pagesContext, _t = this.pages, Tt = this.x, He = this.y, ge = this.matrix, Nr(B, this.width), $a(B, this.height), St = this.outputDestination;
|
|
4158
4158
|
};
|
|
4159
4159
|
var ga = function(u, v, I, D, K) {
|
|
4160
4160
|
rr.push(new Ui()), le = B = 0, _t = [], Tt = u, He = v, ge = K, oa([I, D]);
|
|
@@ -4192,16 +4192,16 @@ T* `) : u.join(` Tj
|
|
|
4192
4192
|
I = v[K][0], D = v[K][1], u.subscribe.apply(u, [I].concat(typeof D == "function" ? [D] : D));
|
|
4193
4193
|
}(be, Mt.API.events) : p[zi] = Mt.API[zi]);
|
|
4194
4194
|
function Xa(u) {
|
|
4195
|
-
return
|
|
4195
|
+
return Vt[u].mediaBox.topRightX - Vt[u].mediaBox.bottomLeftX;
|
|
4196
4196
|
}
|
|
4197
4197
|
function Nr(u, v) {
|
|
4198
|
-
|
|
4198
|
+
Vt[u].mediaBox.topRightX = v + Vt[u].mediaBox.bottomLeftX;
|
|
4199
4199
|
}
|
|
4200
4200
|
function Lr(u) {
|
|
4201
|
-
return
|
|
4201
|
+
return Vt[u].mediaBox.topRightY - Vt[u].mediaBox.bottomLeftY;
|
|
4202
4202
|
}
|
|
4203
4203
|
function $a(u, v) {
|
|
4204
|
-
|
|
4204
|
+
Vt[u].mediaBox.topRightY = v + Vt[u].mediaBox.bottomLeftY;
|
|
4205
4205
|
}
|
|
4206
4206
|
var Za = p.getPageWidth = function(u) {
|
|
4207
4207
|
return Xa(u = u || B) / ne;
|
|
@@ -4212,7 +4212,7 @@ T* `) : u.join(` Tj
|
|
|
4212
4212
|
}, ts = p.setPageHeight = function(u, v) {
|
|
4213
4213
|
$a(u, v * ne);
|
|
4214
4214
|
};
|
|
4215
|
-
return p.internal = { pdfEscape: Un, getStyle: Ja, getFont: Hs, getFontSize: Ct, getCharSpace: Zs, getTextColor: $s, getLineHeight:
|
|
4215
|
+
return p.internal = { pdfEscape: Un, getStyle: Ja, getFont: Hs, getFontSize: Ct, getCharSpace: Zs, getTextColor: $s, getLineHeight: Gs, getLineHeightFactor: Js, getLineWidth: Ws, write: Lt, getHorizontalCoordinate: _r, getVerticalCoordinate: Ar, getCoordinateString: Ks, getVerticalCoordinateString: Xs, collections: {}, newObject: De, newAdditionalObject: ni, newObjectDeferred: an, newObjectDeferredBegin: sn, getFilters: Jn, putStream: qn, events: be, scaleFactor: ne, pageSize: { getWidth: function() {
|
|
4216
4216
|
return Za(B);
|
|
4217
4217
|
}, setWidth: function(u) {
|
|
4218
4218
|
Qa(B, u);
|
|
@@ -4226,7 +4226,7 @@ T* `) : u.join(` Tj
|
|
|
4226
4226
|
};
|
|
4227
4227
|
}, output: Mi, getNumberOfPages: Wa, get pages() {
|
|
4228
4228
|
return _t;
|
|
4229
|
-
}, out: P, f2: N, f3: E, getPageInfo: Ya, getPageInfoByObjId: Rs, getCurrentPageInfo: Ts, getPDFVersion: O, Point: si, Rectangle: pa, Matrix:
|
|
4229
|
+
}, out: P, f2: N, f3: E, getPageInfo: Ya, getPageInfoByObjId: Rs, getCurrentPageInfo: Ts, getPDFVersion: O, Point: si, Rectangle: pa, Matrix: Gt, hasHotfix: xr }, Object.defineProperty(p.internal.pageSize, "width", { get: function() {
|
|
4230
4230
|
return Za(B);
|
|
4231
4231
|
}, set: function(u) {
|
|
4232
4232
|
Qa(B, u);
|
|
@@ -4255,11 +4255,11 @@ na.prototype.lsbFirstWord = function(n) {
|
|
|
4255
4255
|
e.push(String.fromCharCode(parseInt(n.substr(t, 2), 16)));
|
|
4256
4256
|
return e.join("");
|
|
4257
4257
|
}, na.prototype.processOwnerPassword = function(n, e) {
|
|
4258
|
-
return Vo(
|
|
4258
|
+
return Go(Vo(e).substr(0, 5), n);
|
|
4259
4259
|
}, na.prototype.encryptor = function(n, e) {
|
|
4260
|
-
var t =
|
|
4260
|
+
var t = Vo(this.encryptionKey + String.fromCharCode(255 & n, n >> 8 & 255, n >> 16 & 255, 255 & e, e >> 8 & 255)).substr(0, 10);
|
|
4261
4261
|
return function(i) {
|
|
4262
|
-
return
|
|
4262
|
+
return Go(t, i);
|
|
4263
4263
|
};
|
|
4264
4264
|
}, Ta.prototype.equals = function(n) {
|
|
4265
4265
|
var e, t = "id,objectNumber,equals";
|
|
@@ -4365,16 +4365,16 @@ var Pn = function(n, e) {
|
|
|
4365
4365
|
`;
|
|
4366
4366
|
break;
|
|
4367
4367
|
}
|
|
4368
|
-
for (var S = "",
|
|
4369
|
-
if (s.hasOwnProperty(
|
|
4368
|
+
for (var S = "", V = 0, G = 0; G < s.length; G++)
|
|
4369
|
+
if (s.hasOwnProperty(G)) {
|
|
4370
4370
|
var q = !1;
|
|
4371
|
-
if (s[
|
|
4372
|
-
if ((_ + 2) * (
|
|
4371
|
+
if (s[G].length !== 1 && M !== s[G].length - 1) {
|
|
4372
|
+
if ((_ + 2) * (V + 2) + 2 > c)
|
|
4373
4373
|
continue t;
|
|
4374
|
-
S += s[
|
|
4374
|
+
S += s[G][M], q = !0, O = G, G--;
|
|
4375
4375
|
} else {
|
|
4376
|
-
S = (S += s[
|
|
4377
|
-
var it = parseInt(
|
|
4376
|
+
S = (S += s[G][M] + " ").substr(S.length - 1) == " " ? S.substr(0, S.length - 1) : S;
|
|
4377
|
+
var it = parseInt(G), vt = h(it, S, a), dt = G >= s.length - 1;
|
|
4378
4378
|
if (vt && !dt) {
|
|
4379
4379
|
S += " ", M = 0;
|
|
4380
4380
|
continue;
|
|
@@ -4382,10 +4382,10 @@ var Pn = function(n, e) {
|
|
|
4382
4382
|
if (vt || dt) {
|
|
4383
4383
|
if (dt)
|
|
4384
4384
|
O = it;
|
|
4385
|
-
else if (n.multiline && (_ + 2) * (
|
|
4385
|
+
else if (n.multiline && (_ + 2) * (V + 2) + 2 > c)
|
|
4386
4386
|
continue t;
|
|
4387
4387
|
} else {
|
|
4388
|
-
if (!n.multiline || (_ + 2) * (
|
|
4388
|
+
if (!n.multiline || (_ + 2) * (V + 2) + 2 > c)
|
|
4389
4389
|
continue t;
|
|
4390
4390
|
O = it;
|
|
4391
4391
|
}
|
|
@@ -4417,7 +4417,7 @@ var Pn = function(n, e) {
|
|
|
4417
4417
|
e += $t(d) + " " + $t(p) + ` Td
|
|
4418
4418
|
`, e += "(" + Ci(X) + `) Tj
|
|
4419
4419
|
`, e += -$t(d) + ` 0 Td
|
|
4420
|
-
`, p = -(a + 2), m = 0, j = q ? O : O + 1,
|
|
4420
|
+
`, p = -(a + 2), m = 0, j = q ? O : O + 1, V++, S = "";
|
|
4421
4421
|
}
|
|
4422
4422
|
break;
|
|
4423
4423
|
}
|
|
@@ -4487,8 +4487,8 @@ var Pn = function(n, e) {
|
|
|
4487
4487
|
a && function(O, M) {
|
|
4488
4488
|
for (var S in O)
|
|
4489
4489
|
if (O.hasOwnProperty(S)) {
|
|
4490
|
-
var
|
|
4491
|
-
M.internal.newObjectDeferredBegin(
|
|
4490
|
+
var V = S, G = O[S];
|
|
4491
|
+
M.internal.newObjectDeferredBegin(G.objId, !0), _e(G) === "object" && typeof G.putStream == "function" && G.putStream(), delete O[V];
|
|
4492
4492
|
}
|
|
4493
4493
|
}(s.internal.acroformPlugin.xForms, s);
|
|
4494
4494
|
})(t, n);
|
|
@@ -4645,8 +4645,8 @@ var er = function n() {
|
|
|
4645
4645
|
return;
|
|
4646
4646
|
a = "FieldObject" + n.FieldNum++;
|
|
4647
4647
|
}
|
|
4648
|
-
var S = function(
|
|
4649
|
-
return
|
|
4648
|
+
var S = function(V) {
|
|
4649
|
+
return V;
|
|
4650
4650
|
};
|
|
4651
4651
|
return this.scope && (S = this.scope.internal.getEncryptor(this.objId)), "(" + Ci(S(a)) + ")";
|
|
4652
4652
|
}, set: function(S) {
|
|
@@ -5241,7 +5241,7 @@ function jf(n) {
|
|
|
5241
5241
|
this.internal.write("q"), ot ? (this.internal.write([1, "0", "0", 1, nt(N), ct(E + U), "cm"].join(" ")), this.internal.write(T.join(" ")), this.internal.write([nt(z), "0", "0", nt(U), "0", "0", "cm"].join(" "))) : this.internal.write([nt(z), "0", "0", nt(U), nt(N), ct(E + U), "cm"].join(" ")), this.isAdvancedAPI() && this.internal.write([1, 0, 0, -1, 0, 0, "cm"].join(" ")), this.internal.write("/I" + rt.index + " Do"), this.internal.write("Q");
|
|
5242
5242
|
}, S = n.color_spaces = { DEVICE_RGB: "DeviceRGB", DEVICE_GRAY: "DeviceGray", DEVICE_CMYK: "DeviceCMYK", CAL_GREY: "CalGray", CAL_RGB: "CalRGB", LAB: "Lab", ICC_BASED: "ICCBased", INDEXED: "Indexed", PATTERN: "Pattern", SEPARATION: "Separation", DEVICE_N: "DeviceN" };
|
|
5243
5243
|
n.decode = { DCT_DECODE: "DCTDecode", FLATE_DECODE: "FlateDecode", LZW_DECODE: "LZWDecode", JPX_DECODE: "JPXDecode", JBIG2_DECODE: "JBIG2Decode", ASCII85_DECODE: "ASCII85Decode", ASCII_HEX_DECODE: "ASCIIHexDecode", RUN_LENGTH_DECODE: "RunLengthDecode", CCITT_FAX_DECODE: "CCITTFaxDecode" };
|
|
5244
|
-
var
|
|
5244
|
+
var V = n.image_compression = { NONE: "NONE", FAST: "FAST", MEDIUM: "MEDIUM", SLOW: "SLOW" }, G = n.__addimage__.sHashCode = function(N) {
|
|
5245
5245
|
var E, z, U = 0;
|
|
5246
5246
|
if (typeof N == "string")
|
|
5247
5247
|
for (z = N.length, E = 0; E < z; E++)
|
|
@@ -5297,9 +5297,9 @@ function jf(n) {
|
|
|
5297
5297
|
if (k(N) && (N = p(N, E)), E = s(N, E), !_(E))
|
|
5298
5298
|
throw new Error("addImage does not support files of type '" + E + "', please ensure that a plugin for '" + E + "' support is added.");
|
|
5299
5299
|
if (((ft = z) == null || ft.length === 0) && (z = function(ct) {
|
|
5300
|
-
return typeof ct == "string" || vt(ct) ?
|
|
5300
|
+
return typeof ct == "string" || vt(ct) ? G(ct) : vt(ct.data) ? G(ct.data) : null;
|
|
5301
5301
|
}(N)), (rt = j.call(this, z)) || (N instanceof Uint8Array || E === "RGBA" || (ot = N, N = dt(N)), rt = this["process" + E.toUpperCase()](N, m.call(this), z, function(ct) {
|
|
5302
|
-
return ct && typeof ct == "string" && (ct = ct.toUpperCase()), ct in n.image_compression ? ct :
|
|
5302
|
+
return ct && typeof ct == "string" && (ct = ct.toUpperCase()), ct in n.image_compression ? ct : V.NONE;
|
|
5303
5303
|
}(U), ot)), !rt)
|
|
5304
5304
|
throw new Error("An unknown error occurred whilst processing the image.");
|
|
5305
5305
|
return rt;
|
|
@@ -5361,10 +5361,10 @@ function(n) {
|
|
|
5361
5361
|
this.internal.write(" " + i.object.objId + " 0 R ");
|
|
5362
5362
|
break;
|
|
5363
5363
|
case "text":
|
|
5364
|
-
var O = this.internal.newAdditionalObject(), M = this.internal.newAdditionalObject(), S = this.internal.getEncryptor(O.objId),
|
|
5365
|
-
a = "<</Type /Annot /Subtype /Text " + (s = "/Rect [" + c(i.bounds.x) + " " + l(i.bounds.y + i.bounds.h) + " " + c(i.bounds.x + i.bounds.w) + " " + l(i.bounds.y) + "] ") + "/Contents (" + p(S(i.contents)) + ")", a += " /Popup " + M.objId + " 0 R", a += " /P " + h.objId + " 0 R", a += " /T (" + p(S(
|
|
5366
|
-
var
|
|
5367
|
-
a = "<</Type /Annot /Subtype /Popup " + (s = "/Rect [" + c(i.bounds.x + 30) + " " + l(i.bounds.y + i.bounds.h) + " " + c(i.bounds.x + i.bounds.w + 30) + " " + l(i.bounds.y) + "] ") + " /Parent " +
|
|
5364
|
+
var O = this.internal.newAdditionalObject(), M = this.internal.newAdditionalObject(), S = this.internal.getEncryptor(O.objId), V = i.title || "Note";
|
|
5365
|
+
a = "<</Type /Annot /Subtype /Text " + (s = "/Rect [" + c(i.bounds.x) + " " + l(i.bounds.y + i.bounds.h) + " " + c(i.bounds.x + i.bounds.w) + " " + l(i.bounds.y) + "] ") + "/Contents (" + p(S(i.contents)) + ")", a += " /Popup " + M.objId + " 0 R", a += " /P " + h.objId + " 0 R", a += " /T (" + p(S(V)) + ") >>", O.content = a;
|
|
5366
|
+
var G = O.objId + " 0 R";
|
|
5367
|
+
a = "<</Type /Annot /Subtype /Popup " + (s = "/Rect [" + c(i.bounds.x + 30) + " " + l(i.bounds.y + i.bounds.h) + " " + c(i.bounds.x + i.bounds.w + 30) + " " + l(i.bounds.y) + "] ") + " /Parent " + G, i.open && (a += " /Open true"), a += " >>", M.content = a, this.internal.write(O.objId, "0 R", M.objId, "0 R");
|
|
5368
5368
|
break;
|
|
5369
5369
|
case "freetext":
|
|
5370
5370
|
s = "/Rect [" + c(i.bounds.x) + " " + l(i.bounds.y) + " " + c(i.bounds.x + i.bounds.w) + " " + l(i.bounds.y + i.bounds.h) + "] ";
|
|
@@ -5456,10 +5456,10 @@ function(n) {
|
|
|
5456
5456
|
var m = n.__arabicParser__.arabicLetterHasMedialForm = function(O) {
|
|
5457
5457
|
return c(O) && a(O) && e[O.charCodeAt(0)].length == 4;
|
|
5458
5458
|
}, _ = n.__arabicParser__.resolveLigatures = function(O) {
|
|
5459
|
-
var M = 0, S = t,
|
|
5459
|
+
var M = 0, S = t, V = "", G = 0;
|
|
5460
5460
|
for (M = 0; M < O.length; M += 1)
|
|
5461
|
-
S[O.charCodeAt(M)] !== void 0 ? (
|
|
5462
|
-
return
|
|
5461
|
+
S[O.charCodeAt(M)] !== void 0 ? (G++, typeof (S = S[O.charCodeAt(M)]) == "number" && (V += String.fromCharCode(S), S = t, G = 0), M === O.length - 1 && (S = t, V += O.charAt(M - (G - 1)), M -= G - 1, G = 0)) : (S = t, V += O.charAt(M - G), M -= G, G = 0);
|
|
5462
|
+
return V;
|
|
5463
5463
|
};
|
|
5464
5464
|
n.__arabicParser__.isArabicDiacritic = function(O) {
|
|
5465
5465
|
return O !== void 0 && i[O.charCodeAt(0)] !== void 0;
|
|
@@ -5467,19 +5467,19 @@ function(n) {
|
|
|
5467
5467
|
var k = n.__arabicParser__.getCorrectForm = function(O, M, S) {
|
|
5468
5468
|
return c(O) ? a(O) === !1 ? -1 : !d(O) || !c(M) && !c(S) || !c(S) && l(M) || l(O) && !c(M) || l(O) && h(M) || l(O) && l(M) ? 0 : m(O) && c(M) && !l(M) && c(S) && d(S) ? 3 : l(O) || !c(S) ? 1 : 2 : -1;
|
|
5469
5469
|
}, p = function(O) {
|
|
5470
|
-
var M = 0, S = 0,
|
|
5470
|
+
var M = 0, S = 0, V = 0, G = "", q = "", it = "", vt = (O = O || "").split("\\s+"), dt = [];
|
|
5471
5471
|
for (M = 0; M < vt.length; M += 1) {
|
|
5472
5472
|
for (dt.push(""), S = 0; S < vt[M].length; S += 1)
|
|
5473
|
-
|
|
5473
|
+
G = vt[M][S], q = vt[M][S - 1], it = vt[M][S + 1], c(G) ? (V = k(G, q, it), dt[M] += V !== -1 ? String.fromCharCode(e[G.charCodeAt(0)][V]) : G) : dt[M] += G;
|
|
5474
5474
|
dt[M] = _(dt[M]);
|
|
5475
5475
|
}
|
|
5476
5476
|
return dt.join(" ");
|
|
5477
5477
|
}, j = n.__arabicParser__.processArabic = n.processArabic = function() {
|
|
5478
5478
|
var O, M = typeof arguments[0] == "string" ? arguments[0] : arguments[0].text, S = [];
|
|
5479
5479
|
if (Array.isArray(M)) {
|
|
5480
|
-
var
|
|
5481
|
-
for (S = [],
|
|
5482
|
-
Array.isArray(M[
|
|
5480
|
+
var V = 0;
|
|
5481
|
+
for (S = [], V = 0; V < M.length; V += 1)
|
|
5482
|
+
Array.isArray(M[V]) ? S.push([p(M[V][0]), M[V][1], M[V][2]]) : S.push([p(M[V])]);
|
|
5483
5483
|
O = S;
|
|
5484
5484
|
} else
|
|
5485
5485
|
O = p(M);
|
|
@@ -5609,11 +5609,11 @@ function(n) {
|
|
|
5609
5609
|
h = String(h);
|
|
5610
5610
|
}
|
|
5611
5611
|
var S = d.maxWidth;
|
|
5612
|
-
S > 0 ? typeof h == "string" ? h = this.splitTextToSize(h, S) : Object.prototype.toString.call(h) === "[object Array]" && (h = h.reduce(function(
|
|
5613
|
-
return
|
|
5612
|
+
S > 0 ? typeof h == "string" ? h = this.splitTextToSize(h, S) : Object.prototype.toString.call(h) === "[object Array]" && (h = h.reduce(function(G, q) {
|
|
5613
|
+
return G.concat(M.splitTextToSize(q, S));
|
|
5614
5614
|
}, [])) : h = Array.isArray(h) ? h : [h];
|
|
5615
|
-
for (var
|
|
5616
|
-
p < (O = this.getStringUnitWidth(h[
|
|
5615
|
+
for (var V = 0; V < h.length; V++)
|
|
5616
|
+
p < (O = this.getStringUnitWidth(h[V], { font: _ }) * m) && (p = O);
|
|
5617
5617
|
return p !== 0 && (j = h.length), { w: p /= k, h: Math.max((j * m * this.getLineHeightFactor() - m * (this.getLineHeightFactor() - 1)) / k, 0) };
|
|
5618
5618
|
}, n.cellAddPage = function() {
|
|
5619
5619
|
i.call(this), this.addPage();
|
|
@@ -5629,36 +5629,36 @@ function(n) {
|
|
|
5629
5629
|
n.table = function(h, d, m, _, k) {
|
|
5630
5630
|
if (i.call(this), !m)
|
|
5631
5631
|
throw new Error("No data for PDF table.");
|
|
5632
|
-
var p, j, O, M, S = [],
|
|
5632
|
+
var p, j, O, M, S = [], V = [], G = [], q = {}, it = {}, vt = [], dt = [], X = (k = k || {}).autoSize || !1, R = k.printHeaders !== !1, tt = k.css && k.css["font-size"] !== void 0 ? 16 * k.css["font-size"] : k.fontSize || 12, N = k.margins || Object.assign({ width: this.getPageWidth() }, e), E = typeof k.padding == "number" ? k.padding : 3, z = k.headerBackgroundColor || "#c8c8c8", U = k.headerTextColor || "#000";
|
|
5633
5633
|
if (s.call(this), this.internal.__cell__.printHeaders = R, this.internal.__cell__.margins = N, this.internal.__cell__.table_font_size = tt, this.internal.__cell__.padding = E, this.internal.__cell__.headerBackgroundColor = z, this.internal.__cell__.headerTextColor = U, this.setFontSize(tt), _ == null)
|
|
5634
|
-
|
|
5634
|
+
V = S = Object.keys(m[0]), G = S.map(function() {
|
|
5635
5635
|
return "left";
|
|
5636
5636
|
});
|
|
5637
5637
|
else if (Array.isArray(_) && _e(_[0]) === "object")
|
|
5638
5638
|
for (S = _.map(function(At) {
|
|
5639
5639
|
return At.name;
|
|
5640
|
-
}), G = _.map(function(At) {
|
|
5641
|
-
return At.prompt || At.name || "";
|
|
5642
5640
|
}), V = _.map(function(At) {
|
|
5641
|
+
return At.prompt || At.name || "";
|
|
5642
|
+
}), G = _.map(function(At) {
|
|
5643
5643
|
return At.align || "left";
|
|
5644
5644
|
}), p = 0; p < _.length; p += 1)
|
|
5645
5645
|
it[_[p].name] = 0.7499990551181103 * _[p].width;
|
|
5646
5646
|
else
|
|
5647
|
-
Array.isArray(_) && typeof _[0] == "string" && (
|
|
5647
|
+
Array.isArray(_) && typeof _[0] == "string" && (V = S = _, G = S.map(function() {
|
|
5648
5648
|
return "left";
|
|
5649
5649
|
}));
|
|
5650
5650
|
if (X || Array.isArray(_) && typeof _[0] == "string")
|
|
5651
5651
|
for (p = 0; p < S.length; p += 1) {
|
|
5652
5652
|
for (q[M = S[p]] = m.map(function(At) {
|
|
5653
5653
|
return At[M];
|
|
5654
|
-
}), this.setFont(void 0, "bold"), vt.push(this.getTextDimensions(
|
|
5654
|
+
}), this.setFont(void 0, "bold"), vt.push(this.getTextDimensions(V[p], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w), j = q[M], this.setFont(void 0, "normal"), O = 0; O < j.length; O += 1)
|
|
5655
5655
|
vt.push(this.getTextDimensions(j[O], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w);
|
|
5656
5656
|
it[M] = Math.max.apply(null, vt) + E + E, vt = [];
|
|
5657
5657
|
}
|
|
5658
5658
|
if (R) {
|
|
5659
5659
|
var rt = {};
|
|
5660
5660
|
for (p = 0; p < S.length; p += 1)
|
|
5661
|
-
rt[S[p]] = {}, rt[S[p]].text =
|
|
5661
|
+
rt[S[p]] = {}, rt[S[p]].text = V[p], rt[S[p]].align = G[p];
|
|
5662
5662
|
var ot = l.call(this, rt, it);
|
|
5663
5663
|
dt = S.map(function(At) {
|
|
5664
5664
|
return new a(h, d, it[At], ot, rt[At].text, void 0, rt[At].align);
|
|
@@ -5707,7 +5707,7 @@ function(n) {
|
|
|
5707
5707
|
k.length > 0 && this.setTableHeaderRow(k), this.setFont(void 0, "normal"), t = !1;
|
|
5708
5708
|
};
|
|
5709
5709
|
}(Mt.API);
|
|
5710
|
-
var Bf = { italic: ["italic", "oblique", "normal"], oblique: ["oblique", "italic", "normal"], normal: ["normal", "oblique", "italic"] }, Mf = ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded"], Jo = jf(Mf), Rf = [100, 200, 300, 400, 500, 600, 700, 800, 900],
|
|
5710
|
+
var Bf = { italic: ["italic", "oblique", "normal"], oblique: ["oblique", "italic", "normal"], normal: ["normal", "oblique", "italic"] }, Mf = ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded"], Jo = jf(Mf), Rf = [100, 200, 300, 400, 500, 600, 700, 800, 900], V1 = jf(Rf);
|
|
5711
5711
|
function jo(n) {
|
|
5712
5712
|
var e = n.family.replace(/"|'/g, "").toLowerCase(), t = function(a) {
|
|
5713
5713
|
return Bf[a = a || "normal"] ? a : "normal";
|
|
@@ -5727,7 +5727,7 @@ function Ou(n, e, t, i) {
|
|
|
5727
5727
|
if (n[e[s]])
|
|
5728
5728
|
return n[e[s]];
|
|
5729
5729
|
}
|
|
5730
|
-
var
|
|
5730
|
+
var G1 = { "sans-serif": "helvetica", fixed: "courier", monospace: "courier", terminal: "courier", cursive: "times", fantasy: "times", serif: "times" }, ju = { caption: "times", icon: "times", menu: "times", "message-box": "times", "small-caption": "times", "status-bar": "times" };
|
|
5731
5731
|
function Bu(n) {
|
|
5732
5732
|
return [n.stretch, n.style, n.weight, n.family].join(" ");
|
|
5733
5733
|
}
|
|
@@ -5761,16 +5761,16 @@ function qu(n, e, t, i, s) {
|
|
|
5761
5761
|
}
|
|
5762
5762
|
n = function(h, d, m, _) {
|
|
5763
5763
|
for (var k, p = h.length / d, j = new Uint8Array(h.length + p), O = [K1, Uu, zu, Hu, Wu], M = 0; M < p; M += 1) {
|
|
5764
|
-
var S = M * d,
|
|
5764
|
+
var S = M * d, V = h.subarray(S, S + d);
|
|
5765
5765
|
if (_)
|
|
5766
|
-
j.set(_(
|
|
5766
|
+
j.set(_(V, m, k), S + M);
|
|
5767
5767
|
else {
|
|
5768
|
-
for (var
|
|
5769
|
-
q[it] = O[it](
|
|
5768
|
+
for (var G = O.length, q = [], it = 0; it < G; it += 1)
|
|
5769
|
+
q[it] = O[it](V, m, k);
|
|
5770
5770
|
var vt = $1(q.concat());
|
|
5771
5771
|
j.set(q[vt], S + M);
|
|
5772
5772
|
}
|
|
5773
|
-
k =
|
|
5773
|
+
k = V;
|
|
5774
5774
|
}
|
|
5775
5775
|
return j;
|
|
5776
5776
|
}(n, e, Math.ceil(t * i / 8), c);
|
|
@@ -5835,7 +5835,7 @@ function Mo(n, e, t) {
|
|
|
5835
5835
|
var i = e * t, s = Math.floor(i / 8), a = 16 - (i - 8 * s + t), c = (1 << t) - 1;
|
|
5836
5836
|
return Tf(n, s) >> a & c;
|
|
5837
5837
|
}
|
|
5838
|
-
function
|
|
5838
|
+
function Vu(n, e, t, i) {
|
|
5839
5839
|
var s = t * i, a = Math.floor(s / 8), c = 16 - (s - 8 * a + i), l = (1 << i) - 1, h = (e & l) << c;
|
|
5840
5840
|
(function(d, m, _) {
|
|
5841
5841
|
if (m + 1 < d.byteLength)
|
|
@@ -5894,7 +5894,7 @@ function Z1(n) {
|
|
|
5894
5894
|
}
|
|
5895
5895
|
break;
|
|
5896
5896
|
case 44:
|
|
5897
|
-
var M = n[e++] | n[e++] << 8, S = n[e++] | n[e++] << 8,
|
|
5897
|
+
var M = n[e++] | n[e++] << 8, S = n[e++] | n[e++] << 8, V = n[e++] | n[e++] << 8, G = n[e++] | n[e++] << 8, q = n[e++], it = q >> 6 & 1, vt = 1 << 1 + (7 & q), dt = l, X = h, R = !1;
|
|
5898
5898
|
q >> 7 && (R = !0, dt = e, X = vt, e += 3 * vt);
|
|
5899
5899
|
var tt = e;
|
|
5900
5900
|
for (e++; ; ) {
|
|
@@ -5905,7 +5905,7 @@ function Z1(n) {
|
|
|
5905
5905
|
break;
|
|
5906
5906
|
e += N;
|
|
5907
5907
|
}
|
|
5908
|
-
m.push({ x: M, y: S, width:
|
|
5908
|
+
m.push({ x: M, y: S, width: V, height: G, has_local_palette: R, palette_offset: dt, palette_size: X, data_offset: tt, data_length: e - tt, transparent_index: k, interlaced: !!it, delay: _, disposal: p });
|
|
5909
5909
|
break;
|
|
5910
5910
|
case 59:
|
|
5911
5911
|
d = !1;
|
|
@@ -5926,7 +5926,7 @@ function Z1(n) {
|
|
|
5926
5926
|
if (rt > 536870912)
|
|
5927
5927
|
throw new Error("Image dimensions exceed 512MB, which is too large.");
|
|
5928
5928
|
var ot = new Uint8Array(rt);
|
|
5929
|
-
|
|
5929
|
+
Gu(n, U.data_offset, ot, rt);
|
|
5930
5930
|
var ft = U.palette_offset, nt = U.transparent_index;
|
|
5931
5931
|
nt === null && (nt = 256);
|
|
5932
5932
|
var ct = U.width, At = t - ct, wt = ct, x = 4 * (U.y * t + U.x), B = 4 * ((U.y + U.height) * t + U.x), T = x, H = 4 * At;
|
|
@@ -5946,7 +5946,7 @@ function Z1(n) {
|
|
|
5946
5946
|
if (rt > 536870912)
|
|
5947
5947
|
throw new Error("Image dimensions exceed 512MB, which is too large.");
|
|
5948
5948
|
var ot = new Uint8Array(rt);
|
|
5949
|
-
|
|
5949
|
+
Gu(n, U.data_offset, ot, rt);
|
|
5950
5950
|
var ft = U.palette_offset, nt = U.transparent_index;
|
|
5951
5951
|
nt === null && (nt = 256);
|
|
5952
5952
|
var ct = U.width, At = t - ct, wt = ct, x = 4 * (U.y * t + U.x), B = 4 * ((U.y + U.height) * t + U.x), T = x, H = 4 * At;
|
|
@@ -5963,7 +5963,7 @@ function Z1(n) {
|
|
|
5963
5963
|
}
|
|
5964
5964
|
};
|
|
5965
5965
|
}
|
|
5966
|
-
function
|
|
5966
|
+
function Gu(n, e, t, i) {
|
|
5967
5967
|
for (var s = n[e++], a = 1 << s, c = a + 1, l = c + 1, h = s + 1, d = (1 << h) - 1, m = 0, _ = 0, k = 0, p = n[e++], j = new Int32Array(4096), O = null; ; ) {
|
|
5968
5968
|
for (; m < 16 && p !== 0; )
|
|
5969
5969
|
_ |= n[e++] << m, m += 8, p === 1 ? p = n[e++] : --p;
|
|
@@ -5973,15 +5973,15 @@ function Vu(n, e, t, i) {
|
|
|
5973
5973
|
if (_ >>= h, m -= h, M !== a) {
|
|
5974
5974
|
if (M === c)
|
|
5975
5975
|
break;
|
|
5976
|
-
for (var S = M < l ? M : O,
|
|
5977
|
-
|
|
5978
|
-
var q =
|
|
5979
|
-
if (k +
|
|
5976
|
+
for (var S = M < l ? M : O, V = 0, G = S; G > a; )
|
|
5977
|
+
G = j[G] >> 8, ++V;
|
|
5978
|
+
var q = G;
|
|
5979
|
+
if (k + V + (S !== M ? 1 : 0) > i)
|
|
5980
5980
|
return void Se.log("Warning, gif stream longer than expected.");
|
|
5981
5981
|
t[k++] = q;
|
|
5982
|
-
var it = k +=
|
|
5983
|
-
for (S !== M && (t[k++] = q),
|
|
5984
|
-
|
|
5982
|
+
var it = k += V;
|
|
5983
|
+
for (S !== M && (t[k++] = q), G = S; V--; )
|
|
5984
|
+
G = j[G], t[--it] = 255 & G, G >>= 8;
|
|
5985
5985
|
O !== null && l < 4096 && (j[l++] = O << 8 | q, l >= d + 1 && h < 12 && (++h, d = d << 1 | 1)), O = M;
|
|
5986
5986
|
} else
|
|
5987
5987
|
l = c + 1, d = (1 << (h = s + 1)) - 1, O = null;
|
|
@@ -6021,7 +6021,7 @@ function Vu(n, e, t, i) {
|
|
|
6021
6021
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
6022
6022
|
*/
|
|
6023
6023
|
function Ro(n) {
|
|
6024
|
-
var e, t, i, s, a, c = Math.floor, l = new Array(64), h = new Array(64), d = new Array(64), m = new Array(64), _ = new Array(65535), k = new Array(65535), p = new Array(64), j = new Array(64), O = [], M = 0, S = 7,
|
|
6024
|
+
var e, t, i, s, a, c = Math.floor, l = new Array(64), h = new Array(64), d = new Array(64), m = new Array(64), _ = new Array(65535), k = new Array(65535), p = new Array(64), j = new Array(64), O = [], M = 0, S = 7, V = new Array(64), G = new Array(64), q = new Array(64), it = new Array(256), vt = new Array(2048), dt = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], X = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], R = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], tt = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], N = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], E = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], z = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], U = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], rt = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
|
|
6025
6025
|
function ot(x, B) {
|
|
6026
6026
|
for (var T = 0, H = 0, J = new Array(), Z = 1; Z <= 16; Z++) {
|
|
6027
6027
|
for (var at = 1; at <= x[Z]; at++)
|
|
@@ -6045,20 +6045,20 @@ function Ro(n) {
|
|
|
6045
6045
|
var Ct, zt, qt, ve, ue, Zt, he, fe, Bt, ne, Tt = 0;
|
|
6046
6046
|
for (Bt = 0; Bt < 8; ++Bt) {
|
|
6047
6047
|
Ct = yt[Tt], zt = yt[Tt + 1], qt = yt[Tt + 2], ve = yt[Tt + 3], ue = yt[Tt + 4], Zt = yt[Tt + 5], he = yt[Tt + 6];
|
|
6048
|
-
var He = Ct + (fe = yt[Tt + 7]), ge = Ct - fe, se = zt + he, oe = zt - he, je = qt + Zt, Ut = qt - Zt, ke = ve + ue, Yt = ve - ue, Qt = He + ke, Be = He - ke, le = se + je,
|
|
6048
|
+
var He = Ct + (fe = yt[Tt + 7]), ge = Ct - fe, se = zt + he, oe = zt - he, je = qt + Zt, Ut = qt - Zt, ke = ve + ue, Yt = ve - ue, Qt = He + ke, Be = He - ke, le = se + je, Vt = se - je;
|
|
6049
6049
|
yt[Tt] = Qt + le, yt[Tt + 4] = Qt - le;
|
|
6050
|
-
var be = 0.707106781 * (
|
|
6050
|
+
var be = 0.707106781 * (Vt + Be);
|
|
6051
6051
|
yt[Tt + 2] = Be + be, yt[Tt + 6] = Be - be;
|
|
6052
|
-
var ei = 0.382683433 * ((Qt = Yt + Ut) - (
|
|
6053
|
-
yt[Tt + 5] = wr + hn, yt[Tt + 3] = wr - hn, yt[Tt + 1] =
|
|
6052
|
+
var ei = 0.382683433 * ((Qt = Yt + Ut) - (Vt = oe + ge)), hn = 0.5411961 * Qt + ei, br = 1.306562965 * Vt + ei, rr = 0.707106781 * (le = Ut + oe), Gt = ge + rr, wr = ge - rr;
|
|
6053
|
+
yt[Tt + 5] = wr + hn, yt[Tt + 3] = wr - hn, yt[Tt + 1] = Gt + br, yt[Tt + 7] = Gt - br, Tt += 8;
|
|
6054
6054
|
}
|
|
6055
6055
|
for (Tt = 0, Bt = 0; Bt < 8; ++Bt) {
|
|
6056
6056
|
Ct = yt[Tt], zt = yt[Tt + 8], qt = yt[Tt + 16], ve = yt[Tt + 24], ue = yt[Tt + 32], Zt = yt[Tt + 40], he = yt[Tt + 48];
|
|
6057
|
-
var yr = Ct + (fe = yt[Tt + 56]), Tn = Ct - fe, Dn = zt + he, De = zt - he, an = qt + Zt, sn = qt - Zt, ni = ve + ue, jr = ve - ue,
|
|
6058
|
-
yt[Tt] =
|
|
6057
|
+
var yr = Ct + (fe = yt[Tt + 56]), Tn = Ct - fe, Dn = zt + he, De = zt - he, an = qt + Zt, sn = qt - Zt, ni = ve + ue, jr = ve - ue, Gn = yr + ni, ir = yr - ni, Yn = Dn + an, Jn = Dn - an;
|
|
6058
|
+
yt[Tt] = Gn + Yn, yt[Tt + 32] = Gn - Yn;
|
|
6059
6059
|
var qn = 0.707106781 * (Jn + ir);
|
|
6060
6060
|
yt[Tt + 16] = ir + qn, yt[Tt + 48] = ir - qn;
|
|
6061
|
-
var ri = 0.382683433 * ((
|
|
6061
|
+
var ri = 0.382683433 * ((Gn = jr + sn) - (Jn = De + Tn)), ar = 0.5411961 * Gn + ri, ii = 1.306562965 * Jn + ri, Fi = 0.707106781 * (Yn = sn + De), Ei = Tn + Fi, Oi = Tn - Fi;
|
|
6062
6062
|
yt[Tt + 40] = Oi + ar, yt[Tt + 24] = Oi - ar, yt[Tt + 8] = Ei + ii, yt[Tt + 56] = Ei - ii, Tt++;
|
|
6063
6063
|
}
|
|
6064
6064
|
for (Bt = 0; Bt < 64; ++Bt)
|
|
@@ -6138,8 +6138,8 @@ function Ro(n) {
|
|
|
6138
6138
|
for (var Z, at, st, gt, _t, kt, St, Dt, P, Lt = x.data, ae = x.width, Ht = x.height, yt = 4 * ae, Wt = 0; Wt < Ht; ) {
|
|
6139
6139
|
for (Z = 0; Z < yt; ) {
|
|
6140
6140
|
for (_t = yt * Wt + Z, St = -1, Dt = 0, P = 0; P < 64; P++)
|
|
6141
|
-
kt = _t + (Dt = P >> 3) * yt + (St = 4 * (7 & P)), Wt + Dt >= Ht && (kt -= yt * (Wt + 1 + Dt - Ht)), Z + St >= yt && (kt -= Z + St - yt + 4), at = Lt[kt++], st = Lt[kt++], gt = Lt[kt++],
|
|
6142
|
-
T = At(
|
|
6141
|
+
kt = _t + (Dt = P >> 3) * yt + (St = 4 * (7 & P)), Wt + Dt >= Ht && (kt -= yt * (Wt + 1 + Dt - Ht)), Z + St >= yt && (kt -= Z + St - yt + 4), at = Lt[kt++], st = Lt[kt++], gt = Lt[kt++], V[P] = (vt[at] + vt[st + 256 | 0] + vt[gt + 512 | 0] >> 16) - 128, G[P] = (vt[at + 768 | 0] + vt[st + 1024 | 0] + vt[gt + 1280 | 0] >> 16) - 128, q[P] = (vt[at + 1280 | 0] + vt[st + 1536 | 0] + vt[gt + 1792 | 0] >> 16) - 128;
|
|
6142
|
+
T = At(V, d, T, e, i), H = At(G, m, H, t, s), J = At(q, m, J, t, s), Z += 32;
|
|
6143
6143
|
}
|
|
6144
6144
|
Wt += 8;
|
|
6145
6145
|
}
|
|
@@ -6275,7 +6275,7 @@ function Yu(n) {
|
|
|
6275
6275
|
this.value = this.g = 0;
|
|
6276
6276
|
}
|
|
6277
6277
|
function rt() {
|
|
6278
|
-
this.G = c(5, z), this.H = a(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = c(
|
|
6278
|
+
this.G = c(5, z), this.H = a(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = c(Gi, U);
|
|
6279
6279
|
}
|
|
6280
6280
|
function ot(r, o, f, g) {
|
|
6281
6281
|
e(r != null), e(o != null), e(2147483648 > g), r.Ca = 254, r.I = 0, r.b = -8, r.Ka = 0, r.oa = o, r.pa = f, r.Jd = o, r.Yc = f + g, r.Zc = 4 <= g ? f + g - 4 + 1 : f, at(r);
|
|
@@ -6486,7 +6486,7 @@ function Yu(n) {
|
|
|
6486
6486
|
function le() {
|
|
6487
6487
|
this.Rd = this.height = this.width = this.S = 0, this.f = {}, this.f.RGBA = new Qt(), this.f.kb = new Be(), this.sd = null;
|
|
6488
6488
|
}
|
|
6489
|
-
function
|
|
6489
|
+
function Vt() {
|
|
6490
6490
|
this.width = [0], this.height = [0], this.Pd = [0], this.Qd = [0], this.format = [0];
|
|
6491
6491
|
}
|
|
6492
6492
|
function be() {
|
|
@@ -6539,7 +6539,7 @@ function Yu(n) {
|
|
|
6539
6539
|
}
|
|
6540
6540
|
return 1;
|
|
6541
6541
|
}
|
|
6542
|
-
function
|
|
6542
|
+
function Gt(r) {
|
|
6543
6543
|
var o = r.ma, f = r.U, g = r.T;
|
|
6544
6544
|
return e(!(1 & r.ka)), 0 >= f || 0 >= g ? 0 : (f = o.Ib(r, o), o.Jb != null && o.Jb(r, o, f), o.Dc += f, 1);
|
|
6545
6545
|
}
|
|
@@ -6556,7 +6556,7 @@ function Yu(n) {
|
|
|
6556
6556
|
return (2 + (1 & r) << f) + wt(o, f) + 1;
|
|
6557
6557
|
}
|
|
6558
6558
|
function Dn(r, o) {
|
|
6559
|
-
return 120 < o ? o - 120 : 1 <= (f = ((f =
|
|
6559
|
+
return 120 < o ? o - 120 : 1 <= (f = ((f = Vf[o - 1]) >> 4) * r + (8 - (15 & f))) ? f : 1;
|
|
6560
6560
|
var f;
|
|
6561
6561
|
}
|
|
6562
6562
|
function De(r, o, f) {
|
|
@@ -6674,7 +6674,7 @@ function Yu(n) {
|
|
|
6674
6674
|
}
|
|
6675
6675
|
r.C = o, e(r.C <= r.i);
|
|
6676
6676
|
}
|
|
6677
|
-
function
|
|
6677
|
+
function Gn(r) {
|
|
6678
6678
|
var o;
|
|
6679
6679
|
if (0 < r.ua)
|
|
6680
6680
|
return 0;
|
|
@@ -6718,7 +6718,7 @@ function Yu(n) {
|
|
|
6718
6718
|
if (L & ht || (pt = sn(W, L, A)), e(pt != null), pt.Qb && (o[et] = pt.qb, xt = !0), !xt)
|
|
6719
6719
|
if (Z(C), pt.jc) {
|
|
6720
6720
|
bt = C, Rt = o;
|
|
6721
|
-
var Pt = et, re = pt.pd[T(bt) &
|
|
6721
|
+
var Pt = et, re = pt.pd[T(bt) & Gi - 1];
|
|
6722
6722
|
e(pt.jc), 256 > re.g ? (J(bt, bt.u + re.g), Rt[Pt] = re.value, bt = 0) : (J(bt, bt.u + re.g - 256), e(256 <= re.value), bt = re.value), bt == 0 && (xt = !0);
|
|
6723
6723
|
} else
|
|
6724
6724
|
bt = De(pt.G[0], pt.H[0], C);
|
|
@@ -6824,16 +6824,16 @@ function Yu(n) {
|
|
|
6824
6824
|
var Nt;
|
|
6825
6825
|
if (Nt = w)
|
|
6826
6826
|
e: {
|
|
6827
|
-
var
|
|
6827
|
+
var Ve, ee, pe, Ee = g, ln = y, _n = A, qe = et, gn = f, An = Ee.m, en = Ee.s, me = [null], we = 1, Ue = 0, ye = Gf[qe];
|
|
6828
6828
|
n:
|
|
6829
6829
|
for (; ; ) {
|
|
6830
6830
|
if (gn && wt(An, 1)) {
|
|
6831
|
-
var un = wt(An, 3) + 2, $n = yt(ln, un),
|
|
6832
|
-
if (!ar($n,
|
|
6831
|
+
var un = wt(An, 3) + 2, $n = yt(ln, un), Ge = yt(_n, un), Sn = $n * Ge;
|
|
6832
|
+
if (!ar($n, Ge, 0, Ee, me))
|
|
6833
6833
|
break n;
|
|
6834
|
-
for (me = me[0], en.xc = un,
|
|
6835
|
-
var Le = me[
|
|
6836
|
-
me[
|
|
6834
|
+
for (me = me[0], en.xc = un, Ve = 0; Ve < Sn; ++Ve) {
|
|
6835
|
+
var Le = me[Ve] >> 8 & 65535;
|
|
6836
|
+
me[Ve] = Le, Le >= we && (we = Le + 1);
|
|
6837
6837
|
}
|
|
6838
6838
|
}
|
|
6839
6839
|
if (An.h)
|
|
@@ -6853,43 +6853,43 @@ function Yu(n) {
|
|
|
6853
6853
|
break n;
|
|
6854
6854
|
}
|
|
6855
6855
|
var jn = Fn;
|
|
6856
|
-
for (
|
|
6857
|
-
var Ce = On[
|
|
6856
|
+
for (Ve = pe = 0; Ve < we; ++Ve) {
|
|
6857
|
+
var Ce = On[Ve], Bn = Ce.G, Zn = Ce.H, wi = 0, Cr = 1, fn = 0;
|
|
6858
6858
|
for (ee = 0; 5 > ee; ++ee) {
|
|
6859
6859
|
nn = pl[ee], Bn[ee] = jn, Zn[ee] = pe, !ee && 0 < qe && (nn += 1 << qe);
|
|
6860
6860
|
i: {
|
|
6861
|
-
var ds, lo = nn, ps = Ee, Sa = kn, dh = jn, ph = pe, uo = 0,
|
|
6861
|
+
var ds, lo = nn, ps = Ee, Sa = kn, dh = jn, ph = pe, uo = 0, Vr = ps.m, gh = wt(Vr, 1);
|
|
6862
6862
|
if (s(Sa, 0, 0, lo), gh) {
|
|
6863
|
-
var mh = wt(
|
|
6864
|
-
Sa[Nl] = 1, mh == 2 && (Sa[Nl = wt(
|
|
6863
|
+
var mh = wt(Vr, 1) + 1, vh = wt(Vr, 1), Nl = wt(Vr, vh == 0 ? 1 : 8);
|
|
6864
|
+
Sa[Nl] = 1, mh == 2 && (Sa[Nl = wt(Vr, 8)] = 1);
|
|
6865
6865
|
var gs = 1;
|
|
6866
6866
|
} else {
|
|
6867
|
-
var Ll = a(19), Sl = wt(
|
|
6867
|
+
var Ll = a(19), Sl = wt(Vr, 4) + 4;
|
|
6868
6868
|
if (19 < Sl) {
|
|
6869
6869
|
ps.a = 3;
|
|
6870
6870
|
var ms = 0;
|
|
6871
6871
|
break i;
|
|
6872
6872
|
}
|
|
6873
6873
|
for (ds = 0; ds < Sl; ++ds)
|
|
6874
|
-
Ll[Wf[ds]] = wt(
|
|
6875
|
-
var fo = void 0, ka = void 0, kl = ps, bh = Ll, vs = lo, Pl = Sa, ho = 0,
|
|
6874
|
+
Ll[Wf[ds]] = wt(Vr, 3);
|
|
6875
|
+
var fo = void 0, ka = void 0, kl = ps, bh = Ll, vs = lo, Pl = Sa, ho = 0, Gr = kl.m, Il = 8, Cl = c(128, z);
|
|
6876
6876
|
r:
|
|
6877
6877
|
for (; E(Cl, 0, 7, bh, 19); ) {
|
|
6878
|
-
if (wt(
|
|
6879
|
-
var wh = 2 + 2 * wt(
|
|
6880
|
-
if ((fo = 2 + wt(
|
|
6878
|
+
if (wt(Gr, 1)) {
|
|
6879
|
+
var wh = 2 + 2 * wt(Gr, 3);
|
|
6880
|
+
if ((fo = 2 + wt(Gr, wh)) > vs)
|
|
6881
6881
|
break r;
|
|
6882
6882
|
} else
|
|
6883
6883
|
fo = vs;
|
|
6884
6884
|
for (ka = 0; ka < vs && fo--; ) {
|
|
6885
|
-
Z(
|
|
6886
|
-
var Fl = Cl[0 + (127 & T(
|
|
6887
|
-
J(
|
|
6885
|
+
Z(Gr);
|
|
6886
|
+
var Fl = Cl[0 + (127 & T(Gr))];
|
|
6887
|
+
J(Gr, Gr.u + Fl.g);
|
|
6888
6888
|
var Zi = Fl.value;
|
|
6889
6889
|
if (16 > Zi)
|
|
6890
6890
|
Pl[ka++] = Zi, Zi != 0 && (Il = Zi);
|
|
6891
6891
|
else {
|
|
6892
|
-
var yh = Zi == 16, El = Zi - 16, xh = zf[El], Ol = wt(
|
|
6892
|
+
var yh = Zi == 16, El = Zi - 16, xh = zf[El], Ol = wt(Gr, Uf[El]) + xh;
|
|
6893
6893
|
if (ka + Ol > vs)
|
|
6894
6894
|
break r;
|
|
6895
6895
|
for (var _h = yh ? Il : 0; 0 < Ol--; )
|
|
@@ -6901,7 +6901,7 @@ function Yu(n) {
|
|
|
6901
6901
|
}
|
|
6902
6902
|
ho || (kl.a = 3), gs = ho;
|
|
6903
6903
|
}
|
|
6904
|
-
(gs = gs && !
|
|
6904
|
+
(gs = gs && !Vr.h) && (uo = E(dh, ph, 8, Sa, lo)), gs && uo != 0 ? ms = uo : (ps.a = 3, ms = 0);
|
|
6905
6905
|
}
|
|
6906
6906
|
if (ms == 0)
|
|
6907
6907
|
break n;
|
|
@@ -6914,7 +6914,7 @@ function Yu(n) {
|
|
|
6914
6914
|
}
|
|
6915
6915
|
if (Ce.nd = Cr, Ce.Qb = 0, Cr && (Ce.qb = (Bn[3][Zn[3] + 0].value << 24 | Bn[1][Zn[1] + 0].value << 16 | Bn[2][Zn[2] + 0].value) >>> 0, wi == 0 && 256 > Bn[0][Zn[0] + 0].value && (Ce.Qb = 1, Ce.qb += Bn[0][Zn[0] + 0].value << 8)), Ce.jc = !Ce.Qb && 6 > fn, Ce.jc) {
|
|
6916
6916
|
var bs, Fr = Ce;
|
|
6917
|
-
for (bs = 0; bs <
|
|
6917
|
+
for (bs = 0; bs < Gi; ++bs) {
|
|
6918
6918
|
var Yr = bs, Jr = Fr.pd[Yr], ws = Fr.G[0][Fr.H[0] + Yr];
|
|
6919
6919
|
256 <= ws.value ? (Jr.g = ws.g + 256, Jr.value = ws.value) : (Jr.g = 0, Jr.value = 0, Yr >>= an(ws, 8, Jr), Yr >>= an(Fr.G[1][Fr.H[1] + Yr], 16, Jr), Yr >>= an(Fr.G[2][Fr.H[2] + Yr], 0, Jr), an(Fr.G[3][Fr.H[3] + Yr], 24, Jr));
|
|
6920
6920
|
}
|
|
@@ -7004,7 +7004,7 @@ function Yu(n) {
|
|
|
7004
7004
|
function Wa() {
|
|
7005
7005
|
this.y = a(16), this.f = a(8), this.ea = a(8);
|
|
7006
7006
|
}
|
|
7007
|
-
function
|
|
7007
|
+
function Va() {
|
|
7008
7008
|
this.cb = this.a = 0, this.sc = "", this.m = new x(), this.Od = new Ei(), this.Kc = new Oi(), this.ed = new Ua(), this.Qa = new Bs(), this.Ic = this.$c = this.Aa = 0, this.D = new Ha(), this.Xb = this.Va = this.Hb = this.zb = this.yb = this.Ub = this.za = 0, this.Jc = c(8, x), this.ia = 0, this.pb = c(4, za), this.Pa = new qa(), this.Bd = this.kc = 0, this.Ac = [], this.Bc = 0, this.zc = [0, 0, 0, 0], this.Gd = Array(new Wa()), this.Hd = 0, this.rb = Array(new oa()), this.sb = 0, this.wa = Array(new Un()), this.Y = 0, this.oc = [], this.pc = 0, this.sa = [], this.ta = 0, this.qa = [], this.ra = 0, this.Ha = [], this.B = this.R = this.Ia = 0, this.Ec = [], this.M = this.ja = this.Vb = this.Fc = 0, this.ya = Array(new la()), this.L = this.aa = 0, this.gd = l([4, 2], Un), this.ga = null, this.Fa = [], this.Cc = this.qc = this.P = 0, this.Gb = [], this.Uc = 0, this.mb = [], this.nb = 0, this.rc = [], this.Ga = this.Vc = 0;
|
|
7009
7009
|
}
|
|
7010
7010
|
function sr(r, o) {
|
|
@@ -7014,13 +7014,13 @@ function Yu(n) {
|
|
|
7014
7014
|
this.T = this.U = this.ka = this.height = this.width = 0, this.y = [], this.f = [], this.ea = [], this.Rc = this.fa = this.W = this.N = this.O = 0, this.ma = "void", this.put = "VP8IoPutHook", this.ac = "VP8IoSetupHook", this.bc = "VP8IoTeardownHook", this.ha = this.Kb = 0, this.data = [], this.hb = this.ib = this.da = this.o = this.j = this.va = this.v = this.Da = this.ob = this.w = 0, this.F = [], this.J = 0;
|
|
7015
7015
|
}
|
|
7016
7016
|
function Ms() {
|
|
7017
|
-
var r = new
|
|
7017
|
+
var r = new Va();
|
|
7018
7018
|
return r != null && (r.a = 0, r.sc = "OK", r.cb = 0, r.Xb = 0, Na || (Na = Bi)), r;
|
|
7019
7019
|
}
|
|
7020
7020
|
function Xe(r, o, f) {
|
|
7021
7021
|
return r.a == 0 && (r.a = o, r.sc = f, r.cb = 0), 0;
|
|
7022
7022
|
}
|
|
7023
|
-
function
|
|
7023
|
+
function Ga(r, o, f) {
|
|
7024
7024
|
return 3 <= f && r[o + 0] == 157 && r[o + 1] == 1 && r[o + 2] == 42;
|
|
7025
7025
|
}
|
|
7026
7026
|
function or(r, o) {
|
|
@@ -7041,7 +7041,7 @@ function Yu(n) {
|
|
|
7041
7041
|
if (y.Rb) {
|
|
7042
7042
|
if (7 > b)
|
|
7043
7043
|
return Xe(r, 7, "cannot parse picture header");
|
|
7044
|
-
if (!
|
|
7044
|
+
if (!Ga(f, g, b))
|
|
7045
7045
|
return Xe(r, 3, "Bad code word");
|
|
7046
7046
|
A.c = 16383 & (f[g + 4] << 8 | f[g + 3]), A.Td = f[g + 4] >> 6, A.i = 16383 & (f[g + 6] << 8 | f[g + 5]), A.Ud = f[g + 6] >> 6, g += 7, b -= 7, r.za = A.c + 15 >> 4, r.Ub = A.i + 15 >> 4, o.width = A.c, o.height = A.i, o.Da = 0, o.j = 0, o.v = 0, o.va = o.width, o.o = o.height, o.da = 0, o.ib = o.width, o.hb = o.height, o.U = o.width, o.T = o.height, s((w = r.Pa).jb, 0, 255, w.jb.length), e((w = r.Qa) != null), w.Cb = 0, w.Bb = 0, w.Fb = 1, s(w.Zb, 0, 0, w.Zb.length), s(w.Lb, 0, 0, w.Lb);
|
|
7047
7047
|
}
|
|
@@ -7250,11 +7250,11 @@ function Yu(n) {
|
|
|
7250
7250
|
for (g = new Uint8Array([Jt(r[g - 1], r[g + 0], r[g + 1]), Jt(r[g + 0], r[g + 1], r[g + 2]), Jt(r[g + 1], r[g + 2], r[g + 3]), Jt(r[g + 2], r[g + 3], r[g + 4])]), f = 0; 4 > f; ++f)
|
|
7251
7251
|
i(r, o + 32 * f, g, 0, g.length);
|
|
7252
7252
|
}
|
|
7253
|
-
function
|
|
7253
|
+
function Vs(r, o) {
|
|
7254
7254
|
var f = r[o - 1], g = r[o - 1 + 32], b = r[o - 1 + 64], w = r[o - 1 + 96];
|
|
7255
7255
|
_t(r, o + 0, 16843009 * Jt(r[o - 1 - 32], f, g)), _t(r, o + 32, 16843009 * Jt(f, g, b)), _t(r, o + 64, 16843009 * Jt(g, b, w)), _t(r, o + 96, 16843009 * Jt(b, w, w));
|
|
7256
7256
|
}
|
|
7257
|
-
function
|
|
7257
|
+
function Gs(r, o) {
|
|
7258
7258
|
var f, g = 4;
|
|
7259
7259
|
for (f = 0; 4 > f; ++f)
|
|
7260
7260
|
g += r[o + f - 32] + r[o - 1 + 32 * f];
|
|
@@ -7461,7 +7461,7 @@ function Yu(n) {
|
|
|
7461
7461
|
o = 0;
|
|
7462
7462
|
else if (y.$a = 3 & A[L + 0], y.Z = A[L + 0] >> 2 & 3, y.Lc = A[L + 0] >> 4 & 3, L = A[L + 0] >> 6 & 3, 0 > y.$a || 1 < y.$a || 4 <= y.Z || 1 < y.Lc || L)
|
|
7463
7463
|
o = 0;
|
|
7464
|
-
else if ($.put =
|
|
7464
|
+
else if ($.put = Gt, $.ac = rr, $.bc = wr, $.ma = y, $.width = o.width, $.height = o.height, $.Da = o.Da, $.v = o.v, $.va = o.va, $.j = o.j, $.o = o.o, y.$a)
|
|
7465
7465
|
t: {
|
|
7466
7466
|
e(y.$a == 1), o = ri();
|
|
7467
7467
|
e:
|
|
@@ -7470,7 +7470,7 @@ function Yu(n) {
|
|
|
7470
7470
|
o = 0;
|
|
7471
7471
|
break t;
|
|
7472
7472
|
}
|
|
7473
|
-
if (e(y != null), y.mc = o, o.c = y.c, o.i = y.i, o.l = y.l, o.l.ma = y, o.l.width = y.c, o.l.height = y.i, o.a = 0, ct(o.m, A, F, Y), !ar(y.c, y.i, 1, o, null) || (o.ab == 1 && o.gc[0].hc == 3 &&
|
|
7473
|
+
if (e(y != null), y.mc = o, o.c = y.c, o.i = y.i, o.l = y.l, o.l.ma = y, o.l.width = y.c, o.l.height = y.i, o.a = 0, ct(o.m, A, F, Y), !ar(y.c, y.i, 1, o, null) || (o.ab == 1 && o.gc[0].hc == 3 && Gn(o.s) ? (y.ic = 1, A = o.c * o.i, o.Ta = null, o.Ua = 0, o.V = a(A), o.Ba = 0, o.V == null ? (o.a = 1, o = 0) : o = 1) : (y.ic = 0, o = ii(o, y.c)), !o))
|
|
7474
7474
|
break e;
|
|
7475
7475
|
o = 1;
|
|
7476
7476
|
break t;
|
|
@@ -7501,7 +7501,7 @@ function Yu(n) {
|
|
|
7501
7501
|
else if (A.ic || Te(), A.ic) {
|
|
7502
7502
|
A = y.V, F = y.Ba, Y = y.c;
|
|
7503
7503
|
var ut = y.i, Q = ($ = 1, L = y.$ / Y, C = y.$ % Y, W = y.m, et = y.s, y.$), ht = Y * ut, pt = Y * o, xt = et.wc, bt = Q < pt ? sn(et, C, L) : null;
|
|
7504
|
-
e(Q <= ht), e(o <= ut), e(
|
|
7504
|
+
e(Q <= ht), e(o <= ut), e(Gn(et));
|
|
7505
7505
|
e:
|
|
7506
7506
|
for (; ; ) {
|
|
7507
7507
|
for (; !W.h && Q < pt; ) {
|
|
@@ -7657,7 +7657,7 @@ function Yu(n) {
|
|
|
7657
7657
|
pn(o, f, g, b);
|
|
7658
7658
|
}
|
|
7659
7659
|
}
|
|
7660
|
-
function
|
|
7660
|
+
function Vi(r, o) {
|
|
7661
7661
|
var f, g, b = o.M, w = o.Nb, y = r.oc, A = r.pc + 40, L = r.oc, C = r.pc + 584, W = r.oc, et = r.pc + 600;
|
|
7662
7662
|
for (f = 0; 16 > f; ++f)
|
|
7663
7663
|
y[A + 32 * f - 1] = 129;
|
|
@@ -7823,7 +7823,7 @@ function Yu(n) {
|
|
|
7823
7823
|
Q = 7;
|
|
7824
7824
|
break;
|
|
7825
7825
|
}
|
|
7826
|
-
A = $, r == null || 10 > f || !
|
|
7826
|
+
A = $, r == null || 10 > f || !Ga(r, o + 3, f - 3) ? r = 0 : (F = r[o + 0] | r[o + 1] << 8 | r[o + 2] << 16, ut = 16383 & (r[o + 7] << 8 | r[o + 6]), r = 16383 & (r[o + 9] << 8 | r[o + 8]), 1 & F || 3 < (F >> 1 & 7) || !(F >> 4 & 1) || F >> 5 >= Y.Ja || !ut || !r ? r = 0 : (y && (y[0] = ut), A && (A[0] = r), r = 1));
|
|
7827
7827
|
}
|
|
7828
7828
|
if (!r || (y = y[0], $ = $[0], et && (C[0] != y || W[0] != $)))
|
|
7829
7829
|
return 3;
|
|
@@ -7899,7 +7899,7 @@ function Yu(n) {
|
|
|
7899
7899
|
}
|
|
7900
7900
|
return r != 0 || f != null && f.fd && (r = di(g)), r;
|
|
7901
7901
|
}
|
|
7902
|
-
var
|
|
7902
|
+
var Gi = 64, pi = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215], wa = 24, xn = 32, Ln = 8, Yi = [0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
|
|
7903
7903
|
Ct("Predictor0", "PredictorAdd0"), R.Predictor0 = function() {
|
|
7904
7904
|
return 4278190080;
|
|
7905
7905
|
}, R.Predictor1 = function(r) {
|
|
@@ -7946,7 +7946,7 @@ function Yu(n) {
|
|
|
7946
7946
|
});
|
|
7947
7947
|
var Ji, gi = R.ColorIndexInverseTransform, Ze = R.MapARGB, Qs = R.VP8LColorIndexInverseTransformAlpha, hr = R.MapAlpha, Kn = R.VP8LPredictorsAdd = [];
|
|
7948
7948
|
Kn.length = 16, (R.VP8LPredictors = []).length = 16, (R.VP8LPredictorsAdd_C = []).length = 16, (R.VP8LPredictors_C = []).length = 16;
|
|
7949
|
-
var mi, ya, xa, Ki, vi, bi, Ur, kr, zr, Xi, pn, cr, Pe, Ie, We, Qe, Pr, _a, $i, rs, tl, el, nl, rl, Aa, il, al, sl, ol = a(511), ll = a(2041), ul = a(225), fl = a(767), hl = 0, to = ll, is = ul, Cn = fl, Hn = ol, as = 0, ss = 1, cl = 2, os = 3, ls = 4, eo = 5, dl = 6, no = 7, ro = 8, us = 9, io = 10, Uf = [2, 3, 7], zf = [3, 3, 11], pl = [280, 256, 256, 256, 40], Hf = [0, 1, 1, 1, 0], Wf = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Gf = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Vf = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Yf = 8, ao = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], so = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], Na = null, Jf = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], Kf = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], gl = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], Xf = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], $f = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Zf = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], Qf = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Hr = [], Xn = [], Ir = [], th = 1, ml = 2, Wr = [], Wn = [];
|
|
7949
|
+
var mi, ya, xa, Ki, vi, bi, Ur, kr, zr, Xi, pn, cr, Pe, Ie, We, Qe, Pr, _a, $i, rs, tl, el, nl, rl, Aa, il, al, sl, ol = a(511), ll = a(2041), ul = a(225), fl = a(767), hl = 0, to = ll, is = ul, Cn = fl, Hn = ol, as = 0, ss = 1, cl = 2, os = 3, ls = 4, eo = 5, dl = 6, no = 7, ro = 8, us = 9, io = 10, Uf = [2, 3, 7], zf = [3, 3, 11], pl = [280, 256, 256, 256, 40], Hf = [0, 1, 1, 1, 0], Wf = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Vf = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Gf = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Yf = 8, ao = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], so = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], Na = null, Jf = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], Kf = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], gl = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], Xf = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], $f = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Zf = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], Qf = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Hr = [], Xn = [], Ir = [], th = 1, ml = 2, Wr = [], Wn = [];
|
|
7950
7950
|
cn("UpsampleRgbLinePair", fi, 3), cn("UpsampleBgrLinePair", Hi, 3), cn("UpsampleRgbaLinePair", va, 4), cn("UpsampleBgraLinePair", ci, 4), cn("UpsampleArgbLinePair", hi, 4), cn("UpsampleRgba4444LinePair", dn, 2), cn("UpsampleRgb565LinePair", Wi, 2);
|
|
7951
7951
|
var eh = R.UpsampleRgbLinePair, nh = R.UpsampleBgrLinePair, vl = R.UpsampleRgbaLinePair, bl = R.UpsampleBgraLinePair, wl = R.UpsampleArgbLinePair, yl = R.UpsampleRgba4444LinePair, rh = R.UpsampleRgb565LinePair, fs = 16, hs = 1 << fs - 1, La = -227, oo = 482, ih = 6, xl = 0, ah = a(256), sh = a(256), oh = a(256), lh = a(256), uh = a(oo - La), fh = a(oo - La);
|
|
7952
7952
|
fr("YuvToRgbRow", fi, 3), fr("YuvToBgrRow", Hi, 3), fr("YuvToRgbaRow", va, 4), fr("YuvToBgraRow", ci, 4), fr("YuvToArgbRow", hi, 4), fr("YuvToRgba4444Row", dn, 2), fr("YuvToRgb565Row", Wi, 2);
|
|
@@ -7954,7 +7954,7 @@ function Yu(n) {
|
|
|
7954
7954
|
this.WebPDecodeRGBA = function(r, o, f, g, b) {
|
|
7955
7955
|
var w = ss, y = new D(), A = new le();
|
|
7956
7956
|
y.ba = A, A.S = w, A.width = [A.width], A.height = [A.height];
|
|
7957
|
-
var L = A.width, C = A.height, W = new
|
|
7957
|
+
var L = A.width, C = A.height, W = new Vt();
|
|
7958
7958
|
if (W == null || r == null)
|
|
7959
7959
|
var et = 2;
|
|
7960
7960
|
else
|
|
@@ -7963,7 +7963,7 @@ function Yu(n) {
|
|
|
7963
7963
|
A.width = A.width[0], A.height = A.height[0], g != null && (g[0] = A.width), b != null && (b[0] = A.height);
|
|
7964
7964
|
t: {
|
|
7965
7965
|
if (g = new ji(), (b = new K()).data = r, b.w = o, b.ha = f, b.kd = 1, o = [0], e(b != null), ((r = ns(b.data, b.w, b.ha, null, null, null, o, null, b)) == 0 || r == 7) && o[0] && (r = 4), (o = r) == 0) {
|
|
7966
|
-
if (e(y != null), g.data = b.data, g.w = b.w + b.offset, g.ha = b.ha - b.offset, g.put =
|
|
7966
|
+
if (e(y != null), g.data = b.data, g.w = b.w + b.offset, g.ha = b.ha - b.offset, g.put = Gt, g.ac = rr, g.bc = wr, g.ma = y, b.xa) {
|
|
7967
7967
|
if ((r = ri()) == null) {
|
|
7968
7968
|
y = 1;
|
|
7969
7969
|
break t;
|
|
@@ -8099,15 +8099,15 @@ function Yu(n) {
|
|
|
8099
8099
|
fl[255 + $] = 0 > $ ? 0 : 255 < $ ? 255 : $;
|
|
8100
8100
|
hl = 1;
|
|
8101
8101
|
}
|
|
8102
|
-
Ur = Ja, kr = Rs, Xi = Ts, pn = Ds, cr = lr, zr = Ya, Pe = $a, Ie = Za, We = ts, Qe = u, Pr = Qa, _a = oi, $i = v, rs = I, tl = Ui, el = ga, nl = zi, rl = Xa, Xn[0] =
|
|
8102
|
+
Ur = Ja, kr = Rs, Xi = Ts, pn = Ds, cr = lr, zr = Ya, Pe = $a, Ie = Za, We = ts, Qe = u, Pr = Qa, _a = oi, $i = v, rs = I, tl = Ui, el = ga, nl = zi, rl = Xa, Xn[0] = Gs, Xn[1] = Ti, Xn[2] = Ws, Xn[3] = Vs, Xn[4] = Ys, Xn[5] = _r, Xn[6] = Js, Xn[7] = Ar, Xn[8] = Xs, Xn[9] = Ks, Hr[0] = Ka, Hr[1] = qs, Hr[2] = Us, Hr[3] = zs, Hr[4] = Mr, Hr[5] = Hs, Hr[6] = ai, Ir[0] = $s, Ir[1] = fa, Ir[2] = Di, Ir[3] = ha, Ir[4] = Zs, Ir[5] = qi, Ir[6] = ca, $ = 1;
|
|
8103
8103
|
} else
|
|
8104
8104
|
$ = 0;
|
|
8105
8105
|
}
|
|
8106
8106
|
$ && ($ = function(ce, tn) {
|
|
8107
8107
|
for (ce.M = 0; ce.M < ce.Va; ++ce.M) {
|
|
8108
|
-
var ie, jt = ce.Jc[ce.M & ce.Xb], Nt = ce.m,
|
|
8109
|
-
for (ie = 0; ie <
|
|
8110
|
-
var ee = Nt, pe =
|
|
8108
|
+
var ie, jt = ce.Jc[ce.M & ce.Xb], Nt = ce.m, Ve = ce;
|
|
8109
|
+
for (ie = 0; ie < Ve.za; ++ie) {
|
|
8110
|
+
var ee = Nt, pe = Ve, Ee = pe.Ac, ln = pe.Bc + 4 * ie, _n = pe.zc, qe = pe.ya[pe.aa + ie];
|
|
8111
8111
|
if (pe.Qa.Bb ? qe.$b = gt(ee, pe.Pa.jb[0]) ? 2 + gt(ee, pe.Pa.jb[2]) : gt(ee, pe.Pa.jb[1]) : qe.$b = 0, pe.kc && (qe.Ad = gt(ee, pe.Bd)), qe.Za = !gt(ee, 145) + 0, qe.Za) {
|
|
8112
8112
|
var gn = qe.Ob, An = 0;
|
|
8113
8113
|
for (pe = 0; 4 > pe; ++pe) {
|
|
@@ -8124,19 +8124,19 @@ function Yu(n) {
|
|
|
8124
8124
|
me = gt(ee, 156) ? gt(ee, 128) ? 1 : 3 : gt(ee, 163) ? 2 : 0, qe.Ob[0] = me, s(Ee, ln, me, 4), s(_n, 0, me, 4);
|
|
8125
8125
|
qe.Dd = gt(ee, 142) ? gt(ee, 114) ? gt(ee, 183) ? 1 : 3 : 2 : 0;
|
|
8126
8126
|
}
|
|
8127
|
-
if (
|
|
8127
|
+
if (Ve.m.Ka)
|
|
8128
8128
|
return Xe(ce, 7, "Premature end-of-partition0 encountered.");
|
|
8129
8129
|
for (; ce.ja < ce.za; ++ce.ja) {
|
|
8130
|
-
if (
|
|
8130
|
+
if (Ve = jt, ee = (Nt = ce).rb[Nt.sb - 1], Ee = Nt.rb[Nt.sb + Nt.ja], ie = Nt.ya[Nt.aa + Nt.ja], ln = Nt.kc ? ie.Ad : 0)
|
|
8131
8131
|
ee.la = Ee.la = 0, ie.Za || (ee.Na = Ee.Na = 0), ie.Hc = 0, ie.Gc = 0, ie.ia = 0;
|
|
8132
8132
|
else {
|
|
8133
8133
|
var Ue, ye;
|
|
8134
|
-
if (ee = Ee, Ee =
|
|
8134
|
+
if (ee = Ee, Ee = Ve, ln = Nt.Pa.Xc, _n = Nt.ya[Nt.aa + Nt.ja], qe = Nt.pb[_n.$b], pe = _n.ad, gn = 0, An = Nt.rb[Nt.sb - 1], me = en = 0, s(pe, gn, 0, 384), _n.Za)
|
|
8135
8135
|
var un = 0, $n = ln[3];
|
|
8136
8136
|
else {
|
|
8137
8137
|
we = a(16);
|
|
8138
|
-
var
|
|
8139
|
-
if (
|
|
8138
|
+
var Ge = ee.Na + An.Na;
|
|
8139
|
+
if (Ge = Na(Ee, ln[1], Ge, qe.Eb, 0, we, 0), ee.Na = An.Na = (0 < Ge) + 0, 1 < Ge)
|
|
8140
8140
|
Ur(we, 0, pe, gn);
|
|
8141
8141
|
else {
|
|
8142
8142
|
var Sn = we[0] + 3 >> 3;
|
|
@@ -8149,28 +8149,28 @@ function Yu(n) {
|
|
|
8149
8149
|
for (we = 0; 4 > we; ++we) {
|
|
8150
8150
|
var Fn = 1 & nn;
|
|
8151
8151
|
for (Sn = ye = 0; 4 > Sn; ++Sn)
|
|
8152
|
-
Le = Le >> 1 | (Fn = (
|
|
8152
|
+
Le = Le >> 1 | (Fn = (Ge = Na(Ee, $n, Ge = Fn + (1 & Le), qe.Sc, un, pe, gn)) > un) << 7, ye = ye << 2 | (3 < Ge ? 3 : 1 < Ge ? 2 : pe[gn + 0] != 0), gn += 16;
|
|
8153
8153
|
Le >>= 4, nn = nn >> 1 | Fn << 7, en = (en << 8 | ye) >>> 0;
|
|
8154
8154
|
}
|
|
8155
8155
|
for ($n = Le, un = nn >> 4, Ue = 0; 4 > Ue; Ue += 2) {
|
|
8156
8156
|
for (ye = 0, Le = ee.la >> 4 + Ue, nn = An.la >> 4 + Ue, we = 0; 2 > we; ++we) {
|
|
8157
8157
|
for (Fn = 1 & nn, Sn = 0; 2 > Sn; ++Sn)
|
|
8158
|
-
|
|
8158
|
+
Ge = Fn + (1 & Le), Le = Le >> 1 | (Fn = 0 < (Ge = Na(Ee, ln[2], Ge, qe.Qc, 0, pe, gn))) << 3, ye = ye << 2 | (3 < Ge ? 3 : 1 < Ge ? 2 : pe[gn + 0] != 0), gn += 16;
|
|
8159
8159
|
Le >>= 2, nn = nn >> 1 | Fn << 5;
|
|
8160
8160
|
}
|
|
8161
8161
|
me |= ye << 4 * Ue, $n |= Le << 4 << Ue, un |= (240 & nn) << Ue;
|
|
8162
8162
|
}
|
|
8163
8163
|
ee.la = $n, An.la = un, _n.Hc = en, _n.Gc = me, _n.ia = 43690 & me ? 0 : qe.ia, ln = !(en | me);
|
|
8164
8164
|
}
|
|
8165
|
-
if (0 < Nt.L && (Nt.wa[Nt.Y + Nt.ja] = Nt.gd[ie.$b][ie.Za], Nt.wa[Nt.Y + Nt.ja].La |= !ln),
|
|
8165
|
+
if (0 < Nt.L && (Nt.wa[Nt.Y + Nt.ja] = Nt.gd[ie.$b][ie.Za], Nt.wa[Nt.Y + Nt.ja].La |= !ln), Ve.Ka)
|
|
8166
8166
|
return Xe(ce, 7, "Premature end-of-file encountered.");
|
|
8167
8167
|
}
|
|
8168
|
-
if (ua(ce), Nt = tn,
|
|
8168
|
+
if (ua(ce), Nt = tn, Ve = 1, ie = (jt = ce).D, ee = 0 < jt.L && jt.M >= jt.zb && jt.M <= jt.Va, jt.Aa == 0)
|
|
8169
8169
|
e: {
|
|
8170
|
-
if (ie.M = jt.M, ie.uc = ee,
|
|
8171
|
-
for (Fn = (
|
|
8170
|
+
if (ie.M = jt.M, ie.uc = ee, Vi(jt, ie), Ve = 1, ie = (ye = jt.D).Nb, ee = (me = cs[jt.L]) * jt.R, Ee = me / 2 * jt.B, we = 16 * ie * jt.R, Sn = 8 * ie * jt.B, ln = jt.sa, _n = jt.ta - ee + we, qe = jt.qa, pe = jt.ra - Ee + Sn, gn = jt.Ha, An = jt.Ia - Ee + Sn, nn = (Le = ye.M) == 0, en = Le >= jt.Va - 1, jt.Aa == 2 && Vi(jt, ye), ye.uc)
|
|
8171
|
+
for (Fn = (Ge = jt).D.M, e(Ge.D.uc), ye = Ge.yb; ye < Ge.Hb; ++ye) {
|
|
8172
8172
|
un = ye, $n = Fn;
|
|
8173
|
-
var Nn = (En = (fn =
|
|
8173
|
+
var Nn = (En = (fn = Ge).D).Nb;
|
|
8174
8174
|
Ue = fn.R;
|
|
8175
8175
|
var En = En.wa[En.Y + un], On = fn.sa, kn = fn.ta + 16 * Nn * Ue + 16 * un, jn = En.dd, Ce = En.tc;
|
|
8176
8176
|
if (Ce != 0)
|
|
@@ -8183,14 +8183,14 @@ function Yu(n) {
|
|
|
8183
8183
|
}
|
|
8184
8184
|
if (jt.ia && alert("todo:DitherRow"), Nt.put != null) {
|
|
8185
8185
|
if (ye = 16 * Le, Le = 16 * (Le + 1), nn ? (Nt.y = jt.sa, Nt.O = jt.ta + we, Nt.f = jt.qa, Nt.N = jt.ra + Sn, Nt.ea = jt.Ha, Nt.W = jt.Ia + Sn) : (ye -= me, Nt.y = ln, Nt.O = _n, Nt.f = qe, Nt.N = pe, Nt.ea = gn, Nt.W = An), en || (Le -= me), Le > Nt.o && (Le = Nt.o), Nt.F = null, Nt.J = null, jt.Fa != null && 0 < jt.Fa.length && ye < Le && (Nt.J = $e(jt, Nt, ye, Le - ye), Nt.F = jt.mb, Nt.F == null && Nt.F.length == 0)) {
|
|
8186
|
-
|
|
8186
|
+
Ve = Xe(jt, 3, "Could not decode alpha data.");
|
|
8187
8187
|
break e;
|
|
8188
8188
|
}
|
|
8189
|
-
ye < Nt.j && (me = Nt.j - ye, ye = Nt.j, e(!(1 & me)), Nt.O += jt.R * me, Nt.N += jt.B * (me >> 1), Nt.W += jt.B * (me >> 1), Nt.F != null && (Nt.J += Nt.width * me)), ye < Le && (Nt.O += Nt.v, Nt.N += Nt.v >> 1, Nt.W += Nt.v >> 1, Nt.F != null && (Nt.J += Nt.v), Nt.ka = ye - Nt.j, Nt.U = Nt.va - Nt.v, Nt.T = Le - ye,
|
|
8189
|
+
ye < Nt.j && (me = Nt.j - ye, ye = Nt.j, e(!(1 & me)), Nt.O += jt.R * me, Nt.N += jt.B * (me >> 1), Nt.W += jt.B * (me >> 1), Nt.F != null && (Nt.J += Nt.width * me)), ye < Le && (Nt.O += Nt.v, Nt.N += Nt.v >> 1, Nt.W += Nt.v >> 1, Nt.F != null && (Nt.J += Nt.v), Nt.ka = ye - Nt.j, Nt.U = Nt.va - Nt.v, Nt.T = Le - ye, Ve = Nt.put(Nt));
|
|
8190
8190
|
}
|
|
8191
8191
|
ie + 1 != jt.Ic || en || (i(jt.sa, jt.ta - ee, ln, _n + 16 * jt.R, ee), i(jt.qa, jt.ra - Ee, qe, pe + 8 * jt.B, Ee), i(jt.Ha, jt.Ia - Ee, gn, An + 8 * jt.B, Ee));
|
|
8192
8192
|
}
|
|
8193
|
-
if (!
|
|
8193
|
+
if (!Ve)
|
|
8194
8194
|
return Xe(ce, 6, "Output aborted.");
|
|
8195
8195
|
}
|
|
8196
8196
|
return 1;
|
|
@@ -8228,7 +8228,7 @@ function Yu(n) {
|
|
|
8228
8228
|
return (R[tt + 0] | R[tt + 1] << 8 | R[tt + 2] << 16 | R[tt + 3] << 24) >>> 0;
|
|
8229
8229
|
}
|
|
8230
8230
|
new h();
|
|
8231
|
-
var p = [0], j = [0], O = [], M = new h(), S = n,
|
|
8231
|
+
var p = [0], j = [0], O = [], M = new h(), S = n, V = function(R, tt) {
|
|
8232
8232
|
var N = {}, E = 0, z = !1, U = 0, rt = 0;
|
|
8233
8233
|
if (N.frames = [], !/** @license
|
|
8234
8234
|
* Copyright (c) 2017 Dominik Homberger
|
|
@@ -8273,10 +8273,10 @@ function Yu(n) {
|
|
|
8273
8273
|
return N;
|
|
8274
8274
|
}
|
|
8275
8275
|
}(S, 0);
|
|
8276
|
-
|
|
8277
|
-
var
|
|
8278
|
-
if (
|
|
8279
|
-
|
|
8276
|
+
V.response = S, V.rgbaoutput = !0, V.dataurl = !1;
|
|
8277
|
+
var G = V.header ? V.header : null, q = V.frames ? V.frames : null;
|
|
8278
|
+
if (G) {
|
|
8279
|
+
G.loop_counter = G.loop_count, p = [G.canvas_height], j = [G.canvas_width];
|
|
8280
8280
|
for (var it = 0; it < q.length && q[it].blend != 0; it++)
|
|
8281
8281
|
;
|
|
8282
8282
|
}
|
|
@@ -8494,8 +8494,8 @@ function t2() {
|
|
|
8494
8494
|
}(ge);
|
|
8495
8495
|
kt = function(je) {
|
|
8496
8496
|
for (var Ut = {}, ke = 0; ke < je.length; ++ke) {
|
|
8497
|
-
var Yt = jo(je[ke]), Qt = Yt.family, Be = Yt.stretch, le = Yt.style,
|
|
8498
|
-
Ut[Qt] = Ut[Qt] || {}, Ut[Qt][Be] = Ut[Qt][Be] || {}, Ut[Qt][Be][le] = Ut[Qt][Be][le] || {}, Ut[Qt][Be][le][
|
|
8497
|
+
var Yt = jo(je[ke]), Qt = Yt.family, Be = Yt.stretch, le = Yt.style, Vt = Yt.weight;
|
|
8498
|
+
Ut[Qt] = Ut[Qt] || {}, Ut[Qt][Be] = Ut[Qt][Be] || {}, Ut[Qt][Be][le] = Ut[Qt][Be][le] || {}, Ut[Qt][Be][le][Vt] = Yt;
|
|
8499
8499
|
}
|
|
8500
8500
|
return Ut;
|
|
8501
8501
|
}(oe.concat(He)), St = se;
|
|
@@ -8504,7 +8504,7 @@ function t2() {
|
|
|
8504
8504
|
}(this.pdf, this.fontFaces), ve = zt.map(function(Tt) {
|
|
8505
8505
|
return { family: Tt, stretch: "normal", weight: Ht, style: ae };
|
|
8506
8506
|
}), ue = function(Tt, He, ge) {
|
|
8507
|
-
for (var se = (ge = ge || {}).defaultFontFamily || "times", oe = Object.assign({},
|
|
8507
|
+
for (var se = (ge = ge || {}).defaultFontFamily || "times", oe = Object.assign({}, G1, ge.genericFontFamilies || {}), je = null, Ut = null, ke = 0; ke < He.length; ++ke)
|
|
8508
8508
|
if (oe[(je = jo(He[ke])).family] && (je.family = oe[je.family]), Tt.hasOwnProperty(je.family)) {
|
|
8509
8509
|
Ut = Tt[je.family];
|
|
8510
8510
|
break;
|
|
@@ -8514,10 +8514,10 @@ function t2() {
|
|
|
8514
8514
|
if (Ut = function(Yt, Qt) {
|
|
8515
8515
|
if (Qt[Yt])
|
|
8516
8516
|
return Qt[Yt];
|
|
8517
|
-
var Be = Jo[Yt], le = Be <= Jo.normal ? -1 : 1,
|
|
8518
|
-
if (!
|
|
8517
|
+
var Be = Jo[Yt], le = Be <= Jo.normal ? -1 : 1, Vt = Ou(Qt, Mf, Be, le);
|
|
8518
|
+
if (!Vt)
|
|
8519
8519
|
throw new Error("Could not find a matching font-stretch value for " + Yt);
|
|
8520
|
-
return
|
|
8520
|
+
return Vt;
|
|
8521
8521
|
}(je.stretch, Ut), Ut = function(Yt, Qt) {
|
|
8522
8522
|
if (Qt[Yt])
|
|
8523
8523
|
return Qt[Yt];
|
|
@@ -8532,7 +8532,7 @@ function t2() {
|
|
|
8532
8532
|
return Qt[500];
|
|
8533
8533
|
if (Yt === 500 && Qt[400])
|
|
8534
8534
|
return Qt[400];
|
|
8535
|
-
var Be =
|
|
8535
|
+
var Be = V1[Yt], le = Ou(Qt, Rf, Be, Yt < 400 ? -1 : 1);
|
|
8536
8536
|
if (!le)
|
|
8537
8537
|
throw new Error("Could not find a matching font-weight for value " + Yt);
|
|
8538
8538
|
return le;
|
|
@@ -8760,16 +8760,16 @@ function t2() {
|
|
|
8760
8760
|
if (this.autoPaging) {
|
|
8761
8761
|
for (var Wt, Ct = M.call(this, yt), zt = [], qt = 0; qt < Ct.length; qt += 1)
|
|
8762
8762
|
zt.indexOf(Ct[qt]) === -1 && zt.push(Ct[qt]);
|
|
8763
|
-
|
|
8763
|
+
G(zt);
|
|
8764
8764
|
for (var ve = zt[0], ue = zt[zt.length - 1], Zt = ve; Zt < ue + 1; Zt++) {
|
|
8765
8765
|
this.pdf.setPage(Zt);
|
|
8766
8766
|
var he = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], fe = Zt === 1 ? this.posY + this.margin[0] : this.margin[0], Bt = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], ne = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Tt = Zt === 1 ? 0 : Bt + (Zt - 2) * ne;
|
|
8767
8767
|
if (this.ctx.clip_path.length !== 0) {
|
|
8768
8768
|
var He = this.path;
|
|
8769
|
-
Wt = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path =
|
|
8769
|
+
Wt = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = V(Wt, this.posX + this.margin[3], -Tt + fe + this.ctx.prevPageLastElemOffset), it.call(this, "fill", !0), this.path = He;
|
|
8770
8770
|
}
|
|
8771
8771
|
var ge = JSON.parse(JSON.stringify(yt));
|
|
8772
|
-
ge =
|
|
8772
|
+
ge = V([ge], this.posX + this.margin[3], -Tt + fe + this.ctx.prevPageLastElemOffset)[0];
|
|
8773
8773
|
var se = (Zt > ve || Zt < ue) && O.call(this);
|
|
8774
8774
|
se && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], he, ne, null).clip().discardPath()), this.pdf.addImage(x, "JPEG", ge.x, ge.y, ge.w, ge.h, null, null, ae), se && this.pdf.restoreGraphicsState();
|
|
8775
8775
|
}
|
|
@@ -8807,7 +8807,7 @@ function t2() {
|
|
|
8807
8807
|
}, S = function() {
|
|
8808
8808
|
var x = this.fillStyle, B = this.strokeStyle, T = this.font, H = this.lineCap, J = this.lineWidth, Z = this.lineJoin;
|
|
8809
8809
|
this.pdf.addPage(), this.fillStyle = x, this.strokeStyle = B, this.font = T, this.lineCap = H, this.lineWidth = J, this.lineJoin = Z;
|
|
8810
|
-
},
|
|
8810
|
+
}, V = function(x, B, T) {
|
|
8811
8811
|
for (var H = 0; H < x.length; H++)
|
|
8812
8812
|
switch (x[H].type) {
|
|
8813
8813
|
case "bct":
|
|
@@ -8818,7 +8818,7 @@ function t2() {
|
|
|
8818
8818
|
x[H].x += B, x[H].y += T;
|
|
8819
8819
|
}
|
|
8820
8820
|
return x;
|
|
8821
|
-
},
|
|
8821
|
+
}, G = function(x) {
|
|
8822
8822
|
return x.sort(function(B, T) {
|
|
8823
8823
|
return B - T;
|
|
8824
8824
|
});
|
|
@@ -8832,15 +8832,15 @@ function t2() {
|
|
|
8832
8832
|
for (var Ht = 0; Ht < Dt.length; Ht++)
|
|
8833
8833
|
for (; this.pdf.internal.getNumberOfPages() < Dt[Ht]; )
|
|
8834
8834
|
S.call(this);
|
|
8835
|
-
|
|
8835
|
+
G(Dt);
|
|
8836
8836
|
for (var yt = Dt[0], Wt = Dt[Dt.length - 1], Ct = yt; Ct < Wt + 1; Ct++) {
|
|
8837
8837
|
this.pdf.setPage(Ct), this.fillStyle = T, this.strokeStyle = H, this.lineCap = J, this.lineWidth = at, this.lineJoin = st;
|
|
8838
8838
|
var zt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], qt = Ct === 1 ? this.posY + this.margin[0] : this.margin[0], ve = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], ue = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Zt = Ct === 1 ? 0 : ve + (Ct - 2) * ue;
|
|
8839
8839
|
if (this.ctx.clip_path.length !== 0) {
|
|
8840
8840
|
var he = this.path;
|
|
8841
|
-
gt = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path =
|
|
8841
|
+
gt = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = V(gt, this.posX + this.margin[3], -Zt + qt + this.ctx.prevPageLastElemOffset), it.call(this, x, !0), this.path = he;
|
|
8842
8842
|
}
|
|
8843
|
-
if (_t = JSON.parse(JSON.stringify(kt)), this.path =
|
|
8843
|
+
if (_t = JSON.parse(JSON.stringify(kt)), this.path = V(_t, this.posX + this.margin[3], -Zt + qt + this.ctx.prevPageLastElemOffset), B === !1 || Ct === 0) {
|
|
8844
8844
|
var fe = (Ct > yt || Ct < Wt) && O.call(this);
|
|
8845
8845
|
fe && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], zt, ue, null).clip().discardPath()), it.call(this, x, B), fe && this.pdf.restoreGraphicsState();
|
|
8846
8846
|
}
|
|
@@ -8966,20 +8966,20 @@ function t2() {
|
|
|
8966
8966
|
kt = (kt = (kt = kt.multiply(_t.translate)).multiply(_t.skew)).multiply(_t.scale);
|
|
8967
8967
|
for (var St = this.ctx.transform.applyToRectangle(new l(x.x, at, Z.w, Z.h)), Dt = kt.applyToRectangle(new l(x.x, st, Z.w, Z.h)), P = M.call(this, Dt), Lt = [], ae = 0; ae < P.length; ae += 1)
|
|
8968
8968
|
Lt.indexOf(P[ae]) === -1 && Lt.push(P[ae]);
|
|
8969
|
-
|
|
8969
|
+
G(Lt);
|
|
8970
8970
|
for (var Ht = Lt[0], yt = Lt[Lt.length - 1], Wt = Ht; Wt < yt + 1; Wt++) {
|
|
8971
8971
|
this.pdf.setPage(Wt);
|
|
8972
8972
|
var Ct = Wt === 1 ? this.posY + this.margin[0] : this.margin[0], zt = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], qt = this.pdf.internal.pageSize.height - this.margin[2], ve = qt - this.margin[0], ue = this.pdf.internal.pageSize.width - this.margin[1], Zt = ue - this.margin[3], he = Wt === 1 ? 0 : zt + (Wt - 2) * ve;
|
|
8973
8973
|
if (this.ctx.clip_path.length !== 0) {
|
|
8974
8974
|
var fe = this.path;
|
|
8975
|
-
T = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path =
|
|
8975
|
+
T = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = V(T, this.posX + this.margin[3], -1 * he + Ct), it.call(this, "fill", !0), this.path = fe;
|
|
8976
8976
|
}
|
|
8977
|
-
var Bt =
|
|
8977
|
+
var Bt = V([JSON.parse(JSON.stringify(Dt))], this.posX + this.margin[3], -he + Ct + this.ctx.prevPageLastElemOffset)[0];
|
|
8978
8978
|
x.scale >= 0.01 && (H = this.pdf.internal.getFontSize(), this.pdf.setFontSize(H * x.scale), J = this.lineWidth, this.lineWidth = J * x.scale);
|
|
8979
8979
|
var ne = this.autoPaging !== "text";
|
|
8980
8980
|
if (ne || Bt.y + Bt.h <= qt) {
|
|
8981
8981
|
if (ne || Bt.y >= Ct && Bt.x <= ue) {
|
|
8982
|
-
var Tt = ne ? x.text : this.pdf.splitTextToSize(x.text, x.maxWidth || ue - Bt.x)[0], He =
|
|
8982
|
+
var Tt = ne ? x.text : this.pdf.splitTextToSize(x.text, x.maxWidth || ue - Bt.x)[0], He = V([JSON.parse(JSON.stringify(St))], this.posX + this.margin[3], -he + Ct + this.ctx.prevPageLastElemOffset)[0], ge = ne && (Wt > Ht || Wt < yt) && O.call(this);
|
|
8983
8983
|
ge && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], Zt, ve, null).clip().discardPath()), this.pdf.text(Tt, He.x, He.y, { angle: x.angle, align: B, renderingMode: x.renderingMode }), ge && this.pdf.restoreGraphicsState();
|
|
8984
8984
|
}
|
|
8985
8985
|
} else
|
|
@@ -9036,17 +9036,17 @@ function(n) {
|
|
|
9036
9036
|
var l, h, d, m, _, k, p, j, O, M;
|
|
9037
9037
|
for (h = [], d = 0, m = (c += l = "\0\0\0\0".slice(c.length % 4 || 4)).length; m > d; d += 4)
|
|
9038
9038
|
(_ = (c.charCodeAt(d) << 24) + (c.charCodeAt(d + 1) << 16) + (c.charCodeAt(d + 2) << 8) + c.charCodeAt(d + 3)) !== 0 ? (k = (_ = ((_ = ((_ = ((_ = (_ - (M = _ % 85)) / 85) - (O = _ % 85)) / 85) - (j = _ % 85)) / 85) - (p = _ % 85)) / 85) % 85, h.push(k + 33, p + 33, j + 33, O + 33, M + 33)) : h.push(122);
|
|
9039
|
-
return function(S,
|
|
9040
|
-
for (var
|
|
9039
|
+
return function(S, V) {
|
|
9040
|
+
for (var G = V; G > 0; G--)
|
|
9041
9041
|
S.pop();
|
|
9042
9042
|
}(h, l.length), String.fromCharCode.apply(String, h) + "~>";
|
|
9043
9043
|
}, t = function(c) {
|
|
9044
9044
|
var l, h, d, m, _, k = String, p = "length", j = 255, O = "charCodeAt", M = "slice", S = "replace";
|
|
9045
9045
|
for (c[M](-2), c = c[M](0, -2)[S](/\s/g, "")[S]("z", "!!!!!"), d = [], m = 0, _ = (c += l = "uuuuu"[M](c[p] % 5 || 5))[p]; _ > m; m += 5)
|
|
9046
9046
|
h = 52200625 * (c[O](m) - 33) + 614125 * (c[O](m + 1) - 33) + 7225 * (c[O](m + 2) - 33) + 85 * (c[O](m + 3) - 33) + (c[O](m + 4) - 33), d.push(j & h >> 24, j & h >> 16, j & h >> 8, j & h);
|
|
9047
|
-
return function(
|
|
9048
|
-
for (var q =
|
|
9049
|
-
|
|
9047
|
+
return function(V, G) {
|
|
9048
|
+
for (var q = G; q > 0; q--)
|
|
9049
|
+
V.pop();
|
|
9050
9050
|
}(d, l[p]), k.fromCharCode.apply(k, d);
|
|
9051
9051
|
}, i = function(c) {
|
|
9052
9052
|
return c.split("").map(function(l) {
|
|
@@ -9136,7 +9136,7 @@ function(n) {
|
|
|
9136
9136
|
});
|
|
9137
9137
|
}
|
|
9138
9138
|
function t() {
|
|
9139
|
-
return (Kt.DOMPurify ? Promise.resolve(Kt.DOMPurify) : import("./index-
|
|
9139
|
+
return (Kt.DOMPurify ? Promise.resolve(Kt.DOMPurify) : import("./index-Dwz1bAtd.js").then((l) => l.nS)).catch(function(l) {
|
|
9140
9140
|
return Promise.reject(new Error("Could not load dompurify: " + l));
|
|
9141
9141
|
}).then(function(l) {
|
|
9142
9142
|
return l.default ? l.default : l;
|
|
@@ -9592,9 +9592,9 @@ function(n) {
|
|
|
9592
9592
|
}(a) : h === 2 || h === 4 ? function(X) {
|
|
9593
9593
|
for (var R = X.data, tt = X.width, N = X.height, E = X.channels, z = X.depth, U = E === 2 ? "DeviceGray" : "DeviceRGB", rt = E - 1, ot = tt * N, ft = rt, nt = ot * ft, ct = 1 * ot, At = Math.ceil(nt * z / 8), wt = Math.ceil(ct * z / 8), x = new Uint8Array(At), B = new Uint8Array(wt), T = new DataView(R.buffer), H = new DataView(x.buffer), J = new DataView(B.buffer), Z = !1, at = 0; at < ot; at++) {
|
|
9594
9594
|
for (var st = at * E, gt = 0; gt < ft; gt++)
|
|
9595
|
-
|
|
9595
|
+
Vu(H, Mo(T, st + gt, z), at * ft + gt, z);
|
|
9596
9596
|
var _t = Mo(T, st + ft, z);
|
|
9597
|
-
_t < (1 << z) - 1 && (Z = !0),
|
|
9597
|
+
_t < (1 << z) - 1 && (Z = !0), Vu(J, _t, 1 * at, z);
|
|
9598
9598
|
}
|
|
9599
9599
|
return { colorSpace: U, colorsPerPixel: rt, sMaskBitsPerComponent: Z ? z : void 0, colorBytes: x, alphaBytes: B, needSMask: Z };
|
|
9600
9600
|
}(a) : function(X) {
|
|
@@ -9605,7 +9605,7 @@ function(n) {
|
|
|
9605
9605
|
return z;
|
|
9606
9606
|
}(R) : R, needSMask: !1 };
|
|
9607
9607
|
}(a);
|
|
9608
|
-
var _, k, p, j = s, O = j.colorSpace, M = j.colorsPerPixel, S = j.sMaskBitsPerComponent,
|
|
9608
|
+
var _, k, p, j = s, O = j.colorSpace, M = j.colorsPerPixel, S = j.sMaskBitsPerComponent, V = j.colorBytes, G = j.alphaBytes, q = j.needSMask, it = j.palette, vt = j.mask, dt = null;
|
|
9609
9609
|
return i !== Mt.API.image_compression.NONE && typeof Uo == "function" ? (dt = function(X) {
|
|
9610
9610
|
var R;
|
|
9611
9611
|
switch (X) {
|
|
@@ -9622,7 +9622,7 @@ function(n) {
|
|
|
9622
9622
|
R = 12;
|
|
9623
9623
|
}
|
|
9624
9624
|
return R;
|
|
9625
|
-
}(i), _ = this.decode.FLATE_DECODE, k = "/Predictor ".concat(dt, " /Colors ").concat(M, " /BitsPerComponent ").concat(m, " /Columns ").concat(c), n = qu(
|
|
9625
|
+
}(i), _ = this.decode.FLATE_DECODE, k = "/Predictor ".concat(dt, " /Colors ").concat(M, " /BitsPerComponent ").concat(m, " /Columns ").concat(c), n = qu(V, Math.ceil(c * M * m / 8), M, m, i), q && (p = qu(G, Math.ceil(c * S / 8), 1, S, i))) : (_ = void 0, k = void 0, n = V, q && (p = G)), (this.__addimage__.isArrayBuffer(n) || this.__addimage__.isArrayBufferView(n)) && (n = this.__addimage__.arrayBufferToBinaryString(n)), (p && this.__addimage__.isArrayBuffer(p) || this.__addimage__.isArrayBufferView(p)) && (p = this.__addimage__.arrayBufferToBinaryString(p)), { alias: t, data: n, index: e, filter: _, decodeParameters: k, transparency: vt, palette: it, sMask: p, predictor: dt, width: c, height: l, bitsPerComponent: m, sMaskBitsPerComponent: S, colorSpace: O };
|
|
9626
9626
|
}
|
|
9627
9627
|
}, function(n) {
|
|
9628
9628
|
n.processGIF89A = function(e, t, i, s) {
|
|
@@ -9779,20 +9779,20 @@ function(n) {
|
|
|
9779
9779
|
t || (t = {});
|
|
9780
9780
|
var i, s, a, c, l, h, d, m = [], _ = [m], k = t.textIndent || 0, p = 0, j = 0, O = n.split(" "), M = ks.apply(this, [" ", t])[0];
|
|
9781
9781
|
if (h = t.lineIndent === -1 ? O[0].length + 2 : t.lineIndent || 0) {
|
|
9782
|
-
var S = Array(h).join(" "),
|
|
9782
|
+
var S = Array(h).join(" "), V = [];
|
|
9783
9783
|
O.map(function(q) {
|
|
9784
|
-
(q = q.split(/\s*\n/)).length > 1 ?
|
|
9784
|
+
(q = q.split(/\s*\n/)).length > 1 ? V = V.concat(q.map(function(it, vt) {
|
|
9785
9785
|
return (vt && it.length ? `
|
|
9786
9786
|
` : "") + it;
|
|
9787
|
-
})) :
|
|
9788
|
-
}), O =
|
|
9787
|
+
})) : V.push(q[0]);
|
|
9788
|
+
}), O = V, h = Ru.apply(this, [S, t]);
|
|
9789
9789
|
}
|
|
9790
9790
|
for (a = 0, c = O.length; a < c; a++) {
|
|
9791
|
-
var
|
|
9791
|
+
var G = 0;
|
|
9792
9792
|
if (i = O[a], h && i[0] == `
|
|
9793
|
-
` && (i = i.substr(1),
|
|
9793
|
+
` && (i = i.substr(1), G = 1), k + p + (j = (s = ks.apply(this, [i, t])).reduce(function(q, it) {
|
|
9794
9794
|
return q + it;
|
|
9795
|
-
}, 0)) > e ||
|
|
9795
|
+
}, 0)) > e || G) {
|
|
9796
9796
|
if (j > e) {
|
|
9797
9797
|
for (l = Tu.apply(this, [i, s, e - (k + p), e]), m.push(l.shift()), m = [l.pop()]; l.length; )
|
|
9798
9798
|
_.push([l.shift()]);
|
|
@@ -9832,8 +9832,8 @@ function(n) {
|
|
|
9832
9832
|
return "0x" + parseInt(k, 10).toString(16);
|
|
9833
9833
|
}, l = n.__fontmetrics__.compress = function(k) {
|
|
9834
9834
|
var p, j, O, M, S = ["{"];
|
|
9835
|
-
for (var
|
|
9836
|
-
if (p = k[
|
|
9835
|
+
for (var V in k) {
|
|
9836
|
+
if (p = k[V], isNaN(parseInt(V, 10)) ? j = "'" + V + "'" : (V = parseInt(V, 10), j = (j = c(V).slice(2)).slice(0, -1) + s[j.slice(-1)]), typeof p == "number")
|
|
9837
9837
|
p < 0 ? (O = c(p).slice(3), M = "-") : (O = c(p).slice(2), M = ""), O = M + O.slice(0, -1) + s[O.slice(-1)];
|
|
9838
9838
|
else {
|
|
9839
9839
|
if (_e(p) !== "object")
|
|
@@ -9846,8 +9846,8 @@ function(n) {
|
|
|
9846
9846
|
}, h = n.__fontmetrics__.uncompress = function(k) {
|
|
9847
9847
|
if (typeof k != "string")
|
|
9848
9848
|
throw new Error("Invalid argument passed to uncompress.");
|
|
9849
|
-
for (var p, j, O, M, S = {},
|
|
9850
|
-
(M = k[X]) == "'" ? p ? (O = p.join(""), p = void 0) : p = [] : p ? p.push(M) : M == "{" ? (q.push([
|
|
9849
|
+
for (var p, j, O, M, S = {}, V = 1, G = S, q = [], it = "", vt = "", dt = k.length - 1, X = 1; X < dt; X += 1)
|
|
9850
|
+
(M = k[X]) == "'" ? p ? (O = p.join(""), p = void 0) : p = [] : p ? p.push(M) : M == "{" ? (q.push([G, O]), G = {}, O = void 0) : M == "}" ? ((j = q.pop())[0][j[1]] = G, O = void 0, G = j[0]) : M == "-" ? V = -1 : O === void 0 ? i.hasOwnProperty(M) ? (it += i[M], O = parseInt(it, 16) * V, V = 1, it = "") : it += M : i.hasOwnProperty(M) ? (vt += i[M], G[O] = parseInt(vt, 16) * V, V = 1, O = void 0, vt = "") : vt += M;
|
|
9851
9851
|
return S;
|
|
9852
9852
|
}, d = { codePages: ["WinAnsiEncoding"], WinAnsiEncoding: h("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}") }, m = { Unicode: { Courier: d, "Courier-Bold": d, "Courier-BoldOblique": d, "Courier-Oblique": d, Helvetica: d, "Helvetica-Bold": d, "Helvetica-BoldOblique": d, "Helvetica-Oblique": d, "Times-Roman": d, "Times-Bold": d, "Times-BoldItalic": d, "Times-Italic": d } }, _ = { Unicode: { "Courier-Oblique": h("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-BoldItalic": h("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"), "Helvetica-Bold": h("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"), Courier: h("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Courier-BoldOblique": h("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-Bold": h("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"), Symbol: h("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"), Helvetica: h("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"), "Helvetica-BoldOblique": h("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"), ZapfDingbats: h("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"), "Courier-Bold": h("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-Italic": h("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"), "Times-Roman": h("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"), "Helvetica-Oblique": h("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}") } };
|
|
9853
9853
|
n.events.push(["addFont", function(k) {
|
|
@@ -9889,7 +9889,7 @@ function(n) {
|
|
|
9889
9889
|
var d = h.getContext("2d");
|
|
9890
9890
|
d.fillStyle = "#fff", d.fillRect(0, 0, h.width, h.height);
|
|
9891
9891
|
var m = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, _ = this;
|
|
9892
|
-
return (Kt.canvg ? Promise.resolve(Kt.canvg) : import("./index.es-
|
|
9892
|
+
return (Kt.canvg ? Promise.resolve(Kt.canvg) : import("./index.es-DzzQyYAo.js")).catch(function(k) {
|
|
9893
9893
|
return Promise.reject(new Error("Could not load canvg: " + k));
|
|
9894
9894
|
}).then(function(k) {
|
|
9895
9895
|
return k.default ? k.default : k;
|
|
@@ -10012,8 +10012,8 @@ end`;
|
|
|
10012
10012
|
m({ data: i(l.metadata.toUnicode), addLength1: !0, objectId: M }), h("endobj");
|
|
10013
10013
|
var S = d();
|
|
10014
10014
|
h("<<"), h("/Type /FontDescriptor"), h("/FontName /" + ra(l.fontName)), h("/FontFile2 " + O + " 0 R"), h("/FontBBox " + n.API.PDFObject.convert(l.metadata.bbox)), h("/Flags " + l.metadata.flags), h("/StemV " + l.metadata.stemV), h("/ItalicAngle " + l.metadata.italicAngle), h("/Ascent " + l.metadata.ascender), h("/Descent " + l.metadata.decender), h("/CapHeight " + l.metadata.capHeight), h(">>"), h("endobj");
|
|
10015
|
-
var
|
|
10016
|
-
h("<<"), h("/Type /Font"), h("/BaseFont /" + ra(l.fontName)), h("/FontDescriptor " + S + " 0 R"), h("/W " + n.API.PDFObject.convert(_)), h("/CIDToGIDMap /Identity"), h("/DW 1000"), h("/Subtype /CIDFontType2"), h("/CIDSystemInfo"), h("<<"), h("/Supplement 0"), h("/Registry (Adobe)"), h("/Ordering (" + l.encoding + ")"), h(">>"), h(">>"), h("endobj"), l.objectNumber = d(), h("<<"), h("/Type /Font"), h("/Subtype /Type0"), h("/ToUnicode " + M + " 0 R"), h("/BaseFont /" + ra(l.fontName)), h("/Encoding /" + l.encoding), h("/DescendantFonts [" +
|
|
10015
|
+
var V = d();
|
|
10016
|
+
h("<<"), h("/Type /Font"), h("/BaseFont /" + ra(l.fontName)), h("/FontDescriptor " + S + " 0 R"), h("/W " + n.API.PDFObject.convert(_)), h("/CIDToGIDMap /Identity"), h("/DW 1000"), h("/Subtype /CIDFontType2"), h("/CIDSystemInfo"), h("<<"), h("/Supplement 0"), h("/Registry (Adobe)"), h("/Ordering (" + l.encoding + ")"), h(">>"), h(">>"), h("endobj"), l.objectNumber = d(), h("<<"), h("/Type /Font"), h("/Subtype /Type0"), h("/ToUnicode " + M + " 0 R"), h("/BaseFont /" + ra(l.fontName)), h("/Encoding /" + l.encoding), h("/DescendantFonts [" + V + " 0 R]"), h(">>"), h("endobj"), l.isAlreadyPutted = !0;
|
|
10017
10017
|
}
|
|
10018
10018
|
})(a);
|
|
10019
10019
|
}]), e.events.push(["putFont", function(a) {
|
|
@@ -10035,15 +10035,15 @@ end`;
|
|
|
10035
10035
|
})(a);
|
|
10036
10036
|
}]);
|
|
10037
10037
|
var s = function(a) {
|
|
10038
|
-
var c, l = a.text || "", h = a.x, d = a.y, m = a.options || {}, _ = a.mutex || {}, k = _.pdfEscape, p = _.activeFontKey, j = _.fonts, O = p, M = "", S = 0,
|
|
10038
|
+
var c, l = a.text || "", h = a.x, d = a.y, m = a.options || {}, _ = a.mutex || {}, k = _.pdfEscape, p = _.activeFontKey, j = _.fonts, O = p, M = "", S = 0, V = "", G = j[O].encoding;
|
|
10039
10039
|
if (j[O].encoding !== "Identity-H")
|
|
10040
10040
|
return { text: l, x: h, y: d, options: m, mutex: _ };
|
|
10041
|
-
for (
|
|
10042
|
-
j[O].metadata.hasOwnProperty("cmap") && (c = j[O].metadata.cmap.unicode.codeMap[
|
|
10041
|
+
for (V = l, O = p, Array.isArray(l) && (V = l[0]), S = 0; S < V.length; S += 1)
|
|
10042
|
+
j[O].metadata.hasOwnProperty("cmap") && (c = j[O].metadata.cmap.unicode.codeMap[V[S].charCodeAt(0)]), c || V[S].charCodeAt(0) < 256 && j[O].metadata.hasOwnProperty("Unicode") ? M += V[S] : M += "";
|
|
10043
10043
|
var q = "";
|
|
10044
|
-
return parseInt(O.slice(1)) < 14 ||
|
|
10044
|
+
return parseInt(O.slice(1)) < 14 || G === "WinAnsiEncoding" ? q = k(M, O).split("").map(function(it) {
|
|
10045
10045
|
return it.charCodeAt(0).toString(16);
|
|
10046
|
-
}).join("") :
|
|
10046
|
+
}).join("") : G === "Identity-H" && (q = t(M, j[O])), _.isHex = !0, { text: q, x: h, y: d, options: m, mutex: _ };
|
|
10047
10047
|
};
|
|
10048
10048
|
e.events.push(["postProcessText", function(a) {
|
|
10049
10049
|
var c = a.text || "", l = [], h = { text: c, x: a.x, y: a.y, options: a.options, mutex: a.mutex };
|
|
@@ -10080,7 +10080,7 @@ function(n) {
|
|
|
10080
10080
|
*/
|
|
10081
10081
|
function(n) {
|
|
10082
10082
|
n.__bidiEngine__ = n.prototype.__bidiEngine__ = function(i) {
|
|
10083
|
-
var s, a, c, l, h, d, m, _ = e, k = [[0, 3, 0, 1, 0, 0, 0], [0, 3, 0, 1, 2, 2, 0], [0, 3, 0, 17, 2, 0, 1], [0, 3, 5, 5, 4, 1, 0], [0, 3, 21, 21, 4, 0, 1], [0, 3, 5, 5, 4, 2, 0]], p = [[2, 0, 1, 1, 0, 1, 0], [2, 0, 1, 1, 0, 2, 0], [2, 0, 2, 1, 3, 2, 0], [2, 0, 2, 33, 3, 1, 1]], j = { L: 0, R: 1, EN: 2, AN: 3, N: 4, B: 5, S: 6 }, O = { 0: 0, 5: 1, 6: 2, 7: 3, 32: 4, 251: 5, 254: 6, 255: 7 }, M = ["(", ")", "(", "<", ">", "<", "[", "]", "[", "{", "}", "{", "«", "»", "«", "‹", "›", "‹", "⁅", "⁆", "⁅", "⁽", "⁾", "⁽", "₍", "₎", "₍", "≤", "≥", "≤", "〈", "〉", "〈", "﹙", "﹚", "﹙", "﹛", "﹜", "﹛", "﹝", "﹞", "﹝", "﹤", "﹥", "﹤"], S = new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),
|
|
10083
|
+
var s, a, c, l, h, d, m, _ = e, k = [[0, 3, 0, 1, 0, 0, 0], [0, 3, 0, 1, 2, 2, 0], [0, 3, 0, 17, 2, 0, 1], [0, 3, 5, 5, 4, 1, 0], [0, 3, 21, 21, 4, 0, 1], [0, 3, 5, 5, 4, 2, 0]], p = [[2, 0, 1, 1, 0, 1, 0], [2, 0, 1, 1, 0, 2, 0], [2, 0, 2, 1, 3, 2, 0], [2, 0, 2, 33, 3, 1, 1]], j = { L: 0, R: 1, EN: 2, AN: 3, N: 4, B: 5, S: 6 }, O = { 0: 0, 5: 1, 6: 2, 7: 3, 32: 4, 251: 5, 254: 6, 255: 7 }, M = ["(", ")", "(", "<", ">", "<", "[", "]", "[", "{", "}", "{", "«", "»", "«", "‹", "›", "‹", "⁅", "⁆", "⁅", "⁽", "⁾", "⁽", "₍", "₎", "₍", "≤", "≥", "≤", "〈", "〉", "〈", "﹙", "﹚", "﹙", "﹛", "﹜", "﹛", "﹝", "﹞", "﹝", "﹤", "﹥", "﹤"], S = new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/), V = !1, G = 0;
|
|
10084
10084
|
this.__bidiEngine__ = {};
|
|
10085
10085
|
var q = function(N) {
|
|
10086
10086
|
var E = N.charCodeAt(), z = E >> 8, U = O[z];
|
|
@@ -10103,23 +10103,23 @@ function(n) {
|
|
|
10103
10103
|
case "LRO":
|
|
10104
10104
|
case "RLO":
|
|
10105
10105
|
case "PDF":
|
|
10106
|
-
|
|
10106
|
+
V = !1;
|
|
10107
10107
|
break;
|
|
10108
10108
|
case "N":
|
|
10109
10109
|
case "AN":
|
|
10110
10110
|
break;
|
|
10111
10111
|
case "EN":
|
|
10112
|
-
|
|
10112
|
+
V && (ct = "AN");
|
|
10113
10113
|
break;
|
|
10114
10114
|
case "AL":
|
|
10115
|
-
|
|
10115
|
+
V = !0, ct = "R";
|
|
10116
10116
|
break;
|
|
10117
10117
|
case "WS":
|
|
10118
10118
|
case "BN":
|
|
10119
10119
|
ct = "N";
|
|
10120
10120
|
break;
|
|
10121
10121
|
case "CS":
|
|
10122
|
-
U < 1 || U + 1 >= E.length || (rt = z[U - 1]) !== "EN" && rt !== "AN" || (ot = E[U + 1]) !== "EN" && ot !== "AN" ? ct = "N" :
|
|
10122
|
+
U < 1 || U + 1 >= E.length || (rt = z[U - 1]) !== "EN" && rt !== "AN" || (ot = E[U + 1]) !== "EN" && ot !== "AN" ? ct = "N" : V && (ot = "AN"), ct = ot === rt ? ot : "N";
|
|
10123
10123
|
break;
|
|
10124
10124
|
case "ES":
|
|
10125
10125
|
ct = (rt = U > 0 ? z[U - 1] : "B") === "EN" && U + 1 < E.length && E[U + 1] === "EN" ? "EN" : "N";
|
|
@@ -10129,7 +10129,7 @@ function(n) {
|
|
|
10129
10129
|
ct = "EN";
|
|
10130
10130
|
break;
|
|
10131
10131
|
}
|
|
10132
|
-
if (
|
|
10132
|
+
if (V) {
|
|
10133
10133
|
ct = "N";
|
|
10134
10134
|
break;
|
|
10135
10135
|
}
|
|
@@ -10152,7 +10152,7 @@ function(n) {
|
|
|
10152
10152
|
ct = U < 1 || (rt = E[U - 1]) === "B" ? "N" : z[U - 1];
|
|
10153
10153
|
break;
|
|
10154
10154
|
case "B":
|
|
10155
|
-
|
|
10155
|
+
V = !1, s = !0, ct = G;
|
|
10156
10156
|
break;
|
|
10157
10157
|
case "S":
|
|
10158
10158
|
a = !0, ct = "N";
|
|
@@ -10160,10 +10160,10 @@ function(n) {
|
|
|
10160
10160
|
return ct;
|
|
10161
10161
|
}, dt = function(N, E, z) {
|
|
10162
10162
|
var U = N.split("");
|
|
10163
|
-
return z && X(U, z, { hiLevel:
|
|
10163
|
+
return z && X(U, z, { hiLevel: G }), U.reverse(), E && E.reverse(), U.join("");
|
|
10164
10164
|
}, X = function(N, E, z) {
|
|
10165
|
-
var U, rt, ot, ft, nt, ct = -1, At = N.length, wt = 0, x = [], B =
|
|
10166
|
-
for (
|
|
10165
|
+
var U, rt, ot, ft, nt, ct = -1, At = N.length, wt = 0, x = [], B = G ? p : k, T = [];
|
|
10166
|
+
for (V = !1, s = !1, a = !1, rt = 0; rt < At; rt++)
|
|
10167
10167
|
T[rt] = q(N[rt]);
|
|
10168
10168
|
for (ot = 0; ot < At; ot++) {
|
|
10169
10169
|
if (nt = wt, x[ot] = vt(N, T, x, ot), U = 240 & (wt = B[nt][j[x[ot]]]), wt &= 15, E[ot] = ft = B[wt][5], U > 0)
|
|
@@ -10185,14 +10185,14 @@ function(n) {
|
|
|
10185
10185
|
a && function(H, J, Z) {
|
|
10186
10186
|
for (var at = 0; at < Z; at++)
|
|
10187
10187
|
if (H[at] === "S") {
|
|
10188
|
-
J[at] =
|
|
10188
|
+
J[at] = G;
|
|
10189
10189
|
for (var st = at - 1; st >= 0 && H[st] === "WS"; st--)
|
|
10190
|
-
J[st] =
|
|
10190
|
+
J[st] = G;
|
|
10191
10191
|
}
|
|
10192
10192
|
}(T, E, At);
|
|
10193
10193
|
}, R = function(N, E, z, U, rt) {
|
|
10194
10194
|
if (!(rt.hiLevel < N)) {
|
|
10195
|
-
if (N === 1 &&
|
|
10195
|
+
if (N === 1 && G === 1 && !s)
|
|
10196
10196
|
return E.reverse(), void (z && z.reverse());
|
|
10197
10197
|
for (var ot, ft, nt, ct, At = E.length, wt = 0; wt < At; ) {
|
|
10198
10198
|
if (U[wt] >= N) {
|
|
@@ -10206,7 +10206,7 @@ function(n) {
|
|
|
10206
10206
|
}
|
|
10207
10207
|
}
|
|
10208
10208
|
}, tt = function(N, E, z) {
|
|
10209
|
-
var U = N.split(""), rt = { hiLevel:
|
|
10209
|
+
var U = N.split(""), rt = { hiLevel: G };
|
|
10210
10210
|
return z || (z = []), X(U, z, rt), function(ot, ft, nt) {
|
|
10211
10211
|
if (nt.hiLevel !== 0 && m)
|
|
10212
10212
|
for (var ct, At = 0; At < ot.length; At++)
|
|
@@ -10221,22 +10221,22 @@ function(n) {
|
|
|
10221
10221
|
l === void 0 && (l = it(rt)), d === void 0 && (d = it(rt));
|
|
10222
10222
|
}(N, E), c || !h || d)
|
|
10223
10223
|
if (c && h && l ^ d)
|
|
10224
|
-
|
|
10224
|
+
G = l ? 1 : 0, N = dt(N, E, z);
|
|
10225
10225
|
else if (!c && h && d)
|
|
10226
|
-
|
|
10226
|
+
G = l ? 1 : 0, N = tt(N, E, z), N = dt(N, E);
|
|
10227
10227
|
else if (!c || l || h || d) {
|
|
10228
10228
|
if (c && !h && l ^ d)
|
|
10229
|
-
N = dt(N, E), l ? (
|
|
10229
|
+
N = dt(N, E), l ? (G = 0, N = tt(N, E, z)) : (G = 1, N = tt(N, E, z), N = dt(N, E));
|
|
10230
10230
|
else if (c && l && !h && d)
|
|
10231
|
-
|
|
10231
|
+
G = 1, N = tt(N, E, z), N = dt(N, E);
|
|
10232
10232
|
else if (!c && !h && l ^ d) {
|
|
10233
10233
|
var U = m;
|
|
10234
|
-
l ? (
|
|
10234
|
+
l ? (G = 1, N = tt(N, E, z), G = 0, m = !1, N = tt(N, E, z), m = U) : (G = 0, N = tt(N, E, z), N = dt(N, E), G = 1, m = !1, N = tt(N, E, z), m = U, N = dt(N, E));
|
|
10235
10235
|
}
|
|
10236
10236
|
} else
|
|
10237
|
-
|
|
10237
|
+
G = 0, N = tt(N, E, z);
|
|
10238
10238
|
else
|
|
10239
|
-
|
|
10239
|
+
G = l ? 1 : 0, N = tt(N, E, z);
|
|
10240
10240
|
return N;
|
|
10241
10241
|
}, this.__bidiEngine__.setOptions = function(N) {
|
|
10242
10242
|
N && (c = N.isInputVisual, h = N.isOutputVisual, l = N.isInputRtl, d = N.isOutputRtl, m = N.isSymmetricSwapping);
|
|
@@ -10407,7 +10407,7 @@ var r2 = function() {
|
|
|
10407
10407
|
}, n;
|
|
10408
10408
|
}(), Ju = function() {
|
|
10409
10409
|
function n(e, t) {
|
|
10410
|
-
var i, s, a, c, l, h, d, m, _, k, p, j, O, M, S,
|
|
10410
|
+
var i, s, a, c, l, h, d, m, _, k, p, j, O, M, S, V, G;
|
|
10411
10411
|
switch (this.platformID = e.readUInt16(), this.encodingID = e.readShort(), this.offset = t + e.readInt(), _ = e.pos, e.pos = this.offset, this.format = e.readUInt16(), this.length = e.readUInt16(), this.language = e.readUInt16(), this.isUnicode = this.platformID === 3 && this.encodingID === 1 && this.format === 4 || this.platformID === 0 && this.format === 4, this.codeMap = {}, this.format) {
|
|
10412
10412
|
case 0:
|
|
10413
10413
|
for (h = 0; h < 256; ++h)
|
|
@@ -10439,14 +10439,14 @@ var r2 = function() {
|
|
|
10439
10439
|
for (it = [], h = q = 0; 0 <= s ? q < s : q > s; h = 0 <= s ? ++q : --q)
|
|
10440
10440
|
it.push(e.readUInt16());
|
|
10441
10441
|
return it;
|
|
10442
|
-
}(), h = S = 0,
|
|
10443
|
-
for (M = a[h], i =
|
|
10442
|
+
}(), h = S = 0, G = a.length; S < G; h = ++S)
|
|
10443
|
+
for (M = a[h], i = V = j = O[h]; j <= M ? V <= M : V >= M; i = j <= M ? ++V : --V)
|
|
10444
10444
|
m[h] === 0 ? c = i + d[h] : (c = l[m[h] / 2 + (i - j) - (k - h)] || 0) !== 0 && (c += d[h]), this.codeMap[i] = 65535 & c;
|
|
10445
10445
|
}
|
|
10446
10446
|
e.pos = _;
|
|
10447
10447
|
}
|
|
10448
10448
|
return n.encode = function(e, t) {
|
|
10449
|
-
var i, s, a, c, l, h, d, m, _, k, p, j, O, M, S,
|
|
10449
|
+
var i, s, a, c, l, h, d, m, _, k, p, j, O, M, S, V, G, q, it, vt, dt, X, R, tt, N, E, z, U, rt, ot, ft, nt, ct, At, wt, x, B, T, H, J, Z, at, st, gt, _t, kt;
|
|
10450
10450
|
switch (U = new ti(), c = Object.keys(e).sort(function(St, Dt) {
|
|
10451
10451
|
return St - Dt;
|
|
10452
10452
|
}), t) {
|
|
@@ -10456,12 +10456,12 @@ var r2 = function() {
|
|
|
10456
10456
|
for (j = 0; j < 256; ++j)
|
|
10457
10457
|
St.push(0);
|
|
10458
10458
|
return St;
|
|
10459
|
-
}(),
|
|
10460
|
-
|
|
10459
|
+
}(), V = { 0: 0 }, a = {}, rt = 0, ct = c.length; rt < ct; rt++)
|
|
10460
|
+
V[st = e[s = c[rt]]] == null && (V[st] = ++O), a[s] = { old: e[s], new: V[e[s]] }, M[s] = V[e[s]];
|
|
10461
10461
|
return U.writeUInt16(1), U.writeUInt16(0), U.writeUInt32(12), U.writeUInt16(0), U.writeUInt16(262), U.writeUInt16(0), U.write(M), { charMap: a, subtable: U.data, maxGlyphID: O + 1 };
|
|
10462
10462
|
case "unicode":
|
|
10463
|
-
for (E = [], _ = [],
|
|
10464
|
-
|
|
10463
|
+
for (E = [], _ = [], G = 0, V = {}, i = {}, S = d = null, ot = 0, At = c.length; ot < At; ot++)
|
|
10464
|
+
V[it = e[s = c[ot]]] == null && (V[it] = ++G), i[s] = { old: it, new: V[it] }, l = V[it] - s, S != null && l === d || (S && _.push(S), E.push(s), d = l), S = s;
|
|
10465
10465
|
for (S && _.push(S), _.push(65535), E.push(65535), tt = 2 * (R = E.length), X = 2 * Math.pow(Math.log(R) / Math.LN2, 2), k = Math.log(X / 2) / Math.LN2, dt = 2 * R - X, h = [], vt = [], p = [], j = ft = 0, wt = E.length; ft < wt; j = ++ft) {
|
|
10466
10466
|
if (N = E[j], m = _[j], N === 65535) {
|
|
10467
10467
|
h.push(0), vt.push(0);
|
|
@@ -10483,7 +10483,7 @@ var r2 = function() {
|
|
|
10483
10483
|
q = vt[_t], U.writeUInt16(q);
|
|
10484
10484
|
for (kt = 0, J = p.length; kt < J; kt++)
|
|
10485
10485
|
O = p[kt], U.writeUInt16(O);
|
|
10486
|
-
return { charMap: i, subtable: U.data, maxGlyphID:
|
|
10486
|
+
return { charMap: i, subtable: U.data, maxGlyphID: G + 1 };
|
|
10487
10487
|
}
|
|
10488
10488
|
}, n;
|
|
10489
10489
|
}(), Df = function() {
|
|
@@ -10699,17 +10699,17 @@ var r2 = function() {
|
|
|
10699
10699
|
p[(h = S[s]).old] = h.new;
|
|
10700
10700
|
for (j in k = i.maxGlyphID, c)
|
|
10701
10701
|
j in p || (p[j] = k++);
|
|
10702
|
-
return m = function(
|
|
10703
|
-
var
|
|
10704
|
-
for (
|
|
10705
|
-
q[G
|
|
10702
|
+
return m = function(V) {
|
|
10703
|
+
var G, q;
|
|
10704
|
+
for (G in q = {}, V)
|
|
10705
|
+
q[V[G]] = G;
|
|
10706
10706
|
return q;
|
|
10707
|
-
}(p), _ = Object.keys(m).sort(function(
|
|
10708
|
-
return
|
|
10707
|
+
}(p), _ = Object.keys(m).sort(function(V, G) {
|
|
10708
|
+
return V - G;
|
|
10709
10709
|
}), O = function() {
|
|
10710
|
-
var
|
|
10711
|
-
for (q = [],
|
|
10712
|
-
l = _[
|
|
10710
|
+
var V, G, q;
|
|
10711
|
+
for (q = [], V = 0, G = _.length; V < G; V++)
|
|
10712
|
+
l = _[V], q.push(m[l]);
|
|
10713
10713
|
return q;
|
|
10714
10714
|
}(), a = this.font.glyf.encode(c, O, p), d = this.font.loca.encode(a.offsets, O), M = { cmap: this.font.cmap.raw(), glyf: a.table, loca: d, hmtx: this.font.hmtx.raw(), hhea: this.font.hhea.raw(), maxp: this.font.maxp.raw(), post: this.font.post.raw(), name: this.font.name.raw(), head: this.font.head.encode(t) }, this.font.os2.exists && (M["OS/2"] = this.font.os2.raw()), this.font.directory.encode(M);
|
|
10715
10715
|
}, n;
|