@borurio-print/print-designer 1.0.30 → 1.0.32

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.
@@ -1,4 +1,4 @@
1
- import { i as Mc, a as Ic, f as Bs, g as Rs, r as Ec, b as Cc, c as zu, d as Fc, e as jc, h as Oc, J as Bc, Q as Rc, l as Tc, j as Dc, k as nf, T as qc, m as Uc, n as zc } from "./index-SdN_1rry.js";
1
+ import { i as Ic, a as Ec, f as Bs, g as Rs, r as Cc, b as Fc, c as Hu, d as Wu, e as jc, h as Oc, J as Bc, Q as Rc, l as Tc, j as Dc, k as af, T as qc, m as Uc, n as zc } from "./index-BvL56GJM.js";
2
2
  function xe(r) {
3
3
  "@babel/helpers - typeof";
4
4
  return xe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -7,7 +7,7 @@ function xe(r) {
7
7
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8
8
  }, xe(r);
9
9
  }
10
- var Zr = Uint8Array, jr = Uint16Array, Qo = Int32Array, tu = new Zr([
10
+ var Zr = Uint8Array, jr = Uint16Array, tu = Int32Array, eu = new Zr([
11
11
  0,
12
12
  0,
13
13
  0,
@@ -42,7 +42,7 @@ var Zr = Uint8Array, jr = Uint16Array, Qo = Int32Array, tu = new Zr([
42
42
  0,
43
43
  /* impossible */
44
44
  0
45
- ]), eu = new Zr([
45
+ ]), ru = new Zr([
46
46
  0,
47
47
  0,
48
48
  0,
@@ -76,19 +76,19 @@ var Zr = Uint8Array, jr = Uint16Array, Qo = Int32Array, tu = new Zr([
76
76
  /* unused */
77
77
  0,
78
78
  0
79
- ]), Hu = new Zr([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), af = function(r, t) {
79
+ ]), Gu = new Zr([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), sf = function(r, t) {
80
80
  for (var e = new jr(31), n = 0; n < 31; ++n)
81
81
  e[n] = t += 1 << r[n - 1];
82
- for (var s = new Qo(e[30]), n = 1; n < 30; ++n)
82
+ for (var s = new tu(e[30]), n = 1; n < 30; ++n)
83
83
  for (var a = e[n]; a < e[n + 1]; ++a)
84
84
  s[a] = a - e[n] << 5 | n;
85
85
  return { b: e, r: s };
86
- }, sf = af(tu, 2), Hc = sf.b, zo = sf.r;
87
- Hc[28] = 258, zo[258] = 28;
88
- var Wc = af(eu, 0), Wu = Wc.r, Ho = new jr(32768);
86
+ }, of = sf(eu, 2), Hc = of.b, Ho = of.r;
87
+ Hc[28] = 258, Ho[258] = 28;
88
+ var Wc = sf(ru, 0), Vu = Wc.r, Wo = new jr(32768);
89
89
  for (var Ce = 0; Ce < 32768; ++Ce) {
90
90
  var Xn = (Ce & 43690) >> 1 | (Ce & 21845) << 1;
91
- Xn = (Xn & 52428) >> 2 | (Xn & 13107) << 2, Xn = (Xn & 61680) >> 4 | (Xn & 3855) << 4, Ho[Ce] = ((Xn & 65280) >> 8 | (Xn & 255) << 8) >> 1;
91
+ Xn = (Xn & 52428) >> 2 | (Xn & 13107) << 2, Xn = (Xn & 61680) >> 4 | (Xn & 3855) << 4, Wo[Ce] = ((Xn & 65280) >> 8 | (Xn & 255) << 8) >> 1;
92
92
  }
93
93
  var Ca = (function(r, t, e) {
94
94
  for (var n = r.length, s = 0, a = new jr(t); s < n; ++s)
@@ -103,10 +103,10 @@ var Ca = (function(r, t, e) {
103
103
  for (s = 0; s < n; ++s)
104
104
  if (r[s])
105
105
  for (var d = s << 4 | r[s], g = t - r[s], x = f[r[s] - 1]++ << g, N = x | (1 << g) - 1; x <= N; ++x)
106
- u[Ho[x] >> c] = d;
106
+ u[Wo[x] >> c] = d;
107
107
  } else
108
108
  for (u = new jr(n), s = 0; s < n; ++s)
109
- r[s] && (u[s] = Ho[f[r[s] - 1]++] >> 15 - r[s]);
109
+ r[s] && (u[s] = Wo[f[r[s] - 1]++] >> 15 - r[s]);
110
110
  return u;
111
111
  }), xi = new Zr(288);
112
112
  for (var Ce = 0; Ce < 144; ++Ce)
@@ -120,7 +120,7 @@ for (var Ce = 280; Ce < 288; ++Ce)
120
120
  var Is = new Zr(32);
121
121
  for (var Ce = 0; Ce < 32; ++Ce)
122
122
  Is[Ce] = 5;
123
- var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), of = function(r) {
123
+ var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), uf = function(r) {
124
124
  return (r + 7) / 8 | 0;
125
125
  }, Yc = function(r, t, e) {
126
126
  return (e == null || e > r.length) && (e = r.length), new Zr(r.subarray(t, e));
@@ -137,7 +137,7 @@ var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), of = f
137
137
  r[n] && e.push({ s: n, f: r[n] });
138
138
  var s = e.length, a = e.slice();
139
139
  if (!s)
140
- return { t: lf, l: 0 };
140
+ return { t: ff, l: 0 };
141
141
  if (s == 1) {
142
142
  var f = new Zr(e[0].s + 1);
143
143
  return f[e[0].s] = 1, { t: f, l: 1 };
@@ -150,7 +150,7 @@ var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), of = f
150
150
  u = e[e[d].f < e[x].f ? d++ : x++], c = e[d != g && e[d].f < e[x].f ? d++ : x++], e[g++] = { s: -1, f: u.f + c.f, l: u, r: c };
151
151
  for (var N = a[0].s, n = 1; n < s; ++n)
152
152
  a[n].s > N && (N = a[n].s);
153
- var p = new jr(N + 1), j = Wo(e[g - 1], p, 0);
153
+ var p = new jr(N + 1), j = Go(e[g - 1], p, 0);
154
154
  if (j > t) {
155
155
  var n = 0, P = 0, O = j - t, k = 1 << O;
156
156
  for (a.sort(function(mt, dt) {
@@ -173,9 +173,9 @@ var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), of = f
173
173
  j = t;
174
174
  }
175
175
  return { t: new Zr(p), l: j };
176
- }, Wo = function(r, t, e) {
177
- return r.s == -1 ? Math.max(Wo(r.l, t, e + 1), Wo(r.r, t, e + 1)) : t[r.s] = e;
178
- }, Gu = function(r) {
176
+ }, Go = function(r, t, e) {
177
+ return r.s == -1 ? Math.max(Go(r.l, t, e + 1), Go(r.r, t, e + 1)) : t[r.s] = e;
178
+ }, Yu = function(r) {
179
179
  for (var t = r.length; t && !r[--t]; )
180
180
  ;
181
181
  for (var e = new jr(++t), n = 0, s = r[0], a = 1, f = function(c) {
@@ -202,30 +202,30 @@ var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), of = f
202
202
  for (var e = 0, n = 0; n < t.length; ++n)
203
203
  e += r[n] * t[n];
204
204
  return e;
205
- }, uf = function(r, t, e) {
206
- var n = e.length, s = of(t + 2);
205
+ }, lf = function(r, t, e) {
206
+ var n = e.length, s = uf(t + 2);
207
207
  r[s] = n & 255, r[s + 1] = n >> 8, r[s + 2] = r[s] ^ 255, r[s + 3] = r[s + 1] ^ 255;
208
208
  for (var a = 0; a < n; ++a)
209
209
  r[s + a + 4] = e[a];
210
210
  return (s + 4 + n) * 8;
211
- }, Vu = function(r, t, e, n, s, a, f, u, c, d, g) {
211
+ }, Xu = function(r, t, e, n, s, a, f, u, c, d, g) {
212
212
  En(t, g++, e), ++s[256];
213
- for (var x = Ao(s, 15), N = x.t, p = x.l, j = Ao(a, 15), P = j.t, O = j.l, k = Gu(N), G = k.c, Y = k.n, q = Gu(P), it = q.c, mt = q.n, dt = new jr(19), K = 0; K < G.length; ++K)
213
+ for (var x = Ao(s, 15), N = x.t, p = x.l, j = Ao(a, 15), P = j.t, O = j.l, k = Yu(N), G = k.c, Y = k.n, q = Yu(P), it = q.c, mt = q.n, dt = new jr(19), K = 0; K < G.length; ++K)
214
214
  ++dt[G[K] & 31];
215
215
  for (var K = 0; K < it.length; ++K)
216
216
  ++dt[it[K] & 31];
217
- for (var R = Ao(dt, 7), tt = R.t, _ = R.l, F = 19; F > 4 && !tt[Hu[F - 1]]; --F)
217
+ for (var R = Ao(dt, 7), tt = R.t, _ = R.l, F = 19; F > 4 && !tt[Gu[F - 1]]; --F)
218
218
  ;
219
219
  var z = d + 5 << 3, U = Ia(s, xi) + Ia(a, Is) + f, nt = Ia(s, N) + Ia(a, P) + f + 14 + 3 * F + Ia(dt, tt) + 2 * dt[16] + 3 * dt[17] + 7 * dt[18];
220
220
  if (c >= 0 && z <= U && z <= nt)
221
- return uf(t, g, r.subarray(c, c + d));
221
+ return lf(t, g, r.subarray(c, c + d));
222
222
  var ot, ft, rt, ht;
223
223
  if (En(t, g, 1 + (nt < U)), g += 2, nt < U) {
224
224
  ot = Ca(N, p, 0), ft = N, rt = Ca(P, O, 0), ht = P;
225
225
  var Nt = Ca(tt, _, 0);
226
226
  En(t, g, Y - 257), En(t, g + 5, mt - 1), En(t, g + 10, F - 4), g += 14;
227
227
  for (var K = 0; K < F; ++K)
228
- En(t, g + 3 * K, tt[Hu[K]]);
228
+ En(t, g + 3 * K, tt[Gu[K]]);
229
229
  g += 3 * F;
230
230
  for (var wt = [G, it], A = 0; A < 2; ++A)
231
231
  for (var B = wt[A], K = 0; K < B.length; ++K) {
@@ -238,25 +238,25 @@ var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), of = f
238
238
  var H = n[K];
239
239
  if (H > 255) {
240
240
  var T = H >> 18 & 31;
241
- Ma(t, g, ot[T + 257]), g += ft[T + 257], T > 7 && (En(t, g, H >> 23 & 31), g += tu[T]);
241
+ Ma(t, g, ot[T + 257]), g += ft[T + 257], T > 7 && (En(t, g, H >> 23 & 31), g += eu[T]);
242
242
  var X = H & 31;
243
- Ma(t, g, rt[X]), g += ht[X], X > 3 && (Ma(t, g, H >> 5 & 8191), g += eu[X]);
243
+ Ma(t, g, rt[X]), g += ht[X], X > 3 && (Ma(t, g, H >> 5 & 8191), g += ru[X]);
244
244
  } else
245
245
  Ma(t, g, ot[H]), g += ft[H];
246
246
  }
247
247
  return Ma(t, g, ot[256]), g + ft[256];
248
- }, Xc = /* @__PURE__ */ new Qo([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), lf = /* @__PURE__ */ new Zr(0), Jc = function(r, t, e, n, s, a) {
248
+ }, Xc = /* @__PURE__ */ new tu([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), ff = /* @__PURE__ */ new Zr(0), Jc = function(r, t, e, n, s, a) {
249
249
  var f = a.z || r.length, u = new Zr(n + f + 5 * (1 + Math.ceil(f / 7e3)) + s), c = u.subarray(n, u.length - s), d = a.l, g = (a.r || 0) & 7;
250
250
  if (t) {
251
251
  g && (c[0] = a.r >> 3);
252
252
  for (var x = Xc[t - 1], N = x >> 13, p = x & 8191, j = (1 << e) - 1, P = a.p || new jr(32768), O = a.h || new jr(j + 1), k = Math.ceil(e / 3), G = 2 * k, Y = function(Dt) {
253
253
  return (r[Dt] ^ r[Dt + 1] << k ^ r[Dt + 2] << G) & j;
254
- }, q = new Qo(25e3), it = new jr(288), mt = new jr(32), dt = 0, K = 0, R = a.i || 0, tt = 0, _ = a.w || 0, F = 0; R + 2 < f; ++R) {
254
+ }, q = new tu(25e3), it = new jr(288), mt = new jr(32), dt = 0, K = 0, R = a.i || 0, tt = 0, _ = a.w || 0, F = 0; R + 2 < f; ++R) {
255
255
  var z = Y(R), U = R & 32767, nt = O[z];
256
256
  if (P[U] = nt, O[z] = U, _ <= R) {
257
257
  var ot = f - R;
258
258
  if ((dt > 7e3 || tt > 24576) && (ot > 423 || !d)) {
259
- g = Vu(r, c, 0, q, it, mt, K, tt, F, R - F, g), tt = dt = K = 0, F = R;
259
+ g = Xu(r, c, 0, q, it, mt, K, tt, F, R - F, g), tt = dt = K = 0, F = R;
260
260
  for (var ft = 0; ft < 286; ++ft)
261
261
  it[ft] = 0;
262
262
  for (var ft = 0; ft < 30; ++ft)
@@ -280,25 +280,25 @@ var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), of = f
280
280
  U = nt, nt = P[U], wt += U - nt & 32767;
281
281
  }
282
282
  if (ht) {
283
- q[tt++] = 268435456 | zo[rt] << 18 | Wu[ht];
284
- var At = zo[rt] & 31, kt = Wu[ht] & 31;
285
- K += tu[At] + eu[kt], ++it[257 + At], ++mt[kt], _ = R + rt, ++dt;
283
+ q[tt++] = 268435456 | Ho[rt] << 18 | Vu[ht];
284
+ var At = Ho[rt] & 31, kt = Vu[ht] & 31;
285
+ K += eu[At] + ru[kt], ++it[257 + At], ++mt[kt], _ = R + rt, ++dt;
286
286
  } else
287
287
  q[tt++] = r[R], ++it[r[R]];
288
288
  }
289
289
  }
290
290
  for (R = Math.max(R, _); R < f; ++R)
291
291
  q[tt++] = r[R], ++it[r[R]];
292
- g = Vu(r, c, d, q, it, mt, K, tt, F, R - F, g), d || (a.r = g & 7 | c[g / 8 | 0] << 3, g -= 7, a.h = O, a.p = P, a.i = R, a.w = _);
292
+ g = Xu(r, c, d, q, it, mt, K, tt, F, R - F, g), d || (a.r = g & 7 | c[g / 8 | 0] << 3, g -= 7, a.h = O, a.p = P, a.i = R, a.w = _);
293
293
  } else {
294
294
  for (var R = a.w || 0; R < f + d; R += 65535) {
295
295
  var St = R + 65535;
296
- St >= f && (c[g / 8 | 0] = d, St = f), g = uf(c, g + 1, r.subarray(R, St));
296
+ St >= f && (c[g / 8 | 0] = d, St = f), g = lf(c, g + 1, r.subarray(R, St));
297
297
  }
298
298
  a.i = f;
299
299
  }
300
- return Yc(u, 0, n + of(g) + s);
301
- }, ff = function() {
300
+ return Yc(u, 0, n + uf(g) + s);
301
+ }, cf = function() {
302
302
  var r = 1, t = 0;
303
303
  return {
304
304
  p: function(e) {
@@ -319,26 +319,26 @@ var Gc = /* @__PURE__ */ Ca(xi, 9, 0), Vc = /* @__PURE__ */ Ca(Is, 5, 0), of = f
319
319
  f.set(a), f.set(r, a.length), r = f, s.w = a.length;
320
320
  }
321
321
  return Jc(r, t.level == null ? 6 : t.level, t.mem == null ? s.l ? Math.ceil(Math.max(8, Math.min(13, Math.log(r.length))) * 1.5) : 20 : 12 + t.mem, e, n, s);
322
- }, cf = function(r, t, e) {
322
+ }, hf = function(r, t, e) {
323
323
  for (; e; ++t)
324
324
  r[t] = e, e >>>= 8;
325
325
  }, $c = function(r, t) {
326
326
  var e = t.level, n = e == 0 ? 0 : e < 6 ? 1 : e == 9 ? 3 : 2;
327
327
  if (r[0] = 120, r[1] = n << 6 | (t.dictionary && 32), r[1] |= 31 - (r[0] << 8 | r[1]) % 31, t.dictionary) {
328
- var s = ff();
329
- s.p(t.dictionary), cf(r, 2, s.d());
328
+ var s = cf();
329
+ s.p(t.dictionary), hf(r, 2, s.d());
330
330
  }
331
331
  };
332
- function Go(r, t) {
332
+ function Vo(r, t) {
333
333
  t || (t = {});
334
- var e = ff();
334
+ var e = cf();
335
335
  e.p(r);
336
336
  var n = Kc(r, t, t.dictionary ? 6 : 2, 4);
337
- return $c(n, t), cf(n, n.length - 4, e.d()), n;
337
+ return $c(n, t), hf(n, n.length - 4, e.d()), n;
338
338
  }
339
339
  var Zc = typeof TextDecoder < "u" && /* @__PURE__ */ new TextDecoder(), Qc = 0;
340
340
  try {
341
- Zc.decode(lf, { stream: !0 }), Qc = 1;
341
+ Zc.decode(ff, { stream: !0 }), Qc = 1;
342
342
  } catch {
343
343
  }
344
344
  function th(r) {
@@ -362,26 +362,26 @@ function eh(r, t) {
362
362
  return u;
363
363
  }
364
364
  }
365
- function Yu(r, t) {
365
+ function Ju(r, t) {
366
366
  (t == null || t > r.length) && (t = r.length);
367
367
  for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
368
368
  return n;
369
369
  }
370
370
  function rh(r, t) {
371
371
  if (r) {
372
- if (typeof r == "string") return Yu(r, t);
372
+ if (typeof r == "string") return Ju(r, t);
373
373
  var e = {}.toString.call(r).slice(8, -1);
374
- return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Yu(r, t) : void 0;
374
+ return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Ju(r, t) : void 0;
375
375
  }
376
376
  }
377
377
  function nh() {
378
378
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
379
379
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
380
380
  }
381
- function Xu(r, t) {
381
+ function Ku(r, t) {
382
382
  return th(r) || eh(r, t) || rh(r, t) || nh();
383
383
  }
384
- function Ju(r, t = "utf8") {
384
+ function $u(r, t = "utf8") {
385
385
  return new TextDecoder(t).decode(r);
386
386
  }
387
387
  const ih = new TextEncoder();
@@ -403,7 +403,7 @@ const sh = 1024 * 8, oh = (() => {
403
403
  float32: globalThis.Float32Array,
404
404
  float64: globalThis.Float64Array
405
405
  };
406
- class ru {
406
+ class nu {
407
407
  /**
408
408
  * Reference to the internal ArrayBuffer object.
409
409
  */
@@ -444,7 +444,7 @@ class ru {
444
444
  typeof t == "number" ? t = new ArrayBuffer(t) : (n = !0, this.lastWrittenByte = t.byteLength);
445
445
  const s = e.offset ? e.offset >>> 0 : 0, a = t.byteLength - s;
446
446
  let f = s;
447
- (ArrayBuffer.isView(t) || t instanceof ru) && (t.byteLength !== t.buffer.byteLength && (f = t.byteOffset + s), t = t.buffer), n ? this.lastWrittenByte = a : this.lastWrittenByte = 0, this.buffer = t, this.length = a, this.byteLength = a, this.byteOffset = f, this.offset = 0, this.littleEndian = !0, this._data = new DataView(this.buffer, f, a), this._mark = 0, this._marks = [];
447
+ (ArrayBuffer.isView(t) || t instanceof nu) && (t.byteLength !== t.buffer.byteLength && (f = t.byteOffset + s), t = t.buffer), n ? this.lastWrittenByte = a : this.lastWrittenByte = 0, this.buffer = t, this.length = a, this.byteLength = a, this.byteOffset = f, this.offset = 0, this.littleEndian = !0, this._data = new DataView(this.buffer, f, a), this._mark = 0, this._marks = [];
448
448
  }
449
449
  /**
450
450
  * Checks if the memory allocated to the buffer is sufficient to store more
@@ -710,7 +710,7 @@ class ru {
710
710
  * @returns The decoded string.
711
711
  */
712
712
  readUtf8(t = 1) {
713
- return Ju(this.readBytes(t));
713
+ return $u(this.readBytes(t));
714
714
  }
715
715
  /**
716
716
  * Read the next `n` bytes, return a string decoded with `encoding` and move pointer
@@ -721,7 +721,7 @@ class ru {
721
721
  * @returns The decoded string.
722
722
  */
723
723
  decodeText(t = 1, e = "utf8") {
724
- return Ju(this.readBytes(t), e);
724
+ return $u(this.readBytes(t), e);
725
725
  }
726
726
  /**
727
727
  * Write 0xff if the passed value is truthy, 0x00 otherwise and move pointer
@@ -899,17 +899,17 @@ function aa(r) {
899
899
  for (; --t >= 0; )
900
900
  r[t] = 0;
901
901
  }
902
- const uh = 3, lh = 258, hf = 29, fh = 256, ch = fh + 1 + hf, df = 30, hh = 512, dh = new Array((ch + 2) * 2);
902
+ const uh = 3, lh = 258, df = 29, fh = 256, ch = fh + 1 + df, pf = 30, hh = 512, dh = new Array((ch + 2) * 2);
903
903
  aa(dh);
904
- const ph = new Array(df * 2);
904
+ const ph = new Array(pf * 2);
905
905
  aa(ph);
906
906
  const gh = new Array(hh);
907
907
  aa(gh);
908
908
  const mh = new Array(lh - uh + 1);
909
909
  aa(mh);
910
- const vh = new Array(hf);
910
+ const vh = new Array(df);
911
911
  aa(vh);
912
- const bh = new Array(df);
912
+ const bh = new Array(pf);
913
913
  aa(bh);
914
914
  const wh = (r, t, e, n) => {
915
915
  let s = r & 65535 | 0, a = r >>> 16 & 65535 | 0, f = 0;
@@ -922,7 +922,7 @@ const wh = (r, t, e, n) => {
922
922
  }
923
923
  return s | a << 16 | 0;
924
924
  };
925
- var Vo = wh;
925
+ var Yo = wh;
926
926
  const yh = () => {
927
927
  let r, t = [];
928
928
  for (var e = 0; e < 256; e++) {
@@ -939,7 +939,7 @@ const yh = () => {
939
939
  r = r >>> 8 ^ s[(r ^ t[f]) & 255];
940
940
  return r ^ -1;
941
941
  };
942
- var hn = Ah, Yo = {
942
+ var hn = Ah, Xo = {
943
943
  2: "need dictionary",
944
944
  /* Z_NEED_DICT 2 */
945
945
  1: "stream end",
@@ -958,7 +958,7 @@ var hn = Ah, Yo = {
958
958
  /* Z_BUF_ERROR (-5) */
959
959
  "-6": "incompatible version"
960
960
  /* Z_VERSION_ERROR (-6) */
961
- }, pf = {
961
+ }, gf = {
962
962
  /* Allowed flush values; see deflate() and inflate() below for details */
963
963
  Z_NO_FLUSH: 0,
964
964
  Z_FINISH: 4,
@@ -1001,15 +1001,15 @@ var Lh = function(r) {
1001
1001
  e.set(f, s), s += f.length;
1002
1002
  }
1003
1003
  return e;
1004
- }, gf = {
1004
+ }, mf = {
1005
1005
  assign: Lh,
1006
1006
  flattenChunks: _h
1007
1007
  };
1008
- let mf = !0;
1008
+ let vf = !0;
1009
1009
  try {
1010
1010
  String.fromCharCode.apply(null, new Uint8Array(1));
1011
1011
  } catch {
1012
- mf = !1;
1012
+ vf = !1;
1013
1013
  }
1014
1014
  const Oa = new Uint8Array(256);
1015
1015
  for (let r = 0; r < 256; r++)
@@ -1026,7 +1026,7 @@ var Sh = (r) => {
1026
1026
  return t;
1027
1027
  };
1028
1028
  const kh = (r, t) => {
1029
- if (t < 65534 && r.subarray && mf)
1029
+ if (t < 65534 && r.subarray && vf)
1030
1030
  return String.fromCharCode.apply(null, r.length === t ? r : r.subarray(0, t));
1031
1031
  let e = "";
1032
1032
  for (let n = 0; n < t; n++)
@@ -1065,7 +1065,7 @@ var Ph = (r, t) => {
1065
1065
  for (; e >= 0 && (r[e] & 192) === 128; )
1066
1066
  e--;
1067
1067
  return e < 0 || e === 0 ? t : e + Oa[r[e]] > t ? e : t;
1068
- }, Xo = {
1068
+ }, Jo = {
1069
1069
  string2buf: Sh,
1070
1070
  buf2string: Ph,
1071
1071
  utf8border: Mh
@@ -1163,7 +1163,7 @@ var Fh = function(t, e) {
1163
1163
  } while (n < s && a < u);
1164
1164
  it = j >> 3, n -= it, j -= it << 3, p &= (1 << j) - 1, t.next_in = n, t.next_out = a, t.avail_in = n < s ? 5 + (s - n) : 5 - (n - s), t.avail_out = a < u ? 257 + (u - a) : 257 - (a - u), _.hold = p, _.bits = j;
1165
1165
  };
1166
- const Xi = 15, Ku = 852, $u = 592, Zu = 0, Lo = 1, Qu = 2, jh = new Uint16Array([
1166
+ const Xi = 15, Zu = 852, Qu = 592, tl = 0, Lo = 1, el = 2, jh = new Uint16Array([
1167
1167
  /* Length codes 257..285 base */
1168
1168
  3,
1169
1169
  4,
@@ -1315,13 +1315,13 @@ const Xi = 15, Ku = 852, $u = 592, Zu = 0, Lo = 1, Qu = 2, jh = new Uint16Array(
1315
1315
  for (p < x && (p = x), O = 1, d = 1; d <= Xi; d++)
1316
1316
  if (O <<= 1, O -= tt[d], O < 0)
1317
1317
  return -1;
1318
- if (O > 0 && (r === Zu || N !== 1))
1318
+ if (O > 0 && (r === tl || N !== 1))
1319
1319
  return -1;
1320
1320
  for (_[1] = 0, d = 1; d < Xi; d++)
1321
1321
  _[d + 1] = _[d] + tt[d];
1322
1322
  for (g = 0; g < n; g++)
1323
1323
  t[e + g] !== 0 && (f[_[t[e + g]]++] = g);
1324
- if (r === Zu ? (K = F = f, R = 20) : r === Lo ? (K = jh, F = Oh, R = 257) : (K = Bh, F = Rh, R = 0), G = 0, g = 0, d = x, dt = a, j = p, P = 0, it = -1, k = 1 << p, mt = k - 1, r === Lo && k > Ku || r === Qu && k > $u)
1324
+ if (r === tl ? (K = F = f, R = 20) : r === Lo ? (K = jh, F = Oh, R = 257) : (K = Bh, F = Rh, R = 0), G = 0, g = 0, d = x, dt = a, j = p, P = 0, it = -1, k = 1 << p, mt = k - 1, r === Lo && k > Zu || r === el && k > Qu)
1325
1325
  return 1;
1326
1326
  for (; ; ) {
1327
1327
  z = d - P, f[g] + 1 < R ? (U = 0, nt = f[g]) : f[g] >= R ? (U = F[f[g] - R], nt = K[f[g] - R]) : (U = 96, nt = 0), Y = 1 << d - P, q = 1 << j, x = q;
@@ -1338,7 +1338,7 @@ const Xi = 15, Ku = 852, $u = 592, Zu = 0, Lo = 1, Qu = 2, jh = new Uint16Array(
1338
1338
  if (d > p && (G & mt) !== it) {
1339
1339
  for (P === 0 && (P = p), dt += x, j = d - P, O = 1 << j; j + P < N && (O -= tt[j + P], !(O <= 0)); )
1340
1340
  j++, O <<= 1;
1341
- if (k += 1 << j, r === Lo && k > Ku || r === Qu && k > $u)
1341
+ if (k += 1 << j, r === Lo && k > Zu || r === el && k > Qu)
1342
1342
  return 1;
1343
1343
  it = G & mt, s[it] = p << 24 | j << 16 | dt - a | 0;
1344
1344
  }
@@ -1346,19 +1346,19 @@ const Xi = 15, Ku = 852, $u = 592, Zu = 0, Lo = 1, Qu = 2, jh = new Uint16Array(
1346
1346
  return G !== 0 && (s[dt + G] = d - P << 24 | 64 << 16 | 0), u.bits = p, 0;
1347
1347
  };
1348
1348
  var Fa = Th;
1349
- const Dh = 0, vf = 1, bf = 2, {
1350
- Z_FINISH: tl,
1349
+ const Dh = 0, bf = 1, wf = 2, {
1350
+ Z_FINISH: rl,
1351
1351
  Z_BLOCK: qh,
1352
1352
  Z_TREES: bs,
1353
1353
  Z_OK: Ai,
1354
1354
  Z_STREAM_END: Uh,
1355
1355
  Z_NEED_DICT: zh,
1356
1356
  Z_STREAM_ERROR: zr,
1357
- Z_DATA_ERROR: wf,
1358
- Z_MEM_ERROR: yf,
1357
+ Z_DATA_ERROR: yf,
1358
+ Z_MEM_ERROR: xf,
1359
1359
  Z_BUF_ERROR: Hh,
1360
- Z_DEFLATED: el
1361
- } = pf, Ts = 16180, rl = 16181, nl = 16182, il = 16183, al = 16184, sl = 16185, ol = 16186, ul = 16187, ll = 16188, fl = 16189, Es = 16190, Cn = 16191, _o = 16192, cl = 16193, So = 16194, hl = 16195, dl = 16196, pl = 16197, gl = 16198, ws = 16199, ys = 16200, ml = 16201, vl = 16202, bl = 16203, wl = 16204, yl = 16205, ko = 16206, xl = 16207, Al = 16208, Oe = 16209, xf = 16210, Af = 16211, Wh = 852, Gh = 592, Vh = 15, Yh = Vh, Nl = (r) => (r >>> 24 & 255) + (r >>> 8 & 65280) + ((r & 65280) << 8) + ((r & 255) << 24);
1360
+ Z_DEFLATED: nl
1361
+ } = gf, Ts = 16180, il = 16181, al = 16182, sl = 16183, ol = 16184, ul = 16185, ll = 16186, fl = 16187, cl = 16188, hl = 16189, Es = 16190, Cn = 16191, _o = 16192, dl = 16193, So = 16194, pl = 16195, gl = 16196, ml = 16197, vl = 16198, ws = 16199, ys = 16200, bl = 16201, wl = 16202, yl = 16203, xl = 16204, Al = 16205, ko = 16206, Nl = 16207, Ll = 16208, Oe = 16209, Af = 16210, Nf = 16211, Wh = 852, Gh = 592, Vh = 15, Yh = Vh, _l = (r) => (r >>> 24 & 255) + (r >>> 8 & 65280) + ((r & 65280) << 8) + ((r & 255) << 24);
1362
1362
  function Xh() {
1363
1363
  this.strm = null, this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new Uint16Array(320), this.work = new Uint16Array(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
1364
1364
  }
@@ -1366,34 +1366,34 @@ const Li = (r) => {
1366
1366
  if (!r)
1367
1367
  return 1;
1368
1368
  const t = r.state;
1369
- return !t || t.strm !== r || t.mode < Ts || t.mode > Af ? 1 : 0;
1370
- }, Nf = (r) => {
1369
+ return !t || t.strm !== r || t.mode < Ts || t.mode > Nf ? 1 : 0;
1370
+ }, Lf = (r) => {
1371
1371
  if (Li(r))
1372
1372
  return zr;
1373
1373
  const t = r.state;
1374
1374
  return r.total_in = r.total_out = t.total = 0, r.msg = "", t.wrap && (r.adler = t.wrap & 1), t.mode = Ts, t.last = 0, t.havedict = 0, t.flags = -1, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new Int32Array(Wh), t.distcode = t.distdyn = new Int32Array(Gh), t.sane = 1, t.back = -1, Ai;
1375
- }, Lf = (r) => {
1375
+ }, _f = (r) => {
1376
1376
  if (Li(r))
1377
1377
  return zr;
1378
1378
  const t = r.state;
1379
- return t.wsize = 0, t.whave = 0, t.wnext = 0, Nf(r);
1380
- }, _f = (r, t) => {
1379
+ return t.wsize = 0, t.whave = 0, t.wnext = 0, Lf(r);
1380
+ }, Sf = (r, t) => {
1381
1381
  let e;
1382
1382
  if (Li(r))
1383
1383
  return zr;
1384
1384
  const n = r.state;
1385
- return t < 0 ? (e = 0, t = -t) : (e = (t >> 4) + 5, t < 48 && (t &= 15)), t && (t < 8 || t > 15) ? zr : (n.window !== null && n.wbits !== t && (n.window = null), n.wrap = e, n.wbits = t, Lf(r));
1386
- }, Sf = (r, t) => {
1385
+ return t < 0 ? (e = 0, t = -t) : (e = (t >> 4) + 5, t < 48 && (t &= 15)), t && (t < 8 || t > 15) ? zr : (n.window !== null && n.wbits !== t && (n.window = null), n.wrap = e, n.wbits = t, _f(r));
1386
+ }, kf = (r, t) => {
1387
1387
  if (!r)
1388
1388
  return zr;
1389
1389
  const e = new Xh();
1390
1390
  r.state = e, e.strm = r, e.window = null, e.mode = Ts;
1391
- const n = _f(r, t);
1391
+ const n = Sf(r, t);
1392
1392
  return n !== Ai && (r.state = null), n;
1393
- }, Jh = (r) => Sf(r, Yh);
1394
- let Ll = !0, Po, Mo;
1393
+ }, Jh = (r) => kf(r, Yh);
1394
+ let Sl = !0, Po, Mo;
1395
1395
  const Kh = (r) => {
1396
- if (Ll) {
1396
+ if (Sl) {
1397
1397
  Po = new Int32Array(512), Mo = new Int32Array(32);
1398
1398
  let t = 0;
1399
1399
  for (; t < 144; )
@@ -1404,12 +1404,12 @@ const Kh = (r) => {
1404
1404
  r.lens[t++] = 7;
1405
1405
  for (; t < 288; )
1406
1406
  r.lens[t++] = 8;
1407
- for (Fa(vf, r.lens, 0, 288, Po, 0, r.work, { bits: 9 }), t = 0; t < 32; )
1407
+ for (Fa(bf, r.lens, 0, 288, Po, 0, r.work, { bits: 9 }), t = 0; t < 32; )
1408
1408
  r.lens[t++] = 5;
1409
- Fa(bf, r.lens, 0, 32, Mo, 0, r.work, { bits: 5 }), Ll = !1;
1409
+ Fa(wf, r.lens, 0, 32, Mo, 0, r.work, { bits: 5 }), Sl = !1;
1410
1410
  }
1411
1411
  r.lencode = Po, r.lenbits = 9, r.distcode = Mo, r.distbits = 5;
1412
- }, kf = (r, t, e, n) => {
1412
+ }, Pf = (r, t, e, n) => {
1413
1413
  let s;
1414
1414
  const a = r.state;
1415
1415
  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), n >= a.wsize ? (a.window.set(t.subarray(e - a.wsize, e), 0), a.wnext = 0, a.whave = a.wsize) : (s = a.wsize - a.wnext, s > n && (s = n), a.window.set(t.subarray(e - n, e - n + s), a.wnext), n -= s, n ? (a.window.set(t.subarray(e - n, e), 0), a.wnext = n, a.whave = a.wsize) : (a.wnext += s, a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += s))), 0;
@@ -1438,7 +1438,7 @@ const Kh = (r) => {
1438
1438
  u--, d += n[a++] << g, g += 8;
1439
1439
  }
1440
1440
  if (e.wrap & 2 && d === 35615) {
1441
- e.wbits === 0 && (e.wbits = 15), e.check = 0, R[0] = d & 255, R[1] = d >>> 8 & 255, e.check = hn(e.check, R, 2, 0), d = 0, g = 0, e.mode = rl;
1441
+ e.wbits === 0 && (e.wbits = 15), e.check = 0, R[0] = d & 255, R[1] = d >>> 8 & 255, e.check = hn(e.check, R, 2, 0), d = 0, g = 0, e.mode = il;
1442
1442
  break;
1443
1443
  }
1444
1444
  if (e.head && (e.head.done = !1), !(e.wrap & 1) || /* check if zlib header allowed */
@@ -1446,7 +1446,7 @@ const Kh = (r) => {
1446
1446
  r.msg = "incorrect header check", e.mode = Oe;
1447
1447
  break;
1448
1448
  }
1449
- if ((d & 15) !== el) {
1449
+ if ((d & 15) !== nl) {
1450
1450
  r.msg = "unknown compression method", e.mode = Oe;
1451
1451
  break;
1452
1452
  }
@@ -1454,15 +1454,15 @@ const Kh = (r) => {
1454
1454
  r.msg = "invalid window size", e.mode = Oe;
1455
1455
  break;
1456
1456
  }
1457
- e.dmax = 1 << e.wbits, e.flags = 0, r.adler = e.check = 1, e.mode = d & 512 ? fl : Cn, d = 0, g = 0;
1457
+ e.dmax = 1 << e.wbits, e.flags = 0, r.adler = e.check = 1, e.mode = d & 512 ? hl : Cn, d = 0, g = 0;
1458
1458
  break;
1459
- case rl:
1459
+ case il:
1460
1460
  for (; g < 16; ) {
1461
1461
  if (u === 0)
1462
1462
  break t;
1463
1463
  u--, d += n[a++] << g, g += 8;
1464
1464
  }
1465
- if (e.flags = d, (e.flags & 255) !== el) {
1465
+ if (e.flags = d, (e.flags & 255) !== nl) {
1466
1466
  r.msg = "unknown compression method", e.mode = Oe;
1467
1467
  break;
1468
1468
  }
@@ -1470,25 +1470,25 @@ const Kh = (r) => {
1470
1470
  r.msg = "unknown header flags set", e.mode = Oe;
1471
1471
  break;
1472
1472
  }
1473
- e.head && (e.head.text = d >> 8 & 1), e.flags & 512 && e.wrap & 4 && (R[0] = d & 255, R[1] = d >>> 8 & 255, e.check = hn(e.check, R, 2, 0)), d = 0, g = 0, e.mode = nl;
1473
+ e.head && (e.head.text = d >> 8 & 1), e.flags & 512 && e.wrap & 4 && (R[0] = d & 255, R[1] = d >>> 8 & 255, e.check = hn(e.check, R, 2, 0)), d = 0, g = 0, e.mode = al;
1474
1474
  /* falls through */
1475
- case nl:
1475
+ case al:
1476
1476
  for (; g < 32; ) {
1477
1477
  if (u === 0)
1478
1478
  break t;
1479
1479
  u--, d += n[a++] << g, g += 8;
1480
1480
  }
1481
- e.head && (e.head.time = d), e.flags & 512 && e.wrap & 4 && (R[0] = d & 255, R[1] = d >>> 8 & 255, R[2] = d >>> 16 & 255, R[3] = d >>> 24 & 255, e.check = hn(e.check, R, 4, 0)), d = 0, g = 0, e.mode = il;
1481
+ e.head && (e.head.time = d), e.flags & 512 && e.wrap & 4 && (R[0] = d & 255, R[1] = d >>> 8 & 255, R[2] = d >>> 16 & 255, R[3] = d >>> 24 & 255, e.check = hn(e.check, R, 4, 0)), d = 0, g = 0, e.mode = sl;
1482
1482
  /* falls through */
1483
- case il:
1483
+ case sl:
1484
1484
  for (; g < 16; ) {
1485
1485
  if (u === 0)
1486
1486
  break t;
1487
1487
  u--, d += n[a++] << g, g += 8;
1488
1488
  }
1489
- e.head && (e.head.xflags = d & 255, e.head.os = d >> 8), e.flags & 512 && e.wrap & 4 && (R[0] = d & 255, R[1] = d >>> 8 & 255, e.check = hn(e.check, R, 2, 0)), d = 0, g = 0, e.mode = al;
1489
+ e.head && (e.head.xflags = d & 255, e.head.os = d >> 8), e.flags & 512 && e.wrap & 4 && (R[0] = d & 255, R[1] = d >>> 8 & 255, e.check = hn(e.check, R, 2, 0)), d = 0, g = 0, e.mode = ol;
1490
1490
  /* falls through */
1491
- case al:
1491
+ case ol:
1492
1492
  if (e.flags & 1024) {
1493
1493
  for (; g < 16; ) {
1494
1494
  if (u === 0)
@@ -1497,9 +1497,9 @@ const Kh = (r) => {
1497
1497
  }
1498
1498
  e.length = d, e.head && (e.head.extra_len = d), e.flags & 512 && e.wrap & 4 && (R[0] = d & 255, R[1] = d >>> 8 & 255, e.check = hn(e.check, R, 2, 0)), d = 0, g = 0;
1499
1499
  } else e.head && (e.head.extra = null);
1500
- e.mode = sl;
1500
+ e.mode = ul;
1501
1501
  /* falls through */
1502
- case sl:
1502
+ case ul:
1503
1503
  if (e.flags & 1024 && (p = e.length, p > u && (p = u), p && (e.head && (dt = e.head.extra_len - e.length, e.head.extra || (e.head.extra = new Uint8Array(e.head.extra_len)), e.head.extra.set(
1504
1504
  n.subarray(
1505
1505
  a,
@@ -1511,9 +1511,9 @@ const Kh = (r) => {
1511
1511
  dt
1512
1512
  )), e.flags & 512 && e.wrap & 4 && (e.check = hn(e.check, n, p, a)), u -= p, a += p, e.length -= p), e.length))
1513
1513
  break t;
1514
- e.length = 0, e.mode = ol;
1514
+ e.length = 0, e.mode = ll;
1515
1515
  /* falls through */
1516
- case ol:
1516
+ case ll:
1517
1517
  if (e.flags & 2048) {
1518
1518
  if (u === 0)
1519
1519
  break t;
@@ -1524,9 +1524,9 @@ const Kh = (r) => {
1524
1524
  if (e.flags & 512 && e.wrap & 4 && (e.check = hn(e.check, n, p, a)), u -= p, a += p, dt)
1525
1525
  break t;
1526
1526
  } else e.head && (e.head.name = null);
1527
- e.length = 0, e.mode = ul;
1527
+ e.length = 0, e.mode = fl;
1528
1528
  /* falls through */
1529
- case ul:
1529
+ case fl:
1530
1530
  if (e.flags & 4096) {
1531
1531
  if (u === 0)
1532
1532
  break t;
@@ -1537,9 +1537,9 @@ const Kh = (r) => {
1537
1537
  if (e.flags & 512 && e.wrap & 4 && (e.check = hn(e.check, n, p, a)), u -= p, a += p, dt)
1538
1538
  break t;
1539
1539
  } else e.head && (e.head.comment = null);
1540
- e.mode = ll;
1540
+ e.mode = cl;
1541
1541
  /* falls through */
1542
- case ll:
1542
+ case cl:
1543
1543
  if (e.flags & 512) {
1544
1544
  for (; g < 16; ) {
1545
1545
  if (u === 0)
@@ -1554,13 +1554,13 @@ const Kh = (r) => {
1554
1554
  }
1555
1555
  e.head && (e.head.hcrc = e.flags >> 9 & 1, e.head.done = !0), r.adler = e.check = 0, e.mode = Cn;
1556
1556
  break;
1557
- case fl:
1557
+ case hl:
1558
1558
  for (; g < 32; ) {
1559
1559
  if (u === 0)
1560
1560
  break t;
1561
1561
  u--, d += n[a++] << g, g += 8;
1562
1562
  }
1563
- r.adler = e.check = Nl(d), d = 0, g = 0, e.mode = Es;
1563
+ r.adler = e.check = _l(d), d = 0, g = 0, e.mode = Es;
1564
1564
  /* falls through */
1565
1565
  case Es:
1566
1566
  if (e.havedict === 0)
@@ -1583,7 +1583,7 @@ const Kh = (r) => {
1583
1583
  }
1584
1584
  switch (e.last = d & 1, d >>>= 1, g -= 1, d & 3) {
1585
1585
  case 0:
1586
- e.mode = cl;
1586
+ e.mode = dl;
1587
1587
  break;
1588
1588
  case 1:
1589
1589
  if (Kh(e), e.mode = ws, t === bs) {
@@ -1592,14 +1592,14 @@ const Kh = (r) => {
1592
1592
  }
1593
1593
  break;
1594
1594
  case 2:
1595
- e.mode = dl;
1595
+ e.mode = gl;
1596
1596
  break;
1597
1597
  case 3:
1598
1598
  r.msg = "invalid block type", e.mode = Oe;
1599
1599
  }
1600
1600
  d >>>= 2, g -= 2;
1601
1601
  break;
1602
- case cl:
1602
+ case dl:
1603
1603
  for (d >>>= g & 7, g -= g & 7; g < 32; ) {
1604
1604
  if (u === 0)
1605
1605
  break t;
@@ -1613,9 +1613,9 @@ const Kh = (r) => {
1613
1613
  break t;
1614
1614
  /* falls through */
1615
1615
  case So:
1616
- e.mode = hl;
1616
+ e.mode = pl;
1617
1617
  /* falls through */
1618
- case hl:
1618
+ case pl:
1619
1619
  if (p = e.length, p) {
1620
1620
  if (p > u && (p = u), p > c && (p = c), p === 0)
1621
1621
  break t;
@@ -1624,7 +1624,7 @@ const Kh = (r) => {
1624
1624
  }
1625
1625
  e.mode = Cn;
1626
1626
  break;
1627
- case dl:
1627
+ case gl:
1628
1628
  for (; g < 14; ) {
1629
1629
  if (u === 0)
1630
1630
  break t;
@@ -1634,9 +1634,9 @@ const Kh = (r) => {
1634
1634
  r.msg = "too many length or distance symbols", e.mode = Oe;
1635
1635
  break;
1636
1636
  }
1637
- e.have = 0, e.mode = pl;
1637
+ e.have = 0, e.mode = ml;
1638
1638
  /* falls through */
1639
- case pl:
1639
+ case ml:
1640
1640
  for (; e.have < e.ncode; ) {
1641
1641
  for (; g < 3; ) {
1642
1642
  if (u === 0)
@@ -1651,9 +1651,9 @@ const Kh = (r) => {
1651
1651
  r.msg = "invalid code lengths set", e.mode = Oe;
1652
1652
  break;
1653
1653
  }
1654
- e.have = 0, e.mode = gl;
1654
+ e.have = 0, e.mode = vl;
1655
1655
  /* falls through */
1656
- case gl:
1656
+ case vl:
1657
1657
  for (; e.have < e.nlen + e.ndist; ) {
1658
1658
  for (; O = e.lencode[d & (1 << e.lenbits) - 1], k = O >>> 24, G = O >>> 16 & 255, Y = O & 65535, !(k <= g); ) {
1659
1659
  if (u === 0)
@@ -1703,11 +1703,11 @@ const Kh = (r) => {
1703
1703
  r.msg = "invalid code -- missing end-of-block", e.mode = Oe;
1704
1704
  break;
1705
1705
  }
1706
- if (e.lenbits = 9, tt = { bits: e.lenbits }, K = Fa(vf, e.lens, 0, e.nlen, e.lencode, 0, e.work, tt), e.lenbits = tt.bits, K) {
1706
+ if (e.lenbits = 9, tt = { bits: e.lenbits }, K = Fa(bf, e.lens, 0, e.nlen, e.lencode, 0, e.work, tt), e.lenbits = tt.bits, K) {
1707
1707
  r.msg = "invalid literal/lengths set", e.mode = Oe;
1708
1708
  break;
1709
1709
  }
1710
- if (e.distbits = 6, e.distcode = e.distdyn, tt = { bits: e.distbits }, K = Fa(bf, e.lens, e.nlen, e.ndist, e.distcode, 0, e.work, tt), e.distbits = tt.bits, K) {
1710
+ if (e.distbits = 6, e.distcode = e.distdyn, tt = { bits: e.distbits }, K = Fa(wf, e.lens, e.nlen, e.ndist, e.distcode, 0, e.work, tt), e.distbits = tt.bits, K) {
1711
1711
  r.msg = "invalid distances set", e.mode = Oe;
1712
1712
  break;
1713
1713
  }
@@ -1736,7 +1736,7 @@ const Kh = (r) => {
1736
1736
  d >>>= q, g -= q, e.back += q;
1737
1737
  }
1738
1738
  if (d >>>= k, g -= k, e.back += k, e.length = Y, G === 0) {
1739
- e.mode = yl;
1739
+ e.mode = Al;
1740
1740
  break;
1741
1741
  }
1742
1742
  if (G & 32) {
@@ -1747,9 +1747,9 @@ const Kh = (r) => {
1747
1747
  r.msg = "invalid literal/length code", e.mode = Oe;
1748
1748
  break;
1749
1749
  }
1750
- e.extra = G & 15, e.mode = ml;
1750
+ e.extra = G & 15, e.mode = bl;
1751
1751
  /* falls through */
1752
- case ml:
1752
+ case bl:
1753
1753
  if (e.extra) {
1754
1754
  for (_ = e.extra; g < _; ) {
1755
1755
  if (u === 0)
@@ -1758,9 +1758,9 @@ const Kh = (r) => {
1758
1758
  }
1759
1759
  e.length += d & (1 << e.extra) - 1, d >>>= e.extra, g -= e.extra, e.back += e.extra;
1760
1760
  }
1761
- e.was = e.length, e.mode = vl;
1761
+ e.was = e.length, e.mode = wl;
1762
1762
  /* falls through */
1763
- case vl:
1763
+ case wl:
1764
1764
  for (; O = e.distcode[d & (1 << e.distbits) - 1], k = O >>> 24, G = O >>> 16 & 255, Y = O & 65535, !(k <= g); ) {
1765
1765
  if (u === 0)
1766
1766
  break t;
@@ -1778,9 +1778,9 @@ const Kh = (r) => {
1778
1778
  r.msg = "invalid distance code", e.mode = Oe;
1779
1779
  break;
1780
1780
  }
1781
- e.offset = Y, e.extra = G & 15, e.mode = bl;
1781
+ e.offset = Y, e.extra = G & 15, e.mode = yl;
1782
1782
  /* falls through */
1783
- case bl:
1783
+ case yl:
1784
1784
  if (e.extra) {
1785
1785
  for (_ = e.extra; g < _; ) {
1786
1786
  if (u === 0)
@@ -1793,9 +1793,9 @@ const Kh = (r) => {
1793
1793
  r.msg = "invalid distance too far back", e.mode = Oe;
1794
1794
  break;
1795
1795
  }
1796
- e.mode = wl;
1796
+ e.mode = xl;
1797
1797
  /* falls through */
1798
- case wl:
1798
+ case xl:
1799
1799
  if (c === 0)
1800
1800
  break t;
1801
1801
  if (p = N - c, e.offset > p) {
@@ -1812,7 +1812,7 @@ const Kh = (r) => {
1812
1812
  while (--p);
1813
1813
  e.length === 0 && (e.mode = ys);
1814
1814
  break;
1815
- case yl:
1815
+ case Al:
1816
1816
  if (c === 0)
1817
1817
  break t;
1818
1818
  s[f++] = e.length, c--, e.mode = ys;
@@ -1825,15 +1825,15 @@ const Kh = (r) => {
1825
1825
  u--, d |= n[a++] << g, g += 8;
1826
1826
  }
1827
1827
  if (N -= c, r.total_out += N, e.total += N, e.wrap & 4 && N && (r.adler = e.check = /*UPDATE_CHECK(state.check, put - _out, _out);*/
1828
- e.flags ? hn(e.check, s, N, f - N) : Vo(e.check, s, N, f - N)), N = c, e.wrap & 4 && (e.flags ? d : Nl(d)) !== e.check) {
1828
+ e.flags ? hn(e.check, s, N, f - N) : Yo(e.check, s, N, f - N)), N = c, e.wrap & 4 && (e.flags ? d : _l(d)) !== e.check) {
1829
1829
  r.msg = "incorrect data check", e.mode = Oe;
1830
1830
  break;
1831
1831
  }
1832
1832
  d = 0, g = 0;
1833
1833
  }
1834
- e.mode = xl;
1834
+ e.mode = Nl;
1835
1835
  /* falls through */
1836
- case xl:
1836
+ case Nl:
1837
1837
  if (e.wrap && e.flags) {
1838
1838
  for (; g < 32; ) {
1839
1839
  if (u === 0)
@@ -1846,23 +1846,23 @@ const Kh = (r) => {
1846
1846
  }
1847
1847
  d = 0, g = 0;
1848
1848
  }
1849
- e.mode = Al;
1849
+ e.mode = Ll;
1850
1850
  /* falls through */
1851
- case Al:
1851
+ case Ll:
1852
1852
  K = Uh;
1853
1853
  break t;
1854
1854
  case Oe:
1855
- K = wf;
1855
+ K = yf;
1856
1856
  break t;
1857
- case xf:
1858
- return yf;
1859
1857
  case Af:
1858
+ return xf;
1859
+ case Nf:
1860
1860
  /* falls through */
1861
1861
  default:
1862
1862
  return zr;
1863
1863
  }
1864
- return r.next_out = f, r.avail_out = c, r.next_in = a, r.avail_in = u, e.hold = d, e.bits = g, (e.wsize || N !== r.avail_out && e.mode < Oe && (e.mode < ko || t !== tl)) && kf(r, r.output, r.next_out, N - r.avail_out), x -= r.avail_in, N -= r.avail_out, r.total_in += x, r.total_out += N, e.total += N, e.wrap & 4 && N && (r.adler = e.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
1865
- e.flags ? hn(e.check, s, N, r.next_out - N) : Vo(e.check, s, N, r.next_out - N)), r.data_type = e.bits + (e.last ? 64 : 0) + (e.mode === Cn ? 128 : 0) + (e.mode === ws || e.mode === So ? 256 : 0), (x === 0 && N === 0 || t === tl) && K === Ai && (K = Hh), K;
1864
+ return r.next_out = f, r.avail_out = c, r.next_in = a, r.avail_in = u, e.hold = d, e.bits = g, (e.wsize || N !== r.avail_out && e.mode < Oe && (e.mode < ko || t !== rl)) && Pf(r, r.output, r.next_out, N - r.avail_out), x -= r.avail_in, N -= r.avail_out, r.total_in += x, r.total_out += N, e.total += N, e.wrap & 4 && N && (r.adler = e.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
1865
+ e.flags ? hn(e.check, s, N, r.next_out - N) : Yo(e.check, s, N, r.next_out - N)), r.data_type = e.bits + (e.last ? 64 : 0) + (e.mode === Cn ? 128 : 0) + (e.mode === ws || e.mode === So ? 256 : 0), (x === 0 && N === 0 || t === rl) && K === Ai && (K = Hh), K;
1866
1866
  }, Zh = (r) => {
1867
1867
  if (Li(r))
1868
1868
  return zr;
@@ -1876,9 +1876,9 @@ const Kh = (r) => {
1876
1876
  }, t1 = (r, t) => {
1877
1877
  const e = t.length;
1878
1878
  let n, s, a;
1879
- return Li(r) || (n = r.state, n.wrap !== 0 && n.mode !== Es) ? zr : n.mode === Es && (s = 1, s = Vo(s, t, e, 0), s !== n.check) ? wf : (a = kf(r, t, e, e), a ? (n.mode = xf, yf) : (n.havedict = 1, Ai));
1879
+ return Li(r) || (n = r.state, n.wrap !== 0 && n.mode !== Es) ? zr : n.mode === Es && (s = 1, s = Yo(s, t, e, 0), s !== n.check) ? yf : (a = Pf(r, t, e, e), a ? (n.mode = Af, xf) : (n.havedict = 1, Ai));
1880
1880
  };
1881
- var e1 = Lf, r1 = _f, n1 = Nf, i1 = Jh, a1 = Sf, s1 = $h, o1 = Zh, u1 = Qh, l1 = t1, f1 = "pako inflate (from Nodeca project)", pn = {
1881
+ var e1 = _f, r1 = Sf, n1 = Lf, i1 = Jh, a1 = kf, s1 = $h, o1 = Zh, u1 = Qh, l1 = t1, f1 = "pako inflate (from Nodeca project)", pn = {
1882
1882
  inflateReset: e1,
1883
1883
  inflateReset2: r1,
1884
1884
  inflateResetKeep: n1,
@@ -1894,23 +1894,23 @@ function c1() {
1894
1894
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
1895
1895
  }
1896
1896
  var h1 = c1;
1897
- const Pf = Object.prototype.toString, {
1897
+ const Mf = Object.prototype.toString, {
1898
1898
  Z_NO_FLUSH: d1,
1899
- Z_FINISH: _l,
1899
+ Z_FINISH: kl,
1900
1900
  Z_OK: ta,
1901
1901
  Z_STREAM_END: Io,
1902
1902
  Z_NEED_DICT: Eo,
1903
1903
  Z_STREAM_ERROR: p1,
1904
- Z_DATA_ERROR: Sl,
1904
+ Z_DATA_ERROR: Pl,
1905
1905
  Z_MEM_ERROR: g1,
1906
- Z_BUF_ERROR: kl
1907
- } = pf, m1 = {
1906
+ Z_BUF_ERROR: Ml
1907
+ } = gf, m1 = {
1908
1908
  chunkSize: 1024 * 64,
1909
1909
  windowBits: 15,
1910
1910
  to: ""
1911
1911
  };
1912
1912
  function Ba(r) {
1913
- this.options = gf.assign({}, m1, r || {});
1913
+ this.options = mf.assign({}, m1, r || {});
1914
1914
  const t = this.options;
1915
1915
  t.raw && t.windowBits >= 0 && t.windowBits < 16 && (t.windowBits = -t.windowBits, t.windowBits === 0 && (t.windowBits = -15)), t.windowBits >= 0 && t.windowBits < 16 && !(r && r.windowBits) && (t.windowBits += 32), t.windowBits > 15 && t.windowBits < 48 && (t.windowBits & 15) === 0 && (t.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new Eh(), this.strm.avail_out = 0;
1916
1916
  let e = pn.inflateInit2(
@@ -1918,36 +1918,36 @@ function Ba(r) {
1918
1918
  t.windowBits
1919
1919
  );
1920
1920
  if (e !== ta)
1921
- throw new Error(Yo[e]);
1922
- if (this.header = new h1(), pn.inflateGetHeader(this.strm, this.header), t.dictionary && (typeof t.dictionary == "string" ? t.dictionary = Xo.string2buf(t.dictionary) : Pf.call(t.dictionary) === "[object ArrayBuffer]" && (t.dictionary = new Uint8Array(t.dictionary)), t.raw && (e = pn.inflateSetDictionary(this.strm, t.dictionary), e !== ta)))
1923
- throw new Error(Yo[e]);
1921
+ throw new Error(Xo[e]);
1922
+ if (this.header = new h1(), pn.inflateGetHeader(this.strm, this.header), t.dictionary && (typeof t.dictionary == "string" ? t.dictionary = Jo.string2buf(t.dictionary) : Mf.call(t.dictionary) === "[object ArrayBuffer]" && (t.dictionary = new Uint8Array(t.dictionary)), t.raw && (e = pn.inflateSetDictionary(this.strm, t.dictionary), e !== ta)))
1923
+ throw new Error(Xo[e]);
1924
1924
  }
1925
1925
  Ba.prototype.push = function(r, t) {
1926
1926
  const e = this.strm, n = this.options.chunkSize, s = this.options.dictionary;
1927
1927
  let a, f, u;
1928
1928
  if (this.ended) return !1;
1929
- for (t === ~~t ? f = t : f = t === !0 ? _l : d1, Pf.call(r) === "[object ArrayBuffer]" ? e.input = new Uint8Array(r) : e.input = r, e.next_in = 0, e.avail_in = e.input.length; ; ) {
1930
- for (e.avail_out === 0 && (e.output = new Uint8Array(n), e.next_out = 0, e.avail_out = n), a = pn.inflate(e, f), a === Eo && s && (a = pn.inflateSetDictionary(e, s), a === ta ? a = pn.inflate(e, f) : a === Sl && (a = Eo)); e.avail_in > 0 && a === Io && e.state.wrap & 2 && e.state.flags !== 0 && e.input[e.next_in] !== 0; )
1929
+ for (t === ~~t ? f = t : f = t === !0 ? kl : d1, Mf.call(r) === "[object ArrayBuffer]" ? e.input = new Uint8Array(r) : e.input = r, e.next_in = 0, e.avail_in = e.input.length; ; ) {
1930
+ for (e.avail_out === 0 && (e.output = new Uint8Array(n), e.next_out = 0, e.avail_out = n), a = pn.inflate(e, f), a === Eo && s && (a = pn.inflateSetDictionary(e, s), a === ta ? a = pn.inflate(e, f) : a === Pl && (a = Eo)); e.avail_in > 0 && a === Io && e.state.wrap & 2 && e.state.flags !== 0 && e.input[e.next_in] !== 0; )
1931
1931
  pn.inflateReset(e), a = pn.inflate(e, f);
1932
1932
  switch (a) {
1933
1933
  case p1:
1934
- case Sl:
1934
+ case Pl:
1935
1935
  case Eo:
1936
1936
  case g1:
1937
1937
  return this.onEnd(a), this.ended = !0, !1;
1938
1938
  }
1939
1939
  if (u = e.avail_out, e.next_out && (e.avail_out === 0 || a === Io || f > 0))
1940
1940
  if (this.options.to === "string") {
1941
- let c = Xo.utf8border(e.output, e.next_out), d = e.next_out - c, g = Xo.buf2string(e.output, c);
1941
+ let c = Jo.utf8border(e.output, e.next_out), d = e.next_out - c, g = Jo.buf2string(e.output, c);
1942
1942
  e.next_out = d, e.avail_out = n - d, d && e.output.set(e.output.subarray(c, c + d), 0), this.onData(g);
1943
1943
  } else
1944
1944
  this.onData(e.output.length === e.next_out ? e.output : e.output.subarray(0, e.next_out)), e.avail_out = 0, e.next_out = 0;
1945
- if (!((a === ta || a === kl) && u === 0)) {
1945
+ if (!((a === ta || a === Ml) && u === 0)) {
1946
1946
  if (a === Io)
1947
1947
  return a = pn.inflateEnd(this.strm), this.onEnd(a), this.ended = !0, !0;
1948
1948
  if (e.avail_in === 0) {
1949
- if (f === _l)
1950
- return a = pn.inflateEnd(this.strm), this.onEnd(a === ta ? kl : a), this.ended = !0, !1;
1949
+ if (f === kl)
1950
+ return a = pn.inflateEnd(this.strm), this.onEnd(a === ta ? Ml : a), this.ended = !0, !1;
1951
1951
  break;
1952
1952
  }
1953
1953
  }
@@ -1958,11 +1958,11 @@ Ba.prototype.onData = function(r) {
1958
1958
  this.chunks.push(r);
1959
1959
  };
1960
1960
  Ba.prototype.onEnd = function(r) {
1961
- r === ta && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = gf.flattenChunks(this.chunks)), this.chunks = [], this.err = r, this.msg = this.strm.msg;
1961
+ r === ta && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = mf.flattenChunks(this.chunks)), this.chunks = [], this.err = r, this.msg = this.strm.msg;
1962
1962
  };
1963
1963
  function v1(r, t) {
1964
1964
  const e = new Ba(t);
1965
- if (e.push(r, !0), e.err) throw e.msg || Yo[e.err];
1965
+ if (e.push(r, !0), e.err) throw e.msg || Xo[e.err];
1966
1966
  return e.result;
1967
1967
  }
1968
1968
  var b1 = Ba, w1 = v1, y1 = {
@@ -1971,22 +1971,22 @@ var b1 = Ba, w1 = v1, y1 = {
1971
1971
  };
1972
1972
  const { Inflate: x1, inflate: A1 } = y1;
1973
1973
  var N1 = x1, L1 = A1;
1974
- const Co = [137, 80, 78, 71, 13, 10, 26, 10], Mf = [];
1974
+ const Co = [137, 80, 78, 71, 13, 10, 26, 10], If = [];
1975
1975
  for (let r = 0; r < 256; r++) {
1976
1976
  let t = r;
1977
1977
  for (let e = 0; e < 8; e++)
1978
1978
  t & 1 ? t = 3988292384 ^ t >>> 1 : t = t >>> 1;
1979
- Mf[r] = t;
1979
+ If[r] = t;
1980
1980
  }
1981
- const Pl = 4294967295;
1981
+ const Il = 4294967295;
1982
1982
  function _1(r, t, e) {
1983
1983
  let n = r;
1984
1984
  for (let s = 0; s < e; s++)
1985
- n = Mf[(n ^ t[s]) & 255] ^ n >>> 8;
1985
+ n = If[(n ^ t[s]) & 255] ^ n >>> 8;
1986
1986
  return n;
1987
1987
  }
1988
1988
  function S1(r, t) {
1989
- return (_1(Pl, r, t) ^ Pl) >>> 0;
1989
+ return (_1(Il, r, t) ^ Il) >>> 0;
1990
1990
  }
1991
1991
  var $r;
1992
1992
  (function(r) {
@@ -2004,8 +2004,8 @@ var Fs;
2004
2004
  (function(r) {
2005
2005
  r[r.UNKNOWN = -1] = "UNKNOWN", r[r.NO_INTERLACE = 0] = "NO_INTERLACE", r[r.ADAM7 = 1] = "ADAM7";
2006
2006
  })(Fs || (Fs = {}));
2007
- const k1 = new Uint8Array(0), Ml = "\0", P1 = new Uint16Array([255]), M1 = new Uint8Array(P1.buffer), I1 = M1[0] === 255;
2008
- class E1 extends ru {
2007
+ const k1 = new Uint8Array(0), El = "\0", P1 = new Uint16Array([255]), M1 = new Uint8Array(P1.buffer), I1 = M1[0] === 255;
2008
+ class E1 extends nu {
2009
2009
  constructor(t, e = {}) {
2010
2010
  super(t);
2011
2011
  const { checkCrc: n = !1 } = e;
@@ -2150,7 +2150,7 @@ class E1 extends ru {
2150
2150
  // https://www.w3.org/TR/PNG/#11iCCP
2151
2151
  decodeiCCP(t) {
2152
2152
  let e = "", n;
2153
- for (; (n = this.readChar()) !== Ml; )
2153
+ for (; (n = this.readChar()) !== El; )
2154
2154
  e += n;
2155
2155
  const s = this.readUint8();
2156
2156
  if (s !== ja.DEFLATE)
@@ -2164,7 +2164,7 @@ class E1 extends ru {
2164
2164
  // https://www.w3.org/TR/PNG/#11tEXt
2165
2165
  decodetEXt(t) {
2166
2166
  let e = "", n;
2167
- for (; (n = this.readChar()) !== Ml; )
2167
+ for (; (n = this.readChar()) !== El; )
2168
2168
  e += n;
2169
2169
  this._png.text[e] = this.readChars(t - e.length - 1);
2170
2170
  }
@@ -2279,10 +2279,10 @@ function D1(r) {
2279
2279
  throw new Error(`invalid bit depth: ${r}`);
2280
2280
  return r;
2281
2281
  }
2282
- var Il;
2282
+ var Cl;
2283
2283
  (function(r) {
2284
2284
  r[r.UNKNOWN = 0] = "UNKNOWN", r[r.METRE = 1] = "METRE";
2285
- })(Il || (Il = {}));
2285
+ })(Cl || (Cl = {}));
2286
2286
  function q1(r, t) {
2287
2287
  return new E1(r, t).decode();
2288
2288
  }
@@ -2305,7 +2305,7 @@ function jo(r, t, e) {
2305
2305
  _e.error("could not download file");
2306
2306
  }, n.send();
2307
2307
  }
2308
- function El(r) {
2308
+ function Fl(r) {
2309
2309
  var t = new XMLHttpRequest();
2310
2310
  t.open("HEAD", r, !1);
2311
2311
  try {
@@ -2325,13 +2325,13 @@ function xs(r) {
2325
2325
  var bi = Jt.saveAs || ((typeof window > "u" ? "undefined" : xe(window)) !== "object" || window !== Jt ? function() {
2326
2326
  } : typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype ? function(r, t, e) {
2327
2327
  var n = Jt.URL || Jt.webkitURL, s = document.createElement("a");
2328
- t = t || r.name || "download", s.download = t, s.rel = "noopener", typeof r == "string" ? (s.href = r, s.origin !== location.origin ? El(s.href) ? jo(r, t, e) : xs(s, s.target = "_blank") : xs(s)) : (s.href = n.createObjectURL(r), setTimeout(function() {
2328
+ t = t || r.name || "download", s.download = t, s.rel = "noopener", typeof r == "string" ? (s.href = r, s.origin !== location.origin ? Fl(s.href) ? jo(r, t, e) : xs(s, s.target = "_blank") : xs(s)) : (s.href = n.createObjectURL(r), setTimeout(function() {
2329
2329
  n.revokeObjectURL(s.href);
2330
2330
  }, 4e4), setTimeout(function() {
2331
2331
  xs(s);
2332
2332
  }, 0));
2333
2333
  } : "msSaveOrOpenBlob" in navigator ? function(r, t, e) {
2334
- if (t = t || r.name || "download", typeof r == "string") if (El(r)) jo(r, t, e);
2334
+ if (t = t || r.name || "download", typeof r == "string") if (Fl(r)) jo(r, t, e);
2335
2335
  else {
2336
2336
  var n = document.createElement("a");
2337
2337
  n.href = r, n.target = "_blank", setTimeout(function() {
@@ -2357,7 +2357,7 @@ var bi = Jt.saveAs || ((typeof window > "u" ? "undefined" : xe(window)) !== "obj
2357
2357
  }, 4e4);
2358
2358
  }
2359
2359
  });
2360
- function If(r) {
2360
+ function Ef(r) {
2361
2361
  var t;
2362
2362
  r = r || "", this.ok = !1, r.charAt(0) == "#" && (r = r.substr(1, 6)), r = { aliceblue: "f0f8ff", antiquewhite: "faebd7", aqua: "00ffff", aquamarine: "7fffd4", azure: "f0ffff", beige: "f5f5dc", bisque: "ffe4c4", black: "000000", blanchedalmond: "ffebcd", blue: "0000ff", blueviolet: "8a2be2", brown: "a52a2a", burlywood: "deb887", cadetblue: "5f9ea0", chartreuse: "7fff00", chocolate: "d2691e", coral: "ff7f50", cornflowerblue: "6495ed", cornsilk: "fff8dc", crimson: "dc143c", cyan: "00ffff", darkblue: "00008b", darkcyan: "008b8b", darkgoldenrod: "b8860b", darkgray: "a9a9a9", darkgreen: "006400", darkkhaki: "bdb76b", darkmagenta: "8b008b", darkolivegreen: "556b2f", darkorange: "ff8c00", darkorchid: "9932cc", darkred: "8b0000", darksalmon: "e9967a", darkseagreen: "8fbc8f", darkslateblue: "483d8b", darkslategray: "2f4f4f", darkturquoise: "00ced1", darkviolet: "9400d3", deeppink: "ff1493", deepskyblue: "00bfff", dimgray: "696969", dodgerblue: "1e90ff", feldspar: "d19275", firebrick: "b22222", floralwhite: "fffaf0", forestgreen: "228b22", fuchsia: "ff00ff", gainsboro: "dcdcdc", ghostwhite: "f8f8ff", gold: "ffd700", goldenrod: "daa520", gray: "808080", green: "008000", greenyellow: "adff2f", honeydew: "f0fff0", hotpink: "ff69b4", indianred: "cd5c5c", indigo: "4b0082", ivory: "fffff0", khaki: "f0e68c", lavender: "e6e6fa", lavenderblush: "fff0f5", lawngreen: "7cfc00", lemonchiffon: "fffacd", lightblue: "add8e6", lightcoral: "f08080", lightcyan: "e0ffff", lightgoldenrodyellow: "fafad2", lightgrey: "d3d3d3", lightgreen: "90ee90", lightpink: "ffb6c1", lightsalmon: "ffa07a", lightseagreen: "20b2aa", lightskyblue: "87cefa", lightslateblue: "8470ff", lightslategray: "778899", lightsteelblue: "b0c4de", lightyellow: "ffffe0", lime: "00ff00", limegreen: "32cd32", linen: "faf0e6", magenta: "ff00ff", maroon: "800000", mediumaquamarine: "66cdaa", mediumblue: "0000cd", mediumorchid: "ba55d3", mediumpurple: "9370d8", mediumseagreen: "3cb371", mediumslateblue: "7b68ee", mediumspringgreen: "00fa9a", mediumturquoise: "48d1cc", mediumvioletred: "c71585", midnightblue: "191970", mintcream: "f5fffa", mistyrose: "ffe4e1", moccasin: "ffe4b5", navajowhite: "ffdead", navy: "000080", oldlace: "fdf5e6", olive: "808000", olivedrab: "6b8e23", orange: "ffa500", orangered: "ff4500", orchid: "da70d6", palegoldenrod: "eee8aa", palegreen: "98fb98", paleturquoise: "afeeee", palevioletred: "d87093", papayawhip: "ffefd5", peachpuff: "ffdab9", peru: "cd853f", pink: "ffc0cb", plum: "dda0dd", powderblue: "b0e0e6", purple: "800080", red: "ff0000", rosybrown: "bc8f8f", royalblue: "4169e1", saddlebrown: "8b4513", salmon: "fa8072", sandybrown: "f4a460", seagreen: "2e8b57", seashell: "fff5ee", sienna: "a0522d", silver: "c0c0c0", skyblue: "87ceeb", slateblue: "6a5acd", slategray: "708090", snow: "fffafa", springgreen: "00ff7f", steelblue: "4682b4", tan: "d2b48c", teal: "008080", thistle: "d8bfd8", tomato: "ff6347", turquoise: "40e0d0", violet: "ee82ee", violetred: "d02090", wheat: "f5deb3", white: "ffffff", whitesmoke: "f5f5f5", yellow: "ffff00", yellowgreen: "9acd32" }[r = (r = r.replace(/ /g, "")).toLowerCase()] || r;
2363
2363
  for (var e = [{ re: /^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/, example: ["rgb(123, 234, 45)", "rgb(255,234,245)"], process: function(u) {
@@ -2377,7 +2377,7 @@ function If(r) {
2377
2377
  return u.length == 1 && (u = "0" + u), c.length == 1 && (c = "0" + c), d.length == 1 && (d = "0" + d), "#" + u + c + d;
2378
2378
  };
2379
2379
  }
2380
- var _s = Jt.atob.bind(Jt), Cl = Jt.btoa.bind(Jt);
2380
+ var _s = Jt.atob.bind(Jt), jl = Jt.btoa.bind(Jt);
2381
2381
  function Oo(r, t) {
2382
2382
  var e = r[0], n = r[1], s = r[2], a = r[3];
2383
2383
  e = pr(e, n, s, a, t[0], 7, -680876936), a = pr(a, e, n, s, t[1], 12, -389564586), s = pr(s, a, e, n, t[2], 17, 606105819), n = pr(n, s, a, e, t[3], 22, -1044525330), e = pr(e, n, s, a, t[4], 7, -176418897), a = pr(a, e, n, s, t[5], 12, 1200080426), s = pr(s, a, e, n, t[6], 17, -1473231341), n = pr(n, s, a, e, t[7], 22, -45705983), e = pr(e, n, s, a, t[8], 7, 1770035416), a = pr(a, e, n, s, t[9], 12, -1958414417), s = pr(s, a, e, n, t[10], 17, -42063), n = pr(n, s, a, e, t[11], 22, -1990404162), e = pr(e, n, s, a, t[12], 7, 1804603682), a = pr(a, e, n, s, t[13], 12, -40341101), s = pr(s, a, e, n, t[14], 17, -1502002290), e = gr(e, n = pr(n, s, a, e, t[15], 22, 1236535329), s, a, t[1], 5, -165796510), a = gr(a, e, n, s, t[6], 9, -1069501632), s = gr(s, a, e, n, t[11], 14, 643717713), n = gr(n, s, a, e, t[0], 20, -373897302), e = gr(e, n, s, a, t[5], 5, -701558691), a = gr(a, e, n, s, t[10], 9, 38016083), s = gr(s, a, e, n, t[15], 14, -660478335), n = gr(n, s, a, e, t[4], 20, -405537848), e = gr(e, n, s, a, t[9], 5, 568446438), a = gr(a, e, n, s, t[14], 9, -1019803690), s = gr(s, a, e, n, t[3], 14, -187363961), n = gr(n, s, a, e, t[8], 20, 1163531501), e = gr(e, n, s, a, t[13], 5, -1444681467), a = gr(a, e, n, s, t[2], 9, -51403784), s = gr(s, a, e, n, t[7], 14, 1735328473), e = mr(e, n = gr(n, s, a, e, t[12], 20, -1926607734), s, a, t[5], 4, -378558), a = mr(a, e, n, s, t[8], 11, -2022574463), s = mr(s, a, e, n, t[11], 16, 1839030562), n = mr(n, s, a, e, t[14], 23, -35309556), e = mr(e, n, s, a, t[1], 4, -1530992060), a = mr(a, e, n, s, t[4], 11, 1272893353), s = mr(s, a, e, n, t[7], 16, -155497632), n = mr(n, s, a, e, t[10], 23, -1094730640), e = mr(e, n, s, a, t[13], 4, 681279174), a = mr(a, e, n, s, t[0], 11, -358537222), s = mr(s, a, e, n, t[3], 16, -722521979), n = mr(n, s, a, e, t[6], 23, 76029189), e = mr(e, n, s, a, t[9], 4, -640364487), a = mr(a, e, n, s, t[12], 11, -421815835), s = mr(s, a, e, n, t[15], 16, 530742520), e = vr(e, n = mr(n, s, a, e, t[2], 23, -995338651), s, a, t[0], 6, -198630844), a = vr(a, e, n, s, t[7], 10, 1126891415), s = vr(s, a, e, n, t[14], 15, -1416354905), n = vr(n, s, a, e, t[5], 21, -57434055), e = vr(e, n, s, a, t[12], 6, 1700485571), a = vr(a, e, n, s, t[3], 10, -1894986606), s = vr(s, a, e, n, t[10], 15, -1051523), n = vr(n, s, a, e, t[1], 21, -2054922799), e = vr(e, n, s, a, t[8], 6, 1873313359), a = vr(a, e, n, s, t[15], 10, -30611744), s = vr(s, a, e, n, t[6], 15, -1560198380), n = vr(n, s, a, e, t[13], 21, 1309151649), e = vr(e, n, s, a, t[4], 6, -145523070), a = vr(a, e, n, s, t[11], 10, -1120210379), s = vr(s, a, e, n, t[2], 15, 718787259), n = vr(n, s, a, e, t[9], 21, -343485551), r[0] = Kn(e, r[0]), r[1] = Kn(n, r[1]), r[2] = Kn(s, r[2]), r[3] = Kn(a, r[3]);
@@ -2397,7 +2397,7 @@ function mr(r, t, e, n, s, a, f) {
2397
2397
  function vr(r, t, e, n, s, a, f) {
2398
2398
  return Ds(e ^ (t | ~n), r, t, s, a, f);
2399
2399
  }
2400
- function Ef(r) {
2400
+ function Cf(r) {
2401
2401
  var t, e = r.length, n = [1732584193, -271733879, -1732584194, 271733878];
2402
2402
  for (t = 64; t <= r.length; t += 64) Oo(n, U1(r.substring(t - 64, t)));
2403
2403
  r = r.substring(t - 64);
@@ -2411,21 +2411,21 @@ function U1(r) {
2411
2411
  for (t = 0; t < 64; t += 4) e[t >> 2] = r.charCodeAt(t) + (r.charCodeAt(t + 1) << 8) + (r.charCodeAt(t + 2) << 16) + (r.charCodeAt(t + 3) << 24);
2412
2412
  return e;
2413
2413
  }
2414
- var Fl = "0123456789abcdef".split("");
2414
+ var Ol = "0123456789abcdef".split("");
2415
2415
  function z1(r) {
2416
- for (var t = "", e = 0; e < 4; e++) t += Fl[r >> 8 * e + 4 & 15] + Fl[r >> 8 * e & 15];
2416
+ for (var t = "", e = 0; e < 4; e++) t += Ol[r >> 8 * e + 4 & 15] + Ol[r >> 8 * e & 15];
2417
2417
  return t;
2418
2418
  }
2419
2419
  function H1(r) {
2420
2420
  return String.fromCharCode(255 & r, (65280 & r) >> 8, (16711680 & r) >> 16, (4278190080 & r) >> 24);
2421
2421
  }
2422
- function Jo(r) {
2423
- return Ef(r).map(H1).join("");
2422
+ function Ko(r) {
2423
+ return Cf(r).map(H1).join("");
2424
2424
  }
2425
2425
  var W1 = (function(r) {
2426
2426
  for (var t = 0; t < r.length; t++) r[t] = z1(r[t]);
2427
2427
  return r.join("");
2428
- })(Ef("hello")) != "5d41402abc4b2a76b9719d911017c592";
2428
+ })(Cf("hello")) != "5d41402abc4b2a76b9719d911017c592";
2429
2429
  function Kn(r, t) {
2430
2430
  if (W1) {
2431
2431
  var e = (65535 & r) + (65535 & t);
@@ -2433,7 +2433,7 @@ function Kn(r, t) {
2433
2433
  }
2434
2434
  return r + t & 4294967295;
2435
2435
  }
2436
- function Ko(r, t) {
2436
+ function $o(r, t) {
2437
2437
  var e, n, s, a;
2438
2438
  if (r !== e) {
2439
2439
  for (var f = (s = r, a = 1 + (256 / r.length | 0), new Array(a + 1).join(s)), u = [], c = 0; c < 256; c++) u[c] = c;
@@ -2448,16 +2448,16 @@ function Ko(r, t) {
2448
2448
  for (c = 0; c < x; c++) p = (p + (g = u[N = (N + 1) % 256])) % 256, u[N] = u[p], u[p] = g, f = u[(u[N] + u[p]) % 256], j += String.fromCharCode(t.charCodeAt(c) ^ f);
2449
2449
  return j;
2450
2450
  }
2451
- var jl = { print: 4, modify: 8, copy: 16, "annot-forms": 32 };
2451
+ var Bl = { print: 4, modify: 8, copy: 16, "annot-forms": 32 };
2452
2452
  function $i(r, t, e, n) {
2453
2453
  this.v = 1, this.r = 2;
2454
2454
  var s = 192;
2455
2455
  r.forEach(function(u) {
2456
- if (jl.perm !== void 0) throw new Error("Invalid permission: " + u);
2457
- s += jl[u];
2456
+ if (Bl.perm !== void 0) throw new Error("Invalid permission: " + u);
2457
+ s += Bl[u];
2458
2458
  }), this.padding = "(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";
2459
2459
  var a = (t + this.padding).substr(0, 32), f = (e + this.padding).substr(0, 32);
2460
- this.O = this.processOwnerPassword(a, f), this.P = -(1 + (255 ^ s)), this.encryptionKey = Jo(a + this.O + this.lsbFirstWord(this.P) + this.hexToBytes(n)).substr(0, 5), this.U = Ko(this.encryptionKey, this.padding);
2460
+ this.O = this.processOwnerPassword(a, f), this.P = -(1 + (255 ^ s)), this.encryptionKey = Ko(a + this.O + this.lsbFirstWord(this.P) + this.hexToBytes(n)).substr(0, 5), this.U = $o(this.encryptionKey, this.padding);
2461
2461
  }
2462
2462
  function Zi(r) {
2463
2463
  if (/[^\u0000-\u00ff]/.test(r)) throw new Error("Invalid PDF Name Object: " + r + ", Only accept ASCII characters.");
@@ -2467,7 +2467,7 @@ function Zi(r) {
2467
2467
  }
2468
2468
  return t;
2469
2469
  }
2470
- function Ol(r) {
2470
+ function Rl(r) {
2471
2471
  if (xe(r) !== "object") throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");
2472
2472
  var t = {};
2473
2473
  this.subscribe = function(e, n, s) {
@@ -2502,22 +2502,22 @@ function js(r) {
2502
2502
  for (var e in r) r.hasOwnProperty(e) && t.indexOf(e) >= 0 && (this[e] = r[e]);
2503
2503
  this.id = "", this.objectNumber = -1;
2504
2504
  }
2505
- function Cf(r, t) {
2505
+ function Ff(r, t) {
2506
2506
  this.gState = r, this.matrix = t, this.id = "", this.objectNumber = -1;
2507
2507
  }
2508
2508
  function wi(r, t, e, n, s) {
2509
2509
  if (!(this instanceof wi)) return new wi(r, t, e, n, s);
2510
- this.type = r === "axial" ? 2 : 3, this.coords = t, this.colors = e, Cf.call(this, n, s);
2510
+ this.type = r === "axial" ? 2 : 3, this.coords = t, this.colors = e, Ff.call(this, n, s);
2511
2511
  }
2512
2512
  function Qi(r, t, e, n, s) {
2513
2513
  if (!(this instanceof Qi)) return new Qi(r, t, e, n, s);
2514
- this.boundingBox = r, this.xStep = t, this.yStep = e, this.stream = "", this.cloneIndex = 0, Cf.call(this, n, s);
2514
+ this.boundingBox = r, this.xStep = t, this.yStep = e, this.stream = "", this.cloneIndex = 0, Ff.call(this, n, s);
2515
2515
  }
2516
2516
  function Rt(r) {
2517
2517
  var t, e = typeof arguments[0] == "string" ? arguments[0] : "p", n = arguments[1], s = arguments[2], a = arguments[3], f = [], u = 1, c = 16, d = "S", g = null;
2518
2518
  xe(r = r || {}) === "object" && (e = r.orientation, n = r.unit || n, s = r.format || s, a = r.compress || r.compressPdf || a, (g = r.encryption || null) !== null && (g.userPassword = g.userPassword || "", g.ownerPassword = g.ownerPassword || "", g.userPermissions = g.userPermissions || []), u = typeof r.userUnit == "number" ? Math.abs(r.userUnit) : 1, r.precision !== void 0 && (t = r.precision), r.floatPrecision !== void 0 && (c = r.floatPrecision), d = r.defaultPathOperation || "S"), f = r.filters || (a === !0 ? ["FlateEncode"] : f), n = n || "mm", e = ("" + (e || "P")).toLowerCase();
2519
2519
  var x = r.putOnlyUsedFonts || !1, N = {}, p = { internal: {}, __private__: {} };
2520
- p.__private__.PubSub = Ol;
2520
+ p.__private__.PubSub = Rl;
2521
2521
  var j = "1.3", P = p.__private__.getPdfVersion = function() {
2522
2522
  return j;
2523
2523
  };
@@ -2697,7 +2697,7 @@ function Rt(r) {
2697
2697
  if (Object.keys(fe).indexOf(l) === -1) throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
2698
2698
  return fe[l] = v;
2699
2699
  };
2700
- var Ot, re, Tt, ze, ge, se = {}, oe = {}, Fe = [], Ut = {}, Se = {}, Yt = {}, Qt = {}, je = null, ue = 0, Gt = [], be = new Ol(p), Qn = r.hotfixes || [], lr = {}, vn = {}, en = [], Vt = function l(v, I, D, J, ut, vt) {
2700
+ var Ot, re, Tt, ze, ge, se = {}, oe = {}, Fe = [], Ut = {}, Se = {}, Yt = {}, Qt = {}, je = null, ue = 0, Gt = [], be = new Rl(p), Qn = r.hotfixes || [], lr = {}, vn = {}, en = [], Vt = function l(v, I, D, J, ut, vt) {
2701
2701
  if (!(this instanceof l)) return new l(v, I, D, J, ut, vt);
2702
2702
  isNaN(v) && (v = 1), isNaN(I) && (I = 0), isNaN(D) && (D = 0), isNaN(J) && (J = 1), isNaN(ut) && (ut = 0), isNaN(vt) && (vt = 0), this._matrix = [v, I, D, J, ut, vt];
2703
2703
  };
@@ -2826,7 +2826,7 @@ function Rt(r) {
2826
2826
  typeof l == "string" && (l = { ch1: l });
2827
2827
  var I = l.ch1, D = l.ch2, J = l.ch3, ut = l.ch4, vt = l.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
2828
2828
  if (typeof I == "string" && I.charAt(0) !== "#") {
2829
- var Ct = new If(I);
2829
+ var Ct = new Ef(I);
2830
2830
  if (Ct.ok) I = Ct.toHex();
2831
2831
  else if (!/^\d*\.?\d*$/.test(I)) throw new Error('Invalid color "' + I + '" passed to jsPDF.encodeColorString.');
2832
2832
  }
@@ -3086,9 +3086,9 @@ Q`), ir(J, !0), Rr({ data: ut, filters: Gr(), objectId: J }), M("endobj"), D;
3086
3086
  case "dataurlstring":
3087
3087
  var I = "", D = sn();
3088
3088
  try {
3089
- I = Cl(D);
3089
+ I = jl(D);
3090
3090
  } catch {
3091
- I = Cl(unescape(encodeURIComponent(D)));
3091
+ I = jl(unescape(encodeURIComponent(D)));
3092
3092
  }
3093
3093
  return "data:application/pdf;filename=" + encodeURIComponent(v.filename) + ";base64," + I;
3094
3094
  case "pdfobjectnewwindow":
@@ -3757,11 +3757,11 @@ $i.prototype.lsbFirstWord = function(r) {
3757
3757
  for (var t = [], e = 0; e < r.length; e += 2) t.push(String.fromCharCode(parseInt(r.substr(e, 2), 16)));
3758
3758
  return t.join("");
3759
3759
  }, $i.prototype.processOwnerPassword = function(r, t) {
3760
- return Ko(Jo(t).substr(0, 5), r);
3760
+ return $o(Ko(t).substr(0, 5), r);
3761
3761
  }, $i.prototype.encryptor = function(r, t) {
3762
- var e = Jo(this.encryptionKey + String.fromCharCode(255 & r, r >> 8 & 255, r >> 16 & 255, 255 & t, t >> 8 & 255)).substr(0, 10);
3762
+ var e = Ko(this.encryptionKey + String.fromCharCode(255 & r, r >> 8 & 255, r >> 16 & 255, 255 & t, t >> 8 & 255)).substr(0, 10);
3763
3763
  return function(n) {
3764
- return Ko(e, n);
3764
+ return $o(e, n);
3765
3765
  };
3766
3766
  }, js.prototype.equals = function(r) {
3767
3767
  var t, e = "id,objectNumber,equals";
@@ -3774,7 +3774,7 @@ $i.prototype.lsbFirstWord = function(r) {
3774
3774
  for (t in r) r.hasOwnProperty(t) && e.indexOf(t) < 0 && n--;
3775
3775
  return n === 0;
3776
3776
  }, Rt.API = { events: [] }, Rt.version = "4.2.1";
3777
- var Ue = Rt.API, nu = 1, _i = function(r) {
3777
+ var Ue = Rt.API, iu = 1, _i = function(r) {
3778
3778
  return r.replace(/\\/g, "\\\\").replace(/\(/g, "\\(").replace(/\)/g, "\\)");
3779
3779
  }, Ji = function(r) {
3780
3780
  return r.replace(/\\\\/g, "\\").replace(/\\\(/g, "(").replace(/\\\)/g, ")");
@@ -3791,10 +3791,10 @@ var Ue = Rt.API, nu = 1, _i = function(r) {
3791
3791
  Ue.__acroform__ = {};
3792
3792
  var Sr = function(r, t) {
3793
3793
  r.prototype = Object.create(t.prototype), r.prototype.constructor = r;
3794
- }, Bl = function(r) {
3795
- return r * nu;
3794
+ }, Tl = function(r) {
3795
+ return r * iu;
3796
3796
  }, dn = function(r) {
3797
- var t = new jf(), e = It.internal.getHeight(r) || 0, n = It.internal.getWidth(r) || 0;
3797
+ var t = new Of(), e = It.internal.getHeight(r) || 0, n = It.internal.getWidth(r) || 0;
3798
3798
  return t.BBox = [0, 0, Number($t(n)), Number($t(e))], t;
3799
3799
  }, G1 = Ue.__acroform__.setBit = function(r, t) {
3800
3800
  if (r = r || 0, t = t || 0, isNaN(r) || isNaN(t)) throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");
@@ -3820,13 +3820,13 @@ var Sr = function(r, t) {
3820
3820
  }, J1 = function(r) {
3821
3821
  if (r.appearanceStreamContent) return r.appearanceStreamContent;
3822
3822
  if (r.V || r.DV) {
3823
- var t = [], e = r._V || r.DV, n = $o(r, e), s = r.scope.internal.getFont(r.fontName, r.fontStyle).id;
3823
+ var t = [], e = r._V || r.DV, n = Zo(r, e), s = r.scope.internal.getFont(r.fontName, r.fontStyle).id;
3824
3824
  t.push("/Tx BMC"), t.push("q"), t.push("BT"), t.push(r.scope.__private__.encodeColorString(r.color)), t.push("/" + s + " " + $t(n.fontSize) + " Tf"), t.push("1 0 0 1 0 0 Tm"), t.push(n.text), t.push("ET"), t.push("Q"), t.push("EMC");
3825
3825
  var a = dn(r);
3826
3826
  return a.scope = r.scope, a.stream = t.join(`
3827
3827
  `), a;
3828
3828
  }
3829
- }, $o = function(r, t) {
3829
+ }, Zo = function(r, t) {
3830
3830
  var e = r.fontSize === 0 ? r.maxFontSize : r.fontSize, n = { text: "", fontSize: "" }, s = (t = (t = t.substr(0, 1) == "(" ? t.substr(1) : t).substr(t.length - 1) == ")" ? t.substr(0, t.length - 1) : t).split(" ");
3831
3831
  s = r.multiline ? s.map(function(_) {
3832
3832
  return _.split(`
@@ -3918,7 +3918,7 @@ var Sr = function(r, t) {
3918
3918
  }, Z1 = function(r, t) {
3919
3919
  if (t.scope = r, r.internal !== void 0 && (r.internal.acroformPlugin === void 0 || r.internal.acroformPlugin.isInitialized === !1)) {
3920
3920
  if (Qr.FieldNum = 0, r.internal.acroformPlugin = JSON.parse(JSON.stringify(K1)), r.internal.acroformPlugin.acroFormDictionaryRoot) throw new Error("Exception while creating AcroformDictionary");
3921
- nu = r.internal.scaleFactor, r.internal.acroformPlugin.acroFormDictionaryRoot = new Of(), r.internal.acroformPlugin.acroFormDictionaryRoot.scope = r, r.internal.acroformPlugin.acroFormDictionaryRoot._eventID = r.internal.events.subscribe("postPutResources", function() {
3921
+ iu = r.internal.scaleFactor, r.internal.acroformPlugin.acroFormDictionaryRoot = new Bf(), r.internal.acroformPlugin.acroFormDictionaryRoot.scope = r, r.internal.acroformPlugin.acroFormDictionaryRoot._eventID = r.internal.events.subscribe("postPutResources", function() {
3922
3922
  (function(e) {
3923
3923
  e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID), delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID, e.internal.acroformPlugin.printedOut = !0;
3924
3924
  })(r);
@@ -3971,7 +3971,7 @@ var Sr = function(r, t) {
3971
3971
  })(e, r);
3972
3972
  }), r.internal.acroformPlugin.isInitialized = !0;
3973
3973
  }
3974
- }, Ff = Ue.__acroform__.arrayToPdfArray = function(r, t, e) {
3974
+ }, jf = Ue.__acroform__.arrayToPdfArray = function(r, t, e) {
3975
3975
  var n = function(f) {
3976
3976
  return f;
3977
3977
  };
@@ -4015,11 +4015,11 @@ gn.prototype.toString = function() {
4015
4015
  });
4016
4016
  for (var e in t) if (Object.getOwnPropertyDescriptor(this, t[e]).configurable === !1) {
4017
4017
  var n = t[e], s = this[n];
4018
- s && (Array.isArray(s) ? r.push({ key: n, value: Ff(s, this.objId, this.scope) }) : s instanceof gn ? (s.scope = this.scope, r.push({ key: n, value: s.objId + " 0 R" })) : typeof s != "function" && r.push({ key: n, value: s }));
4018
+ s && (Array.isArray(s) ? r.push({ key: n, value: jf(s, this.objId, this.scope) }) : s instanceof gn ? (s.scope = this.scope, r.push({ key: n, value: s.objId + " 0 R" })) : typeof s != "function" && r.push({ key: n, value: s }));
4019
4019
  }
4020
4020
  return r;
4021
4021
  };
4022
- var jf = function() {
4022
+ var Of = function() {
4023
4023
  gn.call(this), Object.defineProperty(this, "Type", { value: "/XObject", configurable: !1, writable: !0 }), Object.defineProperty(this, "Subtype", { value: "/Form", configurable: !1, writable: !0 }), Object.defineProperty(this, "FormType", { value: 1, configurable: !1, writable: !0 });
4024
4024
  var r, t = [];
4025
4025
  Object.defineProperty(this, "BBox", { configurable: !1, get: function() {
@@ -4032,8 +4032,8 @@ var jf = function() {
4032
4032
  return r || null;
4033
4033
  } });
4034
4034
  };
4035
- Sr(jf, gn);
4036
- var Of = function() {
4035
+ Sr(Of, gn);
4036
+ var Bf = function() {
4037
4037
  gn.call(this);
4038
4038
  var r, t = [];
4039
4039
  Object.defineProperty(this, "Kids", { enumerable: !1, configurable: !0, get: function() {
@@ -4051,7 +4051,7 @@ var Of = function() {
4051
4051
  r = e;
4052
4052
  } });
4053
4053
  };
4054
- Sr(Of, gn);
4054
+ Sr(Bf, gn);
4055
4055
  var Qr = function r() {
4056
4056
  gn.call(this);
4057
4057
  var t = 4;
@@ -4146,7 +4146,7 @@ var Qr = function r() {
4146
4146
  } });
4147
4147
  var d = void 0;
4148
4148
  Object.defineProperty(this, "maxFontSize", { enumerable: !0, configurable: !0, get: function() {
4149
- return d === void 0 ? 50 / nu : d;
4149
+ return d === void 0 ? 50 / iu : d;
4150
4150
  }, set: function(k) {
4151
4151
  d = k;
4152
4152
  } });
@@ -4264,7 +4264,7 @@ var ea = function() {
4264
4264
  } });
4265
4265
  var t = [];
4266
4266
  Object.defineProperty(this, "Opt", { enumerable: !0, configurable: !1, get: function() {
4267
- return Ff(t, this.objId, this.scope);
4267
+ return jf(t, this.objId, this.scope);
4268
4268
  }, set: function(e) {
4269
4269
  var n, s;
4270
4270
  s = [], typeof (n = e) == "string" && (s = (function(a, f, u) {
@@ -4486,13 +4486,13 @@ var It = { CheckBox: { createAppearanceStream: function() {
4486
4486
  }, YesPushDown: function(r) {
4487
4487
  var t = dn(r);
4488
4488
  t.scope = r.scope;
4489
- var e = [], n = r.scope.internal.getFont(r.fontName, r.fontStyle).id, s = r.scope.__private__.encodeColorString(r.color), a = $o(r, r.caption);
4489
+ var e = [], n = r.scope.internal.getFont(r.fontName, r.fontStyle).id, s = r.scope.__private__.encodeColorString(r.color), a = Zo(r, r.caption);
4490
4490
  return e.push("0.749023 g"), e.push("0 0 " + $t(It.internal.getWidth(r)) + " " + $t(It.internal.getHeight(r)) + " re"), e.push("f"), e.push("BMC"), e.push("q"), e.push("0 0 1 rg"), e.push("/" + n + " " + $t(a.fontSize) + " Tf " + s), e.push("BT"), e.push(a.text), e.push("ET"), e.push("Q"), e.push("EMC"), t.stream = e.join(`
4491
4491
  `), t;
4492
4492
  }, YesNormal: function(r) {
4493
4493
  var t = dn(r);
4494
4494
  t.scope = r.scope;
4495
- var e = r.scope.internal.getFont(r.fontName, r.fontStyle).id, n = r.scope.__private__.encodeColorString(r.color), s = [], a = It.internal.getHeight(r), f = It.internal.getWidth(r), u = $o(r, r.caption);
4495
+ var e = r.scope.internal.getFont(r.fontName, r.fontStyle).id, n = r.scope.__private__.encodeColorString(r.color), s = [], a = It.internal.getHeight(r), f = It.internal.getWidth(r), u = Zo(r, r.caption);
4496
4496
  return s.push("1 g"), s.push("0 0 " + $t(f) + " " + $t(a) + " re"), s.push("f"), s.push("q"), s.push("0 0 1 rg"), s.push("0 0 " + $t(f - 1) + " " + $t(a - 1) + " re"), s.push("W"), s.push("n"), s.push("0 g"), s.push("BT"), s.push("/" + e + " " + $t(u.fontSize) + " Tf " + n), s.push(u.text), s.push("ET"), s.push("Q"), t.stream = s.join(`
4497
4497
  `), t;
4498
4498
  }, OffPushDown: function(r) {
@@ -4562,10 +4562,10 @@ It.internal = { Bezier_C: 0.551915024494, calculateCross: function(r) {
4562
4562
  return { x1: { x: (t - n) / 2, y: (e - n) / 2 + n }, x2: { x: (t - n) / 2 + n, y: (e - n) / 2 }, x3: { x: (t - n) / 2, y: (e - n) / 2 }, x4: { x: (t - n) / 2 + n, y: (e - n) / 2 + n } };
4563
4563
  } }, It.internal.getWidth = function(r) {
4564
4564
  var t = 0;
4565
- return xe(r) === "object" && (t = Bl(r.Rect[2])), t;
4565
+ return xe(r) === "object" && (t = Tl(r.Rect[2])), t;
4566
4566
  }, It.internal.getHeight = function(r) {
4567
4567
  var t = 0;
4568
- return xe(r) === "object" && (t = Bl(r.Rect[3])), t;
4568
+ return xe(r) === "object" && (t = Tl(r.Rect[3])), t;
4569
4569
  };
4570
4570
  var Q1 = Ue.addField = function(r) {
4571
4571
  if (Z1(this, r), !(r instanceof Qr)) throw new Error("Invalid argument passed to jsPDF.addField.");
@@ -4574,7 +4574,7 @@ var Q1 = Ue.addField = function(r) {
4574
4574
  };
4575
4575
  Ue.AcroFormChoiceField = ea, Ue.AcroFormListBox = ra, Ue.AcroFormComboBox = na, Ue.AcroFormEditBox = Ss, Ue.AcroFormButton = nr, Ue.AcroFormPushButton = ks, Ue.AcroFormRadioButton = ia, Ue.AcroFormCheckBox = Ps, Ue.AcroFormTextField = yi, Ue.AcroFormPasswordField = Ms, Ue.AcroFormAppearance = It, Ue.AcroForm = { ChoiceField: ea, ListBox: ra, ComboBox: na, EditBox: Ss, Button: nr, PushButton: ks, RadioButton: ia, CheckBox: Ps, TextField: yi, PasswordField: Ms, Appearance: It }, Rt.AcroForm = { ChoiceField: ea, ListBox: ra, ComboBox: na, EditBox: Ss, Button: nr, PushButton: ks, RadioButton: ia, CheckBox: Ps, TextField: yi, PasswordField: Ms, Appearance: It };
4576
4576
  Rt.AcroForm;
4577
- function Bf(r) {
4577
+ function Rf(r) {
4578
4578
  return r.reduce(function(t, e, n) {
4579
4579
  return t[e] = n, t;
4580
4580
  }, {});
@@ -5111,27 +5111,27 @@ function Bf(r) {
5111
5111
  N.length > 0 && this.setTableHeaderRow(N), this.setFont(void 0, "normal"), e = !1;
5112
5112
  };
5113
5113
  })(Rt.API);
5114
- var Rf = { italic: ["italic", "oblique", "normal"], oblique: ["oblique", "italic", "normal"], normal: ["normal", "oblique", "italic"] }, Tf = ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded"], Zo = Bf(Tf), Df = [100, 200, 300, 400, 500, 600, 700, 800, 900], t2 = Bf(Df);
5114
+ var Tf = { italic: ["italic", "oblique", "normal"], oblique: ["oblique", "italic", "normal"], normal: ["normal", "oblique", "italic"] }, Df = ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded"], Qo = Rf(Df), qf = [100, 200, 300, 400, 500, 600, 700, 800, 900], t2 = Rf(qf);
5115
5115
  function Ro(r) {
5116
5116
  var t = r.family.replace(/"|'/g, "").toLowerCase(), e = (function(a) {
5117
- return Rf[a = a || "normal"] ? a : "normal";
5117
+ return Tf[a = a || "normal"] ? a : "normal";
5118
5118
  })(r.style), n = (function(a) {
5119
5119
  return a ? typeof a == "number" ? a >= 100 && a <= 900 && a % 100 == 0 ? a : 400 : /^\d00$/.test(a) ? parseInt(a) : a === "bold" ? 700 : 400 : 400;
5120
5120
  })(r.weight), s = (function(a) {
5121
- return typeof Zo[a = a || "normal"] == "number" ? a : "normal";
5121
+ return typeof Qo[a = a || "normal"] == "number" ? a : "normal";
5122
5122
  })(r.stretch);
5123
5123
  return { family: t, style: e, weight: n, stretch: s, src: r.src || [], ref: r.ref || { name: t, style: [s, e, n].join(" ") } };
5124
5124
  }
5125
- function Rl(r, t, e, n) {
5125
+ function Dl(r, t, e, n) {
5126
5126
  var s;
5127
5127
  for (s = e; s >= 0 && s < t.length; s += n) if (r[t[s]]) return r[t[s]];
5128
5128
  for (s = e; s >= 0 && s < t.length; s -= n) if (r[t[s]]) return r[t[s]];
5129
5129
  }
5130
- var e2 = { "sans-serif": "helvetica", fixed: "courier", monospace: "courier", terminal: "courier", cursive: "times", fantasy: "times", serif: "times" }, Tl = { caption: "times", icon: "times", menu: "times", "message-box": "times", "small-caption": "times", "status-bar": "times" };
5131
- function Dl(r) {
5130
+ var e2 = { "sans-serif": "helvetica", fixed: "courier", monospace: "courier", terminal: "courier", cursive: "times", fantasy: "times", serif: "times" }, ql = { caption: "times", icon: "times", menu: "times", "message-box": "times", "small-caption": "times", "status-bar": "times" };
5131
+ function Ul(r) {
5132
5132
  return [r.stretch, r.style, r.weight, r.family].join(" ");
5133
5133
  }
5134
- function ql(r) {
5134
+ function zl(r) {
5135
5135
  return r.trimLeft();
5136
5136
  }
5137
5137
  function r2(r, t) {
@@ -5145,21 +5145,21 @@ function n2(r) {
5145
5145
  var t = r.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);
5146
5146
  return t === null ? null : [t[0], r.substring(t[0].length)];
5147
5147
  }
5148
- var Ki, Ns, Ul, zl, Hl, To = ["times"];
5149
- function Wl(r, t, e, n, s) {
5150
- var a = 4, f = Vl;
5148
+ var Ki, Ns, Hl, Wl, Gl, To = ["times"];
5149
+ function Vl(r, t, e, n, s) {
5150
+ var a = 4, f = Xl;
5151
5151
  switch (s) {
5152
5152
  case Rt.API.image_compression.FAST:
5153
- a = 1, f = Gl;
5153
+ a = 1, f = Yl;
5154
5154
  break;
5155
5155
  case Rt.API.image_compression.MEDIUM:
5156
- a = 6, f = Yl;
5156
+ a = 6, f = Jl;
5157
5157
  break;
5158
5158
  case Rt.API.image_compression.SLOW:
5159
- a = 9, f = Xl;
5159
+ a = 9, f = Kl;
5160
5160
  }
5161
5161
  r = (function(c, d, g, x) {
5162
- for (var N, p = c.length / d, j = new Uint8Array(c.length + p), P = [i2, Gl, Vl, Yl, Xl], O = 0; O < p; O += 1) {
5162
+ for (var N, p = c.length / d, j = new Uint8Array(c.length + p), P = [i2, Yl, Xl, Jl, Kl], O = 0; O < p; O += 1) {
5163
5163
  var k = O * d, G = c.subarray(k, k + d);
5164
5164
  if (x) j.set(x(G, g, N), k + O);
5165
5165
  else {
@@ -5171,14 +5171,14 @@ function Wl(r, t, e, n, s) {
5171
5171
  }
5172
5172
  return j;
5173
5173
  })(r, t, Math.ceil(e * n / 8), f);
5174
- var u = Go(r, { level: a });
5174
+ var u = Vo(r, { level: a });
5175
5175
  return Rt.API.__addimage__.arrayBufferToBinaryString(u);
5176
5176
  }
5177
5177
  function i2(r) {
5178
5178
  var t = Array.apply([], r);
5179
5179
  return t.unshift(0), t;
5180
5180
  }
5181
- function Gl(r, t) {
5181
+ function Yl(r, t) {
5182
5182
  var e = r.length, n = [];
5183
5183
  n[0] = 1;
5184
5184
  for (var s = 0; s < e; s += 1) {
@@ -5187,7 +5187,7 @@ function Gl(r, t) {
5187
5187
  }
5188
5188
  return n;
5189
5189
  }
5190
- function Vl(r, t, e) {
5190
+ function Xl(r, t, e) {
5191
5191
  var n = r.length, s = [];
5192
5192
  s[0] = 2;
5193
5193
  for (var a = 0; a < n; a += 1) {
@@ -5196,7 +5196,7 @@ function Vl(r, t, e) {
5196
5196
  }
5197
5197
  return s;
5198
5198
  }
5199
- function Yl(r, t, e) {
5199
+ function Jl(r, t, e) {
5200
5200
  var n = r.length, s = [];
5201
5201
  s[0] = 3;
5202
5202
  for (var a = 0; a < n; a += 1) {
@@ -5205,7 +5205,7 @@ function Yl(r, t, e) {
5205
5205
  }
5206
5206
  return s;
5207
5207
  }
5208
- function Xl(r, t, e) {
5208
+ function Kl(r, t, e) {
5209
5209
  var n = r.length, s = [];
5210
5210
  s[0] = 4;
5211
5211
  for (var a = 0; a < n; a += 1) {
@@ -5229,9 +5229,9 @@ function s2(r) {
5229
5229
  }
5230
5230
  function Do(r, t, e) {
5231
5231
  var n = t * e, s = Math.floor(n / 8), a = 16 - (n - 8 * s + e), f = (1 << e) - 1;
5232
- return qf(r, s) >> a & f;
5232
+ return Uf(r, s) >> a & f;
5233
5233
  }
5234
- function Jl(r, t, e, n) {
5234
+ function $l(r, t, e, n) {
5235
5235
  var s = e * n, a = Math.floor(s / 8), f = 16 - (s - 8 * a + n), u = (1 << n) - 1, c = (t & u) << f;
5236
5236
  (function(d, g, x) {
5237
5237
  if (g + 1 < d.byteLength) d.setUint16(g, x, !1);
@@ -5239,9 +5239,9 @@ function Jl(r, t, e, n) {
5239
5239
  var N = x >> 8 & 255;
5240
5240
  d.setUint8(g, N);
5241
5241
  }
5242
- })(r, a, qf(r, a) & ~(u << f) & 65535 | c);
5242
+ })(r, a, Uf(r, a) & ~(u << f) & 65535 | c);
5243
5243
  }
5244
- function qf(r, t) {
5244
+ function Uf(r, t) {
5245
5245
  return t + 1 < r.byteLength ? r.getUint16(t, !1) : r.getUint8(t) << 8;
5246
5246
  }
5247
5247
  function o2(r) {
@@ -5308,7 +5308,7 @@ function o2(r) {
5308
5308
  var U = this.frameInfo(F), nt = U.width * U.height;
5309
5309
  if (nt > 536870912) throw new Error("Image dimensions exceed 512MB, which is too large.");
5310
5310
  var ot = new Uint8Array(nt);
5311
- Kl(r, U.data_offset, ot, nt);
5311
+ Zl(r, U.data_offset, ot, nt);
5312
5312
  var ft = U.palette_offset, rt = U.transparent_index;
5313
5313
  rt === null && (rt = 256);
5314
5314
  var ht = U.width, Nt = e - ht, wt = ht, A = 4 * (U.y * e + U.x), B = 4 * ((U.y + U.height) * e + U.x), T = A, H = 4 * Nt;
@@ -5326,7 +5326,7 @@ function o2(r) {
5326
5326
  var U = this.frameInfo(F), nt = U.width * U.height;
5327
5327
  if (nt > 536870912) throw new Error("Image dimensions exceed 512MB, which is too large.");
5328
5328
  var ot = new Uint8Array(nt);
5329
- Kl(r, U.data_offset, ot, nt);
5329
+ Zl(r, U.data_offset, ot, nt);
5330
5330
  var ft = U.palette_offset, rt = U.transparent_index;
5331
5331
  rt === null && (rt = 256);
5332
5332
  var ht = U.width, Nt = e - ht, wt = ht, A = 4 * (U.y * e + U.x), B = 4 * ((U.y + U.height) * e + U.x), T = A, H = 4 * Nt;
@@ -5342,7 +5342,7 @@ function o2(r) {
5342
5342
  }
5343
5343
  };
5344
5344
  }
5345
- function Kl(r, t, e, n) {
5345
+ function Zl(r, t, e, n) {
5346
5346
  for (var s = r[t++], a = 1 << s, f = a + 1, u = f + 1, c = s + 1, d = (1 << c) - 1, g = 0, x = 0, N = 0, p = r[t++], j = new Int32Array(4096), P = null; ; ) {
5347
5347
  for (; g < 16 && p !== 0; ) x |= r[t++] << g, g += 8, p === 1 ? p = r[t++] : --p;
5348
5348
  if (g < c) break;
@@ -5483,7 +5483,7 @@ function Kr(r, t) {
5483
5483
  if (this.pos = 0, this.buffer = r, this.datav = new DataView(r.buffer), this.is_with_alpha = !!t, this.bottom_up = !0, this.flag = String.fromCharCode(this.buffer[0]) + String.fromCharCode(this.buffer[1]), this.pos += 2, ["BM", "BA", "CI", "CP", "IC", "PT"].indexOf(this.flag) === -1) throw new Error("Invalid BMP File");
5484
5484
  this.parseHeader(), this.parseBGR();
5485
5485
  }
5486
- function $l(r) {
5486
+ function Ql(r) {
5487
5487
  function t(R) {
5488
5488
  if (!R) throw Error("assert :P");
5489
5489
  }
@@ -5783,7 +5783,7 @@ function $l(r) {
5783
5783
  var S = [0], E = i.ka;
5784
5784
  S[0] = i.T, i.Kb && (E == 0 ? --S[0] : (--E, b[0] -= i.width), i.j + i.ka + i.T == i.o && (S[0] = i.o - i.j - E));
5785
5785
  var W = o.eb;
5786
- E = o.fb + E * o.A, i = hu(m, b[0], i.width, w, S, W, E + (L ? 0 : 3), o.A), t(h == S), i && Yt(y) && Na(W, E, L, w, S, o.A);
5786
+ E = o.fb + E * o.A, i = du(m, b[0], i.width, w, S, W, E + (L ? 0 : 3), o.A), t(h == S), i && Yt(y) && Na(W, E, L, w, S, o.A);
5787
5787
  }
5788
5788
  return 0;
5789
5789
  }
@@ -5800,10 +5800,10 @@ function $l(r) {
5800
5800
  } else alert("todo:EmitYUV");
5801
5801
  b && (o.Jb = vn, m && Re());
5802
5802
  }
5803
- if (m && !Pu) {
5804
- for (i = 0; 256 > i; ++i) fc[i] = 89858 * (i - 128) + us >> os, dc[i] = -22014 * (i - 128) + us, hc[i] = -45773 * (i - 128), cc[i] = 113618 * (i - 128) + us >> os;
5805
- for (i = _a; i < ho; ++i) o = 76283 * (i - 16) + us >> os, pc[i - _a] = an(o, 255), gc[i - _a] = an(o + 8 >> 4, 15);
5806
- Pu = 1;
5803
+ if (m && !Mu) {
5804
+ for (i = 0; 256 > i; ++i) cc[i] = 89858 * (i - 128) + us >> os, pc[i] = -22014 * (i - 128) + us, dc[i] = -45773 * (i - 128), hc[i] = 113618 * (i - 128) + us >> os;
5805
+ for (i = _a; i < ho; ++i) o = 76283 * (i - 16) + us >> os, gc[i - _a] = an(o, 255), mc[i - _a] = an(o + 8 >> 4, 15);
5806
+ Mu = 1;
5807
5807
  }
5808
5808
  return 1;
5809
5809
  }
@@ -5823,7 +5823,7 @@ function $l(r) {
5823
5823
  return (2 + (1 & i) << h) + wt(o, h) + 1;
5824
5824
  }
5825
5825
  function Br(i, o) {
5826
- return 120 < o ? o - 120 : 1 <= (h = ((h = Kf[o - 1]) >> 4) * i + (8 - (15 & h))) ? h : 1;
5826
+ return 120 < o ? o - 120 : 1 <= (h = ((h = $f[o - 1]) >> 4) * i + (8 - (15 & h))) ? h : 1;
5827
5827
  var h;
5828
5828
  }
5829
5829
  function Te(i, o, h) {
@@ -5900,7 +5900,7 @@ function $l(r) {
5900
5900
  case oo:
5901
5901
  xa(V, $, lt, Q, ct), Na(Q, ct, 0, lt, 1, 0);
5902
5902
  break;
5903
- case wu:
5903
+ case yu:
5904
5904
  mi(V, $, lt, Q, ct);
5905
5905
  break;
5906
5906
  case is:
@@ -5919,9 +5919,9 @@ function $l(r) {
5919
5919
  Wi(V, $, lt, Q, ct);
5920
5920
  break;
5921
5921
  case lo:
5922
- Wi(V, $, lt, Q, ct), cu(Q, ct, lt, 1, 0);
5922
+ Wi(V, $, lt, Q, ct), hu(Q, ct, lt, 1, 0);
5923
5923
  break;
5924
- case yu:
5924
+ case xu:
5925
5925
  gi(V, $, lt, Q, ct);
5926
5926
  break;
5927
5927
  default:
@@ -5971,7 +5971,7 @@ function $l(r) {
5971
5971
  var bt = 0;
5972
5972
  if (L >= lt) {
5973
5973
  var Bt = et - h;
5974
- t((lt = i).Pb), lt.wd = lt.m, lt.xd = Bt, 0 < lt.s.ua && _t(lt.s.Wa, lt.s.vb), lt = L + Zf;
5974
+ t((lt = i).Pb), lt.wd = lt.m, lt.xd = Bt, 0 < lt.s.ua && _t(lt.s.Wa, lt.s.vb), lt = L + Qf;
5975
5975
  }
5976
5976
  if (S & ct || (pt = ir(W, S, L)), t(pt != null), pt.Qb && (o[et] = pt.qb, xt = !0), !xt) if (Z(E), pt.jc) {
5977
5977
  bt = E, Bt = o;
@@ -6015,7 +6015,7 @@ function $l(r) {
6015
6015
  }
6016
6016
  function ei() {
6017
6017
  var i = new Ct();
6018
- return i == null ? null : (i.a = 0, i.xb = Nu, Se("Predictor", "VP8LPredictors"), Se("Predictor", "VP8LPredictors_C"), Se("PredictorAdd", "VP8LPredictorsAdd"), Se("PredictorAdd", "VP8LPredictorsAdd_C"), Hi = fe, pi = re, ya = ze, xa = ge, Wi = se, gi = oe, mi = Fe, R.VP8LMapColor32b = $e, R.VP8LMapColor8b = fn, i);
6018
+ return i == null ? null : (i.a = 0, i.xb = Lu, Se("Predictor", "VP8LPredictors"), Se("Predictor", "VP8LPredictors_C"), Se("PredictorAdd", "VP8LPredictorsAdd"), Se("PredictorAdd", "VP8LPredictorsAdd_C"), Hi = fe, pi = re, ya = ze, xa = ge, Wi = se, gi = oe, mi = Fe, R.VP8LMapColor32b = $e, R.VP8LMapColor8b = fn, i);
6019
6019
  }
6020
6020
  function nn(i, o, h, m, b) {
6021
6021
  var w = 1, y = [i], L = [o], S = m.m, E = m.s, W = null, et = 0;
@@ -6057,7 +6057,7 @@ function $l(r) {
6057
6057
  }
6058
6058
  var Lt;
6059
6059
  if (Lt = w) e: {
6060
- var We, ee, pe, Ee = m, sr = y, yr = L, De = et, dr = h, xr = Ee.m, tr = Ee.s, me = [null], we = 1, qe = 0, ye = $f[De];
6060
+ var We, ee, pe, Ee = m, sr = y, yr = L, De = et, dr = h, xr = Ee.m, tr = Ee.s, me = [null], we = 1, qe = 0, ye = Zf[De];
6061
6061
  r: for (; ; ) {
6062
6062
  if (dr && wt(xr, 1)) {
6063
6063
  var or = wt(xr, 3) + 2, Xr = yt(sr, or), Ge = yt(yr, or), Lr = Xr * Ge;
@@ -6069,7 +6069,7 @@ function $l(r) {
6069
6069
  }
6070
6070
  if (xr.h) break r;
6071
6071
  for (ee = 0; 5 > ee; ++ee) {
6072
- var er = xu[ee];
6072
+ var er = Au[ee];
6073
6073
  !ee && 0 < De && (er += 1 << De), qe < er && (qe = er);
6074
6074
  }
6075
6075
  var Mr = f(we * ye, z), Ar = we, Ir = f(Ar, nt);
@@ -6084,48 +6084,48 @@ function $l(r) {
6084
6084
  for (We = pe = 0; We < we; ++We) {
6085
6085
  var Me = Er[We], Fr = Me.G, Jr = Me.H, vi = 0, Mn = 1, ur = 0;
6086
6086
  for (ee = 0; 5 > ee; ++ee) {
6087
- er = xu[ee], Fr[ee] = Cr, Jr[ee] = pe, !ee && 0 < De && (er += 1 << De);
6087
+ er = Au[ee], Fr[ee] = Cr, Jr[ee] = pe, !ee && 0 < De && (er += 1 << De);
6088
6088
  i: {
6089
- var fs, po = er, cs = Ee, Sa = _r, bc = Cr, wc = pe, go = 0, Wn = cs.m, yc = wt(Wn, 1);
6090
- if (s(Sa, 0, 0, po), yc) {
6091
- var xc = wt(Wn, 1) + 1, Ac = wt(Wn, 1), Eu = wt(Wn, Ac == 0 ? 1 : 8);
6092
- Sa[Eu] = 1, xc == 2 && (Sa[Eu = wt(Wn, 8)] = 1);
6089
+ var fs, po = er, cs = Ee, Sa = _r, wc = Cr, yc = pe, go = 0, Wn = cs.m, xc = wt(Wn, 1);
6090
+ if (s(Sa, 0, 0, po), xc) {
6091
+ var Ac = wt(Wn, 1) + 1, Nc = wt(Wn, 1), Cu = wt(Wn, Nc == 0 ? 1 : 8);
6092
+ Sa[Cu] = 1, Ac == 2 && (Sa[Cu = wt(Wn, 8)] = 1);
6093
6093
  var hs = 1;
6094
6094
  } else {
6095
- var Cu = a(19), Fu = wt(Wn, 4) + 4;
6096
- if (19 < Fu) {
6095
+ var Fu = a(19), ju = wt(Wn, 4) + 4;
6096
+ if (19 < ju) {
6097
6097
  cs.a = 3;
6098
6098
  var ds = 0;
6099
6099
  break i;
6100
6100
  }
6101
- for (fs = 0; fs < Fu; ++fs) Cu[Jf[fs]] = wt(Wn, 3);
6102
- var mo = void 0, ka = void 0, ju = cs, Nc = Cu, ps = po, Ou = Sa, vo = 0, Gn = ju.m, Bu = 8, Ru = f(128, z);
6103
- n: for (; F(Ru, 0, 7, Nc, 19); ) {
6101
+ for (fs = 0; fs < ju; ++fs) Fu[Kf[fs]] = wt(Wn, 3);
6102
+ var mo = void 0, ka = void 0, Ou = cs, Lc = Fu, ps = po, Bu = Sa, vo = 0, Gn = Ou.m, Ru = 8, Tu = f(128, z);
6103
+ n: for (; F(Tu, 0, 7, Lc, 19); ) {
6104
6104
  if (wt(Gn, 1)) {
6105
- var Lc = 2 + 2 * wt(Gn, 3);
6106
- if ((mo = 2 + wt(Gn, Lc)) > ps) break n;
6105
+ var _c = 2 + 2 * wt(Gn, 3);
6106
+ if ((mo = 2 + wt(Gn, _c)) > ps) break n;
6107
6107
  } else mo = ps;
6108
6108
  for (ka = 0; ka < ps && mo--; ) {
6109
6109
  Z(Gn);
6110
- var Tu = Ru[0 + (127 & T(Gn))];
6111
- X(Gn, Gn.u + Tu.g);
6112
- var Yi = Tu.value;
6113
- if (16 > Yi) Ou[ka++] = Yi, Yi != 0 && (Bu = Yi);
6110
+ var Du = Tu[0 + (127 & T(Gn))];
6111
+ X(Gn, Gn.u + Du.g);
6112
+ var Yi = Du.value;
6113
+ if (16 > Yi) Bu[ka++] = Yi, Yi != 0 && (Ru = Yi);
6114
6114
  else {
6115
- var _c = Yi == 16, Du = Yi - 16, Sc = Yf[Du], qu = wt(Gn, Vf[Du]) + Sc;
6116
- if (ka + qu > ps) break n;
6117
- for (var kc = _c ? Bu : 0; 0 < qu--; ) Ou[ka++] = kc;
6115
+ var Sc = Yi == 16, qu = Yi - 16, kc = Xf[qu], Uu = wt(Gn, Yf[qu]) + kc;
6116
+ if (ka + Uu > ps) break n;
6117
+ for (var Pc = Sc ? Ru : 0; 0 < Uu--; ) Bu[ka++] = Pc;
6118
6118
  }
6119
6119
  }
6120
6120
  vo = 1;
6121
6121
  break n;
6122
6122
  }
6123
- vo || (ju.a = 3), hs = vo;
6123
+ vo || (Ou.a = 3), hs = vo;
6124
6124
  }
6125
- (hs = hs && !Wn.h) && (go = F(bc, wc, 8, Sa, po)), hs && go != 0 ? ds = go : (cs.a = 3, ds = 0);
6125
+ (hs = hs && !Wn.h) && (go = F(wc, yc, 8, Sa, po)), hs && go != 0 ? ds = go : (cs.a = 3, ds = 0);
6126
6126
  }
6127
6127
  if (ds == 0) break r;
6128
- if (Mn && Xf[ee] == 1 && (Mn = Cr[pe].g == 0), vi += Cr[pe].g, pe += ds, 3 >= ee) {
6128
+ if (Mn && Jf[ee] == 1 && (Mn = Cr[pe].g == 0), vi += Cr[pe].g, pe += ds, 3 >= ee) {
6129
6129
  var Pa, bo = _r[0];
6130
6130
  for (Pa = 1; Pa < er; ++Pa) _r[Pa] > bo && (bo = _r[Pa]);
6131
6131
  ur += bo;
@@ -6154,9 +6154,9 @@ function $l(r) {
6154
6154
  break t;
6155
6155
  }
6156
6156
  } else E.ua = 0;
6157
- var wo = m, Uu = y, Pc = L, yo = wo.s, xo = yo.xc;
6158
- if (wo.c = Uu, wo.i = Pc, yo.md = yt(Uu, xo), yo.wc = xo == 0 ? -1 : (1 << xo) - 1, h) {
6159
- m.xb = ac;
6157
+ var wo = m, zu = y, Mc = L, yo = wo.s, xo = yo.xc;
6158
+ if (wo.c = zu, wo.i = Mc, yo.md = yt(zu, xo), yo.wc = xo == 0 ? -1 : (1 << xo) - 1, h) {
6159
+ m.xb = sc;
6160
6160
  break t;
6161
6161
  }
6162
6162
  if ((W = a(y * L)) == null) {
@@ -6176,7 +6176,7 @@ function $l(r) {
6176
6176
  var h = i.C, m = o - h, b = i.V, w = i.Ba + i.c * h;
6177
6177
  for (t(o <= i.l.o); 0 < m; ) {
6178
6178
  var y = 16 < m ? 16 : m, L = i.l.ma, S = i.l.width, E = S * y, W = L.ca, et = L.tb + S * h, C = i.Ta, V = i.Ua;
6179
- ti(i, y, b, w), du(C, V, W, et, E), rn(L, h, h + y, W, et, S), m -= y, b += y * i.c, h += y;
6179
+ ti(i, y, b, w), pu(C, V, W, et, E), rn(L, h, h + y, W, et, S), m -= y, b += y * i.c, h += y;
6180
6180
  }
6181
6181
  t(h == o), i.C = i.Ma = o;
6182
6182
  }
@@ -6297,8 +6297,8 @@ function $l(r) {
6297
6297
  }
6298
6298
  if (!y.Rb) return Je(i, 4, "Not a key frame.");
6299
6299
  for (st(w), y = i.Pa, h = 0; 4 > h; ++h) {
6300
- for (b = 0; 8 > b; ++b) for (m = 0; 3 > m; ++m) for (L = 0; 11 > L; ++L) E = gt(w, nc[h][b][m][L]) ? ft(w, 8) : ec[h][b][m][L], y.Wc[h][b].Yb[m][L] = E;
6301
- for (b = 0; 17 > b; ++b) y.Xc[h][b] = y.Wc[h][ic[b]];
6300
+ for (b = 0; 8 > b; ++b) for (m = 0; 3 > m; ++m) for (L = 0; 11 > L; ++L) E = gt(w, ic[h][b][m][L]) ? ft(w, 8) : rc[h][b][m][L], y.Wc[h][b].Yb[m][L] = E;
6301
+ for (b = 0; 17 > b; ++b) y.Xc[h][b] = y.Wc[h][ac[b]];
6302
6302
  }
6303
6303
  return i.kc = st(w), i.kc && (i.Bd = ft(w, 8)), i.cb = 1;
6304
6304
  }
@@ -6311,13 +6311,13 @@ function $l(r) {
6311
6311
  if (gt(i, L[h + 2])) {
6312
6312
  var E = i, W = 0;
6313
6313
  if (gt(E, (C = L)[(et = h) + 3])) if (gt(E, C[et + 6])) {
6314
- for (L = 0, et = 2 * (W = gt(E, C[et + 8])) + (C = gt(E, C[et + 9 + W])), W = 0, C = Qf[et]; C[L]; ++L) W += W + gt(E, C[L]);
6314
+ for (L = 0, et = 2 * (W = gt(E, C[et + 8])) + (C = gt(E, C[et + 9 + W])), W = 0, C = tc[et]; C[L]; ++L) W += W + gt(E, C[L]);
6315
6315
  W += 3 + (8 << et);
6316
6316
  } else gt(E, C[et + 7]) ? (W = 7 + 2 * gt(E, 165), W += gt(E, 145)) : W = 5 + gt(E, 159);
6317
6317
  else W = gt(E, C[et + 4]) ? 3 + gt(E, C[et + 5]) : 2;
6318
6318
  L = S[2];
6319
6319
  } else W = 1, L = S[1];
6320
- S = y + tc[b], 0 > (E = i).b && at(E);
6320
+ S = y + ec[b], 0 > (E = i).b && at(E);
6321
6321
  var et, C = E.b, V = (et = E.Ca >> 1) - (E.I >> C) >> 31;
6322
6322
  --E.b, E.Ca += V, E.Ca |= 1, E.I -= (et + 1 & V) << C, w[S] = ((W ^ V) - V) * m[(0 < b) + 0];
6323
6323
  }
@@ -6711,7 +6711,7 @@ function $l(r) {
6711
6711
  for (w = 0; w < b; ++w) h[m + w] = i[o + w] >> 8;
6712
6712
  }
6713
6713
  function Re() {
6714
- Na = Ne, cu = Ae, hu = Ie, du = Be;
6714
+ Na = Ne, hu = Ae, du = Ie, pu = Be;
6715
6715
  }
6716
6716
  function fr(i, o, h) {
6717
6717
  R[i] = function(m, b, w, y, L, S, E, W, et, C, V, $, lt, Q, ct, pt, xt) {
@@ -6726,10 +6726,10 @@ function $l(r) {
6726
6726
  };
6727
6727
  }
6728
6728
  function _n() {
6729
- Ur[rs] = sc, Ur[ns] = Lu, Ur[wu] = oc, Ur[is] = _u, Ur[as] = Su, Ur[so] = ku, Ur[yu] = uc, Ur[oo] = Lu, Ur[uo] = _u, Ur[ss] = Su, Ur[lo] = ku;
6729
+ Ur[rs] = oc, Ur[ns] = _u, Ur[yu] = uc, Ur[is] = Su, Ur[as] = ku, Ur[so] = Pu, Ur[xu] = lc, Ur[oo] = _u, Ur[uo] = Su, Ur[ss] = ku, Ur[lo] = Pu;
6730
6730
  }
6731
6731
  function ma(i) {
6732
- return i & -16384 ? 0 > i ? 0 : 255 : i >> lc;
6732
+ return i & -16384 ? 0 > i ? 0 : 255 : i >> fc;
6733
6733
  }
6734
6734
  function si(i, o) {
6735
6735
  return ma((19077 * i >> 8) + (26149 * o >> 8) - 14234);
@@ -6798,8 +6798,8 @@ function $l(r) {
6798
6798
  if (0 < b && (n(y, L - 32, V[$].y, 0, 16), n(S, E - 32, V[$].f, 0, 8), n(W, et - 32, V[$].ea, 0, 8)), C.Za) {
6799
6799
  var ct = y, pt = L - 32 + 16;
6800
6800
  for (0 < b && (m >= i.za - 1 ? s(ct, pt, V[$].y[15], 4) : n(ct, pt, V[$ + 1].y, 0, 4)), h = 0; 4 > h; h++) ct[pt + 128 + h] = ct[pt + 256 + h] = ct[pt + 384 + h] = ct[pt + 0 + h];
6801
- for (h = 0; 16 > h; ++h, Q <<= 2) ct = y, pt = L + Mu[h], Yr[C.Ob[h]](ct, pt), Za(Q, lt, 16 * +h, ct, pt);
6802
- } else if (ct = br(m, b, C.Ob[0]), zn[ct](y, L), Q != 0) for (h = 0; 16 > h; ++h, Q <<= 2) Za(Q, lt, 16 * +h, y, L + Mu[h]);
6801
+ for (h = 0; 16 > h; ++h, Q <<= 2) ct = y, pt = L + Iu[h], Yr[C.Ob[h]](ct, pt), Za(Q, lt, 16 * +h, ct, pt);
6802
+ } else if (ct = br(m, b, C.Ob[0]), zn[ct](y, L), Q != 0) for (h = 0; 16 > h; ++h, Q <<= 2) Za(Q, lt, 16 * +h, y, L + Iu[h]);
6803
6803
  for (h = C.Gc, ct = br(m, b, C.Dd), Pn[ct](S, E), Pn[ct](W, et), Q = lt, ct = S, pt = E, 255 & (C = 0 | h) && (170 & C ? Gi(Q, 256, ct, pt) : cn(Q, 256, ct, pt)), C = W, Q = et, 255 & (h >>= 8) && (170 & h ? Gi(lt, 320, C, Q) : cn(lt, 320, C, Q)), b < i.Ub - 1 && (n(V[$].y, 0, y, L + 480, 16), n(V[$].f, 0, S, E + 224, 8), n(V[$].ea, 0, W, et + 224, 8)), h = 8 * w * i.B, V = i.sa, $ = i.ta + 16 * m + 16 * w * i.R, lt = i.qa, C = i.ra + 8 * m + h, Q = i.Ha, ct = i.Ia + 8 * m + h, h = 0; 16 > h; ++h) n(V, $ + h * i.R, y, L + 32 * h, 16);
6804
6804
  for (h = 0; 8 > h; ++h) n(lt, C + h * i.B, S, E + 32 * h, 8), n(Q, ct + h * i.B, W, et + 32 * h, 8);
6805
6805
  }
@@ -6974,14 +6974,14 @@ function $l(r) {
6974
6974
  else {
6975
6975
  if (0 >= m.Rd && m.sd == null) {
6976
6976
  y = w = b = o = 0;
6977
- var W = (L = S * Iu[i]) * E;
6977
+ var W = (L = S * Eu[i]) * E;
6978
6978
  if (11 > i || (w = (E + 1) / 2 * (o = (S + 1) / 2), i == 12 && (y = (b = S) * E)), (E = a(W + 2 * w + y)) == null) {
6979
6979
  i = 1;
6980
6980
  break t;
6981
6981
  }
6982
6982
  m.sd = E, 11 > i ? ((S = m.f.RGBA).eb = E, S.fb = 0, S.A = L, S.size = W) : ((S = m.f.kb).y = E, S.O = 0, S.fa = L, S.Fd = W, S.f = E, S.N = 0 + W, S.Ab = o, S.Cd = w, S.ea = E, S.W = 0 + W + w, S.Db = o, S.Ed = w, i == 12 && (S.F = E, S.J = 0 + W + 2 * w), S.Tc = y, S.lb = b);
6983
6983
  }
6984
- if (o = 1, b = m.S, w = m.width, y = m.height, b >= rs && 13 > b) if (11 > b) i = m.f.RGBA, o &= (L = Math.abs(i.A)) * (y - 1) + w <= i.size, o &= L >= w * Iu[b], o &= i.eb != null;
6984
+ if (o = 1, b = m.S, w = m.width, y = m.height, b >= rs && 13 > b) if (11 > b) i = m.f.RGBA, o &= (L = Math.abs(i.A)) * (y - 1) + w <= i.size, o &= L >= w * Eu[b], o &= i.eb != null;
6985
6985
  else {
6986
6986
  i = m.f.kb, L = (w + 1) / 2, W = (y + 1) / 2, S = Math.abs(i.fa), E = Math.abs(i.Ab);
6987
6987
  var et = Math.abs(i.Db), C = Math.abs(i.lb), V = C * (y - 1) + w;
@@ -7040,11 +7040,11 @@ function $l(r) {
7040
7040
  });
7041
7041
  var Hi, di = R.ColorIndexInverseTransform, $e = R.MapARGB, io = R.VP8LColorIndexInverseTransformAlpha, fn = R.MapAlpha, Vr = R.VP8LPredictorsAdd = [];
7042
7042
  Vr.length = 16, (R.VP8LPredictors = []).length = 16, (R.VP8LPredictorsAdd_C = []).length = 16, (R.VP8LPredictors_C = []).length = 16;
7043
- var pi, ya, xa, Wi, gi, mi, qn, Sn, Un, Gi, hr, cn, ke, Pe, He, Ze, kn, Aa, Vi, ts, ou, uu, lu, fu, Na, cu, hu, du, pu = a(511), gu = a(2041), mu = a(225), vu = a(767), bu = 0, ao = gu, es = mu, Pr = vu, qr = pu, rs = 0, ns = 1, wu = 2, is = 3, as = 4, so = 5, yu = 6, oo = 7, uo = 8, ss = 9, lo = 10, Vf = [2, 3, 7], Yf = [3, 3, 11], xu = [280, 256, 256, 256, 40], Xf = [0, 1, 1, 1, 0], Jf = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Kf = [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], $f = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Zf = 8, fo = [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], co = [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], La = null, Qf = [[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]], tc = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Au = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], ec = [[[[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]]]], rc = [[[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]]], nc = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], ic = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], zn = [], Yr = [], Pn = [], ac = 1, Nu = 2, Hn = [], Ur = [];
7043
+ var pi, ya, xa, Wi, gi, mi, qn, Sn, Un, Gi, hr, cn, ke, Pe, He, Ze, kn, Aa, Vi, ts, uu, lu, fu, cu, Na, hu, du, pu, gu = a(511), mu = a(2041), vu = a(225), bu = a(767), wu = 0, ao = mu, es = vu, Pr = bu, qr = gu, rs = 0, ns = 1, yu = 2, is = 3, as = 4, so = 5, xu = 6, oo = 7, uo = 8, ss = 9, lo = 10, Yf = [2, 3, 7], Xf = [3, 3, 11], Au = [280, 256, 256, 256, 40], Jf = [0, 1, 1, 1, 0], Kf = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], $f = [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], Zf = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Qf = 8, fo = [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], co = [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], La = null, tc = [[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]], ec = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Nu = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], rc = [[[[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]]]], nc = [[[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]]], ic = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], ac = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], zn = [], Yr = [], Pn = [], sc = 1, Lu = 2, Hn = [], Ur = [];
7044
7044
  fr("UpsampleRgbLinePair", ui, 3), fr("UpsampleBgrLinePair", Ti, 3), fr("UpsampleRgbaLinePair", va, 4), fr("UpsampleBgraLinePair", fi, 4), fr("UpsampleArgbLinePair", li, 4), fr("UpsampleRgba4444LinePair", cr, 2), fr("UpsampleRgb565LinePair", Di, 2);
7045
- var sc = R.UpsampleRgbLinePair, oc = R.UpsampleBgrLinePair, Lu = R.UpsampleRgbaLinePair, _u = R.UpsampleBgraLinePair, Su = R.UpsampleArgbLinePair, ku = R.UpsampleRgba4444LinePair, uc = R.UpsampleRgb565LinePair, os = 16, us = 1 << os - 1, _a = -227, ho = 482, lc = 6, Pu = 0, fc = a(256), cc = a(256), hc = a(256), dc = a(256), pc = a(ho - _a), gc = a(ho - _a);
7045
+ var oc = R.UpsampleRgbLinePair, uc = R.UpsampleBgrLinePair, _u = R.UpsampleRgbaLinePair, Su = R.UpsampleBgraLinePair, ku = R.UpsampleArgbLinePair, Pu = R.UpsampleRgba4444LinePair, lc = R.UpsampleRgb565LinePair, os = 16, us = 1 << os - 1, _a = -227, ho = 482, fc = 6, Mu = 0, cc = a(256), hc = a(256), dc = a(256), pc = a(256), gc = a(ho - _a), mc = a(ho - _a);
7046
7046
  ln("YuvToRgbRow", ui, 3), ln("YuvToBgrRow", Ti, 3), ln("YuvToRgbaRow", va, 4), ln("YuvToBgraRow", fi, 4), ln("YuvToArgbRow", li, 4), ln("YuvToRgba4444Row", cr, 2), ln("YuvToRgb565Row", Di, 2);
7047
- var Mu = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], ls = [0, 2, 8], mc = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], vc = 1;
7047
+ var Iu = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], ls = [0, 2, 8], vc = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], bc = 1;
7048
7048
  this.WebPDecodeRGBA = function(i, o, h, m, b) {
7049
7049
  var w = ns, y = new D(), L = new ue();
7050
7050
  y.ba = L, L.S = w, L.width = [L.width], L.height = [L.height];
@@ -7069,7 +7069,7 @@ function $l(r) {
7069
7069
  C.a = 3;
7070
7070
  break e;
7071
7071
  }
7072
- if (C.xb = Nu, V.width = $[0], V.height = lt[0], !nn($[0], lt[0], 1, C, null)) break e;
7072
+ if (C.xb = Lu, V.width = $[0], V.height = lt[0], !nn($[0], lt[0], 1, C, null)) break e;
7073
7073
  return 1;
7074
7074
  }
7075
7075
  return t(C.a != 0), 0;
@@ -7113,7 +7113,7 @@ function $l(r) {
7113
7113
  if ((o = ba(m.width, m.height, y.Oa, y.ba)) == 0) {
7114
7114
  if (i.Aa = 0, h = y.Oa, t((b = i) != null), h != null) {
7115
7115
  if (0 < (S = 0 > (S = h.Md) ? 0 : 100 < S ? 255 : 255 * S / 100)) {
7116
- for (E = W = 0; 4 > E; ++E) 12 > (et = b.pb[E]).lc && (et.ia = S * mc[0 > et.lc ? 0 : et.lc] >> 3), W |= et.ia;
7116
+ for (E = W = 0; 4 > E; ++E) 12 > (et = b.pb[E]).lc && (et.ia = S * vc[0 > et.lc ? 0 : et.lc] >> 3), W |= et.ia;
7117
7117
  W && (alert("todo:VP8InitRandom"), b.ia = 1);
7118
7118
  }
7119
7119
  b.Ga = h.Id, 100 < b.Ga ? b.Ga = 100 : 0 > b.Ga && (b.Ga = 0);
@@ -7147,7 +7147,7 @@ function $l(r) {
7147
7147
  } else Je(C, 6, "Frame setup failed"), $ = C.a;
7148
7148
  if ($ = $ == 0) {
7149
7149
  if ($) {
7150
- C.$c = 0, 0 < C.Aa || (C.Ic = vc);
7150
+ C.$c = 0, 0 < C.Aa || (C.Ic = bc);
7151
7151
  e: {
7152
7152
  $ = C.Ic, lt = 4 * (bt = C.za);
7153
7153
  var Bt = 32 * bt, Pt = bt + 1, ne = 0 < C.L ? bt * (0 < C.Aa ? 2 : 1) : 0, Ft = (C.Aa == 2 ? 2 : 1) * bt;
@@ -7164,14 +7164,14 @@ function $l(r) {
7164
7164
  }
7165
7165
  }
7166
7166
  if ($) {
7167
- if (V.ka = 0, V.y = C.sa, V.O = C.ta, V.f = C.qa, V.N = C.ra, V.ea = C.Ha, V.Vd = C.Ia, V.fa = C.R, V.Rc = C.B, V.F = null, V.J = 0, !bu) {
7168
- for ($ = -255; 255 >= $; ++$) pu[255 + $] = 0 > $ ? -$ : $;
7169
- for ($ = -1020; 1020 >= $; ++$) gu[1020 + $] = -128 > $ ? -128 : 127 < $ ? 127 : $;
7170
- for ($ = -112; 112 >= $; ++$) mu[112 + $] = -16 > $ ? -16 : 15 < $ ? 15 : $;
7171
- for ($ = -255; 510 >= $; ++$) vu[255 + $] = 0 > $ ? 0 : 255 < $ ? 255 : $;
7172
- bu = 1;
7167
+ if (V.ka = 0, V.y = C.sa, V.O = C.ta, V.f = C.qa, V.N = C.ra, V.ea = C.Ha, V.Vd = C.Ia, V.fa = C.R, V.Rc = C.B, V.F = null, V.J = 0, !wu) {
7168
+ for ($ = -255; 255 >= $; ++$) gu[255 + $] = 0 > $ ? -$ : $;
7169
+ for ($ = -1020; 1020 >= $; ++$) mu[1020 + $] = -128 > $ ? -128 : 127 < $ ? 127 : $;
7170
+ for ($ = -112; 112 >= $; ++$) vu[112 + $] = -16 > $ ? -16 : 15 < $ ? 15 : $;
7171
+ for ($ = -255; 510 >= $; ++$) bu[255 + $] = 0 > $ ? 0 : 255 < $ ? 255 : $;
7172
+ wu = 1;
7173
7173
  }
7174
- qn = Ga, Sn = zs, Gi = Hs, hr = Ws, cn = on, Un = Wa, ke = Xa, Pe = Ja, He = $a, Ze = l, kn = Ka, Aa = ai, Vi = v, ts = I, ou = Bi, uu = ga, lu = Ri, fu = Ya, Yr[0] = $s, Yr[1] = Fi, Yr[2] = Js, Yr[3] = Ks, Yr[4] = Zs, Yr[5] = xn, Yr[6] = Qs, Yr[7] = An, Yr[8] = eo, Yr[9] = to, zn[0] = Va, zn[1] = Gs, zn[2] = Vs, zn[3] = Ys, zn[4] = On, zn[5] = Xs, zn[6] = ni, Pn[0] = ro, Pn[1] = fa, Pn[2] = ji, Pn[3] = ca, Pn[4] = no, Pn[5] = Oi, Pn[6] = ha, $ = 1;
7174
+ qn = Ga, Sn = zs, Gi = Hs, hr = Ws, cn = on, Un = Wa, ke = Xa, Pe = Ja, He = $a, Ze = l, kn = Ka, Aa = ai, Vi = v, ts = I, uu = Bi, lu = ga, fu = Ri, cu = Ya, Yr[0] = $s, Yr[1] = Fi, Yr[2] = Js, Yr[3] = Ks, Yr[4] = Zs, Yr[5] = xn, Yr[6] = Qs, Yr[7] = An, Yr[8] = eo, Yr[9] = to, zn[0] = Va, zn[1] = Gs, zn[2] = Vs, zn[3] = Ys, zn[4] = On, zn[5] = Xs, zn[6] = ni, Pn[0] = ro, Pn[1] = fa, Pn[2] = ji, Pn[3] = ca, Pn[4] = no, Pn[5] = Oi, Pn[6] = ha, $ = 1;
7175
7175
  } else $ = 0;
7176
7176
  }
7177
7177
  $ && ($ = (function(he, Qe) {
@@ -7184,8 +7184,8 @@ function $l(r) {
7184
7184
  for (pe = 0; 4 > pe; ++pe) {
7185
7185
  var tr, me = yr[0 + pe];
7186
7186
  for (tr = 0; 4 > tr; ++tr) {
7187
- me = rc[Ee[sr + tr]][me];
7188
- for (var we = Au[gt(ee, me[0])]; 0 < we; ) we = Au[2 * we + gt(ee, me[we])];
7187
+ me = nc[Ee[sr + tr]][me];
7188
+ for (var we = Nu[gt(ee, me[0])]; 0 < we; ) we = Nu[2 * we + gt(ee, me[we])];
7189
7189
  me = -we, Ee[sr + tr] = me;
7190
7190
  }
7191
7191
  n(dr, xr, Ee, sr, 4), xr += 4, yr[0 + pe] = me;
@@ -7232,7 +7232,7 @@ function $l(r) {
7232
7232
  var Ar = (Ir = (ur = Ge).D).Nb;
7233
7233
  qe = ur.R;
7234
7234
  var Ir = Ir.wa[Ir.Y + or], Er = ur.sa, _r = ur.ta + 16 * Ar * qe + 16 * or, Cr = Ir.dd, Me = Ir.tc;
7235
- if (Me != 0) if (t(3 <= Me), ur.L == 1) 0 < or && uu(Er, _r, qe, Me + 4), Ir.La && fu(Er, _r, qe, Me), 0 < Xr && ou(Er, _r, qe, Me + 4), Ir.La && lu(Er, _r, qe, Me);
7235
+ if (Me != 0) if (t(3 <= Me), ur.L == 1) 0 < or && lu(Er, _r, qe, Me + 4), Ir.La && cu(Er, _r, qe, Me), 0 < Xr && uu(Er, _r, qe, Me + 4), Ir.La && fu(Er, _r, qe, Me);
7236
7236
  else {
7237
7237
  var Fr = ur.B, Jr = ur.qa, vi = ur.ra + 8 * Ar * Fr + 8 * or, Mn = ur.Ha, ur = ur.Ia + 8 * Ar * Fr + 8 * or;
7238
7238
  Ar = Ir.ld, 0 < or && (Pe(Er, _r, qe, Me + 4, Cr, Ar), Ze(Jr, vi, Mn, ur, Fr, Me + 4, Cr, Ar)), Ir.La && (Aa(Er, _r, qe, Me, Cr, Ar), ts(Jr, vi, Mn, ur, Fr, Me, Cr, Ar)), 0 < Xr && (ke(Er, _r, qe, Me + 4, Cr, Ar), He(Jr, vi, Mn, ur, Fr, Me + 4, Cr, Ar)), Ir.La && (kn(Er, _r, qe, Me, Cr, Ar), Vi(Jr, vi, Mn, ur, Fr, Me, Cr, Ar));
@@ -7265,7 +7265,7 @@ function $l(r) {
7265
7265
  } else w = null;
7266
7266
  return w;
7267
7267
  };
7268
- var Iu = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
7268
+ var Eu = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
7269
7269
  };
7270
7270
  function d(R, tt) {
7271
7271
  for (var _ = "", F = 0; F < 4; F++) _ += String.fromCharCode(R[tt++]);
@@ -7471,9 +7471,9 @@ function l2() {
7471
7471
  var zt = (function(Tt) {
7472
7472
  var ze, ge, se = [], oe = Tt.trim();
7473
7473
  if (oe === "") return To;
7474
- if (oe in Tl) return [Tl[oe]];
7474
+ if (oe in ql) return [ql[oe]];
7475
7475
  for (; oe !== ""; ) {
7476
- switch (ge = null, ze = (oe = ql(oe)).charAt(0)) {
7476
+ switch (ge = null, ze = (oe = zl(oe)).charAt(0)) {
7477
7477
  case '"':
7478
7478
  case "'":
7479
7479
  ge = r2(oe.substring(1), ze);
@@ -7481,7 +7481,7 @@ function l2() {
7481
7481
  default:
7482
7482
  ge = n2(oe);
7483
7483
  }
7484
- if (ge === null || (se.push(ge[0]), (oe = ql(ge[1])) !== "" && oe.charAt(0) !== ",")) return To;
7484
+ if (ge === null || (se.push(ge[0]), (oe = zl(ge[1])) !== "" && oe.charAt(0) !== ",")) return To;
7485
7485
  oe = oe.replace(/^,/, "");
7486
7486
  }
7487
7487
  return se;
@@ -7529,24 +7529,24 @@ function l2() {
7529
7529
  Ut = Tt[Fe.family];
7530
7530
  break;
7531
7531
  }
7532
- if (!(Ut = Ut || Tt[se])) throw new Error("Could not find a font-family for the rule '" + Dl(Fe) + "' and default family '" + se + "'.");
7532
+ if (!(Ut = Ut || Tt[se])) throw new Error("Could not find a font-family for the rule '" + Ul(Fe) + "' and default family '" + se + "'.");
7533
7533
  if (Ut = (function(Yt, Qt) {
7534
7534
  if (Qt[Yt]) return Qt[Yt];
7535
- var je = Zo[Yt], ue = je <= Zo.normal ? -1 : 1, Gt = Rl(Qt, Tf, je, ue);
7535
+ var je = Qo[Yt], ue = je <= Qo.normal ? -1 : 1, Gt = Dl(Qt, Df, je, ue);
7536
7536
  if (!Gt) throw new Error("Could not find a matching font-stretch value for " + Yt);
7537
7537
  return Gt;
7538
7538
  })(Fe.stretch, Ut), Ut = (function(Yt, Qt) {
7539
7539
  if (Qt[Yt]) return Qt[Yt];
7540
- for (var je = Rf[Yt], ue = 0; ue < je.length; ++ue) if (Qt[je[ue]]) return Qt[je[ue]];
7540
+ for (var je = Tf[Yt], ue = 0; ue < je.length; ++ue) if (Qt[je[ue]]) return Qt[je[ue]];
7541
7541
  throw new Error("Could not find a matching font-style for " + Yt);
7542
7542
  })(Fe.style, Ut), !(Ut = (function(Yt, Qt) {
7543
7543
  if (Qt[Yt]) return Qt[Yt];
7544
7544
  if (Yt === 400 && Qt[500]) return Qt[500];
7545
7545
  if (Yt === 500 && Qt[400]) return Qt[400];
7546
- var je = t2[Yt], ue = Rl(Qt, Df, je, Yt < 400 ? -1 : 1);
7546
+ var je = t2[Yt], ue = Dl(Qt, qf, je, Yt < 400 ? -1 : 1);
7547
7547
  if (!ue) throw new Error("Could not find a matching font-weight for value " + Yt);
7548
7548
  return ue;
7549
- })(Fe.weight, Ut))) throw new Error("Failed to resolve a font for the rule '" + Dl(Fe) + "'.");
7549
+ })(Fe.weight, Ut))) throw new Error("Failed to resolve a font for the rule '" + Ul(Fe) + "'.");
7550
7550
  return Ut;
7551
7551
  })(qt, ve);
7552
7552
  this.pdf.setFont(le.ref.name, le.ref.style);
@@ -7681,7 +7681,7 @@ function l2() {
7681
7681
  else if ((Z = /rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(A)) !== null) B = parseInt(Z[1]), T = parseInt(Z[2]), H = parseInt(Z[3]), X = parseFloat(Z[4]);
7682
7682
  else {
7683
7683
  if (X = 1, typeof A == "string" && A.charAt(0) !== "#") {
7684
- var at = new If(A);
7684
+ var at = new Ef(A);
7685
7685
  A = at.ok ? at.toHex() : "#000000";
7686
7686
  }
7687
7687
  A.length === 4 ? (B = A.substring(1, 2), B += B, T = A.substring(2, 3), T += T, H = A.substring(3, 4), H += H) : (B = A.substring(1, 3), T = A.substring(3, 5), H = A.substring(5, 7)), B = parseInt(B, 16), T = parseInt(T, 16), H = parseInt(H, 16);
@@ -8019,7 +8019,7 @@ function l2() {
8019
8019
  return c;
8020
8020
  }, a = function(f) {
8021
8021
  for (var u = new Uint8Array(f.length), c = f.length; c--; ) u[c] = f.charCodeAt(c);
8022
- return (u = Go(u)).reduce(function(d, g) {
8022
+ return (u = Vo(u)).reduce(function(d, g) {
8023
8023
  return d + String.fromCharCode(g);
8024
8024
  }, "");
8025
8025
  };
@@ -8512,7 +8512,7 @@ endobj\r
8512
8512
  var s, a = q1(r, { checkCrc: !0 }), f = a.width, u = a.height, c = a.channels, d = a.palette, g = a.depth;
8513
8513
  s = d && c === 1 ? (function(K) {
8514
8514
  for (var R = K.width, tt = K.height, _ = K.data, F = K.palette, z = K.depth, U = !1, nt = [], ot = [], ft = void 0, rt = !1, ht = 0, Nt = 0; Nt < F.length; Nt++) {
8515
- var wt = Xu(F[Nt], 4), A = wt[0], B = wt[1], T = wt[2], H = wt[3];
8515
+ var wt = Ku(F[Nt], 4), A = wt[0], B = wt[1], T = wt[2], H = wt[3];
8516
8516
  nt.push(A, B, T), H != null && (H === 0 ? (ht++, ot.length < 1 && ot.push(Nt)) : H < 255 && (rt = !0));
8517
8517
  }
8518
8518
  if (rt || ht > 1) {
@@ -8520,16 +8520,16 @@ endobj\r
8520
8520
  var X = R * tt;
8521
8521
  ft = new Uint8Array(X);
8522
8522
  for (var Z = new DataView(_.buffer), at = 0; at < X; at++) {
8523
- var st = Do(Z, at, z), gt = Xu(F[st], 4)[3];
8523
+ var st = Do(Z, at, z), gt = Ku(F[st], 4)[3];
8524
8524
  ft[at] = gt;
8525
8525
  }
8526
8526
  } else ht === 0 && (ot = void 0);
8527
8527
  return { colorSpace: "Indexed", colorsPerPixel: 1, sMaskBitsPerComponent: U ? 8 : void 0, colorBytes: _, alphaBytes: ft, needSMask: U, palette: nt, mask: ot };
8528
8528
  })(a) : c === 2 || c === 4 ? (function(K) {
8529
8529
  for (var R = K.data, tt = K.width, _ = K.height, F = K.channels, z = K.depth, U = F === 2 ? "DeviceGray" : "DeviceRGB", nt = F - 1, ot = tt * _, ft = nt, rt = ot * ft, ht = 1 * ot, Nt = Math.ceil(rt * z / 8), wt = Math.ceil(ht * z / 8), A = new Uint8Array(Nt), B = new Uint8Array(wt), T = new DataView(R.buffer), H = new DataView(A.buffer), X = new DataView(B.buffer), Z = !1, at = 0; at < ot; at++) {
8530
- for (var st = at * F, gt = 0; gt < ft; gt++) Jl(H, Do(T, st + gt, z), at * ft + gt, z);
8530
+ for (var st = at * F, gt = 0; gt < ft; gt++) $l(H, Do(T, st + gt, z), at * ft + gt, z);
8531
8531
  var At = Do(T, st + ft, z);
8532
- At < (1 << z) - 1 && (Z = !0), Jl(X, At, 1 * at, z);
8532
+ At < (1 << z) - 1 && (Z = !0), $l(X, At, 1 * at, z);
8533
8533
  }
8534
8534
  return { colorSpace: U, colorsPerPixel: nt, sMaskBitsPerComponent: Z ? z : void 0, colorBytes: A, alphaBytes: B, needSMask: Z };
8535
8535
  })(a) : (function(K) {
@@ -8540,7 +8540,7 @@ endobj\r
8540
8540
  })(R) : R, needSMask: !1 };
8541
8541
  })(a);
8542
8542
  var x, N, p, j = s, P = j.colorSpace, O = j.colorsPerPixel, k = j.sMaskBitsPerComponent, G = j.colorBytes, Y = j.alphaBytes, q = j.needSMask, it = j.palette, mt = j.mask, dt = null;
8543
- return n !== Rt.API.image_compression.NONE && typeof Go == "function" ? (dt = (function(K) {
8543
+ return n !== Rt.API.image_compression.NONE && typeof Vo == "function" ? (dt = (function(K) {
8544
8544
  var R;
8545
8545
  switch (K) {
8546
8546
  case Rt.API.image_compression.FAST:
@@ -8556,7 +8556,7 @@ endobj\r
8556
8556
  R = 12;
8557
8557
  }
8558
8558
  return R;
8559
- })(n), x = this.decode.FLATE_DECODE, N = "/Predictor ".concat(dt, " /Colors ").concat(O, " /BitsPerComponent ").concat(g, " /Columns ").concat(f), r = Wl(G, Math.ceil(f * O * g / 8), O, g, n), q && (p = Wl(Y, Math.ceil(f * k / 8), 1, k, n))) : (x = void 0, N = void 0, r = G, q && (p = Y)), (this.__addimage__.isArrayBuffer(r) || this.__addimage__.isArrayBufferView(r)) && (r = this.__addimage__.arrayBufferToBinaryString(r)), (p && this.__addimage__.isArrayBuffer(p) || this.__addimage__.isArrayBufferView(p)) && (p = this.__addimage__.arrayBufferToBinaryString(p)), { alias: e, data: r, index: t, filter: x, decodeParameters: N, transparency: mt, palette: it, sMask: p, predictor: dt, width: f, height: u, bitsPerComponent: g, sMaskBitsPerComponent: k, colorSpace: P };
8559
+ })(n), x = this.decode.FLATE_DECODE, N = "/Predictor ".concat(dt, " /Colors ").concat(O, " /BitsPerComponent ").concat(g, " /Columns ").concat(f), r = Vl(G, Math.ceil(f * O * g / 8), O, g, n), q && (p = Vl(Y, Math.ceil(f * k / 8), 1, k, n))) : (x = void 0, N = void 0, r = G, q && (p = Y)), (this.__addimage__.isArrayBuffer(r) || this.__addimage__.isArrayBufferView(r)) && (r = this.__addimage__.arrayBufferToBinaryString(r)), (p && this.__addimage__.isArrayBuffer(p) || this.__addimage__.isArrayBufferView(p)) && (p = this.__addimage__.arrayBufferToBinaryString(p)), { alias: e, data: r, index: t, filter: x, decodeParameters: N, transparency: mt, palette: it, sMask: p, predictor: dt, width: f, height: u, bitsPerComponent: g, sMaskBitsPerComponent: k, colorSpace: P };
8560
8560
  }
8561
8561
  }, (function(r) {
8562
8562
  r.processGIF89A = function(t, e, n, s) {
@@ -8661,7 +8661,7 @@ endobj\r
8661
8661
  var a = new Kr(t, !1), f = a.width, u = a.height, c = { data: a.getData(), width: f, height: u }, d = new qo(100).encode(c, 100);
8662
8662
  return r.processJPEG.call(this, d, e, n, s);
8663
8663
  };
8664
- })(Rt.API), $l.prototype.getData = function() {
8664
+ })(Rt.API), Ql.prototype.getData = function() {
8665
8665
  return this.data;
8666
8666
  }, /**
8667
8667
  * @license
@@ -8672,7 +8672,7 @@ endobj\r
8672
8672
  */
8673
8673
  (function(r) {
8674
8674
  r.processWEBP = function(t, e, n, s) {
8675
- var a = new $l(t), f = a.width, u = a.height, c = { data: a.getData(), width: f, height: u }, d = new qo(100).encode(c, 100);
8675
+ var a = new Ql(t), f = a.width, u = a.height, c = { data: a.getData(), width: f, height: u }, d = new qo(100).encode(c, 100);
8676
8676
  return r.processJPEG.call(this, d, e, n, s);
8677
8677
  };
8678
8678
  })(Rt.API), Rt.API.processRGBA = function(r, t, e) {
@@ -8690,18 +8690,18 @@ endobj\r
8690
8690
  var e, n, s = (t = t || {}).font || this.internal.getFont(), a = t.fontSize || this.internal.getFontSize(), f = t.charSpace || this.internal.getCharSpace(), u = t.widths ? t.widths : s.metadata.Unicode.widths, c = u.fof ? u.fof : 1, d = t.kerning ? t.kerning : s.metadata.Unicode.kerning, g = d.fof ? d.fof : 1, x = t.doKerning !== !1, N = 0, p = r.length, j = 0, P = u[0] || c, O = [];
8691
8691
  for (e = 0; e < p; e++) n = r.charCodeAt(e), typeof s.metadata.widthOfString == "function" ? O.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(n)) + f * (1e3 / a) || 0) / 1e3) : (N = x && xe(d[n]) === "object" && !isNaN(parseInt(d[n][j], 10)) ? d[n][j] / g : 0, O.push((u[n] || P) / c + N)), j = n;
8692
8692
  return O;
8693
- }, Ul = Ki.getStringUnitWidth = function(r, t) {
8693
+ }, Hl = Ki.getStringUnitWidth = function(r, t) {
8694
8694
  var e = (t = t || {}).fontSize || this.internal.getFontSize(), n = t.font || this.internal.getFont(), s = t.charSpace || this.internal.getCharSpace();
8695
8695
  return Ki.processArabic && (r = Ki.processArabic(r)), typeof n.metadata.widthOfString == "function" ? n.metadata.widthOfString(r, e, s) / e : Ns.apply(this, arguments).reduce(function(a, f) {
8696
8696
  return a + f;
8697
8697
  }, 0);
8698
- }, zl = function(r, t, e, n) {
8698
+ }, Wl = function(r, t, e, n) {
8699
8699
  for (var s = [], a = 0, f = r.length, u = 0; a !== f && u + t[a] < e; ) u += t[a], a++;
8700
8700
  s.push(r.slice(0, a));
8701
8701
  var c = a;
8702
8702
  for (u = 0; a !== f; ) u + t[a] > n && (s.push(r.slice(c, a)), u = 0, c = a), u += t[a], a++;
8703
8703
  return c !== a && s.push(r.slice(c, a)), s;
8704
- }, Hl = function(r, t, e) {
8704
+ }, Gl = function(r, t, e) {
8705
8705
  e || (e = {});
8706
8706
  var n, s, a, f, u, c, d, g = [], x = [g], N = e.textIndent || 0, p = 0, j = 0, P = r.split(" "), O = Ns.apply(this, [" ", e])[0];
8707
8707
  if (c = e.lineIndent === -1 ? P[0].length + 2 : e.lineIndent || 0) {
@@ -8711,7 +8711,7 @@ endobj\r
8711
8711
  return (mt && it.length ? `
8712
8712
  ` : "") + it;
8713
8713
  })) : G.push(q[0]);
8714
- }), P = G, c = Ul.apply(this, [k, e]);
8714
+ }), P = G, c = Hl.apply(this, [k, e]);
8715
8715
  }
8716
8716
  for (a = 0, f = P.length; a < f; a++) {
8717
8717
  var Y = 0;
@@ -8720,7 +8720,7 @@ endobj\r
8720
8720
  return q + it;
8721
8721
  }, 0)) > t || Y) {
8722
8722
  if (j > t) {
8723
- for (u = zl.apply(this, [n, s, t - (N + p), t]), g.push(u.shift()), g = [u.pop()]; u.length; ) x.push([u.shift()]);
8723
+ for (u = Wl.apply(this, [n, s, t - (N + p), t]), g.push(u.shift()), g = [u.pop()]; u.length; ) x.push([u.shift()]);
8724
8724
  j = s.slice(n.length - (g[0] ? g[0].length : 0)).reduce(function(q, it) {
8725
8725
  return q + it;
8726
8726
  }, 0);
@@ -8743,7 +8743,7 @@ endobj\r
8743
8743
  var f = 1 * this.internal.scaleFactor * t / s;
8744
8744
  a.textIndent = e.textIndent ? 1 * e.textIndent * this.internal.scaleFactor / s : 0, a.lineIndent = e.lineIndent;
8745
8745
  var u, c, d = [];
8746
- for (u = 0, c = n.length; u < c; u++) d = d.concat(Hl.apply(this, [n[u], f, a]));
8746
+ for (u = 0, c = n.length; u < c; u++) d = d.concat(Gl.apply(this, [n[u], f, a]));
8747
8747
  return d;
8748
8748
  }, (function(r) {
8749
8749
  r.__fontmetrics__ = r.__fontmetrics__ || {};
@@ -8800,7 +8800,7 @@ endobj\r
8800
8800
  var d = c.getContext("2d");
8801
8801
  d.fillStyle = "#fff", d.fillRect(0, 0, c.width, c.height);
8802
8802
  var g = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, x = this;
8803
- return (Jt.canvg ? Promise.resolve(Jt.canvg) : import("./index.es-CBHrCdZT.js")).catch(function(N) {
8803
+ return (Jt.canvg ? Promise.resolve(Jt.canvg) : import("./index.es-C24tbhmm.js")).catch(function(N) {
8804
8804
  return Promise.reject(new Error("Could not load canvg: " + N));
8805
8805
  }).then(function(N) {
8806
8806
  return N.default ? N.default : N;
@@ -9128,7 +9128,7 @@ end`;
9128
9128
  return r.open = function(t) {
9129
9129
  return new r(t);
9130
9130
  }, r.prototype.parse = function() {
9131
- return this.directory = new f2(this.contents), this.head = new h2(this), this.name = new v2(this), this.cmap = new Uf(this), this.toUnicode = {}, this.hhea = new d2(this), this.maxp = new b2(this), this.hmtx = new w2(this), this.post = new g2(this), this.os2 = new p2(this), this.loca = new N2(this), this.glyf = new y2(this), this.ascender = this.os2.exists && this.os2.ascender || this.hhea.ascender, this.decender = this.os2.exists && this.os2.decender || this.hhea.decender, this.lineGap = this.os2.exists && this.os2.lineGap || this.hhea.lineGap, this.bbox = [this.head.xMin, this.head.yMin, this.head.xMax, this.head.yMax];
9131
+ return this.directory = new f2(this.contents), this.head = new h2(this), this.name = new v2(this), this.cmap = new zf(this), this.toUnicode = {}, this.hhea = new d2(this), this.maxp = new b2(this), this.hmtx = new w2(this), this.post = new g2(this), this.os2 = new p2(this), this.loca = new N2(this), this.glyf = new y2(this), this.ascender = this.os2.exists && this.os2.ascender || this.hhea.ascender, this.decender = this.os2.exists && this.os2.decender || this.hhea.decender, this.lineGap = this.os2.exists && this.os2.lineGap || this.hhea.lineGap, this.bbox = [this.head.xMin, this.head.yMin, this.head.xMax, this.head.yMax];
9132
9132
  }, r.prototype.registerTTF = function() {
9133
9133
  var t, e, n, s, a;
9134
9134
  if (this.scaleFactor = 1e3 / this.head.unitsPerEm, this.bbox = (function() {
@@ -9220,7 +9220,7 @@ var tn, $n = (function() {
9220
9220
  return s.write(j), n = 2981146554 - r(s.data), s.pos = u + 8, s.writeUInt32(n), s.data;
9221
9221
  }, r = function(e) {
9222
9222
  var n, s, a, f;
9223
- for (e = zf.call(e); e.length % 4; ) e.push(0);
9223
+ for (e = Hf.call(e); e.length % 4; ) e.push(0);
9224
9224
  for (a = new $n(e), s = 0, n = 0, f = e.length; n < f; n = n += 4) s += a.readUInt32();
9225
9225
  return 4294967295 & s;
9226
9226
  }, t;
@@ -9252,7 +9252,7 @@ var h2 = (function() {
9252
9252
  var e;
9253
9253
  return (e = new $n()).writeInt(this.version), e.writeInt(this.revision), e.writeInt(this.checkSumAdjustment), e.writeInt(this.magicNumber), e.writeShort(this.flags), e.writeShort(this.unitsPerEm), e.writeLongLong(this.created), e.writeLongLong(this.modified), e.writeShort(this.xMin), e.writeShort(this.yMin), e.writeShort(this.xMax), e.writeShort(this.yMax), e.writeShort(this.macStyle), e.writeShort(this.lowestRecPPEM), e.writeShort(this.fontDirectionHint), e.writeShort(t), e.writeShort(this.glyphDataFormat), e.data;
9254
9254
  }, r;
9255
- })(), Zl = (function() {
9255
+ })(), tf = (function() {
9256
9256
  function r(t, e) {
9257
9257
  var n, s, a, f, u, c, d, g, x, N, p, j, P, O, k, G, Y;
9258
9258
  switch (this.platformID = t.readUInt16(), this.encodingID = t.readShort(), this.offset = e + t.readInt(), x = t.pos, t.pos = this.offset, this.format = t.readUInt16(), this.length = t.readUInt16(), this.language = t.readUInt16(), this.isUnicode = this.platformID === 3 && this.encodingID === 1 && this.format === 4 || this.platformID === 0 && this.format === 4, this.codeMap = {}, this.format) {
@@ -9314,17 +9314,17 @@ var h2 = (function() {
9314
9314
  return { charMap: n, subtable: U.data, maxGlyphID: Y + 1 };
9315
9315
  }
9316
9316
  }, r;
9317
- })(), Uf = (function() {
9317
+ })(), zf = (function() {
9318
9318
  function r() {
9319
9319
  return r.__super__.constructor.apply(this, arguments);
9320
9320
  }
9321
9321
  return mn(r, tn), r.prototype.tag = "cmap", r.prototype.parse = function(t) {
9322
9322
  var e, n, s;
9323
- for (t.pos = this.offset, this.version = t.readUInt16(), s = t.readUInt16(), this.tables = [], this.unicode = null, n = 0; 0 <= s ? n < s : n > s; n = 0 <= s ? ++n : --n) e = new Zl(t, this.offset), this.tables.push(e), e.isUnicode && this.unicode == null && (this.unicode = e);
9323
+ for (t.pos = this.offset, this.version = t.readUInt16(), s = t.readUInt16(), this.tables = [], this.unicode = null, n = 0; 0 <= s ? n < s : n > s; n = 0 <= s ? ++n : --n) e = new tf(t, this.offset), this.tables.push(e), e.isUnicode && this.unicode == null && (this.unicode = e);
9324
9324
  return !0;
9325
9325
  }, r.encode = function(t, e) {
9326
9326
  var n, s;
9327
- return e == null && (e = "macroman"), n = Zl.encode(t, e), (s = new $n()).writeUInt16(0), s.writeUInt16(1), n.table = s.data.concat(n.subtable), n;
9327
+ return e == null && (e = "macroman"), n = tf.encode(t, e), (s = new $n()).writeUInt16(0), s.writeUInt16(1), n.table = s.data.concat(n.subtable), n;
9328
9328
  }, r;
9329
9329
  })(), d2 = (function() {
9330
9330
  function r() {
@@ -9422,7 +9422,7 @@ var h2 = (function() {
9422
9422
  }, r.prototype.forGlyph = function(t) {
9423
9423
  return t in this.metrics ? this.metrics[t] : { advance: this.metrics[this.metrics.length - 1].advance, lsb: this.leftSideBearings[t - this.metrics.length] };
9424
9424
  }, r;
9425
- })(), zf = [].slice, y2 = (function() {
9425
+ })(), Hf = [].slice, y2 = (function() {
9426
9426
  function r() {
9427
9427
  return r.__super__.constructor.apply(this, arguments);
9428
9428
  }
@@ -9450,7 +9450,7 @@ var h2 = (function() {
9450
9450
  }
9451
9451
  return r.prototype.encode = function() {
9452
9452
  var t, e, n;
9453
- for (e = new $n(zf.call(this.raw.data)), t = 0, n = this.glyphIDs.length; t < n; ++t) e.pos = this.glyphOffsets[t];
9453
+ for (e = new $n(Hf.call(this.raw.data)), t = 0, n = this.glyphIDs.length; t < n; ++t) e.pos = this.glyphOffsets[t];
9454
9454
  return e.data;
9455
9455
  }, r;
9456
9456
  })(), N2 = (function() {
@@ -9497,7 +9497,7 @@ var h2 = (function() {
9497
9497
  return s;
9498
9498
  }, r.prototype.encode = function(t, e) {
9499
9499
  var n, s, a, f, u, c, d, g, x, N, p, j, P, O, k;
9500
- for (s in n = Uf.encode(this.generateCmap(), "unicode"), f = this.glyphsFor(t), p = { 0: 0 }, k = n.charMap) p[(c = k[s]).old] = c.new;
9500
+ for (s in n = zf.encode(this.generateCmap(), "unicode"), f = this.glyphsFor(t), p = { 0: 0 }, k = n.charMap) p[(c = k[s]).old] = c.new;
9501
9501
  for (j in N = n.maxGlyphID, f) j in p || (p[j] = N++);
9502
9502
  return g = (function(G) {
9503
9503
  var Y, q;
@@ -9536,8 +9536,8 @@ Rt.API.PDFObject = (function() {
9536
9536
  return "" + e;
9537
9537
  }, t;
9538
9538
  })();
9539
- const Hf = 25.4, _2 = Hf / 72, S2 = 203, k2 = 'Arial, "Microsoft YaHei", sans-serif', Uo = 2, Wf = 2, Ql = Wf * 10, P2 = 100, Ea = /* @__PURE__ */ new Map();
9540
- function Gf(r) {
9539
+ const Wf = 25.4, _2 = Wf / 72, S2 = 203, k2 = 'Arial, "Microsoft YaHei", sans-serif', Uo = 2, Gf = 2, ef = Gf * 10, P2 = 100, Ea = /* @__PURE__ */ new Map();
9540
+ function Vf(r) {
9541
9541
  const t = Ea.get(r);
9542
9542
  if (t) return t;
9543
9543
  const e = new Promise((n) => {
@@ -9551,7 +9551,7 @@ function Gf(r) {
9551
9551
  }
9552
9552
  return e;
9553
9553
  }
9554
- function iu(r, t, e, n = k2) {
9554
+ function au(r, t, e, n = k2) {
9555
9555
  r.font = `${e} ${t}px ${n}`;
9556
9556
  }
9557
9557
  function Zn(r, t, e, n, s) {
@@ -9560,7 +9560,7 @@ function Zn(r, t, e, n, s) {
9560
9560
  function M2(r, t) {
9561
9561
  return "field" in r && r.field && t ? Bs(Rs(t, r.field)) : "content" in r ? r.content : "";
9562
9562
  }
9563
- function au(r, t, e, n, s, a, f = "contain") {
9563
+ function su(r, t, e, n, s, a, f = "contain") {
9564
9564
  const u = Math.max(1, t.width), c = Math.max(1, t.height), d = f === "cover" ? Math.max(s / u, a / c) : f === "fitWidth" ? s / u : f === "fitHeight" ? a / c : Math.min(s / u, a / c), g = u * d, x = c * d, N = f === "cover" || f === "fitWidth" || f === "fitHeight" ? e : e + (s - g) / 2, p = f === "cover" || f === "fitWidth" || f === "fitHeight" ? n : n + (a - x) / 2;
9565
9565
  r.drawImage(
9566
9566
  t,
@@ -9571,7 +9571,7 @@ function au(r, t, e, n, s, a, f = "contain") {
9571
9571
  );
9572
9572
  }
9573
9573
  function I2(r, t, e, n, s) {
9574
- return r.type === "text" && r.field ? Bs(Rs(t.data, r.field)) : Ec(r, {
9574
+ return r.type === "text" && r.field ? Bs(Rs(t.data, r.field)) : Cc(r, {
9575
9575
  index: e,
9576
9576
  total: n,
9577
9577
  ...t.recordPageIndex === void 0 ? {} : { recordPageIndex: t.recordPageIndex },
@@ -9584,14 +9584,14 @@ function E2(r, t, e, n, s) {
9584
9584
  const a = e.split(/\r?\n/);
9585
9585
  if (a.every((O) => !O.trim())) return;
9586
9586
  const f = t.fontSizePt * _2, u = f * 1.2, c = f + Math.max(0, a.length - 1) * u;
9587
- iu(r, f, t.fontWeight);
9587
+ au(r, f, t.fontWeight);
9588
9588
  const d = a.map((O) => r.measureText(O || " ").width), g = Math.max(...d), x = t.type === "text" ? t.xMm : Math.max(
9589
9589
  0,
9590
9590
  Math.min(
9591
9591
  t.xMm + t.widthMm - g,
9592
9592
  n - g
9593
9593
  )
9594
- ), N = Ic(
9594
+ ), N = Ec(
9595
9595
  {
9596
9596
  xMm: x,
9597
9597
  yMm: t.yMm,
@@ -9624,7 +9624,7 @@ function C2(r, t, e) {
9624
9624
  if (!e.trim()) return;
9625
9625
  const n = Tc(t, e), s = t.xMm + t.widthMm / 2, a = t.yMm + t.heightMm / 2;
9626
9626
  Zn(r, t.rotation, s, a, () => {
9627
- r.save(), r.beginPath(), r.rect(t.xMm, t.yMm, t.widthMm, t.heightMm), r.clip(), iu(r, n.fontSizeMm, t.fontWeight), r.fillStyle = "#000000", r.textBaseline = "alphabetic", r.textAlign = n.textAnchor === "middle" ? "center" : n.textAnchor === "end" ? "right" : "left", n.lines.forEach((f, u) => {
9627
+ r.save(), r.beginPath(), r.rect(t.xMm, t.yMm, t.widthMm, t.heightMm), r.clip(), au(r, n.fontSizeMm, t.fontWeight), r.fillStyle = "#000000", r.textBaseline = "alphabetic", r.textAlign = n.textAnchor === "middle" ? "center" : n.textAnchor === "end" ? "right" : "left", n.lines.forEach((f, u) => {
9628
9628
  r.fillText(
9629
9629
  f || " ",
9630
9630
  t.xMm + n.textXOffsetMm,
@@ -9680,10 +9680,10 @@ function O2(r, t, e) {
9680
9680
  Bc(n, e, {
9681
9681
  format: "CODE128",
9682
9682
  displayValue: !1,
9683
- width: Wf,
9683
+ width: Gf,
9684
9684
  margin: 0,
9685
- marginLeft: Ql,
9686
- marginRight: Ql,
9685
+ marginLeft: ef,
9686
+ marginRight: ef,
9687
9687
  marginTop: 0,
9688
9688
  marginBottom: 0,
9689
9689
  background: "#ffffff",
@@ -9705,11 +9705,11 @@ function O2(r, t, e) {
9705
9705
  }
9706
9706
  async function B2(r, t, e) {
9707
9707
  if (!e) return;
9708
- const n = await Gf(e);
9708
+ const n = await Vf(e);
9709
9709
  if (!n) return;
9710
9710
  const s = t.xMm + t.widthMm / 2, a = t.yMm + t.heightMm / 2;
9711
9711
  Zn(r, t.rotation, s, a, () => {
9712
- au(
9712
+ su(
9713
9713
  r,
9714
9714
  n,
9715
9715
  t.xMm,
@@ -9754,7 +9754,7 @@ async function D2(r, t, e) {
9754
9754
  s.height
9755
9755
  ), f = t.xMm + t.widthMm / 2, u = t.yMm + t.heightMm / 2;
9756
9756
  Zn(r, t.rotation, f, u, () => {
9757
- r.save(), r.beginPath(), r.rect(t.xMm, t.yMm, t.widthMm, t.heightMm), r.clip(), r.fillStyle = "#ffffff", r.fillRect(t.xMm, t.yMm, t.widthMm, t.heightMm), au(
9757
+ r.save(), r.beginPath(), r.rect(t.xMm, t.yMm, t.widthMm, t.heightMm), r.clip(), r.fillStyle = "#ffffff", r.fillRect(t.xMm, t.yMm, t.widthMm, t.heightMm), su(
9758
9758
  r,
9759
9759
  a,
9760
9760
  t.xMm + s.x,
@@ -9830,9 +9830,9 @@ function U2(r, t, e, n) {
9830
9830
  function z2(r) {
9831
9831
  return r === "center" ? "center" : r === "right" ? "right" : "left";
9832
9832
  }
9833
- function su(r, t, e, n, s, a, f, u, c) {
9834
- const d = Dc(t), g = e.slice(0, Math.max(1, Math.floor(f / d))), x = Math.max(1, g.length) * d, N = nf(t);
9835
- r.save(), r.beginPath(), r.rect(n, s, a, f), r.clip(), iu(r, Uc(t), c, qc), r.fillStyle = "#000000", r.textAlign = z2(u), r.textBaseline = "middle", g.forEach((p, j) => {
9833
+ function ou(r, t, e, n, s, a, f, u, c) {
9834
+ const d = Dc(t), g = e.slice(0, Math.max(1, Math.floor(f / d))), x = Math.max(1, g.length) * d, N = af(t);
9835
+ r.save(), r.beginPath(), r.rect(n, s, a, f), r.clip(), au(r, Uc(t), c, qc), r.fillStyle = "#000000", r.textAlign = z2(u), r.textBaseline = "middle", g.forEach((p, j) => {
9836
9836
  r.fillText(
9837
9837
  p || " ",
9838
9838
  U2(n, a, u, N),
@@ -9865,9 +9865,9 @@ function H2(r) {
9865
9865
  function W2(r, t, e) {
9866
9866
  return String(r.field ?? "").trim() ? Bs(Rs(t, r.field)) : String(r.content ?? "").replace(/\{index\}/g, String(e + 1));
9867
9867
  }
9868
- async function tf(r, t, e, n, s, a, f) {
9868
+ async function rf(r, t, e, n, s, a, f) {
9869
9869
  let u = a;
9870
- const c = nf(t);
9870
+ const c = af(t);
9871
9871
  for (let d = 0; d < n.length; d += 1) {
9872
9872
  const g = n[d];
9873
9873
  if (!g) continue;
@@ -9876,8 +9876,8 @@ async function tf(r, t, e, n, s, a, f) {
9876
9876
  if (N.column.type === "image") {
9877
9877
  const j = String(N.column.field ?? "").trim() ? Bs(Rs(g, N.column.field)) : N.column.content;
9878
9878
  if (j) {
9879
- const P = await Gf(j);
9880
- P && au(
9879
+ const P = await Vf(j);
9880
+ P && su(
9881
9881
  r,
9882
9882
  P,
9883
9883
  N.xMm + c,
@@ -9895,7 +9895,7 @@ async function tf(r, t, e, n, s, a, f) {
9895
9895
  d,
9896
9896
  f
9897
9897
  );
9898
- su(
9898
+ ou(
9899
9899
  r,
9900
9900
  t,
9901
9901
  p,
@@ -9910,7 +9910,7 @@ async function tf(r, t, e, n, s, a, f) {
9910
9910
  u += x;
9911
9911
  }
9912
9912
  }
9913
- function ef(r, t, e, n, s, a) {
9913
+ function zo(r, t, e, n, s, a) {
9914
9914
  if (!(t.showBorder ?? !0)) return;
9915
9915
  r.strokeStyle = "#000000", r.lineWidth = t.strokeWidthMm, r.beginPath(), e.slice(1).forEach((u) => {
9916
9916
  r.moveTo(u.xMm, s), r.lineTo(u.xMm, a);
@@ -9920,10 +9920,10 @@ function ef(r, t, e, n, s, a) {
9920
9920
  f += u, r.moveTo(0, f), r.lineTo(t.widthMm, f);
9921
9921
  }), r.stroke();
9922
9922
  }
9923
- function rf(r, t, e, n) {
9923
+ function nf(r, t, e, n) {
9924
9924
  const s = t.showBorder ?? !0, a = /^#[0-9a-f]{6}$/i.test(t.headerBackground ?? "") ? t.headerBackground : "#f5f7fa";
9925
9925
  e.forEach((f) => {
9926
- r.fillStyle = a, r.fillRect(f.xMm, n + f.yMm, f.widthMm, f.heightMm), s && (r.strokeStyle = "#000000", r.lineWidth = t.strokeWidthMm, r.strokeRect(f.xMm, n + f.yMm, f.widthMm, f.heightMm)), su(
9926
+ r.fillStyle = a, r.fillRect(f.xMm, n + f.yMm, f.widthMm, f.heightMm), s && (r.strokeStyle = "#000000", r.lineWidth = t.strokeWidthMm, r.strokeRect(f.xMm, n + f.yMm, f.widthMm, f.heightMm)), ou(
9927
9927
  r,
9928
9928
  t,
9929
9929
  [f.title],
@@ -9932,7 +9932,7 @@ function rf(r, t, e, n) {
9932
9932
  f.widthMm,
9933
9933
  f.heightMm,
9934
9934
  f.align,
9935
- 700
9935
+ t.fontWeight
9936
9936
  );
9937
9937
  });
9938
9938
  }
@@ -9942,7 +9942,7 @@ async function G2(r, t, e) {
9942
9942
  const u = a.getContext("2d");
9943
9943
  if (!u) throw new Error("Canvas 2D context is unavailable.");
9944
9944
  u.scale(f, f), u.fillStyle = "#ffffff", u.fillRect(0, 0, t.widthMm, t.heightMm);
9945
- const c = Cc(t), d = Math.max(1, Number(t.headerRowHeightMm) || 5), g = q2(t, c, d), x = t.showHeader ? (c.some((N) => String(N.column.groupTitle ?? "").trim()) ? 2 : 1) * d : 0;
9945
+ const c = Fc(t), d = Math.max(1, Number(t.headerRowHeightMm) || 5), g = q2(t, c, d), x = t.showHeader ? (c.some((N) => String(N.column.groupTitle ?? "").trim()) ? 2 : 1) * d : 0;
9946
9946
  if (t.mode === "groupedDetail") {
9947
9947
  const N = Math.max(
9948
9948
  1,
@@ -9950,7 +9950,7 @@ async function G2(r, t, e) {
9950
9950
  ), p = H2(t);
9951
9951
  let j = 0;
9952
9952
  for (const P of e?.groups ?? []) {
9953
- const O = P.rows.length > 0 ? P.rows : [{}], k = P.rowHeightsMm?.length === O.length ? P.rowHeightsMm : O.map((mt, dt) => zu(
9953
+ const O = P.rows.length > 0 ? P.rows : [{}], k = P.rowHeightsMm?.length === O.length ? P.rowHeightsMm : O.map((mt, dt) => Hu(
9954
9954
  t,
9955
9955
  c,
9956
9956
  mt,
@@ -9963,7 +9963,7 @@ async function G2(r, t, e) {
9963
9963
  j,
9964
9964
  mt.widthMm,
9965
9965
  N
9966
- )), su(
9966
+ )), ou(
9967
9967
  u,
9968
9968
  t,
9969
9969
  [W2(mt.cell, P.record, P.index)],
@@ -9972,13 +9972,13 @@ async function G2(r, t, e) {
9972
9972
  mt.widthMm,
9973
9973
  N,
9974
9974
  mt.cell.align,
9975
- 700
9975
+ t.fontWeight
9976
9976
  );
9977
9977
  });
9978
9978
  const G = j + N, Y = t.showHeader && (t.repeatHeader ?? !0) ? x : 0;
9979
- Y > 0 && rf(u, t, g, G);
9979
+ Y > 0 && nf(u, t, g, G);
9980
9980
  const q = G + Y;
9981
- await tf(
9981
+ await rf(
9982
9982
  u,
9983
9983
  t,
9984
9984
  c,
@@ -9988,17 +9988,21 @@ async function G2(r, t, e) {
9988
9988
  !0
9989
9989
  );
9990
9990
  const it = q + k.reduce((mt, dt) => mt + dt, 0);
9991
- ef(u, t, c, k, q, it), j = it;
9991
+ zo(u, t, c, k, q, it), j = it;
9992
+ }
9993
+ if (t.fillEmptyRows && j < t.heightMm) {
9994
+ const P = Wu(t, [], j);
9995
+ zo(u, t, c, P, j, t.heightMm), (t.showBorder ?? !0) && j > 0 && (u.beginPath(), u.moveTo(0, j), u.lineTo(t.widthMm, j), u.stroke());
9992
9996
  }
9993
9997
  } else {
9994
- const N = e?.rows ?? [], p = e?.rowHeightsMm?.length === N.length ? e.rowHeightsMm : N.map((P, O) => zu(
9998
+ const N = e?.rows ?? [], p = e?.rowHeightsMm?.length === N.length ? e.rowHeightsMm : N.map((P, O) => Hu(
9995
9999
  t,
9996
10000
  c,
9997
10001
  P,
9998
10002
  O,
9999
10003
  !0
10000
10004
  ));
10001
- rf(u, t, g, 0), await tf(
10005
+ nf(u, t, g, 0), await rf(
10002
10006
  u,
10003
10007
  t,
10004
10008
  c,
@@ -10007,12 +10011,12 @@ async function G2(r, t, e) {
10007
10011
  x,
10008
10012
  !0
10009
10013
  );
10010
- const j = Fc(
10014
+ const j = Wu(
10011
10015
  t,
10012
10016
  p,
10013
10017
  x
10014
10018
  );
10015
- ef(
10019
+ zo(
10016
10020
  u,
10017
10021
  t,
10018
10022
  c,
@@ -10032,7 +10036,7 @@ async function G2(r, t, e) {
10032
10036
  });
10033
10037
  }
10034
10038
  async function V2(r, t, e, n, s, a, f, u) {
10035
- if (Mc(t)) {
10039
+ if (Ic(t)) {
10036
10040
  E2(
10037
10041
  r,
10038
10042
  t,
@@ -10072,7 +10076,7 @@ async function Y2(r, t, e, n, s, a = {}) {
10072
10076
  if (typeof document > "u")
10073
10077
  throw new Error("Canvas rendering is only available in a browser.");
10074
10078
  await document.fonts?.ready;
10075
- const u = Math.max(72, Number(a.dpi) || S2) / Hf, c = document.createElement("canvas");
10079
+ const u = Math.max(72, Number(a.dpi) || S2) / Wf, c = document.createElement("canvas");
10076
10080
  c.width = Math.max(1, Math.round(n * u)), c.height = Math.max(1, Math.round(s * u));
10077
10081
  const d = c.getContext("2d");
10078
10082
  if (!d) throw new Error("Canvas 2D context is unavailable.");